altair-static 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +114 -0
- package/LICENSE +21 -0
- package/README.md +1 -0
- package/build/dist/108-es2018.js +1 -0
- package/build/dist/108-es5.js +1 -0
- package/build/dist/283-es2018.js +1 -0
- package/build/dist/283-es5.js +1 -0
- package/build/dist/379-es2018.js +1 -0
- package/build/dist/379-es5.js +1 -0
- package/build/dist/3rdpartylicenses.txt +4095 -0
- package/build/dist/527-es2018.js +1 -0
- package/build/dist/527-es5.js +1 -0
- package/build/dist/604-es2018.js +1 -0
- package/build/dist/604-es5.js +1 -0
- package/build/dist/709-es2018.js +1 -0
- package/build/dist/709-es5.js +1 -0
- package/build/dist/747-es2018.js +1 -0
- package/build/dist/747-es5.js +1 -0
- package/build/dist/773-es2018.js +1 -0
- package/build/dist/773-es5.js +1 -0
- package/build/dist/790-es2018.js +1 -0
- package/build/dist/790-es5.js +1 -0
- package/build/dist/794-es2018.js +1 -0
- package/build/dist/794-es5.js +1 -0
- package/build/dist/866-es2018.js +1 -0
- package/build/dist/866-es5.js +1 -0
- package/build/dist/873-es2018.js +1 -0
- package/build/dist/873-es5.js +1 -0
- package/build/dist/934-es2018.js +1 -0
- package/build/dist/934-es5.js +1 -0
- package/build/dist/assets/i18n/README.md +1 -0
- package/build/dist/assets/i18n/ach-UG.json +155 -0
- package/build/dist/assets/i18n/ach.json +55 -0
- package/build/dist/assets/i18n/af-ZA.json +122 -0
- package/build/dist/assets/i18n/ar-SA.json +122 -0
- package/build/dist/assets/i18n/ca-ES.json +122 -0
- package/build/dist/assets/i18n/cn.json +64 -0
- package/build/dist/assets/i18n/cs-CZ.json +155 -0
- package/build/dist/assets/i18n/da-DK.json +155 -0
- package/build/dist/assets/i18n/de-DE.json +155 -0
- package/build/dist/assets/i18n/default.json +177 -0
- package/build/dist/assets/i18n/el-GR.json +122 -0
- package/build/dist/assets/i18n/en-US.json +155 -0
- package/build/dist/assets/i18n/en.json +75 -0
- package/build/dist/assets/i18n/es-ES.json +155 -0
- package/build/dist/assets/i18n/es.json +57 -0
- package/build/dist/assets/i18n/fi-FI.json +155 -0
- package/build/dist/assets/i18n/fr-FR.json +155 -0
- package/build/dist/assets/i18n/fr.json +57 -0
- package/build/dist/assets/i18n/he-IL.json +122 -0
- package/build/dist/assets/i18n/hu-HU.json +155 -0
- package/build/dist/assets/i18n/it-IT.json +155 -0
- package/build/dist/assets/i18n/ja-JP.json +155 -0
- package/build/dist/assets/i18n/ko-KR.json +155 -0
- package/build/dist/assets/i18n/nl-NL.json +155 -0
- package/build/dist/assets/i18n/no-NO.json +155 -0
- package/build/dist/assets/i18n/pl-PL.json +155 -0
- package/build/dist/assets/i18n/pt-BR.json +155 -0
- package/build/dist/assets/i18n/pt-PT.json +155 -0
- package/build/dist/assets/i18n/ro-RO.json +155 -0
- package/build/dist/assets/i18n/ru-RU.json +155 -0
- package/build/dist/assets/i18n/sr-SP.json +155 -0
- package/build/dist/assets/i18n/sv-SE.json +155 -0
- package/build/dist/assets/i18n/tr-TR.json +155 -0
- package/build/dist/assets/i18n/uk-UA.json +155 -0
- package/build/dist/assets/i18n/vi-VN.json +155 -0
- package/build/dist/assets/i18n/zh-CN.json +155 -0
- package/build/dist/assets/i18n/zh-TW.json +155 -0
- package/build/dist/assets/img/altair_logo.png +0 -0
- package/build/dist/assets/img/altair_logo_128.png +0 -0
- package/build/dist/assets/img/altair_logo_512.png +0 -0
- package/build/dist/assets/img/logo.png +0 -0
- package/build/dist/assets/img/logo.svg +31 -0
- package/build/dist/assets/img/logo_350.svg +28 -0
- package/build/dist/assets/img/play.svg +19 -0
- package/build/dist/favicon.ico +0 -0
- package/build/dist/index.html +40 -0
- package/build/dist/jetbrains-mono-all-400-normal.woff +0 -0
- package/build/dist/jetbrains-mono-cyrillic-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-cyrillic-ext-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-greek-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-latin-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-latin-ext-400-normal.woff2 +0 -0
- package/build/dist/jetbrains-mono-vietnamese-400-normal.woff2 +0 -0
- package/build/dist/main-es2018.js +1 -0
- package/build/dist/main-es5.js +1 -0
- package/build/dist/polyfills-es2018.js +1 -0
- package/build/dist/polyfills-es5.js +1 -0
- package/build/dist/runtime-es2018.js +1 -0
- package/build/dist/runtime-es5.js +1 -0
- package/build/dist/styles.css +2 -0
- package/build/index.d.ts +25 -0
- package/build/index.js +74 -0
- package/build/index.js.map +1 -0
- package/build/index.test.d.ts +1 -0
- package/build/index.test.js +46 -0
- package/build/index.test.js.map +1 -0
- package/build/utils/get-altair-html.d.ts +1 -0
- package/build/utils/get-altair-html.js +10 -0
- package/build/utils/get-altair-html.js.map +1 -0
- package/build/utils/get-dist.d.ts +4 -0
- package/build/utils/get-dist.js +9 -0
- package/build/utils/get-dist.js.map +1 -0
- package/jest.config.js +12 -0
- package/package.json +47 -0
- package/scripts/prepare_dist.js +77 -0
- package/src/__snapshots__/index.test.ts.snap +66 -0
- package/src/index.html +40 -0
- package/src/index.test.ts +56 -0
- package/src/index.ts +84 -0
- package/src/utils/get-altair-html.ts +7 -0
- package/src/utils/get-dist.ts +6 -0
- package/tsconfig.json +19 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunkaltair_app=self.webpackChunkaltair_app||[]).push([[604],{57604:function(e,t,r){e.exports=function(e){"use strict";var t=Object.freeze({__proto__:null,get FunctionDeclaration(){return le},get VariableDeclaration(){return pe},get VariableDeclarator(){return de},get ClassDeclaration(){return fe},get ClassBody(){return me},get MethodDefinition(){return ge}}),r=Object.freeze({__proto__:null,get FunctionDeclaration(){return Re},get VariableDeclaration(){return De},get VariableDeclarator(){return Ue},get ClassDeclaration(){return Fe},get ClassBody(){return je},get MethodDefinition(){return He}}),i=Object.freeze,n=Object.defineProperty,s=Object.getOwnPropertyDescriptor,a=Object.prototype.hasOwnProperty;function o(e,t){return a.call(e,t)}var c=Object.getOwnPropertyNames,h=Object.setPrototypeOf;var u=Object.getPrototypeOf;function l(e){return u?u(e):e.__proto__}var p=Object.getOwnPropertyDescriptor;function d(e,t,r){for(;t;){var i=p(t,r),n=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(n)return n;t=l(t)}}function f(e,t){return d("get",e,t)}function m(e,t){return d("set",e,t)}var g=Object.create;function y(e,t){(function(e,t){h?h(e,t):e.__proto__=t})(e,t),e.prototype=g(t.prototype,{constructor:{value:e,writable:!0}})}var v=Object.assign||function(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)o(r,i)&&(e[i]=r[i])}return e},x=[],b=g(null);try{if(!window.Object)throw 0;x=c(b=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(rt){try{if(!global.Object)throw 0;x=c(b=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}catch(it){try{b.Object=Object}catch(nt){}try{b.Function=Function}catch(nt){}try{b.Array=Array}catch(nt){}try{b.Number=Number}catch(nt){}try{b.parseFloat=parseFloat}catch(nt){}try{b.parseInt=parseInt}catch(nt){}try{b.Infinity=1/0}catch(nt){}try{b.NaN=NaN}catch(nt){}try{b.undefined=void 0}catch(nt){}try{b.Boolean=Boolean}catch(nt){}try{b.String=String}catch(nt){}try{b.Symbol=Symbol}catch(nt){}try{b.Date=Date}catch(nt){}try{b.Promise=Promise}catch(nt){}try{b.RegExp=RegExp}catch(nt){}try{b.Error=Error}catch(nt){}try{b.EvalError=EvalError}catch(nt){}try{b.RangeError=RangeError}catch(nt){}try{b.ReferenceError=ReferenceError}catch(nt){}try{b.SyntaxError=SyntaxError}catch(nt){}try{b.TypeError=TypeError}catch(nt){}try{b.URIError=URIError}catch(nt){}try{b.JSON=JSON}catch(nt){}try{b.Math=Math}catch(nt){}try{b.console=console}catch(nt){}try{b.Intl=Intl}catch(nt){}try{b.ArrayBuffer=ArrayBuffer}catch(nt){}try{b.Uint8Array=Uint8Array}catch(nt){}try{b.Int8Array=Int8Array}catch(nt){}try{b.Uint16Array=Uint16Array}catch(nt){}try{b.Int16Array=Int16Array}catch(nt){}try{b.Uint32Array=Uint32Array}catch(nt){}try{b.Int32Array=Int32Array}catch(nt){}try{b.Float32Array=Float32Array}catch(nt){}try{b.Float64Array=Float64Array}catch(nt){}try{b.Uint8ClampedArray=Uint8ClampedArray}catch(nt){}try{b.DataView=DataView}catch(nt){}try{b.Map=Map}catch(nt){}try{b.Set=Set}catch(nt){}try{b.WeakMap=WeakMap}catch(nt){}try{b.WeakSet=WeakSet}catch(nt){}try{b.Proxy=Proxy}catch(nt){}try{b.Reflect=Reflect}catch(nt){}try{b.decodeURI=decodeURI}catch(nt){}try{b.decodeURIComponent=decodeURIComponent}catch(nt){}try{b.encodeURI=encodeURI}catch(nt){}try{b.encodeURIComponent=encodeURIComponent}catch(nt){}try{b.escape=escape}catch(nt){}try{b.unescape=unescape}catch(nt){}try{b.eval=eval}catch(nt){}try{b.isFinite=isFinite}catch(nt){}try{b.isNaN=isNaN}catch(nt){}try{b.SharedArrayBuffer=SharedArrayBuffer}catch(nt){}try{b.Atomics=Atomics}catch(nt){}try{b.WebAssembly=WebAssembly}catch(nt){}try{b.clearInterval=clearInterval}catch(nt){}try{b.clearTimeout=clearTimeout}catch(nt){}try{b.setInterval=setInterval}catch(nt){}try{b.setTimeout=setTimeout}catch(nt){}try{b.crypto=crypto}catch(nt){}x=c(b)}}b.Symbol&&(!b.Symbol.iterator&&(b.Symbol.iterator=E("iterator")),!b.Symbol.asyncIterator&&(b.Symbol.asyncIterator=E("asynciterator")));for(var _=g({}),k=0;k<x.length;k++){var w=x[k];try{_[w]=b[w]}catch(rt){}}var S=E("window");function E(e){return e+Math.random().toString(36).substring(2)}var C={RES:void 0},I={RES:void 0},A=E("continue"),P=E("break"),T=E("super"),L=E("supercall"),V=E("noctor"),N=E("clsctor"),B=E("newtarget"),O=E("noinit"),M=E("deadzone"),R=function(){function e(e,t){this.kind=e,this.value=t}return e.prototype.get=function(){return this.value},e.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},e}(),D=function(){function e(e,t){this.object=e,this.property=t}return e.prototype.get=function(){return this.object[this.property]},e.prototype.set=function(e){return this.object[this.property]=e,!0},e.prototype.del=function(){return delete this.object[this.property]},e}(),U=function(){function e(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=g(null),this.parent=e,this.isolated=t}return e.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},e.prototype.clone=function(){var t=new e(this.parent,this.isolated);for(var r in this.context){var i=this.context[r];t[i.kind](r,i.get())}return t},e.prototype.find=function(e){if(this.context[e])return this.context[e];if(this.parent)return this.parent.find(e);var t=this.global().find("window").get();return e in t?new D(t,e):null},e.prototype.var=function(e,t){for(var r=this;r.parent&&!r.isolated;)r=r.parent;var i=r.context[e];if(i){if("var"!==i.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");t!==O&&i.set(t)}else r.context[e]=new R("var",t===O?void 0:t);if(!r.parent){var s=r.find("window").get();t!==O&&n(s,e,{value:t,writable:!0,enumerable:!0})}},e.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==M)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new R("let",t)},e.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==M)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new R("const",t)},e.prototype.func=function(e,t){var r=this.context[e];if(r&&"var"!==r.kind)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new R("var",t)},e}();function F(e,t){var r,i,n,s,a={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return s={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(s[Symbol.iterator]=function(){return this}),s;function o(s){return function(o){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;a;)try{if(r=1,i&&(n=2&s[0]?i.return:s[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,s[1])).done)return n;switch(i=0,n&&(s=[2&s[0],n.value]),s[0]){case 0:case 1:n=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!(n=(n=a.trys).length>0&&n[n.length-1])&&(6===s[0]||2===s[0])){a=0;continue}if(3===s[0]&&(!n||s[1]>n[0]&&s[1]<n[3])){a.label=s[1];break}if(6===s[0]&&a.label<n[1]){a.label=n[1],n=s;break}if(n&&a.label<n[2]){a.label=n[2],a.ops.push(s);break}n[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(o){s=[6,o],i=0}finally{r=n=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,o])}}}function j(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}function H(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var i,n,s=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(i=s.next()).done;)a.push(i.value)}catch(o){n={error:o}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}function G(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(H(arguments[t]));return e}function W(e,t,r){void 0===r&&(r={});var i=r.getVar,n=void 0!==i&&i,s=r.throwErr,a=void 0===s||s;if("undefined"===e.name);else{var o=t.find(e.name);if(o){if(n)return o;var c=o.get();if(c===M)throw new ReferenceError(e.name+" is not defined");return c}if(a)throw new ReferenceError(e.name+" is not defined")}}var q=Object.freeze({__proto__:null,Identifier:W});function z(e,t){return e.value}var K=Object.freeze({__proto__:null,Literal:z});function Q(e,t,r){void 0===r&&(r={});var i,s,a=r.getObj,o=void 0!==a&&a,c=r.getVar,h=void 0!==c&&c;if(i="Super"===e.object.type?J(0,t,{getProto:!0}):ue(e.object,t),o)return i;if(s=e.computed?ue(e.property,t):e.property.name,h){var u=m(i,s);if("Super"===e.object.type&&u){var l=t.find("this").get(),p=E(s);return n(l,p,{set:u}),new D(l,p)}return new D(i,s)}var d=f(i,s);return"Super"===e.object.type&&d?(l=t.find("this").get(),d.call(l)):i[s]}function X(e,t){return e.value.raw}function J(e,t,r){void 0===r&&(r={});var i=r.getProto,n=void 0!==i&&i,s=t.find(T).get();return n?s.prototype:s}function Z(e,t){return ue(e.argument,t)}var Y=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(L);if(r&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()},ArrayExpression:function(e,t){for(var r=[],i=0;i<e.elements.length;i++){var n=e.elements[i];"SpreadElement"===n.type?r=r.concat(Z(n,t)):r.push(ue(n,t))}return r},ObjectExpression:function(e,t){for(var r={},i=0;i<e.properties.length;i++){var a=e.properties[i];if("SpreadElement"===a.type)v(r,Z(a,t));else{var o,c=a.key;o=a.computed?ue(c,t):"Identifier"===c.type?c.name:""+z(c);var h=ue(a.value,t),u=a.kind;if("init"===u)r[o]=h;else if("get"===u){var l=s(r,o);n(r,o,{get:h,set:l&&l.set,enumerable:!0,configurable:!0})}else l=s(r,o),n(r,o,{get:l&&l.get,set:h,enumerable:!0,configurable:!0})}}return r},FunctionExpression:function(e,t){if(e.id&&e.id.name){var r=new U(t),i=$e(e,r);return r.const(e.id.name,i),i}return $e(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+ue(r,t);case"-":return-ue(r,t);case"!":return!ue(r,t);case"~":return~ue(r,t);case"void":return void ue(r,t);case"typeof":return"Identifier"===r.type?typeof W(r,t,{throwErr:!1}):typeof ue(r,t);case"delete":if("MemberExpression"===r.type)return Q(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return ue(r,t),!0;default:throw new SyntaxError("Unexpected token "+e.operator)}},UpdateExpression:function(e,t){var r,i=e.argument;if("Identifier"===i.type)r=W(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=Q(i,t,{getVar:!0})}var n=r.get();if("++"===e.operator)return r.set(n+1),e.prefix?r.get():n;if("--"===e.operator)return r.set(n-1),e.prefix?r.get():n;throw new SyntaxError("Unexpected token "+e.operator)},BinaryExpression:function(e,t){var r=ue(e.left,t),i=ue(e.right,t);switch(e.operator){case"==":return r==i;case"!=":return r!=i;case"===":return r===i;case"!==":return r!==i;case"<":return r<i;case"<=":return r<=i;case">":return r>i;case">=":return r>=i;case"<<":return r<<i;case">>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return r instanceof i;default:throw new SyntaxError("Unexpected token "+e.operator)}},AssignmentExpression:function(e,t){var r,i=ue(e.right,t),n=e.left;if("Identifier"===n.type){if(!(r=W(n,t,{getVar:!0,throwErr:!1}))){var s=t.global().find("window").get();r=new D(s,n.name)}}else{if("MemberExpression"!==n.type)return Ye(n,t,{feed:i});r=Q(n,t,{getVar:!0})}switch(e.operator){case"=":return r.set(i),r.get();case"+=":return r.set(r.get()+i),r.get();case"-=":return r.set(r.get()-i),r.get();case"*=":return r.set(r.get()*i),r.get();case"/=":return r.set(r.get()/i),r.get();case"%=":return r.set(r.get()%i),r.get();case"**=":return r.set(Math.pow(r.get(),i)),r.get();case"<<=":return r.set(r.get()<<i),r.get();case">>=":return r.set(r.get()>>i),r.get();case">>>=":return r.set(r.get()>>>i),r.get();case"|=":return r.set(r.get()|i),r.get();case"^=":return r.set(r.get()^i),r.get();case"&=":return r.set(r.get()&i),r.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){switch(e.operator){case"||":return ue(e.left,t)||ue(e.right,t);case"&&":return ue(e.left,t)&&ue(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:Q,ConditionalExpression:function(e,t){return ue(e.test,t)?ue(e.consequent,t):ue(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){i=Q(e.callee,t,{getObj:!0});var n;if(n=e.callee.computed?ue(e.callee.property,t):e.callee.property.name,"Super"===e.callee.object.type){var s=t.find("this").get();r=i[n].bind(s)}else r=i[n];if("function"!=typeof r)throw new TypeError(n+" is not a function");if(r[N])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else if(i=t.find("this").get(),"function"!=typeof(r=ue(e.callee,t))||"Super"!==e.callee.type&&r[N]){var a;if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(u){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}for(var o=[],c=0;c<e.arguments.length;c++){var h=e.arguments[c];"SpreadElement"===h.type?o=o.concat(Z(h,t)):o.push(ue(h,t))}if("Super"===e.callee.type){if(t.find(L).get())throw new ReferenceError("Super constructor may only be called once");t.find(L).set(!0)}return i&&i[S]&&-1!==r.toString().indexOf("[native code]")?r.apply(i[S],o):r.apply(i,o)},NewExpression:function(e,t){var r=ue(e.callee,t);if("function"!=typeof r){var i;if("Identifier"===e.callee.type)i=e.callee.name;else try{i=JSON.stringify(r)}catch(o){i=""+r}throw new TypeError(i+" is not a constructor")}if(r[V])throw new TypeError((r.name||"(intermediate value)")+" is not a constructor");for(var n=[],s=0;s<e.arguments.length;s++){var a=e.arguments[s];"SpreadElement"===a.type?n=n.concat(Z(a,t)):n.push(ue(a,t))}return new(r.bind.apply(r,G([void 0],n)))},MetaProperty:function(e,t){return t.find(B).get()},SequenceExpression:function(e,t){for(var r,i=0;i<e.expressions.length;i++)r=ue(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return $e(e,t)},TemplateLiteral:function(e,t){for(var r,i,n=e.quasis.slice(),s=e.expressions.slice(),a="";r=n.shift();)a+=X(r),(i=s.shift())&&(a+=ue(i,t));return a},TaggedTemplateExpression:function(e,t){var r=ue(e.tag,t),s=e.quasi.quasis,a=s.map(function(e){return e.value.cooked}),o=s.map(function(e){return e.value.raw});n(a,"raw",{value:i(o)});var c=e.quasi.expressions,h=[];if(c)for(var u=0;u<c.length;u++)h.push(ue(c[u],t));return r.apply(void 0,G([i(a)],h))},TemplateElement:X,ClassExpression:function(e,t){if(e.id&&e.id.name){var r=new U(t),i=et(e,r);return r.const(e.id.name,i),i}return et(e,t)},Super:J,SpreadElement:Z});function $(e,t,r){void 0===r&&(r={});var i=r.invasived,n=r.hoisted,s=void 0!==n&&n,a=void 0!==i&&i?t:new U(t);s||Je(e,a,{onlyBlock:!0});for(var o=0;o<e.body.length;o++){var c=ue(e.body[o],a);if(c===P||c===A||c===I)return c}}function ee(e,t){for(var r=0;r<e.consequent.length;r++){var i=ue(e.consequent[r],t);if(i===P||i===A||i===I)return i}}function te(e,t){return $(e.body,t,{invasived:!0})}var re=Object.freeze({__proto__:null,ExpressionStatement:function(e,t){ue(e.expression,t)},BlockStatement:$,EmptyStatement:function(){},DebuggerStatement:function(){},ReturnStatement:function(e,t){return I.RES=e.argument?ue(e.argument,t):void 0,I},BreakStatement:function(){return P},ContinueStatement:function(){return A},IfStatement:function(e,t){return ue(e.test,t)?ue(e.consequent,t):ue(e.alternate,t)},SwitchStatement:function(e,t){for(var r=ue(e.discriminant,t),i=!1,n=0;n<e.cases.length;n++){var s=e.cases[n];if(!i&&(!s.test||ue(s.test,t)===r)&&(i=!0),i){var a=ee(s,t);if(a===P)break;if(a===A||a===I)return a}}},SwitchCase:ee,ThrowStatement:function(e,t){throw ue(e.argument,t)},TryStatement:function(e,t){try{return $(e.block,t)}catch(s){if(e.handler){var r=new U(t),i=e.handler.param;return i&&("Identifier"===i.type?r.var(i.name,s):Ye(i,t,{feed:s})),te(e.handler,r)}throw s}finally{if(e.finalizer){var n=$(e.finalizer,t);if(n===P||n===A||n===I)return n}}},CatchClause:te,WhileStatement:function(e,t){for(;ue(e.test,t);){var r=ue(e.body,t);if(r===P)break;if(r!==A&&r===I)return r}},DoWhileStatement:function(e,t){do{var r=ue(e.body,t);if(r===P)break;if(r!==A&&r===I)return r}while(ue(e.test,t))},ForStatement:function(e,t){var r=new U(t);for(ue(e.init,r);!e.test||ue(e.test,r);ue(e.update,r)){var i,n=new U(r);if((i="BlockStatement"===e.body.type?$(e.body,n,{invasived:!0}):ue(e.body,n))===P)break;if(i!==A&&i===I)return i}},ForInStatement:function(e,t){for(var r in ue(e.right,t)){var i=tt(e,t,{value:r});if(i===P)break;if(i!==A&&i===I)return i}},ForOfStatement:function(e,t){var r,i,n=ue(e.right,t);try{for(var s=j(n),a=s.next();!a.done;a=s.next()){var o=tt(e,t,{value:a.value});if(o===P)break;if(o!==A&&o===I)return o}}catch(c){r={error:c}}finally{try{a&&!a.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}}});function ie(e,t,r){void 0===r&&(r={});for(var i=r.kind,n=void 0===i?"var":i,s=r.hoist,a=void 0!==s&&s,o=r.onlyBlock,c=void 0!==o&&o,h=r.feed,u=void 0===h?{}:h,l=[],p=0;p<e.properties.length;p++){var d=e.properties[p];if(a)(c||"var"===n)&&("Property"===d.type?"Identifier"===(f=d.value).type?t[n](f.name,c?M:"var"===n?O:void 0):Ye(f,t,{kind:n,hoist:a,onlyBlock:c}):se(d,t,{kind:n,hoist:a,onlyBlock:c}));else if("Property"===d.type){var f,m;m=d.computed?ue(d.key,t):d.key.name,l.push(m),"Identifier"===(f=d.value).type?t[n](f.name,u[m]):Ye(f,t,{kind:n,feed:u[m]})}else{for(var g=v({},u),y=0;y<l.length;y++)delete g[l[y]];se(d,t,{kind:n,feed:g})}}}function ne(e,t,r){void 0===r&&(r={});for(var i=r.kind,n=r.hoist,s=void 0!==n&&n,a=r.onlyBlock,o=void 0!==a&&a,c=r.feed,h=void 0===c?[]:c,u=[],l=0;l<e.elements.length;l++){var p=e.elements[l];if(p)if(s)(o||"var"===i)&&("Identifier"===p.type?t[i](p.name,o?M:"var"===i?O:void 0):Ye(p,t,{kind:i,hoist:s,onlyBlock:o}));else if("Identifier"===p.type)if(i)t[i](p.name,h[l]);else{var d=W(p,t,{getVar:!0});d.set(h[l]),u.push(d.get())}else"RestElement"===p.type?se(p,t,{kind:i,feed:h.slice(l)}):Ye(p,t,{kind:i,feed:h[l]})}if(u.length)return u}function se(e,t,r){void 0===r&&(r={});var i=r.kind,n=r.hoist,s=void 0!==n&&n,a=r.onlyBlock,o=void 0!==a&&a,c=r.feed,h=void 0===c?[]:c,u=e.argument;s?(o||"var"===i)&&("Identifier"===u.type?t[i](u.name,o?M:"var"===i?O:void 0):Ye(u,t,{kind:i,hoist:s,onlyBlock:o})):"Identifier"===u.type?i?t[i](u.name,h):W(u,t,{getVar:!0}).set(h):Ye(u,t,{kind:i,feed:h})}function ae(e,t,r){void 0===r&&(r={});var i=r.kind,n=void 0===i?"var":i,s=r.hoist,a=void 0!==s&&s,o=r.onlyBlock,c=void 0!==o&&o,h=r.feed,u=void 0===h?ue(e.right,t):h,l=e.left;a?(c||"var"===n)&&("Identifier"===l.type?t[n](l.name,c?M:"var"===n?O:void 0):Ye(l,t,{kind:n,hoist:a,onlyBlock:c})):"Identifier"===l.type?t[n](l.name,u):Ye(l,t,{kind:n,feed:u})}var oe=Object.freeze({__proto__:null,ObjectPattern:ie,ArrayPattern:ne,RestElement:se,AssignmentPattern:ae});var ce,he=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)ue(e.body[r],t)}});function ue(e,r){if(e){ce||(ce=v({},t,Y,q,re,K,oe,he));var i=ce[e.type];if(i)return i(e,r);throw new Error(e.type+" isn't implemented")}}function le(e,t){t.func(e.id.name,$e(e,t))}function pe(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)de(e.declarations[i],t,v({kind:e.kind},r))}function de(e,t,r){void 0===r&&(r={});var i=r.kind,s=void 0===i?"var":i,a=r.hoist,o=void 0!==a&&a,c=r.onlyBlock,h=void 0!==c&&c,u=r.feed;if(o)(h||"var"===s)&&("Identifier"===e.id.type?t[s](e.id.name,h?M:"var"===s?O:void 0):Ye(e.id,t,{kind:s,hoist:o,onlyBlock:h}));else{var l="feed"in r,p=l?u:ue(e.init,t);if("Identifier"===e.id.type){var d=e.id.name;"var"!==s||e.init||l?t[s](d,p):t.var(d,O),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!p.name&&n(p,"name",{value:d,configurable:!0})}else Ye(e.id,t,{kind:s,feed:p})}}function fe(e,t){t.func(e.id.name,et(e,t))}function me(e,t,r){void 0===r&&(r={});for(var i=r.klass,n=r.superClass,s=0;s<e.body.length;s++)ge(e.body[s],t,{klass:i,superClass:n})}function ge(e,t,r){void 0===r&&(r={});var i,a=r.klass,o=r.superClass;if(e.computed)i=ue(e.key,t);else{if("Identifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name}var c=e.static?a:a.prototype,h=$e(e.value,t,{superClass:o});switch(e.kind){case"constructor":break;case"method":n(c,i,{value:h,writable:!0,configurable:!0});break;case"get":var u=s(c,i);n(c,i,{get:h,set:u&&u.set,configurable:!0});break;case"set":u=s(c,i),n(c,i,{get:u&&u.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function ye(e,t,r){var i,n,s,a,o,c;return void 0===r&&(r={}),F(this,function(h){if(n=void 0!==(i=r.getVar)&&i,a=void 0===(s=r.throwErr)||s,"undefined"===e.name)return[2,void 0];if(o=t.find(e.name)){if(n)return[2,o];if((c=o.get())===M)throw new ReferenceError(e.name+" is not defined");return[2,c]}if(a)throw new ReferenceError(e.name+" is not defined");return[2,void 0]})}var ve=Object.freeze({__proto__:null,Identifier:ye});function xe(e,t){return F(this,function(t){return[2,e.value]})}var be=Object.freeze({__proto__:null,Literal:xe});function _e(e,t,r){var i,s,a,o,c,h,u,l,p,d;return void 0===r&&(r={}),F(this,function(g){switch(g.label){case 0:return s=void 0!==(i=r.getObj)&&i,o=void 0!==(a=r.getVar)&&a,"Super"!==e.object.type?[3,2]:[5,j(we(0,t,{getProto:!0}))];case 1:return c=g.sent(),[3,4];case 2:return[5,j(Me(e.object,t))];case 3:c=g.sent(),g.label=4;case 4:return s?[2,c]:e.computed?[5,j(Me(e.property,t))]:[3,6];case 5:return h=g.sent(),[3,7];case 6:h=e.property.name,g.label=7;case 7:return o?(u=m(c,h),"Super"===e.object.type&&u?(d=t.find("this").get(),l=E(h),n(d,l,{set:u}),[2,new D(d,l)]):[2,new D(c,h)]):(p=f(c,h),"Super"===e.object.type&&p?(d=t.find("this").get(),[2,p.call(d)]):[2,c[h]])}})}function ke(e,t){return F(this,function(t){return[2,e.value.raw]})}function we(e,t,r){var i,n,s;return void 0===r&&(r={}),F(this,function(e){return n=void 0!==(i=r.getProto)&&i,s=t.find(T).get(),[2,n?s.prototype:s]})}function Se(e,t){return F(this,function(r){switch(r.label){case 0:return[5,j(Me(e.argument,t))];case 1:return[2,r.sent()]}})}var Ee=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return F(this,function(e){if((r=t.find(L))&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})},ArrayExpression:function(e,t){var r,i,n,s,a,o,c;return F(this,function(h){switch(h.label){case 0:r=[],i=0,h.label=1;case 1:return i<e.elements.length?"SpreadElement"!==(n=e.elements[i]).type?[3,3]:(a=(s=r).concat,[5,j(Se(n,t))]):[3,6];case 2:return r=a.apply(s,[h.sent()]),[3,5];case 3:return c=(o=r).push,[5,j(Me(n,t))];case 4:c.apply(o,[h.sent()]),h.label=5;case 5:return i++,[3,1];case 6:return[2,r]}})},ObjectExpression:function(e,t){var r,i,a,o,c,h,u,l,p,d,f;return F(this,function(m){switch(m.label){case 0:r={},i=0,m.label=1;case 1:return i<e.properties.length?"SpreadElement"!==(a=e.properties[i]).type?[3,3]:(o=v,c=[r],[5,j(Se(a,t))]):[3,11];case 2:return o.apply(void 0,c.concat([m.sent()])),[3,10];case 3:return h=void 0,u=a.key,a.computed?[5,j(Me(u,t))]:[3,5];case 4:return h=m.sent(),[3,8];case 5:return"Identifier"!==u.type?[3,6]:(h=u.name,[3,8]);case 6:return l="",[5,j(xe(u))];case 7:h=l+m.sent(),m.label=8;case 8:return[5,j(Me(a.value,t))];case 9:p=m.sent(),"init"===(d=a.kind)?r[h]=p:"get"===d?(f=s(r,h),n(r,h,{get:p,set:f&&f.set,enumerable:!0,configurable:!0})):(f=s(r,h),n(r,h,{get:f&&f.get,set:p,enumerable:!0,configurable:!0})),m.label=10;case 10:return i++,[3,1];case 11:return[2,r]}})},FunctionExpression:function(e,t){var r,i;return F(this,function(n){return e.id&&e.id.name?(r=new U(t),i=Ke(e,r),r.const(e.id.name,i),[2,i]):[2,Ke(e,t)]})},UnaryExpression:function(e,t){var r;return F(this,function(i){switch(i.label){case 0:switch(r=e.argument,e.operator){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,15]}return[3,20];case 1:return[5,j(Me(r,t))];case 2:return[2,+i.sent()];case 3:return[5,j(Me(r,t))];case 4:return[2,-i.sent()];case 5:return[5,j(Me(r,t))];case 6:return[2,!i.sent()];case 7:return[5,j(Me(r,t))];case 8:return[2,~i.sent()];case 9:return[5,j(Me(r,t))];case 10:return[2,void i.sent()];case 11:return"Identifier"!==r.type?[3,13]:[5,j(ye(r,t,{throwErr:!1}))];case 12:return[2,typeof i.sent()];case 13:return[5,j(Me(r,t))];case 14:return[2,typeof i.sent()];case 15:return"MemberExpression"!==r.type?[3,17]:[5,j(_e(r,t,{getVar:!0}))];case 16:return[2,i.sent().del()];case 17:if("Identifier"!==r.type)return[3,18];throw new SyntaxError("Delete of an unqualified identifier in strict mode");case 18:return[5,j(Me(r,t))];case 19:return i.sent(),[2,!0];case 20:throw new SyntaxError("Unexpected token "+e.operator)}})},UpdateExpression:function(e,t){var r,i,n;return F(this,function(s){switch(s.label){case 0:return"Identifier"!==(r=e.argument).type?[3,2]:[5,j(ye(r,t,{getVar:!0}))];case 1:return i=s.sent(),[3,5];case 2:return"MemberExpression"!==r.type?[3,4]:[5,j(_e(r,t,{getVar:!0}))];case 3:return i=s.sent(),[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:if(n=i.get(),"++"===e.operator)return i.set(n+1),[2,e.prefix?i.get():n];if("--"===e.operator)return i.set(n-1),[2,e.prefix?i.get():n];throw new SyntaxError("Unexpected token "+e.operator)}})},BinaryExpression:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:return[5,j(Me(e.left,t))];case 1:return r=n.sent(),[5,j(Me(e.right,t))];case 2:switch(i=n.sent(),e.operator){case"==":return[2,r==i];case"!=":return[2,r!=i];case"===":return[2,r===i];case"!==":return[2,r!==i];case"<":return[2,r<i];case"<=":return[2,r<=i];case">":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<<i];case">>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,r instanceof i];default:throw new SyntaxError("Unexpected token "+e.operator)}}})},AssignmentExpression:function(e,t){var r,i,n,s;return F(this,function(a){switch(a.label){case 0:return[5,j(Me(e.right,t))];case 1:return r=a.sent(),"Identifier"!==(i=e.left).type?[3,3]:[5,j(ye(i,t,{getVar:!0,throwErr:!1}))];case 2:return(n=a.sent())||(s=t.global().find("window").get(),n=new D(s,i.name)),[3,7];case 3:return"MemberExpression"!==i.type?[3,5]:[5,j(_e(i,t,{getVar:!0}))];case 4:return n=a.sent(),[3,7];case 5:return[5,j(ze(i,t,{feed:r}))];case 6:return[2,a.sent()];case 7:switch(e.operator){case"=":return n.set(r),[2,n.get()];case"+=":return n.set(n.get()+r),[2,n.get()];case"-=":return n.set(n.get()-r),[2,n.get()];case"*=":return n.set(n.get()*r),[2,n.get()];case"/=":return n.set(n.get()/r),[2,n.get()];case"%=":return n.set(n.get()%r),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),r)),[2,n.get()];case"<<=":return n.set(n.get()<<r),[2,n.get()];case">>=":return n.set(n.get()>>r),[2,n.get()];case">>>=":return n.set(n.get()>>>r),[2,n.get()];case"|=":return n.set(n.get()|r),[2,n.get()];case"^=":return n.set(n.get()^r),[2,n.get()];case"&=":return n.set(n.get()&r),[2,n.get()];default:throw new SyntaxError("Unexpected token "+e.operator)}}})},LogicalExpression:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:switch(e.operator){case"||":return[3,1];case"&&":return[3,5]}return[3,9];case 1:return[5,j(Me(e.left,t))];case 2:return(r=n.sent())?[3,4]:[5,j(Me(e.right,t))];case 3:r=n.sent(),n.label=4;case 4:return[2,r];case 5:return[5,j(Me(e.left,t))];case 6:return(i=n.sent())?[5,j(Me(e.right,t))]:[3,8];case 7:i=n.sent(),n.label=8;case 8:return[2,i];case 9:throw new SyntaxError("Unexpected token "+e.operator)}})},MemberExpression:_e,ConditionalExpression:function(e,t){var r;return F(this,function(i){switch(i.label){case 0:return[5,j(Me(e.test,t))];case 1:return i.sent()?[5,j(Me(e.consequent,t))]:[3,3];case 2:return r=i.sent(),[3,5];case 3:return[5,j(Me(e.alternate,t))];case 4:r=i.sent(),i.label=5;case 5:return[2,r]}})},CallExpression:function(e,t){var r,i,n,s,a,o,c,h,u,l,p,d;return F(this,function(f){switch(f.label){case 0:return"MemberExpression"!==e.callee.type?[3,5]:[5,j(_e(e.callee,t,{getObj:!0}))];case 1:return i=f.sent(),n=void 0,e.callee.computed?[5,j(Me(e.callee.property,t))]:[3,3];case 2:return n=f.sent(),[3,4];case 3:n=e.callee.property.name,f.label=4;case 4:if("Super"===e.callee.object.type?(s=t.find("this").get(),r=i[n].bind(s)):r=i[n],"function"!=typeof r)throw new TypeError(n+" is not a function");if(r[N])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=t.find("this").get(),[5,j(Me(e.callee,t))];case 6:if("function"!=typeof(r=f.sent())||"Super"!==e.callee.type&&r[N]){if("Identifier"===e.callee.type)a=e.callee.name;else try{a=JSON.stringify(r)}catch(m){a=""+r}throw"function"!=typeof r?new TypeError(a+" is not a function"):new TypeError("Class constructor "+a+" cannot be invoked without 'new'")}f.label=7;case 7:o=[],c=0,f.label=8;case 8:return c<e.arguments.length?"SpreadElement"!==(h=e.arguments[c]).type?[3,10]:(l=(u=o).concat,[5,j(Se(h,t))]):[3,13];case 9:return o=l.apply(u,[f.sent()]),[3,12];case 10:return d=(p=o).push,[5,j(Me(h,t))];case 11:d.apply(p,[f.sent()]),f.label=12;case 12:return c++,[3,8];case 13:if("Super"===e.callee.type){if(t.find(L).get())throw new ReferenceError("Super constructor may only be called once");t.find(L).set(!0)}return i&&i[S]&&-1!==r.toString().indexOf("[native code]")?[2,r.apply(i[S],o)]:[2,r.apply(i,o)]}})},NewExpression:function(e,t){var r,i,n,s,a,o,c,h,u;return F(this,function(l){switch(l.label){case 0:return[5,j(Me(e.callee,t))];case 1:if("function"!=typeof(r=l.sent())){if("Identifier"===e.callee.type)i=e.callee.name;else try{i=JSON.stringify(r)}catch(p){i=""+r}throw new TypeError(i+" is not a constructor")}if(r[V])throw new TypeError((r.name||"(intermediate value)")+" is not a constructor");n=[],s=0,l.label=2;case 2:return s<e.arguments.length?"SpreadElement"!==(a=e.arguments[s]).type?[3,4]:(c=(o=n).concat,[5,j(Se(a,t))]):[3,7];case 3:return n=c.apply(o,[l.sent()]),[3,6];case 4:return u=(h=n).push,[5,j(Me(a,t))];case 5:u.apply(h,[l.sent()]),l.label=6;case 6:return s++,[3,2];case 7:return[2,new(r.bind.apply(r,G([void 0],n)))]}})},MetaProperty:function(e,t){return F(this,function(e){return[2,t.find(B).get()]})},SequenceExpression:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:i=0,n.label=1;case 1:return i<e.expressions.length?[5,j(Me(e.expressions[i],t))]:[3,4];case 2:r=n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2,r]}})},ArrowFunctionExpression:function(e,t){return F(this,function(r){return[2,Ke(e,t)]})},TemplateLiteral:function(e,t){var r,i,n,s,a,o,c;return F(this,function(h){switch(h.label){case 0:r=e.quasis.slice(),i=e.expressions.slice(),n="",h.label=1;case 1:return(s=r.shift())?(o=n,[5,j(ke(s))]):[3,5];case 2:return n=o+h.sent(),(a=i.shift())?(c=n,[5,j(Me(a,t))]):[3,4];case 3:n=c+h.sent(),h.label=4;case 4:return[3,1];case 5:return[2,n]}})},TaggedTemplateExpression:function(e,t){var r,s,a,o,c,h,u,l,p;return F(this,function(d){switch(d.label){case 0:return[5,j(Me(e.tag,t))];case 1:if(r=d.sent(),a=(s=e.quasi.quasis).map(function(e){return e.value.cooked}),o=s.map(function(e){return e.value.raw}),n(a,"raw",{value:i(o)}),h=[],!(c=e.quasi.expressions))return[3,5];u=0,d.label=2;case 2:return u<c.length?(p=(l=h).push,[5,j(Me(c[u],t))]):[3,5];case 3:p.apply(l,[d.sent()]),d.label=4;case 4:return u++,[3,2];case 5:return[2,r.apply(void 0,G([i(a)],h))]}})},TemplateElement:ke,ClassExpression:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:return e.id&&e.id.name?(r=new U(t),[5,j(Qe(e,r))]):[3,2];case 1:return i=n.sent(),r.const(e.id.name,i),[2,i];case 2:return[5,j(Qe(e,t))];case 3:return[2,n.sent()]}})},Super:we,SpreadElement:Se,YieldExpression:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:return[5,j(Me(e.argument,t))];case 1:return r=n.sent(),e.delegate?[5,j(r)]:[3,3];case 2:return i=n.sent(),[3,5];case 3:return[4,r];case 4:i=n.sent(),n.label=5;case 5:return[2,i]}})},AwaitExpression:function(e,t){var r;return F(this,function(i){switch(i.label){case 0:return r=C,[5,j(Me(e.argument,t))];case 1:return r.RES=i.sent(),[4,C];case 2:return[2,i.sent()]}})}});function Ce(e,t,r){var i,n,s,a,o,c;return void 0===r&&(r={}),F(this,function(h){switch(h.label){case 0:return s=void 0!==(n=r.hoisted)&&n,a=void 0!==(i=r.invasived)&&i?t:new U(t),s?[3,2]:[5,j(We(e,a,{onlyBlock:!0}))];case 1:h.sent(),h.label=2;case 2:o=0,h.label=3;case 3:return o<e.body.length?[5,j(Me(e.body[o],a))]:[3,6];case 4:if((c=h.sent())===P||c===A||c===I)return[2,c];h.label=5;case 5:return o++,[3,3];case 6:return[2]}})}function Ie(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:r=0,n.label=1;case 1:return r<e.consequent.length?[5,j(Me(e.consequent[r],t))]:[3,4];case 2:if((i=n.sent())===P||i===A||i===I)return[2,i];n.label=3;case 3:return r++,[3,1];case 4:return[2]}})}function Ae(e,t){return F(this,function(r){switch(r.label){case 0:return[5,j(Ce(e.body,t,{invasived:!0}))];case 1:return[2,r.sent()]}})}var Pe=Object.freeze({__proto__:null,ExpressionStatement:function(e,t){return F(this,function(r){switch(r.label){case 0:return[5,j(Me(e.expression,t))];case 1:return r.sent(),[2]}})},BlockStatement:Ce,EmptyStatement:function(){return F(this,function(e){return[2]})},DebuggerStatement:function(){return F(this,function(e){return[2]})},ReturnStatement:function(e,t){var r,i;return F(this,function(n){switch(n.label){case 0:return r=I,e.argument?[5,j(Me(e.argument,t))]:[3,2];case 1:return i=n.sent(),[3,3];case 2:i=void 0,n.label=3;case 3:return r.RES=i,[2,I]}})},BreakStatement:function(){return F(this,function(e){return[2,P]})},ContinueStatement:function(){return F(this,function(e){return[2,A]})},IfStatement:function(e,t){return F(this,function(r){switch(r.label){case 0:return[5,j(Me(e.test,t))];case 1:return r.sent()?[5,j(Me(e.consequent,t))]:[3,3];case 2:return[2,r.sent()];case 3:return[5,j(Me(e.alternate,t))];case 4:return[2,r.sent()]}})},SwitchStatement:function(e,t){var r,i,n,s,a,o,c;return F(this,function(h){switch(h.label){case 0:return[5,j(Me(e.discriminant,t))];case 1:r=h.sent(),i=!1,n=0,h.label=2;case 2:return n<e.cases.length?(s=e.cases[n],(a=!i)?(o=!s.test)?[3,4]:[5,j(Me(s.test,t))]:[3,5]):[3,8];case 3:o=h.sent()===r,h.label=4;case 4:a=o,h.label=5;case 5:return a&&(i=!0),i?[5,j(Ie(s,t))]:[3,7];case 6:if((c=h.sent())===P)return[3,8];if(c===A||c===I)return[2,c];h.label=7;case 7:return n++,[3,2];case 8:return[2]}})},SwitchCase:Ie,ThrowStatement:function(e,t){return F(this,function(r){switch(r.label){case 0:return[5,j(Me(e.argument,t))];case 1:throw r.sent()}})},TryStatement:function(e,t){var r,i,n,s;return F(this,function(a){switch(a.label){case 0:return a.trys.push([0,2,9,12]),[5,j(Ce(e.block,t))];case 1:return[2,a.sent()];case 2:return r=a.sent(),e.handler?(i=new U(t),(n=e.handler.param)?"Identifier"!==n.type?[3,3]:(i.var(n.name,r),[3,5]):[3,5]):[3,7];case 3:return[5,j(ze(n,t,{feed:r}))];case 4:a.sent(),a.label=5;case 5:return[5,j(Ae(e.handler,i))];case 6:return[2,a.sent()];case 7:throw r;case 8:return[3,12];case 9:return e.finalizer?[5,j(Ce(e.finalizer,t))]:[3,11];case 10:if((s=a.sent())===P||s===A||s===I)return[2,s];a.label=11;case 11:return[7];case 12:return[2]}})},CatchClause:Ae,WhileStatement:function(e,t){var r;return F(this,function(i){switch(i.label){case 0:return[5,j(Me(e.test,t))];case 1:return i.sent()?[5,j(Me(e.body,t))]:[3,3];case 2:return(r=i.sent())===P?[3,3]:r===A?[3,0]:r===I?[2,r]:[3,0];case 3:return[2]}})},DoWhileStatement:function(e,t){var r;return F(this,function(i){switch(i.label){case 0:return[5,j(Me(e.body,t))];case 1:if((r=i.sent())===P)return[3,4];if(r===A)return[3,2];if(r===I)return[2,r];i.label=2;case 2:return[5,j(Me(e.test,t))];case 3:if(i.sent())return[3,0];i.label=4;case 4:return[2]}})},ForStatement:function(e,t){var r,i,n,s;return F(this,function(a){switch(a.label){case 0:return r=new U(t),[5,j(Me(e.init,r))];case 1:a.sent(),a.label=2;case 2:return e.test?[5,j(Me(e.test,r))]:[3,4];case 3:return i=a.sent(),[3,5];case 4:i=!0,a.label=5;case 5:return i?(n=new U(r),s=void 0,"BlockStatement"!==e.body.type?[3,7]:[5,j(Ce(e.body,n,{invasived:!0}))]):[3,12];case 6:return s=a.sent(),[3,9];case 7:return[5,j(Me(e.body,n))];case 8:s=a.sent(),a.label=9;case 9:if(s===P)return[3,12];if(s===A)return[3,10];if(s===I)return[2,s];a.label=10;case 10:return[5,j(Me(e.update,r))];case 11:return a.sent(),[3,2];case 12:return[2]}})},ForInStatement:function(e,t){var r,i,n,s;return F(this,function(a){switch(a.label){case 0:return r=[],[5,j(Me(e.right,t))];case 1:for(i in a.sent())r.push(i);n=0,a.label=2;case 2:return n<r.length?[5,j(Xe(e,t,{value:r[n]}))]:[3,5];case 3:if((s=a.sent())===P)return[3,5];if(s===A)return[3,4];if(s===I)return[2,s];a.label=4;case 4:return n++,[3,2];case 5:return[2]}})},ForOfStatement:function(e,t){var r,i,n,s,a,o,c,h,u;return F(this,function(l){switch(l.label){case 0:return[5,j(Me(e.right,t))];case 1:return r=l.sent(),e.await?(i=function(e){var t;if("function"==typeof Symbol&&!(t=e[Symbol.asyncIterator])&&(t=e[Symbol.iterator]),t)return t.call(e);if("function"==typeof e.next)return e;var r=0;return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}(r),n=void 0,C.RES=i.next(),[4,C]):[3,8];case 2:n=l.sent(),l.label=3;case 3:return n.done?[3,7]:[5,j(Xe(e,t,{value:n.value}))];case 4:if((o=l.sent())===P)return[3,7];if(o===A)return[3,5];if(o===I)return[2,o];l.label=5;case 5:return C.RES=i.next(),[4,C];case 6:return n=l.sent(),[3,3];case 7:return[3,15];case 8:l.trys.push([8,13,14,15]),s=j(r),a=s.next(),l.label=9;case 9:return a.done?[3,12]:[5,j(Xe(e,t,{value:a.value}))];case 10:if((o=l.sent())===P)return[3,12];if(o===A)return[3,11];if(o===I)return[2,o];l.label=11;case 11:return a=s.next(),[3,9];case 12:return[3,15];case 13:return c=l.sent(),h={error:c},[3,15];case 14:try{a&&!a.done&&(u=s.return)&&u.call(s)}finally{if(h)throw h.error}return[7];case 15:return[2]}})}});function Te(e,t,r){var i,n,s,a,o,c,h,u,l,p,d,f,m,g,y;return void 0===r&&(r={}),F(this,function(x){switch(x.label){case 0:n=void 0===(i=r.kind)?"var":i,a=void 0!==(s=r.hoist)&&s,c=void 0!==(o=r.onlyBlock)&&o,u=void 0===(h=r.feed)?{}:h,l=[],p=0,x.label=1;case 1:return p<e.properties.length?(d=e.properties[p],a?c||"var"===n?"Property"!==d.type?[3,5]:"Identifier"!==(m=d.value).type?[3,2]:(t[n](m.name,c?M:"var"===n?O:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,j(ze(m,t,{kind:n,hoist:a,onlyBlock:c}))];case 3:x.sent(),x.label=4;case 4:return[3,7];case 5:return[5,j(Ve(d,t,{kind:n,hoist:a,onlyBlock:c}))];case 6:x.sent(),x.label=7;case 7:return[3,17];case 8:return"Property"!==d.type?[3,15]:(f=void 0,d.computed?[5,j(Me(d.key,t))]:[3,10]);case 9:return f=x.sent(),[3,11];case 10:f=d.key.name,x.label=11;case 11:return l.push(f),"Identifier"!==(m=d.value).type?[3,12]:(t[n](m.name,u[f]),[3,14]);case 12:return[5,j(ze(m,t,{kind:n,feed:u[f]}))];case 13:x.sent(),x.label=14;case 14:return[3,17];case 15:for(g=v({},u),y=0;y<l.length;y++)delete g[l[y]];return[5,j(Ve(d,t,{kind:n,feed:g}))];case 16:x.sent(),x.label=17;case 17:return p++,[3,1];case 18:return[2]}})}function Le(e,t,r){var i,n,s,a,o,c,h,u,l,p,d;return void 0===r&&(r={}),F(this,function(f){switch(f.label){case 0:i=r.kind,s=void 0!==(n=r.hoist)&&n,o=void 0!==(a=r.onlyBlock)&&a,h=void 0===(c=r.feed)?[]:c,u=[],l=0,f.label=1;case 1:return l<e.elements.length?(p=e.elements[l])?s?o||"var"===i?"Identifier"!==p.type?[3,2]:(t[i](p.name,o?M:"var"===i?O:void 0),[3,4]):[3,4]:[3,5]:[3,13]:[3,14];case 2:return[5,j(ze(p,t,{kind:i,hoist:s,onlyBlock:o}))];case 3:f.sent(),f.label=4;case 4:return[3,13];case 5:return"Identifier"!==p.type?[3,9]:i?(t[i](p.name,h[l]),[3,8]):[3,6];case 6:return[5,j(ye(p,t,{getVar:!0}))];case 7:(d=f.sent()).set(h[l]),u.push(d.get()),f.label=8;case 8:return[3,13];case 9:return"RestElement"!==p.type?[3,11]:[5,j(Ve(p,t,{kind:i,feed:h.slice(l)}))];case 10:return f.sent(),[3,13];case 11:return[5,j(ze(p,t,{kind:i,feed:h[l]}))];case 12:f.sent(),f.label=13;case 13:return l++,[3,1];case 14:return u.length?[2,u]:[2]}})}function Ve(e,t,r){var i,n,s,a,o,c,h,u;return void 0===r&&(r={}),F(this,function(l){switch(l.label){case 0:return i=r.kind,o=void 0!==(a=r.onlyBlock)&&a,h=void 0===(c=r.feed)?[]:c,u=e.argument,(s=void 0!==(n=r.hoist)&&n)?o||"var"===i?"Identifier"!==u.type?[3,1]:(t[i](u.name,o?M:"var"===i?O:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,j(ze(u,t,{kind:i,hoist:s,onlyBlock:o}))];case 2:l.sent(),l.label=3;case 3:return[3,10];case 4:return"Identifier"!==u.type?[3,8]:i?(t[i](u.name,h),[3,7]):[3,5];case 5:return[5,j(ye(u,t,{getVar:!0}))];case 6:l.sent().set(h),l.label=7;case 7:return[3,10];case 8:return[5,j(ze(u,t,{kind:i,feed:h}))];case 9:l.sent(),l.label=10;case 10:return[2]}})}function Ne(e,t,r){var i,n,s,a,o,c,h,u,l,p;return void 0===r&&(r={}),F(this,function(d){switch(d.label){case 0:return n=void 0===(i=r.kind)?"var":i,a=void 0!==(s=r.hoist)&&s,c=void 0!==(o=r.onlyBlock)&&o,void 0!==(h=r.feed)?[3,2]:[5,j(Me(e.right,t))];case 1:return l=d.sent(),[3,3];case 2:l=h,d.label=3;case 3:return u=l,p=e.left,a?c||"var"===n?"Identifier"!==p.type?[3,4]:(t[n](p.name,c?M:"var"===n?O:void 0),[3,6]):[3,6]:[3,7];case 4:return[5,j(ze(p,t,{kind:n,hoist:a,onlyBlock:c}))];case 5:d.sent(),d.label=6;case 6:return[3,10];case 7:return"Identifier"!==p.type?[3,8]:(t[n](p.name,u),[3,10]);case 8:return[5,j(ze(p,t,{kind:n,feed:u}))];case 9:d.sent(),d.label=10;case 10:return[2]}})}var Be,Oe=Object.freeze({__proto__:null,ObjectPattern:Te,ArrayPattern:Le,RestElement:Ve,AssignmentPattern:Ne});function Me(e,t){var i;return F(this,function(n){switch(n.label){case 0:return e?(Be||(Be=v({},r,Ee,ve,Pe,be,Oe)),(i=Be[e.type])?[5,j(i(e,t))]:[3,2]):[2];case 1:return[2,n.sent()];case 2:throw new Error(e.type+" isn't implemented")}})}function Re(e,t){return F(this,function(r){return t.func(e.id.name,Ke(e,t)),[2]})}function De(e,t,r){var i;return void 0===r&&(r={}),F(this,function(n){switch(n.label){case 0:i=0,n.label=1;case 1:return i<e.declarations.length?[5,j(Ue(e.declarations[i],t,v({kind:e.kind},r)))]:[3,4];case 2:n.sent(),n.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function Ue(e,t,r){var i,s,a,o,c,h,u,l,p,d,f;return void 0===r&&(r={}),F(this,function(m){switch(m.label){case 0:return s=void 0===(i=r.kind)?"var":i,h=void 0!==(c=r.onlyBlock)&&c,u=r.feed,(o=void 0!==(a=r.hoist)&&a)?h||"var"===s?"Identifier"!==e.id.type?[3,1]:(t[s](e.id.name,h?M:"var"===s?O:void 0),[3,3]):[3,3]:[3,4];case 1:return[5,j(ze(e.id,t,{kind:s,hoist:o,onlyBlock:h}))];case 2:m.sent(),m.label=3;case 3:return[3,10];case 4:return(l="feed"in r)?(d=u,[3,7]):[3,5];case 5:return[5,j(Me(e.init,t))];case 6:d=m.sent(),m.label=7;case 7:return p=d,"Identifier"!==e.id.type?[3,8]:(f=e.id.name,"var"!==s||e.init||l?t[s](f,p):t.var(f,O),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!p.name&&n(p,"name",{value:f,configurable:!0}),[3,10]);case 8:return[5,j(ze(e.id,t,{kind:s,feed:p}))];case 9:m.sent(),m.label=10;case 10:return[2]}})}function Fe(e,t){var r,i,n;return F(this,function(s){switch(s.label){case 0:return i=(r=t).func,n=[e.id.name],[5,j(Qe(e,t))];case 1:return i.apply(r,n.concat([s.sent()])),[2]}})}function je(e,t,r){var i,n,s;return void 0===r&&(r={}),F(this,function(a){switch(a.label){case 0:i=r.klass,n=r.superClass,s=0,a.label=1;case 1:return s<e.body.length?[5,j(He(e.body[s],t,{klass:i,superClass:n}))]:[3,4];case 2:a.sent(),a.label=3;case 3:return s++,[3,1];case 4:return[2]}})}function He(e,t,r){var i,a,o,c,h,u;return void 0===r&&(r={}),F(this,function(l){switch(l.label){case 0:return i=r.klass,a=r.superClass,e.computed?[5,j(Me(e.key,t))]:[3,2];case 1:return o=l.sent(),[3,3];case 2:if("Identifier"!==e.key.type)throw new SyntaxError("Unexpected token");o=e.key.name,l.label=3;case 3:switch(c=e.static?i:i.prototype,h=Ke(e.value,t,{superClass:a}),e.kind){case"constructor":break;case"method":n(c,o,{value:h,writable:!0,configurable:!0});break;case"get":u=s(c,o),n(c,o,{get:h,set:u&&u.set,configurable:!0});break;case"set":u=s(c,o),n(c,o,{get:u&&u.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function Ge(e,t){void 0===t&&(t={});var r=t.res,i=t.err,n=t.ret,s=t.fullRet;return new Promise(function(a,o){if("ret"in t)return a(e.return(n));function c(t){var r;try{r=e.next(t)}catch(i){return o(i)}return u(r),null}function h(t){var r;try{r=e.throw(t)}catch(i){return o(i)}u(r)}function u(e){if(e.done)return a(s?e:e.value);if(e.value!==C)return a(e);var t=e.value.RES;return(t&&"function"===t.then?t:Promise.resolve(t)).then(c,h)}"err"in t?h(i):c(r)})}function We(e,t,r){var i,n,s,a,o,c;return void 0===r&&(r={}),F(this,function(h){switch(h.label){case 0:n=void 0!==(i=r.onlyBlock)&&i,s=[],a=[],c=0,h.label=1;case 1:return c<e.body.length?"FunctionDeclaration"!==(o=e.body[c]).type?[3,2]:(s.push(o),a.push(c),[3,6]):[3,7];case 2:return"VariableDeclaration"===o.type&&-1!==["const","let"].indexOf(o.kind)?[5,j(De(o,t,{hoist:!0,onlyBlock:!0}))]:[3,4];case 3:return h.sent(),[3,6];case 4:return n?[3,6]:[5,j(qe(o,t))];case 5:h.sent(),h.label=6;case 6:return c++,[3,1];case 7:if(a.length){for(c=a.length-1;c>-1;c--)e.body.splice(a[c],1);e.body=s.concat(e.body)}return[2]}})}function qe(e,t){var r,i,n,s,a;return F(this,function(o){switch(o.label){case 0:switch(e.type){case"VariableDeclaration":return[3,1];case"ForInStatement":case"ForOfStatement":return[3,3];case"ForStatement":return[3,5];case"WhileStatement":case"DoWhileStatement":return[3,7];case"IfStatement":return[3,9];case"BlockStatement":return[3,13];case"SwitchStatement":return[3,18];case"TryStatement":return[3,25]}return[3,38];case 1:return[5,j(De(e,t,{hoist:!0}))];case 2:return o.sent(),[3,38];case 3:return"VariableDeclaration"!==e.left.type?[3,5]:[5,j(De(e.left,t,{hoist:!0}))];case 4:o.sent(),o.label=5;case 5:return"ForStatement"===e.type&&"VariableDeclaration"===e.init.type?[5,j(De(e.init,t,{hoist:!0}))]:[3,7];case 6:o.sent(),o.label=7;case 7:return[5,j(qe(e.body,t))];case 8:return o.sent(),[3,38];case 9:return[5,j(qe(e.consequent,t))];case 10:return o.sent(),e.alternate?[5,j(qe(e.alternate,t))]:[3,12];case 11:o.sent(),o.label=12;case 12:return[3,38];case 13:a=0,o.label=14;case 14:return a<e.body.length?[5,j(qe(e.body[a],t))]:[3,17];case 15:o.sent(),o.label=16;case 16:return a++,[3,14];case 17:return[3,38];case 18:a=0,o.label=19;case 19:if(!(a<e.cases.length))return[3,24];r=0,o.label=20;case 20:return r<e.cases[a].consequent.length?[5,j(qe(e.cases[a].consequent[r],t))]:[3,23];case 21:o.sent(),o.label=22;case 22:return r++,[3,20];case 23:return a++,[3,19];case 24:return[3,38];case 25:i=e.block.body,a=0,o.label=26;case 26:return a<i.length?[5,j(qe(i[a],t))]:[3,29];case 27:o.sent(),o.label=28;case 28:return a++,[3,26];case 29:if(!(n=e.handler&&e.handler.body.body))return[3,33];a=0,o.label=30;case 30:return a<n.length?[5,j(qe(n[a],t))]:[3,33];case 31:o.sent(),o.label=32;case 32:return a++,[3,30];case 33:if(!(s=e.finalizer&&e.finalizer.body))return[3,37];a=0,o.label=34;case 34:return a<s.length?[5,j(qe(s[a],t))]:[3,37];case 35:o.sent(),o.label=36;case 36:return a++,[3,34];case 37:return[3,38];case 38:return[2]}})}function ze(e,t,r){return void 0===r&&(r={}),F(this,function(i){switch(i.label){case 0:switch(e.type){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,j(Te(e,t,r))];case 2:return[2,i.sent()];case 3:return[5,j(Le(e,t,r))];case 4:return[2,i.sent()];case 5:return[5,j(Ve(e,t,r))];case 6:return[2,i.sent()];case 7:return[5,j(Ne(e,t,r))];case 8:return[2,i.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function Ke(e,t,r){if(void 0===r&&(r={}),!e.generator&&!e.async)return $e(e,t,r);var i,s=r.superClass,a=r.isCtor,o=e.params,c=function r(){var i,n,c,h,u,l=this&&this instanceof r?this.constructor:void 0,p=[];for(i=0;i<arguments.length;i++)p[i]=arguments[i];return F(this,function(r){switch(r.label){case 0:n=new U(t,!0),"ArrowFunctionExpression"!==e.type&&(n.const("this",this),n.let("arguments",arguments),n.const(B,l),s&&(n.const(T,s),a&&n.let(L,!1))),c=0,r.label=1;case 1:return c<o.length?"Identifier"!==(h=o[c]).type?[3,2]:(n.var(h.name,p[c]),[3,6]):[3,7];case 2:return"RestElement"!==h.type?[3,4]:[5,j(Ve(h,n,{kind:"var",feed:p.slice(c)}))];case 3:return r.sent(),[3,6];case 4:return[5,j(ze(h,n,{feed:p[c]}))];case 5:r.sent(),r.label=6;case 6:return c++,[3,1];case 7:return"BlockStatement"!==e.body.type?[3,10]:[5,j(We(e.body,n))];case 8:return r.sent(),[5,j(Ce(e.body,n,{invasived:!0,hoisted:!0}))];case 9:return u=r.sent(),[3,12];case 10:return[5,j(Me(e.body,n))];case 11:u=r.sent(),"ArrowFunctionExpression"===e.type&&(I.RES=u,u=I),r.label=12;case 12:return u===I?[2,u.RES]:[2]}})};return n(i=e.async&&e.generator?function(){var e=c.apply(this,arguments),t=Promise.resolve(),r=!1,i=function(i){return t=t.then(function(){return Ge(e,v({fullRet:!0},i))}).catch(function(e){if(!r)return r=!0,Promise.reject(e)})},n={next:function(e){return i({res:e})},throw:function(e){return i({err:e})},return:function(e){return i({ret:e})}};return"function"==typeof Symbol&&(n[Symbol.iterator]=function(){return this}),n}:e.async?function(){return Ge(c.apply(this,arguments))}:c,V,{value:!0}),n(i,"name",{value:e.id&&e.id.name||"",configurable:!0}),n(i,"length",{value:o.length,configurable:!0}),i}function Qe(e,t){var r,i,s,a,o;return F(this,function(c){switch(c.label){case 0:return[5,j(Me(e.superClass,t))];case 1:for(r=c.sent(),i=function(){r&&r.apply(this)},s=e.body.body,a=0;a<s.length;a++)if("constructor"===(o=s[a]).kind){i=Ke(o.value,t,{superClass:r,isCtor:!0});break}return r&&y(i,r),[5,j(je(e.body,t,{klass:i,superClass:r}))];case 2:return c.sent(),n(i,N,{value:!0}),n(i,"name",{value:e.id&&e.id.name||"",configurable:!0}),[2,i]}})}function Xe(e,t,r){var i,n,s,a;return F(this,function(o){switch(o.label){case 0:return i=r.value,n=e.left,s=new U(t),"VariableDeclaration"!==n.type?[3,2]:[5,j(De(n,s,{feed:i}))];case 1:return o.sent(),[3,6];case 2:return"Identifier"!==n.type?[3,4]:[5,j(W(n,t,{getVar:!0}))];case 3:return o.sent().set(i),[3,6];case 4:return[5,j(ze(n,t,{feed:i}))];case 5:o.sent(),o.label=6;case 6:return"BlockStatement"!==e.body.type?[3,8]:[5,j(Ce(e.body,s,{invasived:!0}))];case 7:return a=o.sent(),[3,10];case 8:return[5,j(Me(e.body,s))];case 9:a=o.sent(),o.label=10;case 10:return[2,a]}})}function Je(e,t,r){void 0===r&&(r={});for(var i=r.onlyBlock,n=void 0!==i&&i,s=[],a=[],o=0;o<e.body.length;o++){var c=e.body[o];"FunctionDeclaration"===c.type?(s.push(c),a.push(o)):"VariableDeclaration"===c.type&&-1!==["const","let"].indexOf(c.kind)?pe(c,t,{hoist:!0,onlyBlock:!0}):n||Ze(c,t)}if(a.length){for(o=a.length-1;o>-1;o--)e.body.splice(a[o],1);e.body=s.concat(e.body)}}function Ze(e,t){switch(e.type){case"VariableDeclaration":pe(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===e.left.type&&pe(e.left,t,{hoist:!0});case"ForStatement":"ForStatement"===e.type&&"VariableDeclaration"===e.init.type&&pe(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":Ze(e.body,t);break;case"IfStatement":Ze(e.consequent,t),e.alternate&&Ze(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)Ze(e.body[r],t);break;case"SwitchStatement":for(r=0;r<e.cases.length;r++)for(var i=0;i<e.cases[r].consequent.length;i++)Ze(e.cases[r].consequent[i],t);break;case"TryStatement":var n=e.block.body;for(r=0;r<n.length;r++)Ze(n[r],t);var s=e.handler&&e.handler.body.body;if(s)for(r=0;r<s.length;r++)Ze(s[r],t);var a=e.finalizer&&e.finalizer.body;if(a)for(r=0;r<a.length;r++)Ze(a[r],t)}}function Ye(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return ie(e,t,r);case"ArrayPattern":return ne(e,t,r);case"RestElement":return se(e,t,r);case"AssignmentPattern":return ae(e,t,r);default:throw new SyntaxError("Unexpected token")}}function $e(e,t,r){if(void 0===r&&(r={}),e.generator||e.async)return Ke(e,t,r);var i=r.superClass,s=r.isCtor,a=e.params,o=function r(){for(var n=this&&this instanceof r?this.constructor:void 0,o=[],c=0;c<arguments.length;c++)o[c]=arguments[c];var h,u=new U(t,!0);"ArrowFunctionExpression"!==e.type&&(u.const("this",this),u.let("arguments",arguments),u.const(B,n),i&&(u.const(T,i),s&&u.let(L,!1)));for(var l=0;l<a.length;l++){var p=a[l];"Identifier"===p.type?u.var(p.name,o[l]):"RestElement"===p.type?se(p,u,{kind:"var",feed:o.slice(l)}):Ye(p,u,{feed:o[l]})}if("BlockStatement"===e.body.type?(Je(e.body,u),h=$(e.body,u,{invasived:!0,hoisted:!0})):(h=ue(e.body,u),"ArrowFunctionExpression"===e.type&&(I.RES=h,h=I)),h===I)return h.RES};return"ArrowFunctionExpression"===e.type&&n(o,V,{value:!0}),n(o,"name",{value:e.id&&e.id.name||"",configurable:!0}),n(o,"length",{value:a.length,configurable:!0}),o}function et(e,t){for(var r=ue(e.superClass,t),i=function(){r&&r.apply(this)},s=e.body.body,a=0;a<s.length;a++){var o=s[a];if("constructor"===o.kind){i=$e(o.value,t,{superClass:r,isCtor:!0});break}}return r&&y(i,r),me(e.body,t,{klass:i,superClass:r}),n(i,N,{value:!0}),n(i,"name",{value:e.id&&e.id.name||"",configurable:!0}),i}function tt(e,t,r){var i=r.value,n=e.left,s=new U(t);return"VariableDeclaration"===n.type?pe(n,s,{feed:i}):"Identifier"===n.type?W(n,t,{getVar:!0}).set(i):Ye(n,t,{feed:i}),"BlockStatement"===e.body.type?$(e.body,s,{invasived:!0}):ue(e.body,s)}return function(){function t(e){void 0===e&&(e={}),this.options={},this.scope=new U(null,!0),this.exports={};var t=e.ecmaVer,r=void 0===t?9:t,i=e.sandBox,n=void 0===i||i;if(-1===[3,5,6,7,8,9,10].indexOf(r-=r<2015?0:2009))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,n){var s=function(){var e;return v(g(((e={})[S]=b,e)),_)}();this.scope.let("window",s),this.scope.let("this",s)}else this.scope.let("window",b),this.scope.let("this",b);this.scope.const("exports",this.exports={})}return t.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=c(e),n=0;n<i.length;n++){var s=i[n];this.scope.var(s,e[s])}},t.prototype.parse=function(t,r){return"function"==typeof r?r(t,v({},this.options)):e.parse(t,this.options)},t.prototype.run=function(t){var r="string"==typeof t?e.parse(t,this.options):t;Je(r,this.scope),ue(r,this.scope)},t.version="0.4.8",t}()}(r(76708))},76708:function(e,t,r){"use strict";r.r(t),r.d(t,{Node:function(){return re},Parser:function(){return U},Position:function(){return B},SourceLocation:function(){return O},TokContext:function(){return se},Token:function(){return Ce},TokenType:function(){return g},defaultOptions:function(){return R},getLineInfo:function(){return M},isIdentifierChar:function(){return m},isIdentifierStart:function(){return f},isNewLine:function(){return E},keywordTypes:function(){return b},lineBreak:function(){return w},lineBreakG:function(){return S},nonASCIIwhitespace:function(){return C},parse:function(){return Le},parseExpressionAt:function(){return Ve},tokContexts:function(){return ae},tokTypes:function(){return k},tokenizer:function(){return Ne},version:function(){return Te}});var i={3:"abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile",5:"class enum extends super const export import",6:"enum",strict:"implements interface let package private protected public static yield",strictBind:"eval arguments"},n="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",s={5:n,"5module":n+" export import",6:n+" const class extends export import super"},a=/^in(stanceof)?$/,o="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u037f\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u052f\u0531-\u0556\u0559\u0560-\u0588\u05d0-\u05ea\u05ef-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u0860-\u086a\u08a0-\u08b4\u08b6-\u08bd\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u09fc\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0af9\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c39\u0c3d\u0c58-\u0c5a\u0c60\u0c61\u0c80\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d54-\u0d56\u0d5f-\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e86-\u0e8a\u0e8c-\u0ea3\u0ea5\u0ea7-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f5\u13f8-\u13fd\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f8\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1878\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191e\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19b0-\u19c9\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1c80-\u1c88\u1c90-\u1cba\u1cbd-\u1cbf\u1ce9-\u1cec\u1cee-\u1cf3\u1cf5\u1cf6\u1cfa\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2118-\u211d\u2124\u2126\u2128\u212a-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309b-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312f\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fef\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua69d\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua7bf\ua7c2-\ua7c6\ua7f7-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua8fd\ua8fe\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\ua9e0-\ua9e4\ua9e6-\ua9ef\ua9fa-\ua9fe\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa7e-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uab30-\uab5a\uab5c-\uab67\uab70-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc",c="\u200c\u200d\xb7\u0300-\u036f\u0387\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u0669\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u06f0-\u06f9\u0711\u0730-\u074a\u07a6-\u07b0\u07c0-\u07c9\u07eb-\u07f3\u07fd\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u08d3-\u08e1\u08e3-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09cb-\u09cd\u09d7\u09e2\u09e3\u09e6-\u09ef\u09fe\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2\u0ae3\u0ae6-\u0aef\u0afa-\u0aff\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b62\u0b63\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c00-\u0c04\u0c3e-\u0c44\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0c66-\u0c6f\u0c81-\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2\u0ce3\u0ce6-\u0cef\u0d00-\u0d03\u0d3b\u0d3c\u0d3e-\u0d44\u0d46-\u0d48\u0d4a-\u0d4d\u0d57\u0d62\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0de6-\u0def\u0df2\u0df3\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0e50-\u0e59\u0eb1\u0eb4-\u0ebc\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f3e\u0f3f\u0f71-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102b-\u103e\u1040-\u1049\u1056-\u1059\u105e-\u1060\u1062-\u1064\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u1369-\u1371\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b4-\u17d3\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u18a9\u1920-\u192b\u1930-\u193b\u1946-\u194f\u19d0-\u19da\u1a17-\u1a1b\u1a55-\u1a5e\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1ab0-\u1abd\u1b00-\u1b04\u1b34-\u1b44\u1b50-\u1b59\u1b6b-\u1b73\u1b80-\u1b82\u1ba1-\u1bad\u1bb0-\u1bb9\u1be6-\u1bf3\u1c24-\u1c37\u1c40-\u1c49\u1c50-\u1c59\u1cd0-\u1cd2\u1cd4-\u1ce8\u1ced\u1cf4\u1cf7-\u1cf9\u1dc0-\u1df9\u1dfb-\u1dff\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua620-\ua629\ua66f\ua674-\ua67d\ua69e\ua69f\ua6f0\ua6f1\ua802\ua806\ua80b\ua823-\ua827\ua880\ua881\ua8b4-\ua8c5\ua8d0-\ua8d9\ua8e0-\ua8f1\ua8ff-\ua909\ua926-\ua92d\ua947-\ua953\ua980-\ua983\ua9b3-\ua9c0\ua9d0-\ua9d9\ua9e5\ua9f0-\ua9f9\uaa29-\uaa36\uaa43\uaa4c\uaa4d\uaa50-\uaa59\uaa7b-\uaa7d\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uaaeb-\uaaef\uaaf5\uaaf6\uabe3-\uabea\uabec\uabed\uabf0-\uabf9\ufb1e\ufe00-\ufe0f\ufe20-\ufe2f\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f",h=new RegExp("["+o+"]"),u=new RegExp("["+o+c+"]");o=c=null;var l=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,157,310,10,21,11,7,153,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,477,28,11,0,9,21,155,22,13,52,76,44,33,24,27,35,30,0,12,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,85,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,159,52,19,3,21,0,33,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,230,43,117,63,32,0,161,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,35,56,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,270,921,103,110,18,195,2749,1070,4050,582,8634,568,8,30,114,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,754,9486,286,50,2,18,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,2357,44,11,6,17,0,370,43,1301,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42710,42,4148,12,221,3,5761,15,7472,3104,541],p=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,525,10,176,2,54,14,32,9,16,3,46,10,54,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,4,9,83,11,7,0,161,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,232,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,19306,9,135,4,60,6,26,9,1014,0,2,54,8,3,19723,1,5319,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,262,6,10,9,419,13,1495,6,110,6,6,9,792487,239];function d(e,t){for(var r=65536,i=0;i<t.length;i+=2){if((r+=t[i])>e)return!1;if((r+=t[i+1])>=e)return!0}}function f(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&h.test(String.fromCharCode(e)):!1!==t&&d(e,l)))}function m(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?e>=170&&u.test(String.fromCharCode(e)):!1!==t&&(d(e,l)||d(e,p)))))}var g=function(e,t){void 0===t&&(t={}),this.label=e,this.keyword=t.keyword,this.beforeExpr=!!t.beforeExpr,this.startsExpr=!!t.startsExpr,this.isLoop=!!t.isLoop,this.isAssign=!!t.isAssign,this.prefix=!!t.prefix,this.postfix=!!t.postfix,this.binop=t.binop||null,this.updateContext=null};function y(e,t){return new g(e,{beforeExpr:!0,binop:t})}var v={beforeExpr:!0},x={startsExpr:!0},b={};function _(e,t){return void 0===t&&(t={}),t.keyword=e,b[e]=new g(e,t)}var k={num:new g("num",x),regexp:new g("regexp",x),string:new g("string",x),name:new g("name",x),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",v),semi:new g(";",v),colon:new g(":",v),dot:new g("."),question:new g("?",v),arrow:new g("=>",v),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",v),backQuote:new g("`",x),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:y("||",1),logicalAND:y("&&",2),bitwiseOR:y("|",3),bitwiseXOR:y("^",4),bitwiseAND:y("&",5),equality:y("==/!=/===/!==",6),relational:y("</>/<=/>=",7),bitShift:y("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:y("%",10),star:y("*",10),slash:y("/",10),starstar:new g("**",{beforeExpr:!0}),_break:_("break"),_case:_("case",v),_catch:_("catch"),_continue:_("continue"),_debugger:_("debugger"),_default:_("default",v),_do:_("do",{isLoop:!0,beforeExpr:!0}),_else:_("else",v),_finally:_("finally"),_for:_("for",{isLoop:!0}),_function:_("function",x),_if:_("if"),_return:_("return",v),_switch:_("switch"),_throw:_("throw",v),_try:_("try"),_var:_("var"),_const:_("const"),_while:_("while",{isLoop:!0}),_with:_("with"),_new:_("new",{beforeExpr:!0,startsExpr:!0}),_this:_("this",x),_super:_("super",x),_class:_("class",x),_extends:_("extends",v),_export:_("export"),_import:_("import",x),_null:_("null",x),_true:_("true",x),_false:_("false",x),_in:_("in",{beforeExpr:!0,binop:7}),_instanceof:_("instanceof",{beforeExpr:!0,binop:7}),_typeof:_("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:_("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:_("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},w=/\r\n?|\n|\u2028|\u2029/,S=new RegExp(w.source,"g");function E(e,t){return 10===e||13===e||!t&&(8232===e||8233===e)}var C=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,I=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,A=Object.prototype,P=A.hasOwnProperty,T=A.toString;function L(e,t){return P.call(e,t)}var V=Array.isArray||function(e){return"[object Array]"===T.call(e)};function N(e){return new RegExp("^(?:"+e.replace(/ /g,"|")+")$")}var B=function(e,t){this.line=e,this.column=t};B.prototype.offset=function(e){return new B(this.line,this.column+e)};var O=function(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)};function M(e,t){for(var r=1,i=0;;){S.lastIndex=i;var n=S.exec(e);if(!(n&&n.index<t))return new B(r,t-i);++r,i=n.index+n[0].length}}var R={ecmaVersion:9,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:!1,allowHashBang:!1,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1};function D(e,t){return 2|(e?4:0)|(t?8:0)}var U=function(e,t,r){this.options=e=function(e){var t={};for(var r in R)t[r]=e&&L(e,r)?e[r]:R[r];if(t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),null==t.allowReserved&&(t.allowReserved=t.ecmaVersion<5),V(t.onToken)){var i=t.onToken;t.onToken=function(e){return i.push(e)}}return V(t.onComment)&&(t.onComment=function(e,t){return function(r,i,n,s,a,o){var c={type:r?"Block":"Line",value:i,start:n,end:s};e.locations&&(c.loc=new O(this,a,o)),e.ranges&&(c.range=[n,s]),t.push(c)}}(t,t.onComment)),t}(e),this.sourceFile=e.sourceFile,this.keywords=N(s[e.ecmaVersion>=6?6:"module"===e.sourceType?"5module":5]);var n="";if(!0!==e.allowReserved){for(var a=e.ecmaVersion;!(n=i[a]);a--);"module"===e.sourceType&&(n+=" await")}this.reservedWords=N(n);var o=(n?n+" ":"")+i.strict;this.reservedWordsStrict=N(o),this.reservedWordsStrictBind=N(o+" "+i.strictBind),this.input=String(t),this.containsEsc=!1,r?(this.pos=r,this.lineStart=this.input.lastIndexOf("\n",r-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(w).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=k.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule="module"===e.sourceType,this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports={},0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null},F={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0}};U.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},F.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},F.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},F.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},F.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0},F.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},F.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},U.prototype.inNonArrowFunction=function(){return(2&this.currentThisScope().flags)>0},U.extend=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var r=this,i=0;i<e.length;i++)r=e[i](r);return r},U.parse=function(e,t){return new this(t,e).parse()},U.parseExpressionAt=function(e,t,r){var i=new this(r,e,t);return i.nextToken(),i.parseExpression()},U.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(U.prototype,F);var j=U.prototype,H=/^(?:'((?:\\.|[^'])*?)'|"((?:\\.|[^"])*?)")/;function G(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}j.strictDirective=function(e){for(;;){I.lastIndex=e,e+=I.exec(this.input)[0].length;var t=H.exec(this.input.slice(e));if(!t)return!1;if("use strict"===(t[1]||t[2]))return!0;I.lastIndex=e+=t[0].length,e+=I.exec(this.input)[0].length,";"===this.input[e]&&e++}},j.eat=function(e){return this.type===e&&(this.next(),!0)},j.isContextual=function(e){return this.type===k.name&&this.value===e&&!this.containsEsc},j.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},j.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},j.canInsertSemicolon=function(){return this.type===k.eof||this.type===k.braceR||w.test(this.input.slice(this.lastTokEnd,this.start))},j.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},j.semicolon=function(){!this.eat(k.semi)&&!this.insertSemicolon()&&this.unexpected()},j.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},j.expect=function(e){this.eat(e)||this.unexpected()},j.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},j.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,"Parenthesized pattern")}},j.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},j.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},j.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type};var W=U.prototype;W.parseTopLevel=function(e){var t={};for(e.body||(e.body=[]);this.type!==k.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,n=Object.keys(this.undefinedExports);i<n.length;i+=1){var s=n[i];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var q={kind:"loop"},z={kind:"switch"};W.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;I.lastIndex=this.pos;var t=I.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(91===i)return!0;if(e)return!1;if(123===i)return!0;if(f(i,!0)){for(var n=r+1;m(this.input.charCodeAt(n),!0);)++n;var s=this.input.slice(r,n);if(!a.test(s))return!0}return!1},W.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;I.lastIndex=this.pos;var e=I.exec(this.input),t=this.pos+e[0].length;return!(w.test(this.input.slice(this.pos,t))||"function"!==this.input.slice(t,t+8)||t+8!==this.input.length&&m(this.input.charAt(t+8)))},W.parseStatement=function(e,t,r){var i,n=this.type,s=this.startNode();switch(this.isLet(e)&&(n=k._var,i="let"),n){case k._break:case k._continue:return this.parseBreakContinueStatement(s,n.keyword);case k._debugger:return this.parseDebuggerStatement(s);case k._do:return this.parseDoStatement(s);case k._for:return this.parseForStatement(s);case k._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case k._class:return e&&this.unexpected(),this.parseClass(s,!0);case k._if:return this.parseIfStatement(s);case k._return:return this.parseReturnStatement(s);case k._switch:return this.parseSwitchStatement(s);case k._throw:return this.parseThrowStatement(s);case k._try:return this.parseTryStatement(s);case k._const:case k._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(s,i);case k._while:return this.parseWhileStatement(s);case k._with:return this.parseWithStatement(s);case k.braceL:return this.parseBlock(!0,s);case k.semi:return this.parseEmptyStatement(s);case k._export:case k._import:if(this.options.ecmaVersion>10&&n===k._import){I.lastIndex=this.pos;var a=I.exec(this.input);if(40===this.input.charCodeAt(this.pos+a[0].length))return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),n===k._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var o=this.value,c=this.parseExpression();return n===k.name&&"Identifier"===c.type&&this.eat(k.colon)?this.parseLabeledStatement(s,o,c,e):this.parseExpressionStatement(s,c)}},W.parseBreakContinueStatement=function(e,t){var r="break"===t;this.next(),this.eat(k.semi)||this.insertSemicolon()?e.label=null:this.type!==k.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var n=this.labels[i];if((null==e.label||n.name===e.label.name)&&(null!=n.kind&&(r||"loop"===n.kind)||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},W.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},W.parseDoStatement=function(e){return this.next(),this.labels.push(q),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(k._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(k.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},W.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction)&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(q),this.enterScope(0),this.expect(k.parenL),this.type===k.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===k._var||this.type===k._const||r){var i=this.startNode(),n=r?"let":this.value;return this.next(),this.parseVar(i,!0,n),this.finishNode(i,"VariableDeclaration"),(this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&1===i.declarations.length?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=new G,a=this.parseExpression(!0,s);return this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?(this.options.ecmaVersion>=9&&(this.type===k._in?t>-1&&this.unexpected(t):e.await=t>-1),this.toAssignable(a,!1,s),this.checkLVal(a),this.parseForIn(e,a)):(this.checkExpressionErrors(s,!0),t>-1&&this.unexpected(t),this.parseFor(e,a))},W.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Q|(r?0:X),!1,t)},W.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(k._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},W.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(k.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},W.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(k.braceL),this.labels.push(z),this.enterScope(0);for(var t,r=!1;this.type!==k.braceR;)if(this.type===k._case||this.type===k._default){var i=this.type===k._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(k.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},W.parseThrowStatement=function(e){return this.next(),w.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var K=[];W.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===k._catch){var t=this.startNode();if(this.next(),this.eat(k.parenL)){t.param=this.parseBindingAtom();var r="Identifier"===t.param.type;this.enterScope(r?32:0),this.checkLVal(t.param,r?4:2),this.expect(k.parenR)}else this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0);t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(k._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},W.parseVarStatement=function(e,t){return this.next(),this.parseVar(e,!1,t),this.semicolon(),this.finishNode(e,"VariableDeclaration")},W.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(q),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},W.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},W.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},W.parseLabeledStatement=function(e,t,r,i){for(var n=0,s=this.labels;n<s.length;n+=1)s[n].name===t&&this.raise(r.start,"Label '"+t+"' is already declared");for(var a=this.type.isLoop?"loop":this.type===k._switch?"switch":null,o=this.labels.length-1;o>=0;o--){var c=this.labels[o];if(c.statementStart!==e.start)break;c.statementStart=this.start,c.kind=a}return this.labels.push({name:t,kind:a,statementStart:this.start}),e.body=this.parseStatement(i?-1===i.indexOf("label")?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},W.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},W.parseBlock=function(e,t){for(void 0===e&&(e=!0),void 0===t&&(t=this.startNode()),t.body=[],this.expect(k.braceL),e&&this.enterScope(0);!this.eat(k.braceR);){var r=this.parseStatement(null);t.body.push(r)}return e&&this.exitScope(),this.finishNode(t,"BlockStatement")},W.parseFor=function(e,t){return e.init=t,this.expect(k.semi),e.test=this.type===k.semi?null:this.parseExpression(),this.expect(k.semi),e.update=this.type===k.parenR?null:this.parseExpression(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},W.parseForIn=function(e,t){var r=this.type===k._in;return this.next(),"VariableDeclaration"===t.type&&null!=t.declarations[0].init&&(!r||this.options.ecmaVersion<8||this.strict||"var"!==t.kind||"Identifier"!==t.declarations[0].id.type)?this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"):"AssignmentPattern"===t.type&&this.raise(t.start,"Invalid left-hand side in for-loop"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(k.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},W.parseVar=function(e,t,r){for(e.declarations=[],e.kind=r;;){var i=this.startNode();if(this.parseVarId(i,r),this.eat(k.eq)?i.init=this.parseMaybeAssign(t):"const"!==r||this.type===k._in||this.options.ecmaVersion>=6&&this.isContextual("of")?"Identifier"===i.id.type||t&&(this.type===k._in||this.isContextual("of"))?i.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(i,"VariableDeclarator")),!this.eat(k.comma))break}return e},W.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLVal(e.id,"var"===t?1:2,!1)};var Q=1,X=2;W.parseFunction=function(e,t,r,i){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===k.star&&t&X&&this.unexpected(),e.generator=this.eat(k.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Q&&(e.id=4&t&&this.type!==k.name?null:this.parseIdent(),e.id&&!(t&X)&&this.checkLVal(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(D(e.async,e.generator)),t&Q||(e.id=this.type===k.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&Q?"FunctionDeclaration":"FunctionExpression")},W.parseFunctionParams=function(e){this.expect(k.parenL),e.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},W.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.startNode(),n=!1;for(i.body=[],this.expect(k.braceL);!this.eat(k.braceR);){var s=this.parseClassElement(null!==e.superClass);s&&(i.body.push(s),"MethodDefinition"===s.type&&"constructor"===s.kind&&(n&&this.raise(s.start,"Duplicate constructor in the same class"),n=!0))}return e.body=this.finishNode(i,"ClassBody"),this.strict=r,this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},W.parseClassElement=function(e){var t=this;if(this.eat(k.semi))return null;var r=this.startNode(),i=function(e,i){void 0===i&&(i=!1);var n=t.start,s=t.startLoc;return!(!t.eatContextual(e)||(t.type===k.parenL||i&&t.canInsertSemicolon())&&(r.key&&t.unexpected(),r.computed=!1,r.key=t.startNodeAt(n,s),r.key.name=e,t.finishNode(r.key,"Identifier"),1))};r.kind="method",r.static=i("static");var n=this.eat(k.star),s=!1;n||(this.options.ecmaVersion>=8&&i("async",!0)?(s=!0,n=this.options.ecmaVersion>=9&&this.eat(k.star)):i("get")?r.kind="get":i("set")&&(r.kind="set")),r.key||this.parsePropertyName(r);var a=r.key,o=!1;return r.computed||r.static||!("Identifier"===a.type&&"constructor"===a.name||"Literal"===a.type&&"constructor"===a.value)?r.static&&"Identifier"===a.type&&"prototype"===a.name&&this.raise(a.start,"Classes may not have a static property named prototype"):("method"!==r.kind&&this.raise(a.start,"Constructor can't have get/set modifier"),n&&this.raise(a.start,"Constructor can't be a generator"),s&&this.raise(a.start,"Constructor can't be an async method"),r.kind="constructor",o=e),this.parseClassMethod(r,n,s,o),"get"===r.kind&&0!==r.value.params.length&&this.raiseRecoverable(r.value.start,"getter should have no params"),"set"===r.kind&&1!==r.value.params.length&&this.raiseRecoverable(r.value.start,"setter should have exactly one param"),"set"===r.kind&&"RestElement"===r.value.params[0].type&&this.raiseRecoverable(r.value.params[0].start,"Setter cannot use rest params"),r},W.parseClassMethod=function(e,t,r,i){return e.value=this.parseMethod(t,r,i),this.finishNode(e,"MethodDefinition")},W.parseClassId=function(e,t){this.type===k.name?(e.id=this.parseIdent(),t&&this.checkLVal(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},W.parseClassSuper=function(e){e.superClass=this.eat(k._extends)?this.parseExprSubscripts():null},W.parseExport=function(e,t){if(this.next(),this.eat(k.star))return this.expectContextual("from"),this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration");if(this.eat(k._default)){var r;if(this.checkExport(t,"default",this.lastTokStart),this.type===k._function||(r=this.isAsyncFunction())){var i=this.startNode();this.next(),r&&this.next(),e.declaration=this.parseFunction(i,4|Q,!1,r)}else if(this.type===k._class){var n=this.startNode();e.declaration=this.parseClass(n,"nullableID")}else e.declaration=this.parseMaybeAssign(),this.semicolon();return this.finishNode(e,"ExportDefaultDeclaration")}if(this.shouldParseExportStatement())e.declaration=this.parseStatement(null),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id.name,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==k.string&&this.unexpected(),e.source=this.parseExprAtom();else{for(var s=0,a=e.specifiers;s<a.length;s+=1){var o=a[s];this.checkUnreserved(o.local),this.checkLocalExport(o.local)}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},W.checkExport=function(e,t,r){!e||(L(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},W.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t.name,t.start);else if("ObjectPattern"===r)for(var i=0,n=t.properties;i<n.length;i+=1)this.checkPatternExport(e,n[i]);else if("ArrayPattern"===r)for(var s=0,a=t.elements;s<a.length;s+=1){var o=a[s];o&&this.checkPatternExport(e,o)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r?this.checkPatternExport(e,t.argument):"ParenthesizedExpression"===r&&this.checkPatternExport(e,t.expression)},W.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1)this.checkPatternExport(e,i[r].id)},W.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},W.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(k.braceL);!this.eat(k.braceR);){if(r)r=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var i=this.startNode();i.local=this.parseIdent(!0),i.exported=this.eatContextual("as")?this.parseIdent(!0):i.local,this.checkExport(e,i.exported.name,i.exported.start),t.push(this.finishNode(i,"ExportSpecifier"))}return t},W.parseImport=function(e){return this.next(),this.type===k.string?(e.specifiers=K,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===k.string?this.parseExprAtom():this.unexpected()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},W.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===k.name){var r=this.startNode();if(r.local=this.parseIdent(),this.checkLVal(r.local,2),e.push(this.finishNode(r,"ImportDefaultSpecifier")),!this.eat(k.comma))return e}if(this.type===k.star){var i=this.startNode();return this.next(),this.expectContextual("as"),i.local=this.parseIdent(),this.checkLVal(i.local,2),e.push(this.finishNode(i,"ImportNamespaceSpecifier")),e}for(this.expect(k.braceL);!this.eat(k.braceR);){if(t)t=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var n=this.startNode();n.imported=this.parseIdent(!0),this.eatContextual("as")?n.local=this.parseIdent():(this.checkUnreserved(n.imported),n.local=n.imported),this.checkLVal(n.local,2),e.push(this.finishNode(n,"ImportSpecifier"))}return e},W.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},W.isDirectiveCandidate=function(e){return"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};var J=U.prototype;J.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&"await"===e.name&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.toAssignable(s,t),"RestElement"===s.type&&("ArrayPattern"===s.argument.type||"ObjectPattern"===s.argument.type)&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":"init"!==e.kind&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),"AssignmentPattern"===e.argument.type&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":"="!==e.operator&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);case"AssignmentPattern":break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},J.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var n=e[i];n&&this.toAssignable(n,t)}if(r){var s=e[r-1];6===this.options.ecmaVersion&&t&&s&&"RestElement"===s.type&&"Identifier"!==s.argument.type&&this.unexpected(s.argument.start)}return e},J.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},J.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==k.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},J.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case k.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(k.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case k.braceL:return this.parseObj(!0)}return this.parseIdent()},J.parseBindingList=function(e,t,r){for(var i=[],n=!0;!this.eat(e);)if(n?n=!1:this.expect(k.comma),t&&this.type===k.comma)i.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===k.ellipsis){var s=this.parseRestBinding();this.parseBindingListItem(s),i.push(s),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}var a=this.parseMaybeDefault(this.start,this.startLoc);this.parseBindingListItem(a),i.push(a)}return i},J.parseBindingListItem=function(e){return e},J.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(k.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},J.checkLVal=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Identifier":2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(t?"Binding ":"Assigning to ")+e.name+" in strict mode"),r&&(L(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),0!==t&&5!==t&&this.declareName(e.name,t,e.start);break;case"MemberExpression":t&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1)this.checkLVal(n[i],t,r);break;case"Property":this.checkLVal(e.value,t,r);break;case"ArrayPattern":for(var s=0,a=e.elements;s<a.length;s+=1){var o=a[s];o&&this.checkLVal(o,t,r)}break;case"AssignmentPattern":this.checkLVal(e.left,t,r);break;case"RestElement":this.checkLVal(e.argument,t,r);break;case"ParenthesizedExpression":this.checkLVal(e.expression,t,r);break;default:this.raise(e.start,(t?"Binding":"Assigning to")+" rvalue")}};var Z=U.prototype;Z.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&"SpreadElement"===e.type||this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i,n=e.key;switch(n.type){case"Identifier":i=n.name;break;case"Literal":i=String(n.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6)return void("__proto__"===i&&"init"===s&&(t.proto&&(r&&r.doubleProto<0?r.doubleProto=n.start:this.raiseRecoverable(n.start,"Redefinition of __proto__ property")),t.proto=!0));var a=t[i="$"+i];a?("init"===s?this.strict&&a.init||a.get||a.set:a.init||a[s])&&this.raiseRecoverable(n.start,"Redefinition of property"):a=t[i]={init:!1,get:!1,set:!1},a[s]=!0}},Z.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type===k.comma){var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(k.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return n},Z.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,n=-1,s=-1,a=-1;t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.shorthandAssign,t.parenthesizedAssign=t.trailingComma=t.shorthandAssign=-1):(t=new G,i=!0);var o=this.start,c=this.startLoc;(this.type===k.parenL||this.type===k.name)&&(this.potentialArrowAt=this.start);var h=this.parseMaybeConditional(e,t);if(r&&(h=r.call(this,h,o,c)),this.type.isAssign){var u=this.startNodeAt(o,c);return u.operator=this.value,u.left=this.type===k.eq?this.toAssignable(h,!1,t):h,i||G.call(t),t.shorthandAssign=-1,this.checkLVal(h),this.next(),u.right=this.parseMaybeAssign(e),this.finishNode(u,"AssignmentExpression")}return i&&this.checkExpressionErrors(t,!0),n>-1&&(t.parenthesizedAssign=n),s>-1&&(t.trailingComma=s),a>-1&&(t.shorthandAssign=a),h},Z.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return n;if(this.eat(k.question)){var s=this.startNodeAt(r,i);return s.test=n,s.consequent=this.parseMaybeAssign(),this.expect(k.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return n},Z.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1);return this.checkExpressionErrors(t)||n.start===r&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,r,i,-1,e)},Z.parseExprOp=function(e,t,r,i,n){var s=this.type.binop;if(null!=s&&(!n||this.type!==k._in)&&s>i){var a=this.type===k.logicalOR||this.type===k.logicalAND,o=this.value;this.next();var c=this.start,h=this.startLoc,u=this.parseExprOp(this.parseMaybeUnary(null,!1),c,h,s,n),l=this.buildBinary(t,r,e,u,o,a);return this.parseExprOp(l,t,r,i,n)}return e},Z.buildBinary=function(e,t,r,i,n,s){var a=this.startNodeAt(e,t);return a.left=r,a.operator=n,a.right=i,this.finishNode(a,s?"LogicalExpression":"BinaryExpression")},Z.parseMaybeUnary=function(e,t){var r,i=this.start,n=this.startLoc;if(this.isContextual("await")&&(this.inAsync||!this.inFunction&&this.options.allowAwaitOutsideFunction))r=this.parseAwait(),t=!0;else if(this.type.prefix){var s=this.startNode(),a=this.type===k.incDec;s.operator=this.value,s.prefix=!0,this.next(),s.argument=this.parseMaybeUnary(null,!0),this.checkExpressionErrors(e,!0),a?this.checkLVal(s.argument):this.strict&&"delete"===s.operator&&"Identifier"===s.argument.type?this.raiseRecoverable(s.start,"Deleting local variable in strict mode"):t=!0,r=this.finishNode(s,a?"UpdateExpression":"UnaryExpression")}else{if(r=this.parseExprSubscripts(e),this.checkExpressionErrors(e))return r;for(;this.type.postfix&&!this.canInsertSemicolon();){var o=this.startNodeAt(i,n);o.operator=this.value,o.prefix=!1,o.argument=r,this.checkLVal(r),this.next(),r=this.finishNode(o,"UpdateExpression")}}return!t&&this.eat(k.starstar)?this.buildBinary(i,n,r,this.parseMaybeUnary(null,!1),"**",!1):r},Z.parseExprSubscripts=function(e){var t=this.start,r=this.startLoc,i=this.parseExprAtom(e),n="ArrowFunctionExpression"===i.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd);if(this.checkExpressionErrors(e)||n)return i;var s=this.parseSubscripts(i,t,r);return e&&"MemberExpression"===s.type&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1)),s},Z.parseSubscripts=function(e,t,r,i){for(var n=this.options.ecmaVersion>=8&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&"async"===this.input.slice(e.start,e.end);;){var s=this.parseSubscript(e,t,r,i,n);if(s===e||"ArrowFunctionExpression"===s.type)return s;e=s}},Z.parseSubscript=function(e,t,r,i,n){var s=this.eat(k.bracketL);if(s||this.eat(k.dot)){var a=this.startNodeAt(t,r);a.object=e,a.property=s?this.parseExpression():this.parseIdent("never"!==this.options.allowReserved),a.computed=!!s,s&&this.expect(k.bracketR),e=this.finishNode(a,"MemberExpression")}else if(!i&&this.eat(k.parenL)){var o=new G,c=this.yieldPos,h=this.awaitPos,u=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var l=this.parseExprList(k.parenR,this.options.ecmaVersion>=8&&"Import"!==e.type,!1,o);if(n&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(o,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=c,this.awaitPos=h,this.awaitIdentPos=u,this.parseArrowExpression(this.startNodeAt(t,r),l,!0);this.checkExpressionErrors(o,!0),this.yieldPos=c||this.yieldPos,this.awaitPos=h||this.awaitPos,this.awaitIdentPos=u||this.awaitIdentPos;var p=this.startNodeAt(t,r);if(p.callee=e,p.arguments=l,"Import"===p.callee.type){1!==p.arguments.length&&this.raise(p.start,"import() requires exactly one argument");var d=p.arguments[0];d&&"SpreadElement"===d.type&&this.raise(d.start,"... is not allowed in import()")}e=this.finishNode(p,"CallExpression")}else if(this.type===k.backQuote){var f=this.startNodeAt(t,r);f.tag=e,f.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(f,"TaggedTemplateExpression")}return e},Z.parseExprAtom=function(e){this.type===k.slash&&this.readRegexp();var t,r=this.potentialArrowAt===this.start;switch(this.type){case k._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),t=this.startNode(),this.next(),this.type===k.parenL&&!this.allowDirectSuper&&this.raise(t.start,"super() call outside constructor of a subclass"),this.type!==k.dot&&this.type!==k.bracketL&&this.type!==k.parenL&&this.unexpected(),this.finishNode(t,"Super");case k._this:return t=this.startNode(),this.next(),this.finishNode(t,"ThisExpression");case k.name:var i=this.start,n=this.startLoc,s=this.containsEsc,a=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!s&&"async"===a.name&&!this.canInsertSemicolon()&&this.eat(k._function))return this.parseFunction(this.startNodeAt(i,n),0,!1,!0);if(r&&!this.canInsertSemicolon()){if(this.eat(k.arrow))return this.parseArrowExpression(this.startNodeAt(i,n),[a],!1);if(this.options.ecmaVersion>=8&&"async"===a.name&&this.type===k.name&&!s)return a=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(k.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(i,n),[a],!0)}return a;case k.regexp:var o=this.value;return(t=this.parseLiteral(o.value)).regex={pattern:o.pattern,flags:o.flags},t;case k.num:case k.string:return this.parseLiteral(this.value);case k._null:case k._true:case k._false:return(t=this.startNode()).value=this.type===k._null?null:this.type===k._true,t.raw=this.type.keyword,this.next(),this.finishNode(t,"Literal");case k.parenL:var c=this.start,h=this.parseParenAndDistinguishExpression(r);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(h)&&(e.parenthesizedAssign=c),e.parenthesizedBind<0&&(e.parenthesizedBind=c)),h;case k.bracketL:return t=this.startNode(),this.next(),t.elements=this.parseExprList(k.bracketR,!0,!0,e),this.finishNode(t,"ArrayExpression");case k.braceL:return this.parseObj(!1,e);case k._function:return t=this.startNode(),this.next(),this.parseFunction(t,0);case k._class:return this.parseClass(this.startNode(),!1);case k._new:return this.parseNew();case k.backQuote:return this.parseTemplate();case k._import:return this.options.ecmaVersion>10?this.parseDynamicImport():this.unexpected();default:this.unexpected()}},Z.parseDynamicImport=function(){var e=this.startNode();return this.next(),this.type!==k.parenL&&this.unexpected(),this.finishNode(e,"Import")},Z.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),110===t.raw.charCodeAt(t.raw.length-1)&&(t.bigint=t.raw.slice(0,-1)),this.next(),this.finishNode(t,"Literal")},Z.parseParenExpression=function(){this.expect(k.parenL);var e=this.parseExpression();return this.expect(k.parenR),e},Z.parseParenAndDistinguishExpression=function(e){var t,r=this.start,i=this.startLoc,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var s,a=this.start,o=this.startLoc,c=[],h=!0,u=!1,l=new G,p=this.yieldPos,d=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==k.parenR;){if(h?h=!1:this.expect(k.comma),n&&this.afterTrailingComma(k.parenR,!0)){u=!0;break}if(this.type===k.ellipsis){s=this.start,c.push(this.parseParenItem(this.parseRestBinding())),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element");break}c.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}var f=this.start,m=this.startLoc;if(this.expect(k.parenR),e&&!this.canInsertSemicolon()&&this.eat(k.arrow))return this.checkPatternErrors(l,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=p,this.awaitPos=d,this.parseParenArrowList(r,i,c);(!c.length||u)&&this.unexpected(this.lastTokStart),s&&this.unexpected(s),this.checkExpressionErrors(l,!0),this.yieldPos=p||this.yieldPos,this.awaitPos=d||this.awaitPos,c.length>1?((t=this.startNodeAt(a,o)).expressions=c,this.finishNodeAt(t,"SequenceExpression",f,m)):t=c[0]}else t=this.parseParenExpression();if(this.options.preserveParens){var g=this.startNodeAt(r,i);return g.expression=t,this.finishNode(g,"ParenthesizedExpression")}return t},Z.parseParenItem=function(e){return e},Z.parseParenArrowList=function(e,t,r){return this.parseArrowExpression(this.startNodeAt(e,t),r)};var Y=[];Z.parseNew=function(){var e=this.startNode(),t=this.parseIdent(!0);if(this.options.ecmaVersion>=6&&this.eat(k.dot)){e.meta=t;var r=this.containsEsc;return e.property=this.parseIdent(!0),("target"!==e.property.name||r)&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is new.target"),this.inNonArrowFunction()||this.raiseRecoverable(e.start,"new.target can only be used in functions"),this.finishNode(e,"MetaProperty")}var i=this.start,n=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(),i,n,!0),this.options.ecmaVersion>10&&"Import"===e.callee.type&&this.raise(e.callee.start,"Cannot use new with import(...)"),e.arguments=this.eat(k.parenL)?this.parseExprList(k.parenR,this.options.ecmaVersion>=8&&"Import"!==e.callee.type,!1):Y,this.finishNode(e,"NewExpression")},Z.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===k.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value,cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===k.backQuote,this.finishNode(r,"TemplateElement")},Z.parseTemplate=function(e){void 0===e&&(e={});var t=e.isTagged;void 0===t&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===k.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(k.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(k.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},Z.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===k.name||this.type===k.num||this.type===k.string||this.type===k.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===k.star)&&!w.test(this.input.slice(this.lastTokEnd,this.start))},Z.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(k.braceR);){if(i)i=!1;else if(this.expect(k.comma),this.afterTrailingComma(k.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,n,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},Z.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(this.options.ecmaVersion>=9&&this.eat(k.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===k.comma&&this.raise(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(this.type===k.parenL&&t&&(t.parenthesizedAssign<0&&(t.parenthesizedAssign=this.start),t.parenthesizedBind<0&&(t.parenthesizedBind=this.start)),a.argument=this.parseMaybeAssign(!1,t),this.type===k.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));this.options.ecmaVersion>=6&&(a.method=!1,a.shorthand=!1,(e||t)&&(n=this.start,s=this.startLoc),e||(r=this.eat(k.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&this.options.ecmaVersion>=8&&!r&&this.isAsyncProp(a)?(i=!0,r=this.options.ecmaVersion>=9&&this.eat(k.star),this.parsePropertyName(a,t)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},Z.parsePropertyValue=function(e,t,r,i,n,s,a,o){if((r||i)&&this.type===k.colon&&this.unexpected(),this.eat(k.colon))e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===k.parenL)t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i);else if(t||o||!(this.options.ecmaVersion>=5)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===k.comma||this.type===k.braceR)this.options.ecmaVersion>=6&&!e.computed&&"Identifier"===e.key.type?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),"await"===e.key.name&&!this.awaitIdentPos&&(this.awaitIdentPos=n),e.kind="init",t?e.value=this.parseMaybeDefault(n,s,e.key):this.type===k.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,e.key)):e.value=e.key,e.shorthand=!0):this.unexpected();else{if((r||i)&&this.unexpected(),e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1),e.value.params.length!==("get"===e.kind?0:1))this.raiseRecoverable(e.value.start,"get"===e.kind?"getter should have no params":"setter should have exactly one param");else"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")}},Z.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(k.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(k.bracketR),e.key;e.computed=!1}return e.key=this.type===k.num||this.type===k.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},Z.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},Z.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|D(t,i.generator)|(r?128:0)),this.expect(k.parenL),i.params=this.parseBindingList(k.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},Z.parseArrowExpression=function(e,t,r){var i=this.yieldPos,n=this.awaitPos,s=this.awaitIdentPos;return this.enterScope(16|D(r,!1)),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1),this.yieldPos=i,this.awaitPos=n,this.awaitIdentPos=s,this.finishNode(e,"ArrowFunctionExpression")},Z.parseFunctionBody=function(e,t,r){var i=this.strict,n=!1;if(t&&this.type!==k.braceL)e.body=this.parseMaybeAssign(),e.expression=!0,this.checkParams(e,!1);else{var s=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!i||s)&&(n=this.strictDirective(this.end))&&s&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list");var a=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!i&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),e.body=this.parseBlock(!1),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=a}this.exitScope(),this.strict&&e.id&&this.checkLVal(e.id,5),this.strict=i},Z.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},Z.checkParams=function(e,t){for(var r={},i=0,n=e.params;i<n.length;i+=1)this.checkLVal(n[i],1,t?null:r)},Z.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(k.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===k.comma?a=null:this.type===k.ellipsis?(a=this.parseSpread(i),i&&this.type===k.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n},Z.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;this.inGenerator&&"yield"===i&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(i)&&(!this.inAsync&&"await"===i&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))},Z.parseIdent=function(e,t){var r=this.startNode();return this.type===k.name?r.name=this.value:this.type.keyword?(r.name=this.type.keyword,("class"===r.name||"function"===r.name)&&(this.lastTokEnd!==this.lastTokStart+1||46!==this.input.charCodeAt(this.lastTokStart))&&this.context.pop()):this.unexpected(),this.next(),this.finishNode(r,"Identifier"),e||(this.checkUnreserved(r),"await"===r.name&&!this.awaitIdentPos&&(this.awaitIdentPos=r.start)),r},Z.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===k.semi||this.canInsertSemicolon()||this.type!==k.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(k.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},Z.parseAwait=function(){this.awaitPos||(this.awaitPos=this.start);var e=this.startNode();return this.next(),e.argument=this.parseMaybeUnary(null,!0),this.finishNode(e,"AwaitExpression")};var $=U.prototype;$.raise=function(e,t){var r=M(this.input,e),i=new SyntaxError(t+=" ("+r.line+":"+r.column+")");throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},$.raiseRecoverable=$.raise,$.curPosition=function(){if(this.options.locations)return new B(this.curLine,this.pos-this.lineStart)};var ee=U.prototype,te=function(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[]};ee.enterScope=function(e){this.scopeStack.push(new te(e))},ee.exitScope=function(){this.scopeStack.pop()},ee.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},ee.declareName=function(e,t,r){var i=!1;if(2===t){var n=this.currentScope();i=n.lexical.indexOf(e)>-1||n.functions.indexOf(e)>-1||n.var.indexOf(e)>-1,n.lexical.push(e),this.inModule&&1&n.flags&&delete this.undefinedExports[e]}else if(4===t)this.currentScope().lexical.push(e);else if(3===t){var s=this.currentScope();i=this.treatFunctionsAsVar?s.lexical.indexOf(e)>-1:s.lexical.indexOf(e)>-1||s.var.indexOf(e)>-1,s.functions.push(e)}else for(var a=this.scopeStack.length-1;a>=0;--a){var o=this.scopeStack[a];if(o.lexical.indexOf(e)>-1&&!(32&o.flags&&o.lexical[0]===e)||!this.treatFunctionsAsVarInScope(o)&&o.functions.indexOf(e)>-1){i=!0;break}if(o.var.push(e),this.inModule&&1&o.flags&&delete this.undefinedExports[e],3&o.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ee.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},ee.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ee.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags)return t}},ee.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(3&t.flags&&!(16&t.flags))return t}};var re=function(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new O(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])},ie=U.prototype;function ne(e,t,r,i){return e.type=t,e.end=r,this.options.locations&&(e.loc.end=i),this.options.ranges&&(e.range[1]=r),e}ie.startNode=function(){return new re(this,this.start,this.startLoc)},ie.startNodeAt=function(e,t){return new re(this,e,t)},ie.finishNode=function(e,t){return ne.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},ie.finishNodeAt=function(e,t,r,i){return ne.call(this,e,t,r,i)};var se=function(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n},ae={b_stat:new se("{",!1),b_expr:new se("{",!0),b_tmpl:new se("${",!1),p_stat:new se("(",!1),p_expr:new se("(",!0),q_tmpl:new se("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new se("function",!1),f_expr:new se("function",!0),f_expr_gen:new se("function",!0,!1,null,!0),f_gen:new se("function",!1,!1,null,!0)},oe=U.prototype;oe.initialContext=function(){return[ae.b_stat]},oe.braceIsBlock=function(e){var t=this.curContext();return t===ae.f_expr||t===ae.f_stat||(e!==k.colon||t!==ae.b_stat&&t!==ae.b_expr?e===k._return||e===k.name&&this.exprAllowed?w.test(this.input.slice(this.lastTokEnd,this.start)):e===k._else||e===k.semi||e===k.eof||e===k.parenR||e===k.arrow||(e===k.braceL?t===ae.b_stat:e!==k._var&&e!==k._const&&e!==k.name&&!this.exprAllowed):!t.isExpr)},oe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},oe.updateContext=function(e){var t,r=this.type;r.keyword&&e===k.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},k.parenR.updateContext=k.braceR.updateContext=function(){if(1!==this.context.length){var e=this.context.pop();e===ae.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr}else this.exprAllowed=!0},k.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?ae.b_stat:ae.b_expr),this.exprAllowed=!0},k.dollarBraceL.updateContext=function(){this.context.push(ae.b_tmpl),this.exprAllowed=!0},k.parenL.updateContext=function(e){this.context.push(e===k._if||e===k._for||e===k._with||e===k._while?ae.p_stat:ae.p_expr),this.exprAllowed=!0},k.incDec.updateContext=function(){},k._function.updateContext=k._class.updateContext=function(e){!e.beforeExpr||e===k.semi||e===k._else||e===k._return&&w.test(this.input.slice(this.lastTokEnd,this.start))||(e===k.colon||e===k.braceL)&&this.curContext()===ae.b_stat?this.context.push(ae.f_stat):this.context.push(ae.f_expr),this.exprAllowed=!1},k.backQuote.updateContext=function(){this.curContext()===ae.q_tmpl?this.context.pop():this.context.push(ae.q_tmpl),this.exprAllowed=!1},k.star.updateContext=function(e){if(e===k._function){var t=this.context.length-1;this.context[t]=this.context[t]===ae.f_expr?ae.f_expr_gen:ae.f_gen}this.exprAllowed=!0},k.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==k.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var ce="ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS",he={9:ce,10:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic",11:"ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS Extended_Pictographic"},ue="Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu",le="Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb",pe={9:le,10:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",11:"Adlam Adlm Ahom Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho"},de={};function fe(e){var t=de[e]={binary:N(he[e]+" "+ue),nonBinary:{General_Category:N(ue),Script:N(pe[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}fe(9),fe(10),fe(11);var me=U.prototype,ge=function(e){this.parser=e,this.validFlags="gim"+(e.options.ecmaVersion>=6?"uy":"")+(e.options.ecmaVersion>=9?"s":""),this.unicodeProperties=de[e.options.ecmaVersion>=11?11:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=[],this.backReferenceNames=[]};function ye(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function ve(e){return 36===e||e>=40&&e<=43||46===e||63===e||e>=91&&e<=94||e>=123&&e<=125}function xe(e){return e>=65&&e<=90||e>=97&&e<=122}function be(e){return xe(e)||95===e}function _e(e){return be(e)||ke(e)}function ke(e){return e>=48&&e<=57}function we(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Se(e){return e>=65&&e<=70?e-65+10:e>=97&&e<=102?e-97+10:e-48}function Ee(e){return e>=48&&e<=55}ge.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,this.switchU=i&&this.parser.options.ecmaVersion>=6,this.switchN=i&&this.parser.options.ecmaVersion>=9},ge.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},ge.prototype.at=function(e){var t=this.source,r=t.length;if(e>=r)return-1;var i=t.charCodeAt(e);if(!this.switchU||i<=55295||i>=57344||e+1>=r)return i;var n=t.charCodeAt(e+1);return n>=56320&&n<=57343?(i<<10)+n-56613888:i},ge.prototype.nextIndex=function(e){var t=this.source,r=t.length;if(e>=r)return r;var i,n=t.charCodeAt(e);return!this.switchU||n<=55295||n>=57344||e+1>=r||(i=t.charCodeAt(e+1))<56320||i>57343?e+1:e+2},ge.prototype.current=function(){return this.at(this.pos)},ge.prototype.lookahead=function(){return this.at(this.nextIndex(this.pos))},ge.prototype.advance=function(){this.pos=this.nextIndex(this.pos)},ge.prototype.eat=function(e){return this.current()===e&&(this.advance(),!0)},me.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=0;i<r.length;i++){var n=r.charAt(i);-1===t.indexOf(n)&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,i+1)>-1&&this.raise(e.start,"Duplicate regular expression flag")}},me.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&e.groupNames.length>0&&(e.switchN=!0,this.regexp_pattern(e))},me.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1)-1===e.groupNames.indexOf(r[t])&&e.raise("Invalid named capture referenced")},me.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},me.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},me.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):!!(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))&&(this.regexp_eatQuantifier(e),!0)},me.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},me.regexp_eatQuantifier=function(e,t){return void 0===t&&(t=!1),!!this.regexp_eatQuantifierPrefix(e,t)&&(e.eat(63),!0)},me.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},me.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,n=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(n=e.lastIntValue),e.eat(125)))return-1!==n&&n<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},me.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},me.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},me.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)&&e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}e.pos=t}return!1},me.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):63===e.current()&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},me.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},me.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},me.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!ve(t)&&(e.lastIntValue=t,e.advance(),!0)},me.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;-1!==(r=e.current())&&!ve(r);)e.advance();return e.pos!==t},me.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||t>=40&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},me.regexp_groupSpecifier=function(e){if(e.eat(63)){if(this.regexp_eatGroupName(e))return-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),void e.groupNames.push(e.lastStringValue);e.raise("Invalid group")}},me.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},me.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ye(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ye(e.lastIntValue);return!0}return!1},me.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return f(e,!0)||36===e||95===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},me.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=e.current();return e.advance(),92===r&&this.regexp_eatRegExpUnicodeEscapeSequence(e)&&(r=e.lastIntValue),function(e){return m(e,!0)||36===e||95===e||8204===e||8205===e}(r)?(e.lastIntValue=r,!0):(e.pos=t,!1)},me.regexp_eatAtomEscape=function(e){return!!(this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e))||(e.switchU&&(99===e.current()&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},me.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},me.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},me.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},me.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},me.regexp_eatZero=function(e){return 48===e.current()&&!ke(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},me.regexp_eatControlEscape=function(e){var t=e.current();return 116===t?(e.lastIntValue=9,e.advance(),!0):110===t?(e.lastIntValue=10,e.advance(),!0):118===t?(e.lastIntValue=11,e.advance(),!0):102===t?(e.lastIntValue=12,e.advance(),!0):114===t&&(e.lastIntValue=13,e.advance(),!0)},me.regexp_eatControlLetter=function(e){var t=e.current();return!!xe(t)&&(e.lastIntValue=t%32,e.advance(),!0)},me.regexp_eatRegExpUnicodeEscapeSequence=function(e){var t=e.pos;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var r=e.lastIntValue;if(e.switchU&&r>=55296&&r<=56319){var i=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=1024*(r-55296)+(n-56320)+65536,!0}e.pos=i,e.lastIntValue=r}return!0}if(e.switchU&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&function(e){return e>=0&&e<=1114111}(e.lastIntValue))return!0;e.switchU&&e.raise("Invalid unicode escape"),e.pos=t}return!1},me.regexp_eatIdentityEscape=function(e){if(e.switchU)return!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0);var t=e.current();return!(99===t||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},me.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do{e.lastIntValue=10*e.lastIntValue+(t-48),e.advance()}while((t=e.current())>=48&&t<=57);return!0}return!1},me.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(function(e){return 100===e||68===e||115===e||83===e||119===e||87===e}(t))return e.lastIntValue=-1,e.advance(),!0;if(e.switchU&&this.options.ecmaVersion>=9&&(80===t||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&this.regexp_eatUnicodePropertyValueExpression(e)&&e.eat(125))return!0;e.raise("Invalid property name")}return!1},me.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return this.regexp_validateUnicodePropertyNameAndValue(e,r,e.lastStringValue),!0}return e.pos=t,!!this.regexp_eatLoneUnicodePropertyNameOrValue(e)&&(this.regexp_validateUnicodePropertyNameOrValue(e,e.lastStringValue),!0)},me.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){L(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},me.regexp_validateUnicodePropertyNameOrValue=function(e,t){e.unicodeProperties.binary.test(t)||e.raise("Invalid property name")},me.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";be(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},me.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";_e(t=e.current());)e.lastStringValue+=ye(t),e.advance();return""!==e.lastStringValue},me.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},me.regexp_eatCharacterClass=function(e){if(e.eat(91)){if(e.eat(94),this.regexp_classRanges(e),e.eat(93))return!0;e.raise("Unterminated character class")}return!1},me.regexp_classRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(-1===t||-1===r)&&e.raise("Invalid character class"),-1!==t&&-1!==r&&t>r&&e.raise("Range out of order in character class")}}},me.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(99===r||Ee(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return 93!==i&&(e.lastIntValue=i,e.advance(),!0)},me.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},me.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ke(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},me.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},me.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ke(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t},me.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;we(r=e.current());)e.lastIntValue=16*e.lastIntValue+Se(r),e.advance();return e.pos!==t},me.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;e.lastIntValue=t<=3&&this.regexp_eatOctalDigit(e)?64*t+8*r+e.lastIntValue:8*t+r}else e.lastIntValue=t;return!0}return!1},me.regexp_eatOctalDigit=function(e){var t=e.current();return Ee(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},me.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var n=e.current();if(!we(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Se(n),e.advance()}return!0};var Ce=function(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new O(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])},Ie=U.prototype;function Ae(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}Ie.next=function(){this.options.onToken&&this.options.onToken(new Ce(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},Ie.getToken=function(){return this.next(),new Ce(this)},"undefined"!=typeof Symbol&&(Ie[Symbol.iterator]=function(){var e=this;return{next:function(){var t=e.getToken();return{done:t.type===k.eof,value:t}}}}),Ie.curContext=function(){return this.context[this.context.length-1]},Ie.nextToken=function(){var e=this.curContext();return(!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length?this.finishToken(k.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},Ie.readToken=function(e){return f(e,this.options.ecmaVersion>=6)||92===e?this.readWord():this.getTokenFromCode(e)},Ie.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);return e<=55295||e>=57344?e:(e<<10)+this.input.charCodeAt(this.pos+1)-56613888},Ie.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(-1===r&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations){S.lastIndex=t;for(var i;(i=S.exec(this.input))&&i.index<this.pos;)++this.curLine,this.lineStart=i.index+i[0].length}this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},Ie.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!E(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},Ie.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:10===this.input.charCodeAt(this.pos+1)&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(!(e>8&&e<14||e>=5760&&C.test(String.fromCharCode(e))))break e;++this.pos}}},Ie.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},Ie.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&46===e&&46===t?(this.pos+=3,this.finishToken(k.ellipsis)):(++this.pos,this.finishToken(k.dot))},Ie.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(k.assign,2):this.finishOp(k.slash,1)},Ie.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?k.star:k.modulo;return this.options.ecmaVersion>=7&&42===e&&42===t&&(++r,i=k.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(k.assign,r+1):this.finishOp(i,r)},Ie.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?this.finishOp(124===e?k.logicalOR:k.logicalAND,2):61===t?this.finishOp(k.assign,2):this.finishOp(124===e?k.bitwiseOR:k.bitwiseAND,1)},Ie.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(k.assign,2):this.finishOp(k.bitwiseXOR,1)},Ie.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?45!==t||this.inModule||62!==this.input.charCodeAt(this.pos+2)||0!==this.lastTokEnd&&!w.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(k.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(k.assign,2):this.finishOp(k.plusMin,1)},Ie.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=62===e&&62===this.input.charCodeAt(this.pos+2)?3:2,61===this.input.charCodeAt(this.pos+r)?this.finishOp(k.assign,r+1):this.finishOp(k.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?(61===t&&(r=2),this.finishOp(k.relational,r)):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},Ie.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(k.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(k.arrow)):this.finishOp(61===e?k.eq:k.prefix,1)},Ie.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(k.parenL);case 41:return++this.pos,this.finishToken(k.parenR);case 59:return++this.pos,this.finishToken(k.semi);case 44:return++this.pos,this.finishToken(k.comma);case 91:return++this.pos,this.finishToken(k.bracketL);case 93:return++this.pos,this.finishToken(k.bracketR);case 123:return++this.pos,this.finishToken(k.braceL);case 125:return++this.pos,this.finishToken(k.braceR);case 58:return++this.pos,this.finishToken(k.colon);case 63:return++this.pos,this.finishToken(k.question);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(k.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){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_exp(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(k.prefix,1)}this.raise(this.pos,"Unexpected character '"+Ae(e)+"'")},Ie.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},Ie.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(w.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if("["===i)t=!0;else if("]"===i&&t)t=!1;else if("/"===i&&!t)break;e="\\"===i}++this.pos}var n=this.input.slice(r,this.pos);++this.pos;var s=this.pos,a=this.readWord1();this.containsEsc&&this.unexpected(s);var o=this.regexpState||(this.regexpState=new ge(this));o.reset(r,n,a),this.validateRegExpFlags(o),this.validateRegExpPattern(o);var c=null;try{c=new RegExp(n,a)}catch(h){}return this.finishToken(k.regexp,{pattern:n,flags:a,value:c})},Ie.readInt=function(e,t){for(var r=this.pos,i=0,n=0,s=null==t?1/0:t;n<s;++n){var a,o=this.input.charCodeAt(this.pos);if((a=o>=97?o-97+10:o>=65?o-65+10:o>=48&&o<=57?o-48:1/0)>=e)break;++this.pos,i=i*e+a}return this.pos===r||null!=t&&this.pos-r!==t?null:i},Ie.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return null==r&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&110===this.input.charCodeAt(this.pos)?(r="undefined"!=typeof BigInt?BigInt(this.input.slice(t,this.pos)):null,++this.pos):f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,r)},Ie.readNumber=function(e){var t=this.pos;!e&&null===this.readInt(10)&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&48===this.input.charCodeAt(t);r&&this.strict&&this.raise(t,"Invalid number"),r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1);var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&110===i){var n=this.input.slice(t,this.pos),s="undefined"!=typeof BigInt?BigInt(n):null;return++this.pos,f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(k.num,s)}46===i&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(69===i||101===i)&&!r&&((43===(i=this.input.charCodeAt(++this.pos))||45===i)&&++this.pos,null===this.readInt(10)&&this.raise(t,"Invalid number")),f(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=this.input.slice(t,this.pos),o=r?parseInt(a,8):parseFloat(a);return this.finishToken(k.num,o)},Ie.readCodePoint=function(){var e;if(123===this.input.charCodeAt(this.pos)){this.options.ecmaVersion<6&&this.unexpected();var t=++this.pos;e=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,e>1114111&&this.invalidStringToken(t,"Code point out of bounds")}else e=this.readHexChar(4);return e},Ie.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;92===i?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):(E(i,this.options.ecmaVersion>=10)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(k.string,t)};var Pe={};Ie.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==Pe)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},Ie.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Pe;this.raise(e,t)},Ie.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(96===r||36===r&&123===this.input.charCodeAt(this.pos+1))return this.pos!==this.start||this.type!==k.template&&this.type!==k.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(k.template,e)):36===r?(this.pos+=2,this.finishToken(k.dollarBraceL)):(++this.pos,this.finishToken(k.backQuote));if(92===r)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(E(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r)}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},Ie.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if("{"!==this.input[this.pos+1])break;case"`":return this.finishToken(k.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},Ie.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return Ae(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:10===this.input.charCodeAt(this.pos)&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";default:if(t>=48&&t<=55){var r=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],i=parseInt(r,8);return i>255&&(r=r.slice(0,-1),i=parseInt(r,8)),this.pos+=r.length-1,t=this.input.charCodeAt(this.pos),("0"!==r||56===t||57===t)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-r.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(i)}return E(t)?"":String.fromCharCode(t)}},Ie.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return null===r&&this.invalidStringToken(t,"Bad character escape sequence"),r},Ie.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(m(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var a=this.readCodePoint();(t?f:m)(a,i)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=Ae(a),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},Ie.readWord=function(){var e=this.readWord1(),t=k.name;return this.keywords.test(e)&&(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+e),t=b[e]),this.finishToken(t,e)};var Te="6.4.0";function Le(e,t){return U.parse(e,t)}function Ve(e,t,r){return U.parseExpressionAt(e,t,r)}function Ne(e,t){return U.tokenizer(e,t)}U.acorn={Parser:U,version:Te,defaultOptions:R,Position:B,SourceLocation:O,getLineInfo:M,Node:re,TokenType:g,tokTypes:k,keywordTypes:b,TokContext:se,tokContexts:ae,isIdentifierChar:m,isIdentifierStart:f,Token:Ce,isNewLine:E,lineBreak:w,lineBreakG:S,nonASCIIwhitespace:C}}}]);
|