@alicloud/console-components-search 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +193 -0
- package/config/breezr.docs.config.ts +28 -0
- package/config/components-with-style.tsx +2 -0
- package/config/config.ts +14 -0
- package/config/demoOpts.ts +12 -0
- package/demos/demo1.demo.tsx +143 -0
- package/demos/demo2.demo.tsx +110 -0
- package/demos/demo3.demo.tsx +115 -0
- package/demos/demo4.demo.tsx +144 -0
- package/dist/index.css +1 -0
- package/dist/index.js +60 -0
- package/doc-dist/0.js +27 -0
- package/doc-dist/1.js +1928 -0
- package/doc-dist/10.js +6 -0
- package/doc-dist/11.js +6 -0
- package/doc-dist/12.js +6 -0
- package/doc-dist/13.js +6 -0
- package/doc-dist/14.js +6 -0
- package/doc-dist/15.js +6 -0
- package/doc-dist/16.js +6 -0
- package/doc-dist/17.js +6 -0
- package/doc-dist/18.js +6 -0
- package/doc-dist/19.js +6 -0
- package/doc-dist/20.js +6 -0
- package/doc-dist/3.js +104 -0
- package/doc-dist/4.js +6 -0
- package/doc-dist/5.js +13 -0
- package/doc-dist/6.css +1 -0
- package/doc-dist/6.js +6 -0
- package/doc-dist/6.os.css +1 -0
- package/doc-dist/7.js +6 -0
- package/doc-dist/8.js +6 -0
- package/doc-dist/9.js +6 -0
- package/doc-dist/console-fe-test-rc-search-doc.manifest.json +18 -0
- package/doc-dist/deps/console-fe-test-rc-search-doc-deps.manifest.json +18 -0
- package/doc-dist/deps/index.html +14 -0
- package/doc-dist/deps/main.css +1 -0
- package/doc-dist/deps/main.js +66 -0
- package/doc-dist/deps/main.os.css +1 -0
- package/doc-dist/index.css +1 -0
- package/doc-dist/index.html +14 -0
- package/doc-dist/index.js +19 -0
- package/doc-dist/index.os.css +1 -0
- package/doc-dist/log-deps-build.log +16 -0
- package/docs/markdown-render.doc.md +21 -0
- package/docs/test.doc.md +8 -0
- package/es/constants.js +6 -0
- package/es/index.js +7 -0
- package/es/modeSingleMulti/index.js +862 -0
- package/es/modeSingleSingle/index.js +213 -0
- package/es/provider/LoggerProvider.js +37 -0
- package/es/search.js +23 -0
- package/es/searchTagList/index.js +58 -0
- package/es/style.js +14 -0
- package/es/types/IRcSearchOptions.type.js +1 -0
- package/es/types/IRcSearchProps.type.js +1 -0
- package/es/types/IRcSearchTagItemProps.type.js +1 -0
- package/es/types/IRcSearchTagListProps.type.js +1 -0
- package/es/utils.js +149 -0
- package/lib/constants.d.ts +2 -0
- package/lib/constants.js +15 -0
- package/lib/index.d.ts +7 -0
- package/lib/index.js +55 -0
- package/lib/modeSingleMulti/index.d.ts +4 -0
- package/lib/modeSingleMulti/index.js +883 -0
- package/lib/modeSingleSingle/index.d.ts +4 -0
- package/lib/modeSingleSingle/index.js +237 -0
- package/lib/provider/LoggerProvider.d.ts +8 -0
- package/lib/provider/LoggerProvider.js +47 -0
- package/lib/search.d.ts +4 -0
- package/lib/search.js +42 -0
- package/lib/searchTagList/index.d.ts +4 -0
- package/lib/searchTagList/index.js +75 -0
- package/lib/style.d.ts +5 -0
- package/lib/style.js +34 -0
- package/lib/types/IRcSearchOptions.type.d.ts +26 -0
- package/lib/types/IRcSearchOptions.type.js +5 -0
- package/lib/types/IRcSearchProps.type.d.ts +76 -0
- package/lib/types/IRcSearchProps.type.js +5 -0
- package/lib/types/IRcSearchTagItemProps.type.d.ts +23 -0
- package/lib/types/IRcSearchTagItemProps.type.js +5 -0
- package/lib/types/IRcSearchTagListProps.type.d.ts +32 -0
- package/lib/types/IRcSearchTagListProps.type.js +5 -0
- package/lib/utils.d.ts +14 -0
- package/lib/utils.js +177 -0
- package/package.json +41 -0
package/doc-dist/1.js
ADDED
|
@@ -0,0 +1,1928 @@
|
|
|
1
|
+
|
|
2
|
+
if (!window.__CONSOLE_OS_GLOBAL_HOOK__){window.__CONSOLE_OS_GLOBAL_VARS_={};window.__CONSOLE_OS_GLOBAL_HOOK__ = function(id, resolver) {resolver(undefined, undefined, undefined, {window: window,location: location,history: history,document: document})};window.__CONSOLE_OS_GLOBAL_HOOK__.standalone = true}
|
|
3
|
+
window.__CONSOLE_OS_GLOBAL_HOOK__("console-fe-test-rc-search-doc", function(require, module, exports, context){ var window = context.window;var location = context.location;var history = context.history;var document = context.document;with(window.__CONSOLE_OS_GLOBAL_VARS_) {
|
|
4
|
+
|
|
5
|
+
(window["webpackJsonpconsole-fe-test-rc-search-doc"]=window["webpackJsonpconsole-fe-test-rc-search-doc"]||[]).push([[1],Array(65).concat([function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n={react:!0,assertNode:!0,createTypeAnnotationBasedOnTypeof:!0,createUnionTypeAnnotation:!0,createFlowUnionType:!0,createTSUnionType:!0,cloneNode:!0,clone:!0,cloneDeep:!0,cloneDeepWithoutLoc:!0,cloneWithoutLoc:!0,addComment:!0,addComments:!0,inheritInnerComments:!0,inheritLeadingComments:!0,inheritsComments:!0,inheritTrailingComments:!0,removeComments:!0,ensureBlock:!0,toBindingIdentifierName:!0,toBlock:!0,toComputedKey:!0,toExpression:!0,toIdentifier:!0,toKeyAlias:!0,toSequenceExpression:!0,toStatement:!0,valueToNode:!0,appendToMemberExpression:!0,inherits:!0,prependToMemberExpression:!0,removeProperties:!0,removePropertiesDeep:!0,removeTypeDuplicates:!0,getBindingIdentifiers:!0,getOuterBindingIdentifiers:!0,traverse:!0,traverseFast:!0,shallowEqual:!0,is:!0,isBinding:!0,isBlockScoped:!0,isImmutable:!0,isLet:!0,isNode:!0,isNodesEquivalent:!0,isPlaceholderType:!0,isReferenced:!0,isScope:!0,isSpecifierDefault:!0,isType:!0,isValidES3Identifier:!0,isValidIdentifier:!0,isVar:!0,matchesPattern:!0,validate:!0,buildMatchMemberExpression:!0};Object.defineProperty(t,"addComment",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(t,"addComments",{enumerable:!0,get:function(){return T.default}}),Object.defineProperty(t,"appendToMemberExpression",{enumerable:!0,get:function(){return R.default}}),Object.defineProperty(t,"assertNode",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"buildMatchMemberExpression",{enumerable:!0,get:function(){return de.default}}),Object.defineProperty(t,"clone",{enumerable:!0,get:function(){return m.default}}),Object.defineProperty(t,"cloneDeep",{enumerable:!0,get:function(){return y.default}}),Object.defineProperty(t,"cloneDeepWithoutLoc",{enumerable:!0,get:function(){return g.default}}),Object.defineProperty(t,"cloneNode",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(t,"cloneWithoutLoc",{enumerable:!0,get:function(){return b.default}}),Object.defineProperty(t,"createFlowUnionType",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"createTSUnionType",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"ensureBlock",{enumerable:!0,get:function(){return C.default}}),Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return q.default}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return G.default}}),Object.defineProperty(t,"inheritInnerComments",{enumerable:!0,get:function(){return E.default}}),Object.defineProperty(t,"inheritLeadingComments",{enumerable:!0,get:function(){return S.default}}),Object.defineProperty(t,"inheritTrailingComments",{enumerable:!0,get:function(){return P.default}}),Object.defineProperty(t,"inherits",{enumerable:!0,get:function(){return U.default}}),Object.defineProperty(t,"inheritsComments",{enumerable:!0,get:function(){return x.default}}),Object.defineProperty(t,"is",{enumerable:!0,get:function(){return X.default}}),Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return z.default}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return Q.default}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return Z.default}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return ee.default}}),Object.defineProperty(t,"isNode",{enumerable:!0,get:function(){return te.default}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return re.default}}),Object.defineProperty(t,"isPlaceholderType",{enumerable:!0,get:function(){return ne.default}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return ie.default}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return se.default}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return ae.default}}),Object.defineProperty(t,"isType",{enumerable:!0,get:function(){return oe.default}}),Object.defineProperty(t,"isValidES3Identifier",{enumerable:!0,get:function(){return le.default}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return ce.default}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return ue.default}}),Object.defineProperty(t,"matchesPattern",{enumerable:!0,get:function(){return pe.default}}),Object.defineProperty(t,"prependToMemberExpression",{enumerable:!0,get:function(){return V.default}}),t.react=void 0,Object.defineProperty(t,"removeComments",{enumerable:!0,get:function(){return A.default}}),Object.defineProperty(t,"removeProperties",{enumerable:!0,get:function(){return K.default}}),Object.defineProperty(t,"removePropertiesDeep",{enumerable:!0,get:function(){return W.default}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return Y.default}}),Object.defineProperty(t,"shallowEqual",{enumerable:!0,get:function(){return J.default}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return I.default}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return N.default}}),Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return k.default}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return _.default}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return j.default}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return D.default}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return M.default}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return B.default}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return H.default}}),Object.defineProperty(t,"traverseFast",{enumerable:!0,get:function(){return $.default}}),Object.defineProperty(t,"validate",{enumerable:!0,get:function(){return fe.default}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return L.default}});var i=r(501),s=r(502),a=r(503),o=r(514),l=r(515);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=r(516),u=r(517),p=r(518),f=r(72);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var d=r(520);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===d[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return d[e]}}))}));var h=r(89),m=r(521),y=r(522),g=r(523),b=r(524),v=r(525),T=r(236),E=r(237),S=r(238),x=r(239),P=r(240),A=r(526),w=r(527);Object.keys(w).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===w[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return w[e]}}))}));var O=r(88);Object.keys(O).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===O[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return O[e]}}))}));var C=r(528),I=r(529),N=r(241),k=r(530),_=r(531),j=r(242),D=r(532),M=r(533),B=r(535),L=r(536),F=r(75);Object.keys(F).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===F[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return F[e]}}))}));var R=r(537),U=r(538),V=r(539),K=r(245),W=r(243),Y=r(235),q=r(119),G=r(540),H=r(541);Object.keys(H).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===H[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return H[e]}}))}));var $=r(244),J=r(152),X=r(99),z=r(542),Q=r(543),Z=r(544),ee=r(246),te=r(234),re=r(545),ne=r(232),ie=r(546),se=r(547),ae=r(548),oe=r(153),le=r(549),ce=r(100),ue=r(550),pe=r(230),fe=r(154),de=r(229),he=r(68);Object.keys(he).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===he[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return he[e]}}))}));var me=r(551);Object.keys(me).forEach((function(e){"default"!==e&&"__esModule"!==e&&(Object.prototype.hasOwnProperty.call(n,e)||e in t&&t[e]===me[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return me[e]}}))}));const ye={isReactComponent:i.default,isCompatTag:s.default,buildChildren:a.default};t.react=ye},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isAnyTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("AnyTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isArgumentPlaceholder=function(e,t){if(!e)return!1;const r=e.type;if("ArgumentPlaceholder"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isArrayExpression=function(e,t){if(!e)return!1;const r=e.type;if("ArrayExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isArrayPattern=function(e,t){if(!e)return!1;const r=e.type;if("ArrayPattern"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isArrayTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("ArrayTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isArrowFunctionExpression=function(e,t){if(!e)return!1;const r=e.type;if("ArrowFunctionExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isAssignmentExpression=function(e,t){if(!e)return!1;const r=e.type;if("AssignmentExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isAssignmentPattern=function(e,t){if(!e)return!1;const r=e.type;if("AssignmentPattern"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isAwaitExpression=function(e,t){if(!e)return!1;const r=e.type;if("AwaitExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBigIntLiteral=function(e,t){if(!e)return!1;const r=e.type;if("BigIntLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBinary=function(e,t){if(!e)return!1;const r=e.type;if("BinaryExpression"===r||"LogicalExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBinaryExpression=function(e,t){if(!e)return!1;const r=e.type;if("BinaryExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBindExpression=function(e,t){if(!e)return!1;const r=e.type;if("BindExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBlock=function(e,t){if(!e)return!1;const r=e.type;if("BlockStatement"===r||"Program"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isBlockParent=function(e,t){if(!e)return!1;const r=e.type;if("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||"StaticBlock"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isBlockStatement=function(e,t){if(!e)return!1;const r=e.type;if("BlockStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBooleanLiteral=function(e,t){if(!e)return!1;const r=e.type;if("BooleanLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBooleanLiteralTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("BooleanLiteralTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBooleanTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("BooleanTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isBreakStatement=function(e,t){if(!e)return!1;const r=e.type;if("BreakStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isCallExpression=function(e,t){if(!e)return!1;const r=e.type;if("CallExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isCatchClause=function(e,t){if(!e)return!1;const r=e.type;if("CatchClause"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClass=function(e,t){if(!e)return!1;const r=e.type;if("ClassExpression"===r||"ClassDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassBody=function(e,t){if(!e)return!1;const r=e.type;if("ClassBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ClassDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassExpression=function(e,t){if(!e)return!1;const r=e.type;if("ClassExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassImplements=function(e,t){if(!e)return!1;const r=e.type;if("ClassImplements"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassMethod=function(e,t){if(!e)return!1;const r=e.type;if("ClassMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassPrivateMethod=function(e,t){if(!e)return!1;const r=e.type;if("ClassPrivateMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassPrivateProperty=function(e,t){if(!e)return!1;const r=e.type;if("ClassPrivateProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isClassProperty=function(e,t){if(!e)return!1;const r=e.type;if("ClassProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isCompletionStatement=function(e,t){if(!e)return!1;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isConditional=function(e,t){if(!e)return!1;const r=e.type;if("ConditionalExpression"===r||"IfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isConditionalExpression=function(e,t){if(!e)return!1;const r=e.type;if("ConditionalExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isContinueStatement=function(e,t){if(!e)return!1;const r=e.type;if("ContinueStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDebuggerStatement=function(e,t){if(!e)return!1;const r=e.type;if("DebuggerStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDecimalLiteral=function(e,t){if(!e)return!1;const r=e.type;if("DecimalLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("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||"EnumDeclaration"===r||"TSDeclareFunction"===r||"TSInterfaceDeclaration"===r||"TSTypeAliasDeclaration"===r||"TSEnumDeclaration"===r||"TSModuleDeclaration"===r||"Placeholder"===r&&"Declaration"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareClass=function(e,t){if(!e)return!1;const r=e.type;if("DeclareClass"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareExportAllDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("DeclareExportAllDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("DeclareExportDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareFunction=function(e,t){if(!e)return!1;const r=e.type;if("DeclareFunction"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareInterface=function(e,t){if(!e)return!1;const r=e.type;if("DeclareInterface"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareModule=function(e,t){if(!e)return!1;const r=e.type;if("DeclareModule"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareModuleExports=function(e,t){if(!e)return!1;const r=e.type;if("DeclareModuleExports"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareOpaqueType=function(e,t){if(!e)return!1;const r=e.type;if("DeclareOpaqueType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareTypeAlias=function(e,t){if(!e)return!1;const r=e.type;if("DeclareTypeAlias"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclareVariable=function(e,t){if(!e)return!1;const r=e.type;if("DeclareVariable"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDeclaredPredicate=function(e,t){if(!e)return!1;const r=e.type;if("DeclaredPredicate"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDecorator=function(e,t){if(!e)return!1;const r=e.type;if("Decorator"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDirective=function(e,t){if(!e)return!1;const r=e.type;if("Directive"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDirectiveLiteral=function(e,t){if(!e)return!1;const r=e.type;if("DirectiveLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDoExpression=function(e,t){if(!e)return!1;const r=e.type;if("DoExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isDoWhileStatement=function(e,t){if(!e)return!1;const r=e.type;if("DoWhileStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEmptyStatement=function(e,t){if(!e)return!1;const r=e.type;if("EmptyStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEmptyTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("EmptyTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumBody=function(e,t){if(!e)return!1;const r=e.type;if("EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumBooleanBody=function(e,t){if(!e)return!1;const r=e.type;if("EnumBooleanBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumBooleanMember=function(e,t){if(!e)return!1;const r=e.type;if("EnumBooleanMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("EnumDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumDefaultedMember=function(e,t){if(!e)return!1;const r=e.type;if("EnumDefaultedMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumMember=function(e,t){if(!e)return!1;const r=e.type;if("EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumNumberBody=function(e,t){if(!e)return!1;const r=e.type;if("EnumNumberBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumNumberMember=function(e,t){if(!e)return!1;const r=e.type;if("EnumNumberMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumStringBody=function(e,t){if(!e)return!1;const r=e.type;if("EnumStringBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumStringMember=function(e,t){if(!e)return!1;const r=e.type;if("EnumStringMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isEnumSymbolBody=function(e,t){if(!e)return!1;const r=e.type;if("EnumSymbolBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExistsTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("ExistsTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportAllDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportAllDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportDefaultDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportDefaultDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportDefaultSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ExportDefaultSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportNamedDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportNamedDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportNamespaceSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ExportNamespaceSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExportSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ExportSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExpression=function(e,t){if(!e)return!1;const r=e.type;if("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||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"TypeCastExpression"===r||"JSXElement"===r||"JSXFragment"===r||"BindExpression"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TopicReference"===r||"PipelineTopicExpression"===r||"PipelineBareFunction"===r||"PipelinePrimaryTopicReference"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||"Placeholder"===r&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode))return void 0===t||(0,n.default)(e,t);return!1},t.isExpressionStatement=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isExpressionWrapper=function(e,t){if(!e)return!1;const r=e.type;if("ExpressionStatement"===r||"ParenthesizedExpression"===r||"TypeCastExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFile=function(e,t){if(!e)return!1;const r=e.type;if("File"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFlow=function(e,t){if(!e)return!1;const r=e.type;if("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||"SymbolTypeAnnotation"===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||"EnumDeclaration"===r||"EnumBooleanBody"===r||"EnumNumberBody"===r||"EnumStringBody"===r||"EnumSymbolBody"===r||"EnumBooleanMember"===r||"EnumNumberMember"===r||"EnumStringMember"===r||"EnumDefaultedMember"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFlowBaseAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFlowDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("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,n.default)(e,t);return!1},t.isFlowPredicate=function(e,t){if(!e)return!1;const r=e.type;if("DeclaredPredicate"===r||"InferredPredicate"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFlowType=function(e,t){if(!e)return!1;const r=e.type;if("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||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"TupleTypeAnnotation"===r||"TypeofTypeAnnotation"===r||"UnionTypeAnnotation"===r||"VoidTypeAnnotation"===r||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFor=function(e,t){if(!e)return!1;const r=e.type;if("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isForInStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForInStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isForOfStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForOfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isForStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isForXStatement=function(e,t){if(!e)return!1;const r=e.type;if("ForInStatement"===r||"ForOfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunction=function(e,t){if(!e)return!1;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunctionDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("FunctionDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunctionExpression=function(e,t){if(!e)return!1;const r=e.type;if("FunctionExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunctionParent=function(e,t){if(!e)return!1;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunctionTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("FunctionTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isFunctionTypeParam=function(e,t){if(!e)return!1;const r=e.type;if("FunctionTypeParam"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isGenericTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("GenericTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isIdentifier=function(e,t){if(!e)return!1;const r=e.type;if("Identifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isIfStatement=function(e,t){if(!e)return!1;const r=e.type;if("IfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImmutable=function(e,t){if(!e)return!1;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"BigIntLiteral"===r||"JSXAttribute"===r||"JSXClosingElement"===r||"JSXElement"===r||"JSXExpressionContainer"===r||"JSXSpreadChild"===r||"JSXOpeningElement"===r||"JSXText"===r||"JSXFragment"===r||"JSXOpeningFragment"===r||"JSXClosingFragment"===r||"DecimalLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isImport=function(e,t){if(!e)return!1;const r=e.type;if("Import"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImportAttribute=function(e,t){if(!e)return!1;const r=e.type;if("ImportAttribute"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ImportDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImportDefaultSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ImportDefaultSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImportNamespaceSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ImportNamespaceSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isImportSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ImportSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isIndexedAccessType=function(e,t){if(!e)return!1;const r=e.type;if("IndexedAccessType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isInferredPredicate=function(e,t){if(!e)return!1;const r=e.type;if("InferredPredicate"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isInterfaceDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("InterfaceDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isInterfaceExtends=function(e,t){if(!e)return!1;const r=e.type;if("InterfaceExtends"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isInterfaceTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("InterfaceTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isInterpreterDirective=function(e,t){if(!e)return!1;const r=e.type;if("InterpreterDirective"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isIntersectionTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("IntersectionTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSX=function(e,t){if(!e)return!1;const r=e.type;if("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,n.default)(e,t);return!1},t.isJSXAttribute=function(e,t){if(!e)return!1;const r=e.type;if("JSXAttribute"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXClosingElement=function(e,t){if(!e)return!1;const r=e.type;if("JSXClosingElement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXClosingFragment=function(e,t){if(!e)return!1;const r=e.type;if("JSXClosingFragment"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXElement=function(e,t){if(!e)return!1;const r=e.type;if("JSXElement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXEmptyExpression=function(e,t){if(!e)return!1;const r=e.type;if("JSXEmptyExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXExpressionContainer=function(e,t){if(!e)return!1;const r=e.type;if("JSXExpressionContainer"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXFragment=function(e,t){if(!e)return!1;const r=e.type;if("JSXFragment"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXIdentifier=function(e,t){if(!e)return!1;const r=e.type;if("JSXIdentifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXMemberExpression=function(e,t){if(!e)return!1;const r=e.type;if("JSXMemberExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXNamespacedName=function(e,t){if(!e)return!1;const r=e.type;if("JSXNamespacedName"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXOpeningElement=function(e,t){if(!e)return!1;const r=e.type;if("JSXOpeningElement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXOpeningFragment=function(e,t){if(!e)return!1;const r=e.type;if("JSXOpeningFragment"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXSpreadAttribute=function(e,t){if(!e)return!1;const r=e.type;if("JSXSpreadAttribute"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXSpreadChild=function(e,t){if(!e)return!1;const r=e.type;if("JSXSpreadChild"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isJSXText=function(e,t){if(!e)return!1;const r=e.type;if("JSXText"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isLVal=function(e,t){if(!e)return!1;const r=e.type;if("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,n.default)(e,t);return!1},t.isLabeledStatement=function(e,t){if(!e)return!1;const r=e.type;if("LabeledStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isLiteral=function(e,t){if(!e)return!1;const r=e.type;if("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isLogicalExpression=function(e,t){if(!e)return!1;const r=e.type;if("LogicalExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isLoop=function(e,t){if(!e)return!1;const r=e.type;if("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isMemberExpression=function(e,t){if(!e)return!1;const r=e.type;if("MemberExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isMetaProperty=function(e,t){if(!e)return!1;const r=e.type;if("MetaProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isMethod=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isMiscellaneous=function(e,t){if(!e)return!1;const r=e.type;if("Noop"===r||"Placeholder"===r||"V8IntrinsicIdentifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isMixedTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("MixedTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isModuleExpression=function(e,t){if(!e)return!1;const r=e.type;if("ModuleExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isModuleSpecifier=function(e,t){if(!e)return!1;const r=e.type;if("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNewExpression=function(e,t){if(!e)return!1;const r=e.type;if("NewExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNoop=function(e,t){if(!e)return!1;const r=e.type;if("Noop"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNullLiteral=function(e,t){if(!e)return!1;const r=e.type;if("NullLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNullLiteralTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("NullLiteralTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNullableTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("NullableTypeAnnotation"===r)return void 0===t||(0,n.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;const r=e.type;if("NumberLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNumberLiteralTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("NumberLiteralTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNumberTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("NumberTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isNumericLiteral=function(e,t){if(!e)return!1;const r=e.type;if("NumericLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectExpression=function(e,t){if(!e)return!1;const r=e.type;if("ObjectExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectMember=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectMethod=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectPattern=function(e,t){if(!e)return!1;const r=e.type;if("ObjectPattern"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectProperty=function(e,t){if(!e)return!1;const r=e.type;if("ObjectProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeCallProperty=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeCallProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeIndexer=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeIndexer"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeInternalSlot=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeInternalSlot"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeProperty=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isObjectTypeSpreadProperty=function(e,t){if(!e)return!1;const r=e.type;if("ObjectTypeSpreadProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isOpaqueType=function(e,t){if(!e)return!1;const r=e.type;if("OpaqueType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isOptionalCallExpression=function(e,t){if(!e)return!1;const r=e.type;if("OptionalCallExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isOptionalIndexedAccessType=function(e,t){if(!e)return!1;const r=e.type;if("OptionalIndexedAccessType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isOptionalMemberExpression=function(e,t){if(!e)return!1;const r=e.type;if("OptionalMemberExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isParenthesizedExpression=function(e,t){if(!e)return!1;const r=e.type;if("ParenthesizedExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPattern=function(e,t){if(!e)return!1;const r=e.type;if("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&"Pattern"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isPatternLike=function(e,t){if(!e)return!1;const r=e.type;if("Identifier"===r||"RestElement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&("Pattern"===e.expectedNode||"Identifier"===e.expectedNode))return void 0===t||(0,n.default)(e,t);return!1},t.isPipelineBareFunction=function(e,t){if(!e)return!1;const r=e.type;if("PipelineBareFunction"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPipelinePrimaryTopicReference=function(e,t){if(!e)return!1;const r=e.type;if("PipelinePrimaryTopicReference"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPipelineTopicExpression=function(e,t){if(!e)return!1;const r=e.type;if("PipelineTopicExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPlaceholder=function(e,t){if(!e)return!1;const r=e.type;if("Placeholder"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPrivate=function(e,t){if(!e)return!1;const r=e.type;if("ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPrivateName=function(e,t){if(!e)return!1;const r=e.type;if("PrivateName"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isProgram=function(e,t){if(!e)return!1;const r=e.type;if("Program"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isProperty=function(e,t){if(!e)return!1;const r=e.type;if("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isPureish=function(e,t){if(!e)return!1;const r=e.type;if("FunctionDeclaration"===r||"FunctionExpression"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"ArrowFunctionExpression"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isQualifiedTypeIdentifier=function(e,t){if(!e)return!1;const r=e.type;if("QualifiedTypeIdentifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isRecordExpression=function(e,t){if(!e)return!1;const r=e.type;if("RecordExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isRegExpLiteral=function(e,t){if(!e)return!1;const r=e.type;if("RegExpLiteral"===r)return void 0===t||(0,n.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;const r=e.type;if("RegexLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isRestElement=function(e,t){if(!e)return!1;const r=e.type;if("RestElement"===r)return void 0===t||(0,n.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;const r=e.type;if("RestProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isReturnStatement=function(e,t){if(!e)return!1;const r=e.type;if("ReturnStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isScopable=function(e,t){if(!e)return!1;const r=e.type;if("BlockStatement"===r||"CatchClause"===r||"DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Program"===r||"ObjectMethod"===r||"SwitchStatement"===r||"WhileStatement"===r||"ArrowFunctionExpression"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ForOfStatement"===r||"ClassMethod"===r||"ClassPrivateMethod"===r||"StaticBlock"===r||"TSModuleBlock"===r||"Placeholder"===r&&"BlockStatement"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isSequenceExpression=function(e,t){if(!e)return!1;const r=e.type;if("SequenceExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isSpreadElement=function(e,t){if(!e)return!1;const r=e.type;if("SpreadElement"===r)return void 0===t||(0,n.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;const r=e.type;if("SpreadProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isStandardized=function(e,t){if(!e)return!1;const r=e.type;if("ArrayExpression"===r||"AssignmentExpression"===r||"BinaryExpression"===r||"InterpreterDirective"===r||"Directive"===r||"DirectiveLiteral"===r||"BlockStatement"===r||"BreakStatement"===r||"CallExpression"===r||"CatchClause"===r||"ConditionalExpression"===r||"ContinueStatement"===r||"DebuggerStatement"===r||"DoWhileStatement"===r||"EmptyStatement"===r||"ExpressionStatement"===r||"File"===r||"ForInStatement"===r||"ForStatement"===r||"FunctionDeclaration"===r||"FunctionExpression"===r||"Identifier"===r||"IfStatement"===r||"LabeledStatement"===r||"StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"LogicalExpression"===r||"MemberExpression"===r||"NewExpression"===r||"Program"===r||"ObjectExpression"===r||"ObjectMethod"===r||"ObjectProperty"===r||"RestElement"===r||"ReturnStatement"===r||"SequenceExpression"===r||"ParenthesizedExpression"===r||"SwitchCase"===r||"SwitchStatement"===r||"ThisExpression"===r||"ThrowStatement"===r||"TryStatement"===r||"UnaryExpression"===r||"UpdateExpression"===r||"VariableDeclaration"===r||"VariableDeclarator"===r||"WhileStatement"===r||"WithStatement"===r||"AssignmentPattern"===r||"ArrayPattern"===r||"ArrowFunctionExpression"===r||"ClassBody"===r||"ClassExpression"===r||"ClassDeclaration"===r||"ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ExportSpecifier"===r||"ForOfStatement"===r||"ImportDeclaration"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"MetaProperty"===r||"ClassMethod"===r||"ObjectPattern"===r||"SpreadElement"===r||"Super"===r||"TaggedTemplateExpression"===r||"TemplateElement"===r||"TemplateLiteral"===r||"YieldExpression"===r||"AwaitExpression"===r||"Import"===r||"BigIntLiteral"===r||"ExportNamespaceSpecifier"===r||"OptionalMemberExpression"===r||"OptionalCallExpression"===r||"ClassProperty"===r||"ClassPrivateProperty"===r||"ClassPrivateMethod"===r||"PrivateName"===r||"StaticBlock"===r||"Placeholder"===r&&("Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode||"BlockStatement"===e.expectedNode||"ClassBody"===e.expectedNode))return void 0===t||(0,n.default)(e,t);return!1},t.isStatement=function(e,t){if(!e)return!1;const r=e.type;if("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||"EnumDeclaration"===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,n.default)(e,t);return!1},t.isStaticBlock=function(e,t){if(!e)return!1;const r=e.type;if("StaticBlock"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isStringLiteral=function(e,t){if(!e)return!1;const r=e.type;if("StringLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isStringLiteralTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("StringLiteralTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isStringTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("StringTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isSuper=function(e,t){if(!e)return!1;const r=e.type;if("Super"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isSwitchCase=function(e,t){if(!e)return!1;const r=e.type;if("SwitchCase"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isSwitchStatement=function(e,t){if(!e)return!1;const r=e.type;if("SwitchStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isSymbolTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("SymbolTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSAnyKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSAnyKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSArrayType=function(e,t){if(!e)return!1;const r=e.type;if("TSArrayType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSAsExpression=function(e,t){if(!e)return!1;const r=e.type;if("TSAsExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSBaseType=function(e,t){if(!e)return!1;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===r||"TSNeverKeyword"===r||"TSNullKeyword"===r||"TSNumberKeyword"===r||"TSObjectKeyword"===r||"TSStringKeyword"===r||"TSSymbolKeyword"===r||"TSUndefinedKeyword"===r||"TSUnknownKeyword"===r||"TSVoidKeyword"===r||"TSThisType"===r||"TSLiteralType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSBigIntKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSBigIntKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSBooleanKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSBooleanKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSCallSignatureDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSCallSignatureDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSConditionalType=function(e,t){if(!e)return!1;const r=e.type;if("TSConditionalType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSConstructSignatureDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSConstructSignatureDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSConstructorType=function(e,t){if(!e)return!1;const r=e.type;if("TSConstructorType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSDeclareFunction=function(e,t){if(!e)return!1;const r=e.type;if("TSDeclareFunction"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSDeclareMethod=function(e,t){if(!e)return!1;const r=e.type;if("TSDeclareMethod"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSEntityName=function(e,t){if(!e)return!1;const r=e.type;if("Identifier"===r||"TSQualifiedName"===r||"Placeholder"===r&&"Identifier"===e.expectedNode)return void 0===t||(0,n.default)(e,t);return!1},t.isTSEnumDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSEnumDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSEnumMember=function(e,t){if(!e)return!1;const r=e.type;if("TSEnumMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSExportAssignment=function(e,t){if(!e)return!1;const r=e.type;if("TSExportAssignment"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSExpressionWithTypeArguments=function(e,t){if(!e)return!1;const r=e.type;if("TSExpressionWithTypeArguments"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSExternalModuleReference=function(e,t){if(!e)return!1;const r=e.type;if("TSExternalModuleReference"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSFunctionType=function(e,t){if(!e)return!1;const r=e.type;if("TSFunctionType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSImportEqualsDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSImportEqualsDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSImportType=function(e,t){if(!e)return!1;const r=e.type;if("TSImportType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSIndexSignature=function(e,t){if(!e)return!1;const r=e.type;if("TSIndexSignature"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSIndexedAccessType=function(e,t){if(!e)return!1;const r=e.type;if("TSIndexedAccessType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSInferType=function(e,t){if(!e)return!1;const r=e.type;if("TSInferType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSInterfaceBody=function(e,t){if(!e)return!1;const r=e.type;if("TSInterfaceBody"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSInterfaceDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSInterfaceDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSIntersectionType=function(e,t){if(!e)return!1;const r=e.type;if("TSIntersectionType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSIntrinsicKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSIntrinsicKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSLiteralType=function(e,t){if(!e)return!1;const r=e.type;if("TSLiteralType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSMappedType=function(e,t){if(!e)return!1;const r=e.type;if("TSMappedType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSMethodSignature=function(e,t){if(!e)return!1;const r=e.type;if("TSMethodSignature"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSModuleBlock=function(e,t){if(!e)return!1;const r=e.type;if("TSModuleBlock"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSModuleDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSModuleDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNamedTupleMember=function(e,t){if(!e)return!1;const r=e.type;if("TSNamedTupleMember"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNamespaceExportDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSNamespaceExportDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNeverKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSNeverKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNonNullExpression=function(e,t){if(!e)return!1;const r=e.type;if("TSNonNullExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNullKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSNullKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSNumberKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSNumberKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSObjectKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSObjectKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSOptionalType=function(e,t){if(!e)return!1;const r=e.type;if("TSOptionalType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSParameterProperty=function(e,t){if(!e)return!1;const r=e.type;if("TSParameterProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSParenthesizedType=function(e,t){if(!e)return!1;const r=e.type;if("TSParenthesizedType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSPropertySignature=function(e,t){if(!e)return!1;const r=e.type;if("TSPropertySignature"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSQualifiedName=function(e,t){if(!e)return!1;const r=e.type;if("TSQualifiedName"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSRestType=function(e,t){if(!e)return!1;const r=e.type;if("TSRestType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSStringKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSStringKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSSymbolKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSSymbolKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSThisType=function(e,t){if(!e)return!1;const r=e.type;if("TSThisType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTupleType=function(e,t){if(!e)return!1;const r=e.type;if("TSTupleType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSType=function(e,t){if(!e)return!1;const r=e.type;if("TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===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,n.default)(e,t);return!1},t.isTSTypeAliasDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeAliasDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeAssertion=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeAssertion"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeElement=function(e,t){if(!e)return!1;const r=e.type;if("TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeLiteral=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeOperator=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeOperator"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeParameter=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeParameter"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeParameterDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeParameterDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeParameterInstantiation=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeParameterInstantiation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypePredicate=function(e,t){if(!e)return!1;const r=e.type;if("TSTypePredicate"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeQuery=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeQuery"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSTypeReference=function(e,t){if(!e)return!1;const r=e.type;if("TSTypeReference"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSUndefinedKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSUndefinedKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSUnionType=function(e,t){if(!e)return!1;const r=e.type;if("TSUnionType"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSUnknownKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSUnknownKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTSVoidKeyword=function(e,t){if(!e)return!1;const r=e.type;if("TSVoidKeyword"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTaggedTemplateExpression=function(e,t){if(!e)return!1;const r=e.type;if("TaggedTemplateExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTemplateElement=function(e,t){if(!e)return!1;const r=e.type;if("TemplateElement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTemplateLiteral=function(e,t){if(!e)return!1;const r=e.type;if("TemplateLiteral"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTerminatorless=function(e,t){if(!e)return!1;const r=e.type;if("BreakStatement"===r||"ContinueStatement"===r||"ReturnStatement"===r||"ThrowStatement"===r||"YieldExpression"===r||"AwaitExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isThisExpression=function(e,t){if(!e)return!1;const r=e.type;if("ThisExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isThisTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("ThisTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isThrowStatement=function(e,t){if(!e)return!1;const r=e.type;if("ThrowStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTopicReference=function(e,t){if(!e)return!1;const r=e.type;if("TopicReference"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTryStatement=function(e,t){if(!e)return!1;const r=e.type;if("TryStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTupleExpression=function(e,t){if(!e)return!1;const r=e.type;if("TupleExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTupleTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("TupleTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeAlias=function(e,t){if(!e)return!1;const r=e.type;if("TypeAlias"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("TypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeCastExpression=function(e,t){if(!e)return!1;const r=e.type;if("TypeCastExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeParameter=function(e,t){if(!e)return!1;const r=e.type;if("TypeParameter"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeParameterDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("TypeParameterDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeParameterInstantiation=function(e,t){if(!e)return!1;const r=e.type;if("TypeParameterInstantiation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeScript=function(e,t){if(!e)return!1;const r=e.type;if("TSParameterProperty"===r||"TSDeclareFunction"===r||"TSDeclareMethod"===r||"TSQualifiedName"===r||"TSCallSignatureDeclaration"===r||"TSConstructSignatureDeclaration"===r||"TSPropertySignature"===r||"TSMethodSignature"===r||"TSIndexSignature"===r||"TSAnyKeyword"===r||"TSBooleanKeyword"===r||"TSBigIntKeyword"===r||"TSIntrinsicKeyword"===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||"TSNamedTupleMember"===r||"TSUnionType"===r||"TSIntersectionType"===r||"TSConditionalType"===r||"TSInferType"===r||"TSParenthesizedType"===r||"TSTypeOperator"===r||"TSIndexedAccessType"===r||"TSMappedType"===r||"TSLiteralType"===r||"TSExpressionWithTypeArguments"===r||"TSInterfaceDeclaration"===r||"TSInterfaceBody"===r||"TSTypeAliasDeclaration"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSEnumDeclaration"===r||"TSEnumMember"===r||"TSModuleDeclaration"===r||"TSModuleBlock"===r||"TSImportType"===r||"TSImportEqualsDeclaration"===r||"TSExternalModuleReference"===r||"TSNonNullExpression"===r||"TSExportAssignment"===r||"TSNamespaceExportDeclaration"===r||"TSTypeAnnotation"===r||"TSTypeParameterInstantiation"===r||"TSTypeParameterDeclaration"===r||"TSTypeParameter"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isTypeofTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("TypeofTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isUnaryExpression=function(e,t){if(!e)return!1;const r=e.type;if("UnaryExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isUnaryLike=function(e,t){if(!e)return!1;const r=e.type;if("UnaryExpression"===r||"SpreadElement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isUnionTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("UnionTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isUpdateExpression=function(e,t){if(!e)return!1;const r=e.type;if("UpdateExpression"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isUserWhitespacable=function(e,t){if(!e)return!1;const r=e.type;if("ObjectMethod"===r||"ObjectProperty"===r||"ObjectTypeInternalSlot"===r||"ObjectTypeCallProperty"===r||"ObjectTypeIndexer"===r||"ObjectTypeProperty"===r||"ObjectTypeSpreadProperty"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isV8IntrinsicIdentifier=function(e,t){if(!e)return!1;const r=e.type;if("V8IntrinsicIdentifier"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isVariableDeclaration=function(e,t){if(!e)return!1;const r=e.type;if("VariableDeclaration"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isVariableDeclarator=function(e,t){if(!e)return!1;const r=e.type;if("VariableDeclarator"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isVariance=function(e,t){if(!e)return!1;const r=e.type;if("Variance"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isVoidTypeAnnotation=function(e,t){if(!e)return!1;const r=e.type;if("VoidTypeAnnotation"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isWhile=function(e,t){if(!e)return!1;const r=e.type;if("DoWhileStatement"===r||"WhileStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isWhileStatement=function(e,t){if(!e)return!1;const r=e.type;if("WhileStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isWithStatement=function(e,t){if(!e)return!1;const r=e.type;if("WithStatement"===r)return void 0===t||(0,n.default)(e,t);return!1},t.isYieldExpression=function(e,t){if(!e)return!1;const r=e.type;if("YieldExpression"===r)return void 0===t||(0,n.default)(e,t);return!1};var n=r(152)},function(e,t){var r,n,i=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function o(e){if(r===setTimeout)return setTimeout(e,0);if((r===s||!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:s}catch(e){r=s}try{n="function"==typeof clearTimeout?clearTimeout:a}catch(e){n=a}}();var l,c=[],u=!1,p=-1;function f(){u&&l&&(u=!1,l.length?c=l.concat(c):p=-1,c.length&&d())}function d(){if(!u){var e=o(f);u=!0;for(var t=c.length;t;){for(l=c,c=[];++p<t;)l&&l[p].run();p=-1,t=c.length}l=null,u=!1,function(e){if(n===clearTimeout)return clearTimeout(e);if((n===a||!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 m(){}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];c.push(new h(e,t)),1!==c.length||u||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=m,i.addListener=m,i.once=m,i.off=m,i.removeListener=m,i.removeAllListeners=m,i.emit=m,i.prependListener=m,i.prependOnceListener=m,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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.anyTypeAnnotation=function(){return n.default.apply("AnyTypeAnnotation",arguments)},t.argumentPlaceholder=function(){return n.default.apply("ArgumentPlaceholder",arguments)},t.arrayExpression=function(e){return n.default.apply("ArrayExpression",arguments)},t.arrayPattern=function(e){return n.default.apply("ArrayPattern",arguments)},t.arrayTypeAnnotation=function(e){return n.default.apply("ArrayTypeAnnotation",arguments)},t.arrowFunctionExpression=function(e,t,r){return n.default.apply("ArrowFunctionExpression",arguments)},t.assignmentExpression=function(e,t,r){return n.default.apply("AssignmentExpression",arguments)},t.assignmentPattern=function(e,t){return n.default.apply("AssignmentPattern",arguments)},t.awaitExpression=function(e){return n.default.apply("AwaitExpression",arguments)},t.bigIntLiteral=function(e){return n.default.apply("BigIntLiteral",arguments)},t.binaryExpression=function(e,t,r){return n.default.apply("BinaryExpression",arguments)},t.bindExpression=function(e,t){return n.default.apply("BindExpression",arguments)},t.blockStatement=function(e,t){return n.default.apply("BlockStatement",arguments)},t.booleanLiteral=function(e){return n.default.apply("BooleanLiteral",arguments)},t.booleanLiteralTypeAnnotation=function(e){return n.default.apply("BooleanLiteralTypeAnnotation",arguments)},t.booleanTypeAnnotation=function(){return n.default.apply("BooleanTypeAnnotation",arguments)},t.breakStatement=function(e){return n.default.apply("BreakStatement",arguments)},t.callExpression=function(e,t){return n.default.apply("CallExpression",arguments)},t.catchClause=function(e,t){return n.default.apply("CatchClause",arguments)},t.classBody=function(e){return n.default.apply("ClassBody",arguments)},t.classDeclaration=function(e,t,r,i){return n.default.apply("ClassDeclaration",arguments)},t.classExpression=function(e,t,r,i){return n.default.apply("ClassExpression",arguments)},t.classImplements=function(e,t){return n.default.apply("ClassImplements",arguments)},t.classMethod=function(e,t,r,i,s,a,o,l){return n.default.apply("ClassMethod",arguments)},t.classPrivateMethod=function(e,t,r,i,s){return n.default.apply("ClassPrivateMethod",arguments)},t.classPrivateProperty=function(e,t,r,i){return n.default.apply("ClassPrivateProperty",arguments)},t.classProperty=function(e,t,r,i,s,a){return n.default.apply("ClassProperty",arguments)},t.conditionalExpression=function(e,t,r){return n.default.apply("ConditionalExpression",arguments)},t.continueStatement=function(e){return n.default.apply("ContinueStatement",arguments)},t.debuggerStatement=function(){return n.default.apply("DebuggerStatement",arguments)},t.decimalLiteral=function(e){return n.default.apply("DecimalLiteral",arguments)},t.declareClass=function(e,t,r,i){return n.default.apply("DeclareClass",arguments)},t.declareExportAllDeclaration=function(e){return n.default.apply("DeclareExportAllDeclaration",arguments)},t.declareExportDeclaration=function(e,t,r){return n.default.apply("DeclareExportDeclaration",arguments)},t.declareFunction=function(e){return n.default.apply("DeclareFunction",arguments)},t.declareInterface=function(e,t,r,i){return n.default.apply("DeclareInterface",arguments)},t.declareModule=function(e,t,r){return n.default.apply("DeclareModule",arguments)},t.declareModuleExports=function(e){return n.default.apply("DeclareModuleExports",arguments)},t.declareOpaqueType=function(e,t,r){return n.default.apply("DeclareOpaqueType",arguments)},t.declareTypeAlias=function(e,t,r){return n.default.apply("DeclareTypeAlias",arguments)},t.declareVariable=function(e){return n.default.apply("DeclareVariable",arguments)},t.declaredPredicate=function(e){return n.default.apply("DeclaredPredicate",arguments)},t.decorator=function(e){return n.default.apply("Decorator",arguments)},t.directive=function(e){return n.default.apply("Directive",arguments)},t.directiveLiteral=function(e){return n.default.apply("DirectiveLiteral",arguments)},t.doExpression=function(e,t){return n.default.apply("DoExpression",arguments)},t.doWhileStatement=function(e,t){return n.default.apply("DoWhileStatement",arguments)},t.emptyStatement=function(){return n.default.apply("EmptyStatement",arguments)},t.emptyTypeAnnotation=function(){return n.default.apply("EmptyTypeAnnotation",arguments)},t.enumBooleanBody=function(e){return n.default.apply("EnumBooleanBody",arguments)},t.enumBooleanMember=function(e){return n.default.apply("EnumBooleanMember",arguments)},t.enumDeclaration=function(e,t){return n.default.apply("EnumDeclaration",arguments)},t.enumDefaultedMember=function(e){return n.default.apply("EnumDefaultedMember",arguments)},t.enumNumberBody=function(e){return n.default.apply("EnumNumberBody",arguments)},t.enumNumberMember=function(e,t){return n.default.apply("EnumNumberMember",arguments)},t.enumStringBody=function(e){return n.default.apply("EnumStringBody",arguments)},t.enumStringMember=function(e,t){return n.default.apply("EnumStringMember",arguments)},t.enumSymbolBody=function(e){return n.default.apply("EnumSymbolBody",arguments)},t.existsTypeAnnotation=function(){return n.default.apply("ExistsTypeAnnotation",arguments)},t.exportAllDeclaration=function(e){return n.default.apply("ExportAllDeclaration",arguments)},t.exportDefaultDeclaration=function(e){return n.default.apply("ExportDefaultDeclaration",arguments)},t.exportDefaultSpecifier=function(e){return n.default.apply("ExportDefaultSpecifier",arguments)},t.exportNamedDeclaration=function(e,t,r){return n.default.apply("ExportNamedDeclaration",arguments)},t.exportNamespaceSpecifier=function(e){return n.default.apply("ExportNamespaceSpecifier",arguments)},t.exportSpecifier=function(e,t){return n.default.apply("ExportSpecifier",arguments)},t.expressionStatement=function(e){return n.default.apply("ExpressionStatement",arguments)},t.file=function(e,t,r){return n.default.apply("File",arguments)},t.forInStatement=function(e,t,r){return n.default.apply("ForInStatement",arguments)},t.forOfStatement=function(e,t,r,i){return n.default.apply("ForOfStatement",arguments)},t.forStatement=function(e,t,r,i){return n.default.apply("ForStatement",arguments)},t.functionDeclaration=function(e,t,r,i,s){return n.default.apply("FunctionDeclaration",arguments)},t.functionExpression=function(e,t,r,i,s){return n.default.apply("FunctionExpression",arguments)},t.functionTypeAnnotation=function(e,t,r,i){return n.default.apply("FunctionTypeAnnotation",arguments)},t.functionTypeParam=function(e,t){return n.default.apply("FunctionTypeParam",arguments)},t.genericTypeAnnotation=function(e,t){return n.default.apply("GenericTypeAnnotation",arguments)},t.identifier=function(e){return n.default.apply("Identifier",arguments)},t.ifStatement=function(e,t,r){return n.default.apply("IfStatement",arguments)},t.import=function(){return n.default.apply("Import",arguments)},t.importAttribute=function(e,t){return n.default.apply("ImportAttribute",arguments)},t.importDeclaration=function(e,t){return n.default.apply("ImportDeclaration",arguments)},t.importDefaultSpecifier=function(e){return n.default.apply("ImportDefaultSpecifier",arguments)},t.importNamespaceSpecifier=function(e){return n.default.apply("ImportNamespaceSpecifier",arguments)},t.importSpecifier=function(e,t){return n.default.apply("ImportSpecifier",arguments)},t.indexedAccessType=function(e,t){return n.default.apply("IndexedAccessType",arguments)},t.inferredPredicate=function(){return n.default.apply("InferredPredicate",arguments)},t.interfaceDeclaration=function(e,t,r,i){return n.default.apply("InterfaceDeclaration",arguments)},t.interfaceExtends=function(e,t){return n.default.apply("InterfaceExtends",arguments)},t.interfaceTypeAnnotation=function(e,t){return n.default.apply("InterfaceTypeAnnotation",arguments)},t.interpreterDirective=function(e){return n.default.apply("InterpreterDirective",arguments)},t.intersectionTypeAnnotation=function(e){return n.default.apply("IntersectionTypeAnnotation",arguments)},t.jSXAttribute=t.jsxAttribute=function(e,t){return n.default.apply("JSXAttribute",arguments)},t.jSXClosingElement=t.jsxClosingElement=function(e){return n.default.apply("JSXClosingElement",arguments)},t.jSXClosingFragment=t.jsxClosingFragment=function(){return n.default.apply("JSXClosingFragment",arguments)},t.jSXElement=t.jsxElement=function(e,t,r,i){return n.default.apply("JSXElement",arguments)},t.jSXEmptyExpression=t.jsxEmptyExpression=function(){return n.default.apply("JSXEmptyExpression",arguments)},t.jSXExpressionContainer=t.jsxExpressionContainer=function(e){return n.default.apply("JSXExpressionContainer",arguments)},t.jSXFragment=t.jsxFragment=function(e,t,r){return n.default.apply("JSXFragment",arguments)},t.jSXIdentifier=t.jsxIdentifier=function(e){return n.default.apply("JSXIdentifier",arguments)},t.jSXMemberExpression=t.jsxMemberExpression=function(e,t){return n.default.apply("JSXMemberExpression",arguments)},t.jSXNamespacedName=t.jsxNamespacedName=function(e,t){return n.default.apply("JSXNamespacedName",arguments)},t.jSXOpeningElement=t.jsxOpeningElement=function(e,t,r){return n.default.apply("JSXOpeningElement",arguments)},t.jSXOpeningFragment=t.jsxOpeningFragment=function(){return n.default.apply("JSXOpeningFragment",arguments)},t.jSXSpreadAttribute=t.jsxSpreadAttribute=function(e){return n.default.apply("JSXSpreadAttribute",arguments)},t.jSXSpreadChild=t.jsxSpreadChild=function(e){return n.default.apply("JSXSpreadChild",arguments)},t.jSXText=t.jsxText=function(e){return n.default.apply("JSXText",arguments)},t.labeledStatement=function(e,t){return n.default.apply("LabeledStatement",arguments)},t.logicalExpression=function(e,t,r){return n.default.apply("LogicalExpression",arguments)},t.memberExpression=function(e,t,r,i){return n.default.apply("MemberExpression",arguments)},t.metaProperty=function(e,t){return n.default.apply("MetaProperty",arguments)},t.mixedTypeAnnotation=function(){return n.default.apply("MixedTypeAnnotation",arguments)},t.moduleExpression=function(e){return n.default.apply("ModuleExpression",arguments)},t.newExpression=function(e,t){return n.default.apply("NewExpression",arguments)},t.noop=function(){return n.default.apply("Noop",arguments)},t.nullLiteral=function(){return n.default.apply("NullLiteral",arguments)},t.nullLiteralTypeAnnotation=function(){return n.default.apply("NullLiteralTypeAnnotation",arguments)},t.nullableTypeAnnotation=function(e){return n.default.apply("NullableTypeAnnotation",arguments)},t.numberLiteral=function(e){return console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),n.default.apply("NumberLiteral",arguments)},t.numberLiteralTypeAnnotation=function(e){return n.default.apply("NumberLiteralTypeAnnotation",arguments)},t.numberTypeAnnotation=function(){return n.default.apply("NumberTypeAnnotation",arguments)},t.numericLiteral=function(e){return n.default.apply("NumericLiteral",arguments)},t.objectExpression=function(e){return n.default.apply("ObjectExpression",arguments)},t.objectMethod=function(e,t,r,i,s,a,o){return n.default.apply("ObjectMethod",arguments)},t.objectPattern=function(e){return n.default.apply("ObjectPattern",arguments)},t.objectProperty=function(e,t,r,i,s){return n.default.apply("ObjectProperty",arguments)},t.objectTypeAnnotation=function(e,t,r,i,s){return n.default.apply("ObjectTypeAnnotation",arguments)},t.objectTypeCallProperty=function(e){return n.default.apply("ObjectTypeCallProperty",arguments)},t.objectTypeIndexer=function(e,t,r,i){return n.default.apply("ObjectTypeIndexer",arguments)},t.objectTypeInternalSlot=function(e,t,r,i,s){return n.default.apply("ObjectTypeInternalSlot",arguments)},t.objectTypeProperty=function(e,t,r){return n.default.apply("ObjectTypeProperty",arguments)},t.objectTypeSpreadProperty=function(e){return n.default.apply("ObjectTypeSpreadProperty",arguments)},t.opaqueType=function(e,t,r,i){return n.default.apply("OpaqueType",arguments)},t.optionalCallExpression=function(e,t,r){return n.default.apply("OptionalCallExpression",arguments)},t.optionalIndexedAccessType=function(e,t){return n.default.apply("OptionalIndexedAccessType",arguments)},t.optionalMemberExpression=function(e,t,r,i){return n.default.apply("OptionalMemberExpression",arguments)},t.parenthesizedExpression=function(e){return n.default.apply("ParenthesizedExpression",arguments)},t.pipelineBareFunction=function(e){return n.default.apply("PipelineBareFunction",arguments)},t.pipelinePrimaryTopicReference=function(){return n.default.apply("PipelinePrimaryTopicReference",arguments)},t.pipelineTopicExpression=function(e){return n.default.apply("PipelineTopicExpression",arguments)},t.placeholder=function(e,t){return n.default.apply("Placeholder",arguments)},t.privateName=function(e){return n.default.apply("PrivateName",arguments)},t.program=function(e,t,r,i){return n.default.apply("Program",arguments)},t.qualifiedTypeIdentifier=function(e,t){return n.default.apply("QualifiedTypeIdentifier",arguments)},t.recordExpression=function(e){return n.default.apply("RecordExpression",arguments)},t.regExpLiteral=function(e,t){return n.default.apply("RegExpLiteral",arguments)},t.regexLiteral=function(e,t){return console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),n.default.apply("RegexLiteral",arguments)},t.restElement=function(e){return n.default.apply("RestElement",arguments)},t.restProperty=function(e){return console.trace("The node type RestProperty has been renamed to RestElement"),n.default.apply("RestProperty",arguments)},t.returnStatement=function(e){return n.default.apply("ReturnStatement",arguments)},t.sequenceExpression=function(e){return n.default.apply("SequenceExpression",arguments)},t.spreadElement=function(e){return n.default.apply("SpreadElement",arguments)},t.spreadProperty=function(e){return console.trace("The node type SpreadProperty has been renamed to SpreadElement"),n.default.apply("SpreadProperty",arguments)},t.staticBlock=function(e){return n.default.apply("StaticBlock",arguments)},t.stringLiteral=function(e){return n.default.apply("StringLiteral",arguments)},t.stringLiteralTypeAnnotation=function(e){return n.default.apply("StringLiteralTypeAnnotation",arguments)},t.stringTypeAnnotation=function(){return n.default.apply("StringTypeAnnotation",arguments)},t.super=function(){return n.default.apply("Super",arguments)},t.switchCase=function(e,t){return n.default.apply("SwitchCase",arguments)},t.switchStatement=function(e,t){return n.default.apply("SwitchStatement",arguments)},t.symbolTypeAnnotation=function(){return n.default.apply("SymbolTypeAnnotation",arguments)},t.taggedTemplateExpression=function(e,t){return n.default.apply("TaggedTemplateExpression",arguments)},t.templateElement=function(e,t){return n.default.apply("TemplateElement",arguments)},t.templateLiteral=function(e,t){return n.default.apply("TemplateLiteral",arguments)},t.thisExpression=function(){return n.default.apply("ThisExpression",arguments)},t.thisTypeAnnotation=function(){return n.default.apply("ThisTypeAnnotation",arguments)},t.throwStatement=function(e){return n.default.apply("ThrowStatement",arguments)},t.topicReference=function(){return n.default.apply("TopicReference",arguments)},t.tryStatement=function(e,t,r){return n.default.apply("TryStatement",arguments)},t.tSAnyKeyword=t.tsAnyKeyword=function(){return n.default.apply("TSAnyKeyword",arguments)},t.tSArrayType=t.tsArrayType=function(e){return n.default.apply("TSArrayType",arguments)},t.tSAsExpression=t.tsAsExpression=function(e,t){return n.default.apply("TSAsExpression",arguments)},t.tSBigIntKeyword=t.tsBigIntKeyword=function(){return n.default.apply("TSBigIntKeyword",arguments)},t.tSBooleanKeyword=t.tsBooleanKeyword=function(){return n.default.apply("TSBooleanKeyword",arguments)},t.tSCallSignatureDeclaration=t.tsCallSignatureDeclaration=function(e,t,r){return n.default.apply("TSCallSignatureDeclaration",arguments)},t.tSConditionalType=t.tsConditionalType=function(e,t,r,i){return n.default.apply("TSConditionalType",arguments)},t.tSConstructSignatureDeclaration=t.tsConstructSignatureDeclaration=function(e,t,r){return n.default.apply("TSConstructSignatureDeclaration",arguments)},t.tSConstructorType=t.tsConstructorType=function(e,t,r){return n.default.apply("TSConstructorType",arguments)},t.tSDeclareFunction=t.tsDeclareFunction=function(e,t,r,i){return n.default.apply("TSDeclareFunction",arguments)},t.tSDeclareMethod=t.tsDeclareMethod=function(e,t,r,i,s){return n.default.apply("TSDeclareMethod",arguments)},t.tSEnumDeclaration=t.tsEnumDeclaration=function(e,t){return n.default.apply("TSEnumDeclaration",arguments)},t.tSEnumMember=t.tsEnumMember=function(e,t){return n.default.apply("TSEnumMember",arguments)},t.tSExportAssignment=t.tsExportAssignment=function(e){return n.default.apply("TSExportAssignment",arguments)},t.tSExpressionWithTypeArguments=t.tsExpressionWithTypeArguments=function(e,t){return n.default.apply("TSExpressionWithTypeArguments",arguments)},t.tSExternalModuleReference=t.tsExternalModuleReference=function(e){return n.default.apply("TSExternalModuleReference",arguments)},t.tSFunctionType=t.tsFunctionType=function(e,t,r){return n.default.apply("TSFunctionType",arguments)},t.tSImportEqualsDeclaration=t.tsImportEqualsDeclaration=function(e,t){return n.default.apply("TSImportEqualsDeclaration",arguments)},t.tSImportType=t.tsImportType=function(e,t,r){return n.default.apply("TSImportType",arguments)},t.tSIndexSignature=t.tsIndexSignature=function(e,t){return n.default.apply("TSIndexSignature",arguments)},t.tSIndexedAccessType=t.tsIndexedAccessType=function(e,t){return n.default.apply("TSIndexedAccessType",arguments)},t.tSInferType=t.tsInferType=function(e){return n.default.apply("TSInferType",arguments)},t.tSInterfaceBody=t.tsInterfaceBody=function(e){return n.default.apply("TSInterfaceBody",arguments)},t.tSInterfaceDeclaration=t.tsInterfaceDeclaration=function(e,t,r,i){return n.default.apply("TSInterfaceDeclaration",arguments)},t.tSIntersectionType=t.tsIntersectionType=function(e){return n.default.apply("TSIntersectionType",arguments)},t.tSIntrinsicKeyword=t.tsIntrinsicKeyword=function(){return n.default.apply("TSIntrinsicKeyword",arguments)},t.tSLiteralType=t.tsLiteralType=function(e){return n.default.apply("TSLiteralType",arguments)},t.tSMappedType=t.tsMappedType=function(e,t,r){return n.default.apply("TSMappedType",arguments)},t.tSMethodSignature=t.tsMethodSignature=function(e,t,r,i){return n.default.apply("TSMethodSignature",arguments)},t.tSModuleBlock=t.tsModuleBlock=function(e){return n.default.apply("TSModuleBlock",arguments)},t.tSModuleDeclaration=t.tsModuleDeclaration=function(e,t){return n.default.apply("TSModuleDeclaration",arguments)},t.tSNamedTupleMember=t.tsNamedTupleMember=function(e,t,r){return n.default.apply("TSNamedTupleMember",arguments)},t.tSNamespaceExportDeclaration=t.tsNamespaceExportDeclaration=function(e){return n.default.apply("TSNamespaceExportDeclaration",arguments)},t.tSNeverKeyword=t.tsNeverKeyword=function(){return n.default.apply("TSNeverKeyword",arguments)},t.tSNonNullExpression=t.tsNonNullExpression=function(e){return n.default.apply("TSNonNullExpression",arguments)},t.tSNullKeyword=t.tsNullKeyword=function(){return n.default.apply("TSNullKeyword",arguments)},t.tSNumberKeyword=t.tsNumberKeyword=function(){return n.default.apply("TSNumberKeyword",arguments)},t.tSObjectKeyword=t.tsObjectKeyword=function(){return n.default.apply("TSObjectKeyword",arguments)},t.tSOptionalType=t.tsOptionalType=function(e){return n.default.apply("TSOptionalType",arguments)},t.tSParameterProperty=t.tsParameterProperty=function(e){return n.default.apply("TSParameterProperty",arguments)},t.tSParenthesizedType=t.tsParenthesizedType=function(e){return n.default.apply("TSParenthesizedType",arguments)},t.tSPropertySignature=t.tsPropertySignature=function(e,t,r){return n.default.apply("TSPropertySignature",arguments)},t.tSQualifiedName=t.tsQualifiedName=function(e,t){return n.default.apply("TSQualifiedName",arguments)},t.tSRestType=t.tsRestType=function(e){return n.default.apply("TSRestType",arguments)},t.tSStringKeyword=t.tsStringKeyword=function(){return n.default.apply("TSStringKeyword",arguments)},t.tSSymbolKeyword=t.tsSymbolKeyword=function(){return n.default.apply("TSSymbolKeyword",arguments)},t.tSThisType=t.tsThisType=function(){return n.default.apply("TSThisType",arguments)},t.tSTupleType=t.tsTupleType=function(e){return n.default.apply("TSTupleType",arguments)},t.tSTypeAliasDeclaration=t.tsTypeAliasDeclaration=function(e,t,r){return n.default.apply("TSTypeAliasDeclaration",arguments)},t.tSTypeAnnotation=t.tsTypeAnnotation=function(e){return n.default.apply("TSTypeAnnotation",arguments)},t.tSTypeAssertion=t.tsTypeAssertion=function(e,t){return n.default.apply("TSTypeAssertion",arguments)},t.tSTypeLiteral=t.tsTypeLiteral=function(e){return n.default.apply("TSTypeLiteral",arguments)},t.tSTypeOperator=t.tsTypeOperator=function(e){return n.default.apply("TSTypeOperator",arguments)},t.tSTypeParameter=t.tsTypeParameter=function(e,t,r){return n.default.apply("TSTypeParameter",arguments)},t.tSTypeParameterDeclaration=t.tsTypeParameterDeclaration=function(e){return n.default.apply("TSTypeParameterDeclaration",arguments)},t.tSTypeParameterInstantiation=t.tsTypeParameterInstantiation=function(e){return n.default.apply("TSTypeParameterInstantiation",arguments)},t.tSTypePredicate=t.tsTypePredicate=function(e,t,r){return n.default.apply("TSTypePredicate",arguments)},t.tSTypeQuery=t.tsTypeQuery=function(e){return n.default.apply("TSTypeQuery",arguments)},t.tSTypeReference=t.tsTypeReference=function(e,t){return n.default.apply("TSTypeReference",arguments)},t.tSUndefinedKeyword=t.tsUndefinedKeyword=function(){return n.default.apply("TSUndefinedKeyword",arguments)},t.tSUnionType=t.tsUnionType=function(e){return n.default.apply("TSUnionType",arguments)},t.tSUnknownKeyword=t.tsUnknownKeyword=function(){return n.default.apply("TSUnknownKeyword",arguments)},t.tSVoidKeyword=t.tsVoidKeyword=function(){return n.default.apply("TSVoidKeyword",arguments)},t.tupleExpression=function(e){return n.default.apply("TupleExpression",arguments)},t.tupleTypeAnnotation=function(e){return n.default.apply("TupleTypeAnnotation",arguments)},t.typeAlias=function(e,t,r){return n.default.apply("TypeAlias",arguments)},t.typeAnnotation=function(e){return n.default.apply("TypeAnnotation",arguments)},t.typeCastExpression=function(e,t){return n.default.apply("TypeCastExpression",arguments)},t.typeParameter=function(e,t,r){return n.default.apply("TypeParameter",arguments)},t.typeParameterDeclaration=function(e){return n.default.apply("TypeParameterDeclaration",arguments)},t.typeParameterInstantiation=function(e){return n.default.apply("TypeParameterInstantiation",arguments)},t.typeofTypeAnnotation=function(e){return n.default.apply("TypeofTypeAnnotation",arguments)},t.unaryExpression=function(e,t,r){return n.default.apply("UnaryExpression",arguments)},t.unionTypeAnnotation=function(e){return n.default.apply("UnionTypeAnnotation",arguments)},t.updateExpression=function(e,t,r){return n.default.apply("UpdateExpression",arguments)},t.v8IntrinsicIdentifier=function(e){return n.default.apply("V8IntrinsicIdentifier",arguments)},t.variableDeclaration=function(e,t){return n.default.apply("VariableDeclaration",arguments)},t.variableDeclarator=function(e,t){return n.default.apply("VariableDeclarator",arguments)},t.variance=function(e){return n.default.apply("Variance",arguments)},t.voidTypeAnnotation=function(){return n.default.apply("VoidTypeAnnotation",arguments)},t.whileStatement=function(e,t){return n.default.apply("WhileStatement",arguments)},t.withStatement=function(e,t){return n.default.apply("WithStatement",arguments)},t.yieldExpression=function(e,t){return n.default.apply("YieldExpression",arguments)};var n=r(505)},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return l.default}}),t.visitors=t.default=void 0;var n=r(500),i=r(260);t.visitors=i;var s=r(65),a=r(93),o=r(83),l=r(247),c=r(613);const{VISITOR_KEYS:u,removeProperties:p,traverseFast:f}=s;function d(e,t={},r,n,s){if(e){if(!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.`);u[e.type]&&(i.explode(t),d.node(e,t,r,n,s))}}var h=d;function m(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}t.default=h,d.visitors=i,d.verify=i.verify,d.explode=i.explode,d.cheap=function(e,t){return f(e,t)},d.node=function(e,t,r,i,s,a){const o=u[e.type];if(!o)return;const l=new n.default(r,t,i,s);for(const n of o)if((!a||!a[n])&&l.visit(e,n))return},d.clearNode=function(e,t){p(e,t),a.path.delete(e)},d.removeProperties=function(e,t){return f(e,d.clearNode,t),e},d.hasType=function(e,t,r){if(null!=r&&r.includes(e.type))return!1;if(e.type===t)return!0;const n={has:!1,type:t};return d(e,{noScope:!0,denylist:r,enter:m},null,n),n.has},d.cache=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ALIAS_KEYS",{enumerable:!0,get:function(){return i.ALIAS_KEYS}}),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,"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,"NODE_PARENT_VALIDATIONS",{enumerable:!0,get:function(){return i.NODE_PARENT_VALIDATIONS}}),Object.defineProperty(t,"PLACEHOLDERS",{enumerable:!0,get:function(){return s.PLACEHOLDERS}}),Object.defineProperty(t,"PLACEHOLDERS_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_ALIAS}}),Object.defineProperty(t,"PLACEHOLDERS_FLIPPED_ALIAS",{enumerable:!0,get:function(){return s.PLACEHOLDERS_FLIPPED_ALIAS}}),t.TYPES=void 0,Object.defineProperty(t,"VISITOR_KEYS",{enumerable:!0,get:function(){return i.VISITOR_KEYS}});var n=r(506);r(231),r(509),r(510),r(511),r(512),r(513);var i=r(84),s=r(233);n(i.VISITOR_KEYS),n(i.ALIAS_KEYS),n(i.FLIPPED_ALIAS_KEYS),n(i.NODE_FIELDS),n(i.BUILDER_KEYS),n(i.DEPRECATED_KEYS),n(s.PLACEHOLDERS_ALIAS),n(s.PLACEHOLDERS_FLIPPED_ALIAS);const a=[].concat(Object.keys(i.VISITOR_KEYS),Object.keys(i.FLIPPED_ALIAS_KEYS),Object.keys(i.DEPRECATED_KEYS));t.TYPES=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DEFAULT_EXTENSIONS=void 0,Object.defineProperty(t,"File",{enumerable:!0,get:function(){return n.default}}),t.OptionManager=void 0,t.Plugin=function(e){throw new Error(`The (${e}) Babel 5 plugin is being run with an unsupported Babel version.`)},Object.defineProperty(t,"buildExternalHelpers",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(t,"createConfigItem",{enumerable:!0,get:function(){return l.createConfigItem}}),Object.defineProperty(t,"createConfigItemAsync",{enumerable:!0,get:function(){return l.createConfigItemAsync}}),Object.defineProperty(t,"createConfigItemSync",{enumerable:!0,get:function(){return l.createConfigItemSync}}),Object.defineProperty(t,"getEnv",{enumerable:!0,get:function(){return a.getEnv}}),Object.defineProperty(t,"loadOptions",{enumerable:!0,get:function(){return l.loadOptions}}),Object.defineProperty(t,"loadOptionsAsync",{enumerable:!0,get:function(){return l.loadOptionsAsync}}),Object.defineProperty(t,"loadOptionsSync",{enumerable:!0,get:function(){return l.loadOptionsSync}}),Object.defineProperty(t,"loadPartialConfig",{enumerable:!0,get:function(){return l.loadPartialConfig}}),Object.defineProperty(t,"loadPartialConfigAsync",{enumerable:!0,get:function(){return l.loadPartialConfigAsync}}),Object.defineProperty(t,"loadPartialConfigSync",{enumerable:!0,get:function(){return l.loadPartialConfigSync}}),Object.defineProperty(t,"parse",{enumerable:!0,get:function(){return f.parse}}),Object.defineProperty(t,"parseAsync",{enumerable:!0,get:function(){return f.parseAsync}}),Object.defineProperty(t,"parseSync",{enumerable:!0,get:function(){return f.parseSync}}),Object.defineProperty(t,"resolvePlugin",{enumerable:!0,get:function(){return s.resolvePlugin}}),Object.defineProperty(t,"resolvePreset",{enumerable:!0,get:function(){return s.resolvePreset}}),Object.defineProperty(t,"template",{enumerable:!0,get:function(){return function(){const e=r(90);return function(){return e},e}().default}}),Object.defineProperty(t,"tokTypes",{enumerable:!0,get:function(){return function(){const e=r(121);return function(){return e},e}().tokTypes}}),Object.defineProperty(t,"transform",{enumerable:!0,get:function(){return c.transform}}),Object.defineProperty(t,"transformAsync",{enumerable:!0,get:function(){return c.transformAsync}}),Object.defineProperty(t,"transformFile",{enumerable:!0,get:function(){return u.transformFile}}),Object.defineProperty(t,"transformFileAsync",{enumerable:!0,get:function(){return u.transformFileAsync}}),Object.defineProperty(t,"transformFileSync",{enumerable:!0,get:function(){return u.transformFileSync}}),Object.defineProperty(t,"transformFromAst",{enumerable:!0,get:function(){return p.transformFromAst}}),Object.defineProperty(t,"transformFromAstAsync",{enumerable:!0,get:function(){return p.transformFromAstAsync}}),Object.defineProperty(t,"transformFromAstSync",{enumerable:!0,get:function(){return p.transformFromAstSync}}),Object.defineProperty(t,"transformSync",{enumerable:!0,get:function(){return c.transformSync}}),Object.defineProperty(t,"traverse",{enumerable:!0,get:function(){return function(){const e=r(74);return function(){return e},e}().default}}),t.version=t.types=void 0;var n=r(151),i=r(624),s=r(122),a=r(264);function o(){const e=r(65);return o=function(){return e},e}Object.defineProperty(t,"types",{enumerable:!0,get:function(){return o()}});var l=r(123),c=r(650),u=r(660),p=r(661),f=r(662);t.version="7.16.5";const d=Object.freeze([".js",".jsx",".es6",".es",".mjs",".cjs"]);t.DEFAULT_EXTENSIONS=d;t.OptionManager=class{init(e){return(0,l.loadOptions)(e)}}},function(e,t,r){"use strict";const n=Symbol.for("gensync:v1:start"),i=Symbol.for("gensync:v1:suspend");function s(e,t,r,n){if(typeof r===e||n&&void 0===r)return;let i;throw i=n?`Expected opts.${t} to be either a ${e}, or undefined.`:`Expected opts.${t} to be a ${e}.`,a(i,"GENSYNC_OPTIONS_ERROR")}function a(e,t){return Object.assign(new Error(e),{code:t})}function o({name:e,arity:t,sync:r,async:s}){return d(e,t,(function*(...e){const t=yield n;if(!t){const t=r.call(this,e);return t}let a;try{s.call(this,e,e=>{a||(a={value:e},t())},e=>{a||(a={err:e},t())})}catch(o){a={err:o},t()}if(yield i,a.hasOwnProperty("err"))throw a.err;return a.value}))}function l(e){let t;for(;!({value:t}=e.next()).done;)u(t,e);return t}function c(e,t,r){!function n(){try{let r;for(;!({value:r}=e.next()).done;){u(r,e);let t=!0,i=!1;const s=e.next(()=>{t?i=!0:n()});if(t=!1,p(s,e),!i)return}return t(r)}catch(i){return r(i)}}()}function u(e,t){e!==n&&f(t,a(`Got unexpected yielded value in gensync generator: ${JSON.stringify(e)}. Did you perhaps mean to use 'yield*' instead of 'yield'?`,"GENSYNC_EXPECTED_START"))}function p({value:e,done:t},r){(t||e!==i)&&f(r,a(t?"Unexpected generator completion. If you get this, it is probably a gensync bug.":`Expected GENSYNC_SUSPEND, got ${JSON.stringify(e)}. If you get this, it is probably a gensync bug.`,"GENSYNC_EXPECTED_SUSPEND"))}function f(e,t){throw e.throw&&e.throw(t),t}function d(e,t,r){if("string"==typeof e){const t=Object.getOwnPropertyDescriptor(r,"name");t&&!t.configurable||Object.defineProperty(r,"name",Object.assign(t||{},{configurable:!0,value:e}))}if("number"==typeof t){const e=Object.getOwnPropertyDescriptor(r,"length");e&&!e.configurable||Object.defineProperty(r,"length",Object.assign(e||{},{configurable:!0,value:t}))}return r}e.exports=Object.assign((function(e){let t=e;return t="function"!=typeof e?function({name:e,arity:t,sync:r,async:n,errback:i}){if(s("string","name",e,!0),s("number","arity",t,!0),s("function","sync",r),s("function","async",n,!0),s("function","errback",i,!0),n&&i)throw a("Expected one of either opts.async or opts.errback, but got _both_.","GENSYNC_OPTIONS_ERROR");if("string"!=typeof e){let t;i&&i.name&&"errback"!==i.name&&(t=i.name),n&&n.name&&"async"!==n.name&&(t=n.name.replace(/Async$/,"")),r&&r.name&&"sync"!==r.name&&(t=r.name.replace(/Sync$/,"")),"string"==typeof t&&(e=t)}"number"!=typeof t&&(t=r.length);return o({name:e,arity:t,sync:function(e){return r.apply(this,e)},async:function(e,t,s){n?n.apply(this,e).then(t,s):i?i.call(this,...e,(e,r)=>{null==e?t(r):s(e)}):t(r.apply(this,e))}})}(e):function(e){return d(e.name,e.length,(function(...t){return e.apply(this,t)}))}(e),Object.assign(t,function(e){const t={sync:function(...t){return l(e.apply(this,t))},async:function(...t){return new Promise((r,n)=>{c(e.apply(this,t),r,n)})},errback:function(...t){const r=t.pop();if("function"!=typeof r)throw a("Asynchronous function called without callback","GENSYNC_ERRBACK_NO_CALLBACK");let n;try{n=e.apply(this,t)}catch(i){return void r(i)}c(n,e=>r(void 0,e),e=>r(e))}};return t}(t))}),{all:o({name:"all",arity:1,sync:function(e){const t=Array.from(e[0]);return t.map(e=>l(e))},async:function(e,t,r){const n=Array.from(e[0]);if(0===n.length)return void Promise.resolve().then(()=>t([]));let i=0;const s=n.map(()=>{});n.forEach((e,n)=>{c(e,e=>{s[n]=e,i+=1,i===s.length&&t(s)},r)})}}),race:o({name:"race",arity:1,sync:function(e){const t=Array.from(e[0]);if(0===t.length)throw a("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");return l(t[0])},async:function(e,t,r){const n=Array.from(e[0]);if(0===n.length)throw a("Must race at least 1 item","GENSYNC_RACE_NONEMPTY");for(const i of n)c(i,t,r)}})})},,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=t.SHOULD_STOP=t.SHOULD_SKIP=t.REMOVED=void 0;var n=r(228),i=r(156),s=r(74),a=r(247),o=r(65),l=o,c=r(93),u=r(158),p=r(582),f=r(583),d=r(586),h=r(598),m=r(599),y=r(605),g=r(606),b=r(607),v=r(609),T=r(611),E=r(612);const{validate:S}=o,x=i("babel");t.REMOVED=1;t.SHOULD_STOP=2;t.SHOULD_SKIP=4;class P{constructor(e,t){this.contexts=[],this.state=null,this.opts=null,this._traverseFlags=0,this.skipKeys=null,this.parentPath=null,this.container=null,this.listKey=null,this.key=null,this.node=null,this.type=null,this.parent=t,this.hub=e,this.data=null,this.context=null,this.scope=null}static get({hub:e,parentPath:t,parent:r,container:n,listKey:i,key:s}){if(!e&&t&&(e=t.hub),!r)throw new Error("To get a node path the parent needs to exist");const a=n[s];let o=c.path.get(r);o||(o=new Map,c.path.set(r,o));let l=o.get(a);return l||(l=new P(e,r),a&&o.set(a,l)),l.setup(t,n,i,s),l}getScope(e){return this.isScope()?new a.default(this):e}setData(e,t){return null==this.data&&(this.data=Object.create(null)),this.data[e]=t}getData(e,t){null==this.data&&(this.data=Object.create(null));let r=this.data[e];return void 0===r&&void 0!==t&&(r=this.data[e]=t),r}buildCodeFrameError(e,t=SyntaxError){return this.hub.buildError(this.node,e,t)}traverse(e,t){(0,s.default)(this.node,e,this.scope,t,this)}set(e,t){S(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,u.default)(this.node).code}get inList(){return!!this.listKey}set inList(e){e||(this.listKey=null)}get parentKey(){return this.listKey||this.key}get shouldSkip(){return!!(4&this._traverseFlags)}set shouldSkip(e){e?this._traverseFlags|=4:this._traverseFlags&=-5}get shouldStop(){return!!(2&this._traverseFlags)}set shouldStop(e){e?this._traverseFlags|=2:this._traverseFlags&=-3}get removed(){return!!(1&this._traverseFlags)}set removed(e){e?this._traverseFlags|=1:this._traverseFlags&=-2}}Object.assign(P.prototype,p,f,d,h,m,y,g,b,v,T,E);for(const w of l.TYPES){const e="is"+w,t=l[e];P.prototype[e]=function(e){return t(this.node,e)},P.prototype["assert"+w]=function(e){if(!t(this.node,e))throw new TypeError("Expected node path of type "+w)}}for(const w of Object.keys(n)){if("_"===w[0])continue;l.TYPES.indexOf(w)<0&&l.TYPES.push(w);const e=n[w];P.prototype["is"+w]=function(t){return e.checkPath(this,t)}}var A=P;t.default=A},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.VISITOR_KEYS=t.NODE_PARENT_VALIDATIONS=t.NODE_FIELDS=t.FLIPPED_ALIAS_KEYS=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.ALIAS_KEYS=void 0,t.arrayOf=m,t.arrayOfType=y,t.assertEach=g,t.assertNodeOrValueType=function(...e){function t(t,r,s){for(const a of e)if(f(s)===a||(0,n.default)(a,s))return void(0,i.validateChild)(t,r,s);throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==s?void 0:s.type)}`)}return t.oneOfNodeOrValueTypes=e,t},t.assertNodeType=b,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.assertOptionalChainStart=function(){return function(e){var t;let r=e;for(;e;){const{type:e}=r;if("OptionalCallExpression"!==e){if("OptionalMemberExpression"!==e)break;if(r.optional)return;r=r.object}else{if(r.optional)return;r=r.callee}}throw new TypeError(`Non-optional ${e.type} must chain from an optional OptionalMemberExpression or OptionalCallExpression. Found chain from ${null==(t=r)?void 0:t.type}`)}},t.assertShape=function(e){function t(t,r,n){const s=[];for(const o of Object.keys(e))try{(0,i.validateField)(t,o,n[o],e[o])}catch(a){if(a instanceof TypeError){s.push(a.message);continue}throw a}if(s.length)throw new TypeError(`Property ${r} of ${t.type} expected to have the following:\n${s.join("\n")}`)}return t.shapeOf=e,t},t.assertValueType=v,t.chain=T,t.default=x,t.defineAliasedType=function(...e){return(t,r={})=>{let n=r.aliases;var i;n||(r.inherits&&(n=null==(i=P[r.inherits].aliases)?void 0:i.slice()),null!=n||(n=[]),r.aliases=n);const s=e.filter(e=>!n.includes(e));return n.unshift(...s),x(t,r)}},t.typeIs=h,t.validate=d,t.validateArrayOfType=function(e){return d(y(e))},t.validateOptional=function(e){return{validate:e,optional:!0}},t.validateOptionalType=function(e){return{validate:h(e),optional:!0}},t.validateType=function(e){return d(h(e))};var n=r(99),i=r(154);const s={};t.VISITOR_KEYS=s;const a={};t.ALIAS_KEYS=a;const o={};t.FLIPPED_ALIAS_KEYS=o;const l={};t.NODE_FIELDS=l;const c={};t.BUILDER_KEYS=c;const u={};t.DEPRECATED_KEYS=u;const p={};function f(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function d(e){return{validate:e}}function h(e){return"string"==typeof e?b(e):b(...e)}function m(e){return T(v("array"),g(e))}function y(e){return m(h(e))}function g(t){function r(r,n,s){if(Array.isArray(s))for(let a=0;a<s.length;a++){const o=`${n}[${a}]`,l=s[a];t(r,o,l),e.env.BABEL_TYPES_8_BREAKING&&(0,i.validateChild)(r,o,l)}}return r.each=t,r}function b(...e){function t(t,r,s){for(const a of e)if((0,n.default)(a,s))return void(0,i.validateChild)(t,r,s);throw new TypeError(`Property ${r} of ${t.type} expected node to be of a type ${JSON.stringify(e)} but instead got ${JSON.stringify(null==s?void 0:s.type)}`)}return t.oneOfNodeTypes=e,t}function v(e){function t(t,r,n){const i=f(n)===e;if(!i)throw new TypeError(`Property ${r} expected type of ${e} but got ${f(n)}`)}return t.type=e,t}function T(...e){function t(...t){for(const r of e)r(...t)}if(t.chainOf=e,e.length>=2&&"type"in e[0]&&"array"===e[0].type&&!("each"in e[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return t}t.NODE_PARENT_VALIDATIONS=p;const E=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],S=["default","optional","validate"];function x(e,t={}){const r=t.inherits&&P[t.inherits]||{};let n=t.fields;if(!n&&(n={},r.fields)){const e=Object.getOwnPropertyNames(r.fields);for(const t of e){const e=r.fields[t],i=e.default;if(Array.isArray(i)?i.length>0:i&&"object"==typeof i)throw new Error("field defaults can only be primitives or empty arrays currently");n[t]={default:Array.isArray(i)?[]:i,optional:e.optional,validate:e.validate}}}const i=t.visitor||r.visitor||[],d=t.aliases||r.aliases||[],h=t.builder||r.builder||t.visitor||[];for(const s of Object.keys(t))if(-1===E.indexOf(s))throw new Error(`Unknown type option "${s}" on ${e}`);t.deprecatedAlias&&(u[t.deprecatedAlias]=e);for(const s of i.concat(h))n[s]=n[s]||{};for(const s of Object.keys(n)){const t=n[s];void 0!==t.default&&-1===h.indexOf(s)&&(t.optional=!0),void 0===t.default?t.default=null:t.validate||null==t.default||(t.validate=v(f(t.default)));for(const r of Object.keys(t))if(-1===S.indexOf(r))throw new Error(`Unknown field key "${r}" on ${e}.${s}`)}s[e]=t.visitor=i,c[e]=t.builder=h,l[e]=t.fields=n,a[e]=t.aliases=d,d.forEach(t=>{o[t]=o[t]||[],o[t].push(e)}),t.validate&&(p[e]=t.validate),P[e]=t}const P={}}).call(this,r(69))},function(e,t,r){(function(e){function r(e,t){for(var r=0,n=e.length-1;n>=0;n--){var i=e[n];"."===i?e.splice(n,1):".."===i?(e.splice(n,1),r++):r&&(e.splice(n,1),r--)}if(t)for(;r--;r)e.unshift("..");return e}function n(e,t){if(e.filter)return e.filter(t);for(var r=[],n=0;n<e.length;n++)t(e[n],n,e)&&r.push(e[n]);return r}t.resolve=function(){for(var t="",i=!1,s=arguments.length-1;s>=-1&&!i;s--){var a=s>=0?arguments[s]:e.cwd();if("string"!=typeof a)throw new TypeError("Arguments to path.resolve must be strings");a&&(t=a+"/"+t,i="/"===a.charAt(0))}return t=r(n(t.split("/"),(function(e){return!!e})),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var s=t.isAbsolute(e),a="/"===i(e,-1);return e=r(n(e.split("/"),(function(e){return!!e})),!s).join("/"),e||s||(e="."),e&&a&&(e+="/"),(s?"/":"")+e},t.isAbsolute=function(e){return"/"===e.charAt(0)},t.join=function(){var e=Array.prototype.slice.call(arguments,0);return t.normalize(n(e,(function(e,t){if("string"!=typeof e)throw new TypeError("Arguments to path.join must be strings");return e})).join("/"))},t.relative=function(e,r){function n(e){for(var t=0;t<e.length&&""===e[t];t++);for(var r=e.length-1;r>=0&&""===e[r];r--);return t>r?[]:e.slice(t,r-t+1)}e=t.resolve(e).substr(1),r=t.resolve(r).substr(1);for(var i=n(e.split("/")),s=n(r.split("/")),a=Math.min(i.length,s.length),o=a,l=0;l<a;l++)if(i[l]!==s[l]){o=l;break}var c=[];for(l=o;l<i.length;l++)c.push("..");return c=c.concat(s.slice(o)),c.join("/")},t.sep="/",t.delimiter=":",t.dirname=function(e){if("string"!=typeof e&&(e+=""),0===e.length)return".";for(var t=e.charCodeAt(0),r=47===t,n=-1,i=!0,s=e.length-1;s>=1;--s)if(t=e.charCodeAt(s),47===t){if(!i){n=s;break}}else i=!1;return-1===n?r?"/":".":r&&1===n?"/":e.slice(0,n)},t.basename=function(e,t){var r=function(e){"string"!=typeof e&&(e+="");var t,r=0,n=-1,i=!0;for(t=e.length-1;t>=0;--t)if(47===e.charCodeAt(t)){if(!i){r=t+1;break}}else-1===n&&(i=!1,n=t+1);return-1===n?"":e.slice(r,n)}(e);return t&&r.substr(-1*t.length)===t&&(r=r.substr(0,r.length-t.length)),r},t.extname=function(e){"string"!=typeof e&&(e+="");for(var t=-1,r=0,n=-1,i=!0,s=0,a=e.length-1;a>=0;--a){var o=e.charCodeAt(a);if(47!==o)-1===n&&(i=!1,n=a+1),46===o?-1===t?t=a:1!==s&&(s=1):-1!==t&&(s=-1);else if(!i){r=a+1;break}}return-1===t||-1===n||0===s||1===s&&t===n-1&&t===r+1?"":e.slice(t,n)};var i="b"==="ab".substr(-1)?function(e,t,r){return e.substr(t,r)}:function(e,t,r){return t<0&&(t=e.length+t),e.substr(t,r)}}).call(this,r(69))},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.UPDATE_OPERATORS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.STATEMENT_OR_BLOCK_KEYS=t.NUMBER_UNARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.NOT_LOCAL_BINDING=t.LOGICAL_OPERATORS=t.INHERIT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.EQUALITY_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.COMMENT_KEYS=t.BOOLEAN_UNARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.BLOCK_SCOPED_SYMBOL=t.BINARY_OPERATORS=t.ASSIGNMENT_OPERATORS=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"];const n=["||","&&","??"];t.LOGICAL_OPERATORS=n;t.UPDATE_OPERATORS=["++","--"];const i=[">","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=i;const s=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=s;const a=[...s,"in","instanceof"];t.COMPARISON_BINARY_OPERATORS=a;const o=[...a,...i];t.BOOLEAN_BINARY_OPERATORS=o;const l=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=l;const c=["+",...l,...o];t.BINARY_OPERATORS=c;const u=["=","+=",...l.map(e=>e+"="),...n.map(e=>e+"=")];t.ASSIGNMENT_OPERATORS=u;const p=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=p;const f=["+","-","~"];t.NUMBER_UNARY_OPERATORS=f;const d=["typeof"];t.STRING_UNARY_OPERATORS=d;const h=["void","throw",...p,...f,...d];t.UNARY_OPERATORS=h;t.INHERIT_KEYS={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};const m=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=m;const y=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=y},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=l;var n=r(75),i=r(68);const s=Function.call.bind(Object.prototype.hasOwnProperty);function a(e,t,r){return e&&"string"==typeof e.type?l(e,t,r):e}function o(e,t,r){return Array.isArray(e)?e.map(e=>a(e,t,r)):a(e,t,r)}function l(e,t=!0,r=!1){if(!e)return e;const{type:a}=e,l={type:e.type};if((0,i.isIdentifier)(e))l.name=e.name,s(e,"optional")&&"boolean"==typeof e.optional&&(l.optional=e.optional),s(e,"typeAnnotation")&&(l.typeAnnotation=t?o(e.typeAnnotation,!0,r):e.typeAnnotation);else{if(!s(n.NODE_FIELDS,a))throw new Error(`Unknown node type: "${a}"`);for(const u of Object.keys(n.NODE_FIELDS[a]))s(e,u)&&(l[u]=t?(0,i.isFile)(e)&&"comments"===u?c(e.comments,t,r):o(e[u],!0,r):e[u])}return s(e,"loc")&&(l.loc=r?null:e.loc),s(e,"leadingComments")&&(l.leadingComments=c(e.leadingComments,t,r)),s(e,"innerComments")&&(l.innerComments=c(e.innerComments,t,r)),s(e,"trailingComments")&&(l.trailingComments=c(e.trailingComments,t,r)),s(e,"extra")&&(l.extra=Object.assign({},e.extra)),l}function c(e,t,r){return e&&t?e.map(({type:e,value:t,loc:n})=>r?{type:e,value:t,loc:null}:{type:e,value:t,loc:n}):e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=t.default=void 0;var n=r(601),i=r(602);const s=(0,i.default)(n.smart);t.smart=s;const a=(0,i.default)(n.statement);t.statement=a;const o=(0,i.default)(n.statements);t.statements=o;const l=(0,i.default)(n.expression);t.expression=l;const c=(0,i.default)(n.program);t.program=c;var u=Object.assign(s.bind(void 0),{smart:s,statement:a,statements:o,expression:l,program:c,ast:s.ast});t.default=u},,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.clear=function(){s(),a()},t.clearPath=s,t.clearScope=a,t.scope=t.path=void 0;let n=new WeakMap;t.path=n;let i=new WeakMap;function s(){t.path=n=new WeakMap}function a(){t.scope=i=new WeakMap}t.scope=i},function(e,t,r){(function(r){var n;t=e.exports=f,n="object"==typeof r&&r.env&&r.env.NODE_DEBUG&&/\bsemver\b/i.test(r.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 i=Number.MAX_SAFE_INTEGER||9007199254740991,s=t.re=[],a=t.src=[],o=t.tokens={},l=0;function c(e){o[e]=l++}c("NUMERICIDENTIFIER"),a[o.NUMERICIDENTIFIER]="0|[1-9]\\d*",c("NUMERICIDENTIFIERLOOSE"),a[o.NUMERICIDENTIFIERLOOSE]="[0-9]+",c("NONNUMERICIDENTIFIER"),a[o.NONNUMERICIDENTIFIER]="\\d*[a-zA-Z-][a-zA-Z0-9-]*",c("MAINVERSION"),a[o.MAINVERSION]="("+a[o.NUMERICIDENTIFIER]+")\\.("+a[o.NUMERICIDENTIFIER]+")\\.("+a[o.NUMERICIDENTIFIER]+")",c("MAINVERSIONLOOSE"),a[o.MAINVERSIONLOOSE]="("+a[o.NUMERICIDENTIFIERLOOSE]+")\\.("+a[o.NUMERICIDENTIFIERLOOSE]+")\\.("+a[o.NUMERICIDENTIFIERLOOSE]+")",c("PRERELEASEIDENTIFIER"),a[o.PRERELEASEIDENTIFIER]="(?:"+a[o.NUMERICIDENTIFIER]+"|"+a[o.NONNUMERICIDENTIFIER]+")",c("PRERELEASEIDENTIFIERLOOSE"),a[o.PRERELEASEIDENTIFIERLOOSE]="(?:"+a[o.NUMERICIDENTIFIERLOOSE]+"|"+a[o.NONNUMERICIDENTIFIER]+")",c("PRERELEASE"),a[o.PRERELEASE]="(?:-("+a[o.PRERELEASEIDENTIFIER]+"(?:\\."+a[o.PRERELEASEIDENTIFIER]+")*))",c("PRERELEASELOOSE"),a[o.PRERELEASELOOSE]="(?:-?("+a[o.PRERELEASEIDENTIFIERLOOSE]+"(?:\\."+a[o.PRERELEASEIDENTIFIERLOOSE]+")*))",c("BUILDIDENTIFIER"),a[o.BUILDIDENTIFIER]="[0-9A-Za-z-]+",c("BUILD"),a[o.BUILD]="(?:\\+("+a[o.BUILDIDENTIFIER]+"(?:\\."+a[o.BUILDIDENTIFIER]+")*))",c("FULL"),c("FULLPLAIN"),a[o.FULLPLAIN]="v?"+a[o.MAINVERSION]+a[o.PRERELEASE]+"?"+a[o.BUILD]+"?",a[o.FULL]="^"+a[o.FULLPLAIN]+"$",c("LOOSEPLAIN"),a[o.LOOSEPLAIN]="[v=\\s]*"+a[o.MAINVERSIONLOOSE]+a[o.PRERELEASELOOSE]+"?"+a[o.BUILD]+"?",c("LOOSE"),a[o.LOOSE]="^"+a[o.LOOSEPLAIN]+"$",c("GTLT"),a[o.GTLT]="((?:<|>)?=?)",c("XRANGEIDENTIFIERLOOSE"),a[o.XRANGEIDENTIFIERLOOSE]=a[o.NUMERICIDENTIFIERLOOSE]+"|x|X|\\*",c("XRANGEIDENTIFIER"),a[o.XRANGEIDENTIFIER]=a[o.NUMERICIDENTIFIER]+"|x|X|\\*",c("XRANGEPLAIN"),a[o.XRANGEPLAIN]="[v=\\s]*("+a[o.XRANGEIDENTIFIER]+")(?:\\.("+a[o.XRANGEIDENTIFIER]+")(?:\\.("+a[o.XRANGEIDENTIFIER]+")(?:"+a[o.PRERELEASE]+")?"+a[o.BUILD]+"?)?)?",c("XRANGEPLAINLOOSE"),a[o.XRANGEPLAINLOOSE]="[v=\\s]*("+a[o.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[o.XRANGEIDENTIFIERLOOSE]+")(?:\\.("+a[o.XRANGEIDENTIFIERLOOSE]+")(?:"+a[o.PRERELEASELOOSE]+")?"+a[o.BUILD]+"?)?)?",c("XRANGE"),a[o.XRANGE]="^"+a[o.GTLT]+"\\s*"+a[o.XRANGEPLAIN]+"$",c("XRANGELOOSE"),a[o.XRANGELOOSE]="^"+a[o.GTLT]+"\\s*"+a[o.XRANGEPLAINLOOSE]+"$",c("COERCE"),a[o.COERCE]="(^|[^\\d])(\\d{1,16})(?:\\.(\\d{1,16}))?(?:\\.(\\d{1,16}))?(?:$|[^\\d])",c("COERCERTL"),s[o.COERCERTL]=new RegExp(a[o.COERCE],"g"),c("LONETILDE"),a[o.LONETILDE]="(?:~>?)",c("TILDETRIM"),a[o.TILDETRIM]="(\\s*)"+a[o.LONETILDE]+"\\s+",s[o.TILDETRIM]=new RegExp(a[o.TILDETRIM],"g");c("TILDE"),a[o.TILDE]="^"+a[o.LONETILDE]+a[o.XRANGEPLAIN]+"$",c("TILDELOOSE"),a[o.TILDELOOSE]="^"+a[o.LONETILDE]+a[o.XRANGEPLAINLOOSE]+"$",c("LONECARET"),a[o.LONECARET]="(?:\\^)",c("CARETTRIM"),a[o.CARETTRIM]="(\\s*)"+a[o.LONECARET]+"\\s+",s[o.CARETTRIM]=new RegExp(a[o.CARETTRIM],"g");c("CARET"),a[o.CARET]="^"+a[o.LONECARET]+a[o.XRANGEPLAIN]+"$",c("CARETLOOSE"),a[o.CARETLOOSE]="^"+a[o.LONECARET]+a[o.XRANGEPLAINLOOSE]+"$",c("COMPARATORLOOSE"),a[o.COMPARATORLOOSE]="^"+a[o.GTLT]+"\\s*("+a[o.LOOSEPLAIN]+")$|^$",c("COMPARATOR"),a[o.COMPARATOR]="^"+a[o.GTLT]+"\\s*("+a[o.FULLPLAIN]+")$|^$",c("COMPARATORTRIM"),a[o.COMPARATORTRIM]="(\\s*)"+a[o.GTLT]+"\\s*("+a[o.LOOSEPLAIN]+"|"+a[o.XRANGEPLAIN]+")",s[o.COMPARATORTRIM]=new RegExp(a[o.COMPARATORTRIM],"g");c("HYPHENRANGE"),a[o.HYPHENRANGE]="^\\s*("+a[o.XRANGEPLAIN]+")\\s+-\\s+("+a[o.XRANGEPLAIN]+")\\s*$",c("HYPHENRANGELOOSE"),a[o.HYPHENRANGELOOSE]="^\\s*("+a[o.XRANGEPLAINLOOSE]+")\\s+-\\s+("+a[o.XRANGEPLAINLOOSE]+")\\s*$",c("STAR"),a[o.STAR]="(<|>)?=?\\s*\\*";for(var u=0;u<l;u++)n(u,a[u]),s[u]||(s[u]=new RegExp(a[u]));function p(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof f)return e;if("string"!=typeof e)return null;if(e.length>256)return null;var r=t.loose?s[o.LOOSE]:s[o.FULL];if(!r.test(e))return null;try{return new f(e,t)}catch(n){return null}}function f(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof f){if(e.loose===t.loose)return e;e=e.version}else if("string"!=typeof e)throw new TypeError("Invalid Version: "+e);if(e.length>256)throw new TypeError("version is longer than 256 characters");if(!(this instanceof f))return new f(e,t);n("SemVer",e,t),this.options=t,this.loose=!!t.loose;var r=e.trim().match(t.loose?s[o.LOOSE]:s[o.FULL]);if(!r)throw new TypeError("Invalid Version: "+e);if(this.raw=e,this.major=+r[1],this.minor=+r[2],this.patch=+r[3],this.major>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");r[4]?this.prerelease=r[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=r[5]?r[5].split("."):[],this.format()}t.parse=p,t.valid=function(e,t){var r=p(e,t);return r?r.version:null},t.clean=function(e,t){var r=p(e.trim().replace(/^[=v]+/,""),t);return r?r.version:null},t.SemVer=f,f.prototype.format=function(){return this.version=this.major+"."+this.minor+"."+this.patch,this.prerelease.length&&(this.version+="-"+this.prerelease.join(".")),this.version},f.prototype.toString=function(){return this.version},f.prototype.compare=function(e){return n("SemVer.compare",this.version,this.options,e),e instanceof f||(e=new f(e,this.options)),this.compareMain(e)||this.comparePre(e)},f.prototype.compareMain=function(e){return e instanceof f||(e=new f(e,this.options)),h(this.major,e.major)||h(this.minor,e.minor)||h(this.patch,e.patch)},f.prototype.comparePre=function(e){if(e instanceof f||(e=new f(e,this.options)),this.prerelease.length&&!e.prerelease.length)return-1;if(!this.prerelease.length&&e.prerelease.length)return 1;if(!this.prerelease.length&&!e.prerelease.length)return 0;var t=0;do{var r=this.prerelease[t],i=e.prerelease[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++t)},f.prototype.compareBuild=function(e){e instanceof f||(e=new f(e,this.options));var t=0;do{var r=this.build[t],i=e.build[t];if(n("prerelease compare",t,r,i),void 0===r&&void 0===i)return 0;if(void 0===i)return 1;if(void 0===r)return-1;if(r!==i)return h(r,i)}while(++t)},f.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 f(e,r).inc(t,n).version}catch(i){return null}},t.diff=function(e,t){if(b(e,t))return null;var r=p(e),n=p(t),i="";if(r.prerelease.length||n.prerelease.length){i="pre";var s="prerelease"}for(var a in r)if(("major"===a||"minor"===a||"patch"===a)&&r[a]!==n[a])return i+a;return s},t.compareIdentifiers=h;var d=/^[0-9]+$/;function h(e,t){var r=d.test(e),n=d.test(t);return r&&n&&(e=+e,t=+t),e===t?0:r&&!n?-1:n&&!r?1:e<t?-1:1}function m(e,t,r){return new f(e,r).compare(new f(t,r))}function y(e,t,r){return m(e,t,r)>0}function g(e,t,r){return m(e,t,r)<0}function b(e,t,r){return 0===m(e,t,r)}function v(e,t,r){return 0!==m(e,t,r)}function T(e,t,r){return m(e,t,r)>=0}function E(e,t,r){return m(e,t,r)<=0}function S(e,t,r,n){switch(t){case"===":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e===r;case"!==":return"object"==typeof e&&(e=e.version),"object"==typeof r&&(r=r.version),e!==r;case"":case"=":case"==":return b(e,r,n);case"!=":return v(e,r,n);case">":return y(e,r,n);case">=":return T(e,r,n);case"<":return g(e,r,n);case"<=":return E(e,r,n);default:throw new TypeError("Invalid operator: "+t)}}function x(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof x){if(e.loose===!!t.loose)return e;e=e.value}if(!(this instanceof x))return new x(e,t);n("comparator",e,t),this.options=t,this.loose=!!t.loose,this.parse(e),this.semver===P?this.value="":this.value=this.operator+this.semver.version,n("comp",this)}t.rcompareIdentifiers=function(e,t){return h(t,e)},t.major=function(e,t){return new f(e,t).major},t.minor=function(e,t){return new f(e,t).minor},t.patch=function(e,t){return new f(e,t).patch},t.compare=m,t.compareLoose=function(e,t){return m(e,t,!0)},t.compareBuild=function(e,t,r){var n=new f(e,r),i=new f(t,r);return n.compare(i)||n.compareBuild(i)},t.rcompare=function(e,t,r){return m(t,e,r)},t.sort=function(e,r){return e.sort((function(e,n){return t.compareBuild(e,n,r)}))},t.rsort=function(e,r){return e.sort((function(e,n){return t.compareBuild(n,e,r)}))},t.gt=y,t.lt=g,t.eq=b,t.neq=v,t.gte=T,t.lte=E,t.cmp=S,t.Comparator=x;var P={};function A(e,t){if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),e instanceof A)return e.loose===!!t.loose&&e.includePrerelease===!!t.includePrerelease?e:new A(e.raw,t);if(e instanceof x)return new A(e.value,t);if(!(this instanceof A))return new A(e,t);if(this.options=t,this.loose=!!t.loose,this.includePrerelease=!!t.includePrerelease,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 w(e,t){for(var r=!0,n=e.slice(),i=n.pop();r&&n.length;)r=n.every((function(e){return i.intersects(e,t)})),i=n.pop();return r}function O(e){return!e||"x"===e.toLowerCase()||"*"===e}function C(e,t,r,n,i,s,a,o,l,c,u,p,f){return t=O(r)?"":O(n)?">="+r+".0.0":O(i)?">="+r+"."+n+".0":">="+t,o=O(l)?"":O(c)?"<"+(+l+1)+".0.0":O(u)?"<"+l+"."+(+c+1)+".0":p?"<="+l+"."+c+"."+u+"-"+p:"<="+o,(t+" "+o).trim()}function I(e,t,r){for(var i=0;i<e.length;i++)if(!e[i].test(t))return!1;if(t.prerelease.length&&!r.includePrerelease){for(i=0;i<e.length;i++)if(n(e[i].semver),e[i].semver!==P&&e[i].semver.prerelease.length>0){var s=e[i].semver;if(s.major===t.major&&s.minor===t.minor&&s.patch===t.patch)return!0}return!1}return!0}function N(e,t,r){try{t=new A(t,r)}catch(n){return!1}return t.test(e)}function k(e,t,r,n){var i,s,a,o,l;switch(e=new f(e,n),t=new A(t,n),r){case">":i=y,s=E,a=g,o=">",l=">=";break;case"<":i=g,s=T,a=y,o="<",l="<=";break;default:throw new TypeError('Must provide a hilo val of "<" or ">"')}if(N(e,t,n))return!1;for(var c=0;c<t.set.length;++c){var u=t.set[c],p=null,d=null;if(u.forEach((function(e){e.semver===P&&(e=new x(">=0.0.0")),p=p||e,d=d||e,i(e.semver,p.semver,n)?p=e:a(e.semver,d.semver,n)&&(d=e)})),p.operator===o||p.operator===l)return!1;if((!d.operator||d.operator===o)&&s(e,d.semver))return!1;if(d.operator===l&&a(e,d.semver))return!1}return!0}x.prototype.parse=function(e){var t=this.options.loose?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],r=e.match(t);if(!r)throw new TypeError("Invalid comparator: "+e);this.operator=void 0!==r[1]?r[1]:"","="===this.operator&&(this.operator=""),r[2]?this.semver=new f(r[2],this.options.loose):this.semver=P},x.prototype.toString=function(){return this.value},x.prototype.test=function(e){if(n("Comparator.test",e,this.options.loose),this.semver===P||e===P)return!0;if("string"==typeof e)try{e=new f(e,this.options)}catch(t){return!1}return S(e,this.operator,this.semver,this.options)},x.prototype.intersects=function(e,t){if(!(e instanceof x))throw new TypeError("a Comparator is required");var r;if(t&&"object"==typeof t||(t={loose:!!t,includePrerelease:!1}),""===this.operator)return""===this.value||(r=new A(e.value,t),N(this.value,r,t));if(""===e.operator)return""===e.value||(r=new A(this.value,t),N(e.semver,r,t));var n=!(">="!==this.operator&&">"!==this.operator||">="!==e.operator&&">"!==e.operator),i=!("<="!==this.operator&&"<"!==this.operator||"<="!==e.operator&&"<"!==e.operator),s=this.semver.version===e.semver.version,a=!(">="!==this.operator&&"<="!==this.operator||">="!==e.operator&&"<="!==e.operator),o=S(this.semver,"<",e.semver,t)&&(">="===this.operator||">"===this.operator)&&("<="===e.operator||"<"===e.operator),l=S(this.semver,">",e.semver,t)&&("<="===this.operator||"<"===this.operator)&&(">="===e.operator||">"===e.operator);return n||i||s&&a||o||l},t.Range=A,A.prototype.format=function(){return this.range=this.set.map((function(e){return e.join(" ").trim()})).join("||").trim(),this.range},A.prototype.toString=function(){return this.range},A.prototype.parseRange=function(e){var t=this.options.loose;e=e.trim();var r=t?s[o.HYPHENRANGELOOSE]:s[o.HYPHENRANGE];e=e.replace(r,C),n("hyphen replace",e),e=e.replace(s[o.COMPARATORTRIM],"$1$2$3"),n("comparator trim",e,s[o.COMPARATORTRIM]),e=e.replace(s[o.TILDETRIM],"$1~"),e=e.replace(s[o.CARETTRIM],"$1^"),e=e.split(/\s+/).join(" ");var i=t?s[o.COMPARATORLOOSE]:s[o.COMPARATOR],a=e.split(" ").map((function(e){return function(e,t){return n("comp",e,t),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){n("caret",e,t);var r=t.loose?s[o.CARETLOOSE]:s[o.CARET];return e.replace(r,(function(t,r,i,s,a){var o;return n("caret",e,t,r,i,s,a),O(r)?o="":O(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":O(s)?o="0"===r?">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":">="+r+"."+i+".0 <"+(+r+1)+".0.0":a?(n("replaceCaret pr",a),o="0"===r?"0"===i?">="+r+"."+i+"."+s+"-"+a+" <"+r+"."+i+"."+(+s+1):">="+r+"."+i+"."+s+"-"+a+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+s+"-"+a+" <"+(+r+1)+".0.0"):(n("no pr"),o="0"===r?"0"===i?">="+r+"."+i+"."+s+" <"+r+"."+i+"."+(+s+1):">="+r+"."+i+"."+s+" <"+r+"."+(+i+1)+".0":">="+r+"."+i+"."+s+" <"+(+r+1)+".0.0"),n("caret return",o),o}))}(e,t)})).join(" ")}(e,t),n("caret",e),e=function(e,t){return e.trim().split(/\s+/).map((function(e){return function(e,t){var r=t.loose?s[o.TILDELOOSE]:s[o.TILDE];return e.replace(r,(function(t,r,i,s,a){var o;return n("tilde",e,t,r,i,s,a),O(r)?o="":O(i)?o=">="+r+".0.0 <"+(+r+1)+".0.0":O(s)?o=">="+r+"."+i+".0 <"+r+"."+(+i+1)+".0":a?(n("replaceTilde pr",a),o=">="+r+"."+i+"."+s+"-"+a+" <"+r+"."+(+i+1)+".0"):o=">="+r+"."+i+"."+s+" <"+r+"."+(+i+1)+".0",n("tilde return",o),o}))}(e,t)})).join(" ")}(e,t),n("tildes",e),e=function(e,t){return n("replaceXRanges",e,t),e.split(/\s+/).map((function(e){return function(e,t){e=e.trim();var r=t.loose?s[o.XRANGELOOSE]:s[o.XRANGE];return e.replace(r,(function(r,i,s,a,o,l){n("xRange",e,r,i,s,a,o,l);var c=O(s),u=c||O(a),p=u||O(o),f=p;return"="===i&&f&&(i=""),l=t.includePrerelease?"-0":"",c?r=">"===i||"<"===i?"<0.0.0-0":"*":i&&f?(u&&(a=0),o=0,">"===i?(i=">=",u?(s=+s+1,a=0,o=0):(a=+a+1,o=0)):"<="===i&&(i="<",u?s=+s+1:a=+a+1),r=i+s+"."+a+"."+o+l):u?r=">="+s+".0.0"+l+" <"+(+s+1)+".0.0"+l:p&&(r=">="+s+"."+a+".0"+l+" <"+s+"."+(+a+1)+".0"+l),n("xRange return",r),r}))}(e,t)})).join(" ")}(e,t),n("xrange",e),e=function(e,t){return n("replaceStars",e,t),e.trim().replace(s[o.STAR],"")}(e,t),n("stars",e),e}(e,this.options)}),this).join(" ").split(/\s+/);return this.options.loose&&(a=a.filter((function(e){return!!e.match(i)}))),a=a.map((function(e){return new x(e,this.options)}),this),a},A.prototype.intersects=function(e,t){if(!(e instanceof A))throw new TypeError("a Range is required");return this.set.some((function(r){return w(r,t)&&e.set.some((function(e){return w(e,t)&&r.every((function(r){return e.every((function(e){return r.intersects(e,t)}))}))}))}))},t.toComparators=function(e,t){return new A(e,t).set.map((function(e){return e.map((function(e){return e.value})).join(" ").trim().split(" ")}))},A.prototype.test=function(e){if(!e)return!1;if("string"==typeof e)try{e=new f(e,this.options)}catch(r){return!1}for(var t=0;t<this.set.length;t++)if(I(this.set[t],e,this.options))return!0;return!1},t.satisfies=N,t.maxSatisfying=function(e,t,r){var n=null,i=null;try{var s=new A(t,r)}catch(a){return null}return e.forEach((function(e){s.test(e)&&(n&&-1!==i.compare(e)||(n=e,i=new f(n,r)))})),n},t.minSatisfying=function(e,t,r){var n=null,i=null;try{var s=new A(t,r)}catch(a){return null}return e.forEach((function(e){s.test(e)&&(n&&1!==i.compare(e)||(n=e,i=new f(n,r)))})),n},t.minVersion=function(e,t){e=new A(e,t);var r=new f("0.0.0");if(e.test(r))return r;if(r=new f("0.0.0-0"),e.test(r))return r;r=null;for(var n=0;n<e.set.length;++n){var i=e.set[n];i.forEach((function(e){var t=new f(e.semver.version);switch(e.operator){case">":0===t.prerelease.length?t.patch++:t.prerelease.push(0),t.raw=t.format();case"":case">=":r&&!y(r,t)||(r=t);break;case"<":case"<=":break;default:throw new Error("Unexpected operation: "+e.operator)}}))}if(r&&e.test(r))return r;return null},t.validRange=function(e,t){try{return new A(e,t).range||"*"}catch(r){return null}},t.ltr=function(e,t,r){return k(e,t,"<",r)},t.gtr=function(e,t,r){return k(e,t,">",r)},t.outside=k,t.prerelease=function(e,t){var r=p(e,t);return r&&r.prerelease.length?r.prerelease:null},t.intersects=function(e,t,r){return e=new A(e,r),t=new A(t,r),e.intersects(t)},t.coerce=function(e,t){if(e instanceof f)return e;"number"==typeof e&&(e=String(e));if("string"!=typeof e)return null;t=t||{};var r=null;if(t.rtl){for(var n;(n=s[o.COERCERTL].exec(e))&&(!r||r.index+r[0].length!==e.length);)r&&n.index+n[0].length===r.index+r[0].length||(r=n),s[o.COERCERTL].lastIndex=n.index+n[1].length+n[2].length;s[o.COERCERTL].lastIndex=-1}else r=e.match(s[o.COERCE]);if(null===r)return null;return p(r[2]+"."+(r[3]||"0")+"."+(r[4]||"0"),t)}}).call(this,r(69))},,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){if(!t)return!1;const o=(0,i.default)(t.type,e);if(!o)return!r&&"Placeholder"===t.type&&e in a.FLIPPED_ALIAS_KEYS&&(0,s.default)(t.expectedNode,e);return void 0===r||(0,n.default)(t,r)};var n=r(152),i=r(153),s=r(232),a=r(75)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t=!0){if("string"!=typeof e)return!1;if(t&&((0,n.isKeyword)(e)||(0,n.isStrictReservedWord)(e,!0)))return!1;return(0,n.isIdentifierName)(e)};var n=r(101)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"isIdentifierName",{enumerable:!0,get:function(){return n.isIdentifierName}}),Object.defineProperty(t,"isIdentifierChar",{enumerable:!0,get:function(){return n.isIdentifierChar}}),Object.defineProperty(t,"isIdentifierStart",{enumerable:!0,get:function(){return n.isIdentifierStart}}),Object.defineProperty(t,"isReservedWord",{enumerable:!0,get:function(){return i.isReservedWord}}),Object.defineProperty(t,"isStrictBindOnlyReservedWord",{enumerable:!0,get:function(){return i.isStrictBindOnlyReservedWord}}),Object.defineProperty(t,"isStrictBindReservedWord",{enumerable:!0,get:function(){return i.isStrictBindReservedWord}}),Object.defineProperty(t,"isStrictReservedWord",{enumerable:!0,get:function(){return i.isStrictReservedWord}}),Object.defineProperty(t,"isKeyword",{enumerable:!0,get:function(){return i.isKeyword}});var n=r(507),i=r(508)},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 s(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 a(e){var r=e,n=i(e);if(n){if(!n.path)return e;r=n.path}for(var a,o=t.isAbsolute(r),l=r.split(/\/+/),c=0,u=l.length-1;u>=0;u--)a=l[u],"."===a?l.splice(u,1):".."===a?c++:c>0&&(""===a?(l.splice(u+1,c),c=0):(l.splice(u,2),c--));return r=l.join("/"),""===r&&(r=o?"/":"."),n?(n.path=r,s(n)):r}t.urlParse=i,t.urlGenerate=s,t.normalize=a,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),s(r);if(r||t.match(n))return t;if(o&&!o.host&&!o.path)return o.host=t,s(o);var l="/"===t.charAt(0)?t:a(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=l,s(o)):l},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),e.match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var o,l=(o=Object.create(null),!("__proto__"in o));function c(e){return e}function u(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 p(e,t){return e===t?0:e>t?1:-1}t.toSetString=l?c:function(e){return u(e)?"$"+e:e},t.fromSetString=l?c:function(e){return u(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=e.source-t.source;return 0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n||r?n:(n=e.generatedColumn-t.generatedColumn,0!==n?n:(n=e.generatedLine-t.generatedLine,0!==n?n:e.name-t.name))))},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:(n=e.generatedColumn-t.generatedColumn,0!==n||r?n:(n=e.source-t.source,0!==n?n:(n=e.originalLine-t.originalLine,0!==n?n:(n=e.originalColumn-t.originalColumn,0!==n?n:e.name-t.name))))},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:(r=e.generatedColumn-t.generatedColumn,0!==r?r:(r=p(e.source,t.source),0!==r?r:(r=e.originalLine-t.originalLine,0!==r?r:(r=e.originalColumn-t.originalColumn,0!==r?r:p(e.name,t.name)))))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.skipAllButComputedKey=a;var n=r(65);const{VISITOR_KEYS:i,staticBlock:s}=n;function a(e){if(!e.node.computed)return void e.skip();const t=i[e.type];for(const r of t)"key"!==r&&e.skipKey(r)}const o=(s?"StaticBlock|":"")+"ClassPrivateProperty|TypeAnnotation|FunctionDeclaration|FunctionExpression";var l={[o]:e=>e.skip(),"Method|ClassProperty"(e){a(e)}};t.default=l},function(e,t,r){"use strict";(function(t){var n=r(616);
|
|
6
|
+
/*!
|
|
7
|
+
* The buffer module from node.js, for the browser.
|
|
8
|
+
*
|
|
9
|
+
* @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
|
|
10
|
+
* @license MIT
|
|
11
|
+
*/function i(e,t){if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0}function s(e){return t.Buffer&&"function"==typeof t.Buffer.isBuffer?t.Buffer.isBuffer(e):!(null==e||!e._isBuffer)}var a=r(133),o=Object.prototype.hasOwnProperty,l=Array.prototype.slice,c="foo"===function(){}.name;function u(e){return Object.prototype.toString.call(e)}function p(e){return!s(e)&&("function"==typeof t.ArrayBuffer&&("function"==typeof ArrayBuffer.isView?ArrayBuffer.isView(e):!!e&&(e instanceof DataView||!!(e.buffer&&e.buffer instanceof ArrayBuffer))))}var f=e.exports=b,d=/\s*function\s+([^\(\s]*)\s*/;function h(e){if(a.isFunction(e)){if(c)return e.name;var t=e.toString(),r=t.match(d);return r&&r[1]}}function m(e,t){return"string"==typeof e?e.length<t?e:e.slice(0,t):e}function y(e){if(c||!a.isFunction(e))return a.inspect(e);var t=h(e),r=t?": "+t:"";return"[Function"+r+"]"}function g(e,t,r,n,i){throw new f.AssertionError({message:r,actual:e,expected:t,operator:n,stackStartFunction:i})}function b(e,t){e||g(e,!0,t,"==",f.ok)}function v(e,t,r,n){if(e===t)return!0;if(s(e)&&s(t))return 0===i(e,t);if(a.isDate(e)&&a.isDate(t))return e.getTime()===t.getTime();if(a.isRegExp(e)&&a.isRegExp(t))return e.source===t.source&&e.global===t.global&&e.multiline===t.multiline&&e.lastIndex===t.lastIndex&&e.ignoreCase===t.ignoreCase;if(null!==e&&"object"==typeof e||null!==t&&"object"==typeof t){if(p(e)&&p(t)&&u(e)===u(t)&&!(e instanceof Float32Array||e instanceof Float64Array))return 0===i(new Uint8Array(e.buffer),new Uint8Array(t.buffer));if(s(e)!==s(t))return!1;n=n||{actual:[],expected:[]};var o=n.actual.indexOf(e);return-1!==o&&o===n.expected.indexOf(t)||(n.actual.push(e),n.expected.push(t),function(e,t,r,n){if(null==e||null==t)return!1;if(a.isPrimitive(e)||a.isPrimitive(t))return e===t;if(r&&Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1;var i=T(e),s=T(t);if(i&&!s||!i&&s)return!1;if(i)return e=l.call(e),t=l.call(t),v(e,t,r);var o,c,u=x(e),p=x(t);if(u.length!==p.length)return!1;for(u.sort(),p.sort(),c=u.length-1;c>=0;c--)if(u[c]!==p[c])return!1;for(c=u.length-1;c>=0;c--)if(o=u[c],!v(e[o],t[o],r,n))return!1;return!0}(e,t,r,n))}return r?e===t:e==t}function T(e){return"[object Arguments]"==Object.prototype.toString.call(e)}function E(e,t){if(!e||!t)return!1;if("[object RegExp]"==Object.prototype.toString.call(t))return t.test(e);try{if(e instanceof t)return!0}catch(r){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function S(e,t,r,n){var i;if("function"!=typeof t)throw new TypeError('"block" argument must be a function');"string"==typeof r&&(n=r,r=null),i=function(e){var t;try{e()}catch(r){t=r}return t}(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&g(i,r,"Missing expected exception"+n);var s="string"==typeof n,o=!e&&a.isError(i),l=!e&&i&&!r;if((o&&s&&E(i,r)||l)&&g(i,r,"Got unwanted exception"+n),e&&i&&r&&!E(i,r)||!e&&i)throw i}f.AssertionError=function(e){var t;this.name="AssertionError",this.actual=e.actual,this.expected=e.expected,this.operator=e.operator,e.message?(this.message=e.message,this.generatedMessage=!1):(this.message=(t=this,m(y(t.actual),128)+" "+t.operator+" "+m(y(t.expected),128)),this.generatedMessage=!0);var r=e.stackStartFunction||g;if(Error.captureStackTrace)Error.captureStackTrace(this,r);else{var n=new Error;if(n.stack){var i=n.stack,s=h(r),a=i.indexOf("\n"+s);if(a>=0){var o=i.indexOf("\n",a+1);i=i.substring(o+1)}this.stack=i}}},a.inherits(f.AssertionError,Error),f.fail=g,f.ok=b,f.equal=function(e,t,r){e!=t&&g(e,t,r,"==",f.equal)},f.notEqual=function(e,t,r){e==t&&g(e,t,r,"!=",f.notEqual)},f.deepEqual=function(e,t,r){v(e,t,!1)||g(e,t,r,"deepEqual",f.deepEqual)},f.deepStrictEqual=function(e,t,r){v(e,t,!0)||g(e,t,r,"deepStrictEqual",f.deepStrictEqual)},f.notDeepEqual=function(e,t,r){v(e,t,!1)&&g(e,t,r,"notDeepEqual",f.notDeepEqual)},f.notDeepStrictEqual=function e(t,r,n){v(t,r,!0)&&g(t,r,n,"notDeepStrictEqual",e)},f.strictEqual=function(e,t,r){e!==t&&g(e,t,r,"===",f.strictEqual)},f.notStrictEqual=function(e,t,r){e===t&&g(e,t,r,"!==",f.notStrictEqual)},f.throws=function(e,t,r){S(!0,e,t,r)},f.doesNotThrow=function(e,t,r){S(!1,e,t,r)},f.ifError=function(e){if(e)throw e},f.strict=n((function e(t,r){t||g(t,!0,r,"==",e)}),f,{equal:f.strictEqual,deepEqual:f.deepStrictEqual,notEqual:f.notStrictEqual,notDeepEqual:f.notDeepStrictEqual}),f.strict.strict=f.strict;var x=Object.keys||function(e){var t=[];for(var r in e)o.call(e,r)&&t.push(r);return t}}).call(this,r(38))},,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=i;var n=r(68);function i(e,t,r){let s=[].concat(e);const a=Object.create(null);for(;s.length;){const e=s.shift();if(!e)continue;const o=i.keys[e.type];if((0,n.isIdentifier)(e))if(t){const t=a[e.name]=a[e.name]||[];t.push(e)}else a[e.name]=e;else if(!(0,n.isExportDeclaration)(e)||(0,n.isExportAllDeclaration)(e)){if(r){if((0,n.isFunctionDeclaration)(e)){s.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]&&(s=s.concat(e[r]))}}else(0,n.isDeclaration)(e.declaration)&&s.push(e.declaration)}return a}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"],ClassPrivateMethod:["params"],ForInStatement:["left"],ForOfStatement:["left"],ClassDeclaration:["id"],ClassExpression:["id"],RestElement:["argument"],UpdateExpression:["argument"],ObjectProperty:["value"],AssignmentPattern:["left"],ArrayPattern:["elements"],ObjectPattern:["properties"],VariableDeclaration:["declarations"],VariableDeclarator:["id"]}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.codeFrameColumns=a,t.default=function(t,r,n,s={}){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{const e=new Error(t);e.name="DeprecationWarning",console.warn(new Error(t))}}n=Math.max(n,0);const o={start:{column:n,line:r}};return a(t,o,s)};var n=r(587);let i=!1;const s=/\r\n|[\n\r\u2028\u2029]/;function a(e,t,r={}){const i=(r.highlightCode||r.forceColor)&&(0,n.shouldHighlight)(r),a=(0,n.getChalk)(r),o=function(e){return{gutter:e.grey,marker:e.red.bold,message:e.red.bold}}(a),l=(e,t)=>i?e(t):t,c=e.split(s),{start:u,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:s=2,linesBelow:a=3}=r||{},o=n.line,l=n.column,c=i.line,u=i.column;let p=Math.max(o-(s+1),0),f=Math.min(t.length,c+a);-1===o&&(p=0),-1===c&&(f=t.length);const d=c-o,h={};if(d)for(let m=0;m<=d;m++){const e=m+o;if(l)if(0===m){const r=t[e-1].length;h[e]=[l,r-l+1]}else if(m===d)h[e]=[0,u];else{const r=t[e-m].length;h[e]=[0,r]}else h[e]=!0}else h[o]=l===u?!l||[l,0]:[l,u-l];return{start:p,end:f,markerLines:h}}(t,c,r),d=t.start&&"number"==typeof t.start.column,h=String(p).length,m=i?(0,n.default)(e,r):e;let y=m.split(s,p).slice(u,p).map((e,t)=>{const n=u+1+t,i=(" "+n).slice(-h),s=` ${i} |`,a=f[n],c=!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," "),i=a[1]||1;t=["\n ",l(o.gutter,s.replace(/\d/g," "))," ",n,l(o.marker,"^").repeat(i)].join(""),c&&r.message&&(t+=" "+l(o.message,r.message))}return[l(o.marker,">"),l(o.gutter,s),e.length>0?" "+e:"",t].join("")}return` ${l(o.gutter,s)}${e.length>0?" "+e:""}`}).join("\n");return r.message&&!d&&(y=`${" ".repeat(h+1)}${r.message}\n${y}`),i?a.reset(y):y}}).call(this,r(69))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=/\r\n?|[\n\u2028\u2029]/,i=new RegExp(n.source,"g");function s(e){switch(e){case 10:case 13:case 8232:case 8233:return!0;default:return!1}}const a=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,o=new RegExp("(?=("+/(?:[^\S\n\r\u2028\u2029]|\/\/.*|\/\*.*?\*\/)*/y.source+"))\\1"+/(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source,"y");function l(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 c{constructor(e,t){this.line=void 0,this.column=void 0,this.line=e,this.column=t}}class u{constructor(e,t){this.start=void 0,this.end=void 0,this.filename=void 0,this.identifierName=void 0,this.start=e,this.end=t}}function p(e,t){const{line:r,column:n}=e;return new c(r,n+t)}function f(e,t){void 0===e.trailingComments?e.trailingComments=t:e.trailingComments.unshift(...t)}function d(e,t){void 0===e.innerComments?e.innerComments=t:e.innerComments.unshift(...t)}function h(e,t,r){let n=null,i=t.length;for(;null===n&&i>0;)n=t[--i];null===n||n.start>r.start?d(e,r.comments):f(n,r.comments)}const m=Object.freeze({SyntaxError:"BABEL_PARSER_SYNTAX_ERROR",SourceTypeModuleError:"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"}),y=v({AccessorIsGenerator:"A %0ter cannot be a generator.",ArgumentsInClass:"'arguments' is only allowed in functions and class methods.",AsyncFunctionInSingleStatementContext:"Async functions can only be declared at the top level or inside a block.",AwaitBindingIdentifier:"Can not use 'await' as identifier inside an async function.",AwaitBindingIdentifierInStaticBlock:"Can not use 'await' as identifier inside a static block.",AwaitExpressionFormalParameter:"'await' is not allowed in async function parameters.",AwaitNotInAsyncContext:"'await' is only allowed within async functions and at the top levels of modules.",AwaitNotInAsyncFunction:"'await' is only allowed within async functions.",BadGetterArity:"A 'get' accesor must not have any formal parameters.",BadSetterArity:"A 'set' accesor must have exactly one formal parameter.",BadSetterRestParameter:"A 'set' accesor function argument must not be a rest parameter.",ConstructorClassField:"Classes may not have a field named 'constructor'.",ConstructorClassPrivateField:"Classes may not have a private field named '#constructor'.",ConstructorIsAccessor:"Class constructor may not be an accessor.",ConstructorIsAsync:"Constructor can't be an async function.",ConstructorIsGenerator:"Constructor can't be a generator.",DeclarationMissingInitializer:"'%0' require an initialization value.",DecoratorBeforeExport:"Decorators must be placed *before* the 'export' keyword. You can set the 'decoratorsBeforeExport' option to false to use the 'export @decorator class {}' syntax.",DecoratorConstructor:"Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?",DecoratorExportClass:"Using the export keyword between a decorator and a class is not allowed. Please use `export @dec class` instead.",DecoratorSemicolon:"Decorators must not be followed by a semicolon.",DecoratorStaticBlock:"Decorators can't be used with a static block.",DeletePrivateField:"Deleting a private field is not allowed.",DestructureNamedImport:"ES2015 named imports do not destructure. Use another statement for destructuring after the import.",DuplicateConstructor:"Duplicate constructor in the same class.",DuplicateDefaultExport:"Only one default export allowed per module.",DuplicateExport:"`%0` has already been exported. Exported identifiers must be unique.",DuplicateProto:"Redefinition of __proto__ property.",DuplicateRegExpFlags:"Duplicate regular expression flag.",ElementAfterRest:"Rest element must be last element.",EscapedCharNotAnIdentifier:"Invalid Unicode escape.",ExportBindingIsString:"A string literal cannot be used as an exported binding without `from`.\n- Did you mean `export { '%0' as '%1' } from 'some-module'`?",ExportDefaultFromAsIdentifier:"'from' is not allowed as an identifier after 'export default'.",ForInOfLoopInitializer:"'%0' loop variable declaration may not have an initializer.",ForOfAsync:"The left-hand side of a for-of loop may not be 'async'.",ForOfLet:"The left-hand side of a for-of loop may not start with 'let'.",GeneratorInSingleStatementContext:"Generators can only be declared at the top level or inside a block.",IllegalBreakContinue:"Unsyntactic %0.",IllegalLanguageModeDirective:"Illegal 'use strict' directive in function with non-simple parameter list.",IllegalReturn:"'return' outside of function.",ImportBindingIsString:'A string literal cannot be used as an imported binding.\n- Did you mean `import { "%0" as foo }`?',ImportCallArgumentTrailingComma:"Trailing comma is disallowed inside import(...) arguments.",ImportCallArity:"`import()` requires exactly %0.",ImportCallNotNewExpression:"Cannot use new with import(...).",ImportCallSpreadArgument:"`...` is not allowed in `import()`.",InvalidBigIntLiteral:"Invalid BigIntLiteral.",InvalidCodePoint:"Code point out of bounds.",InvalidCoverInitializedName:"Invalid shorthand property initializer.",InvalidDecimal:"Invalid decimal.",InvalidDigit:"Expected number in radix %0.",InvalidEscapeSequence:"Bad character escape sequence.",InvalidEscapeSequenceTemplate:"Invalid escape sequence in template.",InvalidEscapedReservedWord:"Escape sequence in keyword %0.",InvalidIdentifier:"Invalid identifier %0.",InvalidLhs:"Invalid left-hand side in %0.",InvalidLhsBinding:"Binding invalid left-hand side in %0.",InvalidNumber:"Invalid number.",InvalidOrMissingExponent:"Floating-point numbers require a valid exponent after the 'e'.",InvalidOrUnexpectedToken:"Unexpected character '%0'.",InvalidParenthesizedAssignment:"Invalid parenthesized assignment pattern.",InvalidPrivateFieldResolution:"Private name #%0 is not defined.",InvalidPropertyBindingPattern:"Binding member expression.",InvalidRecordProperty:"Only properties and spread elements are allowed in record definitions.",InvalidRestAssignmentPattern:"Invalid rest operator's argument.",LabelRedeclaration:"Label '%0' is already declared.",LetInLexicalBinding:"'let' is not allowed to be used as a name in 'let' or 'const' declarations.",LineTerminatorBeforeArrow:"No line break is allowed before '=>'.",MalformedRegExpFlags:"Invalid regular expression flag.",MissingClassName:"A class name is required.",MissingEqInAssignment:"Only '=' operator can be used for specifying default value.",MissingSemicolon:"Missing semicolon.",MissingUnicodeEscape:"Expecting Unicode escape sequence \\uXXXX.",MixingCoalesceWithLogical:"Nullish coalescing operator(??) requires parens when mixing with logical operators.",ModuleAttributeDifferentFromType:"The only accepted module attribute is `type`.",ModuleAttributeInvalidValue:"Only string literals are allowed as module attribute values.",ModuleAttributesWithDuplicateKeys:'Duplicate key "%0" is not allowed in module attributes.',ModuleExportNameHasLoneSurrogate:"An export name cannot include a lone surrogate, found '\\u%0'.",ModuleExportUndefined:"Export '%0' is not defined.",MultipleDefaultsInSwitch:"Multiple default clauses.",NewlineAfterThrow:"Illegal newline after throw.",NoCatchOrFinally:"Missing catch or finally clause.",NumberIdentifier:"Identifier directly after number.",NumericSeparatorInEscapeSequence:"Numeric separators are not allowed inside unicode escape sequences or hex escape sequences.",ObsoleteAwaitStar:"'await*' has been removed from the async functions proposal. Use Promise.all() instead.",OptionalChainingNoNew:"Constructors in/after an Optional Chain are not allowed.",OptionalChainingNoTemplate:"Tagged Template Literals are not allowed in optionalChain.",OverrideOnConstructor:"'override' modifier cannot appear on a constructor declaration.",ParamDupe:"Argument name clash.",PatternHasAccessor:"Object pattern can't contain getter or setter.",PatternHasMethod:"Object pattern can't contain methods.",PipeBodyIsTighter:"Unexpected %0 after pipeline body; any %0 expression acting as Hack-style pipe body must be parenthesized due to its loose operator precedence.",PipeTopicRequiresHackPipes:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PipeTopicUnbound:"Topic reference is unbound; it must be inside a pipe body.",PipeTopicUnconfiguredToken:'Invalid topic token %0. In order to use %0 as a topic reference, the pipelineOperator plugin must be configured with { "proposal": "hack", "topicToken": "%0" }.',PipeTopicUnused:"Hack-style pipe body does not contain a topic reference; Hack-style pipes must use topic at least once.",PipeUnparenthesizedBody:"Hack-style pipe body cannot be an unparenthesized %0 expression; please wrap it in parentheses.",PipelineBodyNoArrow:'Unexpected arrow "=>" after pipeline body; arrow function in pipeline body must be parenthesized.',PipelineBodySequenceExpression:"Pipeline body may not be a comma-separated sequence expression.",PipelineHeadSequenceExpression:"Pipeline head should not be a comma-separated sequence expression.",PipelineTopicUnused:"Pipeline is in topic style but does not use topic reference.",PrimaryTopicNotAllowed:"Topic reference was used in a lexical context without topic binding.",PrimaryTopicRequiresSmartPipeline:'Topic reference is used, but the pipelineOperator plugin was not passed a "proposal": "hack" or "smart" option.',PrivateInExpectedIn:"Private names are only allowed in property accesses (`obj.#%0`) or in `in` expressions (`#%0 in obj`).",PrivateNameRedeclaration:"Duplicate private name #%0.",RecordExpressionBarIncorrectEndSyntaxType:"Record expressions ending with '|}' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionBarIncorrectStartSyntaxType:"Record expressions starting with '{|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",RecordExpressionHashIncorrectStartSyntaxType:"Record expressions starting with '#{' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",RecordNoProto:"'__proto__' is not allowed in Record expressions.",RestTrailingComma:"Unexpected trailing comma after rest element.",SloppyFunction:"In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement.",StaticPrototype:"Classes may not have static property named prototype.",StrictDelete:"Deleting local variable in strict mode.",StrictEvalArguments:"Assigning to '%0' in strict mode.",StrictEvalArgumentsBinding:"Binding '%0' in strict mode.",StrictFunction:"In strict mode code, functions can only be declared at top level or inside a block.",StrictNumericEscape:"The only valid numeric escape in strict mode is '\\0'.",StrictOctalLiteral:"Legacy octal literals are not allowed in strict mode.",StrictWith:"'with' in strict mode.",SuperNotAllowed:"`super()` is only valid inside a class constructor of a subclass. Maybe a typo in the method name ('constructor') or not extending another class?",SuperPrivateField:"Private fields can't be accessed on super.",TrailingDecorator:"Decorators must be attached to a class element.",TupleExpressionBarIncorrectEndSyntaxType:"Tuple expressions ending with '|]' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionBarIncorrectStartSyntaxType:"Tuple expressions starting with '[|' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'bar'.",TupleExpressionHashIncorrectStartSyntaxType:"Tuple expressions starting with '#[' are only allowed when the 'syntaxType' option of the 'recordAndTuple' plugin is set to 'hash'.",UnexpectedArgumentPlaceholder:"Unexpected argument placeholder.",UnexpectedAwaitAfterPipelineBody:'Unexpected "await" after pipeline body; await must have parentheses in minimal proposal.',UnexpectedDigitAfterHash:"Unexpected digit after hash token.",UnexpectedImportExport:"'import' and 'export' may only appear at the top level.",UnexpectedKeyword:"Unexpected keyword '%0'.",UnexpectedLeadingDecorator:"Leading decorators must be attached to a class declaration.",UnexpectedLexicalDeclaration:"Lexical declaration cannot appear in a single-statement context.",UnexpectedNewTarget:"`new.target` can only be used in functions or class properties.",UnexpectedNumericSeparator:"A numeric separator is only allowed between two digits.",UnexpectedPrivateField:"Unexpected private name.",UnexpectedReservedWord:"Unexpected reserved word '%0'.",UnexpectedSuper:"'super' is only allowed in object methods and classes.",UnexpectedToken:"Unexpected token '%0'.",UnexpectedTokenUnaryExponentiation:"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.",UnsupportedBind:"Binding should be performed on object property.",UnsupportedDecoratorExport:"A decorated export must export a class declaration.",UnsupportedDefaultExport:"Only expressions, functions or classes are allowed as the `default` export.",UnsupportedImport:"`import` can only be used in `import()` or `import.meta`.",UnsupportedMetaProperty:"The only valid meta property for %0 is %0.%1.",UnsupportedParameterDecorator:"Decorators cannot be used to decorate parameters.",UnsupportedPropertyDecorator:"Decorators cannot be used to decorate object literal properties.",UnsupportedSuper:"'super' can only be used with function calls (i.e. super()) or in property accesses (i.e. super.prop or super[prop]).",UnterminatedComment:"Unterminated comment.",UnterminatedRegExp:"Unterminated regular expression.",UnterminatedString:"Unterminated string constant.",UnterminatedTemplate:"Unterminated template.",VarRedeclaration:"Identifier '%0' has already been declared.",YieldBindingIdentifier:"Can not use 'yield' as identifier inside a generator.",YieldInParameter:"Yield expression is not allowed in formal parameters.",ZeroDigitNumericSeparator:"Numeric separator can not be used after leading 0."},m.SyntaxError),g=v({ImportMetaOutsideModule:"import.meta may appear only with 'sourceType: \"module\"'",ImportOutsideModule:"'import' and 'export' may appear only with 'sourceType: \"module\"'"},m.SourceTypeModuleError);function b(e,t){return"flow"===t&&"PatternIsOptional"===e?"OptionalBindingPattern":e}function v(e,t,r){const n={};return Object.keys(e).forEach(i=>{n[i]=Object.freeze({code:t,reasonCode:b(i,r),template:e[i]})}),Object.freeze(n)}class T{constructor(e,t){this.token=void 0,this.preserveSpace=void 0,this.token=e,this.preserveSpace=!!t}}const E={brace:new T("{"),j_oTag:new T("<tag"),j_cTag:new T("</tag"),j_expr:new T("<tag>...</tag>",!0)};E.template=new T("`",!0);class S{constructor(e,t={}){this.label=void 0,this.keyword=void 0,this.beforeExpr=void 0,this.startsExpr=void 0,this.rightAssociative=void 0,this.isLoop=void 0,this.isAssign=void 0,this.prefix=void 0,this.postfix=void 0,this.binop=void 0,this.label=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 x=new Map;function P(e,t={}){t.keyword=e;const r=j(e,t);return x.set(e,r),r}function A(e,t){return j(e,{beforeExpr:!0,binop:t})}let w=-1;const O=[],C=[],I=[],N=[],k=[],_=[];function j(e,t={}){var r,n,i,s;return++w,C.push(e),I.push(null!=(r=t.binop)?r:-1),N.push(null!=(n=t.beforeExpr)&&n),k.push(null!=(i=t.startsExpr)&&i),_.push(null!=(s=t.prefix)&&s),O.push(new S(e,t)),w}function D(e,t={}){var r,n,i,s;return++w,x.set(e,w),C.push(e),I.push(null!=(r=t.binop)?r:-1),N.push(null!=(n=t.beforeExpr)&&n),k.push(null!=(i=t.startsExpr)&&i),_.push(null!=(s=t.prefix)&&s),O.push(new S("name",t)),w}const M={bracketL:j("[",{beforeExpr:!0,startsExpr:!0}),bracketHashL:j("#[",{beforeExpr:!0,startsExpr:!0}),bracketBarL:j("[|",{beforeExpr:!0,startsExpr:!0}),bracketR:j("]"),bracketBarR:j("|]"),braceL:j("{",{beforeExpr:!0,startsExpr:!0}),braceBarL:j("{|",{beforeExpr:!0,startsExpr:!0}),braceHashL:j("#{",{beforeExpr:!0,startsExpr:!0}),braceR:j("}",{beforeExpr:!0}),braceBarR:j("|}"),parenL:j("(",{beforeExpr:!0,startsExpr:!0}),parenR:j(")"),comma:j(",",{beforeExpr:!0}),semi:j(";",{beforeExpr:!0}),colon:j(":",{beforeExpr:!0}),doubleColon:j("::",{beforeExpr:!0}),dot:j("."),question:j("?",{beforeExpr:!0}),questionDot:j("?."),arrow:j("=>",{beforeExpr:!0}),template:j("template"),ellipsis:j("...",{beforeExpr:!0}),backQuote:j("`",{startsExpr:!0}),dollarBraceL:j("${",{beforeExpr:!0,startsExpr:!0}),templateTail:j("...`",{startsExpr:!0}),templateNonTail:j("...${",{beforeExpr:!0,startsExpr:!0}),at:j("@"),hash:j("#",{startsExpr:!0}),interpreterDirective:j("#!..."),eq:j("=",{beforeExpr:!0,isAssign:!0}),assign:j("_=",{beforeExpr:!0,isAssign:!0}),slashAssign:j("_=",{beforeExpr:!0,isAssign:!0}),xorAssign:j("_=",{beforeExpr:!0,isAssign:!0}),moduloAssign:j("_=",{beforeExpr:!0,isAssign:!0}),incDec:j("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:j("!",{beforeExpr:!0,prefix:!0,startsExpr:!0}),tilde:j("~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),pipeline:A("|>",0),nullishCoalescing:A("??",1),logicalOR:A("||",1),logicalAND:A("&&",2),bitwiseOR:A("|",3),bitwiseXOR:A("^",4),bitwiseAND:A("&",5),equality:A("==/!=/===/!==",6),lt:A("</>/<=/>=",7),gt:A("</>/<=/>=",7),relational:A("</>/<=/>=",7),bitShift:A("<</>>/>>>",8),plusMin:j("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:j("%",{binop:10,startsExpr:!0}),star:j("*",{binop:10}),slash:A("/",10),exponent:j("**",{beforeExpr:!0,binop:11,rightAssociative:!0}),_in:P("in",{beforeExpr:!0,binop:7}),_instanceof:P("instanceof",{beforeExpr:!0,binop:7}),_break:P("break"),_case:P("case",{beforeExpr:!0}),_catch:P("catch"),_continue:P("continue"),_debugger:P("debugger"),_default:P("default",{beforeExpr:!0}),_else:P("else",{beforeExpr:!0}),_finally:P("finally"),_function:P("function",{startsExpr:!0}),_if:P("if"),_return:P("return",{beforeExpr:!0}),_switch:P("switch"),_throw:P("throw",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_try:P("try"),_var:P("var"),_const:P("const"),_with:P("with"),_new:P("new",{beforeExpr:!0,startsExpr:!0}),_this:P("this",{startsExpr:!0}),_super:P("super",{startsExpr:!0}),_class:P("class",{startsExpr:!0}),_extends:P("extends",{beforeExpr:!0}),_export:P("export"),_import:P("import",{startsExpr:!0}),_null:P("null",{startsExpr:!0}),_true:P("true",{startsExpr:!0}),_false:P("false",{startsExpr:!0}),_typeof:P("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:P("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:P("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_do:P("do",{isLoop:!0,beforeExpr:!0}),_for:P("for",{isLoop:!0}),_while:P("while",{isLoop:!0}),_as:D("as",{startsExpr:!0}),_assert:D("assert",{startsExpr:!0}),_async:D("async",{startsExpr:!0}),_await:D("await",{startsExpr:!0}),_from:D("from",{startsExpr:!0}),_get:D("get",{startsExpr:!0}),_let:D("let",{startsExpr:!0}),_meta:D("meta",{startsExpr:!0}),_of:D("of",{startsExpr:!0}),_sent:D("sent",{startsExpr:!0}),_set:D("set",{startsExpr:!0}),_static:D("static",{startsExpr:!0}),_yield:D("yield",{startsExpr:!0}),_asserts:D("asserts",{startsExpr:!0}),_checks:D("checks",{startsExpr:!0}),_exports:D("exports",{startsExpr:!0}),_global:D("global",{startsExpr:!0}),_implements:D("implements",{startsExpr:!0}),_intrinsic:D("intrinsic",{startsExpr:!0}),_infer:D("infer",{startsExpr:!0}),_is:D("is",{startsExpr:!0}),_mixins:D("mixins",{startsExpr:!0}),_proto:D("proto",{startsExpr:!0}),_require:D("require",{startsExpr:!0}),_keyof:D("keyof",{startsExpr:!0}),_readonly:D("readonly",{startsExpr:!0}),_unique:D("unique",{startsExpr:!0}),_abstract:D("abstract",{startsExpr:!0}),_declare:D("declare",{startsExpr:!0}),_enum:D("enum",{startsExpr:!0}),_module:D("module",{startsExpr:!0}),_namespace:D("namespace",{startsExpr:!0}),_interface:D("interface",{startsExpr:!0}),_type:D("type",{startsExpr:!0}),_opaque:D("opaque",{startsExpr:!0}),name:j("name",{startsExpr:!0}),string:j("string",{startsExpr:!0}),num:j("num",{startsExpr:!0}),bigint:j("bigint",{startsExpr:!0}),decimal:j("decimal",{startsExpr:!0}),regexp:j("regexp",{startsExpr:!0}),privateName:j("#name",{startsExpr:!0}),eof:j("eof"),jsxName:j("jsxName"),jsxText:j("jsxText",{beforeExpr:!0}),jsxTagStart:j("jsxTagStart",{startsExpr:!0}),jsxTagEnd:j("jsxTagEnd"),placeholder:j("%%",{startsExpr:!0})};function B(e){return e>=89&&e<=124}function L(e){return e>=54&&e<=124}function F(e){return e>=54&&e<=128}function R(e){return k[e]}function U(e){return e>=121&&e<=123}function V(e){return e>=54&&e<=88}function K(e){return C[e]}function W(e){return I[e]}function Y(e){return e>=24&&e<=25}function q(e){return O[e]}O[8].updateContext=e=>{e.pop()},O[5].updateContext=O[7].updateContext=O[23].updateContext=e=>{e.push(E.brace)},O[22].updateContext=e=>{e[e.length-1]===E.template?e.pop():e.push(E.template)},O[134].updateContext=e=>{e.push(E.j_expr,E.j_oTag)};let G="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",H="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const $=new RegExp("["+G+"]"),J=new RegExp("["+G+H+"]");G=H=null;const X=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],z=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function Q(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function Z(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&$.test(String.fromCharCode(e)):Q(e,X)))}function ee(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&J.test(String.fromCharCode(e)):Q(e,X)||Q(e,z))))}const te=["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],re=["implements","interface","let","package","private","protected","public","static","yield"],ne=["eval","arguments"],ie=new Set(te),se=new Set(re),ae=new Set(ne);function oe(e,t){return t&&"await"===e||"enum"===e}function le(e,t){return oe(e,t)||se.has(e)}function ce(e){return ae.has(e)}function ue(e,t){return le(e,t)||ce(e)}const pe=new Set(["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete","implements","interface","let","package","private","protected","public","static","yield","eval","arguments","enum","await"]);class fe{constructor(e){this.var=new Set,this.lexical=new Set,this.functions=new Set,this.flags=e}}class de{constructor(e,t){this.scopeStack=[],this.undefinedExports=new Map,this.undefinedPrivateNames=new Map,this.raise=e,this.inModule=t}get inFunction(){return(2&this.currentVarScopeFlags())>0}get allowSuper(){return(16&this.currentThisScopeFlags())>0}get allowDirectSuper(){return(32&this.currentThisScopeFlags())>0}get inClass(){return(64&this.currentThisScopeFlags())>0}get inClassAndNotInNonArrowFunction(){const e=this.currentThisScopeFlags();return(64&e)>0&&0==(2&e)}get inStaticBlock(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(128&t)return!0;if(323&t)return!1}}get inNonArrowFunction(){return(2&this.currentThisScopeFlags())>0}get treatFunctionsAsVar(){return this.treatFunctionsAsVarInScope(this.currentScope())}createScope(e){return new fe(e)}enter(e){this.scopeStack.push(this.createScope(e))}exit(){this.scopeStack.pop()}treatFunctionsAsVarInScope(e){return!!(2&e.flags||!this.inModule&&1&e.flags)}declareName(e,t,r){let n=this.currentScope();if(8&t||16&t)this.checkRedeclarationInScope(n,e,t,r),16&t?n.functions.add(e):n.lexical.add(e),8&t&&this.maybeExportDefined(n,e);else if(4&t)for(let i=this.scopeStack.length-1;i>=0&&(n=this.scopeStack[i],this.checkRedeclarationInScope(n,e,t,r),n.var.add(e),this.maybeExportDefined(n,e),!(259&n.flags));--i);this.inModule&&1&n.flags&&this.undefinedExports.delete(e)}maybeExportDefined(e,t){this.inModule&&1&e.flags&&this.undefinedExports.delete(t)}checkRedeclarationInScope(e,t,r,n){this.isRedeclaredInScope(e,t,r)&&this.raise(n,y.VarRedeclaration,t)}isRedeclaredInScope(e,t,r){return!!(1&r)&&(8&r?e.lexical.has(t)||e.functions.has(t)||e.var.has(t):16&r?e.lexical.has(t)||!this.treatFunctionsAsVarInScope(e)&&e.var.has(t):e.lexical.has(t)&&!(8&e.flags&&e.lexical.values().next().value===t)||!this.treatFunctionsAsVarInScope(e)&&e.functions.has(t))}checkLocalExport(e){const{name:t}=e,r=this.scopeStack[0];r.lexical.has(t)||r.var.has(t)||r.functions.has(t)||this.undefinedExports.set(t,e.start)}currentScope(){return this.scopeStack[this.scopeStack.length-1]}currentVarScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(259&t)return t}}currentThisScopeFlags(){for(let e=this.scopeStack.length-1;;e--){const{flags:t}=this.scopeStack[e];if(323&t&&!(4&t))return t}}}class he extends fe{constructor(...e){super(...e),this.declareFunctions=new Set}}class me extends de{createScope(e){return new he(e)}declareName(e,t,r){const n=this.currentScope();if(2048&t)return this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e),void n.declareFunctions.add(e);super.declareName(...arguments)}isRedeclaredInScope(e,t,r){return!!super.isRedeclaredInScope(...arguments)||!!(2048&r)&&(!e.declareFunctions.has(t)&&(e.lexical.has(t)||e.functions.has(t)))}checkLocalExport(e){this.scopeStack[0].declareFunctions.has(e.name)||super.checkLocalExport(e)}}class ye{constructor(){this.strict=void 0,this.curLine=void 0,this.lineStart=void 0,this.startLoc=void 0,this.endLoc=void 0,this.errors=[],this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.maybeInArrowParameters=!1,this.inType=!1,this.noAnonFunctionType=!1,this.hasFlowComment=!1,this.isAmbientContext=!1,this.inAbstractClass=!1,this.topicContext={maxNumOfResolvableTopics:0,maxTopicIndex:null},this.soloAwait=!1,this.inFSharpPipelineDirectBody=!1,this.labels=[],this.decoratorStack=[[]],this.comments=[],this.commentStack=[],this.pos=0,this.type=131,this.value=null,this.start=0,this.end=0,this.lastTokEndLoc=null,this.lastTokStartLoc=null,this.lastTokStart=0,this.lastTokEnd=0,this.context=[E.brace],this.canStartJSXElement=!0,this.containsEsc=!1,this.strictErrors=new Map,this.tokensLength=0}init({strictMode:e,sourceType:t,startLine:r,startColumn:n}){this.strict=!1!==e&&(!0===e||"module"===t),this.curLine=r,this.lineStart=-n,this.startLoc=this.endLoc=new c(r,n)}curPosition(){return new c(this.curLine,this.pos-this.lineStart)}clone(e){const t=new ye,r=Object.keys(this);for(let n=0,i=r.length;n<i;n++){const i=r[n];let s=this[i];!e&&Array.isArray(s)&&(s=s.slice()),t[i]=s}return t}}var ge=function(e){return e>=48&&e<=57};const be=new Set([103,109,115,105,121,117,100]),ve={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},Te={bin:[48,49]};Te.oct=[...Te.bin,50,51,52,53,54,55],Te.dec=[...Te.oct,56,57],Te.hex=[...Te.dec,65,66,67,68,69,70,97,98,99,100,101,102];class Ee{constructor(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)}}class Se{constructor(){this.privateNames=new Set,this.loneAccessors=new Map,this.undefinedPrivateNames=new Map}}class xe{constructor(e){this.stack=[],this.undefinedPrivateNames=new Map,this.raise=e}current(){return this.stack[this.stack.length-1]}enter(){this.stack.push(new Se)}exit(){const e=this.stack.pop(),t=this.current();for(const[r,n]of Array.from(e.undefinedPrivateNames))t?t.undefinedPrivateNames.has(r)||t.undefinedPrivateNames.set(r,n):this.raise(n,y.InvalidPrivateFieldResolution,r)}declarePrivateName(e,t,r){const{privateNames:n,loneAccessors:i,undefinedPrivateNames:s}=this.current();let a=n.has(e);if(3&t){const r=a&&i.get(e);if(r){const n=4&r,s=4&t,o=3&r,l=3&t;a=o===l||n!==s,a||i.delete(e)}else a||i.set(e,t)}a&&this.raise(r,y.PrivateNameRedeclaration,e),n.add(e),s.delete(e)}usePrivateName(e,t){let r;for(r of this.stack)if(r.privateNames.has(e))return;r?r.undefinedPrivateNames.set(e,t):this.raise(t,y.InvalidPrivateFieldResolution,e)}}class Pe{constructor(e=0){this.type=void 0,this.type=e}canBeArrowParameterDeclaration(){return 2===this.type||1===this.type}isCertainlyParameterDeclaration(){return 3===this.type}}class Ae extends Pe{constructor(e){super(e),this.errors=new Map}recordDeclarationError(e,t){this.errors.set(e,t)}clearDeclarationError(e){this.errors.delete(e)}iterateErrors(e){this.errors.forEach(e)}}class we{constructor(e){this.stack=[new Pe],this.raise=e}enter(e){this.stack.push(e)}exit(){this.stack.pop()}recordParameterInitializerError(e,t){const{stack:r}=this;let n=r.length-1,i=r[n];for(;!i.isCertainlyParameterDeclaration();){if(!i.canBeArrowParameterDeclaration())return;i.recordDeclarationError(e,t),i=r[--n]}this.raise(e,t)}recordParenthesizedIdentifierError(e,t){const{stack:r}=this,n=r[r.length-1];if(n.isCertainlyParameterDeclaration())this.raise(e,t);else{if(!n.canBeArrowParameterDeclaration())return;n.recordDeclarationError(e,t)}}recordAsyncArrowParametersError(e,t){const{stack:r}=this;let n=r.length-1,i=r[n];for(;i.canBeArrowParameterDeclaration();)2===i.type&&i.recordDeclarationError(e,t),i=r[--n]}validateAsPattern(){const{stack:e}=this,t=e[e.length-1];t.canBeArrowParameterDeclaration()&&t.iterateErrors((t,r)=>{this.raise(r,t);let n=e.length-2,i=e[n];for(;i.canBeArrowParameterDeclaration();)i.clearDeclarationError(r),i=e[--n]})}}function Oe(){return new Pe}class Ce{constructor(){this.stacks=[]}enter(e){this.stacks.push(e)}exit(){this.stacks.pop()}currentFlags(){return this.stacks[this.stacks.length-1]}get hasAwait(){return(2&this.currentFlags())>0}get hasYield(){return(1&this.currentFlags())>0}get hasReturn(){return(4&this.currentFlags())>0}get hasIn(){return(8&this.currentFlags())>0}}function Ie(e,t){return(e?2:0)|(t?1:0)}class Ne{constructor(){this.shorthandAssign=-1,this.doubleProto=-1,this.optionalParameters=-1}}class ke{constructor(e,t,r){this.type="",this.start=t,this.end=0,this.loc=new u(r),null!=e&&e.options.ranges&&(this.range=[t,0]),null!=e&&e.filename&&(this.loc.filename=e.filename)}}const _e=ke.prototype;function je(e){const{type:t,start:r,end:n,loc:i,range:s,extra:a,name:o}=e,l=Object.create(_e);return l.type=t,l.start=r,l.end=n,l.loc=i,l.range=s,l.extra=a,l.name=o,"Placeholder"===t&&(l.expectedNode=e.expectedNode),l}function De(e){const{type:t,start:r,end:n,loc:i,range:s,extra:a}=e;if("Placeholder"===t)return function(e){return je(e)}(e);const o=Object.create(_e);return o.type=t,o.start=r,o.end=n,o.loc=i,o.range=s,void 0!==e.raw?o.raw=e.raw:o.extra=a,o.value=e.value,o}_e.__clone=function(){const e=new ke,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};const Me=new Set(["_","any","bool","boolean","empty","extends","false","interface","mixed","null","number","static","string","true","typeof","void"]),Be=v({AmbiguousConditionalArrow:"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate.",AmbiguousDeclareModuleKind:"Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module.",AssignReservedType:"Cannot overwrite reserved type %0.",DeclareClassElement:"The `declare` modifier can only appear on class fields.",DeclareClassFieldInitializer:"Initializers are not allowed in fields with the `declare` modifier.",DuplicateDeclareModuleExports:"Duplicate `declare module.exports` statement.",EnumBooleanMemberNotInitialized:"Boolean enum members need to be initialized. Use either `%0 = true,` or `%0 = false,` in enum `%1`.",EnumDuplicateMemberName:"Enum member names need to be unique, but the name `%0` has already been used before in enum `%1`.",EnumInconsistentMemberValues:"Enum `%0` has inconsistent member initializers. Either use no initializers, or consistently use literals (either booleans, numbers, or strings) for all member initializers.",EnumInvalidExplicitType:"Enum type `%1` is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidExplicitTypeUnknownSupplied:"Supplied enum type is not valid. Use one of `boolean`, `number`, `string`, or `symbol` in enum `%0`.",EnumInvalidMemberInitializerPrimaryType:"Enum `%0` has type `%2`, so the initializer of `%1` needs to be a %2 literal.",EnumInvalidMemberInitializerSymbolType:"Symbol enum members cannot be initialized. Use `%1,` in enum `%0`.",EnumInvalidMemberInitializerUnknownType:"The enum member initializer for `%1` needs to be a literal (either a boolean, number, or string) in enum `%0`.",EnumInvalidMemberName:"Enum member names cannot start with lowercase 'a' through 'z'. Instead of using `%0`, consider using `%1`, in enum `%2`.",EnumNumberMemberNotInitialized:"Number enum members need to be initialized, e.g. `%1 = 1` in enum `%0`.",EnumStringMemberInconsistentlyInitailized:"String enum members need to consistently either all use initializers, or use no initializers, in enum `%0`.",GetterMayNotHaveThisParam:"A getter cannot have a `this` parameter.",ImportTypeShorthandOnlyInPureImport:"The `type` and `typeof` keywords on named imports can only be used on regular `import` statements. It cannot be used with `import type` or `import typeof` statements.",InexactInsideExact:"Explicit inexact syntax cannot appear inside an explicit exact object type.",InexactInsideNonObject:"Explicit inexact syntax cannot appear in class or interface definitions.",InexactVariance:"Explicit inexact syntax cannot have variance.",InvalidNonTypeImportInDeclareModule:"Imports within a `declare module` body must always be `import type` or `import typeof`.",MissingTypeParamDefault:"Type parameter declaration needs a default, since a preceding type parameter declaration has a default.",NestedDeclareModule:"`declare module` cannot be used inside another `declare module`.",NestedFlowComment:"Cannot have a flow comment inside another flow comment.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",SetterMayNotHaveThisParam:"A setter cannot have a `this` parameter.",SpreadVariance:"Spread properties cannot have variance.",ThisParamAnnotationRequired:"A type annotation is required for the `this` parameter.",ThisParamBannedInConstructor:"Constructors cannot have a `this` parameter; constructors don't bind `this` like other functions.",ThisParamMayNotBeOptional:"The `this` parameter cannot be optional.",ThisParamMustBeFirst:"The `this` parameter must be the first function parameter.",ThisParamNoDefault:"The `this` parameter may not have a default value.",TypeBeforeInitializer:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeCastInPattern:"The type cast expression is expected to be wrapped with parenthesis.",UnexpectedExplicitInexactInObject:"Explicit inexact syntax must appear at the end of an inexact object.",UnexpectedReservedType:"Unexpected reserved type %0.",UnexpectedReservedUnderscore:"`_` is only allowed as a type argument to call or new.",UnexpectedSpaceBetweenModuloChecks:"Spaces between `%` and `checks` are not allowed here.",UnexpectedSpreadType:"Spread operator cannot appear in class or interface definitions.",UnexpectedSubtractionOperand:'Unexpected token, expected "number" or "bigint".',UnexpectedTokenAfterTypeParameter:"Expected an arrow function after this type parameter declaration.",UnexpectedTypeParameterBeforeAsyncArrowFunction:"Type parameters must come after the async keyword, e.g. instead of `<T> async () => {}`, use `async <T>() => {}`.",UnsupportedDeclareExportKind:"`declare export %0` is not supported. Use `%1` instead.",UnsupportedStatementInDeclareModule:"Only declares and type imports are allowed inside declare module.",UnterminatedFlowComment:"Unterminated flow-comment."},m.SyntaxError,"flow");function Le(e){return"type"===e.importKind||"typeof"===e.importKind}function Fe(e){return L(e)&&93!==e}const Re={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"};const Ue=/\*?\s*@((?:no)?flow)\b/;const Ve={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",fnof:"ƒ",circ:"ˆ",tilde:"˜",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",ensp:" ",emsp:" ",thinsp:" ",zwnj:"",zwj:"",lrm:"",rlm:"",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",bull:"•",hellip:"…",permil:"‰",prime:"′",Prime:"″",lsaquo:"‹",rsaquo:"›",oline:"‾",frasl:"⁄",euro:"€",image:"ℑ",weierp:"℘",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦"},Ke=/^[\da-fA-F]+$/,We=/^\d+$/,Ye=v({AttributeIsEmpty:"JSX attributes must only be assigned a non-empty expression.",MissingClosingTagElement:"Expected corresponding JSX closing tag for <%0>.",MissingClosingTagFragment:"Expected corresponding JSX closing tag for <>.",UnexpectedSequenceExpression:"Sequence expressions cannot be directly nested inside JSX. Did you mean to wrap it in parentheses (...)?",UnsupportedJsxValue:"JSX value should be either an expression or a quoted JSX text.",UnterminatedJsxContent:"Unterminated JSX contents.",UnwrappedAdjacentJSXElements:"Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>?"},m.SyntaxError,"jsx");function qe(e){return!!e&&("JSXOpeningFragment"===e.type||"JSXClosingFragment"===e.type)}function Ge(e){if("JSXIdentifier"===e.type)return e.name;if("JSXNamespacedName"===e.type)return e.namespace.name+":"+e.name.name;if("JSXMemberExpression"===e.type)return Ge(e.object)+"."+Ge(e.property);throw new Error("Node had unexpected type: "+e.type)}class He extends fe{constructor(...e){super(...e),this.types=new Set,this.enums=new Set,this.constEnums=new Set,this.classes=new Set,this.exportOnlyBindings=new Set}}class $e extends de{createScope(e){return new He(e)}declareName(e,t,r){const n=this.currentScope();if(1024&t)return this.maybeExportDefined(n,e),void n.exportOnlyBindings.add(e);super.declareName(...arguments),2&t&&(1&t||(this.checkRedeclarationInScope(n,e,t,r),this.maybeExportDefined(n,e)),n.types.add(e)),256&t&&n.enums.add(e),512&t&&n.constEnums.add(e),128&t&&n.classes.add(e)}isRedeclaredInScope(e,t,r){if(e.enums.has(t)){if(256&r){const n=!!(512&r),i=e.constEnums.has(t);return n!==i}return!0}return 128&r&&e.classes.has(t)?!!e.lexical.has(t)&&!!(1&r):!!(2&r&&e.types.has(t))||super.isRedeclaredInScope(...arguments)}checkLocalExport(e){const t=this.scopeStack[0],{name:r}=e;t.types.has(r)||t.exportOnlyBindings.has(r)||super.checkLocalExport(e)}}function Je(e){if(!e)throw new Error("Assert fail")}const Xe=v({AbstractMethodHasImplementation:"Method '%0' cannot have an implementation because it is marked abstract.",AbstractPropertyHasInitializer:"Property '%0' cannot have an initializer because it is marked abstract.",AccesorCannotDeclareThisParameter:"'get' and 'set' accessors cannot declare 'this' parameters.",AccesorCannotHaveTypeParameters:"An accessor cannot have type parameters.",ClassMethodHasDeclare:"Class methods cannot have the 'declare' modifier.",ClassMethodHasReadonly:"Class methods cannot have the 'readonly' modifier.",ConstructorHasTypeParameters:"Type parameters cannot appear on a constructor declaration.",DeclareAccessor:"'declare' is not allowed in %0ters.",DeclareClassFieldHasInitializer:"Initializers are not allowed in ambient contexts.",DeclareFunctionHasImplementation:"An implementation cannot be declared in ambient contexts.",DuplicateAccessibilityModifier:"Accessibility modifier already seen.",DuplicateModifier:"Duplicate modifier: '%0'.",EmptyHeritageClauseType:"'%0' list cannot be empty.",EmptyTypeArguments:"Type argument list cannot be empty.",EmptyTypeParameters:"Type parameter list cannot be empty.",ExpectedAmbientAfterExportDeclare:"'export declare' must be followed by an ambient declaration.",ImportAliasHasImportType:"An import alias can not use 'import type'.",IncompatibleModifiers:"'%0' modifier cannot be used with '%1' modifier.",IndexSignatureHasAbstract:"Index signatures cannot have the 'abstract' modifier.",IndexSignatureHasAccessibility:"Index signatures cannot have an accessibility modifier ('%0').",IndexSignatureHasDeclare:"Index signatures cannot have the 'declare' modifier.",IndexSignatureHasOverride:"'override' modifier cannot appear on an index signature.",IndexSignatureHasStatic:"Index signatures cannot have the 'static' modifier.",InvalidModifierOnTypeMember:"'%0' modifier cannot appear on a type member.",InvalidModifiersOrder:"'%0' modifier must precede '%1' modifier.",InvalidTupleMemberLabel:"Tuple members must be labeled with a simple identifier.",MissingInterfaceName:"'interface' declarations must be followed by an identifier.",MixedLabeledAndUnlabeledElements:"Tuple members must all have names or all not have names.",NonAbstractClassHasAbstractMethod:"Abstract methods can only appear within an abstract class.",NonClassMethodPropertyHasAbstractModifer:"'abstract' modifier can only appear on a class, method, or property declaration.",OptionalTypeBeforeRequired:"A required element cannot follow an optional element.",OverrideNotInSubClass:"This member cannot have an 'override' modifier because its containing class does not extend another class.",PatternIsOptional:"A binding pattern parameter cannot be optional in an implementation signature.",PrivateElementHasAbstract:"Private elements cannot have the 'abstract' modifier.",PrivateElementHasAccessibility:"Private elements cannot have an accessibility modifier ('%0').",ReadonlyForMethodSignature:"'readonly' modifier can only appear on a property declaration or index signature.",ReservedArrowTypeParam:"This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma, as in `<T,>() => ...`.",ReservedTypeAssertion:"This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead.",SetAccesorCannotHaveOptionalParameter:"A 'set' accessor cannot have an optional parameter.",SetAccesorCannotHaveRestParameter:"A 'set' accessor cannot have rest parameter.",SetAccesorCannotHaveReturnType:"A 'set' accessor cannot have a return type annotation.",StaticBlockCannotHaveModifier:"Static class blocks cannot have any modifier.",TypeAnnotationAfterAssign:"Type annotations must come before default assignments, e.g. instead of `age = 25: number` use `age: number = 25`.",TypeImportCannotSpecifyDefaultAndNamed:"A type-only import can specify a default import or named bindings, but not both.",TypeModifierIsUsedInTypeExports:"The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement.",TypeModifierIsUsedInTypeImports:"The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement.",UnexpectedParameterModifier:"A parameter property is only allowed in a constructor implementation.",UnexpectedReadonly:"'readonly' type modifier is only permitted on array and tuple literal types.",UnexpectedTypeAnnotation:"Did not expect a type annotation here.",UnexpectedTypeCastInParameter:"Unexpected type cast in parameter position.",UnsupportedImportTypeArgument:"Argument in a type import must be a string literal.",UnsupportedParameterPropertyKind:"A parameter property may not be declared using a binding pattern.",UnsupportedSignatureParameterKind:"Name in a signature must be an Identifier, ObjectPattern or ArrayPattern, instead got %0."},m.SyntaxError,"typescript");function ze(e){return"private"===e||"public"===e||"protected"===e}const Qe=v({ClassNameIsRequired:"A class name is required."},m.SyntaxError);function Ze(e,t){const[r,n]="string"==typeof t?[t,{}]:t,i=Object.keys(n),s=0===i.length;return e.some(e=>{if("string"==typeof e)return s&&e===r;{const[t,s]=e;if(t!==r)return!1;for(const e of i)if(s[e]!==n[e])return!1;return!0}})}function et(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 tt=["minimal","fsharp","hack","smart"],rt=["^","%","#"],nt=["hash","bar"];const it={estree:e=>class extends e{parseRegExpLiteral({pattern:e,flags:t}){let r=null;try{r=new RegExp(e,t)}catch(i){}const n=this.estreeParseLiteral(r);return n.regex={pattern:e,flags:t},n}parseBigIntLiteral(e){let t;try{t=BigInt(e)}catch(n){t=null}const r=this.estreeParseLiteral(t);return r.bigint=String(r.value||e),r}parseDecimalLiteral(e){const t=this.estreeParseLiteral(null);return t.decimal=String(t.value||e),t}estreeParseLiteral(e){return this.parseLiteral(e,"Literal")}parseStringLiteral(e){return this.estreeParseLiteral(e)}parseNumericLiteral(e){return this.estreeParseLiteral(e)}parseNullLiteral(){return this.estreeParseLiteral(null)}parseBooleanLiteral(e){return this.estreeParseLiteral(e)}directiveToStmt(e){const t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.extra.expressionValue,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){null!=e&&this.isObjectProperty(e)?this.checkDeclaration(e.value):super.checkDeclaration(e)}getObjectOrClassMethodParams(e){return e.value.params}isValidDirective(e){var t;return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&!(null!=(t=e.expression.extra)&&t.parenthesized)}parseBlockBody(e,...t){super.parseBlockBody(e,...t);const r=e.directives.map(e=>this.directiveToStmt(e));e.body=r.concat(e.body),delete e.directives}pushClassMethod(e,t,r,n,i,s){this.parseMethod(t,r,n,i,s,"ClassMethod",!0),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)}parsePrivateName(){const e=super.parsePrivateName();return this.getPluginOption("estree","classFeatures")?this.convertPrivateNameToPrivateIdentifier(e):e}convertPrivateNameToPrivateIdentifier(e){const t=super.getPrivateNameSV(e);return e=e,delete e.id,e.name=t,e.type="PrivateIdentifier",e}isPrivateName(e){return this.getPluginOption("estree","classFeatures")?"PrivateIdentifier"===e.type:super.isPrivateName(e)}getPrivateNameSV(e){return this.getPluginOption("estree","classFeatures")?e.name:super.getPrivateNameSV(e)}parseLiteral(e,t){const r=super.parseLiteral(e,t);return r.raw=r.extra.raw,delete r.extra,r}parseFunctionBody(e,t,r=!1){super.parseFunctionBody(e,t,r),e.expression="BlockStatement"!==e.body.type}parseMethod(e,t,r,n,i,s,a=!1){let o=this.startNode();return o.kind=e.kind,o=super.parseMethod(o,t,r,n,i,s,a),o.type="FunctionExpression",delete o.kind,e.value=o,"ClassPrivateMethod"===s&&(e.computed=!1),s="MethodDefinition",this.finishNode(e,s)}parseClassProperty(...e){const t=super.parseClassProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t):t}parseClassPrivateProperty(...e){const t=super.parseClassPrivateProperty(...e);return this.getPluginOption("estree","classFeatures")?(t.type="PropertyDefinition",t.computed=!1,t):t}parseObjectMethod(e,t,r,n,i){const s=super.parseObjectMethod(e,t,r,n,i);return s&&(s.type="Property","method"===s.kind&&(s.kind="init"),s.shorthand=!1),s}parseObjectProperty(e,t,r,n,i){const s=super.parseObjectProperty(e,t,r,n,i);return s&&(s.kind="init",s.type="Property"),s}isAssignable(e,t){return null!=e&&this.isObjectProperty(e)?this.isAssignable(e.value,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return null!=e&&this.isObjectProperty(e)?(this.toAssignable(e.value,t),e):super.toAssignable(e,t)}toAssignableObjectExpressionProp(e,...t){"get"===e.kind||"set"===e.kind?this.raise(e.key.start,y.PatternHasAccessor):e.method?this.raise(e.key.start,y.PatternHasMethod):super.toAssignableObjectExpressionProp(e,...t)}finishCallExpression(e,t){if(super.finishCallExpression(e,t),"Import"===e.callee.type){var r;if(e.type="ImportExpression",e.source=e.arguments[0],this.hasPlugin("importAssertions"))e.attributes=null!=(r=e.arguments[1])?r:null;delete e.arguments,delete e.callee}return e}toReferencedArguments(e){"ImportExpression"!==e.type&&super.toReferencedArguments(e)}parseExport(e){switch(super.parseExport(e),e.type){case"ExportAllDeclaration":e.exported=null;break;case"ExportNamedDeclaration":1===e.specifiers.length&&"ExportNamespaceSpecifier"===e.specifiers[0].type&&(e.type="ExportAllDeclaration",e.exported=e.specifiers[0].exported,delete e.specifiers)}return e}parseSubscript(e,t,r,n,i){const s=super.parseSubscript(e,t,r,n,i);if(i.optionalChainMember){if("OptionalMemberExpression"!==s.type&&"OptionalCallExpression"!==s.type||(s.type=s.type.substring(8)),i.stop){const e=this.startNodeAtNode(s);return e.expression=s,this.finishNode(e,"ChainExpression")}}else"MemberExpression"!==s.type&&"CallExpression"!==s.type||(s.optional=!1);return s}hasPropertyAsPrivateName(e){return"ChainExpression"===e.type&&(e=e.expression),super.hasPropertyAsPrivateName(e)}isOptionalChain(e){return"ChainExpression"===e.type}isObjectProperty(e){return"Property"===e.type&&"init"===e.kind&&!e.method}isObjectMethod(e){return e.method||"get"===e.kind||"set"===e.kind}},jsx:e=>class extends e{jsxReadToken(){let e="",t=this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,Ye.UnterminatedJsxContent);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.canStartJSXElement?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(133,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;case 62:case 125:default:s(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(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,y.UnterminatedString);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):s(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(125,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++],";"===n){"#"===t[0]?"x"===t[1]?(t=t.substr(2),Ke.test(t)&&(e=String.fromCodePoint(parseInt(t,16)))):(t=t.substr(1),We.test(t)&&(e=String.fromCodePoint(parseInt(t,10)))):e=Ve[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(ee(e)||45===e);return this.finishToken(132,this.input.slice(t,this.state.pos))}jsxParseIdentifier(){const e=this.startNode();return this.match(132)?e.name=this.state.value:V(this.state.type)?e.name=K(this.state.type):this.unexpected(),this.next(),this.finishNode(e,"JSXIdentifier")}jsxParseNamespacedName(){const e=this.state.start,t=this.state.startLoc,r=this.jsxParseIdentifier();if(!this.eat(14))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(16);){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 5:return e=this.startNode(),this.setContext(E.brace),this.next(),e=this.jsxParseExpressionContainer(e,E.j_oTag),"JSXEmptyExpression"===e.expression.type&&this.raise(e.start,Ye.AttributeIsEmpty),e;case 134:case 125:return this.parseExprAtom();default:throw this.raise(this.state.start,Ye.UnsupportedJsxValue)}}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.setContext(E.j_oTag),this.expect(8),this.finishNode(e,"JSXSpreadChild")}jsxParseExpressionContainer(e,t){if(this.match(8))e.expression=this.jsxParseEmptyExpression();else{const t=this.parseExpression();e.expression=t}return this.setContext(t),this.expect(8),this.finishNode(e,"JSXExpressionContainer")}jsxParseAttribute(){const e=this.startNode();return this.match(5)?(this.setContext(E.brace),this.next(),this.expect(21),e.argument=this.parseMaybeAssignAllowIn(),this.setContext(E.j_oTag),this.expect(8),this.finishNode(e,"JSXSpreadAttribute")):(e.name=this.jsxParseNamespacedName(),e.value=this.eat(29)?this.jsxParseAttributeValue():null,this.finishNode(e,"JSXAttribute"))}jsxParseOpeningElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(135)?(this.expect(135),this.finishNode(r,"JSXOpeningFragment")):(r.name=this.jsxParseElementName(),this.jsxParseOpeningElementAfterName(r))}jsxParseOpeningElementAfterName(e){const t=[];for(;!this.match(52)&&!this.match(135);)t.push(this.jsxParseAttribute());return e.attributes=t,e.selfClosing=this.eat(52),this.expect(135),this.finishNode(e,"JSXOpeningElement")}jsxParseClosingElementAt(e,t){const r=this.startNodeAt(e,t);return this.match(135)?(this.expect(135),this.finishNode(r,"JSXClosingFragment")):(r.name=this.jsxParseElementName(),this.expect(135),this.finishNode(r,"JSXClosingElement"))}jsxParseElementAt(e,t){const r=this.startNodeAt(e,t),n=[],i=this.jsxParseOpeningElementAt(e,t);let s=null;if(!i.selfClosing){e:for(;;)switch(this.state.type){case 134:if(e=this.state.start,t=this.state.startLoc,this.next(),this.eat(52)){s=this.jsxParseClosingElementAt(e,t);break e}n.push(this.jsxParseElementAt(e,t));break;case 133:n.push(this.parseExprAtom());break;case 5:{const e=this.startNode();this.setContext(E.brace),this.next(),this.match(21)?n.push(this.jsxParseSpreadChild(e)):n.push(this.jsxParseExpressionContainer(e,E.j_expr));break}default:throw this.unexpected()}qe(i)&&!qe(s)?this.raise(s.start,Ye.MissingClosingTagFragment):!qe(i)&&qe(s)?this.raise(s.start,Ye.MissingClosingTagElement,Ge(i.name)):qe(i)||qe(s)||Ge(s.name)!==Ge(i.name)&&this.raise(s.start,Ye.MissingClosingTagElement,Ge(i.name))}if(qe(i)?(r.openingFragment=i,r.closingFragment=s):(r.openingElement=i,r.closingElement=s),r.children=n,this.match(45))throw this.raise(this.state.start,Ye.UnwrappedAdjacentJSXElements);return qe(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)}setContext(e){const{context:t}=this.state;t[t.length-1]=e}parseExprAtom(e){return this.match(133)?this.parseLiteral(this.state.value,"JSXText"):this.match(134)?this.jsxParseElement():this.match(45)&&33!==this.input.charCodeAt(this.state.pos)?(this.replaceToken(134),this.jsxParseElement()):super.parseExprAtom(e)}skipSpace(){const e=this.curContext();e.preserveSpace||super.skipSpace()}getTokenFromCode(e){const t=this.curContext();if(t===E.j_expr)return this.jsxReadToken();if(t===E.j_oTag||t===E.j_cTag){if(Z(e))return this.jsxReadWord();if(62===e)return++this.state.pos,this.finishToken(135);if((34===e||39===e)&&t===E.j_oTag)return this.jsxReadString(e)}return 60===e&&this.state.canStartJSXElement&&33!==this.input.charCodeAt(this.state.pos+1)?(++this.state.pos,this.finishToken(134)):super.getTokenFromCode(e)}updateContext(e){const{context:t,type:r}=this.state;if(52===r&&134===e)t.splice(-2,2,E.j_cTag),this.state.canStartJSXElement=!1;else if(134===r)t.push(E.j_oTag);else if(135===r){const r=t[t.length-1];r===E.j_oTag&&52===e||r===E.j_cTag?(t.pop(),this.state.canStartJSXElement=t[t.length-1]===E.j_expr):(this.setContext(E.j_expr),this.state.canStartJSXElement=!0)}else this.state.canStartJSXElement=(n=r,N[n]);var n}},flow:e=>class extends e{constructor(...e){super(...e),this.flowPragma=void 0}getScopeHandler(){return me}shouldParseTypes(){return this.getPluginOption("flow","all")||"flow"===this.flowPragma}shouldParseEnums(){return!!this.getPluginOption("flow","enums")}finishToken(e,t){return 125!==e&&13!==e&&28!==e&&void 0===this.flowPragma&&(this.flowPragma=null),super.finishToken(e,t)}addComment(e){if(void 0===this.flowPragma){const t=Ue.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||14);const r=this.flowParseType();return this.state.inType=t,r}flowParsePredicate(){const e=this.startNode(),t=this.state.start;return this.next(),this.expectContextual(103),this.state.lastTokStart>t+1&&this.raise(t,Be.UnexpectedSpaceBetweenModuloChecks),this.eat(10)?(e.value=this.parseExpression(),this.expect(11),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")}flowParseTypeAndPredicateInitialiser(){const e=this.state.inType;this.state.inType=!0,this.expect(14);let t=null,r=null;return this.match(50)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(50)&&(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.match(45)?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(10);const i=this.flowParseFunctionTypeParams();return r.params=i.params,r.rest=i.rest,r.this=i._this,this.expect(11),[r.returnType,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.resetEndLocation(t),this.semicolon(),this.scope.declareName(e.id.name,2048,e.id.start),this.finishNode(e,"DeclareFunction")}flowParseDeclare(e,t){if(this.match(76))return this.flowParseDeclareClass(e);if(this.match(64))return this.flowParseDeclareFunction(e);if(this.match(70))return this.flowParseDeclareVariable(e);if(this.eatContextual(119))return this.match(16)?this.flowParseDeclareModuleExports(e):(t&&this.raise(this.state.lastTokStart,Be.NestedDeclareModule),this.flowParseDeclareModule(e));if(this.isContextual(122))return this.flowParseDeclareTypeAlias(e);if(this.isContextual(123))return this.flowParseDeclareOpaqueType(e);if(this.isContextual(121))return this.flowParseDeclareInterface(e);if(this.match(78))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()}flowParseDeclareVariable(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.scope.declareName(e.id.name,5,e.id.start),this.semicolon(),this.finishNode(e,"DeclareVariable")}flowParseDeclareModule(e){this.scope.enter(0),this.match(125)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();const t=e.body=this.startNode(),r=t.body=[];for(this.expect(5);!this.match(8);){let e=this.startNode();this.match(79)?(this.next(),this.isContextual(122)||this.match(83)||this.raise(this.state.lastTokStart,Be.InvalidNonTypeImportInDeclareModule),this.parseImport(e)):(this.expectContextual(117,Be.UnsupportedStatementInDeclareModule),e=this.flowParseDeclare(e,!0)),r.push(e)}this.scope.exit(),this.expect(8),this.finishNode(t,"BlockStatement");let n=null,i=!1;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.raise(e.start,Be.DuplicateDeclareModuleExports),"ES"===n&&this.raise(e.start,Be.AmbiguousDeclareModuleKind),n="CommonJS",i=!0):("CommonJS"===n&&this.raise(e.start,Be.AmbiguousDeclareModuleKind),n="ES")}),e.kind=n||"CommonJS",this.finishNode(e,"DeclareModule")}flowParseDeclareExportDeclaration(e,t){if(this.expect(78),this.eat(61))return this.match(64)||this.match(76)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(71)||this.isLet()||(this.isContextual(122)||this.isContextual(121))&&!t){const e=this.state.value,t=Re[e];throw this.raise(this.state.start,Be.UnsupportedDeclareExportKind,e,t)}if(this.match(70)||this.match(64)||this.match(76)||this.isContextual(123))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(51)||this.match(5)||this.isContextual(121)||this.isContextual(122)||this.isContextual(123))return e=this.parseExport(e),"ExportNamedDeclaration"===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(104),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,!0),this.scope.declareName(e.id.name,t?17:9,e.id.start),this.match(45)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.implements=[],e.mixins=[],this.eat(77))do{e.extends.push(this.flowParseInterfaceExtends())}while(!t&&this.eat(12));if(this.isContextual(110)){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(12))}if(this.isContextual(106)){this.next();do{e.implements.push(this.flowParseInterfaceExtends())}while(this.eat(12))}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.match(45)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")}flowParseInterface(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")}checkNotUnderscore(e){"_"===e&&this.raise(this.state.start,Be.UnexpectedReservedUnderscore)}checkReservedType(e,t,r){Me.has(e)&&this.raise(t,r?Be.AssignReservedType:Be.UnexpectedReservedType,e)}flowParseRestrictedIdentifier(e,t){return this.checkReservedType(this.state.value,this.state.start,t),this.parseIdentifier(e)}flowParseTypeAlias(e){return e.id=this.flowParseRestrictedIdentifier(!1,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(45)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(29),this.semicolon(),this.finishNode(e,"TypeAlias")}flowParseOpaqueType(e,t){return this.expectContextual(122),e.id=this.flowParseRestrictedIdentifier(!0,!0),this.scope.declareName(e.id.name,9,e.id.start),this.match(45)?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(14)&&(e.supertype=this.flowParseTypeInitialiser(14)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(29)),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(29)?(this.eat(29),r.default=this.flowParseType()):e&&this.raise(t,Be.MissingTypeParamDefault),this.finishNode(r,"TypeParameter")}flowParseTypeParameterDeclaration(){const e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.match(45)||this.match(134)?this.next():this.unexpected();let r=!1;do{const e=this.flowParseTypeParameter(r);t.params.push(e),e.default&&(r=!0),this.match(46)||this.expect(12)}while(!this.match(46));return this.expect(46),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")}flowParseTypeParameterInstantiation(){const e=this.startNode(),t=this.state.inType;e.params=[],this.state.inType=!0,this.expect(45);const r=this.state.noAnonFunctionType;for(this.state.noAnonFunctionType=!1;!this.match(46);)e.params.push(this.flowParseType()),this.match(46)||this.expect(12);return this.state.noAnonFunctionType=r,this.expect(46),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.expect(45);!this.match(46);)e.params.push(this.flowParseTypeOrImplicitInstantiation()),this.match(46)||this.expect(12);return this.expect(46),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")}flowParseInterfaceType(){const e=this.startNode();if(this.expectContextual(121),e.extends=[],this.eat(77))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(12));return e.body=this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!1,allowProto:!1,allowInexact:!1}),this.finishNode(e,"InterfaceTypeAnnotation")}flowParseObjectPropertyKey(){return this.match(126)||this.match(125)?this.parseExprAtom():this.parseIdentifier(!0)}flowParseObjectTypeIndexer(e,t,r){return e.static=t,14===this.lookahead().type?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(3),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")}flowParseObjectTypeInternalSlot(e,t){return e.static=t,e.id=this.flowParseObjectPropertyKey(),this.expect(3),this.expect(3),this.match(45)||this.match(10)?(e.method=!0,e.optional=!1,e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start))):(e.method=!1,this.eat(17)&&(e.optional=!0),e.value=this.flowParseTypeInitialiser()),this.finishNode(e,"ObjectTypeInternalSlot")}flowParseObjectTypeMethodish(e){for(e.params=[],e.rest=null,e.typeParameters=null,e.this=null,this.match(45)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(10),this.match(74)&&(e.this=this.flowParseFunctionTypeParam(!0),e.this.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.params.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(e.rest=this.flowParseFunctionTypeParam(!1)),this.expect(11),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")}flowParseObjectTypeCallProperty(e,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 s=this.state.inType;this.state.inType=!0;const a=this.startNode();let o,l;a.callProperties=[],a.properties=[],a.indexers=[],a.internalSlots=[];let c=!1;for(t&&this.match(6)?(this.expect(6),o=9,l=!0):(this.expect(5),o=8,l=!1),a.exact=l;!this.match(o);){let t=!1,s=null,o=null;const u=this.startNode();if(n&&this.isContextual(111)){const t=this.lookahead();14!==t.type&&17!==t.type&&(this.next(),s=this.state.start,e=!1)}if(e&&this.isContextual(100)){const e=this.lookahead();14!==e.type&&17!==e.type&&(this.next(),t=!0)}const p=this.flowParseVariance();if(this.eat(0))null!=s&&this.unexpected(s),this.eat(0)?(p&&this.unexpected(p.start),a.internalSlots.push(this.flowParseObjectTypeInternalSlot(u,t))):a.indexers.push(this.flowParseObjectTypeIndexer(u,t,p));else if(this.match(10)||this.match(45))null!=s&&this.unexpected(s),p&&this.unexpected(p.start),a.callProperties.push(this.flowParseObjectTypeCallProperty(u,t));else{let e="init";if(this.isContextual(94)||this.isContextual(99)){const t=this.lookahead();F(t.type)&&(e=this.state.value,this.next())}const n=this.flowParseObjectTypeProperty(u,t,s,p,e,r,null!=i?i:!l);null===n?(c=!0,o=this.state.lastTokStart):a.properties.push(n)}this.flowObjectTypeSemicolon(),!o||this.match(8)||this.match(9)||this.raise(o,Be.UnexpectedExplicitInexactInObject)}this.expect(o),r&&(a.inexact=c);const u=this.finishNode(a,"ObjectTypeAnnotation");return this.state.inType=s,u}flowParseObjectTypeProperty(e,t,r,n,i,s,a){if(this.eat(21)){const t=this.match(12)||this.match(13)||this.match(8)||this.match(9);return t?(s?a||this.raise(this.state.lastTokStart,Be.InexactInsideExact):this.raise(this.state.lastTokStart,Be.InexactInsideNonObject),n&&this.raise(n.start,Be.InexactVariance),null):(s||this.raise(this.state.lastTokStart,Be.UnexpectedSpreadType),null!=r&&this.unexpected(r),n&&this.raise(n.start,Be.SpreadVariance),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.match(45)||this.match(10)?(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),!s&&"constructor"===e.key.name&&e.value.this&&this.raise(e.value.this.start,Be.ThisParamBannedInConstructor)):("init"!==i&&this.unexpected(),e.method=!1,this.eat(17)&&(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,n=e.value.params.length+(e.value.rest?1:0);e.value.this&&this.raise(e.value.this.start,"get"===e.kind?Be.GetterMayNotHaveThisParam:Be.SetterMayNotHaveThisParam),n!==t&&("get"===e.kind?this.raise(r,y.BadGetterArity):this.raise(r,y.BadSetterArity)),"set"===e.kind&&e.value.rest&&this.raise(r,y.BadSetterRestParameter)}flowObjectTypeSemicolon(){this.eat(13)||this.eat(12)||this.match(8)||this.match(9)||this.unexpected()}flowParseQualifiedTypeIdentifier(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;let n=r||this.flowParseRestrictedIdentifier(!0);for(;this.eat(16);){const r=this.startNodeAt(e,t);r.qualification=n,r.id=this.flowParseRestrictedIdentifier(!0),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.match(45)&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")}flowParseTypeofType(){const e=this.startNode();return this.expect(83),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")}flowParseTupleType(){const e=this.startNode();for(e.types=[],this.expect(0);this.state.pos<this.length&&!this.match(3)&&(e.types.push(this.flowParseType()),!this.match(3));)this.expect(12);return this.expect(3),this.finishNode(e,"TupleTypeAnnotation")}flowParseFunctionTypeParam(e){let t=null,r=!1,n=null;const i=this.startNode(),s=this.lookahead(),a=74===this.state.type;return 14===s.type||17===s.type?(a&&!e&&this.raise(i.start,Be.ThisParamMustBeFirst),t=this.parseIdentifier(a),this.eat(17)&&(r=!0,a&&this.raise(i.start,Be.ThisParamMayNotBeOptional)),n=this.flowParseTypeInitialiser()):n=this.flowParseType(),i.name=t,i.optional=r,i.typeAnnotation=n,this.finishNode(i,"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,r=null;for(this.match(74)&&(r=this.flowParseFunctionTypeParam(!0),r.name=null,this.match(11)||this.expect(12));!this.match(11)&&!this.match(21);)e.push(this.flowParseFunctionTypeParam(!1)),this.match(11)||this.expect(12);return this.eat(21)&&(t=this.flowParseFunctionTypeParam(!1)),{params:e,rest:t,_this:r}}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");case"symbol":return this.finishNode(r,"SymbolTypeAnnotation");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,s=!1;const a=this.state.noAnonFunctionType;switch(this.state.type){case 5:return this.flowParseObjectType({allowStatic:!1,allowExact:!1,allowSpread:!0,allowProto:!1,allowInexact:!0});case 6:return this.flowParseObjectType({allowStatic:!1,allowExact:!0,allowSpread:!0,allowProto:!1,allowInexact:!1});case 0:return this.state.noAnonFunctionType=!1,i=this.flowParseTupleType(),this.state.noAnonFunctionType=a,i;case 45:return r.typeParameters=this.flowParseTypeParameterDeclaration(),this.expect(10),n=this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),this.finishNode(r,"FunctionTypeAnnotation");case 10:if(this.next(),!this.match(11)&&!this.match(21))if(B(this.state.type)||this.match(74)){const e=this.lookahead().type;s=17!==e&&14!==e}else s=!0;if(s){if(this.state.noAnonFunctionType=!1,i=this.flowParseType(),this.state.noAnonFunctionType=a,this.state.noAnonFunctionType||!(this.match(12)||this.match(11)&&19===this.lookahead().type))return this.expect(11),i;this.eat(12)}return n=i?this.flowParseFunctionTypeParams([this.reinterpretTypeAsFunctionTypeParam(i)]):this.flowParseFunctionTypeParams(),r.params=n.params,r.rest=n.rest,r.this=n._this,this.expect(11),this.expect(19),r.returnType=this.flowParseType(),r.typeParameters=null,this.finishNode(r,"FunctionTypeAnnotation");case 125:return this.parseLiteral(this.state.value,"StringLiteralTypeAnnotation");case 81:case 82:return r.value=this.match(81),this.next(),this.finishNode(r,"BooleanLiteralTypeAnnotation");case 49:if("-"===this.state.value){if(this.next(),this.match(126))return this.parseLiteralAtNode(-this.state.value,"NumberLiteralTypeAnnotation",r);if(this.match(127))return this.parseLiteralAtNode(-this.state.value,"BigIntLiteralTypeAnnotation",r);throw this.raise(this.state.start,Be.UnexpectedSubtractionOperand)}throw this.unexpected();case 126:return this.parseLiteral(this.state.value,"NumberLiteralTypeAnnotation");case 127:return this.parseLiteral(this.state.value,"BigIntLiteralTypeAnnotation");case 84:return this.next(),this.finishNode(r,"VoidTypeAnnotation");case 80:return this.next(),this.finishNode(r,"NullLiteralTypeAnnotation");case 74:return this.next(),this.finishNode(r,"ThisTypeAnnotation");case 51:return this.next(),this.finishNode(r,"ExistsTypeAnnotation");case 83:return this.flowParseTypeofType();default:if(V(this.state.type)){const e=K(this.state.type);return this.next(),super.createIdentifier(r,e)}if(B(this.state.type))return this.isContextual(121)?this.flowParseInterfaceType():this.flowIdentToTypeAnnotation(e,t,r,this.parseIdentifier())}throw this.unexpected()}flowParsePostfixType(){const e=this.state.start,t=this.state.startLoc;let r=this.flowParsePrimaryType(),n=!1;for(;(this.match(0)||this.match(18))&&!this.canInsertSemicolon();){const i=this.startNodeAt(e,t),s=this.eat(18);n=n||s,this.expect(0),!s&&this.match(3)?(i.elementType=r,this.next(),r=this.finishNode(i,"ArrayTypeAnnotation")):(i.objectType=r,i.indexType=this.flowParseType(),this.expect(3),n?(i.optional=s,r=this.finishNode(i,"OptionalIndexedAccessType")):r=this.finishNode(i,"IndexedAccessType"))}return r}flowParsePrefixType(){const e=this.startNode();return this.eat(17)?(e.typeAnnotation=this.flowParsePrefixType(),this.finishNode(e,"NullableTypeAnnotation")):this.flowParsePostfixType()}flowParseAnonFunctionWithoutParens(){const e=this.flowParsePrefixType();if(!this.state.noAnonFunctionType&&this.eat(19)){const t=this.startNodeAt(e.start,e.loc.start);return t.params=[this.reinterpretTypeAsFunctionTypeParam(e)],t.rest=null,t.this=null,t.returnType=this.flowParseType(),t.typeParameters=null,this.finishNode(t,"FunctionTypeAnnotation")}return e}flowParseIntersectionType(){const e=this.startNode();this.eat(43);const t=this.flowParseAnonFunctionWithoutParens();for(e.types=[t];this.eat(43);)e.types.push(this.flowParseAnonFunctionWithoutParens());return 1===e.types.length?t:this.finishNode(e,"IntersectionTypeAnnotation")}flowParseUnionType(){const e=this.startNode();this.eat(41);const t=this.flowParseIntersectionType();for(e.types=[t];this.eat(41);)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,t}flowParseTypeOrImplicitInstantiation(){if(124===this.state.type&&"_"===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(14)&&(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(49)&&(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(14)){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.isContextual(121)){const e=this.lookahead();if(L(e.type)){const e=this.startNode();return this.next(),this.flowParseInterface(e)}}else if(this.shouldParseEnums()&&this.isContextual(118)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(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(76)||B(this.state.type)||this.match(64)||this.match(70)||this.match(78))return this.flowParseDeclare(e)}else if(B(this.state.type)){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(){const{type:e}=this.state;return U(e)||this.shouldParseEnums()&&118===e?!this.state.containsEsc:super.shouldParseExportDeclaration()}isExportDefaultSpecifier(){const{type:e}=this.state;return U(e)||this.shouldParseEnums()&&118===e?this.state.containsEsc:super.isExportDefaultSpecifier()}parseExportDefaultExpression(){if(this.shouldParseEnums()&&this.isContextual(118)){const e=this.startNode();return this.next(),this.flowParseEnumDeclaration(e)}return super.parseExportDefaultExpression()}parseConditional(e,t,r,n){if(!this.match(17))return e;if(this.state.maybeInArrowParameters){const t=this.lookaheadCharCode();if(44===t||61===t||58===t||41===t)return this.setOptionalParametersError(n),e}this.expect(17);const i=this.state.clone(),s=this.state.noArrowAt,a=this.startNodeAt(t,r);let{consequent:o,failed:l}=this.tryParseConditionalConsequent(),[c,u]=this.getArrowLikeExpressions(o);if(l||u.length>0){const e=[...s];if(u.length>0){this.state=i,this.state.noArrowAt=e;for(let t=0;t<u.length;t++)e.push(u[t].start);({consequent:o,failed:l}=this.tryParseConditionalConsequent()),[c,u]=this.getArrowLikeExpressions(o)}l&&c.length>1&&this.raise(i.start,Be.AmbiguousConditionalArrow),l&&1===c.length&&(this.state=i,e.push(c[0].start),this.state.noArrowAt=e,({consequent:o,failed:l}=this.tryParseConditionalConsequent()))}return this.getArrowLikeExpressions(o,!0),this.state.noArrowAt=s,this.expect(14),a.test=e,a.consequent=o,a.alternate=this.forwardNoArrowParamsConversionAt(a,()=>this.parseMaybeAssign(void 0,void 0)),this.finishNode(a,"ConditionalExpression")}tryParseConditionalConsequent(){this.state.noArrowParamsConversionAt.push(this.state.start);const e=this.parseMaybeAssignAllowIn(),t=!this.match(14);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.finishArrowValidation(e):n.push(e),r.push(e.body)):"ConditionalExpression"===e.type&&(r.push(e.consequent),r.push(e.alternate))}return t?(n.forEach(e=>this.finishArrowValidation(e)),[n,[]]):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=>e.params.every(e=>this.isAssignable(e,!0)))}finishArrowValidation(e){var t;this.toAssignableList(e.params,null==(t=e.extra)?void 0:t.trailingComma,!1),this.scope.enter(6),super.checkParams(e,!1,!0),this.scope.exit()}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(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){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(122)){e.exportKind="type";const t=this.startNode();return this.next(),this.match(5)?(e.specifiers=this.parseExportSpecifiers(!0),this.parseExportFrom(e),null):this.flowParseTypeAlias(t)}if(this.isContextual(123)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseOpaqueType(t,!1)}if(this.isContextual(121)){e.exportKind="type";const t=this.startNode();return this.next(),this.flowParseInterface(t)}if(this.shouldParseEnums()&&this.isContextual(118)){e.exportKind="value";const t=this.startNode();return this.next(),this.flowParseEnumDeclaration(t)}return super.parseExportDeclaration(e)}eatExportStar(e){return!!super.eatExportStar(...arguments)||!(!this.isContextual(122)||51!==this.lookahead().type)&&(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.match(45)&&(e.typeParameters=this.flowParseTypeParameterDeclaration())}parseClassMember(e,t,r){const n=this.state.start;if(this.isContextual(117)){if(this.parseClassMemberFromModifier(e,t))return;t.declare=!0}super.parseClassMember(e,t,r),t.declare&&("ClassProperty"!==t.type&&"ClassPrivateProperty"!==t.type&&"PropertyDefinition"!==t.type?this.raise(n,Be.DeclareClassElement):t.value&&this.raise(t.value.start,Be.DeclareClassFieldInitializer))}isIterator(e){return"iterator"===e||"asyncIterator"===e}readIterator(){const e=super.readWord1(),t="@@"+e;this.isIterator(e)&&this.state.inType||this.raise(this.state.pos,y.InvalidIdentifier,t),this.finishToken(124,t)}getTokenFromCode(e){const t=this.input.charCodeAt(this.state.pos+1);return 123===e&&124===t?this.finishOp(6,2):!this.state.inType||62!==e&&60!==e?this.state.inType&&63===e?46===t?this.finishOp(18,2):this.finishOp(17,1):function(e,t){return 64===e&&64===t}(e,t)?(this.state.pos+=2,this.readIterator()):super.getTokenFromCode(e):this.finishOp(62===e?46:45,1)}isAssignable(e,t){return"TypeCastExpression"===e.type?this.isAssignable(e.expression,t):super.isAssignable(e,t)}toAssignable(e,t=!1){return"TypeCastExpression"===e.type?super.toAssignable(this.typeCastToParameter(e),t):super.toAssignable(e,t)}toAssignableList(e,t,r){for(let n=0;n<e.length;n++){const t=e[n];"TypeCastExpression"===(null==t?void 0:t.type)&&(e[n]=this.typeCastToParameter(t))}return super.toAssignableList(e,t,r)}toReferencedList(e,t){for(let n=0;n<e.length;n++){var r;const i=e[n];!i||"TypeCastExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized||!(e.length>1)&&t||this.raise(i.typeAnnotation.start,Be.TypeCastInPattern)}return e}parseArrayLike(e,t,r,n){const i=super.parseArrayLike(e,t,r,n);return t&&!this.state.maybeInArrowParameters&&this.toReferencedList(i.elements),i}checkLVal(e,...t){if("TypeCastExpression"!==e.type)return super.checkLVal(e,...t)}parseClassProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassProperty(e)}parseClassPrivateProperty(e){return this.match(14)&&(e.typeAnnotation=this.flowParseTypeAnnotation()),super.parseClassPrivateProperty(e)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(14)||super.isClassProperty()}isNonstaticConstructor(e){return!this.match(14)&&super.isNonstaticConstructor(e)}pushClassMethod(e,t,r,n,i,s){if(t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(45)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassMethod(e,t,r,n,i,s),t.params&&i){const e=t.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,Be.ThisParamBannedInConstructor)}else if("MethodDefinition"===t.type&&i&&t.value.params){const e=t.value.params;e.length>0&&this.isThisParam(e[0])&&this.raise(t.start,Be.ThisParamBannedInConstructor)}}pushClassPrivateMethod(e,t,r,n){t.variance&&this.unexpected(t.variance.start),delete t.variance,this.match(45)&&(t.typeParameters=this.flowParseTypeParameterDeclaration()),super.pushClassPrivateMethod(e,t,r,n)}parseClassSuper(e){if(super.parseClassSuper(e),e.superClass&&this.match(45)&&(e.superTypeParameters=this.flowParseTypeParameterInstantiation()),this.isContextual(106)){this.next();const t=e.implements=[];do{const e=this.startNode();e.id=this.flowParseRestrictedIdentifier(!0),this.match(45)?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,t.push(this.finishNode(e,"ClassImplements"))}while(this.eat(12))}}checkGetterSetterParams(e){super.checkGetterSetterParams(e);const t=this.getObjectOrClassMethodParams(e);if(t.length>0){const r=t[0];this.isThisParam(r)&&"get"===e.kind?this.raise(r.start,Be.GetterMayNotHaveThisParam):this.isThisParam(r)&&this.raise(r.start,Be.SetterMayNotHaveThisParam)}}parsePropertyNamePrefixOperator(e){e.variance=this.flowParseVariance()}parseObjPropValue(e,t,r,n,i,s,a,o){let l;e.variance&&this.unexpected(e.variance.start),delete e.variance,this.match(45)&&!a&&(l=this.flowParseTypeParameterDeclaration(),this.match(10)||this.unexpected()),super.parseObjPropValue(e,t,r,n,i,s,a,o),l&&((e.value||e).typeParameters=l)}parseAssignableListItemTypes(e){return this.eat(17)&&("Identifier"!==e.type&&this.raise(e.start,Be.PatternIsOptional),this.isThisParam(e)&&this.raise(e.start,Be.ThisParamMayNotBeOptional),e.optional=!0),this.match(14)?e.typeAnnotation=this.flowParseTypeAnnotation():this.isThisParam(e)&&this.raise(e.start,Be.ThisParamAnnotationRequired),this.match(29)&&this.isThisParam(e)&&this.raise(e.start,Be.ThisParamNoDefault),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,Be.TypeBeforeInitializer),n}shouldParseDefaultImport(e){return Le(e)?Fe(this.state.type):super.shouldParseDefaultImport(e)}parseImportSpecifierLocal(e,t,r,n){t.local=Le(e)?this.flowParseRestrictedIdentifier(!0,!0):this.parseIdentifier(),this.checkLVal(t.local,n,9),e.specifiers.push(this.finishNode(t,r))}maybeParseDefaultImportSpecifier(e){e.importKind="value";let t=null;if(this.match(83)?t="typeof":this.isContextual(122)&&(t="type"),t){const r=this.lookahead(),{type:n}=r;"type"===t&&51===n&&this.unexpected(r.start),(Fe(n)||5===n||51===n)&&(this.next(),e.importKind=t)}return super.maybeParseDefaultImportSpecifier(e)}parseImportSpecifier(e,t,r,n){const i=e.imported;let s=null;"Identifier"===i.type&&("type"===i.name?s="type":"typeof"===i.name&&(s="typeof"));let a=!1;if(this.isContextual(89)&&!this.isLookaheadContextual("as")){const t=this.parseIdentifier(!0);null===s||L(this.state.type)?(e.imported=i,e.importKind=null,e.local=this.parseIdentifier()):(e.imported=t,e.importKind=s,e.local=je(t))}else{if(null!==s&&L(this.state.type))e.imported=this.parseIdentifier(!0),e.importKind=s;else{if(t)throw this.raise(e.start,y.ImportBindingIsString,i.value);e.imported=i,e.importKind=null}this.eatContextual(89)?e.local=this.parseIdentifier():(a=!0,e.local=je(e.imported))}const o=Le(e);return r&&o&&this.raise(e.start,Be.ImportTypeShorthandOnlyInPureImport),(r||o)&&this.checkReservedType(e.local.name,e.local.start,!0),!a||r||o||this.checkReservedWord(e.local.name,e.start,!0,!0),this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}parseBindingAtom(){switch(this.state.type){case 74:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseFunctionParams(e,t){const r=e.kind;"get"!==r&&"set"!==r&&this.match(45)&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),super.parseFunctionParams(e,t)}parseVarId(e,t){super.parseVarId(e,t),this.match(14)&&(e.id.typeAnnotation=this.flowParseTypeAnnotation(),this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){if(this.match(14)){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(14)||super.shouldParseAsyncArrow()}parseMaybeAssign(e,t){var r;let n,i=null;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(i=this.state.clone(),n=this.tryParse(()=>super.parseMaybeAssign(e,t),i),!n.error)return n.node;const{context:r}=this.state,s=r[r.length-1];s!==E.j_oTag&&s!==E.j_expr||r.pop()}if(null!=(r=n)&&r.error||this.match(45)){var s,a;let r;i=i||this.state.clone();const o=this.tryParse(n=>{var i;r=this.flowParseTypeParameterDeclaration();const s=this.forwardNoArrowParamsConversionAt(r,()=>{const n=super.parseMaybeAssign(e,t);return this.resetStartLocationFromNode(n,r),n});null!=(i=s.extra)&&i.parenthesized&&n();const a=this.maybeUnwrapTypeCastExpression(s);return"ArrowFunctionExpression"!==a.type&&n(),a.typeParameters=r,this.resetStartLocationFromNode(a,r),s},i);let l=null;if(o.node&&"ArrowFunctionExpression"===this.maybeUnwrapTypeCastExpression(o.node).type){if(!o.error&&!o.aborted)return o.node.async&&this.raise(r.start,Be.UnexpectedTypeParameterBeforeAsyncArrowFunction),o.node;l=o.node}if(null!=(s=n)&&s.node)return this.state=n.failState,n.node;if(l)return this.state=o.failState,l;if(null!=(a=n)&&a.thrown)throw n.error;if(o.thrown)throw o.error;throw this.raise(r.start,Be.UnexpectedTokenAfterTypeParameter)}return super.parseMaybeAssign(e,t)}parseArrow(e){if(this.match(14)){const t=this.tryParse(()=>{const t=this.state.noAnonFunctionType;this.state.noAnonFunctionType=!0;const r=this.startNode();return[r.typeAnnotation,e.predicate]=this.flowParseTypeAndPredicateInitialiser(),this.state.noAnonFunctionType=t,this.canInsertSemicolon()&&this.unexpected(),this.match(19)||this.unexpected(),r});if(t.thrown)return null;t.error&&(this.state=t.failState),e.returnType=t.node.typeAnnotation?this.finishNode(t.node,"TypeAnnotation"):null}return super.parseArrow(e)}shouldParseArrow(e){return this.match(14)||super.shouldParseArrow(e)}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)){for(let t=0;t<e.params.length;t++)this.isThisParam(e.params[t])&&t>0&&this.raise(e.params[t].start,Be.ThisParamMustBeFirst);return super.checkParams(...arguments)}}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(11,!1),e=this.finishNode(n,"CallExpression")}else if("Identifier"===e.type&&"async"===e.name&&this.match(45)){const i=this.state.clone(),s=this.tryParse(e=>this.parseAsyncArrowWithTypeParameters(t,r)||e(),i);if(!s.error&&!s.aborted)return s.node;const a=this.tryParse(()=>super.parseSubscripts(e,t,r,n),i);if(a.node&&!a.error)return a.node;if(s.node)return this.state=s.failState,s.node;if(a.node)return this.state=a.failState,a.node;throw s.error||a.error}return super.parseSubscripts(e,t,r,n)}parseSubscript(e,t,r,n,i){if(this.match(18)&&this.isLookaheadToken_lt()){if(i.optionalChainMember=!0,n)return i.stop=!0,e;this.next();const s=this.startNodeAt(t,r);return s.callee=e,s.typeArguments=this.flowParseTypeParameterInstantiation(),this.expect(10),s.arguments=this.parseCallExpressionArguments(11,!1),s.optional=!0,this.finishCallExpression(s,!0)}if(!n&&this.shouldParseTypes()&&this.match(45)){const n=this.startNodeAt(t,r);n.callee=e;const s=this.tryParse(()=>(n.typeArguments=this.flowParseTypeParameterInstantiationCallOrNew(),this.expect(10),n.arguments=this.parseCallExpressionArguments(11,!1),i.optionalChainMember&&(n.optional=!1),this.finishCallExpression(n,i.optionalChainMember)));if(s.node)return s.error&&(this.state=s.failState),s.node}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){let t=null;this.shouldParseTypes()&&this.match(45)&&(t=this.tryParse(()=>this.flowParseTypeParameterInstantiationCallOrNew()).node),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(9,2)}parseTopLevel(e,t){const r=super.parseTopLevel(e,t);return this.state.hasFlowComment&&this.raise(this.state.pos,Be.UnterminatedFlowComment),r}skipBlockComment(){if(this.hasPlugin("flowComments")&&this.skipFlowComment())return this.state.hasFlowComment&&this.unexpected(null,Be.NestedFlowComment),this.hasFlowCommentCompletion(),this.state.pos+=this.skipFlowComment(),void(this.state.hasFlowComment=!0);if(!this.state.hasFlowComment)return super.skipBlockComment();{const e=this.input.indexOf("*-/",this.state.pos+=2);if(-1===e)throw this.raise(this.state.pos-2,y.UnterminatedComment);this.state.pos=e+3}}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(){const e=this.input.indexOf("*/",this.state.pos);if(-1===e)throw this.raise(this.state.pos,y.UnterminatedComment)}flowEnumErrorBooleanMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumBooleanMemberNotInitialized,r,t)}flowEnumErrorInvalidMemberName(e,{enumName:t,memberName:r}){const n=r[0].toUpperCase()+r.slice(1);this.raise(e,Be.EnumInvalidMemberName,r,n,t)}flowEnumErrorDuplicateMemberName(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumDuplicateMemberName,r,t)}flowEnumErrorInconsistentMemberValues(e,{enumName:t}){this.raise(e,Be.EnumInconsistentMemberValues,t)}flowEnumErrorInvalidExplicitType(e,{enumName:t,suppliedType:r}){return this.raise(e,null===r?Be.EnumInvalidExplicitTypeUnknownSupplied:Be.EnumInvalidExplicitType,t,r)}flowEnumErrorInvalidMemberInitializer(e,{enumName:t,explicitType:r,memberName:n}){let i=null;switch(r){case"boolean":case"number":case"string":i=Be.EnumInvalidMemberInitializerPrimaryType;break;case"symbol":i=Be.EnumInvalidMemberInitializerSymbolType;break;default:i=Be.EnumInvalidMemberInitializerUnknownType}return this.raise(e,i,t,n,r)}flowEnumErrorNumberMemberNotInitialized(e,{enumName:t,memberName:r}){this.raise(e,Be.EnumNumberMemberNotInitialized,t,r)}flowEnumErrorStringMemberInconsistentlyInitailized(e,{enumName:t}){this.raise(e,Be.EnumStringMemberInconsistentlyInitailized,t)}flowEnumMemberInit(){const e=this.state.start,t=()=>this.match(12)||this.match(8);switch(this.state.type){case 126:{const r=this.parseNumericLiteral(this.state.value);return t()?{type:"number",pos:r.start,value:r}:{type:"invalid",pos:e}}case 125:{const r=this.parseStringLiteral(this.state.value);return t()?{type:"string",pos:r.start,value:r}:{type:"invalid",pos:e}}case 81:case 82:{const r=this.parseBooleanLiteral(this.match(81));return t()?{type:"boolean",pos:r.start,value:r}:{type:"invalid",pos:e}}default:return{type:"invalid",pos:e}}}flowEnumMemberRaw(){const e=this.state.start,t=this.parseIdentifier(!0),r=this.eat(29)?this.flowEnumMemberInit():{type:"none",pos:e};return{id:t,init:r}}flowEnumCheckExplicitTypeMismatch(e,t,r){const{explicitType:n}=t;null!==n&&n!==r&&this.flowEnumErrorInvalidMemberInitializer(e,t)}flowEnumMembers({enumName:e,explicitType:t}){const r=new Set,n={booleanMembers:[],numberMembers:[],stringMembers:[],defaultedMembers:[]};let i=!1;for(;!this.match(8);){if(this.eat(21)){i=!0;break}const s=this.startNode(),{id:a,init:o}=this.flowEnumMemberRaw(),l=a.name;if(""===l)continue;/^[a-z]/.test(l)&&this.flowEnumErrorInvalidMemberName(a.start,{enumName:e,memberName:l}),r.has(l)&&this.flowEnumErrorDuplicateMemberName(a.start,{enumName:e,memberName:l}),r.add(l);const c={enumName:e,explicitType:t,memberName:l};switch(s.id=a,o.type){case"boolean":this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"boolean"),s.init=o.value,n.booleanMembers.push(this.finishNode(s,"EnumBooleanMember"));break;case"number":this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"number"),s.init=o.value,n.numberMembers.push(this.finishNode(s,"EnumNumberMember"));break;case"string":this.flowEnumCheckExplicitTypeMismatch(o.pos,c,"string"),s.init=o.value,n.stringMembers.push(this.finishNode(s,"EnumStringMember"));break;case"invalid":throw this.flowEnumErrorInvalidMemberInitializer(o.pos,c);case"none":switch(t){case"boolean":this.flowEnumErrorBooleanMemberNotInitialized(o.pos,c);break;case"number":this.flowEnumErrorNumberMemberNotInitialized(o.pos,c);break;default:n.defaultedMembers.push(this.finishNode(s,"EnumDefaultedMember"))}}this.match(8)||this.expect(12)}return{members:n,hasUnknownMembers:i}}flowEnumStringMembers(e,t,{enumName:r}){if(0===e.length)return t;if(0===t.length)return e;if(t.length>e.length){for(const t of e)this.flowEnumErrorStringMemberInconsistentlyInitailized(t.start,{enumName:r});return t}for(const n of t)this.flowEnumErrorStringMemberInconsistentlyInitailized(n.start,{enumName:r});return e}flowEnumParseExplicitType({enumName:e}){if(this.eatContextual(97)){if(!B(this.state.type))throw this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:null});const{value:t}=this.state;return this.next(),"boolean"!==t&&"number"!==t&&"string"!==t&&"symbol"!==t&&this.flowEnumErrorInvalidExplicitType(this.state.start,{enumName:e,suppliedType:t}),t}return null}flowEnumBody(e,{enumName:t,nameLoc:r}){const n=this.flowEnumParseExplicitType({enumName:t});this.expect(5);const{members:i,hasUnknownMembers:s}=this.flowEnumMembers({enumName:t,explicitType:n});switch(e.hasUnknownMembers=s,n){case"boolean":return e.explicitType=!0,e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody");case"number":return e.explicitType=!0,e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody");case"string":return e.explicitType=!0,e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody");case"symbol":return e.members=i.defaultedMembers,this.expect(8),this.finishNode(e,"EnumSymbolBody");default:{const n=()=>(e.members=[],this.expect(8),this.finishNode(e,"EnumStringBody"));e.explicitType=!1;const s=i.booleanMembers.length,a=i.numberMembers.length,o=i.stringMembers.length,l=i.defaultedMembers.length;if(s||a||o||l){if(s||a){if(!a&&!o&&s>=l){for(const e of i.defaultedMembers)this.flowEnumErrorBooleanMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=i.booleanMembers,this.expect(8),this.finishNode(e,"EnumBooleanBody")}if(!s&&!o&&a>=l){for(const e of i.defaultedMembers)this.flowEnumErrorNumberMemberNotInitialized(e.start,{enumName:t,memberName:e.id.name});return e.members=i.numberMembers,this.expect(8),this.finishNode(e,"EnumNumberBody")}return this.flowEnumErrorInconsistentMemberValues(r,{enumName:t}),n()}return e.members=this.flowEnumStringMembers(i.stringMembers,i.defaultedMembers,{enumName:t}),this.expect(8),this.finishNode(e,"EnumStringBody")}return n()}}}flowParseEnumDeclaration(e){const t=this.parseIdentifier();return e.id=t,e.body=this.flowEnumBody(this.startNode(),{enumName:t.name,nameLoc:t.start}),this.finishNode(e,"EnumDeclaration")}isLookaheadToken_lt(){const e=this.nextTokenStart();if(60===this.input.charCodeAt(e)){const t=this.input.charCodeAt(e+1);return 60!==t&&61!==t}return!1}maybeUnwrapTypeCastExpression(e){return"TypeCastExpression"===e.type?e.expression:e}},typescript:e=>class extends e{getScopeHandler(){return $e}tsIsIdentifier(){return B(this.state.type)}tsTokenCanFollowModifier(){return(this.match(0)||this.match(5)||this.match(51)||this.match(21)||this.match(130)||this.isLiteralPropertyName())&&!this.hasPrecedingLineBreak()}tsNextTokenCanFollowModifier(){return this.next(),this.tsTokenCanFollowModifier()}tsParseModifier(e,t){if(!B(this.state.type))return;const r=this.state.value;if(-1!==e.indexOf(r)){if(t&&this.tsIsStartOfStaticBlocks())return;if(this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this)))return r}}tsParseModifiers(e,t,r,n,i){const s=(t,r,n,i)=>{r===n&&e[i]&&this.raise(t,Xe.InvalidModifiersOrder,n,i)},a=(t,r,n,i)=>{(e[n]&&r===i||e[i]&&r===n)&&this.raise(t,Xe.IncompatibleModifiers,n,i)};for(;;){const o=this.state.start,l=this.tsParseModifier(t.concat(null!=r?r:[]),i);if(!l)break;ze(l)?e.accessibility?this.raise(o,Xe.DuplicateAccessibilityModifier):(s(o,l,l,"override"),s(o,l,l,"static"),s(o,l,l,"readonly"),e.accessibility=l):(Object.hasOwnProperty.call(e,l)?this.raise(o,Xe.DuplicateModifier,l):(s(o,l,"static","readonly"),s(o,l,"static","override"),s(o,l,"override","readonly"),s(o,l,"abstract","override"),a(o,l,"declare","override"),a(o,l,"static","abstract")),e[l]=!0),null!=r&&r.includes(l)&&this.raise(o,n,l)}}tsIsListTerminator(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(8);case"HeritageClauseElement":return this.match(5);case"TupleElementTypes":return this.match(3);case"TypeParametersOrArguments":return this.match(46)}throw new Error("Unreachable")}tsParseList(e,t){const r=[];for(;!this.tsIsListTerminator(e);)r.push(t());return r}tsParseDelimitedList(e,t,r){return function(e){if(null==e)throw new Error(`Unexpected ${e} value.`);return e}(this.tsParseDelimitedListWorker(e,t,!0,r))}tsParseDelimitedListWorker(e,t,r,n){const i=[];let s=-1;for(;!this.tsIsListTerminator(e);){s=-1;const n=t();if(null==n)return;if(i.push(n),!this.eat(12)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(12))}s=this.state.lastTokStart}return n&&(n.value=s),i}tsParseBracketedList(e,t,r,n,i){n||(r?this.expect(0):this.expect(45));const s=this.tsParseDelimitedList(e,t,i);return r?this.expect(3):this.expect(46),s}tsParseImportType(){const e=this.startNode();return this.expect(79),this.expect(10),this.match(125)||this.raise(this.state.start,Xe.UnsupportedImportTypeArgument),e.argument=this.parseExprAtom(),this.expect(11),this.eat(16)&&(e.qualifier=this.tsParseEntityName(!0)),this.match(45)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSImportType")}tsParseEntityName(e){let t=this.parseIdentifier();for(;this.eat(16);){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.match(45)&&(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),t.asserts=!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(83),this.match(79)?e.exprName=this.tsParseImportType():e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")}tsParseTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsEatThenParseType(77),e.default=this.tsEatThenParseType(29),this.finishNode(e,"TSTypeParameter")}tsTryParseTypeParameters(){if(this.match(45))return this.tsParseTypeParameters()}tsParseTypeParameters(){const e=this.startNode();this.match(45)||this.match(134)?this.next():this.unexpected();const t={value:-1};return e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0,t),0===e.params.length&&this.raise(e.start,Xe.EmptyTypeParameters),-1!==t.value&&this.addExtra(e,"trailingComma",t.value),this.finishNode(e,"TSTypeParameterDeclaration")}tsTryNextParseConstantContext(){return 71===this.lookahead().type?(this.next(),this.tsParseTypeReference()):null}tsFillSignature(e,t){const r=19===e;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(10),t.parameters=this.tsParseBindingListForSignature(),(r||this.match(e))&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))}tsParseBindingListForSignature(){return this.parseBindingList(11,41).map(e=>("Identifier"!==e.type&&"RestElement"!==e.type&&"ObjectPattern"!==e.type&&"ArrayPattern"!==e.type&&this.raise(e.start,Xe.UnsupportedSignatureParameterKind,e.type),e))}tsParseTypeMemberSemicolon(){this.eat(12)||this.isLineTerminator()||this.expect(13)}tsParseSignatureMember(e,t){return this.tsFillSignature(14,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)}tsIsUnambiguouslyIndexSignature(){return this.next(),!!B(this.state.type)&&(this.next(),this.match(14))}tsTryParseIndexSignature(e){if(!this.match(0)||!this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this)))return;this.expect(0);const t=this.parseIdentifier();t.typeAnnotation=this.tsParseTypeAnnotation(),this.resetEndLocation(t),this.expect(3),e.parameters=[t];const r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}tsParsePropertyOrMethodSignature(e,t){this.eat(17)&&(e.optional=!0);const r=e;if(this.match(10)||this.match(45)){t&&this.raise(e.start,Xe.ReadonlyForMethodSignature);const n=r;if(n.kind&&this.match(45)&&this.raise(this.state.pos,Xe.AccesorCannotHaveTypeParameters),this.tsFillSignature(14,n),this.tsParseTypeMemberSemicolon(),"get"===n.kind)n.parameters.length>0&&(this.raise(this.state.pos,y.BadGetterArity),this.isThisParam(n.parameters[0])&&this.raise(this.state.pos,Xe.AccesorCannotDeclareThisParameter));else if("set"===n.kind){if(1!==n.parameters.length)this.raise(this.state.pos,y.BadSetterArity);else{const e=n.parameters[0];this.isThisParam(e)&&this.raise(this.state.pos,Xe.AccesorCannotDeclareThisParameter),"Identifier"===e.type&&e.optional&&this.raise(this.state.pos,Xe.SetAccesorCannotHaveOptionalParameter),"RestElement"===e.type&&this.raise(this.state.pos,Xe.SetAccesorCannotHaveRestParameter)}n.typeAnnotation&&this.raise(n.typeAnnotation.start,Xe.SetAccesorCannotHaveReturnType)}else n.kind="method";return this.finishNode(n,"TSMethodSignature")}{const e=r;t&&(e.readonly=!0);const n=this.tsTryParseTypeAnnotation();return n&&(e.typeAnnotation=n),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSPropertySignature")}}tsParseTypeMember(){const e=this.startNode();if(this.match(10)||this.match(45))return this.tsParseSignatureMember("TSCallSignatureDeclaration",e);if(this.match(73)){const t=this.startNode();return this.next(),this.match(10)||this.match(45)?this.tsParseSignatureMember("TSConstructSignatureDeclaration",e):(e.key=this.createIdentifier(t,"new"),this.tsParsePropertyOrMethodSignature(e,!1))}this.tsParseModifiers(e,["readonly"],["declare","abstract","private","protected","public","static","override"],Xe.InvalidModifierOnTypeMember);const t=this.tsTryParseIndexSignature(e);return t||(this.parsePropertyName(e),e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||!this.tsTokenCanFollowModifier()||(e.kind=e.key.name,this.parsePropertyName(e)),this.tsParsePropertyOrMethodSignature(e,!!e.readonly))}tsParseTypeLiteral(){const e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")}tsParseObjectTypeMembers(){this.expect(5);const e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(8),e}tsIsStartOfMappedType(){return this.next(),this.eat(49)?this.isContextual(114):(this.isContextual(114)&&this.next(),!!this.match(0)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(54))))}tsParseMappedTypeParameter(){const e=this.startNode();return e.name=this.tsParseTypeParameterName(),e.constraint=this.tsExpectThenParseType(54),this.finishNode(e,"TSTypeParameter")}tsParseMappedType(){const e=this.startNode();return this.expect(5),this.match(49)?(e.readonly=this.state.value,this.next(),this.expectContextual(114)):this.eatContextual(114)&&(e.readonly=!0),this.expect(0),e.typeParameter=this.tsParseMappedTypeParameter(),e.nameType=this.eatContextual(89)?this.tsParseType():null,this.expect(3),this.match(49)?(e.optional=this.state.value,this.next(),this.expect(17)):this.eat(17)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(8),this.finishNode(e,"TSMappedType")}tsParseTupleType(){const e=this.startNode();e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseTupleElementType.bind(this),!0,!1);let t=!1,r=null;return e.elementTypes.forEach(e=>{var n;let{type:i}=e;!t||"TSRestType"===i||"TSOptionalType"===i||"TSNamedTupleMember"===i&&e.optional||this.raise(e.start,Xe.OptionalTypeBeforeRequired),t=t||"TSNamedTupleMember"===i&&e.optional||"TSOptionalType"===i,"TSRestType"===i&&(e=e.typeAnnotation,i=e.type);const s="TSNamedTupleMember"===i;r=null!=(n=r)?n:s,r!==s&&this.raise(e.start,Xe.MixedLabeledAndUnlabeledElements)}),this.finishNode(e,"TSTupleType")}tsParseTupleElementType(){const{start:e,startLoc:t}=this.state,r=this.eat(21);let n=this.tsParseType();const i=this.eat(17),s=this.eat(14);if(s){const e=this.startNodeAtNode(n);e.optional=i,"TSTypeReference"!==n.type||n.typeParameters||"Identifier"!==n.typeName.type?(this.raise(n.start,Xe.InvalidTupleMemberLabel),e.label=n):e.label=n.typeName,e.elementType=this.tsParseType(),n=this.finishNode(e,"TSNamedTupleMember")}else if(i){const e=this.startNodeAtNode(n);e.typeAnnotation=n,n=this.finishNode(e,"TSOptionalType")}if(r){const r=this.startNodeAt(e,t);r.typeAnnotation=n,n=this.finishNode(r,"TSRestType")}return n}tsParseParenthesizedType(){const e=this.startNode();return this.expect(10),e.typeAnnotation=this.tsParseType(),this.expect(11),this.finishNode(e,"TSParenthesizedType")}tsParseFunctionOrConstructorType(e,t){const r=this.startNode();return"TSConstructorType"===e&&(r.abstract=!!t,t&&this.next(),this.next()),this.tsFillSignature(19,r),this.finishNode(r,e)}tsParseLiteralTypeNode(){const e=this.startNode();return e.literal=(()=>{switch(this.state.type){case 126:case 127:case 125:case 81:case 82:return this.parseExprAtom();default:throw this.unexpected()}})(),this.finishNode(e,"TSLiteralType")}tsParseTemplateLiteralType(){const e=this.startNode();return e.literal=this.parseTemplate(!1),this.finishNode(e,"TSLiteralType")}parseTemplateSubstitution(){return this.state.inType?this.tsParseType():super.parseTemplateSubstitution()}tsParseThisTypeOrThisTypePredicate(){const e=this.tsParseThisTypeNode();return this.isContextual(109)&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(e):e}tsParseNonArrayType(){switch(this.state.type){case 125:case 126:case 127:case 81:case 82:return this.tsParseLiteralTypeNode();case 49:if("-"===this.state.value){const e=this.startNode(),t=this.lookahead();if(126!==t.type&&127!==t.type)throw this.unexpected();return e.literal=this.parseMaybeUnary(),this.finishNode(e,"TSLiteralType")}break;case 74:return this.tsParseThisTypeOrThisTypePredicate();case 83:return this.tsParseTypeQuery();case 79:return this.tsParseImportType();case 5:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case 0:return this.tsParseTupleType();case 10:return this.tsParseParenthesizedType();case 25:case 24:return this.tsParseTemplateLiteralType();default:{const{type:e}=this.state;if(B(e)||84===e||80===e){const t=84===e?"TSVoidKeyword":80===e?"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!==t&&46!==this.lookaheadCharCode()){const e=this.startNode();return this.next(),this.finishNode(e,t)}return this.tsParseTypeReference()}}}throw this.unexpected()}tsParseArrayTypeOrHigher(){let e=this.tsParseNonArrayType();for(;!this.hasPrecedingLineBreak()&&this.eat(0);)if(this.match(3)){const t=this.startNodeAtNode(e);t.elementType=e,this.expect(3),e=this.finishNode(t,"TSArrayType")}else{const t=this.startNodeAtNode(e);t.objectType=e,t.indexType=this.tsParseType(),this.expect(3),e=this.finishNode(t,"TSIndexedAccessType")}return e}tsParseTypeOperator(){const e=this.startNode(),t=this.state.value;return this.next(),e.operator=t,e.typeAnnotation=this.tsParseTypeOperatorOrHigher(),"readonly"===t&&this.tsCheckTypeAnnotationForReadOnly(e),this.finishNode(e,"TSTypeOperator")}tsCheckTypeAnnotationForReadOnly(e){switch(e.typeAnnotation.type){case"TSTupleType":case"TSArrayType":return;default:this.raise(e.start,Xe.UnexpectedReadonly)}}tsParseInferType(){const e=this.startNode();this.expectContextual(108);const t=this.startNode();return t.name=this.tsParseTypeParameterName(),e.typeParameter=this.finishNode(t,"TSTypeParameter"),this.finishNode(e,"TSInferType")}tsParseTypeOperatorOrHigher(){const e=(t=this.state.type,t>=113&&t<=115&&!this.state.containsEsc);var t;return e?this.tsParseTypeOperator():this.isContextual(108)?this.tsParseInferType():this.tsParseArrayTypeOrHigher()}tsParseUnionOrIntersectionType(e,t,r){const n=this.startNode(),i=this.eat(r),s=[];do{s.push(t())}while(this.eat(r));return 1!==s.length||i?(n.types=s,this.finishNode(n,e)):s[0]}tsParseIntersectionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),43)}tsParseUnionTypeOrHigher(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),41)}tsIsStartOfFunctionType(){return!!this.match(45)||this.match(10)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))}tsSkipParameterStart(){if(B(this.state.type)||this.match(74))return this.next(),!0;if(this.match(5)){let e=1;for(this.next();e>0;)this.match(5)?++e:this.match(8)&&--e,this.next();return!0}if(this.match(0)){let e=1;for(this.next();e>0;)this.match(0)?++e:this.match(3)&&--e,this.next();return!0}return!1}tsIsUnambiguouslyStartOfFunctionType(){if(this.next(),this.match(11)||this.match(21))return!0;if(this.tsSkipParameterStart()){if(this.match(14)||this.match(12)||this.match(17)||this.match(29))return!0;if(this.match(11)&&(this.next(),this.match(19)))return!0}return!1}tsParseTypeOrTypePredicateAnnotation(e){return this.tsInType(()=>{const t=this.startNode();this.expect(e);const r=this.startNode(),n=!!this.tsTryParse(this.tsParseTypePredicateAsserts.bind(this));if(n&&this.match(74)){let e=this.tsParseThisTypeOrThisTypePredicate();return"TSThisType"===e.type?(r.parameterName=e,r.asserts=!0,r.typeAnnotation=null,e=this.finishNode(r,"TSTypePredicate")):(this.resetStartLocationFromNode(e,r),e.asserts=!0),t.typeAnnotation=e,this.finishNode(t,"TSTypeAnnotation")}const i=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!i)return n?(r.parameterName=this.parseIdentifier(),r.asserts=n,r.typeAnnotation=null,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")):this.tsParseTypeAnnotation(!1,t);const s=this.tsParseTypeAnnotation(!1);return r.parameterName=i,r.typeAnnotation=s,r.asserts=n,t.typeAnnotation=this.finishNode(r,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")})}tsTryParseTypeOrTypePredicateAnnotation(){return this.match(14)?this.tsParseTypeOrTypePredicateAnnotation(14):void 0}tsTryParseTypeAnnotation(){return this.match(14)?this.tsParseTypeAnnotation():void 0}tsTryParseType(){return this.tsEatThenParseType(14)}tsParseTypePredicatePrefix(){const e=this.parseIdentifier();if(this.isContextual(109)&&!this.hasPrecedingLineBreak())return this.next(),e}tsParseTypePredicateAsserts(){if(102!==this.state.type)return!1;const e=this.state.containsEsc;return this.next(),!(!B(this.state.type)&&!this.match(74))&&(e&&this.raise(this.state.lastTokStart,y.InvalidEscapedReservedWord,"asserts"),!0)}tsParseTypeAnnotation(e=!0,t=this.startNode()){return this.tsInType(()=>{e&&this.expect(14),t.typeAnnotation=this.tsParseType()}),this.finishNode(t,"TSTypeAnnotation")}tsParseType(){Je(this.state.inType);const e=this.tsParseNonConditionalType();if(this.hasPrecedingLineBreak()||!this.eat(77))return e;const t=this.startNodeAtNode(e);return t.checkType=e,t.extendsType=this.tsParseNonConditionalType(),this.expect(17),t.trueType=this.tsParseType(),this.expect(14),t.falseType=this.tsParseType(),this.finishNode(t,"TSConditionalType")}isAbstractConstructorSignature(){return this.isContextual(116)&&73===this.lookahead().type}tsParseNonConditionalType(){return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(73)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.isAbstractConstructorSignature()?this.tsParseFunctionOrConstructorType("TSConstructorType",!0):this.tsParseUnionTypeOrHigher()}tsParseTypeAssertion(){this.getPluginOption("typescript","disallowAmbiguousJSXLike")&&this.raise(this.state.start,Xe.ReservedTypeAssertion);const e=this.startNode(),t=this.tsTryNextParseConstantContext();return e.typeAnnotation=t||this.tsNextThenParseType(),this.expect(46),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,Xe.EmptyHeritageClauseType,e),r}tsParseExpressionWithTypeArguments(){const e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.match(45)&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")}tsParseInterfaceDeclaration(e){B(this.state.type)?(e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript interface declaration",130)):(e.id=null,this.raise(this.state.start,Xe.MissingInterfaceName)),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(77)&&(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,"typescript type alias",2),e.typeParameters=this.tsTryParseTypeParameters(),e.typeAnnotation=this.tsInType(()=>{if(this.expect(29),this.isContextual(107)&&16!==this.lookahead().type){const e=this.startNode();return this.next(),this.finishNode(e,"TSIntrinsicKeyword")}return this.tsParseType()}),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(125)?this.parseExprAtom():this.parseIdentifier(!0),this.eat(29)&&(e.initializer=this.parseMaybeAssignAllowIn()),this.finishNode(e,"TSEnumMember")}tsParseEnumDeclaration(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.checkLVal(e.id,"typescript enum declaration",t?779:267),this.expect(5),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(8),this.finishNode(e,"TSEnumDeclaration")}tsParseModuleBlock(){const e=this.startNode();return this.scope.enter(0),this.expect(5),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,8),this.scope.exit(),this.finishNode(e,"TSModuleBlock")}tsParseModuleOrNamespaceDeclaration(e,t=!1){if(e.id=this.parseIdentifier(),t||this.checkLVal(e.id,"module or namespace declaration",1024),this.eat(16)){const t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t,!0),e.body=t}else this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit();return this.finishNode(e,"TSModuleDeclaration")}tsParseAmbientExternalModuleDeclaration(e){return this.isContextual(105)?(e.global=!0,e.id=this.parseIdentifier()):this.match(125)?e.id=this.parseExprAtom():this.unexpected(),this.match(5)?(this.scope.enter(256),this.prodParam.enter(0),e.body=this.tsParseModuleBlock(),this.prodParam.exit(),this.scope.exit()):this.semicolon(),this.finishNode(e,"TSModuleDeclaration")}tsParseImportEqualsDeclaration(e,t){e.isExport=t||!1,e.id=this.parseIdentifier(),this.checkLVal(e.id,"import equals declaration",9),this.expect(29);const r=this.tsParseModuleReference();return"type"===e.importKind&&"TSExternalModuleReference"!==r.type&&this.raise(r.start,Xe.ImportAliasHasImportType),e.moduleReference=r,this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")}tsIsExternalModuleReference(){return this.isContextual(112)&&40===this.lookaheadCharCode()}tsParseModuleReference(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)}tsParseExternalModuleReference(){const e=this.startNode();if(this.expectContextual(112),this.expect(10),!this.match(125))throw this.unexpected();return e.expression=this.parseExprAtom(),this.expect(11),this.finishNode(e,"TSExternalModuleReference")}tsLookAhead(e){const t=this.state.clone(),r=e();return this.state=t,r}tsTryParseAndCatch(e){const t=this.tryParse(t=>e()||t());if(!t.aborted&&t.node)return t.error&&(this.state=t.failState),t.node}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;return this.isContextual(95)&&(r=70,t="let"),this.tsInAmbientContext(()=>{switch(r){case 64:return e.declare=!0,this.parseFunctionStatement(e,!1,!0);case 76:return e.declare=!0,this.parseClass(e,!0,!1);case 71:if(this.match(71)&&this.isLookaheadContextual("enum"))return this.expect(71),this.expectContextual(118),this.tsParseEnumDeclaration(e,!0);case 70:return t=t||this.state.value,this.parseVarStatement(e,t);case 105:return this.tsParseAmbientExternalModuleDeclaration(e);default:if(B(r))return this.tsParseDeclaration(e,this.state.value,!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(5)){this.scope.enter(256),this.prodParam.enter(0);const r=e;return r.global=!0,r.id=t,r.body=this.tsParseModuleBlock(),this.scope.exit(),this.prodParam.exit(),this.finishNode(r,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}}tsParseDeclaration(e,t,r){switch(t){case"abstract":if(this.tsCheckLineTerminator(r)&&(this.match(76)||B(this.state.type)))return this.tsParseAbstractDeclaration(e);break;case"enum":if(r||B(this.state.type))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(this.tsCheckLineTerminator(r)&&B(this.state.type))return this.tsParseInterfaceDeclaration(e);break;case"module":if(this.tsCheckLineTerminator(r)){if(this.match(125))return this.tsParseAmbientExternalModuleDeclaration(e);if(B(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e)}break;case"namespace":if(this.tsCheckLineTerminator(r)&&B(this.state.type))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(this.tsCheckLineTerminator(r)&&B(this.state.type))return this.tsParseTypeAliasDeclaration(e)}}tsCheckLineTerminator(e){return e?!this.hasFollowingLineBreak()&&(this.next(),!0):!this.isLineTerminator()}tsTryParseGenericAsyncArrowFunction(e,t){if(!this.match(45))return;const r=this.state.maybeInArrowParameters;this.state.maybeInArrowParameters=!0;const n=this.tsTryParseAndCatch(()=>{const r=this.startNodeAt(e,t);return r.typeParameters=this.tsParseTypeParameters(),super.parseFunctionParams(r),r.returnType=this.tsTryParseTypeOrTypePredicateAnnotation(),this.expect(19),r});return this.state.maybeInArrowParameters=r,n?this.parseArrowExpression(n,null,!0):void 0}tsParseTypeArguments(){const e=this.startNode();return e.params=this.tsInType(()=>this.tsInNoContext(()=>(this.expect(45),this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this))))),0===e.params.length&&this.raise(e.start,Xe.EmptyTypeArguments),this.expect(46),this.finishNode(e,"TSTypeParameterInstantiation")}tsIsDeclarationStart(){return e=this.state.type,e>=116&&e<=122;var e}isExportDefaultSpecifier(){return!this.tsIsDeclarationStart()&&super.isExportDefaultSpecifier()}parseAssignableListItem(e,t){const r=this.state.start,n=this.state.startLoc;let i,s=!1,a=!1;if(void 0!==e){const t={};this.tsParseModifiers(t,["public","private","protected","override","readonly"]),i=t.accessibility,a=t.override,s=t.readonly,!1===e&&(i||s||a)&&this.raise(r,Xe.UnexpectedParameterModifier)}const o=this.parseMaybeDefault();this.parseAssignableListItemTypes(o);const l=this.parseMaybeDefault(o.start,o.loc.start,o);if(i||s||a){const e=this.startNodeAt(r,n);return t.length&&(e.decorators=t),i&&(e.accessibility=i),s&&(e.readonly=s),a&&(e.override=a),"Identifier"!==l.type&&"AssignmentPattern"!==l.type&&this.raise(e.start,Xe.UnsupportedParameterPropertyKind),e.parameter=l,this.finishNode(e,"TSParameterProperty")}return t.length&&(o.decorators=t),l}parseFunctionBodyAndFinish(e,t,r=!1){this.match(14)&&(e.returnType=this.tsParseTypeOrTypePredicateAnnotation(14));const n="FunctionDeclaration"===t?"TSDeclareFunction":"ClassMethod"===t||"ClassPrivateMethod"===t?"TSDeclareMethod":void 0;n&&!this.match(5)&&this.isLineTerminator()?this.finishNode(e,n):"TSDeclareFunction"===n&&this.state.isAmbientContext&&(this.raise(e.start,Xe.DeclareFunctionHasImplementation),e.declare)?super.parseFunctionBodyAndFinish(e,n,r):super.parseFunctionBodyAndFinish(e,t,r)}registerFunctionStatementId(e){!e.body&&e.id?this.checkLVal(e.id,"function name",1024):super.registerFunctionStatementId(...arguments)}tsCheckForInvalidTypeCasts(e){e.forEach(e=>{"TSTypeCastExpression"===(null==e?void 0:e.type)&&this.raise(e.typeAnnotation.start,Xe.UnexpectedTypeAnnotation)})}toReferencedList(e,t){return this.tsCheckForInvalidTypeCasts(e),e}parseArrayLike(...e){const t=super.parseArrayLike(...e);return"ArrayExpression"===t.type&&this.tsCheckForInvalidTypeCasts(t.elements),t}parseSubscript(e,t,r,n,i){if(!this.hasPrecedingLineBreak()&&this.match(35)){this.state.canStartJSXElement=!1,this.next();const n=this.startNodeAt(t,r);return n.expression=e,this.finishNode(n,"TSNonNullExpression")}let s=!1;if(this.match(18)&&60===this.lookaheadCharCode()){if(n)return i.stop=!0,e;i.optionalChainMember=s=!0,this.next()}if(this.match(45)){let a;const o=this.tsTryParseAndCatch(()=>{if(!n&&this.atPossibleAsyncArrow(e)){const e=this.tsTryParseGenericAsyncArrowFunction(t,r);if(e)return e}const o=this.startNodeAt(t,r);o.callee=e;const l=this.tsParseTypeArguments();if(l){if(s&&!this.match(10)&&(a=this.state.pos,this.unexpected()),!n&&this.eat(10))return o.arguments=this.parseCallExpressionArguments(11,!1),this.tsCheckForInvalidTypeCasts(o.arguments),o.typeParameters=l,i.optionalChainMember&&(o.optional=s),this.finishCallExpression(o,i.optionalChainMember);if(Y(this.state.type)){const n=this.parseTaggedTemplateExpression(e,t,r,i);return n.typeParameters=l,n}}this.unexpected()});if(a&&this.unexpected(a,10),o)return o}return super.parseSubscript(e,t,r,n,i)}parseNewArguments(e){if(this.match(45)){const t=this.tsTryParseAndCatch(()=>{const e=this.tsParseTypeArguments();return this.match(10)||this.unexpected(),e});t&&(e.typeParameters=t)}super.parseNewArguments(e)}parseExprOp(e,t,r,n){if(W(54)>n&&!this.hasPrecedingLineBreak()&&this.isContextual(89)){const i=this.startNodeAt(t,r);i.expression=e;const s=this.tsTryNextParseConstantContext();return i.typeAnnotation=s||this.tsNextThenParseType(),this.finishNode(i,"TSAsExpression"),this.reScan_lt_gt(),this.parseExprOp(i,t,r,n)}return super.parseExprOp(e,t,r,n)}checkReservedWord(e,t,r,n){}checkDuplicateExports(){}parseImport(e){if(e.importKind="value",B(this.state.type)||this.match(51)||this.match(5)){let t=this.lookahead();if(this.isContextual(122)&&12!==t.type&&93!==t.type&&29!==t.type&&(e.importKind="type",this.next(),t=this.lookahead()),B(this.state.type)&&29===t.type)return this.tsParseImportEqualsDeclaration(e)}const t=super.parseImport(e);return"type"===t.importKind&&t.specifiers.length>1&&"ImportDefaultSpecifier"===t.specifiers[0].type&&this.raise(t.start,Xe.TypeImportCannotSpecifyDefaultAndNamed),t}parseExport(e){if(this.match(79))return this.next(),this.isContextual(122)&&61!==this.lookaheadCharCode()?(e.importKind="type",this.next()):e.importKind="value",this.tsParseImportEqualsDeclaration(e,!0);if(this.eat(29)){const t=e;return t.expression=this.parseExpression(),this.semicolon(),this.finishNode(t,"TSExportAssignment")}if(this.eatContextual(89)){const t=e;return this.expectContextual(120),t.id=this.parseIdentifier(),this.semicolon(),this.finishNode(t,"TSNamespaceExportDeclaration")}return this.isContextual(122)&&5===this.lookahead().type?(this.next(),e.exportKind="type"):e.exportKind="value",super.parseExport(e)}isAbstractClass(){return this.isContextual(116)&&76===this.lookahead().type}parseExportDefaultExpression(){if(this.isAbstractClass()){const e=this.startNode();return this.next(),e.abstract=!0,this.parseClass(e,!0,!0),e}if(this.match(121)){const e=this.startNode();this.next();const t=this.tsParseInterfaceDeclaration(e);if(t)return t}return super.parseExportDefaultExpression()}parseStatementContent(e,t){if(71===this.state.type){const e=this.lookahead();if(118===e.type){const e=this.startNode();return this.next(),this.expectContextual(118),this.tsParseEnumDeclaration(e,!0)}}return super.parseStatementContent(e,t)}parseAccessModifier(){return this.tsParseModifier(["public","protected","private"])}tsHasSomeModifiers(e,t){return t.some(t=>ze(t)?e.accessibility===t:!!e[t])}tsIsStartOfStaticBlocks(){return this.isContextual(100)&&123===this.lookaheadCharCode()}parseClassMember(e,t,r){const n=["declare","private","public","protected","override","abstract","readonly","static"];this.tsParseModifiers(t,n,void 0,void 0,!0);const i=()=>{this.tsIsStartOfStaticBlocks()?(this.next(),this.next(),this.tsHasSomeModifiers(t,n)&&this.raise(this.state.pos,Xe.StaticBlockCannotHaveModifier),this.parseClassStaticBlock(e,t)):this.parseClassMemberWithIsStatic(e,t,r,!!t.static)};t.declare?this.tsInAmbientContext(i):i()}parseClassMemberWithIsStatic(e,t,r,n){const i=this.tsTryParseIndexSignature(t);if(i)return e.body.push(i),t.abstract&&this.raise(t.start,Xe.IndexSignatureHasAbstract),t.accessibility&&this.raise(t.start,Xe.IndexSignatureHasAccessibility,t.accessibility),t.declare&&this.raise(t.start,Xe.IndexSignatureHasDeclare),void(t.override&&this.raise(t.start,Xe.IndexSignatureHasOverride));!this.state.inAbstractClass&&t.abstract&&this.raise(t.start,Xe.NonAbstractClassHasAbstractMethod),t.override&&(r.hadSuperClass||this.raise(t.start,Xe.OverrideNotInSubClass)),super.parseClassMemberWithIsStatic(e,t,r,n)}parsePostMemberNameModifiers(e){const t=this.eat(17);t&&(e.optional=!0),e.readonly&&this.match(10)&&this.raise(e.start,Xe.ClassMethodHasReadonly),e.declare&&this.match(10)&&this.raise(e.start,Xe.ClassMethodHasDeclare)}parseExpressionStatement(e,t){const r="Identifier"===t.type?this.tsParseExpressionStatement(e,t):void 0;return r||super.parseExpressionStatement(e,t)}shouldParseExportDeclaration(){return!!this.tsIsDeclarationStart()||super.shouldParseExportDeclaration()}parseConditional(e,t,r,n){if(!this.state.maybeInArrowParameters||!this.match(17))return super.parseConditional(e,t,r,n);const i=this.tryParse(()=>super.parseConditional(e,t,r));return i.node?(i.error&&(this.state=i.failState),i.node):(i.error&&super.setOptionalParametersError(n,i.error),e)}parseParenItem(e,t,r){if(e=super.parseParenItem(e,t,r),this.eat(17)&&(e.optional=!0,this.resetEndLocation(e)),this.match(14)){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(117);if(n&&(this.isContextual(117)||!this.shouldParseExportDeclaration()))throw this.raise(this.state.start,Xe.ExpectedAmbientAfterExportDeclare);let i;return B(this.state.type)&&(i=this.tsTryParseExportDeclaration()),i||(i=super.parseExportDeclaration(e)),i&&("TSInterfaceDeclaration"===i.type||"TSTypeAliasDeclaration"===i.type||n)&&(e.exportKind="type"),i&&n&&(this.resetStartLocation(i,t,r),i.declare=!0),i}parseClassId(e,t,r){if((!t||r)&&this.isContextual(106))return;super.parseClassId(e,t,r,e.declare?1024:139);const n=this.tsTryParseTypeParameters();n&&(e.typeParameters=n)}parseClassPropertyAnnotation(e){!e.optional&&this.eat(35)&&(e.definite=!0);const t=this.tsTryParseTypeAnnotation();t&&(e.typeAnnotation=t)}parseClassProperty(e){if(this.parseClassPropertyAnnotation(e),this.state.isAmbientContext&&this.match(29)&&this.raise(this.state.start,Xe.DeclareClassFieldHasInitializer),e.abstract&&this.match(29)){const{key:t}=e;this.raise(this.state.start,Xe.AbstractPropertyHasInitializer,"Identifier"!==t.type||e.computed?`[${this.input.slice(t.start,t.end)}]`:t.name)}return super.parseClassProperty(e)}parseClassPrivateProperty(e){return e.abstract&&this.raise(e.start,Xe.PrivateElementHasAbstract),e.accessibility&&this.raise(e.start,Xe.PrivateElementHasAccessibility,e.accessibility),this.parseClassPropertyAnnotation(e),super.parseClassPrivateProperty(e)}pushClassMethod(e,t,r,n,i,s){const a=this.tsTryParseTypeParameters();a&&i&&this.raise(a.start,Xe.ConstructorHasTypeParameters),!t.declare||"get"!==t.kind&&"set"!==t.kind||this.raise(t.start,Xe.DeclareAccessor,t.kind),a&&(t.typeParameters=a),super.pushClassMethod(e,t,r,n,i,s)}pushClassPrivateMethod(e,t,r,n){const i=this.tsTryParseTypeParameters();i&&(t.typeParameters=i),super.pushClassPrivateMethod(e,t,r,n)}declareClassPrivateMethodInScope(e,t){"TSDeclareMethod"!==e.type&&("MethodDefinition"!==e.type||e.value.body)&&super.declareClassPrivateMethodInScope(e,t)}parseClassSuper(e){super.parseClassSuper(e),e.superClass&&this.match(45)&&(e.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual(106)&&(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(35)&&(e.definite=!0);const r=this.tsTryParseTypeAnnotation();r&&(e.id.typeAnnotation=r,this.resetEndLocation(e.id))}parseAsyncArrowFromCallExpression(e,t){return this.match(14)&&(e.returnType=this.tsParseTypeAnnotation()),super.parseAsyncArrowFromCallExpression(e,t)}parseMaybeAssign(...e){var t,r,n,i,s,a,o;let l,c,u,p;if(this.hasPlugin("jsx")&&(this.match(134)||this.match(45))){if(l=this.state.clone(),c=this.tryParse(()=>super.parseMaybeAssign(...e),l),!c.error)return c.node;const{context:t}=this.state,r=t[t.length-1];r!==E.j_oTag&&r!==E.j_expr||t.pop()}if(!(null!=(t=c)&&t.error||this.match(45)))return super.parseMaybeAssign(...e);l=l||this.state.clone();const f=this.tryParse(t=>{var r,n;p=this.tsParseTypeParameters();const i=super.parseMaybeAssign(...e);return("ArrowFunctionExpression"!==i.type||null!=(r=i.extra)&&r.parenthesized)&&t(),0!==(null==(n=p)?void 0:n.params.length)&&this.resetStartLocationFromNode(i,p),i.typeParameters=p,i},l);if(!f.error&&!f.aborted)return p&&this.reportReservedArrowTypeParam(p),f.node;if(!c&&(Je(!this.hasPlugin("jsx")),u=this.tryParse(()=>super.parseMaybeAssign(...e),l),!u.error))return u.node;if(null!=(r=c)&&r.node)return this.state=c.failState,c.node;if(f.node)return this.state=f.failState,p&&this.reportReservedArrowTypeParam(p),f.node;if(null!=(n=u)&&n.node)return this.state=u.failState,u.node;if(null!=(i=c)&&i.thrown)throw c.error;if(f.thrown)throw f.error;if(null!=(s=u)&&s.thrown)throw u.error;throw(null==(a=c)?void 0:a.error)||f.error||(null==(o=u)?void 0:o.error)}reportReservedArrowTypeParam(e){var t;1!==e.params.length||null!=(t=e.extra)&&t.trailingComma||!this.getPluginOption("typescript","disallowAmbiguousJSXLike")||this.raise(e.start,Xe.ReservedArrowTypeParam)}parseMaybeUnary(e){return!this.hasPlugin("jsx")&&this.match(45)?this.tsParseTypeAssertion():super.parseMaybeUnary(e)}parseArrow(e){if(this.match(14)){const t=this.tryParse(e=>{const t=this.tsParseTypeOrTypePredicateAnnotation(14);return!this.canInsertSemicolon()&&this.match(19)||e(),t});if(t.aborted)return;t.thrown||(t.error&&(this.state=t.failState),e.returnType=t.node)}return super.parseArrow(e)}parseAssignableListItemTypes(e){this.eat(17)&&("Identifier"===e.type||this.state.isAmbientContext||this.state.inType||this.raise(e.start,Xe.PatternIsOptional),e.optional=!0);const t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t),this.resetEndLocation(e),e}isAssignable(e,t){switch(e.type){case"TSTypeCastExpression":return this.isAssignable(e.expression,t);case"TSParameterProperty":return!0;default:return super.isAssignable(e,t)}}toAssignable(e,t=!1){switch(e.type){case"TSTypeCastExpression":return super.toAssignable(this.typeCastToParameter(e),t);case"TSParameterProperty":return super.toAssignable(e,t);case"ParenthesizedExpression":return this.toAssignableParenthesizedExpression(e,t);case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}toAssignableParenthesizedExpression(e,t){switch(e.expression.type){case"TSAsExpression":case"TSNonNullExpression":case"TSTypeAssertion":case"ParenthesizedExpression":return e.expression=this.toAssignable(e.expression,t),e;default:return super.toAssignable(e,t)}}checkLVal(e,t,...r){var n;switch(e.type){case"TSTypeCastExpression":return;case"TSParameterProperty":return void this.checkLVal(e.parameter,"parameter property",...r);case"TSAsExpression":case"TSTypeAssertion":if(!(r[0]||"parenthesized expression"===t||null!=(n=e.extra)&&n.parenthesized)){this.raise(e.start,y.InvalidLhs,t);break}return void this.checkLVal(e.expression,"parenthesized expression",...r);case"TSNonNullExpression":return void this.checkLVal(e.expression,t,...r);default:return void super.checkLVal(e,t,...r)}}parseBindingAtom(){switch(this.state.type){case 74:return this.parseIdentifier(!0);default:return super.parseBindingAtom()}}parseMaybeDecoratorArguments(e){if(this.match(45)){const t=this.tsParseTypeArguments();if(this.match(10)){const r=super.parseMaybeDecoratorArguments(e);return r.typeParameters=t,r}this.unexpected(this.state.start,10)}return super.parseMaybeDecoratorArguments(e)}checkCommaAfterRest(e){this.state.isAmbientContext&&this.match(12)&&this.lookaheadCharCode()===e?this.next():super.checkCommaAfterRest(e)}isClassMethod(){return this.match(45)||super.isClassMethod()}isClassProperty(){return this.match(35)||this.match(14)||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,Xe.TypeAnnotationAfterAssign),t}getTokenFromCode(e){if(this.state.inType){if(62===e)return this.finishOp(46,1);if(60===e)return this.finishOp(45,1)}return super.getTokenFromCode(e)}reScan_lt_gt(){const{type:e}=this.state;45===e?(this.state.pos-=1,this.readToken_lt()):46===e&&(this.state.pos-=1,this.readToken_gt())}toAssignableList(e){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.state.maybeInArrowParameters?this.raise(r.start,Xe.UnexpectedTypeCastInParameter):e[t]=this.typeCastToParameter(r)}}return super.toAssignableList(...arguments)}typeCastToParameter(e){return e.expression.typeAnnotation=e.typeAnnotation,this.resetEndLocation(e.expression,e.typeAnnotation.end,e.typeAnnotation.loc.end),e.expression}shouldParseArrow(e){return this.match(14)?e.every(e=>this.isAssignable(e,!0)):super.shouldParseArrow(e)}shouldParseAsyncArrow(){return this.match(14)||super.shouldParseAsyncArrow()}canHaveLeadingDecorator(){return super.canHaveLeadingDecorator()||this.isAbstractClass()}jsxParseOpeningElementAfterName(e){if(this.match(45)){const t=this.tsTryParseAndCatch(()=>this.tsParseTypeArguments());t&&(e.typeParameters=t)}return super.jsxParseOpeningElementAfterName(e)}getGetterSetterExpectedParamCount(e){const t=super.getGetterSetterExpectedParamCount(e),r=this.getObjectOrClassMethodParams(e),n=r[0],i=n&&this.isThisParam(n);return i?t+1:t}parseCatchClauseParam(){const e=super.parseCatchClauseParam(),t=this.tsTryParseTypeAnnotation();return t&&(e.typeAnnotation=t,this.resetEndLocation(e)),e}tsInAmbientContext(e){const t=this.state.isAmbientContext;this.state.isAmbientContext=!0;try{return e()}finally{this.state.isAmbientContext=t}}parseClass(e,...t){const r=this.state.inAbstractClass;this.state.inAbstractClass=!!e.abstract;try{return super.parseClass(e,...t)}finally{this.state.inAbstractClass=r}}tsParseAbstractDeclaration(e){if(this.match(76))return e.abstract=!0,this.parseClass(e,!0,!1);if(this.isContextual(121)){if(!this.hasFollowingLineBreak())return e.abstract=!0,this.raise(e.start,Xe.NonClassMethodPropertyHasAbstractModifer),this.next(),this.tsParseInterfaceDeclaration(e)}else this.unexpected(null,76)}parseMethod(...e){const t=super.parseMethod(...e);if(t.abstract){const e=this.hasPlugin("estree")?!!t.value.body:!!t.body;if(e){const{key:e}=t;this.raise(t.start,Xe.AbstractMethodHasImplementation,"Identifier"!==e.type||t.computed?`[${this.input.slice(e.start,e.end)}]`:e.name)}}return t}tsParseTypeParameterName(){const e=this.parseIdentifier();return e.name}shouldParseAsAmbientContext(){return!!this.getPluginOption("typescript","dts")}parse(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.parse()}getExpression(){return this.shouldParseAsAmbientContext()&&(this.state.isAmbientContext=!0),super.getExpression()}parseExportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!1,r),this.finishNode(e,"ExportSpecifier")):(e.exportKind="value",super.parseExportSpecifier(e,t,r,n))}parseImportSpecifier(e,t,r,n){return!t&&n?(this.parseTypeOnlyImportExportSpecifier(e,!0,r),this.finishNode(e,"ImportSpecifier")):(e.importKind="value",super.parseImportSpecifier(e,t,r,n))}parseTypeOnlyImportExportSpecifier(e,t,r){const n=t?"imported":"local",i=t?"local":"exported";let s,a=e[n],o=!1,l=!0;const c=a.start;if(this.isContextual(89)){const e=this.parseIdentifier();if(this.isContextual(89)){const t=this.parseIdentifier();L(this.state.type)?(o=!0,a=e,s=this.parseIdentifier(),l=!1):(s=t,l=!1)}else L(this.state.type)?(l=!1,s=this.parseIdentifier()):(o=!0,a=e)}else L(this.state.type)&&(o=!0,a=this.parseIdentifier());o&&r&&this.raise(c,t?Xe.TypeModifierIsUsedInTypeImports:Xe.TypeModifierIsUsedInTypeExports),e[n]=a,e[i]=s;const u=t?"importKind":"exportKind";e[u]=o?"type":"value",l&&this.eatContextual(89)&&(e[i]=t?this.parseIdentifier():this.parseModuleExportName()),e[i]||(e[i]=je(e[n])),t&&this.checkLVal(e[i],"import specifier",9)}},v8intrinsic:e=>class extends e{parseV8Intrinsic(){if(this.match(50)){const e=this.state.start,t=this.startNode();if(this.next(),B(this.state.type)){const e=this.parseIdentifierName(this.state.start),r=this.createIdentifier(t,e);if(r.type="V8IntrinsicIdentifier",this.match(10))return r}this.unexpected(e)}}parseExprAtom(){return this.parseV8Intrinsic()||super.parseExprAtom(...arguments)}},placeholders:e=>class extends e{parsePlaceholder(e){if(this.match(136)){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(136),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(136,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)}isLet(e){if(super.isLet(e))return!0;if(!this.isContextual(95))return!1;if(e)return!1;const t=this.lookahead();return 136===t.type}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(14)){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.state.strict,s=this.parsePlaceholder("Identifier");if(s)if(this.match(77)||this.match(136)||this.match(5))e.id=s;else{if(r||!t)return e.id=null,e.body=this.finishPlaceholder(s,"ClassBody"),this.finishNode(e,n);this.unexpected(null,Qe.ClassNameIsRequired)}else this.parseClassId(e,t,r);return this.parseClassSuper(e),e.body=this.parsePlaceholder("ClassBody")||this.parseClassBody(!!e.superClass,i),this.finishNode(e,n)}parseExport(e){const t=this.parsePlaceholder("Identifier");if(!t)return super.parseExport(...arguments);if(!this.isContextual(93)&&!this.match(12))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)}isExportDefaultSpecifier(){if(this.match(61)){const e=this.nextTokenStart();if(this.isUnparsedContextual(e,"from")&&this.input.startsWith(K(136),this.nextTokenStartSince(e+4)))return!0}return super.isExportDefaultSpecifier()}maybeParseExportDefaultSpecifier(e){return!!(e.specifiers&&e.specifiers.length>0)||super.maybeParseExportDefaultSpecifier(...arguments)}checkExport(e){const{specifiers:t}=e;null!=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(93)&&!this.match(12))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(12)){const t=this.maybeParseStarImportSpecifier(e);t||this.parseNamedImportSpecifiers(e)}return this.expectContextual(93),e.source=this.parseImportSource(),this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.parsePlaceholder("StringLiteral")||super.parseImportSource(...arguments)}}},st=Object.keys(it),at={sourceType:"script",sourceFilename:void 0,startColumn:0,startLine:1,allowAwaitOutsideFunction:!1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,allowUndeclaredExports:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1,createParenthesizedExpressions:!1,errorRecovery:!1,attachComment:!0};const ot=e=>"ParenthesizedExpression"===e.type?ot(e.expression):e;const lt=new Map([["ArrowFunctionExpression","arrow function"],["AssignmentExpression","assignment"],["ConditionalExpression","conditional"],["YieldExpression","yield"]]);const ct={kind:"loop"},ut={kind:"switch"},pt=/[\uD800-\uDFFF]/u,ft=/in(?:stanceof)?/y;class dt extends class extends class extends class extends class extends class extends class extends class extends class extends class{constructor(){this.sawUnambiguousESM=!1,this.ambiguousScriptDifferentAst=!1}hasPlugin(e){if("string"==typeof e)return this.plugins.has(e);{const[t,r]=e;if(!this.hasPlugin(t))return!1;const n=this.plugins.get(t);for(const e of Object.keys(r))if((null==n?void 0:n[e])!==r[e])return!1;return!0}}getPluginOption(e,t){var r;return null==(r=this.plugins.get(e))?void 0:r[t]}}{addComment(e){this.filename&&(e.loc.filename=this.filename),this.state.comments.push(e)}processComment(e){const{commentStack:t}=this.state,r=t.length;if(0===r)return;let n=r-1;const i=t[n];i.start===e.end&&(i.leadingNode=e,n--);const{start:s}=e;for(;n>=0;n--){const r=t[n],i=r.end;if(!(i>s)){i===s&&(r.trailingNode=e);break}r.containingNode=e,this.finalizeComment(r),t.splice(n,1)}}finalizeComment(e){const{comments:t}=e;if(null!==e.leadingNode||null!==e.trailingNode)null!==e.leadingNode&&f(e.leadingNode,t),null!==e.trailingNode&&function(e,t){void 0===e.leadingComments?e.leadingComments=t:e.leadingComments.unshift(...t)}(e.trailingNode,t);else{const{containingNode:r,start:n}=e;if(44===this.input.charCodeAt(n-1))switch(r.type){case"ObjectExpression":case"ObjectPattern":case"RecordExpression":h(r,r.properties,e);break;case"CallExpression":case"OptionalCallExpression":h(r,r.arguments,e);break;case"FunctionDeclaration":case"FunctionExpression":case"ArrowFunctionExpression":case"ObjectMethod":case"ClassMethod":case"ClassPrivateMethod":h(r,r.params,e);break;case"ArrayExpression":case"ArrayPattern":case"TupleExpression":h(r,r.elements,e);break;case"ExportNamedDeclaration":case"ImportDeclaration":h(r,r.specifiers,e);break;default:d(r,t)}else d(r,t)}}finalizeRemainingComments(){const{commentStack:e}=this.state;for(let t=e.length-1;t>=0;t--)this.finalizeComment(e[t]);this.state.commentStack=[]}resetPreviousNodeTrailingComments(e){const{commentStack:t}=this.state,{length:r}=t;if(0===r)return;const n=t[r-1];n.leadingNode===e&&(n.leadingNode=null)}takeSurroundingComments(e,t,r){const{commentStack:n}=this.state,i=n.length;if(0===i)return;let s=i-1;for(;s>=0;s--){const i=n[s],a=i.end,o=i.start;if(o===r)i.leadingNode=e;else if(a===t)i.trailingNode=e;else if(a<t)break}}}{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,s=0;for(i.lastIndex=0;(r=i.exec(e))&&r.index<t;)n++,s=i.lastIndex;return new c(n,t-s)}(this.input,e),t}raise(e,{code:t,reasonCode:r,template:n},...i){return this.raiseWithData(e,{code:t,reasonCode:r},n,...i)}raiseOverwrite(e,{code:t,template:r},...n){const i=this.getLocationForPosition(e),s=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${i.line}:${i.column})`;if(this.options.errorRecovery){const t=this.state.errors;for(let r=t.length-1;r>=0;r--){const n=t[r];if(n.pos===e)return Object.assign(n,{message:s});if(n.pos<e)break}}return this._raise({code:t,loc:i,pos:e},s)}raiseWithData(e,t,r,...n){const i=this.getLocationForPosition(e),s=r.replace(/%(\d+)/g,(e,t)=>n[t])+` (${i.line}:${i.column})`;return this._raise(Object.assign({loc:i,pos:e},t),s)}_raise(e,t){const r=new SyntaxError(t);if(Object.assign(r,e),this.options.errorRecovery)return this.isLookahead||this.state.errors.push(r),r;throw r}}{constructor(e,t){super(),this.isLookahead=void 0,this.tokens=[],this.state=new ye,this.state.init(e),this.input=t,this.length=t.length,this.isLookahead=!1}pushToken(e){this.tokens.length=this.state.tokensLength,this.tokens.push(e),++this.state.tokensLength}next(){this.checkKeywordEscapes(),this.options.tokens&&this.pushToken(new Ee(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}createLookaheadState(e){return{pos:e.pos,value:null,type:e.type,start:e.start,end:e.end,lastTokEnd:e.end,context:[this.curContext()],inType:e.inType}}lookahead(){const e=this.state;this.state=this.createLookaheadState(e),this.isLookahead=!0,this.nextToken(),this.isLookahead=!1;const t=this.state;return this.state=e,t}nextTokenStart(){return this.nextTokenStartSince(this.state.pos)}nextTokenStartSince(e){return a.lastIndex=e,a.test(this.input)?a.lastIndex:e}lookaheadCharCode(){return this.input.charCodeAt(this.nextTokenStart())}codePointAtPos(e){let t=this.input.charCodeAt(e);if(55296==(64512&t)&&++e<this.input.length){const r=this.input.charCodeAt(e);56320==(64512&r)&&(t=65536+((1023&t)<<10)+(1023&r))}return t}setStrict(e){this.state.strict=e,e&&(this.state.strictErrors.forEach((e,t)=>this.raise(t,e)),this.state.strictErrors.clear())}curContext(){return this.state.context[this.state.context.length-1]}nextToken(){this.skipSpace(),this.state.start=this.state.pos,this.isLookahead||(this.state.startLoc=this.state.curPosition()),this.state.pos>=this.length?this.finishToken(131):this.getTokenFromCode(this.codePointAtPos(this.state.pos))}skipBlockComment(){let e;this.isLookahead||(e=this.state.curPosition());const t=this.state.pos,r=this.input.indexOf("*/",t+2);if(-1===r)throw this.raise(t,y.UnterminatedComment);for(this.state.pos=r+2,i.lastIndex=t+2;i.test(this.input)&&i.lastIndex<=r;)++this.state.curLine,this.state.lineStart=i.lastIndex;if(this.isLookahead)return;const n={type:"CommentBlock",value:this.input.slice(t+2,r),start:t,end:r+2,loc:new u(e,this.state.curPosition())};return this.options.tokens&&this.pushToken(n),n}skipLineComment(e){const t=this.state.pos;let r;this.isLookahead||(r=this.state.curPosition());let n=this.input.charCodeAt(this.state.pos+=e);if(this.state.pos<this.length)for(;!s(n)&&++this.state.pos<this.length;)n=this.input.charCodeAt(this.state.pos);if(this.isLookahead)return;const i=this.state.pos,a=this.input.slice(t+e,i),o={type:"CommentLine",value:a,start:t,end:i,loc:new u(r,this.state.curPosition())};return this.options.tokens&&this.pushToken(o),o}skipSpace(){const e=this.state.pos,t=[];e:for(;this.state.pos<this.length;){const r=this.input.charCodeAt(this.state.pos);switch(r){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:{const e=this.skipBlockComment();void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}case 47:{const e=this.skipLineComment(2);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e));break}default:break e}break;default:if(l(r))++this.state.pos;else if(45!==r||this.inModule){if(60!==r||this.inModule)break e;{const e=this.state.pos;if(33!==this.input.charCodeAt(e+1)||45!==this.input.charCodeAt(e+2)||45!==this.input.charCodeAt(e+3))break e;{const e=this.skipLineComment(4);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}else{const r=this.state.pos;if(45!==this.input.charCodeAt(r+1)||62!==this.input.charCodeAt(r+2)||!(0===e||this.state.lineStart>e))break e;{const e=this.skipLineComment(3);void 0!==e&&(this.addComment(e),this.options.attachComment&&t.push(e))}}}}if(t.length>0){const r=this.state.pos,n={start:e,end:r,comments:t,leadingNode:null,trailingNode:null,containingNode:null};this.state.commentStack.push(n)}}finishToken(e,t){this.state.end=this.state.pos;const r=this.state.type;this.state.type=e,this.state.value=t,this.isLookahead||(this.state.endLoc=this.state.curPosition(),this.updateContext(r))}replaceToken(e){this.state.type=e,this.updateContext()}readToken_numberSign(){if(0===this.state.pos&&this.readToken_interpreter())return;const e=this.state.pos+1,t=this.codePointAtPos(e);if(t>=48&&t<=57)throw this.raise(this.state.pos,y.UnexpectedDigitAfterHash);if(123===t||91===t&&this.hasPlugin("recordAndTuple")){if(this.expectPlugin("recordAndTuple"),"hash"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,123===t?y.RecordExpressionHashIncorrectStartSyntaxType:y.TupleExpressionHashIncorrectStartSyntaxType);this.state.pos+=2,123===t?this.finishToken(7):this.finishToken(1)}else Z(t)?(++this.state.pos,this.finishToken(130,this.readWord1(t))):92===t?(++this.state.pos,this.finishToken(130,this.readWord1())):this.finishOp(27,1)}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(21)):(++this.state.pos,this.finishToken(16))}readToken_slash(){const e=this.input.charCodeAt(this.state.pos+1);61===e?this.finishOp(31,2):this.finishOp(52,1)}readToken_interpreter(){if(0!==this.state.pos||this.length<2)return!1;let e=this.input.charCodeAt(this.state.pos+1);if(33!==e)return!1;const t=this.state.pos;for(this.state.pos+=1;!s(e)&&++this.state.pos<this.length;)e=this.input.charCodeAt(this.state.pos);const r=this.input.slice(t+2,this.state.pos);return this.finishToken(28,r),!0}readToken_mult_modulo(e){let t=42===e?51:50,r=1,n=this.input.charCodeAt(this.state.pos+1);42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=53),61!==n||this.state.inType||(r++,t=37===e?33:30),this.finishOp(t,r)}readToken_pipe_amp(e){const t=this.input.charCodeAt(this.state.pos+1);if(t!==e){if(124===e){if(62===t)return void this.finishOp(37,2);if(this.hasPlugin("recordAndTuple")&&125===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(9)}if(this.hasPlugin("recordAndTuple")&&93===t){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectEndSyntaxType);return this.state.pos+=2,void this.finishToken(4)}}61!==t?this.finishOp(124===e?41:43,1):this.finishOp(30,2)}else 61===this.input.charCodeAt(this.state.pos+2)?this.finishOp(30,3):this.finishOp(124===e?39:40,2)}readToken_caret(){const e=this.input.charCodeAt(this.state.pos+1);61!==e||this.state.inType?this.finishOp(42,1):this.finishOp(32,2)}readToken_plus_min(e){const t=this.input.charCodeAt(this.state.pos+1);t!==e?61===t?this.finishOp(30,2):this.finishOp(49,1):this.finishOp(34,2)}readToken_lt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(60===t)return 61===this.input.charCodeAt(e+2)?void this.finishOp(30,3):void this.finishOp(48,2);61!==t?this.finishOp(45,1):this.finishOp(47,2)}readToken_gt(){const{pos:e}=this.state,t=this.input.charCodeAt(e+1);if(62===t){const t=62===this.input.charCodeAt(e+2)?3:2;return 61===this.input.charCodeAt(e+t)?void this.finishOp(30,t+1):void this.finishOp(48,t)}61!==t?this.finishOp(46,1):this.finishOp(47,2)}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(19)):void this.finishOp(61===e?29:35,1);this.finishOp(44,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?61===t?this.finishOp(30,3):this.finishOp(38,2):46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(17)):(this.state.pos+=2,this.finishToken(18))}getTokenFromCode(e){switch(e){case 46:return void this.readToken_dot();case 40:return++this.state.pos,void this.finishToken(10);case 41:return++this.state.pos,void this.finishToken(11);case 59:return++this.state.pos,void this.finishToken(13);case 44:return++this.state.pos,void this.finishToken(12);case 91:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,y.TupleExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(2)}else++this.state.pos,this.finishToken(0);return;case 93:return++this.state.pos,void this.finishToken(3);case 123:if(this.hasPlugin("recordAndTuple")&&124===this.input.charCodeAt(this.state.pos+1)){if("bar"!==this.getPluginOption("recordAndTuple","syntaxType"))throw this.raise(this.state.pos,y.RecordExpressionBarIncorrectStartSyntaxType);this.state.pos+=2,this.finishToken(6)}else++this.state.pos,this.finishToken(5);return;case 125:return++this.state.pos,void this.finishToken(8);case 58:return void(this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(15,2):(++this.state.pos,this.finishToken(14)));case 63:return void this.readToken_question();case 96:return void this.readTemplateToken();case 48:{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:return void this.readToken_lt();case 62:return void this.readToken_gt();case 61:case 33:return void this.readToken_eq_excl(e);case 126:return void this.finishOp(36,1);case 64:return++this.state.pos,void this.finishToken(26);case 35:return void this.readToken_numberSign();case 92:return void this.readWord();default:if(Z(e))return void this.readWord(e)}throw this.raise(this.state.pos,y.InvalidOrUnexpectedToken,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.start+1;let t,r,{pos:n}=this.state;for(;;++n){if(n>=this.length)throw this.raise(e,y.UnterminatedRegExp);const i=this.input.charCodeAt(n);if(s(i))throw this.raise(e,y.UnterminatedRegExp);if(t)t=!1;else{if(91===i)r=!0;else if(93===i&&r)r=!1;else if(47===i&&!r)break;t=92===i}}const i=this.input.slice(e,n);++n;let a="";for(;n<this.length;){const e=this.codePointAtPos(n),t=String.fromCharCode(e);if(be.has(e))a.includes(t)&&this.raise(n+1,y.DuplicateRegExpFlags);else{if(!ee(e)&&92!==e)break;this.raise(n+1,y.MalformedRegExpFlags)}++n,a+=t}this.state.pos=n,this.finishToken(129,{pattern:i,flags:a})}readInt(e,t,r,n=!0){const i=this.state.pos,s=16===e?ve.hex:ve.decBinOct,a=16===e?Te.hex:10===e?Te.dec:8===e?Te.oct:Te.bin;let o=!1,l=0;for(let c=0,u=null==t?1/0:t;c<u;++c){const t=this.input.charCodeAt(this.state.pos);let i;if(95!==t){if(i=t>=97?t-97+10:t>=65?t-65+10:ge(t)?t-48:1/0,i>=e)if(this.options.errorRecovery&&i<=9)i=0,this.raise(this.state.start+c+2,y.InvalidDigit,e);else{if(!r)break;i=0,o=!0}++this.state.pos,l=l*e+i}else{const e=this.input.charCodeAt(this.state.pos-1),t=this.input.charCodeAt(this.state.pos+1);(-1===a.indexOf(t)||s.indexOf(e)>-1||s.indexOf(t)>-1||Number.isNaN(t))&&this.raise(this.state.pos,y.UnexpectedNumericSeparator),n||this.raise(this.state.pos,y.NumericSeparatorInEscapeSequence),++this.state.pos}}return this.state.pos===i||null!=t&&this.state.pos-i!==t||o?null:l}readRadixNumber(e){const t=this.state.pos;let r=!1;this.state.pos+=2;const n=this.readInt(e);null==n&&this.raise(this.state.start+2,y.InvalidDigit,e);const i=this.input.charCodeAt(this.state.pos);if(110===i)++this.state.pos,r=!0;else if(109===i)throw this.raise(t,y.InvalidDecimal);if(Z(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,y.NumberIdentifier);if(r){const e=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");this.finishToken(127,e)}else this.finishToken(126,n)}readNumber(e){const t=this.state.pos;let r=!1,n=!1,i=!1,s=!1,a=!1;e||null!==this.readInt(10)||this.raise(t,y.InvalidNumber);const o=this.state.pos-t>=2&&48===this.input.charCodeAt(t);if(o){const e=this.input.slice(t,this.state.pos);if(this.recordStrictModeErrors(t,y.StrictOctalLiteral),!this.state.strict){const r=e.indexOf("_");r>0&&this.raise(r+t,y.ZeroDigitNumericSeparator)}a=o&&!/[89]/.test(e)}let l=this.input.charCodeAt(this.state.pos);if(46!==l||a||(++this.state.pos,this.readInt(10),r=!0,l=this.input.charCodeAt(this.state.pos)),69!==l&&101!==l||a||(l=this.input.charCodeAt(++this.state.pos),43!==l&&45!==l||++this.state.pos,null===this.readInt(10)&&this.raise(t,y.InvalidOrMissingExponent),r=!0,s=!0,l=this.input.charCodeAt(this.state.pos)),110===l&&((r||o)&&this.raise(t,y.InvalidBigIntLiteral),++this.state.pos,n=!0),109===l&&(this.expectPlugin("decimal",this.state.pos),(s||o)&&this.raise(t,y.InvalidDecimal),++this.state.pos,i=!0),Z(this.codePointAtPos(this.state.pos)))throw this.raise(this.state.pos,y.NumberIdentifier);const c=this.input.slice(t,this.state.pos).replace(/[_mn]/g,"");if(n)return void this.finishToken(127,c);if(i)return void this.finishToken(128,c);const u=a?parseInt(c,8):parseFloat(c);this.finishToken(126,u)}readCodePoint(e){const t=this.input.charCodeAt(this.state.pos);let r;if(123===t){const t=++this.state.pos;if(r=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,!0,e),++this.state.pos,null!==r&&r>1114111){if(!e)return null;this.raise(t,y.InvalidCodePoint)}}else r=this.readHexChar(4,!1,e);return r}readString(e){let t="",r=++this.state.pos;for(;;){if(this.state.pos>=this.length)throw this.raise(this.state.start,y.UnterminatedString);const n=this.input.charCodeAt(this.state.pos);if(n===e)break;if(92===n)t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos;else if(8232===n||8233===n)++this.state.pos,++this.state.curLine,this.state.lineStart=this.state.pos;else{if(s(n))throw this.raise(this.state.start,y.UnterminatedString);++this.state.pos}}t+=this.input.slice(r,this.state.pos++),this.finishToken(125,t)}readTemplateContinuation(){this.match(8)||this.unexpected(this.state.start,8),this.state.pos--,this.readTemplateToken()}readTemplateToken(){let e="",t=this.state.pos,r=!1;for(++this.state.pos;;){if(this.state.pos>=this.length)throw this.raise(this.state.start+1,y.UnterminatedTemplate);const n=this.input.charCodeAt(this.state.pos);if(96===n)return++this.state.pos,e+=this.input.slice(t,this.state.pos),void this.finishToken(24,r?null:e);if(36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos+=2,e+=this.input.slice(t,this.state.pos),void this.finishToken(25,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(s(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}}recordStrictModeErrors(e,t){this.state.strict&&!this.state.strictErrors.has(e)?this.raise(e,t):this.state.strictErrors.set(e,t)}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,!1,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"";case 56:case 57:if(e)return null;this.recordStrictModeErrors(this.state.pos-1,y.StrictNumericEscape);default:if(r>=48&&r<=55){const t=this.state.pos-1,r=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/);let n=r[0],i=parseInt(n,8);i>255&&(n=n.slice(0,-1),i=parseInt(n,8)),this.state.pos+=n.length-1;const s=this.input.charCodeAt(this.state.pos);if("0"!==n||56===s||57===s){if(e)return null;this.recordStrictModeErrors(t,y.StrictNumericEscape)}return String.fromCharCode(i)}return String.fromCharCode(r)}}readHexChar(e,t,r){const n=this.state.pos,i=this.readInt(16,e,t,!1);return null===i&&(r?this.raise(n,y.InvalidEscapeSequence):this.state.pos=n-1),i}readWord1(e){this.state.containsEsc=!1;let t="";const r=this.state.pos;let n=this.state.pos;for(void 0!==e&&(this.state.pos+=e<=65535?1:2);this.state.pos<this.length;){const e=this.codePointAtPos(this.state.pos);if(ee(e))this.state.pos+=e<=65535?1:2;else{if(92!==e)break;{this.state.containsEsc=!0,t+=this.input.slice(n,this.state.pos);const e=this.state.pos,i=this.state.pos===r?Z:ee;if(117!==this.input.charCodeAt(++this.state.pos)){this.raise(this.state.pos,y.MissingUnicodeEscape),n=this.state.pos-1;continue}++this.state.pos;const s=this.readCodePoint(!0);null!==s&&(i(s)||this.raise(e,y.EscapedCharNotAnIdentifier),t+=String.fromCodePoint(s)),n=this.state.pos}}}return t+this.input.slice(n,this.state.pos)}readWord(e){const t=this.readWord1(e),r=x.get(t);void 0!==r?this.finishToken(r,K(r)):this.finishToken(124,t)}checkKeywordEscapes(){const{type:e}=this.state;V(e)&&this.state.containsEsc&&this.raise(this.state.start,y.InvalidEscapedReservedWord,K(e))}updateContext(e){}}{addExtra(e,t,r){if(!e)return;const n=e.extra=e.extra||{};n[t]=r}isContextual(e){return this.state.type===e&&!this.state.containsEsc}isUnparsedContextual(e,t){const r=e+t.length;if(this.input.slice(e,r)===t){const e=this.input.charCodeAt(r);return!(ee(e)||55296==(64512&e))}return!1}isLookaheadContextual(e){const t=this.nextTokenStart();return this.isUnparsedContextual(t,e)}eatContextual(e){return!!this.isContextual(e)&&(this.next(),!0)}expectContextual(e,t){this.eatContextual(e)||this.unexpected(null,t)}canInsertSemicolon(){return this.match(131)||this.match(8)||this.hasPrecedingLineBreak()}hasPrecedingLineBreak(){return n.test(this.input.slice(this.state.lastTokEnd,this.state.start))}hasFollowingLineBreak(){return o.lastIndex=this.state.end,o.test(this.input)}isLineTerminator(){return this.eat(13)||this.canInsertSemicolon()}semicolon(e=!0){(e?this.isLineTerminator():this.eat(13))||this.raise(this.state.lastTokEnd,y.MissingSemicolon)}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,{code:m.SyntaxError,reasonCode:"UnexpectedSpace",template:e})}unexpected(e,t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:"Unexpected token"}){var r;throw r=t,"number"==typeof r&&(t={code:m.SyntaxError,reasonCode:"UnexpectedToken",template:`Unexpected token, expected "${K(t)}"`}),this.raise(null!=e?e:this.state.start,t)}getPluginNamesFromConfigs(e){return e.map(e=>"string"==typeof e?e:e[0])}expectPlugin(e,t){if(!this.hasPlugin(e))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:this.getPluginNamesFromConfigs([e])},`This experimental syntax requires enabling the parser plugin: ${JSON.stringify(e)}.`);return!0}expectOnePlugin(e,t){if(!e.some(e=>this.hasPlugin(e)))throw this.raiseWithData(null!=t?t:this.state.start,{missingPlugin:this.getPluginNamesFromConfigs(e)},`This experimental syntax requires enabling one of the following parser plugin(s): ${e.map(e=>JSON.stringify(e)).join(", ")}.`)}tryParse(e,t=this.state.clone()){const r={node:null};try{const n=e((e=null)=>{throw r.node=e,r});if(this.state.errors.length>t.errors.length){const e=this.state;return this.state=t,this.state.tokensLength=e.tokensLength,{node:n,error:e.errors[t.errors.length],thrown:!1,aborted:!1,failState:e}}return{node:n,error:null,thrown:!1,aborted:!1,failState:null}}catch(n){const e=this.state;if(this.state=t,n instanceof SyntaxError)return{node:null,error:n,thrown:!0,aborted:!1,failState:e};if(n===r)return{node:r.node,error:null,thrown:!1,aborted:!0,failState:e};throw n}}checkExpressionErrors(e,t){if(!e)return!1;const{shorthandAssign:r,doubleProto:n,optionalParameters:i}=e,s=r+n+i>-3;if(!t)return s;s&&(r>=0&&this.raise(r,y.InvalidCoverInitializedName),n>=0&&this.raise(n,y.DuplicateProto),i>=0&&this.unexpected(i))}isLiteralPropertyName(){return F(this.state.type)}isPrivateName(e){return"PrivateName"===e.type}getPrivateNameSV(e){return e.id.name}hasPropertyAsPrivateName(e){return("MemberExpression"===e.type||"OptionalMemberExpression"===e.type)&&this.isPrivateName(e.property)}isOptionalChain(e){return"OptionalMemberExpression"===e.type||"OptionalCallExpression"===e.type}isObjectProperty(e){return"ObjectProperty"===e.type}isObjectMethod(e){return"ObjectMethod"===e.type}initializeScopes(e="module"===this.options.sourceType){const t=this.state.labels;this.state.labels=[];const r=this.exportedIdentifiers;this.exportedIdentifiers=new Set;const n=this.inModule;this.inModule=e;const i=this.scope,s=this.getScopeHandler();this.scope=new s(this.raise.bind(this),this.inModule);const a=this.prodParam;this.prodParam=new Ce;const o=this.classScope;this.classScope=new xe(this.raise.bind(this));const l=this.expressionScope;return this.expressionScope=new we(this.raise.bind(this)),()=>{this.state.labels=t,this.exportedIdentifiers=r,this.inModule=n,this.scope=i,this.prodParam=a,this.classScope=o,this.expressionScope=l}}enterInitialScopes(){let e=0;this.inModule&&(e|=2),this.scope.enter(1),this.prodParam.enter(e)}}{startNode(){return new ke(this,this.state.start,this.state.startLoc)}startNodeAt(e,t){return new ke(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.options.attachComment&&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)}}{toAssignable(e,t=!1){var r,n;let i=void 0;switch(("ParenthesizedExpression"===e.type||null!=(r=e.extra)&&r.parenthesized)&&(i=ot(e),t?"Identifier"===i.type?this.expressionScope.recordParenthesizedIdentifierError(e.start,y.InvalidParenthesizedAssignment):"MemberExpression"!==i.type&&this.raise(e.start,y.InvalidParenthesizedAssignment):this.raise(e.start,y.InvalidParenthesizedAssignment)),e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern";for(let r=0,n=e.properties.length,i=n-1;r<n;r++){var s;const n=e.properties[r],a=r===i;this.toAssignableObjectExpressionProp(n,a,t),a&&"RestElement"===n.type&&null!=(s=e.extra)&&s.trailingComma&&this.raiseRestNotLast(e.extra.trailingComma)}break;case"ObjectProperty":this.toAssignable(e.value,t);break;case"SpreadElement":{this.checkToRestConversion(e),e.type="RestElement";const r=e.argument;this.toAssignable(r,t);break}case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,null==(n=e.extra)?void 0:n.trailingComma,t);break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,y.MissingEqInAssignment),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(i,t)}return e}toAssignableObjectExpressionProp(e,t,r){if("ObjectMethod"===e.type){const t="get"===e.kind||"set"===e.kind?y.PatternHasAccessor:y.PatternHasMethod;this.raise(e.key.start,t)}else"SpreadElement"!==e.type||t?this.toAssignable(e,r):this.raiseRestNotLast(e.start)}toAssignableList(e,t,r){let n=e.length;if(n){const i=e[n-1];if("RestElement"===(null==i?void 0:i.type))--n;else if("SpreadElement"===(null==i?void 0:i.type)){i.type="RestElement";let e=i.argument;this.toAssignable(e,r),e=ot(e),"Identifier"!==e.type&&"MemberExpression"!==e.type&&"ArrayPattern"!==e.type&&"ObjectPattern"!==e.type&&this.unexpected(e.start),t&&this.raiseTrailingCommaAfterRest(t),--n}}for(let i=0;i<n;i++){const t=e[i];t&&(this.toAssignable(t,r),"RestElement"===t.type&&this.raiseRestNotLast(t.start))}return e}isAssignable(e,t){switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":return!0;case"ObjectExpression":{const t=e.properties.length-1;return e.properties.every((e,r)=>"ObjectMethod"!==e.type&&(r===t||"SpreadElement"!==e.type)&&this.isAssignable(e))}case"ObjectProperty":return this.isAssignable(e.value);case"SpreadElement":return this.isAssignable(e.argument);case"ArrayExpression":return e.elements.every(e=>null===e||this.isAssignable(e));case"AssignmentExpression":return"="===e.operator;case"ParenthesizedExpression":return this.isAssignable(e.expression);case"MemberExpression":case"OptionalMemberExpression":return!t;default:return!1}}toReferencedList(e,t){return e}toReferencedListDeep(e,t){this.toReferencedList(e,t);for(const r of e)"ArrayExpression"===(null==r?void 0:r.type)&&this.toReferencedListDeep(r.elements)}parseSpread(e,t){const r=this.startNode();return this.next(),r.argument=this.parseMaybeAssignAllowIn(e,void 0,t),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 0:{const e=this.startNode();return this.next(),e.elements=this.parseBindingList(3,93,!0),this.finishNode(e,"ArrayPattern")}case 5:return this.parseObjectLike(8,!0)}return this.parseIdentifier()}parseBindingList(e,t,r,n){const i=[];let s=!0;for(;!this.eat(e);)if(s?s=!1:this.expect(12),r&&this.match(12))i.push(null);else{if(this.eat(e))break;if(this.match(21)){i.push(this.parseAssignableListItemTypes(this.parseRestBinding())),this.checkCommaAfterRest(t),this.expect(e);break}{const e=[];for(this.match(26)&&this.hasPlugin("decorators")&&this.raise(this.state.start,y.UnsupportedParameterDecorator);this.match(26);)e.push(this.parseDecorator());i.push(this.parseAssignableListItem(n,e))}}return i}parseBindingRestProperty(e){return this.next(),e.argument=this.parseIdentifier(),this.checkCommaAfterRest(125),this.finishNode(e,"RestElement")}parseBindingProperty(){const e=this.startNode(),{type:t,start:r,startLoc:n}=this.state;return 21===t?this.parseBindingRestProperty(e):(this.parsePropertyName(e),e.method=!1,this.parseObjPropValue(e,r,n,!1,!1,!0,!1),e)}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){var n,i,s;if(t=null!=(n=t)?n:this.state.startLoc,e=null!=(i=e)?i:this.state.start,r=null!=(s=r)?s:this.parseBindingAtom(),!this.eat(29))return r;const a=this.startNodeAt(e,t);return a.left=r,a.right=this.parseMaybeAssignAllowIn(),this.finishNode(a,"AssignmentPattern")}checkLVal(e,t,r=64,n,i,s=!1){switch(e.type){case"Identifier":{const{name:t}=e;this.state.strict&&(s?ue(t,this.inModule):ce(t))&&this.raise(e.start,64===r?y.StrictEvalArguments:y.StrictEvalArgumentsBinding,t),n&&(n.has(t)?this.raise(e.start,y.ParamDupe):n.add(t)),i&&"let"===t&&this.raise(e.start,y.LetInLexicalBinding),64&r||this.scope.declareName(t,r,e.start);break}case"MemberExpression":64!==r&&this.raise(e.start,y.InvalidPropertyBindingPattern);break;case"ObjectPattern":for(let t of e.properties){if(this.isObjectProperty(t))t=t.value;else if(this.isObjectMethod(t))continue;this.checkLVal(t,"object destructuring pattern",r,n,i)}break;case"ArrayPattern":for(const t of e.elements)t&&this.checkLVal(t,"array destructuring pattern",r,n,i);break;case"AssignmentPattern":this.checkLVal(e.left,"assignment pattern",r,n);break;case"RestElement":this.checkLVal(e.argument,"rest element",r,n);break;case"ParenthesizedExpression":this.checkLVal(e.expression,"parenthesized expression",r,n);break;default:this.raise(e.start,64===r?y.InvalidLhs:y.InvalidLhsBinding,t)}}checkToRestConversion(e){"Identifier"!==e.argument.type&&"MemberExpression"!==e.argument.type&&this.raise(e.argument.start,y.InvalidRestAssignmentPattern)}checkCommaAfterRest(e){this.match(12)&&(this.lookaheadCharCode()===e?this.raiseTrailingCommaAfterRest(this.state.start):this.raiseRestNotLast(this.state.start))}raiseRestNotLast(e){throw this.raise(e,y.ElementAfterRest)}raiseTrailingCommaAfterRest(e){this.raise(e,y.RestTrailingComma)}}{checkProto(e,t,r,n){if("SpreadElement"===e.type||this.isObjectMethod(e)||e.computed||e.shorthand)return;const i=e.key,s="Identifier"===i.type?i.name:i.value;if("__proto__"===s){if(t)return void this.raise(i.start,y.RecordNoProto);r.used&&(n?-1===n.doubleProto&&(n.doubleProto=i.start):this.raise(i.start,y.DuplicateProto)),r.used=!0}}shouldExitDescending(e,t){return"ArrowFunctionExpression"===e.type&&e.start===t}getExpression(){this.enterInitialScopes(),this.nextToken();const e=this.parseExpression();return this.match(131)||this.unexpected(),this.finalizeRemainingComments(),e.comments=this.state.comments,e.errors=this.state.errors,this.options.tokens&&(e.tokens=this.tokens),e}parseExpression(e,t){return e?this.disallowInAnd(()=>this.parseExpressionBase(t)):this.allowInAnd(()=>this.parseExpressionBase(t))}parseExpressionBase(e){const t=this.state.start,r=this.state.startLoc,n=this.parseMaybeAssign(e);if(this.match(12)){const i=this.startNodeAt(t,r);for(i.expressions=[n];this.eat(12);)i.expressions.push(this.parseMaybeAssign(e));return this.toReferencedList(i.expressions),this.finishNode(i,"SequenceExpression")}return n}parseMaybeAssignDisallowIn(e,t){return this.disallowInAnd(()=>this.parseMaybeAssign(e,t))}parseMaybeAssignAllowIn(e,t){return this.allowInAnd(()=>this.parseMaybeAssign(e,t))}setOptionalParametersError(e,t){var r;e.optionalParameters=null!=(r=null==t?void 0:t.pos)?r:this.state.start}parseMaybeAssign(e,t){const r=this.state.start,n=this.state.startLoc;if(this.isContextual(101)&&this.prodParam.hasYield){let e=this.parseYield();return t&&(e=t.call(this,e,r,n)),e}let i;e?i=!1:(e=new Ne,i=!0);const{type:s}=this.state;(10===s||B(s))&&(this.state.potentialArrowAt=this.state.start);let a=this.parseMaybeConditional(e);if(t&&(a=t.call(this,a,r,n)),o=this.state.type,o>=29&&o<=33){const t=this.startNodeAt(r,n),i=this.state.value;return t.operator=i,this.match(29)?(t.left=this.toAssignable(a,!0),e.doubleProto>=r&&(e.doubleProto=-1),e.shorthandAssign>=r&&(e.shorthandAssign=-1)):t.left=a,this.checkLVal(a,"assignment expression"),this.next(),t.right=this.parseMaybeAssign(),this.finishNode(t,"AssignmentExpression")}var o;return i&&this.checkExpressionErrors(e,!0),a}parseMaybeConditional(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprOps(e);return this.shouldExitDescending(i,n)?i:this.parseConditional(i,t,r,e)}parseConditional(e,t,r,n){if(this.eat(17)){const n=this.startNodeAt(t,r);return n.test=e,n.consequent=this.parseMaybeAssignAllowIn(),this.expect(14),n.alternate=this.parseMaybeAssign(),this.finishNode(n,"ConditionalExpression")}return e}parseMaybeUnaryOrPrivate(e){return this.match(130)?this.parsePrivateName():this.parseMaybeUnary(e)}parseExprOps(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseMaybeUnaryOrPrivate(e);return this.shouldExitDescending(i,n)?i:this.parseExprOp(i,t,r,-1)}parseExprOp(e,t,r,n){if(this.isPrivateName(e)){const t=this.getPrivateNameSV(e),{start:r}=e;(n>=W(54)||!this.prodParam.hasIn||!this.match(54))&&this.raise(r,y.PrivateInExpectedIn,t),this.classScope.usePrivateName(t,r)}const i=this.state.type;if(s=i,s>=37&&s<=55&&(this.prodParam.hasIn||!this.match(54))){let s=W(i);if(s>n){if(37===i){if(this.expectPlugin("pipelineOperator"),this.state.inFSharpPipelineDirectBody)return e;this.checkPipelineAtInfixOperator(e,t)}const a=this.startNodeAt(t,r);a.left=e,a.operator=this.state.value;const o=39===i||40===i,l=38===i;if(l&&(s=W(40)),this.next(),37===i&&this.hasPlugin(["pipelineOperator",{proposal:"minimal"}])&&92===this.state.type&&this.prodParam.hasAwait)throw this.raise(this.state.start,y.UnexpectedAwaitAfterPipelineBody);a.right=this.parseExprOpRightExpr(i,s),this.finishNode(a,o||l?"LogicalExpression":"BinaryExpression");const c=this.state.type;if(l&&(39===c||40===c)||o&&38===c)throw this.raise(this.state.start,y.MixingCoalesceWithLogical);return this.parseExprOp(a,t,r,n)}}var s;return e}parseExprOpRightExpr(e,t){const r=this.state.start,n=this.state.startLoc;switch(e){case 37:switch(this.getPluginOption("pipelineOperator","proposal")){case"hack":return this.withTopicBindingContext(()=>this.parseHackPipeBody());case"smart":return this.withTopicBindingContext(()=>{if(this.prodParam.hasYield&&this.isContextual(101))throw this.raise(this.state.start,y.PipeBodyIsTighter,this.state.value);return this.parseSmartPipelineBodyInStyle(this.parseExprOpBaseRightExpr(e,t),r,n)});case"fsharp":return this.withSoloAwaitPermittingContext(()=>this.parseFSharpPipelineBody(t))}default:return this.parseExprOpBaseRightExpr(e,t)}}parseExprOpBaseRightExpr(e,t){const r=this.state.start,n=this.state.startLoc;return this.parseExprOp(this.parseMaybeUnaryOrPrivate(),r,n,(i=e,53===i?t-1:t));var i}parseHackPipeBody(){var e;const{start:t}=this.state,r=this.parseMaybeAssign();return!lt.has(r.type)||null!=(e=r.extra)&&e.parenthesized||this.raise(t,y.PipeUnparenthesizedBody,lt.get(r.type)),this.topicReferenceWasUsedInCurrentContext()||this.raise(t,y.PipeTopicUnused),r}checkExponentialAfterUnary(e){this.match(53)&&this.raise(e.argument.start,y.UnexpectedTokenUnaryExponentiation)}parseMaybeUnary(e,t){const r=this.state.start,n=this.state.startLoc,i=this.isContextual(92);if(i&&this.isAwaitAllowed()){this.next();const e=this.parseAwait(r,n);return t||this.checkExponentialAfterUnary(e),e}const s=this.match(34),a=this.startNode();if(o=this.state.type,_[o]){a.operator=this.state.value,a.prefix=!0,this.match(68)&&this.expectPlugin("throwExpressions");const r=this.match(85);if(this.next(),a.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),this.state.strict&&r){const e=a.argument;"Identifier"===e.type?this.raise(a.start,y.StrictDelete):this.hasPropertyAsPrivateName(e)&&this.raise(a.start,y.DeletePrivateField)}if(!s)return t||this.checkExponentialAfterUnary(a),this.finishNode(a,"UnaryExpression")}var o;const l=this.parseUpdate(a,s,e);if(i){const{type:e}=this.state,t=this.hasPlugin("v8intrinsic")?R(e):R(e)&&!this.match(50);if(t&&!this.isAmbiguousAwait())return this.raiseOverwrite(r,y.AwaitNotInAsyncContext),this.parseAwait(r,n)}return l}parseUpdate(e,t,r){if(t)return this.checkLVal(e.argument,"prefix operation"),this.finishNode(e,"UpdateExpression");const n=this.state.start,i=this.state.startLoc;let s=this.parseExprSubscripts(r);if(this.checkExpressionErrors(r,!1))return s;for(;a=this.state.type,34===a&&!this.canInsertSemicolon();){const e=this.startNodeAt(n,i);e.operator=this.state.value,e.prefix=!1,e.argument=s,this.checkLVal(s,"postfix operation"),this.next(),s=this.finishNode(e,"UpdateExpression")}var a;return s}parseExprSubscripts(e){const t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return this.shouldExitDescending(i,n)?i:this.parseSubscripts(i,t,r)}parseSubscripts(e,t,r,n){const i={optionalChainMember:!1,maybeAsyncArrow:this.atPossibleAsyncArrow(e),stop:!1};do{e=this.parseSubscript(e,t,r,n,i),i.maybeAsyncArrow=!1}while(!i.stop);return e}parseSubscript(e,t,r,n,i){const{type:s}=this.state;if(!n&&15===s)return this.parseBind(e,t,r,n,i);if(Y(s))return this.parseTaggedTemplateExpression(e,t,r,i);let a=!1;if(18===s){if(n&&40===this.lookaheadCharCode())return i.stop=!0,e;i.optionalChainMember=a=!0,this.next()}if(!n&&this.match(10))return this.parseCoverCallAndAsyncArrowHead(e,t,r,i,a);{const n=this.eat(0);return n||a||this.eat(16)?this.parseMember(e,t,r,i,n,a):(i.stop=!0,e)}}parseMember(e,t,r,n,i,s){const a=this.startNodeAt(t,r);return a.object=e,a.computed=i,i?(a.property=this.parseExpression(),this.expect(3)):this.match(130)?("Super"===e.type&&this.raise(t,y.SuperPrivateField),this.classScope.usePrivateName(this.state.value,this.state.start),a.property=this.parsePrivateName()):a.property=this.parseIdentifier(!0),n.optionalChainMember?(a.optional=s,this.finishNode(a,"OptionalMemberExpression")):this.finishNode(a,"MemberExpression")}parseBind(e,t,r,n,i){const s=this.startNodeAt(t,r);return s.object=e,this.next(),s.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(s,"BindExpression"),t,r,n)}parseCoverCallAndAsyncArrowHead(e,t,r,n,i){const s=this.state.maybeInArrowParameters;let a=null;this.state.maybeInArrowParameters=!0,this.next();let o=this.startNodeAt(t,r);return o.callee=e,n.maybeAsyncArrow&&(this.expressionScope.enter(new Ae(2)),a=new Ne),n.optionalChainMember&&(o.optional=i),o.arguments=i?this.parseCallExpressionArguments(11):this.parseCallExpressionArguments(11,"Import"===e.type,"Super"!==e.type,o,a),this.finishCallExpression(o,n.optionalChainMember),n.maybeAsyncArrow&&this.shouldParseAsyncArrow()&&!i?(n.stop=!0,this.expressionScope.validateAsPattern(),this.expressionScope.exit(),o=this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),o)):(n.maybeAsyncArrow&&(this.checkExpressionErrors(a,!0),this.expressionScope.exit()),this.toReferencedArguments(o)),this.state.maybeInArrowParameters=s,o}toReferencedArguments(e,t){this.toReferencedListDeep(e.arguments,t)}parseTaggedTemplateExpression(e,t,r,n){const i=this.startNodeAt(t,r);return i.tag=e,i.quasi=this.parseTemplate(!0),n.optionalChainMember&&this.raise(t,y.OptionalChainingNoTemplate),this.finishNode(i,"TaggedTemplateExpression")}atPossibleAsyncArrow(e){return"Identifier"===e.type&&"async"===e.name&&this.state.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&e.start===this.state.potentialArrowAt}finishCallExpression(e,t){if("Import"===e.callee.type)if(2===e.arguments.length&&(this.hasPlugin("moduleAttributes")||this.expectPlugin("importAssertions")),0===e.arguments.length||e.arguments.length>2)this.raise(e.start,y.ImportCallArity,this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")?"one or two arguments":"one argument");else for(const r of e.arguments)"SpreadElement"===r.type&&this.raise(r.start,y.ImportCallSpreadArgument);return this.finishNode(e,t?"OptionalCallExpression":"CallExpression")}parseCallExpressionArguments(e,t,r,n,i){const s=[];let a=!0;const o=this.state.inFSharpPipelineDirectBody;for(this.state.inFSharpPipelineDirectBody=!1;!this.eat(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){!t||this.hasPlugin("importAssertions")||this.hasPlugin("moduleAttributes")||this.raise(this.state.lastTokStart,y.ImportCallArgumentTrailingComma),n&&this.addExtra(n,"trailingComma",this.state.lastTokStart),this.next();break}s.push(this.parseExprListItem(!1,i,r))}return this.state.inFSharpPipelineDirectBody=o,s}shouldParseAsyncArrow(){return this.match(19)&&!this.canInsertSemicolon()}parseAsyncArrowFromCallExpression(e,t){var r;return this.resetPreviousNodeTrailingComments(t),this.expect(19),this.parseArrowExpression(e,t.arguments,!0,null==(r=t.extra)?void 0:r.trailingComma),t.innerComments&&d(e,t.innerComments),t.callee.trailingComments&&d(e,t.callee.trailingComments),e}parseNoCallExpr(){const e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)}parseExprAtom(e){let t;const{type:r}=this.state;switch(r){case 75:return this.parseSuper();case 79:return t=this.startNode(),this.next(),this.match(16)?this.parseImportMetaProperty(t):(this.match(10)||this.raise(this.state.lastTokStart,y.UnsupportedImport),this.finishNode(t,"Import"));case 74:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case 86:return this.parseDo(this.startNode(),!1);case 52:case 31:return this.readRegexp(),this.parseRegExpLiteral(this.state.value);case 126:return this.parseNumericLiteral(this.state.value);case 127:return this.parseBigIntLiteral(this.state.value);case 128:return this.parseDecimalLiteral(this.state.value);case 125:return this.parseStringLiteral(this.state.value);case 80:return this.parseNullLiteral();case 81:return this.parseBooleanLiteral(!0);case 82:return this.parseBooleanLiteral(!1);case 10:{const e=this.state.potentialArrowAt===this.state.start;return this.parseParenAndDistinguishExpression(e)}case 2:case 1:return this.parseArrayLike(2===this.state.type?4:3,!1,!0);case 0:return this.parseArrayLike(3,!0,!1,e);case 6:case 7:return this.parseObjectLike(6===this.state.type?9:8,!1,!0);case 5:return this.parseObjectLike(8,!1,!1,e);case 64:return this.parseFunctionOrFunctionSent();case 26:this.parseDecorators();case 76:return t=this.startNode(),this.takeDecorators(t),this.parseClass(t,!1);case 73:return this.parseNewOrNewTarget();case 25:case 24:return this.parseTemplate(!1);case 15:{t=this.startNode(),this.next(),t.object=null;const e=t.callee=this.parseNoCallExpr();if("MemberExpression"===e.type)return this.finishNode(t,"BindExpression");throw this.raise(e.start,y.UnsupportedBind)}case 130:return this.raise(this.state.start,y.PrivateInExpectedIn,this.state.value),this.parsePrivateName();case 33:return this.parseTopicReferenceThenEqualsSign(50,"%");case 32:return this.parseTopicReferenceThenEqualsSign(42,"^");case 42:case 50:case 27:{const e=this.getPluginOption("pipelineOperator","proposal");if(e)return this.parseTopicReference(e);throw this.unexpected()}case 45:{const e=this.input.codePointAt(this.nextTokenStart());if(Z(e)||62===e){this.expectOnePlugin(["jsx","flow","typescript"]);break}throw this.unexpected()}default:if(B(r)){if(this.isContextual(119)&&123===this.lookaheadCharCode()&&!this.hasFollowingLineBreak())return this.parseModuleExpression();const e=this.state.potentialArrowAt===this.state.start,t=this.state.containsEsc,r=this.parseIdentifier();if(!t&&"async"===r.name&&!this.canInsertSemicolon()){const{type:e}=this.state;if(64===e)return this.resetPreviousNodeTrailingComments(r),this.next(),this.parseFunction(this.startNodeAtNode(r),void 0,!0);if(B(e))return 61===this.lookaheadCharCode()?this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(r)):r;if(86===e)return this.resetPreviousNodeTrailingComments(r),this.parseDo(this.startNodeAtNode(r),!0)}return e&&this.match(19)&&!this.canInsertSemicolon()?(this.next(),this.parseArrowExpression(this.startNodeAtNode(r),[r],!1)):r}throw this.unexpected()}}parseTopicReferenceThenEqualsSign(e,t){const r=this.getPluginOption("pipelineOperator","proposal");if(r)return this.state.type=e,this.state.value=t,this.state.pos--,this.state.end--,this.state.endLoc.column--,this.parseTopicReference(r);throw this.unexpected()}parseTopicReference(e){const t=this.startNode(),r=this.state.start,n=this.state.type;return this.next(),this.finishTopicReference(t,r,e,n)}finishTopicReference(e,t,r,n){if(this.testTopicReferenceConfiguration(r,t,n)){let n;return n="smart"===r?"PipelinePrimaryTopicReference":"TopicReference",this.topicReferenceIsAllowedInCurrentContext()||("smart"===r?this.raise(t,y.PrimaryTopicNotAllowed):this.raise(t,y.PipeTopicUnbound)),this.registerTopicReference(),this.finishNode(e,n)}throw this.raise(t,y.PipeTopicUnconfiguredToken,K(n))}testTopicReferenceConfiguration(e,t,r){switch(e){case"hack":return this.hasPlugin(["pipelineOperator",{topicToken:K(r)}]);case"smart":return 27===r;default:throw this.raise(t,y.PipeTopicRequiresHackPipes)}}parseAsyncArrowUnaryFunction(e){this.prodParam.enter(Ie(!0,this.prodParam.hasYield));const t=[this.parseIdentifier()];return this.prodParam.exit(),this.hasPrecedingLineBreak()&&this.raise(this.state.pos,y.LineTerminatorBeforeArrow),this.expect(19),this.parseArrowExpression(e,t,!0),e}parseDo(e,t){this.expectPlugin("doExpressions"),t&&this.expectPlugin("asyncDoExpressions"),e.async=t,this.next();const r=this.state.labels;return this.state.labels=[],t?(this.prodParam.enter(2),e.body=this.parseBlock(),this.prodParam.exit()):e.body=this.parseBlock(),this.state.labels=r,this.finishNode(e,"DoExpression")}parseSuper(){const e=this.startNode();return this.next(),!this.match(10)||this.scope.allowDirectSuper||this.options.allowSuperOutsideMethod?this.scope.allowSuper||this.options.allowSuperOutsideMethod||this.raise(e.start,y.UnexpectedSuper):this.raise(e.start,y.SuperNotAllowed),this.match(10)||this.match(0)||this.match(16)||this.raise(e.start,y.UnsupportedSuper),this.finishNode(e,"Super")}parsePrivateName(){const e=this.startNode(),t=this.startNodeAt(this.state.start+1,new c(this.state.curLine,this.state.start+1-this.state.lineStart)),r=this.state.value;return this.next(),e.id=this.createIdentifier(t,r),this.finishNode(e,"PrivateName")}parseFunctionOrFunctionSent(){const e=this.startNode();if(this.next(),this.prodParam.hasYield&&this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"function");return this.next(),this.match(98)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected(),this.parseMetaProperty(e,t,"sent")}return this.parseFunction(e)}parseMetaProperty(e,t,r){e.meta=t;const n=this.state.containsEsc;return e.property=this.parseIdentifier(!0),(e.property.name!==r||n)&&this.raise(e.property.start,y.UnsupportedMetaProperty,t.name,r),this.finishNode(e,"MetaProperty")}parseImportMetaProperty(e){const t=this.createIdentifier(this.startNodeAtNode(e),"import");return this.next(),this.isContextual(96)&&(this.inModule||this.raise(t.start,g.ImportMetaOutsideModule),this.sawUnambiguousESM=!0),this.parseMetaProperty(e,t,"meta")}parseLiteralAtNode(e,t,r){return this.addExtra(r,"rawValue",e),this.addExtra(r,"raw",this.input.slice(r.start,this.state.end)),r.value=e,this.next(),this.finishNode(r,t)}parseLiteral(e,t){const r=this.startNode();return this.parseLiteralAtNode(e,t,r)}parseStringLiteral(e){return this.parseLiteral(e,"StringLiteral")}parseNumericLiteral(e){return this.parseLiteral(e,"NumericLiteral")}parseBigIntLiteral(e){return this.parseLiteral(e,"BigIntLiteral")}parseDecimalLiteral(e){return this.parseLiteral(e,"DecimalLiteral")}parseRegExpLiteral(e){const t=this.parseLiteral(e.value,"RegExpLiteral");return t.pattern=e.pattern,t.flags=e.flags,t}parseBooleanLiteral(e){const t=this.startNode();return t.value=e,this.next(),this.finishNode(t,"BooleanLiteral")}parseNullLiteral(){const e=this.startNode();return this.next(),this.finishNode(e,"NullLiteral")}parseParenAndDistinguishExpression(e){const t=this.state.start,r=this.state.startLoc;let n;this.next(),this.expressionScope.enter(new Ae(1));const i=this.state.maybeInArrowParameters,s=this.state.inFSharpPipelineDirectBody;this.state.maybeInArrowParameters=!0,this.state.inFSharpPipelineDirectBody=!1;const a=this.state.start,o=this.state.startLoc,l=[],c=new Ne;let u,p,f=!0;for(;!this.match(11);){if(f)f=!1;else if(this.expect(12,-1===c.optionalParameters?null:c.optionalParameters),this.match(11)){p=this.state.start;break}if(this.match(21)){const e=this.state.start,t=this.state.startLoc;u=this.state.start,l.push(this.parseParenItem(this.parseRestBinding(),e,t)),this.checkCommaAfterRest(41);break}l.push(this.parseMaybeAssignAllowIn(c,this.parseParenItem))}const d=this.state.lastTokEnd,h=this.state.lastTokEndLoc;this.expect(11),this.state.maybeInArrowParameters=i,this.state.inFSharpPipelineDirectBody=s;let m=this.startNodeAt(t,r);if(e&&this.shouldParseArrow(l)&&(m=this.parseArrow(m)))return this.expressionScope.validateAsPattern(),this.expressionScope.exit(),this.parseArrowExpression(m,l,!1),m;if(this.expressionScope.exit(),l.length||this.unexpected(this.state.lastTokStart),p&&this.unexpected(p),u&&this.unexpected(u),this.checkExpressionErrors(c,!0),this.toReferencedListDeep(l,!0),l.length>1?(n=this.startNodeAt(a,o),n.expressions=l,this.finishNode(n,"SequenceExpression"),this.resetEndLocation(n,d,h)):n=l[0],!this.options.createParenthesizedExpressions)return this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",t),this.takeSurroundingComments(n,t,this.state.lastTokEnd),n;const y=this.startNodeAt(t,r);return y.expression=n,this.finishNode(y,"ParenthesizedExpression"),y}shouldParseArrow(e){return!this.canInsertSemicolon()}parseArrow(e){if(this.eat(19))return e}parseParenItem(e,t,r){return e}parseNewOrNewTarget(){const e=this.startNode();if(this.next(),this.match(16)){const t=this.createIdentifier(this.startNodeAtNode(e),"new");this.next();const r=this.parseMetaProperty(e,t,"target");return this.scope.inNonArrowFunction||this.scope.inClass||this.raise(r.start,y.UnexpectedNewTarget),r}return this.parseNew(e)}parseNew(e){return e.callee=this.parseNoCallExpr(),"Import"===e.callee.type?this.raise(e.callee.start,y.ImportCallNotNewExpression):this.isOptionalChain(e.callee)?this.raise(this.state.lastTokEnd,y.OptionalChainingNoNew):this.eat(18)&&this.raise(this.state.start,y.OptionalChainingNoNew),this.parseNewArguments(e),this.finishNode(e,"NewExpression")}parseNewArguments(e){if(this.eat(10)){const t=this.parseExprList(11);this.toReferencedList(t),e.arguments=t}else e.arguments=[]}parseTemplateElement(e){const{start:t,end:r,value:n}=this.state,i=t+1,s=this.startNodeAt(i,p(this.state.startLoc,1));null===n&&(e||this.raise(t+2,y.InvalidEscapeSequenceTemplate));const a=this.match(24),o=a?-1:-2,l=r+o;return s.value={raw:this.input.slice(i,l).replace(/\r\n?/g,"\n"),cooked:null===n?null:n.slice(1,o)},s.tail=a,this.next(),this.finishNode(s,"TemplateElement"),this.resetEndLocation(s,l,p(this.state.lastTokEndLoc,o)),s}parseTemplate(e){const t=this.startNode();t.expressions=[];let r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)t.expressions.push(this.parseTemplateSubstitution()),this.readTemplateContinuation(),t.quasis.push(r=this.parseTemplateElement(e));return this.finishNode(t,"TemplateLiteral")}parseTemplateSubstitution(){return this.parseExpression()}parseObjectLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const s=Object.create(null);let a=!0;const o=this.startNode();for(o.properties=[],this.next();!this.match(e);){if(a)a=!1;else if(this.expect(12),this.match(e)){this.addExtra(o,"trailingComma",this.state.lastTokStart);break}let i;t?i=this.parseBindingProperty():(i=this.parsePropertyDefinition(n),this.checkProto(i,r,s,n)),r&&!this.isObjectProperty(i)&&"SpreadElement"!==i.type&&this.raise(i.start,y.InvalidRecordProperty),i.shorthand&&this.addExtra(i,"shorthand",!0),o.properties.push(i)}this.next(),this.state.inFSharpPipelineDirectBody=i;let l="ObjectExpression";return t?l="ObjectPattern":r&&(l="RecordExpression"),this.finishNode(o,l)}maybeAsyncOrAccessorProp(e){return!e.computed&&"Identifier"===e.key.type&&(this.isLiteralPropertyName()||this.match(0)||this.match(51))}parsePropertyDefinition(e){let t=[];if(this.match(26))for(this.hasPlugin("decorators")&&this.raise(this.state.start,y.UnsupportedPropertyDecorator);this.match(26);)t.push(this.parseDecorator());const r=this.startNode();let n,i,s=!1,a=!1;if(this.match(21))return t.length&&this.unexpected(),this.parseSpread();t.length&&(r.decorators=t,t=[]),r.method=!1,e&&(n=this.state.start,i=this.state.startLoc);let o=this.eat(51);this.parsePropertyNamePrefixOperator(r);const l=this.state.containsEsc,c=this.parsePropertyName(r);if(!o&&!l&&this.maybeAsyncOrAccessorProp(r)){const e=c.name;"async"!==e||this.hasPrecedingLineBreak()||(s=!0,this.resetPreviousNodeTrailingComments(c),o=this.eat(51),this.parsePropertyName(r)),"get"!==e&&"set"!==e||(a=!0,this.resetPreviousNodeTrailingComments(c),r.kind=e,this.match(51)&&(o=!0,this.raise(this.state.pos,y.AccessorIsGenerator,e),this.next()),this.parsePropertyName(r))}return this.parseObjPropValue(r,n,i,o,s,!1,a,e),r}getGetterSetterExpectedParamCount(e){return"get"===e.kind?0:1}getObjectOrClassMethodParams(e){return e.params}checkGetterSetterParams(e){var t;const r=this.getGetterSetterExpectedParamCount(e),n=this.getObjectOrClassMethodParams(e),i=e.start;n.length!==r&&("get"===e.kind?this.raise(i,y.BadGetterArity):this.raise(i,y.BadSetterArity)),"set"===e.kind&&"RestElement"===(null==(t=n[n.length-1])?void 0:t.type)&&this.raise(i,y.BadSetterRestParameter)}parseObjectMethod(e,t,r,n,i){return i?(this.parseMethod(e,t,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParams(e),e):r||t||this.match(10)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,!1,"ObjectMethod")):void 0}parseObjectProperty(e,t,r,n,i){if(e.shorthand=!1,this.eat(14))return e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssignAllowIn(i),this.finishNode(e,"ObjectProperty");if(!e.computed&&"Identifier"===e.key.type){if(this.checkReservedWord(e.key.name,e.key.start,!0,!1),n)e.value=this.parseMaybeDefault(t,r,je(e.key));else if(this.match(29)){const n=this.state.start;null!=i?-1===i.shorthandAssign&&(i.shorthandAssign=n):this.raise(n,y.InvalidCoverInitializedName),e.value=this.parseMaybeDefault(t,r,je(e.key))}else e.value=je(e.key);return e.shorthand=!0,this.finishNode(e,"ObjectProperty")}}parseObjPropValue(e,t,r,n,i,s,a,o){const l=this.parseObjectMethod(e,n,i,s,a)||this.parseObjectProperty(e,t,r,s,o);return l||this.unexpected(),l}parsePropertyName(e){if(this.eat(0))e.computed=!0,e.key=this.parseMaybeAssignAllowIn(),this.expect(3);else{const{type:t,value:r}=this.state;let n;if(L(t))n=this.parseIdentifier(!0);else switch(t){case 126:n=this.parseNumericLiteral(r);break;case 125:n=this.parseStringLiteral(r);break;case 127:n=this.parseBigIntLiteral(r);break;case 128:n=this.parseDecimalLiteral(r);break;case 130:{const e=this.state.start+1;this.raise(e,y.UnexpectedPrivateField),n=this.parsePrivateName();break}default:throw this.unexpected()}e.key=n,130!==t&&(e.computed=!1)}return e.key}initFunction(e,t){e.id=null,e.generator=!1,e.async=!!t}parseMethod(e,t,r,n,i,s,a=!1){this.initFunction(e,r),e.generator=!!t;const o=n;return this.scope.enter(18|(a?64:0)|(i?32:0)),this.prodParam.enter(Ie(r,e.generator)),this.parseFunctionParams(e,o),this.parseFunctionBodyAndFinish(e,s,!0),this.prodParam.exit(),this.scope.exit(),e}parseArrayLike(e,t,r,n){r&&this.expectPlugin("recordAndTuple");const i=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!1;const s=this.startNode();return this.next(),s.elements=this.parseExprList(e,!r,n,s),this.state.inFSharpPipelineDirectBody=i,this.finishNode(s,r?"TupleExpression":"ArrayExpression")}parseArrowExpression(e,t,r,n){this.scope.enter(6);let i=Ie(r,!1);!this.match(0)&&this.prodParam.hasIn&&(i|=8),this.prodParam.enter(i),this.initFunction(e,r);const s=this.state.maybeInArrowParameters;return t&&(this.state.maybeInArrowParameters=!0,this.setArrowFunctionParameters(e,t,n)),this.state.maybeInArrowParameters=!1,this.parseFunctionBody(e,!0),this.prodParam.exit(),this.scope.exit(),this.state.maybeInArrowParameters=s,this.finishNode(e,"ArrowFunctionExpression")}setArrowFunctionParameters(e,t,r){e.params=this.toAssignableList(t,r,!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(5);if(this.expressionScope.enter(Oe()),n)e.body=this.parseMaybeAssign(),this.checkParams(e,!1,t,!1);else{const n=this.state.strict,i=this.state.labels;this.state.labels=[],this.prodParam.enter(4|this.prodParam.currentFlags()),e.body=this.parseBlock(!0,!1,i=>{const s=!this.isSimpleParamList(e.params);if(i&&s){const t="method"!==e.kind&&"constructor"!==e.kind||!e.key?e.start:e.key.end;this.raise(t,y.IllegalLanguageModeDirective)}const a=!n&&this.state.strict;this.checkParams(e,!(this.state.strict||t||r||s),t,a),this.state.strict&&e.id&&this.checkLVal(e.id,"function name",65,void 0,void 0,a)}),this.prodParam.exit(),this.state.labels=i}this.expressionScope.exit()}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,n=!0){const i=new Set;for(const s of e.params)this.checkLVal(s,"function parameter list",5,t?null:i,void 0,n)}parseExprList(e,t,r,n){const i=[];let s=!0;for(;!this.eat(e);){if(s)s=!1;else if(this.expect(12),this.match(e)){n&&this.addExtra(n,"trailingComma",this.state.lastTokStart),this.next();break}i.push(this.parseExprListItem(t,r))}return i}parseExprListItem(e,t,r){let n;if(this.match(12))e||this.raise(this.state.pos,y.UnexpectedToken,","),n=null;else if(this.match(21)){const e=this.state.start,r=this.state.startLoc;n=this.parseParenItem(this.parseSpread(t),e,r)}else if(this.match(17)){this.expectPlugin("partialApplication"),r||this.raise(this.state.start,y.UnexpectedArgumentPlaceholder);const e=this.startNode();this.next(),n=this.finishNode(e,"ArgumentPlaceholder")}else n=this.parseMaybeAssignAllowIn(t,this.parseParenItem);return n}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;const{start:n,type:i}=this.state;if(!L(i))throw this.unexpected();r=this.state.value;const s=(a=i,a<=88);var a;return t?s&&this.replaceToken(124):this.checkReservedWord(r,n,s,!1),this.next(),r}checkReservedWord(e,t,r,n){if(e.length>10)return;if(!function(e){return pe.has(e)}(e))return;if("yield"===e){if(this.prodParam.hasYield)return void this.raise(t,y.YieldBindingIdentifier)}else if("await"===e){if(this.prodParam.hasAwait)return void this.raise(t,y.AwaitBindingIdentifier);if(this.scope.inStaticBlock)return void this.raise(t,y.AwaitBindingIdentifierInStaticBlock);this.expressionScope.recordAsyncArrowParametersError(t,y.AwaitBindingIdentifier)}else if("arguments"===e&&this.scope.inClassAndNotInNonArrowFunction)return void this.raise(t,y.ArgumentsInClass);if(r&&function(e){return ie.has(e)}(e))return void this.raise(t,y.UnexpectedKeyword,e);const i=this.state.strict?n?ue:le:oe;i(e,this.inModule)&&this.raise(t,y.UnexpectedReservedWord,e)}isAwaitAllowed(){return!!this.prodParam.hasAwait||!(!this.options.allowAwaitOutsideFunction||this.scope.inFunction)}parseAwait(e,t){const r=this.startNodeAt(e,t);return this.expressionScope.recordParameterInitializerError(r.start,y.AwaitExpressionFormalParameter),this.eat(51)&&this.raise(r.start,y.ObsoleteAwaitStar),this.scope.inFunction||this.options.allowAwaitOutsideFunction||(this.isAmbiguousAwait()?this.ambiguousScriptDifferentAst=!0:this.sawUnambiguousESM=!0),this.state.soloAwait||(r.argument=this.parseMaybeUnary(null,!0)),this.finishNode(r,"AwaitExpression")}isAmbiguousAwait(){if(this.hasPrecedingLineBreak())return!0;const{type:e}=this.state;return 49===e||10===e||0===e||Y(e)||129===e||52===e||this.hasPlugin("v8intrinsic")&&50===e}parseYield(){const e=this.startNode();this.expressionScope.recordParameterInitializerError(e.start,y.YieldInParameter),this.next();let t=!1,r=null;if(!this.hasPrecedingLineBreak())switch(t=this.eat(51),this.state.type){case 13:case 131:case 8:case 11:case 3:case 9:case 14:case 12:if(!t)break;default:r=this.parseMaybeAssign()}return e.delegate=t,e.argument=r,this.finishNode(e,"YieldExpression")}checkPipelineAtInfixOperator(e,t){this.hasPlugin(["pipelineOperator",{proposal:"smart"}])&&"SequenceExpression"===e.type&&this.raise(t,y.PipelineHeadSequenceExpression)}checkHackPipeBodyEarlyErrors(e){this.topicReferenceWasUsedInCurrentContext()||this.raise(e,y.PipeTopicUnused)}parseSmartPipelineBodyInStyle(e,t,r){const n=this.startNodeAt(t,r);return this.isSimpleReference(e)?(n.callee=e,this.finishNode(n,"PipelineBareFunction")):(this.checkSmartPipeTopicBodyEarlyErrors(t),n.expression=e,this.finishNode(n,"PipelineTopicExpression"))}isSimpleReference(e){switch(e.type){case"MemberExpression":return!e.computed&&this.isSimpleReference(e.object);case"Identifier":return!0;default:return!1}}checkSmartPipeTopicBodyEarlyErrors(e){if(this.match(19))throw this.raise(this.state.start,y.PipelineBodyNoArrow);this.topicReferenceWasUsedInCurrentContext()||this.raise(e,y.PipelineTopicUnused)}withTopicBindingContext(e){const t=this.state.topicContext;this.state.topicContext={maxNumOfResolvableTopics:1,maxTopicIndex:null};try{return e()}finally{this.state.topicContext=t}}withSmartMixTopicForbiddingContext(e){if(!this.hasPlugin(["pipelineOperator",{proposal:"smart"}]))return 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}}allowInAnd(e){const t=this.prodParam.currentFlags(),r=8&~t;if(r){this.prodParam.enter(8|t);try{return e()}finally{this.prodParam.exit()}}return e()}disallowInAnd(e){const t=this.prodParam.currentFlags(),r=8&t;if(r){this.prodParam.enter(-9&t);try{return e()}finally{this.prodParam.exit()}}return e()}registerTopicReference(){this.state.topicContext.maxTopicIndex=0}topicReferenceIsAllowedInCurrentContext(){return this.state.topicContext.maxNumOfResolvableTopics>=1}topicReferenceWasUsedInCurrentContext(){return null!=this.state.topicContext.maxTopicIndex&&this.state.topicContext.maxTopicIndex>=0}parseFSharpPipelineBody(e){const t=this.state.start,r=this.state.startLoc;this.state.potentialArrowAt=this.state.start;const n=this.state.inFSharpPipelineDirectBody;this.state.inFSharpPipelineDirectBody=!0;const i=this.parseExprOp(this.parseMaybeUnaryOrPrivate(),t,r,e);return this.state.inFSharpPipelineDirectBody=n,i}parseModuleExpression(){this.expectPlugin("moduleBlocks");const e=this.startNode();this.next(),this.eat(5);const t=this.initializeScopes(!0);this.enterInitialScopes();const r=this.startNode();try{e.body=this.parseProgram(r,8,"module")}finally{t()}return this.eat(8),this.finishNode(e,"ModuleExpression")}parsePropertyNamePrefixOperator(e){}}{parseTopLevel(e,t){return e.program=this.parseProgram(t),e.comments=this.state.comments,this.options.tokens&&(e.tokens=function(e,t){for(let r=0;r<e.length;r++){const n=e[r],{type:i}=n;if("number"==typeof i){if(130===i){const{loc:t,start:i,value:s,end:a}=n,o=i+1,l=p(t.start,1);e.splice(r,1,new Ee({type:q(27),value:"#",start:i,end:o,startLoc:t.start,endLoc:l}),new Ee({type:q(124),value:s,start:o,end:a,startLoc:l,endLoc:t.end})),r++;continue}if(Y(i)){const{loc:s,start:a,value:o,end:l}=n,c=a+1,u=p(s.start,1);let f,d,h,m,y;f=96===t.charCodeAt(a)?new Ee({type:q(22),value:"`",start:a,end:c,startLoc:s.start,endLoc:u}):new Ee({type:q(8),value:"}",start:a,end:c,startLoc:s.start,endLoc:u}),24===i?(h=l-1,m=p(s.end,-1),d=null===o?null:o.slice(1,-1),y=new Ee({type:q(22),value:"`",start:h,end:l,startLoc:m,endLoc:s.end})):(h=l-2,m=p(s.end,-2),d=null===o?null:o.slice(1,-2),y=new Ee({type:q(23),value:"${",start:h,end:l,startLoc:m,endLoc:s.end})),e.splice(r,1,f,new Ee({type:q(20),value:d,start:c,end:h,startLoc:u,endLoc:m}),y),r+=2;continue}n.type=q(i)}}return e}(this.tokens,this.input)),this.finishNode(e,"File")}parseProgram(e,t=131,r=this.options.sourceType){if(e.sourceType=r,e.interpreter=this.parseInterpreterDirective(),this.parseBlockBody(e,!0,!0,t),this.inModule&&!this.options.allowUndeclaredExports&&this.scope.undefinedExports.size>0)for(const[n]of Array.from(this.scope.undefinedExports)){const e=this.scope.undefinedExports.get(n);this.raise(e,y.ModuleExportUndefined,n)}return this.finishNode(e,"Program")}stmtToDirective(e){const t=e;t.type="Directive",t.value=t.expression,delete t.expression;const r=t.value,n=r.value,i=this.input.slice(r.start,r.end),s=r.value=i.slice(1,-1);return this.addExtra(r,"raw",i),this.addExtra(r,"rawValue",s),this.addExtra(r,"expressionValue",n),r.type="DirectiveLiteral",t}parseInterpreterDirective(){if(!this.match(28))return null;const e=this.startNode();return e.value=this.state.value,this.next(),this.finishNode(e,"InterpreterDirective")}isLet(e){return!!this.isContextual(95)&&this.isLetKeyword(e)}isLetKeyword(e){const t=this.nextTokenStart(),r=this.codePointAtPos(t);if(92===r||91===r)return!0;if(e)return!1;if(123===r)return!0;if(Z(r)){if(ft.lastIndex=t,ft.test(this.input)){const e=this.codePointAtPos(ft.lastIndex);if(!ee(e)&&92!==e)return!1}return!0}return!1}parseStatement(e,t){return this.match(26)&&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=70,i="let"),r){case 56:return this.parseBreakContinueStatement(n,!0);case 59:return this.parseBreakContinueStatement(n,!1);case 60:return this.parseDebuggerStatement(n);case 86:return this.parseDoStatement(n);case 87:return this.parseForStatement(n);case 64:if(46===this.lookaheadCharCode())break;return e&&(this.state.strict?this.raise(this.state.start,y.StrictFunction):"if"!==e&&"label"!==e&&this.raise(this.state.start,y.SloppyFunction)),this.parseFunctionStatement(n,!1,!e);case 76:return e&&this.unexpected(),this.parseClass(n,!0);case 65:return this.parseIfStatement(n);case 66:return this.parseReturnStatement(n);case 67:return this.parseSwitchStatement(n);case 68:return this.parseThrowStatement(n);case 69:return this.parseTryStatement(n);case 71:case 70:return i=i||this.state.value,e&&"var"!==i&&this.raise(this.state.start,y.UnexpectedLexicalDeclaration),this.parseVarStatement(n,i);case 88:return this.parseWhileStatement(n);case 72:return this.parseWithStatement(n);case 5:return this.parseBlock();case 13:return this.parseEmptyStatement(n);case 79:{const e=this.lookaheadCharCode();if(40===e||46===e)break}case 78:{let e;return this.options.allowImportExportEverywhere||t||this.raise(this.state.start,y.UnexpectedImportExport),this.next(),79===r?(e=this.parseImport(n),"ImportDeclaration"!==e.type||e.importKind&&"value"!==e.importKind||(this.sawUnambiguousESM=!0)):(e=this.parseExport(n),("ExportNamedDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&("ExportAllDeclaration"!==e.type||e.exportKind&&"value"!==e.exportKind)&&"ExportDefaultDeclaration"!==e.type||(this.sawUnambiguousESM=!0)),this.assertModuleNodeAllowed(n),e}default:if(this.isAsyncFunction())return e&&this.raise(this.state.start,y.AsyncFunctionInSingleStatementContext),this.next(),this.parseFunctionStatement(n,!0,!e)}const s=this.state.value,a=this.parseExpression();return B(r)&&"Identifier"===a.type&&this.eat(14)?this.parseLabeledStatement(n,s,a,e):this.parseExpressionStatement(n,a)}assertModuleNodeAllowed(e){this.options.allowImportExportEverywhere||this.inModule||this.raise(e.start,g.ImportOutsideModule)}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(76)}parseDecorators(e){const t=this.state.decoratorStack[this.state.decoratorStack.length-1];for(;this.match(26);){const e=this.parseDecorator();t.push(e)}if(this.match(78))e||this.unexpected(),this.hasPlugin("decorators")&&!this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,y.DecoratorExportClass);else if(!this.canHaveLeadingDecorator())throw this.raise(this.state.start,y.UnexpectedLeadingDecorator)}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(10))n=this.parseExpression(),this.expect(11);else for(n=this.parseIdentifier(!1);this.eat(16);){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(10)){const t=this.startNodeAtNode(e);return t.callee=e,t.arguments=this.parseCallExpressionArguments(11,!1),this.toReferencedList(t.arguments),this.finishNode(t,"CallExpression")}return e}parseBreakContinueStatement(e,t){return this.next(),this.isLineTerminator()?e.label=null:(e.label=this.parseIdentifier(),this.semicolon()),this.verifyBreakContinue(e,t),this.finishNode(e,t?"BreakStatement":"ContinueStatement")}verifyBreakContinue(e,t){let r;for(r=0;r<this.state.labels.length;++r){const n=this.state.labels[r];if(null==e.label||n.name===e.label.name){if(null!=n.kind&&(t||"loop"===n.kind))break;if(e.label&&t)break}}r===this.state.labels.length&&this.raise(e.start,y.IllegalBreakContinue,t?"break":"continue")}parseDebuggerStatement(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")}parseHeaderExpression(){this.expect(10);const e=this.parseExpression();return this.expect(11),e}parseDoStatement(e){return this.next(),this.state.labels.push(ct),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("do")),this.state.labels.pop(),this.expect(88),e.test=this.parseHeaderExpression(),this.eat(13),this.finishNode(e,"DoWhileStatement")}parseForStatement(e){this.next(),this.state.labels.push(ct);let t=-1;if(this.isAwaitAllowed()&&this.eatContextual(92)&&(t=this.state.lastTokStart),this.scope.enter(0),this.expect(10),this.match(13))return t>-1&&this.unexpected(t),this.parseFor(e,null);const r=this.isContextual(95),n=r&&this.isLetKeyword();if(this.match(70)||this.match(71)||n){const r=this.startNode(),i=n?"let":this.state.value;return this.next(),this.parseVar(r,!0,i),this.finishNode(r,"VariableDeclaration"),(this.match(54)||this.isContextual(97))&&1===r.declarations.length?this.parseForIn(e,r,t):(t>-1&&this.unexpected(t),this.parseFor(e,r))}const i=this.isContextual(91),s=new Ne,a=this.parseExpression(!0,s),o=this.isContextual(97);if(o&&(r?this.raise(a.start,y.ForOfLet):-1===t&&i&&"Identifier"===a.type&&this.raise(a.start,y.ForOfAsync)),o||this.match(54)){this.toAssignable(a,!0);const r=o?"for-of statement":"for-in statement";return this.checkLVal(a,r),this.parseForIn(e,a,t)}return this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a)}parseFunctionStatement(e,t,r){return this.next(),this.parseFunction(e,1|(r?0:2),t)}parseIfStatement(e){return this.next(),e.test=this.parseHeaderExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(62)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")}parseReturnStatement(e){return this.prodParam.hasReturn||this.options.allowReturnOutsideFunction||this.raise(this.state.start,y.IllegalReturn),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(5),this.state.labels.push(ut),this.scope.enter(0);!this.match(8);)if(this.match(57)||this.match(61)){const e=this.match(57);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,y.MultipleDefaultsInSwitch),n=!0,r.test=null),this.expect(14)}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(),this.hasPrecedingLineBreak()&&this.raise(this.state.lastTokEnd,y.NewlineAfterThrow),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")}parseCatchClauseParam(){const e=this.parseBindingAtom(),t="Identifier"===e.type;return this.scope.enter(t?8:0),this.checkLVal(e,"catch clause",9),e}parseTryStatement(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.match(58)){const t=this.startNode();this.next(),this.match(10)?(this.expect(10),t.param=this.parseCatchClauseParam(),this.expect(11)):(t.param=null,this.scope.enter(0)),t.body=this.withSmartMixTopicForbiddingContext(()=>this.parseBlock(!1,!1)),this.scope.exit(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(63)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,y.NoCatchOrFinally),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(ct),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("while")),this.state.labels.pop(),this.finishNode(e,"WhileStatement")}parseWithStatement(e){return this.state.strict&&this.raise(this.state.start,y.StrictWith),this.next(),e.object=this.parseHeaderExpression(),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("with")),this.finishNode(e,"WithStatement")}parseEmptyStatement(e){return this.next(),this.finishNode(e,"EmptyStatement")}parseLabeledStatement(e,t,r,n){for(const a of this.state.labels)a.name===t&&this.raise(r.start,y.LabelRedeclaration,t);const i=(s=this.state.type,s>=86&&s<=88?"loop":this.match(67)?"switch":null);var s;for(let a=this.state.labels.length-1;a>=0;a--){const t=this.state.labels[a];if(t.statementStart!==e.start)break;t.statementStart=this.state.start,t.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,r){const n=this.startNode();return e&&this.state.strictErrors.clear(),this.expect(5),t&&this.scope.enter(0),this.parseBlockBody(n,e,!1,8,r),t&&this.scope.exit(),this.finishNode(n,"BlockStatement")}isValidDirective(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized}parseBlockBody(e,t,r,n,i){const s=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(s,t?a:void 0,r,n,i)}parseBlockOrModuleBlockBody(e,t,r,n,i){const s=this.state.strict;let a=!1,o=!1;for(;!this.match(n);){const n=this.parseStatement(null,r);if(t&&!o){if(this.isValidDirective(n)){const e=this.stmtToDirective(n);t.push(e),a||"use strict"!==e.value.value||(a=!0,this.setStrict(!0));continue}o=!0,this.state.strictErrors.clear()}e.push(n)}i&&i.call(this,a),s||this.setStrict(!1),this.next()}parseFor(e,t){return e.init=t,this.semicolon(!1),e.test=this.match(13)?null:this.parseExpression(),this.semicolon(!1),e.update=this.match(11)?null:this.parseExpression(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>this.parseStatement("for")),this.scope.exit(),this.state.labels.pop(),this.finishNode(e,"ForStatement")}parseForIn(e,t,r){const n=this.match(54);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,y.InvalidLhs,"for-loop"):this.raise(t.start,y.ForInOfLoopInitializer,n?"for-in":"for-of"),e.left=t,e.right=n?this.parseExpression():this.parseMaybeAssignAllowIn(),this.expect(11),e.body=this.withSmartMixTopicForbiddingContext(()=>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(29)?e.init=t?this.parseMaybeAssignDisallowIn():this.parseMaybeAssignAllowIn():("const"!==r||this.match(54)||this.isContextual(97)?"Identifier"===e.id.type||t&&(this.match(54)||this.isContextual(97))||this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Complex binding patterns"):i||this.raise(this.state.lastTokEnd,y.DeclarationMissingInitializer,"Const declarations"),e.init=null),n.push(this.finishNode(e,"VariableDeclarator")),!this.eat(12))break}return e}parseVarId(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"variable declaration","var"===t?5:9,void 0,"var"!==t)}parseFunction(e,t=0,r=!1){const n=1&t,i=2&t,s=!(!n||4&t);this.initFunction(e,r),this.match(51)&&i&&this.raise(this.state.start,y.GeneratorInSingleStatementContext),e.generator=this.eat(51),n&&(e.id=this.parseFunctionId(s));const a=this.state.maybeInArrowParameters;return this.state.maybeInArrowParameters=!1,this.scope.enter(2),this.prodParam.enter(Ie(r,e.generator)),n||(e.id=this.parseFunctionId()),this.parseFunctionParams(e,!1),this.withSmartMixTopicForbiddingContext(()=>{this.parseFunctionBodyAndFinish(e,n?"FunctionDeclaration":"FunctionExpression")}),this.prodParam.exit(),this.scope.exit(),n&&!i&&this.registerFunctionStatementId(e),this.state.maybeInArrowParameters=a,e}parseFunctionId(e){return e||B(this.state.type)?this.parseIdentifier():null}parseFunctionParams(e,t){this.expect(10),this.expressionScope.enter(new Pe(3)),e.params=this.parseBindingList(11,41,!1,t),this.expressionScope.exit()}registerFunctionStatementId(e){e.id&&this.scope.declareName(e.id.name,this.state.strict||e.generator||e.async?this.scope.treatFunctionsAsVar?5:9:17,e.id.start)}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,n),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")}isClassProperty(){return this.match(29)||this.match(13)||this.match(8)}isClassMethod(){return this.match(10)}isNonstaticConstructor(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)}parseClassBody(e,t){this.classScope.enter();const r={hadConstructor:!1,hadSuperClass:e};let n=[];const i=this.startNode();if(i.body=[],this.expect(5),this.withSmartMixTopicForbiddingContext(()=>{for(;!this.match(8);){if(this.eat(13)){if(n.length>0)throw this.raise(this.state.lastTokEnd,y.DecoratorSemicolon);continue}if(this.match(26)){n.push(this.parseDecorator());continue}const e=this.startNode();n.length&&(e.decorators=n,this.resetStartLocationFromNode(e,n[0]),n=[]),this.parseClassMember(i,e,r),"constructor"===e.kind&&e.decorators&&e.decorators.length>0&&this.raise(e.start,y.DecoratorConstructor)}}),this.state.strict=t,this.next(),n.length)throw this.raise(this.state.start,y.TrailingDecorator);return this.classScope.exit(),this.finishNode(i,"ClassBody")}parseClassMemberFromModifier(e,t){const r=this.parseIdentifier(!0);if(this.isClassMethod()){const n=t;return n.kind="method",n.computed=!1,n.key=r,n.static=!1,this.pushClassMethod(e,n,!1,!1,!1,!1),!0}if(this.isClassProperty()){const n=t;return n.computed=!1,n.key=r,n.static=!1,e.body.push(this.parseClassProperty(n)),!0}return this.resetPreviousNodeTrailingComments(r),!1}parseClassMember(e,t,r){const n=this.isContextual(100);if(n){if(this.parseClassMemberFromModifier(e,t))return;if(this.eat(5))return void this.parseClassStaticBlock(e,t)}this.parseClassMemberWithIsStatic(e,t,r,n)}parseClassMemberWithIsStatic(e,t,r,n){const i=t,s=t,a=t,o=t,l=i,c=i;if(t.static=n,this.parsePropertyNamePrefixOperator(t),this.eat(51)){l.kind="method";const t=this.match(130);return this.parseClassElementName(l),t?void this.pushClassPrivateMethod(e,s,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,y.ConstructorIsGenerator),void this.pushClassMethod(e,i,!0,!1,!1,!1))}const u=B(this.state.type)&&!this.state.containsEsc,p=this.match(130),f=this.parseClassElementName(t),d=this.state.start;if(this.parsePostMemberNameModifiers(c),this.isClassMethod()){if(l.kind="method",p)return void this.pushClassPrivateMethod(e,s,!1,!1);const n=this.isNonstaticConstructor(i);let a=!1;n&&(i.kind="constructor",r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(f.start,y.DuplicateConstructor),n&&this.hasPlugin("typescript")&&t.override&&this.raise(f.start,y.OverrideOnConstructor),r.hadConstructor=!0,a=r.hadSuperClass),this.pushClassMethod(e,i,!1,!1,n,a)}else if(this.isClassProperty())p?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a);else if(u&&"async"===f.name&&!this.isLineTerminator()){this.resetPreviousNodeTrailingComments(f);const t=this.eat(51);c.optional&&this.unexpected(d),l.kind="method";const r=this.match(130);this.parseClassElementName(l),this.parsePostMemberNameModifiers(c),r?this.pushClassPrivateMethod(e,s,t,!0):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,y.ConstructorIsAsync),this.pushClassMethod(e,i,t,!0,!1,!1))}else if(!u||"get"!==f.name&&"set"!==f.name||this.match(51)&&this.isLineTerminator())this.isLineTerminator()?p?this.pushClassPrivateProperty(e,o):this.pushClassProperty(e,a):this.unexpected();else{this.resetPreviousNodeTrailingComments(f),l.kind=f.name;const t=this.match(130);this.parseClassElementName(i),t?this.pushClassPrivateMethod(e,s,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,y.ConstructorIsAccessor),this.pushClassMethod(e,i,!1,!1,!1,!1)),this.checkGetterSetterParams(i)}}parseClassElementName(e){const{type:t,value:r,start:n}=this.state;if(124!==t&&125!==t||!e.static||"prototype"!==r||this.raise(n,y.StaticPrototype),130===t){"constructor"===r&&this.raise(n,y.ConstructorClassPrivateField);const t=this.parsePrivateName();return e.key=t,t}return this.parsePropertyName(e)}parseClassStaticBlock(e,t){var r;this.scope.enter(208);const n=this.state.labels;this.state.labels=[],this.prodParam.enter(0);const i=t.body=[];this.parseBlockOrModuleBlockBody(i,void 0,!1,8),this.prodParam.exit(),this.scope.exit(),this.state.labels=n,e.body.push(this.finishNode(t,"StaticBlock")),null!=(r=t.decorators)&&r.length&&this.raise(t.start,y.DecoratorStaticBlock)}pushClassProperty(e,t){t.computed||"constructor"!==t.key.name&&"constructor"!==t.key.value||this.raise(t.key.start,y.ConstructorClassField),e.body.push(this.parseClassProperty(t))}pushClassPrivateProperty(e,t){const r=this.parseClassPrivateProperty(t);e.body.push(r),this.classScope.declarePrivateName(this.getPrivateNameSV(r.key),0,r.key.start)}pushClassMethod(e,t,r,n,i,s){e.body.push(this.parseMethod(t,r,n,i,s,"ClassMethod",!0))}pushClassPrivateMethod(e,t,r,n){const i=this.parseMethod(t,r,n,!1,!1,"ClassPrivateMethod",!0);e.body.push(i);const s="get"===i.kind?i.static?6:2:"set"===i.kind?i.static?5:1:0;this.declareClassPrivateMethodInScope(i,s)}declareClassPrivateMethodInScope(e,t){this.classScope.declarePrivateName(this.getPrivateNameSV(e.key),t,e.key.start)}parsePostMemberNameModifiers(e){}parseClassPrivateProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassPrivateProperty")}parseClassProperty(e){return this.parseInitializer(e),this.semicolon(),this.finishNode(e,"ClassProperty")}parseInitializer(e){this.scope.enter(80),this.expressionScope.enter(Oe()),this.prodParam.enter(0),e.value=this.eat(29)?this.parseMaybeAssignAllowIn():null,this.expressionScope.exit(),this.prodParam.exit(),this.scope.exit()}parseClassId(e,t,r,n=139){B(this.state.type)?(e.id=this.parseIdentifier(),t&&this.checkLVal(e.id,"class name",n)):r||!t?e.id=null:this.unexpected(null,y.MissingClassName)}parseClassSuper(e){e.superClass=this.eat(77)?this.parseExprSubscripts():null}parseExport(e){const t=this.maybeParseExportDefaultSpecifier(e),r=!t||this.eat(12),n=r&&this.eatExportStar(e),i=n&&this.maybeParseExportNamespaceSpecifier(e),s=r&&(!i||this.eat(12)),a=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&&s&&!o)throw this.unexpected(null,5);let l;if(a||o?(l=!1,this.parseExportFrom(e,a)):l=this.maybeParseExportDeclaration(e),a||o||l)return this.checkExport(e,!0,!1,!!e.source),this.finishNode(e,"ExportNamedDeclaration");if(this.eat(61))return e.declaration=this.parseExportDefaultExpression(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration");throw this.unexpected(null,5)}eatExportStar(e){return this.eat(51)}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(89)){e.specifiers||(e.specifiers=[]);const t=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);return this.next(),t.exported=this.parseModuleExportName(),e.specifiers.push(this.finishNode(t,"ExportNamespaceSpecifier")),!0}return!1}maybeParseExportNamedSpecifiers(e){if(this.match(5)){e.specifiers||(e.specifiers=[]);const t="type"===e.exportKind;return e.specifiers.push(...this.parseExportSpecifiers(t)),e.source=null,e.declaration=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),!0}return!1}maybeParseExportDeclaration(e){return!!this.shouldParseExportDeclaration()&&(e.specifiers=[],e.source=null,this.hasPlugin("importAssertions")&&(e.assertions=[]),e.declaration=this.parseExportDeclaration(e),!0)}isAsyncFunction(){if(!this.isContextual(91))return!1;const e=this.nextTokenStart();return!n.test(this.input.slice(this.state.pos,e))&&this.isUnparsedContextual(e,"function")}parseExportDefaultExpression(){const e=this.startNode(),t=this.isAsyncFunction();if(this.match(64)||t)return this.next(),t&&this.next(),this.parseFunction(e,5,t);if(this.match(76))return this.parseClass(e,!0,!0);if(this.match(26))return this.hasPlugin("decorators")&&this.getPluginOption("decorators","decoratorsBeforeExport")&&this.raise(this.state.start,y.DecoratorBeforeExport),this.parseDecorators(!1),this.parseClass(e,!0,!0);if(this.match(71)||this.match(70)||this.isLet())throw this.raise(this.state.start,y.UnsupportedDefaultExport);{const e=this.parseMaybeAssignAllowIn();return this.semicolon(),e}}parseExportDeclaration(e){return this.parseStatement(null)}isExportDefaultSpecifier(){const{type:e}=this.state;if(B(e)){if(91===e&&!this.state.containsEsc||95===e)return!1;if((122===e||121===e)&&!this.state.containsEsc){const{type:e}=this.lookahead();if(B(e)&&93!==e||5===e)return this.expectOnePlugin(["flow","typescript"]),!1}}else if(!this.match(61))return!1;const t=this.nextTokenStart(),r=this.isUnparsedContextual(t,"from");if(44===this.input.charCodeAt(t)||B(this.state.type)&&r)return!0;if(this.match(61)&&r){const e=this.input.charCodeAt(this.nextTokenStartSince(t+4));return 34===e||39===e}return!1}parseExportFrom(e,t){if(this.eatContextual(93)){e.source=this.parseImportSource(),this.checkExport(e);const t=this.maybeParseImportAssertions();t&&(e.assertions=t)}else t&&this.unexpected();this.semicolon()}shouldParseExportDeclaration(){const{type:e}=this.state;if(26===e&&(this.expectOnePlugin(["decorators","decorators-legacy"]),this.hasPlugin("decorators"))){if(!this.getPluginOption("decorators","decoratorsBeforeExport"))return!0;this.unexpected(this.state.start,y.DecoratorBeforeExport)}return 70===e||71===e||64===e||76===e||this.isLet()||this.isAsyncFunction()}checkExport(e,t,r,n){if(t)if(r){if(this.checkDuplicateExports(e,"default"),this.hasPlugin("exportDefaultFrom")){var i;const t=e.declaration;"Identifier"!==t.type||"from"!==t.name||t.end-t.start!=4||null!=(i=t.extra)&&i.parenthesized||this.raise(t.start,y.ExportDefaultFromAsIdentifier)}}else if(e.specifiers&&e.specifiers.length)for(const a of e.specifiers){const{exported:e}=a,t="Identifier"===e.type?e.name:e.value;if(this.checkDuplicateExports(a,t),!n&&a.local){const{local:e}=a;"Identifier"!==e.type?this.raise(a.start,y.ExportBindingIsString,e.value,t):(this.checkReservedWord(e.name,e.start,!0,!1),this.scope.checkLocalExport(e))}}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(const a of e.declaration.declarations)this.checkDeclaration(a.id);const s=this.state.decoratorStack[this.state.decoratorStack.length-1];if(s.length)throw this.raise(e.start,y.UnsupportedDecoratorExport)}checkDeclaration(e){if("Identifier"===e.type)this.checkDuplicateExports(e,e.name);else if("ObjectPattern"===e.type)for(const t of e.properties)this.checkDeclaration(t);else if("ArrayPattern"===e.type)for(const t of e.elements)t&&this.checkDeclaration(t);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){this.exportedIdentifiers.has(t)&&this.raise(e.start,"default"===t?y.DuplicateDefaultExport:y.DuplicateExport,t),this.exportedIdentifiers.add(t)}parseExportSpecifiers(e){const t=[];let r=!0;for(this.expect(5);!this.eat(8);){if(r)r=!1;else if(this.expect(12),this.eat(8))break;const n=this.isContextual(122),i=this.match(125),s=this.startNode();s.local=this.parseModuleExportName(),t.push(this.parseExportSpecifier(s,i,e,n))}return t}parseExportSpecifier(e,t,r,n){return this.eatContextual(89)?e.exported=this.parseModuleExportName():t?e.exported=De(e.local):e.exported||(e.exported=je(e.local)),this.finishNode(e,"ExportSpecifier")}parseModuleExportName(){if(this.match(125)){const e=this.parseStringLiteral(this.state.value),t=e.value.match(pt);return t&&this.raise(e.start,y.ModuleExportNameHasLoneSurrogate,t[0].charCodeAt(0).toString(16)),e}return this.parseIdentifier(!0)}parseImport(e){if(e.specifiers=[],!this.match(125)){const t=this.maybeParseDefaultImportSpecifier(e),r=!t||this.eat(12),n=r&&this.maybeParseStarImportSpecifier(e);r&&!n&&this.parseNamedImportSpecifiers(e),this.expectContextual(93)}e.source=this.parseImportSource();const t=this.maybeParseImportAssertions();if(t)e.assertions=t;else{const t=this.maybeParseModuleAttributes();t&&(e.attributes=t)}return this.semicolon(),this.finishNode(e,"ImportDeclaration")}parseImportSource(){return this.match(125)||this.unexpected(),this.parseExprAtom()}shouldParseDefaultImport(e){return B(this.state.type)}parseImportSpecifierLocal(e,t,r,n){t.local=this.parseIdentifier(),this.checkLVal(t.local,n,9),e.specifiers.push(this.finishNode(t,r))}parseAssertEntries(){const e=[],t=new Set;do{if(this.match(8))break;const r=this.startNode(),n=this.state.value;if(t.has(n)&&this.raise(this.state.start,y.ModuleAttributesWithDuplicateKeys,n),t.add(n),this.match(125)?r.key=this.parseStringLiteral(n):r.key=this.parseIdentifier(!0),this.expect(14),!this.match(125))throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseModuleAttributes(){if(!this.match(72)||this.hasPrecedingLineBreak())return this.hasPlugin("moduleAttributes")?[]:null;this.expectPlugin("moduleAttributes"),this.next();const e=[],t=new Set;do{const r=this.startNode();if(r.key=this.parseIdentifier(!0),"type"!==r.key.name&&this.raise(r.key.start,y.ModuleAttributeDifferentFromType,r.key.name),t.has(r.key.name)&&this.raise(r.key.start,y.ModuleAttributesWithDuplicateKeys,r.key.name),t.add(r.key.name),this.expect(14),!this.match(125))throw this.unexpected(this.state.start,y.ModuleAttributeInvalidValue);r.value=this.parseStringLiteral(this.state.value),this.finishNode(r,"ImportAttribute"),e.push(r)}while(this.eat(12));return e}maybeParseImportAssertions(){if(!this.isContextual(90)||this.hasPrecedingLineBreak())return this.hasPlugin("importAssertions")?[]:null;this.expectPlugin("importAssertions"),this.next(),this.eat(5);const e=this.parseAssertEntries();return this.eat(8),e}maybeParseDefaultImportSpecifier(e){return!!this.shouldParseDefaultImport(e)&&(this.parseImportSpecifierLocal(e,this.startNode(),"ImportDefaultSpecifier","default import specifier"),!0)}maybeParseStarImportSpecifier(e){if(this.match(51)){const t=this.startNode();return this.next(),this.expectContextual(89),this.parseImportSpecifierLocal(e,t,"ImportNamespaceSpecifier","import namespace specifier"),!0}return!1}parseNamedImportSpecifiers(e){let t=!0;for(this.expect(5);!this.eat(8);){if(t)t=!1;else{if(this.eat(14))throw this.raise(this.state.start,y.DestructureNamedImport);if(this.expect(12),this.eat(8))break}const r=this.startNode(),n=this.match(125),i=this.isContextual(122);r.imported=this.parseModuleExportName();const s=this.parseImportSpecifier(r,n,"type"===e.importKind||"typeof"===e.importKind,i);e.specifiers.push(s)}}parseImportSpecifier(e,t,r,n){if(this.eatContextual(89))e.local=this.parseIdentifier();else{const{imported:r}=e;if(t)throw this.raise(e.start,y.ImportBindingIsString,r.value);this.checkReservedWord(r.name,e.start,!0,!0),e.local||(e.local=je(r))}return this.checkLVal(e.local,"import specifier",9),this.finishNode(e,"ImportSpecifier")}isThisParam(e){return"Identifier"===e.type&&"this"===e.name}}{constructor(e,t){e=function(e){const t={};for(const r of Object.keys(at))t[r]=e&&null!=e[r]?e[r]:at[r];return t}(e),super(e,t),this.options=e,this.initializeScopes(),this.plugins=function(e){const t=new Map;for(const r of e){const[e,n]=Array.isArray(r)?r:[r,{}];t.has(e)||t.set(e,n||{})}return t}(this.options.plugins),this.filename=e.sourceFilename}getScopeHandler(){return de}parse(){this.enterInitialScopes();const e=this.startNode(),t=this.startNode();return this.nextToken(),e.errors=null,this.parseTopLevel(e,t),e.errors=this.state.errors,e}}const ht=function(e){const t={};for(const r of Object.keys(e))t[r]=q(e[r]);return t}(M);function mt(e,t){let r=dt;return null!=e&&e.plugins&&(!function(e){if(Ze(e,"decorators")){if(Ze(e,"decorators-legacy"))throw new Error("Cannot use the decorators and decorators-legacy plugin together");const t=et(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(Ze(e,"flow")&&Ze(e,"typescript"))throw new Error("Cannot combine flow and typescript plugins.");if(Ze(e,"placeholders")&&Ze(e,"v8intrinsic"))throw new Error("Cannot combine placeholders and v8intrinsic plugins.");if(Ze(e,"pipelineOperator")){const t=et(e,"pipelineOperator","proposal");if(!tt.includes(t)){const e=tt.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" requires "proposal" option whose value must be one of: ${e}.`)}const r=Ze(e,["recordAndTuple",{syntaxType:"hash"}]);if("hack"===t){if(Ze(e,"placeholders"))throw new Error("Cannot combine placeholders plugin and Hack-style pipes.");if(Ze(e,"v8intrinsic"))throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");const t=et(e,"pipelineOperator","topicToken");if(!rt.includes(t)){const e=rt.map(e=>`"${e}"`).join(", ");throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${e}.`)}if("#"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "hack", topicToken: "#" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}else if("smart"===t&&r)throw new Error('Plugin conflict between `["pipelineOperator", { proposal: "smart" }]` and `["recordAndtuple", { syntaxType: "hash"}]`.')}if(Ze(e,"moduleAttributes")){if(Ze(e,"importAssertions"))throw new Error("Cannot combine importAssertions and moduleAttributes plugins.");const t=et(e,"moduleAttributes","version");if("may-2020"!==t)throw new Error("The 'moduleAttributes' plugin requires a 'version' option, representing the last proposal update. Currently, the only supported value is 'may-2020'.")}if(Ze(e,"recordAndTuple")&&!nt.includes(et(e,"recordAndTuple","syntaxType")))throw new Error("'recordAndTuple' requires 'syntaxType' option whose value should be one of: "+nt.map(e=>`'${e}'`).join(", "));if(Ze(e,"asyncDoExpressions")&&!Ze(e,"doExpressions")){const e=new Error("'asyncDoExpressions' requires 'doExpressions', please add 'doExpressions' to parser plugins.");throw e.missingPlugins="doExpressions",e}}(e.plugins),r=function(e){const t=st.filter(t=>Ze(e,t)),r=t.join("/");let n=yt[r];if(!n){n=dt;for(const e of t)n=it[e](n);yt[r]=n}return n}(e.plugins)),new r(e,t)}const yt={};t.parse=function(e,t){var r;if("unambiguous"!==(null==(r=t)?void 0:r.sourceType))return mt(t,e).parse();t=Object.assign({},t);try{t.sourceType="module";const r=mt(t,e),i=r.parse();if(r.sawUnambiguousESM)return i;if(r.ambiguousScriptDifferentAst)try{return t.sourceType="script",mt(t,e).parse()}catch(n){}else i.program.sourceType="script";return i}catch(i){try{return t.sourceType="script",mt(t,e).parse()}catch(s){}throw i}},t.parseExpression=function(e,t){const r=mt(t,e);return r.options.strictMode&&(r.state.strict=!0),r.getExpression()},t.tokTypes=ht},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ROOT_CONFIG_FILENAMES=void 0,t.findConfigUpwards=function(e){return null},t.findPackageData=function*(e){return{filepath:e,directories:[],pkg:null,isPackage:!1}},t.findRelativeConfig=function*(e,t,r){return{config:null,ignore:null}},t.findRootConfig=function*(e,t,r){return null},t.loadConfig=function*(e,t,r,n){throw new Error(`Cannot load ${e} relative to ${t} in a browser`)},t.loadPlugin=function(e,t){throw new Error(`Cannot load plugin ${e} relative to ${t} in a browser`)},t.loadPreset=function(e,t){throw new Error(`Cannot load preset ${e} relative to ${t} in a browser`)},t.resolvePlugin=function(e,t){return null},t.resolvePreset=function(e,t){return null},t.resolveShowConfigPath=function*(e){return null};t.ROOT_CONFIG_FILENAMES=[]},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigItem=function(e,t,r){return void 0!==r?l.errback(e,t,r):"function"==typeof t?l.errback(e,void 0,r):l.sync(e,t)},t.createConfigItemSync=t.createConfigItemAsync=void 0,Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i.default}}),t.loadPartialConfigSync=t.loadPartialConfigAsync=t.loadPartialConfig=t.loadOptionsSync=t.loadOptionsAsync=t.loadOptions=void 0;var i=r(625),s=r(275),a=r(125);const o=n()((function*(e){var t;const r=yield*(0,i.default)(e);return null!=(t=null==r?void 0:r.options)?t:null})),l=n()(a.createConfigItem),c=e=>(t,r)=>(void 0===r&&"function"==typeof t&&(r=t,t=void 0),r?e.errback(t,r):e.sync(t)),u=c(s.loadPartialConfig);t.loadPartialConfig=u;const p=s.loadPartialConfig.sync;t.loadPartialConfigSync=p;const f=s.loadPartialConfig.async;t.loadPartialConfigAsync=f;const d=c(o);t.loadOptions=d;const h=o.sync;t.loadOptionsSync=h;const m=o.async;t.loadOptionsAsync=m;const y=l.sync;t.createConfigItemSync=y;const g=l.async;t.createConfigItemAsync=g},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default=class{constructor(e,t,r){this.key=void 0,this.manipulateOptions=void 0,this.post=void 0,this.pre=void 0,this.visitor=void 0,this.parserOverride=void 0,this.generatorOverride=void 0,this.options=void 0,this.key=e.name||r,this.manipulateOptions=e.manipulateOptions,this.post=e.post,this.pre=e.pre,this.visitor=e.visitor||{},this.parserOverride=e.parserOverride,this.generatorOverride=e.generatorOverride,this.options=t}}},function(e,t,r){"use strict";function n(){const e=r(85);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createConfigItem=function*(e,{dirname:t=".",type:r}={}){const a=yield*(0,i.createDescriptor)(e,n().resolve(t),{type:r,alias:"programmatic item"});return s(a)},t.createItemFromDescriptor=s,t.getItemDescriptor=function(e){if(null!=e&&e[a])return e._descriptor;return};var i=r(266);function s(e){return new o(e)}const a=Symbol.for("@babel/core@7 - ConfigItem");class o{constructor(e){this._descriptor=void 0,this[a]=!0,this.value=void 0,this.options=void 0,this.dirname=void 0,this.name=void 0,this.file=void 0,this._descriptor=e,Object.defineProperty(this,"_descriptor",{enumerable:!1}),Object.defineProperty(this,a,{enumerable:!1}),this.value=this._descriptor.value,this.options=this._descriptor.options,this.dirname=this._descriptor.dirname,this.name=this._descriptor.name,this.file=this._descriptor.file?{request:this._descriptor.file.request,resolved:this._descriptor.file.resolved}:void 0,Object.freeze(this)}}Object.freeze(o.prototype)},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.assertSimpleType=h,t.makeStrongCache=c,t.makeStrongCacheSync=function(e){return a(c(e))},t.makeWeakCache=l,t.makeWeakCacheSync=function(e){return a(l(e))};var i=r(265),s=r(161);const a=e=>n()(e).sync;function*o(){return!0}function l(e){return u(WeakMap,e)}function c(e){return u(Map,e)}function u(e,t){const r=new e,n=new e,a=new e;return function*(e,o){const l=yield*(0,i.isAsync)(),c=l?n:r,u=yield*function*(e,t,r,n,s){const a=yield*p(t,n,s);if(a.valid)return a;if(e){const e=yield*p(r,n,s);if(e.valid){const t=yield*(0,i.waitFor)(e.value.promise);return{valid:!0,value:t}}}return{valid:!1,value:null}}(l,c,a,e,o);if(u.valid)return u.value;const h=new d(o),y=t(e,h);let g,b;if((0,s.isIterableIterator)(y)){const t=y;b=yield*(0,i.onFirstPause)(t,()=>{g=function(e,t,r){const n=new m;return f(t,e,r,n),n}(h,a,e)})}else b=y;return f(c,h,e,b),g&&(a.delete(e),g.release(b)),b}}function*p(e,t,r){const n=e.get(t);if(n)for(const{value:i,valid:s}of n)if(yield*s(r))return{valid:!0,value:i};return{valid:!1,value:null}}function f(e,t,r,n){t.configured()||t.forever();let i=e.get(r);switch(t.deactivate(),t.mode()){case"forever":i=[{value:n,valid:o}],e.set(r,i);break;case"invalidate":i=[{value:n,valid:t.validator()}],e.set(r,i);break;case"valid":i?i.push({value:n,valid:t.validator()}):(i=[{value:n,valid:t.validator()}],e.set(r,i))}}class d{constructor(e){this._active=!0,this._never=!1,this._forever=!1,this._invalidate=!1,this._configured=!1,this._pairs=[],this._data=void 0,this._data=e}simple(){return function(e){function t(t){if("boolean"!=typeof t)return e.using(()=>h(t()));t?e.forever():e.never()}return t.forever=()=>e.forever(),t.never=()=>e.never(),t.using=t=>e.using(()=>h(t())),t.invalidate=t=>e.invalidate(()=>h(t())),t}(this)}mode(){return this._never?"never":this._forever?"forever":this._invalidate?"invalidate":"valid"}forever(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never)throw new Error("Caching has already been configured with .never()");this._forever=!0,this._configured=!0}never(){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._forever)throw new Error("Caching has already been configured with .forever()");this._never=!0,this._configured=!0}using(e){if(!this._active)throw new Error("Cannot change caching after evaluation has completed.");if(this._never||this._forever)throw new Error("Caching has already been configured with .never or .forever()");this._configured=!0;const t=e(this._data),r=(0,i.maybeAsync)(e,"You appear to be using an async cache handler, but Babel has been called synchronously");return(0,i.isThenable)(t)?t.then(e=>(this._pairs.push([e,r]),e)):(this._pairs.push([t,r]),t)}invalidate(e){return this._invalidate=!0,this.using(e)}validator(){const e=this._pairs;return function*(t){for(const[r,n]of e)if(r!==(yield*n(t)))return!1;return!0}}deactivate(){this._active=!1}configured(){return this._configured}}function h(e){if((0,i.isThenable)(e))throw new Error("You appear to be using an async cache handler, which your current version of Babel does not support. We may add support for this in the future, but if you're on the most recent version of @babel/core and still seeing this error, then you'll need to synchronously handle your caching logic.");if(null!=e&&"string"!=typeof e&&"boolean"!=typeof e&&"number"!=typeof e)throw new Error("Cache keys must be either string, boolean, number, null, or undefined.");return e}class m{constructor(){this.released=!1,this.promise=void 0,this._resolve=void 0,this.promise=new Promise(e=>{this._resolve=e})}release(e){this.released=!0,this._resolve(e)}}},,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assumptionsNames=void 0,t.checkNoUnwrappedItemOptionPairs=function(e,t,r,n){if(0===t)return;const i=e[t-1],s=e[t];i.file&&void 0===i.options&&"object"==typeof s.value&&(n.message+=`\n- Maybe you meant to use\n"${r}s": [\n ["${i.file.request}", ${JSON.stringify(s.value,void 0,2)}]\n]\nTo be a valid ${r}, its name and options should be wrapped in a pair of brackets`)},t.validate=function(e,t){return u({type:"root",source:e},t)};r(124);var n=r(645),i=r(273);const s={cwd:i.assertString,root:i.assertString,rootMode:i.assertRootMode,configFile:i.assertConfigFileSearch,caller:i.assertCallerMetadata,filename:i.assertString,filenameRelative:i.assertString,code:i.assertBoolean,ast:i.assertBoolean,cloneInputAst:i.assertBoolean,envName:i.assertString},a={babelrc:i.assertBoolean,babelrcRoots:i.assertBabelrcSearch},o={extends:i.assertString,ignore:i.assertIgnoreList,only:i.assertIgnoreList,targets:i.assertTargets,browserslistConfigFile:i.assertConfigFileSearch,browserslistEnv:i.assertString},l={inputSourceMap:i.assertInputSourceMap,presets:i.assertPluginList,plugins:i.assertPluginList,passPerPreset:i.assertBoolean,assumptions:i.assertAssumptions,env:function(e,t){if("env"===e.parent.type)throw new Error((0,i.msg)(e)+" is not allowed inside of another .env block");const r=e.parent,n=(0,i.assertObject)(e,t);if(n)for(const s of Object.keys(n)){const t=(0,i.assertObject)((0,i.access)(e,s),n[s]);if(!t)continue;const a={type:"env",name:s,parent:r};u(a,t)}return n},overrides:function(e,t){if("env"===e.parent.type)throw new Error((0,i.msg)(e)+" is not allowed inside an .env block");if("overrides"===e.parent.type)throw new Error((0,i.msg)(e)+" is not allowed inside an .overrides block");const r=e.parent,n=(0,i.assertArray)(e,t);if(n)for(const[s,a]of n.entries()){const t=(0,i.access)(e,s),n=(0,i.assertObject)(t,a);if(!n)throw new Error((0,i.msg)(t)+" must be an object");const o={type:"overrides",index:s,parent:r};u(o,n)}return n},test:i.assertConfigApplicableTest,include:i.assertConfigApplicableTest,exclude:i.assertConfigApplicableTest,retainLines:i.assertBoolean,comments:i.assertBoolean,shouldPrintComment:i.assertFunction,compact:i.assertCompact,minified:i.assertBoolean,auxiliaryCommentBefore:i.assertString,auxiliaryCommentAfter:i.assertString,sourceType:i.assertSourceType,wrapPluginVisitorMethod:i.assertFunction,highlightCode:i.assertBoolean,sourceMaps:i.assertSourceMaps,sourceMap:i.assertSourceMaps,sourceFileName:i.assertString,sourceRoot:i.assertString,parserOpts:i.assertObject,generatorOpts:i.assertObject};Object.assign(l,{getModuleId:i.assertFunction,moduleRoot:i.assertString,moduleIds:i.assertBoolean,moduleId:i.assertString});const c=new Set(["arrayLikeIsIterable","constantReexports","constantSuper","enumerableModuleMeta","ignoreFunctionLength","ignoreToPrimitiveHint","iterableIsArray","mutableTemplateObject","noClassCalls","noDocumentAll","noIncompleteNsImportDetection","noNewArrows","objectRestNoSymbols","privateFieldsAsProperties","pureGetters","setClassMethods","setComputedProperties","setPublicClassFields","setSpreadProperties","skipForOfIteratorClosing","superIsCallableConstructor"]);function u(e,t){const r=function e(t){return"root"===t.type?t.source:e(t.parent)}(e);return function(e){if(f(e,"sourceMap")&&f(e,"sourceMaps"))throw new Error(".sourceMap is an alias for .sourceMaps, cannot use both")}(t),Object.keys(t).forEach(n=>{const c={type:"option",name:n,parent:e};if("preset"===r&&o[n])throw new Error((0,i.msg)(c)+" is not allowed in preset options");if("arguments"!==r&&s[n])throw new Error((0,i.msg)(c)+" is only allowed in root programmatic options");if("arguments"!==r&&"configfile"!==r&&a[n]){if("babelrcfile"===r||"extendsfile"===r)throw new Error((0,i.msg)(c)+' is not allowed in .babelrc or "extends"ed files, only in root programmatic options, or babel.config.js/config file options');throw new Error((0,i.msg)(c)+" is only allowed in root programmatic options, or babel.config.js/config file options")}const u=l[n]||o[n]||a[n]||s[n]||p;u(c,t[n])}),t}function p(e){const t=e.name;if(n.default[t]){const{message:r,version:s=5}=n.default[t];throw new Error(`Using removed Babel ${s} option: ${(0,i.msg)(e)} - ${r}`)}{const t=new Error(`Unknown option: ${(0,i.msg)(e)}. Check out https://babeljs.io/docs/en/babel-core/#options for more information about options.`);throw t.code="BABEL_UNKNOWN_OPTION",t}}function f(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.assumptionsNames=c},,,,,function(e,t,r){(function(e){var n=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++)r[t[n]]=Object.getOwnPropertyDescriptor(e,t[n]);return r},i=/%[sdj%]/g;t.format=function(e){if(!g(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(" ")}r=1;for(var n=arguments,s=n.length,a=String(e).replace(i,(function(e){if("%%"===e)return"%";if(r>=s)return e;switch(e){case"%s":return String(n[r++]);case"%d":return Number(n[r++]);case"%j":try{return JSON.stringify(n[r++])}catch(t){return"[Circular]"}default:return e}})),l=n[r];r<s;l=n[++r])m(l)||!T(l)?a+=" "+l:a+=" "+o(l);return a},t.deprecate=function(r,n){if(void 0!==e&&!0===e.noDeprecation)return r;if(void 0===e)return function(){return t.deprecate(r,n).apply(this,arguments)};var i=!1;return function(){if(!i){if(e.throwDeprecation)throw new Error(n);e.traceDeprecation?console.trace(n):console.error(n),i=!0}return r.apply(this,arguments)}};var s,a={};function o(e,r){var n={seen:[],stylize:c};return arguments.length>=3&&(n.depth=arguments[2]),arguments.length>=4&&(n.colors=arguments[3]),h(r)?n.showHidden=r:r&&t._extend(n,r),b(n.showHidden)&&(n.showHidden=!1),b(n.depth)&&(n.depth=2),b(n.colors)&&(n.colors=!1),b(n.customInspect)&&(n.customInspect=!0),n.colors&&(n.stylize=l),u(n,e,n.depth)}function l(e,t){var r=o.styles[t];return r?"["+o.colors[r][0]+"m"+e+"["+o.colors[r][1]+"m":e}function c(e,t){return e}function u(e,r,n){if(e.customInspect&&r&&x(r.inspect)&&r.inspect!==t.inspect&&(!r.constructor||r.constructor.prototype!==r)){var i=r.inspect(n,e);return g(i)||(i=u(e,i,n)),i}var s=function(e,t){if(b(t))return e.stylize("undefined","undefined");if(g(t)){var r="'"+JSON.stringify(t).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return e.stylize(r,"string")}if(y(t))return e.stylize(""+t,"number");if(h(t))return e.stylize(""+t,"boolean");if(m(t))return e.stylize("null","null")}(e,r);if(s)return s;var a=Object.keys(r),o=function(e){var t={};return e.forEach((function(e,r){t[e]=!0})),t}(a);if(e.showHidden&&(a=Object.getOwnPropertyNames(r)),S(r)&&(a.indexOf("message")>=0||a.indexOf("description")>=0))return p(r);if(0===a.length){if(x(r)){var l=r.name?": "+r.name:"";return e.stylize("[Function"+l+"]","special")}if(v(r))return e.stylize(RegExp.prototype.toString.call(r),"regexp");if(E(r))return e.stylize(Date.prototype.toString.call(r),"date");if(S(r))return p(r)}var c,T="",P=!1,A=["{","}"];if(d(r)&&(P=!0,A=["[","]"]),x(r)){var w=r.name?": "+r.name:"";T=" [Function"+w+"]"}return v(r)&&(T=" "+RegExp.prototype.toString.call(r)),E(r)&&(T=" "+Date.prototype.toUTCString.call(r)),S(r)&&(T=" "+p(r)),0!==a.length||P&&0!=r.length?n<0?v(r)?e.stylize(RegExp.prototype.toString.call(r),"regexp"):e.stylize("[Object]","special"):(e.seen.push(r),c=P?function(e,t,r,n,i){for(var s=[],a=0,o=t.length;a<o;++a)C(t,String(a))?s.push(f(e,t,r,n,String(a),!0)):s.push("");return i.forEach((function(i){i.match(/^\d+$/)||s.push(f(e,t,r,n,i,!0))})),s}(e,r,n,o,a):a.map((function(t){return f(e,r,n,o,t,P)})),e.seen.pop(),function(e,t,r){var n=e.reduce((function(e,t){return t.indexOf("\n")>=0&&0,e+t.replace(/\u001b\[\d\d?m/g,"").length+1}),0);if(n>60)return r[0]+(""===t?"":t+"\n ")+" "+e.join(",\n ")+" "+r[1];return r[0]+t+" "+e.join(", ")+" "+r[1]}(c,T,A)):A[0]+T+A[1]}function p(e){return"["+Error.prototype.toString.call(e)+"]"}function f(e,t,r,n,i,s){var a,o,l;if(l=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]},l.get?o=l.set?e.stylize("[Getter/Setter]","special"):e.stylize("[Getter]","special"):l.set&&(o=e.stylize("[Setter]","special")),C(n,i)||(a="["+i+"]"),o||(e.seen.indexOf(l.value)<0?(o=m(r)?u(e,l.value,null):u(e,l.value,r-1),o.indexOf("\n")>-1&&(o=s?o.split("\n").map((function(e){return" "+e})).join("\n").substr(2):"\n"+o.split("\n").map((function(e){return" "+e})).join("\n"))):o=e.stylize("[Circular]","special")),b(a)){if(s&&i.match(/^\d+$/))return o;a=JSON.stringify(""+i),a.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(a=a.substr(1,a.length-2),a=e.stylize(a,"name")):(a=a.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),a=e.stylize(a,"string"))}return a+": "+o}function d(e){return Array.isArray(e)}function h(e){return"boolean"==typeof e}function m(e){return null===e}function y(e){return"number"==typeof e}function g(e){return"string"==typeof e}function b(e){return void 0===e}function v(e){return T(e)&&"[object RegExp]"===P(e)}function T(e){return"object"==typeof e&&null!==e}function E(e){return T(e)&&"[object Date]"===P(e)}function S(e){return T(e)&&("[object Error]"===P(e)||e instanceof Error)}function x(e){return"function"==typeof e}function P(e){return Object.prototype.toString.call(e)}function A(e){return e<10?"0"+e.toString(10):e.toString(10)}t.debuglog=function(r){if(b(s)&&(s=e.env.NODE_DEBUG||""),r=r.toUpperCase(),!a[r])if(new RegExp("\\b"+r+"\\b","i").test(s)){var n=e.pid;a[r]=function(){var e=t.format.apply(t,arguments);console.error("%s %d: %s",r,n,e)}}else a[r]=function(){};return a[r]},t.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"},t.isArray=d,t.isBoolean=h,t.isNull=m,t.isNullOrUndefined=function(e){return null==e},t.isNumber=y,t.isString=g,t.isSymbol=function(e){return"symbol"==typeof e},t.isUndefined=b,t.isRegExp=v,t.isObject=T,t.isDate=E,t.isError=S,t.isFunction=x,t.isPrimitive=function(e){return null===e||"boolean"==typeof e||"number"==typeof e||"string"==typeof e||"symbol"==typeof e||void 0===e},t.isBuffer=r(134);var w=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function O(){var e=new Date,t=[A(e.getHours()),A(e.getMinutes()),A(e.getSeconds())].join(":");return[e.getDate(),w[e.getMonth()],t].join(" ")}function C(e,t){return Object.prototype.hasOwnProperty.call(e,t)}t.log=function(){console.log("%s - %s",O(),t.format.apply(t,arguments))},t.inherits=r(135),t._extend=function(e,t){if(!t||!T(t))return e;for(var r=Object.keys(t),n=r.length;n--;)e[r[n]]=t[r[n]];return e};var I="undefined"!=typeof Symbol?Symbol("util.promisify.custom"):void 0;function N(e,t){if(!e){var r=new Error("Promise was rejected with a falsy value");r.reason=e,e=r}return t(e)}t.promisify=function(e){if("function"!=typeof e)throw new TypeError('The "original" argument must be of type Function');if(I&&e[I]){var t=e[I];if("function"!=typeof t)throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),t}function t(){for(var t,r,n=new Promise((function(e,n){t=e,r=n})),i=[],s=0;s<arguments.length;s++)i.push(arguments[s]);i.push((function(e,n){e?r(e):t(n)}));try{e.apply(this,i)}catch(a){r(a)}return n}return Object.setPrototypeOf(t,Object.getPrototypeOf(e)),I&&Object.defineProperty(t,I,{value:t,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(t,n(e))},t.promisify.custom=I,t.callbackify=function(t){if("function"!=typeof t)throw new TypeError('The "original" argument must be of type Function');function r(){for(var r=[],n=0;n<arguments.length;n++)r.push(arguments[n]);var i=r.pop();if("function"!=typeof i)throw new TypeError("The last argument must be of type Function");var s=this,a=function(){return i.apply(s,arguments)};t.apply(this,r).then((function(t){e.nextTick(a,null,t)}),(function(t){e.nextTick(N,t,a)}))}return Object.setPrototypeOf(r,Object.getPrototypeOf(t)),Object.defineProperties(r,n(t)),r}}).call(this,r(69))},function(e,t){e.exports=function(e){return e&&"object"==typeof e&&"function"==typeof e.copy&&"function"==typeof e.fill&&"function"==typeof e.readUInt8}},function(e,t){"function"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var r=function(){};r.prototype=t.prototype,e.prototype=new r,e.prototype.constructor=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){"use strict";function n(){const e=r(227);return n=function(){return e},e}function i(){const e=r(74);return i=function(){return e},e}function s(){const e=r(120);return s=function(){return e},e}function a(){const e=r(65);return a=function(){return e},e}function o(){const e=r(261);return o=function(){return e},e}function l(){const e=r(94);return l=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;const{cloneNode:c,interpreterDirective:u}=a(),p={enter(e,t){const r=e.node.loc;r&&(t.loc=r,e.stop())}};class f{constructor(e,{code:t,ast:r,inputMap:n}){this._map=new Map,this.opts=void 0,this.declarations={},this.path=null,this.ast={},this.scope=void 0,this.metadata={},this.code="",this.inputMap=null,this.hub={file:this,getCode:()=>this.code,getScope:()=>this.scope,addHelper:this.addHelper.bind(this),buildError:this.buildCodeFrameError.bind(this)},this.opts=e,this.code=t,this.ast=r,this.inputMap=n,this.path=i().NodePath.get({hub:this.hub,parentPath:null,parent:this.ast,container:this.ast,key:"program"}).setContext(),this.scope=this.path.scope}get shebang(){const{interpreter:e}=this.path.node;return e?e.value:""}set shebang(e){e?this.path.get("interpreter").replaceWith(u(e)):this.path.get("interpreter").remove()}set(e,t){if("helpersNamespace"===e)throw new Error("Babel 7.0.0-beta.56 has dropped support for the 'helpersNamespace' utility.If you are using @babel/plugin-external-helpers you will need to use a newer version than the one you currently have installed. If you have your own implementation, you'll want to explore using 'helperGenerator' alongside 'file.availableHelper()'.");this._map.set(e,t)}get(e){return this._map.get(e)}has(e){return this._map.has(e)}getModuleName(){return(0,o().getModuleName)(this.opts,this.opts)}addImport(){throw new Error("This API has been removed. If you're looking for this functionality in Babel 7, you should import the '@babel/helper-module-imports' module and use the functions exposed from that module, such as 'addNamed' or 'addDefault'.")}availableHelper(e,t){let r;try{r=n().minVersion(e)}catch(i){if("BABEL_HELPER_UNKNOWN"!==i.code)throw i;return!1}return"string"!=typeof t||(l().valid(t)&&(t="^"+t),!l().intersects("<"+r,t)&&!l().intersects(">=8.0.0",t))}addHelper(e){const t=this.declarations[e];if(t)return c(t);const r=this.get("helperGenerator");if(r){const t=r(e);if(t)return t}n().ensure(e,f);const i=this.declarations[e]=this.scope.generateUidIdentifier(e),s={};for(const l of n().getDependencies(e))s[l]=this.addHelper(l);const{nodes:a,globals:o}=n().get(e,e=>s[e],i,Object.keys(this.scope.getAllBindings()));return o.forEach(e=>{this.path.scope.hasBinding(e,!0)&&this.path.scope.rename(e)}),a.forEach(e=>{e._compact=!0}),this.path.unshiftContainer("body",a),this.path.get("body").forEach(e=>{-1!==a.indexOf(e.node)&&e.isVariableDeclaration()&&this.scope.registerDeclaration(e)}),i}addTemplateObject(){throw new Error("This function has been moved into the template literal transform itself.")}buildCodeFrameError(e,t,r=SyntaxError){let n=e&&(e.loc||e._loc);if(!n&&e){const r={loc:null};(0,i().default)(e,p,this.scope,r),n=r.loc;let s="This is an error on an internal node. Probably an internal error.";n&&(s+=" Location has been estimated."),t+=` (${s})`}if(n){const{highlightCode:e=!0}=this.opts;t+="\n"+(0,s().codeFrameColumns)(this.code,{start:{line:n.start.line,column:n.start.column+1},end:n.end&&n.start.line===n.end.line?{line:n.end.line,column:n.end.column+1}:void 0},{highlightCode:e})}return new r(t)}}t.default=f},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.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(75)},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 o=a[t];i(e,t,r,o),s(e,t,r)},t.validateChild=s,t.validateField=i;var n=r(75);function i(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function s(e,t,r){if(null==r)return;const i=n.NODE_PARENT_VALIDATIONS[r.type];i&&i(e,t,r)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){t&&r&&(t[e]=Array.from(new Set([].concat(t[e],r[e]).filter(Boolean))))}},function(e,t,r){(function(n){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(r){}},t.load=function(){let e;try{e=t.storage.getItem("debug")}catch(r){}!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.destroy=(()=>{let e=!1;return()=>{e||(e=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))}})(),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"],t.log=console.debug||console.log||(()=>{}),e.exports=r(552)(t);const{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(t){return"[UnexpectedJSONParseError]: "+t.message}}}).call(this,r(69))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if(!e.isExportDeclaration())throw new Error("Only export declarations can be split.");const t=e.isExportDefaultDeclaration(),r=e.get("declaration"),n=r.isClassDeclaration();if(t){const t=r.isFunctionDeclaration()||n,u=r.isScope()?r.scope.parent:r.scope;let p=r.node.id,f=!1;p||(f=!0,p=u.generateUidIdentifier("default"),(t||r.isFunctionExpression()||r.isClassExpression())&&(r.node.id=i(p)));const d=t?r:l("var",[c(i(p),r.node)]),h=s(null,[a(i(p),o("default"))]);return e.insertAfter(h),e.replaceWith(d),f&&u.registerDeclaration(e),e}if(e.get("specifiers").length>0)throw new Error("It doesn't make sense to split exported specifiers.");const u=r.getOuterBindingIdentifiers(),p=Object.keys(u).map(e=>a(o(e),o(e))),f=s(null,p);return e.insertAfter(f),e.replaceWith(r.node),e};var n=r(65);const{cloneNode:i,exportNamedDeclaration:s,exportSpecifier:a,identifier:o,variableDeclaration:l,variableDeclarator:c}=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CodeGenerator=void 0,t.default=function(e,t,r){const n=new s(e,t,r);return n.generate()};var n=r(557),i=r(564);class s extends i.default{constructor(e,t={},r){const i=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,indent:{adjustMultilineComment:!0,style:" ",base:0},decoratorsBeforeExport:!!t.decoratorsBeforeExport,jsescOption:Object.assign({quotes:"double",wrap:!0,minimal:!1},t.jsescOption),recordAndTupleSyntaxType:t.recordAndTupleSyntaxType,topicToken:t.topicToken};r.jsonCompatibleStrings=t.jsonCompatibleStrings,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),s=t.sourceMaps?new n.default(t,r):null;super(i,s),this.ast=void 0,this.ast=e}generate(){return super.generate(this.ast)}}t.CodeGenerator=class{constructor(e,t,r){this._generator=void 0,this._generator=new s(e,t,r)}generate(){return this._generator.generate()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function({node:e,parent:t,scope:r,id:i},s=!1){if(e.id)return;if(!m(t)&&!h(t,{kind:"method"})||t.computed&&!f(t.key)){if(b(t)){if(i=t.id,p(i)&&!s){const t=r.parent.getBinding(i.name);if(t&&t.constant&&r.getBinding(i.name)===t)return e.id=o(i),void(e.id[a]=!0)}}else if(c(t,{operator:"="}))i=t.left;else if(!i)return}else i=t.key;let x;i&&f(i)?x=function(e){if(d(e))return"null";if(y(e))return`_${e.pattern}_${e.flags}`;if(g(e))return e.quasis.map(e=>e.value.raw).join("");if(void 0!==e.value)return e.value+"";return""}(i):i&&p(i)&&(x=i.name);if(void 0===x)return;x=v(x),i=l(x),i[a]=!0;const P=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,S,n);return n}(e,x,r);return function(e,t,r,i){if(e.selfReference){if(!i.hasBinding(r.name)||i.hasGlobal(r.name)){if(!u(t))return;let e=T;t.generator&&(e=E);const s=e({FUNCTION:t,FUNCTION_ID:r,FUNCTION_KEY:i.generateUidIdentifier(r.name)}).expression,a=s.callee.body.body[0].params;for(let r=0,o=(0,n.default)(t);r<o;r++)a.push(i.generateUidIdentifier("x"));return s}i.rename(r.name)}t.id=r,i.getProgramParent().references[r.name]=!0}(P,e,i,r)||e};var n=r(600),i=r(90),s=r(65);const{NOT_LOCAL_BINDING:a,cloneNode:o,identifier:l,isAssignmentExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isNullLiteral:d,isObjectMethod:h,isObjectProperty:m,isRegExpLiteral:y,isTemplateLiteral:g,isVariableDeclarator:b,toBindingIdentifierName:v}=s,T=(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"),E=(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"),S={"ReferencedIdentifier|BindingIdentifier"(e,t){if(e.node.name!==t.name)return;const r=e.scope.getBindingIdentifier(t.name);r===t.outerDeclar&&(t.selfReference=!0,e.stop())}}},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:s=e.syntacticPlaceholders}=t;return{parser:Object.assign({},e.parser,t.parser),placeholderWhitelist:r,placeholderPattern:n,preserveComments:i,syntacticPlaceholders:s}},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")},t.validate=function(e){if(null!=e&&"object"!=typeof e)throw new Error("Unknown template options.");const t=e||{},{placeholderWhitelist:r,placeholderPattern:i,preserveComments:s,syntacticPlaceholders:a}=t,o=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(t,n);if(null!=r&&!(r instanceof Set))throw new Error("'.placeholderWhitelist' must be a Set, null, or undefined");if(null!=i&&!(i instanceof RegExp)&&!1!==i)throw new Error("'.placeholderPattern' must be a RegExp, false, null, or undefined");if(null!=s&&"boolean"!=typeof s)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!=i))throw new Error("'.placeholderWhitelist' and '.placeholderPattern' aren't compatible with '.syntacticPlaceholders: true'");return{parser:o,placeholderWhitelist:r||void 0,placeholderPattern:null==i?void 0:i,preserveComments:null==s?void 0:s,syntacticPlaceholders:null==a?void 0:a}};const n=["placeholderWhitelist","placeholderPattern","preserveComments","syntacticPlaceholders"]},function(e,t,r){"use strict";function n(e,t){for(const r of Object.keys(t)){const n=t[r];void 0!==n&&(e[r]=n)}}Object.defineProperty(t,"__esModule",{value:!0}),t.isIterableIterator=function(e){return!!e&&"function"==typeof e.next&&"function"==typeof e[Symbol.iterator]},t.mergeOptions=function(e,t){for(const r of Object.keys(t))if("parserOpts"!==r&&"generatorOpts"!==r&&"assumptions"!==r||!t[r]){const n=t[r];void 0!==n&&(e[r]=n)}else{const i=t[r],s=e[r]||(e[r]={});n(s,i)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"OptionValidator",{enumerable:!0,get:function(){return n.OptionValidator}}),Object.defineProperty(t,"findSuggestion",{enumerable:!0,get:function(){return i.findSuggestion}});var n=r(637),i=r(270)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getHighestUnreleased=function(e,t,r){return c(e,t,r)===e?t:e},t.getLowestImplementedVersion=function(e,t){const r=e[t];if(!r&&"android"===t)return e.chrome;return r},t.getLowestUnreleased=c,t.isUnreleasedVersion=function(e,t){const r=s.unreleasedLabels[t];return!!r&&r===e.toString().toLowerCase()},t.semverMin=l,t.semverify=function(e){if("string"==typeof e&&n.valid(e))return e;o.invariant("number"==typeof e||"string"==typeof e&&a.test(e),`'${e}' is not a valid version`);const t=e.toString().split(".");for(;t.length<3;)t.push("0");return t.join(".")};var n=r(94),i=r(162),s=r(164);const a=/^(\d+|\d+.\d+)$/,o=new i.OptionValidator("@babel/helper-compilation-targets");function l(e,t){return e&&n.lt(e,t)?e:t}function c(e,t,r){const n=s.unreleasedLabels[r],i=[e,t].some(e=>e===n);return i?e===i?t:e||t:l(e,t)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.unreleasedLabels=t.browserNameMap=void 0;t.unreleasedLabels={safari:"tp"};t.browserNameMap={and_chr:"chrome",and_ff:"firefox",android:"android",chrome:"chrome",edge:"edge",firefox:"firefox",ie:"ie",ie_mob:"ie",ios_saf:"ios",node:"node",op_mob:"opera",opera:"opera",safari:"safari",samsung:"samsung"}},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.ensure=function(e,t){h||(h=t);y(e)},t.get=g,t.getDependencies=function(e){return Array.from(y(e).dependencies.values())},t.list=void 0,t.minVersion=function(e){return y(e).minVersion()};var n=r(74),i=r(65),s=r(614);const{assignmentExpression:a,cloneNode:o,expressionStatement:l,file:c,identifier:u,variableDeclaration:p,variableDeclarator:f}=i;function d(e){const t=[];for(;e.parentPath;e=e.parentPath)t.push(e.key),e.inList&&t.push(e.listKey);return t.reverse().join(".")}let h=void 0;const m=Object.create(null);function y(e){if(!m[e]){const t=s.default[e];if(!t)throw Object.assign(new ReferenceError("Unknown helper "+e),{code:"BABEL_HELPER_UNKNOWN",helper:e});const r=()=>{const r={ast:c(t.ast())};return h?new h({filename:"babel-helper://"+e},r):r},i=function(e){const t=new Set,r=new Set,i=new Map;let a,o;const l=[],c=[],u=[],p={ImportDeclaration(e){const t=e.node.source.value;if(!s.default[t])throw e.buildCodeFrameError("Unknown helper "+t);if(1!==e.get("specifiers").length||!e.get("specifiers.0").isImportDefaultSpecifier())throw e.buildCodeFrameError("Helpers can only import a default value");const r=e.node.specifiers[0].local;i.set(r,t),c.push(d(e))},ExportDefaultDeclaration(e){const t=e.get("declaration");if(t.isFunctionDeclaration()){if(!t.node.id)throw t.buildCodeFrameError("Helpers should give names to their exported func declaration");a=t.node.id.name}o=d(e)},ExportAllDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},ExportNamedDeclaration(e){throw e.buildCodeFrameError("Helpers can only export default")},Statement(e){e.isModuleDeclaration()||e.skip()}},f={Program(e){const t=e.scope.getAllBindings();Object.keys(t).forEach(e=>{e!==a&&(i.has(t[e].identifier)||r.add(e))})},ReferencedIdentifier(e){const r=e.node.name,n=e.scope.getBinding(r);n?i.has(n.identifier)&&u.push(d(e)):t.add(r)},AssignmentExpression(e){const t=e.get("left");if(!(a in t.getBindingIdentifiers()))return;if(!t.isIdentifier())throw t.buildCodeFrameError("Only simple assignments to exports are allowed in helpers");const r=e.scope.getBinding(a);null!=r&&r.scope.path.isProgram()&&l.push(d(e))}};if((0,n.default)(e.ast,p,e.scope),(0,n.default)(e.ast,f,e.scope),!o)throw new Error("Helpers must default-export something.");return l.reverse(),{globals:Array.from(t),localBindingNames:Array.from(r),dependencies:i,exportBindingAssignments:l,exportPath:o,exportName:a,importBindingsReferences:u,importPaths:c}}(r());m[e]={build(e,t,s){const c=r();return function(e,t,r,i,s){if(i&&!r)throw new Error("Unexpected local bindings for module-based helpers.");if(!r)return;const{localBindingNames:c,dependencies:d,exportBindingAssignments:h,exportPath:m,exportName:y,importBindingsReferences:g,importPaths:b}=t,v={};d.forEach((e,t)=>{v[t.name]="function"==typeof s&&s(e)||t});const T={},E=new Set(i||[]);c.forEach(e=>{let t=e;for(;E.has(t);)t="_"+t;t!==e&&(T[e]=t)}),"Identifier"===r.type&&y!==r.name&&(T[y]=r.name);const S={Program(e){const t=e.get(m),n=b.map(t=>e.get(t)),i=g.map(t=>e.get(t)),s=t.get("declaration");if("Identifier"===r.type)s.isFunctionDeclaration()?t.replaceWith(s):t.replaceWith(p("var",[f(r,s.node)]));else{if("MemberExpression"!==r.type)throw new Error("Unexpected helper format.");s.isFunctionDeclaration()?(h.forEach(t=>{const n=e.get(t);n.replaceWith(a("=",r,n.node))}),t.replaceWith(s),e.pushContainer("body",l(a("=",r,u(y))))):t.replaceWith(l(a("=",r,s.node)))}Object.keys(T).forEach(t=>{e.scope.rename(t,T[t])});for(const r of n)r.remove();for(const r of i){const e=o(v[r.node.name]);r.replaceWith(e)}e.stop()}};(0,n.default)(e.ast,S,e.scope)}(c,i,t,s,e),{nodes:c.ast.program.body,globals:i.globals}},minVersion:()=>t.minVersion,dependencies:i.dependencies}}return m[e]}function g(e,t,r,n){return y(e).build(t,r,n)}const b=Object.keys(s.default).map(e=>e.replace(/^_/,""));t.list=b;var v=g;t.default=v},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Var=t.User=t.Statement=t.SpreadProperty=t.Scope=t.RestProperty=t.ReferencedMemberExpression=t.ReferencedIdentifier=t.Referenced=t.Pure=t.NumericLiteralTypeAnnotation=t.Generated=t.ForAwaitStatement=t.Flow=t.Expression=t.ExistentialTypeParam=t.BlockScoped=t.BindingIdentifier=void 0;var n=r(65);const{isBinding:i,isBlockScoped:s,isExportDeclaration:a,isExpression:o,isFlow:l,isForStatement:c,isForXStatement:u,isIdentifier:p,isImportDeclaration:f,isImportSpecifier:d,isJSXIdentifier:h,isJSXMemberExpression:m,isMemberExpression:y,isReferenced:g,isScope:b,isStatement:v,isVar:T,isVariableDeclaration:E,react:S}=n,{isCompatTag:x}=S,P={types:["Identifier","JSXIdentifier"],checkPath(e,t){const{node:r,parent:n}=e;if(!p(r,t)&&!m(n,t)){if(!h(r,t))return!1;if(x(r.name))return!1}return g(r,n,e.parentPath.parent)}};t.ReferencedIdentifier=P;const A={types:["MemberExpression"],checkPath:({node:e,parent:t})=>y(e)&&g(e,t)};t.ReferencedMemberExpression=A;const w={types:["Identifier"],checkPath(e){const{node:t,parent:r}=e,n=e.parentPath.parent;return p(t)&&i(t,r,n)}};t.BindingIdentifier=w;const O={types:["Statement"],checkPath({node:e,parent:t}){if(v(e)){if(E(e)){if(u(t,{left:e}))return!1;if(c(t,{init:e}))return!1}return!0}return!1}};t.Statement=O;const C={types:["Expression"],checkPath:e=>e.isIdentifier()?e.isReferencedIdentifier():o(e.node)};t.Expression=C;const I={types:["Scopable","Pattern"],checkPath:e=>b(e.node,e.parent)};t.Scope=I;const N={checkPath:e=>g(e.node,e.parent)};t.Referenced=N;const k={checkPath:e=>s(e.node)};t.BlockScoped=k;const _={types:["VariableDeclaration"],checkPath:e=>T(e.node)};t.Var=_;const j={checkPath:e=>e.node&&!!e.node.loc};t.User=j;const D={checkPath:e=>!e.isUser()};t.Generated=D;const M={checkPath:(e,t)=>e.scope.isPure(e.node,t)};t.Pure=M;const B={types:["Flow","ImportDeclaration","ExportDeclaration","ImportSpecifier"],checkPath:({node:e})=>!!l(e)||(f(e)?"type"===e.importKind||"typeof"===e.importKind:a(e)?"type"===e.exportKind:!!d(e)&&("type"===e.importKind||"typeof"===e.importKind))};t.Flow=B;const L={types:["RestElement"],checkPath:e=>e.parentPath&&e.parentPath.isObjectPattern()};t.RestProperty=L;const F={types:["RestElement"],checkPath:e=>e.parentPath&&e.parentPath.isObjectExpression()};t.SpreadProperty=F;t.ExistentialTypeParam={types:["ExistsTypeAnnotation"]};t.NumericLiteralTypeAnnotation={types:["NumberLiteralTypeAnnotation"]};const R={types:["ForOfStatement"],checkPath:({node:e})=>!0===e.await};t.ForAwaitStatement=R},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=e.split(".");return e=>(0,n.default)(e,r,t)};var n=r(230)},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("."),s=[];let a;for(a=e;(0,n.isMemberExpression)(a);a=a.object)s.push(a.property);if(s.push(a),s.length<i.length)return!1;if(!r&&s.length>i.length)return!1;for(let o=0,l=s.length-1;o<i.length;o++,l--){const e=s[l];let t;if((0,n.isIdentifier)(e))t=e.name;else if((0,n.isStringLiteral)(e))t=e.value;else{if(!(0,n.isThisExpression)(e))return!1;t="this"}if(i[o]!==t)return!1}return!0};var n=r(68)},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.patternLikeCommon=t.functionTypeAnnotationCommon=t.functionDeclarationCommon=t.functionCommon=t.classMethodOrPropertyCommon=t.classMethodOrDeclareMethodCommon=void 0;var n=r(99),i=r(100),s=r(101),a=r(88),o=r(84);const l=(0,o.defineAliasedType)("Standardized");l("ArrayExpression",{fields:{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","Expression","SpreadElement"))),default:e.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),l("AssignmentExpression",{fields:{operator:{validate:function(){if(!e.env.BABEL_TYPES_8_BREAKING)return(0,o.assertValueType)("string");const t=(0,o.assertOneOf)(...a.ASSIGNMENT_OPERATORS),r=(0,o.assertOneOf)("=");return function(e,i,s){const a=(0,n.default)("Pattern",e.left)?r:t;a(e,i,s)}}()},left:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern"):(0,o.assertNodeType)("LVal")},right:{validate:(0,o.assertNodeType)("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),l("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:(0,o.assertOneOf)(...a.BINARY_OPERATORS)},left:{validate:function(){const e=(0,o.assertNodeType)("Expression"),t=(0,o.assertNodeType)("Expression","PrivateName"),r=function(r,n,i){const s="in"===r.operator?t:e;s(r,n,i)};return r.oneOfNodeTypes=["Expression","PrivateName"],r}()},right:{validate:(0,o.assertNodeType)("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),l("InterpreterDirective",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}}),l("Directive",{visitor:["value"],fields:{value:{validate:(0,o.assertNodeType)("DirectiveLiteral")}}}),l("DirectiveLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}}}),l("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),l("BreakStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),l("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:(0,o.assertNodeType)("Expression","V8IntrinsicIdentifier")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},e.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,o.assertOneOf)(!0,!1),optional:!0}},{typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}})}),l("CatchClause",{visitor:["param","body"],fields:{param:{validate:(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:(0,o.assertNodeType)("BlockStatement")}},aliases:["Scopable","BlockParent"]}),l("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Expression")},alternate:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Expression","Conditional"]}),l("ContinueStatement",{visitor:["label"],fields:{label:{validate:(0,o.assertNodeType)("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),l("DebuggerStatement",{aliases:["Statement"]}),l("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),l("EmptyStatement",{aliases:["Statement"]}),l("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}},aliases:["Statement","ExpressionWrapper"]}),l("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:(0,o.assertNodeType)("Program")},comments:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.assertEach)((0,o.assertNodeType)("CommentBlock","CommentLine")):Object.assign(()=>{},{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:(0,o.assertEach)(Object.assign(()=>{},{type:"any"})),optional:!0}}}),l("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern"):(0,o.assertNodeType)("VariableDeclaration","LVal")},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}}),l("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:(0,o.assertNodeType)("VariableDeclaration","Expression"),optional:!0},test:{validate:(0,o.assertNodeType)("Expression"),optional:!0},update:{validate:(0,o.assertNodeType)("Expression"),optional:!0},body:{validate:(0,o.assertNodeType)("Statement")}}});const c={params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}};t.functionCommon=c;const u={returnType:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}};t.functionTypeAnnotationCommon=u;const p=Object.assign({},c,{declare:{validate:(0,o.assertValueType)("boolean"),optional:!0},id:{validate:(0,o.assertNodeType)("Identifier"),optional:!0}});t.functionDeclarationCommon=p,l("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},p,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!e.env.BABEL_TYPES_8_BREAKING)return()=>{};const t=(0,o.assertNodeType)("Identifier");return function(e,r,i){(0,n.default)("ExportDefaultDeclaration",e)||t(i,"id",i.id)}}()}),l("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c,u,{id:{validate:(0,o.assertNodeType)("Identifier"),optional:!0},body:{validate:(0,o.assertNodeType)("BlockStatement")}})});const f={typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator")))}};t.patternLikeCommon=f,l("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},f,{name:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign((function(t,r,n){if(e.env.BABEL_TYPES_8_BREAKING&&!(0,i.default)(n,!1))throw new TypeError(`"${n}" is not a valid identifier name`)}),{type:"string"}))},optional:{validate:(0,o.assertValueType)("boolean"),optional:!0}}),validate(t,r,i){if(!e.env.BABEL_TYPES_8_BREAKING)return;const a=/\.(\w+)$/.exec(r);if(!a)return;const[,o]=a,l={computed:!1};if("property"===o){if((0,n.default)("MemberExpression",t,l))return;if((0,n.default)("OptionalMemberExpression",t,l))return}else if("key"===o){if((0,n.default)("Property",t,l))return;if((0,n.default)("Method",t,l))return}else if("exported"===o){if((0,n.default)("ExportSpecifier",t))return}else if("imported"===o){if((0,n.default)("ImportSpecifier",t,{imported:i}))return}else if("meta"===o&&(0,n.default)("MetaProperty",t,{meta:i}))return;if(((0,s.isKeyword)(i.name)||(0,s.isReservedWord)(i.name,!1))&&"this"!==i.name)throw new TypeError(`"${i.name}" is not a valid identifier`)}}),l("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},consequent:{validate:(0,o.assertNodeType)("Statement")},alternate:{optional:!0,validate:(0,o.assertNodeType)("Statement")}}}),l("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:(0,o.assertNodeType)("Identifier")},body:{validate:(0,o.assertNodeType)("Statement")}}}),l("StringLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),l("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:(0,o.assertValueType)("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),l("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),l("BooleanLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("boolean")}},aliases:["Expression","Pureish","Literal","Immutable"]}),l("RegExpLiteral",{builder:["pattern","flags"],deprecatedAlias:"RegexLiteral",aliases:["Expression","Pureish","Literal"],fields:{pattern:{validate:(0,o.assertValueType)("string")},flags:{validate:(0,o.chain)((0,o.assertValueType)("string"),Object.assign((function(t,r,n){if(!e.env.BABEL_TYPES_8_BREAKING)return;const i=/[^gimsuy]/.exec(n);if(i)throw new TypeError(`"${i[0]}" is not a valid RegExp flag`)}),{type:"string"})),default:""}}}),l("LogicalExpression",{builder:["operator","left","right"],visitor:["left","right"],aliases:["Binary","Expression"],fields:{operator:{validate:(0,o.assertOneOf)(...a.LOGICAL_OPERATORS)},left:{validate:(0,o.assertNodeType)("Expression")},right:{validate:(0,o.assertNodeType)("Expression")}}}),l("MemberExpression",{builder:["object","property","computed",...e.env.BABEL_TYPES_8_BREAKING?[]:["optional"]],visitor:["object","property"],aliases:["Expression","LVal"],fields:Object.assign({object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier","PrivateName"),t=(0,o.assertNodeType)("Expression"),r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","PrivateName"],r}()},computed:{default:!1}},e.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:(0,o.assertOneOf)(!0,!1),optional:!0}})}),l("NewExpression",{inherits:"CallExpression"}),l("Program",{visitor:["directives","body"],builder:["body","directives","sourceType","interpreter"],fields:{sourceFile:{validate:(0,o.assertValueType)("string")},sourceType:{validate:(0,o.assertOneOf)("script","module"),default:"script"},interpreter:{validate:(0,o.assertNodeType)("InterpreterDirective"),default:null,optional:!0},directives:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Directive"))),default:[]},body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","Block"]}),l("ObjectExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ObjectMethod","ObjectProperty","SpreadElement")))}}}),l("ObjectMethod",{builder:["kind","key","params","body","computed","generator","async"],fields:Object.assign({},c,u,{kind:Object.assign({validate:(0,o.assertOneOf)("method","get","set")},e.env.BABEL_TYPES_8_BREAKING?{}:{default:"method"}),computed:{default:!1},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,o.assertNodeType)("Expression"),r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],r}()},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},body:{validate:(0,o.assertNodeType)("BlockStatement")}}),visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["UserWhitespacable","Function","Scopable","BlockParent","FunctionParent","Method","ObjectMember"]}),l("ObjectProperty",{builder:["key","value","computed","shorthand",...e.env.BABEL_TYPES_8_BREAKING?[]:["decorators"]],fields:{computed:{default:!1},key:{validate:function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,o.assertNodeType)("Expression"),r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier","StringLiteral","NumericLiteral"],r}()},value:{validate:(0,o.assertNodeType)("Expression","PatternLike")},shorthand:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign((function(t,r,n){if(e.env.BABEL_TYPES_8_BREAKING&&n&&t.computed)throw new TypeError("Property shorthand of ObjectProperty cannot be true if computed is true")}),{type:"boolean"}),(function(t,r,i){if(e.env.BABEL_TYPES_8_BREAKING&&i&&!(0,n.default)("Identifier",t.key))throw new TypeError("Property shorthand of ObjectProperty cannot be true if key is not an Identifier")})),default:!1},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0}},visitor:["key","value","decorators"],aliases:["UserWhitespacable","Property","ObjectMember"],validate:function(){const t=(0,o.assertNodeType)("Identifier","Pattern"),r=(0,o.assertNodeType)("Expression");return function(i,s,a){if(!e.env.BABEL_TYPES_8_BREAKING)return;const o=(0,n.default)("ObjectPattern",i)?t:r;o(a,"value",a.value)}}()}),l("RestElement",{visitor:["argument","typeAnnotation"],builder:["argument"],aliases:["LVal","PatternLike"],deprecatedAlias:"RestProperty",fields:Object.assign({},f,{argument:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern","MemberExpression"):(0,o.assertNodeType)("LVal")},optional:{validate:(0,o.assertValueType)("boolean"),optional:!0}}),validate(t,r){if(!e.env.BABEL_TYPES_8_BREAKING)return;const n=/(\w+)\[(\d+)\]/.exec(r);if(!n)throw new Error("Internal Babel error: malformed key.");const[,i,s]=n;if(t[i].length>s+1)throw new TypeError("RestElement must be last element of "+i)}}),l("ReturnStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression"),optional:!0}}}),l("SequenceExpression",{visitor:["expressions"],fields:{expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression")))}},aliases:["Expression"]}),l("ParenthesizedExpression",{visitor:["expression"],aliases:["Expression","ExpressionWrapper"],fields:{expression:{validate:(0,o.assertNodeType)("Expression")}}}),l("SwitchCase",{visitor:["test","consequent"],fields:{test:{validate:(0,o.assertNodeType)("Expression"),optional:!0},consequent:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}}}),l("SwitchStatement",{visitor:["discriminant","cases"],aliases:["Statement","BlockParent","Scopable"],fields:{discriminant:{validate:(0,o.assertNodeType)("Expression")},cases:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("SwitchCase")))}}}),l("ThisExpression",{aliases:["Expression"]}),l("ThrowStatement",{visitor:["argument"],aliases:["Statement","Terminatorless","CompletionStatement"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}}),l("TryStatement",{visitor:["block","handler","finalizer"],aliases:["Statement"],fields:{block:{validate:(0,o.chain)((0,o.assertNodeType)("BlockStatement"),Object.assign((function(t){if(e.env.BABEL_TYPES_8_BREAKING&&!t.handler&&!t.finalizer)throw new TypeError("TryStatement expects either a handler or finalizer, or both")}),{oneOfNodeTypes:["BlockStatement"]}))},handler:{optional:!0,validate:(0,o.assertNodeType)("CatchClause")},finalizer:{optional:!0,validate:(0,o.assertNodeType)("BlockStatement")}}}),l("UnaryExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!0},argument:{validate:(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UNARY_OPERATORS)}},visitor:["argument"],aliases:["UnaryLike","Expression"]}),l("UpdateExpression",{builder:["operator","argument","prefix"],fields:{prefix:{default:!1},argument:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.assertNodeType)("Identifier","MemberExpression"):(0,o.assertNodeType)("Expression")},operator:{validate:(0,o.assertOneOf)(...a.UPDATE_OPERATORS)}},visitor:["argument"],aliases:["Expression"]}),l("VariableDeclaration",{builder:["kind","declarations"],visitor:["declarations"],aliases:["Statement","Declaration"],fields:{declare:{validate:(0,o.assertValueType)("boolean"),optional:!0},kind:{validate:(0,o.assertOneOf)("var","let","const")},declarations:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("VariableDeclarator")))}},validate(t,r,i){if(e.env.BABEL_TYPES_8_BREAKING&&(0,n.default)("ForXStatement",t,{left:i})&&1!==i.declarations.length)throw new TypeError("Exactly one VariableDeclarator is required in the VariableDeclaration of a "+t.type)}}),l("VariableDeclarator",{visitor:["id","init"],fields:{id:{validate:function(){if(!e.env.BABEL_TYPES_8_BREAKING)return(0,o.assertNodeType)("LVal");const t=(0,o.assertNodeType)("Identifier","ArrayPattern","ObjectPattern"),r=(0,o.assertNodeType)("Identifier");return function(e,n,i){const s=e.init?t:r;s(e,n,i)}}()},definite:{optional:!0,validate:(0,o.assertValueType)("boolean")},init:{optional:!0,validate:(0,o.assertNodeType)("Expression")}}}),l("WhileStatement",{visitor:["test","body"],aliases:["Statement","BlockParent","Loop","While","Scopable"],fields:{test:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}}),l("WithStatement",{visitor:["object","body"],aliases:["Statement"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")}}}),l("AssignmentPattern",{visitor:["left","right","decorators"],builder:["left","right"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{left:{validate:(0,o.assertNodeType)("Identifier","ObjectPattern","ArrayPattern","MemberExpression")},right:{validate:(0,o.assertNodeType)("Expression")},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0}})}),l("ArrayPattern",{visitor:["elements","typeAnnotation"],builder:["elements"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{elements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeOrValueType)("null","PatternLike")))},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},optional:{validate:(0,o.assertValueType)("boolean"),optional:!0}})}),l("ArrowFunctionExpression",{builder:["params","body","async"],visitor:["params","body","returnType","typeParameters"],aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},c,u,{expression:{validate:(0,o.assertValueType)("boolean")},body:{validate:(0,o.assertNodeType)("BlockStatement","Expression")}})}),l("ClassBody",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ClassMethod","ClassPrivateMethod","ClassProperty","ClassPrivateProperty","TSDeclareMethod","TSIndexSignature")))}}}),l("ClassExpression",{builder:["id","superClass","body","decorators"],visitor:["id","body","superClass","mixins","typeParameters","superTypeParameters","implements","decorators"],aliases:["Scopable","Class","Expression"],fields:{id:{validate:(0,o.assertNodeType)("Identifier"),optional:!0},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:!0}}}),l("ClassDeclaration",{inherits:"ClassExpression",aliases:["Scopable","Class","Statement","Declaration"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0},body:{validate:(0,o.assertNodeType)("ClassBody")},superClass:{optional:!0,validate:(0,o.assertNodeType)("Expression")},superTypeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0},implements:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TSExpressionWithTypeArguments","ClassImplements"))),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},mixins:{validate:(0,o.assertNodeType)("InterfaceExtends"),optional:!0},declare:{validate:(0,o.assertValueType)("boolean"),optional:!0},abstract:{validate:(0,o.assertValueType)("boolean"),optional:!0}},validate:function(){const t=(0,o.assertNodeType)("Identifier");return function(r,i,s){e.env.BABEL_TYPES_8_BREAKING&&((0,n.default)("ExportDefaultDeclaration",r)||t(s,"id",s.id))}}()}),l("ExportAllDeclaration",{visitor:["source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{source:{validate:(0,o.assertNodeType)("StringLiteral")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value")),assertions:{optional:!0,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))}}}),l("ExportDefaultDeclaration",{visitor:["declaration"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{validate:(0,o.assertNodeType)("FunctionDeclaration","TSDeclareFunction","ClassDeclaration","Expression")},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("value"))}}),l("ExportNamedDeclaration",{visitor:["declaration","specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration","ExportDeclaration"],fields:{declaration:{optional:!0,validate:(0,o.chain)((0,o.assertNodeType)("Declaration"),Object.assign((function(t,r,n){if(e.env.BABEL_TYPES_8_BREAKING&&n&&t.specifiers.length)throw new TypeError("Only declaration or specifiers is allowed on ExportNamedDeclaration")}),{oneOfNodeTypes:["Declaration"]}),(function(t,r,n){if(e.env.BABEL_TYPES_8_BREAKING&&n&&t.source)throw new TypeError("Cannot export a declaration from a source")}))},assertions:{optional:!0,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{default:[],validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)(function(){const t=(0,o.assertNodeType)("ExportSpecifier","ExportDefaultSpecifier","ExportNamespaceSpecifier"),r=(0,o.assertNodeType)("ExportSpecifier");return e.env.BABEL_TYPES_8_BREAKING?function(e,n,i){const s=e.source?t:r;s(e,n,i)}:t}()))},source:{validate:(0,o.assertNodeType)("StringLiteral"),optional:!0},exportKind:(0,o.validateOptional)((0,o.assertOneOf)("type","value"))}}),l("ExportSpecifier",{visitor:["local","exported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},exported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},exportKind:{validate:(0,o.assertOneOf)("type","value"),optional:!0}}}),l("ForOfStatement",{visitor:["left","right","body"],builder:["left","right","body","await"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:function(){if(!e.env.BABEL_TYPES_8_BREAKING)return(0,o.assertNodeType)("VariableDeclaration","LVal");const t=(0,o.assertNodeType)("VariableDeclaration"),r=(0,o.assertNodeType)("Identifier","MemberExpression","ArrayPattern","ObjectPattern");return function(e,i,s){(0,n.default)("VariableDeclaration",s)?t(e,i,s):r(e,i,s)}}()},right:{validate:(0,o.assertNodeType)("Expression")},body:{validate:(0,o.assertNodeType)("Statement")},await:{default:!1}}}),l("ImportDeclaration",{visitor:["specifiers","source"],aliases:["Statement","Declaration","ModuleDeclaration"],fields:{assertions:{optional:!0,validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportAttribute")))},specifiers:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("ImportSpecifier","ImportDefaultSpecifier","ImportNamespaceSpecifier")))},source:{validate:(0,o.assertNodeType)("StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:!0}}}),l("ImportDefaultSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}}),l("ImportNamespaceSpecifier",{visitor:["local"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")}}}),l("ImportSpecifier",{visitor:["local","imported"],aliases:["ModuleSpecifier"],fields:{local:{validate:(0,o.assertNodeType)("Identifier")},imported:{validate:(0,o.assertNodeType)("Identifier","StringLiteral")},importKind:{validate:(0,o.assertOneOf)("type","typeof","value"),optional:!0}}}),l("MetaProperty",{visitor:["meta","property"],aliases:["Expression"],fields:{meta:{validate:(0,o.chain)((0,o.assertNodeType)("Identifier"),Object.assign((function(t,r,i){if(!e.env.BABEL_TYPES_8_BREAKING)return;let s;switch(i.name){case"function":s="sent";break;case"new":s="target";break;case"import":s="meta"}if(!(0,n.default)("Identifier",t.property,{name:s}))throw new TypeError("Unrecognised MetaProperty")}),{oneOfNodeTypes:["Identifier"]}))},property:{validate:(0,o.assertNodeType)("Identifier")}}});const d={abstract:{validate:(0,o.assertValueType)("boolean"),optional:!0},accessibility:{validate:(0,o.assertOneOf)("public","private","protected"),optional:!0},static:{default:!1},override:{default:!1},computed:{default:!1},optional:{validate:(0,o.assertValueType)("boolean"),optional:!0},key:{validate:(0,o.chain)(function(){const e=(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral"),t=(0,o.assertNodeType)("Expression");return function(r,n,i){const s=r.computed?t:e;s(r,n,i)}}(),(0,o.assertNodeType)("Identifier","StringLiteral","NumericLiteral","Expression"))}};t.classMethodOrPropertyCommon=d;const h=Object.assign({},c,d,{params:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Identifier","Pattern","RestElement","TSParameterProperty")))},kind:{validate:(0,o.assertOneOf)("get","set","method","constructor"),default:"method"},access:{validate:(0,o.chain)((0,o.assertValueType)("string"),(0,o.assertOneOf)("public","private","protected")),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0}});t.classMethodOrDeclareMethodCommon=h,l("ClassMethod",{aliases:["Function","Scopable","BlockParent","FunctionParent","Method"],builder:["kind","key","params","body","computed","static","generator","async"],visitor:["key","params","body","decorators","returnType","typeParameters"],fields:Object.assign({},h,u,{body:{validate:(0,o.assertNodeType)("BlockStatement")}})}),l("ObjectPattern",{visitor:["properties","typeAnnotation","decorators"],builder:["properties"],aliases:["Pattern","PatternLike","LVal"],fields:Object.assign({},f,{properties:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("RestElement","ObjectProperty")))}})}),l("SpreadElement",{visitor:["argument"],aliases:["UnaryLike"],deprecatedAlias:"SpreadProperty",fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}}),l("Super",{aliases:["Expression"]}),l("TaggedTemplateExpression",{visitor:["tag","quasi","typeParameters"],builder:["tag","quasi"],aliases:["Expression"],fields:{tag:{validate:(0,o.assertNodeType)("Expression")},quasi:{validate:(0,o.assertNodeType)("TemplateLiteral")},typeParameters:{validate:(0,o.assertNodeType)("TypeParameterInstantiation","TSTypeParameterInstantiation"),optional:!0}}}),l("TemplateElement",{builder:["value","tail"],fields:{value:{validate:(0,o.assertShape)({raw:{validate:(0,o.assertValueType)("string")},cooked:{validate:(0,o.assertValueType)("string"),optional:!0}})},tail:{default:!1}}}),l("TemplateLiteral",{visitor:["quasis","expressions"],aliases:["Expression","Literal"],fields:{quasis:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("TemplateElement")))},expressions:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","TSType")),(function(e,t,r){if(e.quasis.length!==r.length+1)throw new TypeError(`Number of ${e.type} quasis should be exactly one more than the number of expressions.\nExpected ${r.length+1} quasis but got ${e.quasis.length}`)}))}}}),l("YieldExpression",{builder:["argument","delegate"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{delegate:{validate:(0,o.chain)((0,o.assertValueType)("boolean"),Object.assign((function(t,r,n){if(e.env.BABEL_TYPES_8_BREAKING&&n&&!t.argument)throw new TypeError("Property delegate of YieldExpression cannot be true if there is no argument")}),{type:"boolean"})),default:!1},argument:{optional:!0,validate:(0,o.assertNodeType)("Expression")}}}),l("AwaitExpression",{builder:["argument"],visitor:["argument"],aliases:["Expression","Terminatorless"],fields:{argument:{validate:(0,o.assertNodeType)("Expression")}}}),l("Import",{aliases:["Expression"]}),l("BigIntLiteral",{builder:["value"],fields:{value:{validate:(0,o.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),l("ExportNamespaceSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,o.assertNodeType)("Identifier")}}}),l("OptionalMemberExpression",{builder:["object","property","computed","optional"],visitor:["object","property"],aliases:["Expression"],fields:{object:{validate:(0,o.assertNodeType)("Expression")},property:{validate:function(){const e=(0,o.assertNodeType)("Identifier"),t=(0,o.assertNodeType)("Expression"),r=function(r,n,i){const s=r.computed?t:e;s(r,n,i)};return r.oneOfNodeTypes=["Expression","Identifier"],r}()},computed:{default:!1},optional:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)()):(0,o.assertValueType)("boolean")}}}),l("OptionalCallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments","optional"],aliases:["Expression"],fields:{callee:{validate:(0,o.assertNodeType)("Expression")},arguments:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))},optional:{validate:e.env.BABEL_TYPES_8_BREAKING?(0,o.chain)((0,o.assertValueType)("boolean"),(0,o.assertOptionalChainStart)()):(0,o.assertValueType)("boolean")},typeArguments:{validate:(0,o.assertNodeType)("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:(0,o.assertNodeType)("TSTypeParameterInstantiation"),optional:!0}}}),l("ClassProperty",{visitor:["key","value","typeAnnotation","decorators"],builder:["key","value","typeAnnotation","decorators","computed","static"],aliases:["Property"],fields:Object.assign({},d,{value:{validate:(0,o.assertNodeType)("Expression"),optional:!0},definite:{validate:(0,o.assertValueType)("boolean"),optional:!0},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,o.assertValueType)("boolean"),optional:!0},declare:{validate:(0,o.assertValueType)("boolean"),optional:!0},variance:{validate:(0,o.assertNodeType)("Variance"),optional:!0}})}),l("ClassPrivateProperty",{visitor:["key","value","decorators","typeAnnotation"],builder:["key","value","decorators","static"],aliases:["Property","Private"],fields:{key:{validate:(0,o.assertNodeType)("PrivateName")},value:{validate:(0,o.assertNodeType)("Expression"),optional:!0},typeAnnotation:{validate:(0,o.assertNodeType)("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Decorator"))),optional:!0},readonly:{validate:(0,o.assertValueType)("boolean"),optional:!0},definite:{validate:(0,o.assertValueType)("boolean"),optional:!0},variance:{validate:(0,o.assertNodeType)("Variance"),optional:!0}}}),l("ClassPrivateMethod",{builder:["kind","key","params","body","static"],visitor:["key","params","body","decorators","returnType","typeParameters"],aliases:["Function","Scopable","BlockParent","FunctionParent","Method","Private"],fields:Object.assign({},h,u,{key:{validate:(0,o.assertNodeType)("PrivateName")},body:{validate:(0,o.assertNodeType)("BlockStatement")}})}),l("PrivateName",{visitor:["id"],aliases:["Private"],fields:{id:{validate:(0,o.assertNodeType)("Identifier")}}}),l("StaticBlock",{visitor:["body"],fields:{body:{validate:(0,o.chain)((0,o.assertValueType)("array"),(0,o.assertEach)((0,o.assertNodeType)("Statement")))}},aliases:["Scopable","BlockParent","FunctionParent"]})}).call(this,r(69))},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 n of r)if(t===n)return!0;return!1};var n=r(75)},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(84);const i=["Identifier","StringLiteral","Expression","Statement","Declaration","BlockStatement","ClassBody","Pattern"];t.PLACEHOLDERS=i;const s={Declaration:["Statement"],Pattern:["PatternLike","LVal"]};t.PLACEHOLDERS_ALIAS=s;for(const o of i){const e=n.ALIAS_KEYS[o];null!=e&&e.length&&(s[o]=e)}const a={};t.PLACEHOLDERS_FLIPPED_ALIAS=a,Object.keys(s).forEach(e=>{s[e].forEach(t=>{Object.hasOwnProperty.call(a,t)||(a[t]=[]),a[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(75)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){const r={},s={},a=new Set,o=[];for(let l=0;l<t.length;l++){const c=t[l];if(c&&!(o.indexOf(c)>=0)){if((0,n.isAnyTypeAnnotation)(c))return[c];if((0,n.isFlowBaseAnnotation)(c))s[c.type]=c;else if((0,n.isUnionTypeAnnotation)(c))a.has(c.types)||(t=t.concat(c.types),a.add(c.types));else if((0,n.isGenericTypeAnnotation)(c)){const t=i(c.id);if(r[t]){let n=r[t];n.typeParameters?c.typeParameters&&(n.typeParameters.params=e(n.typeParameters.params.concat(c.typeParameters.params))):n=c.typeParameters}else r[t]=c}else o.push(c)}}for(const n of Object.keys(s))o.push(s[n]);for(const n of Object.keys(r))o.push(r[n]);return o};var n=r(68);function i(e){return(0,n.isIdentifier)(e)?e.name:`${e.id.name}.${i(e.qualification)}`}},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]?"leading"===t?e[n]=r.concat(e[n]):e[n].push(...r):e[n]=r;return e}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("innerComments",e,t)};var n=r(155)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("leadingComments",e,t)};var n=r(155)},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,s.default)(e,t),e};var n=r(240),i=r(238),s=r(237)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){(0,n.default)("trailingComments",e,t)};var n=r(155)},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(68),i=r(72)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e+="";let t="";for(const r of e)t+=(0,i.isIdentifierChar)(r.codePointAt(0))?r:"-";t=t.replace(/^[-0-9]+/,""),t=t.replace(/[-\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""})),(0,n.default)(t)||(t="_"+t);return t||"_"};var n=r(100),i=r(101)},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=r(244),i=r(245)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,i){if(!t)return;const s=n.VISITOR_KEYS[t.type];if(!s)return;i=i||{},r(t,i);for(const n of s){const s=t[n];if(Array.isArray(s))for(const t of s)e(t,r,i);else e(s,r,i)}};var n=r(75)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){const r=t.preserveComments?i:s;for(const i of r)null!=e[i]&&(e[i]=void 0);for(const i of Object.keys(e))"_"===i[0]&&null!=e[i]&&(e[i]=void 0);const n=Object.getOwnPropertySymbols(e);for(const i of n)e[i]=null};var n=r(88);const i=["tokens","start","end","loc","raw","rawValue"],s=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(68),i=r(88)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(554),i=r(74),s=r(248),a=r(555),o=r(65),l=r(93);const{NOT_LOCAL_BINDING:c,callExpression:u,cloneNode:p,getBindingIdentifiers:f,identifier:d,isArrayExpression:h,isBinary:m,isClass:y,isClassBody:g,isClassDeclaration:b,isExportAllDeclaration:v,isExportDefaultDeclaration:T,isExportNamedDeclaration:E,isFunctionDeclaration:S,isIdentifier:x,isImportDeclaration:P,isLiteral:A,isMethod:w,isModuleDeclaration:O,isModuleSpecifier:C,isObjectExpression:I,isProperty:N,isPureish:k,isSuper:_,isTaggedTemplateExpression:j,isTemplateLiteral:D,isThisExpression:M,isUnaryExpression:B,isVariableDeclaration:L,matchesPattern:F,memberExpression:R,numericLiteral:U,toIdentifier:V,unaryExpression:K,variableDeclaration:W,variableDeclarator:Y}=o;const q={ForStatement(e){const t=e.get("init");if(t.isVar()){const{scope:r}=e,n=r.getFunctionParent()||r.getProgramParent();n.registerBinding("var",t)}},Declaration(e){if(e.isBlockScoped())return;if(e.isImportDeclaration())return;if(e.isExportDeclaration())return;const t=e.scope.getFunctionParent()||e.scope.getProgramParent();t.registerDeclaration(e)},ImportDeclaration(e){const t=e.scope.getBlockParent();t.registerDeclaration(e)},ReferencedIdentifier(e,t){t.references.push(e)},ForXStatement(e,t){const r=e.get("left");if(r.isPattern()||r.isIdentifier())t.constantViolations.push(e);else if(r.isVar()){const{scope:t}=e,n=t.getFunctionParent()||t.getProgramParent();n.registerBinding("var",r)}},ExportDeclaration:{exit(e){const{node:t,scope:r}=e;if(v(t))return;const n=t.declaration;if(b(n)||S(n)){const t=n.id;if(!t)return;const i=r.getBinding(t.name);null==i||i.reference(e)}else if(L(n))for(const i of n.declarations)for(const t of Object.keys(f(i))){const n=r.getBinding(t);null==n||n.reference(e)}}},LabeledStatement(e){e.scope.getBlockParent().registerDeclaration(e)},AssignmentExpression(e,t){t.assignments.push(e)},UpdateExpression(e,t){t.constantViolations.push(e)},UnaryExpression(e,t){"delete"===e.node.operator&&t.constantViolations.push(e)},BlockScoped(e){let t=e.scope;t.path===e&&(t=t.parent);const r=t.getBlockParent();if(r.registerDeclaration(e),e.isClassDeclaration()&&e.node.id){const t=e.node.id,r=t.name;e.scope.bindings[r]=e.scope.parent.getBinding(r)}},CatchClause(e){e.scope.registerBinding("let",e)},Function(e){const t=e.get("params");for(const r of t)e.scope.registerBinding("param",r);e.isFunctionExpression()&&e.has("id")&&!e.get("id").node[c]&&e.scope.registerBinding("local",e.get("id"),e)},ClassExpression(e){e.has("id")&&!e.get("id").node[c]&&e.scope.registerBinding("local",e)}};let G=0;class H{constructor(e){this.uid=void 0,this.path=void 0,this.block=void 0,this.labels=void 0,this.inited=void 0,this.bindings=void 0,this.references=void 0,this.globals=void 0,this.uids=void 0,this.data=void 0,this.crawling=void 0;const{node:t}=e,r=l.scope.get(t);if((null==r?void 0:r.path)===e)return r;l.scope.set(t,this),this.uid=G++,this.block=t,this.path=e,this.labels=new Map,this.inited=!1}get parent(){var e;let t,r=this.path;do{const e="key"===r.key;r=r.parentPath,e&&r.isMethod()&&(r=r.parentPath),r&&r.isScope()&&(t=r)}while(r&&!t);return null==(e=t)?void 0:e.scope}get parentBlock(){return this.path.parent}get hub(){return this.path.hub}traverse(e,t,r){(0,i.default)(e,t,this,r,this.path)}generateDeclaredUidIdentifier(e){const t=this.generateUidIdentifier(e);return this.push({id:t}),p(t)}generateUidIdentifier(e){return d(this.generateUid(e))}generateUid(e="temp"){let t;e=V(e).replace(/^_+/,"").replace(/[0-9]+$/g,"");let r=1;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){const r=[];!function e(t,r){switch(null==t?void 0:t.type){default:if(O(t))if((v(t)||E(t)||P(t))&&t.source)e(t.source,r);else if((E(t)||P(t))&&t.specifiers&&t.specifiers.length)for(const n of t.specifiers)e(n,r);else(T(t)||E(t))&&t.declaration&&e(t.declaration,r);else C(t)?e(t.local,r):A(t)&&r.push(t.value);break;case"MemberExpression":case"OptionalMemberExpression":case"JSXMemberExpression":e(t.object,r),e(t.property,r);break;case"Identifier":case"JSXIdentifier":r.push(t.name);break;case"CallExpression":case"OptionalCallExpression":case"NewExpression":e(t.callee,r);break;case"ObjectExpression":case"ObjectPattern":for(const n of t.properties)e(n,r);break;case"SpreadElement":case"RestElement":e(t.argument,r);break;case"ObjectProperty":case"ObjectMethod":case"ClassProperty":case"ClassMethod":case"ClassPrivateProperty":case"ClassPrivateMethod":e(t.key,r);break;case"ThisExpression":r.push("this");break;case"Super":r.push("super");break;case"Import":r.push("import");break;case"DoExpression":r.push("do");break;case"YieldExpression":r.push("yield"),e(t.argument,r);break;case"AwaitExpression":r.push("await"),e(t.argument,r);break;case"AssignmentExpression":e(t.left,r);break;case"VariableDeclarator":e(t.id,r);break;case"FunctionExpression":case"FunctionDeclaration":case"ClassExpression":case"ClassDeclaration":case"PrivateName":e(t.id,r);break;case"ParenthesizedExpression":e(t.expression,r);break;case"UnaryExpression":case"UpdateExpression":e(t.argument,r);break;case"MetaProperty":e(t.meta,r),e(t.property,r);break;case"JSXElement":e(t.openingElement,r);break;case"JSXOpeningElement":r.push(t.name);break;case"JSXFragment":e(t.openingFragment,r);break;case"JSXOpeningFragment":r.push("Fragment");break;case"JSXNamespacedName":e(t.namespace,r),e(t.name,r)}}(e,r);let n=r.join("$");return n=n.replace(/^_/,"")||t||"ref",this.generateUid(n.slice(0,20))}generateUidIdentifierBasedOnNode(e,t){return d(this.generateUidBasedOnNode(e,t))}isStatic(e){if(M(e)||_(e))return!0;if(x(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}),p(r))}}checkBlockScopedCollisions(e,t,r,n){if("param"===t)return;if("local"===e.kind)return;const i="let"===t||"let"===e.kind||"const"===e.kind||"module"===e.kind||"param"===e.kind&&("let"===t||"const"===t);if(i)throw this.hub.buildError(n,`Duplicate declaration "${r}"`,TypeError)}rename(e,t,r){const i=this.getBinding(e);if(i)return t=t||this.generateUidIdentifier(e).name,new n.default(i,e,t).rename(r)}_renameFromMap(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)}dump(){const e="-".repeat(60);console.log(e);let t=this;do{console.log("#",t.block.type);for(const e of Object.keys(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,r){if(x(e)){const t=this.getBinding(e.name);if(null!=t&&t.constant&&t.path.isGenericType("Array"))return e}if(h(e))return e;if(x(e,{name:"arguments"}))return u(R(R(R(d("Array"),d("prototype")),d("slice")),d("call")),[e]);let n;const i=[e];return!0===t?n="toConsumableArray":t?(i.push(U(t)),n="slicedToArray"):n="toArray",r&&(i.unshift(this.hub.addHelper(n)),n="maybeArrayLike"),u(this.hub.addHelper(n),i)}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()){if(e.node.declare)return;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 K("void",U(0),!0)}registerConstantViolation(e){const t=e.getBindingIdentifiers();for(const r of Object.keys(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.getOuterBindingIdentifiers(!0);for(const a of Object.keys(i)){n.references[a]=!0;for(const t of i[a]){const n=this.getOwnBinding(a);if(n){if(n.identifier===t)continue;this.checkBlockScopedCollisions(n,e,a,t)}n?this.registerConstantViolation(r):this.bindings[a]=new s.default({identifier:t,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){return!!this.getProgramParent().references[e]}isPure(e,t){if(x(e)){const r=this.getBinding(e.name);return!!r&&(!t||r.constant)}if(y(e))return!(e.superClass&&!this.isPure(e.superClass,t))&&this.isPure(e.body,t);if(g(e)){for(const r of e.body)if(!this.isPure(r,t))return!1;return!0}if(m(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(h(e)){for(const r of e.elements)if(!this.isPure(r,t))return!1;return!0}if(I(e)){for(const r of e.properties)if(!this.isPure(r,t))return!1;return!0}if(w(e))return!(e.computed&&!this.isPure(e.key,t))&&("get"!==e.kind&&"set"!==e.kind);if(N(e))return!(e.computed&&!this.isPure(e.key,t))&&this.isPure(e.value,t);if(B(e))return this.isPure(e.argument,t);if(j(e))return F(e.tag,"String.raw")&&!this.hasBinding("String",!0)&&this.isPure(e.quasi,t);if(D(e)){for(const r of e.expressions)if(!this.isPure(r,t))return!1;return!0}return k(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{const r=t.data[e];null!=r&&(t.data[e]=null)}while(t=t.parent)}init(){this.inited||(this.inited=!0,this.crawl())}crawl(){const e=this.path;this.references=Object.create(null),this.bindings=Object.create(null),this.globals=Object.create(null),this.uids=Object.create(null),this.data=Object.create(null);const t=this.getProgramParent();if(t.crawling)return;const r={references:[],constantViolations:[],assignments:[]};if(this.crawling=!0,"Program"!==e.type&&q._exploded){for(const n of q.enter)n(e,r);const t=q[e.type];if(t)for(const n of t.enter)n(e,r)}e.traverse(q,r),this.crawling=!1;for(const n of r.assignments){const e=n.getBindingIdentifiers();for(const r of Object.keys(e))n.scope.getBinding(r)||t.addGlobal(e[r]);n.scope.registerConstantViolation(n)}for(const n of r.references){const e=n.scope.getBinding(n.node.name);e?e.reference(n):t.addGlobal(n.node)}for(const n of r.constantViolations)n.scope.registerConstantViolation(n)}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,s=`declaration:${n}:${i}`;let a=!r&&t.getData(s);if(!a){const e=W(n,[]);e._blockHoist=i,[a]=t.unshiftContainer("body",[e]),r||t.setData(s,a)}const o=Y(e.id,e.init);a.node.declarations.push(o),this.registerBinding(n,a.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{for(const r of Object.keys(t.bindings))r in e==!1&&(e[r]=t.bindings[r]);t=t.parent}while(t);return e}getAllBindingsOfKind(...e){const t=Object.create(null);for(const r of e){let e=this;do{for(const n of Object.keys(e.bindings)){const i=e.bindings[n];i.kind===r&&(t[n]=i)}e=e.parent}while(e)}return t}bindingIdentifierEquals(e,t){return this.getBindingIdentifier(e)===t}getBinding(e){let t,r=this;do{const i=r.getOwnBinding(e);var n;if(i){if(null==(n=t)||!n.isPattern()||"param"===i.kind||"local"===i.kind)return i}else if(!i&&"arguments"===e&&r.path.isFunction()&&!r.path.isArrowFunctionExpression())break;t=r.path}while(r=r.parent)}getOwnBinding(e){return this.bindings[e]}getBindingIdentifier(e){var t;return null==(t=this.getBinding(e))?void 0:t.identifier}getOwnBindingIdentifier(e){const t=this.bindings[e];return null==t?void 0:t.identifier}hasOwnBinding(e){return!!this.getOwnBinding(e)}hasBinding(e,t){return!!e&&(!!this.hasOwnBinding(e)||(!!this.parentHasBinding(e,t)||(!!this.hasUid(e)||(!(t||!H.globals.includes(e))||!(t||!H.contextVariables.includes(e))))))}parentHasBinding(e,t){var r;return null==(r=this.parent)?void 0:r.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){var t;null==(t=this.getBinding(e))||t.scope.removeOwnBinding(e);let r=this;do{r.uids[e]&&(r.uids[e]=!1)}while(r=r.parent)}}t.default=H,H.globals=Object.keys(a.builtin),H.contextVariables=["arguments","undefined","Infinity","NaN"]},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=void 0,this.scope=void 0,this.path=void 0,this.kind=void 0,this.constantViolations=[],this.constant=!0,this.referencePaths=[],this.referenced=!1,this.references=0,this.identifier=e,this.scope=t,this.path=r,this.kind=n,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){t.SourceMapGenerator=r(250).SourceMapGenerator,t.SourceMapConsumer=r(560).SourceMapConsumer,t.SourceNode=r(563).SourceNode},function(e,t,r){var n=r(251),i=r(102),s=r(252).ArraySet,a=r(559).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 s,this._names=new s,this._mappings=new a,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),s=i.getArg(e,"name",null);this._skipValidation||this._validateMapping(t,r,n,s),null!=n&&(n=String(n),this._sources.has(n)||this._sources.add(n)),null!=s&&(s=String(s),this._names.has(s)||this._names.add(s)),this._mappings.add({generatedLine:t.line,generatedColumn:t.column,originalLine:null!=r&&r.line,originalColumn:null!=r&&r.column,source:n,name:s})},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 a=this._sourceRoot;null!=a&&(n=i.relative(a,n));var o=new s,l=new s;this._mappings.unsortedForEach((function(t){if(t.source===n&&null!=t.originalLine){var s=e.originalPositionFor({line:t.originalLine,column:t.originalColumn});null!=s.source&&(t.source=s.source,null!=r&&(t.source=i.join(r,t.source)),null!=a&&(t.source=i.relative(a,t.source)),t.originalLine=s.line,t.originalColumn=s.column,null!=s.name&&(t.name=s.name))}var c=t.source;null==c||o.has(c)||o.add(c);var u=t.name;null==u||l.has(u)||l.add(u)}),this),this._sources=o,this._names=l,e.sources.forEach((function(t){var n=e.sourceContentFor(t);null!=n&&(null!=r&&(t=i.join(r,t)),null!=a&&(t=i.relative(a,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,s,a=0,o=1,l=0,c=0,u=0,p=0,f="",d=this._mappings.toArray(),h=0,m=d.length;h<m;h++){if(t=d[h],e="",t.generatedLine!==o)for(a=0;t.generatedLine!==o;)e+=";",o++;else if(h>0){if(!i.compareByGeneratedPositionsInflated(t,d[h-1]))continue;e+=","}e+=n.encode(t.generatedColumn-a),a=t.generatedColumn,null!=t.source&&(s=this._sources.indexOf(t.source),e+=n.encode(s-p),p=s,e+=n.encode(t.originalLine-1-c),c=t.originalLine-1,e+=n.encode(t.originalColumn-l),l=t.originalColumn,null!=t.name&&(r=this._names.indexOf(t.name),e+=n.encode(r-u),u=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(558);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,i>0&&(t|=32),r+=n.encode(t)}while(i>0);return r},t.decode=function(e,t,r){var i,s,a,o,l,c=e.length,u=0,p=0;do{if(t>=c)throw new Error("Expected more digits in base 64 VLQ value.");if(s=n.decode(e.charCodeAt(t++)),-1===s)throw new Error("Invalid base64 digit: "+e.charAt(t-1));i=!!(32&s),s&=31,u+=s<<p,p+=5}while(i);r.value=(a=u,o=1==(1&a),l=a>>1,o?-l:l),r.rest=t}},function(e,t,r){var n=r(102),i=Object.prototype.hasOwnProperty,s="undefined"!=typeof Map;function a(){this._array=[],this._set=s?new Map:Object.create(null)}a.fromArray=function(e,t){for(var r=new a,n=0,i=e.length;n<i;n++)r.add(e[n],t);return r},a.prototype.size=function(){return s?this._set.size:Object.getOwnPropertyNames(this._set).length},a.prototype.add=function(e,t){var r=s?e:n.toSetString(e),a=s?this.has(e):i.call(this._set,r),o=this._array.length;a&&!t||this._array.push(e),a||(s?this._set.set(e,o):this._set[r]=o)},a.prototype.has=function(e){if(s)return this._set.has(e);var t=n.toSetString(e);return i.call(this._set,t)},a.prototype.indexOf=function(e){if(s){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.')},a.prototype.at=function(e){if(e>=0&&e<this._array.length)return this._array[e];throw new Error("No element indexed by "+e)},a.prototype.toArray=function(){return this._array.slice()},t.ArraySet=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.needsParens=function(e,t,r){if(!t)return!1;if(u(t)&&t.callee===e&&function e(t){if(o(t))return!0;return c(t)&&e(t.object)}(e))return!0;return m(f,e,t,r)},t.needsWhitespace=y,t.needsWhitespaceAfter=function(e,t){return y(e,t,"after")},t.needsWhitespaceBefore=function(e,t){return y(e,t,"before")};var n=r(566),i=r(567),s=r(65);const{FLIPPED_ALIAS_KEYS:a,isCallExpression:o,isExpressionStatement:l,isMemberExpression:c,isNewExpression:u}=s;function p(e){const t={};function r(e,r){const n=t[e];t[e]=n?function(e,t,i){const s=n(e,t,i);return null==s?r(e,t,i):s}:r}for(const n of Object.keys(e)){const t=a[n];if(t)for(const i of t)r(i,e[n]);else r(n,e[n])}return t}const f=p(i),d=p(n.nodes),h=p(n.list);function m(e,t,r,n){const i=e[t.type];return i?i(t,r,n):null}function y(e,t,r){if(!e)return 0;l(e)&&(e=e.expression);let n=m(d,e,t);if(!n){const i=m(h,e,t);if(i)for(let t=0;t<i.length&&(n=y(i[t],e,r),!n);t++);}return"object"==typeof n&&null!==n&&n[r]||0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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.printAssertions(e),this.semicolon()},t.ExportDefaultDeclaration=function(e){this.format.decoratorsBeforeExport&&i(e.declaration)&&this.printJoin(e.declaration.decorators,e);this.word("export"),this.space(),this.word("default"),this.space(),u.apply(this,arguments)},t.ExportDefaultSpecifier=function(e){this.print(e.exported,e)},t.ExportNamedDeclaration=function(e){this.format.decoratorsBeforeExport&&i(e.declaration)&&this.printJoin(e.declaration.decorators,e);this.word("export"),this.space(),u.apply(this,arguments)},t.ExportNamespaceSpecifier=function(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.exported,e)},t.ExportSpecifier=function(e){"type"===e.exportKind&&(this.word("type"),this.space());this.print(e.local,e),e.exported&&e.local.name!==e.exported.name&&(this.space(),this.word("as"),this.space(),this.print(e.exported,e))},t.ImportAttribute=function(e){this.print(e.key),this.token(":"),this.space(),this.print(e.value)},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(null!=t&&t.length){for(;;){const r=t[0];if(!o(r)&&!l(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()}var r;this.print(e.source,e),this.printAssertions(e),null!=(r=e.attributes)&&r.length&&(this.space(),this.word("with"),this.space(),this.printList(e.attributes,e));this.semicolon()},t.ImportDefaultSpecifier=function(e){this.print(e.local,e)},t.ImportNamespaceSpecifier=function(e){this.token("*"),this.space(),this.word("as"),this.space(),this.print(e.local,e)},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))};var n=r(65);const{isClassDeclaration:i,isExportDefaultSpecifier:s,isExportNamespaceSpecifier:a,isImportDefaultSpecifier:o,isImportNamespaceSpecifier:l,isStatement:c}=n;function u(e){if(e.declaration){const t=e.declaration;this.print(t,e),c(t)||this.semicolon()}else{"type"===e.exportKind&&(this.word("type"),this.space());const t=e.specifiers.slice(0);let r=!1;for(;;){const n=t[0];if(!s(n)&&!a(n))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.printAssertions(e)),this.semicolon()}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArgumentPlaceholder=function(){this.token("?")},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.BigIntLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&null!=t)return void this.word(t);this.word(e.value+"n")},t.BooleanLiteral=function(e){this.word(e.value?"true":"false")},t.DecimalLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&null!=t)return void this.word(t);this.word(e.value+"m")},t.Identifier=function(e){this.exactSource(e.loc,()=>{this.word(e.name)})},t.NullLiteral=function(){this.word("null")},t.NumericLiteral=function(e){const t=this.getPossibleRaw(e),r=this.format.jsescOption,n=e.value+"";r.numbers?this.number(i(e.value,r)):null==t?this.number(n):this.format.minified?this.number(t.length<n.length?t:n):this.number(t)},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(s(e.value)&&a(e.key)&&e.key.name===e.value.left.name)return void this.print(e.value,e);if(this.print(e.key,e),e.shorthand&&a(e.key)&&a(e.value)&&e.key.name===e.value.name)return}this.token(":"),this.space(),this.print(e.value,e)},t.PipelineBareFunction=function(e){this.print(e.callee,e)},t.PipelinePrimaryTopicReference=function(){this.token("#")},t.PipelineTopicExpression=function(e){this.print(e.expression,e)},t.RecordExpression=function(e){const t=e.properties;let r,n;if("bar"===this.format.recordAndTupleSyntaxType)r="{|",n="|}";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(`The "recordAndTupleSyntaxType" generator option must be "bar" or "hash" (${JSON.stringify(this.format.recordAndTupleSyntaxType)} received).`);r="#{",n="}"}this.token(r),this.printInnerComments(e),t.length&&(this.space(),this.printList(t,e,{indent:!0,statement:!0}),this.space());this.token(n)},t.RegExpLiteral=function(e){this.word(`/${e.pattern}/${e.flags}`)},t.SpreadElement=t.RestElement=function(e){this.token("..."),this.print(e.argument,e)},t.StringLiteral=function(e){const t=this.getPossibleRaw(e);if(!this.format.minified&&null!=t)return void this.token(t);const r=i(e.value,Object.assign(this.format.jsescOption,this.format.jsonCompatibleStrings&&{json:!0}));return this.token(r)},t.TopicReference=function(){const{topicToken:e}=this.format;if(!o.has(e)){const t=JSON.stringify(e),r=Array.from(o,e=>JSON.stringify(e));throw new Error(`The "topicToken" generator option must be one of ${r.join(", ")} (${t} received instead).`)}this.token(e)},t.TupleExpression=function(e){const t=e.elements,r=t.length;let n,i;if("bar"===this.format.recordAndTupleSyntaxType)n="[|",i="|]";else{if("hash"!==this.format.recordAndTupleSyntaxType)throw new Error(this.format.recordAndTupleSyntaxType+" is not a valid recordAndTuple syntax type");n="#[",i="]"}this.token(n),this.printInnerComments(e);for(let s=0;s<t.length;s++){const n=t[s];n&&(s>0&&this.space(),this.print(n,e),s<r-1&&this.token(","))}this.token(i)};var n=r(65),i=r(574);const{isAssignmentPattern:s,isIdentifier:a}=n;const o=new Set(["^","%","#"])},function(e,t,r){"use strict";(function(e){
|
|
12
|
+
/*!
|
|
13
|
+
* The buffer module from node.js, for the browser.
|
|
14
|
+
*
|
|
15
|
+
* @author Feross Aboukhadijeh <http://feross.org>
|
|
16
|
+
* @license MIT
|
|
17
|
+
*/
|
|
18
|
+
var n=r(575),i=r(576),s=r(577);function a(){return l.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function o(e,t){if(a()<t)throw new RangeError("Invalid typed array length");return l.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=l.prototype):(null===e&&(e=new l(t)),e.length=t),e}function l(e,t,r){if(!(l.TYPED_ARRAY_SUPPORT||this instanceof l))return new l(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 c(this,e,t,r)}function c(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);l.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=l.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(!l.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|h(t,r);e=o(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(l.isBuffer(t)){var r=0|d(t.length);return e=o(e,r),0===e.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!=n)?o(e,0):f(e,t);if("Buffer"===t.type&&s(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 u(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(u(t),e=o(e,t<0?0:0|d(t)),!l.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>=a())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+a().toString(16)+" bytes");return 0|e}function h(e,t){if(l.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 U(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(e).length;default:if(n)return U(e).length;t=(""+t).toLowerCase(),n=!0}}function m(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,r<=t)return"";for(e||(e="utf8");;)switch(e){case"hex":return I(this,t,r);case"utf8":case"utf-8":return w(this,t,r);case"ascii":return O(this,t,r);case"latin1":case"binary":return C(this,t,r);case"base64":return A(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function y(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(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=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:b(e,t,r,n,i);if("number"==typeof t)return t&=255,l.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):b(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function b(e,t,r,n,i){var s,a=1,o=e.length,l=t.length;if(void 0!==n&&(n=String(n).toLowerCase(),"ucs2"===n||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;a=2,o/=2,l/=2,r/=2}function c(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}if(i){var u=-1;for(s=r;s<o;s++)if(c(e,s)===c(t,-1===u?0:s-u)){if(-1===u&&(u=s),s-u+1===l)return u*a}else-1!==u&&(s-=s-u),u=-1}else for(r+l>o&&(r=o-l),s=r;s>=0;s--){for(var p=!0,f=0;f<l;f++)if(c(e,s+f)!==c(t,f)){p=!1;break}if(p)return s}return-1}function v(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n),n>i&&(n=i)):n=i;var s=t.length;if(s%2!=0)throw new TypeError("Invalid hex string");n>s/2&&(n=s/2);for(var a=0;a<n;++a){var o=parseInt(t.substr(2*a,2),16);if(isNaN(o))return a;e[r+a]=o}return a}function T(e,t,r,n){return K(U(t,e.length-r),e,r,n)}function E(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 S(e,t,r,n){return E(e,t,r,n)}function x(e,t,r,n){return K(V(t),e,r,n)}function P(e,t,r,n){return K(function(e,t){for(var r,n,i,s=[],a=0;a<e.length&&!((t-=2)<0);++a)r=e.charCodeAt(a),n=r>>8,i=r%256,s.push(i),s.push(n);return s}(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 w(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var s,a,o,l,c=e[i],u=null,p=c>239?4:c>223?3:c>191?2:1;if(i+p<=r)switch(p){case 1:c<128&&(u=c);break;case 2:s=e[i+1],128==(192&s)&&(l=(31&c)<<6|63&s,l>127&&(u=l));break;case 3:s=e[i+1],a=e[i+2],128==(192&s)&&128==(192&a)&&(l=(15&c)<<12|(63&s)<<6|63&a,l>2047&&(l<55296||l>57343)&&(u=l));break;case 4:s=e[i+1],a=e[i+2],o=e[i+3],128==(192&s)&&128==(192&a)&&128==(192&o)&&(l=(15&c)<<18|(63&s)<<12|(63&a)<<6|63&o,l>65535&&l<1114112&&(u=l))}null===u?(u=65533,p=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=p}return function(e){var t=e.length;if(t<=4096)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=4096));return r}(n)}t.Buffer=l,t.SlowBuffer=function(e){+e!=e&&(e=0);return l.alloc(+e)},t.INSPECT_MAX_BYTES=50,l.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(t){return!1}}(),t.kMaxLength=a(),l.poolSize=8192,l._augment=function(e){return e.__proto__=l.prototype,e},l.from=function(e,t,r){return c(null,e,t,r)},l.TYPED_ARRAY_SUPPORT&&(l.prototype.__proto__=Uint8Array.prototype,l.__proto__=Uint8Array,"undefined"!=typeof Symbol&&Symbol.species&&l[Symbol.species]===l&&Object.defineProperty(l,Symbol.species,{value:null,configurable:!0})),l.alloc=function(e,t,r){return function(e,t,r,n){return u(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)},l.allocUnsafe=function(e){return p(null,e)},l.allocUnsafeSlow=function(e){return p(null,e)},l.isBuffer=function(e){return!(null==e||!e._isBuffer)},l.compare=function(e,t){if(!l.isBuffer(e)||!l.isBuffer(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,s=Math.min(r,n);i<s;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},l.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}},l.concat=function(e,t){if(!s(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(!l.isBuffer(a))throw new TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},l.byteLength=h,l.prototype._isBuffer=!0,l.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)y(this,t,t+1);return this},l.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)y(this,t,t+3),y(this,t+1,t+2);return this},l.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)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},l.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?w(this,0,e):m.apply(this,arguments)},l.prototype.equals=function(e){if(!l.isBuffer(e))throw new TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.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+">"},l.prototype.compare=function(e,t,r,n,i){if(!l.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(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var s=i-n,a=r-t,o=Math.min(s,a),c=this.slice(n,i),u=e.slice(t,r),p=0;p<o;++p)if(c[p]!==u[p]){s=c[p],a=u[p];break}return s<a?-1:a<s?1:0},l.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)},l.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 s=!1;;)switch(n){case"hex":return v(this,e,t,r);case"utf8":case"utf-8":return T(this,e,t,r);case"ascii":return E(this,e,t,r);case"latin1":case"binary":return S(this,e,t,r);case"base64":return x(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return P(this,e,t,r);default:if(s)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),s=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function O(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 C(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 I(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",s=t;s<r;++s)i+=R(e[s]);return i}function N(e,t,r){for(var n=e.slice(t,r),i="",s=0;s<n.length;s+=2)i+=String.fromCharCode(n[s]+256*n[s+1]);return i}function k(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 _(e,t,r,n,i,s){if(!l.isBuffer(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<s)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function j(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,s=Math.min(e.length-r,2);i<s;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function D(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,s=Math.min(e.length-r,4);i<s;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function M(e,t,r,n,i,s){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,s){return s||M(e,0,r,4),i.write(e,t,r,n,23,4),r+4}function L(e,t,r,n,s){return s||M(e,0,r,8),i.write(e,t,r,n,52,8),r+8}l.prototype.slice=function(e,t){var r,n=this.length;if(e=~~e,t=void 0===t?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e),l.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=l.prototype;else{var i=t-e;r=new l(i,void 0);for(var s=0;s<i;++s)r[s]=this[s+e]}return r},l.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return n},l.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUInt8=function(e,t){return t||k(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return t||k(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return t||k(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return t||k(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},l.prototype.readUInt32BE=function(e,t){return t||k(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=this[e],i=1,s=0;++s<t&&(i*=256);)n+=this[e+s]*i;return i*=128,n>=i&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||k(e,t,this.length);for(var n=t,i=1,s=this[e+--n];n>0&&(i*=256);)s+=this[e+--n]*i;return i*=128,s>=i&&(s-=Math.pow(2,8*t)),s},l.prototype.readInt8=function(e,t){return t||k(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},l.prototype.readInt16LE=function(e,t){t||k(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt16BE=function(e,t){t||k(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},l.prototype.readInt32LE=function(e,t){return t||k(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return t||k(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return t||k(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return t||k(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return t||k(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return t||k(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var s=1,a=0;for(this[t]=255&e;++a<r&&(s*=256);)this[t+a]=e/s&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){if(e=+e,t|=0,r|=0,!n){var i=Math.pow(2,8*r)-1;_(this,e,t,r,i,0)}var s=r-1,a=1;for(this[t+s]=255&e;--s>=0&&(a*=256);)this[t+s]=e/a&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,1,255,0),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,2,65535,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):D(this,e,t,!0),t+4},l.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,4,4294967295,0),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var s=0,a=1,o=0;for(this[t]=255&e;++s<r&&(a*=256);)e<0&&0===o&&0!==this[t+s-1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);_(this,e,t,r,i-1,-i)}var s=r-1,a=1,o=0;for(this[t+s]=255&e;--s>=0&&(a*=256);)e<0&&0===o&&0!==this[t+s+1]&&(o=1),this[t+s]=(e/a>>0)-o&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,1,127,-128),l.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):j(this,e,t,!0),t+2},l.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,2,32767,-32768),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):j(this,e,t,!1),t+2},l.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,4,2147483647,-2147483648),l.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):D(this,e,t,!0),t+4},l.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||_(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),l.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):D(this,e,t,!1),t+4},l.prototype.writeFloatLE=function(e,t,r){return B(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return B(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return L(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return L(this,e,t,!1,r)},l.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,s=n-r;if(this===e&&r<t&&t<n)for(i=s-1;i>=0;--i)e[i+t]=this[i+r];else if(s<1e3||!l.TYPED_ARRAY_SUPPORT)for(i=0;i<s;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+s),t);return s},l.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&&!l.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 s;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(s=t;s<r;++s)this[s]=e;else{var a=l.isBuffer(e)?e:U(new l(e,n).toString()),o=a.length;for(s=0;s<r-t;++s)this[s+t]=a[s%o]}return this};var F=/[^+\/0-9A-Za-z-_]/g;function R(e){return e<16?"0"+e.toString(16):e.toString(16)}function U(e,t){var r;t=t||1/0;for(var n=e.length,i=null,s=[],a=0;a<n;++a){if(r=e.charCodeAt(a),r>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&s.push(239,191,189);continue}if(a+1===n){(t-=3)>-1&&s.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&s.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&s.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;s.push(r)}else if(r<2048){if((t-=2)<0)break;s.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;s.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;s.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return s}function V(e){return n.toByteArray(function(e){if(e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(F,""),e.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(38))},function(e,t,r){var n=r(593),i={};for(var s in n)n.hasOwnProperty(s)&&(i[n[s]]=s);var a=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 a)if(a.hasOwnProperty(o)){if(!("channels"in a[o]))throw new Error("missing channels property: "+o);if(!("labels"in a[o]))throw new Error("missing channel labels property: "+o);if(a[o].labels.length!==a[o].channels)throw new Error("channel and label counts mismatch: "+o);var l=a[o].channels,c=a[o].labels;delete a[o].channels,delete a[o].labels,Object.defineProperty(a[o],"channels",{value:l}),Object.defineProperty(a[o],"labels",{value:c})}a.rgb.hsl=function(e){var t,r,n,i=e[0]/255,s=e[1]/255,a=e[2]/255,o=Math.min(i,s,a),l=Math.max(i,s,a),c=l-o;return l===o?t=0:i===l?t=(s-a)/c:s===l?t=2+(a-i)/c:a===l&&(t=4+(i-s)/c),t=Math.min(60*t,360),t<0&&(t+=360),n=(o+l)/2,r=l===o?0:n<=.5?c/(l+o):c/(2-l-o),[t,100*r,100*n]},a.rgb.hsv=function(e){var t,r,n,i,s,a=e[0]/255,o=e[1]/255,l=e[2]/255,c=Math.max(a,o,l),u=c-Math.min(a,o,l),p=function(e){return(c-e)/6/u+.5};return 0===u?i=s=0:(s=u/c,t=p(a),r=p(o),n=p(l),a===c?i=n-r:o===c?i=1/3+t-n:l===c&&(i=2/3+r-t),i<0?i+=1:i>1&&(i-=1)),[360*i,100*s,100*c]},a.rgb.hwb=function(e){var t=e[0],r=e[1],n=e[2],i=a.rgb.hsl(e)[0],s=1/255*Math.min(t,Math.min(r,n));return n=1-1/255*Math.max(t,Math.max(r,n)),[i,100*s,100*n]},a.rgb.cmyk=function(e){var t,r,n,i,s=e[0]/255,a=e[1]/255,o=e[2]/255;return i=Math.min(1-s,1-a,1-o),t=(1-s-i)/(1-i)||0,r=(1-a-i)/(1-i)||0,n=(1-o-i)/(1-i)||0,[100*t,100*r,100*n,100*i]},a.rgb.keyword=function(e){var t=i[e];if(t)return t;var r,s,a,o=1/0;for(var l in n)if(n.hasOwnProperty(l)){var c=n[l],u=(s=e,a=c,Math.pow(s[0]-a[0],2)+Math.pow(s[1]-a[1],2)+Math.pow(s[2]-a[2],2));u<o&&(o=u,r=l)}return r},a.keyword.rgb=function(e){return n[e]},a.rgb.xyz=function(e){var t=e[0]/255,r=e[1]/255,n=e[2]/255;t=t>.04045?Math.pow((t+.055)/1.055,2.4):t/12.92,r=r>.04045?Math.pow((r+.055)/1.055,2.4):r/12.92,n=n>.04045?Math.pow((n+.055)/1.055,2.4):n/12.92;var i=.4124*t+.3576*r+.1805*n,s=.2126*t+.7152*r+.0722*n,a=.0193*t+.1192*r+.9505*n;return[100*i,100*s,100*a]},a.rgb.lab=function(e){var t,r,n,i=a.rgb.xyz(e),s=i[0],o=i[1],l=i[2];return s/=95.047,o/=100,l/=108.883,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,o=o>.008856?Math.pow(o,1/3):7.787*o+16/116,l=l>.008856?Math.pow(l,1/3):7.787*l+16/116,t=116*o-16,r=500*(s-o),n=200*(o-l),[t,r,n]},a.hsl.rgb=function(e){var t,r,n,i,s,a=e[0]/360,o=e[1]/100,l=e[2]/100;if(0===o)return s=255*l,[s,s,s];r=l<.5?l*(1+o):l+o-l*o,t=2*l-r,i=[0,0,0];for(var c=0;c<3;c++)n=a+1/3*-(c-1),n<0&&n++,n>1&&n--,s=6*n<1?t+6*(r-t)*n:2*n<1?r:3*n<2?t+(r-t)*(2/3-n)*6:t,i[c]=255*s;return i},a.hsl.hsv=function(e){var t,r,n=e[0],i=e[1]/100,s=e[2]/100,a=i,o=Math.max(s,.01);return s*=2,i*=s<=1?s:2-s,a*=o<=1?o:2-o,r=(s+i)/2,t=0===s?2*a/(o+a):2*i/(s+i),[n,100*t,100*r]},a.hsv.rgb=function(e){var t=e[0]/60,r=e[1]/100,n=e[2]/100,i=Math.floor(t)%6,s=t-Math.floor(t),a=255*n*(1-r),o=255*n*(1-r*s),l=255*n*(1-r*(1-s));switch(n*=255,i){case 0:return[n,l,a];case 1:return[o,n,a];case 2:return[a,n,l];case 3:return[a,o,n];case 4:return[l,a,n];case 5:return[n,a,o]}},a.hsv.hsl=function(e){var t,r,n,i=e[0],s=e[1]/100,a=e[2]/100,o=Math.max(a,.01);return n=(2-s)*a,t=(2-s)*o,r=s*o,r/=t<=1?t:2-t,r=r||0,n/=2,[i,100*r,100*n]},a.hwb.rgb=function(e){var t,r,n,i,s,a,o,l=e[0]/360,c=e[1]/100,u=e[2]/100,p=c+u;switch(p>1&&(c/=p,u/=p),t=Math.floor(6*l),r=1-u,n=6*l-t,0!=(1&t)&&(n=1-n),i=c+n*(r-c),t){default:case 6:case 0:s=r,a=i,o=c;break;case 1:s=i,a=r,o=c;break;case 2:s=c,a=r,o=i;break;case 3:s=c,a=i,o=r;break;case 4:s=i,a=c,o=r;break;case 5:s=r,a=c,o=i}return[255*s,255*a,255*o]},a.cmyk.rgb=function(e){var t,r,n,i=e[0]/100,s=e[1]/100,a=e[2]/100,o=e[3]/100;return t=1-Math.min(1,i*(1-o)+o),r=1-Math.min(1,s*(1-o)+o),n=1-Math.min(1,a*(1-o)+o),[255*t,255*r,255*n]},a.xyz.rgb=function(e){var t,r,n,i=e[0]/100,s=e[1]/100,a=e[2]/100;return t=3.2406*i+-1.5372*s+-.4986*a,r=-.9689*i+1.8758*s+.0415*a,n=.0557*i+-.204*s+1.057*a,t=t>.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,t=Math.min(Math.max(0,t),1),r=Math.min(Math.max(0,r),1),n=Math.min(Math.max(0,n),1),[255*t,255*r,255*n]},a.xyz.lab=function(e){var t,r,n,i=e[0],s=e[1],a=e[2];return i/=95.047,s/=100,a/=108.883,i=i>.008856?Math.pow(i,1/3):7.787*i+16/116,s=s>.008856?Math.pow(s,1/3):7.787*s+16/116,a=a>.008856?Math.pow(a,1/3):7.787*a+16/116,t=116*s-16,r=500*(i-s),n=200*(s-a),[t,r,n]},a.lab.xyz=function(e){var t,r,n,i=e[0],s=e[1],a=e[2];r=(i+16)/116,t=s/500+r,n=r-a/200;var o=Math.pow(r,3),l=Math.pow(t,3),c=Math.pow(n,3);return r=o>.008856?o:(r-16/116)/7.787,t=l>.008856?l:(t-16/116)/7.787,n=c>.008856?c:(n-16/116)/7.787,t*=95.047,r*=100,n*=108.883,[t,r,n]},a.lab.lch=function(e){var t,r,n,i=e[0],s=e[1],a=e[2];return t=Math.atan2(a,s),r=360*t/2/Math.PI,r<0&&(r+=360),n=Math.sqrt(s*s+a*a),[i,n,r]},a.lch.lab=function(e){var t,r,n,i=e[0],s=e[1],a=e[2];return n=a/360*2*Math.PI,t=s*Math.cos(n),r=s*Math.sin(n),[i,t,r]},a.rgb.ansi16=function(e){var t=e[0],r=e[1],n=e[2],i=1 in arguments?arguments[1]:a.rgb.hsv(e)[2];if(i=Math.round(i/50),0===i)return 30;var s=30+(Math.round(n/255)<<2|Math.round(r/255)<<1|Math.round(t/255));return 2===i&&(s+=60),s},a.hsv.ansi16=function(e){return a.rgb.ansi16(a.hsv.rgb(e),e[2])},a.rgb.ansi256=function(e){var t=e[0],r=e[1],n=e[2];if(t===r&&r===n)return t<8?16:t>248?231:Math.round((t-8)/247*24)+232;var i=16+36*Math.round(t/255*5)+6*Math.round(r/255*5)+Math.round(n/255*5);return i},a.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,t];var r=.5*(1+~~(e>50)),n=(1&t)*r*255,i=(t>>1&1)*r*255,s=(t>>2&1)*r*255;return[n,i,s]},a.ansi256.rgb=function(e){if(e>=232){var t=10*(e-232)+8;return[t,t,t]}var r;e-=16;var n=Math.floor(e/36)/5*255,i=Math.floor((r=e%36)/6)/5*255,s=r%6/5*255;return[n,i,s]},a.rgb.hex=function(e){var t=((255&Math.round(e[0]))<<16)+((255&Math.round(e[1]))<<8)+(255&Math.round(e[2])),r=t.toString(16).toUpperCase();return"000000".substring(r.length)+r},a.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),i=n>>16&255,s=n>>8&255,a=255&n;return[i,s,a]},a.rgb.hcg=function(e){var t,r,n=e[0]/255,i=e[1]/255,s=e[2]/255,a=Math.max(Math.max(n,i),s),o=Math.min(Math.min(n,i),s),l=a-o;return t=l<1?o/(1-l):0,r=l<=0?0:a===n?(i-s)/l%6:a===i?2+(s-n)/l:4+(n-i)/l+4,r/=6,r%=1,[360*r,100*l,100*t]},a.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),n<1&&(i=(r-.5*n)/(1-n)),[e[0],100*n,100*i]},a.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]},a.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,s=[0,0,0],a=t%1*6,o=a%1,l=1-o;switch(Math.floor(a)){case 0:s[0]=1,s[1]=o,s[2]=0;break;case 1:s[0]=l,s[1]=1,s[2]=0;break;case 2:s[0]=0,s[1]=1,s[2]=o;break;case 3:s[0]=0,s[1]=l,s[2]=1;break;case 4:s[0]=o,s[1]=0,s[2]=1;break;default:s[0]=1,s[1]=0,s[2]=l}return i=(1-r)*n,[255*(r*s[0]+i),255*(r*s[1]+i),255*(r*s[2]+i)]},a.hcg.hsv=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t),i=0;return n>0&&(i=t/n),[e[0],100*i,100*n]},a.hcg.hsl=function(e){var t=e[1]/100,r=e[2]/100,n=r*(1-t)+.5*t,i=0;return n>0&&n<.5?i=t/(2*n):n>=.5&&n<1&&(i=t/(2*(1-n))),[e[0],100*i,100*n]},a.hcg.hwb=function(e){var t=e[1]/100,r=e[2]/100,n=t+r*(1-t);return[e[0],100*(n-t),100*(1-n)]},a.hwb.hcg=function(e){var t=e[1]/100,r=e[2]/100,n=1-r,i=n-t,s=0;return i<1&&(s=(n-i)/(1-i)),[e[0],100*i,100*s]},a.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]},a.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]},a.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]},a.gray.hsl=a.gray.hsv=function(e){return[0,0,e[0]]},a.gray.hwb=function(e){return[0,100,e[0]]},a.gray.cmyk=function(e){return[0,0,0,e[0]]},a.gray.lab=function(e){return[e[0],0,0]},a.gray.hex=function(e){var t=255&Math.round(e[0]/100*255),r=(t<<16)+(t<<8)+t,n=r.toString(16).toUpperCase();return"000000".substring(n.length)+n},a.rgb.gray=function(e){var t=(e[0]+e[1]+e[2])/3;return[t/255*100]}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const{placeholderWhitelist:n,placeholderPattern:a,preserveComments:o,syntacticPlaceholders:l}=r,c=function(e,t,r){const n=(t.plugins||[]).slice();!1!==r&&n.push("placeholders");t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,sourceType:"module"},t,{plugins:n});try{return(0,i.parse)(e,t)}catch(a){const t=a.loc;throw t&&(a.message+="\n"+(0,s.codeFrameColumns)(e,{start:t}),a.code="BABEL_TEMPLATE_PARSE_ERROR"),a}}(t,r.parser,l);m(c,{preserveComments:o}),e.validate(c);const u={placeholders:[],placeholderNames:new Set},p={placeholders:[],placeholderNames:new Set},f={value:void 0};return y(c,b,{syntactic:u,legacy:p,isLegacyRef:f,placeholderWhitelist:n,placeholderPattern:a,syntacticPlaceholders:l}),Object.assign({ast:c},f.value?p:u)};var n=r(65),i=r(121),s=r(120);const{isCallExpression:a,isExpressionStatement:o,isFunction:l,isIdentifier:c,isJSXIdentifier:u,isNewExpression:p,isPlaceholder:f,isStatement:d,isStringLiteral:h,removePropertiesDeep:m,traverse:y}=n,g=/^[_$A-Z0-9]+$/;function b(e,t,r){var n;let i;if(f(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(c(e)||u(e))i=e.name,r.isLegacyRef.value=!0;else{if(!h(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||g).test(i))&&(null==(n=r.placeholderWhitelist)||!n.has(i)))return;t=t.slice();const{node:s,key:m}=t[t.length-1];let y;h(e)||f(e,{expectedNode:"StringLiteral"})?y="string":p(s)&&"arguments"===m||a(s)&&"arguments"===m||l(s)&&"params"===m?y="param":o(s)&&!f(e)?(y="statement",t=t.slice(0,-1)):y=d(e)&&f(e)?"statement":"other";const{placeholders:b,placeholderNames:v}=r.isLegacyRef.value?r.legacy:r.syntactic;b.push({name:i,type:y,resolve:e=>function(e,t){let r=e;for(let s=0;s<t.length-1;s++){const{key:e,index:n}=t[s];r=void 0===n?r[e]:r[e][n]}const{key:n,index:i}=t[t.length-1];return{parent:r,key:n,index:i}}(e,t),isDuplicate:v.has(i)}),v.add(i)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=s(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=>s(e)):"object"==typeof r&&(r=s(r)));const{parent:n,key:d,index:h}=e.resolve(t);if("string"===e.type){if("string"==typeof r&&(r=p(r)),!r||!u(r))throw new Error("Expected string substitution")}else if("statement"===e.type)void 0===h?r?Array.isArray(r)?r=i(r):"string"==typeof r?r=o(l(r)):c(r)||(r=o(r)):r=a():r&&!Array.isArray(r)&&("string"==typeof r&&(r=l(r)),c(r)||(r=o(r)));else if("param"===e.type){if("string"==typeof r&&(r=l(r)),void 0===h)throw new Error("Assertion failure.")}else if("string"==typeof r&&(r=l(r)),Array.isArray(r))throw new Error("Cannot replace single expression with an array.");if(void 0===h)f(n,d,r),n[d]=r;else{const t=n[d].slice();"statement"===e.type||"param"===e.type?null==r?t.splice(h,1):Array.isArray(r)?t.splice(h,1,...r):t[h]=r:t[h]=r,f(n,d,t),n[d]=t}}(e,r,t&&t[e.name]||null)}catch(n){throw n.message=`@babel/template placeholder "${e.name}": ${n.message}`,n}}),r};var n=r(65);const{blockStatement:i,cloneNode:s,emptyStatement:a,expressionStatement:o,identifier:l,isStatement:c,isStringLiteral:u,stringLiteral:p,validate:f}=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.explode=l,t.merge=function(e,t=[],r){const n={};for(let i=0;i<e.length;i++){const s=e[i],a=t[i];l(s);for(const e of Object.keys(s)){let t=s[e];(a||r)&&(t=p(t,a,r));const i=n[e]=n[e]||{};m(i,t)}}return n},t.verify=c;var n=r(228),i=r(65);const{DEPRECATED_KEYS:s,FLIPPED_ALIAS_KEYS:a,TYPES:o}=i;function l(e){if(e._exploded)return e;e._exploded=!0;for(const t of Object.keys(e)){if(h(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}c(e),delete e.__esModule,function(e){for(const t of Object.keys(e)){if(h(t))continue;const r=e[t];"function"==typeof r&&(e[t]={enter:r})}}(e),f(e);for(const t of Object.keys(e)){if(h(t))continue;const r=n[t];if(!r)continue;const i=e[t];for(const e of Object.keys(i))i[e]=d(r,i[e]);if(delete e[t],r.types)for(const t of r.types)e[t]?m(e[t],i):e[t]=i;else m(e,i)}for(const t of Object.keys(e)){if(h(t))continue;const r=e[t];let n=a[t];const i=s[t];if(i&&(console.trace(`Visitor defined for ${t} but it has been renamed to ${i}`),n=[i]),n){delete e[t];for(const t of n){const n=e[t];n?m(n,r):e[t]=Object.assign({},r)}}}for(const t of Object.keys(e))h(t)||f(e[t]);return e}function c(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 of Object.keys(e)){if("enter"!==t&&"exit"!==t||u(t,e[t]),h(t))continue;if(o.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 of Object.keys(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}`);u(`${t}.${e}`,r[e])}}e._verified=!0}}function u(e,t){const r=[].concat(t);for(const n of r)if("function"!=typeof n)throw new TypeError(`Non-function found defined in ${e} with type ${typeof n}`)}function p(e,t,r){const n={};for(const i of Object.keys(e)){let s=e[i];Array.isArray(s)&&(s=s.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!==e&&(n.toString=()=>e.toString()),n})),n[i]=s)}return n}function f(e){e.enter&&!Array.isArray(e.enter)&&(e.enter=[e.enter]),e.exit&&!Array.isArray(e.exit)&&(e.exit=[e.exit])}function d(e,t){const r=function(r){if(e.checkPath(r))return t.apply(this,arguments)};return r.toString=()=>t.toString(),r}function h(e){return"_"===e[0]||("enter"===e||"exit"===e||"shouldSkip"===e||("denylist"===e||"noScope"===e||"skipKeys"===e||"blacklist"===e))}function m(e,t){for(const r of Object.keys(t))e[r]=[].concat(e[r]||[],t[r])}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.buildNamespaceInitStatements=function(e,t,r=!1){const n=[];let i=g(t.name);t.lazy&&(i=f(i,[]));for(const a of t.importsNamespace)a!==t.name&&n.push(s.default.statement`var NAME = SOURCE;`({NAME:a,SOURCE:d(i)}));r&&n.push(...A(e,t,!0));for(const a of t.reexportNamespace)n.push((t.lazy?s.default.statement`
|
|
19
|
+
Object.defineProperty(EXPORTS, "NAME", {
|
|
20
|
+
enumerable: true,
|
|
21
|
+
get: function() {
|
|
22
|
+
return NAMESPACE;
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
`:s.default.statement`EXPORTS.NAME = NAMESPACE;`)({EXPORTS:e.exportName,NAME:a,NAMESPACE:d(i)}));if(t.reexportAll){const a=function(e,t,r){return(r?s.default.statement`
|
|
26
|
+
Object.keys(NAMESPACE).forEach(function(key) {
|
|
27
|
+
if (key === "default" || key === "__esModule") return;
|
|
28
|
+
VERIFY_NAME_LIST;
|
|
29
|
+
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
30
|
+
|
|
31
|
+
EXPORTS[key] = NAMESPACE[key];
|
|
32
|
+
});
|
|
33
|
+
`:s.default.statement`
|
|
34
|
+
Object.keys(NAMESPACE).forEach(function(key) {
|
|
35
|
+
if (key === "default" || key === "__esModule") return;
|
|
36
|
+
VERIFY_NAME_LIST;
|
|
37
|
+
if (key in EXPORTS && EXPORTS[key] === NAMESPACE[key]) return;
|
|
38
|
+
|
|
39
|
+
Object.defineProperty(EXPORTS, key, {
|
|
40
|
+
enumerable: true,
|
|
41
|
+
get: function() {
|
|
42
|
+
return NAMESPACE[key];
|
|
43
|
+
},
|
|
44
|
+
});
|
|
45
|
+
});
|
|
46
|
+
`)({NAMESPACE:t,EXPORTS:e.exportName,VERIFY_NAME_LIST:e.exportNameListName?s.default`
|
|
47
|
+
if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;
|
|
48
|
+
`({EXPORTS_LIST:e.exportNameListName}):null})}(e,d(i),r);a.loc=t.reexportAll.loc,n.push(a)}return n},t.ensureStatementsHoisted=function(e){e.forEach(e=>{e._blockHoist=3})},Object.defineProperty(t,"getModuleName",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(t,"hasExports",{enumerable:!0,get:function(){return c.hasExports}}),Object.defineProperty(t,"isModule",{enumerable:!0,get:function(){return a.isModule}}),Object.defineProperty(t,"isSideEffectImport",{enumerable:!0,get:function(){return c.isSideEffectImport}}),t.rewriteModuleStatementsAndPrepareHeader=function(e,{loose:t,exportName:r,strict:i,allowTopLevelThis:u,strictMode:p,noInterop:f,importInterop:d=(f?"none":"babel"),lazy:y,esNamespaceOnly:b,constantReexports:v=t,enumerableModuleMeta:T=t,noIncompleteNsImportDetection:P}){(0,c.validateImportInteropOption)(d),n((0,a.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";const w=(0,c.default)(e,r,{importInterop:d,initializeReexports:v,lazy:y,esNamespaceOnly:b});u||(0,o.default)(e);if((0,l.default)(e,w),!1!==p){const t=e.node.directives.some(e=>"use strict"===e.value.value);t||e.unshiftContainer("directives",h(m("use strict")))}const C=[];(0,c.hasExports)(w)&&!i&&C.push(function(e,t=!1){return(t?s.default.statement`
|
|
49
|
+
EXPORTS.__esModule = true;
|
|
50
|
+
`:s.default.statement`
|
|
51
|
+
Object.defineProperty(EXPORTS, "__esModule", {
|
|
52
|
+
value: true,
|
|
53
|
+
});
|
|
54
|
+
`)({EXPORTS:e.exportName})}(w,T));const I=function(e,t){const r=Object.create(null);for(const s of t.local.values())for(const e of s.names)r[e]=!0;let n=!1;for(const s of t.source.values()){for(const e of s.reexports.keys())r[e]=!0;for(const e of s.reexportNamespace)r[e]=!0;n=n||!!s.reexportAll}if(!n||0===Object.keys(r).length)return null;const i=e.scope.generateUidIdentifier("exportNames");return delete r.default,{name:i.name,statement:S("var",[x(i,E(r))])}}(e,w);I&&(w.exportNameListName=I.name,C.push(I.statement));return C.push(...function(e,t,r=!1,n=!1){const i=[];for(const[a,o]of t.local)if("import"===o.kind);else if("hoisted"===o.kind)i.push([o.names[0],O(t,o.names,g(a))]);else if(!n)for(const e of o.names)i.push([e,null]);for(const a of t.source.values()){if(!r){const e=A(t,a,!1),r=[...a.reexports.keys()];for(let t=0;t<e.length;t++)i.push([r[t],e[t]])}if(!n)for(const e of a.reexportNamespace)i.push([e,null])}i.sort((e,t)=>e[0]>t[0]?1:-1);const s=[];if(n)for(const[,a]of i)s.push(a);else{const r=100;for(let n=0,a=[];n<i.length;n+=r){for(let o=0;o<r&&n+o<i.length;o++){const[r,l]=i[n+o];null!==l?(a.length>0&&(s.push(O(t,a,e.scope.buildUndefinedNode())),a=[]),s.push(l)):a.push(r)}a.length>0&&s.push(O(t,a,e.scope.buildUndefinedNode()))}}return s}(e,w,v,P)),{meta:w,headers:C}},Object.defineProperty(t,"rewriteThis",{enumerable:!0,get:function(){return o.default}}),t.wrapInterop=function(e,t,r){if("none"===r)return null;if("node-namespace"===r)return f(e.hub.addHelper("interopRequireWildcard"),[t,p(!0)]);if("node-default"===r)return null;let n;if("default"===r)n="interopRequireDefault";else{if("namespace"!==r)throw new Error("Unknown interop: "+r);n="interopRequireWildcard"}return f(e.hub.addHelper(n),[t])};var n=r(104),i=r(65),s=r(90),a=r(262),o=r(619),l=r(620),c=r(622),u=r(623);const{booleanLiteral:p,callExpression:f,cloneNode:d,directive:h,directiveLiteral:m,expressionStatement:y,identifier:g,isIdentifier:b,memberExpression:v,stringLiteral:T,valueToNode:E,variableDeclaration:S,variableDeclarator:x}=i;const P={constant:s.default.statement`EXPORTS.EXPORT_NAME = NAMESPACE_IMPORT;`,constantComputed:s.default.statement`EXPORTS["EXPORT_NAME"] = NAMESPACE_IMPORT;`,spec:s.default.statement`
|
|
55
|
+
Object.defineProperty(EXPORTS, "EXPORT_NAME", {
|
|
56
|
+
enumerable: true,
|
|
57
|
+
get: function() {
|
|
58
|
+
return NAMESPACE_IMPORT;
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
`},A=(e,t,r)=>{const n=t.lazy?f(g(t.name),[]):g(t.name),{stringSpecifiers:i}=e;return Array.from(t.reexports,([s,a])=>{let o=d(n);"default"===a&&"node-default"===t.interop||(o=i.has(a)?v(o,T(a),!0):v(o,g(a)));const l={EXPORTS:e.exportName,EXPORT_NAME:s,NAMESPACE_IMPORT:o};return r||b(o)?i.has(s)?P.constantComputed(l):P.constant(l):P.spec(l)})};const w={computed:s.default.expression`EXPORTS["NAME"] = VALUE`,default:s.default.expression`EXPORTS.NAME = VALUE`};function O(e,t,r){const{stringSpecifiers:n,exportName:i}=e;return y(t.reduce((e,t)=>{const r={EXPORTS:i,NAME:t,VALUE:e};return n.has(t)?w.computed(r):w.default(r)},r))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ImportInjector",{enumerable:!0,get:function(){return n.default}}),t.addDefault=function(e,t,r){return new n.default(e).addDefault(t,r)},t.addNamed=function(e,t,r,i){return new n.default(e).addNamed(t,r,i)},t.addNamespace=function(e,t,r){return new n.default(e).addNamespace(t,r)},t.addSideEffect=function(e,t,r){return new n.default(e).addSideEffect(t,r)},Object.defineProperty(t,"isModule",{enumerable:!0,get:function(){return i.default}});var n=r(617),i=r(263)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{sourceType:t}=e.node;if("module"!==t&&"script"!==t)throw e.buildCodeFrameError(`Unknown sourceType "${t}", cannot transform.`);return"module"===e.node.sourceType}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.getEnv=function(t="development"){return e.env.BABEL_ENV||"production"}}).call(this,r(69))},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.forwardAsync=function(e,t){const r=n()(e);return o(e=>{const n=r[e];return t(n)})},t.isAsync=void 0,t.isThenable=u,t.maybeAsync=function(e,t){return n()({sync(...r){const n=e.apply(this,r);if(u(n))throw new Error(t);return n},async(...t){return Promise.resolve(e.apply(this,t))}})},t.waitFor=t.onFirstPause=void 0;const i=e=>e,s=n()((function*(e){return yield*e})),a=n()({sync:()=>!1,errback:e=>e(null,!0)});t.isAsync=a;const o=n()({sync:e=>e("sync"),async:e=>e("async")});const l=n()({name:"onFirstPause",arity:2,sync:function(e){return s.sync(e)},errback:function(e,t,r){let n=!1;s.errback(e,(e,t)=>{n=!0,r(e,t)}),n||t()}});t.onFirstPause=l;const c=n()({sync:i,async:i});function u(e){return!(!e||"object"!=typeof e&&"function"!=typeof e||!e.then||"function"!=typeof e.then)}t.waitFor=c},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.createCachedDescriptors=function(e,t,r){const{plugins:n,presets:i,passPerPreset:s}=t;return{options:c(t,e),plugins:n?()=>d(n,e)(r):()=>l([]),presets:i?()=>p(i,e)(r)(!!s):()=>l([])}},t.createDescriptor=v,t.createUncachedDescriptors=function(e,t,r){let n,i;return{options:c(t,e),*plugins(){return n||(n=yield*g(t.plugins||[],e,r)),n},*presets(){return i||(i=yield*y(t.presets||[],e,r,!!t.passPerPreset)),i}}};var i=r(122),s=r(125),a=r(126),o=r(267);function*l(e){return e}function c(e,t){return"string"==typeof e.browserslistConfigFile&&(e.browserslistConfigFile=(0,o.resolveBrowserslistConfigFile)(e.browserslistConfigFile,t)),e}const u=new WeakMap,p=(0,a.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,a.makeStrongCacheSync)(t=>(0,a.makeStrongCache)((function*(n){const i=yield*y(e,r,t,n);return i.map(e=>m(u,e))})))}),f=new WeakMap,d=(0,a.makeWeakCacheSync)((e,t)=>{const r=t.using(e=>e);return(0,a.makeStrongCache)((function*(t){const n=yield*g(e,r,t);return n.map(e=>m(f,e))}))}),h={};function m(e,t){const{value:r,options:n=h}=t;if(!1===n)return t;let i=e.get(r);i||(i=new WeakMap,e.set(r,i));let s=i.get(n);if(s||(s=[],i.set(n,s)),-1===s.indexOf(t)){const e=s.filter(e=>{return r=e,n=t,r.name===n.name&&r.value===n.value&&r.options===n.options&&r.dirname===n.dirname&&r.alias===n.alias&&r.ownPass===n.ownPass&&(r.file&&r.file.request)===(n.file&&n.file.request)&&(r.file&&r.file.resolved)===(n.file&&n.file.resolved);var r,n});if(e.length>0)return e[0];s.push(t)}return t}function*y(e,t,r,n){return yield*b("preset",e,t,r,n)}function*g(e,t,r){return yield*b("plugin",e,t,r)}function*b(e,t,r,i,s){const a=yield*n().all(t.map((t,n)=>v(t,r,{type:e,alias:`${i}$${n}`,ownPass:!!s})));return function(e){const t=new Map;for(const r of e){if("function"!=typeof r.value)continue;let n=t.get(r.value);if(n||(n=new Set,t.set(r.value,n)),n.has(r.name)){const t=e.filter(e=>e.value===r.value);throw new Error(["Duplicate plugin/preset detected.","If you'd like to use two separate instances of a plugin,","they need separate names, e.g.",""," plugins: ["," ['some-plugin', {}],"," ['some-plugin', {}, 'some unique name'],"," ]","","Duplicates detected are:",""+JSON.stringify(t,null,2)].join("\n"))}n.add(r.name)}}(a),a}function*v(e,t,{type:r,alias:n,ownPass:a}){const o=(0,s.getItemDescriptor)(e);if(o)return o;let l,c,u=e;Array.isArray(u)&&(3===u.length?[u,c,l]=u:[u,c]=u);let p=void 0,f=null;if("string"==typeof u){if("string"!=typeof r)throw new Error("To resolve a string-based item, the type of item must be given");const e="plugin"===r?i.loadPlugin:i.loadPreset,n=u;({filepath:f,value:u}=yield*e(u,t)),p={request:n,resolved:f}}if(!u)throw new Error("Unexpected falsy value: "+String(u));if("object"==typeof u&&u.__esModule){if(!u.default)throw new Error("Must export a default export when using ES6 modules.");u=u.default}if("object"!=typeof u&&"function"!=typeof u)throw new Error(`Unsupported format: ${typeof u}. Expected an object or a function.`);if(null!==f&&"object"==typeof u&&u)throw new Error("Plugin/Preset files are not allowed to export objects, only functions. In "+f);return{name:l,alias:f||n,value:u,options:c,dirname:t,ownPass:a,file:p}}},function(e,t,r){"use strict";function n(){const e=r(268);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.resolveBrowserslistConfigFile=function(e,t){return},t.resolveTargets=function(e,t){let r=e.targets;("string"==typeof r||Array.isArray(r))&&(r={browsers:r});r&&r.esmodules&&(r=Object.assign({},r,{esmodules:"intersect"}));return(0,n().default)(r,{ignoreBrowserslistConfig:!0,browserslistEnv:e.browserslistEnv})}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"TargetNames",{enumerable:!0,get:function(){return l.TargetNames}}),t.default=function(e={},t={}){var r;let{browsers:s,esmodules:c}=e;const{configPath:u="."}=t;!function(e){d.invariant(void 0===e||h(e),`'${String(e)}' is not a valid browserslist query`)}(s);const p=function(e){const t=Object.assign({},e);return delete t.esmodules,delete t.browsers,t}(e);let m=function(e){const t=Object.keys(l.TargetNames);for(const r of Object.keys(e))if(!(r in l.TargetNames))throw new Error(d.formatMessage(`'${r}' is not a valid target\n- Did you mean '${(0,i.findSuggestion)(r,t)}'?`));return e}(p);const g=!!s,b=g||Object.keys(m).length>0,v=!t.ignoreBrowserslistConfig&&!b;!s&&v&&(s=n.loadConfig({config:t.configFile,path:u,env:t.browserslistEnv}),null==s&&(s=[]));!c||"intersect"===c&&null!=(r=s)&&r.length||(s=Object.keys(f).map(e=>`${e} >= ${f[e]}`).join(", "),c=!1);if(s){const e=function(e,t){const r=n(e,{mobileToDesktop:!0,env:t});return function(e){return e.reduce((e,t)=>{const[r,n]=t.split(" "),i=o.browserNameMap[r];if(!i)return e;try{const t=n.split("-")[0].toLowerCase(),s=(0,a.isUnreleasedVersion)(t,r);if(!e[i])return e[i]=s?t:(0,a.semverify)(t),e;const o=e[i],l=(0,a.isUnreleasedVersion)(o,r);if(l&&s)e[i]=(0,a.getLowestUnreleased)(o,t,r);else if(l)e[i]=(0,a.semverify)(t);else if(!l&&!s){const r=(0,a.semverify)(t);e[i]=(0,a.semverMin)(o,r)}}catch(s){}return e},{})}(r)}(s,t.browserslistEnv);if("intersect"===c)for(const t of Object.keys(e)){const r=e[t];f[t]?e[t]=(0,a.getHighestUnreleased)(r,(0,a.semverify)(f[t]),t):delete e[t]}m=Object.assign(e,m)}const T={},E=[];for(const n of Object.keys(m).sort()){var S;const e=m[n];"number"==typeof e&&e%1!=0&&E.push({target:n,value:e});const t=null!=(S=y[n])?S:y.__default,[r,i]=t(n,e);i&&(T[r]=i)}return function(e){if(!e.length)return;console.warn("Warning, the following targets are using a decimal version:\n"),e.forEach(({target:e,value:t})=>console.warn(` ${e}: ${t}`)),console.warn("\nWe recommend using a string for minor/patch versions to avoid numbers like 6.10\ngetting parsed as 6.1, which can lead to unexpected behavior.\n")}(E),T},Object.defineProperty(t,"filterItems",{enumerable:!0,get:function(){return p.default}}),Object.defineProperty(t,"getInclusionReasons",{enumerable:!0,get:function(){return u.getInclusionReasons}}),t.isBrowsersQueryValid=h,Object.defineProperty(t,"isRequired",{enumerable:!0,get:function(){return p.isRequired}}),Object.defineProperty(t,"prettifyTargets",{enumerable:!0,get:function(){return c.prettifyTargets}}),Object.defineProperty(t,"unreleasedLabels",{enumerable:!0,get:function(){return o.unreleasedLabels}});var n=r(626),i=r(162),s=r(638),a=r(163),o=r(164),l=r(640),c=r(271),u=r(641),p=r(642);const f=s["es6.module"],d=new i.OptionValidator("@babel/helper-compilation-targets");function h(e){return"string"==typeof e||Array.isArray(e)&&e.every(e=>"string"==typeof e)}function m(e,t){try{return(0,a.semverify)(t)}catch(r){throw new Error(d.formatMessage(`'${t}' is not a valid value for 'targets.${e}'.`))}}const y={__default(e,t){const r=(0,a.isUnreleasedVersion)(t,e)?t.toLowerCase():m(e,t);return[e,r]},node(t,r){const n=!0===r||"current"===r?e.versions.node:m(t,r);return[t,n]}}}).call(this,r(69))},function(e,t){function r(e){this.name="BrowserslistError",this.message=e,this.browserslist=!0,Error.captureStackTrace&&Error.captureStackTrace(this,r)}r.prototype=Error.prototype,e.exports=r},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.findSuggestion=function(e,t){const r=t.map(t=>function(e,t){let r,i,s=[],a=[];const o=e.length,l=t.length;if(!o)return l;if(!l)return o;for(i=0;i<=l;i++)s[i]=i;for(r=1;r<=o;r++){for(a=[r],i=1;i<=l;i++)a[i]=e[r-1]===t[i-1]?s[i-1]:n(s[i-1],s[i],a[i-1])+1;s=a}return a[l]}(t,e));return t[r.indexOf(n(...r))]};const{min:n}=Math},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.prettifyTargets=function(e){return Object.keys(e).reduce((t,r)=>{let n=e[r];const a=i.unreleasedLabels[r];return"string"==typeof n&&a!==n&&(n=s(n)),t[r]=n,t},{})},t.prettifyVersion=s;var n=r(94),i=r(164);function s(e){if("string"!=typeof e)return e;const t=[n.major(e)],r=n.minor(e),i=n.patch(e);return(r||i)&&t.push(r),i&&t.push(i),t.join(".")}},function(e,t,r){"use strict";function n(){const e=r(85);return n=function(){return e},e}function i(){const e=r(156);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.buildPresetChain=function*(e,t){const r=yield*f(e,t);return r?{plugins:L(r.plugins),presets:L(r.presets),options:r.options.map(e=>B(e)),files:new Set}:null},t.buildPresetChainWalker=void 0,t.buildRootChain=function*(e,t){let r,i;const s=new o.ConfigPrinter,c=yield*T({options:e,dirname:t.cwd},t,void 0,s);if(!c)return null;const u=yield*s.output();let p;"string"==typeof e.configFile?p=yield*(0,l.loadConfig)(e.configFile,t.cwd,t.envName,t.caller):!1!==e.configFile&&(p=yield*(0,l.findRootConfig)(t.root,t.envName,t.caller));let{babelrc:f,babelrcRoots:d}=e,h=t.cwd;const m=M(),y=new o.ConfigPrinter;if(p){const e=g(p),n=yield*S(e,t,void 0,y);if(!n)return null;r=yield*y.output(),void 0===f&&(f=e.options.babelrc),void 0===d&&(h=e.dirname,d=e.options.babelrcRoots),j(m,n)}let v,E,x=!1;const P=M();if((!0===f||void 0===f)&&"string"==typeof t.filename){const e=yield*(0,l.findPackageData)(t.filename);if(e&&function(e,t,r,i){if("boolean"==typeof r)return r;const s=e.root;if(void 0===r)return-1!==t.directories.indexOf(s);let o=r;Array.isArray(o)||(o=[o]);if(o=o.map(e=>"string"==typeof e?n().resolve(i,e):e),1===o.length&&o[0]===s)return-1!==t.directories.indexOf(s);return o.some(r=>("string"==typeof r&&(r=(0,a.default)(r,i)),t.directories.some(t=>W(r,i,t,e))))}(t,e,d,h)){if(({ignore:v,config:E}=yield*(0,l.findRelativeConfig)(e,t.envName,t.caller)),v&&P.files.add(v.filepath),v&&V(t,v.ignore,null,v.dirname)&&(x=!0),E&&!x){const e=b(E),r=new o.ConfigPrinter,n=yield*S(e,t,void 0,r);n?(i=yield*r.output(),j(P,n)):x=!0}E&&x&&P.files.add(E.filepath)}}t.showConfig&&console.log(`Babel configs on "${t.filename}" (ascending priority):\n`+[r,i,u].filter(e=>!!e).join("\n\n")+"\n-----End Babel configs-----");const A=j(j(j(M(),m),P),c);return{plugins:x?[]:L(A.plugins),presets:x?[]:L(A.presets),options:x?[]:A.options.map(e=>B(e)),fileHandling:x?"ignored":"transpile",ignore:v||void 0,babelrc:E||void 0,config:p||void 0,files:A.files}};var s=r(128),a=r(646),o=r(647),l=r(122),c=r(126),u=r(266);const p=i()("babel:config:config-chain");const f=k({root:e=>d(e),env:(e,t)=>h(e)(t),overrides:(e,t)=>m(e)(t),overridesEnv:(e,t,r)=>y(e)(t)(r),createLogger:()=>()=>{}});t.buildPresetChainWalker=f;const d=(0,c.makeWeakCacheSync)(e=>O(e,e.alias,u.createUncachedDescriptors)),h=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>C(e,e.alias,u.createUncachedDescriptors,t))),m=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>I(e,e.alias,u.createUncachedDescriptors,t))),y=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>(0,c.makeStrongCacheSync)(r=>N(e,e.alias,u.createUncachedDescriptors,t,r))));const g=(0,c.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,s.validate)("configfile",e.options)})),b=(0,c.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,s.validate)("babelrcfile",e.options)})),v=(0,c.makeWeakCacheSync)(e=>({filepath:e.filepath,dirname:e.dirname,options:(0,s.validate)("extendsfile",e.options)})),T=k({root:e=>O(e,"base",u.createCachedDescriptors),env:(e,t)=>C(e,"base",u.createCachedDescriptors,t),overrides:(e,t)=>I(e,"base",u.createCachedDescriptors,t),overridesEnv:(e,t,r)=>N(e,"base",u.createCachedDescriptors,t,r),createLogger:(e,t,r)=>function(e,t,r){var n;if(!r)return()=>{};return r.configure(t.showConfig,o.ChainFormatter.Programmatic,{callerName:null==(n=t.caller)?void 0:n.name})}(0,t,r)}),E=k({root:e=>x(e),env:(e,t)=>P(e)(t),overrides:(e,t)=>A(e)(t),overridesEnv:(e,t,r)=>w(e)(t)(r),createLogger:(e,t,r)=>function(e,t,r){if(!r)return()=>{};return r.configure(t.showConfig,o.ChainFormatter.Config,{filepath:e})}(e.filepath,t,r)});function*S(e,t,r,n){const i=yield*E(e,t,r,n);return i&&i.files.add(e.filepath),i}const x=(0,c.makeWeakCacheSync)(e=>O(e,e.filepath,u.createUncachedDescriptors)),P=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>C(e,e.filepath,u.createUncachedDescriptors,t))),A=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>I(e,e.filepath,u.createUncachedDescriptors,t))),w=(0,c.makeWeakCacheSync)(e=>(0,c.makeStrongCacheSync)(t=>(0,c.makeStrongCacheSync)(r=>N(e,e.filepath,u.createUncachedDescriptors,t,r))));function O({dirname:e,options:t},r,n){return n(e,t,r)}function C({dirname:e,options:t},r,n,i){const s=t.env&&t.env[i];return s?n(e,s,`${r}.env["${i}"]`):null}function I({dirname:e,options:t},r,n,i){const s=t.overrides&&t.overrides[i];if(!s)throw new Error("Assertion failure - missing override");return n(e,s,`${r}.overrides[${i}]`)}function N({dirname:e,options:t},r,n,i,s){const a=t.overrides&&t.overrides[i];if(!a)throw new Error("Assertion failure - missing override");const o=a.env&&a.env[s];return o?n(e,o,`${r}.overrides[${i}].env["${s}"]`):null}function k({root:e,env:t,overrides:r,overridesEnv:n,createLogger:i}){return function*(s,a,o=new Set,l){const{dirname:c}=s,u=[],p=e(s);if(F(p,c,a)){u.push({config:p,envName:void 0,index:void 0});const e=t(s,a.envName);e&&F(e,c,a)&&u.push({config:e,envName:a.envName,index:void 0}),(p.options.overrides||[]).forEach((e,t)=>{const i=r(s,t);if(F(i,c,a)){u.push({config:i,index:t,envName:void 0});const e=n(s,t,a.envName);e&&F(e,c,a)&&u.push({config:e,index:t,envName:a.envName})}})}if(u.some(({config:{options:{ignore:e,only:t}}})=>V(a,e,t,c)))return null;const f=M(),d=i(s,a,l);for(const{config:e,index:t,envName:r}of u){if(!(yield*_(f,e.options,c,a,o,l)))return null;d(e,t,r),yield*D(f,e)}return f}}function*_(e,t,r,n,i,s){if(void 0===t.extends)return!0;const a=yield*(0,l.loadConfig)(t.extends,r,n.envName,n.caller);if(i.has(a))throw new Error(`Configuration cycle detected loading ${a.filepath}.\nFile already loaded following the config chain:\n`+Array.from(i,e=>" - "+e.filepath).join("\n"));i.add(a);const o=yield*S(v(a),n,i,s);return i.delete(a),!!o&&(j(e,o),!0)}function j(e,t){e.options.push(...t.options),e.plugins.push(...t.plugins),e.presets.push(...t.presets);for(const r of t.files)e.files.add(r);return e}function*D(e,{options:t,plugins:r,presets:n}){return e.options.push(t),e.plugins.push(...yield*r()),e.presets.push(...yield*n()),e}function M(){return{options:[],presets:[],plugins:[],files:new Set}}function B(e){const t=Object.assign({},e);return delete t.extends,delete t.env,delete t.overrides,delete t.plugins,delete t.presets,delete t.passPerPreset,delete t.ignore,delete t.only,delete t.test,delete t.include,delete t.exclude,Object.prototype.hasOwnProperty.call(t,"sourceMap")&&(t.sourceMaps=t.sourceMap,delete t.sourceMap),t}function L(e){const t=new Map,r=[];for(const n of e)if("function"==typeof n.value){const e=n.value;let i=t.get(e);i||(i=new Map,t.set(e,i));let s=i.get(n.name);s?s.value=n:(s={value:n},r.push(s),n.ownPass||i.set(n.name,s))}else r.push({value:n});return r.reduce((e,t)=>(e.push(t.value),e),[])}function F({options:e},t,r){return(void 0===e.test||R(r,e.test,t))&&(void 0===e.include||R(r,e.include,t))&&(void 0===e.exclude||!R(r,e.exclude,t))}function R(e,t,r){const n=Array.isArray(t)?t:[t];return K(e,n,r)}function U(e,t){return t instanceof RegExp?String(t):t}function V(e,t,r,n){if(t&&K(e,t,n)){var i;const r=`No config is applied to "${null!=(i=e.filename)?i:"(unknown)"}" because it matches one of \`ignore: ${JSON.stringify(t,U)}\` from "${n}"`;return p(r),e.showConfig&&console.log(r),!0}if(r&&!K(e,r,n)){var s;const t=`No config is applied to "${null!=(s=e.filename)?s:"(unknown)"}" because it fails to match one of \`only: ${JSON.stringify(r,U)}\` from "${n}"`;return p(t),e.showConfig&&console.log(t),!0}return!1}function K(e,t,r){return t.some(t=>W(t,r,e.filename,e))}function W(e,t,r,n){if("function"==typeof e)return!!e(r,{dirname:t,envName:n.envName,caller:n.caller});if("string"!=typeof r)throw new Error("Configuration contains string/RegExp pattern, but no filename was passed to Babel");return"string"==typeof e&&(e=(0,a.default)(e,t)),e.test(r)}},function(e,t,r){"use strict";function n(){const e=r(268);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.access=a,t.assertArray=c,t.assertAssumptions=function(e,t){if(void 0===t)return;if("object"!=typeof t||null===t)throw new Error(s(e)+" must be an object or undefined.");let r=e;do{r=r.parent}while("root"!==r.type);const n="preset"===r.source;for(const o of Object.keys(t)){const r=a(e,o);if(!i.assumptionsNames.has(o))throw new Error(s(r)+" is not a supported assumption.");if("boolean"!=typeof t[o])throw new Error(s(r)+" must be a boolean.");if(n&&!1===t[o])throw new Error(s(r)+" cannot be set to 'false' inside presets.")}return t},t.assertBabelrcSearch=function(e,t){if(void 0===t||"boolean"==typeof t)return t;if(Array.isArray(t))t.forEach((t,r)=>{if(!u(t))throw new Error(s(a(e,r))+" must be a string/Function/RegExp.")});else if(!u(t))throw new Error(s(e)+" must be a undefined, a boolean, a string/Function/RegExp or an array of those, got "+JSON.stringify(t));return t},t.assertBoolean=o,t.assertCallerMetadata=function(e,t){const r=l(e,t);if(r){if("string"!=typeof r.name)throw new Error(s(e)+' set but does not contain "name" property string');for(const t of Object.keys(r)){const n=a(e,t),i=r[t];if(null!=i&&"boolean"!=typeof i&&"string"!=typeof i&&"number"!=typeof i)throw new Error(s(n)+" must be null, undefined, a boolean, a string, or a number.")}}return t},t.assertCompact=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"auto"!==t)throw new Error(s(e)+' must be a boolean, "auto", or undefined');return t},t.assertConfigApplicableTest=function(e,t){if(void 0===t)return t;if(Array.isArray(t))t.forEach((t,r)=>{if(!u(t))throw new Error(s(a(e,r))+" must be a string/Function/RegExp.")});else if(!u(t))throw new Error(s(e)+" must be a string/Function/RegExp, or an array of those");return t},t.assertConfigFileSearch=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"string"!=typeof t)throw new Error(s(e)+" must be a undefined, a boolean, a string, got "+JSON.stringify(t));return t},t.assertFunction=function(e,t){if(void 0!==t&&"function"!=typeof t)throw new Error(s(e)+" must be a function, or undefined");return t},t.assertIgnoreList=function(e,t){const r=c(e,t);r&&r.forEach((t,r)=>function(e,t){if("string"!=typeof t&&"function"!=typeof t&&!(t instanceof RegExp))throw new Error(s(e)+" must be an array of string/Function/RegExp values, or undefined");return t}(a(e,r),t));return r},t.assertInputSourceMap=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&("object"!=typeof t||!t))throw new Error(s(e)+" must be a boolean, object, or undefined");return t},t.assertObject=l,t.assertPluginList=function(e,t){const r=c(e,t);r&&r.forEach((t,r)=>function(e,t){if(Array.isArray(t)){if(0===t.length)throw new Error(s(e)+" must include an object");if(t.length>3)throw new Error(s(e)+" may only be a two-tuple or three-tuple");if(p(a(e,0),t[0]),t.length>1){const r=t[1];if(void 0!==r&&!1!==r&&("object"!=typeof r||Array.isArray(r)||null===r))throw new Error(s(a(e,1))+" must be an object, false, or undefined")}if(3===t.length){const r=t[2];if(void 0!==r&&"string"!=typeof r)throw new Error(s(a(e,2))+" must be a string, or undefined")}}else p(e,t);return t}(a(e,r),t));return r},t.assertRootMode=function(e,t){if(void 0!==t&&"root"!==t&&"upward"!==t&&"upward-optional"!==t)throw new Error(s(e)+' must be a "root", "upward", "upward-optional" or undefined');return t},t.assertSourceMaps=function(e,t){if(void 0!==t&&"boolean"!=typeof t&&"inline"!==t&&"both"!==t)throw new Error(s(e)+' must be a boolean, "inline", "both", or undefined');return t},t.assertSourceType=function(e,t){if(void 0!==t&&"module"!==t&&"script"!==t&&"unambiguous"!==t)throw new Error(s(e)+' must be "module", "script", "unambiguous", or undefined');return t},t.assertString=function(e,t){if(void 0!==t&&"string"!=typeof t)throw new Error(s(e)+" must be a string, or undefined");return t},t.assertTargets=function(e,t){if((0,n().isBrowsersQueryValid)(t))return t;if("object"!=typeof t||!t||Array.isArray(t))throw new Error(s(e)+" must be a string, an array of strings or an object");const r=a(e,"browsers"),i=a(e,"esmodules");f(r,t.browsers),o(i,t.esmodules);for(const l of Object.keys(t)){const r=t[l],i=a(e,l);if("esmodules"===l)o(i,r);else if("browsers"===l)f(i,r);else{if(!Object.hasOwnProperty.call(n().TargetNames,l)){const e=Object.keys(n().TargetNames).join(", ");throw new Error(`${s(i)} is not a valid target. Supported targets are ${e}`)}d(i,r)}}return t},t.msg=s;var i=r(128);function s(e){switch(e.type){case"root":return"";case"env":return`${s(e.parent)}.env["${e.name}"]`;case"overrides":return`${s(e.parent)}.overrides[${e.index}]`;case"option":return`${s(e.parent)}.${e.name}`;case"access":return`${s(e.parent)}[${JSON.stringify(e.name)}]`;default:throw new Error("Assertion failure: Unknown type "+e.type)}}function a(e,t){return{type:"access",name:t,parent:e}}function o(e,t){if(void 0!==t&&"boolean"!=typeof t)throw new Error(s(e)+" must be a boolean, or undefined");return t}function l(e,t){if(void 0!==t&&("object"!=typeof t||Array.isArray(t)||!t))throw new Error(s(e)+" must be an object, or undefined");return t}function c(e,t){if(null!=t&&!Array.isArray(t))throw new Error(s(e)+" must be an array, or undefined");return t}function u(e){return"string"==typeof e||"function"==typeof e||e instanceof RegExp}function p(e,t){if(("object"!=typeof t||!t)&&"string"!=typeof t&&"function"!=typeof t)throw new Error(s(e)+" must be a string, object, function");return t}function f(e,t){if(void 0!==t&&!(0,n().isBrowsersQueryValid)(t))throw new Error(s(e)+" must be undefined, a string or an array of strings")}function d(e,t){if(("number"!=typeof t||Math.round(t)!==t)&&"string"!=typeof t)throw new Error(s(e)+" must be a string or an integer number")}},function(e,t){},function(e,t,r){"use strict";function n(){const e=r(85);return n=function(){return e},e}function i(){const e=r(77);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=h,t.loadPartialConfig=void 0;var s=r(124),a=r(161),o=r(125),l=r(272),c=r(264),u=r(128),p=r(122),f=r(267);const d=["showIgnoredFiles"];function*h(e){if(null!=e&&("object"!=typeof e||Array.isArray(e)))throw new Error("Babel options must be an object, null, or undefined");const t=e?(0,u.validate)("arguments",e):{},{envName:r=(0,c.getEnv)(),cwd:i=".",root:s=".",rootMode:d="root",caller:h,cloneInputAst:m=!0}=t,y=n().resolve(i),g=function(e,t){switch(t){case"root":return e;case"upward-optional":{const t=(0,p.findConfigUpwards)(e);return null===t?e:t}case"upward":{const t=(0,p.findConfigUpwards)(e);if(null!==t)return t;throw Object.assign(new Error(`Babel was run with rootMode:"upward" but a root could not be found when searching upward from "${e}".\nOne of the following config files must be in the directory tree: "${p.ROOT_CONFIG_FILENAMES.join(", ")}".`),{code:"BABEL_ROOT_NOT_FOUND",dirname:e})}default:throw new Error("Assertion failure - unknown rootMode value.")}}(n().resolve(y,s),d),b="string"==typeof t.filename?n().resolve(i,t.filename):void 0,v=yield*(0,p.resolveShowConfigPath)(y),T={filename:b,cwd:y,root:g,envName:r,caller:h,showConfig:v===b},E=yield*(0,l.buildRootChain)(t,T);if(!E)return null;const S={assumptions:{}};E.options.forEach(e=>{(0,a.mergeOptions)(S,e)});const x=Object.assign({},S,{targets:(0,f.resolveTargets)(S,g),cloneInputAst:m,babelrc:!1,configFile:!1,browserslistConfigFile:!1,passPerPreset:!1,envName:T.envName,cwd:T.cwd,root:T.root,rootMode:"root",filename:"string"==typeof T.filename?T.filename:void 0,plugins:E.plugins.map(e=>(0,o.createItemFromDescriptor)(e)),presets:E.presets.map(e=>(0,o.createItemFromDescriptor)(e))});return{options:x,context:T,fileHandling:E.fileHandling,ignore:E.ignore,babelrc:E.babelrc,config:E.config,files:E.files}}const m=i()((function*(e){let t=!1;if("object"==typeof e&&null!==e&&!Array.isArray(e)){var r=e;({showIgnoredFiles:t}=r),e=function(e,t){if(null==e)return{};var r,n,i={},s=Object.keys(e);for(n=0;n<s.length;n++)r=s[n],t.indexOf(r)>=0||(i[r]=e[r]);return i}(r,d)}const n=yield*h(e);if(!n)return null;const{options:i,babelrc:a,ignore:o,config:l,fileHandling:c,files:u}=n;return"ignored"!==c||t?((i.plugins||[]).forEach(e=>{if(e.value instanceof s.default)throw new Error("Passing cached plugin instances is not supported in babel.loadPartialConfig()")}),new y(i,a?a.filepath:void 0,o?o.filepath:void 0,l?l.filepath:void 0,c,u)):null}));t.loadPartialConfig=m;class y{constructor(e,t,r,n,i,s){this.options=void 0,this.babelrc=void 0,this.babelignore=void 0,this.config=void 0,this.fileHandling=void 0,this.files=void 0,this.options=e,this.babelignore=r,this.babelrc=t,this.config=n,this.fileHandling=i,this.files=s,Object.freeze(this)}hasFilesystemConfig(){return void 0!==this.babelrc||void 0!==this.config}}Object.freeze(y.prototype)},function(e,t,r){"use strict";function n(){const e=r(74);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.run=function*(e,t,r){const u=yield*(0,o.default)(e.passes,(0,a.default)(e),t,r),p=u.opts;try{yield*function*(e,t){for(const r of t){const t=[],a=[],o=[];for(const n of r.concat([(0,s.default)()])){const r=new i.default(e,n.key,n.options);t.push([n,r]),a.push(r),o.push(n.visitor)}for(const[r,n]of t){const t=r.pre;if(t){const r=t.call(n,e);if(yield*[],c(r))throw new Error("You appear to be using an plugin with an async .pre, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}const l=n().default.visitors.merge(o,a,e.opts.wrapPluginVisitorMethod);(0,n().default)(e.ast,l,e.scope);for(const[r,n]of t){const t=r.post;if(t){const r=t.call(n,e);if(yield*[],c(r))throw new Error("You appear to be using an plugin with an async .post, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}}}}(u,e.passes)}catch(y){var f;throw y.message=`${null!=(f=p.filename)?f:"unknown"}: ${y.message}`,y.code||(y.code="BABEL_TRANSFORM_ERROR"),y}let d,h;try{!1!==p.code&&({outputCode:d,outputMap:h}=(0,l.default)(e.passes,u))}catch(y){var m;throw y.message=`${null!=(m=p.filename)?m:"unknown"}: ${y.message}`,y.code||(y.code="BABEL_GENERATE_ERROR"),y}return{metadata:u.metadata,options:p,ast:!0===p.ast?u.ast:null,code:void 0===d?null:d,map:void 0===h?null:h,sourceType:u.ast.program.sourceType}};var i=r(651),s=r(652),a=r(277),o=r(653),l=r(658);function c(e){return!(!e||"object"!=typeof e&&"function"!=typeof e||!e.then||"function"!=typeof e.then)}},function(e,t,r){"use strict";function n(){const e=r(85);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const{filename:t,cwd:r,filenameRelative:i=("string"==typeof t?n().relative(r,t):"unknown"),sourceType:s="module",inputSourceMap:a,sourceMaps:o=!!a,sourceRoot:l=e.options.moduleRoot,sourceFileName:c=n().basename(i),comments:u=!0,compact:p="auto"}=e.options,f=e.options,d=Object.assign({},f,{parserOpts:Object.assign({sourceType:".mjs"===n().extname(i)?"module":s,sourceFileName:t,plugins:[]},f.parserOpts),generatorOpts:Object.assign({filename:t,auxiliaryCommentBefore:f.auxiliaryCommentBefore,auxiliaryCommentAfter:f.auxiliaryCommentAfter,retainLines:f.retainLines,comments:u,shouldPrintComment:f.shouldPrintComment,compact:p,minified:f.minified,sourceMaps:o,sourceRoot:l,sourceFileName:c},f.generatorOpts)});for(const n of e.passes)for(const e of n)e.manipulateOptions&&e.manipulateOptions(d,d.parserOpts);return d}},function(e,t,r){"use strict";var n=r(129),i=r(85),s=r(655);function a(e,r){var a;r=r||{},r.isFileComment&&(e=function(e,r){var s=t.mapFileCommentRegex.exec(e),a=s[1]||s[2],o=i.resolve(r,a);try{return n.readFileSync(o,"utf8")}catch(l){throw new Error("An error occurred while trying to read the map file at "+o+"\n"+l)}}(e,r.commentFileDir)),r.hasComment&&(e=function(e){return e.split(",").pop()}(e)),r.isEncoded&&(a=e,e=(s.Buffer.from(a,"base64")||"").toString()),(r.isJSON||r.isEncoded)&&(e=JSON.parse(e)),this.sourcemap=e}Object.defineProperty(t,"commentRegex",{get:function(){return/^\s*\/(?:\/|\*)[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/gm}}),Object.defineProperty(t,"mapFileCommentRegex",{get:function(){return/(?:\/\/[@#][ \t]+sourceMappingURL=([^\s'"`]+?)[ \t]*$)|(?:\/\*[@#][ \t]+sourceMappingURL=([^\*]+?)[ \t]*(?:\*\/){1}[ \t]*$)/gm}}),a.prototype.toJSON=function(e){return JSON.stringify(this.sourcemap,null,e)},a.prototype.toBase64=function(){var e=this.toJSON();return(s.Buffer.from(e,"utf8")||"").toString("base64")},a.prototype.toComment=function(e){var t=this.toBase64(),r="sourceMappingURL=data:application/json;charset=utf-8;base64,"+t;return e&&e.multiline?"/*# "+r+" */":"//# "+r},a.prototype.toObject=function(){return JSON.parse(this.toJSON())},a.prototype.addProperty=function(e,t){if(this.sourcemap.hasOwnProperty(e))throw new Error('property "'+e+'" already exists on the sourcemap, use set property instead');return this.setProperty(e,t)},a.prototype.setProperty=function(e,t){return this.sourcemap[e]=t,this},a.prototype.getProperty=function(e){return this.sourcemap[e]},t.fromObject=function(e){return new a(e)},t.fromJSON=function(e){return new a(e,{isJSON:!0})},t.fromBase64=function(e){return new a(e,{isEncoded:!0})},t.fromComment=function(e){return e=e.replace(/^\/\*/g,"//").replace(/\*\/$/g,""),new a(e,{isEncoded:!0,hasComment:!0})},t.fromMapFileComment=function(e,t){return new a(e,{commentFileDir:t,isFileComment:!0,isJSON:!0})},t.fromSource=function(e){var r=e.match(t.commentRegex);return r?t.fromComment(r.pop()):null},t.fromMapFileSource=function(e,r){var n=e.match(t.mapFileCommentRegex);return n?t.fromMapFileComment(n.pop(),r):null},t.removeComments=function(e){return e.replace(t.commentRegex,"")},t.removeMapFileComments=function(e){return e.replace(t.mapFileCommentRegex,"")},t.generateMapFileComment=function(e,t){var r="sourceMappingURL="+e;return t&&t.multiline?"/*# "+r+" */":"//# "+r}},function(e,t,r){"use strict";function n(){const e=r(121);return n=function(){return e},e}function i(){const e=r(120);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,{parserOpts:t,highlightCode:r=!0,filename:a="unknown"},o){try{const r=[];for(const i of e)for(const e of i){const{parserOverride:i}=e;if(i){const e=i(o,t,n().parse);void 0!==e&&r.push(e)}}if(0===r.length)return(0,n().parse)(o,t);if(1===r.length){if(yield*[],"function"==typeof r[0].then)throw new Error("You appear to be using an async parser plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.");return r[0]}throw new Error("More than one plugin attempted to override parsing.")}catch(l){"BABEL_PARSER_SOURCETYPE_MODULE_REQUIRED"===l.code&&(l.message+="\nConsider renaming the file to '.mjs', or setting sourceType:module or sourceType:unambiguous in your Babel config for this file.");const{loc:e,missingPlugin:t}=l;if(e){const n=(0,i().codeFrameColumns)(o,{start:{line:e.line,column:e.column+1}},{highlightCode:r});l.message=t?a+": "+(0,s.default)(t[0],e,n):`${a}: ${l.message}\n\n`+n,l.code="BABEL_PARSE_ERROR"}throw l}};var s=r(656)},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(83),i=r(65);const{VISITOR_KEYS:s}=i;t.default=class{constructor(e,t,r,n){this.queue=null,this.priorityQueue=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=s[e.type];if(null==r||!r.length)return!1;for(const n of r)if(e[n])return!0;return!1}create(e,t,r,i){return n.default.get({parentPath:this.parentPath,parent:e,container:t,key:r,listKey:i})}maybeQueue(e,t){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 s=e[i];s&&this.shouldVisit(s)&&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=new WeakSet;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)continue;const{node:i}=n;if(!t.has(i)){if(i&&t.add(i),n.visit()){r=!0;break}if(this.priorityQueue.length&&(r=this.visitQueue(this.priorityQueue),this.priorityQueue=[],this.queue=e,r))break}}for(const n of e)n.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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(229);const i=(0,n.default)("React.Component");var s=i;t.default=s},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 s=e.children[r];(0,n.isJSXText)(s)?(0,i.default)(s,t):((0,n.isJSXExpressionContainer)(s)&&(s=s.expression),(0,n.isJSXEmptyExpression)(s)||t.push(s))}return t};var n=r(68),i=r(504)},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 n=0;n<r.length;n++)r[n].match(/[^ \t]/)&&(i=n);let s="";for(let n=0;n<r.length;n++){const e=r[n],t=0===n,a=n===r.length-1,o=n===i;let l=e.replace(/\t/g," ");t||(l=l.replace(/^[ ]+/,"")),a||(l=l.replace(/[ ]+$/,"")),l&&(o||(l+=" "),s+=l)}s&&t.push((0,n.stringLiteral)(s))};var n=r(72)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){const e=this,t=n.BUILDER_KEYS[e],r=arguments.length;if(r>t.length)throw new Error(`${e}: Too many arguments passed. Received ${r} but can receive no more than ${t.length}`);const s={type:e};for(let i=0;i<t.length;++i){const a=t[i],o=n.NODE_FIELDS[e][a];let l;i<r&&(l=arguments[i]),void 0===l&&(l=Array.isArray(o.default)?[]:o.default),s[a]=l}for(const n in s)(0,i.default)(s,n,s[n]);return s};var n=r(75),i=r(154)},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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isIdentifierStart=u,t.isIdentifierChar=p,t.isIdentifierName=function(e){let t=!0;for(let r=0;r<e.length;r++){let n=e.charCodeAt(r);if(55296==(64512&n)&&r+1<e.length){const t=e.charCodeAt(++r);56320==(64512&t)&&(n=65536+((1023&n)<<10)+(1023&t))}if(t){if(t=!1,!u(n))return!1}else if(!p(n))return!1}return!t};let n="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟊꟐꟑꟓꟕ-ꟙꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",i="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_";const s=new RegExp("["+n+"]"),a=new RegExp("["+n+i+"]");n=i=null;const o=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2637,96,16,1070,4050,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,46,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,482,44,11,6,17,0,322,29,19,43,1269,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4152,8,221,3,5761,15,7472,3104,541,1507,4938],l=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,357,0,62,13,1495,6,110,6,6,9,4759,9,787719,239];function c(e,t){let r=65536;for(let n=0,i=t.length;n<i;n+=2){if(r+=t[n],r>e)return!1;if(r+=t[n+1],r>=e)return!0}return!1}function u(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&s.test(String.fromCharCode(e)):c(e,o)))}function p(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&a.test(String.fromCharCode(e)):c(e,o)||c(e,l))))}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isReservedWord=c,t.isStrictReservedWord=u,t.isStrictBindOnlyReservedWord=p,t.isStrictBindReservedWord=function(e,t){return u(e,t)||p(e)},t.isKeyword=function(e){return a.has(e)};const n=["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],i=["implements","interface","let","package","private","protected","public","static","yield"],s=["eval","arguments"],a=new Set(n),o=new Set(i),l=new Set(s);function c(e,t){return t&&"await"===e||"enum"===e}function u(e,t){return c(e,t)||o.has(e)}function p(e){return l.has(e)}},function(e,t,r){"use strict";var n=r(84);const i=(0,n.defineAliasedType)("Flow"),s=(e,t="TypeParameterDeclaration")=>{i(e,{builder:["id","typeParameters","extends","body"],visitor:["id","typeParameters","extends","mixins","implements","body"],aliases:["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")}})};i("AnyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ArrayTypeAnnotation",{visitor:["elementType"],aliases:["FlowType"],fields:{elementType:(0,n.validateType)("FlowType")}}),i("BooleanTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("BooleanLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("NullLiteralTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ClassImplements",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),s("DeclareClass"),i("DeclareFunction",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),predicate:(0,n.validateOptionalType)("DeclaredPredicate")}}),s("DeclareInterface"),i("DeclareModule",{builder:["id","body","kind"],visitor:["id","body"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)("BlockStatement"),kind:(0,n.validateOptional)((0,n.assertOneOf)("CommonJS","ES"))}}),i("DeclareModuleExports",{visitor:["typeAnnotation"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),i("DeclareTypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),i("DeclareOpaqueType",{visitor:["id","typeParameters","supertype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateOptionalType)("FlowType")}}),i("DeclareVariable",{visitor:["id"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier")}}),i("DeclareExportDeclaration",{visitor:["declaration","specifiers","source"],aliases:["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"))}}),i("DeclareExportAllDeclaration",{visitor:["source"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{source:(0,n.validateType)("StringLiteral"),exportKind:(0,n.validateOptional)((0,n.assertOneOf)("type","value"))}}),i("DeclaredPredicate",{visitor:["value"],aliases:["FlowPredicate"],fields:{value:(0,n.validateType)("Flow")}}),i("ExistsTypeAnnotation",{aliases:["FlowType"]}),i("FunctionTypeAnnotation",{visitor:["typeParameters","params","rest","returnType"],aliases:["FlowType"],fields:{typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),params:(0,n.validate)((0,n.arrayOfType)("FunctionTypeParam")),rest:(0,n.validateOptionalType)("FunctionTypeParam"),this:(0,n.validateOptionalType)("FunctionTypeParam"),returnType:(0,n.validateType)("FlowType")}}),i("FunctionTypeParam",{visitor:["name","typeAnnotation"],fields:{name:(0,n.validateOptionalType)("Identifier"),typeAnnotation:(0,n.validateType)("FlowType"),optional:(0,n.validateOptional)((0,n.assertValueType)("boolean"))}}),i("GenericTypeAnnotation",{visitor:["id","typeParameters"],aliases:["FlowType"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),i("InferredPredicate",{aliases:["FlowPredicate"]}),i("InterfaceExtends",{visitor:["id","typeParameters"],fields:{id:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"]),typeParameters:(0,n.validateOptionalType)("TypeParameterInstantiation")}}),s("InterfaceDeclaration"),i("InterfaceTypeAnnotation",{visitor:["extends","body"],aliases:["FlowType"],fields:{extends:(0,n.validateOptional)((0,n.arrayOfType)("InterfaceExtends")),body:(0,n.validateType)("ObjectTypeAnnotation")}}),i("IntersectionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),i("MixedTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EmptyTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("NullableTypeAnnotation",{visitor:["typeAnnotation"],aliases:["FlowType"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),i("NumberLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("number"))}}),i("NumberTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ObjectTypeAnnotation",{visitor:["properties","indexers","callProperties","internalSlots"],aliases:["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"))}}),i("ObjectTypeInternalSlot",{visitor:["id","value","optional","static","method"],aliases:["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"))}}),i("ObjectTypeCallProperty",{visitor:["value"],aliases:["UserWhitespacable"],fields:{value:(0,n.validateType)("FlowType"),static:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("ObjectTypeIndexer",{visitor:["id","key","value","variance"],aliases:["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")}}),i("ObjectTypeProperty",{visitor:["key","value","variance"],aliases:["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"),method:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("ObjectTypeSpreadProperty",{visitor:["argument"],aliases:["UserWhitespacable"],fields:{argument:(0,n.validateType)("FlowType")}}),i("OpaqueType",{visitor:["id","typeParameters","supertype","impltype"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),supertype:(0,n.validateOptionalType)("FlowType"),impltype:(0,n.validateType)("FlowType")}}),i("QualifiedTypeIdentifier",{visitor:["id","qualification"],fields:{id:(0,n.validateType)("Identifier"),qualification:(0,n.validateType)(["Identifier","QualifiedTypeIdentifier"])}}),i("StringLiteralTypeAnnotation",{builder:["value"],aliases:["FlowType"],fields:{value:(0,n.validate)((0,n.assertValueType)("string"))}}),i("StringTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("SymbolTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("ThisTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("TupleTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),i("TypeofTypeAnnotation",{visitor:["argument"],aliases:["FlowType"],fields:{argument:(0,n.validateType)("FlowType")}}),i("TypeAlias",{visitor:["id","typeParameters","right"],aliases:["FlowDeclaration","Statement","Declaration"],fields:{id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TypeParameterDeclaration"),right:(0,n.validateType)("FlowType")}}),i("TypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("FlowType")}}),i("TypeCastExpression",{visitor:["expression","typeAnnotation"],aliases:["ExpressionWrapper","Expression"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TypeAnnotation")}}),i("TypeParameter",{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")}}),i("TypeParameterDeclaration",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("TypeParameter"))}}),i("TypeParameterInstantiation",{visitor:["params"],fields:{params:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),i("UnionTypeAnnotation",{visitor:["types"],aliases:["FlowType"],fields:{types:(0,n.validate)((0,n.arrayOfType)("FlowType"))}}),i("Variance",{builder:["kind"],fields:{kind:(0,n.validate)((0,n.assertOneOf)("minus","plus"))}}),i("VoidTypeAnnotation",{aliases:["FlowType","FlowBaseAnnotation"]}),i("EnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{id:(0,n.validateType)("Identifier"),body:(0,n.validateType)(["EnumBooleanBody","EnumNumberBody","EnumStringBody","EnumSymbolBody"])}}),i("EnumBooleanBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumBooleanMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("EnumNumberBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)("EnumNumberMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("EnumStringBody",{aliases:["EnumBody"],visitor:["members"],fields:{explicitType:(0,n.validate)((0,n.assertValueType)("boolean")),members:(0,n.validateArrayOfType)(["EnumStringMember","EnumDefaultedMember"]),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("EnumSymbolBody",{aliases:["EnumBody"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("EnumDefaultedMember"),hasUnknownMembers:(0,n.validate)((0,n.assertValueType)("boolean"))}}),i("EnumBooleanMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("BooleanLiteral")}}),i("EnumNumberMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("NumericLiteral")}}),i("EnumStringMember",{aliases:["EnumMember"],visitor:["id","init"],fields:{id:(0,n.validateType)("Identifier"),init:(0,n.validateType)("StringLiteral")}}),i("EnumDefaultedMember",{aliases:["EnumMember"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),i("IndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType")}}),i("OptionalIndexedAccessType",{visitor:["objectType","indexType"],aliases:["FlowType"],fields:{objectType:(0,n.validateType)("FlowType"),indexType:(0,n.validateType)("FlowType"),optional:(0,n.validate)((0,n.assertValueType)("boolean"))}})},function(e,t,r){"use strict";var n=r(84);const i=(0,n.defineAliasedType)("JSX");i("JSXAttribute",{visitor:["name","value"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXNamespacedName")},value:{optional:!0,validate:(0,n.assertNodeType)("JSXElement","JSXFragment","StringLiteral","JSXExpressionContainer")}}}),i("JSXClosingElement",{visitor:["name"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")}}}),i("JSXElement",{builder:["openingElement","closingElement","children","selfClosing"],visitor:["openingElement","children","closingElement"],aliases:["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")))},selfClosing:{validate:(0,n.assertValueType)("boolean"),optional:!0}}}),i("JSXEmptyExpression",{}),i("JSXExpressionContainer",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression","JSXEmptyExpression")}}}),i("JSXSpreadChild",{visitor:["expression"],aliases:["Immutable"],fields:{expression:{validate:(0,n.assertNodeType)("Expression")}}}),i("JSXIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}}),i("JSXMemberExpression",{visitor:["object","property"],fields:{object:{validate:(0,n.assertNodeType)("JSXMemberExpression","JSXIdentifier")},property:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),i("JSXNamespacedName",{visitor:["namespace","name"],fields:{namespace:{validate:(0,n.assertNodeType)("JSXIdentifier")},name:{validate:(0,n.assertNodeType)("JSXIdentifier")}}}),i("JSXOpeningElement",{builder:["name","attributes","selfClosing"],visitor:["name","attributes"],aliases:["Immutable"],fields:{name:{validate:(0,n.assertNodeType)("JSXIdentifier","JSXMemberExpression","JSXNamespacedName")},selfClosing:{default:!1},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}}}),i("JSXSpreadAttribute",{visitor:["argument"],fields:{argument:{validate:(0,n.assertNodeType)("Expression")}}}),i("JSXText",{aliases:["Immutable"],builder:["value"],fields:{value:{validate:(0,n.assertValueType)("string")}}}),i("JSXFragment",{builder:["openingFragment","closingFragment","children"],visitor:["openingFragment","children","closingFragment"],aliases:["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")))}}}),i("JSXOpeningFragment",{aliases:["Immutable"]}),i("JSXClosingFragment",{aliases:["Immutable"]})},function(e,t,r){"use strict";var n=r(84),i=r(233);const s=(0,n.defineAliasedType)("Miscellaneous");s("Noop",{visitor:[]}),s("Placeholder",{visitor:[],builder:["expectedNode","name"],fields:{name:{validate:(0,n.assertNodeType)("Identifier")},expectedNode:{validate:(0,n.assertOneOf)(...i.PLACEHOLDERS)}}}),s("V8IntrinsicIdentifier",{builder:["name"],fields:{name:{validate:(0,n.assertValueType)("string")}}})},function(e,t,r){"use strict";(function(e){var t=r(84);(0,t.default)("ArgumentPlaceholder",{}),(0,t.default)("BindExpression",{visitor:["object","callee"],aliases:["Expression"],fields:e.env.BABEL_TYPES_8_BREAKING?{object:{validate:(0,t.assertNodeType)("Expression")},callee:{validate:(0,t.assertNodeType)("Expression")}}:{object:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})},callee:{validate:Object.assign(()=>{},{oneOfNodeTypes:["Expression"]})}}}),(0,t.default)("ImportAttribute",{visitor:["key","value"],fields:{key:{validate:(0,t.assertNodeType)("Identifier","StringLiteral")},value:{validate:(0,t.assertNodeType)("StringLiteral")}}}),(0,t.default)("Decorator",{visitor:["expression"],fields:{expression:{validate:(0,t.assertNodeType)("Expression")}}}),(0,t.default)("DoExpression",{visitor:["body"],builder:["body","async"],aliases:["Expression"],fields:{body:{validate:(0,t.assertNodeType)("BlockStatement")},async:{validate:(0,t.assertValueType)("boolean"),default:!1}}}),(0,t.default)("ExportDefaultSpecifier",{visitor:["exported"],aliases:["ModuleSpecifier"],fields:{exported:{validate:(0,t.assertNodeType)("Identifier")}}}),(0,t.default)("RecordExpression",{visitor:["properties"],aliases:["Expression"],fields:{properties:{validate:(0,t.chain)((0,t.assertValueType)("array"),(0,t.assertEach)((0,t.assertNodeType)("ObjectProperty","SpreadElement")))}}}),(0,t.default)("TupleExpression",{fields:{elements:{validate:(0,t.chain)((0,t.assertValueType)("array"),(0,t.assertEach)((0,t.assertNodeType)("Expression","SpreadElement"))),default:[]}},visitor:["elements"],aliases:["Expression"]}),(0,t.default)("DecimalLiteral",{builder:["value"],fields:{value:{validate:(0,t.assertValueType)("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),(0,t.default)("ModuleExpression",{visitor:["body"],fields:{body:{validate:(0,t.assertNodeType)("Program")}},aliases:["Expression"]}),(0,t.default)("TopicReference",{aliases:["Expression"]}),(0,t.default)("PipelineTopicExpression",{builder:["expression"],visitor:["expression"],fields:{expression:{validate:(0,t.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,t.default)("PipelineBareFunction",{builder:["callee"],visitor:["callee"],fields:{callee:{validate:(0,t.assertNodeType)("Expression")}},aliases:["Expression"]}),(0,t.default)("PipelinePrimaryTopicReference",{aliases:["Expression"]})}).call(this,r(69))},function(e,t,r){"use strict";var n=r(84),i=r(231),s=r(99);const a=(0,n.defineAliasedType)("TypeScript"),o=(0,n.assertValueType)("boolean"),l={returnType:{validate:(0,n.assertNodeType)("TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:(0,n.assertNodeType)("TSTypeParameterDeclaration","Noop"),optional:!0}};a("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")},override:{validate:(0,n.assertValueType)("boolean"),optional:!0},decorators:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("Decorator"))),optional:!0}}}),a("TSDeclareFunction",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","params","returnType"],fields:Object.assign({},i.functionDeclarationCommon,l)}),a("TSDeclareMethod",{visitor:["decorators","key","typeParameters","params","returnType"],fields:Object.assign({},i.classMethodOrDeclareMethodCommon,l)}),a("TSQualifiedName",{aliases:["TSEntityName"],visitor:["left","right"],fields:{left:(0,n.validateType)("TSEntityName"),right:(0,n.validateType)("Identifier")}});const c={typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),parameters:(0,n.validateArrayOfType)(["Identifier","RestElement"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")},u={aliases:["TSTypeElement"],visitor:["typeParameters","parameters","typeAnnotation"],fields:c};a("TSCallSignatureDeclaration",u),a("TSConstructSignatureDeclaration",u);const p={key:(0,n.validateType)("Expression"),computed:(0,n.validate)(o),optional:(0,n.validateOptional)(o)};a("TSPropertySignature",{aliases:["TSTypeElement"],visitor:["key","typeAnnotation","initializer"],fields:Object.assign({},p,{readonly:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),initializer:(0,n.validateOptionalType)("Expression"),kind:{validate:(0,n.assertOneOf)("get","set")}})}),a("TSMethodSignature",{aliases:["TSTypeElement"],visitor:["key","typeParameters","parameters","typeAnnotation"],fields:Object.assign({},c,p,{kind:{validate:(0,n.assertOneOf)("method","get","set")}})}),a("TSIndexSignature",{aliases:["TSTypeElement"],visitor:["parameters","typeAnnotation"],fields:{readonly:(0,n.validateOptional)(o),static:(0,n.validateOptional)(o),parameters:(0,n.validateArrayOfType)("Identifier"),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation")}});const f=["TSAnyKeyword","TSBooleanKeyword","TSBigIntKeyword","TSIntrinsicKeyword","TSNeverKeyword","TSNullKeyword","TSNumberKeyword","TSObjectKeyword","TSStringKeyword","TSSymbolKeyword","TSUndefinedKeyword","TSUnknownKeyword","TSVoidKeyword"];for(const m of f)a(m,{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});a("TSThisType",{aliases:["TSType","TSBaseType"],visitor:[],fields:{}});const d={aliases:["TSType"],visitor:["typeParameters","parameters","typeAnnotation"]};a("TSFunctionType",Object.assign({},d,{fields:c})),a("TSConstructorType",Object.assign({},d,{fields:Object.assign({},c,{abstract:(0,n.validateOptional)(o)})})),a("TSTypeReference",{aliases:["TSType"],visitor:["typeName","typeParameters"],fields:{typeName:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSTypePredicate",{aliases:["TSType"],visitor:["parameterName","typeAnnotation"],builder:["parameterName","typeAnnotation","asserts"],fields:{parameterName:(0,n.validateType)(["Identifier","TSThisType"]),typeAnnotation:(0,n.validateOptionalType)("TSTypeAnnotation"),asserts:(0,n.validateOptional)(o)}}),a("TSTypeQuery",{aliases:["TSType"],visitor:["exprName"],fields:{exprName:(0,n.validateType)(["TSEntityName","TSImportType"])}}),a("TSTypeLiteral",{aliases:["TSType"],visitor:["members"],fields:{members:(0,n.validateArrayOfType)("TSTypeElement")}}),a("TSArrayType",{aliases:["TSType"],visitor:["elementType"],fields:{elementType:(0,n.validateType)("TSType")}}),a("TSTupleType",{aliases:["TSType"],visitor:["elementTypes"],fields:{elementTypes:(0,n.validateArrayOfType)(["TSType","TSNamedTupleMember"])}}),a("TSOptionalType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),a("TSRestType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),a("TSNamedTupleMember",{visitor:["label","elementType"],builder:["label","elementType","optional"],fields:{label:(0,n.validateType)("Identifier"),optional:{validate:o,default:!1},elementType:(0,n.validateType)("TSType")}});const h={aliases:["TSType"],visitor:["types"],fields:{types:(0,n.validateArrayOfType)("TSType")}};a("TSUnionType",h),a("TSIntersectionType",h),a("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")}}),a("TSInferType",{aliases:["TSType"],visitor:["typeParameter"],fields:{typeParameter:(0,n.validateType)("TSTypeParameter")}}),a("TSParenthesizedType",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{typeAnnotation:(0,n.validateType)("TSType")}}),a("TSTypeOperator",{aliases:["TSType"],visitor:["typeAnnotation"],fields:{operator:(0,n.validate)((0,n.assertValueType)("string")),typeAnnotation:(0,n.validateType)("TSType")}}),a("TSIndexedAccessType",{aliases:["TSType"],visitor:["objectType","indexType"],fields:{objectType:(0,n.validateType)("TSType"),indexType:(0,n.validateType)("TSType")}}),a("TSMappedType",{aliases:["TSType"],visitor:["typeParameter","typeAnnotation","nameType"],fields:{readonly:(0,n.validateOptional)(o),typeParameter:(0,n.validateType)("TSTypeParameter"),optional:(0,n.validateOptional)(o),typeAnnotation:(0,n.validateOptionalType)("TSType"),nameType:(0,n.validateOptionalType)("TSType")}}),a("TSLiteralType",{aliases:["TSType","TSBaseType"],visitor:["literal"],fields:{literal:{validate:function(){const e=(0,n.assertNodeType)("NumericLiteral","BigIntLiteral"),t=(0,n.assertOneOf)("-"),r=(0,n.assertNodeType)("NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral");function i(n,i,a){(0,s.default)("UnaryExpression",a)?(t(a,"operator",a.operator),e(a,"argument",a.argument)):r(n,i,a)}return i.oneOfNodeTypes=["NumericLiteral","StringLiteral","BooleanLiteral","BigIntLiteral","UnaryExpression"],i}()}}}),a("TSExpressionWithTypeArguments",{aliases:["TSType"],visitor:["expression","typeParameters"],fields:{expression:(0,n.validateType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSInterfaceDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","extends","body"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),extends:(0,n.validateOptional)((0,n.arrayOfType)("TSExpressionWithTypeArguments")),body:(0,n.validateType)("TSInterfaceBody")}}),a("TSInterfaceBody",{visitor:["body"],fields:{body:(0,n.validateArrayOfType)("TSTypeElement")}}),a("TSTypeAliasDeclaration",{aliases:["Statement","Declaration"],visitor:["id","typeParameters","typeAnnotation"],fields:{declare:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterDeclaration"),typeAnnotation:(0,n.validateType)("TSType")}}),a("TSAsExpression",{aliases:["Expression"],visitor:["expression","typeAnnotation"],fields:{expression:(0,n.validateType)("Expression"),typeAnnotation:(0,n.validateType)("TSType")}}),a("TSTypeAssertion",{aliases:["Expression"],visitor:["typeAnnotation","expression"],fields:{typeAnnotation:(0,n.validateType)("TSType"),expression:(0,n.validateType)("Expression")}}),a("TSEnumDeclaration",{aliases:["Statement","Declaration"],visitor:["id","members"],fields:{declare:(0,n.validateOptional)(o),const:(0,n.validateOptional)(o),id:(0,n.validateType)("Identifier"),members:(0,n.validateArrayOfType)("TSEnumMember"),initializer:(0,n.validateOptionalType)("Expression")}}),a("TSEnumMember",{visitor:["id","initializer"],fields:{id:(0,n.validateType)(["Identifier","StringLiteral"]),initializer:(0,n.validateOptionalType)("Expression")}}),a("TSModuleDeclaration",{aliases:["Statement","Declaration"],visitor:["id","body"],fields:{declare:(0,n.validateOptional)(o),global:(0,n.validateOptional)(o),id:(0,n.validateType)(["Identifier","StringLiteral"]),body:(0,n.validateType)(["TSModuleBlock","TSModuleDeclaration"])}}),a("TSModuleBlock",{aliases:["Scopable","Block","BlockParent"],visitor:["body"],fields:{body:(0,n.validateArrayOfType)("Statement")}}),a("TSImportType",{aliases:["TSType"],visitor:["argument","qualifier","typeParameters"],fields:{argument:(0,n.validateType)("StringLiteral"),qualifier:(0,n.validateOptionalType)("TSEntityName"),typeParameters:(0,n.validateOptionalType)("TSTypeParameterInstantiation")}}),a("TSImportEqualsDeclaration",{aliases:["Statement"],visitor:["id","moduleReference"],fields:{isExport:(0,n.validate)(o),id:(0,n.validateType)("Identifier"),moduleReference:(0,n.validateType)(["TSEntityName","TSExternalModuleReference"]),importKind:{validate:(0,n.assertOneOf)("type","value"),optional:!0}}}),a("TSExternalModuleReference",{visitor:["expression"],fields:{expression:(0,n.validateType)("StringLiteral")}}),a("TSNonNullExpression",{aliases:["Expression"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),a("TSExportAssignment",{aliases:["Statement"],visitor:["expression"],fields:{expression:(0,n.validateType)("Expression")}}),a("TSNamespaceExportDeclaration",{aliases:["Statement"],visitor:["id"],fields:{id:(0,n.validateType)("Identifier")}}),a("TSTypeAnnotation",{visitor:["typeAnnotation"],fields:{typeAnnotation:{validate:(0,n.assertNodeType)("TSType")}}}),a("TSTypeParameterInstantiation",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSType")))}}}),a("TSTypeParameterDeclaration",{visitor:["params"],fields:{params:{validate:(0,n.chain)((0,n.assertValueType)("array"),(0,n.assertEach)((0,n.assertNodeType)("TSTypeParameter")))}}}),a("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,n.default)(e)){var t;const r=null!=(t=null==e?void 0:e.type)?t:JSON.stringify(e);throw new TypeError(`Not a valid node of type "${r}"`)}};var n=r(234)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.assertAnyTypeAnnotation=function(e,t){i("AnyTypeAnnotation",e,t)},t.assertArgumentPlaceholder=function(e,t){i("ArgumentPlaceholder",e,t)},t.assertArrayExpression=function(e,t){i("ArrayExpression",e,t)},t.assertArrayPattern=function(e,t){i("ArrayPattern",e,t)},t.assertArrayTypeAnnotation=function(e,t){i("ArrayTypeAnnotation",e,t)},t.assertArrowFunctionExpression=function(e,t){i("ArrowFunctionExpression",e,t)},t.assertAssignmentExpression=function(e,t){i("AssignmentExpression",e,t)},t.assertAssignmentPattern=function(e,t){i("AssignmentPattern",e,t)},t.assertAwaitExpression=function(e,t){i("AwaitExpression",e,t)},t.assertBigIntLiteral=function(e,t){i("BigIntLiteral",e,t)},t.assertBinary=function(e,t){i("Binary",e,t)},t.assertBinaryExpression=function(e,t){i("BinaryExpression",e,t)},t.assertBindExpression=function(e,t){i("BindExpression",e,t)},t.assertBlock=function(e,t){i("Block",e,t)},t.assertBlockParent=function(e,t){i("BlockParent",e,t)},t.assertBlockStatement=function(e,t){i("BlockStatement",e,t)},t.assertBooleanLiteral=function(e,t){i("BooleanLiteral",e,t)},t.assertBooleanLiteralTypeAnnotation=function(e,t){i("BooleanLiteralTypeAnnotation",e,t)},t.assertBooleanTypeAnnotation=function(e,t){i("BooleanTypeAnnotation",e,t)},t.assertBreakStatement=function(e,t){i("BreakStatement",e,t)},t.assertCallExpression=function(e,t){i("CallExpression",e,t)},t.assertCatchClause=function(e,t){i("CatchClause",e,t)},t.assertClass=function(e,t){i("Class",e,t)},t.assertClassBody=function(e,t){i("ClassBody",e,t)},t.assertClassDeclaration=function(e,t){i("ClassDeclaration",e,t)},t.assertClassExpression=function(e,t){i("ClassExpression",e,t)},t.assertClassImplements=function(e,t){i("ClassImplements",e,t)},t.assertClassMethod=function(e,t){i("ClassMethod",e,t)},t.assertClassPrivateMethod=function(e,t){i("ClassPrivateMethod",e,t)},t.assertClassPrivateProperty=function(e,t){i("ClassPrivateProperty",e,t)},t.assertClassProperty=function(e,t){i("ClassProperty",e,t)},t.assertCompletionStatement=function(e,t){i("CompletionStatement",e,t)},t.assertConditional=function(e,t){i("Conditional",e,t)},t.assertConditionalExpression=function(e,t){i("ConditionalExpression",e,t)},t.assertContinueStatement=function(e,t){i("ContinueStatement",e,t)},t.assertDebuggerStatement=function(e,t){i("DebuggerStatement",e,t)},t.assertDecimalLiteral=function(e,t){i("DecimalLiteral",e,t)},t.assertDeclaration=function(e,t){i("Declaration",e,t)},t.assertDeclareClass=function(e,t){i("DeclareClass",e,t)},t.assertDeclareExportAllDeclaration=function(e,t){i("DeclareExportAllDeclaration",e,t)},t.assertDeclareExportDeclaration=function(e,t){i("DeclareExportDeclaration",e,t)},t.assertDeclareFunction=function(e,t){i("DeclareFunction",e,t)},t.assertDeclareInterface=function(e,t){i("DeclareInterface",e,t)},t.assertDeclareModule=function(e,t){i("DeclareModule",e,t)},t.assertDeclareModuleExports=function(e,t){i("DeclareModuleExports",e,t)},t.assertDeclareOpaqueType=function(e,t){i("DeclareOpaqueType",e,t)},t.assertDeclareTypeAlias=function(e,t){i("DeclareTypeAlias",e,t)},t.assertDeclareVariable=function(e,t){i("DeclareVariable",e,t)},t.assertDeclaredPredicate=function(e,t){i("DeclaredPredicate",e,t)},t.assertDecorator=function(e,t){i("Decorator",e,t)},t.assertDirective=function(e,t){i("Directive",e,t)},t.assertDirectiveLiteral=function(e,t){i("DirectiveLiteral",e,t)},t.assertDoExpression=function(e,t){i("DoExpression",e,t)},t.assertDoWhileStatement=function(e,t){i("DoWhileStatement",e,t)},t.assertEmptyStatement=function(e,t){i("EmptyStatement",e,t)},t.assertEmptyTypeAnnotation=function(e,t){i("EmptyTypeAnnotation",e,t)},t.assertEnumBody=function(e,t){i("EnumBody",e,t)},t.assertEnumBooleanBody=function(e,t){i("EnumBooleanBody",e,t)},t.assertEnumBooleanMember=function(e,t){i("EnumBooleanMember",e,t)},t.assertEnumDeclaration=function(e,t){i("EnumDeclaration",e,t)},t.assertEnumDefaultedMember=function(e,t){i("EnumDefaultedMember",e,t)},t.assertEnumMember=function(e,t){i("EnumMember",e,t)},t.assertEnumNumberBody=function(e,t){i("EnumNumberBody",e,t)},t.assertEnumNumberMember=function(e,t){i("EnumNumberMember",e,t)},t.assertEnumStringBody=function(e,t){i("EnumStringBody",e,t)},t.assertEnumStringMember=function(e,t){i("EnumStringMember",e,t)},t.assertEnumSymbolBody=function(e,t){i("EnumSymbolBody",e,t)},t.assertExistsTypeAnnotation=function(e,t){i("ExistsTypeAnnotation",e,t)},t.assertExportAllDeclaration=function(e,t){i("ExportAllDeclaration",e,t)},t.assertExportDeclaration=function(e,t){i("ExportDeclaration",e,t)},t.assertExportDefaultDeclaration=function(e,t){i("ExportDefaultDeclaration",e,t)},t.assertExportDefaultSpecifier=function(e,t){i("ExportDefaultSpecifier",e,t)},t.assertExportNamedDeclaration=function(e,t){i("ExportNamedDeclaration",e,t)},t.assertExportNamespaceSpecifier=function(e,t){i("ExportNamespaceSpecifier",e,t)},t.assertExportSpecifier=function(e,t){i("ExportSpecifier",e,t)},t.assertExpression=function(e,t){i("Expression",e,t)},t.assertExpressionStatement=function(e,t){i("ExpressionStatement",e,t)},t.assertExpressionWrapper=function(e,t){i("ExpressionWrapper",e,t)},t.assertFile=function(e,t){i("File",e,t)},t.assertFlow=function(e,t){i("Flow",e,t)},t.assertFlowBaseAnnotation=function(e,t){i("FlowBaseAnnotation",e,t)},t.assertFlowDeclaration=function(e,t){i("FlowDeclaration",e,t)},t.assertFlowPredicate=function(e,t){i("FlowPredicate",e,t)},t.assertFlowType=function(e,t){i("FlowType",e,t)},t.assertFor=function(e,t){i("For",e,t)},t.assertForInStatement=function(e,t){i("ForInStatement",e,t)},t.assertForOfStatement=function(e,t){i("ForOfStatement",e,t)},t.assertForStatement=function(e,t){i("ForStatement",e,t)},t.assertForXStatement=function(e,t){i("ForXStatement",e,t)},t.assertFunction=function(e,t){i("Function",e,t)},t.assertFunctionDeclaration=function(e,t){i("FunctionDeclaration",e,t)},t.assertFunctionExpression=function(e,t){i("FunctionExpression",e,t)},t.assertFunctionParent=function(e,t){i("FunctionParent",e,t)},t.assertFunctionTypeAnnotation=function(e,t){i("FunctionTypeAnnotation",e,t)},t.assertFunctionTypeParam=function(e,t){i("FunctionTypeParam",e,t)},t.assertGenericTypeAnnotation=function(e,t){i("GenericTypeAnnotation",e,t)},t.assertIdentifier=function(e,t){i("Identifier",e,t)},t.assertIfStatement=function(e,t){i("IfStatement",e,t)},t.assertImmutable=function(e,t){i("Immutable",e,t)},t.assertImport=function(e,t){i("Import",e,t)},t.assertImportAttribute=function(e,t){i("ImportAttribute",e,t)},t.assertImportDeclaration=function(e,t){i("ImportDeclaration",e,t)},t.assertImportDefaultSpecifier=function(e,t){i("ImportDefaultSpecifier",e,t)},t.assertImportNamespaceSpecifier=function(e,t){i("ImportNamespaceSpecifier",e,t)},t.assertImportSpecifier=function(e,t){i("ImportSpecifier",e,t)},t.assertIndexedAccessType=function(e,t){i("IndexedAccessType",e,t)},t.assertInferredPredicate=function(e,t){i("InferredPredicate",e,t)},t.assertInterfaceDeclaration=function(e,t){i("InterfaceDeclaration",e,t)},t.assertInterfaceExtends=function(e,t){i("InterfaceExtends",e,t)},t.assertInterfaceTypeAnnotation=function(e,t){i("InterfaceTypeAnnotation",e,t)},t.assertInterpreterDirective=function(e,t){i("InterpreterDirective",e,t)},t.assertIntersectionTypeAnnotation=function(e,t){i("IntersectionTypeAnnotation",e,t)},t.assertJSX=function(e,t){i("JSX",e,t)},t.assertJSXAttribute=function(e,t){i("JSXAttribute",e,t)},t.assertJSXClosingElement=function(e,t){i("JSXClosingElement",e,t)},t.assertJSXClosingFragment=function(e,t){i("JSXClosingFragment",e,t)},t.assertJSXElement=function(e,t){i("JSXElement",e,t)},t.assertJSXEmptyExpression=function(e,t){i("JSXEmptyExpression",e,t)},t.assertJSXExpressionContainer=function(e,t){i("JSXExpressionContainer",e,t)},t.assertJSXFragment=function(e,t){i("JSXFragment",e,t)},t.assertJSXIdentifier=function(e,t){i("JSXIdentifier",e,t)},t.assertJSXMemberExpression=function(e,t){i("JSXMemberExpression",e,t)},t.assertJSXNamespacedName=function(e,t){i("JSXNamespacedName",e,t)},t.assertJSXOpeningElement=function(e,t){i("JSXOpeningElement",e,t)},t.assertJSXOpeningFragment=function(e,t){i("JSXOpeningFragment",e,t)},t.assertJSXSpreadAttribute=function(e,t){i("JSXSpreadAttribute",e,t)},t.assertJSXSpreadChild=function(e,t){i("JSXSpreadChild",e,t)},t.assertJSXText=function(e,t){i("JSXText",e,t)},t.assertLVal=function(e,t){i("LVal",e,t)},t.assertLabeledStatement=function(e,t){i("LabeledStatement",e,t)},t.assertLiteral=function(e,t){i("Literal",e,t)},t.assertLogicalExpression=function(e,t){i("LogicalExpression",e,t)},t.assertLoop=function(e,t){i("Loop",e,t)},t.assertMemberExpression=function(e,t){i("MemberExpression",e,t)},t.assertMetaProperty=function(e,t){i("MetaProperty",e,t)},t.assertMethod=function(e,t){i("Method",e,t)},t.assertMiscellaneous=function(e,t){i("Miscellaneous",e,t)},t.assertMixedTypeAnnotation=function(e,t){i("MixedTypeAnnotation",e,t)},t.assertModuleDeclaration=function(e,t){i("ModuleDeclaration",e,t)},t.assertModuleExpression=function(e,t){i("ModuleExpression",e,t)},t.assertModuleSpecifier=function(e,t){i("ModuleSpecifier",e,t)},t.assertNewExpression=function(e,t){i("NewExpression",e,t)},t.assertNoop=function(e,t){i("Noop",e,t)},t.assertNullLiteral=function(e,t){i("NullLiteral",e,t)},t.assertNullLiteralTypeAnnotation=function(e,t){i("NullLiteralTypeAnnotation",e,t)},t.assertNullableTypeAnnotation=function(e,t){i("NullableTypeAnnotation",e,t)},t.assertNumberLiteral=function(e,t){console.trace("The node type NumberLiteral has been renamed to NumericLiteral"),i("NumberLiteral",e,t)},t.assertNumberLiteralTypeAnnotation=function(e,t){i("NumberLiteralTypeAnnotation",e,t)},t.assertNumberTypeAnnotation=function(e,t){i("NumberTypeAnnotation",e,t)},t.assertNumericLiteral=function(e,t){i("NumericLiteral",e,t)},t.assertObjectExpression=function(e,t){i("ObjectExpression",e,t)},t.assertObjectMember=function(e,t){i("ObjectMember",e,t)},t.assertObjectMethod=function(e,t){i("ObjectMethod",e,t)},t.assertObjectPattern=function(e,t){i("ObjectPattern",e,t)},t.assertObjectProperty=function(e,t){i("ObjectProperty",e,t)},t.assertObjectTypeAnnotation=function(e,t){i("ObjectTypeAnnotation",e,t)},t.assertObjectTypeCallProperty=function(e,t){i("ObjectTypeCallProperty",e,t)},t.assertObjectTypeIndexer=function(e,t){i("ObjectTypeIndexer",e,t)},t.assertObjectTypeInternalSlot=function(e,t){i("ObjectTypeInternalSlot",e,t)},t.assertObjectTypeProperty=function(e,t){i("ObjectTypeProperty",e,t)},t.assertObjectTypeSpreadProperty=function(e,t){i("ObjectTypeSpreadProperty",e,t)},t.assertOpaqueType=function(e,t){i("OpaqueType",e,t)},t.assertOptionalCallExpression=function(e,t){i("OptionalCallExpression",e,t)},t.assertOptionalIndexedAccessType=function(e,t){i("OptionalIndexedAccessType",e,t)},t.assertOptionalMemberExpression=function(e,t){i("OptionalMemberExpression",e,t)},t.assertParenthesizedExpression=function(e,t){i("ParenthesizedExpression",e,t)},t.assertPattern=function(e,t){i("Pattern",e,t)},t.assertPatternLike=function(e,t){i("PatternLike",e,t)},t.assertPipelineBareFunction=function(e,t){i("PipelineBareFunction",e,t)},t.assertPipelinePrimaryTopicReference=function(e,t){i("PipelinePrimaryTopicReference",e,t)},t.assertPipelineTopicExpression=function(e,t){i("PipelineTopicExpression",e,t)},t.assertPlaceholder=function(e,t){i("Placeholder",e,t)},t.assertPrivate=function(e,t){i("Private",e,t)},t.assertPrivateName=function(e,t){i("PrivateName",e,t)},t.assertProgram=function(e,t){i("Program",e,t)},t.assertProperty=function(e,t){i("Property",e,t)},t.assertPureish=function(e,t){i("Pureish",e,t)},t.assertQualifiedTypeIdentifier=function(e,t){i("QualifiedTypeIdentifier",e,t)},t.assertRecordExpression=function(e,t){i("RecordExpression",e,t)},t.assertRegExpLiteral=function(e,t){i("RegExpLiteral",e,t)},t.assertRegexLiteral=function(e,t){console.trace("The node type RegexLiteral has been renamed to RegExpLiteral"),i("RegexLiteral",e,t)},t.assertRestElement=function(e,t){i("RestElement",e,t)},t.assertRestProperty=function(e,t){console.trace("The node type RestProperty has been renamed to RestElement"),i("RestProperty",e,t)},t.assertReturnStatement=function(e,t){i("ReturnStatement",e,t)},t.assertScopable=function(e,t){i("Scopable",e,t)},t.assertSequenceExpression=function(e,t){i("SequenceExpression",e,t)},t.assertSpreadElement=function(e,t){i("SpreadElement",e,t)},t.assertSpreadProperty=function(e,t){console.trace("The node type SpreadProperty has been renamed to SpreadElement"),i("SpreadProperty",e,t)},t.assertStandardized=function(e,t){i("Standardized",e,t)},t.assertStatement=function(e,t){i("Statement",e,t)},t.assertStaticBlock=function(e,t){i("StaticBlock",e,t)},t.assertStringLiteral=function(e,t){i("StringLiteral",e,t)},t.assertStringLiteralTypeAnnotation=function(e,t){i("StringLiteralTypeAnnotation",e,t)},t.assertStringTypeAnnotation=function(e,t){i("StringTypeAnnotation",e,t)},t.assertSuper=function(e,t){i("Super",e,t)},t.assertSwitchCase=function(e,t){i("SwitchCase",e,t)},t.assertSwitchStatement=function(e,t){i("SwitchStatement",e,t)},t.assertSymbolTypeAnnotation=function(e,t){i("SymbolTypeAnnotation",e,t)},t.assertTSAnyKeyword=function(e,t){i("TSAnyKeyword",e,t)},t.assertTSArrayType=function(e,t){i("TSArrayType",e,t)},t.assertTSAsExpression=function(e,t){i("TSAsExpression",e,t)},t.assertTSBaseType=function(e,t){i("TSBaseType",e,t)},t.assertTSBigIntKeyword=function(e,t){i("TSBigIntKeyword",e,t)},t.assertTSBooleanKeyword=function(e,t){i("TSBooleanKeyword",e,t)},t.assertTSCallSignatureDeclaration=function(e,t){i("TSCallSignatureDeclaration",e,t)},t.assertTSConditionalType=function(e,t){i("TSConditionalType",e,t)},t.assertTSConstructSignatureDeclaration=function(e,t){i("TSConstructSignatureDeclaration",e,t)},t.assertTSConstructorType=function(e,t){i("TSConstructorType",e,t)},t.assertTSDeclareFunction=function(e,t){i("TSDeclareFunction",e,t)},t.assertTSDeclareMethod=function(e,t){i("TSDeclareMethod",e,t)},t.assertTSEntityName=function(e,t){i("TSEntityName",e,t)},t.assertTSEnumDeclaration=function(e,t){i("TSEnumDeclaration",e,t)},t.assertTSEnumMember=function(e,t){i("TSEnumMember",e,t)},t.assertTSExportAssignment=function(e,t){i("TSExportAssignment",e,t)},t.assertTSExpressionWithTypeArguments=function(e,t){i("TSExpressionWithTypeArguments",e,t)},t.assertTSExternalModuleReference=function(e,t){i("TSExternalModuleReference",e,t)},t.assertTSFunctionType=function(e,t){i("TSFunctionType",e,t)},t.assertTSImportEqualsDeclaration=function(e,t){i("TSImportEqualsDeclaration",e,t)},t.assertTSImportType=function(e,t){i("TSImportType",e,t)},t.assertTSIndexSignature=function(e,t){i("TSIndexSignature",e,t)},t.assertTSIndexedAccessType=function(e,t){i("TSIndexedAccessType",e,t)},t.assertTSInferType=function(e,t){i("TSInferType",e,t)},t.assertTSInterfaceBody=function(e,t){i("TSInterfaceBody",e,t)},t.assertTSInterfaceDeclaration=function(e,t){i("TSInterfaceDeclaration",e,t)},t.assertTSIntersectionType=function(e,t){i("TSIntersectionType",e,t)},t.assertTSIntrinsicKeyword=function(e,t){i("TSIntrinsicKeyword",e,t)},t.assertTSLiteralType=function(e,t){i("TSLiteralType",e,t)},t.assertTSMappedType=function(e,t){i("TSMappedType",e,t)},t.assertTSMethodSignature=function(e,t){i("TSMethodSignature",e,t)},t.assertTSModuleBlock=function(e,t){i("TSModuleBlock",e,t)},t.assertTSModuleDeclaration=function(e,t){i("TSModuleDeclaration",e,t)},t.assertTSNamedTupleMember=function(e,t){i("TSNamedTupleMember",e,t)},t.assertTSNamespaceExportDeclaration=function(e,t){i("TSNamespaceExportDeclaration",e,t)},t.assertTSNeverKeyword=function(e,t){i("TSNeverKeyword",e,t)},t.assertTSNonNullExpression=function(e,t){i("TSNonNullExpression",e,t)},t.assertTSNullKeyword=function(e,t){i("TSNullKeyword",e,t)},t.assertTSNumberKeyword=function(e,t){i("TSNumberKeyword",e,t)},t.assertTSObjectKeyword=function(e,t){i("TSObjectKeyword",e,t)},t.assertTSOptionalType=function(e,t){i("TSOptionalType",e,t)},t.assertTSParameterProperty=function(e,t){i("TSParameterProperty",e,t)},t.assertTSParenthesizedType=function(e,t){i("TSParenthesizedType",e,t)},t.assertTSPropertySignature=function(e,t){i("TSPropertySignature",e,t)},t.assertTSQualifiedName=function(e,t){i("TSQualifiedName",e,t)},t.assertTSRestType=function(e,t){i("TSRestType",e,t)},t.assertTSStringKeyword=function(e,t){i("TSStringKeyword",e,t)},t.assertTSSymbolKeyword=function(e,t){i("TSSymbolKeyword",e,t)},t.assertTSThisType=function(e,t){i("TSThisType",e,t)},t.assertTSTupleType=function(e,t){i("TSTupleType",e,t)},t.assertTSType=function(e,t){i("TSType",e,t)},t.assertTSTypeAliasDeclaration=function(e,t){i("TSTypeAliasDeclaration",e,t)},t.assertTSTypeAnnotation=function(e,t){i("TSTypeAnnotation",e,t)},t.assertTSTypeAssertion=function(e,t){i("TSTypeAssertion",e,t)},t.assertTSTypeElement=function(e,t){i("TSTypeElement",e,t)},t.assertTSTypeLiteral=function(e,t){i("TSTypeLiteral",e,t)},t.assertTSTypeOperator=function(e,t){i("TSTypeOperator",e,t)},t.assertTSTypeParameter=function(e,t){i("TSTypeParameter",e,t)},t.assertTSTypeParameterDeclaration=function(e,t){i("TSTypeParameterDeclaration",e,t)},t.assertTSTypeParameterInstantiation=function(e,t){i("TSTypeParameterInstantiation",e,t)},t.assertTSTypePredicate=function(e,t){i("TSTypePredicate",e,t)},t.assertTSTypeQuery=function(e,t){i("TSTypeQuery",e,t)},t.assertTSTypeReference=function(e,t){i("TSTypeReference",e,t)},t.assertTSUndefinedKeyword=function(e,t){i("TSUndefinedKeyword",e,t)},t.assertTSUnionType=function(e,t){i("TSUnionType",e,t)},t.assertTSUnknownKeyword=function(e,t){i("TSUnknownKeyword",e,t)},t.assertTSVoidKeyword=function(e,t){i("TSVoidKeyword",e,t)},t.assertTaggedTemplateExpression=function(e,t){i("TaggedTemplateExpression",e,t)},t.assertTemplateElement=function(e,t){i("TemplateElement",e,t)},t.assertTemplateLiteral=function(e,t){i("TemplateLiteral",e,t)},t.assertTerminatorless=function(e,t){i("Terminatorless",e,t)},t.assertThisExpression=function(e,t){i("ThisExpression",e,t)},t.assertThisTypeAnnotation=function(e,t){i("ThisTypeAnnotation",e,t)},t.assertThrowStatement=function(e,t){i("ThrowStatement",e,t)},t.assertTopicReference=function(e,t){i("TopicReference",e,t)},t.assertTryStatement=function(e,t){i("TryStatement",e,t)},t.assertTupleExpression=function(e,t){i("TupleExpression",e,t)},t.assertTupleTypeAnnotation=function(e,t){i("TupleTypeAnnotation",e,t)},t.assertTypeAlias=function(e,t){i("TypeAlias",e,t)},t.assertTypeAnnotation=function(e,t){i("TypeAnnotation",e,t)},t.assertTypeCastExpression=function(e,t){i("TypeCastExpression",e,t)},t.assertTypeParameter=function(e,t){i("TypeParameter",e,t)},t.assertTypeParameterDeclaration=function(e,t){i("TypeParameterDeclaration",e,t)},t.assertTypeParameterInstantiation=function(e,t){i("TypeParameterInstantiation",e,t)},t.assertTypeScript=function(e,t){i("TypeScript",e,t)},t.assertTypeofTypeAnnotation=function(e,t){i("TypeofTypeAnnotation",e,t)},t.assertUnaryExpression=function(e,t){i("UnaryExpression",e,t)},t.assertUnaryLike=function(e,t){i("UnaryLike",e,t)},t.assertUnionTypeAnnotation=function(e,t){i("UnionTypeAnnotation",e,t)},t.assertUpdateExpression=function(e,t){i("UpdateExpression",e,t)},t.assertUserWhitespacable=function(e,t){i("UserWhitespacable",e,t)},t.assertV8IntrinsicIdentifier=function(e,t){i("V8IntrinsicIdentifier",e,t)},t.assertVariableDeclaration=function(e,t){i("VariableDeclaration",e,t)},t.assertVariableDeclarator=function(e,t){i("VariableDeclarator",e,t)},t.assertVariance=function(e,t){i("Variance",e,t)},t.assertVoidTypeAnnotation=function(e,t){i("VoidTypeAnnotation",e,t)},t.assertWhile=function(e,t){i("While",e,t)},t.assertWhileStatement=function(e,t){i("WhileStatement",e,t)},t.assertWithStatement=function(e,t){i("WithStatement",e,t)},t.assertYieldExpression=function(e,t){i("YieldExpression",e,t)};var n=r(99);function i(e,t,r){if(!(0,n.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=void 0;var n=r(72),i=function(e){switch(e){case"string":return(0,n.stringTypeAnnotation)();case"number":return(0,n.numberTypeAnnotation)();case"undefined":return(0,n.voidTypeAnnotation)();case"boolean":return(0,n.booleanTypeAnnotation)();case"function":return(0,n.genericTypeAnnotation)((0,n.identifier)("Function"));case"object":return(0,n.genericTypeAnnotation)((0,n.identifier)("Object"));case"symbol":return(0,n.genericTypeAnnotation)((0,n.identifier)("Symbol"));case"bigint":return(0,n.anyTypeAnnotation)()}throw new Error("Invalid typeof value: "+e)};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=(0,i.default)(e);return 1===t.length?t[0]:(0,n.unionTypeAnnotation)(t)};var n=r(72),i=r(235)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.map(e=>e.typeAnnotation),r=(0,i.default)(t);return 1===r.length?r[0]:(0,n.tsUnionType)(r)};var n=r(72),i=r(519)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t={},r={},i=new Set,s=[];for(let a=0;a<e.length;a++){const t=e[a];if(t&&!(s.indexOf(t)>=0)){if((0,n.isTSAnyKeyword)(t))return[t];(0,n.isTSBaseType)(t)?r[t.type]=t:(0,n.isTSUnionType)(t)?i.has(t.types)||(e.push(...t.types),i.add(t.types)):s.push(t)}}for(const n of Object.keys(r))s.push(r[n]);for(const n of Object.keys(t))s.push(t[n]);return s};var n=r(68)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"AnyTypeAnnotation",{enumerable:!0,get:function(){return n.anyTypeAnnotation}}),Object.defineProperty(t,"ArgumentPlaceholder",{enumerable:!0,get:function(){return n.argumentPlaceholder}}),Object.defineProperty(t,"ArrayExpression",{enumerable:!0,get:function(){return n.arrayExpression}}),Object.defineProperty(t,"ArrayPattern",{enumerable:!0,get:function(){return n.arrayPattern}}),Object.defineProperty(t,"ArrayTypeAnnotation",{enumerable:!0,get:function(){return n.arrayTypeAnnotation}}),Object.defineProperty(t,"ArrowFunctionExpression",{enumerable:!0,get:function(){return n.arrowFunctionExpression}}),Object.defineProperty(t,"AssignmentExpression",{enumerable:!0,get:function(){return n.assignmentExpression}}),Object.defineProperty(t,"AssignmentPattern",{enumerable:!0,get:function(){return n.assignmentPattern}}),Object.defineProperty(t,"AwaitExpression",{enumerable:!0,get:function(){return n.awaitExpression}}),Object.defineProperty(t,"BigIntLiteral",{enumerable:!0,get:function(){return n.bigIntLiteral}}),Object.defineProperty(t,"BinaryExpression",{enumerable:!0,get:function(){return n.binaryExpression}}),Object.defineProperty(t,"BindExpression",{enumerable:!0,get:function(){return n.bindExpression}}),Object.defineProperty(t,"BlockStatement",{enumerable:!0,get:function(){return n.blockStatement}}),Object.defineProperty(t,"BooleanLiteral",{enumerable:!0,get:function(){return n.booleanLiteral}}),Object.defineProperty(t,"BooleanLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.booleanLiteralTypeAnnotation}}),Object.defineProperty(t,"BooleanTypeAnnotation",{enumerable:!0,get:function(){return n.booleanTypeAnnotation}}),Object.defineProperty(t,"BreakStatement",{enumerable:!0,get:function(){return n.breakStatement}}),Object.defineProperty(t,"CallExpression",{enumerable:!0,get:function(){return n.callExpression}}),Object.defineProperty(t,"CatchClause",{enumerable:!0,get:function(){return n.catchClause}}),Object.defineProperty(t,"ClassBody",{enumerable:!0,get:function(){return n.classBody}}),Object.defineProperty(t,"ClassDeclaration",{enumerable:!0,get:function(){return n.classDeclaration}}),Object.defineProperty(t,"ClassExpression",{enumerable:!0,get:function(){return n.classExpression}}),Object.defineProperty(t,"ClassImplements",{enumerable:!0,get:function(){return n.classImplements}}),Object.defineProperty(t,"ClassMethod",{enumerable:!0,get:function(){return n.classMethod}}),Object.defineProperty(t,"ClassPrivateMethod",{enumerable:!0,get:function(){return n.classPrivateMethod}}),Object.defineProperty(t,"ClassPrivateProperty",{enumerable:!0,get:function(){return n.classPrivateProperty}}),Object.defineProperty(t,"ClassProperty",{enumerable:!0,get:function(){return n.classProperty}}),Object.defineProperty(t,"ConditionalExpression",{enumerable:!0,get:function(){return n.conditionalExpression}}),Object.defineProperty(t,"ContinueStatement",{enumerable:!0,get:function(){return n.continueStatement}}),Object.defineProperty(t,"DebuggerStatement",{enumerable:!0,get:function(){return n.debuggerStatement}}),Object.defineProperty(t,"DecimalLiteral",{enumerable:!0,get:function(){return n.decimalLiteral}}),Object.defineProperty(t,"DeclareClass",{enumerable:!0,get:function(){return n.declareClass}}),Object.defineProperty(t,"DeclareExportAllDeclaration",{enumerable:!0,get:function(){return n.declareExportAllDeclaration}}),Object.defineProperty(t,"DeclareExportDeclaration",{enumerable:!0,get:function(){return n.declareExportDeclaration}}),Object.defineProperty(t,"DeclareFunction",{enumerable:!0,get:function(){return n.declareFunction}}),Object.defineProperty(t,"DeclareInterface",{enumerable:!0,get:function(){return n.declareInterface}}),Object.defineProperty(t,"DeclareModule",{enumerable:!0,get:function(){return n.declareModule}}),Object.defineProperty(t,"DeclareModuleExports",{enumerable:!0,get:function(){return n.declareModuleExports}}),Object.defineProperty(t,"DeclareOpaqueType",{enumerable:!0,get:function(){return n.declareOpaqueType}}),Object.defineProperty(t,"DeclareTypeAlias",{enumerable:!0,get:function(){return n.declareTypeAlias}}),Object.defineProperty(t,"DeclareVariable",{enumerable:!0,get:function(){return n.declareVariable}}),Object.defineProperty(t,"DeclaredPredicate",{enumerable:!0,get:function(){return n.declaredPredicate}}),Object.defineProperty(t,"Decorator",{enumerable:!0,get:function(){return n.decorator}}),Object.defineProperty(t,"Directive",{enumerable:!0,get:function(){return n.directive}}),Object.defineProperty(t,"DirectiveLiteral",{enumerable:!0,get:function(){return n.directiveLiteral}}),Object.defineProperty(t,"DoExpression",{enumerable:!0,get:function(){return n.doExpression}}),Object.defineProperty(t,"DoWhileStatement",{enumerable:!0,get:function(){return n.doWhileStatement}}),Object.defineProperty(t,"EmptyStatement",{enumerable:!0,get:function(){return n.emptyStatement}}),Object.defineProperty(t,"EmptyTypeAnnotation",{enumerable:!0,get:function(){return n.emptyTypeAnnotation}}),Object.defineProperty(t,"EnumBooleanBody",{enumerable:!0,get:function(){return n.enumBooleanBody}}),Object.defineProperty(t,"EnumBooleanMember",{enumerable:!0,get:function(){return n.enumBooleanMember}}),Object.defineProperty(t,"EnumDeclaration",{enumerable:!0,get:function(){return n.enumDeclaration}}),Object.defineProperty(t,"EnumDefaultedMember",{enumerable:!0,get:function(){return n.enumDefaultedMember}}),Object.defineProperty(t,"EnumNumberBody",{enumerable:!0,get:function(){return n.enumNumberBody}}),Object.defineProperty(t,"EnumNumberMember",{enumerable:!0,get:function(){return n.enumNumberMember}}),Object.defineProperty(t,"EnumStringBody",{enumerable:!0,get:function(){return n.enumStringBody}}),Object.defineProperty(t,"EnumStringMember",{enumerable:!0,get:function(){return n.enumStringMember}}),Object.defineProperty(t,"EnumSymbolBody",{enumerable:!0,get:function(){return n.enumSymbolBody}}),Object.defineProperty(t,"ExistsTypeAnnotation",{enumerable:!0,get:function(){return n.existsTypeAnnotation}}),Object.defineProperty(t,"ExportAllDeclaration",{enumerable:!0,get:function(){return n.exportAllDeclaration}}),Object.defineProperty(t,"ExportDefaultDeclaration",{enumerable:!0,get:function(){return n.exportDefaultDeclaration}}),Object.defineProperty(t,"ExportDefaultSpecifier",{enumerable:!0,get:function(){return n.exportDefaultSpecifier}}),Object.defineProperty(t,"ExportNamedDeclaration",{enumerable:!0,get:function(){return n.exportNamedDeclaration}}),Object.defineProperty(t,"ExportNamespaceSpecifier",{enumerable:!0,get:function(){return n.exportNamespaceSpecifier}}),Object.defineProperty(t,"ExportSpecifier",{enumerable:!0,get:function(){return n.exportSpecifier}}),Object.defineProperty(t,"ExpressionStatement",{enumerable:!0,get:function(){return n.expressionStatement}}),Object.defineProperty(t,"File",{enumerable:!0,get:function(){return n.file}}),Object.defineProperty(t,"ForInStatement",{enumerable:!0,get:function(){return n.forInStatement}}),Object.defineProperty(t,"ForOfStatement",{enumerable:!0,get:function(){return n.forOfStatement}}),Object.defineProperty(t,"ForStatement",{enumerable:!0,get:function(){return n.forStatement}}),Object.defineProperty(t,"FunctionDeclaration",{enumerable:!0,get:function(){return n.functionDeclaration}}),Object.defineProperty(t,"FunctionExpression",{enumerable:!0,get:function(){return n.functionExpression}}),Object.defineProperty(t,"FunctionTypeAnnotation",{enumerable:!0,get:function(){return n.functionTypeAnnotation}}),Object.defineProperty(t,"FunctionTypeParam",{enumerable:!0,get:function(){return n.functionTypeParam}}),Object.defineProperty(t,"GenericTypeAnnotation",{enumerable:!0,get:function(){return n.genericTypeAnnotation}}),Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return n.identifier}}),Object.defineProperty(t,"IfStatement",{enumerable:!0,get:function(){return n.ifStatement}}),Object.defineProperty(t,"Import",{enumerable:!0,get:function(){return n.import}}),Object.defineProperty(t,"ImportAttribute",{enumerable:!0,get:function(){return n.importAttribute}}),Object.defineProperty(t,"ImportDeclaration",{enumerable:!0,get:function(){return n.importDeclaration}}),Object.defineProperty(t,"ImportDefaultSpecifier",{enumerable:!0,get:function(){return n.importDefaultSpecifier}}),Object.defineProperty(t,"ImportNamespaceSpecifier",{enumerable:!0,get:function(){return n.importNamespaceSpecifier}}),Object.defineProperty(t,"ImportSpecifier",{enumerable:!0,get:function(){return n.importSpecifier}}),Object.defineProperty(t,"IndexedAccessType",{enumerable:!0,get:function(){return n.indexedAccessType}}),Object.defineProperty(t,"InferredPredicate",{enumerable:!0,get:function(){return n.inferredPredicate}}),Object.defineProperty(t,"InterfaceDeclaration",{enumerable:!0,get:function(){return n.interfaceDeclaration}}),Object.defineProperty(t,"InterfaceExtends",{enumerable:!0,get:function(){return n.interfaceExtends}}),Object.defineProperty(t,"InterfaceTypeAnnotation",{enumerable:!0,get:function(){return n.interfaceTypeAnnotation}}),Object.defineProperty(t,"InterpreterDirective",{enumerable:!0,get:function(){return n.interpreterDirective}}),Object.defineProperty(t,"IntersectionTypeAnnotation",{enumerable:!0,get:function(){return n.intersectionTypeAnnotation}}),Object.defineProperty(t,"JSXAttribute",{enumerable:!0,get:function(){return n.jsxAttribute}}),Object.defineProperty(t,"JSXClosingElement",{enumerable:!0,get:function(){return n.jsxClosingElement}}),Object.defineProperty(t,"JSXClosingFragment",{enumerable:!0,get:function(){return n.jsxClosingFragment}}),Object.defineProperty(t,"JSXElement",{enumerable:!0,get:function(){return n.jsxElement}}),Object.defineProperty(t,"JSXEmptyExpression",{enumerable:!0,get:function(){return n.jsxEmptyExpression}}),Object.defineProperty(t,"JSXExpressionContainer",{enumerable:!0,get:function(){return n.jsxExpressionContainer}}),Object.defineProperty(t,"JSXFragment",{enumerable:!0,get:function(){return n.jsxFragment}}),Object.defineProperty(t,"JSXIdentifier",{enumerable:!0,get:function(){return n.jsxIdentifier}}),Object.defineProperty(t,"JSXMemberExpression",{enumerable:!0,get:function(){return n.jsxMemberExpression}}),Object.defineProperty(t,"JSXNamespacedName",{enumerable:!0,get:function(){return n.jsxNamespacedName}}),Object.defineProperty(t,"JSXOpeningElement",{enumerable:!0,get:function(){return n.jsxOpeningElement}}),Object.defineProperty(t,"JSXOpeningFragment",{enumerable:!0,get:function(){return n.jsxOpeningFragment}}),Object.defineProperty(t,"JSXSpreadAttribute",{enumerable:!0,get:function(){return n.jsxSpreadAttribute}}),Object.defineProperty(t,"JSXSpreadChild",{enumerable:!0,get:function(){return n.jsxSpreadChild}}),Object.defineProperty(t,"JSXText",{enumerable:!0,get:function(){return n.jsxText}}),Object.defineProperty(t,"LabeledStatement",{enumerable:!0,get:function(){return n.labeledStatement}}),Object.defineProperty(t,"LogicalExpression",{enumerable:!0,get:function(){return n.logicalExpression}}),Object.defineProperty(t,"MemberExpression",{enumerable:!0,get:function(){return n.memberExpression}}),Object.defineProperty(t,"MetaProperty",{enumerable:!0,get:function(){return n.metaProperty}}),Object.defineProperty(t,"MixedTypeAnnotation",{enumerable:!0,get:function(){return n.mixedTypeAnnotation}}),Object.defineProperty(t,"ModuleExpression",{enumerable:!0,get:function(){return n.moduleExpression}}),Object.defineProperty(t,"NewExpression",{enumerable:!0,get:function(){return n.newExpression}}),Object.defineProperty(t,"Noop",{enumerable:!0,get:function(){return n.noop}}),Object.defineProperty(t,"NullLiteral",{enumerable:!0,get:function(){return n.nullLiteral}}),Object.defineProperty(t,"NullLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.nullLiteralTypeAnnotation}}),Object.defineProperty(t,"NullableTypeAnnotation",{enumerable:!0,get:function(){return n.nullableTypeAnnotation}}),Object.defineProperty(t,"NumberLiteral",{enumerable:!0,get:function(){return n.numberLiteral}}),Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.numberLiteralTypeAnnotation}}),Object.defineProperty(t,"NumberTypeAnnotation",{enumerable:!0,get:function(){return n.numberTypeAnnotation}}),Object.defineProperty(t,"NumericLiteral",{enumerable:!0,get:function(){return n.numericLiteral}}),Object.defineProperty(t,"ObjectExpression",{enumerable:!0,get:function(){return n.objectExpression}}),Object.defineProperty(t,"ObjectMethod",{enumerable:!0,get:function(){return n.objectMethod}}),Object.defineProperty(t,"ObjectPattern",{enumerable:!0,get:function(){return n.objectPattern}}),Object.defineProperty(t,"ObjectProperty",{enumerable:!0,get:function(){return n.objectProperty}}),Object.defineProperty(t,"ObjectTypeAnnotation",{enumerable:!0,get:function(){return n.objectTypeAnnotation}}),Object.defineProperty(t,"ObjectTypeCallProperty",{enumerable:!0,get:function(){return n.objectTypeCallProperty}}),Object.defineProperty(t,"ObjectTypeIndexer",{enumerable:!0,get:function(){return n.objectTypeIndexer}}),Object.defineProperty(t,"ObjectTypeInternalSlot",{enumerable:!0,get:function(){return n.objectTypeInternalSlot}}),Object.defineProperty(t,"ObjectTypeProperty",{enumerable:!0,get:function(){return n.objectTypeProperty}}),Object.defineProperty(t,"ObjectTypeSpreadProperty",{enumerable:!0,get:function(){return n.objectTypeSpreadProperty}}),Object.defineProperty(t,"OpaqueType",{enumerable:!0,get:function(){return n.opaqueType}}),Object.defineProperty(t,"OptionalCallExpression",{enumerable:!0,get:function(){return n.optionalCallExpression}}),Object.defineProperty(t,"OptionalIndexedAccessType",{enumerable:!0,get:function(){return n.optionalIndexedAccessType}}),Object.defineProperty(t,"OptionalMemberExpression",{enumerable:!0,get:function(){return n.optionalMemberExpression}}),Object.defineProperty(t,"ParenthesizedExpression",{enumerable:!0,get:function(){return n.parenthesizedExpression}}),Object.defineProperty(t,"PipelineBareFunction",{enumerable:!0,get:function(){return n.pipelineBareFunction}}),Object.defineProperty(t,"PipelinePrimaryTopicReference",{enumerable:!0,get:function(){return n.pipelinePrimaryTopicReference}}),Object.defineProperty(t,"PipelineTopicExpression",{enumerable:!0,get:function(){return n.pipelineTopicExpression}}),Object.defineProperty(t,"Placeholder",{enumerable:!0,get:function(){return n.placeholder}}),Object.defineProperty(t,"PrivateName",{enumerable:!0,get:function(){return n.privateName}}),Object.defineProperty(t,"Program",{enumerable:!0,get:function(){return n.program}}),Object.defineProperty(t,"QualifiedTypeIdentifier",{enumerable:!0,get:function(){return n.qualifiedTypeIdentifier}}),Object.defineProperty(t,"RecordExpression",{enumerable:!0,get:function(){return n.recordExpression}}),Object.defineProperty(t,"RegExpLiteral",{enumerable:!0,get:function(){return n.regExpLiteral}}),Object.defineProperty(t,"RegexLiteral",{enumerable:!0,get:function(){return n.regexLiteral}}),Object.defineProperty(t,"RestElement",{enumerable:!0,get:function(){return n.restElement}}),Object.defineProperty(t,"RestProperty",{enumerable:!0,get:function(){return n.restProperty}}),Object.defineProperty(t,"ReturnStatement",{enumerable:!0,get:function(){return n.returnStatement}}),Object.defineProperty(t,"SequenceExpression",{enumerable:!0,get:function(){return n.sequenceExpression}}),Object.defineProperty(t,"SpreadElement",{enumerable:!0,get:function(){return n.spreadElement}}),Object.defineProperty(t,"SpreadProperty",{enumerable:!0,get:function(){return n.spreadProperty}}),Object.defineProperty(t,"StaticBlock",{enumerable:!0,get:function(){return n.staticBlock}}),Object.defineProperty(t,"StringLiteral",{enumerable:!0,get:function(){return n.stringLiteral}}),Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return n.stringLiteralTypeAnnotation}}),Object.defineProperty(t,"StringTypeAnnotation",{enumerable:!0,get:function(){return n.stringTypeAnnotation}}),Object.defineProperty(t,"Super",{enumerable:!0,get:function(){return n.super}}),Object.defineProperty(t,"SwitchCase",{enumerable:!0,get:function(){return n.switchCase}}),Object.defineProperty(t,"SwitchStatement",{enumerable:!0,get:function(){return n.switchStatement}}),Object.defineProperty(t,"SymbolTypeAnnotation",{enumerable:!0,get:function(){return n.symbolTypeAnnotation}}),Object.defineProperty(t,"TSAnyKeyword",{enumerable:!0,get:function(){return n.tsAnyKeyword}}),Object.defineProperty(t,"TSArrayType",{enumerable:!0,get:function(){return n.tsArrayType}}),Object.defineProperty(t,"TSAsExpression",{enumerable:!0,get:function(){return n.tsAsExpression}}),Object.defineProperty(t,"TSBigIntKeyword",{enumerable:!0,get:function(){return n.tsBigIntKeyword}}),Object.defineProperty(t,"TSBooleanKeyword",{enumerable:!0,get:function(){return n.tsBooleanKeyword}}),Object.defineProperty(t,"TSCallSignatureDeclaration",{enumerable:!0,get:function(){return n.tsCallSignatureDeclaration}}),Object.defineProperty(t,"TSConditionalType",{enumerable:!0,get:function(){return n.tsConditionalType}}),Object.defineProperty(t,"TSConstructSignatureDeclaration",{enumerable:!0,get:function(){return n.tsConstructSignatureDeclaration}}),Object.defineProperty(t,"TSConstructorType",{enumerable:!0,get:function(){return n.tsConstructorType}}),Object.defineProperty(t,"TSDeclareFunction",{enumerable:!0,get:function(){return n.tsDeclareFunction}}),Object.defineProperty(t,"TSDeclareMethod",{enumerable:!0,get:function(){return n.tsDeclareMethod}}),Object.defineProperty(t,"TSEnumDeclaration",{enumerable:!0,get:function(){return n.tsEnumDeclaration}}),Object.defineProperty(t,"TSEnumMember",{enumerable:!0,get:function(){return n.tsEnumMember}}),Object.defineProperty(t,"TSExportAssignment",{enumerable:!0,get:function(){return n.tsExportAssignment}}),Object.defineProperty(t,"TSExpressionWithTypeArguments",{enumerable:!0,get:function(){return n.tsExpressionWithTypeArguments}}),Object.defineProperty(t,"TSExternalModuleReference",{enumerable:!0,get:function(){return n.tsExternalModuleReference}}),Object.defineProperty(t,"TSFunctionType",{enumerable:!0,get:function(){return n.tsFunctionType}}),Object.defineProperty(t,"TSImportEqualsDeclaration",{enumerable:!0,get:function(){return n.tsImportEqualsDeclaration}}),Object.defineProperty(t,"TSImportType",{enumerable:!0,get:function(){return n.tsImportType}}),Object.defineProperty(t,"TSIndexSignature",{enumerable:!0,get:function(){return n.tsIndexSignature}}),Object.defineProperty(t,"TSIndexedAccessType",{enumerable:!0,get:function(){return n.tsIndexedAccessType}}),Object.defineProperty(t,"TSInferType",{enumerable:!0,get:function(){return n.tsInferType}}),Object.defineProperty(t,"TSInterfaceBody",{enumerable:!0,get:function(){return n.tsInterfaceBody}}),Object.defineProperty(t,"TSInterfaceDeclaration",{enumerable:!0,get:function(){return n.tsInterfaceDeclaration}}),Object.defineProperty(t,"TSIntersectionType",{enumerable:!0,get:function(){return n.tsIntersectionType}}),Object.defineProperty(t,"TSIntrinsicKeyword",{enumerable:!0,get:function(){return n.tsIntrinsicKeyword}}),Object.defineProperty(t,"TSLiteralType",{enumerable:!0,get:function(){return n.tsLiteralType}}),Object.defineProperty(t,"TSMappedType",{enumerable:!0,get:function(){return n.tsMappedType}}),Object.defineProperty(t,"TSMethodSignature",{enumerable:!0,get:function(){return n.tsMethodSignature}}),Object.defineProperty(t,"TSModuleBlock",{enumerable:!0,get:function(){return n.tsModuleBlock}}),Object.defineProperty(t,"TSModuleDeclaration",{enumerable:!0,get:function(){return n.tsModuleDeclaration}}),Object.defineProperty(t,"TSNamedTupleMember",{enumerable:!0,get:function(){return n.tsNamedTupleMember}}),Object.defineProperty(t,"TSNamespaceExportDeclaration",{enumerable:!0,get:function(){return n.tsNamespaceExportDeclaration}}),Object.defineProperty(t,"TSNeverKeyword",{enumerable:!0,get:function(){return n.tsNeverKeyword}}),Object.defineProperty(t,"TSNonNullExpression",{enumerable:!0,get:function(){return n.tsNonNullExpression}}),Object.defineProperty(t,"TSNullKeyword",{enumerable:!0,get:function(){return n.tsNullKeyword}}),Object.defineProperty(t,"TSNumberKeyword",{enumerable:!0,get:function(){return n.tsNumberKeyword}}),Object.defineProperty(t,"TSObjectKeyword",{enumerable:!0,get:function(){return n.tsObjectKeyword}}),Object.defineProperty(t,"TSOptionalType",{enumerable:!0,get:function(){return n.tsOptionalType}}),Object.defineProperty(t,"TSParameterProperty",{enumerable:!0,get:function(){return n.tsParameterProperty}}),Object.defineProperty(t,"TSParenthesizedType",{enumerable:!0,get:function(){return n.tsParenthesizedType}}),Object.defineProperty(t,"TSPropertySignature",{enumerable:!0,get:function(){return n.tsPropertySignature}}),Object.defineProperty(t,"TSQualifiedName",{enumerable:!0,get:function(){return n.tsQualifiedName}}),Object.defineProperty(t,"TSRestType",{enumerable:!0,get:function(){return n.tsRestType}}),Object.defineProperty(t,"TSStringKeyword",{enumerable:!0,get:function(){return n.tsStringKeyword}}),Object.defineProperty(t,"TSSymbolKeyword",{enumerable:!0,get:function(){return n.tsSymbolKeyword}}),Object.defineProperty(t,"TSThisType",{enumerable:!0,get:function(){return n.tsThisType}}),Object.defineProperty(t,"TSTupleType",{enumerable:!0,get:function(){return n.tsTupleType}}),Object.defineProperty(t,"TSTypeAliasDeclaration",{enumerable:!0,get:function(){return n.tsTypeAliasDeclaration}}),Object.defineProperty(t,"TSTypeAnnotation",{enumerable:!0,get:function(){return n.tsTypeAnnotation}}),Object.defineProperty(t,"TSTypeAssertion",{enumerable:!0,get:function(){return n.tsTypeAssertion}}),Object.defineProperty(t,"TSTypeLiteral",{enumerable:!0,get:function(){return n.tsTypeLiteral}}),Object.defineProperty(t,"TSTypeOperator",{enumerable:!0,get:function(){return n.tsTypeOperator}}),Object.defineProperty(t,"TSTypeParameter",{enumerable:!0,get:function(){return n.tsTypeParameter}}),Object.defineProperty(t,"TSTypeParameterDeclaration",{enumerable:!0,get:function(){return n.tsTypeParameterDeclaration}}),Object.defineProperty(t,"TSTypeParameterInstantiation",{enumerable:!0,get:function(){return n.tsTypeParameterInstantiation}}),Object.defineProperty(t,"TSTypePredicate",{enumerable:!0,get:function(){return n.tsTypePredicate}}),Object.defineProperty(t,"TSTypeQuery",{enumerable:!0,get:function(){return n.tsTypeQuery}}),Object.defineProperty(t,"TSTypeReference",{enumerable:!0,get:function(){return n.tsTypeReference}}),Object.defineProperty(t,"TSUndefinedKeyword",{enumerable:!0,get:function(){return n.tsUndefinedKeyword}}),Object.defineProperty(t,"TSUnionType",{enumerable:!0,get:function(){return n.tsUnionType}}),Object.defineProperty(t,"TSUnknownKeyword",{enumerable:!0,get:function(){return n.tsUnknownKeyword}}),Object.defineProperty(t,"TSVoidKeyword",{enumerable:!0,get:function(){return n.tsVoidKeyword}}),Object.defineProperty(t,"TaggedTemplateExpression",{enumerable:!0,get:function(){return n.taggedTemplateExpression}}),Object.defineProperty(t,"TemplateElement",{enumerable:!0,get:function(){return n.templateElement}}),Object.defineProperty(t,"TemplateLiteral",{enumerable:!0,get:function(){return n.templateLiteral}}),Object.defineProperty(t,"ThisExpression",{enumerable:!0,get:function(){return n.thisExpression}}),Object.defineProperty(t,"ThisTypeAnnotation",{enumerable:!0,get:function(){return n.thisTypeAnnotation}}),Object.defineProperty(t,"ThrowStatement",{enumerable:!0,get:function(){return n.throwStatement}}),Object.defineProperty(t,"TopicReference",{enumerable:!0,get:function(){return n.topicReference}}),Object.defineProperty(t,"TryStatement",{enumerable:!0,get:function(){return n.tryStatement}}),Object.defineProperty(t,"TupleExpression",{enumerable:!0,get:function(){return n.tupleExpression}}),Object.defineProperty(t,"TupleTypeAnnotation",{enumerable:!0,get:function(){return n.tupleTypeAnnotation}}),Object.defineProperty(t,"TypeAlias",{enumerable:!0,get:function(){return n.typeAlias}}),Object.defineProperty(t,"TypeAnnotation",{enumerable:!0,get:function(){return n.typeAnnotation}}),Object.defineProperty(t,"TypeCastExpression",{enumerable:!0,get:function(){return n.typeCastExpression}}),Object.defineProperty(t,"TypeParameter",{enumerable:!0,get:function(){return n.typeParameter}}),Object.defineProperty(t,"TypeParameterDeclaration",{enumerable:!0,get:function(){return n.typeParameterDeclaration}}),Object.defineProperty(t,"TypeParameterInstantiation",{enumerable:!0,get:function(){return n.typeParameterInstantiation}}),Object.defineProperty(t,"TypeofTypeAnnotation",{enumerable:!0,get:function(){return n.typeofTypeAnnotation}}),Object.defineProperty(t,"UnaryExpression",{enumerable:!0,get:function(){return n.unaryExpression}}),Object.defineProperty(t,"UnionTypeAnnotation",{enumerable:!0,get:function(){return n.unionTypeAnnotation}}),Object.defineProperty(t,"UpdateExpression",{enumerable:!0,get:function(){return n.updateExpression}}),Object.defineProperty(t,"V8IntrinsicIdentifier",{enumerable:!0,get:function(){return n.v8IntrinsicIdentifier}}),Object.defineProperty(t,"VariableDeclaration",{enumerable:!0,get:function(){return n.variableDeclaration}}),Object.defineProperty(t,"VariableDeclarator",{enumerable:!0,get:function(){return n.variableDeclarator}}),Object.defineProperty(t,"Variance",{enumerable:!0,get:function(){return n.variance}}),Object.defineProperty(t,"VoidTypeAnnotation",{enumerable:!0,get:function(){return n.voidTypeAnnotation}}),Object.defineProperty(t,"WhileStatement",{enumerable:!0,get:function(){return n.whileStatement}}),Object.defineProperty(t,"WithStatement",{enumerable:!0,get:function(){return n.withStatement}}),Object.defineProperty(t,"YieldExpression",{enumerable:!0,get:function(){return n.yieldExpression}});var n=r(72)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!1)};var n=r(89)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)};var n=r(89)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!0,!0)};var n=r(89)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e,!1,!0)};var n=r(89)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,i){return(0,n.default)(e,t,[{type:i?"CommentLine":"CommentBlock",value:r}])};var n=r(236)},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(88)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.WHILE_TYPES=t.USERWHITESPACABLE_TYPES=t.UNARYLIKE_TYPES=t.TYPESCRIPT_TYPES=t.TSTYPE_TYPES=t.TSTYPEELEMENT_TYPES=t.TSENTITYNAME_TYPES=t.TSBASETYPE_TYPES=t.TERMINATORLESS_TYPES=t.STATEMENT_TYPES=t.STANDARDIZED_TYPES=t.SCOPABLE_TYPES=t.PUREISH_TYPES=t.PROPERTY_TYPES=t.PRIVATE_TYPES=t.PATTERN_TYPES=t.PATTERNLIKE_TYPES=t.OBJECTMEMBER_TYPES=t.MODULESPECIFIER_TYPES=t.MODULEDECLARATION_TYPES=t.MISCELLANEOUS_TYPES=t.METHOD_TYPES=t.LVAL_TYPES=t.LOOP_TYPES=t.LITERAL_TYPES=t.JSX_TYPES=t.IMMUTABLE_TYPES=t.FUNCTION_TYPES=t.FUNCTIONPARENT_TYPES=t.FOR_TYPES=t.FORXSTATEMENT_TYPES=t.FLOW_TYPES=t.FLOWTYPE_TYPES=t.FLOWPREDICATE_TYPES=t.FLOWDECLARATION_TYPES=t.FLOWBASEANNOTATION_TYPES=t.EXPRESSION_TYPES=t.EXPRESSIONWRAPPER_TYPES=t.EXPORTDECLARATION_TYPES=t.ENUMMEMBER_TYPES=t.ENUMBODY_TYPES=t.DECLARATION_TYPES=t.CONDITIONAL_TYPES=t.COMPLETIONSTATEMENT_TYPES=t.CLASS_TYPES=t.BLOCK_TYPES=t.BLOCKPARENT_TYPES=t.BINARY_TYPES=void 0;var n=r(75);const i=n.FLIPPED_ALIAS_KEYS.Standardized;t.STANDARDIZED_TYPES=i;const s=n.FLIPPED_ALIAS_KEYS.Expression;t.EXPRESSION_TYPES=s;const a=n.FLIPPED_ALIAS_KEYS.Binary;t.BINARY_TYPES=a;const o=n.FLIPPED_ALIAS_KEYS.Scopable;t.SCOPABLE_TYPES=o;const l=n.FLIPPED_ALIAS_KEYS.BlockParent;t.BLOCKPARENT_TYPES=l;const c=n.FLIPPED_ALIAS_KEYS.Block;t.BLOCK_TYPES=c;const u=n.FLIPPED_ALIAS_KEYS.Statement;t.STATEMENT_TYPES=u;const p=n.FLIPPED_ALIAS_KEYS.Terminatorless;t.TERMINATORLESS_TYPES=p;const f=n.FLIPPED_ALIAS_KEYS.CompletionStatement;t.COMPLETIONSTATEMENT_TYPES=f;const d=n.FLIPPED_ALIAS_KEYS.Conditional;t.CONDITIONAL_TYPES=d;const h=n.FLIPPED_ALIAS_KEYS.Loop;t.LOOP_TYPES=h;const m=n.FLIPPED_ALIAS_KEYS.While;t.WHILE_TYPES=m;const y=n.FLIPPED_ALIAS_KEYS.ExpressionWrapper;t.EXPRESSIONWRAPPER_TYPES=y;const g=n.FLIPPED_ALIAS_KEYS.For;t.FOR_TYPES=g;const b=n.FLIPPED_ALIAS_KEYS.ForXStatement;t.FORXSTATEMENT_TYPES=b;const v=n.FLIPPED_ALIAS_KEYS.Function;t.FUNCTION_TYPES=v;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 x=n.FLIPPED_ALIAS_KEYS.PatternLike;t.PATTERNLIKE_TYPES=x;const P=n.FLIPPED_ALIAS_KEYS.LVal;t.LVAL_TYPES=P;const A=n.FLIPPED_ALIAS_KEYS.TSEntityName;t.TSENTITYNAME_TYPES=A;const w=n.FLIPPED_ALIAS_KEYS.Literal;t.LITERAL_TYPES=w;const O=n.FLIPPED_ALIAS_KEYS.Immutable;t.IMMUTABLE_TYPES=O;const C=n.FLIPPED_ALIAS_KEYS.UserWhitespacable;t.USERWHITESPACABLE_TYPES=C;const I=n.FLIPPED_ALIAS_KEYS.Method;t.METHOD_TYPES=I;const N=n.FLIPPED_ALIAS_KEYS.ObjectMember;t.OBJECTMEMBER_TYPES=N;const k=n.FLIPPED_ALIAS_KEYS.Property;t.PROPERTY_TYPES=k;const _=n.FLIPPED_ALIAS_KEYS.UnaryLike;t.UNARYLIKE_TYPES=_;const j=n.FLIPPED_ALIAS_KEYS.Pattern;t.PATTERN_TYPES=j;const D=n.FLIPPED_ALIAS_KEYS.Class;t.CLASS_TYPES=D;const M=n.FLIPPED_ALIAS_KEYS.ModuleDeclaration;t.MODULEDECLARATION_TYPES=M;const B=n.FLIPPED_ALIAS_KEYS.ExportDeclaration;t.EXPORTDECLARATION_TYPES=B;const L=n.FLIPPED_ALIAS_KEYS.ModuleSpecifier;t.MODULESPECIFIER_TYPES=L;const F=n.FLIPPED_ALIAS_KEYS.Private;t.PRIVATE_TYPES=F;const R=n.FLIPPED_ALIAS_KEYS.Flow;t.FLOW_TYPES=R;const U=n.FLIPPED_ALIAS_KEYS.FlowType;t.FLOWTYPE_TYPES=U;const V=n.FLIPPED_ALIAS_KEYS.FlowBaseAnnotation;t.FLOWBASEANNOTATION_TYPES=V;const K=n.FLIPPED_ALIAS_KEYS.FlowDeclaration;t.FLOWDECLARATION_TYPES=K;const W=n.FLIPPED_ALIAS_KEYS.FlowPredicate;t.FLOWPREDICATE_TYPES=W;const Y=n.FLIPPED_ALIAS_KEYS.EnumBody;t.ENUMBODY_TYPES=Y;const q=n.FLIPPED_ALIAS_KEYS.EnumMember;t.ENUMMEMBER_TYPES=q;const G=n.FLIPPED_ALIAS_KEYS.JSX;t.JSX_TYPES=G;const H=n.FLIPPED_ALIAS_KEYS.Miscellaneous;t.MISCELLANEOUS_TYPES=H;const $=n.FLIPPED_ALIAS_KEYS.TypeScript;t.TYPESCRIPT_TYPES=$;const J=n.FLIPPED_ALIAS_KEYS.TSTypeElement;t.TSTYPEELEMENT_TYPES=J;const X=n.FLIPPED_ALIAS_KEYS.TSType;t.TSTYPE_TYPES=X;const z=n.FLIPPED_ALIAS_KEYS.TSBaseType;t.TSBASETYPE_TYPES=z},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="body"){return e[t]=(0,n.default)(e[t],e)};var n=r(241)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){e=(0,n.default)(e),("eval"===e||"arguments"===e)&&(e="_"+e);return e};var n=r(242)},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(68),i=r(72)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(68),i=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};t.default=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=a;var n=r(68),i=r(89),s=r(243);function a(e,t=e.key){let r;return"method"===e.kind?a.increment()+"":(r=(0,n.isIdentifier)(t)?t.name:(0,n.isStringLiteral)(t)?JSON.stringify(t.value):JSON.stringify((0,s.default)((0,i.default)(t))),e.computed&&(r=`[${r}]`),e.static&&(r="static:"+r),r)}a.uid=0,a.increment=function(){return a.uid>=Number.MAX_SAFE_INTEGER?a.uid=0:a.uid++}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(null==e||!e.length)return;const r=[],i=(0,n.default)(e,t,r);if(!i)return;for(const n of r)t.push(n);return i};var n=r(534)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,r,o){const l=[];let c=!0;for(const u of t)if((0,i.isEmptyStatement)(u)||(c=!1),(0,i.isExpression)(u))l.push(u);else if((0,i.isExpressionStatement)(u))l.push(u.expression);else if((0,i.isVariableDeclaration)(u)){if("var"!==u.kind)return;for(const e of u.declarations){const t=(0,n.default)(e);for(const e of Object.keys(t))o.push({kind:u.kind,id:(0,a.default)(t[e])});e.init&&l.push((0,s.assignmentExpression)("=",e.id,e.init))}c=!0}else if((0,i.isIfStatement)(u)){const t=u.consequent?e([u.consequent],r,o):r.buildUndefinedNode(),n=u.alternate?e([u.alternate],r,o):r.buildUndefinedNode();if(!t||!n)return;l.push((0,s.conditionalExpression)(u.test,t,n))}else if((0,i.isBlockStatement)(u)){const t=e(u.body,r,o);if(!t)return;l.push(t)}else{if(!(0,i.isEmptyStatement)(u))return;0===t.indexOf(u)&&(c=!0)}c&&l.push(r.buildUndefinedNode());return 1===l.length?l[0]:(0,s.sequenceExpression)(l)};var n=r(119),i=r(68),s=r(72),a=r(89)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(68),i=r(72),s=function(e,t){if((0,n.isStatement)(e))return e;let r,s=!1;if((0,n.isClass)(e))s=!0,r="ClassDeclaration";else if((0,n.isFunction)(e))s=!0,r="FunctionDeclaration";else if((0,n.isAssignmentExpression)(e))return(0,i.expressionStatement)(e);s&&!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};t.default=s},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(100),i=r(72),s=function e(t){if(void 0===t)return(0,i.identifier)("undefined");if(!0===t||!1===t)return(0,i.booleanLiteral)(t);if(null===t)return(0,i.nullLiteral)();if("string"==typeof t)return(0,i.stringLiteral)(t);if("number"==typeof t){let e;if(Number.isFinite(t))e=(0,i.numericLiteral)(Math.abs(t));else{let r;r=Number.isNaN(t)?(0,i.numericLiteral)(0):(0,i.numericLiteral)(1),e=(0,i.binaryExpression)("/",r,(0,i.numericLiteral)(0))}return(t<0||Object.is(t,-0))&&(e=(0,i.unaryExpression)("-",e)),e}if(function(e){return"[object RegExp]"===a(e)}(t)){const e=t.source,r=t.toString().match(/\/([a-z]+|)$/)[1];return(0,i.regExpLiteral)(e,r)}if(Array.isArray(t))return(0,i.arrayExpression)(t.map(e));if(function(e){if("object"!=typeof e||null===e||"[object Object]"!==Object.prototype.toString.call(e))return!1;const t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}(t)){const r=[];for(const s of Object.keys(t)){let a;a=(0,n.default)(s)?(0,i.identifier)(s):(0,i.stringLiteral)(s),r.push((0,i.objectProperty)(a,e(t[s])))}return(0,i.objectExpression)(r)}throw new Error("don't know how to turn this value into a node")};t.default=s;const a=Function.call.bind(Object.prototype.toString)},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(72)},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 n.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 n.INHERIT_KEYS.force)e[r]=t[r];return(0,i.default)(e,t),e};var n=r(88),i=r(239)},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(72)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(119),i=function(e,t){return(0,n.default)(e,t,!0)};t.default=i},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:s}=t;!function e(t,r,i,s,a){const o=n.VISITOR_KEYS[t.type];if(!o)return;r&&r(t,a,s);for(const n of o){const o=t[n];if(Array.isArray(o))for(let l=0;l<o.length;l++){const c=o[l];c&&(a.push({node:t,key:n,index:l}),e(c,r,i,s,a),a.pop())}else o&&(a.push({node:t,key:n}),e(o,r,i,s,a),a.pop())}i&&i(t,a,s)}(e,i,s,r,[])};var n=r(75)},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 i=n.default.keys[t.type];if(i)for(let n=0;n<i.length;n++){const r=i[n],s=t[r];if(Array.isArray(s)){if(s.indexOf(e)>=0)return!0}else if(s===e)return!0}return!1};var n=r(119)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.isFunctionDeclaration)(e)||(0,n.isClassDeclaration)(e)||(0,i.default)(e)};var n=r(68),i=r(246)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if((0,n.default)(e.type,"Immutable"))return!0;if((0,i.isIdentifier)(e))return"undefined"===e.name;return!1};var n=r(153),i=r(68)},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),s=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]||null!=s&&s.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(75)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){switch(t.type){case"MemberExpression":case"OptionalMemberExpression":return t.property===e?!!t.computed:t.object===e;case"JSXMemberExpression":return t.object===e;case"VariableDeclarator":return t.init===e;case"ArrowFunctionExpression":return t.body===e;case"PrivateName":return!1;case"ClassMethod":case"ClassPrivateMethod":case"ObjectMethod":return t.key===e&&!!t.computed;case"ObjectProperty":return t.key===e?!!t.computed:!r||"ObjectPattern"!==r.type;case"ClassProperty":return t.key!==e||!!t.computed;case"ClassPrivateProperty":return t.key!==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"ExportSpecifier":return(null==r||!r.source)&&t.local===e;case"ImportDefaultSpecifier":case"ImportNamespaceSpecifier":case"ImportSpecifier":case"ImportAttribute":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)||(0,n.isCatchClause)(t)))return!1;if((0,n.isPattern)(e)&&((0,n.isFunction)(t)||(0,n.isCatchClause)(t)))return!0;return(0,n.isScopable)(e)};var n=r(68)},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(68)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return(0,n.default)(e)&&!i.has(e)};var n=r(100);const i=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(68),i=r(88)},function(e,t){},function(e,t,r){e.exports=function(e){function t(e){let r,i,s,a=null;function o(...e){if(!o.enabled)return;const n=o,i=Number(new Date),s=i-(r||i);n.diff=s,n.prev=r,n.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let a=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";a++;const s=t.formatters[i];if("function"==typeof s){const t=e[a];r=s.call(n,t),e.splice(a,1),a--}return r}),t.formatArgs.call(n,e);const l=n.log||t.log;l.apply(n,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=n,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function n(e,r){const n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e){return e.toString().substring(2,e.toString().length-2).replace(/\.\*\?$/,"*")}return t.debug=t,t.default=t,t.coerce=function(e){if(e instanceof Error)return e.stack||e.message;return e},t.disable=function(){const e=[...t.names.map(i),...t.skips.map(i).map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){let r;t.save(e),t.namespaces=e,t.names=[],t.skips=[];const n=("string"==typeof e?e:"").split(/[\s,]+/),i=n.length;for(r=0;r<i;r++)n[r]&&(e=n[r].replace(/\*/g,".*?"),"-"===e[0]?t.skips.push(new RegExp("^"+e.substr(1)+"$")):t.names.push(new RegExp("^"+e+"$")))},t.enabled=function(e){if("*"===e[e.length-1])return!0;let r,n;for(r=0,n=t.skips.length;r<n;r++)if(t.skips[r].test(e))return!1;for(r=0,n=t.names.length;r<n;r++)if(t.names[r].test(e))return!0;return!1},t.humanize=r(553),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t),r|=0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},function(e,t){var r=1e3,n=6e4,i=60*n,s=24*i;function a(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 o=typeof e;if("string"===o&&e.length>0)return function(e){if(e=String(e),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 a=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*a;case"weeks":case"week":case"w":return 6048e5*a;case"days":case"day":case"d":return a*s;case"hours":case"hour":case"hrs":case"hr":case"h":return a*i;case"minutes":case"minute":case"mins":case"min":case"m":return a*n;case"seconds":case"second":case"secs":case"sec":case"s":return a*r;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return a;default:return}}(e);if("number"===o&&isFinite(e))return t.long?function(e){var t=Math.abs(e);if(t>=s)return a(e,t,s,"day");if(t>=i)return a(e,t,i,"hour");if(t>=n)return a(e,t,n,"minute");if(t>=r)return a(e,t,r,"second");return e+" ms"}(e):function(e){var t=Math.abs(e);if(t>=s)return Math.round(e/s)+"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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;r(248);var n=r(157),i=r(65);const{VISITOR_KEYS:s,assignmentExpression:a,identifier:o,toExpression:l,variableDeclaration:c,variableDeclarator:u}=i,p={ReferencedIdentifier({node:e},t){e.name===t.oldName&&(e.name=t.newName)},Scope(e,t){e.scope.bindingIdentifierEquals(t.oldName,t.binding.identifier)||function(e){if(!e.isMethod()||!e.node.computed)return void e.skip();const t=s[e.type];for(const r of t)"key"!==r&&e.skipKey(r)}(e)},"AssignmentExpression|Declaration|VariableDeclarator"(e,t){if(e.isVariableDeclaration())return;const r=e.getOuterBindingIdentifiers();for(const n in r)n===t.oldName&&(r[n].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,a=s.find(e=>e.isDeclaration()||e.isFunctionExpression()||e.isClassExpression());if(a){const e=a.getOuterBindingIdentifiers();e[r]===t.identifier&&this.maybeConvertFromExportDeclaration(a)}const o=e||i.block;"SwitchStatement"===(null==o?void 0:o.type)?o.cases.forEach(e=>{i.traverse(e,p,this)}):i.traverse(o,p,this),e||(i.removeOwnBinding(r),i.bindings[n]=t,this.binding.identifier.name=n),a&&(this.maybeConvertFromClassFunctionDeclaration(a),this.maybeConvertFromClassFunctionExpression(a))}}},function(e,t,r){"use strict";e.exports=r(556)},function(e){e.exports=JSON.parse('{"builtin":{"Array":false,"ArrayBuffer":false,"Atomics":false,"BigInt":false,"BigInt64Array":false,"BigUint64Array":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"globalThis":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es5":{"Array":false,"Boolean":false,"constructor":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"propertyIsEnumerable":false,"RangeError":false,"ReferenceError":false,"RegExp":false,"String":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false},"es2015":{"Array":false,"ArrayBuffer":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"es2017":{"Array":false,"ArrayBuffer":false,"Atomics":false,"Boolean":false,"constructor":false,"DataView":false,"Date":false,"decodeURI":false,"decodeURIComponent":false,"encodeURI":false,"encodeURIComponent":false,"Error":false,"escape":false,"eval":false,"EvalError":false,"Float32Array":false,"Float64Array":false,"Function":false,"hasOwnProperty":false,"Infinity":false,"Int16Array":false,"Int32Array":false,"Int8Array":false,"isFinite":false,"isNaN":false,"isPrototypeOf":false,"JSON":false,"Map":false,"Math":false,"NaN":false,"Number":false,"Object":false,"parseFloat":false,"parseInt":false,"Promise":false,"propertyIsEnumerable":false,"Proxy":false,"RangeError":false,"ReferenceError":false,"Reflect":false,"RegExp":false,"Set":false,"SharedArrayBuffer":false,"String":false,"Symbol":false,"SyntaxError":false,"toLocaleString":false,"toString":false,"TypeError":false,"Uint16Array":false,"Uint32Array":false,"Uint8Array":false,"Uint8ClampedArray":false,"undefined":false,"unescape":false,"URIError":false,"valueOf":false,"WeakMap":false,"WeakSet":false},"browser":{"AbortController":false,"AbortSignal":false,"addEventListener":false,"alert":false,"AnalyserNode":false,"Animation":false,"AnimationEffectReadOnly":false,"AnimationEffectTiming":false,"AnimationEffectTimingReadOnly":false,"AnimationEvent":false,"AnimationPlaybackEvent":false,"AnimationTimeline":false,"applicationCache":false,"ApplicationCache":false,"ApplicationCacheErrorEvent":false,"atob":false,"Attr":false,"Audio":false,"AudioBuffer":false,"AudioBufferSourceNode":false,"AudioContext":false,"AudioDestinationNode":false,"AudioListener":false,"AudioNode":false,"AudioParam":false,"AudioProcessingEvent":false,"AudioScheduledSourceNode":false,"AudioWorkletGlobalScope ":false,"AudioWorkletNode":false,"AudioWorkletProcessor":false,"BarProp":false,"BaseAudioContext":false,"BatteryManager":false,"BeforeUnloadEvent":false,"BiquadFilterNode":false,"Blob":false,"BlobEvent":false,"blur":false,"BroadcastChannel":false,"btoa":false,"BudgetService":false,"ByteLengthQueuingStrategy":false,"Cache":false,"caches":false,"CacheStorage":false,"cancelAnimationFrame":false,"cancelIdleCallback":false,"CanvasCaptureMediaStreamTrack":false,"CanvasGradient":false,"CanvasPattern":false,"CanvasRenderingContext2D":false,"ChannelMergerNode":false,"ChannelSplitterNode":false,"CharacterData":false,"clearInterval":false,"clearTimeout":false,"clientInformation":false,"ClipboardEvent":false,"close":false,"closed":false,"CloseEvent":false,"Comment":false,"CompositionEvent":false,"confirm":false,"console":false,"ConstantSourceNode":false,"ConvolverNode":false,"CountQueuingStrategy":false,"createImageBitmap":false,"Credential":false,"CredentialsContainer":false,"crypto":false,"Crypto":false,"CryptoKey":false,"CSS":false,"CSSConditionRule":false,"CSSFontFaceRule":false,"CSSGroupingRule":false,"CSSImportRule":false,"CSSKeyframeRule":false,"CSSKeyframesRule":false,"CSSMediaRule":false,"CSSNamespaceRule":false,"CSSPageRule":false,"CSSRule":false,"CSSRuleList":false,"CSSStyleDeclaration":false,"CSSStyleRule":false,"CSSStyleSheet":false,"CSSSupportsRule":false,"CustomElementRegistry":false,"customElements":false,"CustomEvent":false,"DataTransfer":false,"DataTransferItem":false,"DataTransferItemList":false,"defaultstatus":false,"defaultStatus":false,"DelayNode":false,"DeviceMotionEvent":false,"DeviceOrientationEvent":false,"devicePixelRatio":false,"dispatchEvent":false,"document":false,"Document":false,"DocumentFragment":false,"DocumentType":false,"DOMError":false,"DOMException":false,"DOMImplementation":false,"DOMMatrix":false,"DOMMatrixReadOnly":false,"DOMParser":false,"DOMPoint":false,"DOMPointReadOnly":false,"DOMQuad":false,"DOMRect":false,"DOMRectReadOnly":false,"DOMStringList":false,"DOMStringMap":false,"DOMTokenList":false,"DragEvent":false,"DynamicsCompressorNode":false,"Element":false,"ErrorEvent":false,"event":false,"Event":false,"EventSource":false,"EventTarget":false,"external":false,"fetch":false,"File":false,"FileList":false,"FileReader":false,"find":false,"focus":false,"FocusEvent":false,"FontFace":false,"FontFaceSetLoadEvent":false,"FormData":false,"frameElement":false,"frames":false,"GainNode":false,"Gamepad":false,"GamepadButton":false,"GamepadEvent":false,"getComputedStyle":false,"getSelection":false,"HashChangeEvent":false,"Headers":false,"history":false,"History":false,"HTMLAllCollection":false,"HTMLAnchorElement":false,"HTMLAreaElement":false,"HTMLAudioElement":false,"HTMLBaseElement":false,"HTMLBodyElement":false,"HTMLBRElement":false,"HTMLButtonElement":false,"HTMLCanvasElement":false,"HTMLCollection":false,"HTMLContentElement":false,"HTMLDataElement":false,"HTMLDataListElement":false,"HTMLDetailsElement":false,"HTMLDialogElement":false,"HTMLDirectoryElement":false,"HTMLDivElement":false,"HTMLDListElement":false,"HTMLDocument":false,"HTMLElement":false,"HTMLEmbedElement":false,"HTMLFieldSetElement":false,"HTMLFontElement":false,"HTMLFormControlsCollection":false,"HTMLFormElement":false,"HTMLFrameElement":false,"HTMLFrameSetElement":false,"HTMLHeadElement":false,"HTMLHeadingElement":false,"HTMLHRElement":false,"HTMLHtmlElement":false,"HTMLIFrameElement":false,"HTMLImageElement":false,"HTMLInputElement":false,"HTMLLabelElement":false,"HTMLLegendElement":false,"HTMLLIElement":false,"HTMLLinkElement":false,"HTMLMapElement":false,"HTMLMarqueeElement":false,"HTMLMediaElement":false,"HTMLMenuElement":false,"HTMLMetaElement":false,"HTMLMeterElement":false,"HTMLModElement":false,"HTMLObjectElement":false,"HTMLOListElement":false,"HTMLOptGroupElement":false,"HTMLOptionElement":false,"HTMLOptionsCollection":false,"HTMLOutputElement":false,"HTMLParagraphElement":false,"HTMLParamElement":false,"HTMLPictureElement":false,"HTMLPreElement":false,"HTMLProgressElement":false,"HTMLQuoteElement":false,"HTMLScriptElement":false,"HTMLSelectElement":false,"HTMLShadowElement":false,"HTMLSlotElement":false,"HTMLSourceElement":false,"HTMLSpanElement":false,"HTMLStyleElement":false,"HTMLTableCaptionElement":false,"HTMLTableCellElement":false,"HTMLTableColElement":false,"HTMLTableElement":false,"HTMLTableRowElement":false,"HTMLTableSectionElement":false,"HTMLTemplateElement":false,"HTMLTextAreaElement":false,"HTMLTimeElement":false,"HTMLTitleElement":false,"HTMLTrackElement":false,"HTMLUListElement":false,"HTMLUnknownElement":false,"HTMLVideoElement":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"IdleDeadline":false,"IIRFilterNode":false,"Image":false,"ImageBitmap":false,"ImageBitmapRenderingContext":false,"ImageCapture":false,"ImageData":false,"indexedDB":false,"innerHeight":false,"innerWidth":false,"InputEvent":false,"IntersectionObserver":false,"IntersectionObserverEntry":false,"Intl":false,"isSecureContext":false,"KeyboardEvent":false,"KeyframeEffect":false,"KeyframeEffectReadOnly":false,"length":false,"localStorage":false,"location":true,"Location":false,"locationbar":false,"matchMedia":false,"MediaDeviceInfo":false,"MediaDevices":false,"MediaElementAudioSourceNode":false,"MediaEncryptedEvent":false,"MediaError":false,"MediaKeyMessageEvent":false,"MediaKeySession":false,"MediaKeyStatusMap":false,"MediaKeySystemAccess":false,"MediaList":false,"MediaQueryList":false,"MediaQueryListEvent":false,"MediaRecorder":false,"MediaSettingsRange":false,"MediaSource":false,"MediaStream":false,"MediaStreamAudioDestinationNode":false,"MediaStreamAudioSourceNode":false,"MediaStreamEvent":false,"MediaStreamTrack":false,"MediaStreamTrackEvent":false,"menubar":false,"MessageChannel":false,"MessageEvent":false,"MessagePort":false,"MIDIAccess":false,"MIDIConnectionEvent":false,"MIDIInput":false,"MIDIInputMap":false,"MIDIMessageEvent":false,"MIDIOutput":false,"MIDIOutputMap":false,"MIDIPort":false,"MimeType":false,"MimeTypeArray":false,"MouseEvent":false,"moveBy":false,"moveTo":false,"MutationEvent":false,"MutationObserver":false,"MutationRecord":false,"name":false,"NamedNodeMap":false,"NavigationPreloadManager":false,"navigator":false,"Navigator":false,"NetworkInformation":false,"Node":false,"NodeFilter":false,"NodeIterator":false,"NodeList":false,"Notification":false,"OfflineAudioCompletionEvent":false,"OfflineAudioContext":false,"offscreenBuffering":false,"OffscreenCanvas":true,"onabort":true,"onafterprint":true,"onanimationend":true,"onanimationiteration":true,"onanimationstart":true,"onappinstalled":true,"onauxclick":true,"onbeforeinstallprompt":true,"onbeforeprint":true,"onbeforeunload":true,"onblur":true,"oncancel":true,"oncanplay":true,"oncanplaythrough":true,"onchange":true,"onclick":true,"onclose":true,"oncontextmenu":true,"oncuechange":true,"ondblclick":true,"ondevicemotion":true,"ondeviceorientation":true,"ondeviceorientationabsolute":true,"ondrag":true,"ondragend":true,"ondragenter":true,"ondragleave":true,"ondragover":true,"ondragstart":true,"ondrop":true,"ondurationchange":true,"onemptied":true,"onended":true,"onerror":true,"onfocus":true,"ongotpointercapture":true,"onhashchange":true,"oninput":true,"oninvalid":true,"onkeydown":true,"onkeypress":true,"onkeyup":true,"onlanguagechange":true,"onload":true,"onloadeddata":true,"onloadedmetadata":true,"onloadstart":true,"onlostpointercapture":true,"onmessage":true,"onmessageerror":true,"onmousedown":true,"onmouseenter":true,"onmouseleave":true,"onmousemove":true,"onmouseout":true,"onmouseover":true,"onmouseup":true,"onmousewheel":true,"onoffline":true,"ononline":true,"onpagehide":true,"onpageshow":true,"onpause":true,"onplay":true,"onplaying":true,"onpointercancel":true,"onpointerdown":true,"onpointerenter":true,"onpointerleave":true,"onpointermove":true,"onpointerout":true,"onpointerover":true,"onpointerup":true,"onpopstate":true,"onprogress":true,"onratechange":true,"onrejectionhandled":true,"onreset":true,"onresize":true,"onscroll":true,"onsearch":true,"onseeked":true,"onseeking":true,"onselect":true,"onstalled":true,"onstorage":true,"onsubmit":true,"onsuspend":true,"ontimeupdate":true,"ontoggle":true,"ontransitionend":true,"onunhandledrejection":true,"onunload":true,"onvolumechange":true,"onwaiting":true,"onwheel":true,"open":false,"openDatabase":false,"opener":false,"Option":false,"origin":false,"OscillatorNode":false,"outerHeight":false,"outerWidth":false,"PageTransitionEvent":false,"pageXOffset":false,"pageYOffset":false,"PannerNode":false,"parent":false,"Path2D":false,"PaymentAddress":false,"PaymentRequest":false,"PaymentRequestUpdateEvent":false,"PaymentResponse":false,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceLongTaskTiming":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceNavigationTiming":false,"PerformanceObserver":false,"PerformanceObserverEntryList":false,"PerformancePaintTiming":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"PeriodicWave":false,"Permissions":false,"PermissionStatus":false,"personalbar":false,"PhotoCapabilities":false,"Plugin":false,"PluginArray":false,"PointerEvent":false,"PopStateEvent":false,"postMessage":false,"Presentation":false,"PresentationAvailability":false,"PresentationConnection":false,"PresentationConnectionAvailableEvent":false,"PresentationConnectionCloseEvent":false,"PresentationConnectionList":false,"PresentationReceiver":false,"PresentationRequest":false,"print":false,"ProcessingInstruction":false,"ProgressEvent":false,"PromiseRejectionEvent":false,"prompt":false,"PushManager":false,"PushSubscription":false,"PushSubscriptionOptions":false,"queueMicrotask":false,"RadioNodeList":false,"Range":false,"ReadableStream":false,"registerProcessor":false,"RemotePlayback":false,"removeEventListener":false,"Request":false,"requestAnimationFrame":false,"requestIdleCallback":false,"resizeBy":false,"ResizeObserver":false,"ResizeObserverEntry":false,"resizeTo":false,"Response":false,"RTCCertificate":false,"RTCDataChannel":false,"RTCDataChannelEvent":false,"RTCDtlsTransport":false,"RTCIceCandidate":false,"RTCIceGatherer":false,"RTCIceTransport":false,"RTCPeerConnection":false,"RTCPeerConnectionIceEvent":false,"RTCRtpContributingSource":false,"RTCRtpReceiver":false,"RTCRtpSender":false,"RTCSctpTransport":false,"RTCSessionDescription":false,"RTCStatsReport":false,"RTCTrackEvent":false,"screen":false,"Screen":false,"screenLeft":false,"ScreenOrientation":false,"screenTop":false,"screenX":false,"screenY":false,"ScriptProcessorNode":false,"scroll":false,"scrollbars":false,"scrollBy":false,"scrollTo":false,"scrollX":false,"scrollY":false,"SecurityPolicyViolationEvent":false,"Selection":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerRegistration":false,"sessionStorage":false,"setInterval":false,"setTimeout":false,"ShadowRoot":false,"SharedWorker":false,"SourceBuffer":false,"SourceBufferList":false,"speechSynthesis":false,"SpeechSynthesisEvent":false,"SpeechSynthesisUtterance":false,"StaticRange":false,"status":false,"statusbar":false,"StereoPannerNode":false,"stop":false,"Storage":false,"StorageEvent":false,"StorageManager":false,"styleMedia":false,"StyleSheet":false,"StyleSheetList":false,"SubtleCrypto":false,"SVGAElement":false,"SVGAngle":false,"SVGAnimatedAngle":false,"SVGAnimatedBoolean":false,"SVGAnimatedEnumeration":false,"SVGAnimatedInteger":false,"SVGAnimatedLength":false,"SVGAnimatedLengthList":false,"SVGAnimatedNumber":false,"SVGAnimatedNumberList":false,"SVGAnimatedPreserveAspectRatio":false,"SVGAnimatedRect":false,"SVGAnimatedString":false,"SVGAnimatedTransformList":false,"SVGAnimateElement":false,"SVGAnimateMotionElement":false,"SVGAnimateTransformElement":false,"SVGAnimationElement":false,"SVGCircleElement":false,"SVGClipPathElement":false,"SVGComponentTransferFunctionElement":false,"SVGDefsElement":false,"SVGDescElement":false,"SVGDiscardElement":false,"SVGElement":false,"SVGEllipseElement":false,"SVGFEBlendElement":false,"SVGFEColorMatrixElement":false,"SVGFEComponentTransferElement":false,"SVGFECompositeElement":false,"SVGFEConvolveMatrixElement":false,"SVGFEDiffuseLightingElement":false,"SVGFEDisplacementMapElement":false,"SVGFEDistantLightElement":false,"SVGFEDropShadowElement":false,"SVGFEFloodElement":false,"SVGFEFuncAElement":false,"SVGFEFuncBElement":false,"SVGFEFuncGElement":false,"SVGFEFuncRElement":false,"SVGFEGaussianBlurElement":false,"SVGFEImageElement":false,"SVGFEMergeElement":false,"SVGFEMergeNodeElement":false,"SVGFEMorphologyElement":false,"SVGFEOffsetElement":false,"SVGFEPointLightElement":false,"SVGFESpecularLightingElement":false,"SVGFESpotLightElement":false,"SVGFETileElement":false,"SVGFETurbulenceElement":false,"SVGFilterElement":false,"SVGForeignObjectElement":false,"SVGGElement":false,"SVGGeometryElement":false,"SVGGradientElement":false,"SVGGraphicsElement":false,"SVGImageElement":false,"SVGLength":false,"SVGLengthList":false,"SVGLinearGradientElement":false,"SVGLineElement":false,"SVGMarkerElement":false,"SVGMaskElement":false,"SVGMatrix":false,"SVGMetadataElement":false,"SVGMPathElement":false,"SVGNumber":false,"SVGNumberList":false,"SVGPathElement":false,"SVGPatternElement":false,"SVGPoint":false,"SVGPointList":false,"SVGPolygonElement":false,"SVGPolylineElement":false,"SVGPreserveAspectRatio":false,"SVGRadialGradientElement":false,"SVGRect":false,"SVGRectElement":false,"SVGScriptElement":false,"SVGSetElement":false,"SVGStopElement":false,"SVGStringList":false,"SVGStyleElement":false,"SVGSVGElement":false,"SVGSwitchElement":false,"SVGSymbolElement":false,"SVGTextContentElement":false,"SVGTextElement":false,"SVGTextPathElement":false,"SVGTextPositioningElement":false,"SVGTitleElement":false,"SVGTransform":false,"SVGTransformList":false,"SVGTSpanElement":false,"SVGUnitTypes":false,"SVGUseElement":false,"SVGViewElement":false,"TaskAttributionTiming":false,"Text":false,"TextDecoder":false,"TextEncoder":false,"TextEvent":false,"TextMetrics":false,"TextTrack":false,"TextTrackCue":false,"TextTrackCueList":false,"TextTrackList":false,"TimeRanges":false,"toolbar":false,"top":false,"Touch":false,"TouchEvent":false,"TouchList":false,"TrackEvent":false,"TransitionEvent":false,"TreeWalker":false,"UIEvent":false,"URL":false,"URLSearchParams":false,"ValidityState":false,"visualViewport":false,"VisualViewport":false,"VTTCue":false,"WaveShaperNode":false,"WebAssembly":false,"WebGL2RenderingContext":false,"WebGLActiveInfo":false,"WebGLBuffer":false,"WebGLContextEvent":false,"WebGLFramebuffer":false,"WebGLProgram":false,"WebGLQuery":false,"WebGLRenderbuffer":false,"WebGLRenderingContext":false,"WebGLSampler":false,"WebGLShader":false,"WebGLShaderPrecisionFormat":false,"WebGLSync":false,"WebGLTexture":false,"WebGLTransformFeedback":false,"WebGLUniformLocation":false,"WebGLVertexArrayObject":false,"WebSocket":false,"WheelEvent":false,"window":false,"Window":false,"Worker":false,"WritableStream":false,"XMLDocument":false,"XMLHttpRequest":false,"XMLHttpRequestEventTarget":false,"XMLHttpRequestUpload":false,"XMLSerializer":false,"XPathEvaluator":false,"XPathExpression":false,"XPathResult":false,"XSLTProcessor":false},"worker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"clearInterval":false,"clearTimeout":false,"close":true,"console":false,"fetch":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":true,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onlanguagechange":true,"onmessage":true,"onoffline":true,"ononline":true,"onrejectionhandled":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"removeEventListener":false,"Request":false,"Response":false,"self":true,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"node":{"__dirname":false,"__filename":false,"Buffer":false,"clearImmediate":false,"clearInterval":false,"clearTimeout":false,"console":false,"exports":true,"global":false,"Intl":false,"module":false,"process":false,"queueMicrotask":false,"require":false,"setImmediate":false,"setInterval":false,"setTimeout":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false},"commonjs":{"exports":true,"global":false,"module":false,"require":false},"amd":{"define":false,"require":false},"mocha":{"after":false,"afterEach":false,"before":false,"beforeEach":false,"context":false,"describe":false,"it":false,"mocha":false,"run":false,"setup":false,"specify":false,"suite":false,"suiteSetup":false,"suiteTeardown":false,"teardown":false,"test":false,"xcontext":false,"xdescribe":false,"xit":false,"xspecify":false},"jasmine":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fail":false,"fdescribe":false,"fit":false,"it":false,"jasmine":false,"pending":false,"runs":false,"spyOn":false,"spyOnProperty":false,"waits":false,"waitsFor":false,"xdescribe":false,"xit":false},"jest":{"afterAll":false,"afterEach":false,"beforeAll":false,"beforeEach":false,"describe":false,"expect":false,"fdescribe":false,"fit":false,"it":false,"jest":false,"pit":false,"require":false,"test":false,"xdescribe":false,"xit":false,"xtest":false},"qunit":{"asyncTest":false,"deepEqual":false,"equal":false,"expect":false,"module":false,"notDeepEqual":false,"notEqual":false,"notOk":false,"notPropEqual":false,"notStrictEqual":false,"ok":false,"propEqual":false,"QUnit":false,"raises":false,"start":false,"stop":false,"strictEqual":false,"test":false,"throws":false},"phantomjs":{"console":true,"exports":true,"phantom":true,"require":true,"WebPage":true},"couch":{"emit":false,"exports":false,"getRow":false,"log":false,"module":false,"provides":false,"require":false,"respond":false,"send":false,"start":false,"sum":false},"rhino":{"defineClass":false,"deserialize":false,"gc":false,"help":false,"importClass":false,"importPackage":false,"java":false,"load":false,"loadClass":false,"Packages":false,"print":false,"quit":false,"readFile":false,"readUrl":false,"runCommand":false,"seal":false,"serialize":false,"spawn":false,"sync":false,"toint32":false,"version":false},"nashorn":{"__DIR__":false,"__FILE__":false,"__LINE__":false,"com":false,"edu":false,"exit":false,"java":false,"Java":false,"javafx":false,"JavaImporter":false,"javax":false,"JSAdapter":false,"load":false,"loadWithNewGlobal":false,"org":false,"Packages":false,"print":false,"quit":false},"wsh":{"ActiveXObject":true,"Enumerator":true,"GetObject":true,"ScriptEngine":true,"ScriptEngineBuildVersion":true,"ScriptEngineMajorVersion":true,"ScriptEngineMinorVersion":true,"VBArray":true,"WScript":true,"WSH":true,"XDomainRequest":true},"jquery":{"$":false,"jQuery":false},"yui":{"YAHOO":false,"YAHOO_config":false,"YUI":false,"YUI_config":false},"shelljs":{"cat":false,"cd":false,"chmod":false,"config":false,"cp":false,"dirs":false,"echo":false,"env":false,"error":false,"exec":false,"exit":false,"find":false,"grep":false,"ln":false,"ls":false,"mkdir":false,"mv":false,"popd":false,"pushd":false,"pwd":false,"rm":false,"sed":false,"set":false,"target":false,"tempdir":false,"test":false,"touch":false,"which":false},"prototypejs":{"$":false,"$$":false,"$A":false,"$break":false,"$continue":false,"$F":false,"$H":false,"$R":false,"$w":false,"Abstract":false,"Ajax":false,"Autocompleter":false,"Builder":false,"Class":false,"Control":false,"Draggable":false,"Draggables":false,"Droppables":false,"Effect":false,"Element":false,"Enumerable":false,"Event":false,"Field":false,"Form":false,"Hash":false,"Insertion":false,"ObjectRange":false,"PeriodicalExecuter":false,"Position":false,"Prototype":false,"Scriptaculous":false,"Selector":false,"Sortable":false,"SortableObserver":false,"Sound":false,"Template":false,"Toggle":false,"Try":false},"meteor":{"_":false,"$":false,"Accounts":false,"AccountsClient":false,"AccountsCommon":false,"AccountsServer":false,"App":false,"Assets":false,"Blaze":false,"check":false,"Cordova":false,"DDP":false,"DDPRateLimiter":false,"DDPServer":false,"Deps":false,"EJSON":false,"Email":false,"HTTP":false,"Log":false,"Match":false,"Meteor":false,"Mongo":false,"MongoInternals":false,"Npm":false,"Package":false,"Plugin":false,"process":false,"Random":false,"ReactiveDict":false,"ReactiveVar":false,"Router":false,"ServiceConfiguration":false,"Session":false,"share":false,"Spacebars":false,"Template":false,"Tinytest":false,"Tracker":false,"UI":false,"Utils":false,"WebApp":false,"WebAppInternals":false},"mongo":{"_isWindows":false,"_rand":false,"BulkWriteResult":false,"cat":false,"cd":false,"connect":false,"db":false,"getHostName":false,"getMemInfo":false,"hostname":false,"ISODate":false,"listFiles":false,"load":false,"ls":false,"md5sumFile":false,"mkdir":false,"Mongo":false,"NumberInt":false,"NumberLong":false,"ObjectId":false,"PlanCache":false,"print":false,"printjson":false,"pwd":false,"quit":false,"removeFile":false,"rs":false,"sh":false,"UUID":false,"version":false,"WriteResult":false},"applescript":{"$":false,"Application":false,"Automation":false,"console":false,"delay":false,"Library":false,"ObjC":false,"ObjectSpecifier":false,"Path":false,"Progress":false,"Ref":false},"serviceworker":{"addEventListener":false,"applicationCache":false,"atob":false,"Blob":false,"BroadcastChannel":false,"btoa":false,"Cache":false,"caches":false,"CacheStorage":false,"clearInterval":false,"clearTimeout":false,"Client":false,"clients":false,"Clients":false,"close":true,"console":false,"ExtendableEvent":false,"ExtendableMessageEvent":false,"fetch":false,"FetchEvent":false,"FileReaderSync":false,"FormData":false,"Headers":false,"IDBCursor":false,"IDBCursorWithValue":false,"IDBDatabase":false,"IDBFactory":false,"IDBIndex":false,"IDBKeyRange":false,"IDBObjectStore":false,"IDBOpenDBRequest":false,"IDBRequest":false,"IDBTransaction":false,"IDBVersionChangeEvent":false,"ImageData":false,"importScripts":false,"indexedDB":false,"location":false,"MessageChannel":false,"MessagePort":false,"name":false,"navigator":false,"Notification":false,"onclose":true,"onconnect":true,"onerror":true,"onfetch":true,"oninstall":true,"onlanguagechange":true,"onmessage":true,"onmessageerror":true,"onnotificationclick":true,"onnotificationclose":true,"onoffline":true,"ononline":true,"onpush":true,"onpushsubscriptionchange":true,"onrejectionhandled":true,"onsync":true,"onunhandledrejection":true,"performance":false,"Performance":false,"PerformanceEntry":false,"PerformanceMark":false,"PerformanceMeasure":false,"PerformanceNavigation":false,"PerformanceResourceTiming":false,"PerformanceTiming":false,"postMessage":true,"Promise":false,"queueMicrotask":false,"registration":false,"removeEventListener":false,"Request":false,"Response":false,"self":false,"ServiceWorker":false,"ServiceWorkerContainer":false,"ServiceWorkerGlobalScope":false,"ServiceWorkerMessageEvent":false,"ServiceWorkerRegistration":false,"setInterval":false,"setTimeout":false,"skipWaiting":false,"TextDecoder":false,"TextEncoder":false,"URL":false,"URLSearchParams":false,"WebSocket":false,"WindowClient":false,"Worker":false,"WorkerGlobalScope":false,"XMLHttpRequest":false},"atomtest":{"advanceClock":false,"fakeClearInterval":false,"fakeClearTimeout":false,"fakeSetInterval":false,"fakeSetTimeout":false,"resetTimeouts":false,"waitsForPromise":false},"embertest":{"andThen":false,"click":false,"currentPath":false,"currentRouteName":false,"currentURL":false,"fillIn":false,"find":false,"findAll":false,"findWithAssert":false,"keyEvent":false,"pauseTest":false,"resumeTest":false,"triggerEvent":false,"visit":false,"wait":false},"protractor":{"$":false,"$$":false,"browser":false,"by":false,"By":false,"DartObject":false,"element":false,"protractor":false},"shared-node-browser":{"clearInterval":false,"clearTimeout":false,"console":false,"setInterval":false,"setTimeout":false,"URL":false,"URLSearchParams":false},"webextensions":{"browser":false,"chrome":false,"opr":false},"greasemonkey":{"cloneInto":false,"createObjectIn":false,"exportFunction":false,"GM":false,"GM_addStyle":false,"GM_deleteValue":false,"GM_getResourceText":false,"GM_getResourceURL":false,"GM_getValue":false,"GM_info":false,"GM_listValues":false,"GM_log":false,"GM_openInTab":false,"GM_registerMenuCommand":false,"GM_setClipboard":false,"GM_setValue":false,"GM_xmlhttpRequest":false,"unsafeWindow":false},"devtools":{"$":false,"$_":false,"$$":false,"$0":false,"$1":false,"$2":false,"$3":false,"$4":false,"$x":false,"chrome":false,"clear":false,"copy":false,"debug":false,"dir":false,"dirxml":false,"getEventListeners":false,"inspect":false,"keys":false,"monitor":false,"monitorEvents":false,"profile":false,"profileEnd":false,"queryObjects":false,"table":false,"undebug":false,"unmonitor":false,"unmonitorEvents":false,"values":false}}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(249);t.default=class{constructor(e,t){this._cachedMap=void 0,this._code=void 0,this._opts=void 0,this._rawMappings=void 0,this._lastGenLine=void 0,this._lastSourceLine=void 0,this._lastSourceColumn=void 0,this._cachedMap=null,this._code=t,this._opts=e,this._rawMappings=[]}get(){if(!this._cachedMap){const e=this._cachedMap=new n.SourceMapGenerator({sourceRoot:this._opts.sourceRoot}),t=this._code;"string"==typeof t?e.setSourceContent(this._opts.sourceFileName.replace(/\\/g,"/"),t):"object"==typeof t&&Object.keys(t).forEach(r=>{e.setSourceContent(r.replace(/\\/g,"/"),t[r])}),this._rawMappings.forEach(t=>e.addMapping(t),e)}return this._cachedMap.toJSON()}getRawMappings(){return this._rawMappings.slice()}mark(e,t,r,n,i,s,a){this._lastGenLine!==e&&null===r||(a||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:(s||this._opts.sourceFileName).replace(/\\/g,"/"),original:null==r?void 0:{line:r,column:n}}))}}},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(102);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,s,a,o;t=this._last,r=e,i=t.generatedLine,s=r.generatedLine,a=t.generatedColumn,o=r.generatedColumn,s>i||s==i&&o>=a||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(102),i=r(561),s=r(252).ArraySet,a=r(251),o=r(562).quickSort;function l(e){var t=e;return"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,""))),null!=t.sections?new p(t):new c(t)}function c(e){var t=e;"string"==typeof e&&(t=JSON.parse(e.replace(/^\)\]\}'/,"")));var r=n.getArg(t,"version"),i=n.getArg(t,"sources"),a=n.getArg(t,"names",[]),o=n.getArg(t,"sourceRoot",null),l=n.getArg(t,"sourcesContent",null),c=n.getArg(t,"mappings"),u=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=s.fromArray(a.map(String),!0),this._sources=s.fromArray(i,!0),this.sourceRoot=o,this.sourcesContent=l,this._mappings=c,this.file=u}function u(){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 s,this._names=new s;var a={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<a.line||r===a.line&&i<a.column)throw new Error("Section offsets must be ordered and non-overlapping.");return a=t,{generatedOffset:{generatedLine:r+1,generatedColumn:i+1},consumer:new l(n.getArg(e,"map"))}}))}l.fromSourceMap=function(e){return c.fromSourceMap(e)},l.prototype._version=3,l.prototype.__generatedMappings=null,Object.defineProperty(l.prototype,"_generatedMappings",{get:function(){return this.__generatedMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__generatedMappings}}),l.prototype.__originalMappings=null,Object.defineProperty(l.prototype,"_originalMappings",{get:function(){return this.__originalMappings||this._parseMappings(this._mappings,this.sourceRoot),this.__originalMappings}}),l.prototype._charIsMappingSeparator=function(e,t){var r=e.charAt(t);return";"===r||","===r},l.prototype._parseMappings=function(e,t){throw new Error("Subclasses must implement _parseMappings")},l.GENERATED_ORDER=1,l.ORIGINAL_ORDER=2,l.GREATEST_LOWER_BOUND=1,l.LEAST_UPPER_BOUND=2,l.prototype.eachMapping=function(e,t,r){var i,s=t||null,a=r||l.GENERATED_ORDER;switch(a){case l.GENERATED_ORDER:i=this._generatedMappings;break;case l.ORIGINAL_ORDER:i=this._originalMappings;break;default:throw new Error("Unknown order of iteration.")}var o=this.sourceRoot;i.map((function(e){var t=null===e.source?null:this._sources.at(e.source);return null!=t&&null!=o&&(t=n.join(o,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,s)},l.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 s=[],a=this._findMapping(r,this._originalMappings,"originalLine","originalColumn",n.compareByOriginalPositions,i.LEAST_UPPER_BOUND);if(a>=0){var o=this._originalMappings[a];if(void 0===e.column)for(var l=o.originalLine;o&&o.originalLine===l;)s.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++a];else for(var c=o.originalColumn;o&&o.originalLine===t&&o.originalColumn==c;)s.push({line:n.getArg(o,"generatedLine",null),column:n.getArg(o,"generatedColumn",null),lastColumn:n.getArg(o,"lastGeneratedColumn",null)}),o=this._originalMappings[++a]}return s},t.SourceMapConsumer=l,c.prototype=Object.create(l.prototype),c.prototype.consumer=l,c.fromSourceMap=function(e){var t=Object.create(c.prototype),r=t._names=s.fromArray(e._names.toArray(),!0),i=t._sources=s.fromArray(e._sources.toArray(),!0);t.sourceRoot=e._sourceRoot,t.sourcesContent=e._generateSourcesContent(t._sources.toArray(),t.sourceRoot),t.file=e._file;for(var a=e._mappings.toArray().slice(),l=t.__generatedMappings=[],p=t.__originalMappings=[],f=0,d=a.length;f<d;f++){var h=a[f],m=new u;m.generatedLine=h.generatedLine,m.generatedColumn=h.generatedColumn,h.source&&(m.source=i.indexOf(h.source),m.originalLine=h.originalLine,m.originalColumn=h.originalColumn,h.name&&(m.name=r.indexOf(h.name)),p.push(m)),l.push(m)}return o(t.__originalMappings,n.compareByOriginalPositions),t},c.prototype._version=3,Object.defineProperty(c.prototype,"sources",{get:function(){return this._sources.toArray().map((function(e){return null!=this.sourceRoot?n.join(this.sourceRoot,e):e}),this)}}),c.prototype._parseMappings=function(e,t){for(var r,i,s,l,c,p=1,f=0,d=0,h=0,m=0,y=0,g=e.length,b=0,v={},T={},E=[],S=[];b<g;)if(";"===e.charAt(b))p++,b++,f=0;else if(","===e.charAt(b))b++;else{for(r=new u,r.generatedLine=p,l=b;l<g&&!this._charIsMappingSeparator(e,l);l++);if(i=e.slice(b,l),s=v[i],s)b+=i.length;else{for(s=[];b<l;)a.decode(e,b,T),c=T.value,b=T.rest,s.push(c);if(2===s.length)throw new Error("Found a source, but no line and column");if(3===s.length)throw new Error("Found a source and line, but no column");v[i]=s}r.generatedColumn=f+s[0],f=r.generatedColumn,s.length>1&&(r.source=m+s[1],m+=s[1],r.originalLine=d+s[2],d=r.originalLine,r.originalLine+=1,r.originalColumn=h+s[3],h=r.originalColumn,s.length>4&&(r.name=y+s[4],y+=s[4])),S.push(r),"number"==typeof r.originalLine&&E.push(r)}o(S,n.compareByGeneratedPositionsDeflated),this.__generatedMappings=S,o(E,n.compareByOriginalPositions),this.__originalMappings=E},c.prototype._findMapping=function(e,t,r,n,s,a){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,s,a)},c.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}},c.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",l.GREATEST_LOWER_BOUND));if(r>=0){var i=this._generatedMappings[r];if(i.generatedLine===t.generatedLine){var s=n.getArg(i,"source",null);null!==s&&(s=this._sources.at(s),null!=this.sourceRoot&&(s=n.join(this.sourceRoot,s)));var a=n.getArg(i,"name",null);return null!==a&&(a=this._names.at(a)),{source:s,line:n.getArg(i,"originalLine",null),column:n.getArg(i,"originalColumn",null),name:a}}}return{source:null,line:null,column:null,name:null}},c.prototype.hasContentsOfAllSources=function(){return!!this.sourcesContent&&(this.sourcesContent.length>=this._sources.size()&&!this.sourcesContent.some((function(e){return null==e})))},c.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.')},c.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};t=this._sources.indexOf(t);var r={source: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",l.GREATEST_LOWER_BOUND));if(i>=0){var s=this._originalMappings[i];if(s.source===r.source)return{line:n.getArg(s,"generatedLine",null),column:n.getArg(s,"generatedColumn",null),lastColumn:n.getArg(s,"lastGeneratedColumn",null)}}return{line:null,column:null,lastColumn:null}},t.BasicSourceMapConsumer=c,p.prototype=Object.create(l.prototype),p.prototype.constructor=l,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})),s=this._sections[r];return s?s.consumer.originalPositionFor({line:t.generatedLine-(s.generatedOffset.generatedLine-1),column:t.generatedColumn-(s.generatedOffset.generatedLine===t.generatedLine?s.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],i=n.consumer.sourceContentFor(e,!0);if(i)return i}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){var s={line:i.line+(r.generatedOffset.generatedLine-1),column:i.column+(r.generatedOffset.generatedLine===i.line?r.generatedOffset.generatedColumn-1:0)};return s}}}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],s=i.consumer._generatedMappings,a=0;a<s.length;a++){var l=s[a],c=i.consumer._sources.at(l.source);null!==i.consumer.sourceRoot&&(c=n.join(i.consumer.sourceRoot,c)),this._sources.add(c),c=this._sources.indexOf(c);var u=i.consumer._names.at(l.name);this._names.add(u),u=this._names.indexOf(u);var p={source:c,generatedLine:l.generatedLine+(i.generatedOffset.generatedLine-1),generatedColumn:l.generatedColumn+(i.generatedOffset.generatedLine===l.generatedLine?i.generatedOffset.generatedColumn-1:0),originalLine:l.originalLine,originalColumn:l.originalColumn,name:u};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 s=function e(r,n,i,s,a,o){var l=Math.floor((n-r)/2)+r,c=a(i,s[l],!0);return 0===c?l:c>0?n-l>1?e(l,n,i,s,a,o):o==t.LEAST_UPPER_BOUND?n<s.length?n:-1:l:l-r>1?e(r,l,i,s,a,o):o==t.LEAST_UPPER_BOUND?l:r<0?-1:r}(-1,r.length,e,r,n,i||t.GREATEST_LOWER_BOUND);if(s<0)return-1;for(;s-1>=0&&0===n(r[s],r[s-1],!0);)--s;return s}},function(e,t){function r(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function n(e,t,i,s){if(i<s){var a=(p=i,f=s,Math.round(p+Math.random()*(f-p))),o=i-1;r(e,a,s);for(var l=e[s],c=i;c<s;c++)t(e[c],l)<=0&&(o+=1,r(e,o,c));r(e,o+1,c);var u=o+1;n(e,t,i,u-1),n(e,t,u+1,s)}var p,f}t.quickSort=function(e,t){n(e,t,0,e.length-1)}},function(e,t,r){var n=r(250).SourceMapGenerator,i=r(102),s=/(\r?\n)/,a="$$$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[a]=!0,null!=n&&this.add(n)}o.fromStringWithSourceMap=function(e,t,r){var n=new o,a=e.split(s),l=0,c=function(){var e=r(),t=r()||"";return e+t;function r(){return l<a.length?a[l++]:void 0}},u=1,p=0,f=null;return t.eachMapping((function(e){if(null!==f){if(!(u<e.generatedLine)){var t=a[l],r=t.substr(0,e.generatedColumn-p);return a[l]=t.substr(e.generatedColumn-p),p=e.generatedColumn,d(f,r),void(f=e)}d(f,c()),u++,p=0}for(;u<e.generatedLine;)n.add(c()),u++;if(p<e.generatedColumn){t=a[l];n.add(t.substr(0,e.generatedColumn)),a[l]=t.substr(e.generatedColumn),p=e.generatedColumn}f=e}),this),l<a.length&&(f&&d(f,c()),n.add(a.splice(l).join(""))),t.sources.forEach((function(e){var s=t.sourceContentFor(e);null!=s&&(null!=r&&(e=i.join(r,e)),n.setSourceContent(e,s))})),n;function d(e,t){if(null===e||void 0===e.source)n.add(t);else{var s=r?i.join(r,e.source):e.source;n.add(new o(e.originalLine,e.originalColumn,s,t,e.name))}}},o.prototype.add=function(e){if(Array.isArray(e))e.forEach((function(e){this.add(e)}),this);else{if(!e[a]&&"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[a]&&"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],t[a]?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[a]?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][a]&&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,s=null,a=null,o=null,l=null;return this.walk((function(e,n){t.code+=e,null!==n.source&&null!==n.line&&null!==n.column?(s===n.source&&a===n.line&&o===n.column&&l===n.name||r.addMapping({source:n.source,original:{line:n.line,column:n.column},generated:{line:t.line,column:t.column},name:n.name}),s=n.source,a=n.line,o=n.column,l=n.name,i=!0):i&&(r.addMapping({generated:{line:t.line,column:t.column}}),s=null,i=!1);for(var c=0,u=e.length;c<u;c++)10===e.charCodeAt(c)?(t.line++,t.column=0,c+1===u?(s=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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(565),i=r(253),s=r(65),a=r(568);const{isProgram:o,isFile:l,isEmptyStatement:c}=s,u=/e/i,p=/\.0+$/,f=/^0[box]/,d=/^\s*[@#]__PURE__\s*$/,{needsParens:h,needsWhitespaceAfter:m,needsWhitespaceBefore:y}=i;class g{constructor(e,t){this.inForStatementInitCounter=0,this._printStack=[],this._indent=0,this._insideAux=!1,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 n.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){if(!this.format.compact)if(e)this._space();else if(this._buf.hasContent()){const e=this.getLastChar();32!==e&&10!==e&&this._space()}}word(e){(this._endsWithWord||this.endsWith(47)&&47===e.charCodeAt(0))&&this._space(),this._maybeAddAuxComment(),this._append(e),this._endsWithWord=!0}number(e){this.word(e),this._endsWithInteger=Number.isInteger(+e)&&!f.test(e)&&!u.test(e)&&!p.test(e)&&46!==e.charCodeAt(e.length-1)}token(e){const t=this.getLastChar(),r=e.charCodeAt(0);("--"===e&&33===t||43===r&&43===t||45===r&&45===t||46===r&&this._endsWithInteger)&&this._space(),this._maybeAddAuxComment(),this._append(e)}newline(e=1){if(this.format.retainLines||this.format.compact)return;if(this.format.concise)return void this.space();const t=this.endsWithCharAndNewline();if(10!==t&&(123!==t&&58!==t||e--,!(e<=0)))for(let r=0;r<e;r++)this._newline()}endsWith(e){return this.getLastChar()===e}getLastChar(){return this._buf.getLastChar()}endsWithCharAndNewline(){return this._buf.endsWithCharAndNewline()}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(10)&&10!==e.charCodeAt(0)&&this._buf.queue(this._getIndent())}_maybeAddParen(e){const t=this._parenPushNewlineState;if(!t)return;let r;for(r=0;r<e.length&&" "===e[r];r++)continue;if(r===e.length)return;const n=e[r];if("\n"!==n){if("/"!==n||r+1===e.length)return void(this._parenPushNewlineState=null);const t=e[r+1];if("*"===t){if(d.test(e.slice(r+2,e.length-2)))return}else if("/"!==t)return void(this._parenPushNewlineState=null)}this.token("("),this.indent(),t.printed=!0}_catchUp(e,t){if(!this.format.retainLines)return;const r=t?t[e]:null;if(null!=(null==r?void 0:r.line)){const e=r.line-this._buf.getCurrentLine();for(let t=0;t<e;t++)this._newline()}}_getIndent(){return this.format.indent.style.repeat(this._indent)}startTerminatorless(e=!1){return e?(this._noLineTerminator=!0,null):this._parenPushNewlineState={printed:!1}}endTerminatorless(e){this._noLineTerminator=!1,null!=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(null==e?void 0:e.constructor.name)}`);this._printStack.push(e);const i=this._insideAux;this._insideAux=!e.loc,this._maybeAddAuxComment(this._insideAux&&!i);let s=h(e,t,this._printStack);this.format.retainFunctionParens&&"FunctionExpression"===e.type&&e.extra&&e.extra.parenthesized&&(s=!0),s&&this.token("("),this._printLeadingComments(e);const a=o(e)||l(e)?null:e.loc;this.withSource("start",a,()=>{n.call(this,e,t)}),this._printTrailingComments(e),s&&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(null==e||!e.length)return;r.indent&&this.indent();const n={addNewlines:r.addNewlines};for(let i=0;i<e.length;i++){const s=e[i];s&&(r.statement&&this._printNewline(!0,s,t,n),this.print(s,t),r.iterator&&r.iterator(s,i),r.separator&&i<e.length-1&&r.separator.call(this),r.statement&&this._printNewline(!1,s,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;c(t)||this.space(),this.print(t,e)}_printTrailingComments(e){this._printComments(this._getComments(!1,e))}_printLeadingComments(e){this._printComments(this._getComments(!0,e),!0)}printInnerComments(e,t=!0){var r;null!=(r=e.innerComments)&&r.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=v),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);const s=e?y:m;s(t,r)&&i++}this.newline(Math.min(2,i))}_getComments(e,t){return t&&(e?t.leadingComments:t.trailingComments)||[]}_printComment(e,t){if(!this.format.shouldPrintComment(e.value))return;if(e.ignore)return;if(this._printedComments.has(e))return;this._printedComments.add(e);const r="CommentBlock"===e.type,n=r&&!t&&!this._noLineTerminator;n&&this._buf.hasContent()&&this.newline(1);const i=this.getLastChar();91!==i&&123!==i&&this.space();let s=r||this._noLineTerminator?`/*${e.value}*/`:`//${e.value}\n`;if(r&&this.format.indent.adjustMultilineComment){var a;const t=null==(a=e.loc)?void 0:a.start.column;if(t){const e=new RegExp("\\n\\s{1,"+t+"}","g");s=s.replace(e,"\n")}const r=Math.max(this._getIndent().length,this.format.retainLines?0:this._buf.getCurrentColumn());s=s.replace(/\n(?!$)/g,"\n"+" ".repeat(r))}this.endsWith(47)&&this._space(),this.withSource("start",e.loc,()=>{this._append(s)}),n&&this.newline(1)}_printComments(e,t){if(null!=e&&e.length)if(t&&1===e.length&&d.test(e[0].value))this._printComment(e[0],this._buf.hasContent()&&!this.endsWith(10));else for(const r of e)this._printComment(r)}printAssertions(e){var t;null!=(t=e.assertions)&&t.length&&(this.space(),this.word("assert"),this.space(),this.token("{"),this.space(),this.printList(e.assertions,e),this.space(),this.token("}"))}}Object.assign(g.prototype,a),g.prototype.Noop=function(){};var b=g;function v(){this.token(","),this.space()}t.default=b},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=0,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.trimRight(),map:null,rawMappings:null==e?void 0: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:s}=this._sourcePosition;this._append(e,t,r,i,n,s)}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:s,force:a}=this._sourcePosition;this._queue.unshift([e,t,r,s,i,a])}_flush(){let e;for(;e=this._queue.pop();)this._append(...e)}_append(e,t,r,n,i,s){this._buf+=e,this._last=e.charCodeAt(e.length-1);let a=e.indexOf("\n"),o=0;for(0!==a&&this._mark(t,r,n,i,s);-1!==a;)this._position.line++,this._position.column=0,o=a+1,o<e.length&&this._mark(++t,0,n,i,s),a=e.indexOf("\n",o);this._position.column+=e.length-o}_mark(e,t,r,n,i){var s;null==(s=this._map)||s.mark(this._position.line,this._position.column,e,t,r,n,i)}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()}getLastChar(){let e;if(this._queue.length>0){const t=this._queue[0][0];e=t.charCodeAt(0)}else e=this._last;return e}endsWithCharAndNewline(){const e=this._queue;if(e.length>0){const t=e[0][0],r=t.charCodeAt(0);if(10!==r)return;if(e.length>1){const t=e[1][0];return t.charCodeAt(0)}return this._last}}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,s=this._sourcePosition.filename,a=this._sourcePosition.identifierName;this.source(e,t),r(),this._sourcePosition.force&&this._sourcePosition.line===n&&this._sourcePosition.column===i&&this._sourcePosition.filename===s||this._disallowedPop&&this._disallowedPop.line===n&&this._disallowedPop.column===i&&this._disallowedPop.filename===s||(this._sourcePosition.line=n,this._sourcePosition.column=i,this._sourcePosition.filename=s,this._sourcePosition.identifierName=a,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 s=r.line,a=r.column,o=r.filename;return r.identifierName="start"===e&&(null==t?void 0:t.identifierName)||null,r.line=null==i?void 0:i.line,r.column=null==i?void 0:i.column,r.filename=null==t?void 0:t.filename,(n||r.line!==s||r.column!==a||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";Object.defineProperty(t,"__esModule",{value:!0}),t.nodes=t.list=void 0;var n=r(65);const{FLIPPED_ALIAS_KEYS:i,isArrayExpression:s,isAssignmentExpression:a,isBinary:o,isBlockStatement:l,isCallExpression:c,isFunction:u,isIdentifier:p,isLiteral:f,isMemberExpression:d,isObjectExpression:h,isOptionalCallExpression:m,isOptionalMemberExpression:y,isStringLiteral:g}=n;function b(e,t={}){return d(e)||y(e)?(b(e.object,t),e.computed&&b(e.property,t)):o(e)||a(e)?(b(e.left,t),b(e.right,t)):c(e)||m(e)?(t.hasCall=!0,b(e.callee,t)):u(e)?t.hasFunction=!0:p(e)&&(t.hasHelper=t.hasHelper||v(e.callee)),t}function v(e){return d(e)?v(e.object)||v(e.property):p(e)?"require"===e.name||"_"===e.name[0]:c(e)?v(e.callee):!(!o(e)&&!a(e))&&(p(e.left)&&v(e.left)||v(e.right))}function T(e){return f(e)||h(e)||s(e)||p(e)||d(e)}const E={AssignmentExpression(e){const t=b(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(u(e.left)||u(e.right))return{after:!0}},Literal(e){if(g(e)&&"use strict"===e.value)return{after:!0}},CallExpression(e){if(u(e.callee)||v(e))return{before:!0,after:!0}},OptionalCallExpression(e){if(u(e.callee))return{before:!0,after:!0}},VariableDeclaration(e){for(let t=0;t<e.declarations.length;t++){const r=e.declarations[t];let n=v(r.id)&&!T(r.init);if(!n){const e=b(r.init);n=v(r.init)&&e.hasCall||e.hasFunction}if(n)return{before:!0,after:!0}}},IfStatement(e){if(l(e.consequent))return{before:!0,after:!0}}};t.nodes=E,E.ObjectProperty=E.ObjectTypeProperty=E.ObjectMethod=function(e,t){if(t.properties[0]===e)return{before:!0}},E.ObjectTypeCallProperty=function(e,t){var r;if(t.callProperties[0]===e&&(null==(r=t.properties)||!r.length))return{before:!0}},E.ObjectTypeIndexer=function(e,t){var r,n;if(!(t.indexers[0]!==e||null!=(r=t.properties)&&r.length||null!=(n=t.callProperties)&&n.length))return{before:!0}},E.ObjectTypeInternalSlot=function(e,t){var r,n,i;if(!(t.internalSlots[0]!==e||null!=(r=t.properties)&&r.length||null!=(n=t.callProperties)&&n.length||null!=(i=t.indexers)&&i.length))return{before:!0}};const S={VariableDeclaration:e=>e.declarations.map(e=>e.init),ArrayExpression:e=>e.elements,ObjectExpression:e=>e.properties};t.list=S,[["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(i[e]||[]).forEach((function(e){E[e]=function(){return t}}))}))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e,t){return m(t)||te(e,t)},t.AssignmentExpression=function(e,t){return!!I(e.left)||te(e,t)},t.Binary=function(e,t){if("**"===e.operator&&c(t,{operator:"**"}))return t.left===e;if(Q(e,t))return!0;if(Z(e,t)||G(t)||o(t))return!0;if(l(t)){const r=t.operator,n=z[r],i=e.operator,s=z[i];if(n===s&&t.right===e&&!A(t)||n>s)return!0}},t.BinaryExpression=function(e,t){return"in"===e.operator&&($(t)||b(t))},t.ClassExpression=function(e,t,r){return re(r,{expressionStatement:!0,exportDefault:!0})},t.ConditionalExpression=te,t.DoExpression=function(e,t,r){return!e.async&&re(r,{expressionStatement:!0})},t.FunctionExpression=function(e,t,r){return re(r,{expressionStatement:!0,exportDefault:!0})},t.FunctionTypeAnnotation=function(e,t,r){return H(t)||P(t)||i(t)||q(t)&&s(r[r.length-3])},t.Identifier=function(e,t,r){if("let"===e.name){const n=w(t,{object:e,computed:!0})||k(t,{object:e,computed:!0,optional:!1});return re(r,{expressionStatement:n,forHead:n,forInHead:n,forOfHead:!0})}return"async"===e.name&&T(t)&&e===t.left},t.LogicalExpression=function(e,t){switch(e.operator){case"||":return!!A(t)&&("??"===t.operator||"&&"===t.operator);case"&&":return A(t,{operator:"??"});case"??":return A(t)&&"??"!==t.operator}},t.NullableTypeAnnotation=function(e,t){return i(t)},t.ObjectExpression=function(e,t,r){return re(r,{expressionStatement:!0,arrowBody:!0})},t.OptionalIndexedAccessType=function(e,t){return x(t,{objectType:e})},t.OptionalCallExpression=t.OptionalMemberExpression=function(e,t){return u(t,{callee:e})||w(t,{object:e})},t.SequenceExpression=function(e,t){if(E(t)||Y(t)||_(t)||S(t)&&t.test===e||J(t)&&t.test===e||v(t)&&t.right===e||D(t)&&t.discriminant===e||g(t)&&t.expression===e)return!1;return!0},t.TSAsExpression=function(){return!0},t.TSInferType=function(e,t){return M(t)||R(t)},t.TSTypeAssertion=function(){return!0},t.TSIntersectionType=t.TSUnionType=function(e,t){return M(t)||R(t)||L(t)||K(t)||U(t)},t.UnaryLike=ee,t.IntersectionTypeAnnotation=t.UnionTypeAnnotation=function(e,t){return i(t)||C(t)||P(t)||H(t)},t.UpdateExpression=function(e,t){return Z(e,t)||Q(e,t)},t.AwaitExpression=t.YieldExpression=function(e,t){return l(t)||G(t)||Z(e,t)||o(t)&&X(e)||h(t)&&e===t.test||Q(e,t)};var n=r(65);const{isArrayTypeAnnotation:i,isArrowFunctionExpression:s,isAssignmentExpression:a,isAwaitExpression:o,isBinary:l,isBinaryExpression:c,isCallExpression:u,isClassDeclaration:p,isClassExpression:f,isConditional:d,isConditionalExpression:h,isExportDeclaration:m,isExportDefaultDeclaration:y,isExpressionStatement:g,isFor:b,isForInStatement:v,isForOfStatement:T,isForStatement:E,isIfStatement:S,isIndexedAccessType:x,isIntersectionTypeAnnotation:P,isLogicalExpression:A,isMemberExpression:w,isNewExpression:O,isNullableTypeAnnotation:C,isObjectPattern:I,isOptionalCallExpression:N,isOptionalMemberExpression:k,isReturnStatement:_,isSequenceExpression:j,isSwitchStatement:D,isTSArrayType:M,isTSAsExpression:B,isTSIntersectionType:L,isTSNonNullExpression:F,isTSOptionalType:R,isTSRestType:U,isTSTypeAssertion:V,isTSUnionType:K,isTaggedTemplateExpression:W,isThrowStatement:Y,isTypeAnnotation:q,isUnaryLike:G,isUnionTypeAnnotation:H,isVariableDeclarator:$,isWhileStatement:J,isYieldExpression:X}=n,z={"||":0,"??":0,"&&":1,"|":2,"^":3,"&":4,"==":5,"===":5,"!=":5,"!==":5,"<":6,">":6,"<=":6,">=":6,in:6,instanceof:6,">>":7,"<<":7,">>>":7,"+":8,"-":8,"*":9,"/":9,"%":9,"**":10},Q=(e,t)=>(p(t)||f(t))&&t.superClass===e,Z=(e,t)=>(w(t)||k(t))&&t.object===e||(u(t)||N(t)||O(t))&&t.callee===e||W(t)&&t.tag===e||F(t);function ee(e,t){return Z(e,t)||c(t,{operator:"**",left:e})||Q(e,t)}function te(e,t){return!!(G(t)||l(t)||h(t,{test:e})||o(t)||V(t)||B(t))||ee(e,t)}function re(e,{expressionStatement:t=!1,arrowBody:r=!1,exportDefault:n=!1,forHead:i=!1,forInHead:o=!1,forOfHead:c=!1}){let u=e.length-1,p=e[u];u--;let f=e[u];for(;u>=0;){if(t&&g(f,{expression:p})||n&&y(f,{declaration:p})||r&&s(f,{body:p})||i&&E(f,{init:p})||o&&v(f,{left:p})||c&&T(f,{left:p}))return!0;if(!(Z(p,f)&&!O(f)||j(f)&&f.expressions[0]===p||d(f,{test:p})||l(f,{left:p})||a(f,{left:p})))return!1;p=f,u--,f=e[u]}return!1}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(569);Object.keys(n).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===n[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return n[e]}}))}));var i=r(570);Object.keys(i).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===i[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return i[e]}}))}));var s=r(571);Object.keys(s).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===s[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return s[e]}}))}));var a=r(572);Object.keys(a).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===a[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return a[e]}}))}));var o=r(573);Object.keys(o).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===o[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return o[e]}}))}));var l=r(254);Object.keys(l).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===l[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return l[e]}}))}));var c=r(255);Object.keys(c).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===c[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return c[e]}}))}));var u=r(578);Object.keys(u).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===u[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return u[e]}}))}));var p=r(579);Object.keys(p).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===p[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return p[e]}}))}));var f=r(580);Object.keys(f).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===f[e]||Object.defineProperty(t,e,{enumerable:!0,get:function(){return f[e]}}))}));var d=r(581);Object.keys(d).forEach((function(e){"default"!==e&&"__esModule"!==e&&(e in t&&t[e]===d[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";Object.defineProperty(t,"__esModule",{value:!0}),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.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.AwaitExpression=void 0,t.BindExpression=function(e){this.print(e.object,e),this.token("::"),this.print(e.callee,e)},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.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.Decorator=function(e){this.token("@"),this.print(e.expression,e),this.newline()},t.DoExpression=function(e){e.async&&(this.word("async"),this.space());this.word("do"),this.space(),this.print(e.body,e)},t.EmptyStatement=function(){this.semicolon(!0)},t.ExpressionStatement=function(e){this.print(e.expression,e),this.semicolon()},t.Import=function(){this.word("import")},t.MemberExpression=function(e){if(this.print(e.object,e),!e.computed&&o(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;a(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.ModuleExpression=function(e){this.word("module"),this.space(),this.token("{"),0===e.body.body.length?this.token("}"):(this.newline(),this.printSequence(e.body.body,e,{indent:!0}),this.rightBrace())},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&&!s(t,{callee:e})&&!o(t)&&!l(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.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.OptionalMemberExpression=function(e){if(this.print(e.object,e),!e.computed&&o(e.property))throw new TypeError("Got a MemberExpression for MemberExpression property");let t=e.computed;a(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.ParenthesizedExpression=function(e){this.token("("),this.print(e.expression,e),this.token(")")},t.PrivateName=function(e){this.token("#"),this.print(e.id,e)},t.SequenceExpression=function(e){this.printList(e.expressions,e)},t.Super=function(){this.word("super")},t.ThisExpression=function(){this.word("this")},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.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.V8IntrinsicIdentifier=function(e){this.token("%"),this.word(e.name)},t.YieldExpression=void 0;var n=r(65),i=r(253);const{isCallExpression:s,isLiteral:a,isMemberExpression:o,isNewExpression:l}=n;function c(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=c("yield");t.YieldExpression=u;const p=c("await");t.AwaitExpression=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BreakStatement=void 0,t.CatchClause=function(e){this.word("catch"),this.space(),e.param&&(this.token("("),this.print(e.param,e),this.print(e.param.typeAnnotation,e),this.token(")"),this.space());this.print(e.body,e)},t.ContinueStatement=void 0,t.DebuggerStatement=function(){this.word("debugger"),this.semicolon()},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.ForOfStatement=t.ForInStatement=void 0,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.IfStatement=function(e){this.word("if"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.space();const t=e.alternate&&a(function e(t){return o(t.body)?e(t.body):t}(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(125)&&this.space(),this.word("else"),this.space(),this.printAndIndentOnComments(e.alternate,e))},t.LabeledStatement=function(e){this.print(e.label,e),this.token(":"),this.space(),this.print(e.body,e)},t.ReturnStatement=void 0,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.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.ThrowStatement=void 0,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.VariableDeclaration=function(e,t){e.declare&&(this.word("declare"),this.space());this.word(e.kind),this.space();let r,n=!1;if(!i(t))for(const i of e.declarations)i.init&&(n=!0);n&&(r="const"===e.kind?g:y);if(this.printList(e.declarations,e,{separator:r}),i(t))if(s(t)){if(t.init===e)return}else if(t.left===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.WhileStatement=function(e){this.word("while"),this.space(),this.token("("),this.print(e.test,e),this.token(")"),this.printBlock(e)},t.WithStatement=function(e){this.word("with"),this.space(),this.token("("),this.print(e.object,e),this.token(")"),this.printBlock(e)};var n=r(65);const{isFor:i,isForStatement:s,isIfStatement:a,isStatement:o}=n;const l=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)}},c=l("in");t.ForInStatement=c;const u=l("of");function p(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=u;const f=p("continue");t.ContinueStatement=f;const d=p("return","argument");t.ReturnStatement=d;const h=p("break");t.BreakStatement=h;const m=p("throw","argument");function y(){if(this.token(","),this.newline(),this.endsWith(10))for(let e=0;e<4;e++)this.space(!0)}function g(){if(this.token(","),this.newline(),this.endsWith(10))for(let e=0;e<6;e++)this.space(!0)}t.ThrowStatement=m},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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(10)||this.newline(),this.rightBrace())},t.ClassExpression=t.ClassDeclaration=function(e,t){this.format.decoratorsBeforeExport&&(i(t)||s(t))||this.printJoin(e.decorators,e);e.declare&&(this.word("declare"),this.space());e.abstract&&(this.word("abstract"),this.space());this.word("class"),this.printInnerComments(e),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.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.ClassPrivateProperty=function(e){this.printJoin(e.decorators,e),e.static&&(this.word("static"),this.space());this.print(e.key,e),this.print(e.typeAnnotation,e),e.value&&(this.space(),this.token("="),this.space(),this.print(e.value,e));this.semicolon()},t.ClassProperty=function(e){this.printJoin(e.decorators,e),this.source("end",e.key.loc),this.tsPrintClassMemberModifiers(e,!0),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.StaticBlock=function(e){this.word("static"),this.space(),this.token("{"),0===e.body.length?this.token("}"):(this.newline(),this.printSequence(e.body,e,{indent:!0}),this.rightBrace())},t._classMethodHead=function(e){this.printJoin(e.decorators,e),this.source("end",e.key.loc),this.tsPrintClassMemberModifiers(e,!1),this._methodHead(e)};var n=r(65);const{isExportDefaultDeclaration:i,isExportNamedDeclaration:s}=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowFunctionExpression=function(e){e.async&&(this.word("async"),this.space());const t=e.params[0];this.format.retainLines||this.format.auxiliaryCommentBefore||this.format.auxiliaryCommentAfter||1!==e.params.length||!i(t)||function(e,t){var r,n;return!!(e.typeParameters||e.returnType||e.predicate||t.typeAnnotation||t.optional||null!=(r=t.leadingComments)&&r.length||null!=(n=t.trailingComments)&&n.length)}(e,t)?this._params(e):this.print(t,e);this._predicate(e),this.space(),this.token("=>"),this.space(),this.print(e.body,e)},t.FunctionDeclaration=t.FunctionExpression=function(e){this._functionHead(e),this.space(),this.print(e.body,e)},t._functionHead=function(e){e.async&&(this.word("async"),this.space());this.word("function"),e.generator&&this.token("*");this.printInnerComments(e),this.space(),e.id&&this.print(e.id,e);this._params(e),this._predicate(e)},t._methodHead=function(e){const t=e.kind,r=e.key;"get"!==t&&"set"!==t||(this.word(t),this.space());e.async&&(this._catchUp("start",r.loc),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._param=function(e,t){this.printJoin(e.decorators,e),this.print(e,t),e.optional&&this.token("?");this.print(e.typeAnnotation,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._params=function(e){this.print(e.typeParameters,e),this.token("("),this._parameters(e.params,e),this.token(")"),this.print(e.returnType,e)},t._predicate=function(e){e.predicate&&(e.returnType||this.token(":"),this.space(),this.print(e.predicate,e))};var n=r(65);const{isIdentifier:i}=n},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])},s=r.toString,a=Array.isArray,o=t.isBuffer,l={'"':'\\"',"'":"\\'","\\":"\\\\","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r","\t":"\\t"},c=/["'\\\b\f\n\r\t]/,u=/[0-9]/,p=/[ !#-&\(-\[\]-_a-~]/,f=(e,t)=>{const r=()=>{T=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;var h,m;d&&(n.quotes="double",n.wrap=!0),h=n,m=t,t=m?(i(m,(e,t)=>{h[e]=t}),h):h,"single"!=t.quotes&&"double"!=t.quotes&&"backtick"!=t.quotes&&(t.quotes="single");const y="double"==t.quotes?'"':"backtick"==t.quotes?"`":"'",g=t.compact,b=t.lowercaseHex;let v=t.indent.repeat(t.indentLevel),T="";const E=t.__inline1__,S=t.__inline2__,x=g?"":"\n";let P,A=!0;const w="binary"==t.numbers,O="octal"==t.numbers,C="decimal"==t.numbers,I="hexadecimal"==t.numbers;var N;if(d&&e&&(N=e.toJSON,"function"==typeof N)&&(e=e.toJSON()),!(e=>"string"==typeof e||"[object String]"==s.call(e))(e)){if((e=>"[object Map]"==s.call(e))(e))return 0==e.size?"new Map()":(g||(t.__inline1__=!0,t.__inline2__=!1),"new Map("+f(Array.from(e),t)+")");if((e=>"[object Set]"==s.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(a(e))return P=[],t.wrap=!0,E&&(t.__inline1__=!1,t.__inline2__=!0),S||r(),((e,t)=>{const r=e.length;let n=-1;for(;++n<r;)t(e[n])})(e,e=>{A=!1,S&&(t.__inline2__=!1),P.push((g||S?"":v)+f(e,t))}),A?"[]":S?"["+P.join(", ")+"]":"["+x+P.join(","+x)+x+(g?"":T)+"]";if(!(e=>"number"==typeof e||"[object Number]"==s.call(e))(e))return(e=>"[object Object]"==s.call(e))(e)?(P=[],t.wrap=!0,r(),i(e,(e,r)=>{A=!1,P.push((g?"":v)+f(e,t)+":"+(g?"":" ")+f(r,t))}),A?"{}":"{"+x+P.join(","+x)+x+(g?"":T)+"}"):d?JSON.stringify(e)||"null":String(e);if(d)return JSON.stringify(e);if(C)return String(e);if(I){let t=e.toString(16);return b||(t=t.toUpperCase()),"0x"+t}if(w)return"0b"+e.toString(2);if(O)return"0o"+e.toString(8)}const k=e;let _=-1;const j=k.length;for(P="";++_<j;){const e=k.charAt(_);if(t.es6){const e=k.charCodeAt(_);if(e>=55296&&e<=56319&&j>_+1){const t=k.charCodeAt(_+1);if(t>=56320&&t<=57343){const r=1024*(e-55296)+t-56320+65536;let n=r.toString(16);b||(n=n.toUpperCase()),P+="\\u{"+n+"}",++_;continue}}}if(!t.escapeEverything){if(p.test(e)){P+=e;continue}if('"'==e){P+=y==e?'\\"':e;continue}if("`"==e){P+=y==e?"\\`":e;continue}if("'"==e){P+=y==e?"\\'":e;continue}}if("\0"==e&&!d&&!u.test(k.charAt(_+1))){P+="\\0";continue}if(c.test(e)){P+=l[e];continue}const r=e.charCodeAt(0);if(t.minimal&&8232!=r&&8233!=r){P+=e;continue}let n=r.toString(16);b||(n=n.toUpperCase());const i=n.length>2||d,s="\\"+(i?"u":"x")+("0000"+n).slice(i?-4:-2);P+=s}return t.wrap&&(P=y+P+y),"`"==y&&(P=P.replace(/\$\{/g,"\\${")),t.isScriptContext?P.replace(/<\/(script|style)/gi,"<\\/$1").replace(/<!--/g,d?"\\u003C!--":"\\x3C!--"):P};f.version="2.5.2",e.exports=f}).call(this,r(256).Buffer)},function(e,t,r){"use strict";t.byteLength=function(e){var t=c(e),r=t[0],n=t[1];return 3*(r+n)/4-n},t.toByteArray=function(e){var t,r,n=c(e),a=n[0],o=n[1],l=new s(function(e,t,r){return 3*(t+r)/4-r}(0,a,o)),u=0,p=o>0?a-4:a;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)],l[u++]=t>>16&255,l[u++]=t>>8&255,l[u++]=255&t;2===o&&(t=i[e.charCodeAt(r)]<<2|i[e.charCodeAt(r+1)]>>4,l[u++]=255&t);1===o&&(t=i[e.charCodeAt(r)]<<10|i[e.charCodeAt(r+1)]<<4|i[e.charCodeAt(r+2)]>>2,l[u++]=t>>8&255,l[u++]=255&t);return l},t.fromByteArray=function(e){for(var t,r=e.length,i=r%3,s=[],a=0,o=r-i;a<o;a+=16383)s.push(u(e,a,a+16383>o?o:a+16383));1===i?(t=e[r-1],s.push(n[t>>2]+n[t<<4&63]+"==")):2===i&&(t=(e[r-2]<<8)+e[r-1],s.push(n[t>>10]+n[t>>4&63]+n[t<<2&63]+"="));return s.join("")};for(var n=[],i=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=a.length;o<l;++o)n[o]=a[o],i[a.charCodeAt(o)]=o;function c(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("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}function u(e,t,r){for(var i,s,a=[],o=t;o<r;o+=3)i=(e[o]<<16&16711680)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push((s=i,n[s>>18&63]+n[s>>12&63]+n[s>>6&63]+n[63&s]));return a.join("")}i["-".charCodeAt(0)]=62,i["_".charCodeAt(0)]=63},function(e,t){
|
|
62
|
+
/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
|
|
63
|
+
t.read=function(e,t,r,n,i){var s,a,o=8*i-n-1,l=(1<<o)-1,c=l>>1,u=-7,p=r?i-1:0,f=r?-1:1,d=e[t+p];for(p+=f,s=d&(1<<-u)-1,d>>=-u,u+=o;u>0;s=256*s+e[t+p],p+=f,u-=8);for(a=s&(1<<-u)-1,s>>=-u,u+=n;u>0;a=256*a+e[t+p],p+=f,u-=8);if(0===s)s=1-c;else{if(s===l)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,n),s-=c}return(d?-1:1)*a*Math.pow(2,s-n)},t.write=function(e,t,r,n,i,s){var a,o,l,c=8*s-i-1,u=(1<<c)-1,p=u>>1,f=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:s-1,h=n?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(o=isNaN(t)?1:0,a=u):(a=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-a))<1&&(a--,l*=2),t+=a+p>=1?f/l:f*Math.pow(2,1-p),t*l>=2&&(a++,l/=2),a+p>=u?(o=0,a=u):a+p>=1?(o=(t*l-1)*Math.pow(2,i),a+=p):(o=t*Math.pow(2,p-1)*Math.pow(2,i),a=0));i>=8;e[r+d]=255&o,d+=h,o/=256,i-=8);for(a=a<<i|o,c+=i;c>0;e[r+d]=255&a,d+=h,a/=256,c-=8);e[r+d-h]|=128*m}},function(e,t){var r={}.toString;e.exports=Array.isArray||function(e){return"[object Array]"==r.call(e)}},function(e,t,r){"use strict";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.BooleanLiteralTypeAnnotation=function(e){this.word(e.value?"true":"false")},t.BooleanTypeAnnotation=function(){this.word("boolean")},t.DeclareClass=function(e,t){a(t)||(this.word("declare"),this.space());this.word("class"),this.space(),this._interfaceish(e)},t.DeclareExportAllDeclaration=function(){this.word("declare"),this.space(),i.ExportAllDeclaration.apply(this,arguments)},t.DeclareExportDeclaration=function(e){this.word("declare"),this.space(),this.word("export"),this.space(),e.default&&(this.word("default"),this.space());p.apply(this,arguments)},t.DeclareFunction=function(e,t){a(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.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.DeclareOpaqueType=function(e,t){a(t)||(this.word("declare"),this.space());this.OpaqueType(e)},t.DeclareTypeAlias=function(e){this.word("declare"),this.space(),this.TypeAlias(e)},t.DeclareVariable=function(e,t){a(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.DeclaredPredicate=function(e){this.token("%"),this.word("checks"),this.token("("),this.print(e.value,e),this.token(")")},t.EmptyTypeAnnotation=function(){this.word("empty")},t.EnumBooleanBody=function(e){const{explicitType:t}=e;l(this,"boolean",t),c(this,e)},t.EnumBooleanMember=function(e){u(this,e)},t.EnumDeclaration=function(e){const{id:t,body:r}=e;this.word("enum"),this.space(),this.print(t,e),this.print(r,e)},t.EnumDefaultedMember=function(e){const{id:t}=e;this.print(t,e),this.token(",")},t.EnumNumberBody=function(e){const{explicitType:t}=e;l(this,"number",t),c(this,e)},t.EnumNumberMember=function(e){u(this,e)},t.EnumStringBody=function(e){const{explicitType:t}=e;l(this,"string",t),c(this,e)},t.EnumStringMember=function(e){u(this,e)},t.EnumSymbolBody=function(e){l(this,"symbol",!0),c(this,e)},t.ExistsTypeAnnotation=function(){this.token("*")},t.FunctionTypeAnnotation=function(e,t){this.print(e.typeParameters,e),this.token("("),e.this&&(this.word("this"),this.token(":"),this.space(),this.print(e.this.typeAnnotation,e),(e.params.length||e.rest)&&(this.token(","),this.space()));this.printList(e.params,e),e.rest&&(e.params.length&&(this.token(","),this.space()),this.token("..."),this.print(e.rest,e));this.token(")"),t&&("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.IndexedAccessType=function(e){this.print(e.objectType,e),this.token("["),this.print(e.indexType,e),this.token("]")},t.InferredPredicate=function(){this.token("%"),this.word("checks")},t.InterfaceDeclaration=function(e){this.word("interface"),this.space(),this._interfaceish(e)},t.GenericTypeAnnotation=t.ClassImplements=t.InterfaceExtends=function(e){this.print(e.id,e),this.print(e.typeParameters,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:f})},t.MixedTypeAnnotation=function(){this.word("mixed")},t.NullLiteralTypeAnnotation=function(){this.word("null")},t.NullableTypeAnnotation=function(e){this.token("?"),this.print(e.typeAnnotation,e)},Object.defineProperty(t,"NumberLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.NumericLiteral}}),t.NumberTypeAnnotation=function(){this.word("number")},t.ObjectTypeAnnotation=function(e){e.exact?this.token("{|"):this.token("{");const t=[...e.properties,...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.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.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.ObjectTypeProperty=function(e){e.proto&&(this.word("proto"),this.space());e.static&&(this.word("static"),this.space());"get"!==e.kind&&"set"!==e.kind||(this.word(e.kind),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.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.OptionalIndexedAccessType=function(e){this.print(e.objectType,e),e.optional&&this.token("?.");this.token("["),this.print(e.indexType,e),this.token("]")},t.QualifiedTypeIdentifier=function(e){this.print(e.qualification,e),this.token("."),this.print(e.id,e)},Object.defineProperty(t,"StringLiteralTypeAnnotation",{enumerable:!0,get:function(){return s.StringLiteral}}),t.StringTypeAnnotation=function(){this.word("string")},t.SymbolTypeAnnotation=function(){this.word("symbol")},t.ThisTypeAnnotation=function(){this.word("this")},t.TupleTypeAnnotation=function(e){this.token("["),this.printList(e.types,e),this.token("]")},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.TypeCastExpression=function(e){this.token("("),this.print(e.expression,e),this.print(e.typeAnnotation,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.TypeParameterDeclaration=t.TypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},t.TypeofTypeAnnotation=function(e){this.word("typeof"),this.space(),this.print(e.argument,e)},t.UnionTypeAnnotation=function(e){this.printJoin(e.types,e,{separator:d})},t.Variance=function(e){"plus"===e.kind?this.token("+"):this.token("-")},t.VoidTypeAnnotation=function(){this.word("void")},t._interfaceish=function(e){var t;this.print(e.id,e),this.print(e.typeParameters,e),null!=(t=e.extends)&&t.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("-"))};var n=r(65),i=r(254),s=r(255);const{isDeclareExportDeclaration:a,isStatement:o}=n;function l(e,t,r){r&&(e.space(),e.word("of"),e.space(),e.word(t)),e.space()}function c(e,t){const{members:r}=t;e.token("{"),e.indent(),e.newline();for(const n of r)e.print(n,t),e.newline();t.hasUnknownMembers&&(e.token("..."),e.newline()),e.dedent(),e.token("}")}function u(e,t){const{id:r,init:n}=t;e.print(r,t),e.space(),e.token("="),e.space(),e.print(n,t),e.token(",")}function p(e){if(e.declaration){const t=e.declaration;this.print(t,e),o(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 f(){this.space(),this.token("&"),this.space()}function d(){this.space(),this.token("|"),this.space()}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.BlockStatement=function(e){var t;this.token("{"),this.printInnerComments(e);const r=null==(t=e.directives)?void 0:t.length;e.body.length||r?(this.newline(),this.printSequence(e.directives,e,{indent:!0}),r&&this.newline(),this.printSequence(e.body,e,{indent:!0}),this.removeTrailingNewline(),this.source("end",e.loc),this.endsWith(10)||this.newline(),this.rightBrace()):(this.source("end",e.loc),this.token("}"))},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.File=function(e){e.program&&this.print(e.program.interpreter,e);this.print(e.program,e)},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()},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)};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.JSXClosingElement=function(e){this.token("</"),this.print(e.name,e),this.token(">")},t.JSXClosingFragment=function(){this.token("</"),this.token(">")},t.JSXElement=function(e){const t=e.openingElement;if(this.print(t,e),t.selfClosing)return;this.indent();for(const r of e.children)this.print(r,e);this.dedent(),this.print(e.closingElement,e)},t.JSXEmptyExpression=function(e){this.printInnerComments(e)},t.JSXExpressionContainer=function(e){this.token("{"),this.print(e.expression,e),this.token("}")},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.JSXIdentifier=function(e){this.word(e.name)},t.JSXMemberExpression=function(e){this.print(e.object,e),this.token("."),this.print(e.property,e)},t.JSXNamespacedName=function(e){this.print(e.namespace,e),this.token(":"),this.print(e.name,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.JSXOpeningFragment=function(){this.token("<"),this.token(">")},t.JSXSpreadAttribute=function(e){this.token("{"),this.token("..."),this.print(e.argument,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)}},function(e,t,r){"use strict";function n(e,t){!0!==t&&e.token(t)}Object.defineProperty(t,"__esModule",{value:!0}),t.TSAnyKeyword=function(){this.word("any")},t.TSArrayType=function(e){this.print(e.elementType,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.TSBigIntKeyword=function(){this.word("bigint")},t.TSBooleanKeyword=function(){this.word("boolean")},t.TSCallSignatureDeclaration=function(e){this.tsPrintSignatureDeclarationBase(e),this.token(";")},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.TSConstructSignatureDeclaration=function(e){this.word("new"),this.space(),this.tsPrintSignatureDeclarationBase(e),this.token(";")},t.TSConstructorType=function(e){e.abstract&&(this.word("abstract"),this.space());this.word("new"),this.space(),this.tsPrintFunctionOrConstructorType(e)},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.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.TSExportAssignment=function(e){this.word("export"),this.space(),this.token("="),this.space(),this.print(e.expression,e),this.token(";")},t.TSExpressionWithTypeArguments=function(e){this.print(e.expression,e),this.print(e.typeParameters,e)},t.TSExternalModuleReference=function(e){this.token("require("),this.print(e.expression,e),this.token(")")},t.TSFunctionType=function(e){this.tsPrintFunctionOrConstructorType(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.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.TSIndexSignature=function(e){const{readonly:t,static:r}=e;r&&(this.word("static"),this.space());t&&(this.word("readonly"),this.space());this.token("["),this._parameters(e.parameters,e),this.token("]"),this.print(e.typeAnnotation,e),this.token(";")},t.TSIndexedAccessType=function(e){this.print(e.objectType,e),this.token("["),this.print(e.indexType,e),this.token("]")},t.TSInferType=function(e){this.token("infer"),this.space(),this.print(e.typeParameter)},t.TSInterfaceBody=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.body,e)},t.TSInterfaceDeclaration=function(e){const{declare:t,id:r,typeParameters:n,extends:i,body:s}=e;t&&(this.word("declare"),this.space());this.word("interface"),this.space(),this.print(r,e),this.print(n,e),null!=i&&i.length&&(this.space(),this.word("extends"),this.space(),this.printList(i,e));this.space(),this.print(s,e)},t.TSIntersectionType=function(e){this.tsPrintUnionOrIntersectionType(e,"&")},t.TSIntrinsicKeyword=function(){this.word("intrinsic")},t.TSLiteralType=function(e){this.print(e.literal,e)},t.TSMappedType=function(e){const{nameType:t,optional:r,readonly:i,typeParameter:s}=e;this.token("{"),this.space(),i&&(n(this,i),this.word("readonly"),this.space());this.token("["),this.word(s.name),this.space(),this.word("in"),this.space(),this.print(s.constraint,s),t&&(this.space(),this.word("as"),this.space(),this.print(t,e));this.token("]"),r&&(n(this,r),this.token("?"));this.token(":"),this.space(),this.print(e.typeAnnotation,e),this.space(),this.token("}")},t.TSMethodSignature=function(e){const{kind:t}=e;"set"!==t&&"get"!==t||(this.word(t),this.space());this.tsPrintPropertyOrMethodName(e),this.tsPrintSignatureDeclarationBase(e),this.token(";")},t.TSModuleBlock=function(e){this.tsPrintBraced(e.body,e)},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.TSNamedTupleMember=function(e){this.print(e.label,e),e.optional&&this.token("?");this.token(":"),this.space(),this.print(e.elementType,e)},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.TSNeverKeyword=function(){this.word("never")},t.TSNonNullExpression=function(e){this.print(e.expression,e),this.token("!")},t.TSNullKeyword=function(){this.word("null")},t.TSNumberKeyword=function(){this.word("number")},t.TSObjectKeyword=function(){this.word("object")},t.TSOptionalType=function(e){this.print(e.typeAnnotation,e),this.token("?")},t.TSParameterProperty=function(e){e.accessibility&&(this.word(e.accessibility),this.space());e.readonly&&(this.word("readonly"),this.space());this._param(e.parameter)},t.TSParenthesizedType=function(e){this.token("("),this.print(e.typeAnnotation,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.TSQualifiedName=function(e){this.print(e.left,e),this.token("."),this.print(e.right,e)},t.TSRestType=function(e){this.token("..."),this.print(e.typeAnnotation,e)},t.TSStringKeyword=function(){this.word("string")},t.TSSymbolKeyword=function(){this.word("symbol")},t.TSThisType=function(){this.word("this")},t.TSTupleType=function(e){this.token("["),this.printList(e.elementTypes,e),this.token("]")},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.TSTypeAnnotation=function(e){this.token(":"),this.space(),e.optional&&this.token("?");this.print(e.typeAnnotation,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.TSTypeLiteral=function(e){this.tsPrintTypeLiteralOrInterfaceBody(e.members,e)},t.TSTypeOperator=function(e){this.word(e.operator),this.space(),this.print(e.typeAnnotation,e)},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.TSTypeParameterDeclaration=t.TSTypeParameterInstantiation=function(e){this.token("<"),this.printList(e.params,e,{}),this.token(">")},t.TSTypePredicate=function(e){e.asserts&&(this.word("asserts"),this.space());this.print(e.parameterName),e.typeAnnotation&&(this.space(),this.word("is"),this.space(),this.print(e.typeAnnotation.typeAnnotation))},t.TSTypeQuery=function(e){this.word("typeof"),this.space(),this.print(e.exprName)},t.TSTypeReference=function(e){this.print(e.typeName,e),this.print(e.typeParameters,e)},t.TSUndefinedKeyword=function(){this.word("undefined")},t.TSUnionType=function(e){this.tsPrintUnionOrIntersectionType(e,"|")},t.TSUnknownKeyword=function(){this.word("unknown")},t.TSVoidKeyword=function(){this.word("void")},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.tsPrintClassMemberModifiers=function(e,t){t&&e.declare&&(this.word("declare"),this.space());e.accessibility&&(this.word(e.accessibility),this.space());e.static&&(this.word("static"),this.space());e.override&&(this.word("override"),this.space());e.abstract&&(this.word("abstract"),this.space());t&&e.readonly&&(this.word("readonly"),this.space())},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.tsPrintPropertyOrMethodName=function(e){e.computed&&this.token("[");this.print(e.key,e),e.computed&&this.token("]");e.optional&&this.token("?")},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)},t.tsPrintTypeLiteralOrInterfaceBody=function(e,t){this.tsPrintBraced(e,t)},t.tsPrintUnionOrIntersectionType=function(e,t){this.printJoin(e.types,e,{separator(){this.space(),this.token(t),this.space()}})}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.find=function(e){let t=this;do{if(e(t))return t}while(t=t.parentPath);return null},t.findParent=function(e){let t=this;for(;t=t.parentPath;)if(e(t))return t;return null},t.getAncestry=function(){let e=this;const t=[];do{t.push(e)}while(e=e.parentPath);return t},t.getDeepestCommonAncestorFrom=function(e,t){if(!e.length)return this;if(1===e.length)return e[0];let r,n,i=1/0;const s=e.map(e=>{const t=[];do{t.unshift(e)}while((e=e.parentPath)&&e!==this);return t.length<i&&(i=t.length),t}),a=s[0];e:for(let o=0;o<i;o++){const e=a[o];for(const t of s)if(t[o]!==e)break e;r=o,n=e}if(n)return t?t(n,r,s):n;throw new Error("Couldn't find intersection")},t.getEarliestCommonAncestorFrom=function(e){return this.getDeepestCommonAncestorFrom(e,(function(e,t,r){let n;const s=i[e.type];for(const i of r){const e=i[t+1];if(!n){n=e;continue}if(e.listKey&&n.listKey===e.listKey&&e.key<n.key){n=e;continue}const r=s.indexOf(n.parentKey),a=s.indexOf(e.parentKey);r>a&&(n=e)}return n}))},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.inType=function(...e){let t=this;for(;t;){for(const r of e)if(t.node.type===r)return!0;t=t.parentPath}return!1},t.isAncestor=function(e){return e.isDescendant(this)},t.isDescendant=function(e){return!!this.findParent(t=>t===e)};var n=r(65);r(83);const{VISITOR_KEYS:i}=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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()?b():"left"===e.key&&t.isForOfStatement()?s():v()}return}if(e.typeAnnotation)return e.typeAnnotation;if(T.has(e))return;T.add(e);try{var t;let r=n[e.type];if(r)return r.call(this,e);if(r=n[this.parentPath.type],null!=(t=r)&&t.validParent)return this.parentPath.getTypeAnnotation()}finally{T.delete(e)}},t.baseTypeStrictlyMatches=function(e){const t=this.getTypeAnnotation(),r=e.getTypeAnnotation();if(!a(t)&&c(t))return r.type===t.type;return!1},t.couldBeBaseType=function(e){const t=this.getTypeAnnotation();if(a(t))return!0;if(y(t)){for(const r of t.types)if(a(r)||E(e,r,!0))return!0;return!1}return E(e,t,!0)},t.getTypeAnnotation=function(){if(this.typeAnnotation)return this.typeAnnotation;let e=this._getTypeAnnotation()||s();m(e)&&(e=e.typeAnnotation);return this.typeAnnotation=e},t.isBaseType=function(e,t){return E(e,this.getTypeAnnotation(),t)},t.isGenericType=function(e){const t=this.getTypeAnnotation();return u(t)&&p(t.id,{name:e})};var n=r(584),i=r(65);const{anyTypeAnnotation:s,isAnyTypeAnnotation:a,isBooleanTypeAnnotation:o,isEmptyTypeAnnotation:l,isFlowBaseAnnotation:c,isGenericTypeAnnotation:u,isIdentifier:p,isMixedTypeAnnotation:f,isNumberTypeAnnotation:d,isStringTypeAnnotation:h,isTypeAnnotation:m,isUnionTypeAnnotation:y,isVoidTypeAnnotation:g,stringTypeAnnotation:b,voidTypeAnnotation:v}=i;const T=new WeakSet;function E(e,t,r){if("string"===e)return h(t);if("number"===e)return d(t);if("boolean"===e)return o(t);if("any"===e)return a(t);if("mixed"===e)return f(t);if("empty"===e)return l(t);if("void"===e)return g(t);if(r)return!1;throw new Error("Unknown base type "+e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ArrayExpression=O,t.AssignmentExpression=function(){return this.get("right").getTypeAnnotation()},t.BinaryExpression=function(e){const t=e.operator;if(o.indexOf(t)>=0)return E();if(s.indexOf(t)>=0)return f();if("+"===t){const e=this.get("right"),t=this.get("left");return t.isBaseType("number")&&e.isBaseType("number")?E():t.isBaseType("string")||e.isBaseType("string")?S():P([S(),E()])}},t.BooleanLiteral=function(){return f()},t.CallExpression=function(){const{callee:e}=this.node;if(N(e))return p(S());if(I(e)||k(e))return p(u());if(_(e))return p(x([S(),u()]));return j(this.get("callee"))},t.ConditionalExpression=function(){const e=[this.get("consequent").getTypeAnnotation(),this.get("alternate").getTypeAnnotation()];if(v(e[0])&&m)return m(e);if(h)return h(e);return y(e)},t.ClassDeclaration=t.ClassExpression=t.FunctionDeclaration=t.ArrowFunctionExpression=t.FunctionExpression=function(){return g(b("Function"))},Object.defineProperty(t,"Identifier",{enumerable:!0,get:function(){return i.default}}),t.LogicalExpression=function(){const e=[this.get("left").getTypeAnnotation(),this.get("right").getTypeAnnotation()];if(v(e[0])&&m)return m(e);if(h)return h(e);return y(e)},t.NewExpression=function(e){if(this.get("callee").isIdentifier())return g(e.callee)},t.NullLiteral=function(){return T()},t.NumericLiteral=function(){return E()},t.ObjectExpression=function(){return g(b("Object"))},t.ParenthesizedExpression=function(){return this.get("expression").getTypeAnnotation()},t.RegExpLiteral=function(){return g(b("RegExp"))},t.RestElement=C,t.SequenceExpression=function(){return this.get("expressions").pop().getTypeAnnotation()},t.StringLiteral=function(){return S()},t.TaggedTemplateExpression=function(){return j(this.get("tag"))},t.TemplateLiteral=function(){return S()},t.TypeCastExpression=w,t.UnaryExpression=function(e){const t=e.operator;if("void"===t)return A();if(l.indexOf(t)>=0)return E();if(c.indexOf(t)>=0)return S();if(a.indexOf(t)>=0)return f()},t.UpdateExpression=function(e){const t=e.operator;if("++"===t||"--"===t)return E()},t.VariableDeclarator=function(){var e;const t=this.get("id");if(!t.isIdentifier())return;const r=this.get("init");let n=r.getTypeAnnotation();"AnyTypeAnnotation"===(null==(e=n)?void 0:e.type)&&r.isCallExpression()&&r.get("callee").isIdentifier({name:"Array"})&&!r.scope.hasBinding("Array",!0)&&(n=O());return n};var n=r(65),i=r(585);const{BOOLEAN_BINARY_OPERATORS:s,BOOLEAN_UNARY_OPERATORS:a,NUMBER_BINARY_OPERATORS:o,NUMBER_UNARY_OPERATORS:l,STRING_UNARY_OPERATORS:c,anyTypeAnnotation:u,arrayTypeAnnotation:p,booleanTypeAnnotation:f,buildMatchMemberExpression:d,createFlowUnionType:h,createTSUnionType:m,createUnionTypeAnnotation:y,genericTypeAnnotation:g,identifier:b,isTSTypeAnnotation:v,nullLiteralTypeAnnotation:T,numberTypeAnnotation:E,stringTypeAnnotation:S,tupleTypeAnnotation:x,unionTypeAnnotation:P,voidTypeAnnotation:A}=n;function w(e){return e.typeAnnotation}function O(){return g(b("Array"))}function C(){return O()}w.validParent=!0,C.validParent=!0;const I=d("Array.from"),N=d("Object.keys"),k=d("Object.values"),_=d("Object.entries");function j(e){if(e=e.resolve(),e.isFunction()){if(e.is("async"))return e.is("generator")?g(b("AsyncIterator")):g(b("Promise"));if(e.node.returnType)return e.node.returnType}}},function(e,t,r){"use strict";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 n=[],i=[];let o=f(e,t,i);const u=function e(t,r,n){const i=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,n);if(!i)return;const o=i.get("test"),u=[o],p=[];for(let s=0;s<u.length;s++){const e=u[s];if(e.isLogicalExpression())"&&"===e.node.operator&&(u.push(e.get("left")),u.push(e.get("right")));else if(e.isBinaryExpression()){const t=d(n,e);t&&p.push(t)}}if(p.length)return c(p[0])&&a?{typeAnnotation:a(p),ifStatement:i}:s?{typeAnnotation:s(p),ifStatement:i}:{typeAnnotation:l(p),ifStatement:i};return e(i,n)}(e,t,r);if(u){const t=f(e,u.ifStatement);o=o.filter(e=>t.indexOf(e)<0),n.push(u.typeAnnotation)}if(o.length){o.push(...i);for(const e of o)n.push(e.getTypeAnnotation())}if(!n.length)return;if(c(n[0])&&a)return a(n);if(s)return s(n);return l(n)}(t,this,e.name);if("undefined"===e.name)return p();if("NaN"===e.name||"Infinity"===e.name)return u();e.name};var n=r(65);const{BOOLEAN_NUMBER_BINARY_OPERATORS:i,createFlowUnionType:s,createTSUnionType:a,createTypeAnnotationBasedOnTypeof:o,createUnionTypeAnnotation:l,isTSTypeAnnotation:c,numberTypeAnnotation:u,voidTypeAnnotation:p}=n;function f(e,t,r){const n=e.constantViolations.slice();return n.unshift(e.path),n.filter(e=>{e=e.resolve();const n=e._guessExecutionStatusRelativeTo(t);return r&&"unknown"===n&&r.push(e),"before"===n})}function d(e,t){const r=t.node.operator,n=t.get("right").resolve(),s=t.get("left").resolve();let a,l,c;if(s.isIdentifier({name:e})?a=n:n.isIdentifier({name:e})&&(a=s),a)return"==="===r?a.getTypeAnnotation():i.indexOf(r)>=0?u():void 0;if("==="!==r&&"=="!==r)return;if(s.isUnaryExpression({operator:"typeof"})?(l=s,c=n):n.isUnaryExpression({operator:"typeof"})&&(l=n,c=s),!l)return;if(!l.get("argument").isIdentifier({name:e}))return;if(c=c.resolve(),!c.isLiteral())return;const p=c.node.value;return"string"==typeof p?o(p):void 0}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._replaceWith=function(e){var t;if(!this.container)throw new ReferenceError("Container is falsy");this.inList?C(this.parent,this.key,[e]):C(this.parent,this.key,e);this.debug("Replace with "+(null==e?void 0:e.type)),null==(t=a.path.get(this.parent))||t.set(e,this).delete(this.node),this.node=this.container[this.key]=e},t.replaceExpressionWithStatements=function(e){this.resync();const t=O(e,this.scope);if(t)return this.replaceWith(t)[0].get("expressions");const r=this.getFunctionParent(),n=null==r?void 0:r.is("async"),s=null==r?void 0:r.is("generator"),a=p([],h(e));this.replaceWith(m(a,[]));const o=this.get("callee");(0,c.default)(o.get("body"),e=>{this.scope.push({id:e})},"var");const l=this.get("callee").getCompletionRecords();for(const i of l){if(!i.isExpressionStatement())continue;const e=i.findParent(e=>e.isLoop());if(e){let t=e.getData("expressionReplacementReturnUid");t?t=b(t.name):(t=o.scope.generateDeclaredUidIdentifier("ret"),o.get("body").pushContainer("body",w(y(t))),e.setData("expressionReplacementReturnUid",t)),i.get("expression").replaceWith(f("=",y(t),i.node.expression))}else i.replaceWith(w(i.node.expression))}o.arrowFunctionToExpression();const g=o,v=n&&i.default.hasType(this.get("callee.body").node,"AwaitExpression",u),T=s&&i.default.hasType(this.get("callee.body").node,"YieldExpression",u);v&&(g.set("async",!0),T||this.replaceWith(d(this.node)));T&&(g.set("generator",!0),this.replaceWith(I(this.node,!0)));return g.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)},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 s.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()&&!x(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")&&S(e)&&(this.canHaveVariableDeclarationOrExpression()||this.canSwapBetweenExpressionAndStatement(e)||this.parentPath.isExportDefaultDeclaration()||(e=g(e),t="expression"));if(this.isNodeType("Expression")&&P(e)&&!this.canHaveVariableDeclarationOrExpression()&&!this.canSwapBetweenExpressionAndStatement(e))return this.replaceExpressionWithStatements([e]);const r=this.node;r&&(E(e,r),A(r));return this._replaceWith(e),this.type=e.type,this.setScope(),this.requeue(),[t?this.get(t):this]},t.replaceWithMultiple=function(e){var t;this.resync(),e=this._verifyNodeList(e),v(e[0],this.node),T(e[e.length-1],this.node),null==(t=a.path.get(this.parent))||t.delete(this.node),this.node=this.container[this.key]=null;const r=this.insertAfter(e);this.node?this.requeue():this.remove();return r},t.replaceWithSourceString=function(e){this.resync();try{e=`(${e})`,e=(0,o.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)};var n=r(120),i=r(74),s=r(83),a=r(93),o=r(121),l=r(65),c=r(597);const{FUNCTION_TYPES:u,arrowFunctionExpression:p,assignmentExpression:f,awaitExpression:d,blockStatement:h,callExpression:m,cloneNode:y,expressionStatement:g,identifier:b,inheritLeadingComments:v,inheritTrailingComments:T,inheritsComments:E,isExpression:S,isProgram:x,isStatement:P,removeComments:A,returnStatement:w,toSequenceExpression:O,validate:C,yieldExpression:I}=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t={}){if(u(t)){const r=p(t),n=function(e){return{keyword:e.cyan,capitalized:e.yellow,jsxIdentifier:e.yellow,punctuator:e.yellow,number:e.magenta,string:e.green,regex:e.magenta,comment:e.grey,invalid:e.white.bgRed.bold}}(r);return function(e,t){let r="";for(const{type:n,value:i}of c(t)){const t=e[n];r+=t?i.split(o).map(e=>t(e)).join("\n"):i}return r}(n,e)}return e},t.getChalk=p,t.shouldHighlight=u;var n=r(588),i=r(101),s=r(589);const a=new Set(["as","async","from","get","of","set"]);const o=/\r\n|[\n\r\u2028\u2029]/,l=/^[()[\]{}]$/;let c;{const e=/^[a-z][\w-]*$/i,t=function(t,r,n){if("name"===t.type){if((0,i.isKeyword)(t.value)||(0,i.isStrictReservedWord)(t.value,!0)||a.has(t.value))return"keyword";if(e.test(t.value)&&("<"===n[r-1]||"</"==n.substr(r-2,2)))return"jsxIdentifier";if(t.value[0]!==t.value[0].toLowerCase())return"capitalized"}return"punctuator"===t.type&&l.test(t.value)?"bracket":"invalid"!==t.type||"@"!==t.value&&"#"!==t.value?t.type:"punctuator"};c=function*(e){let r;for(;r=n.default.exec(e);){const i=n.matchToToken(r);yield{type:t(i,r.index,e),value:i.value}}}}function u(e){return!!s.supportsColor||e.forceColor}function p(e){return e.forceColor?new s.constructor({enabled:!0,level:1}):s}},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(590),i=r(591),s=r(595).stdout,a=r(596),o="win32"===t.platform&&!(t.env.TERM||"").toLowerCase().startsWith("xterm"),l=["ansi","ansi","ansi256","ansi16m"],c=new Set(["gray"]),u=Object.create(null);function p(e,t){t=t||{};const r=s?s.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 y.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="[94m");for(const e of Object.keys(i))i[e].closeRe=new RegExp(n(i[e].close),"g"),u[e]={get(){const t=i[e];return h.call(this,this._styles?this._styles.concat(t):[t],this._empty,e)}};u.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))c.has(e)||(u[e]={get(){const t=this.level;return function(){const r=i.color[l[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(c.has(e))continue;const t="bg"+e[0].toUpperCase()+e.slice(1);u[t]={get(){const t=this.level;return function(){const r=i.bgColor[l[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(()=>{},u);function h(e,t,r){const n=function(){return m.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 m(){const e=arguments,t=e.length;let r=String(arguments[0]);if(0===t)return"";if(t>1)for(let i=1;i<t;i++)r+=" "+e[i];if(!this.enabled||this.level<=0||!r)return this._empty?"":r;const n=i.dim.open;o&&this.hasGrey&&(i.dim.open="");for(const i of this._styles.slice().reverse())r=i.open+r.replace(i.closeRe,i.open)+i.close,r=r.replace(/\r?\n/g,`${i.close}$&${i.open}`);return i.dim.open=n,r}function y(e,t){if(!Array.isArray(t))return[].slice.call(arguments,1).join(" ");const r=[].slice.call(arguments,2),n=[t.raw[0]];for(let i=1;i<t.length;i++)n.push(String(r[i-1]).replace(/[{}\\]/g,"\\$&")),n.push(String(t.raw[i]));return a(e,n.join(""))}Object.defineProperties(f.prototype,u),e.exports=f(),e.exports.supportsColor=s,e.exports.default=e.exports}).call(this,r(69))},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(592),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`},s=(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 a=e=>e,o=(e,t,r)=>[e,t,r];r.color.close="[39m",r.bgColor.close="[49m",r.color.ansi={ansi:n(a,0)},r.color.ansi256={ansi256:i(a,0)},r.color.ansi16m={rgb:s(o,0)},r.bgColor.ansi={ansi:n(a,10)},r.bgColor.ansi256={ansi256:i(a,10)},r.bgColor.ansi16m={rgb:s(o,10)};for(let l of Object.keys(t)){if("object"!=typeof t[l])continue;const e=t[l];"ansi16"===l&&(l="ansi"),"ansi16"in e&&(r.color.ansi[l]=n(e.ansi16,0),r.bgColor.ansi[l]=n(e.ansi16,10)),"ansi256"in e&&(r.color.ansi256[l]=i(e.ansi256,0),r.bgColor.ansi256[l]=i(e.ansi256,10)),"rgb"in e&&(r.color.ansi16m[l]=s(e.rgb,0),r.bgColor.ansi16m[l]=s(e.rgb,10))}return r}})}).call(this,r(150)(e))},function(e,t,r){var n=r(257),i=r(594),s={},a=Object.keys(n);a.forEach((function(e){s[e]={},Object.defineProperty(s[e],"channels",{value:n[e].channels}),Object.defineProperty(s[e],"labels",{value:n[e].labels});var t=i(e),r=Object.keys(t);r.forEach((function(r){var n=t[r];s[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),s[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=s},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(257);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(),s=Object.keys(n[i]),a=s.length,o=0;o<a;o++){var l=s[o],c=t[l];-1===c.distance&&(c.distance=t[i].distance+1,c.parent=i,r.unshift(l))}return t}function s(e,t){return function(r){return t(e(r))}}function a(e,t){for(var r=[t[e].parent,e],i=n[t[e].parent][e],a=t[e].parent;t[a].parent;)r.unshift(t[a].parent),i=s(n[t[a].parent][a],i),a=t[a].parent;return i.conversion=r,i}e.exports=function(e){for(var t=i(e),r={},n=Object.keys(t),s=n.length,o=0;o<s;o++){var l=n[o],c=t[l];null!==c.parent&&(r[l]=a(l,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,s=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,a=/\\(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 l(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 c(e,t){const r=[],n=t.trim().split(/\s*,\s*/g);let i;for(const o of n)if(isNaN(o)){if(!(i=o.match(s)))throw new Error(`Invalid Chalk template style argument: ${o} (in style '${e}')`);r.push(i[2].replace(a,(e,t,r)=>t?l(t):r))}else r.push(Number(o));return r}function u(e){i.lastIndex=0;const t=[];let r;for(;null!==(r=i.exec(e));){const e=r[1];if(r[2]){const n=c(e,r[2]);t.push([e].concat(n))}else t.push([e])}return t}function p(e,t){const r={};for(const i of t)for(const e of i.styles)r[e[0]]=i.inverse?null:e.slice(1);let n=e;for(const i of Object.keys(r))if(Array.isArray(r[i])){if(!(i in n))throw new Error("Unknown Chalk style: "+i);n=r[i].length>0?n[i].apply(n,r[i]):n[i]}return n}e.exports=(e,t)=>{const r=[],i=[];let s=[];if(t.replace(n,(t,n,a,o,c,f)=>{if(n)s.push(l(n));else if(o){const t=s.join("");s=[],i.push(0===r.length?t:p(e,r)(t)),r.push({inverse:a,styles:u(o)})}else if(c){if(0===r.length)throw new Error("Found extraneous } in Chalk template literal");i.push(p(e,r)(s.join(""))),s=[],r.pop()}else s.push(f)}),i.push(s.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";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r="var"){e.traverse(o,{kind:r,emit:t})};var n=r(65);const{assignmentExpression:i,expressionStatement:s,identifier:a}=n,o={Scope(e,t){"let"===t.kind&&e.skip()},FunctionParent(e){e.skip()},VariableDeclaration(e,t){if(t.kind&&e.node.kind!==t.kind)return;const r=[],n=e.get("declarations");let o;for(const l of n){o=l.node.id,l.node.init&&r.push(s(i("=",l.node.id,l.node.init)));for(const e of Object.keys(l.getBindingIdentifiers()))t.emit(a(e),e,null!==l.node.init)}e.parentPath.isFor({left:e.node})?e.replaceWith(o):e.replaceWithMultiple(r)}}},function(e,t,r){"use strict";(function(e){Object.defineProperty(t,"__esModule",{value:!0}),t.evaluate=function(){const e={confident:!0,deoptPath:null,seen:new Map};let t=s(this,e);e.confident||(t=void 0);return{confident:e.confident,deopt:e.deoptPath,value:t}},t.evaluateTruthy=function(){const e=this.evaluate();if(e.confident)return!!e.value};const r=["String","Number","Math"],n=["random"];function i(e,t){t.confident&&(t.deoptPath=e,t.confident=!1)}function s(t,o){const{node:l}=t,{seen:c}=o;if(c.has(l)){const e=c.get(l);return e.resolved?e.value:void i(t,o)}{const u={resolved:!1};c.set(l,u);const p=function(t,o){if(!o.confident)return;if(t.isSequenceExpression()){const e=t.get("expressions");return s(e[e.length-1],o)}if(t.isStringLiteral()||t.isNumericLiteral()||t.isBooleanLiteral())return t.node.value;if(t.isNullLiteral())return null;if(t.isTemplateLiteral())return a(t,t.node.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)&&n.isIdentifier()&&"raw"===n.node.name)return a(t,t.node.quasi.quasis,o,!0)}if(t.isConditionalExpression()){const e=s(t.get("test"),o);if(!o.confident)return;return s(e?t.get("consequent"):t.get("alternate"),o)}if(t.isExpressionWrapper())return s(t.get("expression"),o);if(t.isMemberExpression()&&!t.parentPath.isCallExpression({callee:t.node})){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(t.node.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(null!=e&&e.hasValue)return e.value;{if("undefined"===t.node.name)return e?i(e.path,o):void 0;if("Infinity"===t.node.name)return e?i(e.path,o):1/0;if("NaN"===t.node.name)return e?i(e.path,o):NaN;const r=t.resolve();return r===t?i(t,o):s(r,o)}}if(t.isUnaryExpression({prefix:!0})){if("void"===t.node.operator)return;const e=t.get("argument");if("typeof"===t.node.operator&&(e.isFunction()||e.isClass()))return"function";const r=s(e,o);if(!o.confident)return;switch(t.node.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(r.deopt,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(),!n.confident)return i(n.deopt,o);n=n.value}else n=n.isIdentifier()?n.node.name:n.node.value;const s=t.get("value");let a=s.evaluate();if(!a.confident)return i(a.deopt,o);a=a.value,e[n]=a}return e}if(t.isLogicalExpression()){const e=o.confident,r=s(t.get("left"),o),n=o.confident;o.confident=e;const i=s(t.get("right"),o),a=o.confident;switch(t.node.operator){case"||":if(o.confident=n&&(!!r||a),!o.confident)return;return r||i;case"&&":if(o.confident=n&&(!r||a),!o.confident)return;return r&&i}}if(t.isBinaryExpression()){const e=s(t.get("left"),o);if(!o.confident)return;const r=s(t.get("right"),o);if(!o.confident)return;switch(t.node.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 a,l;if(i.isIdentifier()&&!t.scope.getBinding(i.node.name)&&r.indexOf(i.node.name)>=0&&(l=e[i.node.name]),i.isMemberExpression()){const t=i.get("object"),s=i.get("property");if(t.isIdentifier()&&s.isIdentifier()&&r.indexOf(t.node.name)>=0&&n.indexOf(s.node.name)<0&&(a=e[t.node.name],l=a[s.node.name]),t.isLiteral()&&s.isIdentifier()){const e=typeof t.node.value;"string"!==e&&"number"!==e||(a=t.node.value,l=a[s.node.name])}}if(l){const e=t.get("arguments").map(e=>s(e,o));if(!o.confident)return;return l.apply(a,e)}}i(t,o)}(t,o);return o.confident&&(u.resolved=!0,u.value=p),p}}function a(e,t,r,n=!1){let i="",a=0;const o=e.get("expressions");for(const l of t){if(!r.confident)break;i+=n?l.value.raw:l.value.cooked;const e=o[a++];e&&(i+=String(s(e,r)))}if(r.confident)return i}}).call(this,r(38))},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.arrowFunctionToExpression=function({allowInsertArrow:e=!0,specCompliant:t=!1,noNewArrows:r=!t}={}){if(!this.isArrowFunctionExpression())throw this.buildCodeFrameError("Cannot convert non-arrow function to a function expression.");const{thisBinding:n,fnPath:i}=k(this,r,e);if(i.ensureBlock(),i.node.type="FunctionExpression",!r){const e=n?null:i.scope.generateUidIdentifier("arrowCheckId");e&&i.parentPath.scope.push({id:e,init:T([])}),i.get("body").unshiftContainer("body",d(p(this.hub.addHelper("newArrowCheck"),[O(),h(e?e.name:n)]))),i.replaceWith(p(g((0,s.default)(this,!0)||i.node,h("bind")),[e?h(e.name):O()]))}},t.arrowFunctionToShadowed=function(){if(!this.isArrowFunctionExpression())return;this.arrowFunctionToExpression()},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 n,i,s="body";e.isStatement()?(i="body",n=0,r.push(e.node)):(s+=".body.0",this.isFunction()?(n="argument",r.push(S(e.node))):(n="expression",r.push(d(e.node))));this.node.body=u(r);const a=this.get(s);return e.setup(a,i?a.node[i]:a.node,i,n),this.node},t.toComputedKey=function(){let e;if(this.isMemberExpression())e=this.node.property;else{if(!this.isProperty()&&!this.isMethod())throw new ReferenceError("todo");e=this.node.key}this.node.computed||m(e)&&(e=A(e.name));return e},t.unwrapFunctionEnvironment=function(){if(!this.isArrowFunctionExpression()&&!this.isFunctionExpression()&&!this.isFunctionDeclaration())throw this.buildCodeFrameError("Can only unwrap the environment of a function.");k(this)};var n=r(65),i=r(103),s=r(159),a=r(260);const{arrowFunctionExpression:o,assignmentExpression:l,binaryExpression:c,blockStatement:u,callExpression:p,conditionalExpression:f,expressionStatement:d,identifier:h,isIdentifier:m,jsxIdentifier:y,memberExpression:g,metaProperty:b,numericLiteral:v,objectExpression:T,restElement:E,returnStatement:S,sequenceExpression:x,spreadElement:P,stringLiteral:A,super:w,thisExpression:O,toExpression:C,unaryExpression:I}=n;const N=(0,a.merge)([{CallExpression(e,{allSuperCalls:t}){e.get("callee").isSuper()&&t.push(e)}},i.default]);function k(e,t=!0,r=!0){let n,i=e.findParent(e=>e.isArrowFunctionExpression()?(null!=n||(n=e),!1):e.isFunction()||e.isProgram()||e.isClassProperty({static:!1})||e.isClassPrivateProperty({static:!1}));const s=i.isClassMethod({kind:"constructor"});if(i.isClassProperty()||i.isClassPrivateProperty())if(n)i=n;else{if(!r)throw e.buildCodeFrameError("Unable to transform arrow inside class property");e.replaceWith(p(o([],C(e.node)),[])),i=e.get("callee"),e=i.get("body")}const{thisPaths:a,argumentsPaths:u,newTargetPaths:d,superProps:m,superCalls:T}=function(e){const t=[],r=[],n=[],i=[],s=[];return e.traverse(M,{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}),{thisPaths:t,argumentsPaths:r,newTargetPaths:n,superProps:i,superCalls:s}}(e);if(s&&T.length>0){if(!r)throw T[0].buildCodeFrameError("Unable to handle nested super() usage in arrow");const e=[];i.traverse(N,{allSuperCalls:e});const t=function(e){return D(e,"supercall",()=>{const t=e.scope.generateUidIdentifier("args");return o([E(t)],p(w(),[P(h(t.name))]))})}(i);e.forEach(e=>{const r=h(t);r.loc=e.node.callee.loc,e.get("callee").replaceWith(r)})}if(u.length>0){const e=D(i,"arguments",()=>{const e=()=>h("arguments");return i.scope.path.isProgram()?f(c("===",I("typeof",e()),A("undefined")),i.scope.buildUndefinedNode(),e()):e()});u.forEach(t=>{const r=h(e);r.loc=t.node.loc,t.replaceWith(r)})}if(d.length>0){const e=D(i,"newtarget",()=>b(h("new"),h("target")));d.forEach(t=>{const r=h(e);r.loc=t.node.loc,t.replaceWith(r)})}if(m.length>0){if(!r)throw m[0].buildCodeFrameError("Unable to handle nested super.prop usage");const e=m.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),n=t.node.right;if(t.node.operator="=",e.node.computed){const i=e.scope.generateDeclaredUidIdentifier("tmp");t.get("left").replaceWith(g(e.node.object,l("=",i,e.node.property),!0)),t.get("right").replaceWith(c(r,g(e.node.object,h(i.name),!0),n))}else t.get("left").replaceWith(g(e.node.object,e.node.property)),t.get("right").replaceWith(c(r,g(e.node.object,h(e.node.property.name)),n));return[t.get("left"),t.get("right").get("left")]}if(e.parentPath.isUpdateExpression()){const t=e.parentPath,r=e.scope.generateDeclaredUidIdentifier("tmp"),n=e.node.computed?e.scope.generateDeclaredUidIdentifier("prop"):null,i=[l("=",r,g(e.node.object,n?l("=",n,e.node.property):e.node.property,e.node.computed)),l("=",g(e.node.object,n?h(n.name):e.node.property,e.node.computed),c("+",h(r.name),v(1)))];e.parentPath.node.prefix||i.push(h(r.name)),t.replaceWith(x(i));const s=t.get("expressions.0.right"),a=t.get("expressions.1.left");return[s,a]}return[e]}(t)),[]);e.forEach(e=>{const t=e.node.computed?"":e.get("property").node.name,r=e.parentPath.isAssignmentExpression({left:e.node}),n=e.parentPath.isCallExpression({callee:e.node}),s=function(e,t,r){const n=t?"set":"get";return D(e,`superprop_${n}:${r||""}`,()=>{const n=[];let i;if(r)i=g(w(),h(r));else{const t=e.scope.generateUidIdentifier("prop");n.unshift(t),i=g(w(),h(t.name),!0)}if(t){const t=e.scope.generateUidIdentifier("value");n.push(t),i=l("=",i,h(t.name))}return o(n,i)})}(i,r,t),c=[];if(e.node.computed&&c.push(e.get("property").node),r){const t=e.parentPath.node.right;c.push(t)}const u=p(h(s),c);n?(e.parentPath.unshiftContainer("arguments",O()),e.replaceWith(g(u,h("call"))),a.push(e.parentPath.get("arguments.0"))):r?e.parentPath.replaceWith(u):e.replaceWith(u)})}let S;return(a.length>0||!t)&&(S=function(e,t){return D(e,"this",r=>{if(!t||!_(e))return O();e.traverse(j,{supers:new WeakSet,thisBinding:r})})}(i,s),(t||s&&_(i))&&(a.forEach(e=>{const t=e.isJSX()?y(S):h(S);t.loc=e.node.loc,e.replaceWith(t)}),t||(S=null))),{thisBinding:S,fnPath:e}}function _(e){return e.isClassMethod()&&!!e.parentPath.parentPath.node.superClass}const j=(0,a.merge)([{CallExpression(e,{supers:t,thisBinding:r}){e.get("callee").isSuper()&&(t.has(e.node)||(t.add(e.node),e.replaceWithMultiple([e.node,l("=",h(r),h("this"))])))}},i.default]);function D(e,t,r){const n="binding:"+t;let i=e.getData(n);if(!i){const s=e.scope.generateUidIdentifier(t);i=s.name,e.setData(n,i),e.scope.push({id:s,init:r(i)})}return i}const M=(0,a.merge)([{ThisExpression(e,{thisPaths:t}){t.push(e)},JSXIdentifier(e,{thisPaths:t}){"this"===e.node.name&&(e.parentPath.isJSXMemberExpression({object:e.node})||e.parentPath.isJSXOpeningElement({name:e.node}))&&t.push(e)},CallExpression(e,{superCalls:t}){e.get("callee").isSuper()&&t.push(e)},MemberExpression(e,{superProps:t}){e.get("object").isSuper()&&t.push(e)},Identifier(e,{argumentsPaths:t}){if(!e.isReferencedIdentifier({name:"arguments"}))return;let r=e.scope;do{if(r.hasOwnBinding("arguments"))return void r.rename("arguments");if(r.path.isFunction()&&!r.path.isArrowFunctionExpression())break}while(r=r.parent);t.push(e)},MetaProperty(e,{newTargetPaths:t}){e.get("meta").isIdentifier({name:"new"})&&e.get("property").isIdentifier({name:"target"})&&t.push(e)}},i.default])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){const t=e.params;for(let r=0;r<t.length;r++){const e=t[r];if(i(e)||s(e))return r}return t.length};var n=r(65);const{isAssignmentPattern:i,isRestElement:s}=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.statements=t.statement=t.smart=t.program=t.expression=void 0;var n=r(65);const{assertExpressionStatement:i}=n;function s(e){return{code:e=>"/* @babel/template */;\n"+e,validate:()=>{},unwrap:t=>e(t.program.body.slice(1))}}const a=s(e=>e.length>1?e:e[0]);t.smart=a;const o=s(e=>e);t.statements=o;const l=s(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=l;const c={code:e=>`(\n${e}\n)`,validate:e=>{if(e.program.body.length>1)throw new Error("Found multiple statements but wanted one");if(0===c.unwrap(e).start)throw new Error("Parse result included parens.")},unwrap:({program:e})=>{const[t]=e.body;return i(t),t.expression}};t.expression=c;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 l=new WeakMap,c=new WeakMap,u=r||(0,n.validate)(null);return Object.assign((r,...a)=>{if("string"==typeof r){if(a.length>1)throw new Error("Unexpected extra params.");return o((0,i.default)(t,r,(0,n.merge)(u,(0,n.validate)(a[0]))))}if(Array.isArray(r)){let e=l.get(r);return e||(e=(0,s.default)(t,r,u),l.set(r,e)),o(e(a))}if("object"==typeof r&&r){if(a.length>0)throw new Error("Unexpected extra params.");return e(t,(0,n.merge)(u,(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)(u,(0,n.validate)(r[0])),a))()}if(Array.isArray(e)){let i=c.get(e);return i||(i=(0,s.default)(t,e,(0,n.merge)(u,a)),c.set(e,i)),i(r)()}throw new Error("Unexpected template param "+typeof e)}})};var n=r(160),i=r(603),s=r(604);const a=(0,n.validate)({placeholderPattern:!1});function o(e){let t="";try{throw new Error}catch(r){r.stack&&(t=r.stack.split("\n").slice(3).join("\n"))}return r=>{try{return e(r)}catch(n){throw n.stack+="\n =============\n"+t,n}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let a;return t=e.code(t),o=>{const l=(0,n.normalizeReplacements)(o);return a||(a=(0,i.default)(e,t,r)),e.unwrap((0,s.default)(a,l))}};var n=r(160),i=r(258),s=r(259)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){const{metadata:o,names:l}=function(e,t,r){let n,s,o,l="";do{l+="$";const c=a(t,l);n=c.names,s=new Set(n),o=(0,i.default)(e,e.code(c.code),{parser:r.parser,placeholderWhitelist:new Set(c.names.concat(r.placeholderWhitelist?Array.from(r.placeholderWhitelist):[])),placeholderPattern:r.placeholderPattern,preserveComments:r.preserveComments,syntacticPlaceholders:r.syntacticPlaceholders})}while(o.placeholders.some(e=>e.isDuplicate&&s.has(e.name)));return{metadata:o,names:n}}(e,t,r);return t=>{const r={};return t.forEach((e,t)=>{r[l[t]]=e}),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,s.default)(o,i?Object.assign(i,r):r))}}};var n=r(160),i=r(258),s=r(259);function a(e,t){const r=[];let n=e[0];for(let i=1;i<e.length;i++){const s=`${t}${i-1}`;r.push(s),n+=s+e[i]}return{names:r,code:n}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._guessExecutionStatusRelativeTo=function(e){const t={this:m(this),target:m(e)};if(t.target.node!==t.this.node)return this._guessExecutionStatusRelativeToDifferentFunctions(t.target);const r={target:e.getAncestry(),this:this.getAncestry()};if(r.target.indexOf(this)>=0)return"after";if(r.this.indexOf(e)>=0)return"before";let n;const i={target:0,this:0};for(;!n&&i.this<r.this.length;){const e=r.this[i.this];i.target=r.target.indexOf(e),i.target>=0?n=e:i.this++}if(!n)throw new Error("Internal Babel error - The two compared nodes don't appear to belong to the same program.");if(g(r.this,i.this-1)||g(r.target,i.target-1))return"unknown";const a={this:r.this[i.this-1],target:r.target[i.target-1]};if(a.target.listKey&&a.this.listKey&&a.target.container===a.this.container)return a.target.key>a.this.key?"before":"after";const o=s[n.type],l={this:o.indexOf(a.this.parentKey),target:o.indexOf(a.target.parentKey)};return l.target>l.this?"before":"after"},t._guessExecutionStatusRelativeToDifferentFunctions=function(e){if(!e.isFunctionDeclaration()||e.parentPath.isExportDeclaration())return"unknown";const t=e.scope.getBinding(e.node.id.name);if(!t.references)return"before";const r=t.referencePaths;let n;for(const i of r){const t=!!i.find(t=>t.node===e.node);if(t)continue;if("callee"!==i.key||!i.parentPath.isCallExpression())return"unknown";if(b.has(i.node))continue;b.add(i.node);const r=this._guessExecutionStatusRelativeTo(i);if(b.delete(i.node),n&&n!==r)return"unknown";n=r}return n},t._resolve=function(e,t){if(t&&t.indexOf(this)>=0)return;if(t=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(!c(r))return;const n=r.value,i=this.get("object").resolve(e,t);if(i.isObjectExpression()){const r=i.get("properties");for(const i of r){if(!i.isProperty())continue;const r=i.get("key");let s=i.isnt("computed")&&r.isIdentifier({name:n});if(s=s||r.isLiteral({value:n}),s)return i.get("value").resolve(e,t)}}else if(i.isArrayExpression()&&!isNaN(+n)){const r=i.get("elements"),s=r[n];if(s)return s.resolve(e,t)}}}},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 a(e);if(this.isBlockStatement())return o(e);return!1},t.equals=function(e,t){return this.node[e]===t},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.has=d,t.is=void 0,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.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.node.operator&&this.get("argument").isConstantExpression();if(this.isBinaryExpression())return this.get("left").isConstantExpression()&&this.get("right").isConstantExpression();return!1},t.isInStrictMode=function(){const e=this.isProgram()?this:this.parentPath,t=e.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;const t=e.isFunction()?e.node.body:e.node;for(const r of t.directives)if("use strict"===r.value.value)return!0});return!!t},t.isNodeType=function(e){return p(this.type,e)},t.isStatementOrBlock=function(){return!this.parentPath.isLabeledStatement()&&!a(this.container)&&i.includes(this.key)},t.isStatic=function(){return this.scope.isStatic(this.node)},t.isnt=function(e){return!this.has(e)},t.matchesPattern=function(e,t){return f(this.node,e,t)},t.referencesImport=function(e,t){if(!this.isReferencedIdentifier()){if((this.isMemberExpression()||this.isOptionalMemberExpression())&&(this.node.computed?u(this.node.property,{value:t}):this.node.property.name===t)){const t=this.get("object");return t.isReferencedIdentifier()&&t.referencesImport(e,"*")}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()&&l(n.node.imported,{name:t}))return!0;return!1},t.resolve=function(e,t){return this._resolve(e,t)||this},t.willIMaybeExecuteBefore=function(e){return"after"!==this._guessExecutionStatusRelativeTo(e)};var n=r(65);const{STATEMENT_OR_BLOCK_KEYS:i,VISITOR_KEYS:s,isBlockStatement:a,isExpression:o,isIdentifier:l,isLiteral:c,isStringLiteral:u,isType:p,matchesPattern:f}=n;function d(e){const t=this.node&&this.node[e];return t&&Array.isArray(t)?!!t.length:!!t}const h=d;function m(e){return(e.scope.getFunctionParent()||e.scope.getProgramParent()).path}function y(e,t){switch(e){case"LogicalExpression":return"right"===t;case"ConditionalExpression":case"IfStatement":return"consequent"===t||"alternate"===t;case"WhileStatement":case"DoWhileStatement":case"ForInStatement":case"ForOfStatement":return"body"===t;case"ForStatement":return"body"===t||"update"===t;case"SwitchStatement":return"cases"===t;case"TryStatement":return"handler"===t;case"AssignmentPattern":return"right"===t;case"OptionalMemberExpression":return"property"===t;case"OptionalCallExpression":return"arguments"===t;default:return!1}}function g(e,t){for(let r=0;r<t;r++){const t=e[r];if(y(t.parent.type,t.parentKey))return!0}return!1}t.is=h;const b=new WeakSet},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),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._traverseFlags>0)return!0}return!1},t._getQueueContexts=function(){let e=this,t=this.contexts;for(;!t.length&&(e=e.parentPath,e);)t=e.contexts;return t},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 of Object.keys(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._resyncParent=function(){this.parentPath&&(this.parent=this.parentPath.node)},t._resyncRemoved=function(){null!=this.key&&this.container&&this.container[this.key]===this.node||this._markRemoved()},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.isBlacklisted=t.isDenylisted=function(){var e;const t=null!=(e=this.opts.denylist)?e:this.opts.blacklist;return t&&t.indexOf(this.node.type)>-1},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.requeue=function(e=this){if(e.removed)return;const t=this.contexts;for(const r of t)r.maybeQueue(e)},t.resync=function(){if(this.removed)return;this._resyncParent(),this._resyncList(),this._resyncKey()},t.setContext=function(e){null!=this.skipKeys&&(this.skipKeys={});this._traverseFlags=0,e&&(this.context=e,this.state=e.state,this.opts=e.opts);return this.setScope(),this},t.setKey=function(e){var t;this.key=e,this.node=this.container[this.key],this.type=null==(t=this.node)?void 0:t.type},t.setScope=function(){if(this.opts&&this.opts.noScope)return;let e,t=this.parentPath;"key"===this.key&&t.isMethod()&&(t=t.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.setup=function(e,t,r,n){this.listKey=r,this.container=t,this.parentPath=e||this.parentPath,this.setKey(n)},t.skip=function(){this.shouldSkip=!0},t.skipKey=function(e){null==this.skipKeys&&(this.skipKeys={});this.skipKeys[e]=!0},t.stop=function(){this._traverseFlags|=i.SHOULD_SKIP|i.SHOULD_STOP},t.visit=function(){if(!this.node)return!1;if(this.isDenylisted())return!1;if(this.opts.shouldSkip&&this.opts.shouldSkip(this))return!1;const e=this.context;if(this.shouldSkip||this.call("enter"))return this.debug("Skip..."),this.shouldStop;return s(this,e),this.debug("Recursing into..."),n.default.node(this.node,this.opts,this.scope,this.state,this,this.skipKeys),s(this,e),this.call("exit"),this.shouldStop};var n=r(74),i=r(83);function s(e,t){e.context!==t&&(e.context=t,e.state=t.state,e.opts=t.opts)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._assertUnremoved=function(){if(this.removed)throw this.buildCodeFrameError("NodePath has been removed so is read-only.")},t._callRemovalHooks=function(){for(const e of n.hooks)if(e(this,this.parentPath))return!0},t._markRemoved=function(){this._traverseFlags|=s.SHOULD_SKIP|s.REMOVED,this.parent&&i.path.get(this.parent).delete(this.node);this.node=null},t._remove=function(){Array.isArray(this.container)?(this.container.splice(this.key,1),this.updateSiblingKeys(this.key,-1)):this._replaceWith(null)},t._removeFromScope=function(){const e=this.getBindingIdentifiers();Object.keys(e).forEach(e=>this.scope.removeBinding(e))},t.remove=function(){var e;this._assertUnremoved(),this.resync(),null!=(e=this.opts)&&e.noScope||this._removeFromScope();if(this._callRemovalHooks())return void this._markRemoved();this.shareCommentsWithSiblings(),this._remove(),this._markRemoved()};var n=r(608),i=r(93),s=r(83)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.hooks=void 0;t.hooks=[function(e,t){const r="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();if(r)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._containerInsert=function(e,t){this.updateSiblingKeys(e,t.length);const r=[];this.container.splice(e,0,...t);for(let i=0;i<t.length;i++){const t=e+i,n=this.getSibling(t);r.push(n),this.context&&this.context.queue&&n.pushContext(this.context)}const n=this._getQueueContexts();for(const i of r){i.setScope(),i.debug("Inserted.");for(const e of n)e.maybeQueue(i,!0)}return r},t._containerInsertAfter=function(e){return this._containerInsert(this.key+1,e)},t._containerInsertBefore=function(e){return this._containerInsert(this.key,e)},t._verifyNodeList=function(e){if(!e)return[];Array.isArray(e)||(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 s.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.hoist=function(e=this.scope){const t=new i.default(this,e);return t.run()},t.insertAfter=function(e){this._assertUnremoved();const t=this._verifyNodeList(e),{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertAfter(t.map(e=>h(e)?d(e):e));if(this.isNodeType("Expression")&&!this.isJSXElement()&&!r.isJSXElement()||r.isForStatement()&&"init"===this.key){if(this.node){const e=this.node;let{scope:n}=this;if(n.path.isPattern())return l(e),this.replaceWith(p(o([],e),[])),this.get("callee.body").insertAfter(t),[this];r.isMethod({computed:!0,key:e})&&(n=n.parent);const i=n.generateDeclaredUidIdentifier();t.unshift(d(c("=",f(i),e))),t.push(d(f(i)))}return this.replaceExpressionWithStatements(t)}if(Array.isArray(this.container))return this._containerInsertAfter(t);if(this.isStatementOrBlock()){const e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(u(r?[e]:[])),this.pushContainer("body",t)}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.insertBefore=function(e){this._assertUnremoved();const t=this._verifyNodeList(e),{parentPath:r}=this;if(r.isExpressionStatement()||r.isLabeledStatement()||r.isExportNamedDeclaration()||r.isExportDefaultDeclaration()&&this.isDeclaration())return r.insertBefore(t);if(this.isNodeType("Expression")&&!this.isJSXElement()||r.isForStatement()&&"init"===this.key)return this.node&&t.push(this.node),this.replaceExpressionWithStatements(t);if(Array.isArray(this.container))return this._containerInsertBefore(t);if(this.isStatementOrBlock()){const e=this.node,r=e&&(!this.isExpressionStatement()||null!=e.expression);return this.replaceWith(u(r?[e]:[])),this.unshiftContainer("body",t)}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.pushContainer=function(e,t){this._assertUnremoved();const r=this._verifyNodeList(t),n=this.node[e],i=s.default.get({parentPath:this,parent:this.node,container:n,listKey:e,key:n.length}).setContext(this.context);return i.replaceWithMultiple(r)},t.unshiftContainer=function(e,t){this._assertUnremoved(),t=this._verifyNodeList(t);const r=s.default.get({parentPath:this,parent:this.node,container:this.node[e],listKey:e,key:0}).setContext(this.context);return r._containerInsertBefore(t)},t.updateSiblingKeys=function(e,t){if(!this.parent)return;const r=n.path.get(this.parent);for(const[,n]of r)n.key>=e&&(n.key+=t)};var n=r(93),i=r(610),s=r(83),a=r(65);const{arrowFunctionExpression:o,assertExpression:l,assignmentExpression:c,blockStatement:u,callExpression:p,cloneNode:f,expressionStatement:d,isExpression:h}=a},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(65),i=n;const{react:s}=n,{cloneNode:a,jsxExpressionContainer:o,variableDeclaration:l,variableDeclarator:c}=i,u={ReferencedIdentifier(e,t){if(e.isJSXIdentifier()&&s.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);if(r){for(const n of r.constantViolations)if(n.scope!==r.path.scope)return t.mutableBinding=!0,void e.stop();r===t.scope.getBinding(e.node.name)&&(t.bindings[e.node.name]=r)}}};t.default=class{constructor(e,t){this.breakOnScopePaths=void 0,this.bindings=void 0,this.mutableBinding=void 0,this.scopes=void 0,this.scope=void 0,this.path=void 0,this.attachAfter=void 0,this.breakOnScopePaths=[],this.bindings={},this.mutableBinding=!1,this.scopes=[],this.scope=t,this.path=e,this.attachAfter=!1}isCompatibleScope(e){for(const t of Object.keys(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 of Object.keys(this.bindings)){if(!t.hasOwnBinding(r))continue;const n=this.bindings[r];if("param"===n.kind||"params"===n.path.parentKey)continue;const i=this.getAttachmentParentForPath(n.path);if(i.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,t=e.pop();if(t)if(t.path.isFunction()){if(!this.hasOwnParamBindings(t))return this.getNextScopeAttachmentParent();{if(this.scope===t)return;const e=t.path.get("body").get("body");for(let t=0;t<e.length;t++)if(!e[t].node._blockHoist)return e[t]}}else if(t.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 of Object.keys(this.bindings)){if(!e.hasOwnBinding(t))continue;const r=this.bindings[t];if("param"===r.kind&&r.constant)return!0}return!1}run(){if(this.path.traverse(u,this),this.mutableBinding)return;this.getCompatibleScopes();const e=this.getAttachmentPath();if(!e)return;if(e.getFunctionParent()===this.path.getFunctionParent())return;let t=e.scope.generateUidIdentifier("ref");const r=c(t,this.path.node),n=this.attachAfter?"insertAfter":"insertBefore",[i]=e[n]([e.isVariableDeclarator()?r:l("var",[r])]),s=this.path.parentPath;return s.isJSXElement()&&this.path.container===s.node.children&&(t=o(t)),this.path.replaceWith(a(t)),e.isVariableDeclarator()?i.get("init"):i.get("declarations.0.init")}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t._getKey=function(e,t){const r=this.node,i=r[e];return Array.isArray(i)?i.map((s,a)=>n.default.get({listKey:e,parentPath:this,parent:r,container:i,key:a}).setContext(t)):n.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.get=function(e,t=!0){!0===t&&(t=this.context);const r=e.split(".");return 1===r.length?this._getKey(e,t):this._getPattern(r,t)},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.getBindingIdentifierPaths=function(e=!1,t=!1){const r=[this],n=Object.create(null);for(;r.length;){const i=r.shift();if(!i)continue;if(!i.node)continue;const a=s.keys[i.node.type];if(i.isIdentifier())if(e){const e=n[i.node.name]=n[i.node.name]||[];e.push(i)}else n[i.node.name]=i;else if(i.isExportDeclaration()){const e=i.get("declaration");o(e)&&r.push(e)}else{if(t){if(i.isFunctionDeclaration()){r.push(i.get("id"));continue}if(i.isFunctionExpression())continue}if(a)for(let e=0;e<a.length;e++){const t=a[e],n=i.get(t);Array.isArray(n)?r.push(...n):n.node&&r.push(n)}}}return n},t.getBindingIdentifiers=function(e){return s(this.node,e)},t.getCompletionRecords=function(){const e=h(this,{canHaveBreak:!1,shouldPopulateBreak:!1,inCaseClause:!1});return e.map(e=>e.path)},t.getNextSibling=function(){return this.getSibling(this.key+1)},t.getOpposite=function(){if("left"===this.key)return this.getSibling("right");if("right"===this.key)return this.getSibling("left");return null},t.getOuterBindingIdentifierPaths=function(e){return this.getBindingIdentifierPaths(e,!0)},t.getOuterBindingIdentifiers=function(e){return a(this.node,e)},t.getPrevSibling=function(){return this.getSibling(this.key-1)},t.getSibling=function(e){return n.default.get({parentPath:this.parentPath,parent:this.parent,container:this.container,listKey:this.listKey,key:e}).setContext(this.context)};var n=r(83),i=r(65);const{getBindingIdentifiers:s,getOuterBindingIdentifiers:a,isDeclaration:o,numericLiteral:l,unaryExpression:c}=i;function u(e,t,r){return e&&t.push(...h(e,r)),t}function p(e){e.forEach(e=>{e.type=1})}function f(e,t){e.forEach(e=>{e.path.isBreakStatement({label:null})&&(t?e.path.replaceWith(c("void",l(0))):e.path.remove())})}function d(e,t){const r=[];if(t.canHaveBreak){let n=[];for(let i=0;i<e.length;i++){const s=e[i],a=Object.assign({},t,{inCaseClause:!1});s.isBlockStatement()&&(t.inCaseClause||t.shouldPopulateBreak)?a.shouldPopulateBreak=!0:a.shouldPopulateBreak=!1;const o=h(s,a);if(o.length>0&&o.every(e=>1===e.type)){n.length>0&&o.every(e=>e.path.isBreakStatement({label:null}))?(p(n),r.push(...n),n.some(e=>e.path.isDeclaration())&&(r.push(...o),f(o,!0)),f(o,!1)):(r.push(...o),t.shouldPopulateBreak||f(o,!0));break}if(i===e.length-1)r.push(...o);else{n=[];for(let e=0;e<o.length;e++){const t=o[e];1===t.type&&r.push(t),0===t.type&&n.push(t)}}}}else if(e.length)for(let n=e.length-1;n>=0;n--){const i=h(e[n],t);if(i.length>1||1===i.length&&!i[0].path.isVariableDeclaration()){r.push(...i);break}}return r}function h(e,t){let r=[];if(e.isIfStatement())r=u(e.get("consequent"),r,t),r=u(e.get("alternate"),r,t);else{if(e.isDoExpression()||e.isFor()||e.isWhile()||e.isLabeledStatement())return u(e.get("body"),r,t);if(e.isProgram()||e.isBlockStatement())return d(e.get("body"),t);if(e.isFunction())return h(e.get("body"),t);if(e.isTryStatement())r=u(e.get("block"),r,t),r=u(e.get("handler"),r,t);else{if(e.isCatchClause())return u(e.get("body"),r,t);if(e.isSwitchStatement())return function(e,t,r){let n=[];for(let i=0;i<e.length;i++){const s=e[i],a=h(s,r),o=[],l=[];for(const e of a)0===e.type&&o.push(e),1===e.type&&l.push(e);o.length&&(n=o),t.push(...l)}return t.push(...n),t}(e.get("cases"),r,t);if(e.isSwitchCase())return d(e.get("consequent"),{canHaveBreak:!0,shouldPopulateBreak:!1,inCaseClause:!0});e.isBreakStatement()?r.push(function(e){return{type:1,path:e}}(e)):r.push(function(e){return{type:0,path:e}}(e))}}return r}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.addComment=function(e,t,r){i(this.node,e,t,r)},t.addComments=function(e,t){s(this.node,e,t)},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),s=Boolean(n.node),a=Boolean(i.node);s&&!a?n.addComments("trailing",t):a&&!s&&i.addComments("leading",r)};var n=r(65);const{addComment:i,addComments:s}=n},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){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(90),i=r(615);const s=Object.assign({__proto__:null},i.default);var a=s;t.default=a;const o=e=>t=>({minVersion:e,ast:()=>n.default.program.ast(t)});s.AwaitValue=o("7.0.0-beta.0")`
|
|
64
|
+
export default function _AwaitValue(value) {
|
|
65
|
+
this.wrapped = value;
|
|
66
|
+
}
|
|
67
|
+
`,s.AsyncGenerator=o("7.0.0-beta.0")`
|
|
68
|
+
import AwaitValue from "AwaitValue";
|
|
69
|
+
|
|
70
|
+
export default function AsyncGenerator(gen) {
|
|
71
|
+
var front, back;
|
|
72
|
+
|
|
73
|
+
function send(key, arg) {
|
|
74
|
+
return new Promise(function (resolve, reject) {
|
|
75
|
+
var request = {
|
|
76
|
+
key: key,
|
|
77
|
+
arg: arg,
|
|
78
|
+
resolve: resolve,
|
|
79
|
+
reject: reject,
|
|
80
|
+
next: null,
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
if (back) {
|
|
84
|
+
back = back.next = request;
|
|
85
|
+
} else {
|
|
86
|
+
front = back = request;
|
|
87
|
+
resume(key, arg);
|
|
88
|
+
}
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
function resume(key, arg) {
|
|
93
|
+
try {
|
|
94
|
+
var result = gen[key](arg)
|
|
95
|
+
var value = result.value;
|
|
96
|
+
var wrappedAwait = value instanceof AwaitValue;
|
|
97
|
+
|
|
98
|
+
Promise.resolve(wrappedAwait ? value.wrapped : value).then(
|
|
99
|
+
function (arg) {
|
|
100
|
+
if (wrappedAwait) {
|
|
101
|
+
resume(key === "return" ? "return" : "next", arg);
|
|
102
|
+
return
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
settle(result.done ? "return" : "normal", arg);
|
|
106
|
+
},
|
|
107
|
+
function (err) { resume("throw", err); });
|
|
108
|
+
} catch (err) {
|
|
109
|
+
settle("throw", err);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function settle(type, value) {
|
|
114
|
+
switch (type) {
|
|
115
|
+
case "return":
|
|
116
|
+
front.resolve({ value: value, done: true });
|
|
117
|
+
break;
|
|
118
|
+
case "throw":
|
|
119
|
+
front.reject(value);
|
|
120
|
+
break;
|
|
121
|
+
default:
|
|
122
|
+
front.resolve({ value: value, done: false });
|
|
123
|
+
break;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
front = front.next;
|
|
127
|
+
if (front) {
|
|
128
|
+
resume(front.key, front.arg);
|
|
129
|
+
} else {
|
|
130
|
+
back = null;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
this._invoke = send;
|
|
135
|
+
|
|
136
|
+
// Hide "return" method if generator return is not supported
|
|
137
|
+
if (typeof gen.return !== "function") {
|
|
138
|
+
this.return = undefined;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
AsyncGenerator.prototype[typeof Symbol === "function" && Symbol.asyncIterator || "@@asyncIterator"] = function () { return this; };
|
|
143
|
+
|
|
144
|
+
AsyncGenerator.prototype.next = function (arg) { return this._invoke("next", arg); };
|
|
145
|
+
AsyncGenerator.prototype.throw = function (arg) { return this._invoke("throw", arg); };
|
|
146
|
+
AsyncGenerator.prototype.return = function (arg) { return this._invoke("return", arg); };
|
|
147
|
+
`,s.wrapAsyncGenerator=o("7.0.0-beta.0")`
|
|
148
|
+
import AsyncGenerator from "AsyncGenerator";
|
|
149
|
+
|
|
150
|
+
export default function _wrapAsyncGenerator(fn) {
|
|
151
|
+
return function () {
|
|
152
|
+
return new AsyncGenerator(fn.apply(this, arguments));
|
|
153
|
+
};
|
|
154
|
+
}
|
|
155
|
+
`,s.awaitAsyncGenerator=o("7.0.0-beta.0")`
|
|
156
|
+
import AwaitValue from "AwaitValue";
|
|
157
|
+
|
|
158
|
+
export default function _awaitAsyncGenerator(value) {
|
|
159
|
+
return new AwaitValue(value);
|
|
160
|
+
}
|
|
161
|
+
`,s.asyncGeneratorDelegate=o("7.0.0-beta.0")`
|
|
162
|
+
export default function _asyncGeneratorDelegate(inner, awaitWrap) {
|
|
163
|
+
var iter = {}, waiting = false;
|
|
164
|
+
|
|
165
|
+
function pump(key, value) {
|
|
166
|
+
waiting = true;
|
|
167
|
+
value = new Promise(function (resolve) { resolve(inner[key](value)); });
|
|
168
|
+
return { done: false, value: awaitWrap(value) };
|
|
169
|
+
};
|
|
170
|
+
|
|
171
|
+
iter[typeof Symbol !== "undefined" && Symbol.iterator || "@@iterator"] = function () { return this; };
|
|
172
|
+
|
|
173
|
+
iter.next = function (value) {
|
|
174
|
+
if (waiting) {
|
|
175
|
+
waiting = false;
|
|
176
|
+
return value;
|
|
177
|
+
}
|
|
178
|
+
return pump("next", value);
|
|
179
|
+
};
|
|
180
|
+
|
|
181
|
+
if (typeof inner.throw === "function") {
|
|
182
|
+
iter.throw = function (value) {
|
|
183
|
+
if (waiting) {
|
|
184
|
+
waiting = false;
|
|
185
|
+
throw value;
|
|
186
|
+
}
|
|
187
|
+
return pump("throw", value);
|
|
188
|
+
};
|
|
189
|
+
}
|
|
190
|
+
|
|
191
|
+
if (typeof inner.return === "function") {
|
|
192
|
+
iter.return = function (value) {
|
|
193
|
+
if (waiting) {
|
|
194
|
+
waiting = false;
|
|
195
|
+
return value;
|
|
196
|
+
}
|
|
197
|
+
return pump("return", value);
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
return iter;
|
|
202
|
+
}
|
|
203
|
+
`,s.asyncToGenerator=o("7.0.0-beta.0")`
|
|
204
|
+
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {
|
|
205
|
+
try {
|
|
206
|
+
var info = gen[key](arg);
|
|
207
|
+
var value = info.value;
|
|
208
|
+
} catch (error) {
|
|
209
|
+
reject(error);
|
|
210
|
+
return;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
if (info.done) {
|
|
214
|
+
resolve(value);
|
|
215
|
+
} else {
|
|
216
|
+
Promise.resolve(value).then(_next, _throw);
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
export default function _asyncToGenerator(fn) {
|
|
221
|
+
return function () {
|
|
222
|
+
var self = this, args = arguments;
|
|
223
|
+
return new Promise(function (resolve, reject) {
|
|
224
|
+
var gen = fn.apply(self, args);
|
|
225
|
+
function _next(value) {
|
|
226
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value);
|
|
227
|
+
}
|
|
228
|
+
function _throw(err) {
|
|
229
|
+
asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err);
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
_next(undefined);
|
|
233
|
+
});
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
`,s.classCallCheck=o("7.0.0-beta.0")`
|
|
237
|
+
export default function _classCallCheck(instance, Constructor) {
|
|
238
|
+
if (!(instance instanceof Constructor)) {
|
|
239
|
+
throw new TypeError("Cannot call a class as a function");
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
`,s.createClass=o("7.0.0-beta.0")`
|
|
243
|
+
function _defineProperties(target, props) {
|
|
244
|
+
for (var i = 0; i < props.length; i ++) {
|
|
245
|
+
var descriptor = props[i];
|
|
246
|
+
descriptor.enumerable = descriptor.enumerable || false;
|
|
247
|
+
descriptor.configurable = true;
|
|
248
|
+
if ("value" in descriptor) descriptor.writable = true;
|
|
249
|
+
Object.defineProperty(target, descriptor.key, descriptor);
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export default function _createClass(Constructor, protoProps, staticProps) {
|
|
254
|
+
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
255
|
+
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
256
|
+
Object.defineProperty(Constructor, "prototype", { writable: false });
|
|
257
|
+
return Constructor;
|
|
258
|
+
}
|
|
259
|
+
`,s.defineEnumerableProperties=o("7.0.0-beta.0")`
|
|
260
|
+
export default function _defineEnumerableProperties(obj, descs) {
|
|
261
|
+
for (var key in descs) {
|
|
262
|
+
var desc = descs[key];
|
|
263
|
+
desc.configurable = desc.enumerable = true;
|
|
264
|
+
if ("value" in desc) desc.writable = true;
|
|
265
|
+
Object.defineProperty(obj, key, desc);
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
// Symbols are not enumerated over by for-in loops. If native
|
|
269
|
+
// Symbols are available, fetch all of the descs object's own
|
|
270
|
+
// symbol properties and define them on our target object too.
|
|
271
|
+
if (Object.getOwnPropertySymbols) {
|
|
272
|
+
var objectSymbols = Object.getOwnPropertySymbols(descs);
|
|
273
|
+
for (var i = 0; i < objectSymbols.length; i++) {
|
|
274
|
+
var sym = objectSymbols[i];
|
|
275
|
+
var desc = descs[sym];
|
|
276
|
+
desc.configurable = desc.enumerable = true;
|
|
277
|
+
if ("value" in desc) desc.writable = true;
|
|
278
|
+
Object.defineProperty(obj, sym, desc);
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
return obj;
|
|
282
|
+
}
|
|
283
|
+
`,s.defaults=o("7.0.0-beta.0")`
|
|
284
|
+
export default function _defaults(obj, defaults) {
|
|
285
|
+
var keys = Object.getOwnPropertyNames(defaults);
|
|
286
|
+
for (var i = 0; i < keys.length; i++) {
|
|
287
|
+
var key = keys[i];
|
|
288
|
+
var value = Object.getOwnPropertyDescriptor(defaults, key);
|
|
289
|
+
if (value && value.configurable && obj[key] === undefined) {
|
|
290
|
+
Object.defineProperty(obj, key, value);
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
return obj;
|
|
294
|
+
}
|
|
295
|
+
`,s.defineProperty=o("7.0.0-beta.0")`
|
|
296
|
+
export default function _defineProperty(obj, key, value) {
|
|
297
|
+
// Shortcircuit the slow defineProperty path when possible.
|
|
298
|
+
// We are trying to avoid issues where setters defined on the
|
|
299
|
+
// prototype cause side effects under the fast path of simple
|
|
300
|
+
// assignment. By checking for existence of the property with
|
|
301
|
+
// the in operator, we can optimize most of this overhead away.
|
|
302
|
+
if (key in obj) {
|
|
303
|
+
Object.defineProperty(obj, key, {
|
|
304
|
+
value: value,
|
|
305
|
+
enumerable: true,
|
|
306
|
+
configurable: true,
|
|
307
|
+
writable: true
|
|
308
|
+
});
|
|
309
|
+
} else {
|
|
310
|
+
obj[key] = value;
|
|
311
|
+
}
|
|
312
|
+
return obj;
|
|
313
|
+
}
|
|
314
|
+
`,s.extends=o("7.0.0-beta.0")`
|
|
315
|
+
export default function _extends() {
|
|
316
|
+
_extends = Object.assign || function (target) {
|
|
317
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
318
|
+
var source = arguments[i];
|
|
319
|
+
for (var key in source) {
|
|
320
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
321
|
+
target[key] = source[key];
|
|
322
|
+
}
|
|
323
|
+
}
|
|
324
|
+
}
|
|
325
|
+
return target;
|
|
326
|
+
};
|
|
327
|
+
|
|
328
|
+
return _extends.apply(this, arguments);
|
|
329
|
+
}
|
|
330
|
+
`,s.objectSpread=o("7.0.0-beta.0")`
|
|
331
|
+
import defineProperty from "defineProperty";
|
|
332
|
+
|
|
333
|
+
export default function _objectSpread(target) {
|
|
334
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
335
|
+
var source = (arguments[i] != null) ? Object(arguments[i]) : {};
|
|
336
|
+
var ownKeys = Object.keys(source);
|
|
337
|
+
if (typeof Object.getOwnPropertySymbols === 'function') {
|
|
338
|
+
ownKeys.push.apply(ownKeys, Object.getOwnPropertySymbols(source).filter(function(sym) {
|
|
339
|
+
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
|
340
|
+
}));
|
|
341
|
+
}
|
|
342
|
+
ownKeys.forEach(function(key) {
|
|
343
|
+
defineProperty(target, key, source[key]);
|
|
344
|
+
});
|
|
345
|
+
}
|
|
346
|
+
return target;
|
|
347
|
+
}
|
|
348
|
+
`,s.inherits=o("7.0.0-beta.0")`
|
|
349
|
+
import setPrototypeOf from "setPrototypeOf";
|
|
350
|
+
|
|
351
|
+
export default function _inherits(subClass, superClass) {
|
|
352
|
+
if (typeof superClass !== "function" && superClass !== null) {
|
|
353
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
354
|
+
}
|
|
355
|
+
Object.defineProperty(subClass, "prototype", {
|
|
356
|
+
value: Object.create(superClass && superClass.prototype, {
|
|
357
|
+
constructor: {
|
|
358
|
+
value: subClass,
|
|
359
|
+
writable: true,
|
|
360
|
+
configurable: true
|
|
361
|
+
}
|
|
362
|
+
}),
|
|
363
|
+
writable: false,
|
|
364
|
+
});
|
|
365
|
+
if (superClass) setPrototypeOf(subClass, superClass);
|
|
366
|
+
}
|
|
367
|
+
`,s.inheritsLoose=o("7.0.0-beta.0")`
|
|
368
|
+
import setPrototypeOf from "setPrototypeOf";
|
|
369
|
+
|
|
370
|
+
export default function _inheritsLoose(subClass, superClass) {
|
|
371
|
+
subClass.prototype = Object.create(superClass.prototype);
|
|
372
|
+
subClass.prototype.constructor = subClass;
|
|
373
|
+
setPrototypeOf(subClass, superClass);
|
|
374
|
+
}
|
|
375
|
+
`,s.getPrototypeOf=o("7.0.0-beta.0")`
|
|
376
|
+
export default function _getPrototypeOf(o) {
|
|
377
|
+
_getPrototypeOf = Object.setPrototypeOf
|
|
378
|
+
? Object.getPrototypeOf
|
|
379
|
+
: function _getPrototypeOf(o) {
|
|
380
|
+
return o.__proto__ || Object.getPrototypeOf(o);
|
|
381
|
+
};
|
|
382
|
+
return _getPrototypeOf(o);
|
|
383
|
+
}
|
|
384
|
+
`,s.setPrototypeOf=o("7.0.0-beta.0")`
|
|
385
|
+
export default function _setPrototypeOf(o, p) {
|
|
386
|
+
_setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
|
|
387
|
+
o.__proto__ = p;
|
|
388
|
+
return o;
|
|
389
|
+
};
|
|
390
|
+
return _setPrototypeOf(o, p);
|
|
391
|
+
}
|
|
392
|
+
`,s.isNativeReflectConstruct=o("7.9.0")`
|
|
393
|
+
export default function _isNativeReflectConstruct() {
|
|
394
|
+
if (typeof Reflect === "undefined" || !Reflect.construct) return false;
|
|
395
|
+
|
|
396
|
+
// core-js@3
|
|
397
|
+
if (Reflect.construct.sham) return false;
|
|
398
|
+
|
|
399
|
+
// Proxy can't be polyfilled. Every browser implemented
|
|
400
|
+
// proxies before or at the same time as Reflect.construct,
|
|
401
|
+
// so if they support Proxy they also support Reflect.construct.
|
|
402
|
+
if (typeof Proxy === "function") return true;
|
|
403
|
+
|
|
404
|
+
// Since Reflect.construct can't be properly polyfilled, some
|
|
405
|
+
// implementations (e.g. core-js@2) don't set the correct internal slots.
|
|
406
|
+
// Those polyfills don't allow us to subclass built-ins, so we need to
|
|
407
|
+
// use our fallback implementation.
|
|
408
|
+
try {
|
|
409
|
+
// If the internal slots aren't set, this throws an error similar to
|
|
410
|
+
// TypeError: this is not a Boolean object.
|
|
411
|
+
|
|
412
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {}));
|
|
413
|
+
return true;
|
|
414
|
+
} catch (e) {
|
|
415
|
+
return false;
|
|
416
|
+
}
|
|
417
|
+
}
|
|
418
|
+
`,s.construct=o("7.0.0-beta.0")`
|
|
419
|
+
import setPrototypeOf from "setPrototypeOf";
|
|
420
|
+
import isNativeReflectConstruct from "isNativeReflectConstruct";
|
|
421
|
+
|
|
422
|
+
export default function _construct(Parent, args, Class) {
|
|
423
|
+
if (isNativeReflectConstruct()) {
|
|
424
|
+
_construct = Reflect.construct;
|
|
425
|
+
} else {
|
|
426
|
+
// NOTE: If Parent !== Class, the correct __proto__ is set *after*
|
|
427
|
+
// calling the constructor.
|
|
428
|
+
_construct = function _construct(Parent, args, Class) {
|
|
429
|
+
var a = [null];
|
|
430
|
+
a.push.apply(a, args);
|
|
431
|
+
var Constructor = Function.bind.apply(Parent, a);
|
|
432
|
+
var instance = new Constructor();
|
|
433
|
+
if (Class) setPrototypeOf(instance, Class.prototype);
|
|
434
|
+
return instance;
|
|
435
|
+
};
|
|
436
|
+
}
|
|
437
|
+
// Avoid issues with Class being present but undefined when it wasn't
|
|
438
|
+
// present in the original call.
|
|
439
|
+
return _construct.apply(null, arguments);
|
|
440
|
+
}
|
|
441
|
+
`,s.isNativeFunction=o("7.0.0-beta.0")`
|
|
442
|
+
export default function _isNativeFunction(fn) {
|
|
443
|
+
// Note: This function returns "true" for core-js functions.
|
|
444
|
+
return Function.toString.call(fn).indexOf("[native code]") !== -1;
|
|
445
|
+
}
|
|
446
|
+
`,s.wrapNativeSuper=o("7.0.0-beta.0")`
|
|
447
|
+
import getPrototypeOf from "getPrototypeOf";
|
|
448
|
+
import setPrototypeOf from "setPrototypeOf";
|
|
449
|
+
import isNativeFunction from "isNativeFunction";
|
|
450
|
+
import construct from "construct";
|
|
451
|
+
|
|
452
|
+
export default function _wrapNativeSuper(Class) {
|
|
453
|
+
var _cache = typeof Map === "function" ? new Map() : undefined;
|
|
454
|
+
|
|
455
|
+
_wrapNativeSuper = function _wrapNativeSuper(Class) {
|
|
456
|
+
if (Class === null || !isNativeFunction(Class)) return Class;
|
|
457
|
+
if (typeof Class !== "function") {
|
|
458
|
+
throw new TypeError("Super expression must either be null or a function");
|
|
459
|
+
}
|
|
460
|
+
if (typeof _cache !== "undefined") {
|
|
461
|
+
if (_cache.has(Class)) return _cache.get(Class);
|
|
462
|
+
_cache.set(Class, Wrapper);
|
|
463
|
+
}
|
|
464
|
+
function Wrapper() {
|
|
465
|
+
return construct(Class, arguments, getPrototypeOf(this).constructor)
|
|
466
|
+
}
|
|
467
|
+
Wrapper.prototype = Object.create(Class.prototype, {
|
|
468
|
+
constructor: {
|
|
469
|
+
value: Wrapper,
|
|
470
|
+
enumerable: false,
|
|
471
|
+
writable: true,
|
|
472
|
+
configurable: true,
|
|
473
|
+
}
|
|
474
|
+
});
|
|
475
|
+
|
|
476
|
+
return setPrototypeOf(Wrapper, Class);
|
|
477
|
+
}
|
|
478
|
+
|
|
479
|
+
return _wrapNativeSuper(Class)
|
|
480
|
+
}
|
|
481
|
+
`,s.instanceof=o("7.0.0-beta.0")`
|
|
482
|
+
export default function _instanceof(left, right) {
|
|
483
|
+
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
484
|
+
return !!right[Symbol.hasInstance](left);
|
|
485
|
+
} else {
|
|
486
|
+
return left instanceof right;
|
|
487
|
+
}
|
|
488
|
+
}
|
|
489
|
+
`,s.interopRequireDefault=o("7.0.0-beta.0")`
|
|
490
|
+
export default function _interopRequireDefault(obj) {
|
|
491
|
+
return obj && obj.__esModule ? obj : { default: obj };
|
|
492
|
+
}
|
|
493
|
+
`,s.interopRequireWildcard=o("7.14.0")`
|
|
494
|
+
function _getRequireWildcardCache(nodeInterop) {
|
|
495
|
+
if (typeof WeakMap !== "function") return null;
|
|
496
|
+
|
|
497
|
+
var cacheBabelInterop = new WeakMap();
|
|
498
|
+
var cacheNodeInterop = new WeakMap();
|
|
499
|
+
return (_getRequireWildcardCache = function (nodeInterop) {
|
|
500
|
+
return nodeInterop ? cacheNodeInterop : cacheBabelInterop;
|
|
501
|
+
})(nodeInterop);
|
|
502
|
+
}
|
|
503
|
+
|
|
504
|
+
export default function _interopRequireWildcard(obj, nodeInterop) {
|
|
505
|
+
if (!nodeInterop && obj && obj.__esModule) {
|
|
506
|
+
return obj;
|
|
507
|
+
}
|
|
508
|
+
|
|
509
|
+
if (obj === null || (typeof obj !== "object" && typeof obj !== "function")) {
|
|
510
|
+
return { default: obj }
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
var cache = _getRequireWildcardCache(nodeInterop);
|
|
514
|
+
if (cache && cache.has(obj)) {
|
|
515
|
+
return cache.get(obj);
|
|
516
|
+
}
|
|
517
|
+
|
|
518
|
+
var newObj = {};
|
|
519
|
+
var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
520
|
+
for (var key in obj) {
|
|
521
|
+
if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) {
|
|
522
|
+
var desc = hasPropertyDescriptor
|
|
523
|
+
? Object.getOwnPropertyDescriptor(obj, key)
|
|
524
|
+
: null;
|
|
525
|
+
if (desc && (desc.get || desc.set)) {
|
|
526
|
+
Object.defineProperty(newObj, key, desc);
|
|
527
|
+
} else {
|
|
528
|
+
newObj[key] = obj[key];
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
}
|
|
532
|
+
newObj.default = obj;
|
|
533
|
+
if (cache) {
|
|
534
|
+
cache.set(obj, newObj);
|
|
535
|
+
}
|
|
536
|
+
return newObj;
|
|
537
|
+
}
|
|
538
|
+
`,s.newArrowCheck=o("7.0.0-beta.0")`
|
|
539
|
+
export default function _newArrowCheck(innerThis, boundThis) {
|
|
540
|
+
if (innerThis !== boundThis) {
|
|
541
|
+
throw new TypeError("Cannot instantiate an arrow function");
|
|
542
|
+
}
|
|
543
|
+
}
|
|
544
|
+
`,s.objectDestructuringEmpty=o("7.0.0-beta.0")`
|
|
545
|
+
export default function _objectDestructuringEmpty(obj) {
|
|
546
|
+
if (obj == null) throw new TypeError("Cannot destructure undefined");
|
|
547
|
+
}
|
|
548
|
+
`,s.objectWithoutPropertiesLoose=o("7.0.0-beta.0")`
|
|
549
|
+
export default function _objectWithoutPropertiesLoose(source, excluded) {
|
|
550
|
+
if (source == null) return {};
|
|
551
|
+
|
|
552
|
+
var target = {};
|
|
553
|
+
var sourceKeys = Object.keys(source);
|
|
554
|
+
var key, i;
|
|
555
|
+
|
|
556
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
557
|
+
key = sourceKeys[i];
|
|
558
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
559
|
+
target[key] = source[key];
|
|
560
|
+
}
|
|
561
|
+
|
|
562
|
+
return target;
|
|
563
|
+
}
|
|
564
|
+
`,s.objectWithoutProperties=o("7.0.0-beta.0")`
|
|
565
|
+
import objectWithoutPropertiesLoose from "objectWithoutPropertiesLoose";
|
|
566
|
+
|
|
567
|
+
export default function _objectWithoutProperties(source, excluded) {
|
|
568
|
+
if (source == null) return {};
|
|
569
|
+
|
|
570
|
+
var target = objectWithoutPropertiesLoose(source, excluded);
|
|
571
|
+
var key, i;
|
|
572
|
+
|
|
573
|
+
if (Object.getOwnPropertySymbols) {
|
|
574
|
+
var sourceSymbolKeys = Object.getOwnPropertySymbols(source);
|
|
575
|
+
for (i = 0; i < sourceSymbolKeys.length; i++) {
|
|
576
|
+
key = sourceSymbolKeys[i];
|
|
577
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
578
|
+
if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;
|
|
579
|
+
target[key] = source[key];
|
|
580
|
+
}
|
|
581
|
+
}
|
|
582
|
+
|
|
583
|
+
return target;
|
|
584
|
+
}
|
|
585
|
+
`,s.assertThisInitialized=o("7.0.0-beta.0")`
|
|
586
|
+
export default function _assertThisInitialized(self) {
|
|
587
|
+
if (self === void 0) {
|
|
588
|
+
throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
589
|
+
}
|
|
590
|
+
return self;
|
|
591
|
+
}
|
|
592
|
+
`,s.possibleConstructorReturn=o("7.0.0-beta.0")`
|
|
593
|
+
import assertThisInitialized from "assertThisInitialized";
|
|
594
|
+
|
|
595
|
+
export default function _possibleConstructorReturn(self, call) {
|
|
596
|
+
if (call && (typeof call === "object" || typeof call === "function")) {
|
|
597
|
+
return call;
|
|
598
|
+
} else if (call !== void 0) {
|
|
599
|
+
throw new TypeError("Derived constructors may only return object or undefined");
|
|
600
|
+
}
|
|
601
|
+
|
|
602
|
+
return assertThisInitialized(self);
|
|
603
|
+
}
|
|
604
|
+
`,s.createSuper=o("7.9.0")`
|
|
605
|
+
import getPrototypeOf from "getPrototypeOf";
|
|
606
|
+
import isNativeReflectConstruct from "isNativeReflectConstruct";
|
|
607
|
+
import possibleConstructorReturn from "possibleConstructorReturn";
|
|
608
|
+
|
|
609
|
+
export default function _createSuper(Derived) {
|
|
610
|
+
var hasNativeReflectConstruct = isNativeReflectConstruct();
|
|
611
|
+
|
|
612
|
+
return function _createSuperInternal() {
|
|
613
|
+
var Super = getPrototypeOf(Derived), result;
|
|
614
|
+
if (hasNativeReflectConstruct) {
|
|
615
|
+
// NOTE: This doesn't work if this.__proto__.constructor has been modified.
|
|
616
|
+
var NewTarget = getPrototypeOf(this).constructor;
|
|
617
|
+
result = Reflect.construct(Super, arguments, NewTarget);
|
|
618
|
+
} else {
|
|
619
|
+
result = Super.apply(this, arguments);
|
|
620
|
+
}
|
|
621
|
+
return possibleConstructorReturn(this, result);
|
|
622
|
+
}
|
|
623
|
+
}
|
|
624
|
+
`,s.superPropBase=o("7.0.0-beta.0")`
|
|
625
|
+
import getPrototypeOf from "getPrototypeOf";
|
|
626
|
+
|
|
627
|
+
export default function _superPropBase(object, property) {
|
|
628
|
+
// Yes, this throws if object is null to being with, that's on purpose.
|
|
629
|
+
while (!Object.prototype.hasOwnProperty.call(object, property)) {
|
|
630
|
+
object = getPrototypeOf(object);
|
|
631
|
+
if (object === null) break;
|
|
632
|
+
}
|
|
633
|
+
return object;
|
|
634
|
+
}
|
|
635
|
+
`,s.get=o("7.0.0-beta.0")`
|
|
636
|
+
import superPropBase from "superPropBase";
|
|
637
|
+
|
|
638
|
+
export default function _get() {
|
|
639
|
+
if (typeof Reflect !== "undefined" && Reflect.get) {
|
|
640
|
+
_get = Reflect.get;
|
|
641
|
+
} else {
|
|
642
|
+
_get = function _get(target, property, receiver) {
|
|
643
|
+
var base = superPropBase(target, property);
|
|
644
|
+
|
|
645
|
+
if (!base) return;
|
|
646
|
+
|
|
647
|
+
var desc = Object.getOwnPropertyDescriptor(base, property);
|
|
648
|
+
if (desc.get) {
|
|
649
|
+
// STEP 3. If receiver is not present, then set receiver to target.
|
|
650
|
+
return desc.get.call(arguments.length < 3 ? target : receiver);
|
|
651
|
+
}
|
|
652
|
+
|
|
653
|
+
return desc.value;
|
|
654
|
+
};
|
|
655
|
+
}
|
|
656
|
+
return _get.apply(this, arguments);
|
|
657
|
+
}
|
|
658
|
+
`,s.set=o("7.0.0-beta.0")`
|
|
659
|
+
import superPropBase from "superPropBase";
|
|
660
|
+
import defineProperty from "defineProperty";
|
|
661
|
+
|
|
662
|
+
function set(target, property, value, receiver) {
|
|
663
|
+
if (typeof Reflect !== "undefined" && Reflect.set) {
|
|
664
|
+
set = Reflect.set;
|
|
665
|
+
} else {
|
|
666
|
+
set = function set(target, property, value, receiver) {
|
|
667
|
+
var base = superPropBase(target, property);
|
|
668
|
+
var desc;
|
|
669
|
+
|
|
670
|
+
if (base) {
|
|
671
|
+
desc = Object.getOwnPropertyDescriptor(base, property);
|
|
672
|
+
if (desc.set) {
|
|
673
|
+
desc.set.call(receiver, value);
|
|
674
|
+
return true;
|
|
675
|
+
} else if (!desc.writable) {
|
|
676
|
+
// Both getter and non-writable fall into this.
|
|
677
|
+
return false;
|
|
678
|
+
}
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
// Without a super that defines the property, spec boils down to
|
|
682
|
+
// "define on receiver" for some reason.
|
|
683
|
+
desc = Object.getOwnPropertyDescriptor(receiver, property);
|
|
684
|
+
if (desc) {
|
|
685
|
+
if (!desc.writable) {
|
|
686
|
+
// Setter, getter, and non-writable fall into this.
|
|
687
|
+
return false;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
desc.value = value;
|
|
691
|
+
Object.defineProperty(receiver, property, desc);
|
|
692
|
+
} else {
|
|
693
|
+
// Avoid setters that may be defined on Sub's prototype, but not on
|
|
694
|
+
// the instance.
|
|
695
|
+
defineProperty(receiver, property, value);
|
|
696
|
+
}
|
|
697
|
+
|
|
698
|
+
return true;
|
|
699
|
+
};
|
|
700
|
+
}
|
|
701
|
+
|
|
702
|
+
return set(target, property, value, receiver);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
export default function _set(target, property, value, receiver, isStrict) {
|
|
706
|
+
var s = set(target, property, value, receiver || target);
|
|
707
|
+
if (!s && isStrict) {
|
|
708
|
+
throw new Error('failed to set property');
|
|
709
|
+
}
|
|
710
|
+
|
|
711
|
+
return value;
|
|
712
|
+
}
|
|
713
|
+
`,s.taggedTemplateLiteral=o("7.0.0-beta.0")`
|
|
714
|
+
export default function _taggedTemplateLiteral(strings, raw) {
|
|
715
|
+
if (!raw) { raw = strings.slice(0); }
|
|
716
|
+
return Object.freeze(Object.defineProperties(strings, {
|
|
717
|
+
raw: { value: Object.freeze(raw) }
|
|
718
|
+
}));
|
|
719
|
+
}
|
|
720
|
+
`,s.taggedTemplateLiteralLoose=o("7.0.0-beta.0")`
|
|
721
|
+
export default function _taggedTemplateLiteralLoose(strings, raw) {
|
|
722
|
+
if (!raw) { raw = strings.slice(0); }
|
|
723
|
+
strings.raw = raw;
|
|
724
|
+
return strings;
|
|
725
|
+
}
|
|
726
|
+
`,s.readOnlyError=o("7.0.0-beta.0")`
|
|
727
|
+
export default function _readOnlyError(name) {
|
|
728
|
+
throw new TypeError("\\"" + name + "\\" is read-only");
|
|
729
|
+
}
|
|
730
|
+
`,s.writeOnlyError=o("7.12.13")`
|
|
731
|
+
export default function _writeOnlyError(name) {
|
|
732
|
+
throw new TypeError("\\"" + name + "\\" is write-only");
|
|
733
|
+
}
|
|
734
|
+
`,s.classNameTDZError=o("7.0.0-beta.0")`
|
|
735
|
+
export default function _classNameTDZError(name) {
|
|
736
|
+
throw new Error("Class \\"" + name + "\\" cannot be referenced in computed property keys.");
|
|
737
|
+
}
|
|
738
|
+
`,s.temporalUndefined=o("7.0.0-beta.0")`
|
|
739
|
+
// This function isn't mean to be called, but to be used as a reference.
|
|
740
|
+
// We can't use a normal object because it isn't hoisted.
|
|
741
|
+
export default function _temporalUndefined() {}
|
|
742
|
+
`,s.tdz=o("7.5.5")`
|
|
743
|
+
export default function _tdzError(name) {
|
|
744
|
+
throw new ReferenceError(name + " is not defined - temporal dead zone");
|
|
745
|
+
}
|
|
746
|
+
`,s.temporalRef=o("7.0.0-beta.0")`
|
|
747
|
+
import undef from "temporalUndefined";
|
|
748
|
+
import err from "tdz";
|
|
749
|
+
|
|
750
|
+
export default function _temporalRef(val, name) {
|
|
751
|
+
return val === undef ? err(name) : val;
|
|
752
|
+
}
|
|
753
|
+
`,s.slicedToArray=o("7.0.0-beta.0")`
|
|
754
|
+
import arrayWithHoles from "arrayWithHoles";
|
|
755
|
+
import iterableToArrayLimit from "iterableToArrayLimit";
|
|
756
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
757
|
+
import nonIterableRest from "nonIterableRest";
|
|
758
|
+
|
|
759
|
+
export default function _slicedToArray(arr, i) {
|
|
760
|
+
return (
|
|
761
|
+
arrayWithHoles(arr) ||
|
|
762
|
+
iterableToArrayLimit(arr, i) ||
|
|
763
|
+
unsupportedIterableToArray(arr, i) ||
|
|
764
|
+
nonIterableRest()
|
|
765
|
+
);
|
|
766
|
+
}
|
|
767
|
+
`,s.slicedToArrayLoose=o("7.0.0-beta.0")`
|
|
768
|
+
import arrayWithHoles from "arrayWithHoles";
|
|
769
|
+
import iterableToArrayLimitLoose from "iterableToArrayLimitLoose";
|
|
770
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
771
|
+
import nonIterableRest from "nonIterableRest";
|
|
772
|
+
|
|
773
|
+
export default function _slicedToArrayLoose(arr, i) {
|
|
774
|
+
return (
|
|
775
|
+
arrayWithHoles(arr) ||
|
|
776
|
+
iterableToArrayLimitLoose(arr, i) ||
|
|
777
|
+
unsupportedIterableToArray(arr, i) ||
|
|
778
|
+
nonIterableRest()
|
|
779
|
+
);
|
|
780
|
+
}
|
|
781
|
+
`,s.toArray=o("7.0.0-beta.0")`
|
|
782
|
+
import arrayWithHoles from "arrayWithHoles";
|
|
783
|
+
import iterableToArray from "iterableToArray";
|
|
784
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
785
|
+
import nonIterableRest from "nonIterableRest";
|
|
786
|
+
|
|
787
|
+
export default function _toArray(arr) {
|
|
788
|
+
return (
|
|
789
|
+
arrayWithHoles(arr) ||
|
|
790
|
+
iterableToArray(arr) ||
|
|
791
|
+
unsupportedIterableToArray(arr) ||
|
|
792
|
+
nonIterableRest()
|
|
793
|
+
);
|
|
794
|
+
}
|
|
795
|
+
`,s.toConsumableArray=o("7.0.0-beta.0")`
|
|
796
|
+
import arrayWithoutHoles from "arrayWithoutHoles";
|
|
797
|
+
import iterableToArray from "iterableToArray";
|
|
798
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
799
|
+
import nonIterableSpread from "nonIterableSpread";
|
|
800
|
+
|
|
801
|
+
export default function _toConsumableArray(arr) {
|
|
802
|
+
return (
|
|
803
|
+
arrayWithoutHoles(arr) ||
|
|
804
|
+
iterableToArray(arr) ||
|
|
805
|
+
unsupportedIterableToArray(arr) ||
|
|
806
|
+
nonIterableSpread()
|
|
807
|
+
);
|
|
808
|
+
}
|
|
809
|
+
`,s.arrayWithoutHoles=o("7.0.0-beta.0")`
|
|
810
|
+
import arrayLikeToArray from "arrayLikeToArray";
|
|
811
|
+
|
|
812
|
+
export default function _arrayWithoutHoles(arr) {
|
|
813
|
+
if (Array.isArray(arr)) return arrayLikeToArray(arr);
|
|
814
|
+
}
|
|
815
|
+
`,s.arrayWithHoles=o("7.0.0-beta.0")`
|
|
816
|
+
export default function _arrayWithHoles(arr) {
|
|
817
|
+
if (Array.isArray(arr)) return arr;
|
|
818
|
+
}
|
|
819
|
+
`,s.maybeArrayLike=o("7.9.0")`
|
|
820
|
+
import arrayLikeToArray from "arrayLikeToArray";
|
|
821
|
+
|
|
822
|
+
export default function _maybeArrayLike(next, arr, i) {
|
|
823
|
+
if (arr && !Array.isArray(arr) && typeof arr.length === "number") {
|
|
824
|
+
var len = arr.length;
|
|
825
|
+
return arrayLikeToArray(arr, i !== void 0 && i < len ? i : len);
|
|
826
|
+
}
|
|
827
|
+
return next(arr, i);
|
|
828
|
+
}
|
|
829
|
+
`,s.iterableToArray=o("7.0.0-beta.0")`
|
|
830
|
+
export default function _iterableToArray(iter) {
|
|
831
|
+
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
832
|
+
}
|
|
833
|
+
`,s.iterableToArrayLimit=o("7.0.0-beta.0")`
|
|
834
|
+
export default function _iterableToArrayLimit(arr, i) {
|
|
835
|
+
// this is an expanded form of \`for...of\` that properly supports abrupt completions of
|
|
836
|
+
// iterators etc. variable names have been minimised to reduce the size of this massive
|
|
837
|
+
// helper. sometimes spec compliance is annoying :(
|
|
838
|
+
//
|
|
839
|
+
// _n = _iteratorNormalCompletion
|
|
840
|
+
// _d = _didIteratorError
|
|
841
|
+
// _e = _iteratorError
|
|
842
|
+
// _i = _iterator
|
|
843
|
+
// _s = _step
|
|
844
|
+
|
|
845
|
+
var _i = arr == null ? null : (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
846
|
+
if (_i == null) return;
|
|
847
|
+
|
|
848
|
+
var _arr = [];
|
|
849
|
+
var _n = true;
|
|
850
|
+
var _d = false;
|
|
851
|
+
var _s, _e;
|
|
852
|
+
try {
|
|
853
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
854
|
+
_arr.push(_s.value);
|
|
855
|
+
if (i && _arr.length === i) break;
|
|
856
|
+
}
|
|
857
|
+
} catch (err) {
|
|
858
|
+
_d = true;
|
|
859
|
+
_e = err;
|
|
860
|
+
} finally {
|
|
861
|
+
try {
|
|
862
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
863
|
+
} finally {
|
|
864
|
+
if (_d) throw _e;
|
|
865
|
+
}
|
|
866
|
+
}
|
|
867
|
+
return _arr;
|
|
868
|
+
}
|
|
869
|
+
`,s.iterableToArrayLimitLoose=o("7.0.0-beta.0")`
|
|
870
|
+
export default function _iterableToArrayLimitLoose(arr, i) {
|
|
871
|
+
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
|
|
872
|
+
if (_i == null) return;
|
|
873
|
+
|
|
874
|
+
var _arr = [];
|
|
875
|
+
for (_i = _i.call(arr), _step; !(_step = _i.next()).done;) {
|
|
876
|
+
_arr.push(_step.value);
|
|
877
|
+
if (i && _arr.length === i) break;
|
|
878
|
+
}
|
|
879
|
+
return _arr;
|
|
880
|
+
}
|
|
881
|
+
`,s.unsupportedIterableToArray=o("7.9.0")`
|
|
882
|
+
import arrayLikeToArray from "arrayLikeToArray";
|
|
883
|
+
|
|
884
|
+
export default function _unsupportedIterableToArray(o, minLen) {
|
|
885
|
+
if (!o) return;
|
|
886
|
+
if (typeof o === "string") return arrayLikeToArray(o, minLen);
|
|
887
|
+
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
888
|
+
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
889
|
+
if (n === "Map" || n === "Set") return Array.from(o);
|
|
890
|
+
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))
|
|
891
|
+
return arrayLikeToArray(o, minLen);
|
|
892
|
+
}
|
|
893
|
+
`,s.arrayLikeToArray=o("7.9.0")`
|
|
894
|
+
export default function _arrayLikeToArray(arr, len) {
|
|
895
|
+
if (len == null || len > arr.length) len = arr.length;
|
|
896
|
+
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
897
|
+
return arr2;
|
|
898
|
+
}
|
|
899
|
+
`,s.nonIterableSpread=o("7.0.0-beta.0")`
|
|
900
|
+
export default function _nonIterableSpread() {
|
|
901
|
+
throw new TypeError(
|
|
902
|
+
"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
903
|
+
);
|
|
904
|
+
}
|
|
905
|
+
`,s.nonIterableRest=o("7.0.0-beta.0")`
|
|
906
|
+
export default function _nonIterableRest() {
|
|
907
|
+
throw new TypeError(
|
|
908
|
+
"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."
|
|
909
|
+
);
|
|
910
|
+
}
|
|
911
|
+
`,s.createForOfIteratorHelper=o("7.9.0")`
|
|
912
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
913
|
+
|
|
914
|
+
// s: start (create the iterator)
|
|
915
|
+
// n: next
|
|
916
|
+
// e: error (called whenever something throws)
|
|
917
|
+
// f: finish (always called at the end)
|
|
918
|
+
|
|
919
|
+
export default function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
920
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
921
|
+
|
|
922
|
+
if (!it) {
|
|
923
|
+
// Fallback for engines without symbol support
|
|
924
|
+
if (
|
|
925
|
+
Array.isArray(o) ||
|
|
926
|
+
(it = unsupportedIterableToArray(o)) ||
|
|
927
|
+
(allowArrayLike && o && typeof o.length === "number")
|
|
928
|
+
) {
|
|
929
|
+
if (it) o = it;
|
|
930
|
+
var i = 0;
|
|
931
|
+
var F = function(){};
|
|
932
|
+
return {
|
|
933
|
+
s: F,
|
|
934
|
+
n: function() {
|
|
935
|
+
if (i >= o.length) return { done: true };
|
|
936
|
+
return { done: false, value: o[i++] };
|
|
937
|
+
},
|
|
938
|
+
e: function(e) { throw e; },
|
|
939
|
+
f: F,
|
|
940
|
+
};
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
var normalCompletion = true, didErr = false, err;
|
|
947
|
+
|
|
948
|
+
return {
|
|
949
|
+
s: function() {
|
|
950
|
+
it = it.call(o);
|
|
951
|
+
},
|
|
952
|
+
n: function() {
|
|
953
|
+
var step = it.next();
|
|
954
|
+
normalCompletion = step.done;
|
|
955
|
+
return step;
|
|
956
|
+
},
|
|
957
|
+
e: function(e) {
|
|
958
|
+
didErr = true;
|
|
959
|
+
err = e;
|
|
960
|
+
},
|
|
961
|
+
f: function() {
|
|
962
|
+
try {
|
|
963
|
+
if (!normalCompletion && it.return != null) it.return();
|
|
964
|
+
} finally {
|
|
965
|
+
if (didErr) throw err;
|
|
966
|
+
}
|
|
967
|
+
}
|
|
968
|
+
};
|
|
969
|
+
}
|
|
970
|
+
`,s.createForOfIteratorHelperLoose=o("7.9.0")`
|
|
971
|
+
import unsupportedIterableToArray from "unsupportedIterableToArray";
|
|
972
|
+
|
|
973
|
+
export default function _createForOfIteratorHelperLoose(o, allowArrayLike) {
|
|
974
|
+
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
975
|
+
|
|
976
|
+
if (it) return (it = it.call(o)).next.bind(it);
|
|
977
|
+
|
|
978
|
+
// Fallback for engines without symbol support
|
|
979
|
+
if (
|
|
980
|
+
Array.isArray(o) ||
|
|
981
|
+
(it = unsupportedIterableToArray(o)) ||
|
|
982
|
+
(allowArrayLike && o && typeof o.length === "number")
|
|
983
|
+
) {
|
|
984
|
+
if (it) o = it;
|
|
985
|
+
var i = 0;
|
|
986
|
+
return function() {
|
|
987
|
+
if (i >= o.length) return { done: true };
|
|
988
|
+
return { done: false, value: o[i++] };
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
|
|
992
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
993
|
+
}
|
|
994
|
+
`,s.skipFirstGeneratorNext=o("7.0.0-beta.0")`
|
|
995
|
+
export default function _skipFirstGeneratorNext(fn) {
|
|
996
|
+
return function () {
|
|
997
|
+
var it = fn.apply(this, arguments);
|
|
998
|
+
it.next();
|
|
999
|
+
return it;
|
|
1000
|
+
}
|
|
1001
|
+
}
|
|
1002
|
+
`,s.toPrimitive=o("7.1.5")`
|
|
1003
|
+
export default function _toPrimitive(
|
|
1004
|
+
input,
|
|
1005
|
+
hint /*: "default" | "string" | "number" | void */
|
|
1006
|
+
) {
|
|
1007
|
+
if (typeof input !== "object" || input === null) return input;
|
|
1008
|
+
var prim = input[Symbol.toPrimitive];
|
|
1009
|
+
if (prim !== undefined) {
|
|
1010
|
+
var res = prim.call(input, hint || "default");
|
|
1011
|
+
if (typeof res !== "object") return res;
|
|
1012
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
1013
|
+
}
|
|
1014
|
+
return (hint === "string" ? String : Number)(input);
|
|
1015
|
+
}
|
|
1016
|
+
`,s.toPropertyKey=o("7.1.5")`
|
|
1017
|
+
import toPrimitive from "toPrimitive";
|
|
1018
|
+
|
|
1019
|
+
export default function _toPropertyKey(arg) {
|
|
1020
|
+
var key = toPrimitive(arg, "string");
|
|
1021
|
+
return typeof key === "symbol" ? key : String(key);
|
|
1022
|
+
}
|
|
1023
|
+
`,s.initializerWarningHelper=o("7.0.0-beta.0")`
|
|
1024
|
+
export default function _initializerWarningHelper(descriptor, context){
|
|
1025
|
+
throw new Error(
|
|
1026
|
+
'Decorating class property failed. Please ensure that ' +
|
|
1027
|
+
'proposal-class-properties is enabled and runs after the decorators transform.'
|
|
1028
|
+
);
|
|
1029
|
+
}
|
|
1030
|
+
`,s.initializerDefineProperty=o("7.0.0-beta.0")`
|
|
1031
|
+
export default function _initializerDefineProperty(target, property, descriptor, context){
|
|
1032
|
+
if (!descriptor) return;
|
|
1033
|
+
|
|
1034
|
+
Object.defineProperty(target, property, {
|
|
1035
|
+
enumerable: descriptor.enumerable,
|
|
1036
|
+
configurable: descriptor.configurable,
|
|
1037
|
+
writable: descriptor.writable,
|
|
1038
|
+
value: descriptor.initializer ? descriptor.initializer.call(context) : void 0,
|
|
1039
|
+
});
|
|
1040
|
+
}
|
|
1041
|
+
`,s.applyDecoratedDescriptor=o("7.0.0-beta.0")`
|
|
1042
|
+
export default function _applyDecoratedDescriptor(target, property, decorators, descriptor, context){
|
|
1043
|
+
var desc = {};
|
|
1044
|
+
Object.keys(descriptor).forEach(function(key){
|
|
1045
|
+
desc[key] = descriptor[key];
|
|
1046
|
+
});
|
|
1047
|
+
desc.enumerable = !!desc.enumerable;
|
|
1048
|
+
desc.configurable = !!desc.configurable;
|
|
1049
|
+
if ('value' in desc || desc.initializer){
|
|
1050
|
+
desc.writable = true;
|
|
1051
|
+
}
|
|
1052
|
+
|
|
1053
|
+
desc = decorators.slice().reverse().reduce(function(desc, decorator){
|
|
1054
|
+
return decorator(target, property, desc) || desc;
|
|
1055
|
+
}, desc);
|
|
1056
|
+
|
|
1057
|
+
if (context && desc.initializer !== void 0){
|
|
1058
|
+
desc.value = desc.initializer ? desc.initializer.call(context) : void 0;
|
|
1059
|
+
desc.initializer = undefined;
|
|
1060
|
+
}
|
|
1061
|
+
|
|
1062
|
+
if (desc.initializer === void 0){
|
|
1063
|
+
Object.defineProperty(target, property, desc);
|
|
1064
|
+
desc = null;
|
|
1065
|
+
}
|
|
1066
|
+
|
|
1067
|
+
return desc;
|
|
1068
|
+
}
|
|
1069
|
+
`,s.classPrivateFieldLooseKey=o("7.0.0-beta.0")`
|
|
1070
|
+
var id = 0;
|
|
1071
|
+
export default function _classPrivateFieldKey(name) {
|
|
1072
|
+
return "__private_" + (id++) + "_" + name;
|
|
1073
|
+
}
|
|
1074
|
+
`,s.classPrivateFieldLooseBase=o("7.0.0-beta.0")`
|
|
1075
|
+
export default function _classPrivateFieldBase(receiver, privateKey) {
|
|
1076
|
+
if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {
|
|
1077
|
+
throw new TypeError("attempted to use private field on non-instance");
|
|
1078
|
+
}
|
|
1079
|
+
return receiver;
|
|
1080
|
+
}
|
|
1081
|
+
`,s.classPrivateFieldGet=o("7.0.0-beta.0")`
|
|
1082
|
+
import classApplyDescriptorGet from "classApplyDescriptorGet";
|
|
1083
|
+
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
1084
|
+
export default function _classPrivateFieldGet(receiver, privateMap) {
|
|
1085
|
+
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "get");
|
|
1086
|
+
return classApplyDescriptorGet(receiver, descriptor);
|
|
1087
|
+
}
|
|
1088
|
+
`,s.classPrivateFieldSet=o("7.0.0-beta.0")`
|
|
1089
|
+
import classApplyDescriptorSet from "classApplyDescriptorSet";
|
|
1090
|
+
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
1091
|
+
export default function _classPrivateFieldSet(receiver, privateMap, value) {
|
|
1092
|
+
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
1093
|
+
classApplyDescriptorSet(receiver, descriptor, value);
|
|
1094
|
+
return value;
|
|
1095
|
+
}
|
|
1096
|
+
`,s.classPrivateFieldDestructureSet=o("7.4.4")`
|
|
1097
|
+
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
|
|
1098
|
+
import classExtractFieldDescriptor from "classExtractFieldDescriptor";
|
|
1099
|
+
export default function _classPrivateFieldDestructureSet(receiver, privateMap) {
|
|
1100
|
+
var descriptor = classExtractFieldDescriptor(receiver, privateMap, "set");
|
|
1101
|
+
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
|
1102
|
+
}
|
|
1103
|
+
`,s.classExtractFieldDescriptor=o("7.13.10")`
|
|
1104
|
+
export default function _classExtractFieldDescriptor(receiver, privateMap, action) {
|
|
1105
|
+
if (!privateMap.has(receiver)) {
|
|
1106
|
+
throw new TypeError("attempted to " + action + " private field on non-instance");
|
|
1107
|
+
}
|
|
1108
|
+
return privateMap.get(receiver);
|
|
1109
|
+
}
|
|
1110
|
+
`,s.classStaticPrivateFieldSpecGet=o("7.0.2")`
|
|
1111
|
+
import classApplyDescriptorGet from "classApplyDescriptorGet";
|
|
1112
|
+
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
1113
|
+
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
1114
|
+
export default function _classStaticPrivateFieldSpecGet(receiver, classConstructor, descriptor) {
|
|
1115
|
+
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
1116
|
+
classCheckPrivateStaticFieldDescriptor(descriptor, "get");
|
|
1117
|
+
return classApplyDescriptorGet(receiver, descriptor);
|
|
1118
|
+
}
|
|
1119
|
+
`,s.classStaticPrivateFieldSpecSet=o("7.0.2")`
|
|
1120
|
+
import classApplyDescriptorSet from "classApplyDescriptorSet";
|
|
1121
|
+
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
1122
|
+
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
1123
|
+
export default function _classStaticPrivateFieldSpecSet(receiver, classConstructor, descriptor, value) {
|
|
1124
|
+
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
1125
|
+
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
1126
|
+
classApplyDescriptorSet(receiver, descriptor, value);
|
|
1127
|
+
return value;
|
|
1128
|
+
}
|
|
1129
|
+
`,s.classStaticPrivateMethodGet=o("7.3.2")`
|
|
1130
|
+
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
1131
|
+
export default function _classStaticPrivateMethodGet(receiver, classConstructor, method) {
|
|
1132
|
+
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
1133
|
+
return method;
|
|
1134
|
+
}
|
|
1135
|
+
`,s.classStaticPrivateMethodSet=o("7.3.2")`
|
|
1136
|
+
export default function _classStaticPrivateMethodSet() {
|
|
1137
|
+
throw new TypeError("attempted to set read only static private field");
|
|
1138
|
+
}
|
|
1139
|
+
`,s.classApplyDescriptorGet=o("7.13.10")`
|
|
1140
|
+
export default function _classApplyDescriptorGet(receiver, descriptor) {
|
|
1141
|
+
if (descriptor.get) {
|
|
1142
|
+
return descriptor.get.call(receiver);
|
|
1143
|
+
}
|
|
1144
|
+
return descriptor.value;
|
|
1145
|
+
}
|
|
1146
|
+
`,s.classApplyDescriptorSet=o("7.13.10")`
|
|
1147
|
+
export default function _classApplyDescriptorSet(receiver, descriptor, value) {
|
|
1148
|
+
if (descriptor.set) {
|
|
1149
|
+
descriptor.set.call(receiver, value);
|
|
1150
|
+
} else {
|
|
1151
|
+
if (!descriptor.writable) {
|
|
1152
|
+
// This should only throw in strict mode, but class bodies are
|
|
1153
|
+
// always strict and private fields can only be used inside
|
|
1154
|
+
// class bodies.
|
|
1155
|
+
throw new TypeError("attempted to set read only private field");
|
|
1156
|
+
}
|
|
1157
|
+
descriptor.value = value;
|
|
1158
|
+
}
|
|
1159
|
+
}
|
|
1160
|
+
`,s.classApplyDescriptorDestructureSet=o("7.13.10")`
|
|
1161
|
+
export default function _classApplyDescriptorDestructureSet(receiver, descriptor) {
|
|
1162
|
+
if (descriptor.set) {
|
|
1163
|
+
if (!("__destrObj" in descriptor)) {
|
|
1164
|
+
descriptor.__destrObj = {
|
|
1165
|
+
set value(v) {
|
|
1166
|
+
descriptor.set.call(receiver, v)
|
|
1167
|
+
},
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1170
|
+
return descriptor.__destrObj;
|
|
1171
|
+
} else {
|
|
1172
|
+
if (!descriptor.writable) {
|
|
1173
|
+
// This should only throw in strict mode, but class bodies are
|
|
1174
|
+
// always strict and private fields can only be used inside
|
|
1175
|
+
// class bodies.
|
|
1176
|
+
throw new TypeError("attempted to set read only private field");
|
|
1177
|
+
}
|
|
1178
|
+
|
|
1179
|
+
return descriptor;
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
`,s.classStaticPrivateFieldDestructureSet=o("7.13.10")`
|
|
1183
|
+
import classApplyDescriptorDestructureSet from "classApplyDescriptorDestructureSet";
|
|
1184
|
+
import classCheckPrivateStaticAccess from "classCheckPrivateStaticAccess";
|
|
1185
|
+
import classCheckPrivateStaticFieldDescriptor from "classCheckPrivateStaticFieldDescriptor";
|
|
1186
|
+
export default function _classStaticPrivateFieldDestructureSet(receiver, classConstructor, descriptor) {
|
|
1187
|
+
classCheckPrivateStaticAccess(receiver, classConstructor);
|
|
1188
|
+
classCheckPrivateStaticFieldDescriptor(descriptor, "set");
|
|
1189
|
+
return classApplyDescriptorDestructureSet(receiver, descriptor);
|
|
1190
|
+
}
|
|
1191
|
+
`,s.classCheckPrivateStaticAccess=o("7.13.10")`
|
|
1192
|
+
export default function _classCheckPrivateStaticAccess(receiver, classConstructor) {
|
|
1193
|
+
if (receiver !== classConstructor) {
|
|
1194
|
+
throw new TypeError("Private static access of wrong provenance");
|
|
1195
|
+
}
|
|
1196
|
+
}
|
|
1197
|
+
`,s.classCheckPrivateStaticFieldDescriptor=o("7.13.10")`
|
|
1198
|
+
export default function _classCheckPrivateStaticFieldDescriptor(descriptor, action) {
|
|
1199
|
+
if (descriptor === undefined) {
|
|
1200
|
+
throw new TypeError("attempted to " + action + " private static field before its declaration");
|
|
1201
|
+
}
|
|
1202
|
+
}
|
|
1203
|
+
`,s.decorate=o("7.1.5")`
|
|
1204
|
+
import toArray from "toArray";
|
|
1205
|
+
import toPropertyKey from "toPropertyKey";
|
|
1206
|
+
|
|
1207
|
+
// These comments are stripped by @babel/template
|
|
1208
|
+
/*::
|
|
1209
|
+
type PropertyDescriptor =
|
|
1210
|
+
| {
|
|
1211
|
+
value: any,
|
|
1212
|
+
writable: boolean,
|
|
1213
|
+
configurable: boolean,
|
|
1214
|
+
enumerable: boolean,
|
|
1215
|
+
}
|
|
1216
|
+
| {
|
|
1217
|
+
get?: () => any,
|
|
1218
|
+
set?: (v: any) => void,
|
|
1219
|
+
configurable: boolean,
|
|
1220
|
+
enumerable: boolean,
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
type FieldDescriptor ={
|
|
1224
|
+
writable: boolean,
|
|
1225
|
+
configurable: boolean,
|
|
1226
|
+
enumerable: boolean,
|
|
1227
|
+
};
|
|
1228
|
+
|
|
1229
|
+
type Placement = "static" | "prototype" | "own";
|
|
1230
|
+
type Key = string | symbol; // PrivateName is not supported yet.
|
|
1231
|
+
|
|
1232
|
+
type ElementDescriptor =
|
|
1233
|
+
| {
|
|
1234
|
+
kind: "method",
|
|
1235
|
+
key: Key,
|
|
1236
|
+
placement: Placement,
|
|
1237
|
+
descriptor: PropertyDescriptor
|
|
1238
|
+
}
|
|
1239
|
+
| {
|
|
1240
|
+
kind: "field",
|
|
1241
|
+
key: Key,
|
|
1242
|
+
placement: Placement,
|
|
1243
|
+
descriptor: FieldDescriptor,
|
|
1244
|
+
initializer?: () => any,
|
|
1245
|
+
};
|
|
1246
|
+
|
|
1247
|
+
// This is exposed to the user code
|
|
1248
|
+
type ElementObjectInput = ElementDescriptor & {
|
|
1249
|
+
[@@toStringTag]?: "Descriptor"
|
|
1250
|
+
};
|
|
1251
|
+
|
|
1252
|
+
// This is exposed to the user code
|
|
1253
|
+
type ElementObjectOutput = ElementDescriptor & {
|
|
1254
|
+
[@@toStringTag]?: "Descriptor"
|
|
1255
|
+
extras?: ElementDescriptor[],
|
|
1256
|
+
finisher?: ClassFinisher,
|
|
1257
|
+
};
|
|
1258
|
+
|
|
1259
|
+
// This is exposed to the user code
|
|
1260
|
+
type ClassObject = {
|
|
1261
|
+
[@@toStringTag]?: "Descriptor",
|
|
1262
|
+
kind: "class",
|
|
1263
|
+
elements: ElementDescriptor[],
|
|
1264
|
+
};
|
|
1265
|
+
|
|
1266
|
+
type ElementDecorator = (descriptor: ElementObjectInput) => ?ElementObjectOutput;
|
|
1267
|
+
type ClassDecorator = (descriptor: ClassObject) => ?ClassObject;
|
|
1268
|
+
type ClassFinisher = <A, B>(cl: Class<A>) => Class<B>;
|
|
1269
|
+
|
|
1270
|
+
// Only used by Babel in the transform output, not part of the spec.
|
|
1271
|
+
type ElementDefinition =
|
|
1272
|
+
| {
|
|
1273
|
+
kind: "method",
|
|
1274
|
+
value: any,
|
|
1275
|
+
key: Key,
|
|
1276
|
+
static?: boolean,
|
|
1277
|
+
decorators?: ElementDecorator[],
|
|
1278
|
+
}
|
|
1279
|
+
| {
|
|
1280
|
+
kind: "field",
|
|
1281
|
+
value: () => any,
|
|
1282
|
+
key: Key,
|
|
1283
|
+
static?: boolean,
|
|
1284
|
+
decorators?: ElementDecorator[],
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
declare function ClassFactory<C>(initialize: (instance: C) => void): {
|
|
1288
|
+
F: Class<C>,
|
|
1289
|
+
d: ElementDefinition[]
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1292
|
+
*/
|
|
1293
|
+
|
|
1294
|
+
/*::
|
|
1295
|
+
// Various combinations with/without extras and with one or many finishers
|
|
1296
|
+
|
|
1297
|
+
type ElementFinisherExtras = {
|
|
1298
|
+
element: ElementDescriptor,
|
|
1299
|
+
finisher?: ClassFinisher,
|
|
1300
|
+
extras?: ElementDescriptor[],
|
|
1301
|
+
};
|
|
1302
|
+
|
|
1303
|
+
type ElementFinishersExtras = {
|
|
1304
|
+
element: ElementDescriptor,
|
|
1305
|
+
finishers: ClassFinisher[],
|
|
1306
|
+
extras: ElementDescriptor[],
|
|
1307
|
+
};
|
|
1308
|
+
|
|
1309
|
+
type ElementsFinisher = {
|
|
1310
|
+
elements: ElementDescriptor[],
|
|
1311
|
+
finisher?: ClassFinisher,
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
type ElementsFinishers = {
|
|
1315
|
+
elements: ElementDescriptor[],
|
|
1316
|
+
finishers: ClassFinisher[],
|
|
1317
|
+
};
|
|
1318
|
+
|
|
1319
|
+
*/
|
|
1320
|
+
|
|
1321
|
+
/*::
|
|
1322
|
+
|
|
1323
|
+
type Placements = {
|
|
1324
|
+
static: Key[],
|
|
1325
|
+
prototype: Key[],
|
|
1326
|
+
own: Key[],
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
*/
|
|
1330
|
+
|
|
1331
|
+
// ClassDefinitionEvaluation (Steps 26-*)
|
|
1332
|
+
export default function _decorate(
|
|
1333
|
+
decorators /*: ClassDecorator[] */,
|
|
1334
|
+
factory /*: ClassFactory */,
|
|
1335
|
+
superClass /*: ?Class<*> */,
|
|
1336
|
+
mixins /*: ?Array<Function> */,
|
|
1337
|
+
) /*: Class<*> */ {
|
|
1338
|
+
var api = _getDecoratorsApi();
|
|
1339
|
+
if (mixins) {
|
|
1340
|
+
for (var i = 0; i < mixins.length; i++) {
|
|
1341
|
+
api = mixins[i](api);
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
var r = factory(function initialize(O) {
|
|
1346
|
+
api.initializeInstanceElements(O, decorated.elements);
|
|
1347
|
+
}, superClass);
|
|
1348
|
+
var decorated = api.decorateClass(
|
|
1349
|
+
_coalesceClassElements(r.d.map(_createElementDescriptor)),
|
|
1350
|
+
decorators,
|
|
1351
|
+
);
|
|
1352
|
+
|
|
1353
|
+
api.initializeClassElements(r.F, decorated.elements);
|
|
1354
|
+
|
|
1355
|
+
return api.runClassFinishers(r.F, decorated.finishers);
|
|
1356
|
+
}
|
|
1357
|
+
|
|
1358
|
+
function _getDecoratorsApi() {
|
|
1359
|
+
_getDecoratorsApi = function() {
|
|
1360
|
+
return api;
|
|
1361
|
+
};
|
|
1362
|
+
|
|
1363
|
+
var api = {
|
|
1364
|
+
elementsDefinitionOrder: [["method"], ["field"]],
|
|
1365
|
+
|
|
1366
|
+
// InitializeInstanceElements
|
|
1367
|
+
initializeInstanceElements: function(
|
|
1368
|
+
/*::<C>*/ O /*: C */,
|
|
1369
|
+
elements /*: ElementDescriptor[] */,
|
|
1370
|
+
) {
|
|
1371
|
+
["method", "field"].forEach(function(kind) {
|
|
1372
|
+
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
1373
|
+
if (element.kind === kind && element.placement === "own") {
|
|
1374
|
+
this.defineClassElement(O, element);
|
|
1375
|
+
}
|
|
1376
|
+
}, this);
|
|
1377
|
+
}, this);
|
|
1378
|
+
},
|
|
1379
|
+
|
|
1380
|
+
// InitializeClassElements
|
|
1381
|
+
initializeClassElements: function(
|
|
1382
|
+
/*::<C>*/ F /*: Class<C> */,
|
|
1383
|
+
elements /*: ElementDescriptor[] */,
|
|
1384
|
+
) {
|
|
1385
|
+
var proto = F.prototype;
|
|
1386
|
+
|
|
1387
|
+
["method", "field"].forEach(function(kind) {
|
|
1388
|
+
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
1389
|
+
var placement = element.placement;
|
|
1390
|
+
if (
|
|
1391
|
+
element.kind === kind &&
|
|
1392
|
+
(placement === "static" || placement === "prototype")
|
|
1393
|
+
) {
|
|
1394
|
+
var receiver = placement === "static" ? F : proto;
|
|
1395
|
+
this.defineClassElement(receiver, element);
|
|
1396
|
+
}
|
|
1397
|
+
}, this);
|
|
1398
|
+
}, this);
|
|
1399
|
+
},
|
|
1400
|
+
|
|
1401
|
+
// DefineClassElement
|
|
1402
|
+
defineClassElement: function(
|
|
1403
|
+
/*::<C>*/ receiver /*: C | Class<C> */,
|
|
1404
|
+
element /*: ElementDescriptor */,
|
|
1405
|
+
) {
|
|
1406
|
+
var descriptor /*: PropertyDescriptor */ = element.descriptor;
|
|
1407
|
+
if (element.kind === "field") {
|
|
1408
|
+
var initializer = element.initializer;
|
|
1409
|
+
descriptor = {
|
|
1410
|
+
enumerable: descriptor.enumerable,
|
|
1411
|
+
writable: descriptor.writable,
|
|
1412
|
+
configurable: descriptor.configurable,
|
|
1413
|
+
value: initializer === void 0 ? void 0 : initializer.call(receiver),
|
|
1414
|
+
};
|
|
1415
|
+
}
|
|
1416
|
+
Object.defineProperty(receiver, element.key, descriptor);
|
|
1417
|
+
},
|
|
1418
|
+
|
|
1419
|
+
// DecorateClass
|
|
1420
|
+
decorateClass: function(
|
|
1421
|
+
elements /*: ElementDescriptor[] */,
|
|
1422
|
+
decorators /*: ClassDecorator[] */,
|
|
1423
|
+
) /*: ElementsFinishers */ {
|
|
1424
|
+
var newElements /*: ElementDescriptor[] */ = [];
|
|
1425
|
+
var finishers /*: ClassFinisher[] */ = [];
|
|
1426
|
+
var placements /*: Placements */ = {
|
|
1427
|
+
static: [],
|
|
1428
|
+
prototype: [],
|
|
1429
|
+
own: [],
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
1433
|
+
this.addElementPlacement(element, placements);
|
|
1434
|
+
}, this);
|
|
1435
|
+
|
|
1436
|
+
elements.forEach(function(element /*: ElementDescriptor */) {
|
|
1437
|
+
if (!_hasDecorators(element)) return newElements.push(element);
|
|
1438
|
+
|
|
1439
|
+
var elementFinishersExtras /*: ElementFinishersExtras */ = this.decorateElement(
|
|
1440
|
+
element,
|
|
1441
|
+
placements,
|
|
1442
|
+
);
|
|
1443
|
+
newElements.push(elementFinishersExtras.element);
|
|
1444
|
+
newElements.push.apply(newElements, elementFinishersExtras.extras);
|
|
1445
|
+
finishers.push.apply(finishers, elementFinishersExtras.finishers);
|
|
1446
|
+
}, this);
|
|
1447
|
+
|
|
1448
|
+
if (!decorators) {
|
|
1449
|
+
return { elements: newElements, finishers: finishers };
|
|
1450
|
+
}
|
|
1451
|
+
|
|
1452
|
+
var result /*: ElementsFinishers */ = this.decorateConstructor(
|
|
1453
|
+
newElements,
|
|
1454
|
+
decorators,
|
|
1455
|
+
);
|
|
1456
|
+
finishers.push.apply(finishers, result.finishers);
|
|
1457
|
+
result.finishers = finishers;
|
|
1458
|
+
|
|
1459
|
+
return result;
|
|
1460
|
+
},
|
|
1461
|
+
|
|
1462
|
+
// AddElementPlacement
|
|
1463
|
+
addElementPlacement: function(
|
|
1464
|
+
element /*: ElementDescriptor */,
|
|
1465
|
+
placements /*: Placements */,
|
|
1466
|
+
silent /*: boolean */,
|
|
1467
|
+
) {
|
|
1468
|
+
var keys = placements[element.placement];
|
|
1469
|
+
if (!silent && keys.indexOf(element.key) !== -1) {
|
|
1470
|
+
throw new TypeError("Duplicated element (" + element.key + ")");
|
|
1471
|
+
}
|
|
1472
|
+
keys.push(element.key);
|
|
1473
|
+
},
|
|
1474
|
+
|
|
1475
|
+
// DecorateElement
|
|
1476
|
+
decorateElement: function(
|
|
1477
|
+
element /*: ElementDescriptor */,
|
|
1478
|
+
placements /*: Placements */,
|
|
1479
|
+
) /*: ElementFinishersExtras */ {
|
|
1480
|
+
var extras /*: ElementDescriptor[] */ = [];
|
|
1481
|
+
var finishers /*: ClassFinisher[] */ = [];
|
|
1482
|
+
|
|
1483
|
+
for (
|
|
1484
|
+
var decorators = element.decorators, i = decorators.length - 1;
|
|
1485
|
+
i >= 0;
|
|
1486
|
+
i--
|
|
1487
|
+
) {
|
|
1488
|
+
// (inlined) RemoveElementPlacement
|
|
1489
|
+
var keys = placements[element.placement];
|
|
1490
|
+
keys.splice(keys.indexOf(element.key), 1);
|
|
1491
|
+
|
|
1492
|
+
var elementObject /*: ElementObjectInput */ = this.fromElementDescriptor(
|
|
1493
|
+
element,
|
|
1494
|
+
);
|
|
1495
|
+
var elementFinisherExtras /*: ElementFinisherExtras */ = this.toElementFinisherExtras(
|
|
1496
|
+
(0, decorators[i])(elementObject) /*: ElementObjectOutput */ ||
|
|
1497
|
+
elementObject,
|
|
1498
|
+
);
|
|
1499
|
+
|
|
1500
|
+
element = elementFinisherExtras.element;
|
|
1501
|
+
this.addElementPlacement(element, placements);
|
|
1502
|
+
|
|
1503
|
+
if (elementFinisherExtras.finisher) {
|
|
1504
|
+
finishers.push(elementFinisherExtras.finisher);
|
|
1505
|
+
}
|
|
1506
|
+
|
|
1507
|
+
var newExtras /*: ElementDescriptor[] | void */ =
|
|
1508
|
+
elementFinisherExtras.extras;
|
|
1509
|
+
if (newExtras) {
|
|
1510
|
+
for (var j = 0; j < newExtras.length; j++) {
|
|
1511
|
+
this.addElementPlacement(newExtras[j], placements);
|
|
1512
|
+
}
|
|
1513
|
+
extras.push.apply(extras, newExtras);
|
|
1514
|
+
}
|
|
1515
|
+
}
|
|
1516
|
+
|
|
1517
|
+
return { element: element, finishers: finishers, extras: extras };
|
|
1518
|
+
},
|
|
1519
|
+
|
|
1520
|
+
// DecorateConstructor
|
|
1521
|
+
decorateConstructor: function(
|
|
1522
|
+
elements /*: ElementDescriptor[] */,
|
|
1523
|
+
decorators /*: ClassDecorator[] */,
|
|
1524
|
+
) /*: ElementsFinishers */ {
|
|
1525
|
+
var finishers /*: ClassFinisher[] */ = [];
|
|
1526
|
+
|
|
1527
|
+
for (var i = decorators.length - 1; i >= 0; i--) {
|
|
1528
|
+
var obj /*: ClassObject */ = this.fromClassDescriptor(elements);
|
|
1529
|
+
var elementsAndFinisher /*: ElementsFinisher */ = this.toClassDescriptor(
|
|
1530
|
+
(0, decorators[i])(obj) /*: ClassObject */ || obj,
|
|
1531
|
+
);
|
|
1532
|
+
|
|
1533
|
+
if (elementsAndFinisher.finisher !== undefined) {
|
|
1534
|
+
finishers.push(elementsAndFinisher.finisher);
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
if (elementsAndFinisher.elements !== undefined) {
|
|
1538
|
+
elements = elementsAndFinisher.elements;
|
|
1539
|
+
|
|
1540
|
+
for (var j = 0; j < elements.length - 1; j++) {
|
|
1541
|
+
for (var k = j + 1; k < elements.length; k++) {
|
|
1542
|
+
if (
|
|
1543
|
+
elements[j].key === elements[k].key &&
|
|
1544
|
+
elements[j].placement === elements[k].placement
|
|
1545
|
+
) {
|
|
1546
|
+
throw new TypeError(
|
|
1547
|
+
"Duplicated element (" + elements[j].key + ")",
|
|
1548
|
+
);
|
|
1549
|
+
}
|
|
1550
|
+
}
|
|
1551
|
+
}
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
|
|
1555
|
+
return { elements: elements, finishers: finishers };
|
|
1556
|
+
},
|
|
1557
|
+
|
|
1558
|
+
// FromElementDescriptor
|
|
1559
|
+
fromElementDescriptor: function(
|
|
1560
|
+
element /*: ElementDescriptor */,
|
|
1561
|
+
) /*: ElementObject */ {
|
|
1562
|
+
var obj /*: ElementObject */ = {
|
|
1563
|
+
kind: element.kind,
|
|
1564
|
+
key: element.key,
|
|
1565
|
+
placement: element.placement,
|
|
1566
|
+
descriptor: element.descriptor,
|
|
1567
|
+
};
|
|
1568
|
+
|
|
1569
|
+
var desc = {
|
|
1570
|
+
value: "Descriptor",
|
|
1571
|
+
configurable: true,
|
|
1572
|
+
};
|
|
1573
|
+
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
|
1574
|
+
|
|
1575
|
+
if (element.kind === "field") obj.initializer = element.initializer;
|
|
1576
|
+
|
|
1577
|
+
return obj;
|
|
1578
|
+
},
|
|
1579
|
+
|
|
1580
|
+
// ToElementDescriptors
|
|
1581
|
+
toElementDescriptors: function(
|
|
1582
|
+
elementObjects /*: ElementObject[] */,
|
|
1583
|
+
) /*: ElementDescriptor[] */ {
|
|
1584
|
+
if (elementObjects === undefined) return;
|
|
1585
|
+
return toArray(elementObjects).map(function(elementObject) {
|
|
1586
|
+
var element = this.toElementDescriptor(elementObject);
|
|
1587
|
+
this.disallowProperty(elementObject, "finisher", "An element descriptor");
|
|
1588
|
+
this.disallowProperty(elementObject, "extras", "An element descriptor");
|
|
1589
|
+
return element;
|
|
1590
|
+
}, this);
|
|
1591
|
+
},
|
|
1592
|
+
|
|
1593
|
+
// ToElementDescriptor
|
|
1594
|
+
toElementDescriptor: function(
|
|
1595
|
+
elementObject /*: ElementObject */,
|
|
1596
|
+
) /*: ElementDescriptor */ {
|
|
1597
|
+
var kind = String(elementObject.kind);
|
|
1598
|
+
if (kind !== "method" && kind !== "field") {
|
|
1599
|
+
throw new TypeError(
|
|
1600
|
+
'An element descriptor\\'s .kind property must be either "method" or' +
|
|
1601
|
+
' "field", but a decorator created an element descriptor with' +
|
|
1602
|
+
' .kind "' +
|
|
1603
|
+
kind +
|
|
1604
|
+
'"',
|
|
1605
|
+
);
|
|
1606
|
+
}
|
|
1607
|
+
|
|
1608
|
+
var key = toPropertyKey(elementObject.key);
|
|
1609
|
+
|
|
1610
|
+
var placement = String(elementObject.placement);
|
|
1611
|
+
if (
|
|
1612
|
+
placement !== "static" &&
|
|
1613
|
+
placement !== "prototype" &&
|
|
1614
|
+
placement !== "own"
|
|
1615
|
+
) {
|
|
1616
|
+
throw new TypeError(
|
|
1617
|
+
'An element descriptor\\'s .placement property must be one of "static",' +
|
|
1618
|
+
' "prototype" or "own", but a decorator created an element descriptor' +
|
|
1619
|
+
' with .placement "' +
|
|
1620
|
+
placement +
|
|
1621
|
+
'"',
|
|
1622
|
+
);
|
|
1623
|
+
}
|
|
1624
|
+
|
|
1625
|
+
var descriptor /*: PropertyDescriptor */ = elementObject.descriptor;
|
|
1626
|
+
|
|
1627
|
+
this.disallowProperty(elementObject, "elements", "An element descriptor");
|
|
1628
|
+
|
|
1629
|
+
var element /*: ElementDescriptor */ = {
|
|
1630
|
+
kind: kind,
|
|
1631
|
+
key: key,
|
|
1632
|
+
placement: placement,
|
|
1633
|
+
descriptor: Object.assign({}, descriptor),
|
|
1634
|
+
};
|
|
1635
|
+
|
|
1636
|
+
if (kind !== "field") {
|
|
1637
|
+
this.disallowProperty(elementObject, "initializer", "A method descriptor");
|
|
1638
|
+
} else {
|
|
1639
|
+
this.disallowProperty(
|
|
1640
|
+
descriptor,
|
|
1641
|
+
"get",
|
|
1642
|
+
"The property descriptor of a field descriptor",
|
|
1643
|
+
);
|
|
1644
|
+
this.disallowProperty(
|
|
1645
|
+
descriptor,
|
|
1646
|
+
"set",
|
|
1647
|
+
"The property descriptor of a field descriptor",
|
|
1648
|
+
);
|
|
1649
|
+
this.disallowProperty(
|
|
1650
|
+
descriptor,
|
|
1651
|
+
"value",
|
|
1652
|
+
"The property descriptor of a field descriptor",
|
|
1653
|
+
);
|
|
1654
|
+
|
|
1655
|
+
element.initializer = elementObject.initializer;
|
|
1656
|
+
}
|
|
1657
|
+
|
|
1658
|
+
return element;
|
|
1659
|
+
},
|
|
1660
|
+
|
|
1661
|
+
toElementFinisherExtras: function(
|
|
1662
|
+
elementObject /*: ElementObject */,
|
|
1663
|
+
) /*: ElementFinisherExtras */ {
|
|
1664
|
+
var element /*: ElementDescriptor */ = this.toElementDescriptor(
|
|
1665
|
+
elementObject,
|
|
1666
|
+
);
|
|
1667
|
+
var finisher /*: ClassFinisher */ = _optionalCallableProperty(
|
|
1668
|
+
elementObject,
|
|
1669
|
+
"finisher",
|
|
1670
|
+
);
|
|
1671
|
+
var extras /*: ElementDescriptors[] */ = this.toElementDescriptors(
|
|
1672
|
+
elementObject.extras,
|
|
1673
|
+
);
|
|
1674
|
+
|
|
1675
|
+
return { element: element, finisher: finisher, extras: extras };
|
|
1676
|
+
},
|
|
1677
|
+
|
|
1678
|
+
// FromClassDescriptor
|
|
1679
|
+
fromClassDescriptor: function(
|
|
1680
|
+
elements /*: ElementDescriptor[] */,
|
|
1681
|
+
) /*: ClassObject */ {
|
|
1682
|
+
var obj = {
|
|
1683
|
+
kind: "class",
|
|
1684
|
+
elements: elements.map(this.fromElementDescriptor, this),
|
|
1685
|
+
};
|
|
1686
|
+
|
|
1687
|
+
var desc = { value: "Descriptor", configurable: true };
|
|
1688
|
+
Object.defineProperty(obj, Symbol.toStringTag, desc);
|
|
1689
|
+
|
|
1690
|
+
return obj;
|
|
1691
|
+
},
|
|
1692
|
+
|
|
1693
|
+
// ToClassDescriptor
|
|
1694
|
+
toClassDescriptor: function(
|
|
1695
|
+
obj /*: ClassObject */,
|
|
1696
|
+
) /*: ElementsFinisher */ {
|
|
1697
|
+
var kind = String(obj.kind);
|
|
1698
|
+
if (kind !== "class") {
|
|
1699
|
+
throw new TypeError(
|
|
1700
|
+
'A class descriptor\\'s .kind property must be "class", but a decorator' +
|
|
1701
|
+
' created a class descriptor with .kind "' +
|
|
1702
|
+
kind +
|
|
1703
|
+
'"',
|
|
1704
|
+
);
|
|
1705
|
+
}
|
|
1706
|
+
|
|
1707
|
+
this.disallowProperty(obj, "key", "A class descriptor");
|
|
1708
|
+
this.disallowProperty(obj, "placement", "A class descriptor");
|
|
1709
|
+
this.disallowProperty(obj, "descriptor", "A class descriptor");
|
|
1710
|
+
this.disallowProperty(obj, "initializer", "A class descriptor");
|
|
1711
|
+
this.disallowProperty(obj, "extras", "A class descriptor");
|
|
1712
|
+
|
|
1713
|
+
var finisher = _optionalCallableProperty(obj, "finisher");
|
|
1714
|
+
var elements = this.toElementDescriptors(obj.elements);
|
|
1715
|
+
|
|
1716
|
+
return { elements: elements, finisher: finisher };
|
|
1717
|
+
},
|
|
1718
|
+
|
|
1719
|
+
// RunClassFinishers
|
|
1720
|
+
runClassFinishers: function(
|
|
1721
|
+
constructor /*: Class<*> */,
|
|
1722
|
+
finishers /*: ClassFinisher[] */,
|
|
1723
|
+
) /*: Class<*> */ {
|
|
1724
|
+
for (var i = 0; i < finishers.length; i++) {
|
|
1725
|
+
var newConstructor /*: ?Class<*> */ = (0, finishers[i])(constructor);
|
|
1726
|
+
if (newConstructor !== undefined) {
|
|
1727
|
+
// NOTE: This should check if IsConstructor(newConstructor) is false.
|
|
1728
|
+
if (typeof newConstructor !== "function") {
|
|
1729
|
+
throw new TypeError("Finishers must return a constructor.");
|
|
1730
|
+
}
|
|
1731
|
+
constructor = newConstructor;
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
return constructor;
|
|
1735
|
+
},
|
|
1736
|
+
|
|
1737
|
+
disallowProperty: function(obj, name, objectType) {
|
|
1738
|
+
if (obj[name] !== undefined) {
|
|
1739
|
+
throw new TypeError(objectType + " can't have a ." + name + " property.");
|
|
1740
|
+
}
|
|
1741
|
+
}
|
|
1742
|
+
};
|
|
1743
|
+
|
|
1744
|
+
return api;
|
|
1745
|
+
}
|
|
1746
|
+
|
|
1747
|
+
// ClassElementEvaluation
|
|
1748
|
+
function _createElementDescriptor(
|
|
1749
|
+
def /*: ElementDefinition */,
|
|
1750
|
+
) /*: ElementDescriptor */ {
|
|
1751
|
+
var key = toPropertyKey(def.key);
|
|
1752
|
+
|
|
1753
|
+
var descriptor /*: PropertyDescriptor */;
|
|
1754
|
+
if (def.kind === "method") {
|
|
1755
|
+
descriptor = {
|
|
1756
|
+
value: def.value,
|
|
1757
|
+
writable: true,
|
|
1758
|
+
configurable: true,
|
|
1759
|
+
enumerable: false,
|
|
1760
|
+
};
|
|
1761
|
+
} else if (def.kind === "get") {
|
|
1762
|
+
descriptor = { get: def.value, configurable: true, enumerable: false };
|
|
1763
|
+
} else if (def.kind === "set") {
|
|
1764
|
+
descriptor = { set: def.value, configurable: true, enumerable: false };
|
|
1765
|
+
} else if (def.kind === "field") {
|
|
1766
|
+
descriptor = { configurable: true, writable: true, enumerable: true };
|
|
1767
|
+
}
|
|
1768
|
+
|
|
1769
|
+
var element /*: ElementDescriptor */ = {
|
|
1770
|
+
kind: def.kind === "field" ? "field" : "method",
|
|
1771
|
+
key: key,
|
|
1772
|
+
placement: def.static
|
|
1773
|
+
? "static"
|
|
1774
|
+
: def.kind === "field"
|
|
1775
|
+
? "own"
|
|
1776
|
+
: "prototype",
|
|
1777
|
+
descriptor: descriptor,
|
|
1778
|
+
};
|
|
1779
|
+
if (def.decorators) element.decorators = def.decorators;
|
|
1780
|
+
if (def.kind === "field") element.initializer = def.value;
|
|
1781
|
+
|
|
1782
|
+
return element;
|
|
1783
|
+
}
|
|
1784
|
+
|
|
1785
|
+
// CoalesceGetterSetter
|
|
1786
|
+
function _coalesceGetterSetter(
|
|
1787
|
+
element /*: ElementDescriptor */,
|
|
1788
|
+
other /*: ElementDescriptor */,
|
|
1789
|
+
) {
|
|
1790
|
+
if (element.descriptor.get !== undefined) {
|
|
1791
|
+
other.descriptor.get = element.descriptor.get;
|
|
1792
|
+
} else {
|
|
1793
|
+
other.descriptor.set = element.descriptor.set;
|
|
1794
|
+
}
|
|
1795
|
+
}
|
|
1796
|
+
|
|
1797
|
+
// CoalesceClassElements
|
|
1798
|
+
function _coalesceClassElements(
|
|
1799
|
+
elements /*: ElementDescriptor[] */,
|
|
1800
|
+
) /*: ElementDescriptor[] */ {
|
|
1801
|
+
var newElements /*: ElementDescriptor[] */ = [];
|
|
1802
|
+
|
|
1803
|
+
var isSameElement = function(
|
|
1804
|
+
other /*: ElementDescriptor */,
|
|
1805
|
+
) /*: boolean */ {
|
|
1806
|
+
return (
|
|
1807
|
+
other.kind === "method" &&
|
|
1808
|
+
other.key === element.key &&
|
|
1809
|
+
other.placement === element.placement
|
|
1810
|
+
);
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
for (var i = 0; i < elements.length; i++) {
|
|
1814
|
+
var element /*: ElementDescriptor */ = elements[i];
|
|
1815
|
+
var other /*: ElementDescriptor */;
|
|
1816
|
+
|
|
1817
|
+
if (
|
|
1818
|
+
element.kind === "method" &&
|
|
1819
|
+
(other = newElements.find(isSameElement))
|
|
1820
|
+
) {
|
|
1821
|
+
if (
|
|
1822
|
+
_isDataDescriptor(element.descriptor) ||
|
|
1823
|
+
_isDataDescriptor(other.descriptor)
|
|
1824
|
+
) {
|
|
1825
|
+
if (_hasDecorators(element) || _hasDecorators(other)) {
|
|
1826
|
+
throw new ReferenceError(
|
|
1827
|
+
"Duplicated methods (" + element.key + ") can't be decorated.",
|
|
1828
|
+
);
|
|
1829
|
+
}
|
|
1830
|
+
other.descriptor = element.descriptor;
|
|
1831
|
+
} else {
|
|
1832
|
+
if (_hasDecorators(element)) {
|
|
1833
|
+
if (_hasDecorators(other)) {
|
|
1834
|
+
throw new ReferenceError(
|
|
1835
|
+
"Decorators can't be placed on different accessors with for " +
|
|
1836
|
+
"the same property (" +
|
|
1837
|
+
element.key +
|
|
1838
|
+
").",
|
|
1839
|
+
);
|
|
1840
|
+
}
|
|
1841
|
+
other.decorators = element.decorators;
|
|
1842
|
+
}
|
|
1843
|
+
_coalesceGetterSetter(element, other);
|
|
1844
|
+
}
|
|
1845
|
+
} else {
|
|
1846
|
+
newElements.push(element);
|
|
1847
|
+
}
|
|
1848
|
+
}
|
|
1849
|
+
|
|
1850
|
+
return newElements;
|
|
1851
|
+
}
|
|
1852
|
+
|
|
1853
|
+
function _hasDecorators(element /*: ElementDescriptor */) /*: boolean */ {
|
|
1854
|
+
return element.decorators && element.decorators.length;
|
|
1855
|
+
}
|
|
1856
|
+
|
|
1857
|
+
function _isDataDescriptor(desc /*: PropertyDescriptor */) /*: boolean */ {
|
|
1858
|
+
return (
|
|
1859
|
+
desc !== undefined &&
|
|
1860
|
+
!(desc.value === undefined && desc.writable === undefined)
|
|
1861
|
+
);
|
|
1862
|
+
}
|
|
1863
|
+
|
|
1864
|
+
function _optionalCallableProperty /*::<T>*/(
|
|
1865
|
+
obj /*: T */,
|
|
1866
|
+
name /*: $Keys<T> */,
|
|
1867
|
+
) /*: ?Function */ {
|
|
1868
|
+
var value = obj[name];
|
|
1869
|
+
if (value !== undefined && typeof value !== "function") {
|
|
1870
|
+
throw new TypeError("Expected '" + name + "' to be a function");
|
|
1871
|
+
}
|
|
1872
|
+
return value;
|
|
1873
|
+
}
|
|
1874
|
+
|
|
1875
|
+
`,s.classPrivateMethodGet=o("7.1.6")`
|
|
1876
|
+
export default function _classPrivateMethodGet(receiver, privateSet, fn) {
|
|
1877
|
+
if (!privateSet.has(receiver)) {
|
|
1878
|
+
throw new TypeError("attempted to get private field on non-instance");
|
|
1879
|
+
}
|
|
1880
|
+
return fn;
|
|
1881
|
+
}
|
|
1882
|
+
`,s.checkPrivateRedeclaration=o("7.14.1")`
|
|
1883
|
+
export default function _checkPrivateRedeclaration(obj, privateCollection) {
|
|
1884
|
+
if (privateCollection.has(obj)) {
|
|
1885
|
+
throw new TypeError("Cannot initialize the same private elements twice on an object");
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
`,s.classPrivateFieldInitSpec=o("7.14.1")`
|
|
1889
|
+
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
|
|
1890
|
+
|
|
1891
|
+
export default function _classPrivateFieldInitSpec(obj, privateMap, value) {
|
|
1892
|
+
checkPrivateRedeclaration(obj, privateMap);
|
|
1893
|
+
privateMap.set(obj, value);
|
|
1894
|
+
}
|
|
1895
|
+
`,s.classPrivateMethodInitSpec=o("7.14.1")`
|
|
1896
|
+
import checkPrivateRedeclaration from "checkPrivateRedeclaration";
|
|
1897
|
+
|
|
1898
|
+
export default function _classPrivateMethodInitSpec(obj, privateSet) {
|
|
1899
|
+
checkPrivateRedeclaration(obj, privateSet);
|
|
1900
|
+
privateSet.add(obj);
|
|
1901
|
+
}
|
|
1902
|
+
`,s.classPrivateMethodSet=o("7.1.6")`
|
|
1903
|
+
export default function _classPrivateMethodSet() {
|
|
1904
|
+
throw new TypeError("attempted to reassign private method");
|
|
1905
|
+
}
|
|
1906
|
+
`},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(90);function i(e,t){return Object.freeze({minVersion:e,ast:()=>n.default.program.ast(t)})}var s=Object.freeze({asyncIterator:i("7.15.9",'export default function _asyncIterator(iterable){var method,async,sync,retry=2;for("undefined"!=typeof Symbol&&(async=Symbol.asyncIterator,sync=Symbol.iterator);retry--;){if(async&&null!=(method=iterable[async]))return method.call(iterable);if(sync&&null!=(method=iterable[sync]))return new AsyncFromSyncIterator(method.call(iterable));async="@@asyncIterator",sync="@@iterator"}throw new TypeError("Object is not async iterable")}function AsyncFromSyncIterator(s){function AsyncFromSyncIteratorContinuation(r){if(Object(r)!==r)return Promise.reject(new TypeError(r+" is not an object."));var done=r.done;return Promise.resolve(r.value).then((function(value){return{value:value,done:done}}))}return AsyncFromSyncIterator=function(s){this.s=s,this.n=s.next},AsyncFromSyncIterator.prototype={s:null,n:null,next:function(){return AsyncFromSyncIteratorContinuation(this.n.apply(this.s,arguments))},return:function(value){var ret=this.s.return;return void 0===ret?Promise.resolve({value:value,done:!0}):AsyncFromSyncIteratorContinuation(ret.apply(this.s,arguments))},throw:function(value){var thr=this.s.return;return void 0===thr?Promise.reject(value):AsyncFromSyncIteratorContinuation(thr.apply(this.s,arguments))}},new AsyncFromSyncIterator(s)}'),jsx:i("7.0.0-beta.0",'var REACT_ELEMENT_TYPE;export default function _createRawReactElement(type,props,key,children){REACT_ELEMENT_TYPE||(REACT_ELEMENT_TYPE="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103);var defaultProps=type&&type.defaultProps,childrenLength=arguments.length-3;if(props||0===childrenLength||(props={children:void 0}),1===childrenLength)props.children=children;else if(childrenLength>1){for(var childArray=new Array(childrenLength),i=0;i<childrenLength;i++)childArray[i]=arguments[i+3];props.children=childArray}if(props&&defaultProps)for(var propName in defaultProps)void 0===props[propName]&&(props[propName]=defaultProps[propName]);else props||(props=defaultProps||{});return{$$typeof:REACT_ELEMENT_TYPE,type:type,key:void 0===key?null:""+key,ref:null,props:props,_owner:null}}'),objectSpread2:i("7.5.0",'import defineProperty from"defineProperty";function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}export default function _objectSpread2(target){for(var i=1;i<arguments.length;i++){var source=null!=arguments[i]?arguments[i]:{};i%2?ownKeys(Object(source),!0).forEach((function(key){defineProperty(target,key,source[key])})):Object.getOwnPropertyDescriptors?Object.defineProperties(target,Object.getOwnPropertyDescriptors(source)):ownKeys(Object(source)).forEach((function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key))}))}return target}'),typeof:i("7.0.0-beta.0",'export default function _typeof(obj){"@babel/helpers - typeof";return _typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(obj){return typeof obj}:function(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj},_typeof(obj)}'),wrapRegExp:i("7.2.6",'import setPrototypeOf from"setPrototypeOf";import inherits from"inherits";export default function _wrapRegExp(){_wrapRegExp=function(re,groups){return new BabelRegExp(re,void 0,groups)};var _super=RegExp.prototype,_groups=new WeakMap;function BabelRegExp(re,flags,groups){var _this=new RegExp(re,flags);return _groups.set(_this,groups||_groups.get(re)),setPrototypeOf(_this,BabelRegExp.prototype)}function buildGroups(result,re){var g=_groups.get(re);return Object.keys(g).reduce((function(groups,name){return groups[name]=result[g[name]],groups}),Object.create(null))}return inherits(BabelRegExp,RegExp),BabelRegExp.prototype.exec=function(str){var result=_super.exec.call(this,str);return result&&(result.groups=buildGroups(result,this)),result},BabelRegExp.prototype[Symbol.replace]=function(str,substitution){if("string"==typeof substitution){var groups=_groups.get(this);return _super[Symbol.replace].call(this,str,substitution.replace(/\\$<([^>]+)>/g,(function(_,name){return"$"+groups[name]})))}if("function"==typeof substitution){var _this=this;return _super[Symbol.replace].call(this,str,(function(){var args=arguments;return"object"!=typeof args[args.length-1]&&(args=[].slice.call(args)).push(buildGroups(args,_this)),substitution.apply(this,args)}))}return _super[Symbol.replace].call(this,str,substitution)},_wrapRegExp.apply(this,arguments)}')});t.default=s},function(e,t,r){"use strict";
|
|
1907
|
+
/*
|
|
1908
|
+
object-assign
|
|
1909
|
+
(c) Sindre Sorhus
|
|
1910
|
+
@license MIT
|
|
1911
|
+
*/var n=Object.getOwnPropertySymbols,i=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;function a(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;var n=Object.getOwnPropertyNames(t).map((function(e){return t[e]}));if("0123456789"!==n.join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(e){i[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(s){return!1}}()?Object.assign:function(e,t){for(var r,o,l=a(e),c=1;c<arguments.length;c++){for(var u in r=Object(arguments[c]),r)i.call(r,u)&&(l[u]=r[u]);if(n){o=n(r);for(var p=0;p<o.length;p++)s.call(r,o[p])&&(l[o[p]]=r[o[p]])}}return l}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(104),i=r(65),s=r(618),a=r(263);const{numericLiteral:o,sequenceExpression:l}=i;t.default=class{constructor(e,t,r){this._defaultOpts={importedSource:null,importedType:"commonjs",importedInterop:"babel",importingInterop:"babel",ensureLiveReference:!1,ensureNoContext:!1,importPosition:"before"};const n=e.find(e=>e.isProgram());this._programPath=n,this._programScope=n.scope,this._hub=n.hub,this._defaultOpts=this._applyDefaults(t,r,!0)}addDefault(e,t){return this.addNamed("default",e,t)}addNamed(e,t,r){return n("string"==typeof e),this._generateImport(this._applyDefaults(t,r),e)}addNamespace(e,t){return this._generateImport(this._applyDefaults(e,t),null)}addSideEffect(e,t){return this._generateImport(this._applyDefaults(e,t),!1)}_applyDefaults(e,t,r=!1){const i=[];"string"==typeof e?(i.push({importedSource:e}),i.push(t)):(n(!t,"Unexpected secondary arguments."),i.push(e));const s=Object.assign({},this._defaultOpts);for(const n of i)n&&(Object.keys(s).forEach(e=>{void 0!==n[e]&&(s[e]=n[e])}),r||(void 0!==n.nameHint&&(s.nameHint=n.nameHint),void 0!==n.blockHoist&&(s.blockHoist=n.blockHoist)));return s}_generateImport(e,t){const r="default"===t,n=!!t&&!r,i=null===t,{importedSource:c,importedType:u,importedInterop:p,importingInterop:f,ensureLiveReference:d,ensureNoContext:h,nameHint:m,importPosition:y,blockHoist:g}=e;let b=m||t;const v=(0,a.default)(this._programPath),T=v&&"node"===f,E=v&&"babel"===f;if("after"===y&&!v)throw new Error('"importPosition": "after" is only supported in modules');const S=new s.default(c,this._programScope,this._hub);if("es6"===u){if(!T&&!E)throw new Error("Cannot import an ES6 module from CommonJS");S.import(),i?S.namespace(m||c):(r||n)&&S.named(b,t)}else{if("commonjs"!==u)throw new Error(`Unexpected interopType "${u}"`);if("babel"===p)if(T){b="default"!==b?b:c;const e=c+"$es6Default";S.import(),i?S.default(e).var(b||c).wildcardInterop():r?d?S.default(e).var(b||c).defaultInterop().read("default"):S.default(e).var(b).defaultInterop().prop(t):n&&S.default(e).read(t)}else E?(S.import(),i?S.namespace(b||c):(r||n)&&S.named(b,t)):(S.require(),i?S.var(b||c).wildcardInterop():(r||n)&&d?r?(b="default"!==b?b:c,S.var(b).read(t),S.defaultInterop()):S.var(c).read(t):r?S.var(b).defaultInterop().prop(t):n&&S.var(b).prop(t));else if("compiled"===p)T?(S.import(),i?S.default(b||c):(r||n)&&S.default(c).read(b)):E?(S.import(),i?S.namespace(b||c):(r||n)&&S.named(b,t)):(S.require(),i?S.var(b||c):(r||n)&&(d?S.var(c).read(b):S.prop(t).var(b)));else{if("uncompiled"!==p)throw new Error(`Unknown importedInterop "${p}".`);if(r&&d)throw new Error("No live reference for commonjs default");T?(S.import(),i?S.default(b||c):r?S.default(b):n&&S.default(c).read(b)):E?(S.import(),i?S.default(b||c):r?S.default(b):n&&S.named(b,t)):(S.require(),i?S.var(b||c):r?S.var(b):n&&(d?S.var(c).read(b):S.var(b).prop(t)))}}const{statements:x,resultName:P}=S.done();return this._insertStatements(x,y,g),(r||n)&&h&&"Identifier"!==P.type?l([o(0),P]):P}_insertStatements(e,t="before",r=3){const n=this._programPath.get("body");if("after"===t){for(let i=n.length-1;i>=0;i--)if(n[i].isImportDeclaration())return void n[i].insertAfter(e)}else{e.forEach(e=>{e._blockHoist=r});const t=n.find(e=>{const t=e.node._blockHoist;return Number.isFinite(t)&&t<4});if(t)return void t.insertBefore(e)}this._programPath.unshiftContainer("body",e)}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var n=r(104),i=r(65);const{callExpression:s,cloneNode:a,expressionStatement:o,identifier:l,importDeclaration:c,importDefaultSpecifier:u,importNamespaceSpecifier:p,importSpecifier:f,memberExpression:d,stringLiteral:h,variableDeclaration:m,variableDeclarator:y}=i;t.default=class{constructor(e,t,r){this._statements=[],this._resultName=null,this._scope=null,this._hub=null,this._importedSource=void 0,this._scope=t,this._hub=r,this._importedSource=e}done(){return{statements:this._statements,resultName:this._resultName}}import(){return this._statements.push(c([],h(this._importedSource))),this}require(){return this._statements.push(o(s(l("require"),[h(this._importedSource)]))),this}namespace(e="namespace"){const t=this._scope.generateUidIdentifier(e),r=this._statements[this._statements.length-1];return n("ImportDeclaration"===r.type),n(0===r.specifiers.length),r.specifiers=[p(t)],this._resultName=a(t),this}default(e){e=this._scope.generateUidIdentifier(e);const t=this._statements[this._statements.length-1];return n("ImportDeclaration"===t.type),n(0===t.specifiers.length),t.specifiers=[u(e)],this._resultName=a(e),this}named(e,t){if("default"===t)return this.default(e);e=this._scope.generateUidIdentifier(e);const r=this._statements[this._statements.length-1];return n("ImportDeclaration"===r.type),n(0===r.specifiers.length),r.specifiers=[f(e,l(t))],this._resultName=a(e),this}var(e){e=this._scope.generateUidIdentifier(e);let t=this._statements[this._statements.length-1];return"ExpressionStatement"!==t.type&&(n(this._resultName),t=o(this._resultName),this._statements.push(t)),this._statements[this._statements.length-1]=m("var",[y(e,t.expression)]),this._resultName=a(e),this}defaultInterop(){return this._interop(this._hub.addHelper("interopRequireDefault"))}wildcardInterop(){return this._interop(this._hub.addHelper("interopRequireWildcard"))}_interop(e){const t=this._statements[this._statements.length-1];return"ExpressionStatement"===t.type?t.expression=s(e,[t.expression]):"VariableDeclaration"===t.type?(n(1===t.declarations.length),t.declarations[0].init=s(e,[t.declarations[0].init])):n.fail("Unexpected type."),this}prop(e){const t=this._statements[this._statements.length-1];return"ExpressionStatement"===t.type?t.expression=d(t.expression,l(e)):"VariableDeclaration"===t.type?(n(1===t.declarations.length),t.declarations[0].init=d(t.declarations[0].init,l(e))):n.fail("Unexpected type:"+t.type),this}read(e){this._resultName=d(this._resultName,l(e))}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){(0,i.default)(e.node,Object.assign({},l,{noScope:!0}))};var n=r(103),i=r(74),s=r(65);const{numericLiteral:a,unaryExpression:o}=s;const l=i.default.visitors.merge([n.default,{ThisExpression(e){e.replaceWith(o("void",a(0),!0))}}])},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=new Map,n=new Map,i=t=>{e.requeue(t)};for(const[a,l]of t.source){for(const[e,t]of l.imports)r.set(e,[a,t,null]);for(const e of l.importsNamespace)r.set(e,[a,null,e])}for(const[a,l]of t.local){let e=n.get(a);e||(e=[],n.set(a,e)),e.push(...l.names)}const s={metadata:t,requeueInParent:i,scope:e.scope,exported:n};e.traverse(x,s),(0,a.default)(e,new Set([...Array.from(r.keys()),...Array.from(n.keys())]));const o={seen:new WeakSet,metadata:t,requeueInParent:i,scope:e.scope,imported:r,exported:n,buildImportReference:([e,r,n],i)=>{const s=t.source.get(e);if(n)return s.lazy&&(i=l(i,[])),i;let a=f(s.name);if(s.lazy&&(a=l(a,[])),"default"===r&&"node-default"===s.interop)return a;const o=t.stringSpecifiers.has(r);return g(a,o?T(r):f(r),o)}};e.traverse(w,o)};var n=r(104),i=r(65),s=r(90),a=r(621);const{assignmentExpression:o,callExpression:l,cloneNode:c,expressionStatement:u,getOuterBindingIdentifiers:p,identifier:f,isMemberExpression:d,isVariableDeclaration:h,jsxIdentifier:m,jsxMemberExpression:y,memberExpression:g,numericLiteral:b,sequenceExpression:v,stringLiteral:T,variableDeclaration:E,variableDeclarator:S}=i;const x={Scope(e){e.skip()},ClassDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this,{id:i}=e.node;if(!i)throw new Error("Expected class to have a name");const s=i.name,a=r.get(s)||[];if(a.length>0){const r=u(P(n,a,f(s)));r._blockHoist=e.node._blockHoist,t(e.insertAfter(r)[0])}},VariableDeclaration(e){const{requeueInParent:t,exported:r,metadata:n}=this;Object.keys(e.getOuterBindingIdentifiers()).forEach(i=>{const s=r.get(i)||[];if(s.length>0){const r=u(P(n,s,f(i)));r._blockHoist=e.node._blockHoist,t(e.insertAfter(r)[0])}})}},P=(e,t,r)=>(t||[]).reduce((t,r)=>{const{stringSpecifiers:n}=e,i=n.has(r);return o("=",g(f(e.exportName),i?T(r):f(r),i),t)},r),A=e=>s.default.expression.ast`
|
|
1912
|
+
(function() {
|
|
1913
|
+
throw new Error('"' + '${e}' + '" is read-only.');
|
|
1914
|
+
})()
|
|
1915
|
+
`,w={ReferencedIdentifier(e){const{seen:t,buildImportReference:r,scope:n,imported:i,requeueInParent:s}=this;if(t.has(e.node))return;t.add(e.node);const a=e.node.name,o=i.get(a);if(o){if(function(e){do{switch(e.parent.type){case"TSTypeAnnotation":case"TSTypeAliasDeclaration":case"TSTypeReference":case"TypeAnnotation":case"TypeAlias":return!0;case"ExportSpecifier":return"type"===e.parentPath.parent.exportKind;default:if(e.parentPath.isStatement()||e.parentPath.isExpression())return!1}}while(e=e.parentPath)}(e))throw e.buildCodeFrameError(`Cannot transform the imported binding "${a}" since it's also used in a type annotation. Please strip type annotations using @babel/preset-typescript or @babel/preset-flow.`);const t=e.scope.getBinding(a),i=n.getBinding(a);if(i!==t)return;const l=r(o,e.node);if(l.loc=e.node.loc,(e.parentPath.isCallExpression({callee:e.node})||e.parentPath.isOptionalCallExpression({callee:e.node})||e.parentPath.isTaggedTemplateExpression({tag:e.node}))&&d(l))e.replaceWith(v([b(0),l]));else if(e.isJSXIdentifier()&&d(l)){const{object:t,property:r}=l;e.replaceWith(y(m(t.name),m(r.name)))}else e.replaceWith(l);s(e),e.skip()}},AssignmentExpression:{exit(e){const{scope:t,seen:r,imported:i,exported:s,requeueInParent:a,buildImportReference:o}=this;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isMemberExpression())if(l.isIdentifier()){const r=l.node.name;if(t.getBinding(r)!==e.scope.getBinding(r))return;const c=s.get(r),u=i.get(r);if((null==c?void 0:c.length)>0||u){n("="===e.node.operator,"Path was not simplified");const t=e.node;u&&(t.left=o(u,t.left),t.right=v([t.right,A(r)])),e.replaceWith(P(this.metadata,c,t)),a(e)}}else{const r=l.getOuterBindingIdentifiers(),n=Object.keys(r).filter(r=>t.getBinding(r)===e.scope.getBinding(r)),o=n.find(e=>i.has(e));o&&(e.node.right=v([e.node.right,A(o)]));const c=[];if(n.forEach(e=>{const t=s.get(e)||[];t.length>0&&c.push(P(this.metadata,t,f(e)))}),c.length>0){let t=v(c);e.parentPath.isExpressionStatement()&&(t=u(t),t._blockHoist=e.parentPath.node._blockHoist);const r=e.insertAfter(t)[0];a(r)}}}},"ForOfStatement|ForInStatement"(e){const{scope:t,node:r}=e,{left:n}=r,{exported:i,imported:s,scope:a}=this;if(!h(n)){let r,l=!1;const f=e.get("body").scope;for(const e of Object.keys(p(n)))a.getBinding(e)===t.getBinding(e)&&(i.has(e)&&(l=!0,f.hasOwnBinding(e)&&f.rename(e)),s.has(e)&&!r&&(r=e));if(!l&&!r)return;e.ensureBlock();const d=e.get("body"),h=t.generateUidIdentifierBasedOnNode(n);e.get("left").replaceWith(E("let",[S(c(h))])),t.registerDeclaration(e.get("left")),l&&d.unshiftContainer("body",u(o("=",n,h))),r&&d.unshiftContainer("body",u(A(r)))}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){e.traverse(d,{scope:e.scope,bindingNames:t,seen:new WeakSet})};var n=r(65);const{LOGICAL_OPERATORS:i,assignmentExpression:s,binaryExpression:a,cloneNode:o,identifier:l,logicalExpression:c,numericLiteral:u,sequenceExpression:p,unaryExpression:f}=n;const d={UpdateExpression:{exit(e){const{scope:t,bindingNames:r}=this,n=e.get("argument");if(!n.isIdentifier())return;const i=n.node.name;if(r.has(i)&&t.getBinding(i)===e.scope.getBinding(i))if(e.parentPath.isExpressionStatement()&&!e.isCompletionRecord()){const t="++"==e.node.operator?"+=":"-=";e.replaceWith(s(t,n.node,u(1)))}else if(e.node.prefix)e.replaceWith(s("=",l(i),a(e.node.operator[0],f("+",n.node),u(1))));else{const t=e.scope.generateUidIdentifierBasedOnNode(n.node,"old"),r=t.name;e.scope.push({id:t});const i=a(e.node.operator[0],l(r),u(1));e.replaceWith(p([s("=",l(r),f("+",n.node)),s("=",o(n.node),i),l(r)]))}}},AssignmentExpression:{exit(e){const{scope:t,seen:r,bindingNames:n}=this;if("="===e.node.operator)return;if(r.has(e.node))return;r.add(e.node);const l=e.get("left");if(!l.isIdentifier())return;const u=l.node.name;if(!n.has(u))return;if(t.getBinding(u)!==e.scope.getBinding(u))return;const p=e.node.operator.slice(0,-1);i.includes(p)?e.replaceWith(c(p,e.node.left,s("=",o(e.node.left),e.node.right))):(e.node.right=a(p,o(e.node.left),e.node.right),e.node.operator="=")}}}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,{importInterop:r,initializeReexports:i=!1,lazy:o=!1,esNamespaceOnly:p=!1}){t||(t=e.scope.generateUidIdentifier("exports").name);const f=new Set;!function(e){e.get("body").forEach(e=>{e.isExportDefaultDeclaration()&&(0,s.default)(e)})}(e);const{local:d,source:h,hasExports:m}=function(e,{lazy:t,initializeReexports:r},i){const s=function(e,t,r){const n=new Map;e.get("body").forEach(e=>{let r;if(e.isImportDeclaration())r="import";else{if(e.isExportDefaultDeclaration()&&(e=e.get("declaration")),e.isExportNamedDeclaration())if(e.node.declaration)e=e.get("declaration");else if(t&&e.node.source&&e.get("source").isStringLiteral())return void e.get("specifiers").forEach(e=>{u(e),n.set(e.get("local").node.name,"block")});if(e.isFunctionDeclaration())r="hoisted";else if(e.isClassDeclaration())r="block";else if(e.isVariableDeclaration({kind:"var"}))r="var";else{if(!e.isVariableDeclaration())return;r="block"}}Object.keys(e.getOuterBindingIdentifiers()).forEach(e=>{n.set(e,r)})});const i=new Map,s=e=>{const t=e.node.name;let r=i.get(t);if(!r){const s=n.get(t);if(void 0===s)throw e.buildCodeFrameError(`Exporting local "${t}", which is not declared.`);r={names:[],kind:s},i.set(t,r)}return r};return e.get("body").forEach(e=>{if(!e.isExportNamedDeclaration()||!t&&e.node.source){if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(!t.isFunctionDeclaration()&&!t.isClassDeclaration())throw t.buildCodeFrameError("Unexpected default expression export.");s(t.get("id")).names.push("default")}}else if(e.node.declaration){const t=e.get("declaration"),r=t.getOuterBindingIdentifierPaths();Object.keys(r).forEach(e=>{if("__esModule"===e)throw t.buildCodeFrameError('Illegal export "__esModule".');s(r[e]).names.push(e)})}else e.get("specifiers").forEach(e=>{const t=e.get("local"),n=e.get("exported"),i=s(t),a=c(n,r);if("__esModule"===a)throw n.buildCodeFrameError('Illegal export "__esModule".');i.names.push(a)})}),i}(e,r,i),o=new Map,l=t=>{const r=t.value;let i=o.get(r);return i||(i={name:e.scope.generateUidIdentifier((0,n.basename)(r,(0,n.extname)(r))).name,interop:"none",loc:null,imports:new Map,importsNamespace:new Set,reexports:new Map,reexportNamespace:new Set,reexportAll:null,lazy:!1,source:r},o.set(r,i)),i};let p=!1;e.get("body").forEach(e=>{if(e.isImportDeclaration()){const t=l(e.node.source);t.loc||(t.loc=e.node.loc),e.get("specifiers").forEach(e=>{if(e.isImportDefaultSpecifier()){const r=e.get("local").node.name;t.imports.set(r,"default");const n=s.get(r);n&&(s.delete(r),n.names.forEach(e=>{t.reexports.set(e,"default")}))}else if(e.isImportNamespaceSpecifier()){const r=e.get("local").node.name;t.importsNamespace.add(r);const n=s.get(r);n&&(s.delete(r),n.names.forEach(e=>{t.reexportNamespace.add(e)}))}else if(e.isImportSpecifier()){const r=c(e.get("imported"),i),n=e.get("local").node.name;t.imports.set(n,r);const a=s.get(n);a&&(s.delete(n),a.names.forEach(e=>{t.reexports.set(e,r)}))}})}else if(e.isExportAllDeclaration()){p=!0;const t=l(e.node.source);t.loc||(t.loc=e.node.loc),t.reexportAll={loc:e.node.loc}}else if(e.isExportNamedDeclaration()&&e.node.source){p=!0;const t=l(e.node.source);t.loc||(t.loc=e.node.loc),e.get("specifiers").forEach(e=>{u(e);const r=c(e.get("local"),i),n=c(e.get("exported"),i);if(t.reexports.set(n,r),"__esModule"===n)throw e.get("exported").buildCodeFrameError('Illegal export "__esModule".')})}else(e.isExportNamedDeclaration()||e.isExportDefaultDeclaration())&&(p=!0)});for(const n of o.values()){let e=!1,t=!1;n.importsNamespace.size>0&&(e=!0,t=!0),n.reexportAll&&(t=!0);for(const r of n.imports.values())"default"===r?e=!0:t=!0;for(const r of n.reexports.values())"default"===r?e=!0:t=!0;e&&t?n.interop="namespace":e&&(n.interop="default")}for(const[n,c]of o)if(!1!==t&&!a(c)&&!c.reexportAll)if(!0===t)c.lazy=!/\./.test(n);else if(Array.isArray(t))c.lazy=-1!==t.indexOf(n);else{if("function"!=typeof t)throw new Error(".lazy must be a boolean, string array, or function");c.lazy=t(n)}return{hasExports:p,local:s,source:o}}(e,{initializeReexports:i,lazy:o},f);!function(e){e.get("body").forEach(e=>{if(e.isImportDeclaration())e.remove();else if(e.isExportNamedDeclaration())e.node.declaration?(e.node.declaration._blockHoist=e.node._blockHoist,e.replaceWith(e.node.declaration)):e.remove();else if(e.isExportDefaultDeclaration()){const t=e.get("declaration");if(!t.isFunctionDeclaration()&&!t.isClassDeclaration())throw t.buildCodeFrameError("Unexpected default expression export.");t._blockHoist=e.node._blockHoist,e.replaceWith(t)}else e.isExportAllDeclaration()&&e.remove()})}(e);for(const[,n]of h){n.importsNamespace.size>0&&(n.name=n.importsNamespace.values().next().value);const e=l(r,n.source);"none"===e?n.interop="none":"node"===e&&"namespace"===n.interop?n.interop="node-namespace":"node"===e&&"default"===n.interop?n.interop="node-default":p&&"namespace"===n.interop&&(n.interop="default")}return{exportName:t,exportNameListName:null,hasExports:m,local:d,source:h,stringSpecifiers:f}},t.hasExports=function(e){return e.hasExports},t.isSideEffectImport=a,t.validateImportInteropOption=o;var n=r(85),i=r(101),s=r(157);function a(e){return 0===e.imports.size&&0===e.importsNamespace.size&&0===e.reexports.size&&0===e.reexportNamespace.size&&!e.reexportAll}function o(e){if("function"!=typeof e&&"none"!==e&&"babel"!==e&&"node"!==e)throw new Error(`.importInterop must be one of "none", "babel", "node", or a function returning one of those values (received ${e}).`);return e}function l(e,t){return"function"==typeof e?o(e(t)):e}function c(e,t){if(e.isIdentifier())return e.node.name;if(e.isStringLiteral()){const r=e.node.value;return(0,i.isIdentifierName)(r)||t.add(r),r}throw new Error("Expected export specifier to be either Identifier or StringLiteral, got "+e.node.type)}function u(e){if(!e.isExportSpecifier())throw e.isExportNamespaceSpecifier()?e.buildCodeFrameError("Export namespace should be first transformed by `@babel/plugin-proposal-export-namespace-from`."):e.buildCodeFrameError("Unexpected export specifier type")}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=n;{const e=n;t.default=n=function(t,r){var n,i,s,a;return e(t,{moduleId:null!=(n=r.moduleId)?n:t.moduleId,moduleIds:null!=(i=r.moduleIds)?i:t.moduleIds,getModuleId:null!=(s=r.getModuleId)?s:t.getModuleId,moduleRoot:null!=(a=r.moduleRoot)?a:t.moduleRoot})}}function n(e,t){const{filename:r,filenameRelative:n=r,sourceRoot:i=t.moduleRoot}=e,{moduleId:s,moduleIds:a=!!s,getModuleId:o,moduleRoot:l=i}=t;if(!a)return null;if(null!=s&&!o)return s;let c=null!=l?l+"/":"";if(n){const e=null!=i?new RegExp("^"+i+"/?"):"";c+=n.replace(e,"").replace(/\.(\w*?)$/,"")}return c=c.replace(/\\/g,"/"),o&&o(c)||c}},function(e,t,r){"use strict";function n(){const e=r(227);return n=function(){return e},e}function i(){const e=r(158);return i=function(){return e},e}function s(){const e=r(90);return s=function(){return e},e}function a(){const e=r(65);return a=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t="global"){let r;const n={global:O,module:C,umd:I,var:N}[t];if(!n)throw new Error("Unsupported output type "+t);r=n(e);return(0,i().default)(r).code};var o=r(151);const{arrayExpression:l,assignmentExpression:c,binaryExpression:u,blockStatement:p,callExpression:f,cloneNode:d,conditionalExpression:h,exportNamedDeclaration:m,exportSpecifier:y,expressionStatement:g,functionExpression:b,identifier:v,memberExpression:T,objectExpression:E,program:S,stringLiteral:x,unaryExpression:P,variableDeclaration:A,variableDeclarator:w}=a();function O(e){const t=v("babelHelpers"),r=[],n=b(null,[v("global")],p(r)),i=S([g(f(n,[h(u("===",P("typeof",v("global")),x("undefined")),v("self"),v("global"))]))]);return r.push(A("var",[w(t,c("=",T(v("global"),t),E([])))])),k(r,t,e),i}function C(e){const t=[],r=k(t,null,e);return t.unshift(m(null,Object.keys(r).map(e=>y(d(r[e]),v(e))))),S(t,[],"module")}function I(e){const t=v("babelHelpers"),r=[];return r.push(A("var",[w(t,v("global"))])),k(r,t,e),S([(n={FACTORY_PARAMETERS:v("global"),BROWSER_ARGUMENTS:c("=",T(v("root"),t),E([])),COMMON_ARGUMENTS:v("exports"),AMD_ARGUMENTS:l([x("exports")]),FACTORY_BODY:r,UMD_ROOT:v("this")},s().default.statement`
|
|
1916
|
+
(function (root, factory) {
|
|
1917
|
+
if (typeof define === "function" && define.amd) {
|
|
1918
|
+
define(AMD_ARGUMENTS, factory);
|
|
1919
|
+
} else if (typeof exports === "object") {
|
|
1920
|
+
factory(COMMON_ARGUMENTS);
|
|
1921
|
+
} else {
|
|
1922
|
+
factory(BROWSER_ARGUMENTS);
|
|
1923
|
+
}
|
|
1924
|
+
})(UMD_ROOT, function (FACTORY_PARAMETERS) {
|
|
1925
|
+
FACTORY_BODY
|
|
1926
|
+
});
|
|
1927
|
+
`(n))]);var n}function N(e){const t=v("babelHelpers"),r=[];r.push(A("var",[w(t,E([]))]));const n=S(r);return k(r,t,e),r.push(g(t)),n}function k(e,t,r){const i=e=>t?T(t,v(e)):v("_"+e),s={};return n().list.forEach((function(t){if(r&&r.indexOf(t)<0)return;const a=s[t]=i(t);n().ensure(t,o.default);const{nodes:l}=n().get(t,i,a);e.push(...l)})),s}},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var i=r(265),s=r(161),a=r(76),o=r(124),l=r(125),c=r(272);function u(){const e=r(74);return u=function(){return e},e}var p=r(126),f=r(128),d=r(648),h=r(649),m=r(275),y=(r(274),n()((function*(e){var t;const r=yield*(0,m.default)(e);if(!r)return null;const{options:n,context:i,fileHandling:a}=r;if("ignored"===a)return null;const o={},{plugins:c,presets:u}=n;if(!c||!u)throw new Error("Assertion failure - plugins and presets exist");const p=Object.assign({},i,{targets:n.targets}),d=e=>{const t=(0,l.getItemDescriptor)(e);if(!t)throw new Error("Assertion failure - must be config item");return t},h=u.map(d),y=c.map(d),b=[[]],v=[],T=yield*g(i,(function*e(t,r){const n=[];for(let s=0;s<t.length;s++){const e=t[s];if(!1!==e.options)try{e.ownPass?n.push({preset:yield*P(e,p),pass:[]}):n.unshift({preset:yield*P(e,p),pass:r})}catch(i){throw"BABEL_UNKNOWN_OPTION"===i.code&&(0,f.checkNoUnwrappedItemOptionPairs)(t,s,"preset",i),i}}if(n.length>0){b.splice(1,0,...n.map(e=>e.pass).filter(e=>e!==r));for(const{preset:t,pass:r}of n){if(!t)return!0;r.push(...t.plugins);const n=yield*e(t.presets,r);if(n)return!0;t.options.forEach(e=>{(0,s.mergeOptions)(o,e)})}}}))(h,b[0]);if(T)return null;const S=o;(0,s.mergeOptions)(S,n);const x=Object.assign({},p,{assumptions:null!=(t=S.assumptions)?t:{}});return yield*g(i,(function*(){b[0].unshift(...y);for(const t of b){const r=[];v.push(r);for(let n=0;n<t.length;n++){const i=t[n];if(!1!==i.options)try{r.push(yield*E(i,x))}catch(e){throw"BABEL_UNKNOWN_PLUGIN_PROPERTY"===e.code&&(0,f.checkNoUnwrappedItemOptionPairs)(t,n,"plugin",e),e}}}}))(),S.plugins=v[0],S.presets=v.slice(1).filter(e=>e.length>0).map(e=>({plugins:e})),S.passPerPreset=S.presets.length>0,{options:S,passes:v}})));function g(e,t){return function*(r,n){try{return yield*t(r,n)}catch(i){throw/^\[BABEL\]/.test(i.message)||(i.message=`[BABEL] ${e.filename||"unknown"}: ${i.message}`),i}}}t.default=y;const b=e=>(0,p.makeWeakCache)((function*({value:t,options:r,dirname:n,alias:s},o){if(!1===r)throw new Error("Assertion failure");r=r||{};let l=t;if("function"==typeof t){const u=(0,i.maybeAsync)(t,"You appear to be using an async plugin/preset, but Babel has been called synchronously"),p=Object.assign({},a,e(o));try{l=yield*u(p,r,n)}catch(c){throw s&&(c.message+=` (While processing: ${JSON.stringify(s)})`),c}}if(!l||"object"!=typeof l)throw new Error("Plugin/Preset did not return an object.");if((0,i.isThenable)(l))throw yield*[],new Error(`You appear to be using a promise as a plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version. As an alternative, you can prefix the promise with "await". (While processing: ${JSON.stringify(s)})`);return{value:l,options:r,dirname:n,alias:s}})),v=b(h.makePluginAPI),T=b(h.makePresetAPI);function*E(e,t){if(e.value instanceof o.default){if(e.options)throw new Error("Passed options to an existing Plugin instance will not work.");return e.value}return yield*S(yield*v(e,t),t)}const S=(0,p.makeWeakCache)((function*({value:e,options:t,dirname:r,alias:n},s){const a=(0,d.validatePluginObject)(e),l=Object.assign({},a);if(l.visitor&&(l.visitor=u().default.explode(Object.assign({},l.visitor))),l.inherits){const e={name:void 0,alias:n+"$inherits",value:l.inherits,options:t,dirname:r},a=yield*(0,i.forwardAsync)(E,t=>s.invalidate(r=>t(e,r)));l.pre=w(a.pre,l.pre),l.post=w(a.post,l.post),l.manipulateOptions=w(a.manipulateOptions,l.manipulateOptions),l.visitor=u().default.visitors.merge([a.visitor||{},l.visitor||{}])}return new o.default(l,t,n)})),x=(e,t)=>{if(e.test||e.include||e.exclude){const e=t.name?`"${t.name}"`:"/* your preset */";throw new Error([`Preset ${e} requires a filename to be set when babel is called directly,`,"```",`babel.transform(code, { filename: 'file.ts', presets: [${e}] });`,"```","See https://babeljs.io/docs/en/options#filename for more information."].join("\n"))}};function*P(e,t){const r=A(yield*T(e,t));return((e,t,r)=>{if(!t.filename){const{options:t}=e;x(t,r),t.overrides&&t.overrides.forEach(e=>x(e,r))}})(r,t,e),yield*(0,c.buildPresetChain)(r,t)}const A=(0,p.makeWeakCacheSync)(({value:e,dirname:t,alias:r})=>({options:(0,f.validate)("preset",e),alias:r,dirname:t}));function w(e,t){const r=[e,t].filter(Boolean);return r.length<=1?r[0]:function(...e){for(const t of r)t.apply(this,e)}}},function(e,t,r){(function(t){var n=r(627),i=r(628).agents,s=r(634),a=r(127),o=r(635),l=r(269),c=r(636);function u(e,t){return 0===(e+".").indexOf(t+".")}function p(e){return e.filter((function(e){return"string"==typeof e}))}function f(e){var t=e;return 3===e.split(".").length&&(t=e.split(".").slice(0,-1).join(".")),t}function d(e){return function(t){return e+" "+t}}function h(e){return parseInt(e.split(".")[0])}function m(e,t){if(0===e.length)return[];var r=y(e.map(h)),n=r[r.length-t];if(!n)return e;for(var i=[],s=e.length-1;s>=0&&!(n>h(e[s]));s--)i.unshift(e[s]);return i}function y(e){for(var t=[],r=0;r<e.length;r++)-1===t.indexOf(e[r])&&t.push(e[r]);return t}function g(e,t,r){for(var n in r)e[t+" "+n]=r[n]}function b(e,t){return t=parseFloat(t),">"===e?function(e){return parseFloat(e)>t}:">="===e?function(e){return parseFloat(e)>=t}:"<"===e?function(e){return parseFloat(e)<t}:function(e){return parseFloat(e)<=t}}function v(e){return parseInt(e)}function T(e,t){return e<t?-1:e>t?1:0}function E(e,t){return T(parseInt(e[0]),parseInt(t[0]))||T(parseInt(e[1]||"0"),parseInt(t[1]||"0"))||T(parseInt(e[2]||"0"),parseInt(t[2]||"0"))}function S(e,t){switch(t=t.split(".").map(v),void 0===t[1]&&(t[1]="x"),e){case"<=":return function(e){return e=e.split(".").map(v),x(e,t)<=0};case">=":default:return function(e){return e=e.split(".").map(v),x(e,t)>=0}}}function x(e,t){return e[0]!==t[0]?e[0]<t[0]?-1:1:"x"===t[1]?0:e[1]!==t[1]?e[1]<t[1]?-1:1:0}function P(e,t){var r=function(e,t){return-1!==e.versions.indexOf(t)?t:!!D.versionAliases[e.name][t]&&D.versionAliases[e.name][t]}(e,t);return r||1===e.versions.length&&e.versions[0]}function A(e,t){return e/=1e3,Object.keys(i).reduce((function(r,n){var i=O(n,t);if(!i)return r;var s=Object.keys(i.releaseDate).filter((function(t){var r=i.releaseDate[t];return null!==r&&r>=e}));return r.concat(s.map(d(i.name)))}),[])}function w(e){return{name:e.name,versions:e.versions,released:e.released,releaseDate:e.releaseDate}}function O(e,t){if(e=e.toLowerCase(),e=D.aliases[e]||e,t.mobileToDesktop&&D.desktopNames[e]){var r=D.data[D.desktopNames[e]];if("android"===e)return i=w(D.data[e]),s=r,i.released=C(i.released,s.released),i.versions=C(i.versions,s.versions),i;var n=w(r);return n.name=e,"op_mob"===e&&(n=function(e,t){e.versions=e.versions.map((function(e){return t[e]||e})),e.released=e.versions.map((function(e){return t[e]||e}));var r={};for(var n in e.releaseDate)r[t[n]||n]=e.releaseDate[n];return e.releaseDate=r,e}(n,{"10.0-10.1":"10"})),n}var i,s;return D.data[e]}function C(e,t){var r=t[t.length-1];return e.filter((function(e){return/^(?:[2-4]\.|[34]$)/.test(e)})).concat(t.slice(37-r-1))}function I(e,t){var r=O(e,t);if(!r)throw new l("Unknown browser "+e);return r}function N(e){return new l("Unknown browser query `"+e+"`. Maybe you are using old Browserslist or made typo in query.")}function k(e,t,r){if(r.mobileToDesktop)return e;var n=D.data.android.released,i=n[n.length-1],s=i-37-t;return s>0?e.slice(-1):e.slice(s-1)}function _(e,t){return e=Array.isArray(e)?function e(t){return Array.isArray(t)?t.reduce((function(t,r){return t.concat(e(r))}),[]):[t]}(e.map(M)):M(e),e.reduce((function(e,r,n){var i=r.queryString,s=0===i.indexOf("not ");if(s){if(0===n)throw new l("Write any browsers query (for instance, `defaults`) before `"+i+"`");i=i.slice(4)}for(var a=0;a<U.length;a++){var o=U[a],c=i.match(o.regexp);if(c){var u=[t].concat(c.slice(1)),p=o.select.apply(D,u).map((function(e){var r=e.split(" ");return"0"===r[1]?r[0]+" "+O(r[0],t).versions[0]:e}));switch(r.type){case 2:return s?e.filter((function(e){return-1===p.indexOf(e)})):e.filter((function(e){return-1!==p.indexOf(e)}));case 1:default:if(s){var f={};return p.forEach((function(e){f[e]=!0})),e.filter((function(e){return!f[e]}))}return e.concat(p)}}}throw N(i)}),[])}var j={};function D(e,r){if(void 0===r&&(r={}),void 0===r.path&&(r.path=a.resolve?a.resolve("."):"."),null==e){var n=D.loadConfig(r);e=n||D.defaults}if("string"!=typeof e&&!Array.isArray(e))throw new l("Browser queries must be an array or string. Got "+typeof e+".");var i={ignoreUnknownVersions:r.ignoreUnknownVersions,dangerousExtend:r.dangerousExtend,mobileToDesktop:r.mobileToDesktop,path:r.path,env:r.env};c.oldDataWarning(D.data);var s=c.getStat(r,D.data);if(s)for(var o in i.customUsage={},s)g(i.customUsage,o,s[o]);var u=JSON.stringify([e,i]);if(j[u])return j[u];var p=y(_(e,i)).sort((function(e,t){if(e=e.split(" "),t=t.split(" "),e[0]===t[0]){var r=e[1].split("-")[0],n=t[1].split("-")[0];return E(n.split("."),r.split("."))}return T(e[0],t[0])}));return t.env.BROWSERSLIST_DISABLE_CACHE||(j[u]=p),p}function M(e){var t=[];do{e=B(e,t)}while(e);return t}function B(e,t){var r=/^(?:,\s*|\s+or\s+)(.*)/i,n=/^\s+and\s+(.*)/i;return function(e,t){for(var r=1,n=e.length;r<=n;r++){var i=e.substr(-r,r);if(t(i,r,n))return e.slice(0,-r)}return""}(e,(function(e,i,s){return n.test(e)?(t.unshift({type:2,queryString:e.match(n)[1]}),!0):r.test(e)?(t.unshift({type:1,queryString:e.match(r)[1]}),!0):i===s&&(t.unshift({type:1,queryString:e.trim()}),!0)}))}function L(e,t){var r=n.filter((function(e){return"nodejs"===e.name})),i=r.filter((function(e){return u(e.version,t)}));if(0===i.length){if(e.ignoreUnknownVersions)return[];throw new l("Unknown version "+t+" of Node.js")}return["node "+i[i.length-1].version]}function F(e,t,r,n){return t=parseInt(t),r=parseInt(r||"01")-1,n=parseInt(n||"01"),A(Date.UTC(t,r,n,0,0,0),e)}function R(e,t,r){t=parseFloat(t);var n=D.usage.global;if(r)if(r.match(/^my\s+stats$/i)){if(!e.customUsage)throw new l("Custom usage statistics was not provided");n=e.customUsage}else{var i;i=2===r.length?r.toUpperCase():r.toLowerCase(),c.loadCountry(D.usage,i,D.data),n=D.usage[i]}for(var s,a=Object.keys(n).sort((function(e,t){return n[t]-n[e]})),o=0,u=[],p=0;p<a.length&&(s=a[p],0!==n[s])&&(o+=n[s],u.push(s),!(o>=t));p++);return u}D.cache={},D.data={},D.usage={global:{},custom:null},D.defaults=["> 0.5%","last 2 versions","Firefox ESR","not dead"],D.aliases={fx:"firefox",ff:"firefox",ios:"ios_saf",explorer:"ie",blackberry:"bb",explorermobile:"ie_mob",operamini:"op_mini",operamobile:"op_mob",chromeandroid:"and_chr",firefoxandroid:"and_ff",ucandroid:"and_uc",qqandroid:"and_qq"},D.desktopNames={and_chr:"chrome",and_ff:"firefox",ie_mob:"ie",op_mob:"opera",android:"chrome"},D.versionAliases={},D.clearCaches=c.clearCaches,D.parseConfig=c.parseConfig,D.readConfig=c.readConfig,D.findConfig=c.findConfig,D.loadConfig=c.loadConfig,D.coverage=function(e,t){var r;if(void 0===t)r=D.usage.global;else if("my stats"===t){var n={};n.path=a.resolve?a.resolve("."):".";var i=c.getStat(n);if(!i)throw new l("Custom usage statistics was not provided");for(var s in r={},i)g(r,s,i[s])}else if("string"==typeof t)t=t.length>2?t.toLowerCase():t.toUpperCase(),c.loadCountry(D.usage,t,D.data),r=D.usage[t];else for(var o in"dataByBrowser"in t&&(t=t.dataByBrowser),r={},t)for(var u in t[o])r[o+" "+u]=t[o][u];return e.reduce((function(e,t){var n=r[t];return void 0===n&&(n=r[t.replace(/ \S+$/," 0")]),e+(n||0)}),0)};var U=[{regexp:/^last\s+(\d+)\s+major\s+versions?$/i,select:function(e,t){return Object.keys(i).reduce((function(r,n){var i=O(n,e);if(!i)return r;var s=m(i.released,t);return s=s.map(d(i.name)),"android"===i.name&&(s=k(s,t,e)),r.concat(s)}),[])}},{regexp:/^last\s+(\d+)\s+versions?$/i,select:function(e,t){return Object.keys(i).reduce((function(r,n){var i=O(n,e);if(!i)return r;var s=i.released.slice(-t);return s=s.map(d(i.name)),"android"===i.name&&(s=k(s,t,e)),r.concat(s)}),[])}},{regexp:/^last\s+(\d+)\s+electron\s+major\s+versions?$/i,select:function(e,t){var r=m(Object.keys(o),t);return r.map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+major\s+versions?$/i,select:function(e,t,r){var n=I(r,e),i=m(n.released,t),s=i.map(d(n.name));return"android"===n.name&&(s=k(s,t,e)),s}},{regexp:/^last\s+(\d+)\s+electron\s+versions?$/i,select:function(e,t){return Object.keys(o).slice(-t).map((function(e){return"chrome "+o[e]}))}},{regexp:/^last\s+(\d+)\s+(\w+)\s+versions?$/i,select:function(e,t,r){var n=I(r,e),i=n.released.slice(-t).map(d(n.name));return"android"===n.name&&(i=k(i,t,e)),i}},{regexp:/^unreleased\s+versions$/i,select:function(e){return Object.keys(i).reduce((function(t,r){var n=O(r,e);if(!n)return t;var i=n.versions.filter((function(e){return-1===n.released.indexOf(e)}));return i=i.map(d(n.name)),t.concat(i)}),[])}},{regexp:/^unreleased\s+electron\s+versions?$/i,select:function(){return[]}},{regexp:/^unreleased\s+(\w+)\s+versions?$/i,select:function(e,t){var r=I(t,e);return r.versions.filter((function(e){return-1===r.released.indexOf(e)})).map(d(r.name))}},{regexp:/^last\s+(\d*.?\d+)\s+years?$/i,select:function(e,t){return A(Date.now()-31558432982.4*t,e)}},{regexp:/^since (\d+)$/i,select:F},{regexp:/^since (\d+)-(\d+)$/i,select:F},{regexp:/^since (\d+)-(\d+)-(\d+)$/i,select:F},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%$/,select:function(e,t,r){r=parseFloat(r);var n=D.usage.global;return Object.keys(n).reduce((function(e,i){return">"===t?n[i]>r&&e.push(i):"<"===t?n[i]<r&&e.push(i):"<="===t?n[i]<=r&&e.push(i):n[i]>=r&&e.push(i),e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+my\s+stats$/,select:function(e,t,r){if(r=parseFloat(r),!e.customUsage)throw new l("Custom usage statistics was not provided");var n=e.customUsage;return Object.keys(n).reduce((function(e,i){var s=n[i];return null==s||(">"===t?s>r&&e.push(i):"<"===t?s<r&&e.push(i):"<="===t?s<=r&&e.push(i):s>=r&&e.push(i)),e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+(\S+)\s+stats$/,select:function(e,t,r,n){r=parseFloat(r);var i=c.loadStat(e,n,D.data);if(i)for(var s in e.customUsage={},i)g(e.customUsage,s,i[s]);if(!e.customUsage)throw new l("Custom usage statistics was not provided");var a=e.customUsage;return Object.keys(a).reduce((function(e,n){var i=a[n];return null==i||(">"===t?i>r&&e.push(n):"<"===t?i<r&&e.push(n):"<="===t?i<=r&&e.push(n):i>=r&&e.push(n)),e}),[])}},{regexp:/^(>=?|<=?)\s*(\d+|\d+\.\d+|\.\d+)%\s+in\s+((alt-)?\w\w)$/,select:function(e,t,r,n){r=parseFloat(r),n=2===n.length?n.toUpperCase():n.toLowerCase(),c.loadCountry(D.usage,n,D.data);var i=D.usage[n];return Object.keys(i).reduce((function(e,n){var s=i[n];return null==s||(">"===t?s>r&&e.push(n):"<"===t?s<r&&e.push(n):"<="===t?s<=r&&e.push(n):s>=r&&e.push(n)),e}),[])}},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%$/i,select:R},{regexp:/^cover\s+(\d+|\d+\.\d+|\.\d+)%\s+in\s+(my\s+stats|(alt-)?\w\w)$/i,select:R},{regexp:/^supports\s+([\w-]+)$/,select:function(e,t){c.loadFeature(D.cache,t);var r=D.cache[t];return Object.keys(r).reduce((function(e,t){var n=r[t];return(n.indexOf("y")>=0||n.indexOf("a")>=0)&&e.push(t),e}),[])}},{regexp:/^electron\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,r){var n=f(t),i=f(r);if(!o[n])throw new l("Unknown version "+t+" of electron");if(!o[i])throw new l("Unknown version "+r+" of electron");return t=parseFloat(t),r=parseFloat(r),Object.keys(o).filter((function(e){var n=parseFloat(e);return n>=t&&n<=r})).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,r){var i=n.filter((function(e){return"nodejs"===e.name})).map((function(e){return e.version}));return i.filter(S(">=",t)).filter(S("<=",r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s+([\d.]+)\s*-\s*([\d.]+)$/i,select:function(e,t,r,n){var i=I(t,e);return r=parseFloat(P(i,r)||r),n=parseFloat(P(i,n)||n),i.released.filter((function(e){var t=parseFloat(e);return t>=r&&t<=n})).map(d(i.name))}},{regexp:/^electron\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t,r){var n=f(r);return Object.keys(o).filter(b(t,n)).map((function(e){return"chrome "+o[e]}))}},{regexp:/^node\s*(>=?|<=?)\s*([\d.]+)$/i,select:function(e,t,r){var i=n.filter((function(e){return"nodejs"===e.name})).map((function(e){return e.version}));return i.filter(function(e,t){return t=t.split(".").map(v),t[1]=t[1]||0,t[2]=t[2]||0,">"===e?function(e){return e=e.split(".").map(v),E(e,t)>0}:">="===e?function(e){return e=e.split(".").map(v),E(e,t)>=0}:"<"===e?function(e){return e=e.split(".").map(v),E(t,e)>0}:function(e){return e=e.split(".").map(v),E(t,e)>=0}}(t,r)).map((function(e){return"node "+e}))}},{regexp:/^(\w+)\s*(>=?|<=?)\s*([\d.]+)$/,select:function(e,t,r,n){var i=I(t,e),s=D.versionAliases[i.name][n];return s&&(n=s),i.released.filter(b(r,n)).map((function(e){return i.name+" "+e}))}},{regexp:/^(firefox|ff|fx)\s+esr$/i,select:function(){return["firefox 78","firefox 91"]}},{regexp:/(operamini|op_mini)\s+all/i,select:function(){return["op_mini all"]}},{regexp:/^electron\s+([\d.]+)$/i,select:function(e,t){var r=f(t),n=o[r];if(!n)throw new l("Unknown version "+t+" of electron");return["chrome "+n]}},{regexp:/^node\s+(\d+)$/i,select:L},{regexp:/^node\s+(\d+\.\d+)$/i,select:L},{regexp:/^node\s+(\d+\.\d+\.\d+)$/i,select:L},{regexp:/^current\s+node$/i,select:function(e){return[c.currentNode(_,e)]}},{regexp:/^maintained\s+node\s+versions$/i,select:function(e){var t=Date.now(),r=Object.keys(s).filter((function(e){return t<Date.parse(s[e].end)&&t>Date.parse(s[e].start)&&(r=e,i=r.slice(1),n.some((function(e){return u(e.version,i)})));var r,i})).map((function(e){return"node "+e.slice(1)}));return _(r,e)}},{regexp:/^phantomjs\s+1.9$/i,select:function(){return["safari 5"]}},{regexp:/^phantomjs\s+2.1$/i,select:function(){return["safari 6"]}},{regexp:/^(\w+)\s+(tp|[\d.]+)$/i,select:function(e,t,r){/^tp$/i.test(r)&&(r="TP");var n=I(t,e),i=P(n,r);if(i)r=i;else{if(i=-1===r.indexOf(".")?r+".0":r.replace(/\.0$/,""),i=P(n,i),!i){if(e.ignoreUnknownVersions)return[];throw new l("Unknown version "+r+" of "+t)}r=i}return[n.name+" "+r]}},{regexp:/^browserslist config$/i,select:function(e){return D(void 0,e)}},{regexp:/^extends (.+)$/i,select:function(e,t){return _(c.loadQueries(e,t),e)}},{regexp:/^defaults$/i,select:function(e){return _(D.defaults,e)}},{regexp:/^dead$/i,select:function(e){return _(["ie <= 10","ie_mob <= 11","bb <= 10","op_mob <= 12.1","samsung 4"],e)}},{regexp:/^(\w+)$/i,select:function(e,t){throw O(t,e)?new l("Specify versions in Browserslist query for browser "+t):N(t)}}];!function(){for(var e in i){var t=i[e];D.data[e]={name:e,versions:p(i[e].versions),released:p(i[e].versions.slice(0,-3)),releaseDate:i[e].release_date},g(D.usage.global,e,t.usage_global),D.versionAliases[e]={};for(var r=0;r<t.versions.length;r++){var n=t.versions[r];if(n&&-1!==n.indexOf("-"))for(var s=n.split("-"),a=0;a<s.length;a++)D.versionAliases[e][s[a]]=n}}D.versionAliases.op_mob[59]="58"}(),e.exports=D}).call(this,r(69))},function(e){e.exports=JSON.parse('[{"name":"nodejs","version":"0.2.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.3.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.4.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.5.0","date":"2011-08-26","lts":false,"security":false},{"name":"nodejs","version":"0.6.0","date":"2011-11-04","lts":false,"security":false},{"name":"nodejs","version":"0.7.0","date":"2012-01-17","lts":false,"security":false},{"name":"nodejs","version":"0.8.0","date":"2012-06-22","lts":false,"security":false},{"name":"nodejs","version":"0.9.0","date":"2012-07-20","lts":false,"security":false},{"name":"nodejs","version":"0.10.0","date":"2013-03-11","lts":false,"security":false},{"name":"nodejs","version":"0.11.0","date":"2013-03-28","lts":false,"security":false},{"name":"nodejs","version":"0.12.0","date":"2015-02-06","lts":false,"security":false},{"name":"nodejs","version":"4.0.0","date":"2015-09-08","lts":false,"security":false},{"name":"nodejs","version":"4.1.0","date":"2015-09-17","lts":false,"security":false},{"name":"nodejs","version":"4.2.0","date":"2015-10-12","lts":"Argon","security":false},{"name":"nodejs","version":"4.3.0","date":"2016-02-09","lts":"Argon","security":false},{"name":"nodejs","version":"4.4.0","date":"2016-03-08","lts":"Argon","security":false},{"name":"nodejs","version":"4.5.0","date":"2016-08-16","lts":"Argon","security":false},{"name":"nodejs","version":"4.6.0","date":"2016-09-27","lts":"Argon","security":true},{"name":"nodejs","version":"4.7.0","date":"2016-12-06","lts":"Argon","security":false},{"name":"nodejs","version":"4.8.0","date":"2017-02-21","lts":"Argon","security":false},{"name":"nodejs","version":"4.9.0","date":"2018-03-28","lts":"Argon","security":true},{"name":"nodejs","version":"5.0.0","date":"2015-10-29","lts":false,"security":false},{"name":"nodejs","version":"5.1.0","date":"2015-11-17","lts":false,"security":false},{"name":"nodejs","version":"5.2.0","date":"2015-12-09","lts":false,"security":false},{"name":"nodejs","version":"5.3.0","date":"2015-12-15","lts":false,"security":false},{"name":"nodejs","version":"5.4.0","date":"2016-01-06","lts":false,"security":false},{"name":"nodejs","version":"5.5.0","date":"2016-01-21","lts":false,"security":false},{"name":"nodejs","version":"5.6.0","date":"2016-02-09","lts":false,"security":false},{"name":"nodejs","version":"5.7.0","date":"2016-02-23","lts":false,"security":false},{"name":"nodejs","version":"5.8.0","date":"2016-03-09","lts":false,"security":false},{"name":"nodejs","version":"5.9.0","date":"2016-03-16","lts":false,"security":false},{"name":"nodejs","version":"5.10.0","date":"2016-04-01","lts":false,"security":false},{"name":"nodejs","version":"5.11.0","date":"2016-04-21","lts":false,"security":false},{"name":"nodejs","version":"5.12.0","date":"2016-06-23","lts":false,"security":false},{"name":"nodejs","version":"6.0.0","date":"2016-04-26","lts":false,"security":false},{"name":"nodejs","version":"6.1.0","date":"2016-05-05","lts":false,"security":false},{"name":"nodejs","version":"6.2.0","date":"2016-05-17","lts":false,"security":false},{"name":"nodejs","version":"6.3.0","date":"2016-07-06","lts":false,"security":false},{"name":"nodejs","version":"6.4.0","date":"2016-08-12","lts":false,"security":false},{"name":"nodejs","version":"6.5.0","date":"2016-08-26","lts":false,"security":false},{"name":"nodejs","version":"6.6.0","date":"2016-09-14","lts":false,"security":false},{"name":"nodejs","version":"6.7.0","date":"2016-09-27","lts":false,"security":true},{"name":"nodejs","version":"6.8.0","date":"2016-10-12","lts":false,"security":false},{"name":"nodejs","version":"6.9.0","date":"2016-10-18","lts":"Boron","security":false},{"name":"nodejs","version":"6.10.0","date":"2017-02-21","lts":"Boron","security":false},{"name":"nodejs","version":"6.11.0","date":"2017-06-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.12.0","date":"2017-11-06","lts":"Boron","security":false},{"name":"nodejs","version":"6.13.0","date":"2018-02-10","lts":"Boron","security":false},{"name":"nodejs","version":"6.14.0","date":"2018-03-28","lts":"Boron","security":true},{"name":"nodejs","version":"6.15.0","date":"2018-11-27","lts":"Boron","security":true},{"name":"nodejs","version":"6.16.0","date":"2018-12-26","lts":"Boron","security":false},{"name":"nodejs","version":"6.17.0","date":"2019-02-28","lts":"Boron","security":true},{"name":"nodejs","version":"7.0.0","date":"2016-10-25","lts":false,"security":false},{"name":"nodejs","version":"7.1.0","date":"2016-11-08","lts":false,"security":false},{"name":"nodejs","version":"7.2.0","date":"2016-11-22","lts":false,"security":false},{"name":"nodejs","version":"7.3.0","date":"2016-12-20","lts":false,"security":false},{"name":"nodejs","version":"7.4.0","date":"2017-01-04","lts":false,"security":false},{"name":"nodejs","version":"7.5.0","date":"2017-01-31","lts":false,"security":false},{"name":"nodejs","version":"7.6.0","date":"2017-02-21","lts":false,"security":false},{"name":"nodejs","version":"7.7.0","date":"2017-02-28","lts":false,"security":false},{"name":"nodejs","version":"7.8.0","date":"2017-03-29","lts":false,"security":false},{"name":"nodejs","version":"7.9.0","date":"2017-04-11","lts":false,"security":false},{"name":"nodejs","version":"7.10.0","date":"2017-05-02","lts":false,"security":false},{"name":"nodejs","version":"8.0.0","date":"2017-05-30","lts":false,"security":false},{"name":"nodejs","version":"8.1.0","date":"2017-06-08","lts":false,"security":false},{"name":"nodejs","version":"8.2.0","date":"2017-07-19","lts":false,"security":false},{"name":"nodejs","version":"8.3.0","date":"2017-08-08","lts":false,"security":false},{"name":"nodejs","version":"8.4.0","date":"2017-08-15","lts":false,"security":false},{"name":"nodejs","version":"8.5.0","date":"2017-09-12","lts":false,"security":false},{"name":"nodejs","version":"8.6.0","date":"2017-09-26","lts":false,"security":false},{"name":"nodejs","version":"8.7.0","date":"2017-10-11","lts":false,"security":false},{"name":"nodejs","version":"8.8.0","date":"2017-10-24","lts":false,"security":false},{"name":"nodejs","version":"8.9.0","date":"2017-10-31","lts":"Carbon","security":false},{"name":"nodejs","version":"8.10.0","date":"2018-03-06","lts":"Carbon","security":false},{"name":"nodejs","version":"8.11.0","date":"2018-03-28","lts":"Carbon","security":true},{"name":"nodejs","version":"8.12.0","date":"2018-09-10","lts":"Carbon","security":false},{"name":"nodejs","version":"8.13.0","date":"2018-11-20","lts":"Carbon","security":false},{"name":"nodejs","version":"8.14.0","date":"2018-11-27","lts":"Carbon","security":true},{"name":"nodejs","version":"8.15.0","date":"2018-12-26","lts":"Carbon","security":false},{"name":"nodejs","version":"8.16.0","date":"2019-04-16","lts":"Carbon","security":false},{"name":"nodejs","version":"8.17.0","date":"2019-12-17","lts":"Carbon","security":true},{"name":"nodejs","version":"9.0.0","date":"2017-10-31","lts":false,"security":false},{"name":"nodejs","version":"9.1.0","date":"2017-11-07","lts":false,"security":false},{"name":"nodejs","version":"9.2.0","date":"2017-11-14","lts":false,"security":false},{"name":"nodejs","version":"9.3.0","date":"2017-12-12","lts":false,"security":false},{"name":"nodejs","version":"9.4.0","date":"2018-01-10","lts":false,"security":false},{"name":"nodejs","version":"9.5.0","date":"2018-01-31","lts":false,"security":false},{"name":"nodejs","version":"9.6.0","date":"2018-02-21","lts":false,"security":false},{"name":"nodejs","version":"9.7.0","date":"2018-03-01","lts":false,"security":false},{"name":"nodejs","version":"9.8.0","date":"2018-03-07","lts":false,"security":false},{"name":"nodejs","version":"9.9.0","date":"2018-03-21","lts":false,"security":false},{"name":"nodejs","version":"9.10.0","date":"2018-03-28","lts":false,"security":true},{"name":"nodejs","version":"9.11.0","date":"2018-04-04","lts":false,"security":false},{"name":"nodejs","version":"10.0.0","date":"2018-04-24","lts":false,"security":false},{"name":"nodejs","version":"10.1.0","date":"2018-05-08","lts":false,"security":false},{"name":"nodejs","version":"10.2.0","date":"2018-05-23","lts":false,"security":false},{"name":"nodejs","version":"10.3.0","date":"2018-05-29","lts":false,"security":false},{"name":"nodejs","version":"10.4.0","date":"2018-06-06","lts":false,"security":false},{"name":"nodejs","version":"10.5.0","date":"2018-06-20","lts":false,"security":false},{"name":"nodejs","version":"10.6.0","date":"2018-07-04","lts":false,"security":false},{"name":"nodejs","version":"10.7.0","date":"2018-07-18","lts":false,"security":false},{"name":"nodejs","version":"10.8.0","date":"2018-08-01","lts":false,"security":false},{"name":"nodejs","version":"10.9.0","date":"2018-08-15","lts":false,"security":false},{"name":"nodejs","version":"10.10.0","date":"2018-09-06","lts":false,"security":false},{"name":"nodejs","version":"10.11.0","date":"2018-09-19","lts":false,"security":false},{"name":"nodejs","version":"10.12.0","date":"2018-10-10","lts":false,"security":false},{"name":"nodejs","version":"10.13.0","date":"2018-10-30","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.14.0","date":"2018-11-27","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.15.0","date":"2018-12-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.16.0","date":"2019-05-28","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.17.0","date":"2019-10-22","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.18.0","date":"2019-12-17","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.19.0","date":"2020-02-05","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.20.0","date":"2020-03-26","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.21.0","date":"2020-06-02","lts":"Dubnium","security":true},{"name":"nodejs","version":"10.22.0","date":"2020-07-21","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.23.0","date":"2020-10-27","lts":"Dubnium","security":false},{"name":"nodejs","version":"10.24.0","date":"2021-02-23","lts":"Dubnium","security":true},{"name":"nodejs","version":"11.0.0","date":"2018-10-23","lts":false,"security":false},{"name":"nodejs","version":"11.1.0","date":"2018-10-30","lts":false,"security":false},{"name":"nodejs","version":"11.2.0","date":"2018-11-15","lts":false,"security":false},{"name":"nodejs","version":"11.3.0","date":"2018-11-27","lts":false,"security":true},{"name":"nodejs","version":"11.4.0","date":"2018-12-07","lts":false,"security":false},{"name":"nodejs","version":"11.5.0","date":"2018-12-18","lts":false,"security":false},{"name":"nodejs","version":"11.6.0","date":"2018-12-26","lts":false,"security":false},{"name":"nodejs","version":"11.7.0","date":"2019-01-17","lts":false,"security":false},{"name":"nodejs","version":"11.8.0","date":"2019-01-24","lts":false,"security":false},{"name":"nodejs","version":"11.9.0","date":"2019-01-30","lts":false,"security":false},{"name":"nodejs","version":"11.10.0","date":"2019-02-14","lts":false,"security":false},{"name":"nodejs","version":"11.11.0","date":"2019-03-05","lts":false,"security":false},{"name":"nodejs","version":"11.12.0","date":"2019-03-14","lts":false,"security":false},{"name":"nodejs","version":"11.13.0","date":"2019-03-28","lts":false,"security":false},{"name":"nodejs","version":"11.14.0","date":"2019-04-10","lts":false,"security":false},{"name":"nodejs","version":"11.15.0","date":"2019-04-30","lts":false,"security":false},{"name":"nodejs","version":"12.0.0","date":"2019-04-23","lts":false,"security":false},{"name":"nodejs","version":"12.1.0","date":"2019-04-29","lts":false,"security":false},{"name":"nodejs","version":"12.2.0","date":"2019-05-07","lts":false,"security":false},{"name":"nodejs","version":"12.3.0","date":"2019-05-21","lts":false,"security":false},{"name":"nodejs","version":"12.4.0","date":"2019-06-04","lts":false,"security":false},{"name":"nodejs","version":"12.5.0","date":"2019-06-26","lts":false,"security":false},{"name":"nodejs","version":"12.6.0","date":"2019-07-03","lts":false,"security":false},{"name":"nodejs","version":"12.7.0","date":"2019-07-23","lts":false,"security":false},{"name":"nodejs","version":"12.8.0","date":"2019-08-06","lts":false,"security":false},{"name":"nodejs","version":"12.9.0","date":"2019-08-20","lts":false,"security":false},{"name":"nodejs","version":"12.10.0","date":"2019-09-04","lts":false,"security":false},{"name":"nodejs","version":"12.11.0","date":"2019-09-25","lts":false,"security":false},{"name":"nodejs","version":"12.12.0","date":"2019-10-11","lts":false,"security":false},{"name":"nodejs","version":"12.13.0","date":"2019-10-21","lts":"Erbium","security":false},{"name":"nodejs","version":"12.14.0","date":"2019-12-17","lts":"Erbium","security":true},{"name":"nodejs","version":"12.15.0","date":"2020-02-05","lts":"Erbium","security":true},{"name":"nodejs","version":"12.16.0","date":"2020-02-11","lts":"Erbium","security":false},{"name":"nodejs","version":"12.17.0","date":"2020-05-26","lts":"Erbium","security":false},{"name":"nodejs","version":"12.18.0","date":"2020-06-02","lts":"Erbium","security":true},{"name":"nodejs","version":"12.19.0","date":"2020-10-06","lts":"Erbium","security":false},{"name":"nodejs","version":"12.20.0","date":"2020-11-24","lts":"Erbium","security":false},{"name":"nodejs","version":"12.21.0","date":"2021-02-23","lts":"Erbium","security":true},{"name":"nodejs","version":"12.22.0","date":"2021-03-30","lts":"Erbium","security":false},{"name":"nodejs","version":"13.0.0","date":"2019-10-22","lts":false,"security":false},{"name":"nodejs","version":"13.1.0","date":"2019-11-05","lts":false,"security":false},{"name":"nodejs","version":"13.2.0","date":"2019-11-21","lts":false,"security":false},{"name":"nodejs","version":"13.3.0","date":"2019-12-03","lts":false,"security":false},{"name":"nodejs","version":"13.4.0","date":"2019-12-17","lts":false,"security":true},{"name":"nodejs","version":"13.5.0","date":"2019-12-18","lts":false,"security":false},{"name":"nodejs","version":"13.6.0","date":"2020-01-07","lts":false,"security":false},{"name":"nodejs","version":"13.7.0","date":"2020-01-21","lts":false,"security":false},{"name":"nodejs","version":"13.8.0","date":"2020-02-05","lts":false,"security":true},{"name":"nodejs","version":"13.9.0","date":"2020-02-18","lts":false,"security":false},{"name":"nodejs","version":"13.10.0","date":"2020-03-04","lts":false,"security":false},{"name":"nodejs","version":"13.11.0","date":"2020-03-12","lts":false,"security":false},{"name":"nodejs","version":"13.12.0","date":"2020-03-26","lts":false,"security":false},{"name":"nodejs","version":"13.13.0","date":"2020-04-14","lts":false,"security":false},{"name":"nodejs","version":"13.14.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.0.0","date":"2020-04-21","lts":false,"security":false},{"name":"nodejs","version":"14.1.0","date":"2020-04-29","lts":false,"security":false},{"name":"nodejs","version":"14.2.0","date":"2020-05-05","lts":false,"security":false},{"name":"nodejs","version":"14.3.0","date":"2020-05-19","lts":false,"security":false},{"name":"nodejs","version":"14.4.0","date":"2020-06-02","lts":false,"security":true},{"name":"nodejs","version":"14.5.0","date":"2020-06-30","lts":false,"security":false},{"name":"nodejs","version":"14.6.0","date":"2020-07-20","lts":false,"security":false},{"name":"nodejs","version":"14.7.0","date":"2020-07-29","lts":false,"security":false},{"name":"nodejs","version":"14.8.0","date":"2020-08-11","lts":false,"security":false},{"name":"nodejs","version":"14.9.0","date":"2020-08-27","lts":false,"security":false},{"name":"nodejs","version":"14.10.0","date":"2020-09-08","lts":false,"security":false},{"name":"nodejs","version":"14.11.0","date":"2020-09-15","lts":false,"security":true},{"name":"nodejs","version":"14.12.0","date":"2020-09-22","lts":false,"security":false},{"name":"nodejs","version":"14.13.0","date":"2020-09-29","lts":false,"security":false},{"name":"nodejs","version":"14.14.0","date":"2020-10-15","lts":false,"security":false},{"name":"nodejs","version":"14.15.0","date":"2020-10-27","lts":"Fermium","security":false},{"name":"nodejs","version":"14.16.0","date":"2021-02-23","lts":"Fermium","security":true},{"name":"nodejs","version":"14.17.0","date":"2021-05-11","lts":"Fermium","security":false},{"name":"nodejs","version":"14.18.0","date":"2021-09-28","lts":"Fermium","security":false},{"name":"nodejs","version":"15.0.0","date":"2020-10-20","lts":false,"security":false},{"name":"nodejs","version":"15.1.0","date":"2020-11-04","lts":false,"security":false},{"name":"nodejs","version":"15.2.0","date":"2020-11-10","lts":false,"security":false},{"name":"nodejs","version":"15.3.0","date":"2020-11-24","lts":false,"security":false},{"name":"nodejs","version":"15.4.0","date":"2020-12-09","lts":false,"security":false},{"name":"nodejs","version":"15.5.0","date":"2020-12-22","lts":false,"security":false},{"name":"nodejs","version":"15.6.0","date":"2021-01-14","lts":false,"security":false},{"name":"nodejs","version":"15.7.0","date":"2021-01-25","lts":false,"security":false},{"name":"nodejs","version":"15.8.0","date":"2021-02-02","lts":false,"security":false},{"name":"nodejs","version":"15.9.0","date":"2021-02-18","lts":false,"security":false},{"name":"nodejs","version":"15.10.0","date":"2021-02-23","lts":false,"security":true},{"name":"nodejs","version":"15.11.0","date":"2021-03-03","lts":false,"security":false},{"name":"nodejs","version":"15.12.0","date":"2021-03-17","lts":false,"security":false},{"name":"nodejs","version":"15.13.0","date":"2021-03-31","lts":false,"security":false},{"name":"nodejs","version":"15.14.0","date":"2021-04-06","lts":false,"security":false},{"name":"nodejs","version":"16.0.0","date":"2021-04-20","lts":false,"security":false},{"name":"nodejs","version":"16.1.0","date":"2021-05-04","lts":false,"security":false},{"name":"nodejs","version":"16.2.0","date":"2021-05-19","lts":false,"security":false},{"name":"nodejs","version":"16.3.0","date":"2021-06-03","lts":false,"security":false},{"name":"nodejs","version":"16.4.0","date":"2021-06-23","lts":false,"security":false},{"name":"nodejs","version":"16.5.0","date":"2021-07-14","lts":false,"security":false},{"name":"nodejs","version":"16.6.0","date":"2021-07-29","lts":false,"security":true},{"name":"nodejs","version":"16.7.0","date":"2021-08-18","lts":false,"security":false},{"name":"nodejs","version":"16.8.0","date":"2021-08-25","lts":false,"security":false},{"name":"nodejs","version":"16.9.0","date":"2021-09-07","lts":false,"security":false},{"name":"nodejs","version":"16.10.0","date":"2021-09-22","lts":false,"security":false},{"name":"nodejs","version":"16.11.0","date":"2021-10-08","lts":false,"security":false},{"name":"nodejs","version":"16.12.0","date":"2021-10-20","lts":false,"security":false},{"name":"nodejs","version":"17.0.0","date":"2021-10-19","lts":false,"security":false}]')},function(e,t,r){"use strict";const n=r(629).browsers,i=r(631).browserVersions,s=r(633);function a(e){return Object.keys(e).reduce((t,r)=>(t[i[r]]=e[r],t),{})}e.exports.agents=Object.keys(s).reduce((e,t)=>{let r=s[t];return e[n[t]]=Object.keys(r).reduce((e,t)=>("A"===t?e.usage_global=a(r[t]):"C"===t?e.versions=r[t].reduce((e,t)=>(""===t?e.push(null):e.push(i[t]),e),[]):"D"===t?e.prefix_exceptions=a(r[t]):"E"===t?e.browser=r[t]:"F"===t?e.release_date=Object.keys(r[t]).reduce((e,n)=>(e[i[n]]=r[t][n],e),{}):e.prefix=r[t],e),{}),e},{})},function(e,t,r){e.exports.browsers=r(630)},function(e,t){e.exports={A:"ie",B:"edge",C:"firefox",D:"chrome",E:"safari",F:"opera",G:"ios_saf",H:"op_mini",I:"android",J:"bb",K:"op_mob",L:"and_chr",M:"and_ff",N:"ie_mob",O:"and_uc",P:"samsung",Q:"and_qq",R:"baidu",S:"kaios"}},function(e,t,r){e.exports.browserVersions=r(632)},function(e,t){e.exports={0:"38",1:"39",2:"40",3:"41",4:"42",5:"43",6:"44",7:"45",8:"46",9:"47",A:"10",B:"11",C:"12",D:"7",E:"8",F:"9",G:"15",H:"96",I:"4",J:"6",K:"13",L:"14",M:"16",N:"17",O:"18",P:"79",Q:"80",R:"81",S:"94",T:"64",U:"83",V:"84",W:"85",X:"86",Y:"87",Z:"88",a:"89",b:"90",c:"91",d:"92",e:"93",f:"95",g:"5",h:"19",i:"20",j:"21",k:"22",l:"23",m:"24",n:"25",o:"26",p:"27",q:"28",r:"29",s:"30",t:"31",u:"32",v:"33",w:"34",x:"35",y:"36",z:"37",AB:"48",BB:"49",CB:"50",DB:"51",EB:"52",FB:"53",GB:"54",HB:"55",IB:"56",JB:"57",KB:"58",LB:"60",MB:"62",NB:"63",OB:"65",PB:"66",QB:"67",RB:"68",SB:"69",TB:"70",UB:"71",VB:"72",WB:"73",XB:"74",YB:"75",ZB:"76",aB:"77",bB:"78",cB:"11.1",dB:"12.1",eB:"3",fB:"59",gB:"61",hB:"82",iB:"97",jB:"3.2",kB:"10.1",lB:"15.2",mB:"11.5",nB:"4.2-4.3",oB:"5.5",pB:"2",qB:"3.5",rB:"3.6",sB:"98",tB:"99",uB:"3.1",vB:"5.1",wB:"6.1",xB:"7.1",yB:"9.1",zB:"13.1","0B":"14.1","1B":"15.1","2B":"TP","3B":"9.5-9.6","4B":"10.0-10.1","5B":"10.5","6B":"10.6","7B":"11.6","8B":"4.0-4.1","9B":"5.0-5.1",AC:"6.0-6.1",BC:"7.0-7.1",CC:"8.1-8.4",DC:"9.0-9.2",EC:"9.3",FC:"10.0-10.2",GC:"10.3",HC:"11.0-11.2",IC:"11.3-11.4",JC:"12.0-12.1",KC:"12.2-12.5",LC:"13.0-13.1",MC:"13.2",NC:"13.3",OC:"13.4-13.7",PC:"14.0-14.4",QC:"14.5-14.8",RC:"15.0-15.1",SC:"all",TC:"2.1",UC:"2.2",VC:"2.3",WC:"4.1",XC:"4.4",YC:"4.4.3-4.4.4",ZC:"12.12",aC:"5.0-5.4",bC:"6.2-6.4",cC:"7.2-7.4",dC:"8.2",eC:"9.2",fC:"11.1-11.2",gC:"12.0",hC:"13.0",iC:"14.0",jC:"15.0",kC:"10.4",lC:"7.12",mC:"2.5"}},function(e,t){e.exports={A:{A:{J:.0131217,D:.00621152,E:.0363648,F:.0800026,A:.0145459,B:.683659,oB:.009298},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","oB","J","D","E","F","A","B","","",""],E:"IE",F:{oB:962323200,J:998870400,D:1161129600,E:1237420800,F:1300060800,A:1346716800,B:1381968e3}},B:{A:{C:.008712,K:.004267,L:.004356,G:.004356,M:.008712,N:.013068,O:.034848,P:0,Q:.004298,R:.00944,U:.004043,V:.008712,W:.008712,X:.008712,Y:.02178,Z:.004318,a:.013068,b:.008712,c:.013068,d:.02178,e:.02178,S:.156816,f:2.80526,H:1.04544},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","C","K","L","G","M","N","O","P","Q","R","U","V","W","X","Y","Z","a","b","c","d","e","S","f","H","","",""],E:"Edge",F:{C:1438128e3,K:1447286400,L:1470096e3,G:1491868800,M:1508198400,N:1525046400,O:1542067200,P:1579046400,Q:1581033600,R:1586736e3,U:1590019200,V:1594857600,W:1598486400,X:1602201600,Y:1605830400,Z:161136e4,a:1614816e3,b:1618358400,c:1622073600,d:1626912e3,e:1630627200,S:1632441600,f:1634774400,H:1637539200},D:{C:"ms",K:"ms",L:"ms",G:"ms",M:"ms",N:"ms",O:"ms"}},C:{A:{0:.004271,1:.004783,2:.00487,3:.005029,4:.0047,5:.034848,6:.008712,7:.004356,8:.004525,9:.004293,pB:.004318,eB:.004271,I:.026136,g:.004879,J:.020136,D:.005725,E:.004525,F:.00533,A:.004283,B:.004318,C:.004471,K:.004486,L:.00453,G:.004293,M:.004417,N:.004425,O:.004293,h:.004443,i:.004283,j:.004293,k:.013698,l:.004293,m:.008786,n:.004356,o:.004317,p:.004393,q:.004418,r:.008834,s:.004293,t:.008928,u:.004471,v:.009284,w:.004707,x:.009076,y:.004356,z:.004783,AB:.004356,BB:.004538,CB:.008282,DB:.004356,EB:.069696,FB:.004335,GB:.008586,HB:.008712,IB:.013068,JB:.004425,KB:.004356,fB:.004356,LB:.008712,gB:.004356,MB:.004425,NB:.008712,T:.00415,OB:.004267,PB:.008712,QB:.004267,RB:.013068,SB:.00415,TB:.004293,UB:.004425,VB:.008712,WB:.00415,XB:.00415,YB:.004318,ZB:.004356,aB:.004356,bB:.095832,P:.008712,Q:.008712,R:.013068,hB:.013068,U:.008712,V:.013068,W:.004356,X:.008712,Y:.008712,Z:.02178,a:.02178,b:.017424,c:.082764,d:.039204,e:.439956,S:2.44372,f:.026136,H:0,iB:0,qB:.008786,rB:.00487},B:"moz",C:["pB","eB","qB","rB","I","g","J","D","E","F","A","B","C","K","L","G","M","N","O","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","fB","LB","gB","MB","NB","T","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","P","Q","R","hB","U","V","W","X","Y","Z","a","b","c","d","e","S","f","H","iB",""],E:"Firefox",F:{0:1431475200,1:1435881600,2:1439251200,3:144288e4,4:1446508800,5:1450137600,6:1453852800,7:1457395200,8:1461628800,9:1465257600,pB:1161648e3,eB:1213660800,qB:124632e4,rB:1264032e3,I:1300752e3,g:1308614400,J:1313452800,D:1317081600,E:1317081600,F:1320710400,A:1324339200,B:1327968e3,C:1331596800,K:1335225600,L:1338854400,G:1342483200,M:1346112e3,N:1349740800,O:1353628800,h:1357603200,i:1361232e3,j:1364860800,k:1368489600,l:1372118400,m:1375747200,n:1379376e3,o:1386633600,p:1391472e3,q:1395100800,r:1398729600,s:1402358400,t:1405987200,u:1409616e3,v:1413244800,w:1417392e3,x:1421107200,y:1424736e3,z:1428278400,AB:1470096e3,BB:1474329600,CB:1479168e3,DB:1485216e3,EB:1488844800,FB:149256e4,GB:1497312e3,HB:1502150400,IB:1506556800,JB:1510617600,KB:1516665600,fB:1520985600,LB:1525824e3,gB:1529971200,MB:1536105600,NB:1540252800,T:1544486400,OB:154872e4,PB:1552953600,QB:1558396800,RB:1562630400,SB:1567468800,TB:1571788800,UB:1575331200,VB:1578355200,WB:1581379200,XB:1583798400,YB:1586304e3,ZB:1588636800,aB:1591056e3,bB:1593475200,P:1595894400,Q:1598313600,R:1600732800,hB:1603152e3,U:1605571200,V:1607990400,W:1611619200,X:1614038400,Y:1616457600,Z:1618790400,a:1622505600,b:1626134400,c:1628553600,d:1630972800,e:1633392e3,S:1635811200,f:1638835200,H:null,iB:null}},D:{A:{0:.02178,1:.004464,2:.013068,3:.0236,4:.004293,5:.008712,6:.004465,7:.004642,8:.004891,9:.013068,I:.004706,g:.004879,J:.004879,D:.005591,E:.005591,F:.005591,A:.004534,B:.004464,C:.010424,K:.0083,L:.004706,G:.015087,M:.004393,N:.004393,O:.008652,h:.004293,i:.004393,j:.004317,k:.008712,l:.008786,m:.008712,n:.004461,o:.004141,p:.004326,q:.0047,r:.004538,s:.004293,t:.008596,u:.004566,v:.004356,w:.008712,x:.008712,y:.004335,z:.004464,AB:.026136,BB:.126324,CB:.004293,DB:.008712,EB:.004356,FB:.013068,GB:.008712,HB:.008712,IB:.052272,JB:.008712,KB:.008712,fB:.004356,LB:.008712,gB:.030492,MB:.008712,NB:.013068,T:.02178,OB:.017424,PB:.02178,QB:.013068,RB:.008712,SB:.060984,TB:.04356,UB:.017424,VB:.04356,WB:.013068,XB:.030492,YB:.06534,ZB:.060984,aB:.02178,bB:.04356,P:.169884,Q:.069696,R:.047916,U:.08712,V:.091476,W:.104544,X:.100188,Y:.30492,Z:.074052,a:.095832,b:.082764,c:.257004,d:.34848,e:.439956,S:1.7424,f:13.9566,H:8.06296,iB:.017424,sB:.013068,tB:0},B:"webkit",C:["","","","","I","g","J","D","E","F","A","B","C","K","L","G","M","N","O","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","fB","LB","gB","MB","NB","T","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","P","Q","R","U","V","W","X","Y","Z","a","b","c","d","e","S","f","H","iB","sB","tB"],E:"Chrome",F:{0:141264e4,1:1416268800,2:1421798400,3:1425513600,4:1429401600,5:143208e4,6:1437523200,7:1441152e3,8:1444780800,9:1449014400,I:1264377600,g:1274745600,J:1283385600,D:1287619200,E:1291248e3,F:1296777600,A:1299542400,B:1303862400,C:1307404800,K:1312243200,L:1316131200,G:1316131200,M:1319500800,N:1323734400,O:1328659200,h:1332892800,i:133704e4,j:1340668800,k:1343692800,l:1348531200,m:1352246400,n:1357862400,o:1361404800,p:1364428800,q:1369094400,r:1374105600,s:1376956800,t:1384214400,u:1389657600,v:1392940800,w:1397001600,x:1400544e3,y:1405468800,z:1409011200,AB:1453248e3,BB:1456963200,CB:1460592e3,DB:1464134400,EB:1469059200,FB:1472601600,GB:1476230400,HB:1480550400,IB:1485302400,JB:1489017600,KB:149256e4,fB:1496707200,LB:1500940800,gB:1504569600,MB:1508198400,NB:1512518400,T:1516752e3,OB:1520294400,PB:1523923200,QB:1527552e3,RB:1532390400,SB:1536019200,TB:1539648e3,UB:1543968e3,VB:154872e4,WB:1552348800,XB:1555977600,YB:1559606400,ZB:1564444800,aB:1568073600,bB:1571702400,P:1575936e3,Q:1580860800,R:1586304e3,U:1589846400,V:1594684800,W:1598313600,X:1601942400,Y:1605571200,Z:1611014400,a:1614556800,b:1618272e3,c:1621987200,d:1626739200,e:1630368e3,S:1632268800,f:1634601600,H:1637020800,iB:null,sB:null,tB:null}},E:{A:{I:0,g:.004293,J:.004656,D:.004465,E:.004356,F:.004891,A:.004425,B:.004318,C:.008712,K:.060984,L:.339768,G:.601128,uB:0,jB:.008692,vB:.013068,wB:.00456,xB:.004283,yB:.030492,kB:.013068,cB:.039204,dB:.074052,zB:.548856,"0B":1.71626,"1B":.749232,lB:0,"2B":0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","uB","jB","I","g","vB","J","wB","D","xB","E","F","yB","A","kB","B","cB","C","dB","K","zB","L","0B","G","1B","lB","2B","",""],E:"Safari",F:{uB:1205798400,jB:1226534400,I:1244419200,g:1275868800,vB:131112e4,J:1343174400,wB:13824e5,D:13824e5,xB:1410998400,E:1413417600,F:1443657600,yB:1458518400,A:1474329600,kB:1490572800,B:1505779200,cB:1522281600,C:1537142400,dB:1553472e3,K:1568851200,zB:1585008e3,L:1600214400,"0B":1619395200,G:1632096e3,"1B":1635292800,lB:1639353600,"2B":null}},F:{A:{0:.004367,1:.004534,2:.004356,3:.004227,4:.004418,5:.004293,6:.004227,7:.004725,8:.008712,9:.008942,F:.0082,B:.016581,C:.004317,G:.00685,M:.00685,N:.00685,O:.005014,h:.006015,i:.004879,j:.006597,k:.006597,l:.013434,m:.006702,n:.006015,o:.005595,p:.004393,q:.008652,r:.004879,s:.004879,t:.004356,u:.005152,v:.005014,w:.009758,x:.004879,y:.004356,z:.004283,AB:.004707,BB:.004827,CB:.004707,DB:.004707,EB:.004326,FB:.008922,GB:.014349,HB:.004425,IB:.00472,JB:.004425,KB:.004425,LB:.00472,MB:.004532,NB:.004566,T:.02283,OB:.00867,PB:.004656,QB:.004642,RB:.004318,SB:.00944,TB:.004293,UB:.004293,VB:.004298,WB:.096692,XB:.004201,YB:.004141,ZB:.004043,aB:.004318,bB:.004356,P:.02178,Q:.753588,R:.3267,hB:0,"3B":.00685,"4B":0,"5B":.008392,"6B":.004706,cB:.006229,mB:.004879,"7B":.008786,dB:.00472},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","F","3B","4B","5B","6B","B","cB","mB","7B","C","dB","G","M","N","O","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","AB","BB","CB","DB","EB","FB","GB","HB","IB","JB","KB","LB","MB","NB","T","OB","PB","QB","RB","SB","TB","UB","VB","WB","XB","YB","ZB","aB","bB","P","Q","R","hB","","",""],E:"Opera",F:{0:1465344e3,1:1470096e3,2:1474329600,3:1477267200,4:1481587200,5:1486425600,6:1490054400,7:1494374400,8:1498003200,9:1502236800,F:1150761600,"3B":1223424e3,"4B":1251763200,"5B":1267488e3,"6B":1277942400,B:1292457600,cB:1302566400,mB:1309219200,"7B":1323129600,C:1323129600,dB:1352073600,G:1372723200,M:1377561600,N:1381104e3,O:1386288e3,h:1390867200,i:1393891200,j:1399334400,k:1401753600,l:1405987200,m:1409616e3,n:1413331200,o:1417132800,p:1422316800,q:1425945600,r:1430179200,s:1433808e3,t:1438646400,u:1442448e3,v:1445904e3,w:1449100800,x:1454371200,y:1457308800,z:146232e4,AB:1506470400,BB:1510099200,CB:1515024e3,DB:1517961600,EB:1521676800,FB:1525910400,GB:1530144e3,HB:1534982400,IB:1537833600,JB:1543363200,KB:1548201600,LB:1554768e3,MB:1561593600,NB:1566259200,T:1570406400,OB:1573689600,PB:1578441600,QB:1583971200,RB:1587513600,SB:1592956800,TB:1595894400,UB:1600128e3,VB:1603238400,WB:161352e4,XB:1612224e3,YB:1616544e3,ZB:1619568e3,aB:1623715200,bB:1627948800,P:1631577600,Q:1633392e3,R:1635984e3,hB:1638403200},D:{F:"o",B:"o",C:"o","3B":"o","4B":"o","5B":"o","6B":"o",cB:"o",mB:"o","7B":"o",dB:"o"}},G:{A:{E:0,jB:0,"8B":0,nB:.00291998,"9B":.00583996,AC:.0613196,BC:.0204399,CC:.0116799,DC:.0189799,EC:.103659,FC:.0262798,GC:.125559,HC:.0715395,IC:.0467197,JC:.0467197,KC:.636556,LC:.0379597,MC:.0189799,NC:.0992793,OC:.321198,PC:1.05411,QC:6.90575,RC:4.98295,lB:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","jB","8B","nB","9B","AC","BC","E","CC","DC","EC","FC","GC","HC","IC","JC","KC","LC","MC","NC","OC","PC","QC","RC","lB","","",""],E:"Safari on iOS",F:{jB:1270252800,"8B":1283904e3,nB:1299628800,"9B":1331078400,AC:1359331200,BC:1394409600,E:1410912e3,CC:1413763200,DC:1442361600,EC:1458518400,FC:1473724800,GC:1490572800,HC:1505779200,IC:1522281600,JC:1537142400,KC:1553472e3,LC:1568851200,MC:1572220800,NC:1580169600,OC:1585008e3,PC:1600214400,QC:1619395200,RC:1632096e3,lB:1639353600}},H:{A:{SC:1.08451},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","SC","","",""],E:"Opera Mini",F:{SC:1426464e3}},I:{A:{eB:0,I:.0104652,H:0,TC:0,UC:0,VC:0,WC:.0139536,nB:.0627912,XC:0,YC:.296514},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","TC","UC","VC","eB","I","WC","nB","XC","YC","H","","",""],E:"Android Browser",F:{TC:1256515200,UC:1274313600,VC:1291593600,eB:1298332800,I:1318896e3,WC:1341792e3,nB:1374624e3,XC:1386547200,YC:1401667200,H:1636934400}},J:{A:{D:0,A:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","D","A","","",""],E:"Blackberry Browser",F:{D:1325376e3,A:1359504e3}},K:{A:{A:0,B:0,C:0,T:.0111391,cB:0,mB:0,dB:0},B:"o",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","cB","mB","C","dB","T","","",""],E:"Opera Mobile",F:{A:1287100800,B:1300752e3,cB:1314835200,mB:1318291200,C:1330300800,dB:1349740800,T:1613433600},D:{T:"webkit"}},L:{A:{H:37.4535},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","H","","",""],E:"Chrome for Android",F:{H:1637020800}},M:{A:{S:.28215},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","S","","",""],E:"Firefox for Android",F:{S:1635811200}},N:{A:{A:.0115934,B:.022664},B:"ms",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","A","B","","",""],E:"IE Mobile",F:{A:1340150400,B:1353456e3}},O:{A:{ZC:.95931},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","ZC","","",""],E:"UC Browser for Android",F:{ZC:1471392e3},D:{ZC:"webkit"}},P:{A:{I:.231383,aC:.0103543,bC:.010304,cC:.0736219,dC:.0103584,eC:.0315523,kB:.0105043,fC:.0841394,gC:.0315523,hC:.136726,iC:.157761,jC:2.01934},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","I","aC","bC","cC","dC","eC","kB","fC","gC","hC","iC","jC","","",""],E:"Samsung Internet",F:{I:1461024e3,aC:1481846400,bC:1509408e3,cC:1528329600,dC:1546128e3,eC:1554163200,kB:1567900800,fC:1582588800,gC:1593475200,hC:1605657600,iC:1618531200,jC:1629072e3}},Q:{A:{kC:.163647},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","kC","","",""],E:"QQ Browser",F:{kC:1589846400}},R:{A:{lC:0},B:"webkit",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","lC","","",""],E:"Baidu Browser",F:{lC:1491004800}},S:{A:{mC:.079002},B:"moz",C:["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","mC","","",""],E:"KaiOS Browser",F:{mC:1527811200}}}},function(e){e.exports=JSON.parse('{"v0.8":{"start":"2012-06-25","end":"2014-07-31"},"v0.10":{"start":"2013-03-11","end":"2016-10-31"},"v0.12":{"start":"2015-02-06","end":"2016-12-31"},"v4":{"start":"2015-09-08","lts":"2015-10-12","maintenance":"2017-04-01","end":"2018-04-30","codename":"Argon"},"v5":{"start":"2015-10-29","maintenance":"2016-04-30","end":"2016-06-30"},"v6":{"start":"2016-04-26","lts":"2016-10-18","maintenance":"2018-04-30","end":"2019-04-30","codename":"Boron"},"v7":{"start":"2016-10-25","maintenance":"2017-04-30","end":"2017-06-30"},"v8":{"start":"2017-05-30","lts":"2017-10-31","maintenance":"2019-01-01","end":"2019-12-31","codename":"Carbon"},"v9":{"start":"2017-10-01","maintenance":"2018-04-01","end":"2018-06-30"},"v10":{"start":"2018-04-24","lts":"2018-10-30","maintenance":"2020-05-19","end":"2021-04-30","codename":"Dubnium"},"v11":{"start":"2018-10-23","maintenance":"2019-04-22","end":"2019-06-01"},"v12":{"start":"2019-04-23","lts":"2019-10-21","maintenance":"2020-11-30","end":"2022-04-30","codename":"Erbium"},"v13":{"start":"2019-10-22","maintenance":"2020-04-01","end":"2020-06-01"},"v14":{"start":"2020-04-21","lts":"2020-10-27","maintenance":"2021-10-19","end":"2023-04-30","codename":"Fermium"},"v15":{"start":"2020-10-20","maintenance":"2021-04-01","end":"2021-06-01"},"v16":{"start":"2021-04-20","lts":"2021-10-26","maintenance":"2022-10-18","end":"2024-04-30","codename":""},"v17":{"start":"2021-10-19","maintenance":"2022-04-01","end":"2022-06-01"},"v18":{"start":"2022-04-19","lts":"2022-10-25","maintenance":"2023-10-18","end":"2025-04-30","codename":""}}')},function(e,t){e.exports={"0.20":"39",.21:"41",.22:"41",.23:"41",.24:"41",.25:"42",.26:"42",.27:"43",.28:"43",.29:"43","0.30":"44",.31:"45",.32:"45",.33:"45",.34:"45",.35:"45",.36:"47",.37:"49","1.0":"49",1.1:"50",1.2:"51",1.3:"52",1.4:"53",1.5:"54",1.6:"56",1.7:"58",1.8:"59","2.0":"61",2.1:"61","3.0":"66",3.1:"66","4.0":"69",4.1:"69",4.2:"69","5.0":"73","6.0":"76",6.1:"76","7.0":"78",7.1:"78",7.2:"78",7.3:"78","8.0":"80",8.1:"80",8.2:"80",8.3:"80",8.4:"80",8.5:"80","9.0":"83",9.1:"83",9.2:"83",9.3:"83",9.4:"83","10.0":"85",10.1:"85",10.2:"85",10.3:"85",10.4:"85","11.0":"87",11.1:"87",11.2:"87",11.3:"87",11.4:"87",11.5:"87","12.0":"89",12.1:"89",12.2:"89","13.0":"91",13.1:"91",13.2:"91",13.3:"91",13.4:"91",13.5:"91",13.6:"91","14.0":"93",14.1:"93",14.2:"93","15.0":"94",15.1:"94",15.2:"94",15.3:"94","16.0":"96","17.0":"98"}},function(e,t,r){var n=r(269);function i(){}e.exports={loadQueries:function(){throw new n("Sharable configs are not supported in client-side build of Browserslist")},getStat:function(e){return e.stats},loadConfig:function(e){if(e.config)throw new n("Browserslist config are not supported in client-side build")},loadCountry:function(){throw new n("Country statistics are not supported in client-side build of Browserslist")},loadFeature:function(){throw new n("Supports queries are not available in client-side build of Browserslist")},currentNode:function(e,t){return e(["maintained node versions"],t)[0]},parseConfig:i,readConfig:i,findConfig:i,clearCaches:i,oldDataWarning:i}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.OptionValidator=void 0;var n=r(270);t.OptionValidator=class{constructor(e){this.descriptor=e}validateTopLevelOptions(e,t){const r=Object.keys(t);for(const i of Object.keys(e))if(!r.includes(i))throw new Error(this.formatMessage(`'${i}' is not a valid top-level option.\n- Did you mean '${(0,n.findSuggestion)(i,r)}'?`))}validateBooleanOption(e,t,r){return void 0===t?r:(this.invariant("boolean"==typeof t,`'${e}' option must be a boolean.`),t)}validateStringOption(e,t,r){return void 0===t?r:(this.invariant("string"==typeof t,`'${e}' option must be a string.`),t)}invariant(e,t){if(!e)throw new Error(this.formatMessage(t))}formatMessage(e){return`${this.descriptor}: ${e}`}}},function(e,t,r){e.exports=r(639)},function(e){e.exports=JSON.parse('{"es6.module":{"chrome":"61","and_chr":"61","edge":"16","firefox":"60","and_ff":"60","node":"13.2.0","opera":"48","op_mob":"48","safari":"10.1","ios":"10.3","samsung":"8.2","android":"61","electron":"2.0","ios_saf":"10.3"}}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TargetNames=void 0;t.TargetNames={node:"node",chrome:"chrome",opera:"opera",edge:"edge",firefox:"firefox",safari:"safari",ie:"ie",ios:"ios",android:"android",electron:"electron",samsung:"samsung",rhino:"rhino"}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getInclusionReasons=function(e,t,r){const a=r[e]||{};return Object.keys(t).reduce((e,r)=>{const o=(0,s.getLowestImplementedVersion)(a,r),l=t[r];if(o){const t=(0,s.isUnreleasedVersion)(o,r),a=(0,s.isUnreleasedVersion)(l,r);a||!t&&!n.lt(l.toString(),(0,s.semverify)(o))||(e[r]=(0,i.prettifyVersion)(l))}else e[r]=(0,i.prettifyVersion)(l);return e},{})};var n=r(94),i=r(271),s=r(163)},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r,n,i,s,a){const l=new Set,c={compatData:e,includes:t,excludes:r};for(const u in e)if(o(u,n,c))l.add(u);else if(a){const e=a.get(u);e&&l.add(e)}i&&i.forEach(e=>!r.has(e)&&l.add(e));s&&s.forEach(e=>!t.has(e)&&l.delete(e));return l},t.isRequired=o,t.targetsSupported=a;var n=r(94),i=r(643),s=r(163);function a(e,t){const r=Object.keys(e);if(0===r.length)return!1;const i=r.filter(r=>{const i=(0,s.getLowestImplementedVersion)(t,r);if(!i)return!0;const a=e[r];if((0,s.isUnreleasedVersion)(a,r))return!1;if((0,s.isUnreleasedVersion)(i,r))return!0;if(!n.valid(a.toString()))throw new Error(`Invalid version passed for target "${r}": "${a}". Versions must be in semver format (major.minor.patch)`);return n.gt((0,s.semverify)(i),a.toString())});return 0===i.length}function o(e,t,{compatData:r=i,includes:n,excludes:s}={}){return(null==s||!s.has(e))&&(!(null==n||!n.has(e))||!a(t,r[e]))}},function(e,t,r){e.exports=r(644)},function(e){e.exports=JSON.parse('{"proposal-class-static-block":{"chrome":"94","opera":"80","edge":"94","firefox":"93","node":"16.11"},"proposal-private-property-in-object":{"chrome":"91","opera":"77","edge":"91","firefox":"90","safari":"15","node":"16.9","ios":"15","electron":"13.0"},"proposal-class-properties":{"chrome":"74","opera":"62","edge":"79","firefox":"90","safari":"14.1","node":"12","ios":"15","samsung":"11","electron":"6.0"},"proposal-private-methods":{"chrome":"84","opera":"70","edge":"84","firefox":"90","safari":"15","node":"14.6","ios":"15","samsung":"14","electron":"10.0"},"proposal-numeric-separator":{"chrome":"75","opera":"62","edge":"79","firefox":"70","safari":"13","node":"12.5","ios":"13","samsung":"11","electron":"6.0"},"proposal-logical-assignment-operators":{"chrome":"85","opera":"71","edge":"85","firefox":"79","safari":"14","node":"15","ios":"14","samsung":"14","electron":"10.0"},"proposal-nullish-coalescing-operator":{"chrome":"80","opera":"67","edge":"80","firefox":"72","safari":"13.1","node":"14","ios":"13.4","samsung":"13","electron":"8.0"},"proposal-optional-chaining":{"chrome":"91","opera":"77","edge":"91","firefox":"74","safari":"13.1","node":"16.9","ios":"13.4","electron":"13.0"},"proposal-json-strings":{"chrome":"66","opera":"53","edge":"79","firefox":"62","safari":"12","node":"10","ios":"12","samsung":"9","electron":"3.0"},"proposal-optional-catch-binding":{"chrome":"66","opera":"53","edge":"79","firefox":"58","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-parameters":{"chrome":"49","opera":"36","edge":"18","firefox":"53","node":"6","samsung":"5","electron":"0.37"},"proposal-async-generator-functions":{"chrome":"63","opera":"50","edge":"79","firefox":"57","safari":"12","node":"10","ios":"12","samsung":"8","electron":"3.0"},"proposal-object-rest-spread":{"chrome":"60","opera":"47","edge":"79","firefox":"55","safari":"11.1","node":"8.3","ios":"11.3","samsung":"8","electron":"2.0"},"transform-dotall-regex":{"chrome":"62","opera":"49","edge":"79","firefox":"78","safari":"11.1","node":"8.10","ios":"11.3","samsung":"8","electron":"3.0"},"proposal-unicode-property-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-named-capturing-groups-regex":{"chrome":"64","opera":"51","edge":"79","firefox":"78","safari":"11.1","node":"10","ios":"11.3","samsung":"9","electron":"3.0"},"transform-async-to-generator":{"chrome":"55","opera":"42","edge":"15","firefox":"52","safari":"11","node":"7.6","ios":"11","samsung":"6","electron":"1.6"},"transform-exponentiation-operator":{"chrome":"52","opera":"39","edge":"14","firefox":"52","safari":"10.1","node":"7","ios":"10.3","samsung":"6","electron":"1.3"},"transform-template-literals":{"chrome":"41","opera":"28","edge":"13","firefox":"34","safari":"13","node":"4","ios":"13","samsung":"3.4","electron":"0.21"},"transform-literals":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-function-name":{"chrome":"51","opera":"38","edge":"79","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-arrow-functions":{"chrome":"47","opera":"34","edge":"13","firefox":"43","safari":"10","node":"6","ios":"10","samsung":"5","rhino":"1.7.13","electron":"0.36"},"transform-block-scoped-functions":{"chrome":"41","opera":"28","edge":"12","firefox":"46","safari":"10","node":"4","ie":"11","ios":"10","samsung":"3.4","electron":"0.21"},"transform-classes":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-object-super":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-shorthand-properties":{"chrome":"43","opera":"30","edge":"12","firefox":"33","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.27"},"transform-duplicate-keys":{"chrome":"42","opera":"29","edge":"12","firefox":"34","safari":"9","node":"4","ios":"9","samsung":"3.4","electron":"0.25"},"transform-computed-properties":{"chrome":"44","opera":"31","edge":"12","firefox":"34","safari":"7.1","node":"4","ios":"8","samsung":"4","electron":"0.30"},"transform-for-of":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-sticky-regex":{"chrome":"49","opera":"36","edge":"13","firefox":"3","safari":"10","node":"6","ios":"10","samsung":"5","electron":"0.37"},"transform-unicode-escapes":{"chrome":"44","opera":"31","edge":"12","firefox":"53","safari":"9","node":"4","ios":"9","samsung":"4","electron":"0.30"},"transform-unicode-regex":{"chrome":"50","opera":"37","edge":"13","firefox":"46","safari":"12","node":"6","ios":"12","samsung":"5","electron":"1.1"},"transform-spread":{"chrome":"46","opera":"33","edge":"13","firefox":"45","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-destructuring":{"chrome":"51","opera":"38","edge":"15","firefox":"53","safari":"10","node":"6.5","ios":"10","samsung":"5","electron":"1.2"},"transform-block-scoping":{"chrome":"49","opera":"36","edge":"14","firefox":"51","safari":"11","node":"6","ios":"11","samsung":"5","electron":"0.37"},"transform-typeof-symbol":{"chrome":"38","opera":"25","edge":"12","firefox":"36","safari":"9","node":"0.12","ios":"9","samsung":"3","rhino":"1.7.13","electron":"0.20"},"transform-new-target":{"chrome":"46","opera":"33","edge":"14","firefox":"41","safari":"10","node":"5","ios":"10","samsung":"5","electron":"0.36"},"transform-regenerator":{"chrome":"50","opera":"37","edge":"13","firefox":"53","safari":"10","node":"6","ios":"10","samsung":"5","electron":"1.1"},"transform-member-expression-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-property-literals":{"chrome":"7","opera":"12","edge":"12","firefox":"2","safari":"5.1","node":"0.10","ie":"9","android":"4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"transform-reserved-words":{"chrome":"13","opera":"10.50","edge":"12","firefox":"2","safari":"3.1","node":"0.10","ie":"9","android":"4.4","ios":"6","phantom":"2","samsung":"1","rhino":"1.7.13","electron":"0.20"},"proposal-export-namespace-from":{"chrome":"72","and_chr":"72","edge":"79","firefox":"80","and_ff":"80","node":"13.2","opera":"60","op_mob":"51","samsung":"11.0","android":"72","electron":"5.0"}}')},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;t.default={auxiliaryComment:{message:"Use `auxiliaryCommentBefore` or `auxiliaryCommentAfter`"},blacklist:{message:"Put the specific transforms you want in the `plugins` option"},breakConfig:{message:"This is not a necessary option in Babel 6"},experimental:{message:"Put the specific transforms you want in the `plugins` option"},externalHelpers:{message:"Use the `external-helpers` plugin instead. Check out http://babeljs.io/docs/plugins/external-helpers/"},extra:{message:""},jsxPragma:{message:"use the `pragma` option in the `react-jsx` plugin. Check out http://babeljs.io/docs/plugins/transform-react-jsx/"},loose:{message:"Specify the `loose` option for the relevant plugin you are using or use a preset that sets the option."},metadataUsedHelpers:{message:"Not required anymore as this is enabled by default"},modules:{message:"Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules"},nonStandard:{message:"Use the `react-jsx` and `flow-strip-types` plugins to support JSX and Flow. Also check out the react preset http://babeljs.io/docs/plugins/preset-react/"},optional:{message:"Put the specific transforms you want in the `plugins` option"},sourceMapName:{message:"The `sourceMapName` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."},stage:{message:"Check out the corresponding stage-x presets http://babeljs.io/docs/plugins/#presets"},whitelist:{message:"Put the specific transforms you want in the `plugins` option"},resolveModuleSource:{version:6,message:"Use `babel-plugin-module-resolver@3`'s 'resolvePath' options"},metadata:{version:6,message:"Generated plugin metadata is always included in the output result"},sourceMapTarget:{version:6,message:"The `sourceMapTarget` option has been removed because it makes more sense for the tooling that calls Babel to assign `map.file` themselves."}}},function(e,t,r){"use strict";function n(){const e=r(85);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=n().resolve(t,e).split(n().sep);return new RegExp(["^",...r.map((e,t)=>{const n=t===r.length-1;return"**"===e?n?u:c:"*"===e?n?l:o:0===e.indexOf("*.")?a+p(e.slice(1))+(n?s:i):p(e)+(n?s:i)})].join(""))};const i="\\"+n().sep,s=`(?:${i}|$)`,a=`[^${i}]+`,o=`(?:${a}${i})`,l=`(?:${a}${s})`,c=o+"*?",u=`${o}*?${l}?`;function p(e){return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&")}},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.ConfigPrinter=t.ChainFormatter=void 0;const i={Programmatic:0,Config:1};t.ChainFormatter=i;const s={title(e,t,r){let n="";return e===i.Programmatic?(n="programmatic options",t&&(n+=" from "+t)):n="config "+r,n},loc(e,t){let r="";return null!=e&&(r+=`.overrides[${e}]`),null!=t&&(r+=`.env["${t}"]`),r},*optionsAndDescriptors(e){const t=Object.assign({},e.options);delete t.overrides,delete t.env;const r=[...yield*e.plugins()];r.length&&(t.plugins=r.map(e=>a(e)));const n=[...yield*e.presets()];return n.length&&(t.presets=[...n].map(e=>a(e))),JSON.stringify(t,void 0,2)}};function a(e){var t;let r=null==(t=e.file)?void 0:t.request;return null==r&&("object"==typeof e.value?r=e.value:"function"==typeof e.value&&(r=`[Function: ${e.value.toString().substr(0,50)} ... ]`)),null==r&&(r="[Unknown]"),void 0===e.options?r:null==e.name?[r,e.options]:[r,e.options,e.name]}class o{constructor(){this._stack=[]}configure(e,t,{callerName:r,filepath:n}){return e?(e,i,s)=>{this._stack.push({type:t,callerName:r,filepath:n,content:e,index:i,envName:s})}:()=>{}}static*format(e){let t=s.title(e.type,e.callerName,e.filepath);const r=s.loc(e.index,e.envName);r&&(t+=" "+r);const n=yield*s.optionsAndDescriptors(e.content);return`${t}\n${n}`}*output(){if(0===this._stack.length)return"";const e=yield*n().all(this._stack.map(e=>o.format(e)));return e.join("\n\n")}}t.ConfigPrinter=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.validatePluginObject=function(e){const t={type:"root",source:"plugin"};return Object.keys(e).forEach(r=>{const n=i[r];if(!n){const e=new Error(`.${r} is not a valid Plugin property`);throw e.code="BABEL_UNKNOWN_PLUGIN_PROPERTY",e}{const i={type:"option",name:r,parent:t};n(i,e[r])}}),e};var n=r(273);const i={name:n.assertString,manipulateOptions:n.assertFunction,pre:n.assertFunction,post:n.assertFunction,inherits:n.assertFunction,visitor:function(e,t){const r=(0,n.assertObject)(e,t);if(r&&(Object.keys(r).forEach(e=>function(e,t){if(t&&"object"==typeof t)Object.keys(t).forEach(t=>{if("enter"!==t&&"exit"!==t)throw new Error(`.visitor["${e}"] may only have .enter and/or .exit handlers.`)});else if("function"!=typeof t)throw new Error(`.visitor["${e}"] must be a function`);return t}(e,r[e])),r.enter||r.exit))throw new Error((0,n.msg)(e)+' cannot contain catch-all "enter" or "exit" handlers. Please target individual nodes.');return r},parserOverride:n.assertFunction,generatorOverride:n.assertFunction}},function(e,t,r){"use strict";function n(){const e=r(94);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.makeConfigAPI=a,t.makePluginAPI=function(e){return Object.assign({},o(e),{assumption:t=>e.using(e=>e.assumptions[t])})},t.makePresetAPI=o;var i=r(76),s=r(126);r(274);function a(e){return{version:i.version,cache:e.simple(),env:t=>e.using(e=>void 0===t?e.envName:"function"==typeof t?(0,s.assertSimpleType)(t(e.envName)):(Array.isArray(t)||(t=[t]),t.some(t=>{if("string"!=typeof t)throw new Error("Unexpected non-string value");return t===e.envName}))),async:()=>!1,caller:t=>e.using(e=>(0,s.assertSimpleType)(t(e.caller))),assertVersion:l}}function o(e){return Object.assign({},a(e),{targets:()=>JSON.parse(e.using(e=>JSON.stringify(e.targets)))})}function l(e){if("number"==typeof e){if(!Number.isInteger(e))throw new Error("Expected string or integer value.");e=`^${e}.0.0-0`}if("string"!=typeof e)throw new Error("Expected string or integer value.");if(n().satisfies(i.version,e))return;const t=Error.stackTraceLimit;"number"==typeof t&&t<25&&(Error.stackTraceLimit=25);const r=new Error(`Requires Babel "${e}", but was loaded with "${i.version}". If you are sure you have a compatible version of @babel/core, it is likely that something in your build process is loading the wrong version. Inspect the stack trace of this error to look for the first entry that doesn't mention "@babel/core" or "babel-core" to see what is calling Babel.`);throw"number"==typeof t&&(Error.stackTraceLimit=t),Object.assign(r,{code:"BABEL_VERSION_UNSUPPORTED",version:i.version,range:e})}},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transformSync=t.transformAsync=t.transform=void 0;var i=r(123),s=r(276);const a=n()((function*(e,t){const r=yield*(0,i.default)(t);return null===r?null:yield*(0,s.run)(r,e)}));t.transform=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),void 0===r)return a.sync(e,t);a.errback(e,t,r)};const o=a.sync;t.transformSync=o;const l=a.async;t.transformAsync=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;class n{constructor(e,t,r){this._map=new Map,this.key=void 0,this.file=void 0,this.opts=void 0,this.cwd=void 0,this.filename=void 0,this.key=t,this.file=e,this.opts=r||{},this.cwd=e.opts.cwd,this.filename=e.opts.filename}set(e,t){this._map.set(e,t)}get(e){return this._map.get(e)}availableHelper(e,t){return this.file.availableHelper(e,t)}addHelper(e){return this.file.addHelper(e)}addImport(){return this.file.addImport()}buildCodeFrameError(e,t,r){return this.file.buildCodeFrameError(e,t,r)}}t.default=n,n.prototype.getModuleName=function(){return this.file.getModuleName()}},function(e,t,r){"use strict";function n(){const e=r(74);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(){s||(s=new i.default(Object.assign({},o,{visitor:n().default.explode(o.visitor)}),{}));return s};var i=r(124);let s;function a(e){const t=null==e?void 0:e._blockHoist;return null==t?1:!0===t?2:t}const o={name:"internal.blockHoist",visitor:{Block:{exit({node:e}){const{body:t}=e;let r=Math.pow(2,30)-1,n=!1;for(let i=0;i<t.length;i++){const e=t[i],s=a(e);if(s>r){n=!0;break}r=s}n&&(e.body=function(e){const t=Object.create(null);for(let i=0;i<e.length;i++){const r=e[i],n=a(r),s=t[n]||(t[n]=[]);s.push(r)}const r=Object.keys(t).map(e=>+e).sort((e,t)=>t-e);let n=0;for(const i of r){const r=t[i];for(const t of r)e[n++]=t}return e}(t.slice()))}}}}},function(e,t,r){"use strict";function n(){const e=r(654);return n=function(){return e},e}function i(){const e=r(85);return i=function(){return e},e}function s(){const e=r(156);return s=function(){return e},e}function a(){const e=r(65);return a=function(){return e},e}function o(){const e=r(278);return o=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function*(e,t,r,s){if(r=""+(r||""),s){if("Program"===s.type)s=p(s,[],[]);else if("File"!==s.type)throw new Error("AST root must be a Program or File node");t.cloneInputAst&&(s=(0,u.default)(s))}else s=yield*(0,c.default)(e,t,r);let a=null;if(!1!==t.inputSourceMap){if("object"==typeof t.inputSourceMap&&(a=o().fromObject(t.inputSourceMap)),!a){const e=g(h,s);if(e)try{a=o().fromComment(e)}catch(f){d("discarding unknown inline input sourcemap",f)}}if(!a){const e=g(m,s);if("string"==typeof t.filename&&e)try{const r=m.exec(e),s=n().readFileSync(i().resolve(i().dirname(t.filename),r[1]));s.length>1e6?d("skip merging input map > 1 MB"):a=o().fromJSON(s)}catch(f){d("discarding unknown file input sourcemap",f)}else e&&d("discarding un-loadable file input sourcemap")}}return new l.default(t,{code:r,ast:s,inputMap:a})};var l=r(151),c=r(279),u=r(657);const{file:p,traverseFast:f}=a(),d=s()("babel:transform:file");const h=/^[@#]\s+sourceMappingURL=data:(?:application|text)\/json;(?:charset[:=]\S+?;)?base64,(?:.*)$/,m=/^[@#][ \t]+sourceMappingURL=([^\s'"`]+)[ \t]*$/;function y(e,t,r){return t&&(t=t.filter(({value:t})=>!e.test(t)||(r=t,!1))),[t,r]}function g(e,t){let r=null;return f(t,t=>{[t.leadingComments,r]=y(e,t.leadingComments,r),[t.innerComments,r]=y(e,t.innerComments,r),[t.trailingComments,r]=y(e,t.trailingComments,r)}),r}},function(e,t){},function(e,t,r){var n=r(256),i=n.Buffer;function s(e,t){for(var r in e)t[r]=e[r]}function a(e,t,r){return i(e,t,r)}i.from&&i.alloc&&i.allocUnsafe&&i.allocUnsafeSlow?e.exports=n:(s(n,t),t.Buffer=a),s(i,a),a.from=function(e,t,r){if("number"==typeof e)throw new TypeError("Argument must not be a number");return i(e,t,r)},a.alloc=function(e,t,r){if("number"!=typeof e)throw new TypeError("Argument must be a number");var n=i(e);return void 0!==t?"string"==typeof r?n.fill(t,r):n.fill(t):n.fill(0),n},a.allocUnsafe=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return i(e)},a.allocUnsafeSlow=function(e){if("number"!=typeof e)throw new TypeError("Argument must be a number");return n.SlowBuffer(e)}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t,r){let s=`Support for the experimental syntax '${e}' isn't currently enabled (${t.line}:${t.column+1}):\n\n`+r;const a=n[e];if(a){const{syntax:e,transform:t}=a;if(e){const r=i(e);if(t){const e=i(t),n=t.name.startsWith("@babel/plugin")?"plugins":"presets";s+=`\n\nAdd ${e} to the '${n}' section of your Babel config to enable transformation.\nIf you want to leave it as-is, add ${r} to the 'plugins' section to enable parsing.`}else s+=`\n\nAdd ${r} to the 'plugins' section of your Babel config to enable parsing.`}}return s};const n={asyncDoExpressions:{syntax:{name:"@babel/plugin-syntax-async-do-expressions",url:"https://git.io/JYer8"}},classProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateProperties:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-class-properties",url:"https://git.io/vb4SL"}},classPrivateMethods:{syntax:{name:"@babel/plugin-syntax-class-properties",url:"https://git.io/vb4yQ"},transform:{name:"@babel/plugin-proposal-private-methods",url:"https://git.io/JvpRG"}},classStaticBlock:{syntax:{name:"@babel/plugin-syntax-class-static-block",url:"https://git.io/JTLB6"},transform:{name:"@babel/plugin-proposal-class-static-block",url:"https://git.io/JTLBP"}},decimal:{syntax:{name:"@babel/plugin-syntax-decimal",url:"https://git.io/JfKOH"}},decorators:{syntax:{name:"@babel/plugin-syntax-decorators",url:"https://git.io/vb4y9"},transform:{name:"@babel/plugin-proposal-decorators",url:"https://git.io/vb4ST"}},doExpressions:{syntax:{name:"@babel/plugin-syntax-do-expressions",url:"https://git.io/vb4yh"},transform:{name:"@babel/plugin-proposal-do-expressions",url:"https://git.io/vb4S3"}},dynamicImport:{syntax:{name:"@babel/plugin-syntax-dynamic-import",url:"https://git.io/vb4Sv"}},exportDefaultFrom:{syntax:{name:"@babel/plugin-syntax-export-default-from",url:"https://git.io/vb4SO"},transform:{name:"@babel/plugin-proposal-export-default-from",url:"https://git.io/vb4yH"}},exportNamespaceFrom:{syntax:{name:"@babel/plugin-syntax-export-namespace-from",url:"https://git.io/vb4Sf"},transform:{name:"@babel/plugin-proposal-export-namespace-from",url:"https://git.io/vb4SG"}},flow:{syntax:{name:"@babel/plugin-syntax-flow",url:"https://git.io/vb4yb"},transform:{name:"@babel/preset-flow",url:"https://git.io/JfeDn"}},functionBind:{syntax:{name:"@babel/plugin-syntax-function-bind",url:"https://git.io/vb4y7"},transform:{name:"@babel/plugin-proposal-function-bind",url:"https://git.io/vb4St"}},functionSent:{syntax:{name:"@babel/plugin-syntax-function-sent",url:"https://git.io/vb4yN"},transform:{name:"@babel/plugin-proposal-function-sent",url:"https://git.io/vb4SZ"}},importMeta:{syntax:{name:"@babel/plugin-syntax-import-meta",url:"https://git.io/vbKK6"}},jsx:{syntax:{name:"@babel/plugin-syntax-jsx",url:"https://git.io/vb4yA"},transform:{name:"@babel/preset-react",url:"https://git.io/JfeDR"}},importAssertions:{syntax:{name:"@babel/plugin-syntax-import-assertions",url:"https://git.io/JUbkv"}},moduleStringNames:{syntax:{name:"@babel/plugin-syntax-module-string-names",url:"https://git.io/JTL8G"}},numericSeparator:{syntax:{name:"@babel/plugin-syntax-numeric-separator",url:"https://git.io/vb4Sq"},transform:{name:"@babel/plugin-proposal-numeric-separator",url:"https://git.io/vb4yS"}},optionalChaining:{syntax:{name:"@babel/plugin-syntax-optional-chaining",url:"https://git.io/vb4Sc"},transform:{name:"@babel/plugin-proposal-optional-chaining",url:"https://git.io/vb4Sk"}},pipelineOperator:{syntax:{name:"@babel/plugin-syntax-pipeline-operator",url:"https://git.io/vb4yj"},transform:{name:"@babel/plugin-proposal-pipeline-operator",url:"https://git.io/vb4SU"}},privateIn:{syntax:{name:"@babel/plugin-syntax-private-property-in-object",url:"https://git.io/JfK3q"},transform:{name:"@babel/plugin-proposal-private-property-in-object",url:"https://git.io/JfK3O"}},recordAndTuple:{syntax:{name:"@babel/plugin-syntax-record-and-tuple",url:"https://git.io/JvKp3"}},throwExpressions:{syntax:{name:"@babel/plugin-syntax-throw-expressions",url:"https://git.io/vb4SJ"},transform:{name:"@babel/plugin-proposal-throw-expressions",url:"https://git.io/vb4yF"}},typescript:{syntax:{name:"@babel/plugin-syntax-typescript",url:"https://git.io/vb4SC"},transform:{name:"@babel/preset-typescript",url:"https://git.io/JfeDz"}},asyncGenerators:{syntax:{name:"@babel/plugin-syntax-async-generators",url:"https://git.io/vb4SY"},transform:{name:"@babel/plugin-proposal-async-generator-functions",url:"https://git.io/vb4yp"}},logicalAssignment:{syntax:{name:"@babel/plugin-syntax-logical-assignment-operators",url:"https://git.io/vAlBp"},transform:{name:"@babel/plugin-proposal-logical-assignment-operators",url:"https://git.io/vAlRe"}},nullishCoalescingOperator:{syntax:{name:"@babel/plugin-syntax-nullish-coalescing-operator",url:"https://git.io/vb4yx"},transform:{name:"@babel/plugin-proposal-nullish-coalescing-operator",url:"https://git.io/vb4Se"}},objectRestSpread:{syntax:{name:"@babel/plugin-syntax-object-rest-spread",url:"https://git.io/vb4y5"},transform:{name:"@babel/plugin-proposal-object-rest-spread",url:"https://git.io/vb4Ss"}},optionalCatchBinding:{syntax:{name:"@babel/plugin-syntax-optional-catch-binding",url:"https://git.io/vb4Sn"},transform:{name:"@babel/plugin-proposal-optional-catch-binding",url:"https://git.io/vb4SI"}}};n.privateIn.syntax=n.privateIn.transform;const i=({name:e,url:t})=>`${e} (${t})`},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return JSON.parse(JSON.stringify(e,i),s)};const n="$$ babel internal serialized type"+Math.random();function i(e,t){return"bigint"!=typeof t?t:{[n]:"BigInt",value:t.toString()}}function s(e,t){return t&&"object"==typeof t?"BigInt"!==t[n]?t:BigInt(t.value):t}},function(e,t,r){"use strict";function n(){const e=r(278);return n=function(){return e},e}function i(){const e=r(158);return i=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const{opts:r,ast:a,code:o,inputMap:l}=t,c=[];for(const n of e)for(const e of n){const{generatorOverride:t}=e;if(t){const e=t(a,r.generatorOpts,o,i().default);void 0!==e&&c.push(e)}}let u;if(0===c.length)u=(0,i().default)(a,r.generatorOpts,o);else{if(1!==c.length)throw new Error("More than one plugin attempted to override codegen.");if(u=c[0],"function"==typeof u.then)throw new Error("You appear to be using an async codegen plugin, which your current version of Babel does not support. If you're using a published plugin, you may need to upgrade your @babel/core version.")}let{code:p,map:f}=u;f&&l&&(f=(0,s.default)(l.toObject(),f));"inline"!==r.sourceMaps&&"both"!==r.sourceMaps||(p+="\n"+n().fromObject(f).toComment());"inline"===r.sourceMaps&&(f=null);return{outputCode:p,outputMap:f}};var s=r(659)},function(e,t,r){"use strict";function n(){const e=r(249);return n=function(){return e},e}function i(e){return`${e.line}/${e.columnStart}`}function s(e){const t=new(n().SourceMapConsumer)(Object.assign({},e,{sourceRoot:null})),r=new Map,i=new Map;let s=null;return t.computeColumnSpans(),t.eachMapping(e=>{if(null===e.originalLine)return;let n=r.get(e.source);n||(n={path:e.source,content:t.sourceContentFor(e.source,!0)},r.set(e.source,n));let a=i.get(n);a||(a={source:n,mappings:[]},i.set(n,a));const o={line:e.originalLine,columnStart:e.originalColumn,columnEnd:1/0,name:e.name};s&&s.source===n&&s.mapping.line===e.originalLine&&(s.mapping.columnEnd=e.originalColumn),s={source:n,mapping:o},a.mappings.push({original:o,generated:t.allGeneratedPositionsFor({source:e.source,line:e.originalLine,column:e.originalColumn}).map(e=>({line:e.line,columnStart:e.column,columnEnd:e.lastColumn+1}))})},null,n().SourceMapConsumer.ORIGINAL_ORDER),{file:e.file,sourceRoot:e.sourceRoot,sources:Array.from(i.values())}}Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){const r=s(e),a=s(t),o=new(n().SourceMapGenerator);for(const{source:n}of r.sources)"string"==typeof n.content&&o.setSourceContent(n.path,n.content);if(1===a.sources.length){const e=a.sources[0],t=new Map;!function(e,t){for(const{source:r,mappings:n}of e.sources)for(const{original:e,generated:i}of n)for(const n of i)t(n,e,r)}(r,(r,n,s)=>{!function(e,t,r){const n=function({mappings:e},{line:t,columnStart:r,columnEnd:n}){return function(e,t){const r=function(e,t){let r=0,n=e.length;for(;r<n;){const i=Math.floor((r+n)/2),s=e[i],a=t(s);if(0===a){r=i;break}a>=0?n=i:r=i+1}let i=r;if(i<e.length){for(;i>=0&&t(e[i])>=0;)i--;return i+1}return i}(e,t),n=[];for(let i=r;i<e.length&&0===t(e[i]);i++)n.push(e[i]);return n}(e,({original:e})=>t>e.line?-1:t<e.line?1:r>=e.columnEnd?-1:n<=e.columnStart?1:0)}(e,t);for(const{generated:i}of n)for(const e of i)r(e)}(e,r,e=>{const r=i(e);t.has(r)||(t.set(r,e),o.addMapping({source:s.path,original:{line:n.line,column:n.columnStart},generated:{line:e.line,column:e.columnStart},name:n.name}))})});for(const r of t.values()){if(r.columnEnd===1/0)continue;const e={line:r.line,columnStart:r.columnEnd},n=i(e);t.has(n)||o.addMapping({generated:{line:e.line,column:e.columnStart}})}}const l=o.toJSON();"string"==typeof r.sourceRoot&&(l.sourceRoot=r.sourceRoot);return l}},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.transformFile=void 0,t.transformFileAsync=function(){return Promise.reject(new Error("Transforming files is not supported in browsers"))},t.transformFileSync=function(){throw new Error("Transforming files is not supported in browsers")};t.transformFile=function(e,t,r){"function"==typeof t&&(r=t),r(new Error("Transforming files is not supported in browsers"),null)}},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.transformFromAstSync=t.transformFromAstAsync=t.transformFromAst=void 0;var i=r(123),s=r(276);const a=n()((function*(e,t,r){const n=yield*(0,i.default)(r);if(null===n)return null;if(!e)throw new Error("No AST given");return yield*(0,s.run)(n,t,e)}));t.transformFromAst=function(e,t,r,n){if("function"==typeof r&&(n=r,r=void 0),void 0===n)return a.sync(e,t,r);a.errback(e,t,r,n)};const o=a.sync;t.transformFromAstSync=o;const l=a.async;t.transformFromAstAsync=l},function(e,t,r){"use strict";function n(){const e=r(77);return n=function(){return e},e}Object.defineProperty(t,"__esModule",{value:!0}),t.parseSync=t.parseAsync=t.parse=void 0;var i=r(123),s=r(279),a=r(277);const o=n()((function*(e,t){const r=yield*(0,i.default)(t);return null===r?null:yield*(0,s.default)(r.passes,(0,a.default)(r),e)}));t.parse=function(e,t,r){if("function"==typeof t&&(r=t,t=void 0),void 0===r)return o.sync(e,t);o.errback(e,t,r)};const l=o.sync;t.parseSync=l;const c=o.async;t.parseAsync=c}])]);
|
|
1928
|
+
}})
|