@babel/standalone
Version:
Standalone build of Babel for use in non-Node.js environments.
1 lines • 1.96 MB
JavaScript
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).Babel={})}(this,(function(e){"use strict";var t=Object.freeze({__proto__:null,get version(){return wF},get types(){return Pc},get DEFAULT_EXTENSIONS(){return CF},get OptionManager(){return SF},get Plugin(){return TF},get File(){return aA},get buildExternalHelpers(){return pA},get resolvePlugin(){return AA},get resolvePreset(){return wA},get getEnv(){return TA},get tokTypes(){return lm},get traverse(){return vv},get template(){return Eg},get createConfigItem(){return YP},get createConfigItemSync(){return zP},get createConfigItemAsync(){return JP},get loadPartialConfig(){return WP},get loadPartialConfigSync(){return HP},get loadPartialConfigAsync(){return XP},get loadOptions(){return qP},get loadOptionsSync(){return $P},get loadOptionsAsync(){return KP},get transform(){return cF},get transformSync(){return pF},get transformAsync(){return dF},get transformFile(){return fF},get transformFileSync(){return hF},get transformFileAsync(){return mF},get transformFromAst(){return gF},get transformFromAstSync(){return vF},get transformFromAstAsync(){return bF},get parse(){return xF},get parseSync(){return DF},get parseAsync(){return AF}});function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),e}function s(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&a(e,t)}function a(e,t){return(a=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function i(e,t){if(null==e)return{};var r,n,s={},a=Object.keys(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||(s[r]=e[r]);return s}function o(e,t){if(null==e)return{};var r,n,s=i(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n<a.length;n++)r=a[n],t.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s}function u(e,t){return t||(t=e.slice(0)),e.raw=t,e}function l(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,s,a=[],i=!0,o=!1;try{for(r=r.call(e);!(i=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);i=!0);}catch(e){o=!0,s=e}finally{try{i||null==r.return||r.return()}finally{if(o)throw s}}return a}(e,t)||p(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||p(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e,t){if(e){if("string"==typeof e)return d(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function f(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=p(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function h(e,t){for(var r=0,n=Object.keys(t);r<n.length;r++){var s=n[r];if(e[s]!==t[s])return!1}return!0}function m(e,t){return!!e&&("ArrayExpression"===e.type&&(void 0===t||h(e,t)))}function y(e,t){return!!e&&("AssignmentExpression"===e.type&&(void 0===t||h(e,t)))}function g(e,t){return!!e&&("BinaryExpression"===e.type&&(void 0===t||h(e,t)))}function v(e,t){return!!e&&("BlockStatement"===e.type&&(void 0===t||h(e,t)))}function b(e,t){return!!e&&("BreakStatement"===e.type&&(void 0===t||h(e,t)))}function E(e,t){return!!e&&("CallExpression"===e.type&&(void 0===t||h(e,t)))}function x(e,t){return!!e&&("CatchClause"===e.type&&(void 0===t||h(e,t)))}function D(e,t){return!!e&&("ConditionalExpression"===e.type&&(void 0===t||h(e,t)))}function A(e,t){return!!e&&("ContinueStatement"===e.type&&(void 0===t||h(e,t)))}function w(e,t){return!!e&&("EmptyStatement"===e.type&&(void 0===t||h(e,t)))}function C(e,t){return!!e&&("ExpressionStatement"===e.type&&(void 0===t||h(e,t)))}function S(e,t){return!!e&&("File"===e.type&&(void 0===t||h(e,t)))}function T(e,t){return!!e&&("ForInStatement"===e.type&&(void 0===t||h(e,t)))}function j(e,t){return!!e&&("ForStatement"===e.type&&(void 0===t||h(e,t)))}function P(e,t){return!!e&&("FunctionDeclaration"===e.type&&(void 0===t||h(e,t)))}function I(e,t){return!!e&&("FunctionExpression"===e.type&&(void 0===t||h(e,t)))}function F(e,t){return!!e&&("Identifier"===e.type&&(void 0===t||h(e,t)))}function k(e,t){return!!e&&("IfStatement"===e.type&&(void 0===t||h(e,t)))}function O(e,t){return!!e&&("LabeledStatement"===e.type&&(void 0===t||h(e,t)))}function R(e,t){return!!e&&("StringLiteral"===e.type&&(void 0===t||h(e,t)))}function N(e,t){return!!e&&("NumericLiteral"===e.type&&(void 0===t||h(e,t)))}function B(e,t){return!!e&&("NullLiteral"===e.type&&(void 0===t||h(e,t)))}function _(e,t){return!!e&&("RegExpLiteral"===e.type&&(void 0===t||h(e,t)))}function L(e,t){return!!e&&("LogicalExpression"===e.type&&(void 0===t||h(e,t)))}function M(e,t){return!!e&&("MemberExpression"===e.type&&(void 0===t||h(e,t)))}function U(e,t){return!!e&&("NewExpression"===e.type&&(void 0===t||h(e,t)))}function G(e,t){return!!e&&("Program"===e.type&&(void 0===t||h(e,t)))}function V(e,t){return!!e&&("ObjectExpression"===e.type&&(void 0===t||h(e,t)))}function W(e,t){return!!e&&("ObjectMethod"===e.type&&(void 0===t||h(e,t)))}function H(e,t){return!!e&&("ObjectProperty"===e.type&&(void 0===t||h(e,t)))}function X(e,t){return!!e&&("RestElement"===e.type&&(void 0===t||h(e,t)))}function q(e,t){return!!e&&("ReturnStatement"===e.type&&(void 0===t||h(e,t)))}function $(e,t){return!!e&&("SequenceExpression"===e.type&&(void 0===t||h(e,t)))}function K(e,t){return!!e&&("ParenthesizedExpression"===e.type&&(void 0===t||h(e,t)))}function z(e,t){return!!e&&("SwitchStatement"===e.type&&(void 0===t||h(e,t)))}function J(e,t){return!!e&&("ThisExpression"===e.type&&(void 0===t||h(e,t)))}function Y(e,t){return!!e&&("ThrowStatement"===e.type&&(void 0===t||h(e,t)))}function Q(e,t){return!!e&&("UnaryExpression"===e.type&&(void 0===t||h(e,t)))}function Z(e,t){return!!e&&("VariableDeclaration"===e.type&&(void 0===t||h(e,t)))}function ee(e,t){return!!e&&("VariableDeclarator"===e.type&&(void 0===t||h(e,t)))}function te(e,t){return!!e&&("WhileStatement"===e.type&&(void 0===t||h(e,t)))}function re(e,t){return!!e&&("AssignmentPattern"===e.type&&(void 0===t||h(e,t)))}function ne(e,t){return!!e&&("ArrayPattern"===e.type&&(void 0===t||h(e,t)))}function se(e,t){return!!e&&("ArrowFunctionExpression"===e.type&&(void 0===t||h(e,t)))}function ae(e,t){return!!e&&("ClassBody"===e.type&&(void 0===t||h(e,t)))}function ie(e,t){return!!e&&("ClassExpression"===e.type&&(void 0===t||h(e,t)))}function oe(e,t){return!!e&&("ClassDeclaration"===e.type&&(void 0===t||h(e,t)))}function ue(e,t){return!!e&&("ExportAllDeclaration"===e.type&&(void 0===t||h(e,t)))}function le(e,t){return!!e&&("ExportDefaultDeclaration"===e.type&&(void 0===t||h(e,t)))}function ce(e,t){return!!e&&("ExportNamedDeclaration"===e.type&&(void 0===t||h(e,t)))}function pe(e,t){return!!e&&("ExportSpecifier"===e.type&&(void 0===t||h(e,t)))}function de(e,t){return!!e&&("ForOfStatement"===e.type&&(void 0===t||h(e,t)))}function fe(e,t){return!!e&&("ImportDeclaration"===e.type&&(void 0===t||h(e,t)))}function he(e,t){return!!e&&("ImportDefaultSpecifier"===e.type&&(void 0===t||h(e,t)))}function me(e,t){return!!e&&("ImportNamespaceSpecifier"===e.type&&(void 0===t||h(e,t)))}function ye(e,t){return!!e&&("ImportSpecifier"===e.type&&(void 0===t||h(e,t)))}function ge(e,t){return!!e&&("ClassMethod"===e.type&&(void 0===t||h(e,t)))}function ve(e,t){return!!e&&("ObjectPattern"===e.type&&(void 0===t||h(e,t)))}function be(e,t){return!!e&&("SpreadElement"===e.type&&(void 0===t||h(e,t)))}function Ee(e,t){return!!e&&("Super"===e.type&&(void 0===t||h(e,t)))}function xe(e,t){return!!e&&("TaggedTemplateExpression"===e.type&&(void 0===t||h(e,t)))}function De(e,t){return!!e&&("TemplateLiteral"===e.type&&(void 0===t||h(e,t)))}function Ae(e,t){return!!e&&("YieldExpression"===e.type&&(void 0===t||h(e,t)))}function we(e,t){return!!e&&("AwaitExpression"===e.type&&(void 0===t||h(e,t)))}function Ce(e,t){return!!e&&("Import"===e.type&&(void 0===t||h(e,t)))}function Se(e,t){return!!e&&("BigIntLiteral"===e.type&&(void 0===t||h(e,t)))}function Te(e,t){return!!e&&("ExportNamespaceSpecifier"===e.type&&(void 0===t||h(e,t)))}function je(e,t){return!!e&&("OptionalMemberExpression"===e.type&&(void 0===t||h(e,t)))}function Pe(e,t){return!!e&&("OptionalCallExpression"===e.type&&(void 0===t||h(e,t)))}function Ie(e,t){return!!e&&("AnyTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Fe(e,t){return!!e&&("ArrayTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function ke(e,t){return!!e&&("BooleanTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Oe(e,t){return!!e&&("DeclareExportDeclaration"===e.type&&(void 0===t||h(e,t)))}function Re(e,t){return!!e&&("GenericTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Ne(e,t){return!!e&&("IntersectionTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Be(e,t){return!!e&&("MixedTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function _e(e,t){return!!e&&("EmptyTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Le(e,t){return!!e&&("NullableTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Me(e,t){return!!e&&("NumberTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Ue(e,t){return!!e&&("StringTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Ge(e,t){return!!e&&("TypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Ve(e,t){return!!e&&("TypeCastExpression"===e.type&&(void 0===t||h(e,t)))}function We(e,t){return!!e&&("UnionTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function He(e,t){return!!e&&("VoidTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function Xe(e,t){return!!e&&("IndexedAccessType"===e.type&&(void 0===t||h(e,t)))}function qe(e,t){return!!e&&("JSXAttribute"===e.type&&(void 0===t||h(e,t)))}function $e(e,t){return!!e&&("JSXElement"===e.type&&(void 0===t||h(e,t)))}function Ke(e,t){return!!e&&("JSXEmptyExpression"===e.type&&(void 0===t||h(e,t)))}function ze(e,t){return!!e&&("JSXExpressionContainer"===e.type&&(void 0===t||h(e,t)))}function Je(e,t){return!!e&&("JSXIdentifier"===e.type&&(void 0===t||h(e,t)))}function Ye(e,t){return!!e&&("JSXMemberExpression"===e.type&&(void 0===t||h(e,t)))}function Qe(e,t){return!!e&&("JSXNamespacedName"===e.type&&(void 0===t||h(e,t)))}function Ze(e,t){return!!e&&("JSXSpreadAttribute"===e.type&&(void 0===t||h(e,t)))}function et(e,t){return!!e&&("JSXText"===e.type&&(void 0===t||h(e,t)))}function tt(e,t){return!!e&&("Placeholder"===e.type&&(void 0===t||h(e,t)))}function rt(e,t){return!!e&&("BindExpression"===e.type&&(void 0===t||h(e,t)))}function nt(e,t){return!!e&&("ClassProperty"===e.type&&(void 0===t||h(e,t)))}function st(e,t){return!!e&&("PipelineTopicExpression"===e.type&&(void 0===t||h(e,t)))}function at(e,t){return!!e&&("ClassPrivateProperty"===e.type&&(void 0===t||h(e,t)))}function it(e,t){return!!e&&("ExportDefaultSpecifier"===e.type&&(void 0===t||h(e,t)))}function ot(e,t){return!!e&&("PrivateName"===e.type&&(void 0===t||h(e,t)))}function ut(e,t){return!!e&&("TSAnyKeyword"===e.type&&(void 0===t||h(e,t)))}function lt(e,t){return!!e&&("TSArrayType"===e.type&&(void 0===t||h(e,t)))}function ct(e,t){return!!e&&("TSOptionalType"===e.type&&(void 0===t||h(e,t)))}function pt(e,t){return!!e&&("TSRestType"===e.type&&(void 0===t||h(e,t)))}function dt(e,t){return!!e&&("TSUnionType"===e.type&&(void 0===t||h(e,t)))}function ft(e,t){return!!e&&("TSIntersectionType"===e.type&&(void 0===t||h(e,t)))}function ht(e,t){return!!e&&("TSAsExpression"===e.type&&(void 0===t||h(e,t)))}function mt(e,t){return!!e&&("TSTypeAssertion"===e.type&&(void 0===t||h(e,t)))}function yt(e,t){return!!e&&("TSNonNullExpression"===e.type&&(void 0===t||h(e,t)))}function gt(e,t){return!!e&&("TSTypeAnnotation"===e.type&&(void 0===t||h(e,t)))}function vt(e,t){if(!e)return!1;var r=e.type;return("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||"PipelinePrimaryTopicReference"===r||"DoExpression"===r||"RecordExpression"===r||"TupleExpression"===r||"DecimalLiteral"===r||"ModuleExpression"===r||"TSAsExpression"===r||"TSTypeAssertion"===r||"TSNonNullExpression"===r||"Placeholder"===r&&("Expression"===e.expectedNode||"Identifier"===e.expectedNode||"StringLiteral"===e.expectedNode))&&(void 0===t||h(e,t))}function bt(e,t){if(!e)return!1;var r=e.type;return("BinaryExpression"===r||"LogicalExpression"===r)&&(void 0===t||h(e,t))}function Et(e,t){if(!e)return!1;var r=e.type;return("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)&&(void 0===t||h(e,t))}function xt(e,t){if(!e)return!1;var r=e.type;return("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))&&(void 0===t||h(e,t))}function Dt(e,t){if(!e)return!1;var r=e.type;return("ConditionalExpression"===r||"IfStatement"===r)&&(void 0===t||h(e,t))}function At(e,t){if(!e)return!1;var r=e.type;return("DoWhileStatement"===r||"ForInStatement"===r||"ForStatement"===r||"WhileStatement"===r||"ForOfStatement"===r)&&(void 0===t||h(e,t))}function wt(e,t){if(!e)return!1;var r=e.type;return("ForInStatement"===r||"ForStatement"===r||"ForOfStatement"===r)&&(void 0===t||h(e,t))}function Ct(e,t){if(!e)return!1;var r=e.type;return("ForInStatement"===r||"ForOfStatement"===r)&&(void 0===t||h(e,t))}function St(e,t){if(!e)return!1;var r=e.type;return("FunctionDeclaration"===r||"FunctionExpression"===r||"ObjectMethod"===r||"ArrowFunctionExpression"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)&&(void 0===t||h(e,t))}function Tt(e,t){if(!e)return!1;var r=e.type;return("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)&&(void 0===t||h(e,t))}function jt(e,t){if(!e)return!1;var r=e.type;return("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)&&(void 0===t||h(e,t))}function Pt(e,t){if(!e)return!1;var r=e.type;return("StringLiteral"===r||"NumericLiteral"===r||"NullLiteral"===r||"BooleanLiteral"===r||"RegExpLiteral"===r||"TemplateLiteral"===r||"BigIntLiteral"===r||"DecimalLiteral"===r||"Placeholder"===r&&"StringLiteral"===e.expectedNode)&&(void 0===t||h(e,t))}function It(e,t){if(!e)return!1;var r=e.type;return("ObjectMethod"===r||"ClassMethod"===r||"ClassPrivateMethod"===r)&&(void 0===t||h(e,t))}function Ft(e,t){if(!e)return!1;var r=e.type;return("ObjectProperty"===r||"ClassProperty"===r||"ClassPrivateProperty"===r)&&(void 0===t||h(e,t))}function kt(e,t){if(!e)return!1;var r=e.type;return("UnaryExpression"===r||"SpreadElement"===r)&&(void 0===t||h(e,t))}function Ot(e,t){if(!e)return!1;var r=e.type;return("AssignmentPattern"===r||"ArrayPattern"===r||"ObjectPattern"===r||"Placeholder"===r&&"Pattern"===e.expectedNode)&&(void 0===t||h(e,t))}function Rt(e,t){if(!e)return!1;var r=e.type;return("ClassExpression"===r||"ClassDeclaration"===r)&&(void 0===t||h(e,t))}function Nt(e,t){if(!e)return!1;var r=e.type;return("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r||"ImportDeclaration"===r)&&(void 0===t||h(e,t))}function Bt(e,t){if(!e)return!1;var r=e.type;return("ExportAllDeclaration"===r||"ExportDefaultDeclaration"===r||"ExportNamedDeclaration"===r)&&(void 0===t||h(e,t))}function _t(e,t){if(!e)return!1;var r=e.type;return("ExportSpecifier"===r||"ImportDefaultSpecifier"===r||"ImportNamespaceSpecifier"===r||"ImportSpecifier"===r||"ExportNamespaceSpecifier"===r||"ExportDefaultSpecifier"===r)&&(void 0===t||h(e,t))}function Lt(e,t){if(!e)return!1;var r=e.type;return("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||"IndexedAccessType"===r||"OptionalIndexedAccessType"===r)&&(void 0===t||h(e,t))}function Mt(e,t){if(!e)return!1;var r=e.type;return("AnyTypeAnnotation"===r||"BooleanTypeAnnotation"===r||"NullLiteralTypeAnnotation"===r||"MixedTypeAnnotation"===r||"EmptyTypeAnnotation"===r||"NumberTypeAnnotation"===r||"StringTypeAnnotation"===r||"SymbolTypeAnnotation"===r||"ThisTypeAnnotation"===r||"VoidTypeAnnotation"===r)&&(void 0===t||h(e,t))}function Ut(e,t){if(!e)return!1;var r=e.type;return("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)&&(void 0===t||h(e,t))}function Gt(e,t,r){if(!M(e))return!1;var n,s=Array.isArray(t)?t:t.split("."),a=[];for(n=e;M(n);n=n.object)a.push(n.property);if(a.push(n),a.length<s.length)return!1;if(!r&&a.length>s.length)return!1;for(var i=0,o=a.length-1;i<s.length;i++,o--){var u=a[o],l=void 0;if(F(u))l=u.name;else if(R(u))l=u.value;else{if(!J(u))return!1;l="this"}if(s[i]!==l)return!1}return!0}function Vt(e,t){var r=e.split(".");return function(e){return Gt(e,r,t)}}var Wt=Vt("React.Component");var Ht=null;function Xt(e){if(null!==Ht&&(Ht.property,1)){var t=Ht;return Ht=Xt.prototype=null,t}return Ht=Xt.prototype=null==e?Object.create(null):e,new Xt}Xt();var qt=function(e){return Xt(e)},$t="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function Kt(e){if(e.__esModule)return e;var t=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach((function(r){var n=Object.getOwnPropertyDescriptor(e,r);Object.defineProperty(t,r,n.get?n:{enumerable:!0,get:function(){return e[r]}})})),t}function zt(e,t,r){return e(r={path:t,exports:{},require:function(e,t){return sr(e,null==t?r.path:t)}},r.exports),r.exports}const Jt=Object.create(null),Yt=Object.create(null),Qt={id:"<rollup>",exports:{},parent:void 0,filename:null,loaded:!1,children:[],paths:[]},Zt=["",".js",".json"];function er(e){const t=(e=e.replace(/\\/g,"/")).split("/"),r=""===t[0];for(let e=1;e<t.length;e++)"."!==t[e]&&""!==t[e]||t.splice(e--,1);for(let e=1;e<t.length;e++)".."===t[e]&&e>0&&".."!==t[e-1]&&"."!==t[e-1]&&(t.splice(--e,2),e--);return e=t.join("/"),r&&"/"!==e[0]?e="/"+e:0===e.length&&(e="."),e}function tr(){if(0===arguments.length)return".";let e;for(let t=0;t<arguments.length;++t){let r=arguments[t];r.length>0&&(void 0===e?e=r:e+="/"+r)}return void 0===e?".":e}function rr(e){if(0===e.length)return".";let t=e.length-1;for(;t>0;){const r=e.charCodeAt(t);if((47===r||92===r)&&t!==e.length-1)break;t--}return t>0?e.substr(0,t):47===e.chartCodeAt(0)||92===e.chartCodeAt(0)?e.charAt(0):"."}function nr(e,t,r){const n=function(e){let t=e[0];if("/"===t||"\\"===t)return!1;let r=e[1],n=e[2];return!(!("."!==t||r&&"/"!==r&&"\\"!==r)||!("."!==t||"."!==r||n&&"/"!==n&&"\\"!==n))&&(":"!==r||"/"!==n&&"\\"!==n)}(e);let s;for("/"===(e=er(e))[0]&&(t="/");s=n?er(t?t+"/node_modules/"+e:tr("node_modules",e)):t?er(t+"/"+e):e,!s.endsWith("/..");){for(let e=0;e<Zt.length;e++){const t=s+Zt[e];if(Yt[t])return t;if(Jt[t])return t}if(!n)break;const e=er(t+"/..");if(e===t)break;t=e}return null}function sr(e,t){const r=nr(e,t);if(null!==r){let e=Yt[r];if(e)return e.exports;const t=Jt[r];if(t){Yt[r]=e={id:r,filename:r,path:rr(r),exports:{},parent:Qt,loaded:!1,children:[],paths:[],require:function(t,r){return sr(t,null==r?e.path:r)}};try{t.call($t,e,e.exports)}catch(e){throw delete Yt[r],e}return e.loaded=!0,e.exports}}return require(e)}sr.cache=Yt,sr.resolve=function(e,t){const r=nr(e,t);return null!==r?r:require.resolve(e)};var ar=zt((function(e){var t,r,n=e.exports={};function s(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function i(e){if(t===setTimeout)return setTimeout(e,0);if((t===s||!t)&&setTimeout)return t=setTimeout,setTimeout(e,0);try{return t(e,0)}catch(r){try{return t.call(null,e,0)}catch(r){return t.call(this,e,0)}}}!function(){try{t="function"==typeof setTimeout?setTimeout:s}catch(e){t=s}try{r="function"==typeof clearTimeout?clearTimeout:a}catch(e){r=a}}();var o,u=[],l=!1,c=-1;function p(){l&&o&&(l=!1,o.length?u=o.concat(u):c=-1,u.length&&d())}function d(){if(!l){var e=i(p);l=!0;for(var t=u.length;t;){for(o=u,u=[];++c<t;)o&&o[c].run();c=-1,t=u.length}o=null,l=!1,function(e){if(r===clearTimeout)return clearTimeout(e);if((r===a||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(e);try{r(e)}catch(t){try{return r.call(null,e)}catch(t){return r.call(this,e)}}}(e)}}function f(e,t){this.fun=e,this.array=t}function h(){}n.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];u.push(new f(e,t)),1!==u.length||l||i(d)},f.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=h,n.addListener=h,n.once=h,n.off=h,n.removeListener=h,n.removeAllListeners=h,n.emit=h,n.prependListener=h,n.prependOnceListener=h,n.listeners=function(e){return[]},n.binding=function(e){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(e){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}}),"/$$rollup_base$$/node_modules/process");function ir(e,t){if(e===t)return!0;if(Zr[t])return!1;var r=en[t];if(r){if(r[0]===e)return!0;for(var n,s=f(r);!(n=s()).done;){if(e===n.value)return!0}}return!1}function or(e,t){if(e===t)return!0;var r=Ln[e];if(r)for(var n,s=f(r);!(n=s()).done;){if(t===n.value)return!0}return!1}function ur(e,t,r){return!!t&&(ir(t.type,e)?void 0===r||h(t,r):!r&&"Placeholder"===t.type&&e in en&&or(t.expectedNode,e))}var lr="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08c7\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d04-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31bf\u31f0-\u31ff\u3400-\u4dbf\u4e00-\u9ffc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7ca\ua7f5-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab69\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",cr="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b55-\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d81-\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1abf\u1ac0\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua82c\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",pr=new RegExp("["+lr+"]"),dr=new RegExp("["+lr+cr+"]");lr=cr=null;var fr=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,107,20,28,22,13,52,76,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,190,0,80,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8952,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42717,35,4148,12,221,3,5761,15,7472,3104,541,1507,4938],hr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,154,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,4759,9,787719,239];function mr(e,t){for(var r=65536,n=0,s=t.length;n<s;n+=2){if((r+=t[n])>e)return!1;if((r+=t[n+1])>=e)return!0}return!1}function yr(e){return e<65?36===e:e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&pr.test(String.fromCharCode(e)):mr(e,fr)))}function gr(e){return e<48?36===e:e<58||!(e<65)&&(e<=90||(e<97?95===e:e<=122||(e<=65535?e>=170&&dr.test(String.fromCharCode(e)):mr(e,fr)||mr(e,hr))))}function vr(e){for(var t=!0,r=0;r<e.length;r++){var n=e.charCodeAt(r);if(55296==(64512&n)&&r+1<e.length){var s=e.charCodeAt(++r);56320==(64512&s)&&(n=65536+((1023&n)<<10)+(1023&s))}if(t){if(t=!1,!yr(n))return!1}else if(!gr(n))return!1}return!t}var br=["implements","interface","let","package","private","protected","public","static","yield"],Er=["eval","arguments"],xr=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"]),Dr=new Set(br),Ar=new Set(Er);function wr(e,t){return t&&"await"===e||"enum"===e}function Cr(e,t){return wr(e,t)||Dr.has(e)}function Sr(e){return Ar.has(e)}function Tr(e,t){return Cr(e,t)||Sr(e)}function jr(e){return xr.has(e)}function Pr(e,t){return void 0===t&&(t=!0),"string"==typeof e&&((!t||!jr(e)&&!Cr(e,!0))&&vr(e))}var Ir=["consequent","body","alternate"],Fr=["left","init"],kr=["leadingComments","trailingComments","innerComments"],Or=["||","&&","??"],Rr=["++","--"],Nr=[">","<",">=","<="],Br=["==","===","!=","!=="],_r=[].concat(Br,["in","instanceof"]),Lr=[].concat(c(_r),Nr),Mr=["-","/","%","*","**","&","|",">>",">>>","<<","^"],Ur=["+"].concat(Mr,c(Lr)),Gr=["=","+="].concat(c(Mr.map((function(e){return e+"="}))),c(Or.map((function(e){return e+"="})))),Vr=["delete","!"],Wr=["+","-","~"],Hr=["typeof"],Xr=["void","throw"].concat(Vr,Wr,Hr),qr={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]},$r=Symbol.for("var used to be block scoped"),Kr=Symbol.for("should not be considered a local binding");function zr(e,t,r){if(e){var n=tn[e.type];if(n)Jr(e,t,r,n[t]),Yr(e,t,r)}}function Jr(e,t,r,n){null!=n&&n.validate&&(n.optional&&null==r||n.validate(e,t,r))}function Yr(e,t,r){if(null!=r){var n=sn[r.type];n&&n(e,t,r)}}var Qr={},Zr={},en={},tn={},rn={},nn={},sn={};function an(e){return Array.isArray(e)?"array":null===e?"null":typeof e}function on(e){return{validate:e}}function un(e){return"string"==typeof e?yn(e):yn.apply(void 0,c(e))}function ln(e){return on(un(e))}function cn(e){return{validate:e,optional:!0}}function pn(e){return{validate:un(e),optional:!0}}function dn(e){return t=un(e),En(vn("array"),hn(t));var t}function fn(e){return on(dn(e))}function hn(e){function t(t,r,n){if(Array.isArray(n))for(var s=0;s<n.length;s++){var a=r+"["+s+"]",i=n[s];e(t,a,i),ar.env.BABEL_TYPES_8_BREAKING&&Yr(t,a,i)}}return t.each=e,t}function mn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function n(e,r,n){if(t.indexOf(n)<0)throw new TypeError("Property "+r+" expected value to be one of "+JSON.stringify(t)+" but got "+JSON.stringify(n))}return n.oneOf=t,n}function yn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function n(e,r,n){for(var s,a=f(t);!(s=a()).done;){if(ur(s.value,n))return void Yr(e,r,n)}throw new TypeError("Property "+r+" of "+e.type+" expected node to be of a type "+JSON.stringify(t)+" but instead got "+JSON.stringify(null==n?void 0:n.type))}return n.oneOfNodeTypes=t,n}function gn(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function n(e,r,n){for(var s,a=f(t);!(s=a()).done;){var i=s.value;if(an(n)===i||ur(i,n))return void Yr(e,r,n)}throw new TypeError("Property "+r+" of "+e.type+" expected node to be of a type "+JSON.stringify(t)+" but instead got "+JSON.stringify(null==n?void 0:n.type))}return n.oneOfNodeOrValueTypes=t,n}function vn(e){function t(t,r,n){if(!(an(n)===e))throw new TypeError("Property "+r+" expected type of "+e+" but got "+an(n))}return t.type=e,t}function bn(){return function(e){for(var t,r=e;e;){var n=r.type;if("OptionalCallExpression"!==n){if("OptionalMemberExpression"!==n)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))}}function En(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];function n(){for(var e,r=f(t);!(e=r()).done;){var n=e.value;n.apply(void 0,arguments)}}if(n.chainOf=t,t.length>=2&&"type"in t[0]&&"array"===t[0].type&&!("each"in t[1]))throw new Error('An assertValueType("array") validator can only be followed by an assertEach(...) validator.');return n}var xn=["aliases","builder","deprecatedAlias","fields","inherits","visitor","validate"],Dn=["default","optional","validate"];function An(e,t){void 0===t&&(t={});var r=t.inherits&&wn[t.inherits]||{},n=t.fields;if(!n&&(n={},r.fields))for(var s,a=f(Object.getOwnPropertyNames(r.fields));!(s=a()).done;){var i=s.value,o=r.fields[i],u=o.default;if(Array.isArray(u)?u.length>0:u&&"object"==typeof u)throw new Error("field defaults can only be primitives or empty arrays currently");n[i]={default:Array.isArray(u)?[]:u,optional:o.optional,validate:o.validate}}for(var l=t.visitor||r.visitor||[],c=t.aliases||r.aliases||[],p=t.builder||r.builder||t.visitor||[],d=0,h=Object.keys(t);d<h.length;d++){var m=h[d];if(-1===xn.indexOf(m))throw new Error('Unknown type option "'+m+'" on '+e)}t.deprecatedAlias&&(nn[t.deprecatedAlias]=e);for(var y,g=f(l.concat(p));!(y=g()).done;){var v=y.value;n[v]=n[v]||{}}for(var b=0,E=Object.keys(n);b<E.length;b++){var x=E[b],D=n[x];void 0!==D.default&&-1===p.indexOf(x)&&(D.optional=!0),void 0===D.default?D.default=null:D.validate||null==D.default||(D.validate=vn(an(D.default)));for(var A=0,w=Object.keys(D);A<w.length;A++){var C=w[A];if(-1===Dn.indexOf(C))throw new Error('Unknown field key "'+C+'" on '+e+"."+x)}}Qr[e]=t.visitor=l,rn[e]=t.builder=p,tn[e]=t.fields=n,Zr[e]=t.aliases=c,c.forEach((function(t){en[t]=en[t]||[],en[t].push(e)})),t.validate&&(sn[e]=t.validate),wn[e]=t}var wn={};An("ArrayExpression",{fields:{elements:{validate:En(vn("array"),hn(gn("null","Expression","SpreadElement"))),default:ar.env.BABEL_TYPES_8_BREAKING?void 0:[]}},visitor:["elements"],aliases:["Expression"]}),An("AssignmentExpression",{fields:{operator:{validate:function(){if(!ar.env.BABEL_TYPES_8_BREAKING)return vn("string");var e=mn.apply(void 0,c(Gr)),t=mn("=");return function(r,n,s){(ur("Pattern",r.left)?t:e)(r,n,s)}}()},left:{validate:ar.env.BABEL_TYPES_8_BREAKING?yn("Identifier","MemberExpression","ArrayPattern","ObjectPattern"):yn("LVal")},right:{validate:yn("Expression")}},builder:["operator","left","right"],visitor:["left","right"],aliases:["Expression"]}),An("BinaryExpression",{builder:["operator","left","right"],fields:{operator:{validate:mn.apply(void 0,c(Ur))},left:{validate:function(){var e=yn("Expression"),t=yn("Expression","PrivateName"),r=function(r,n,s){var a="in"===r.operator?t:e;a(r,n,s)};return r.oneOfNodeTypes=["Expression","PrivateName"],r}()},right:{validate:yn("Expression")}},visitor:["left","right"],aliases:["Binary","Expression"]}),An("InterpreterDirective",{builder:["value"],fields:{value:{validate:vn("string")}}}),An("Directive",{visitor:["value"],fields:{value:{validate:yn("DirectiveLiteral")}}}),An("DirectiveLiteral",{builder:["value"],fields:{value:{validate:vn("string")}}}),An("BlockStatement",{builder:["body","directives"],visitor:["directives","body"],fields:{directives:{validate:En(vn("array"),hn(yn("Directive"))),default:[]},body:{validate:En(vn("array"),hn(yn("Statement")))}},aliases:["Scopable","BlockParent","Block","Statement"]}),An("BreakStatement",{visitor:["label"],fields:{label:{validate:yn("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),An("CallExpression",{visitor:["callee","arguments","typeParameters","typeArguments"],builder:["callee","arguments"],aliases:["Expression"],fields:Object.assign({callee:{validate:yn("Expression","V8IntrinsicIdentifier")},arguments:{validate:En(vn("array"),hn(yn("Expression","SpreadElement","JSXNamespacedName","ArgumentPlaceholder")))}},ar.env.BABEL_TYPES_8_BREAKING?{}:{optional:{validate:mn(!0,!1),optional:!0}},{typeArguments:{validate:yn("TypeParameterInstantiation"),optional:!0},typeParameters:{validate:yn("TSTypeParameterInstantiation"),optional:!0}})}),An("CatchClause",{visitor:["param","body"],fields:{param:{validate:yn("Identifier","ArrayPattern","ObjectPattern"),optional:!0},body:{validate:yn("BlockStatement")}},aliases:["Scopable","BlockParent"]}),An("ConditionalExpression",{visitor:["test","consequent","alternate"],fields:{test:{validate:yn("Expression")},consequent:{validate:yn("Expression")},alternate:{validate:yn("Expression")}},aliases:["Expression","Conditional"]}),An("ContinueStatement",{visitor:["label"],fields:{label:{validate:yn("Identifier"),optional:!0}},aliases:["Statement","Terminatorless","CompletionStatement"]}),An("DebuggerStatement",{aliases:["Statement"]}),An("DoWhileStatement",{visitor:["test","body"],fields:{test:{validate:yn("Expression")},body:{validate:yn("Statement")}},aliases:["Statement","BlockParent","Loop","While","Scopable"]}),An("EmptyStatement",{aliases:["Statement"]}),An("ExpressionStatement",{visitor:["expression"],fields:{expression:{validate:yn("Expression")}},aliases:["Statement","ExpressionWrapper"]}),An("File",{builder:["program","comments","tokens"],visitor:["program"],fields:{program:{validate:yn("Program")},comments:{validate:ar.env.BABEL_TYPES_8_BREAKING?hn(yn("CommentBlock","CommentLine")):Object.assign((function(){}),{each:{oneOfNodeTypes:["CommentBlock","CommentLine"]}}),optional:!0},tokens:{validate:hn(Object.assign((function(){}),{type:"any"})),optional:!0}}}),An("ForInStatement",{visitor:["left","right","body"],aliases:["Scopable","Statement","For","BlockParent","Loop","ForXStatement"],fields:{left:{validate:ar.env.BABEL_TYPES_8_BREAKING?yn("VariableDeclaration","Identifier","MemberExpression","ArrayPattern","ObjectPattern"):yn("VariableDeclaration","LVal")},right:{validate:yn("Expression")},body:{validate:yn("Statement")}}}),An("ForStatement",{visitor:["init","test","update","body"],aliases:["Scopable","Statement","For","BlockParent","Loop"],fields:{init:{validate:yn("VariableDeclaration","Expression"),optional:!0},test:{validate:yn("Expression"),optional:!0},update:{validate:yn("Expression"),optional:!0},body:{validate:yn("Statement")}}});var Cn={params:{validate:En(vn("array"),hn(yn("Identifier","Pattern","RestElement")))},generator:{default:!1},async:{default:!1}},Sn={returnType:{validate:yn("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},typeParameters:{validate:yn("TypeParameterDeclaration","TSTypeParameterDeclaration","Noop"),optional:!0}},Tn=Object.assign({},Cn,{declare:{validate:vn("boolean"),optional:!0},id:{validate:yn("Identifier"),optional:!0}});An("FunctionDeclaration",{builder:["id","params","body","generator","async"],visitor:["id","params","body","returnType","typeParameters"],fields:Object.assign({},Tn,Sn,{body:{validate:yn("BlockStatement")}}),aliases:["Scopable","Function","BlockParent","FunctionParent","Statement","Pureish","Declaration"],validate:function(){if(!ar.env.BABEL_TYPES_8_BREAKING)return function(){};var e=yn("Identifier");return function(t,r,n){ur("ExportDefaultDeclaration",t)||e(n,"id",n.id)}}()}),An("FunctionExpression",{inherits:"FunctionDeclaration",aliases:["Scopable","Function","BlockParent","FunctionParent","Expression","Pureish"],fields:Object.assign({},Cn,Sn,{id:{validate:yn("Identifier"),optional:!0},body:{validate:yn("BlockStatement")}})});var jn,Pn,In,Fn,kn,On={typeAnnotation:{validate:yn("TypeAnnotation","TSTypeAnnotation","Noop"),optional:!0},decorators:{validate:En(vn("array"),hn(yn("Decorator")))}};An("Identifier",{builder:["name"],visitor:["typeAnnotation","decorators"],aliases:["Expression","PatternLike","LVal","TSEntityName"],fields:Object.assign({},On,{name:{validate:En(vn("string"),Object.assign((function(e,t,r){if(ar.env.BABEL_TYPES_8_BREAKING&&!Pr(r,!1))throw new TypeError('"'+r+'" is not a valid identifier name')}),{type:"string"}))},optional:{validate:vn("boolean"),optional:!0}}),validate:function(e,t,r){if(ar.env.BABEL_TYPES_8_BREAKING){var n=/\.(\w+)$/.exec(t);if(n){var s=l(n,2)[1],a={computed:!1};if("property"===s){if(ur("MemberExpression",e,a))return;if(ur("OptionalMemberExpression",e,a))return}else if("key"===s){if(ur("Property",e,a))return;if(ur("Method",e,a))return}else if("exported"===s){if(ur("ExportSpecifier",e))return}else if("imported"===s){if(ur("ImportSpecifier",e,{imported:r}))return}else if("meta"===s&&ur("MetaProperty",e,{meta:r}))return;if((jr(r.name)||wr(r.name,!1))&&"this"!==r.name)throw new TypeError('"'+r.name+'" is not a valid identifier')}}}}),An("IfStatement",{visitor:["test","consequent","alternate"],aliases:["Statement","Conditional"],fields:{test:{validate:yn("Expression")},consequent:{validate:yn("Statement")},alternate:{optional:!0,validate:yn("Statement")}}}),An("LabeledStatement",{visitor:["label","body"],aliases:["Statement"],fields:{label:{validate:yn("Identifier")},body:{validate:yn("Statement")}}}),An("StringLiteral",{builder:["value"],fields:{value:{validate:vn("string")}},aliases:["Expression","Pureish","Literal","Immutable"]}),An("NumericLiteral",{builder:["value"],deprecatedAlias:"NumberLiteral",fields:{value:{validate:vn("number")}},aliases:["Expression","Pureish","Literal","Immutable"]}),An("NullLiteral",{aliases:["Expression","Pureish","Literal","Immutable"]}),A