diff --git a/.gitignore b/.gitignore index e3111b6..1d5dc8d 100644 --- a/.gitignore +++ b/.gitignore @@ -7,4 +7,5 @@ sitemap* .xml .htsecure cron/yasprav.log -vizitka/tmp/ \ No newline at end of file +vizitka/tmp/ +vkteamssetup.exe \ No newline at end of file diff --git a/about/index.php b/about/index.php index 0be9e33..f2a5b3c 100644 --- a/about/index.php +++ b/about/index.php @@ -1,6 +1,8 @@ SetTitle("О Компании"); +$APPLICATION->SetPageProperty("keywords", "Эволюция Автолизинга, о компании Эволюция Автолизинга, история развития Эволюция Автолизинга, достижения компании Эволюция Автолизинга"); +$APPLICATION->SetPageProperty("description", "Эволюция – самая динамично развивающаяся автолизинговая компания России. Благодаря огромному опыту в лизинге и лучшим практикам на рынке, за год работы вошли в Топ 10 лизинговых компаний."); +$APPLICATION->SetTitle("Эволюция Автолизинга: история развития и достижения компании"); ?>
diff --git a/api/index.php b/api/index.php index dd328a6..a4e1158 100644 --- a/api/index.php +++ b/api/index.php @@ -2035,7 +2035,7 @@ switch($PARAM_1) "name" => $rules_ar_res['NAME'], "active_from" => $rules_ar_res['ACTIVE_FROM'], "filename" => $f->Fetch()['ORIGINAL_NAME'], - "url" => CFile::GetPath($rules_ar_res['PROPERTIES']['FILE']['VALUE']), + "url" => "https://".SITE_SERVER_NAME.CFile::GetPath($rules_ar_res['PROPERTIES']['FILE']['VALUE']), ]; } @@ -2067,7 +2067,7 @@ switch($PARAM_1) "name" => $materials_ar_res['NAME'], "description" => $materials_ar_res['PREVIEW_TEXT'], "filename" => $f->Fetch()['ORIGINAL_NAME'], - "url" => CFile::GetPath($materials_ar_res['PROPERTIES']['FILE']['VALUE']), + "url" => "https://".SITE_SERVER_NAME.CFile::GetPath($materials_ar_res['PROPERTIES']['FILE']['VALUE']), ]; } @@ -2128,7 +2128,7 @@ switch($PARAM_1) $file = [ "filename" => $f->Fetch()['ORIGINAL_NAME'], - "url" => CFile::GetPath($file_id), + "url" => "https://".SITE_SERVER_NAME.CFile::GetPath($file_id), ]; $file['extension'] = strtoupper(get_ext_from_mime($f->arResult[0]['CONTENT_TYPE'])); @@ -2150,39 +2150,12 @@ switch($PARAM_1) ]; $questions[] = $question; - //$questions[] = $questions_ar_res; - /*[ - "name" => $questions_ar_res['NAME'], - "filename" => $f->Fetch()['ORIGINAL_NAME'], - "url" => CFile::GetPath($rules_ar_res['PROPERTIES']['FILE']['VALUE']), - ]; - */ } $theme['questions'] = $questions; array_push($themes, $theme); - //print_r($theme_result); - //print "\n\n"; } - /* - $rules_res = CIBlockElement::GetList($sort, $filter, false, $options); - while ($rules_ob_element = $rules_res->GetNextElement()) - { - $rules_ar_res = $rules_ob_element->GetFields(); - $rules_ar_res['PROPERTIES'] = $rules_ob_element->GetProperties(); - - $f = CFile::GetByID($rules_ar_res['PROPERTIES']['FILE']['VALUE']); - - $rules[] = [ - "name" => $rules_ar_res['NAME'], - "active_from" => $rules_ar_res['ACTIVE_FROM'], - "filename" => $f->Fetch()['ORIGINAL_NAME'], - "url" => CFile::GetPath($rules_ar_res['PROPERTIES']['FILE']['VALUE']), - ]; - } - */ - print json_encode([ "themes" => $themes, ]); diff --git a/chat/.section.php b/chat/.section.php new file mode 100644 index 0000000..f1e19f6 --- /dev/null +++ b/chat/.section.php @@ -0,0 +1,3 @@ + \ No newline at end of file diff --git a/chat/index.php b/chat/index.php new file mode 100644 index 0000000..d8fde5a --- /dev/null +++ b/chat/index.php @@ -0,0 +1,22 @@ +SetTitle("Эволюция автолизинга: finlab"); +?>
+ + + + + +
+IncludeComponent( + "evolution:form.leasing.nomail", + "", +Array() +);?> +
+ +
+ + \ No newline at end of file diff --git a/local/components/evolution/about.roadmap/templates/.default/style.css b/local/components/evolution/about.roadmap/templates/.default/style.css index e69de29..0f612c7 100644 --- a/local/components/evolution/about.roadmap/templates/.default/style.css +++ b/local/components/evolution/about.roadmap/templates/.default/style.css @@ -0,0 +1,30 @@ + .lines_title h2 { + font-weight: 700; + font-size: 70px; + line-height: 120%; + color: #0C0C0C; + } + .lines_title h2 span { + display: block; + color: var(--blue); + } + @media (max-width: 1600px) { + .lines_title h2 { + font-size: 54px; + } + } + + @media all and (max-width: 920px) { + .lines_title h2 { + font-size: 45px; + } + } + @media (max-width: 767px) { + + .lines_title h2 { + font-size: 27px; + order: 2; + margin-top: 20px !important; + width: 100%; + } + } diff --git a/local/components/evolution/about.roadmap/templates/.default/template.php b/local/components/evolution/about.roadmap/templates/.default/template.php index 73649d6..da927fb 100644 --- a/local/components/evolution/about.roadmap/templates/.default/template.php +++ b/local/components/evolution/about.roadmap/templates/.default/template.php @@ -16,10 +16,10 @@ $this->setFrameMode(true);

Эволюция – самая динамично развивающаяся автолизинговая компания России. Благодаря огромному опыту в лизинге и лучшим практикам на рынке, за год работы вошли в Топ 10 лизинговых компаний.

-

+

Уникальный путь развития -

+

Скачать презентацию diff --git a/local/templates/404/footer.php b/local/templates/404/footer.php index 4c4ac32..9465877 100644 --- a/local/templates/404/footer.php +++ b/local/templates/404/footer.php @@ -69,7 +69,7 @@
- + diff --git a/local/templates/404/header.php b/local/templates/404/header.php index ae41341..4b386e3 100644 --- a/local/templates/404/header.php +++ b/local/templates/404/header.php @@ -12,9 +12,9 @@ IncludeTemplateLangFile(__FILE__); })(window,document,'script','dataLayer','GTM-W9PFQ4P'); SetAdditionalCSS("/local/templates/evolution/css/style.css"); ?> - AddHeadScript('https://unpkg.com/react@17/umd/react.development.js'); ?> - AddHeadScript('https://unpkg.com/react-dom@17/umd/react-dom.development.js'); ?> - AddHeadScript('https://unpkg.com/babel-standalone@6/babel.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/react.production.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/react-dom.production.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/babel.min.js'); ?> diff --git a/local/templates/evolution/footer.php b/local/templates/evolution/footer.php index d1a4045..e571754 100644 --- a/local/templates/evolution/footer.php +++ b/local/templates/evolution/footer.php @@ -82,8 +82,8 @@

Мы используем cookies для улучшения использования сайта.

- + diff --git a/local/templates/evolution/header.php b/local/templates/evolution/header.php index 81f9818..28d46df 100644 --- a/local/templates/evolution/header.php +++ b/local/templates/evolution/header.php @@ -12,9 +12,9 @@ IncludeTemplateLangFile(__FILE__); })(window,document,'script','dataLayer','GTM-W9PFQ4P'); SetAdditionalCSS("/local/templates/evolution/css/style.css"); ?> - AddHeadScript('https://unpkg.com/react@17/umd/react.development.js'); ?> - AddHeadScript('https://unpkg.com/react-dom@17/umd/react-dom.development.js'); ?> - AddHeadScript('https://unpkg.com/babel-standalone@6/babel.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/react.production.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/react-dom.production.min.js'); ?> + AddHeadScript('/local/templates/evolution/js/babel.min.js'); ?> diff --git a/local/templates/evolution/js/babel.min.js b/local/templates/evolution/js/babel.min.js new file mode 100644 index 0000000..3ebf358 --- /dev/null +++ b/local/templates/evolution/js/babel.min.js @@ -0,0 +1 @@ +!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Babel=t():e.Babel=t()}(this,function(){return function(e){function t(n){if(r[n])return r[n].exports;var i=r[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var r={};return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=276)}([function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=P["is"+e];t||(t=P["is"+e]=function(t,r){return P.is(e,t,r)}),P["assert"+e]=function(r,n){if(n=n||{},!t(r,n))throw new Error("Expected type "+JSON.stringify(e)+" with option "+JSON.stringify(n))}}function a(e,t){if(e===t)return!0;if(P.ALIAS_KEYS[t])return!1;var r=P.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(var n=r,i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}if(e===o)return!0}}return!1}function o(e,t,r){if(e){var n=P.NODE_FIELDS[e.type];if(n){var i=n[t];i&&i.validate&&(i.optional&&null==r||i.validate(e,t,r))}}}function s(e){if(!e)return e;var t={};for(var r in e)"_"!==r[0]&&(t[r]=e[r]);return t}function u(e,t,r){if(!P.isMemberExpression(e))return!1;var n,i=Array.isArray(t)?t:t.split("."),a=[];for(n=e;P.isMemberExpression(n);n=n.object)a.push(n.property);if(a.push(n),a.lengthi.length)return!1;for(var o=0,s=a.length-1;o=i.length)break;s=i[o++]}else{if((o=i.next()).done)break;s=o.value}var u=e[s];if(Array.isArray(u))for(var l=u,c=Array.isArray(l),p=0,l=c?l:l[Symbol.iterator]();;){var f;if(c){if(p>=l.length)break;f=l[p++]}else{if((p=l.next()).done)break;f=p.value}m(f,t,r)}else m(u,t,r)}}}}function y(e,t){for(var r=(t=t||{}).preserveComments?k:F,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;null!=e[o]&&(e[o]=void 0)}for(var s in e)"_"===s[0]&&null!=e[s]&&(e[s]=void 0);for(var u=Object.getOwnPropertySymbols(e),l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}e[p]=null}}t.__esModule=!0,t.isRestProperty=function(){return P.isRestElement.apply(P,arguments)},t.isSpreadProperty=function(){return P.isSpreadElement.apply(P,arguments)},t.is=function(e,t,r){return!!t&&!!a(t.type,e)&&(void 0===r||P.shallowEqual(t,r))},t.isType=a,t.validate=o,t.shallowEqual=function(e,t){for(var r=Object.keys(t),n=0;n=t.length)break;i=t[n++]}else{if((n=t.next()).done)break;i=n.value}e[i]=null}return e},t.inheritsComments=function(e,t){return c(e,t),p(e,t),f(e,t),e},t.inheritTrailingComments=c,t.inheritLeadingComments=p,t.inheritInnerComments=f,t.inherits=function(e,t){if(!e||!t)return e;for(var r=P.INHERIT_KEYS.optional,n=0;nr.length)throw new Error("t."+e+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+r.length);var t={};t.type=e;for(var n=0,i=r,a=0;a1?t-1:0),n=1;n2?r-2:0),i=2;i=a.length)break;p=a[c++]}else{if((c=a.next()).done)break;p=c.value}var f=p,d=f[0],h=f[1];"number"!=typeof d&&(u.has(h)?i[h]=u.get(h):i[h]=n[d])}t[0]=i}return v.apply(void 0,t)}}function s(e,t){var r;try{throw new Error}catch(e){e.stack&&(r=e.stack.split("\n").slice(2).join("\n"))}t=Object.assign({allowReturnOutsideFunction:!0,allowSuperOutsideMethod:!0,preserveComments:!1},t);var n=function(){var i;try{i=f.parse(e,t),i=p.default.removeProperties(i,{preserveComments:t.preserveComments})}catch(t){var a=t.loc;throw a&&(t.loc=null,t.message+="\n"+(0,d.codeFrameColumns)(e,{start:a})),t.stack=t.stack+"\n ==========================\n"+r,t}return n=function(){return i},i};return function(){for(var e=arguments.length,t=new Array(e),r=0;r1?r.body:r.body[0]}t.__esModule=!0,t.default=function(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}if(e===o)return!0}}return!1}function o(e,t,r){if(e){var n=w.NODE_FIELDS[e.type];if(n){var i=n[t];i&&i.validate&&(i.optional&&null==r||i.validate(e,t,r))}}}function s(e){if(!e)return e;var t={};for(var r in e)"_"!==r[0]&&(t[r]=e[r]);return t}function u(e,t){p("trailingComments",e,t)}function l(e,t){p("leadingComments",e,t)}function c(e,t){p("innerComments",e,t)}function p(e,t,r){t&&r&&(t[e]=(0,C.default)([].concat(t[e],r[e]).filter(Boolean)))}function f(e){return!(!e||!P.VISITOR_KEYS[e.type])}function d(e,t,r){if(e){var n=w.VISITOR_KEYS[e.type];if(n){t(e,r=r||{});for(var i=n,a=Array.isArray(i),o=0,i=a?i:(0,y.default)(i);;){var s;if(a){if(o>=i.length)break;s=i[o++]}else{if((o=i.next()).done)break;s=o.value}var u=e[s];if(Array.isArray(u))for(var l=u,c=Array.isArray(l),p=0,l=c?l:(0,y.default)(l);;){var f;if(c){if(p>=l.length)break;f=l[p++]}else{if((p=l.next()).done)break;f=p.value}d(f,t,r)}else d(u,t,r)}}}}function h(e,t){for(var r=(t=t||{}).preserveComments?F:N,n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;null!=e[o]&&(e[o]=void 0)}for(var s in e)"_"===s[0]&&null!=e[s]&&(e[s]=void 0);for(var u=(0,m.default)(e),l=Array.isArray(u),c=0,u=l?u:(0,y.default)(u);;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}e[p]=null}}t.__esModule=!0,t.createTypeAnnotationBasedOnTypeof=t.removeTypeDuplicates=t.createUnionTypeAnnotation=t.valueToNode=t.toBlock=t.toExpression=t.toStatement=t.toBindingIdentifierName=t.toIdentifier=t.toKeyAlias=t.toSequenceExpression=t.toComputedKey=t.isNodesEquivalent=t.isImmutable=t.isScope=t.isSpecifierDefault=t.isVar=t.isBlockScoped=t.isLet=t.isValidIdentifier=t.isReferenced=t.isBinding=t.getOuterBindingIdentifiers=t.getBindingIdentifiers=t.TYPES=t.react=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var m=n(r(253)),y=n(r(16)),v=n(r(73)),g=n(r(36)),b=r(126);Object.defineProperty(t,"STATEMENT_OR_BLOCK_KEYS",{enumerable:!0,get:function(){return b.STATEMENT_OR_BLOCK_KEYS}}),Object.defineProperty(t,"FLATTENABLE_KEYS",{enumerable:!0,get:function(){return b.FLATTENABLE_KEYS}}),Object.defineProperty(t,"FOR_INIT_KEYS",{enumerable:!0,get:function(){return b.FOR_INIT_KEYS}}),Object.defineProperty(t,"COMMENT_KEYS",{enumerable:!0,get:function(){return b.COMMENT_KEYS}}),Object.defineProperty(t,"LOGICAL_OPERATORS",{enumerable:!0,get:function(){return b.LOGICAL_OPERATORS}}),Object.defineProperty(t,"UPDATE_OPERATORS",{enumerable:!0,get:function(){return b.UPDATE_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"EQUALITY_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.EQUALITY_BINARY_OPERATORS}}),Object.defineProperty(t,"COMPARISON_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.COMPARISON_BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_BINARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_UNARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.NUMBER_UNARY_OPERATORS}}),Object.defineProperty(t,"STRING_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.STRING_UNARY_OPERATORS}}),Object.defineProperty(t,"UNARY_OPERATORS",{enumerable:!0,get:function(){return b.UNARY_OPERATORS}}),Object.defineProperty(t,"INHERIT_KEYS",{enumerable:!0,get:function(){return b.INHERIT_KEYS}}),Object.defineProperty(t,"BLOCK_SCOPED_SYMBOL",{enumerable:!0,get:function(){return b.BLOCK_SCOPED_SYMBOL}}),Object.defineProperty(t,"NOT_LOCAL_BINDING",{enumerable:!0,get:function(){return b.NOT_LOCAL_BINDING}}),t.is=function(e,t,r){return!!t&&!!a(t.type,e)&&(void 0===r||w.shallowEqual(t,r))},t.isType=a,t.validate=o,t.shallowEqual=function(e,t){for(var r=(0,v.default)(t),n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;if(e[o]!==t[o])return!1}return!0},t.appendToMemberExpression=function(e,t,r){return e.object=w.memberExpression(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e},t.prependToMemberExpression=function(e,t){return e.object=w.memberExpression(t,e.object),e},t.ensureBlock=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body";return e[t]=w.toBlock(e[t],e)},t.clone=s,t.cloneWithoutLoc=function(e){var t=s(e);return delete t.loc,t},t.cloneDeep=function(e){if(!e)return e;var t={};for(var r in e)if("_"!==r[0]){var n=e[r];n&&(n.type?n=w.cloneDeep(n):Array.isArray(n)&&(n=n.map(w.cloneDeep))),t[r]=n}return t},t.buildMatchMemberExpression=function(e,t){var r=e.split(".");return function(e){if(!w.isMemberExpression(e))return!1;for(var n=[e],i=0;n.length;){var a=n.shift();if(t&&i===r.length)return!0;if(w.isIdentifier(a)){if(r[i]!==a.name)return!1}else{if(!w.isStringLiteral(a)){if(w.isMemberExpression(a)){if(a.computed&&!w.isStringLiteral(a.property))return!1;n.push(a.object),n.push(a.property);continue}return!1}if(r[i]!==a.value)return!1}if(++i>r.length)return!1}return!0}},t.removeComments=function(e){for(var t=w.COMMENT_KEYS,r=Array.isArray(t),n=0,t=r?t:(0,y.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if((n=t.next()).done)break;i=n.value}delete e[i]}return e},t.inheritsComments=function(e,t){return u(e,t),l(e,t),c(e,t),e},t.inheritTrailingComments=u,t.inheritLeadingComments=l,t.inheritInnerComments=c,t.inherits=function(e,t){if(!e||!t)return e;for(var r=w.INHERIT_KEYS.optional,n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;null==e[o]&&(e[o]=t[o])}for(var s in t)"_"===s[0]&&(e[s]=t[s]);for(var u=w.INHERIT_KEYS.force,l=Array.isArray(u),c=0,u=l?u:(0,y.default)(u);;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}var f=p;e[f]=t[f]}return w.inheritsComments(e,t),e},t.assertNode=function(e){if(!f(e))throw new TypeError("Not a valid node "+(e&&e.type))},t.isNode=f,t.traverseFast=d,t.removeProperties=h,t.removePropertiesDeep=function(e,t){return d(e,h,t),e};var E=r(265);Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return E.getBindingIdentifiers}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return E.getOuterBindingIdentifiers}});var x=r(603);Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return x.isBinding}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return x.isReferenced}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return x.isValidIdentifier}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return x.isLet}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return x.isBlockScoped}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return x.isVar}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return x.isSpecifierDefault}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return x.isScope}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return x.isImmutable}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return x.isNodesEquivalent}});var A=r(611);Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return A.toComputedKey}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return A.toSequenceExpression}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return A.toKeyAlias}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return A.toIdentifier}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return A.toBindingIdentifierName}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return A.toStatement}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return A.toExpression}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return A.toBlock}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return A.valueToNode}});var S=r(614);Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return S.createUnionTypeAnnotation}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return S.removeTypeDuplicates}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return S.createTypeAnnotationBasedOnTypeof}});var _=n(r(268)),T=n(r(37)),C=n(r(89));r(615);var P=r(17),D=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(622)),w=t;t.VISITOR_KEYS=P.VISITOR_KEYS,t.ALIAS_KEYS=P.ALIAS_KEYS,t.NODE_FIELDS=P.NODE_FIELDS,t.BUILDER_KEYS=P.BUILDER_KEYS,t.DEPRECATED_KEYS=P.DEPRECATED_KEYS,t.react=D;for(var O in w.VISITOR_KEYS)i(O);w.FLIPPED_ALIAS_KEYS={},(0,v.default)(w.ALIAS_KEYS).forEach(function(e){w.ALIAS_KEYS[e].forEach(function(t){(w.FLIPPED_ALIAS_KEYS[t]=w.FLIPPED_ALIAS_KEYS[t]||[]).push(e)})}),(0,v.default)(w.FLIPPED_ALIAS_KEYS).forEach(function(e){w[e.toUpperCase()+"_TYPES"]=w.FLIPPED_ALIAS_KEYS[e],i(e)});t.TYPES=(0,v.default)(w.VISITOR_KEYS).concat((0,v.default)(w.FLIPPED_ALIAS_KEYS)).concat((0,v.default)(w.DEPRECATED_KEYS));(0,v.default)(w.BUILDER_KEYS).forEach(function(e){function t(){if(arguments.length>r.length)throw new Error("t."+e+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+r.length);var t={};t.type=e;for(var n=0,i=r,a=Array.isArray(i),s=0,i=a?i:(0,y.default)(i);;){var u;if(a){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var l=u,c=w.NODE_FIELDS[e][l],p=arguments[n++];void 0===p&&(p=(0,T.default)(c.default)),t[l]=p}for(var f in t)o(t,f,t[f]);return t}var r=w.BUILDER_KEYS[e];w[e]=t,w[e[0].toLowerCase()+e.slice(1)]=t});for(var k in w.DEPRECATED_KEYS)!function(e){function t(t){return function(){return console.trace("The node type "+e+" has been renamed to "+r),t.apply(this,arguments)}}var r=w.DEPRECATED_KEYS[e];w[e]=w[e[0].toLowerCase()+e.slice(1)]=t(w[r]),w["is"+e]=t(w["is"+r]),w["assert"+e]=t(w["assert"+r])}(k);(0,_.default)(w),(0,_.default)(w.VISITOR_KEYS);var F=["tokens","start","end","loc","raw","rawValue"],N=w.COMMENT_KEYS.concat(["comments"]).concat(F)},function(e,t){var r=Array.isArray;e.exports=r},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(e){return e&&e.__esModule?e:{default:e}}function a(e,t,r,n,i){if(e){if(t||(t={}),!t.noScope&&!r&&"Program"!==e.type&&"File"!==e.type)throw new Error("You must pass a scope and parentPath unless traversing a Program/File. Instead of that you tried to traverse a "+e.type+" node without passing scope and parentPath.");u.explode(t),a.node(e,t,r,n,i)}}function o(e,t){e.node.type===t.type&&(t.has=!0,e.stop())}t.__esModule=!0,t.default=a,Object.defineProperty(t,"NodePath",{enumerable:!0,get:function(){return f.default}}),Object.defineProperty(t,"Scope",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(t,"Hub",{enumerable:!0,get:function(){return h.default}}),t.visitors=void 0;var s=i(r(279)),u=n(r(409));t.visitors=u;var l=i(r(96)),c=n(r(0)),p=n(r(59)),f=i(r(20)),d=i(r(95)),h=i(r(167));a.visitors=u,a.verify=u.verify,a.explode=u.explode,a.NodePath=r(20),a.Scope=r(95),a.Hub=r(167),a.cheap=function(e,t){return c.traverseFast(e,t)},a.node=function(e,t,r,n,i,a){var o=c.VISITOR_KEYS[e.type];if(o)for(var u=new s.default(r,t,n,i),l=o,p=Array.isArray(l),f=0,l=p?l:l[Symbol.iterator]();;){var d;if(p){if(f>=l.length)break;d=l[f++]}else{if((f=l.next()).done)break;d=f.value}var h=d;if((!a||!a[h])&&u.visit(e,h))return}},a.clearNode=function(e,t){c.removeProperties(e,t),p.path.delete(e)},a.removeProperties=function(e,t){return c.traverseFast(e,a.clearNode,t),e},a.hasType=function(e,t,r){if((0,l.default)(r,e.type))return!1;if(e.type===t)return!0;var n={has:!1,type:t};return a(e,{noScope:!0,blacklist:r,enter:o},null,n),n.has},a.cache=p},function(e,t){var r=e.exports={version:"2.5.1"};"number"==typeof __e&&(__e=r)},function(e,t,r){function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=r(133),a="object"==("undefined"==typeof self?"undefined":n(self))&&self&&self.Object===Object&&self,o=i||a||Function("return this")();e.exports=o},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){var t=r(e);return null!=e&&("object"==t||"function"==t)}},function(e,t){function r(){throw new Error("setTimeout has not been defined")}function n(){throw new Error("clearTimeout has not been defined")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===r||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function a(e){if(p===clearTimeout)return clearTimeout(e);if((p===n||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function o(){m&&d&&(m=!1,d.length?h=d.concat(h):y=-1,h.length&&s())}function s(){if(!m){var e=i(o);m=!0;for(var t=h.length;t;){for(d=h,h=[];++y1)for(var r=1;r=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=-1&&!i;a--){var o=a>=0?arguments[a]:e.cwd();if("string"!=typeof o)throw new TypeError("Arguments to path.resolve must be strings");o&&(t=o+"/"+t,i="/"===o.charAt(0))}return t=r(n(t.split("/"),function(e){return!!e}),!i).join("/"),(i?"/":"")+t||"."},t.normalize=function(e){var i=t.isAbsolute(e),a="/"===o(e,-1);return(e=r(n(e.split("/"),function(e){return!!e}),!i).join("/"))||i||(e="."),e&&a&&(e+="/"),(i?"/":"")+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=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("/")),a=n(r.split("/")),o=Math.min(i.length,a.length),s=o,u=0;u=0;s--)if(u[s]!==l[s])return!1;for(s=u.length-1;s>=0;s--)if(o=u[s],!h(e[o],t[o],r,n))return!1;return!0}function v(e,t,r){h(e,t,!0)&&f(e,t,r,"notDeepStrictEqual",v)}function g(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(e){}return!Error.isPrototypeOf(t)&&!0===t.call({},e)}function b(e){var t;try{e()}catch(e){t=e}return t}function E(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=b(t),n=(r&&r.name?" ("+r.name+").":".")+(n?" "+n:"."),e&&!i&&f(i,r,"Missing expected exception"+n);var a="string"==typeof n,o=!e&&x.isError(i),s=!e&&i&&!r;if((o&&a&&g(i,r)||s)&&f(i,r,"Got unwanted exception"+n),e&&i&&r&&!g(i,r)||!e&&i)throw i}var x=r(205),A=Object.prototype.hasOwnProperty,S=Array.prototype.slice,_="foo"===function(){}.name,T=e.exports=d,C=/\s*function\s+([^\(\s]*)\s*/;T.AssertionError=function(e){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=p(this),this.generatedMessage=!0);var t=e.stackStartFunction||f;if(Error.captureStackTrace)Error.captureStackTrace(this,t);else{var r=new Error;if(r.stack){var n=r.stack,i=u(t),a=n.indexOf("\n"+i);if(a>=0){var o=n.indexOf("\n",a+1);n=n.substring(o+1)}this.stack=n}}},x.inherits(T.AssertionError,Error),T.fail=f,T.ok=d,T.equal=function(e,t,r){e!=t&&f(e,t,r,"==",T.equal)},T.notEqual=function(e,t,r){e==t&&f(e,t,r,"!=",T.notEqual)},T.deepEqual=function(e,t,r){h(e,t,!1)||f(e,t,r,"deepEqual",T.deepEqual)},T.deepStrictEqual=function(e,t,r){h(e,t,!0)||f(e,t,r,"deepStrictEqual",T.deepStrictEqual)},T.notDeepEqual=function(e,t,r){h(e,t,!1)&&f(e,t,r,"notDeepEqual",T.notDeepEqual)},T.notDeepStrictEqual=v,T.strictEqual=function(e,t,r){e!==t&&f(e,t,r,"===",T.strictEqual)},T.notStrictEqual=function(e,t,r){e===t&&f(e,t,r,"!==",T.notStrictEqual)},T.throws=function(e,t,r){E(!0,e,t,r)},T.doesNotThrow=function(e,t,r){E(!1,e,t,r)},T.ifError=function(e){if(e)throw e};var P=Object.keys||function(e){var t=[];for(var r in e)A.call(e,r)&&t.push(r);return t}}).call(t,r(22))},function(e,t){var r=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(e,t,r){var n=r(114)("wks"),i=r(70),a=r(14).Symbol,o="function"==typeof a;(e.exports=function(e){return n[e]||(n[e]=o&&a[e]||(o?a:i)("Symbol."+e))}).store=n},function(e,t,r){e.exports={default:r(586),__esModule:!0}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":void 0===e?"undefined":(0,u.default)(e)}function a(e){function t(t,r,n){if(!(i(n)===e))throw new TypeError("Property "+r+" expected type of "+e+" but got "+i(n))}return t.type=e,t}t.__esModule=!0,t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var o=n(r(16)),s=n(r(36)),u=n(r(74));t.assertEach=function(e){function t(t,r,n){if(Array.isArray(n))for(var i=0;i=a.length)break;p=a[c++]}else{if((c=a.next()).done)break;p=c.value}var f=p;if(l.is(f,n)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,s.default)(r)+" but instead got "+(0,s.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=u.length)break;f=u[p++]}else{if((p=u.next()).done)break;f=p.value}var d=f;if(i(n)===d||l.is(d,n)){a=!0;break}}if(!a)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,s.default)(r)+" but instead got "+(0,s.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=e.length)break;i=e[n++]}else{if((n=e.next()).done)break;i=n.value}i.apply(void 0,arguments)}}for(var t=arguments.length,r=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.inherits&&m[t.inherits]||{};t.fields=t.fields||r.fields||{},t.visitor=t.visitor||r.visitor||[],t.aliases=t.aliases||r.aliases||[],t.builder=t.builder||r.builder||t.visitor||[],t.deprecatedAlias&&(h[t.deprecatedAlias]=e);for(var n=t.visitor.concat(t.builder),s=Array.isArray(n),u=0,n=s?n:(0,o.default)(n);;){var l;if(s){if(u>=n.length)break;l=n[u++]}else{if((u=n.next()).done)break;l=u.value}var y=l;t.fields[y]=t.fields[y]||{}}for(var v in t.fields){var g=t.fields[v];-1===t.builder.indexOf(v)&&(g.optional=!0),void 0===g.default?g.default=null:g.validate||(g.validate=a(i(g.default)))}c[e]=t.visitor,d[e]=t.builder,f[e]=t.fields,p[e]=t.aliases,m[e]=t};var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(2)),c=t.VISITOR_KEYS={},p=t.ALIAS_KEYS={},f=t.NODE_FIELDS={},d=t.BUILDER_KEYS={},h=t.DEPRECATED_KEYS={},m={}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){var t=w["is"+e];t||(t=w["is"+e]=function(t,r){return w.is(e,t,r)}),w["assert"+e]=function(r,n){if(n=n||{},!t(r,n))throw new Error("Expected type "+(0,g.default)(e)+" with option "+(0,g.default)(n))}}function a(e,t){if(e===t)return!0;if(w.ALIAS_KEYS[t])return!1;var r=w.FLIPPED_ALIAS_KEYS[t];if(r){if(r[0]===e)return!0;for(var n=r,i=Array.isArray(n),a=0,n=i?n:(0,y.default)(n);;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}if(e===o)return!0}}return!1}function o(e,t,r){if(e){var n=w.NODE_FIELDS[e.type];if(n){var i=n[t];i&&i.validate&&(i.optional&&null==r||i.validate(e,t,r))}}}function s(e){if(!e)return e;var t={};for(var r in e)"_"!==r[0]&&(t[r]=e[r]);return t}function u(e,t){p("trailingComments",e,t)}function l(e,t){p("leadingComments",e,t)}function c(e,t){p("innerComments",e,t)}function p(e,t,r){t&&r&&(t[e]=(0,C.default)([].concat(t[e],r[e]).filter(Boolean)))}function f(e){return!(!e||!P.VISITOR_KEYS[e.type])}function d(e,t,r){if(e){var n=w.VISITOR_KEYS[e.type];if(n){t(e,r=r||{});for(var i=n,a=Array.isArray(i),o=0,i=a?i:(0,y.default)(i);;){var s;if(a){if(o>=i.length)break;s=i[o++]}else{if((o=i.next()).done)break;s=o.value}var u=e[s];if(Array.isArray(u))for(var l=u,c=Array.isArray(l),p=0,l=c?l:(0,y.default)(l);;){var f;if(c){if(p>=l.length)break;f=l[p++]}else{if((p=l.next()).done)break;f=p.value}d(f,t,r)}else d(u,t,r)}}}}function h(e,t){for(var r=(t=t||{}).preserveComments?F:N,n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;null!=e[o]&&(e[o]=void 0)}for(var s in e)"_"===s[0]&&null!=e[s]&&(e[s]=void 0);for(var u=(0,m.default)(e),l=Array.isArray(u),c=0,u=l?u:(0,y.default)(u);;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}e[p]=null}}t.__esModule=!0,t.createTypeAnnotationBasedOnTypeof=t.removeTypeDuplicates=t.createUnionTypeAnnotation=t.valueToNode=t.toBlock=t.toExpression=t.toStatement=t.toBindingIdentifierName=t.toIdentifier=t.toKeyAlias=t.toSequenceExpression=t.toComputedKey=t.isNodesEquivalent=t.isImmutable=t.isScope=t.isSpecifierDefault=t.isVar=t.isBlockScoped=t.isLet=t.isValidIdentifier=t.isReferenced=t.isBinding=t.getOuterBindingIdentifiers=t.getBindingIdentifiers=t.TYPES=t.react=t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=t.NOT_LOCAL_BINDING=t.BLOCK_SCOPED_SYMBOL=t.INHERIT_KEYS=t.UNARY_OPERATORS=t.STRING_UNARY_OPERATORS=t.NUMBER_UNARY_OPERATORS=t.BOOLEAN_UNARY_OPERATORS=t.BINARY_OPERATORS=t.NUMBER_BINARY_OPERATORS=t.BOOLEAN_BINARY_OPERATORS=t.COMPARISON_BINARY_OPERATORS=t.EQUALITY_BINARY_OPERATORS=t.BOOLEAN_NUMBER_BINARY_OPERATORS=t.UPDATE_OPERATORS=t.LOGICAL_OPERATORS=t.COMMENT_KEYS=t.FOR_INIT_KEYS=t.FLATTENABLE_KEYS=t.STATEMENT_OR_BLOCK_KEYS=void 0;var m=n(r(253)),y=n(r(16)),v=n(r(73)),g=n(r(36)),b=r(127);Object.defineProperty(t,"STATEMENT_OR_BLOCK_KEYS",{enumerable:!0,get:function(){return b.STATEMENT_OR_BLOCK_KEYS}}),Object.defineProperty(t,"FLATTENABLE_KEYS",{enumerable:!0,get:function(){return b.FLATTENABLE_KEYS}}),Object.defineProperty(t,"FOR_INIT_KEYS",{enumerable:!0,get:function(){return b.FOR_INIT_KEYS}}),Object.defineProperty(t,"COMMENT_KEYS",{enumerable:!0,get:function(){return b.COMMENT_KEYS}}),Object.defineProperty(t,"LOGICAL_OPERATORS",{enumerable:!0,get:function(){return b.LOGICAL_OPERATORS}}),Object.defineProperty(t,"UPDATE_OPERATORS",{enumerable:!0,get:function(){return b.UPDATE_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"EQUALITY_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.EQUALITY_BINARY_OPERATORS}}),Object.defineProperty(t,"COMPARISON_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.COMPARISON_BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_BINARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_BINARY_OPERATORS",{enumerable:!0,get:function(){return b.NUMBER_BINARY_OPERATORS}}),Object.defineProperty(t,"BINARY_OPERATORS",{enumerable:!0,get:function(){return b.BINARY_OPERATORS}}),Object.defineProperty(t,"BOOLEAN_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.BOOLEAN_UNARY_OPERATORS}}),Object.defineProperty(t,"NUMBER_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.NUMBER_UNARY_OPERATORS}}),Object.defineProperty(t,"STRING_UNARY_OPERATORS",{enumerable:!0,get:function(){return b.STRING_UNARY_OPERATORS}}),Object.defineProperty(t,"UNARY_OPERATORS",{enumerable:!0,get:function(){return b.UNARY_OPERATORS}}),Object.defineProperty(t,"INHERIT_KEYS",{enumerable:!0,get:function(){return b.INHERIT_KEYS}}),Object.defineProperty(t,"BLOCK_SCOPED_SYMBOL",{enumerable:!0,get:function(){return b.BLOCK_SCOPED_SYMBOL}}),Object.defineProperty(t,"NOT_LOCAL_BINDING",{enumerable:!0,get:function(){return b.NOT_LOCAL_BINDING}}),t.is=function(e,t,r){return!!t&&!!a(t.type,e)&&(void 0===r||w.shallowEqual(t,r))},t.isType=a,t.validate=o,t.shallowEqual=function(e,t){for(var r=(0,v.default)(t),n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;if(e[o]!==t[o])return!1}return!0},t.appendToMemberExpression=function(e,t,r){return e.object=w.memberExpression(e.object,e.property,e.computed),e.property=t,e.computed=!!r,e},t.prependToMemberExpression=function(e,t){return e.object=w.memberExpression(t,e.object),e},t.ensureBlock=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"body";return e[t]=w.toBlock(e[t],e)},t.clone=s,t.cloneWithoutLoc=function(e){var t=s(e);return delete t.loc,t},t.cloneDeep=function(e){if(!e)return e;var t={};for(var r in e)if("_"!==r[0]){var n=e[r];n&&(n.type?n=w.cloneDeep(n):Array.isArray(n)&&(n=n.map(w.cloneDeep))),t[r]=n}return t},t.buildMatchMemberExpression=function(e,t){var r=e.split(".");return function(e){if(!w.isMemberExpression(e))return!1;for(var n=[e],i=0;n.length;){var a=n.shift();if(t&&i===r.length)return!0;if(w.isIdentifier(a)){if(r[i]!==a.name)return!1}else{if(!w.isStringLiteral(a)){if(w.isMemberExpression(a)){if(a.computed&&!w.isStringLiteral(a.property))return!1;n.push(a.object),n.push(a.property);continue}return!1}if(r[i]!==a.value)return!1}if(++i>r.length)return!1}return!0}},t.removeComments=function(e){for(var t=w.COMMENT_KEYS,r=Array.isArray(t),n=0,t=r?t:(0,y.default)(t);;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if((n=t.next()).done)break;i=n.value}delete e[i]}return e},t.inheritsComments=function(e,t){return u(e,t),l(e,t),c(e,t),e},t.inheritTrailingComments=u,t.inheritLeadingComments=l,t.inheritInnerComments=c,t.inherits=function(e,t){if(!e||!t)return e;for(var r=w.INHERIT_KEYS.optional,n=Array.isArray(r),i=0,r=n?r:(0,y.default)(r);;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;null==e[o]&&(e[o]=t[o])}for(var s in t)"_"===s[0]&&(e[s]=t[s]);for(var u=w.INHERIT_KEYS.force,l=Array.isArray(u),c=0,u=l?u:(0,y.default)(u);;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}var f=p;e[f]=t[f]}return w.inheritsComments(e,t),e},t.assertNode=function(e){if(!f(e))throw new TypeError("Not a valid node "+(e&&e.type))},t.isNode=f,t.traverseFast=d,t.removeProperties=h,t.removePropertiesDeep=function(e,t){return d(e,h,t),e};var E=r(272);Object.defineProperty(t,"getBindingIdentifiers",{enumerable:!0,get:function(){return E.getBindingIdentifiers}}),Object.defineProperty(t,"getOuterBindingIdentifiers",{enumerable:!0,get:function(){return E.getOuterBindingIdentifiers}});var x=r(631);Object.defineProperty(t,"isBinding",{enumerable:!0,get:function(){return x.isBinding}}),Object.defineProperty(t,"isReferenced",{enumerable:!0,get:function(){return x.isReferenced}}),Object.defineProperty(t,"isValidIdentifier",{enumerable:!0,get:function(){return x.isValidIdentifier}}),Object.defineProperty(t,"isLet",{enumerable:!0,get:function(){return x.isLet}}),Object.defineProperty(t,"isBlockScoped",{enumerable:!0,get:function(){return x.isBlockScoped}}),Object.defineProperty(t,"isVar",{enumerable:!0,get:function(){return x.isVar}}),Object.defineProperty(t,"isSpecifierDefault",{enumerable:!0,get:function(){return x.isSpecifierDefault}}),Object.defineProperty(t,"isScope",{enumerable:!0,get:function(){return x.isScope}}),Object.defineProperty(t,"isImmutable",{enumerable:!0,get:function(){return x.isImmutable}}),Object.defineProperty(t,"isNodesEquivalent",{enumerable:!0,get:function(){return x.isNodesEquivalent}});var A=r(632);Object.defineProperty(t,"toComputedKey",{enumerable:!0,get:function(){return A.toComputedKey}}),Object.defineProperty(t,"toSequenceExpression",{enumerable:!0,get:function(){return A.toSequenceExpression}}),Object.defineProperty(t,"toKeyAlias",{enumerable:!0,get:function(){return A.toKeyAlias}}),Object.defineProperty(t,"toIdentifier",{enumerable:!0,get:function(){return A.toIdentifier}}),Object.defineProperty(t,"toBindingIdentifierName",{enumerable:!0,get:function(){return A.toBindingIdentifierName}}),Object.defineProperty(t,"toStatement",{enumerable:!0,get:function(){return A.toStatement}}),Object.defineProperty(t,"toExpression",{enumerable:!0,get:function(){return A.toExpression}}),Object.defineProperty(t,"toBlock",{enumerable:!0,get:function(){return A.toBlock}}),Object.defineProperty(t,"valueToNode",{enumerable:!0,get:function(){return A.valueToNode}});var S=r(633);Object.defineProperty(t,"createUnionTypeAnnotation",{enumerable:!0,get:function(){return S.createUnionTypeAnnotation}}),Object.defineProperty(t,"removeTypeDuplicates",{enumerable:!0,get:function(){return S.removeTypeDuplicates}}),Object.defineProperty(t,"createTypeAnnotationBasedOnTypeof",{enumerable:!0,get:function(){return S.createTypeAnnotationBasedOnTypeof}});var _=n(r(268)),T=n(r(37)),C=n(r(89));r(634);var P=r(19),D=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(641)),w=t;t.VISITOR_KEYS=P.VISITOR_KEYS,t.ALIAS_KEYS=P.ALIAS_KEYS,t.NODE_FIELDS=P.NODE_FIELDS,t.BUILDER_KEYS=P.BUILDER_KEYS,t.DEPRECATED_KEYS=P.DEPRECATED_KEYS,t.react=D;for(var O in w.VISITOR_KEYS)i(O);w.FLIPPED_ALIAS_KEYS={},(0,v.default)(w.ALIAS_KEYS).forEach(function(e){w.ALIAS_KEYS[e].forEach(function(t){(w.FLIPPED_ALIAS_KEYS[t]=w.FLIPPED_ALIAS_KEYS[t]||[]).push(e)})}),(0,v.default)(w.FLIPPED_ALIAS_KEYS).forEach(function(e){w[e.toUpperCase()+"_TYPES"]=w.FLIPPED_ALIAS_KEYS[e],i(e)});t.TYPES=(0,v.default)(w.VISITOR_KEYS).concat((0,v.default)(w.FLIPPED_ALIAS_KEYS)).concat((0,v.default)(w.DEPRECATED_KEYS));(0,v.default)(w.BUILDER_KEYS).forEach(function(e){function t(){if(arguments.length>r.length)throw new Error("t."+e+": Too many arguments passed. Received "+arguments.length+" but can receive no more than "+r.length);var t={};t.type=e;for(var n=0,i=r,a=Array.isArray(i),s=0,i=a?i:(0,y.default)(i);;){var u;if(a){if(s>=i.length)break;u=i[s++]}else{if((s=i.next()).done)break;u=s.value}var l=u,c=w.NODE_FIELDS[e][l],p=arguments[n++];void 0===p&&(p=(0,T.default)(c.default)),t[l]=p}for(var f in t)o(t,f,t[f]);return t}var r=w.BUILDER_KEYS[e];w[e]=t,w[e[0].toLowerCase()+e.slice(1)]=t});for(var k in w.DEPRECATED_KEYS)!function(e){function t(t){return function(){return console.trace("The node type "+e+" has been renamed to "+r),t.apply(this,arguments)}}var r=w.DEPRECATED_KEYS[e];w[e]=w[e[0].toLowerCase()+e.slice(1)]=t(w[r]),w["is"+e]=t(w["is"+r]),w["assert"+e]=t(w["assert"+r])}(k);(0,_.default)(w),(0,_.default)(w.VISITOR_KEYS);var F=["tokens","start","end","loc","raw","rawValue"],N=w.COMMENT_KEYS.concat(["comments"]).concat(F)},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){return Array.isArray(e)?"array":null===e?"null":void 0===e?"undefined":void 0===e?"undefined":(0,u.default)(e)}function a(e){function t(t,r,n){if(!(i(n)===e))throw new TypeError("Property "+r+" expected type of "+e+" but got "+i(n))}return t.type=e,t}t.__esModule=!0,t.DEPRECATED_KEYS=t.BUILDER_KEYS=t.NODE_FIELDS=t.ALIAS_KEYS=t.VISITOR_KEYS=void 0;var o=n(r(16)),s=n(r(36)),u=n(r(74));t.assertEach=function(e){function t(t,r,n){if(Array.isArray(n))for(var i=0;i=a.length)break;p=a[c++]}else{if((c=a.next()).done)break;p=c.value}var f=p;if(l.is(f,n)){i=!0;break}}if(!i)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,s.default)(r)+" but instead got "+(0,s.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=u.length)break;f=u[p++]}else{if((p=u.next()).done)break;f=p.value}var d=f;if(i(n)===d||l.is(d,n)){a=!0;break}}if(!a)throw new TypeError("Property "+t+" of "+e.type+" expected node to be of a type "+(0,s.default)(r)+" but instead got "+(0,s.default)(n&&n.type))}for(var t=arguments.length,r=Array(t),n=0;n=e.length)break;i=e[n++]}else{if((n=e.next()).done)break;i=n.value}i.apply(void 0,arguments)}}for(var t=arguments.length,r=Array(t),n=0;n1&&void 0!==arguments[1]?arguments[1]:{},r=t.inherits&&m[t.inherits]||{};t.fields=t.fields||r.fields||{},t.visitor=t.visitor||r.visitor||[],t.aliases=t.aliases||r.aliases||[],t.builder=t.builder||r.builder||t.visitor||[],t.deprecatedAlias&&(h[t.deprecatedAlias]=e);for(var n=t.visitor.concat(t.builder),s=Array.isArray(n),u=0,n=s?n:(0,o.default)(n);;){var l;if(s){if(u>=n.length)break;l=n[u++]}else{if((u=n.next()).done)break;l=u.value}var y=l;t.fields[y]=t.fields[y]||{}}for(var v in t.fields){var g=t.fields[v];-1===t.builder.indexOf(v)&&(g.optional=!0),void 0===g.default?g.default=null:g.validate||(g.validate=a(i(g.default)))}c[e]=t.visitor,d[e]=t.builder,f[e]=t.fields,p[e]=t.aliases,m[e]=t};var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(18)),c=t.VISITOR_KEYS={},p=t.ALIAS_KEYS={},f=t.NODE_FIELDS={},d=t.BUILDER_KEYS={},h=t.DEPRECATED_KEYS={},m={}},function(e,t,r){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function i(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}t.__esModule=!0,t.default=void 0;var a=i(r(131)),o=n(r(360)),s=n(r(362)),u=n(r(4)),l=n(r(95)),c=i(r(0)),p=r(59),f=i(r(379)),d=i(r(380)),h=i(r(383)),m=i(r(393)),y=i(r(394)),v=i(r(401)),g=i(r(402)),b=i(r(403)),E=i(r(405)),x=i(r(407)),A=i(r(408)),S=(0,o.default)("babel"),_=function(){function e(e,t){this.parent=t,this.hub=e,this.contexts=[],this.data={},this.shouldSkip=!1,this.shouldStop=!1,this.removed=!1,this.state=null,this.opts=null,this.skipKeys=null,this.parentPath=null,this.context=null,this.container=null,this.listKey=null,this.inList=!1,this.parentKey=null,this.key=null,this.node=null,this.scope=null,this.type=null,this.typeAnnotation=null}e.get=function(t){var r=t.hub,n=t.parentPath,i=t.parent,a=t.container,o=t.listKey,u=t.key;!r&&n&&(r=n.hub),(0,s.default)(i,"To get a node path the parent needs to exist");var l=a[u],c=p.path.get(i)||[];p.path.has(i)||p.path.set(i,c);for(var f,d=0;d=0;c--)"."===(o=u[c])?u.splice(c,1):".."===o?l++:l>0&&(""===o?(u.splice(c+1,l),l=0):(u.splice(c,2),l--));return""===(i=u.join("/"))&&(i=s?"/":"."),a?(a.path=i,n(a)):i}function a(e){return e}function o(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 s(e,t){return e===t?0:e>t?1:-1}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 u=/^(?:([\w+\-.]+):)?\/\/(?:(\w+:\w+)@)?([\w.]*)(?::(\d+))?(\S*)$/,l=/^data:.+\,.+$/;t.urlParse=r,t.urlGenerate=n,t.normalize=i,t.join=function(e,t){""===e&&(e="."),""===t&&(t=".");var a=r(t),o=r(e);if(o&&(e=o.path||"/"),a&&!a.scheme)return o&&(a.scheme=o.scheme),n(a);if(a||t.match(l))return t;if(o&&!o.host&&!o.path)return o.host=t,n(o);var s="/"===t.charAt(0)?t:i(e.replace(/\/+$/,"")+"/"+t);return o?(o.path=s,n(o)):s},t.isAbsolute=function(e){return"/"===e.charAt(0)||!!e.match(u)},t.relative=function(e,t){""===e&&(e="."),e=e.replace(/\/$/,"");for(var r=0;0!==t.indexOf(e+"/");){var n=e.lastIndexOf("/");if(n<0)return t;if((e=e.slice(0,n)).match(/^([^\/]+:\/)?\/*$/))return t;++r}return Array(r+1).join("../")+t.substr(e.length+1)};var c=!("__proto__"in Object.create(null));t.toSetString=c?a:function(e){return o(e)?"$"+e:e},t.fromSetString=c?a:function(e){return o(e)?e.slice(1):e},t.compareByOriginalPositions=function(e,t,r){var n=e.source-t.source;return 0!==n?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)||r?n:0!=(n=e.generatedColumn-t.generatedColumn)?n:0!=(n=e.generatedLine-t.generatedLine)?n:e.name-t.name},t.compareByGeneratedPositionsDeflated=function(e,t,r){var n=e.generatedLine-t.generatedLine;return 0!==n?n:0!=(n=e.generatedColumn-t.generatedColumn)||r?n:0!=(n=e.source-t.source)?n:0!=(n=e.originalLine-t.originalLine)?n:0!=(n=e.originalColumn-t.originalColumn)?n:e.name-t.name},t.compareByGeneratedPositionsInflated=function(e,t){var r=e.generatedLine-t.generatedLine;return 0!==r?r:0!=(r=e.generatedColumn-t.generatedColumn)?r:0!==(r=s(e.source,t.source))?r:0!=(r=e.originalLine-t.originalLine)?r:0!=(r=e.originalColumn-t.originalColumn)?r:s(e.name,t.name)}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,r){var n=r(14),i=r(5),a=r(573),o=r(33),s=function e(t,r,s){var u,l,c,p=t&e.F,f=t&e.G,d=t&e.S,h=t&e.P,m=t&e.B,y=t&e.W,v=f?i:i[r]||(i[r]={}),g=v.prototype,b=f?n:d?n[r]:(n[r]||{}).prototype;f&&(s=r);for(u in s)(l=!p&&b&&void 0!==b[u])&&u in v||(c=l?b[u]:s[u],v[u]=f&&"function"!=typeof b[u]?s[u]:m&&l?a(c,n):y&&b[u]==c?function(e){var t=function(t,r,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,r)}return new e(t,r,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):h&&"function"==typeof c?a(Function.call,c):c,h&&((v.virtual||(v.virtual={}))[u]=c,t&e.R&&g&&!g[u]&&o(g,u,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t,r){var n=r(68);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t,r){function n(e){var t=this.__data__=new i(e);this.size=t.size}var i=r(46),a=r(286),o=r(287),s=r(288),u=r(289),l=r(290);n.prototype.clear=a,n.prototype.delete=o,n.prototype.get=s,n.prototype.has=u,n.prototype.set=l,e.exports=n},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t"),u(l.gutter,n),e,a].join("")}return" "+u(l.gutter,n)+e}).join("\n");return n?a.reset(g):g}t.__esModule=!0,t.codeFrameColumns=u,t.default=function(t,r,n,i){if(void 0===i&&(i={}),!f){f=!0;var a=new Error("Passing lineNumber and colNumber is deprecated to babel-code-frame. Please use `codeFrameColumns`.");a.name="DeprecationWarning",e.emitWarning?e.emitWarning(a):console.warn(a)}return u(t,{start:{column:n=Math.max(n,0),line:r}},i)};var l=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(384)),c=n(r(38)),p=n(r(385)),f=!1,d=/\r\n|[\n\r\u2028\u2029]/,h=/^[a-z][\w-]*$/i,m=/^[()[\]{}]$/}).call(t,r(8))},function(e,t,r){var n=r(39),i=1/0;e.exports=function(e){if("string"==typeof e||n(e))return e;var t=e+"";return"0"==t&&1/e==-i?"-0":t}},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return(i="function"==typeof Symbol&&"symbol"===n(Symbol.iterator)?function(e){return n(e)}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":n(e)})(e)}t.__esModule=!0,t.default=function(e){if(null!=e&&"object"!==i(e))throw new Error("Babel options must be an object, null, or undefined");return(0,a.default)(e||{})};var a=function(e){return e&&e.__esModule?e:{default:e}}(r(457))},function(e,t){e.exports=function(e){return"string"==typeof e&&/[@?!+*]\(/.test(e)}},function(e,t,r){var n=r(63);e.exports=function(e){return"string"==typeof e&&(/[*!?{}(|)[\]]/.test(e)||n(e))}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("asyncFunctions")}}}},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(){return{manipulateOptions:function(e,t){t.plugins.push("exportExtensions")}}}},function(e,t){(function(t){e.exports=t}).call(t,{})},function(e,t){function r(e){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}e.exports=function(e){return"object"===r(e)?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var r=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++r+n).toString(36))}},function(e,t,r){var n=r(257),i=r(123);e.exports=Object.keys||function(e){return n(e,i)}},function(e,t){e.exports={}},function(e,t,r){e.exports={default:r(596),__esModule:!0}},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var a=i(r(604)),o=i(r(606)),s="function"==typeof o.default&&"symbol"===n(a.default)?function(e){return n(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":n(e)};t.default="function"==typeof o.default&&"symbol"===s(a.default)?function(e){return void 0===e?"undefined":s(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":s(e)}},function(e,t,r){"use strict";t.__esModule=!0,t.runtimeProperty=function(e){return n.memberExpression(n.identifier("regeneratorRuntime"),n.identifier(e),!1)},t.isReference=function(e){return e.isReferenced()||e.parentPath.isAssignmentExpression({left:e.node})},t.replaceWithOrRemove=function(e,t){t?e.replaceWith(t):e.remove()};var n=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(2))},function(e,t,r){var n=r(21)(r(6),"Map");e.exports=n},function(e,t,r){var n=r(12),i=r(7),a="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",u="[object Proxy]";e.exports=function(e){if(!i(e))return!1;var t=n(e);return t==o||t==s||t==a||t==u}},function(e,t,r){function n(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t-1&&e%1==0&&e-1&&e%1==0&&e<=r}},function(e,t){var r=Object.prototype;e.exports=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||r)}},function(e,t){e.exports=function(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r","<",">=","<="];t.BOOLEAN_NUMBER_BINARY_OPERATORS=l;var c=["==","===","!=","!=="];t.EQUALITY_BINARY_OPERATORS=c;var p=[].concat(c,["in","instanceof"]);t.COMPARISON_BINARY_OPERATORS=p;var f=[].concat(p,l);t.BOOLEAN_BINARY_OPERATORS=f;var d=["-","/","%","*","**","&","|",">>",">>>","<<","^"];t.NUMBER_BINARY_OPERATORS=d;var h=["+"].concat(d,f);t.BINARY_OPERATORS=h;var m=["delete","!"];t.BOOLEAN_UNARY_OPERATORS=m;var y=["+","-","~"];t.NUMBER_UNARY_OPERATORS=y;var v=["typeof"];t.STRING_UNARY_OPERATORS=v;var g=["void","throw"].concat(m,y,v);t.UNARY_OPERATORS=g;var b={optional:["typeAnnotation","typeParameters","returnType"],force:["start","loc","end"]};t.INHERIT_KEYS=b;var E=Symbol.for("var used to be block scoped");t.BLOCK_SCOPED_SYMBOL=E;var x=Symbol.for("should not be considered a local binding");t.NOT_LOCAL_BINDING=x},function(e,t,r){"use strict";function n(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}function i(){return(i=Object.assign||function(e){for(var t=1;t1&&(r+=t),"_"+r},t.generateUidIdentifierBasedOnNode=function(e,t){var r=e;y.isAssignmentExpression(e)?r=e.left:y.isVariableDeclarator(e)?r=e.id:(y.isObjectProperty(r)||y.isObjectMethod(r))&&(r=r.key);var n=[];o(r,n);var i=n.join("$");return i=i.replace(/^_/,"")||t||"ref",this.generateUidIdentifier(i.slice(0,20))},t.isStatic=function(e){if(y.isThisExpression(e)||y.isSuper(e))return!0;if(y.isIdentifier(e)){var t=this.getBinding(e.name);return t?t.constant:this.hasBinding(e.name)}return!1},t.maybeGenerateMemoised=function(e,t){if(this.isStatic(e))return null;var r=this.generateUidIdentifierBasedOnNode(e);return t||this.push({id:r}),r},t.checkBlockScopedCollisions=function(e,t,r,n){if("param"!==t&&"local"!==e.kind&&!("hoisted"===t&&"let"===e.kind||"let"!==t&&"let"!==e.kind&&"const"!==e.kind&&"module"!==e.kind&&("param"!==e.kind||"let"!==t&&"const"!==t)))throw this.hub.file.buildCodeFrameError(n,'Duplicate declaration "'+r+'"',TypeError)},t.rename=function(e,t,r){var n=this.getBinding(e);if(n)return t=t||this.generateUidIdentifier(e).name,new p.default(n,e,t).rename(r)},t._renameFromMap=function(e,t,r,n){e[t]&&(e[r]=n,e[t]=null)},t.dump=function(){var e=(0,c.default)("-",60);console.log(e);var t=this;do{console.log("#",t.block.type);for(var r in t.bindings){var n=t.bindings[r];console.log(" -",r,{constant:n.constant,references:n.references,violations:n.constantViolations.length,kind:n.kind})}}while(t=t.parent);console.log(e)},t.toArray=function(e,t){var r=this.hub.file;if(y.isIdentifier(e)){var n=this.getBinding(e.name);if(n&&n.constant&&n.path.isGenericType("Array"))return e}if(y.isArrayExpression(e))return e;if(y.isIdentifier(e,{name:"arguments"}))return y.callExpression(y.memberExpression(y.memberExpression(y.memberExpression(y.identifier("Array"),y.identifier("prototype")),y.identifier("slice")),y.identifier("call")),[e]);var i="toArray",a=[e];return!0===t?i="toConsumableArray":t&&(a.push(y.numericLiteral(t)),i="slicedToArray"),y.callExpression(r.addHelper(i),a)},t.hasLabel=function(e){return!!this.getLabel(e)},t.getLabel=function(e){return this.labels.get(e)},t.registerLabel=function(e){this.labels.set(e.node.label.name,e)},t.registerDeclaration=function(e){if(e.isLabeledStatement())this.registerLabel(e);else if(e.isFunctionDeclaration())this.registerBinding("hoisted",e.get("id"),e);else if(e.isVariableDeclaration())for(var t=e.get("declarations"),r=0;r=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}var s=o;this.registerBinding(e,s)}else{var u=this.getProgramParent(),l=t.getBindingIdentifiers(!0);for(var c in l)for(var p=l[c],f=0;f=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}var s=o;if(!this.isPure(s,t))return!1}return!0}if(y.isBinary(e))return this.isPure(e.left,t)&&this.isPure(e.right,t);if(y.isArrayExpression(e)){for(var u=e.elements,l=0;l=a.length)break;u=a[s++]}else{if((s=a.next()).done)break;u=s.value}var l=u;this.registerBinding("param",l)}if(e.isCatchClause()&&this.registerBinding("let",e),!this.getProgramParent().crawling){var c={references:[],constantViolations:[],assignments:[]};this.crawling=!0,e.traverse(b,c),this.crawling=!1;for(var p=c.assignments,f=Array.isArray(p),d=0,p=f?p:p[Symbol.iterator]();;){var h;if(f){if(d>=p.length)break;h=p[d++]}else{if((d=p.next()).done)break;h=d.value}var m=h,v=m.getBindingIdentifiers(),g=void 0;for(var E in v)m.scope.getBinding(E)||(g=g||m.scope.getProgramParent()).addGlobal(v[E]);m.scope.registerConstantViolation(m)}for(var x=c.references,A=Array.isArray(x),S=0,x=A?x:x[Symbol.iterator]();;){var _;if(A){if(S>=x.length)break;_=x[S++]}else{if((S=x.next()).done)break;_=S.value}var T=_,C=T.scope.getBinding(T.node.name);C?C.reference(T):T.scope.getProgramParent().addGlobal(T.node)}for(var P=c.constantViolations,D=Array.isArray(P),w=0,P=D?P:P[Symbol.iterator]();;){var O;if(D){if(w>=P.length)break;O=P[w++]}else{if((w=P.next()).done)break;O=w.value}var k=O;k.scope.registerConstantViolation(k)}}},t.push=function(e){var 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"));var r=e.unique,n=e.kind||"var",i=null==e._blockHoist?2:e._blockHoist,a="declaration:"+n+":"+i,o=!r&&t.getData(a);if(!o){var s=y.variableDeclaration(n,[]);s._blockHoist=i,o=t.unshiftContainer("body",[s])[0],r||t.setData(a,o)}var u=y.variableDeclarator(e.id,e.init);o.node.declarations.push(u),this.registerBinding(n,o.get("declarations").pop())},t.getProgramParent=function(){var e=this;do{if(e.path.isProgram())return e}while(e=e.parent);throw new Error("Couldn't find a Program")},t.getFunctionParent=function(){var e=this;do{if(e.path.isFunctionParent())return e}while(e=e.parent);return null},t.getBlockParent=function(){var 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...")},t.getAllBindings=function(){var e=Object.create(null),t=this;do{(0,d.default)(e,t.bindings),t=t.parent}while(t);return e},t.getAllBindingsOfKind=function(){for(var e=Object.create(null),t=arguments,r=0;r-1:!!c&&n(e,t,r)>-1}},function(e,t,r){var n=r(57),i=r(56);e.exports=function(e){return n(function(t,r){var n=-1,a=r.length,o=a>1?r[a-1]:void 0,s=a>2?r[2]:void 0;for(o=e.length>3&&"function"==typeof o?(a--,o):void 0,s&&i(r[0],r[1],s)&&(o=a<3?void 0:o,a=1),t=Object(t);++n=0}}function a(e,t){for(var r=65536,n=0;ne)return!1;if((r+=t[n+1])>=e)return!0}return!1}function o(e){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&I.test(String.fromCharCode(e)):a(e,B)))}function s(e){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&M.test(String.fromCharCode(e)):a(e,B)||a(e,R))))}function u(e){return 10===e||13===e||8232===e||8233===e}function l(e,t){for(var r=1,n=0;;){j.lastIndex=n;var i=j.exec(e);if(!(i&&i.index>10),56320+(e-65536&1023))}function f(e){for(var t={},r=e,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}t[a]=!0}return t}function d(e){return null!=e&&"Property"===e.type&&"init"===e.kind&&!1===e.method}function h(e){return"DeclareExportAllDeclaration"===e.type||"DeclareExportDeclaration"===e.type&&(!e.declaration||"TypeAlias"!==e.declaration.type&&"InterfaceDeclaration"!==e.declaration.type)}function m(e,t){for(var r=[],n=[],i=0;i=0&&e.indexOf("decorators2")>=0)throw new Error("Cannot use decorators and decorators2 plugin together");var t=e.filter(function(e){return"estree"===e||"flow"===e||"jsx"===e||"typescript"===e});if(t.indexOf("flow")>=0&&(t=t.filter(function(e){return"flow"!==e})).push("flow"),t.indexOf("flow")>=0&&t.indexOf("typescript")>=0)throw new Error("Cannot combine flow and typescript plugins.");t.indexOf("typescript")>=0&&(t=t.filter(function(e){return"typescript"!==e})).push("typescript"),t.indexOf("estree")>=0&&(t=t.filter(function(e){return"estree"!==e})).unshift("estree");var r=t.join("/"),n=le[r];if(!n){n=ne;for(var i=t,a=Array.isArray(i),o=0,i=a?i:i[Symbol.iterator]();;){var s;if(a){if(o>=i.length)break;s=i[o++]}else{if((o=i.next()).done)break;s=o.value}n=re[s](n)}le[r]=n}return n}Object.defineProperty(t,"__esModule",{value:!0});var A={sourceType:"script",sourceFilename:void 0,startLine:1,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowSuperOutsideMethod:!1,plugins:[],strictMode:null,ranges:!1,tokens:!1},S=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t},_=!0,T=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.rightAssociative=!!t.rightAssociative,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=0===t.binop?0:t.binop||null,this.updateContext=null},C=function(e){function t(t,r){return void 0===r&&(r={}),r.keyword=t,e.call(this,t,r)||this}return S(t,e),t}(T),P=function(e){function t(t,r){return e.call(this,t,{beforeExpr:_,binop:r})||this}return S(t,e),t}(T),D={num:new T("num",{startsExpr:!0}),bigint:new T("bigint",{startsExpr:!0}),regexp:new T("regexp",{startsExpr:!0}),string:new T("string",{startsExpr:!0}),name:new T("name",{startsExpr:!0}),eof:new T("eof"),bracketL:new T("[",{beforeExpr:_,startsExpr:!0}),bracketR:new T("]"),braceL:new T("{",{beforeExpr:_,startsExpr:!0}),braceBarL:new T("{|",{beforeExpr:_,startsExpr:!0}),braceR:new T("}"),braceBarR:new T("|}"),parenL:new T("(",{beforeExpr:_,startsExpr:!0}),parenR:new T(")"),comma:new T(",",{beforeExpr:_}),semi:new T(";",{beforeExpr:_}),colon:new T(":",{beforeExpr:_}),doubleColon:new T("::",{beforeExpr:_}),dot:new T("."),question:new T("?",{beforeExpr:_}),questionDot:new T("?."),arrow:new T("=>",{beforeExpr:_}),template:new T("template"),ellipsis:new T("...",{beforeExpr:_}),backQuote:new T("`",{startsExpr:!0}),dollarBraceL:new T("${",{beforeExpr:_,startsExpr:!0}),at:new T("@"),hash:new T("#"),eq:new T("=",{beforeExpr:_,isAssign:!0}),assign:new T("_=",{beforeExpr:_,isAssign:!0}),incDec:new T("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),bang:new T("!",{beforeExpr:_,prefix:!0,startsExpr:!0}),tilde:new T("~",{beforeExpr:_,prefix:!0,startsExpr:!0}),pipeline:new P("|>",0),logicalOR:new P("||",1),logicalAND:new P("&&",2),bitwiseOR:new P("|",3),bitwiseXOR:new P("^",4),bitwiseAND:new P("&",5),equality:new P("==/!=",6),relational:new P("",7),bitShift:new P("<>",8),plusMin:new T("+/-",{beforeExpr:_,binop:9,prefix:!0,startsExpr:!0}),modulo:new P("%",10),star:new P("*",10),slash:new P("/",10),exponent:new T("**",{beforeExpr:_,binop:11,rightAssociative:!0})},w={break:new C("break"),case:new C("case",{beforeExpr:_}),catch:new C("catch"),continue:new C("continue"),debugger:new C("debugger"),default:new C("default",{beforeExpr:_}),do:new C("do",{isLoop:!0,beforeExpr:_}),else:new C("else",{beforeExpr:_}),finally:new C("finally"),for:new C("for",{isLoop:!0}),function:new C("function",{startsExpr:!0}),if:new C("if"),return:new C("return",{beforeExpr:_}),switch:new C("switch"),throw:new C("throw",{beforeExpr:_,prefix:!0,startsExpr:!0}),try:new C("try"),var:new C("var"),let:new C("let"),const:new C("const"),while:new C("while",{isLoop:!0}),with:new C("with"),new:new C("new",{beforeExpr:_,startsExpr:!0}),this:new C("this",{startsExpr:!0}),super:new C("super",{startsExpr:!0}),class:new C("class"),extends:new C("extends",{beforeExpr:_}),export:new C("export"),import:new C("import",{startsExpr:!0}),yield:new C("yield",{beforeExpr:_,startsExpr:!0}),null:new C("null",{startsExpr:!0}),true:new C("true",{startsExpr:!0}),false:new C("false",{startsExpr:!0}),in:new C("in",{beforeExpr:_,binop:7}),instanceof:new C("instanceof",{beforeExpr:_,binop:7}),typeof:new C("typeof",{beforeExpr:_,prefix:!0,startsExpr:!0}),void:new C("void",{beforeExpr:_,prefix:!0,startsExpr:!0}),delete:new C("delete",{beforeExpr:_,prefix:!0,startsExpr:!0})};Object.keys(w).forEach(function(e){D["_"+e]=w[e]});var O={6:i("enum await"),strict:i("implements interface let package private protected public static yield"),strictBind:i("eval arguments")},k=i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this let const class extends export import yield super"),F="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠ-ࢴࢶ-ࢽऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲈᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿕ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞮꞰ-ꞷꟷ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭥꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",N="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࣔ-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఃా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ഁ-ഃാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ංඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ູົຼ່-ໍ໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜔ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠐-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭ᳲ-᳴᳸᳹᷀-᷵᷻-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱꤀-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_",I=new RegExp("["+F+"]"),M=new RegExp("["+F+N+"]");F=N=null;var B=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,17,26,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,26,45,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,785,52,76,44,33,24,27,35,42,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,54,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,86,25,391,63,32,0,449,56,264,8,2,36,18,0,50,29,881,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,881,68,12,0,67,12,65,0,32,6124,20,754,9486,1,3071,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,4149,196,60,67,1213,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,10591,541],R=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,1306,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,52,0,13,2,49,13,10,2,4,9,83,11,7,0,161,11,6,9,7,3,57,0,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,87,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,423,9,838,7,2,7,17,9,57,21,2,13,19882,9,135,4,60,6,26,9,1016,45,17,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,2214,6,110,6,6,9,792487,239],L=/\r\n?|\n|\u2028|\u2029/,j=new RegExp(L.source,"g"),U=/[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/,V=function(e,t,r,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=n},Y={braceStatement:new V("{",!1),braceExpression:new V("{",!0),templateQuasi:new V("${",!0),parenStatement:new V("(",!1),parenExpression:new V("(",!0),template:new V("`",!0,!0,function(e){return e.readTmplToken()}),functionExpression:new V("function",!0)};D.parenR.updateContext=D.braceR.updateContext=function(){if(1!==this.state.context.length){var e=this.state.context.pop();e===Y.braceStatement&&this.curContext()===Y.functionExpression?(this.state.context.pop(),this.state.exprAllowed=!1):e===Y.templateQuasi?this.state.exprAllowed=!0:this.state.exprAllowed=!e.isExpr}else this.state.exprAllowed=!0},D.name.updateContext=function(e){"of"!==this.state.value||this.curContext()!==Y.parenStatement?(this.state.exprAllowed=!1,e!==D._let&&e!==D._const&&e!==D._var||L.test(this.input.slice(this.state.end))&&(this.state.exprAllowed=!0)):this.state.exprAllowed=!e.beforeExpr},D.braceL.updateContext=function(e){this.state.context.push(this.braceIsBlock(e)?Y.braceStatement:Y.braceExpression),this.state.exprAllowed=!0},D.dollarBraceL.updateContext=function(){this.state.context.push(Y.templateQuasi),this.state.exprAllowed=!0},D.parenL.updateContext=function(e){var t=e===D._if||e===D._for||e===D._with||e===D._while;this.state.context.push(t?Y.parenStatement:Y.parenExpression),this.state.exprAllowed=!0},D.incDec.updateContext=function(){},D._function.updateContext=function(){this.curContext()!==Y.braceStatement&&this.state.context.push(Y.functionExpression),this.state.exprAllowed=!1},D.backQuote.updateContext=function(){this.curContext()===Y.template?this.state.context.pop():this.state.context.push(Y.template),this.state.exprAllowed=!1};var K=function(e,t){this.line=e,this.column=t},G=function(e,t){this.start=e,this.end=t},W=function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.raise=function(e,t,r){var n=l(this.input,e);t+=" (".concat(n.line,":").concat(n.column,")");var i=new SyntaxError(t);throw i.pos=e,i.loc=n,r&&(i.missingPlugin=r),i},t}(function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.addComment=function(e){this.filename&&(e.loc.filename=this.filename),this.state.trailingComments.push(e),this.state.leadingComments.push(e)},t.prototype.processComment=function(e){if(!("Program"===e.type&&e.body.length>0)){var t=this.state.commentStack,r=void 0,n=void 0,i=void 0,a=void 0,o=void 0;if(this.state.trailingComments.length>0)this.state.trailingComments[0].start>=e.end?(i=this.state.trailingComments,this.state.trailingComments=[]):this.state.trailingComments.length=0;else{var s=c(t);t.length>0&&s.trailingComments&&s.trailingComments[0].start>=e.end&&(i=s.trailingComments,s.trailingComments=null)}for(t.length>0&&c(t).start>=e.start&&(r=t.pop());t.length>0&&c(t).start>=e.start;)n=t.pop();if(!n&&r&&(n=r),r&&this.state.leadingComments.length>0){var u=c(this.state.leadingComments);if("ObjectProperty"===r.type){if(u.start>=e.start&&this.state.commentPreviousNode){for(o=0;o0&&(r.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}else if("CallExpression"===e.type&&e.arguments&&e.arguments.length){var l=c(e.arguments);l&&u.start>=l.start&&u.end<=e.end&&this.state.commentPreviousNode&&this.state.leadingComments.length>0&&(l.trailingComments=this.state.leadingComments,this.state.leadingComments=[])}}if(n){if(n.leadingComments)if(n!==e&&c(n.leadingComments).end<=e.start)e.leadingComments=n.leadingComments,n.leadingComments=null;else for(a=n.leadingComments.length-2;a>=0;--a)if(n.leadingComments[a].end<=e.start){e.leadingComments=n.leadingComments.splice(0,a+1);break}}else if(this.state.leadingComments.length>0)if(c(this.state.leadingComments).end<=e.start){if(this.state.commentPreviousNode)for(o=0;o0&&(e.leadingComments=this.state.leadingComments,this.state.leadingComments=[])}else{for(a=0;ae.start);a++);var p=this.state.leadingComments.slice(0,a);e.leadingComments=0===p.length?null:p,0===(i=this.state.leadingComments.slice(a)).length&&(i=null)}this.state.commentPreviousNode=e,i&&(i.length&&i[0].start>=e.start&&c(i).end<=e.end?e.innerComments=i:e.trailingComments=i),t.push(e)}},t}(function(){function e(){}return e.prototype.isReservedWord=function(e){return"await"===e?this.inModule:O[6](e)},e.prototype.hasPlugin=function(e){return!!this.plugins[e]},e}())),q=function(){function e(){}return e.prototype.init=function(e,t){this.strict=!1!==e.strictMode&&"module"===e.sourceType,this.input=t,this.potentialArrowAt=-1,this.noArrowAt=[],this.noArrowParamsConversionAt=[],this.inMethod=this.inFunction=this.inGenerator=this.inAsync=this.inPropertyName=this.inType=this.inClassProperty=this.noAnonFunctionType=!1,this.classLevel=0,this.labels=[],this.decoratorStack=[[]],this.tokens=[],this.comments=[],this.trailingComments=[],this.leadingComments=[],this.commentStack=[],this.commentPreviousNode=null,this.pos=this.lineStart=0,this.curLine=e.startLine,this.type=D.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=[Y.braceStatement],this.exprAllowed=!0,this.containsEsc=this.containsOctal=!1,this.octalPosition=null,this.invalidTemplateEscapePosition=null,this.exportedIdentifiers=[]},e.prototype.curPosition=function(){return new K(this.curLine,this.pos-this.lineStart)},e.prototype.clone=function(t){var r=new e;for(var n in this){var i=this[n];t&&"context"!==n||!Array.isArray(i)||(i=i.slice()),r[n]=i}return r},e}(),H={decBinOct:[46,66,69,79,95,98,101,111],hex:[46,88,95,120]},J={};J.bin=[48,49],J.oct=[].concat(J.bin,[50,51,52,53,54,55]),J.dec=[].concat(J.oct,[56,57]),J.hex=[].concat(J.dec,[65,66,67,68,69,70,97,98,99,100,101,102]);var X=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,this.loc=new G(e.startLoc,e.endLoc)},z=function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.addExtra=function(e,t,r){e&&((e.extra=e.extra||{})[t]=r)},t.prototype.isRelational=function(e){return this.match(D.relational)&&this.state.value===e},t.prototype.expectRelational=function(e){this.isRelational(e)?this.next():this.unexpected(null,D.relational)},t.prototype.eatRelational=function(e){return!!this.isRelational(e)&&(this.next(),!0)},t.prototype.isContextual=function(e){return this.match(D.name)&&this.state.value===e},t.prototype.eatContextual=function(e){return this.state.value===e&&this.eat(D.name)},t.prototype.expectContextual=function(e,t){this.eatContextual(e)||this.unexpected(null,t)},t.prototype.canInsertSemicolon=function(){return this.match(D.eof)||this.match(D.braceR)||this.hasPrecedingLineBreak()},t.prototype.hasPrecedingLineBreak=function(){return L.test(this.input.slice(this.state.lastTokEnd,this.state.start))},t.prototype.isLineTerminator=function(){return this.eat(D.semi)||this.canInsertSemicolon()},t.prototype.semicolon=function(){this.isLineTerminator()||this.unexpected(null,D.semi)},t.prototype.expect=function(e,t){this.eat(e)||this.unexpected(t,e)},t.prototype.unexpected=function(e,t){throw void 0===t&&(t="Unexpected token"),"string"!=typeof t&&(t="Unexpected token, expected ".concat(t.label)),this.raise(null!=e?e:this.state.start,t)},t.prototype.expectPlugin=function(e,t){if(!this.hasPlugin(e))throw this.raise(null!=t?t:this.state.start,"This experimental syntax requires enabling the parser plugin: '".concat(e,"'"),[e])},t.prototype.expectOnePlugin=function(e,t){var r=this;if(!e.some(function(e){return r.hasPlugin(e)}))throw this.raise(null!=t?t:this.state.start,"This experimental syntax requires enabling one of the following parser plugin(s): '".concat(e.join(", "),"'"),e)},t}(function(e){function t(t,r){var n;return n=e.call(this)||this,n.state=new q,n.state.init(t,r),n.isLookahead=!1,n}return S(t,e),t.prototype.next=function(){this.options.tokens&&!this.isLookahead&&this.state.tokens.push(new X(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()},t.prototype.eat=function(e){return!!this.match(e)&&(this.next(),!0)},t.prototype.match=function(e){return this.state.type===e},t.prototype.isKeyword=function(e){return k(e)},t.prototype.lookahead=function(){var e=this.state;this.state=e.clone(!0),this.isLookahead=!0,this.next(),this.isLookahead=!1;var t=this.state;return this.state=e,t},t.prototype.setStrict=function(e){if(this.state.strict=e,this.match(D.num)||this.match(D.string)){for(this.state.pos=this.state.start;this.state.pos=this.input.length?this.finishToken(D.eof):e.override?e.override(this):this.readToken(this.fullCharCodeAtPos())},t.prototype.readToken=function(e){return o(e)||92===e?this.readWord():this.getTokenFromCode(e)},t.prototype.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.state.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.state.pos+1)-56613888},t.prototype.pushComment=function(e,t,r,n,i,a){var o={type:e?"CommentBlock":"CommentLine",value:t,start:r,end:n,loc:new G(i,a)};this.isLookahead||(this.options.tokens&&this.state.tokens.push(o),this.state.comments.push(o),this.addComment(o))},t.prototype.skipBlockComment=function(){var e=this.state.curPosition(),t=this.state.pos,r=this.input.indexOf("*/",this.state.pos+=2);-1===r&&this.raise(this.state.pos-2,"Unterminated comment"),this.state.pos=r+2,j.lastIndex=t;for(var n=void 0;(n=j.exec(this.input))&&n.index8&&e<14||e>=5760&&U.test(String.fromCharCode(e))))break e;++this.state.pos}}},t.prototype.finishToken=function(e,t){this.state.end=this.state.pos,this.state.endLoc=this.state.curPosition();var r=this.state.type;this.state.type=e,this.state.value=t,this.updateContext(r)},t.prototype.readToken_dot=function(){var e=this.input.charCodeAt(this.state.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.state.pos+2);return 46===e&&46===t?(this.state.pos+=3,this.finishToken(D.ellipsis)):(++this.state.pos,this.finishToken(D.dot))},t.prototype.readToken_slash=function(){return this.state.exprAllowed?(++this.state.pos,this.readRegexp()):61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(D.assign,2):this.finishOp(D.slash,1)},t.prototype.readToken_mult_modulo=function(e){var t=42===e?D.star:D.modulo,r=1,n=this.input.charCodeAt(this.state.pos+1);return 42===e&&42===n&&(r++,n=this.input.charCodeAt(this.state.pos+2),t=D.exponent),61===n&&(r++,t=D.assign),this.finishOp(t,r)},t.prototype.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.state.pos+1);if(t===e)return this.finishOp(124===e?D.logicalOR:D.logicalAND,2);if(124===e){if(62===t)return this.finishOp(D.pipeline,2);if(125===t&&this.hasPlugin("flow"))return this.finishOp(D.braceBarR,2)}return 61===t?this.finishOp(D.assign,2):this.finishOp(124===e?D.bitwiseOR:D.bitwiseAND,1)},t.prototype.readToken_caret=function(){return 61===this.input.charCodeAt(this.state.pos+1)?this.finishOp(D.assign,2):this.finishOp(D.bitwiseXOR,1)},t.prototype.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.state.pos+1);return t===e?45===t&&!this.inModule&&62===this.input.charCodeAt(this.state.pos+2)&&L.test(this.input.slice(this.state.lastTokEnd,this.state.pos))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(D.incDec,2):61===t?this.finishOp(D.assign,2):this.finishOp(D.plusMin,1)},t.prototype.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.state.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.state.pos+2)?3:2,61===this.input.charCodeAt(this.state.pos+r)?this.finishOp(D.assign,r+1):this.finishOp(D.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.state.pos+2)||45!==this.input.charCodeAt(this.state.pos+3)?(61===t&&(r=2),this.finishOp(D.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},t.prototype.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.state.pos+1);return 61===t?this.finishOp(D.equality,61===this.input.charCodeAt(this.state.pos+2)?3:2):61===e&&62===t?(this.state.pos+=2,this.finishToken(D.arrow)):this.finishOp(61===e?D.eq:D.bang,1)},t.prototype.readToken_question=function(){var e=this.input.charCodeAt(this.state.pos+1),t=this.input.charCodeAt(this.state.pos+2);return 46!==e||t>=48&&t<=57?(++this.state.pos,this.finishToken(D.question)):(this.state.pos+=2,this.finishToken(D.questionDot))},t.prototype.getTokenFromCode=function(e){switch(e){case 35:if((this.hasPlugin("classPrivateProperties")||this.hasPlugin("classPrivateMethods"))&&this.state.classLevel>0)return++this.state.pos,this.finishToken(D.hash);this.raise(this.state.pos,"Unexpected character '".concat(p(e),"'"));case 46:return this.readToken_dot();case 40:return++this.state.pos,this.finishToken(D.parenL);case 41:return++this.state.pos,this.finishToken(D.parenR);case 59:return++this.state.pos,this.finishToken(D.semi);case 44:return++this.state.pos,this.finishToken(D.comma);case 91:return++this.state.pos,this.finishToken(D.bracketL);case 93:return++this.state.pos,this.finishToken(D.bracketR);case 123:return this.hasPlugin("flow")&&124===this.input.charCodeAt(this.state.pos+1)?this.finishOp(D.braceBarL,2):(++this.state.pos,this.finishToken(D.braceL));case 125:return++this.state.pos,this.finishToken(D.braceR);case 58:return this.hasPlugin("functionBind")&&58===this.input.charCodeAt(this.state.pos+1)?this.finishOp(D.doubleColon,2):(++this.state.pos,this.finishToken(D.colon));case 63:return this.readToken_question();case 64:return++this.state.pos,this.finishToken(D.at);case 96:return++this.state.pos,this.finishToken(D.backQuote);case 48:var t=this.input.charCodeAt(this.state.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(111===t||79===t)return this.readRadixNumber(8);if(98===t||66===t)return this.readRadixNumber(2);case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 126:return this.finishOp(D.tilde,1)}this.raise(this.state.pos,"Unexpected character '".concat(p(e),"'"))},t.prototype.finishOp=function(e,t){var r=this.input.slice(this.state.pos,this.state.pos+t);return this.state.pos+=t,this.finishToken(e,r)},t.prototype.readRegexp=function(){for(var e=this.state.pos,t=void 0,r=void 0;;){this.state.pos>=this.input.length&&this.raise(e,"Unterminated regular expression");var n=this.input.charAt(this.state.pos);if(L.test(n)&&this.raise(e,"Unterminated regular expression"),t)t=!1;else{if("["===n)r=!0;else if("]"===n&&r)r=!1;else if("/"===n&&!r)break;t="\\"===n}++this.state.pos}var i=this.input.slice(e,this.state.pos);++this.state.pos;var a=this.readWord1();return a&&(/^[gmsiyu]*$/.test(a)||this.raise(e,"Invalid regular expression flag")),this.finishToken(D.regexp,{pattern:i,flags:a})},t.prototype.readInt=function(e,t){for(var r=this.state.pos,n=16===e?H.hex:H.decBinOct,i=16===e?J.hex:10===e?J.dec:8===e?J.oct:J.bin,a=0,o=0,s=null==t?1/0:t;o-1||n.indexOf(p)>-1||Number.isNaN(p))&&this.raise(this.state.pos,"Invalid or unexpected token"),++this.state.pos;continue}}if((l=u>=97?u-97+10:u>=65?u-65+10:u>=48&&u<=57?u-48:1/0)>=e)break;++this.state.pos,a=a*e+l}return this.state.pos===r||null!=t&&this.state.pos-r!==t?null:a},t.prototype.readRadixNumber=function(e){var t=this.state.pos,r=!1;this.state.pos+=2;var n=this.readInt(e);if(null==n&&this.raise(this.state.start+2,"Expected number in radix "+e),this.hasPlugin("bigInt")&&110===this.input.charCodeAt(this.state.pos)&&(++this.state.pos,r=!0),o(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number"),r){var i=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");return this.finishToken(D.bigint,i)}return this.finishToken(D.num,n)},t.prototype.readNumber=function(e){var t=this.state.pos,r=48===this.input.charCodeAt(t),n=!1,i=!1;e||null!==this.readInt(10)||this.raise(t,"Invalid number"),r&&this.state.pos==t+1&&(r=!1);var a=this.input.charCodeAt(this.state.pos);46!==a||r||(++this.state.pos,this.readInt(10),n=!0,a=this.input.charCodeAt(this.state.pos)),69!==a&&101!==a||r||(43!==(a=this.input.charCodeAt(++this.state.pos))&&45!==a||++this.state.pos,null===this.readInt(10)&&this.raise(t,"Invalid number"),n=!0,a=this.input.charCodeAt(this.state.pos)),this.hasPlugin("bigInt")&&110===a&&((n||r)&&this.raise(t,"Invalid BigIntLiteral"),++this.state.pos,i=!0),o(this.fullCharCodeAtPos())&&this.raise(this.state.pos,"Identifier directly after number");var s=this.input.slice(t,this.state.pos).replace(/[_n]/g,"");if(i)return this.finishToken(D.bigint,s);var u=void 0;return n?u=parseFloat(s):r&&1!==s.length?this.state.strict?this.raise(t,"Invalid number"):u=/[89]/.test(s)?parseInt(s,10):parseInt(s,8):u=parseInt(s,10),this.finishToken(D.num,u)},t.prototype.readCodePoint=function(e){var t=void 0;if(123===this.input.charCodeAt(this.state.pos)){var r=++this.state.pos;if(t=this.readHexChar(this.input.indexOf("}",this.state.pos)-this.state.pos,e),++this.state.pos,null===t)--this.state.invalidTemplateEscapePosition;else if(t>1114111){if(!e)return this.state.invalidTemplateEscapePosition=r-2,null;this.raise(r,"Code point out of bounds")}}else t=this.readHexChar(4,e);return t},t.prototype.readString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;92===n?(t+=this.input.slice(r,this.state.pos),t+=this.readEscapedChar(!1),r=this.state.pos):(u(n)&&this.raise(this.state.start,"Unterminated string constant"),++this.state.pos)}return t+=this.input.slice(r,this.state.pos++),this.finishToken(D.string,t)},t.prototype.readTmplToken=function(){for(var e="",t=this.state.pos,r=!1;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated template");var n=this.input.charCodeAt(this.state.pos);if(96===n||36===n&&123===this.input.charCodeAt(this.state.pos+1))return this.state.pos===this.state.start&&this.match(D.template)?36===n?(this.state.pos+=2,this.finishToken(D.dollarBraceL)):(++this.state.pos,this.finishToken(D.backQuote)):(e+=this.input.slice(t,this.state.pos),this.finishToken(D.template,r?null:e));if(92===n){e+=this.input.slice(t,this.state.pos);var i=this.readEscapedChar(!0);null===i?r=!0:e+=i,t=this.state.pos}else if(u(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}},t.prototype.readEscapedChar=function(e){var t=!e,r=this.input.charCodeAt(++this.state.pos);switch(++this.state.pos,r){case 110:return"\n";case 114:return"\r";case 120:var n=this.readHexChar(2,t);return null===n?null:String.fromCharCode(n);case 117:var i=this.readCodePoint(t);return null===i?null:p(i);case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.state.pos)&&++this.state.pos;case 10:return this.state.lineStart=this.state.pos,++this.state.curLine,"";default:if(r>=48&&r<=55){var a=this.state.pos-1,o=this.input.substr(this.state.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(o,8);if(s>255&&(o=o.slice(0,-1),s=parseInt(o,8)),s>0){if(e)return this.state.invalidTemplateEscapePosition=a,null;this.state.strict?this.raise(a,"Octal literal in strict mode"):this.state.containsOctal||(this.state.containsOctal=!0,this.state.octalPosition=a)}return this.state.pos+=o.length-1,String.fromCharCode(s)}return String.fromCharCode(r)}},t.prototype.readHexChar=function(e,t){var r=this.state.pos,n=this.readInt(16,e);return null===n&&(t?this.raise(r,"Bad character escape sequence"):(this.state.pos=r-1,this.state.invalidTemplateEscapePosition=r-1)),n},t.prototype.readWord1=function(){this.state.containsEsc=!1;for(var e="",t=!0,r=this.state.pos;this.state.pos=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}o.name===t&&this.raise(r.start,"Label '".concat(t,"' is already declared"))}for(var s=this.state.type.isLoop?"loop":this.match(D._switch)?"switch":null,u=this.state.labels.length-1;u>=0;u--){var l=this.state.labels[u];if(l.statementStart!==e.start)break;l.statementStart=this.state.start,l.kind=s}return this.state.labels.push({name:t,kind:s,statementStart:this.state.start}),e.body=this.parseStatement(!0),("ClassDeclaration"==e.body.type||"VariableDeclaration"==e.body.type&&"var"!==e.body.kind||"FunctionDeclaration"==e.body.type&&(this.state.strict||e.body.generator||e.body.async))&&this.raise(e.body.start,"Invalid labeled declaration"),this.state.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},t.prototype.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},t.prototype.parseBlock=function(e){var t=this.startNode();return this.expect(D.braceL),this.parseBlockBody(t,e,!1,D.braceR),this.finishNode(t,"BlockStatement")},t.prototype.isValidDirective=function(e){return"ExpressionStatement"===e.type&&"StringLiteral"===e.expression.type&&!e.expression.extra.parenthesized},t.prototype.parseBlockBody=function(e,t,r,n){var i=e.body=[],a=e.directives=[];this.parseBlockOrModuleBlockBody(i,t?a:void 0,r,n)},t.prototype.parseBlockOrModuleBlockBody=function(e,t,r,n){for(var i=!1,a=void 0,o=void 0;!this.eat(n);){i||!this.state.containsOctal||o||(o=this.state.octalPosition);var s=this.parseStatement(!0,r);if(t&&!i&&this.isValidDirective(s)){var u=this.stmtToDirective(s);t.push(u),void 0===a&&"use strict"===u.value.value&&(a=this.state.strict,this.setStrict(!0),o&&this.raise(o,"Octal literal in strict mode"))}else i=!0,e.push(s)}!1===a&&this.setStrict(!1)},t.prototype.parseFor=function(e,t){return e.init=t,this.expect(D.semi),e.test=this.match(D.semi)?null:this.parseExpression(),this.expect(D.semi),e.update=this.match(D.parenR)?null:this.parseExpression(),this.expect(D.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,"ForStatement")},t.prototype.parseForIn=function(e,t,r){var n=this.match(D._in)?"ForInStatement":"ForOfStatement";return r?this.eatContextual("of"):this.next(),"ForOfStatement"===n&&(e.await=!!r),e.left=t,e.right=this.parseExpression(),this.expect(D.parenR),e.body=this.parseStatement(!1),this.state.labels.pop(),this.finishNode(e,n)},t.prototype.parseVar=function(e,t,r){var n=e.declarations=[];for(e.kind=r.keyword;;){var i=this.startNode();if(this.parseVarHead(i),this.eat(D.eq)?i.init=this.parseMaybeAssign(t):(r!==D._const||this.match(D._in)||this.isContextual("of")?"Identifier"===i.id.type||t&&(this.match(D._in)||this.isContextual("of"))||this.raise(this.state.lastTokEnd,"Complex binding patterns require an initialization value"):this.hasPlugin("typescript")||this.unexpected(),i.init=null),n.push(this.finishNode(i,"VariableDeclarator")),!this.eat(D.comma))break}return e},t.prototype.parseVarHead=function(e){e.id=this.parseBindingAtom(),this.checkLVal(e.id,!0,void 0,"variable declaration")},t.prototype.parseFunction=function(e,t,r,n,i){var a=this.state.inMethod;return this.state.inMethod=!1,this.initFunction(e,n),this.match(D.star)&&(e.async&&this.expectPlugin("asyncGenerators"),e.generator=!0,this.next()),!t||i||this.match(D.name)||this.match(D._yield)||this.unexpected(),(this.match(D.name)||this.match(D._yield))&&(e.id=this.parseBindingIdentifier()),this.parseFunctionParams(e),this.parseFunctionBodyAndFinish(e,t?"FunctionDeclaration":"FunctionExpression",r),this.state.inMethod=a,e},t.prototype.parseFunctionParams=function(e){this.expect(D.parenL),e.params=this.parseBindingList(D.parenR)},t.prototype.parseClass=function(e,t,r){return this.next(),this.takeDecorators(e),this.parseClassId(e,t,r),this.parseClassSuper(e),this.parseClassBody(e),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},t.prototype.isClassProperty=function(){return this.match(D.eq)||this.match(D.semi)||this.match(D.braceR)},t.prototype.isClassMethod=function(){return this.match(D.parenL)},t.prototype.isNonstaticConstructor=function(e){return!(e.computed||e.static||"constructor"!==e.key.name&&"constructor"!==e.key.value)},t.prototype.parseClassBody=function(e){var t=this.state.strict;this.state.strict=!0,this.state.classLevel++;var r={hadConstructor:!1},n=[],i=this.startNode();for(i.body=[],this.expect(D.braceL);!this.eat(D.braceR);)if(this.eat(D.semi))n.length>0&&this.raise(this.state.lastTokEnd,"Decorators must not be followed by a semicolon");else if(this.match(D.at))n.push(this.parseDecorator());else{var a=this.startNode();n.length&&(a.decorators=n,this.resetStartLocationFromNode(a,n[0]),n=[]),this.parseClassMember(i,a,r),this.hasPlugin("decorators2")&&"method"!=a.kind&&a.decorators&&a.decorators.length>0&&this.raise(a.start,"Stage 2 decorators may only be used with a class or a class method")}n.length&&this.raise(this.state.start,"You have trailing decorators with no method"),e.body=this.finishNode(i,"ClassBody"),this.state.classLevel--,this.state.strict=t},t.prototype.parseClassMember=function(e,t,r){var n=!1;if(this.match(D.name)&&"static"===this.state.value){var i=this.parseIdentifier(!0);if(this.isClassMethod()){var a=t;return a.kind="method",a.computed=!1,a.key=i,a.static=!1,void this.pushClassMethod(e,a,!1,!1,!1)}if(this.isClassProperty()){var o=t;return o.computed=!1,o.key=i,o.static=!1,void e.body.push(this.parseClassProperty(o))}n=!0}this.parseClassMemberWithIsStatic(e,t,r,n)},t.prototype.parseClassMemberWithIsStatic=function(e,t,r,n){var i=t,a=t,o=t,s=t,u=i,l=i;if(t.static=n,this.eat(D.star))return u.kind="method",this.parseClassPropertyName(u),"PrivateName"===u.key.type?void this.pushClassPrivateMethod(e,a,!0,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't be a generator"),void this.pushClassMethod(e,i,!0,!1,!1));var c=this.parseClassPropertyName(t),p="PrivateName"===c.type,f="Identifier"===c.type;if(this.parsePostMemberNameModifiers(l),this.isClassMethod()){if(u.kind="method",p)return void this.pushClassPrivateMethod(e,a,!1,!1);var d=this.isNonstaticConstructor(i);d&&(i.kind="constructor",i.decorators&&this.raise(i.start,"You can't attach decorators to a class constructor"),r.hadConstructor&&!this.hasPlugin("typescript")&&this.raise(c.start,"Duplicate constructor in the same class"),r.hadConstructor=!0),this.pushClassMethod(e,i,!1,!1,d)}else if(this.isClassProperty())p?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o);else if(f&&"async"===c.name&&!this.isLineTerminator()){var h=this.match(D.star);h&&(this.expectPlugin("asyncGenerators"),this.next()),u.kind="method",this.parseClassPropertyName(u),"PrivateName"===u.key.type?this.pushClassPrivateMethod(e,a,h,!0):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't be an async function"),this.pushClassMethod(e,i,h,!0,!1))}else!f||"get"!==c.name&&"set"!==c.name||this.isLineTerminator()&&this.match(D.star)?this.isLineTerminator()?p?this.pushClassPrivateProperty(e,s):this.pushClassProperty(e,o):this.unexpected():(u.kind=c.name,this.parseClassPropertyName(i),"PrivateName"===u.key.type?this.pushClassPrivateMethod(e,a,!1,!1):(this.isNonstaticConstructor(i)&&this.raise(i.key.start,"Constructor can't have get/set modifier"),this.pushClassMethod(e,i,!1,!1,!1)),this.checkGetterSetterParamCount(i))},t.prototype.parseClassPropertyName=function(e){var t=this.parsePropertyName(e);return e.computed||!e.static||"prototype"!==t.name&&"prototype"!==t.value||this.raise(t.start,"Classes may not have static property named prototype"),"PrivateName"===t.type&&"constructor"===t.id.name&&this.raise(t.start,"Classes may not have a private field named '#constructor'"),t},t.prototype.pushClassProperty=function(e,t){this.isNonstaticConstructor(t)&&this.raise(t.key.start,"Classes may not have a non-static field named 'constructor'"),e.body.push(this.parseClassProperty(t))},t.prototype.pushClassPrivateProperty=function(e,t){this.expectPlugin("classPrivateProperties",t.key.start),e.body.push(this.parseClassPrivateProperty(t))},t.prototype.pushClassMethod=function(e,t,r,n,i){e.body.push(this.parseMethod(t,r,n,i,"ClassMethod"))},t.prototype.pushClassPrivateMethod=function(e,t,r,n){this.expectPlugin("classPrivateMethods",t.key.start),e.body.push(this.parseMethod(t,r,n,!1,"ClassPrivateMethod"))},t.prototype.parsePostMemberNameModifiers=function(e){},t.prototype.parseAccessModifier=function(){},t.prototype.parseClassPrivateProperty=function(e){return this.state.inClassProperty=!0,e.value=this.eat(D.eq)?this.parseMaybeAssign():null,this.semicolon(),this.state.inClassProperty=!1,this.finishNode(e,"ClassPrivateProperty")},t.prototype.parseClassProperty=function(e){return e.typeAnnotation||this.expectPlugin("classProperties"),this.state.inClassProperty=!0,this.match(D.eq)?(this.expectPlugin("classProperties"),this.next(),e.value=this.parseMaybeAssign()):e.value=null,this.semicolon(),this.state.inClassProperty=!1,this.finishNode(e,"ClassProperty")},t.prototype.parseClassId=function(e,t,r){this.match(D.name)?e.id=this.parseIdentifier():r||!t?e.id=null:this.unexpected(null,"A class name is required")},t.prototype.parseClassSuper=function(e){e.superClass=this.eat(D._extends)?this.parseExprSubscripts():null},t.prototype.parseExport=function(e){if(this.shouldParseExportStar()){if(this.parseExportStar(e,this.hasPlugin("exportExtensions")),"ExportAllDeclaration"===e.type)return e}else if(this.hasPlugin("exportExtensions")&&this.isExportDefaultSpecifier()){var t=this.startNode();t.exported=this.parseIdentifier(!0);var r=[this.finishNode(t,"ExportDefaultSpecifier")];if(e.specifiers=r,this.match(D.comma)&&this.lookahead().type===D.star){this.expect(D.comma);var n=this.startNode();this.expect(D.star),this.expectContextual("as"),n.exported=this.parseIdentifier(),r.push(this.finishNode(n,"ExportNamespaceSpecifier"))}else this.parseExportSpecifiersMaybe(e);this.parseExportFrom(e,!0)}else{if(this.eat(D._default)){var i=this.startNode(),a=!1;return this.eat(D._function)?i=this.parseFunction(i,!0,!1,!1,!0):this.isContextual("async")&&this.lookahead().type===D._function?(this.eatContextual("async"),this.eat(D._function),i=this.parseFunction(i,!0,!1,!0,!0)):this.match(D._class)?i=this.parseClass(i,!0,!0):(a=!0,i=this.parseMaybeAssign()),e.declaration=i,a&&this.semicolon(),this.checkExport(e,!0,!0),this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportDeclaration()){if(this.isContextual("async")){var o=this.lookahead();o.type!==D._function&&this.unexpected(o.start,"Unexpected token, expected function")}e.specifiers=[],e.source=null,e.declaration=this.parseExportDeclaration(e)}else e.declaration=null,e.specifiers=this.parseExportSpecifiers(),this.parseExportFrom(e)}return this.checkExport(e,!0),this.finishNode(e,"ExportNamedDeclaration")},t.prototype.parseExportDeclaration=function(e){return this.parseStatement(!0)},t.prototype.isExportDefaultSpecifier=function(){if(this.match(D.name))return"async"!==this.state.value;if(!this.match(D._default))return!1;var e=this.lookahead();return e.type===D.comma||e.type===D.name&&"from"===e.value},t.prototype.parseExportSpecifiersMaybe=function(e){this.eat(D.comma)&&(e.specifiers=e.specifiers.concat(this.parseExportSpecifiers()))},t.prototype.parseExportFrom=function(e,t){this.eatContextual("from")?(e.source=this.match(D.string)?this.parseExprAtom():this.unexpected(),this.checkExport(e)):t?this.unexpected():e.source=null,this.semicolon()},t.prototype.shouldParseExportStar=function(){return this.match(D.star)},t.prototype.parseExportStar=function(e,t){if(this.expect(D.star),t&&this.isContextual("as")){var r=this.startNodeAt(this.state.lastTokStart,this.state.lastTokStartLoc);this.next(),r.exported=this.parseIdentifier(!0),e.specifiers=[this.finishNode(r,"ExportNamespaceSpecifier")],this.parseExportSpecifiersMaybe(e),this.parseExportFrom(e,!0)}else this.parseExportFrom(e,!0),this.finishNode(e,"ExportAllDeclaration")},t.prototype.shouldParseExportDeclaration=function(){return"var"===this.state.type.keyword||"const"===this.state.type.keyword||"let"===this.state.type.keyword||"function"===this.state.type.keyword||"class"===this.state.type.keyword||this.isContextual("async")},t.prototype.checkExport=function(e,t,r){if(t)if(r)this.checkDuplicateExports(e,"default");else if(e.specifiers&&e.specifiers.length)for(var n=e.specifiers,i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}var s=o;this.checkDuplicateExports(s,s.exported.name)}else if(e.declaration)if("FunctionDeclaration"===e.declaration.type||"ClassDeclaration"===e.declaration.type)this.checkDuplicateExports(e,e.declaration.id.name);else if("VariableDeclaration"===e.declaration.type)for(var u=e.declaration.declarations,l=Array.isArray(u),c=0,u=l?u:u[Symbol.iterator]();;){var p;if(l){if(c>=u.length)break;p=u[c++]}else{if((c=u.next()).done)break;p=c.value}var f=p;this.checkDeclaration(f.id)}if(this.state.decoratorStack[this.state.decoratorStack.length-1].length){var d=e.declaration&&("ClassDeclaration"===e.declaration.type||"ClassExpression"===e.declaration.type);if(!e.declaration||!d)throw this.raise(e.start,"You can only use decorators on an export when exporting a class");this.takeDecorators(e.declaration)}},t.prototype.checkDeclaration=function(e){if("ObjectPattern"===e.type)for(var t=e.properties,r=Array.isArray(t),n=0,t=r?t:t[Symbol.iterator]();;){var i;if(r){if(n>=t.length)break;i=t[n++]}else{if((n=t.next()).done)break;i=n.value}var a=i;this.checkDeclaration(a)}else if("ArrayPattern"===e.type)for(var o=e.elements,s=Array.isArray(o),u=0,o=s?o:o[Symbol.iterator]();;){var l;if(s){if(u>=o.length)break;l=o[u++]}else{if((u=o.next()).done)break;l=u.value}var c=l;c&&this.checkDeclaration(c)}else"ObjectProperty"===e.type?this.checkDeclaration(e.value):"RestElement"===e.type?this.checkDeclaration(e.argument):"Identifier"===e.type&&this.checkDuplicateExports(e,e.name)},t.prototype.checkDuplicateExports=function(e,t){this.state.exportedIdentifiers.indexOf(t)>-1&&this.raiseDuplicateExportError(e,t),this.state.exportedIdentifiers.push(t)},t.prototype.raiseDuplicateExportError=function(e,t){throw this.raise(e.start,"default"===t?"Only one default export allowed per module.":"`".concat(t,"` has already been exported. Exported identifiers must be unique."))},t.prototype.parseExportSpecifiers=function(){var e=[],t=!0,r=void 0;for(this.expect(D.braceL);!this.eat(D.braceR);){if(t)t=!1;else if(this.expect(D.comma),this.eat(D.braceR))break;var n=this.match(D._default);n&&!r&&(r=!0);var i=this.startNode();i.local=this.parseIdentifier(n),i.exported=this.eatContextual("as")?this.parseIdentifier(!0):i.local.__clone(),e.push(this.finishNode(i,"ExportSpecifier"))}return r&&!this.isContextual("from")&&this.unexpected(),e},t.prototype.parseImport=function(e){return this.match(D.string)?(e.specifiers=[],e.source=this.parseExprAtom()):(e.specifiers=[],this.parseImportSpecifiers(e),this.expectContextual("from"),e.source=this.match(D.string)?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},t.prototype.parseImportSpecifiers=function(e){var t=!0;if(this.match(D.name)){var r=this.state.start,n=this.state.startLoc;if(e.specifiers.push(this.parseImportSpecifierDefault(this.parseIdentifier(),r,n)),!this.eat(D.comma))return}if(this.match(D.star)){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdentifier(),this.checkLVal(i.local,!0,void 0,"import namespace specifier"),void e.specifiers.push(this.finishNode(i,"ImportNamespaceSpecifier"))}for(this.expect(D.braceL);!this.eat(D.braceR);){if(t)t=!1;else if(this.eat(D.colon)&&this.unexpected(null,"ES2015 named imports do not destructure. Use another statement for destructuring after the import."),this.expect(D.comma),this.eat(D.braceR))break;this.parseImportSpecifier(e)}},t.prototype.parseImportSpecifier=function(e){var t=this.startNode();t.imported=this.parseIdentifier(!0),this.eatContextual("as")?t.local=this.parseIdentifier():(this.checkReservedWord(t.imported.name,t.start,!0,!0),t.local=t.imported.__clone()),this.checkLVal(t.local,!0,void 0,"import specifier"),e.specifiers.push(this.finishNode(t,"ImportSpecifier"))},t.prototype.parseImportSpecifierDefault=function(e,t,r){var n=this.startNodeAt(t,r);return n.local=e,this.checkLVal(n.local,!0,void 0,"default import specifier"),this.finishNode(n,"ImportDefaultSpecifier")},t}(function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.checkPropClash=function(e,t){if(!e.computed&&!e.kind){var r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}},t.prototype.getExpression=function(){this.nextToken();var e=this.parseExpression();return this.match(D.eof)||this.unexpected(),e.comments=this.state.comments,e},t.prototype.parseExpression=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.parseMaybeAssign(e,t);if(this.match(D.comma)){var a=this.startNodeAt(r,n);for(a.expressions=[i];this.eat(D.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.toReferencedList(a.expressions),this.finishNode(a,"SequenceExpression")}return i},t.prototype.parseMaybeAssign=function(e,t,r,n){var i=this.state.start,a=this.state.startLoc;if(this.match(D._yield)&&this.state.inGenerator){var o=this.parseYield();return r&&(o=r.call(this,o,i,a)),o}var s=void 0;t?s=!1:(t={start:0},s=!0),(this.match(D.parenL)||this.match(D.name))&&(this.state.potentialArrowAt=this.state.start);var u=this.parseMaybeConditional(e,t,n);if(r&&(u=r.call(this,u,i,a)),this.state.type.isAssign){var l=this.startNodeAt(i,a);if(l.operator=this.state.value,l.left=this.match(D.eq)?this.toAssignable(u,void 0,"assignment expression"):u,t.start=0,this.checkLVal(u,void 0,void 0,"assignment expression"),u.extra&&u.extra.parenthesized){var c=void 0;"ObjectPattern"===u.type?c="`({a}) = 0` use `({a} = 0)`":"ArrayPattern"===u.type&&(c="`([a]) = 0` use `([a] = 0)`"),c&&this.raise(u.start,"You're trying to assign to a parenthesized expression, eg. instead of ".concat(c))}return this.next(),l.right=this.parseMaybeAssign(e),this.finishNode(l,"AssignmentExpression")}return s&&t.start&&this.unexpected(t.start),u},t.prototype.parseMaybeConditional=function(e,t,r){var n=this.state.start,i=this.state.startLoc,a=this.state.potentialArrowAt,o=this.parseExprOps(e,t);return"ArrowFunctionExpression"===o.type&&o.start===a?o:t&&t.start?o:this.parseConditional(o,e,n,i,r)},t.prototype.parseConditional=function(e,t,r,n,i){if(this.eat(D.question)){var a=this.startNodeAt(r,n);return a.test=e,a.consequent=this.parseMaybeAssign(),this.expect(D.colon),a.alternate=this.parseMaybeAssign(t),this.finishNode(a,"ConditionalExpression")}return e},t.prototype.parseExprOps=function(e,t){var r=this.state.start,n=this.state.startLoc,i=this.state.potentialArrowAt,a=this.parseMaybeUnary(t);return"ArrowFunctionExpression"===a.type&&a.start===i?a:t&&t.start?a:this.parseExprOp(a,r,n,-1,e)},t.prototype.parseExprOp=function(e,t,r,n,i){var a=this.state.type.binop;if(!(null==a||i&&this.match(D._in))&&a>n){var o=this.startNodeAt(t,r);o.left=e,o.operator=this.state.value,"**"!==o.operator||"UnaryExpression"!==e.type||!e.extra||e.extra.parenthesizedArgument||e.extra.parenthesized||this.raise(e.argument.start,"Illegal expression. Wrap left hand side or entire exponentiation in parentheses.");var s=this.state.type;this.next();var u=this.state.start,l=this.state.startLoc;return"|>"===o.operator&&(this.expectPlugin("pipelineOperator"),this.state.potentialArrowAt=u),o.right=this.parseExprOp(this.parseMaybeUnary(),u,l,s.rightAssociative?a-1:a,i),this.finishNode(o,s===D.logicalOR||s===D.logicalAND?"LogicalExpression":"BinaryExpression"),this.parseExprOp(o,t,r,n,i)}return e},t.prototype.parseMaybeUnary=function(e){if(this.state.type.prefix){var t=this.startNode(),r=this.match(D.incDec);t.operator=this.state.value,t.prefix=!0,"throw"===t.operator&&this.expectPlugin("throwExpressions"),this.next();var n=this.state.type;if(t.argument=this.parseMaybeUnary(),this.addExtra(t,"parenthesizedArgument",!(n!==D.parenL||t.argument.extra&&t.argument.extra.parenthesized)),e&&e.start&&this.unexpected(e.start),r)this.checkLVal(t.argument,void 0,void 0,"prefix operation");else if(this.state.strict&&"delete"===t.operator){var i=t.argument;"Identifier"===i.type?this.raise(t.start,"Deleting local variable in strict mode"):"MemberExpression"===i.type&&"PrivateName"===i.property.type&&this.raise(t.start,"Deleting a private field is not allowed")}return this.finishNode(t,r?"UpdateExpression":"UnaryExpression")}var a=this.state.start,o=this.state.startLoc,s=this.parseExprSubscripts(e);if(e&&e.start)return s;for(;this.state.type.postfix&&!this.canInsertSemicolon();){var u=this.startNodeAt(a,o);u.operator=this.state.value,u.prefix=!1,u.argument=s,this.checkLVal(s,void 0,void 0,"postfix operation"),this.next(),s=this.finishNode(u,"UpdateExpression")}return s},t.prototype.parseExprSubscripts=function(e){var t=this.state.start,r=this.state.startLoc,n=this.state.potentialArrowAt,i=this.parseExprAtom(e);return"ArrowFunctionExpression"===i.type&&i.start===n?i:e&&e.start?i:this.parseSubscripts(i,t,r)},t.prototype.parseSubscripts=function(e,t,r,n){var i={stop:!1};do{e=this.parseSubscript(e,t,r,n,i)}while(!i.stop);return e},t.prototype.parseSubscript=function(e,t,r,n,i){if(!n&&this.eat(D.doubleColon)){var a=this.startNodeAt(t,r);return a.object=e,a.callee=this.parseNoCallExpr(),i.stop=!0,this.parseSubscripts(this.finishNode(a,"BindExpression"),t,r,n)}if(this.match(D.questionDot)){if(this.expectPlugin("optionalChaining"),n&&this.lookahead().type==D.parenL)return i.stop=!0,e;this.next();var o=this.startNodeAt(t,r);if(this.eat(D.bracketL))return o.object=e,o.property=this.parseExpression(),o.computed=!0,o.optional=!0,this.expect(D.bracketR),this.finishNode(o,"MemberExpression");if(this.eat(D.parenL)){var s=this.atPossibleAsync(e);return o.callee=e,o.arguments=this.parseCallExpressionArguments(D.parenR,s),o.optional=!0,this.finishNode(o,"CallExpression")}return o.object=e,o.property=this.parseIdentifier(!0),o.computed=!1,o.optional=!0,this.finishNode(o,"MemberExpression")}if(this.eat(D.dot)){var u=this.startNodeAt(t,r);return u.object=e,u.property=this.parseMaybePrivateName(),u.computed=!1,this.finishNode(u,"MemberExpression")}if(this.eat(D.bracketL)){var l=this.startNodeAt(t,r);return l.object=e,l.property=this.parseExpression(),l.computed=!0,this.expect(D.bracketR),this.finishNode(l,"MemberExpression")}if(!n&&this.match(D.parenL)){var c=this.atPossibleAsync(e);this.next();var p=this.startNodeAt(t,r);p.callee=e;var f={start:-1};return p.arguments=this.parseCallExpressionArguments(D.parenR,c,f),this.finishCallExpression(p),c&&this.shouldParseAsyncArrow()?(i.stop=!0,f.start>-1&&this.raise(f.start,"A trailing comma is not permitted after the rest element"),this.parseAsyncArrowFromCallExpression(this.startNodeAt(t,r),p)):(this.toReferencedList(p.arguments),p)}if(this.match(D.backQuote)){var d=this.startNodeAt(t,r);return d.tag=e,d.quasi=this.parseTemplate(!0),this.finishNode(d,"TaggedTemplateExpression")}return i.stop=!0,e},t.prototype.atPossibleAsync=function(e){return this.state.potentialArrowAt===e.start&&"Identifier"===e.type&&"async"===e.name&&!this.canInsertSemicolon()},t.prototype.finishCallExpression=function(e){if("Import"===e.callee.type){1!==e.arguments.length&&this.raise(e.start,"import() requires exactly one argument");var t=e.arguments[0];t&&"SpreadElement"===t.type&&this.raise(t.start,"... is not allowed in import()")}return this.finishNode(e,"CallExpression")},t.prototype.parseCallExpressionArguments=function(e,t,r){for(var n=[],i=void 0,a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(D.comma),this.eat(e))break;this.match(D.parenL)&&!i&&(i=this.state.start),n.push(this.parseExprListItem(!1,t?{start:0}:void 0,t?{start:0}:void 0,t?r:void 0))}return t&&i&&this.shouldParseAsyncArrow()&&this.unexpected(),n},t.prototype.shouldParseAsyncArrow=function(){return this.match(D.arrow)},t.prototype.parseAsyncArrowFromCallExpression=function(e,t){return this.expect(D.arrow),this.parseArrowExpression(e,t.arguments,!0)},t.prototype.parseNoCallExpr=function(){var e=this.state.start,t=this.state.startLoc;return this.parseSubscripts(this.parseExprAtom(),e,t,!0)},t.prototype.parseExprAtom=function(e){var t=this.state.potentialArrowAt===this.state.start,r=void 0;switch(this.state.type){case D._super:return this.state.inMethod||this.state.inClassProperty||this.options.allowSuperOutsideMethod||this.raise(this.state.start,"'super' outside of function or class"),r=this.startNode(),this.next(),this.match(D.parenL)||this.match(D.bracketL)||this.match(D.dot)||this.unexpected(),this.match(D.parenL)&&"constructor"!==this.state.inMethod&&!this.options.allowSuperOutsideMethod&&this.raise(r.start,"super() is only valid inside a class constructor. Make sure the method name is spelled exactly as 'constructor'."),this.finishNode(r,"Super");case D._import:return this.lookahead().type===D.dot?this.parseImportMetaProperty():(this.expectPlugin("dynamicImport"),r=this.startNode(),this.next(),this.match(D.parenL)||this.unexpected(null,D.parenL),this.finishNode(r,"Import"));case D._this:return r=this.startNode(),this.next(),this.finishNode(r,"ThisExpression");case D._yield:this.state.inGenerator&&this.unexpected();case D.name:r=this.startNode();var n="await"===this.state.value&&this.state.inAsync,i=this.shouldAllowYieldIdentifier(),a=this.parseIdentifier(n||i);if("await"===a.name){if(this.state.inAsync||this.inModule)return this.parseAwait(r)}else{if("async"===a.name&&this.match(D._function)&&!this.canInsertSemicolon())return this.next(),this.parseFunction(r,!1,!1,!0);if(t&&"async"===a.name&&this.match(D.name)){var o=[this.parseIdentifier()];return this.expect(D.arrow),this.parseArrowExpression(r,o,!0)}}return t&&!this.canInsertSemicolon()&&this.eat(D.arrow)?this.parseArrowExpression(r,[a]):a;case D._do:this.expectPlugin("doExpressions");var s=this.startNode();this.next();var u=this.state.inFunction,l=this.state.labels;return this.state.labels=[],this.state.inFunction=!1,s.body=this.parseBlock(!1),this.state.inFunction=u,this.state.labels=l,this.finishNode(s,"DoExpression");case D.regexp:var c=this.state.value;return r=this.parseLiteral(c.value,"RegExpLiteral"),r.pattern=c.pattern,r.flags=c.flags,r;case D.num:return this.parseLiteral(this.state.value,"NumericLiteral");case D.bigint:return this.parseLiteral(this.state.value,"BigIntLiteral");case D.string:return this.parseLiteral(this.state.value,"StringLiteral");case D._null:return r=this.startNode(),this.next(),this.finishNode(r,"NullLiteral");case D._true:case D._false:return this.parseBooleanLiteral();case D.parenL:return this.parseParenAndDistinguishExpression(t);case D.bracketL:return r=this.startNode(),this.next(),r.elements=this.parseExprList(D.bracketR,!0,e),this.toReferencedList(r.elements),this.finishNode(r,"ArrayExpression");case D.braceL:return this.parseObj(!1,e);case D._function:return this.parseFunctionExpression();case D.at:this.parseDecorators();case D._class:return r=this.startNode(),this.takeDecorators(r),this.parseClass(r,!1);case D._new:return this.parseNew();case D.backQuote:return this.parseTemplate(!1);case D.doubleColon:r=this.startNode(),this.next(),r.object=null;var p=r.callee=this.parseNoCallExpr();if("MemberExpression"===p.type)return this.finishNode(r,"BindExpression");throw this.raise(p.start,"Binding should be performed on object property.");default:throw this.unexpected()}},t.prototype.parseBooleanLiteral=function(){var e=this.startNode();return e.value=this.match(D._true),this.next(),this.finishNode(e,"BooleanLiteral")},t.prototype.parseMaybePrivateName=function(){if(this.match(D.hash)){this.expectOnePlugin(["classPrivateProperties","classPrivateMethods"]);var e=this.startNode();return this.next(),e.id=this.parseIdentifier(!0),this.finishNode(e,"PrivateName")}return this.parseIdentifier(!0)},t.prototype.parseFunctionExpression=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.state.inGenerator&&this.eat(D.dot)?this.parseMetaProperty(e,t,"sent"):this.parseFunction(e,!1)},t.prototype.parseMetaProperty=function(e,t,r){return e.meta=t,"function"===t.name&&"sent"===r&&(this.isContextual(r)?this.expectPlugin("functionSent"):this.hasPlugin("functionSent")||this.unexpected()),e.property=this.parseIdentifier(!0),e.property.name!==r&&this.raise(e.property.start,"The only valid meta property for ".concat(t.name," is ").concat(t.name,".").concat(r)),this.finishNode(e,"MetaProperty")},t.prototype.parseImportMetaProperty=function(){var e=this.startNode(),t=this.parseIdentifier(!0);return this.expect(D.dot),"import"===t.name&&(this.isContextual("meta")?this.expectPlugin("importMeta"):this.hasPlugin("importMeta")||this.raise(t.start,"Dynamic imports require a parameter: import('a.js').then")),this.inModule||this.raise(t.start,"import.meta may appear only with 'sourceType: \"module\"'"),this.parseMetaProperty(e,t,"meta")},t.prototype.parseLiteral=function(e,t,r,n){r=r||this.state.start,n=n||this.state.startLoc;var i=this.startNodeAt(r,n);return this.addExtra(i,"rawValue",e),this.addExtra(i,"raw",this.input.slice(r,this.state.end)),i.value=e,this.next(),this.finishNode(i,t)},t.prototype.parseParenExpression=function(){this.expect(D.parenL);var e=this.parseExpression();return this.expect(D.parenR),e},t.prototype.parseParenAndDistinguishExpression=function(e){var t=this.state.start,r=this.state.startLoc,n=void 0;this.expect(D.parenL);for(var i=this.state.start,a=this.state.startLoc,o=[],s={start:0},u={start:0},l=!0,c=void 0,p=void 0;!this.match(D.parenR);){if(l)l=!1;else if(this.expect(D.comma,u.start||null),this.match(D.parenR)){p=this.state.start;break}if(this.match(D.ellipsis)){var f=this.state.start,d=this.state.startLoc;c=this.state.start,o.push(this.parseParenItem(this.parseRest(),f,d)),this.match(D.comma)&&this.lookahead().type===D.parenR&&this.raise(this.state.start,"A trailing comma is not permitted after the rest element");break}o.push(this.parseMaybeAssign(!1,s,this.parseParenItem,u))}var h=this.state.start,m=this.state.startLoc;this.expect(D.parenR);var y=this.startNodeAt(t,r);if(e&&this.shouldParseArrow()&&(y=this.parseArrow(y))){for(var v=0;v1?((n=this.startNodeAt(i,a)).expressions=o,this.toReferencedList(n.expressions),this.finishNodeAt(n,"SequenceExpression",h,m)):n=o[0],this.addExtra(n,"parenthesized",!0),this.addExtra(n,"parenStart",t),n},t.prototype.shouldParseArrow=function(){return!this.canInsertSemicolon()},t.prototype.parseArrow=function(e){if(this.eat(D.arrow))return e},t.prototype.parseParenItem=function(e,t,r){return e},t.prototype.parseNew=function(){var e=this.startNode(),t=this.parseIdentifier(!0);if(this.eat(D.dot)){var r=this.parseMetaProperty(e,t,"target");return this.state.inFunction||this.raise(r.property.start,"new.target can only be used in functions"),r}return e.callee=this.parseNoCallExpr(),this.eat(D.questionDot)&&(e.optional=!0),this.parseNewArguments(e),this.finishNode(e,"NewExpression")},t.prototype.parseNewArguments=function(e){if(this.eat(D.parenL)){var t=this.parseExprList(D.parenR);this.toReferencedList(t),e.arguments=t}else e.arguments=[]},t.prototype.parseTemplateElement=function(e){var t=this.startNode();return null===this.state.value&&(e?this.state.invalidTemplateEscapePosition=null:this.raise(this.state.invalidTemplateEscapePosition||0,"Invalid escape sequence in template")),t.value={raw:this.input.slice(this.state.start,this.state.end).replace(/\r\n?/g,"\n"),cooked:this.state.value},this.next(),t.tail=this.match(D.backQuote),this.finishNode(t,"TemplateElement")},t.prototype.parseTemplate=function(e){var t=this.startNode();this.next(),t.expressions=[];var r=this.parseTemplateElement(e);for(t.quasis=[r];!r.tail;)this.expect(D.dollarBraceL),t.expressions.push(this.parseExpression()),this.expect(D.braceR),t.quasis.push(r=this.parseTemplateElement(e));return this.next(),this.finishNode(t,"TemplateLiteral")},t.prototype.parseObj=function(e,t){var r=[],n=Object.create(null),i=!0,a=this.startNode();a.properties=[],this.next();for(var o=null;!this.eat(D.braceR);){if(i)i=!1;else if(this.expect(D.comma),this.eat(D.braceR))break;if(this.match(D.at))if(this.hasPlugin("decorators2"))this.raise(this.state.start,"Stage 2 decorators disallow object literal property decorators");else for(;this.match(D.at);)r.push(this.parseDecorator());var s=this.startNode(),u=!1,l=!1,c=void 0,p=void 0;if(r.length&&(s.decorators=r,r=[]),this.match(D.ellipsis)){if(this.expectPlugin("objectRestSpread"),s=this.parseSpread(e?{start:0}:void 0),e&&this.toAssignable(s,!0,"object pattern"),a.properties.push(s),!e)continue;var f=this.state.start;if(null!==o)this.unexpected(o,"Cannot have multiple rest elements when destructuring");else{if(this.eat(D.braceR))break;if(!this.match(D.comma)||this.lookahead().type!==D.braceR){o=f;continue}this.unexpected(f,"A trailing comma is not permitted after the rest element")}}if(s.method=!1,(e||t)&&(c=this.state.start,p=this.state.startLoc),e||(u=this.eat(D.star)),!e&&this.isContextual("async")){u&&this.unexpected();var d=this.parseIdentifier();this.match(D.colon)||this.match(D.parenL)||this.match(D.braceR)||this.match(D.eq)||this.match(D.comma)?(s.key=d,s.computed=!1):(l=!0,this.match(D.star)&&(this.expectPlugin("asyncGenerators"),this.next(),u=!0),this.parsePropertyName(s))}else this.parsePropertyName(s);this.parseObjPropValue(s,c,p,u,l,e,t),this.checkPropClash(s,n),s.shorthand&&this.addExtra(s,"shorthand",!0),a.properties.push(s)}return null!==o&&this.unexpected(o,"The rest element has to be the last element when destructuring"),r.length&&this.raise(this.state.start,"You have trailing decorators with no property"),this.finishNode(a,e?"ObjectPattern":"ObjectExpression")},t.prototype.isGetterOrSetterMethod=function(e,t){return!t&&!e.computed&&"Identifier"===e.key.type&&("get"===e.key.name||"set"===e.key.name)&&(this.match(D.string)||this.match(D.num)||this.match(D.bracketL)||this.match(D.name)||!!this.state.type.keyword)},t.prototype.checkGetterSetterParamCount=function(e){var t="get"===e.kind?0:1;if(e.params.length!==t){var r=e.start;"get"===e.kind?this.raise(r,"getter should have no params"):this.raise(r,"setter should have exactly one param")}},t.prototype.parseObjectMethod=function(e,t,r,n){return r||t||this.match(D.parenL)?(n&&this.unexpected(),e.kind="method",e.method=!0,this.parseMethod(e,t,r,!1,"ObjectMethod")):this.isGetterOrSetterMethod(e,n)?((t||r)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),this.parseMethod(e,!1,!1,!1,"ObjectMethod"),this.checkGetterSetterParamCount(e),e):void 0},t.prototype.parseObjectProperty=function(e,t,r,n,i){return e.shorthand=!1,this.eat(D.colon)?(e.value=n?this.parseMaybeDefault(this.state.start,this.state.startLoc):this.parseMaybeAssign(!1,i),this.finishNode(e,"ObjectProperty")):e.computed||"Identifier"!==e.key.type?void 0:(this.checkReservedWord(e.key.name,e.key.start,!0,!0),n?e.value=this.parseMaybeDefault(t,r,e.key.__clone()):this.match(D.eq)&&i?(i.start||(i.start=this.state.start),e.value=this.parseMaybeDefault(t,r,e.key.__clone())):e.value=e.key.__clone(),e.shorthand=!0,this.finishNode(e,"ObjectProperty"))},t.prototype.parseObjPropValue=function(e,t,r,n,i,a,o){var s=this.parseObjectMethod(e,n,i,a)||this.parseObjectProperty(e,t,r,a,o);return s||this.unexpected(),s},t.prototype.parsePropertyName=function(e){if(this.eat(D.bracketL))e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(D.bracketR);else{var t=this.state.inPropertyName;this.state.inPropertyName=!0,e.key=this.match(D.num)||this.match(D.string)?this.parseExprAtom():this.parseMaybePrivateName(),"PrivateName"!==e.key.type&&(e.computed=!1),this.state.inPropertyName=t}return e.key},t.prototype.initFunction=function(e,t){e.id=null,e.generator=!1,e.expression=!1,e.async=!!t},t.prototype.parseMethod=function(e,t,r,n,i){var a=this.state.inMethod;this.state.inMethod=e.kind||!0,this.initFunction(e,r),this.expect(D.parenL);var o=n;return e.params=this.parseBindingList(D.parenR,!1,o),e.generator=!!t,this.parseFunctionBodyAndFinish(e,i),this.state.inMethod=a,e},t.prototype.parseArrowExpression=function(e,t,r){return this.initFunction(e,r),this.setArrowFunctionParameters(e,t),this.parseFunctionBody(e,!0),this.finishNode(e,"ArrowFunctionExpression")},t.prototype.setArrowFunctionParameters=function(e,t){e.params=this.toAssignableList(t,!0,"arrow function parameters")},t.prototype.isStrictBody=function(e,t){if(!t&&e.body.directives.length)for(var r=e.body.directives,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}if("use strict"===a.value.value)return!0}return!1},t.prototype.parseFunctionBodyAndFinish=function(e,t,r){this.parseFunctionBody(e,r),this.finishNode(e,t)},t.prototype.parseFunctionBody=function(e,t){var r=t&&!this.match(D.braceL),n=this.state.inAsync;if(this.state.inAsync=e.async,r)e.body=this.parseMaybeAssign(),e.expression=!0;else{var i=this.state.inFunction,a=this.state.inGenerator,o=this.state.labels;this.state.inFunction=!0,this.state.inGenerator=e.generator,this.state.labels=[],e.body=this.parseBlock(!0),e.expression=!1,this.state.inFunction=i,this.state.inGenerator=a,this.state.labels=o}this.state.inAsync=n,this.checkFunctionNameAndParams(e,t)},t.prototype.checkFunctionNameAndParams=function(e,t){var r=this.isStrictBody(e,e.expression),n=this.state.strict||r||t;if(r&&e.id&&"Identifier"===e.id.type&&"yield"===e.id.name&&this.raise(e.id.start,"Binding yield in strict mode"),n){var i=Object.create(null),a=this.state.strict;r&&(this.state.strict=!0),e.id&&this.checkLVal(e.id,!0,void 0,"function name");for(var o=e.params,s=Array.isArray(o),u=0,o=s?o:o[Symbol.iterator]();;){var l;if(s){if(u>=o.length)break;l=o[u++]}else{if((u=o.next()).done)break;l=u.value}var c=l;r&&"Identifier"!==c.type&&this.raise(c.start,"Non-simple parameter in strict mode"),this.checkLVal(c,!0,i,"function parameter list")}this.state.strict=a}},t.prototype.parseExprList=function(e,t,r){for(var n=[],i=!0;!this.eat(e);){if(i)i=!1;else if(this.expect(D.comma),this.eat(e))break;n.push(this.parseExprListItem(t,r))}return n},t.prototype.parseExprListItem=function(e,t,r,n){var i=void 0;return e&&this.match(D.comma)?i=null:this.match(D.ellipsis)?(i=this.parseSpread(t),n&&this.match(D.comma)&&(n.start=this.state.start)):i=this.parseMaybeAssign(!1,t,this.parseParenItem,r),i},t.prototype.parseIdentifier=function(e){var t=this.startNode(),r=this.parseIdentifierName(t.start,e);return t.name=r,t.loc.identifierName=r,this.finishNode(t,"Identifier")},t.prototype.parseIdentifierName=function(e,t){t||this.checkReservedWord(this.state.value,this.state.start,!!this.state.type.keyword,!1);var r=void 0;if(this.match(D.name))r=this.state.value;else{if(!this.state.type.keyword)throw this.unexpected();r=this.state.type.keyword}return!t&&"await"===r&&this.state.inAsync&&this.raise(e,"invalid use of await inside of an async function"),this.next(),r},t.prototype.checkReservedWord=function(e,t,r,n){(this.isReservedWord(e)||r&&this.isKeyword(e))&&this.raise(t,e+" is a reserved word"),this.state.strict&&(O.strict(e)||n&&O.strictBind(e))&&this.raise(t,e+" is a reserved word in strict mode")},t.prototype.parseAwait=function(e){return this.state.inAsync||this.unexpected(),this.match(D.star)&&this.raise(e.start,"await* has been removed from the async functions proposal. Use Promise.all() instead."),e.argument=this.parseMaybeUnary(),this.finishNode(e,"AwaitExpression")},t.prototype.parseYield=function(){var e=this.startNode();return this.next(),this.match(D.semi)||this.canInsertSemicolon()||!this.match(D.star)&&!this.state.type.startsExpr?(e.delegate=!1,e.argument=null):(e.delegate=this.eat(D.star),e.argument=this.parseMaybeAssign()),this.finishNode(e,"YieldExpression")},t}(function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.toAssignable=function(e,t,r){if(e)switch(e.type){case"Identifier":case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":break;case"ObjectExpression":e.type="ObjectPattern";for(var n=e.properties.entries(),i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var o;if(i){if(a>=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}var s=o,u=s[0],l=s[1];this.toAssignableObjectExpressionProp(l,t,u===e.properties.length-1)}break;case"ObjectProperty":this.toAssignable(e.value,t,r);break;case"SpreadElement":this.checkToRestConversion(e),e.type="RestElement";var c=e.argument;this.toAssignable(c,t,r);break;case"ArrayExpression":e.type="ArrayPattern",this.toAssignableList(e.elements,t,r);break;case"AssignmentExpression":"="===e.operator?(e.type="AssignmentPattern",delete e.operator):this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");break;case"MemberExpression":if(!t)break;default:var p="Invalid left-hand side"+(r?" in "+r:"expression");this.raise(e.start,p)}return e},t.prototype.toAssignableObjectExpressionProp=function(e,t,r){if("ObjectMethod"===e.type){var n="get"===e.kind||"set"===e.kind?"Object pattern can't contain getter or setter":"Object pattern can't contain methods";this.raise(e.key.start,n)}else"SpreadElement"!==e.type||r?this.toAssignable(e,t,"object destructuring pattern"):this.raise(e.start,"The rest element has to be the last element when destructuring")},t.prototype.toAssignableList=function(e,t,r){var n=e.length;if(n){var i=e[n-1];if(i&&"RestElement"===i.type)--n;else if(i&&"SpreadElement"===i.type){i.type="RestElement";var a=i.argument;this.toAssignable(a,t,r),"Identifier"!==a.type&&"MemberExpression"!==a.type&&"ArrayPattern"!==a.type&&this.unexpected(a.start),--n}}for(var o=0;o=a.length)break;u=a[s++]}else{if((s=a.next()).done)break;u=s.value}var l=u;"ObjectProperty"===l.type&&(l=l.value),this.checkLVal(l,t,r,"object destructuring pattern")}break;case"ArrayPattern":for(var c=e.elements,p=Array.isArray(c),f=0,c=p?c:c[Symbol.iterator]();;){var d;if(p){if(f>=c.length)break;d=c[f++]}else{if((f=c.next()).done)break;d=f.value}var h=d;h&&this.checkLVal(h,t,r,"array destructuring pattern")}break;case"AssignmentPattern":this.checkLVal(e.left,t,r,"assignment pattern");break;case"RestElement":this.checkLVal(e.argument,t,r,"rest element");break;default:var m=(t?"Binding invalid":"Invalid")+" left-hand side"+(n?" in "+n:"expression");this.raise(e.start,m)}},t.prototype.checkToRestConversion=function(e){-1===["Identifier","MemberExpression"].indexOf(e.argument.type)&&this.raise(e.argument.start,"Invalid rest operator's argument")},t}(function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.startNode=function(){return new Q(this,this.state.start,this.state.startLoc)},t.prototype.startNodeAt=function(e,t){return new Q(this,e,t)},t.prototype.startNodeAtNode=function(e){return this.startNodeAt(e.start,e.loc.start)},t.prototype.finishNode=function(e,t){return this.finishNodeAt(e,t,this.state.lastTokEnd,this.state.lastTokEndLoc)},t.prototype.finishNodeAt=function(e,t,r,n){return e.type=t,e.end=r,e.loc.end=n,this.options.ranges&&(e.range[1]=r),this.processComment(e),e},t.prototype.resetStartLocationFromNode=function(e,t){e.start=t.start,e.loc.start=t.loc.start,this.options.ranges&&(e.range[0]=t.range[0])},t}(z))))),ie=["any","mixed","empty","bool","boolean","number","string","void","null"],ae={const:"declare export var",let:"declare export var",type:"export type",interface:"export interface"},oe={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:"♦"},se=/^[\da-fA-F]+$/,ue=/^\d+$/;Y.j_oTag=new V("...",!0,!0),D.jsxName=new T("jsxName"),D.jsxText=new T("jsxText",{beforeExpr:!0}),D.jsxTagStart=new T("jsxTagStart",{startsExpr:!0}),D.jsxTagEnd=new T("jsxTagEnd"),D.jsxTagStart.updateContext=function(){this.state.context.push(Y.j_expr),this.state.context.push(Y.j_oTag),this.state.exprAllowed=!1},D.jsxTagEnd.updateContext=function(e){var t=this.state.context.pop();t===Y.j_oTag&&e===D.slash||t===Y.j_cTag?(this.state.context.pop(),this.state.exprAllowed=this.curContext()===Y.j_expr):this.state.exprAllowed=!0};re.estree=function(e){return function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.estreeParseRegExpLiteral=function(e){var t=e.pattern,r=e.flags,n=null;try{n=new RegExp(t,r)}catch(e){}var i=this.estreeParseLiteral(n);return i.regex={pattern:t,flags:r},i},t.prototype.estreeParseLiteral=function(e){return this.parseLiteral(e,"Literal")},t.prototype.directiveToStmt=function(e){var t=e.value,r=this.startNodeAt(e.start,e.loc.start),n=this.startNodeAt(t.start,t.loc.start);return n.value=t.value,n.raw=t.extra.raw,r.expression=this.finishNodeAt(n,"Literal",t.end,t.loc.end),r.directive=t.extra.raw.slice(1,-1),this.finishNodeAt(r,"ExpressionStatement",e.end,e.loc.end)},t.prototype.checkDeclaration=function(t){d(t)?this.checkDeclaration(t.value):e.prototype.checkDeclaration.call(this,t)},t.prototype.checkGetterSetterParamCount=function(e){var t="get"===e.kind?0:1;if(e.value.params.length!==t){var r=e.start;"get"===e.kind?this.raise(r,"getter should have no params"):this.raise(r,"setter should have exactly one param")}},t.prototype.checkLVal=function(t,r,n,i){var a=this;switch(t.type){case"ObjectPattern":t.properties.forEach(function(e){a.checkLVal("Property"===e.type?e.value:e,r,n,"object destructuring pattern")});break;default:e.prototype.checkLVal.call(this,t,r,n,i)}},t.prototype.checkPropClash=function(e,t){if(!e.computed&&d(e)){var r=e.key;"__proto__"===("Identifier"===r.type?r.name:String(r.value))&&(t.proto&&this.raise(r.start,"Redefinition of __proto__ property"),t.proto=!0)}},t.prototype.isStrictBody=function(e,t){if(!t&&e.body.body.length>0)for(var r=e.body.body,n=Array.isArray(r),i=0,r=n?r:r[Symbol.iterator]();;){var a;if(n){if(i>=r.length)break;a=r[i++]}else{if((i=r.next()).done)break;a=i.value}var o=a;if("ExpressionStatement"!==o.type||"Literal"!==o.expression.type)break;if("use strict"===o.expression.value)return!0}return!1},t.prototype.isValidDirective=function(e){return!("ExpressionStatement"!==e.type||"Literal"!==e.expression.type||"string"!=typeof e.expression.value||e.expression.extra&&e.expression.extra.parenthesized)},t.prototype.stmtToDirective=function(t){var r=e.prototype.stmtToDirective.call(this,t),n=t.expression.value;return r.value.value=n,r},t.prototype.parseBlockBody=function(t,r,n,i){var a=this;e.prototype.parseBlockBody.call(this,t,r,n,i);var o=t.directives.map(function(e){return a.directiveToStmt(e)});t.body=o.concat(t.body),delete t.directives},t.prototype.pushClassMethod=function(e,t,r,n,i){this.parseMethod(t,r,n,i,"MethodDefinition"),t.typeParameters&&(t.value.typeParameters=t.typeParameters,delete t.typeParameters),e.body.push(t)},t.prototype.parseExprAtom=function(t){switch(this.state.type){case D.regexp:return this.estreeParseRegExpLiteral(this.state.value);case D.num:case D.string:return this.estreeParseLiteral(this.state.value);case D._null:return this.estreeParseLiteral(null);case D._true:return this.estreeParseLiteral(!0);case D._false:return this.estreeParseLiteral(!1);default:return e.prototype.parseExprAtom.call(this,t)}},t.prototype.parseLiteral=function(t,r,n,i){var a=e.prototype.parseLiteral.call(this,t,r,n,i);return a.raw=a.extra.raw,delete a.extra,a},t.prototype.parseMethod=function(t,r,n,i,a){var o=this.startNode();return o.kind=t.kind,o=e.prototype.parseMethod.call(this,o,r,n,i,"FunctionExpression"),delete o.kind,t.value=o,this.finishNode(t,a)},t.prototype.parseObjectMethod=function(t,r,n,i){var a=e.prototype.parseObjectMethod.call(this,t,r,n,i);return a&&(a.type="Property","method"===a.kind&&(a.kind="init"),a.shorthand=!1),a},t.prototype.parseObjectProperty=function(t,r,n,i,a){var o=e.prototype.parseObjectProperty.call(this,t,r,n,i,a);return o&&(o.kind="init",o.type="Property"),o},t.prototype.toAssignable=function(t,r,n){return d(t)?(this.toAssignable(t.value,r,n),t):e.prototype.toAssignable.call(this,t,r,n)},t.prototype.toAssignableObjectExpressionProp=function(t,r,n){"get"===t.kind||"set"===t.kind?this.raise(t.key.start,"Object pattern can't contain getter or setter"):t.method?this.raise(t.key.start,"Object pattern can't contain methods"):e.prototype.toAssignableObjectExpressionProp.call(this,t,r,n)},t}(e)},re.flow=function(e){return function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.flowParseTypeInitialiser=function(e){var t=this.state.inType;this.state.inType=!0,this.expect(e||D.colon);var r=this.flowParseType();return this.state.inType=t,r},t.prototype.flowParsePredicate=function(){var e=this.startNode(),t=this.state.startLoc,r=this.state.start;this.expect(D.modulo);var n=this.state.startLoc;return this.expectContextual("checks"),t.line===n.line&&t.column===n.column-1||this.raise(r,"Spaces between ´%´ and ´checks´ are not allowed here."),this.eat(D.parenL)?(e.value=this.parseExpression(),this.expect(D.parenR),this.finishNode(e,"DeclaredPredicate")):this.finishNode(e,"InferredPredicate")},t.prototype.flowParseTypeAndPredicateInitialiser=function(){var e=this.state.inType;this.state.inType=!0,this.expect(D.colon);var t=null,r=null;return this.match(D.modulo)?(this.state.inType=e,r=this.flowParsePredicate()):(t=this.flowParseType(),this.state.inType=e,this.match(D.modulo)&&(r=this.flowParsePredicate())),[t,r]},t.prototype.flowParseDeclareClass=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareClass")},t.prototype.flowParseDeclareFunction=function(e){this.next();var t=e.id=this.parseIdentifier(),r=this.startNode(),n=this.startNode();this.isRelational("<")?r.typeParameters=this.flowParseTypeParameterDeclaration():r.typeParameters=null,this.expect(D.parenL);var i=this.flowParseFunctionTypeParams();r.params=i.params,r.rest=i.rest,this.expect(D.parenR);var a=this.flowParseTypeAndPredicateInitialiser();return r.returnType=a[0],e.predicate=a[1],n.typeAnnotation=this.finishNode(r,"FunctionTypeAnnotation"),t.typeAnnotation=this.finishNode(n,"TypeAnnotation"),this.finishNode(t,t.type),this.semicolon(),this.finishNode(e,"DeclareFunction")},t.prototype.flowParseDeclare=function(e,t){if(this.match(D._class))return this.flowParseDeclareClass(e);if(this.match(D._function))return this.flowParseDeclareFunction(e);if(this.match(D._var))return this.flowParseDeclareVariable(e);if(this.isContextual("module"))return this.lookahead().type===D.dot?this.flowParseDeclareModuleExports(e):(t&&this.unexpected(null,"`declare module` cannot be used inside another `declare module`"),this.flowParseDeclareModule(e));if(this.isContextual("type"))return this.flowParseDeclareTypeAlias(e);if(this.isContextual("opaque"))return this.flowParseDeclareOpaqueType(e);if(this.isContextual("interface"))return this.flowParseDeclareInterface(e);if(this.match(D._export))return this.flowParseDeclareExportDeclaration(e,t);throw this.unexpected()},t.prototype.flowParseDeclareVariable=function(e){return this.next(),e.id=this.flowParseTypeAnnotatableIdentifier(!0),this.semicolon(),this.finishNode(e,"DeclareVariable")},t.prototype.flowParseDeclareModule=function(e){var t=this;this.next(),this.match(D.string)?e.id=this.parseExprAtom():e.id=this.parseIdentifier();var r=e.body=this.startNode(),n=r.body=[];for(this.expect(D.braceL);!this.match(D.braceR);){var i=this.startNode();if(this.match(D._import)){var a=this.lookahead();"type"!==a.value&&"typeof"!==a.value&&this.unexpected(null,"Imports within a `declare module` body must always be `import type` or `import typeof`"),this.next(),this.parseImport(i)}else this.expectContextual("declare","Only declares and type imports are allowed inside declare module"),i=this.flowParseDeclare(i,!0);n.push(i)}this.expect(D.braceR),this.finishNode(r,"BlockStatement");var o=null,s=!1,u="Found both `declare module.exports` and `declare export` in the same module. Modules can only have 1 since they are either an ES module or they are a CommonJS module";return n.forEach(function(e){h(e)?("CommonJS"===o&&t.unexpected(e.start,u),o="ES"):"DeclareModuleExports"===e.type&&(s&&t.unexpected(e.start,"Duplicate `declare module.exports` statement"),"ES"===o&&t.unexpected(e.start,u),o="CommonJS",s=!0)}),e.kind=o||"CommonJS",this.finishNode(e,"DeclareModule")},t.prototype.flowParseDeclareExportDeclaration=function(e,t){if(this.expect(D._export),this.eat(D._default))return this.match(D._function)||this.match(D._class)?e.declaration=this.flowParseDeclare(this.startNode()):(e.declaration=this.flowParseType(),this.semicolon()),e.default=!0,this.finishNode(e,"DeclareExportDeclaration");if(this.match(D._const)||this.match(D._let)||(this.isContextual("type")||this.isContextual("interface"))&&!t){var r=this.state.value,n=ae[r];this.unexpected(this.state.start,"`declare export ".concat(r,"` is not supported. Use `").concat(n,"` instead"))}if(this.match(D._var)||this.match(D._function)||this.match(D._class)||this.isContextual("opaque"))return e.declaration=this.flowParseDeclare(this.startNode()),e.default=!1,this.finishNode(e,"DeclareExportDeclaration");if(this.match(D.star)||this.match(D.braceL)||this.isContextual("interface")||this.isContextual("type")||this.isContextual("opaque"))return"ExportNamedDeclaration"===(e=this.parseExport(e)).type&&(e.type="ExportDeclaration",e.default=!1,delete e.exportKind),e.type="Declare"+e.type,e;throw this.unexpected()},t.prototype.flowParseDeclareModuleExports=function(e){return this.expectContextual("module"),this.expect(D.dot),this.expectContextual("exports"),e.typeAnnotation=this.flowParseTypeAnnotation(),this.semicolon(),this.finishNode(e,"DeclareModuleExports")},t.prototype.flowParseDeclareTypeAlias=function(e){return this.next(),this.flowParseTypeAlias(e),this.finishNode(e,"DeclareTypeAlias")},t.prototype.flowParseDeclareOpaqueType=function(e){return this.next(),this.flowParseOpaqueType(e,!0),this.finishNode(e,"DeclareOpaqueType")},t.prototype.flowParseDeclareInterface=function(e){return this.next(),this.flowParseInterfaceish(e),this.finishNode(e,"DeclareInterface")},t.prototype.flowParseInterfaceish=function(e){if(e.id=this.parseIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.extends=[],e.mixins=[],this.eat(D._extends))do{e.extends.push(this.flowParseInterfaceExtends())}while(this.eat(D.comma));if(this.isContextual("mixins")){this.next();do{e.mixins.push(this.flowParseInterfaceExtends())}while(this.eat(D.comma))}e.body=this.flowParseObjectType(!0,!1,!1)},t.prototype.flowParseInterfaceExtends=function(){var e=this.startNode();return e.id=this.flowParseQualifiedTypeIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterInstantiation():e.typeParameters=null,this.finishNode(e,"InterfaceExtends")},t.prototype.flowParseInterface=function(e){return this.flowParseInterfaceish(e),this.finishNode(e,"InterfaceDeclaration")},t.prototype.flowParseRestrictedIdentifier=function(e){return ie.indexOf(this.state.value)>-1&&this.raise(this.state.start,"Cannot overwrite primitive type ".concat(this.state.value)),this.parseIdentifier(e)},t.prototype.flowParseTypeAlias=function(e){return e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.right=this.flowParseTypeInitialiser(D.eq),this.semicolon(),this.finishNode(e,"TypeAlias")},t.prototype.flowParseOpaqueType=function(e,t){return this.expectContextual("type"),e.id=this.flowParseRestrictedIdentifier(),this.isRelational("<")?e.typeParameters=this.flowParseTypeParameterDeclaration():e.typeParameters=null,e.supertype=null,this.match(D.colon)&&(e.supertype=this.flowParseTypeInitialiser(D.colon)),e.impltype=null,t||(e.impltype=this.flowParseTypeInitialiser(D.eq)),this.semicolon(),this.finishNode(e,"OpaqueType")},t.prototype.flowParseTypeParameter=function(){var e=this.startNode(),t=this.flowParseVariance(),r=this.flowParseTypeAnnotatableIdentifier();return e.name=r.name,e.variance=t,e.bound=r.typeAnnotation,this.match(D.eq)&&(this.eat(D.eq),e.default=this.flowParseType()),this.finishNode(e,"TypeParameter")},t.prototype.flowParseTypeParameterDeclaration=function(){var e=this.state.inType,t=this.startNode();t.params=[],this.state.inType=!0,this.isRelational("<")||this.match(D.jsxTagStart)?this.next():this.unexpected();do{t.params.push(this.flowParseTypeParameter()),this.isRelational(">")||this.expect(D.comma)}while(!this.isRelational(">"));return this.expectRelational(">"),this.state.inType=e,this.finishNode(t,"TypeParameterDeclaration")},t.prototype.flowParseTypeParameterInstantiation=function(){var e=this.startNode(),t=this.state.inType;for(e.params=[],this.state.inType=!0,this.expectRelational("<");!this.isRelational(">");)e.params.push(this.flowParseType()),this.isRelational(">")||this.expect(D.comma);return this.expectRelational(">"),this.state.inType=t,this.finishNode(e,"TypeParameterInstantiation")},t.prototype.flowParseObjectPropertyKey=function(){return this.match(D.num)||this.match(D.string)?this.parseExprAtom():this.parseIdentifier(!0)},t.prototype.flowParseObjectTypeIndexer=function(e,t,r){return e.static=t,this.expect(D.bracketL),this.lookahead().type===D.colon?(e.id=this.flowParseObjectPropertyKey(),e.key=this.flowParseTypeInitialiser()):(e.id=null,e.key=this.flowParseType()),this.expect(D.bracketR),e.value=this.flowParseTypeInitialiser(),e.variance=r,this.finishNode(e,"ObjectTypeIndexer")},t.prototype.flowParseObjectTypeMethodish=function(e){for(e.params=[],e.rest=null,e.typeParameters=null,this.isRelational("<")&&(e.typeParameters=this.flowParseTypeParameterDeclaration()),this.expect(D.parenL);!this.match(D.parenR)&&!this.match(D.ellipsis);)e.params.push(this.flowParseFunctionTypeParam()),this.match(D.parenR)||this.expect(D.comma);return this.eat(D.ellipsis)&&(e.rest=this.flowParseFunctionTypeParam()),this.expect(D.parenR),e.returnType=this.flowParseTypeInitialiser(),this.finishNode(e,"FunctionTypeAnnotation")},t.prototype.flowParseObjectTypeCallProperty=function(e,t){var r=this.startNode();return e.static=t,e.value=this.flowParseObjectTypeMethodish(r),this.finishNode(e,"ObjectTypeCallProperty")},t.prototype.flowParseObjectType=function(e,t,r){var n=this.state.inType;this.state.inType=!0;var i=this.startNode();i.callProperties=[],i.properties=[],i.indexers=[];var a=void 0,o=void 0;for(t&&this.match(D.braceBarL)?(this.expect(D.braceBarL),a=D.braceBarR,o=!0):(this.expect(D.braceL),a=D.braceR,o=!1),i.exact=o;!this.match(a);){var s=!1,u=this.startNode();e&&this.isContextual("static")&&this.lookahead().type!==D.colon&&(this.next(),s=!0);var l=this.flowParseVariance();if(this.match(D.bracketL))i.indexers.push(this.flowParseObjectTypeIndexer(u,s,l));else if(this.match(D.parenL)||this.isRelational("<"))l&&this.unexpected(l.start),i.callProperties.push(this.flowParseObjectTypeCallProperty(u,s));else{var c="init";if(this.isContextual("get")||this.isContextual("set")){var p=this.lookahead();p.type!==D.name&&p.type!==D.string&&p.type!==D.num||(c=this.state.value,this.next())}i.properties.push(this.flowParseObjectTypeProperty(u,s,l,c,r))}this.flowObjectTypeSemicolon()}this.expect(a);var f=this.finishNode(i,"ObjectTypeAnnotation");return this.state.inType=n,f},t.prototype.flowParseObjectTypeProperty=function(e,t,r,n,i){if(this.match(D.ellipsis))return i||this.unexpected(null,"Spread operator cannot appear in class or interface definitions"),r&&this.unexpected(r.start,"Spread properties cannot have variance"),this.expect(D.ellipsis),e.argument=this.flowParseType(),this.finishNode(e,"ObjectTypeSpreadProperty");e.key=this.flowParseObjectPropertyKey(),e.static=t,e.kind=n;var a=!1;return this.isRelational("<")||this.match(D.parenL)?(r&&this.unexpected(r.start),e.value=this.flowParseObjectTypeMethodish(this.startNodeAt(e.start,e.loc.start)),"get"!==n&&"set"!==n||this.flowCheckGetterSetterParamCount(e)):("init"!==n&&this.unexpected(),this.eat(D.question)&&(a=!0),e.value=this.flowParseTypeInitialiser(),e.variance=r),e.optional=a,this.finishNode(e,"ObjectTypeProperty")},t.prototype.flowCheckGetterSetterParamCount=function(e){var t="get"===e.kind?0:1;if(e.value.params.length!==t){var r=e.start;"get"===e.kind?this.raise(r,"getter should have no params"):this.raise(r,"setter should have exactly one param")}},t.prototype.flowObjectTypeSemicolon=function(){this.eat(D.semi)||this.eat(D.comma)||this.match(D.braceR)||this.match(D.braceBarR)||this.unexpected()},t.prototype.flowParseQualifiedTypeIdentifier=function(e,t,r){e=e||this.state.start,t=t||this.state.startLoc;for(var n=r||this.parseIdentifier();this.eat(D.dot);){var i=this.startNodeAt(e,t);i.qualification=n,i.id=this.parseIdentifier(),n=this.finishNode(i,"QualifiedTypeIdentifier")}return n},t.prototype.flowParseGenericType=function(e,t,r){var n=this.startNodeAt(e,t);return n.typeParameters=null,n.id=this.flowParseQualifiedTypeIdentifier(e,t,r),this.isRelational("<")&&(n.typeParameters=this.flowParseTypeParameterInstantiation()),this.finishNode(n,"GenericTypeAnnotation")},t.prototype.flowParseTypeofType=function(){var e=this.startNode();return this.expect(D._typeof),e.argument=this.flowParsePrimaryType(),this.finishNode(e,"TypeofTypeAnnotation")},t.prototype.flowParseTupleType=function(){var e=this.startNode();for(e.types=[],this.expect(D.bracketL);this.state.pos0){var v=[].concat(l);if(y.length>0){this.state=u,this.state.noArrowAt=v;for(var g=0;g1&&this.raise(u.start,"Ambiguous expression: wrap the arrow functions in parentheses to disambiguate."),d&&1===m.length){this.state=u,this.state.noArrowAt=v.concat(m[0].start);var x=this.tryParseConditionalConsequent();f=x.consequent,d=x.failed}this.getArrowLikeExpressions(f,!0)}return this.state.noArrowAt=l,this.expect(D.colon),c.test=t,c.consequent=f,c.alternate=this.forwardNoArrowParamsConversionAt(c,function(){return o.parseMaybeAssign(r,void 0,void 0,void 0)}),this.finishNode(c,"ConditionalExpression")},t.prototype.tryParseConditionalConsequent=function(){this.state.noArrowParamsConversionAt.push(this.state.start);var e=this.parseMaybeAssign(),t=!this.match(D.colon);return this.state.noArrowParamsConversionAt.pop(),{consequent:e,failed:t}},t.prototype.getArrowLikeExpressions=function(t,r){for(var n=this,i=[t],a=[];0!==i.length;){var o=i.pop();"ArrowFunctionExpression"===o.type?(o.typeParameters||!o.returnType?(this.toAssignableList(o.params,!0,"arrow function parameters"),e.prototype.checkFunctionNameAndParams.call(this,o,!0)):a.push(o),i.push(o.body)):"ConditionalExpression"===o.type&&(i.push(o.consequent),i.push(o.alternate))}if(r){for(var s=0;s=this.input.length&&this.raise(this.state.start,"Unterminated JSX contents");var r=this.input.charCodeAt(this.state.pos);switch(r){case 60:case 123:return this.state.pos===this.state.start?60===r&&this.state.exprAllowed?(++this.state.pos,this.finishToken(D.jsxTagStart)):this.getTokenFromCode(r):(e+=this.input.slice(t,this.state.pos),this.finishToken(D.jsxText,e));case 38:e+=this.input.slice(t,this.state.pos),e+=this.jsxReadEntity(),t=this.state.pos;break;default:u(r)?(e+=this.input.slice(t,this.state.pos),e+=this.jsxReadNewLine(!0),t=this.state.pos):++this.state.pos}}},t.prototype.jsxReadNewLine=function(e){var t=this.input.charCodeAt(this.state.pos),r=void 0;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},t.prototype.jsxReadString=function(e){for(var t="",r=++this.state.pos;;){this.state.pos>=this.input.length&&this.raise(this.state.start,"Unterminated string constant");var n=this.input.charCodeAt(this.state.pos);if(n===e)break;38===n?(t+=this.input.slice(r,this.state.pos),t+=this.jsxReadEntity(),r=this.state.pos):u(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(D.string,t)},t.prototype.jsxReadEntity=function(){for(var e="",t=0,r=void 0,n=this.input[this.state.pos],i=++this.state.pos;this.state.pos")}return r.openingElement=i,r.closingElement=a,r.children=n,this.match(D.relational)&&"<"===this.state.value&&this.raise(this.state.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(r,"JSXElement")},t.prototype.jsxParseElement=function(){var e=this.state.start,t=this.state.startLoc;return this.next(),this.jsxParseElementAt(e,t)},t.prototype.parseExprAtom=function(t){return this.match(D.jsxText)?this.parseLiteral(this.state.value,"JSXText"):this.match(D.jsxTagStart)?this.jsxParseElement():e.prototype.parseExprAtom.call(this,t)},t.prototype.readToken=function(t){if(this.state.inPropertyName)return e.prototype.readToken.call(this,t);var r=this.curContext();if(r===Y.j_expr)return this.jsxReadToken();if(r===Y.j_oTag||r===Y.j_cTag){if(o(t))return this.jsxReadWord();if(62===t)return++this.state.pos,this.finishToken(D.jsxTagEnd);if((34===t||39===t)&&r===Y.j_oTag)return this.jsxReadString(t)}return 60===t&&this.state.exprAllowed?(++this.state.pos,this.finishToken(D.jsxTagStart)):e.prototype.readToken.call(this,t)},t.prototype.updateContext=function(t){if(this.match(D.braceL)){var r=this.curContext();r===Y.j_oTag?this.state.context.push(Y.braceExpression):r===Y.j_expr?this.state.context.push(Y.templateQuasi):e.prototype.updateContext.call(this,t),this.state.exprAllowed=!0}else{if(!this.match(D.slash)||t!==D.jsxTagStart)return e.prototype.updateContext.call(this,t);this.state.context.length-=2,this.state.context.push(Y.j_cTag),this.state.exprAllowed=!1}},t}(e)},re.typescript=function(e){return function(e){function t(){return e.apply(this,arguments)||this}return S(t,e),t.prototype.tsIsIdentifier=function(){return this.match(D.name)},t.prototype.tsNextTokenCanFollowModifier=function(){return this.next(),!(this.hasPrecedingLineBreak()||this.match(D.parenL)||this.match(D.colon)||this.match(D.eq)||this.match(D.question))},t.prototype.tsParseModifier=function(e){if(this.match(D.name)){var t=this.state.value;return-1!==e.indexOf(t)&&this.tsTryParse(this.tsNextTokenCanFollowModifier.bind(this))?t:void 0}},t.prototype.tsIsListTerminator=function(e){switch(e){case"EnumMembers":case"TypeMembers":return this.match(D.braceR);case"HeritageClauseElement":return this.match(D.braceL);case"TupleElementTypes":return this.match(D.bracketR);case"TypeParametersOrArguments":return this.isRelational(">")}throw new Error("Unreachable")},t.prototype.tsParseList=function(e,t){for(var r=[];!this.tsIsListTerminator(e);)r.push(t());return r},t.prototype.tsParseDelimitedList=function(e,t){return v(this.tsParseDelimitedListWorker(e,t,!0))},t.prototype.tsTryParseDelimitedList=function(e,t){return this.tsParseDelimitedListWorker(e,t,!1)},t.prototype.tsParseDelimitedListWorker=function(e,t,r){for(var n=[];!this.tsIsListTerminator(e);){var i=t();if(null==i)return;if(n.push(i),!this.eat(D.comma)){if(this.tsIsListTerminator(e))break;return void(r&&this.expect(D.comma))}}return n},t.prototype.tsParseBracketedList=function(e,t,r,n){n||(r?this.expect(D.bracketL):this.expectRelational("<"));var i=this.tsParseDelimitedList(e,t);return r?this.expect(D.bracketR):this.expectRelational(">"),i},t.prototype.tsParseEntityName=function(e){for(var t=this.parseIdentifier();this.eat(D.dot);){var r=this.startNodeAtNode(t);r.left=t,r.right=this.parseIdentifier(e),t=this.finishNode(r,"TSQualifiedName")}return t},t.prototype.tsParseTypeReference=function(){var e=this.startNode();return e.typeName=this.tsParseEntityName(!1),!this.hasPrecedingLineBreak()&&this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSTypeReference")},t.prototype.tsParseThisTypePredicate=function(e){this.next();var t=this.startNode();return t.parameterName=e,t.typeAnnotation=this.tsParseTypeAnnotation(!1),this.finishNode(t,"TSTypePredicate")},t.prototype.tsParseThisTypeNode=function(){var e=this.startNode();return this.next(),this.finishNode(e,"TSThisType")},t.prototype.tsParseTypeQuery=function(){var e=this.startNode();return this.expect(D._typeof),e.exprName=this.tsParseEntityName(!0),this.finishNode(e,"TSTypeQuery")},t.prototype.tsParseTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),this.eat(D._extends)&&(e.constraint=this.tsParseType()),this.eat(D.eq)&&(e.default=this.tsParseType()),this.finishNode(e,"TSTypeParameter")},t.prototype.tsTryParseTypeParameters=function(){if(this.isRelational("<"))return this.tsParseTypeParameters()},t.prototype.tsParseTypeParameters=function(){var e=this.startNode();return this.isRelational("<")||this.match(D.jsxTagStart)?this.next():this.unexpected(),e.params=this.tsParseBracketedList("TypeParametersOrArguments",this.tsParseTypeParameter.bind(this),!1,!0),this.finishNode(e,"TSTypeParameterDeclaration")},t.prototype.tsFillSignature=function(e,t){var r=e===D.arrow;t.typeParameters=this.tsTryParseTypeParameters(),this.expect(D.parenL),t.parameters=this.tsParseBindingListForSignature(),r?t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e):this.match(e)&&(t.typeAnnotation=this.tsParseTypeOrTypePredicateAnnotation(e))},t.prototype.tsParseBindingListForSignature=function(){var e=this;return this.parseBindingList(D.parenR).map(function(t){if("Identifier"!==t.type&&"RestElement"!==t.type)throw e.unexpected(t.start,"Name in a signature must be an Identifier.");return t})},t.prototype.tsParseTypeMemberSemicolon=function(){this.eat(D.comma)||this.semicolon()},t.prototype.tsParseSignatureMember=function(e){var t=this.startNode();return"TSConstructSignatureDeclaration"===e&&this.expect(D._new),this.tsFillSignature(D.colon,t),this.tsParseTypeMemberSemicolon(),this.finishNode(t,e)},t.prototype.tsIsUnambiguouslyIndexSignature=function(){return this.next(),this.eat(D.name)&&this.match(D.colon)},t.prototype.tsTryParseIndexSignature=function(e){if(this.match(D.bracketL)&&this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))){this.expect(D.bracketL);var t=this.parseIdentifier();this.expect(D.colon),t.typeAnnotation=this.tsParseTypeAnnotation(!1),this.expect(D.bracketR),e.parameters=[t];var r=this.tsTryParseTypeAnnotation();return r&&(e.typeAnnotation=r),this.tsParseTypeMemberSemicolon(),this.finishNode(e,"TSIndexSignature")}},t.prototype.tsParsePropertyOrMethodSignature=function(e,t){this.parsePropertyName(e),this.eat(D.question)&&(e.optional=!0);var r=e;if(t||!this.match(D.parenL)&&!this.isRelational("<")){var n=r;t&&(n.readonly=!0);var i=this.tsTryParseTypeAnnotation();return i&&(n.typeAnnotation=i),this.tsParseTypeMemberSemicolon(),this.finishNode(n,"TSPropertySignature")}var a=r;return this.tsFillSignature(D.colon,a),this.tsParseTypeMemberSemicolon(),this.finishNode(a,"TSMethodSignature")},t.prototype.tsParseTypeMember=function(){if(this.match(D.parenL)||this.isRelational("<"))return this.tsParseSignatureMember("TSCallSignatureDeclaration");if(this.match(D._new)&&this.tsLookAhead(this.tsIsStartOfConstructSignature.bind(this)))return this.tsParseSignatureMember("TSConstructSignatureDeclaration");var e=this.startNode(),t=!!this.tsParseModifier(["readonly"]),r=this.tsTryParseIndexSignature(e);return r?(t&&(e.readonly=!0),r):this.tsParsePropertyOrMethodSignature(e,t)},t.prototype.tsIsStartOfConstructSignature=function(){return this.next(),this.match(D.parenL)||this.isRelational("<")},t.prototype.tsParseTypeLiteral=function(){var e=this.startNode();return e.members=this.tsParseObjectTypeMembers(),this.finishNode(e,"TSTypeLiteral")},t.prototype.tsParseObjectTypeMembers=function(){this.expect(D.braceL);var e=this.tsParseList("TypeMembers",this.tsParseTypeMember.bind(this));return this.expect(D.braceR),e},t.prototype.tsIsStartOfMappedType=function(){return this.next(),this.isContextual("readonly")&&this.next(),!!this.match(D.bracketL)&&(this.next(),!!this.tsIsIdentifier()&&(this.next(),this.match(D._in)))},t.prototype.tsParseMappedTypeParameter=function(){var e=this.startNode();return e.name=this.parseIdentifierName(e.start),this.expect(D._in),e.constraint=this.tsParseType(),this.finishNode(e,"TSTypeParameter")},t.prototype.tsParseMappedType=function(){var e=this.startNode();return this.expect(D.braceL),this.eatContextual("readonly")&&(e.readonly=!0),this.expect(D.bracketL),e.typeParameter=this.tsParseMappedTypeParameter(),this.expect(D.bracketR),this.eat(D.question)&&(e.optional=!0),e.typeAnnotation=this.tsTryParseType(),this.semicolon(),this.expect(D.braceR),this.finishNode(e,"TSMappedType")},t.prototype.tsParseTupleType=function(){var e=this.startNode();return e.elementTypes=this.tsParseBracketedList("TupleElementTypes",this.tsParseType.bind(this),!0,!1),this.finishNode(e,"TSTupleType")},t.prototype.tsParseParenthesizedType=function(){var e=this.startNode();return this.expect(D.parenL),e.typeAnnotation=this.tsParseType(),this.expect(D.parenR),this.finishNode(e,"TSParenthesizedType")},t.prototype.tsParseFunctionOrConstructorType=function(e){var t=this.startNode();return"TSConstructorType"===e&&this.expect(D._new),this.tsFillSignature(D.arrow,t),this.finishNode(t,e)},t.prototype.tsParseLiteralTypeNode=function(){var e=this,t=this.startNode();return t.literal=function(){switch(e.state.type){case D.num:return e.parseLiteral(e.state.value,"NumericLiteral");case D.string:return e.parseLiteral(e.state.value,"StringLiteral");case D._true:case D._false:return e.parseBooleanLiteral();default:throw e.unexpected()}}(),this.finishNode(t,"TSLiteralType")},t.prototype.tsParseNonArrayType=function(){switch(this.state.type){case D.name:case D._void:case D._null:var e=this.match(D._void)?"TSVoidKeyword":this.match(D._null)?"TSNullKeyword":b(this.state.value);if(void 0!==e&&this.lookahead().type!==D.dot){var t=this.startNode();return this.next(),this.finishNode(t,e)}return this.tsParseTypeReference();case D.string:case D.num:case D._true:case D._false:return this.tsParseLiteralTypeNode();case D.plusMin:if("-"===this.state.value){var r=this.startNode();if(this.next(),!this.match(D.num))throw this.unexpected();return r.literal=this.parseLiteral(-this.state.value,"NumericLiteral",r.start,r.loc.start),this.finishNode(r,"TSLiteralType")}break;case D._this:var n=this.tsParseThisTypeNode();return this.isContextual("is")&&!this.hasPrecedingLineBreak()?this.tsParseThisTypePredicate(n):n;case D._typeof:return this.tsParseTypeQuery();case D.braceL:return this.tsLookAhead(this.tsIsStartOfMappedType.bind(this))?this.tsParseMappedType():this.tsParseTypeLiteral();case D.bracketL:return this.tsParseTupleType();case D.parenL:return this.tsParseParenthesizedType()}throw this.unexpected()},t.prototype.tsParseArrayTypeOrHigher=function(){for(var e=this.tsParseNonArrayType();!this.hasPrecedingLineBreak()&&this.eat(D.bracketL);)if(this.match(D.bracketR)){var t=this.startNodeAtNode(e);t.elementType=e,this.expect(D.bracketR),e=this.finishNode(t,"TSArrayType")}else{var r=this.startNodeAtNode(e);r.objectType=e,r.indexType=this.tsParseType(),this.expect(D.bracketR),e=this.finishNode(r,"TSIndexedAccessType")}return e},t.prototype.tsParseTypeOperator=function(e){var t=this.startNode();return this.expectContextual(e),t.operator=e,t.typeAnnotation=this.tsParseTypeOperatorOrHigher(),this.finishNode(t,"TSTypeOperator")},t.prototype.tsParseTypeOperatorOrHigher=function(){return this.isContextual("keyof")?this.tsParseTypeOperator("keyof"):this.tsParseArrayTypeOrHigher()},t.prototype.tsParseUnionOrIntersectionType=function(e,t,r){this.eat(r);var n=t();if(this.match(r)){for(var i=[n];this.eat(r);)i.push(t());var a=this.startNodeAtNode(n);a.types=i,n=this.finishNode(a,e)}return n},t.prototype.tsParseIntersectionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSIntersectionType",this.tsParseTypeOperatorOrHigher.bind(this),D.bitwiseAND)},t.prototype.tsParseUnionTypeOrHigher=function(){return this.tsParseUnionOrIntersectionType("TSUnionType",this.tsParseIntersectionTypeOrHigher.bind(this),D.bitwiseOR)},t.prototype.tsIsStartOfFunctionType=function(){return!!this.isRelational("<")||this.match(D.parenL)&&this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this))},t.prototype.tsSkipParameterStart=function(){return!(!this.match(D.name)&&!this.match(D._this)||(this.next(),0))},t.prototype.tsIsUnambiguouslyStartOfFunctionType=function(){if(this.next(),this.match(D.parenR)||this.match(D.ellipsis))return!0;if(this.tsSkipParameterStart()){if(this.match(D.colon)||this.match(D.comma)||this.match(D.question)||this.match(D.eq))return!0;if(this.match(D.parenR)&&(this.next(),this.match(D.arrow)))return!0}return!1},t.prototype.tsParseTypeOrTypePredicateAnnotation=function(e){var t=this.startNode();this.expect(e);var r=this.tsIsIdentifier()&&this.tsTryParse(this.tsParseTypePredicatePrefix.bind(this));if(!r)return this.tsParseTypeAnnotation(!1,t);var n=this.tsParseTypeAnnotation(!1),i=this.startNodeAtNode(r);return i.parameterName=r,i.typeAnnotation=n,t.typeAnnotation=this.finishNode(i,"TSTypePredicate"),this.finishNode(t,"TSTypeAnnotation")},t.prototype.tsTryParseTypeOrTypePredicateAnnotation=function(){return this.match(D.colon)?this.tsParseTypeOrTypePredicateAnnotation(D.colon):void 0},t.prototype.tsTryParseTypeAnnotation=function(){return this.match(D.colon)?this.tsParseTypeAnnotation():void 0},t.prototype.tsTryParseType=function(){return this.eat(D.colon)?this.tsParseType():void 0},t.prototype.tsParseTypePredicatePrefix=function(){var e=this.parseIdentifier();if(this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.next(),e},t.prototype.tsParseTypeAnnotation=function(e,t){return void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),e&&this.expect(D.colon),t.typeAnnotation=this.tsParseType(),this.finishNode(t,"TSTypeAnnotation")},t.prototype.tsParseType=function(){var e=this.state.inType;this.state.inType=!0;try{return this.tsIsStartOfFunctionType()?this.tsParseFunctionOrConstructorType("TSFunctionType"):this.match(D._new)?this.tsParseFunctionOrConstructorType("TSConstructorType"):this.tsParseUnionTypeOrHigher()}finally{this.state.inType=e}},t.prototype.tsParseTypeAssertion=function(){var e=this.startNode();return e.typeAnnotation=this.tsParseType(),this.expectRelational(">"),e.expression=this.parseMaybeUnary(),this.finishNode(e,"TSTypeAssertion")},t.prototype.tsTryParseTypeArgumentsInExpression=function(){var e=this;return this.tsTryParseAndCatch(function(){var t=e.startNode();e.expectRelational("<");var r=e.tsParseDelimitedList("TypeParametersOrArguments",e.tsParseType.bind(e));return e.expectRelational(">"),t.params=r,e.finishNode(t,"TSTypeParameterInstantiation"),e.expect(D.parenL),t})},t.prototype.tsParseHeritageClause=function(){return this.tsParseDelimitedList("HeritageClauseElement",this.tsParseExpressionWithTypeArguments.bind(this))},t.prototype.tsParseExpressionWithTypeArguments=function(){var e=this.startNode();return e.expression=this.tsParseEntityName(!1),this.isRelational("<")&&(e.typeParameters=this.tsParseTypeArguments()),this.finishNode(e,"TSExpressionWithTypeArguments")},t.prototype.tsParseInterfaceDeclaration=function(e){e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),this.eat(D._extends)&&(e.extends=this.tsParseHeritageClause());var t=this.startNode();return t.body=this.tsParseObjectTypeMembers(),e.body=this.finishNode(t,"TSInterfaceBody"),this.finishNode(e,"TSInterfaceDeclaration")},t.prototype.tsParseTypeAliasDeclaration=function(e){return e.id=this.parseIdentifier(),e.typeParameters=this.tsTryParseTypeParameters(),this.expect(D.eq),e.typeAnnotation=this.tsParseType(),this.semicolon(),this.finishNode(e,"TSTypeAliasDeclaration")},t.prototype.tsParseEnumMember=function(){var e=this.startNode();return e.id=this.match(D.string)?this.parseLiteral(this.state.value,"StringLiteral"):this.parseIdentifier(!0),this.eat(D.eq)&&(e.initializer=this.parseMaybeAssign()),this.finishNode(e,"TSEnumMember")},t.prototype.tsParseEnumDeclaration=function(e,t){return t&&(e.const=!0),e.id=this.parseIdentifier(),this.expect(D.braceL),e.members=this.tsParseDelimitedList("EnumMembers",this.tsParseEnumMember.bind(this)),this.expect(D.braceR),this.finishNode(e,"TSEnumDeclaration")},t.prototype.tsParseModuleBlock=function(){var e=this.startNode();return this.expect(D.braceL),this.parseBlockOrModuleBlockBody(e.body=[],void 0,!0,D.braceR),this.finishNode(e,"TSModuleBlock")},t.prototype.tsParseModuleOrNamespaceDeclaration=function(e){if(e.id=this.parseIdentifier(),this.eat(D.dot)){var t=this.startNode();this.tsParseModuleOrNamespaceDeclaration(t),e.body=t}else e.body=this.tsParseModuleBlock();return this.finishNode(e,"TSModuleDeclaration")},t.prototype.tsParseAmbientExternalModuleDeclaration=function(e){return this.isContextual("global")?(e.global=!0,e.id=this.parseIdentifier()):this.match(D.string)?e.id=this.parseExprAtom():this.unexpected(),this.match(D.braceL)?e.body=this.tsParseModuleBlock():this.semicolon(),this.finishNode(e,"TSModuleDeclaration")},t.prototype.tsParseImportEqualsDeclaration=function(e,t){return e.isExport=t||!1,e.id=this.parseIdentifier(),this.expect(D.eq),e.moduleReference=this.tsParseModuleReference(),this.semicolon(),this.finishNode(e,"TSImportEqualsDeclaration")},t.prototype.tsIsExternalModuleReference=function(){return this.isContextual("require")&&this.lookahead().type===D.parenL},t.prototype.tsParseModuleReference=function(){return this.tsIsExternalModuleReference()?this.tsParseExternalModuleReference():this.tsParseEntityName(!1)},t.prototype.tsParseExternalModuleReference=function(){var e=this.startNode();if(this.expectContextual("require"),this.expect(D.parenL),!this.match(D.string))throw this.unexpected();return e.expression=this.parseLiteral(this.state.value,"StringLiteral"),this.expect(D.parenR),this.finishNode(e,"TSExternalModuleReference")},t.prototype.tsLookAhead=function(e){var t=this.state.clone(),r=e();return this.state=t,r},t.prototype.tsTryParseAndCatch=function(e){var t=this.state.clone();try{return e()}catch(e){if(e instanceof SyntaxError)return void(this.state=t);throw e}},t.prototype.tsTryParse=function(e){var t=this.state.clone(),r=e();return void 0!==r&&!1!==r?r:void(this.state=t)},t.prototype.nodeWithSamePosition=function(e,t){var r=this.startNodeAtNode(e);return r.type=t,r.end=e.end,r.loc.end=e.loc.end,e.leadingComments&&(r.leadingComments=e.leadingComments),e.trailingComments&&(r.trailingComments=e.trailingComments),e.innerComments&&(r.innerComments=e.innerComments),r},t.prototype.tsTryParseDeclare=function(e){switch(this.state.type){case D._function:return this.next(),this.parseFunction(e,!0);case D._class:return this.parseClass(e,!0,!1);case D._const:if(this.match(D._const)&&this.lookaheadIsContextual("enum"))return this.expect(D._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(e,!0);case D._var:case D._let:return this.parseVarStatement(e,this.state.type);case D.name:var t=this.state.value;return"global"===t?this.tsParseAmbientExternalModuleDeclaration(e):this.tsParseDeclaration(e,t,!0)}},t.prototype.lookaheadIsContextual=function(e){var t=this.lookahead();return t.type===D.name&&t.value===e},t.prototype.tsTryParseExportDeclaration=function(){return this.tsParseDeclaration(this.startNode(),this.state.value,!0)},t.prototype.tsParseExpressionStatement=function(e,t){switch(t.name){case"declare":var r=this.tsTryParseDeclare(e);if(r)return r.declare=!0,r;break;case"global":if(this.match(D.braceL)){var n=e;return n.global=!0,n.id=t,n.body=this.tsParseModuleBlock(),this.finishNode(n,"TSModuleDeclaration")}break;default:return this.tsParseDeclaration(e,t.name,!1)}},t.prototype.tsParseDeclaration=function(e,t,r){switch(t){case"abstract":if(r||this.match(D._class)){var n=e;return n.abstract=!0,r&&this.next(),this.parseClass(n,!0,!1)}break;case"enum":if(r||this.match(D.name))return r&&this.next(),this.tsParseEnumDeclaration(e,!1);break;case"interface":if(r||this.match(D.name))return r&&this.next(),this.tsParseInterfaceDeclaration(e);break;case"module":if(r&&this.next(),this.match(D.string))return this.tsParseAmbientExternalModuleDeclaration(e);if(r||this.match(D.name))return this.tsParseModuleOrNamespaceDeclaration(e);break;case"namespace":if(r||this.match(D.name))return r&&this.next(),this.tsParseModuleOrNamespaceDeclaration(e);break;case"type":if(r||this.match(D.name))return r&&this.next(),this.tsParseTypeAliasDeclaration(e)}},t.prototype.tsTryParseGenericAsyncArrowFunction=function(t,r){var n=this,i=this.tsTryParseAndCatch(function(){var i=n.startNodeAt(t,r);return i.typeParameters=n.tsParseTypeParameters(),e.prototype.parseFunctionParams.call(n,i),i.returnType=n.tsTryParseTypeOrTypePredicateAnnotation(),n.expect(D.arrow),i});if(i)return i.id=null,i.generator=!1,i.expression=!0,i.async=!0,this.parseFunctionBody(i,!0),this.finishNode(i,"ArrowFunctionExpression")},t.prototype.tsParseTypeArguments=function(){var e=this.startNode();return this.expectRelational("<"),e.params=this.tsParseDelimitedList("TypeParametersOrArguments",this.tsParseType.bind(this)),this.expectRelational(">"),this.finishNode(e,"TSTypeParameterInstantiation")},t.prototype.isExportDefaultSpecifier=function(){return(!this.match(D.name)||"type"!==this.state.value&&"interface"!==this.state.value&&"enum"!==this.state.value)&&e.prototype.isExportDefaultSpecifier.call(this)},t.prototype.parseAssignableListItem=function(e,t){var r=void 0,n=!1;e&&(r=this.parseAccessModifier(),n=!!this.tsParseModifier(["readonly"]));var i=this.parseMaybeDefault();this.parseAssignableListItemTypes(i);var a=this.parseMaybeDefault(i.start,i.loc.start,i);if(r||n){var o=this.startNodeAtNode(a);if(t.length&&(o.decorators=t),r&&(o.accessibility=r),n&&(o.readonly=n),"Identifier"!==a.type&&"AssignmentPattern"!==a.type)throw this.raise(o.start,"A parameter property may not be declared using a binding pattern.");return o.parameter=a,this.finishNode(o,"TSParameterProperty")}return t.length&&(i.decorators=t),a},t.prototype.parseFunctionBodyAndFinish=function(t,r,n){!n&&this.match(D.colon)&&(t.returnType=this.tsParseTypeOrTypePredicateAnnotation(D.colon));var i="FunctionDeclaration"===r?"TSDeclareFunction":"ClassMethod"===r?"TSDeclareMethod":void 0;i&&!this.match(D.braceL)&&this.isLineTerminator()?this.finishNode(t,i):e.prototype.parseFunctionBodyAndFinish.call(this,t,r,n)},t.prototype.parseSubscript=function(t,r,n,i,a){if(this.eat(D.bang)){var o=this.startNodeAt(r,n);return o.expression=t,this.finishNode(o,"TSNonNullExpression")}if(!i&&this.isRelational("<")){if(this.atPossibleAsync(t)){var s=this.tsTryParseGenericAsyncArrowFunction(r,n);if(s)return s}var u=this.startNodeAt(r,n);u.callee=t;var l=this.tsTryParseTypeArgumentsInExpression();if(l)return u.arguments=this.parseCallExpressionArguments(D.parenR,!1),u.typeParameters=l,this.finishCallExpression(u)}return e.prototype.parseSubscript.call(this,t,r,n,i,a)},t.prototype.parseNewArguments=function(t){var r=this;if(this.isRelational("<")){var n=this.tsTryParseAndCatch(function(){var e=r.tsParseTypeArguments();return r.match(D.parenL)||r.unexpected(),e});n&&(t.typeParameters=n)}e.prototype.parseNewArguments.call(this,t)},t.prototype.parseExprOp=function(t,r,n,i,a){if(v(D._in.binop)>i&&!this.hasPrecedingLineBreak()&&this.eatContextual("as")){var o=this.startNodeAt(r,n);return o.expression=t,o.typeAnnotation=this.tsParseType(),this.finishNode(o,"TSAsExpression"),this.parseExprOp(o,r,n,i,a)}return e.prototype.parseExprOp.call(this,t,r,n,i,a)},t.prototype.checkReservedWord=function(e,t,r,n){},t.prototype.checkDuplicateExports=function(){},t.prototype.parseImport=function(t){return this.match(D.name)&&this.lookahead().type===D.eq?this.tsParseImportEqualsDeclaration(t):e.prototype.parseImport.call(this,t)},t.prototype.parseExport=function(t){if(this.match(D._import))return this.expect(D._import),this.tsParseImportEqualsDeclaration(t,!0);if(this.eat(D.eq)){var r=t;return r.expression=this.parseExpression(),this.semicolon(),this.finishNode(r,"TSExportAssignment")}if(this.eatContextual("as")){var n=t;return this.expectContextual("namespace"),n.id=this.parseIdentifier(),this.semicolon(),this.finishNode(n,"TSNamespaceExportDeclaration")}return e.prototype.parseExport.call(this,t)},t.prototype.parseStatementContent=function(t,r){if(this.state.type===D._const){var n=this.lookahead();if(n.type===D.name&&"enum"===n.value){var i=this.startNode();return this.expect(D._const),this.expectContextual("enum"),this.tsParseEnumDeclaration(i,!0)}}return e.prototype.parseStatementContent.call(this,t,r)},t.prototype.parseAccessModifier=function(){return this.tsParseModifier(["public","protected","private"])},t.prototype.parseClassMember=function(t,r,n){var i=this.parseAccessModifier();i&&(r.accessibility=i),e.prototype.parseClassMember.call(this,t,r,n)},t.prototype.parseClassMemberWithIsStatic=function(t,r,n,i){var a=r,o=r,s=r,u=!1,l=!1;switch(this.tsParseModifier(["abstract","readonly"])){case"readonly":l=!0,u=!!this.tsParseModifier(["abstract"]);break;case"abstract":u=!0,l=!!this.tsParseModifier(["readonly"])}if(u&&(a.abstract=!0),l&&(s.readonly=!0),!u&&!i&&!a.accessibility){var c=this.tsTryParseIndexSignature(r);if(c)return void t.body.push(c)}if(l)return a.static=i,this.parseClassPropertyName(o),this.parsePostMemberNameModifiers(a),void this.pushClassProperty(t,o);e.prototype.parseClassMemberWithIsStatic.call(this,t,r,n,i)},t.prototype.parsePostMemberNameModifiers=function(e){this.eat(D.question)&&(e.optional=!0)},t.prototype.parseExpressionStatement=function(t,r){return("Identifier"===r.type?this.tsParseExpressionStatement(t,r):void 0)||e.prototype.parseExpressionStatement.call(this,t,r)},t.prototype.shouldParseExportDeclaration=function(){if(this.match(D.name))switch(this.state.value){case"abstract":case"declare":case"enum":case"interface":case"module":case"namespace":case"type":return!0}return e.prototype.shouldParseExportDeclaration.call(this)},t.prototype.parseConditional=function(t,r,n,i,a){if(!a||!this.match(D.question))return e.prototype.parseConditional.call(this,t,r,n,i,a);var o=this.state.clone();try{return e.prototype.parseConditional.call(this,t,r,n,i)}catch(e){if(!(e instanceof SyntaxError))throw e;return this.state=o,a.start=e.pos||this.state.start,t}},t.prototype.parseParenItem=function(t,r,n){if(t=e.prototype.parseParenItem.call(this,t,r,n),this.eat(D.question)&&(t.optional=!0),this.match(D.colon)){var i=this.startNodeAt(r,n);return i.expression=t,i.typeAnnotation=this.tsParseTypeAnnotation(),this.finishNode(i,"TSTypeCastExpression")}return t},t.prototype.parseExportDeclaration=function(t){var r=this.eatContextual("declare"),n=void 0;return this.match(D.name)&&(n=this.tsTryParseExportDeclaration()),n||(n=e.prototype.parseExportDeclaration.call(this,t)),n&&r&&(n.declare=!0),n},t.prototype.parseClassId=function(t,r,n){var i;if(r&&!n||!this.isContextual("implements")){(i=e.prototype.parseClassId).call.apply(i,[this].concat(Array.prototype.slice.call(arguments)));var a=this.tsTryParseTypeParameters();a&&(t.typeParameters=a)}},t.prototype.parseClassProperty=function(t){var r=this.tsTryParseTypeAnnotation();return r&&(t.typeAnnotation=r),e.prototype.parseClassProperty.call(this,t)},t.prototype.pushClassMethod=function(t,r,n,i,a){var o=this.tsTryParseTypeParameters();o&&(r.typeParameters=o),e.prototype.pushClassMethod.call(this,t,r,n,i,a)},t.prototype.pushClassPrivateMethod=function(t,r,n,i){var a=this.tsTryParseTypeParameters();a&&(r.typeParameters=a),e.prototype.pushClassPrivateMethod.call(this,t,r,n,i)},t.prototype.parseClassSuper=function(t){e.prototype.parseClassSuper.call(this,t),t.superClass&&this.isRelational("<")&&(t.superTypeParameters=this.tsParseTypeArguments()),this.eatContextual("implements")&&(t.implements=this.tsParseHeritageClause())},t.prototype.parseObjPropValue=function(t){var r;if(this.isRelational("<"))throw new Error("TODO");for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a0&&this.space(),this.print(i,e),n=n.length)break;o=n[a++]}else{if((a=n.next()).done)break;o=a.value}for(var s=o.names,u=Array.isArray(s),l=0,s=u?s:s[Symbol.iterator]();;){var c;if(u){if(l>=s.length)break;c=s[l++]}else{if((l=s.next()).done)break;c=l.value}r[c]=!0}}for(var f=!1,d=t.source.values(),h=Array.isArray(d),m=0,d=h?d:d[Symbol.iterator]();;){var y;if(h){if(m>=d.length)break;y=d[m++]}else{if((m=d.next()).done)break;y=m.value}for(var v=y,g=v.reexports.keys(),b=Array.isArray(g),E=0,g=b?g:g[Symbol.iterator]();;){var x;if(b){if(E>=g.length)break;x=g[E++]}else{if((E=g.next()).done)break;x=E.value}r[x]=!0}for(var A=v.reexportNamespace,S=Array.isArray(A),_=0,A=S?A:A[Symbol.iterator]();;){var T;if(S){if(_>=A.length)break;T=A[_++]}else{if((_=A.next()).done)break;T=_.value}r[T]=!0}f=f||v.reexportAll}if(!f||0===Object.keys(r).length)return null;var C=e.scope.generateUidIdentifier("exportNames");return delete r.default,{name:C.name,statement:p.variableDeclaration("var",[p.variableDeclarator(C,p.valueToNode(r))])}}function u(e,t){for(var r=[],n=[],i=t.local,a=Array.isArray(i),o=0,i=a?i:i[Symbol.iterator]();;){var s;if(a){if(o>=i.length)break;s=i[o++]}else{if((o=i.next()).done)break;s=o.value}var u=s,c=u[0],f=u[1];"import"===f.kind||("hoisted"===f.kind?r.push(l(t,f.names,p.identifier(c))):n.push.apply(n,f.names))}for(var h=t.source.values(),m=Array.isArray(h),y=0,h=m?h:h[Symbol.iterator]();;){var v;if(m){if(y>=h.length)break;v=h[y++]}else{if((y=h.next()).done)break;v=y.value}for(var g=v,b=g.reexports,E=Array.isArray(b),x=0,b=E?b:b[Symbol.iterator]();;){var A;if(E){if(x>=b.length)break;A=b[x++]}else{if((x=b.next()).done)break;A=x.value}var S=A,T=S[0],C=S[1];r.push(_({EXPORTS:p.identifier(t.exportName),EXPORT_NAME:p.stringLiteral(T),NAMESPACE:p.identifier(g.name),IMPORT_NAME:p.identifier(C)}))}for(var P=g.reexportNamespace,D=Array.isArray(P),w=0,P=D?P:P[Symbol.iterator]();;){var O;if(D){if(w>=P.length)break;O=P[w++]}else{if((w=P.next()).done)break;O=w.value}var k=O;n.push(k)}}return r.push.apply(r,(0,d.default)(n,100).map(function(r){return l(t,r,e.scope.buildUndefinedNode())})),r}function l(e,t,r){return p.expressionStatement(t.reduce(function(t,r){return T({EXPORTS:p.identifier(e.exportName),NAME:p.identifier(r),VALUE:t}).expression},r))}t.__esModule=!0,t.rewriteModuleStatementsAndPrepareHeader=function(e,t){var r=t.exportName,n=t.strict,i=t.allowTopLevelThis,o=t.strictMode,l=t.loose,f=t.noInterop;(0,c.default)((0,h.isModule)(e),"Cannot process module statements in a script"),e.node.sourceType="script";var d=(0,v.default)(e,r,{noInterop:f});i||(0,m.default)(e),(0,y.default)(e,d),!1!==o&&(e.node.directives.some(function(e){return"use strict"===e.value.value})||e.unshiftContainer("directives",p.directive(p.directiveLiteral("use strict"))));var g=[];(0,v.hasExports)(d)&&!n&&g.push(a(d,l));var b=s(e,d);return b&&(d.exportNameListName=b.name,g.push(b.statement)),g.push.apply(g,u(e,d)),{meta:d,headers:g}},t.ensureStatementsHoisted=function(e){e.forEach(function(e){e._blockHoist=3})},t.wrapInterop=function(e,t,r){if("none"===r)return null;var n;if("default"===r)n="interopRequireDefault";else{if("namespace"!==r)throw new Error("Unknown interop: "+r);n="interopRequireWildcard"}return p.callExpression(e.hub.file.addHelper(n),[t])},t.buildNamespaceInitStatements=function(e,t){for(var r=[],n=t.importsNamespace,i=Array.isArray(n),a=0,n=i?n:n[Symbol.iterator]();;){var s;if(i){if(a>=n.length)break;s=n[a++]}else{if((a=n.next()).done)break;s=a.value}var u=s;u!==t.name&&r.push(g({NAME:p.identifier(u),SOURCE:p.identifier(t.name)}))}for(var l=t.reexportNamespace,c=Array.isArray(l),f=0,l=c?l:l[Symbol.iterator]();;){var d;if(c){if(f>=l.length)break;d=l[f++]}else{if((f=l.next()).done)break;d=f.value}var h=d;r.push(b({EXPORTS:p.identifier(e.exportName),NAME:p.identifier(h),NAMESPACE:p.identifier(t.name)}))}if(t.reexportAll){var m=o(e,t.name);m.loc=t.reexportAll.loc,r.push(m)}return r},Object.defineProperty(t,"isModule",{enumerable:!0,get:function(){return h.isModule}}),Object.defineProperty(t,"hasExports",{enumerable:!0,get:function(){return v.hasExports}}),Object.defineProperty(t,"isSideEffectImport",{enumerable:!0,get:function(){return v.isSideEffectImport}});var c=i(r(13)),p=n(r(0)),f=i(r(1)),d=i(r(533)),h=r(108),m=i(r(535)),y=i(r(536)),v=n(r(537)),g=(0,f.default)("\n var NAME = SOURCE;\n"),b=(0,f.default)("\n EXPORTS.NAME = NAMESPACE;\n"),E=(0,f.default)('\n Object.defineProperty(EXPORTS, "__esModule", {\n value: true,\n })\n'),x=(0,f.default)("\n EXPORTS.__esModule = true;\n"),A=(0,f.default)('\n Object.keys(NAMESPACE).forEach(function(key) {\n if (key === "default" || key === "__esModule") return;\n VERIFY_NAME_LIST;\n\n Object.defineProperty(EXPORTS, key, {\n enumerable: true,\n get: function() {\n return NAMESPACE[key];\n },\n });\n });\n'),S=(0,f.default)("\n if (Object.prototype.hasOwnProperty.call(EXPORTS_LIST, key)) return;\n"),_=(0,f.default)("\n Object.defineProperty(EXPORTS, EXPORT_NAME, {\n enumerable: true,\n get: function() {\n return NAMESPACE.IMPORT_NAME;\n },\n });\n"),T=(0,f.default)("\n EXPORTS.NAME = VALUE;\n")},function(e,t,r){var n=r(57)(r(541));e.exports=n},function(e,t,r){"use strict";t.__esModule=!0,t.default=function(e){function t(e,r){if(i.isJSXIdentifier(e)){if("this"===e.name&&i.isReferenced(e,r))return i.thisExpression();if(!n.default.keyword.isIdentifierNameES6(e.name))return i.stringLiteral(e.name);e.type="Identifier"}else if(i.isJSXMemberExpression(e))return i.memberExpression(t(e.object,e),t(e.property,e));return e}function r(e){return i.isJSXExpressionContainer(e)?e.expression:e}function a(e){var t=r(e.value||i.booleanLiteral(!0));return i.isStringLiteral(t)&&!i.isJSXExpressionContainer(e.value)&&(t.value=t.value.replace(/\n\s+/g," "),t.extra&&t.extra.raw&&delete t.extra.raw),i.isValidIdentifier(e.name.name)?e.name.type="Identifier":e.name=i.stringLiteral(e.name.name),i.inherits(i.objectProperty(e.name,t),e)}function o(r,n){if(!e.filter||e.filter(r.node,n)){var a=r.get("openingElement");a.parent.children=i.react.buildChildren(a.parent);var o,s=t(a.node.name,a.node),l=[];i.isIdentifier(s)?o=s.name:i.isLiteral(s)&&(o=s.value);var c={tagExpr:s,tagName:o,args:l};e.pre&&e.pre(c,n);var p=a.node.attributes;return p=p.length?u(p,n):i.nullLiteral(),l.push.apply(l,[p].concat(r.node.children)),e.post&&e.post(c,n),c.call||i.callExpression(c.callee,l)}}function s(e,t){return e.length?(t.push(i.objectExpression(e)),[]):e}function u(e,t){var r=[],n=[],o=t.opts.useBuiltIns||!1;if("boolean"!=typeof o)throw new Error("transform-react-jsx currently only accepts a boolean option for useBuiltIns (defaults to false)");for(;e.length;){var u=e.shift();i.isJSXSpreadAttribute(u)?(r=s(r,n),n.push(u.argument)):r.push(a(u))}if(s(r,n),1===n.length)e=n[0];else{i.isObjectExpression(n[0])||n.unshift(i.objectExpression([]));var l=o?i.memberExpression(i.identifier("Object"),i.identifier("assign")):t.addHelper("extends");e=i.callExpression(l,n)}return e}var l={};return l.JSXNamespacedName=function(e){throw e.buildCodeFrameError("Namespace tags are not supported. ReactJSX is not XML.")},l.JSXElement={exit:function(e,t){var r=o(e,t);r&&e.replaceWith(i.inherits(r,e.node))}},l};var n=function(e){return e&&e.__esModule?e:{default:e}}(r(38)),i=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t.default=e,t}(r(0))},function(e,t,r){"use strict";function n(e){return(n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var i=r(14),a=r(26),o=r(32),s=r(43),u=r(256),l=r(575).KEY,c=r(42),p=r(114),f=r(115),d=r(70),h=r(15),m=r(116),y=r(117),v=r(576),g=r(581),b=r(44),E=r(35),x=r(113),A=r(69),S=r(125),_=r(584),T=r(585),C=r(34),P=r(71),D=T.f,w=C.f,O=_.f,k=i.Symbol,F=i.JSON,N=F&&F.stringify,I=h("_hidden"),M=h("toPrimitive"),B={}.propertyIsEnumerable,R=p("symbol-registry"),L=p("symbols"),j=p("op-symbols"),U=Object.prototype,V="function"==typeof k,Y=i.QObject,K=!Y||!Y.prototype||!Y.prototype.findChild,G=o&&c(function(){return 7!=S(w({},"a",{get:function(){return w(this,"a",{value:7}).a}})).a})?function(e,t,r){var n=D(U,t);n&&delete U[t],w(e,t,r),n&&e!==U&&w(U,t,n)}:w,W=function(e){var t=L[e]=S(k.prototype);return t._k=e,t},q=V&&"symbol"==n(k.iterator)?function(e){return"symbol"==n(e)}:function(e){return e instanceof k},H=function(e,t,r){return e===U&&H(j,t,r),b(e),t=x(t,!0),b(r),a(L,t)?(r.enumerable?(a(e,I)&&e[I][t]&&(e[I][t]=!1),r=S(r,{enumerable:A(0,!1)})):(a(e,I)||w(e,I,A(1,{})),e[I][t]=!0),G(e,t,r)):w(e,t,r)},J=function(e,t){b(e);for(var r,n=v(t=E(t)),i=0,a=n.length;a>i;)H(e,r=n[i++],t[r]);return e},X=function(e){var t=B.call(this,e=x(e,!0));return!(this===U&&a(L,e)&&!a(j,e))&&(!(t||!a(this,e)||!a(L,e)||a(this,I)&&this[I][e])||t)},z=function(e,t){if(e=E(e),t=x(t,!0),e!==U||!a(L,t)||a(j,t)){var r=D(e,t);return!r||!a(L,t)||a(e,I)&&e[I][t]||(r.enumerable=!0),r}},$=function(e){for(var t,r=O(E(e)),n=[],i=0;r.length>i;)a(L,t=r[i++])||t==I||t==l||n.push(t);return n},Q=function(e){for(var t,r=e===U,n=O(r?j:E(e)),i=[],o=0;n.length>o;)!a(L,t=n[o++])||r&&!a(U,t)||i.push(L[t]);return i};V||(u((k=function(){if(this instanceof k)throw TypeError("Symbol is not a constructor!");var e=d(arguments.length>0?arguments[0]:void 0);return o&&K&&G(U,e,{configurable:!0,set:function t(r){this===U&&t.call(j,r),a(this,I)&&a(this[I],e)&&(this[I][e]=!1),G(this,e,A(1,r))}}),W(e)}).prototype,"toString",function(){return this._k}),T.f=z,C.f=H,r(259).f=_.f=$,r(124).f=X,r(258).f=Q,o&&!r(118)&&u(U,"propertyIsEnumerable",X,!0),m.f=function(e){return W(h(e))}),s(s.G+s.W+s.F*!V,{Symbol:k});for(var Z="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),ee=0;Z.length>ee;)h(Z[ee++]);for(var te=P(h.store),re=0;te.length>re;)y(te[re++]);s(s.S+s.F*!V,"Symbol",{for:function(e){return a(R,e+="")?R[e]:R[e]=k(e)},keyFor:function(e){if(!q(e))throw TypeError(e+" is not a symbol!");for(var t in R)if(R[t]===e)return t},useSetter:function(){K=!0},useSimple:function(){K=!1}}),s(s.S+s.F*!V,"Object",{create:function(e,t){return void 0===t?S(e):J(S(e),t)},defineProperty:H,defineProperties:J,getOwnPropertyDescriptor:z,getOwnPropertyNames:$,getOwnPropertySymbols:Q}),F&&s(s.S+s.F*(!V||c(function(){var e=k();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!q(e)){for(var t,r,n=[e],i=1;arguments.length>i;)n.push(arguments[i++]);return"function"==typeof(t=n[1])&&(r=t),!r&&g(t)||(t=function(e,t){if(r&&(t=r.call(this,e,t)),!q(t))return t}),n[1]=t,N.apply(F,n)}}}),k.prototype[M]||r(33)(k.prototype,M,k.prototype.valueOf),f(k,"Symbol"),f(Math,"Math",!0),f(i.JSON,"JSON",!0)},function(e,t,r){var n=r(68);e.exports=function(e,t){if(!n(e))return e;var r,i;if(t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;if("function"==typeof(r=e.valueOf)&&!n(i=r.call(e)))return i;if(!t&&"function"==typeof(r=e.toString)&&!n(i=r.call(e)))return i;throw TypeError("Can't convert object to primitive value")}},function(e,t,r){var n=r(14),i=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return i[e]||(i[e]={})}},function(e,t,r){var n=r(34).f,i=r(26),a=r(15)("toStringTag");e.exports=function(e,t,r){e&&!i(e=r?e:e.prototype,a)&&n(e,a,{configurable:!0,value:t})}},function(e,t,r){t.f=r(15)},function(e,t,r){var n=r(14),i=r(5),a=r(118),o=r(116),s=r(34).f;e.exports=function(e){var t=i.Symbol||(i.Symbol=a?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||s(t,e,{value:o.f(e)})}},function(e,t){e.exports=!0},function(e,t){var r={}.toString;e.exports=function(e){return r.call(e).slice(8,-1)}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var r=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:r)(e)}},function(e,t,r){var n=r(114)("keys"),i=r(70);e.exports=function(e){return n[e]||(n[e]=i(e))}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,r){var n=r(44),i=r(582),a=r(123),o=r(122)("IE_PROTO"),s=function(){},u=function(){var e,t=r(255)("iframe"),n=a.length;for(t.style.display="none",r(583).appendChild(t),t.src="javascript:",(e=t.contentWindow.document).open(),e.write("