sval 0.6.2 → 0.6.4
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/.github/workflows/coverage.yml +1 -1
- package/.swcrc +6 -0
- package/dist/src/evaluate/declaration.d.ts +27 -0
- package/dist/src/evaluate/expression.d.ts +40 -0
- package/dist/src/evaluate/helper.d.ts +18 -0
- package/dist/src/evaluate/identifier.d.ts +7 -0
- package/dist/src/evaluate/index.d.ts +3 -0
- package/dist/src/evaluate/literal.d.ts +3 -0
- package/dist/src/evaluate/pattern.d.ts +13 -0
- package/dist/src/evaluate/program.d.ts +3 -0
- package/dist/src/evaluate/statement.d.ts +35 -0
- package/dist/src/evaluate_n/declaration.d.ts +27 -0
- package/dist/src/evaluate_n/expression.d.ts +38 -0
- package/dist/src/evaluate_n/helper.d.ts +18 -0
- package/dist/src/evaluate_n/identifier.d.ts +7 -0
- package/dist/src/evaluate_n/index.d.ts +3 -0
- package/dist/src/evaluate_n/literal.d.ts +3 -0
- package/dist/src/evaluate_n/pattern.d.ts +13 -0
- package/dist/src/evaluate_n/program.d.ts +3 -0
- package/dist/src/evaluate_n/statement.d.ts +35 -0
- package/{types → dist/src}/index.d.ts +17 -17
- package/dist/src/scope/index.d.ts +15 -0
- package/dist/src/scope/variable.d.ts +20 -0
- package/dist/src/share/async.d.ts +7 -0
- package/dist/src/share/const.d.ts +22 -0
- package/dist/src/share/util.d.ts +33 -0
- package/dist/sval.js +5956 -5171
- package/dist/sval.min.js +1 -1
- package/dist/sval.umd.cjs +9 -0
- package/index.html +32 -0
- package/package.json +21 -16
- package/vite.config.ts +20 -0
- package/dist/sval.es6.js +0 -4059
package/dist/sval.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).Sval=t()}(this,function(){"use strict";var D=Object.freeze({__proto__:null,get ExpressionStatement(){return Wt},get BlockStatement(){return Gt},get EmptyStatement(){return Ht},get DebuggerStatement(){return zt},get ReturnStatement(){return Kt},get BreakStatement(){return Qt},get ContinueStatement(){return Xt},get LabeledStatement(){return Yt},get WithStatement(){return Zt},get IfStatement(){return Jt},get SwitchStatement(){return $t},get SwitchCase(){return er},get ThrowStatement(){return tr},get TryStatement(){return rr},get CatchClause(){return ir},get WhileStatement(){return nr},get DoWhileStatement(){return sr},get ForStatement(){return ar},get ForInStatement(){return or},get ForOfStatement(){return cr}}),O=Object.freeze({__proto__:null,get FunctionDeclaration(){return hr},get VariableDeclaration(){return lr},get VariableDeclarator(){return ur},get ClassDeclaration(){return pr},get ClassBody(){return dr},get MethodDefinition(){return fr},get PropertyDefinition(){return mr},get StaticBlock(){return yr},get ImportDeclaration(){return gr},get ExportDefaultDeclaration(){return vr},get ExportNamedDeclaration(){return br},get ExportAllDeclaration(){return xr}}),M=Object.freeze({__proto__:null,get ExpressionStatement(){return Or},get BlockStatement(){return Mr},get EmptyStatement(){return Fr},get DebuggerStatement(){return jr},get ReturnStatement(){return Ur},get BreakStatement(){return qr},get ContinueStatement(){return Wr},get LabeledStatement(){return Gr},get WithStatement(){return Hr},get IfStatement(){return zr},get SwitchStatement(){return Kr},get SwitchCase(){return Qr},get ThrowStatement(){return Xr},get TryStatement(){return Yr},get CatchClause(){return Zr},get WhileStatement(){return Jr},get DoWhileStatement(){return $r},get ForStatement(){return ei},get ForInStatement(){return ti},get ForOfStatement(){return ri}}),F=Object.freeze({__proto__:null,get FunctionDeclaration(){return ii},get VariableDeclaration(){return ni},get VariableDeclarator(){return si},get ClassDeclaration(){return ai},get ClassBody(){return oi},get MethodDefinition(){return ci},get PropertyDefinition(){return hi},get StaticBlock(){return li},get ImportDeclaration(){return ui},get ExportDefaultDeclaration(){return pi},get ExportNamedDeclaration(){return di},get ExportAllDeclaration(){return fi}});function v(i,n){var s,a,o,c={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]},e={next:t(0),throw:t(1),return:t(2)};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e;function t(r){return function(e){var t=[r,e];if(s)throw new TypeError("Generator is already executing.");for(;c;)try{if(s=1,a&&(o=2&t[0]?a.return:t[0]?a.throw||((o=a.return)&&o.call(a),0):a.next)&&!(o=o.call(a,t[1])).done)return o;switch(a=0,(t=o?[2&t[0],o.value]:t)[0]){case 0:case 1:o=t;break;case 4:return c.label++,{value:t[1],done:!1};case 5:c.label++,a=t[1],t=[0];continue;case 7:t=c.ops.pop(),c.trys.pop();continue;default:if(!(o=0<(o=c.trys).length&&o[o.length-1])&&(6===t[0]||2===t[0])){c=0;continue}if(3===t[0]&&(!o||t[1]>o[0]&&t[1]<o[3]))c.label=t[1];else if(6===t[0]&&c.label<o[1])c.label=o[1],o=t;else{if(!(o&&c.label<o[2])){o[2]&&c.ops.pop(),c.trys.pop();continue}c.label=o[2],c.ops.push(t)}}t=n.call(i,c)}catch(e){t=[6,e],a=0}finally{s=o=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}}function b(e){var t="function"==typeof Symbol&&e[Symbol.iterator],r=0;return t?t.call(e):{next:function(){return{value:(e=e&&r>=e.length?void 0:e)&&e[r++],done:!e}}}}function j(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(function(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||0<t--)&&!(i=s.next()).done;)a.push(i.value)}catch(e){n={error:e}}finally{try{i&&!i.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return a}(arguments[t]));return e}var U=Object.freeze,f=Object.defineProperty,q=Object.getOwnPropertyDescriptor,W=Object.prototype.hasOwnProperty;function G(e,t){return W.call(e,t)}var H=Object.getOwnPropertyNames,z=Object.setPrototypeOf;var K=Object.getPrototypeOf;function Q(e){return K?K(e):e.__proto__}var X=Object.getOwnPropertyDescriptor;function Y(e,t,r){for(;t;){var i=X(t,r),i=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(i)return i;t=Q(t)}}function Z(e,t){return Y("get",e,t)}function J(e,t){return Y("set",e,t)}var $=Object.create;function ee(e,t){var r,i;r=e,i=t,z?z(r,i):r.__proto__=i,e.prototype=$(t.prototype,{constructor:{value:e,writable:!0}})}function te(e,t,r){void 0===r&&(r=[]);var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,Q(e).constructor):t.apply(e,r)}function re(e){if(!e.Object)throw 0;ie=H(i=e).filter(function(e){return-1===["webkitStorageInfo","GLOBAL","root"].indexOf(e)})}var m=Object.assign||function(e){for(var t=1;t<arguments.length;++t){var r,i=arguments[t];for(r in i)G(i,r)&&(e[r]=i[r])}return e},ie=[],i=$(null);try{re(window)}catch(e){try{re(self)}catch(e){try{re(global)}catch(e){try{re(globalThis)}catch(e){try{i.Object=Object}catch(e){}try{i.Function=Function}catch(e){}try{i.Array=Array}catch(e){}try{i.Number=Number}catch(e){}try{i.parseFloat=parseFloat}catch(e){}try{i.parseInt=parseInt}catch(e){}try{i.Infinity=1/0}catch(e){}try{i.NaN=NaN}catch(e){}try{i.undefined=void 0}catch(e){}try{i.Boolean=Boolean}catch(e){}try{i.String=String}catch(e){}try{i.Symbol=Symbol}catch(e){}try{i.Date=Date}catch(e){}try{i.Promise=Promise}catch(e){}try{i.RegExp=RegExp}catch(e){}try{i.Error=Error}catch(e){}try{i.EvalError=EvalError}catch(e){}try{i.RangeError=RangeError}catch(e){}try{i.ReferenceError=ReferenceError}catch(e){}try{i.SyntaxError=SyntaxError}catch(e){}try{i.TypeError=TypeError}catch(e){}try{i.URIError=URIError}catch(e){}try{i.JSON=JSON}catch(e){}try{i.Math=Math}catch(e){}try{i.console=console}catch(e){}try{i.Intl=Intl}catch(e){}try{i.ArrayBuffer=ArrayBuffer}catch(e){}try{i.Uint8Array=Uint8Array}catch(e){}try{i.Int8Array=Int8Array}catch(e){}try{i.Uint16Array=Uint16Array}catch(e){}try{i.Int16Array=Int16Array}catch(e){}try{i.Uint32Array=Uint32Array}catch(e){}try{i.Int32Array=Int32Array}catch(e){}try{i.Float32Array=Float32Array}catch(e){}try{i.Float64Array=Float64Array}catch(e){}try{i.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{i.DataView=DataView}catch(e){}try{i.Map=Map}catch(e){}try{i.Set=Set}catch(e){}try{i.WeakMap=WeakMap}catch(e){}try{i.WeakSet=WeakSet}catch(e){}try{i.Proxy=Proxy}catch(e){}try{i.Reflect=Reflect}catch(e){}try{i.BigInt=BigInt}catch(e){}try{i.decodeURI=decodeURI}catch(e){}try{i.decodeURIComponent=decodeURIComponent}catch(e){}try{i.encodeURI=encodeURI}catch(e){}try{i.encodeURIComponent=encodeURIComponent}catch(e){}try{i.escape=escape}catch(e){}try{i.unescape=unescape}catch(e){}try{i.eval=eval}catch(e){}try{i.isFinite=isFinite}catch(e){}try{i.isNaN=isNaN}catch(e){}try{i.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{i.Atomics=Atomics}catch(e){}try{i.WebAssembly=WebAssembly}catch(e){}try{i.clearInterval=clearInterval}catch(e){}try{i.clearTimeout=clearTimeout}catch(e){}try{i.setInterval=setInterval}catch(e){}try{i.setTimeout=setTimeout}catch(e){}try{i.crypto=crypto}catch(e){}try{i.URL=URL}catch(e){}ie=H(i)}}}}i.Symbol&&(i.Symbol.iterator||(i.Symbol.iterator=p("iterator")),i.Symbol.asyncIterator||(i.Symbol.asyncIterator=p("asynciterator")));for(var ne=$({}),se=0;se<ie.length;se++){var ae=ie[se];try{ne[ae]=i[ae]}catch(e){}}var oe=p("window");function p(e){return e+Math.random().toString(36).substring(2)}var ce=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,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,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],he=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],e="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",le={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"},t="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",ue={5:t,"5module":t+" export import",6:t+" const class extends export import super"},pe=/^in(stanceof)?$/,de=new RegExp("["+e+"]"),fe=new RegExp("["+e+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function me(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(e<(r+=t[i]))return!1;if(e<=(r+=t[i+1]))return!0}return!1}function a(e,t){return e<65?36===e:e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&de.test(String.fromCharCode(e)):!1!==t&&me(e,he)))}function ye(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&fe.test(String.fromCharCode(e)):!1!==t&&(me(e,he)||me(e,ce)))))}function r(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 n(e,t){return new r(e,{beforeExpr:!0,binop:t})}var t={beforeExpr:!0},e={startsExpr:!0},ge={};function s(e,t){return(t=void 0===t?{}:t).keyword=e,ge[e]=new r(e,t)}var g={num:new r("num",e),regexp:new r("regexp",e),string:new r("string",e),name:new r("name",e),privateId:new r("privateId",e),eof:new r("eof"),bracketL:new r("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new r("]"),braceL:new r("{",{beforeExpr:!0,startsExpr:!0}),braceR:new r("}"),parenL:new r("(",{beforeExpr:!0,startsExpr:!0}),parenR:new r(")"),comma:new r(",",t),semi:new r(";",t),colon:new r(":",t),dot:new r("."),question:new r("?",t),questionDot:new r("?."),arrow:new r("=>",t),template:new r("template"),invalidTemplate:new r("invalidTemplate"),ellipsis:new r("...",t),backQuote:new r("`",e),dollarBraceL:new r("${",{beforeExpr:!0,startsExpr:!0}),eq:new r("=",{beforeExpr:!0,isAssign:!0}),assign:new r("_=",{beforeExpr:!0,isAssign:!0}),incDec:new r("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new r("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:n("||",1),logicalAND:n("&&",2),bitwiseOR:n("|",3),bitwiseXOR:n("^",4),bitwiseAND:n("&",5),equality:n("==/!=/===/!==",6),relational:n("</>/<=/>=",7),bitShift:n("<</>>/>>>",8),plusMin:new r("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:n("%",10),star:n("*",10),slash:n("/",10),starstar:new r("**",{beforeExpr:!0}),coalesce:n("??",1),_break:s("break"),_case:s("case",t),_catch:s("catch"),_continue:s("continue"),_debugger:s("debugger"),_default:s("default",t),_do:s("do",{isLoop:!0,beforeExpr:!0}),_else:s("else",t),_finally:s("finally"),_for:s("for",{isLoop:!0}),_function:s("function",e),_if:s("if"),_return:s("return",t),_switch:s("switch"),_throw:s("throw",t),_try:s("try"),_var:s("var"),_const:s("const"),_while:s("while",{isLoop:!0}),_with:s("with"),_new:s("new",{beforeExpr:!0,startsExpr:!0}),_this:s("this",e),_super:s("super",e),_class:s("class",e),_extends:s("extends",t),_export:s("export"),_import:s("import",e),_null:s("null",e),_true:s("true",e),_false:s("false",e),_in:s("in",{beforeExpr:!0,binop:7}),_instanceof:s("instanceof",{beforeExpr:!0,binop:7}),_typeof:s("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:s("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:s("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},o=/\r\n?|\n|\u2028|\u2029/,t=new RegExp(o.source,"g");function ve(e){return 10===e||13===e||8232===e||8233===e}function be(e,t,r){void 0===r&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(ve(n))return i<r-1&&13===n&&10===e.charCodeAt(i+1)?i+2:i+1}return-1}var xe=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e=Object.prototype,we=e.hasOwnProperty,Se=e.toString,ke=Object.hasOwn||function(e,t){return we.call(e,t)},_e=Array.isArray||function(e){return"[object Array]"===Se.call(e)},Ee=Object.create(null);function Ce(e){return Ee[e]||(Ee[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function h(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Ie(e,t){this.line=e,this.column=t}function Ae(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}var Pe=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;function Le(e,t){for(var r=1,i=0;;){var n=be(e,i,t);if(n<0)return new Ie(r,t-i);++r,i=n}}var Te={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(Ie.prototype.offset=function(e){return new Ie(this.line,this.column+e)}),allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ve=!1;function Ne(e){var t,r,a,o,i={};for(t in Te)i[t]=(e&&ke(e,t)?e:Te)[t];return"latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!Ve&&"object"==typeof console&&console.warn&&(Ve=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),i.ecmaVersion=11):2015<=i.ecmaVersion&&(i.ecmaVersion-=2009),null==i.allowReserved&&(i.allowReserved=i.ecmaVersion<5),e&&null!=e.allowHashBang||(i.allowHashBang=14<=i.ecmaVersion),_e(i.onToken)&&(r=i.onToken,i.onToken=function(e){return r.push(e)}),_e(i.onComment)&&(i.onComment=(o=(a=i).onComment,function(e,t,r,i,n,s){e={type:e?"Block":"Line",value:t,start:r,end:i};a.locations&&(e.loc=new Ae(this,n,s)),a.ranges&&(e.range=[r,i]),o.push(e)})),i}function Be(e,t){return 2|(e?4:0)|(t?8:0)}function l(e,t,r){this.options=e=Ne(e),this.sourceFile=e.sourceFile,this.keywords=Ce(ue[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="",i=(!0!==e.allowReserved&&(i=le[6<=e.ecmaVersion?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(i+=" await"),this.reservedWords=Ce(i),(i?i+" ":"")+le.strict);this.reservedWordsStrict=Ce(i),this.reservedWordsStrictBind=Ce(i+" "+le.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(o).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=g.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.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),0===this.pos&&e.allowHashBang&&"#!"===this.input.slice(0,2)&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]}function Re(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1}var e={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}},e=(l.prototype.parse=function(){var e=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(e)},e.inFunction.get=function(){return 0<(2&this.currentVarScope().flags)},e.inGenerator.get=function(){return 0<(8&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.inAsync.get=function(){return 0<(4&this.currentVarScope().flags)&&!this.currentVarScope().inClassFieldInit},e.canAwait.get=function(){for(var e=this.scopeStack.length-1;0<=e;e--){var t=this.scopeStack[e];if(t.inClassFieldInit||256&t.flags)return!1;if(2&t.flags)return 0<(4&t.flags)}return this.inModule&&13<=this.options.ecmaVersion||this.options.allowAwaitOutsideFunction},e.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(64&t)||e||this.options.allowSuperOutsideMethod},e.allowDirectSuper.get=function(){return 0<(128&this.currentThisScope().flags)},e.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},e.allowNewDotTarget.get=function(){var e=this.currentThisScope(),t=e.flags,e=e.inClassFieldInit;return 0<(258&t)||e},e.inClassStaticBlock.get=function(){return 0<(256&this.currentVarScope().flags)},l.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},l.parse=function(e,t){return new this(t,e).parse()},l.parseExpressionAt=function(e,t,r){r=new this(r,e,t);return r.nextToken(),r.parseExpression()},l.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(l.prototype,e),l.prototype),De=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/,e=(e.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){c.lastIndex=e,e+=c.exec(this.input)[0].length;var t,r,i,n=De.exec(this.input.slice(e));if(!n)return!1;if("use strict"===(n[1]||n[2]))return c.lastIndex=e+n[0].length,r=(t=c.exec(this.input)).index+t[0].length,";"===(i=this.input.charAt(r))||"}"===i||o.test(t[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(i)||"!"===i&&"="===this.input.charAt(r+1));e+=n[0].length,c.lastIndex=e,e+=c.exec(this.input)[0].length,";"===this.input[e]&&e++}},e.eat=function(e){return this.type===e&&(this.next(),!0)},e.isContextual=function(e){return this.type===g.name&&this.value===e&&!this.containsEsc},e.eatContextual=function(e){return!!this.isContextual(e)&&(this.next(),!0)},e.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},e.canInsertSemicolon=function(){return this.type===g.eof||this.type===g.braceR||o.test(this.input.slice(this.lastTokEnd,this.start))},e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},e.semicolon=function(){this.eat(g.semi)||this.insertSemicolon()||this.unexpected()},e.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},e.expect=function(e){this.eat(e)||this.unexpected()},e.unexpected=function(e){this.raise(null!=e?e:this.start,"Unexpected token")},e.checkPatternErrors=function(e,t){e&&(-1<e.trailingComma&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element"),-1<(e=t?e.parenthesizedAssign:e.parenthesizedBind))&&this.raiseRecoverable(e,t?"Assigning to rvalue":"Parenthesized pattern")},e.checkExpressionErrors=function(e,t){var r;return!!e&&(r=e.shorthandAssign,e=e.doubleProto,t?(0<=r&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),void(0<=e&&this.raiseRecoverable(e,"Redefinition of __proto__ property"))):0<=r||0<=e)},e.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")},e.isSimpleAssignTarget=function(e){return"ParenthesizedExpression"===e.type?this.isSimpleAssignTarget(e.expression):"Identifier"===e.type||"MemberExpression"===e.type},l.prototype),Oe=(e.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==g.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")},{kind:"loop"}),Me={kind:"switch"},Fe=(e.isLet=function(e){if(!(this.options.ecmaVersion<6)&&this.isContextual("let")){c.lastIndex=this.pos;var t=c.exec(this.input),t=this.pos+t[0].length,r=this.input.charCodeAt(t);if(91===r||92===r)return!0;if(!e){if(123===r||55295<r&&r<56320)return!0;if(a(r,!0)){for(var i=t+1;ye(r=this.input.charCodeAt(i),!0);)++i;if(92===r||55295<r&&r<56320)return!0;e=this.input.slice(t,i);if(!pe.test(e))return!0}}}return!1},e.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;c.lastIndex=this.pos;var e=c.exec(this.input),e=this.pos+e[0].length;return!(o.test(this.input.slice(this.pos,e))||"function"!==this.input.slice(e,e+8)||e+8!==this.input.length&&(ye(e=this.input.charCodeAt(e+8))||55295<e&&e<56320))},e.parseStatement=function(e,t,r){var i,n,s=this.type,a=this.startNode();switch(this.isLet(e)&&(s=g._var,i="let"),s){case g._break:case g._continue:return this.parseBreakContinueStatement(a,s.keyword);case g._debugger:return this.parseDebuggerStatement(a);case g._do:return this.parseDoStatement(a);case g._for:return this.parseForStatement(a);case g._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case g._class:return e&&this.unexpected(),this.parseClass(a,!0);case g._if:return this.parseIfStatement(a);case g._return:return this.parseReturnStatement(a);case g._switch:return this.parseSwitchStatement(a);case g._throw:return this.parseThrowStatement(a);case g._try:return this.parseTryStatement(a);case g._const:case g._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(a,i);case g._while:return this.parseWhileStatement(a);case g._with:return this.parseWithStatement(a);case g.braceL:return this.parseBlock(!0,a);case g.semi:return this.parseEmptyStatement(a);case g._export:case g._import:if(10<this.options.ecmaVersion&&s===g._import){c.lastIndex=this.pos;var o=c.exec(this.input),o=this.pos+o[0].length,o=this.input.charCodeAt(o);if(40===o||46===o)return this.parseExpressionStatement(a,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'"),s===g._import?this.parseImport(a):this.parseExport(a,r);default:return this.isAsyncFunction()?(e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e)):(o=this.value,n=this.parseExpression(),s===g.name&&"Identifier"===n.type&&this.eat(g.colon)?this.parseLabeledStatement(a,o,n,e):this.parseExpressionStatement(a,n))}},e.parseBreakContinueStatement=function(e,t){for(var r="break"===t,i=(this.next(),this.eat(g.semi)||this.insertSemicolon()?e.label=null:this.type!==g.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon()),0);i<this.labels.length;++i){var n=this.labels[i];if(null==e.label||n.name===e.label.name){if(null!=n.kind&&(r||"loop"===n.kind))break;if(e.label&&r)break}}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},e.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},e.parseDoStatement=function(e){return this.next(),this.labels.push(Oe),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(g._while),e.test=this.parseParenExpression(),6<=this.options.ecmaVersion?this.eat(g.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},e.parseForStatement=function(e){this.next();var t,r,i,n,s,a,o=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(Oe),this.enterScope(0),this.expect(g.parenL),this.type===g.semi?(-1<o&&this.unexpected(o),this.parseFor(e,null)):(t=this.isLet(),this.type===g._var||this.type===g._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===g._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===r.declarations.length?(9<=this.options.ecmaVersion&&(this.type===g._in?-1<o&&this.unexpected(o):e.await=-1<o),this.parseForIn(e,r)):(-1<o&&this.unexpected(o),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,i=this.containsEsc,n=new Re,s=this.start,a=-1<o?this.parseExprSubscripts(n,"await"):this.parseExpression(!0,n),this.type===g._in||(r=6<=this.options.ecmaVersion&&this.isContextual("of"))?(-1<o?(this.type===g._in&&this.unexpected(o),e.await=!0):r&&8<=this.options.ecmaVersion&&(a.start!==s||i||"Identifier"!==a.type||"async"!==a.name?9<=this.options.ecmaVersion&&(e.await=!1):this.unexpected()),t&&r&&this.raise(a.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(a,!1,n),this.checkLValPattern(a),this.parseForIn(e,a)):(this.checkExpressionErrors(n,!0),-1<o&&this.unexpected(o),this.parseFor(e,a))))},e.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,je|(r?0:Ue),!1,t)},e.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(g._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},e.parseReturnStatement=function(e){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(g.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},e.parseSwitchStatement=function(e){var t;this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(g.braceL),this.labels.push(Me),this.enterScope(0);for(var r,i=!1;this.type!==g.braceR;)this.type===g._case||this.type===g._default?(r=this.type===g._case,t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),r?t.test=this.parseExpression():(i&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),i=!0,t.test=null),this.expect(g.colon)):(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")},e.parseThrowStatement=function(e){return this.next(),o.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")},[]),je=(e.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t="Identifier"===e.type;return this.enterScope(t?32:0),this.checkLValPattern(e,t?4:2),this.expect(g.parenR),e},e.parseTryStatement=function(e){var t;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===g._catch&&(t=this.startNode(),this.next(),this.eat(g.parenL)?t.param=this.parseCatchClauseParam():(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")),e.finalizer=this.eat(g._finally)?this.parseBlock():null,e.handler||e.finalizer||this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},e.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},e.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Oe),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},e.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")},e.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},e.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===g._switch?"switch":null,o=this.labels.length-1;0<=o;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")},e.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},e.parseBlock=function(e,t,r){for(void 0===e&&(e=!0),(t=void 0===t?this.startNode():t).body=[],this.expect(g.braceL),e&&this.enterScope(0);this.type!==g.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},e.parseFor=function(e,t){return e.init=t,this.expect(g.semi),e.test=this.type===g.semi?null:this.parseExpression(),this.expect(g.semi),e.update=this.type===g.parenR?null:this.parseExpression(),this.expect(g.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},e.parseForIn=function(e,t){var r=this.type===g._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"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(g.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},e.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var n=this.startNode();if(this.parseVarId(n,r),this.eat(g.eq)?n.init=this.parseMaybeAssign(t):i||"const"!==r||this.type===g._in||6<=this.options.ecmaVersion&&this.isContextual("of")?i||"Identifier"===n.id.type||t&&(this.type===g._in||this.isContextual("of"))?n.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),e.declarations.push(this.finishNode(n,"VariableDeclarator")),!this.eat(g.comma))break}return e},e.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)},1),Ue=2;function qe(e,t){var r=e.computed,e=e.key;return!r&&("Identifier"===e.type&&e.name===t||"Literal"===e.type&&e.value===t)}e.parseFunction=function(e,t,r,i,n){this.initFunction(e),(9<=this.options.ecmaVersion||6<=this.options.ecmaVersion&&!i)&&(this.type===g.star&&t&Ue&&this.unexpected(),e.generator=this.eat(g.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&je&&(e.id=4&t&&this.type!==g.name?null:this.parseIdent(),!e.id||t&Ue||this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?1:2:3));var i=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Be(e.async,e.generator)),t&je||(e.id=this.type===g.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,n),this.yieldPos=i,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,t&je?"FunctionDeclaration":"FunctionExpression")},e.parseFunctionParams=function(e){this.expect(g.parenL),e.params=this.parseBindingList(g.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams()},e.parseClass=function(e,t){this.next();var r=this.strict,i=(this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e),this.enterClassBody()),n=this.startNode(),s=!1;for(n.body=[],this.expect(g.braceL);this.type!==g.braceR;){var a=this.parseClassElement(null!==e.superClass);a&&(n.body.push(a),"MethodDefinition"===a.type&&"constructor"===a.kind?(s&&this.raiseRecoverable(a.start,"Duplicate constructor in the same class"),s=!0):a.key&&"PrivateIdentifier"===a.key.type&&function(e,t){var r=t.key.name,i=e[r],n="true";"MethodDefinition"!==t.type||"get"!==t.kind&&"set"!==t.kind||(n=(t.static?"s":"i")+t.kind);if("iget"===i&&"iset"===n||"iset"===i&&"iget"===n||"sget"===i&&"sset"===n||"sset"===i&&"sget"===n)e[r]="true";else{if(i)return 1;e[r]=n}}(i,a)&&this.raiseRecoverable(a.key.start,"Identifier '#"+a.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(n,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},e.parseClassElement=function(e){if(this.eat(g.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",n=!1,s=!1,a="method",o=!1;if(this.eatContextual("static")){if(13<=t&&this.eat(g.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===g.star?o=!0:i="static"}return r.static=o,!i&&8<=t&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==g.star||this.canInsertSemicolon()?i="async":s=!0),!i&&(9<=t||!s)&&this.eat(g.star)&&(n=!0),i||s||n||(o=this.value,(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?a=o:i=o)),i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===g.parenL||"method"!==a||n||s?(i=(o=!r.static&&qe(r,"constructor"))&&e,o&&"method"!==a&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=o?"constructor":a,this.parseClassMethod(r,n,s,i)):this.parseClassField(r),r},e.isClassElementNameStart=function(){return this.type===g.name||this.type===g.privateId||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword},e.parseClassElementName=function(e){this.type===g.privateId?("constructor"===this.value&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},e.parseClassMethod=function(e,t,r,i){var n=e.key,n=("constructor"===e.kind?(t&&this.raise(n.start,"Constructor can't be a generator"),r&&this.raise(n.start,"Constructor can't be an async method")):e.static&&qe(e,"prototype")&&this.raise(n.start,"Classes may not have a static property named prototype"),e.value=this.parseMethod(t,r,i));return"get"===e.kind&&0!==n.params.length&&this.raiseRecoverable(n.start,"getter should have no params"),"set"===e.kind&&1!==n.params.length&&this.raiseRecoverable(n.start,"setter should have exactly one param"),"set"===e.kind&&"RestElement"===n.params[0].type&&this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},e.parseClassField=function(e){var t,r;return qe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&qe(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(g.eq)?(r=(t=this.currentThisScope()).inClassFieldInit,t.inClassFieldInit=!0,e.value=this.parseMaybeAssign(),t.inClassFieldInit=r):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},e.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(320);this.type!==g.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},e.parseClassId=function(e,t){this.type===g.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,2,!1)):(!0===t&&this.unexpected(),e.id=null)},e.parseClassSuper=function(e){e.superClass=this.eat(g._extends)?this.parseExprSubscripts(null,!1):null},e.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},e.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var e=this.privateNameStack.length,i=0===e?null:this.privateNameStack[e-1],n=0;n<r.length;++n){var s=r[n];ke(t,s.name)||(i?i.used.push(s):this.raiseRecoverable(s.start,"Private field '#"+s.name+"' must be declared in an enclosing class"))}},e.parseExportAllDeclaration=function(e,t){return 11<=this.options.ecmaVersion&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==g.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},e.parseExport=function(e,t){if(this.next(),this.eat(g.star))return this.parseExportAllDeclaration(e,t);if(this.eat(g._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),"VariableDeclaration"===e.declaration.type?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null;else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==g.string&&this.unexpected(),e.source=this.parseExprAtom(),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var n=i[r];this.checkUnreserved(n.local),this.checkLocalExport(n.local),"Literal"===n.local.type&&this.raise(n.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},e.parseExportDeclaration=function(e){return this.parseStatement(null)},e.parseExportDefaultDeclaration=function(){var e,t;return this.type===g._function||(t=this.isAsyncFunction())?(e=this.startNode(),this.next(),t&&this.next(),this.parseFunction(e,4|je,!1,t)):this.type===g._class?(e=this.startNode(),this.parseClass(e,"nullableID")):(t=this.parseMaybeAssign(),this.semicolon(),t)},e.checkExport=function(e,t,r){e&&("string"!=typeof t&&(t="Identifier"===t.type?t.name:t.value),ke(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},e.checkPatternExport=function(e,t){var r=t.type;if("Identifier"===r)this.checkExport(e,t,t.start);else if("ObjectPattern"===r)for(var i=0,n=t.properties;i<n.length;i+=1){var s=n[i];this.checkPatternExport(e,s)}else if("ArrayPattern"===r)for(var a=0,o=t.elements;a<o.length;a+=1){var c=o[a];c&&this.checkPatternExport(e,c)}else"Property"===r?this.checkPatternExport(e,t.value):"AssignmentPattern"===r?this.checkPatternExport(e,t.left):"RestElement"===r&&this.checkPatternExport(e,t.argument)},e.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var n=i[r];this.checkPatternExport(e,n.id)}},e.shouldParseExportStatement=function(){return"var"===this.type.keyword||"const"===this.type.keyword||"class"===this.type.keyword||"function"===this.type.keyword||this.isLet()||this.isAsyncFunction()},e.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},e.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(g.braceL);!this.eat(g.braceR);){if(r)r=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;t.push(this.parseExportSpecifier(e))}return t},e.parseImport=function(e){return this.next(),this.type===g.string?(e.specifiers=Fe,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===g.string?this.parseExprAtom():this.unexpected()),16<=this.options.ecmaVersion&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},e.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportSpecifier")},e.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportDefaultSpecifier")},e.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,2),this.finishNode(e,"ImportNamespaceSpecifier")},e.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type!==g.name||(e.push(this.parseImportDefaultSpecifier()),this.eat(g.comma)))if(this.type===g.star)e.push(this.parseImportNamespaceSpecifier());else for(this.expect(g.braceL);!this.eat(g.braceR);){if(t)t=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;e.push(this.parseImportSpecifier())}return e},e.parseWithClause=function(){var e=[];if(this.eat(g._with)){this.expect(g.braceL);for(var t={},r=!0;!this.eat(g.braceR);){if(r)r=!1;else if(this.expect(g.comma),this.afterTrailingComma(g.braceR))break;var i=this.parseImportAttribute(),n="Identifier"===i.key.type?i.key.name:i.key.value;ke(t,n)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+n+"'"),t[n]=!0,e.push(i)}}return e},e.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===g.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved),this.expect(g.colon),this.type!==g.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},e.parseModuleExportName=function(){var e;return 13<=this.options.ecmaVersion&&this.type===g.string?(e=this.parseLiteral(this.value),Pe.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e):this.parseIdent(!0)},e.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)},e.isDirectiveCandidate=function(e){return 5<=this.options.ecmaVersion&&"ExpressionStatement"===e.type&&"Literal"===e.expression.type&&"string"==typeof e.expression.value&&('"'===this.input[e.start]||"'"===this.input[e.start])};function u(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var e=l.prototype,d=(e.toAssignable=function(e,t,r){if(6<=this.options.ecmaVersion&&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"AssignmentPattern":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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},e.toAssignableList=function(e,t){for(var r,i=e.length,n=0;n<i;n++){var s=e[n];s&&this.toAssignable(s,t)}return i&&(r=e[i-1],6===this.options.ecmaVersion)&&t&&r&&"RestElement"===r.type&&"Identifier"!==r.argument.type&&this.unexpected(r.argument.start),e},e.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},e.parseRestBinding=function(){var e=this.startNode();return this.next(),6===this.options.ecmaVersion&&this.type!==g.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},e.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case g.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(g.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case g.braceL:return this.parseObj(!0)}return this.parseIdent()},e.parseBindingList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(g.comma),t&&this.type===g.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===g.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}n.push(this.parseAssignableListItem(i))}return n},e.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},e.parseBindingListItem=function(e){return e},e.parseMaybeDefault=function(e,t,r){return r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(g.eq)?r:((e=this.startNodeAt(e,t)).left=r,e.right=this.parseMaybeAssign(),this.finishNode(e,"AssignmentPattern"))},e.checkLValSimple=function(e,t,r){var i=0!==(t=void 0===t?0:t);switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(2===t&&"let"===e.name&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(ke(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),5!==t)&&this.declareName(e.name,t,e.start);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}},e.checkLValPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"ObjectPattern":for(var i=0,n=e.properties;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var a=0,o=e.elements;a<o.length;a+=1){var c=o[a];c&&this.checkLValInnerPattern(c,t,r)}break;default:this.checkLValSimple(e,t,r)}},{b_stat:new u("{",!(e.checkLValInnerPattern=function(e,t,r){switch(void 0===t&&(t=0),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}})),b_expr:new u("{",!0),b_tmpl:new u("${",!1),p_stat:new u("(",!1),p_expr:new u("(",!0),q_tmpl:new u("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new u("function",!1),f_expr:new u("function",!0),f_expr_gen:new u("function",!0,!1,null,!0),f_gen:new u("function",!1,!1,null,!0)}),e=l.prototype,e=(e.initialContext=function(){return[d.b_stat]},e.curContext=function(){return this.context[this.context.length-1]},e.braceIsBlock=function(e){var t=this.curContext();return t===d.f_expr||t===d.f_stat||(e!==g.colon||t!==d.b_stat&&t!==d.b_expr?e===g._return||e===g.name&&this.exprAllowed?o.test(this.input.slice(this.lastTokEnd,this.start)):e===g._else||e===g.semi||e===g.eof||e===g.parenR||e===g.arrow||(e===g.braceL?t===d.b_stat:e!==g._var&&e!==g._const&&e!==g.name&&!this.exprAllowed):!t.isExpr)},e.inGeneratorContext=function(){for(var e=this.context.length-1;1<=e;e--){var t=this.context[e];if("function"===t.token)return t.generator}return!1},e.updateContext=function(e){var t,r=this.type;r.keyword&&e===g.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},e.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},g.parenR.updateContext=g.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===d.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},g.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?d.b_stat:d.b_expr),this.exprAllowed=!0},g.dollarBraceL.updateContext=function(){this.context.push(d.b_tmpl),this.exprAllowed=!0},g.parenL.updateContext=function(e){e=e===g._if||e===g._for||e===g._with||e===g._while;this.context.push(e?d.p_stat:d.p_expr),this.exprAllowed=!0},g.incDec.updateContext=function(){},g._function.updateContext=g._class.updateContext=function(e){!e.beforeExpr||e===g._else||e===g.semi&&this.curContext()!==d.p_stat||e===g._return&&o.test(this.input.slice(this.lastTokEnd,this.start))||(e===g.colon||e===g.braceL)&&this.curContext()===d.b_stat?this.context.push(d.f_stat):this.context.push(d.f_expr),this.exprAllowed=!1},g.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},g.backQuote.updateContext=function(){this.curContext()===d.q_tmpl?this.context.pop():this.context.push(d.q_tmpl),this.exprAllowed=!1},g.star.updateContext=function(e){e===g._function&&(e=this.context.length-1,this.context[e]===d.f_expr?this.context[e]=d.f_expr_gen:this.context[e]=d.f_gen),this.exprAllowed=!0},g.name.updateContext=function(e){var t=!1;6<=this.options.ecmaVersion&&e!==g.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},l.prototype);e.checkPropClash=function(e,t,r){if(!(9<=this.options.ecmaVersion&&"SpreadElement"===e.type||6<=this.options.ecmaVersion&&(e.computed||e.method||e.shorthand))){var i=e.key;switch(i.type){case"Identifier":n=i.name;break;case"Literal":n=String(i.value);break;default:return}var n,e=e.kind;6<=this.options.ecmaVersion?"__proto__"===n&&"init"===e&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0):((r=t[n="$"+n])?("init"===e?this.strict&&r.init||r.get||r.set:r.init||r[e])&&this.raiseRecoverable(i.start,"Redefinition of property"):r=t[n]={init:!1,get:!1,set:!1},r[e]=!0)}},e.parseExpression=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeAssign(e,t);if(this.type!==g.comma)return n;var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(g.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")},e.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,o=(t?(n=t.parenthesizedAssign,s=t.trailingComma,a=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new Re,i=!0),this.start),c=this.startLoc,h=(this.type!==g.parenL&&this.type!==g.name||(this.potentialArrowAt=this.start,this.potentialArrowInForAwait="await"===e),this.parseMaybeConditional(e,t));return r&&(h=r.call(this,h,o,c)),this.type.isAssign?((r=this.startNodeAt(o,c)).operator=this.value,this.type===g.eq&&(h=this.toAssignable(h,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=h.start&&(t.shorthandAssign=-1),this.type===g.eq?this.checkLValPattern(h):this.checkLValSimple(h),r.left=h,this.next(),r.right=this.parseMaybeAssign(e),-1<a&&(t.doubleProto=a),this.finishNode(r,"AssignmentExpression")):(i&&this.checkExpressionErrors(t,!0),-1<n&&(t.parenthesizedAssign=n),-1<s&&(t.trailingComma=s),h)},e.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprOps(e,t);return!this.checkExpressionErrors(t)&&this.eat(g.question)?((t=this.startNodeAt(r,i)).test=n,t.consequent=this.parseMaybeAssign(),this.expect(g.colon),t.alternate=this.parseMaybeAssign(e),this.finishNode(t,"ConditionalExpression")):n},e.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,n=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||n.start===r&&"ArrowFunctionExpression"===n.type?n:this.parseExprOp(n,r,i,-1,e)},e.parseExprOp=function(e,t,r,i,n){var s,a,o,c,h,l=this.type.binop;if(null!=l&&(!n||this.type!==g._in)&&i<l)return s=this.type===g.logicalOR||this.type===g.logicalAND,(a=this.type===g.coalesce)&&(l=g.logicalAND.binop),o=this.value,this.next(),c=this.start,h=this.startLoc,c=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,n),c,h,l,n),h=this.buildBinary(t,r,e,c,o,s||a),(s&&this.type===g.coalesce||a&&(this.type===g.logicalOR||this.type===g.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(h,t,r,i,n);return e},e.buildBinary=function(e,t,r,i,n,s){"PrivateIdentifier"===i.type&&this.raise(i.start,"Private identifier can only be left side of binary expression");e=this.startNodeAt(e,t);return e.left=r,e.operator=n,e.right=i,this.finishNode(e,s?"LogicalExpression":"BinaryExpression")},e.parseMaybeUnary=function(e,t,r,i){var n,s=this.start,a=this.startLoc;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var o=this.startNode(),c=this.type===g.incDec;o.operator=this.value,o.prefix=!0,this.next(),o.argument=this.parseMaybeUnary(null,!0,c,i),this.checkExpressionErrors(e,!0),c?this.checkLValSimple(o.argument):this.strict&&"delete"===o.operator&&function e(t){return"Identifier"===t.type||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Deleting local variable in strict mode"):"delete"===o.operator&&function e(t){return"MemberExpression"===t.type&&"PrivateIdentifier"===t.property.type||"ChainExpression"===t.type&&e(t.expression)||"ParenthesizedExpression"===t.type&&e(t.expression)}(o.argument)?this.raiseRecoverable(o.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(o,c?"UpdateExpression":"UnaryExpression")}else if(t||this.type!==g.privateId){if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var h=this.startNodeAt(s,a);h.operator=this.value,h.prefix=!1,h.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(h,"UpdateExpression")}}else(i||0===this.privateNameStack.length)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==g._in&&this.unexpected();return r||!this.eat(g.starstar)?n:t?void this.unexpected(this.lastTokStart):this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1)},e.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,n=this.parseExprAtom(e,t);return"ArrowFunctionExpression"===n.type&&")"!==this.input.slice(this.lastTokStart,this.lastTokEnd)||(n=this.parseSubscripts(n,r,i,!1,t),e&&"MemberExpression"===n.type&&(e.parenthesizedAssign>=n.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=n.start&&(e.parenthesizedBind=-1),e.trailingComma>=n.start)&&(e.trailingComma=-1)),n},e.parseSubscripts=function(e,t,r,i,n){for(var s=8<=this.options.ecmaVersion&&"Identifier"===e.type&&"async"===e.name&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start==5&&this.potentialArrowAt===e.start,a=!1;;){var o,c=this.parseSubscript(e,t,r,i,s,a,n);if(c.optional&&(a=!0),c===e||"ArrowFunctionExpression"===c.type)return a&&((o=this.startNodeAt(t,r)).expression=c,c=this.finishNode(o,"ChainExpression")),c;e=c}},e.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(g.arrow)},e.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},e.parseSubscript=function(e,t,r,i,n,s,a){var o=11<=this.options.ecmaVersion,c=o&&this.eat(g.questionDot),h=(i&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(g.bracketL));if(h||c&&this.type!==g.parenL&&this.type!==g.backQuote||this.eat(g.dot)){var l=this.startNodeAt(t,r);l.object=e,h?(l.property=this.parseExpression(),this.expect(g.bracketR)):this.type===g.privateId&&"Super"!==e.type?l.property=this.parsePrivateIdent():l.property=this.parseIdent("never"!==this.options.allowReserved),l.computed=!!h,o&&(l.optional=c),e=this.finishNode(l,"MemberExpression")}else if(!i&&this.eat(g.parenL)){var h=new Re,l=this.yieldPos,i=this.awaitPos,u=this.awaitIdentPos,p=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(g.parenR,8<=this.options.ecmaVersion,!1,h));if(n&&!c&&this.shouldParseAsyncArrow())return this.checkPatternErrors(h,!1),this.checkYieldAwaitInDefaultParams(),0<this.awaitIdentPos&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=l,this.awaitPos=i,this.awaitIdentPos=u,this.parseSubscriptAsyncArrow(t,r,p,a);this.checkExpressionErrors(h,!0),this.yieldPos=l||this.yieldPos,this.awaitPos=i||this.awaitPos,this.awaitIdentPos=u||this.awaitIdentPos;n=this.startNodeAt(t,r);n.callee=e,n.arguments=p,o&&(n.optional=c),e=this.finishNode(n,"CallExpression")}else this.type===g.backQuote&&((c||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions"),(a=this.startNodeAt(t,r)).tag=e,a.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(a,"TaggedTemplateExpression"));return e},e.parseExprAtom=function(e,t,r){this.type===g.slash&&this.readRegexp();var i=this.potentialArrowAt===this.start;switch(this.type){case g._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),c=this.startNode(),this.next(),this.type!==g.parenL||this.allowDirectSuper||this.raise(c.start,"super() call outside constructor of a subclass"),this.type!==g.dot&&this.type!==g.bracketL&&this.type!==g.parenL&&this.unexpected(),this.finishNode(c,"Super");case g._this:return c=this.startNode(),this.next(),this.finishNode(c,"ThisExpression");case g.name:var n=this.start,s=this.startLoc,a=this.containsEsc,o=this.parseIdent(!1);if(8<=this.options.ecmaVersion&&!a&&"async"===o.name&&!this.canInsertSemicolon()&&this.eat(g._function))return this.overrideContext(d.f_expr),this.parseFunction(this.startNodeAt(n,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(g.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[o],!1,t);if(8<=this.options.ecmaVersion&&"async"===o.name&&this.type===g.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(g.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[o],!0,t)}return o;case g.regexp:var c,a=this.value;return(c=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},c;case g.num:case g.string:return this.parseLiteral(this.value);case g._null:case g._true:case g._false:return(c=this.startNode()).value=this.type===g._null?null:this.type===g._true,c.raw=this.type.keyword,this.next(),this.finishNode(c,"Literal");case g.parenL:n=this.start,s=this.parseParenAndDistinguishExpression(i,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(s)&&(e.parenthesizedAssign=n),e.parenthesizedBind<0)&&(e.parenthesizedBind=n),s;case g.bracketL:return c=this.startNode(),this.next(),c.elements=this.parseExprList(g.bracketR,!0,!0,e),this.finishNode(c,"ArrayExpression");case g.braceL:return this.overrideContext(d.b_expr),this.parseObj(!1,e);case g._function:return c=this.startNode(),this.next(),this.parseFunction(c,0);case g._class:return this.parseClass(this.startNode(),!1);case g._new:return this.parseNew();case g.backQuote:return this.parseTemplate();case g._import:return 11<=this.options.ecmaVersion?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},e.parseExprAtomDefault=function(){this.unexpected()},e.parseExprImport=function(e){var t=this.startNode();return this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type!==g.parenL||e?this.type===g.dot?((e=this.startNodeAt(t.start,t.loc&&t.loc.start)).name="import",t.meta=this.finishNode(e,"Identifier"),this.parseImportMeta(t)):void this.unexpected():this.parseDynamicImport(t)},e.parseDynamicImport=function(e){var t;return this.next(),e.source=this.parseMaybeAssign(),16<=this.options.ecmaVersion?this.eat(g.parenR)||(this.expect(g.comma),this.afterTrailingComma(g.parenR))?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(g.parenR)||(this.expect(g.comma),this.afterTrailingComma(g.parenR))||this.unexpected()):this.eat(g.parenR)||(t=this.start,this.eat(g.comma)&&this.eat(g.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)),this.finishNode(e,"ImportExpression")},e.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),"meta"!==e.property.name&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),"module"===this.options.sourceType||this.options.allowImportExportEverywhere||this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},e.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).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},e.parseParenExpression=function(){this.expect(g.parenL);var e=this.parseExpression();return this.expect(g.parenR),e},e.shouldParseArrow=function(e){return!this.canInsertSemicolon()},e.parseParenAndDistinguishExpression=function(e,t){var r,i=this.start,n=this.startLoc,s=8<=this.options.ecmaVersion;if(6<=this.options.ecmaVersion){this.next();var a,o=this.start,c=this.startLoc,h=[],l=!0,u=!1,p=new Re,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==g.parenR;){if(l?l=!1:this.expect(g.comma),s&&this.afterTrailingComma(g.parenR,!0)){u=!0;break}if(this.type===g.ellipsis){a=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}h.push(this.parseMaybeAssign(!1,p,this.parseParenItem))}var m=this.lastTokEnd,y=this.lastTokEndLoc;if(this.expect(g.parenR),e&&this.shouldParseArrow(h)&&this.eat(g.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=d,this.awaitPos=f,this.parseParenArrowList(i,n,h,t);h.length&&!u||this.unexpected(this.lastTokStart),a&&this.unexpected(a),this.checkExpressionErrors(p,!0),this.yieldPos=d||this.yieldPos,this.awaitPos=f||this.awaitPos,1<h.length?((r=this.startNodeAt(o,c)).expressions=h,this.finishNodeAt(r,"SequenceExpression",m,y)):r=h[0]}else r=this.parseParenExpression();return this.options.preserveParens?((e=this.startNodeAt(i,n)).expression=r,this.finishNode(e,"ParenthesizedExpression")):r},e.parseParenItem=function(e){return e},e.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};function We(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}function Ge(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ae(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var He=[],e=(e.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e,t,r=this.startNode();return this.next(),6<=this.options.ecmaVersion&&this.type===g.dot?((e=this.startNodeAt(r.start,r.loc&&r.loc.start)).name="new",r.meta=this.finishNode(e,"Identifier"),this.next(),e=this.containsEsc,r.property=this.parseIdent(!0),"target"!==r.property.name&&this.raiseRecoverable(r.property.start,"The only valid meta property for new is 'new.target'"),e&&this.raiseRecoverable(r.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(r.start,"'new.target' can only be used in functions and class static block"),this.finishNode(r,"MetaProperty")):(e=this.start,t=this.startLoc,r.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),e,t,!0,!1),this.eat(g.parenL)?r.arguments=this.parseExprList(g.parenR,8<=this.options.ecmaVersion,!1):r.arguments=He,this.finishNode(r,"NewExpression"))},e.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===g.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):t.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),t.tail=this.type===g.backQuote,this.finishNode(t,"TemplateElement")},e.parseTemplate=function(e){var t=(e=void 0===e?{}:e).isTagged,r=(void 0===t&&(t=!1),this.startNode()),i=(this.next(),r.expressions=[],this.parseTemplateElement({isTagged:t}));for(r.quasis=[i];!i.tail;)this.type===g.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(g.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(g.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},e.isAsyncProp=function(e){return!e.computed&&"Identifier"===e.key.type&&"async"===e.key.name&&(this.type===g.name||this.type===g.num||this.type===g.string||this.type===g.bracketL||this.type.keyword||9<=this.options.ecmaVersion&&this.type===g.star)&&!o.test(this.input.slice(this.lastTokEnd,this.start))},e.parseObj=function(e,t){var r=this.startNode(),i=!0,n={};for(r.properties=[],this.next();!this.eat(g.braceR);){if(i)i=!1;else if(this.expect(g.comma),5<=this.options.ecmaVersion&&this.afterTrailingComma(g.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")},e.parseProperty=function(e,t){var r,i,n,s,a=this.startNode();if(9<=this.options.ecmaVersion&&this.eat(g.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===g.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(a,"RestElement")):(a.argument=this.parseMaybeAssign(!1,t),this.type===g.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(a,"SpreadElement"));6<=this.options.ecmaVersion&&(a.method=!1,a.shorthand=!1,(e||t)&&(n=this.start,s=this.startLoc),e||(r=this.eat(g.star)));var o=this.containsEsc;return this.parsePropertyName(a),!e&&!o&&8<=this.options.ecmaVersion&&!r&&this.isAsyncProp(a)?(i=!0,r=9<=this.options.ecmaVersion&&this.eat(g.star),this.parsePropertyName(a)):i=!1,this.parsePropertyValue(a,e,r,i,n,s,t,o),this.finishNode(a,"Property")},e.parseGetterSetter=function(e){e.kind=e.key.name,this.parsePropertyName(e),e.value=this.parseMethod(!1);var t="get"===e.kind?0:1;e.value.params.length!==t?(t=e.value.start,"get"===e.kind?this.raiseRecoverable(t,"getter should have no params"):this.raiseRecoverable(t,"setter should have exactly one param")):"set"===e.kind&&"RestElement"===e.value.params[0].type&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},e.parsePropertyValue=function(e,t,r,i,n,s,a,o){(r||i)&&this.type===g.colon&&this.unexpected(),this.eat(g.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):6<=this.options.ecmaVersion&&this.type===g.parenL?(t&&this.unexpected(),e.kind="init",e.method=!0,e.value=this.parseMethod(r,i)):t||o||!(5<=this.options.ecmaVersion)||e.computed||"Identifier"!==e.key.type||"get"!==e.key.name&&"set"!==e.key.name||this.type===g.comma||this.type===g.braceR||this.type===g.eq?6<=this.options.ecmaVersion&&!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,this.copyNode(e.key)):this.type===g.eq&&a?(a.shorthandAssign<0&&(a.shorthandAssign=this.start),e.value=this.parseMaybeDefault(n,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.shorthand=!0):this.unexpected():((r||i)&&this.unexpected(),this.parseGetterSetter(e))},e.parsePropertyName=function(e){if(6<=this.options.ecmaVersion){if(this.eat(g.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(g.bracketR),e.key;e.computed=!1}return e.key=this.type===g.num||this.type===g.string?this.parseExprAtom():this.parseIdent("never"!==this.options.allowReserved)},e.initFunction=function(e){e.id=null,6<=this.options.ecmaVersion&&(e.generator=e.expression=!1),8<=this.options.ecmaVersion&&(e.async=!1)},e.parseMethod=function(e,t,r){var i=this.startNode(),n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.initFunction(i),6<=this.options.ecmaVersion&&(i.generator=e),8<=this.options.ecmaVersion&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(64|Be(t,i.generator)|(r?128:0)),this.expect(g.parenL),i.params=this.parseBindingList(g.parenR,!1,8<=this.options.ecmaVersion),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(i,"FunctionExpression")},e.parseArrowExpression=function(e,t,r,i){var n=this.yieldPos,s=this.awaitPos,a=this.awaitIdentPos;return this.enterScope(16|Be(r,!1)),this.initFunction(e),8<=this.options.ecmaVersion&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=n,this.awaitPos=s,this.awaitIdentPos=a,this.finishNode(e,"ArrowFunctionExpression")},e.parseFunctionBody=function(e,t,r,i){var n=t&&this.type!==g.braceL,s=this.strict,a=!1;n?(e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1)):(n=7<=this.options.ecmaVersion&&!this.isSimpleParamList(e.params),s&&!n||(a=this.strictDirective(this.end))&&n&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"),i=this.labels,this.labels=[],a&&(this.strict=!0),this.checkParams(e,!s&&!a&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,5),e.body=this.parseBlock(!1,void 0,a&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=i),this.exitScope()},e.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1)if("Identifier"!==r[t].type)return!1;return!0},e.checkParams=function(e,t){for(var r=Object.create(null),i=0,n=e.params;i<n.length;i+=1){var s=n[i];this.checkLValInnerPattern(s,1,t?null:r)}},e.parseExprList=function(e,t,r,i){for(var n=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(g.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===g.comma?a=null:this.type===g.ellipsis?(a=this.parseSpread(i),i&&this.type===g.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):a=this.parseMaybeAssign(!1,i),n.push(a)}return n},e.checkUnreserved=function(e){var t=e.start,r=e.end,e=e.name;this.inGenerator&&"yield"===e&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&"await"===e&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),this.currentThisScope().inClassFieldInit&&"arguments"===e&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),!this.inClassStaticBlock||"arguments"!==e&&"await"!==e||this.raise(t,"Cannot use "+e+" in class static initialization block"),this.keywords.test(e)&&this.raise(t,"Unexpected keyword '"+e+"'"),this.options.ecmaVersion<6&&-1!==this.input.slice(t,r).indexOf("\\")||(this.strict?this.reservedWordsStrict:this.reservedWords).test(e)&&(this.inAsync||"await"!==e||this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+e+"' is reserved"))},e.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),"await"!==t.name)||this.awaitIdentPos||(this.awaitIdentPos=t.start),t},e.parseIdentNode=function(){var e=this.startNode();return this.type===g.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,"class"!==e.name&&"function"!==e.name||this.lastTokEnd===this.lastTokStart+1&&46===this.input.charCodeAt(this.lastTokStart)||this.context.pop(),this.type=g.name):this.unexpected(),e},e.parsePrivateIdent=function(){var e=this.startNode();return this.type===g.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(0===this.privateNameStack.length?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},e.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===g.semi||this.canInsertSemicolon()||this.type!==g.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(g.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},e.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")},l.prototype),e=(e.raise=function(e,t){var r=Le(this.input,e),t=(t+=" ("+r.line+":"+r.column+")",new SyntaxError(t));throw t.pos=e,t.loc=r,t.raisedAt=this.pos,t},e.raiseRecoverable=e.raise,e.curPosition=function(){if(this.options.locations)return new Ie(this.curLine,this.pos-this.lineStart)},l.prototype),e=(e.enterScope=function(e){this.scopeStack.push(new We(e))},e.exitScope=function(){this.scopeStack.pop()},e.treatFunctionsAsVarInScope=function(e){return 2&e.flags||!this.inModule&&1&e.flags},e.declareName=function(e,t,r){var i=!1;if(2===t){var n=this.currentScope(),i=-1<n.lexical.indexOf(e)||-1<n.functions.indexOf(e)||-1<n.var.indexOf(e);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){n=this.currentScope();i=this.treatFunctionsAsVar?-1<n.lexical.indexOf(e):-1<n.lexical.indexOf(e)||-1<n.var.indexOf(e),n.functions.push(e)}else for(var s=this.scopeStack.length-1;0<=s;--s){var a=this.scopeStack[s];if(-1<a.lexical.indexOf(e)&&!(32&a.flags&&a.lexical[0]===e)||!this.treatFunctionsAsVarInScope(a)&&-1<a.functions.indexOf(e)){i=!0;break}if(a.var.push(e),this.inModule&&1&a.flags&&delete this.undefinedExports[e],259&a.flags)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},e.checkLocalExport=function(e){-1===this.scopeStack[0].lexical.indexOf(e.name)&&-1===this.scopeStack[0].var.indexOf(e.name)&&(this.undefinedExports[e.name]=e)},e.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},e.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags)return t}},e.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(259&t.flags&&!(16&t.flags))return t}},l.prototype);function ze(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}e.startNode=function(){return new Ge(this,this.start,this.startLoc)},e.startNodeAt=function(e,t){return new Ge(this,e,t)},e.finishNode=function(e,t){return ze.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},e.finishNodeAt=function(e,t,r,i){return ze.call(this,e,t,r,i)},e.copyNode=function(e){var t,r=new Ge(this,e.start,this.startLoc);for(t in e)r[t]=e[t];return r};var e="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",y=e+" Extended_Pictographic",Ke=y+" EBase EComp EMod EPres ExtPict",Qe={9:e,10:y,11:y,12:Ke,13:Ke,14:"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 EBase EComp EMod EPres ExtPict"},Xe={9:"",10:"",11:"",12:"",13:"",14:"Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji"},Ye="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",e="Adlam Adlm 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 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",y=e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ke=y+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Ze=Ke+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Je=Ze+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",$e={9:e,10:y,11:Ke,12:Ze,13:Je,14:"Adlam Adlm 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 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 Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz"},et={};for(var x,tt=0,rt=[9,10,11,12,13,14];tt<rt.length;tt+=1)(x=et[x=rt[tt]]={binary:Ce(Qe[x]+" "+Ye),binaryOfStrings:Ce(Xe[x]),nonBinary:{General_Category:Ce(Ye),Script:Ce($e[x])}}).nonBinary.Script_Extensions=x.nonBinary.Script,x.nonBinary.gc=x.nonBinary.General_Category,x.nonBinary.sc=x.nonBinary.Script,x.nonBinary.scx=x.nonBinary.Script_Extensions;function it(e,t){this.parent=e,this.base=t||this}function w(e){this.parser=e,this.validFlags="gim"+(6<=e.options.ecmaVersion?"uy":"")+(9<=e.options.ecmaVersion?"s":"")+(13<=e.options.ecmaVersion?"d":"")+(15<=e.options.ecmaVersion?"v":""),this.unicodeProperties=et[14<=e.options.ecmaVersion?14:e.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null}e=l.prototype;it.prototype.separatedFrom=function(e){for(var t=this;t;t=t.parent)for(var r=e;r;r=r.parent)if(t.base===r.base&&t!==r)return!0;return!1},it.prototype.sibling=function(){return new it(this.parent,this.base)};function nt(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function st(e){return 65<=e&&e<=90||97<=e&&e<=122}w.prototype.reset=function(e,t,r){var i=-1!==r.indexOf("v"),n=-1!==r.indexOf("u");this.start=0|e,this.source=t+"",this.flags=r,i&&15<=this.parser.options.ecmaVersion?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=n&&6<=this.parser.options.ecmaVersion,this.switchV=!1,this.switchN=n&&9<=this.parser.options.ecmaVersion)},w.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},w.prototype.at=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?-1:(r=i.charCodeAt(e),!(!t&&!this.switchU||r<=55295||57344<=r||n<=e+1)&&56320<=(t=i.charCodeAt(e+1))&&t<=57343?(r<<10)+t-56613888:r)},w.prototype.nextIndex=function(e,t){void 0===t&&(t=!1);var r,i=this.source,n=i.length;return n<=e?n:(r=i.charCodeAt(e),!t&&!this.switchU||r<=55295||57344<=r||n<=e+1||(t=i.charCodeAt(e+1))<56320||57343<t?e+1:e+2)},w.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},w.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},w.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},w.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},w.prototype.eatChars=function(e,t){void 0===t&&(t=!1);for(var r=this.pos,i=0,n=e;i<n.length;i+=1){var s=n[i],a=this.at(r,t);if(-1===a||a!==s)return!1;r=this.nextIndex(r,t)}return this.pos=r,!0},e.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,n=!1,s=0;s<r.length;s++){var a=r.charAt(s);-1===t.indexOf(a)&&this.raise(e.start,"Invalid regular expression flag"),-1<r.indexOf(a,s+1)&&this.raise(e.start,"Duplicate regular expression flag"),"u"===a&&(i=!0),"v"===a&&(n=!0)}15<=this.options.ecmaVersion&&i&&n&&this.raise(e.start,"Invalid regular expression flag")},e.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&9<=this.options.ecmaVersion&&function(e){for(var t in e)return 1}(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},e.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,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){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},e.regexp_disjunction=function(e){var t=16<=this.options.ecmaVersion;for(t&&(e.branchID=new it(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},e.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},e.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)},e.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(9<=this.options.ecmaVersion&&(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},e.regexp_eatQuantifier=function(e,t){return!!this.regexp_eatQuantifierPrefix(e,t=void 0===t?!1:t)&&(e.eat(63),!0)},e.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},e.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i,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},e.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)},e.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},e.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(16<=this.options.ecmaVersion){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var n=0;n<r.length;n++){var s=r.charAt(n);-1<r.indexOf(s,n+1)&&e.raise("Duplicate regular expression modifiers")}if(i){var a=this.regexp_eatModifiers(e);r||a||58!==e.current()||e.raise("Invalid regular expression modifiers");for(var o=0;o<a.length;o++){var c=a.charAt(o);(-1<a.indexOf(c,o+1)||-1<r.indexOf(c))&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},e.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(9<=this.options.ecmaVersion?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},e.regexp_eatModifiers=function(e){for(var t,r,i="";-1!==(t=e.current())&&(105===(r=t)||109===r||115===r);)i+=h(t),e.advance();return i},e.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)},e.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},e.regexp_eatSyntaxCharacter=function(e){var t=e.current();return!!nt(t)&&(e.lastIntValue=t,e.advance(),!0)},e.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!nt(t);)e.advance();return e.pos!==r},e.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return!(-1===t||36===t||40<=t&&t<=43||46===t||63===t||91===t||94===t||124===t||(e.advance(),0))},e.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=16<=this.options.ecmaVersion,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,n=r;i<n.length;i+=1)n[i].separatedFrom(e.branchID)||e.raise("Duplicate capture group name");else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},e.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},e.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=h(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=h(e.lastIntValue);return!0}return!1},e.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),a(r=i,!0)||36===r||95===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=11<=this.options.ecmaVersion,i=e.current(r);return e.advance(r),92===i&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ye(r=i,!0)||36===r||95===r||8204===r||8205===r?(e.lastIntValue=i,!0):(e.pos=t,!1)},e.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)},e.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},e.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},e.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},e.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},e.regexp_eatZero=function(e){return 48===e.current()&&!ot(e.lookahead())&&(e.lastIntValue=0,e.advance(),!0)},e.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)},e.regexp_eatControlLetter=function(e){var t=e.current();return!!st(t)&&(e.lastIntValue=t%32,e.advance(),!0)},e.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){var r=e.pos,t=(t=void 0===t?!1:t)||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var i=e.lastIntValue;if(t&&55296<=i&&i<=56319){var n=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(56320<=s&&s<=57343)return e.lastIntValue=1024*(i-55296)+(s-56320)+65536,!0}e.pos=n,e.lastIntValue=i}return!0}if(t&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&0<=(s=e.lastIntValue)&&s<=1114111)return!0;t&&e.raise("Invalid unicode escape"),e.pos=r}return!1},e.regexp_eatIdentityEscape=function(e){var t;return e.switchU?!!this.regexp_eatSyntaxCharacter(e)||!!e.eat(47)&&(e.lastIntValue=47,!0):!(99===(t=e.current())||e.switchN&&107===t||(e.lastIntValue=t,e.advance(),0))},e.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(49<=t&&t<=57){for(;e.lastIntValue=10*e.lastIntValue+(t-48),e.advance(),48<=(t=e.current())&&t<=57;);return!0}return!1};function at(e){return st(e)||95===e}function ot(e){return 48<=e&&e<=57}function ct(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function ht(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function lt(e){return 48<=e&&e<=55}e.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(100===(i=t)||68===i||115===i||83===i||119===i||87===i)return e.lastIntValue=-1,e.advance(),1;var r,i=!1;if(e.switchU&&9<=this.options.ecmaVersion&&((i=80===t)||112===t)){if(e.lastIntValue=-1,e.advance(),e.eat(123)&&(r=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return i&&2===r&&e.raise("Invalid property name"),r;e.raise("Invalid property name")}return 0},e.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r,i=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e))return r=e.lastStringValue,this.regexp_validateUnicodePropertyNameAndValue(e,i,r),1}return e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)?(i=e.lastStringValue,this.regexp_validateUnicodePropertyNameOrValue(e,i)):0},e.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){ke(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},e.regexp_validateUnicodePropertyNameOrValue=function(e,t){return e.unicodeProperties.binary.test(t)?1:e.switchV&&e.unicodeProperties.binaryOfStrings.test(t)?2:void e.raise("Invalid property name")},e.regexp_eatUnicodePropertyName=function(e){var t;for(e.lastStringValue="";at(t=e.current());)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";at(r=t=e.current())||ot(r);)e.lastStringValue+=h(t),e.advance();return""!==e.lastStringValue},e.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},e.regexp_eatCharacterClass=function(e){var t,r;return!!e.eat(91)&&(t=e.eat(94),r=this.regexp_classContents(e),e.eat(93)||e.raise("Unterminated character class"),t&&2===r&&e.raise("Negated character class may contain strings"),!0)},e.regexp_classContents=function(e){if(93!==e.current()){if(e.switchV)return this.regexp_classSetExpression(e);this.regexp_nonEmptyClassRanges(e)}return 1},e.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t,r=e.lastIntValue;e.eat(45)&&this.regexp_eatClassAtom(e)&&(t=e.lastIntValue,!e.switchU||-1!==r&&-1!==t||e.raise("Invalid character class"),-1!==r)&&-1!==t&&t<r&&e.raise("Range out of order in character class")}},e.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;e.switchU&&(99!==(r=e.current())&&!lt(r)||e.raise("Invalid class escape"),e.raise("Invalid escape")),e.pos=t}var r=e.current();return 93!==r&&(e.lastIntValue=r,e.advance(),!0)},e.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)},e.regexp_classSetExpression=function(e){var t,r=1;if(!this.regexp_eatClassSetRange(e))if(t=this.regexp_eatClassSetOperand(e)){2===t&&(r=2);for(var i=e.pos;e.eatChars([38,38]);)38!==e.current()&&(t=this.regexp_eatClassSetOperand(e))?2!==t&&(r=1):e.raise("Invalid character in character class");if(i!==e.pos)return r;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return r}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(!(t=this.regexp_eatClassSetOperand(e)))return r;2===t&&(r=2)}},e.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r,i=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e))return r=e.lastIntValue,-1!==i&&-1!==r&&r<i&&e.raise("Range out of order in character class"),!0;e.pos=t}return!1},e.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?1:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},e.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&2===i&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){r=this.regexp_eatCharacterClassEscape(e);if(r)return r;e.pos=t}return null},e.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},e.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)2===this.regexp_classString(e)&&(t=2);return t},e.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return 1===t?1:2},e.regexp_eatClassSetCharacter=function(e){var t,r=e.pos;return e.eat(92)?!(!this.regexp_eatCharacterEscape(e)&&!this.regexp_eatClassSetReservedPunctuator(e)&&(e.eat(98)?(e.lastIntValue=8,0):(e.pos=r,1))):!((r=e.current())<0||r===e.lookahead()&&(33===(t=r)||35<=t&&t<=38||42<=t&&t<=44||46===t||58<=t&&t<=64||94===t||96===t||126===t)||40===(t=r)||41===t||45===t||47===t||91<=t&&t<=93||123<=t&&t<=125||(e.advance(),e.lastIntValue=r,0))},e.regexp_eatClassSetReservedPunctuator=function(e){var t,r=e.current();return(33===(t=r)||35===t||37===t||38===t||44===t||45===t||58<=t&&t<=62||64===t||96===t||126===t)&&(e.lastIntValue=r,e.advance(),!0)},e.regexp_eatClassControlLetter=function(e){var t=e.current();return!(!ot(t)&&95!==t||(e.lastIntValue=t%32,e.advance(),0))},e.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},e.regexp_eatDecimalDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;ot(t=e.current());)e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();return e.pos!==r},e.regexp_eatHexDigits=function(e){var t,r=e.pos;for(e.lastIntValue=0;ct(t=e.current());)e.lastIntValue=16*e.lastIntValue+ht(t),e.advance();return e.pos!==r},e.regexp_eatLegacyOctalEscapeSequence=function(e){var t,r;return!!this.regexp_eatOctalDigit(e)&&(t=e.lastIntValue,this.regexp_eatOctalDigit(e)?(r=e.lastIntValue,t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=64*t+8*r+e.lastIntValue:e.lastIntValue=8*t+r):e.lastIntValue=t,!0)},e.regexp_eatOctalDigit=function(e){var t=e.current();return lt(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)},e.regexp_eatFixedHexDigits=function(e,t){for(var r=e.pos,i=e.lastIntValue=0;i<t;++i){var n=e.current();if(!ct(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+ht(n),e.advance()}return!0};function ut(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ae(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}y=l.prototype;function pt(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}y.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new ut(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},y.getToken=function(){return this.next(),new ut(this)},"undefined"!=typeof Symbol&&(y[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===g.eof,value:e}}}}),y.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(g.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},y.readToken=function(e){return a(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},y.fullCharCodeAtPos=function(){var e,t=this.input.charCodeAt(this.pos);return t<=55295||56320<=t||(e=this.input.charCodeAt(this.pos+1))<=56319||57344<=e?t:(t<<10)+e-56613888},y.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)for(var i,n=t;-1<(i=be(this.input,n,this.pos));)++this.curLine,n=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},y.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&&!ve(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())},y.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(!(8<e&&e<14||5760<=e&&xe.test(String.fromCharCode(e))))break e;++this.pos}}},y.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)},y.readToken_dot=function(){var e,t=this.input.charCodeAt(this.pos+1);return 48<=t&&t<=57?this.readNumber(!0):(e=this.input.charCodeAt(this.pos+2),6<=this.options.ecmaVersion&&46===t&&46===e?(this.pos+=3,this.finishToken(g.ellipsis)):(++this.pos,this.finishToken(g.dot)))},y.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(g.assign,2):this.finishOp(g.slash,1)},y.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?g.star:g.modulo;return 7<=this.options.ecmaVersion&&42===e&&42===t&&(++r,i=g.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(g.assign,r+1):this.finishOp(i,r)},y.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(g.assign,2):this.finishOp(124===e?g.bitwiseOR:g.bitwiseAND,1);if(12<=this.options.ecmaVersion&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(g.assign,3);return this.finishOp(124===e?g.logicalOR:g.logicalAND,2)},y.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(g.assign,2):this.finishOp(g.bitwiseXOR,1)},y.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&&!o.test(this.input.slice(this.lastTokEnd,this.pos))?this.finishOp(g.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(g.assign,2):this.finishOp(g.plusMin,1)},y.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(g.assign,r+1):this.finishOp(g.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(g.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},y.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(g.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(g.arrow)):this.finishOp(61===e?g.eq:g.prefix,1)},y.readToken_question=function(){var e=this.options.ecmaVersion;if(11<=e){var t=this.input.charCodeAt(this.pos+1);if(46===t){var r=this.input.charCodeAt(this.pos+2);if(r<48||57<r)return this.finishOp(g.questionDot,2)}if(63===t){if(12<=e)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(g.assign,3);return this.finishOp(g.coalesce,2)}}return this.finishOp(g.question,1)},y.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(13<=e&&(++this.pos,a(t=this.fullCharCodeAtPos(),!0)||92===t))return this.finishToken(g.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+h(t)+"'")},y.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(g.parenL);case 41:return++this.pos,this.finishToken(g.parenR);case 59:return++this.pos,this.finishToken(g.semi);case 44:return++this.pos,this.finishToken(g.comma);case 91:return++this.pos,this.finishToken(g.bracketL);case 93:return++this.pos,this.finishToken(g.bracketR);case 123:return++this.pos,this.finishToken(g.braceL);case 125:return++this.pos,this.finishToken(g.braceR);case 58:return++this.pos,this.finishToken(g.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(g.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(120===t||88===t)return this.readRadixNumber(16);if(6<=this.options.ecmaVersion){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 63:return this.readToken_question();case 126:return this.finishOp(g.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+h(e)+"'")},y.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},y.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(o.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),s=(++this.pos,this.pos),a=this.readWord1(),s=(this.containsEsc&&this.unexpected(s),this.regexpState||(this.regexpState=new w(this))),s=(s.reset(r,n,a),this.validateRegExpFlags(s),this.validateRegExpPattern(s),null);try{s=new RegExp(n,a)}catch(e){}return this.finishToken(g.regexp,{pattern:n,flags:a,value:s})},y.readInt=function(e,t,r){for(var i=12<=this.options.ecmaVersion&&void 0===t,n=r&&48===this.input.charCodeAt(this.pos),r=this.pos,s=0,a=0,o=0,c=null==t?1/0:t;o<c;++o,++this.pos){var h=this.input.charCodeAt(this.pos),l=void 0;if(i&&95===h)n&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),95===a&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),0===o&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),a=h;else{if(e<=(l=97<=h?h-97+10:65<=h?h-65+10:48<=h&&h<=57?h-48:1/0))break;a=h,s=s*e+l}}return i&&95===a&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===r||null!=t&&this.pos-r!==t?null:s},y.readRadixNumber=function(e){var t=this.pos,r=(this.pos+=2,this.readInt(e));return null==r&&this.raise(this.start+2,"Expected number in radix "+e),11<=this.options.ecmaVersion&&110===this.input.charCodeAt(this.pos)?(r=pt(this.input.slice(t,this.pos)),++this.pos):a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,r)},y.readNumber=function(e){var t=this.pos,r=(e||null!==this.readInt(10,void 0,!0)||this.raise(t,"Invalid number"),2<=this.pos-t&&48===this.input.charCodeAt(t)),i=(r&&this.strict&&this.raise(t,"Invalid number"),this.input.charCodeAt(this.pos));if(!r&&!e&&11<=this.options.ecmaVersion&&110===i)return e=pt(this.input.slice(t,this.pos)),++this.pos,a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,e);r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),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")),a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");e=this.input.slice(t,this.pos);i=r?parseInt(e,8):parseFloat(e.replace(/_/g,""));return this.finishToken(g.num,i)},y.readCodePoint=function(){var e,t;return 123===this.input.charCodeAt(this.pos)?(this.options.ecmaVersion<6&&this.unexpected(),e=++this.pos,t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,1114111<t&&this.invalidStringToken(e,"Code point out of bounds")):t=this.readHexChar(4),t},y.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=(t+=this.input.slice(r,this.pos))+this.readEscapedChar(!1),r=this.pos):8232===i||8233===i?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ve(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(g.string,t)};var dt={};y.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==dt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},y.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw dt;this.raise(e,t)},y.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!==g.template&&this.type!==g.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(g.template,e)):36===r?(this.pos+=2,this.finishToken(g.dollarBraceL)):(++this.pos,this.finishToken(g.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if(ve(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}},y.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(g.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":"\n"===this.input[this.pos+1]&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1}this.raise(this.start,"Unterminated template")},y.readEscapedChar=function(e){var t,r,i=this.input.charCodeAt(++this.pos);switch(++this.pos,i){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return h(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),"";case 56:case 57:this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e&&(t=this.pos-1,this.invalidStringToken(t,"Invalid escape sequence in template string"));default:return 48<=i&&i<=55?(t=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],255<(r=parseInt(t,8))&&(t=t.slice(0,-1),r=parseInt(t,8)),this.pos+=t.length-1,i=this.input.charCodeAt(this.pos),"0"===t&&56!==i&&57!==i||!this.strict&&!e||this.invalidStringToken(this.pos-1-t.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(r)):ve(i)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(i)}},y.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},y.readWord1=function(){for(var e="",t=!(this.containsEsc=!1),r=this.pos,i=6<=this.options.ecmaVersion;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(ye(n,i))this.pos+=n<=65535?1:2;else{if(92!==n)break;this.containsEsc=!0,e+=this.input.slice(r,this.pos);var n=this.pos,s=(117!==this.input.charCodeAt(++this.pos)&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos,this.readCodePoint());(t?a:ye)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=h(s),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},y.readWord=function(){var e=this.readWord1(),t=g.name;return this.keywords.test(e)&&(t=ge[e]),this.finishToken(t,e)};l.acorn={Parser:l,version:"8.14.0",defaultOptions:Te,Position:Ie,SourceLocation:Ae,getLineInfo:Le,Node:Ge,TokenType:r,tokTypes:g,keywordTypes:ge,TokContext:u,tokContexts:d,isIdentifierChar:ye,isIdentifierStart:a,Token:ut,isNewLine:ve,lineBreak:o,lineBreakG:t,nonASCIIwhitespace:xe};var ft={RES:void 0},S={RES:void 0},k={LABEL:void 0},_={LABEL:void 0},mt=p("super"),yt=p("supercall"),gt=p("noctor"),vt=p("clsctor"),bt=p("newtarget"),E=p("private"),C=p("noinit"),I=p("deadzone"),xt=p("import"),A=p("exports"),wt=(St.prototype.get=function(){return this.value},St.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},St);function St(e,t){this.kind=e,this.value=t}_t.prototype.get=function(){return this.object[this.property]},_t.prototype.set=function(e){return this.object[this.property]=e,!0},_t.prototype.del=function(){return delete this.object[this.property]};var kt=_t;function _t(e,t){this.object=e,this.property=t}Et.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},Et.prototype.find=function(e){var t;return this.context[e]||(e in this.withContext?new kt(this.withContext,e):this.parent?this.parent.find(e):e in(t=this.global().find("window").get())?new kt(t,e):null)},Et.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!==C&&i.set(t)}else r.context[e]=new wt("var",t===C?void 0:t);r.parent||(i=r.find("window").get(),t!==C&&f(i,e,{value:t,writable:!0,enumerable:!0}))},Et.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new wt("let",t)},Et.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==I)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new wt("const",t)},Et.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 wt("var",t)},Et.prototype.with=function(e){Object.keys(e)&&(this.withContext=e)};var P=Et;function Et(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=$(null),this.withContext=$(null),this.parent=e,this.isolated=t}function Ct(a,e){var o=(e=void 0===e?{}:e).res,c=e.err,h=e.ret,l=e.fullRet;return new Promise(function(t,r){if("ret"in e)return t(a.return(h));function i(e){var t;try{t=a.next(e)}catch(e){return r(e)}return s(t),null}function n(e){var t;try{t=a.throw(e)}catch(e){return r(e)}s(t)}function s(e){return e.done?t(l?e:e.value):e.value!==ft?t(e):void((e=e.value.RES)&&"function"===e.then?e:Promise.resolve(e)).then(i,n)}"err"in e?n(c):i(o)})}function It(t,r,i){var n,s,a;return void 0===i&&(i={}),v(this,function(e){if(a=i.getVar,a=void 0!==a&&a,n=i.throwErr,n=void 0===n||n,"undefined"!==t.name){if(s=r.find(t.name)){if(a)return[2,s];if((a=s.get())===I)throw new ReferenceError(t.name+" is not defined");return[2,a]}if(n)throw new ReferenceError(t.name+" is not defined")}return[2,void 0]})}var At=Object.freeze({__proto__:null,Identifier:It});function Pt(t,e){return v(this,function(e){return[2,t.value]})}var Lt=Object.freeze({__proto__:null,Literal:Pt});function Tt(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=i.getObj,n=void 0!==n&&n,s=i.getVar,s=void 0!==s&&s,"Super"!==t.object.type?[3,2]:[5,b(Nt(t.object,r,{getProto:!0}))];case 1:return a=e.sent(),[3,4];case 2:return[5,b(L(t.object,r))];case 3:a=e.sent(),e.label=4;case 4:return n?[2,a]:(c=!1,t.computed?[5,b(L(t.property,r))]:[3,6]);case 5:return o=e.sent(),[3,7];case 6:"PrivateIdentifier"===t.property.type?(o=t.property.name,c=!0):o=t.property.name,e.label=7;case 7:return c&&(a=a[E]),s?(l=J(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),h=p(o),f(u,h,{set:l}),[2,new kt(u,h)]):[2,new kt(a,o)]):(l=Z(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),t.optional&&null==u?[2,void 0]:[2,l.call(u)]):t.optional&&null==a?[2,void 0]:[2,a[o]])}})}function Vt(t,e){return v(this,function(e){return[2,t.value.raw]})}function Nt(e,t,r){var i,n;return void 0===r&&(r={}),v(this,function(e){return i=r.getProto,i=void 0!==i&&i,n=t.find(mt).get(),[2,i?n.prototype:n]})}function Bt(t,r,i){var n;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(t.argument,r))];case 1:if(n=e.sent(),i.spreadProps)return[2,n];if("function"==typeof Symbol&&"function"!=typeof n[Symbol.iterator])throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,j(n)]}})}var Rt=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return v(this,function(e){if((r=t.find(yt))&&!0!==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(t,r){var i,n,s,a,o,c,h;return v(this,function(e){switch(e.label){case 0:i=[],n=0,e.label=1;case 1:return n<t.elements.length?"SpreadElement"!==(s=t.elements[n]).type?[3,3]:(o=(a=i).concat,[5,b(Bt(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,b(L(s,r))];case 4:h.apply(c,[e.sent()]),e.label=5;case 5:return n++,[3,1];case 6:return[2,i]}})},ObjectExpression:function(t,r){var i,n,s,a,o,c,h,l,u,p,d;return v(this,function(e){switch(e.label){case 0:i={},n=0,e.label=1;case 1:return n<t.properties.length?"SpreadElement"!==(s=t.properties[n]).type?[3,3]:(a=m,o=[i],[5,b(Bt(s,r,{spreadProps:!0}))]):[3,11];case 2:return a.apply(void 0,o.concat([e.sent()])),[3,10];case 3:return(c=void 0,h=s.key,s.computed)?[5,b(L(h,r))]:[3,5];case 4:return c=e.sent(),[3,8];case 5:return"Identifier"!==h.type?[3,6]:(c=h.name,[3,8]);case 6:return l="",[5,b(Pt(h))];case 7:c=l+e.sent(),e.label=8;case 8:return[5,b(L(s.value,r))];case 9:u=e.sent(),"init"===(p=s.kind)?i[c]=u:"get"===p?(d=q(i,c),f(i,c,{get:u,set:d&&d.set,enumerable:!0,configurable:!0})):(d=q(i,c),f(i,c,{get:d&&d.get,set:u,enumerable:!0,configurable:!0})),e.label=10;case 10:return n++,[3,1];case 11:return[2,i]}})},FunctionExpression:function(t,r){var i,n;return v(this,function(e){return t.id&&t.id.name?(i=new P(r),n=R(t,i),i.const(t.id.name,n),[2,n]):[2,R(t,r)]})},UnaryExpression:function(t,r){var i;return v(this,function(e){switch(e.label){case 0:switch(i=t.argument,t.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,b(L(i,r))];case 2:return[2,+e.sent()];case 3:return[5,b(L(i,r))];case 4:return[2,-e.sent()];case 5:return[5,b(L(i,r))];case 6:return[2,!e.sent()];case 7:return[5,b(L(i,r))];case 8:return[2,~e.sent()];case 9:return[5,b(L(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,b(It(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,b(L(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,b(Tt(i,r,{getVar:!0}))];case 16:return[2,e.sent().del()];case 17:if("Identifier"!==i.type)return[3,18];throw new SyntaxError("Delete of an unqualified identifier in strict mode");case 18:return[5,b(L(i,r))];case 19:return e.sent(),[2,!0];case 20:throw new SyntaxError("Unexpected token "+t.operator)}})},UpdateExpression:function(t,r){var i,n,s;return v(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,b(It(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,b(Tt(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:if(s=n.get(),"++"===t.operator)return n.set(s+1),[2,t.prefix?n.get():s];if("--"===t.operator)return n.set(s-1),[2,t.prefix?n.get():s];throw new SyntaxError("Unexpected token "+t.operator)}})},BinaryExpression:function(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:return"PrivateIdentifier"!==t.left.type?[3,2]:(i=t.left.name,[5,b(L(t.right,r))]);case 1:return n=(n=e.sent())[E]||{},[3,5];case 2:return[5,b(L(t.left,r))];case 3:return i=e.sent(),[5,b(L(t.right,r))];case 4:n=e.sent(),e.label=5;case 5:switch(t.operator){case"==":return[2,i==n];case"!=":return[2,i!=n];case"===":return[2,i===n];case"!==":return[2,i!==n];case"<":return[2,i<n];case"<=":return[2,i<=n];case">":return[2,n<i];case">=":return[2,n<=i];case"<<":return[2,i<<n];case">>":return[2,i>>n];case">>>":return[2,i>>>n];case"+":return[2,i+n];case"-":return[2,i-n];case"*":return[2,i*n];case"**":return[2,Math.pow(i,n)];case"/":return[2,i/n];case"%":return[2,i%n];case"|":return[2,i|n];case"^":return[2,i^n];case"&":return[2,i&n];case"in":return[2,i in n];case"instanceof":return[2,i instanceof n];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},AssignmentExpression:function(t,r){var i,n,s,a,o;return v(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.left).type?[3,2]:[5,b(It(i,r,{getVar:!0,throwErr:!1}))];case 1:return(n=e.sent())||(s=r.global().find("window").get(),n=new kt(s,i.name)),[3,7];case 2:return"MemberExpression"!==i.type?[3,4]:[5,b(Tt(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,7];case 4:return[5,b(L(t.right,r))];case 5:return s=e.sent(),[5,b(B(i,r,{feed:s}))];case 6:return[2,e.sent()];case 7:return[5,b(L(t.right,r))];case 8:switch(a=e.sent(),t.operator){case"=":return n.set(a),[2,n.get()];case"+=":return n.set(n.get()+a),[2,n.get()];case"-=":return n.set(n.get()-a),[2,n.get()];case"*=":return n.set(n.get()*a),[2,n.get()];case"/=":return n.set(n.get()/a),[2,n.get()];case"%=":return n.set(n.get()%a),[2,n.get()];case"**=":return n.set(Math.pow(n.get(),a)),[2,n.get()];case"<<=":return n.set(n.get()<<a),[2,n.get()];case">>=":return n.set(n.get()>>a),[2,n.get()];case">>>=":return n.set(n.get()>>>a),[2,n.get()];case"|=":return n.set(n.get()|a),[2,n.get()];case"^=":return n.set(n.get()^a),[2,n.get()];case"&=":return n.set(n.get()&a),[2,n.get()];case"??=":return n.set(null!=(o=n.get())?o:a),[2,n.get()];case"&&=":return n.set(n.get()&&a),[2,n.get()];case"||=":return n.set(n.get()||a),[2,n.get()];default:throw new SyntaxError("Unexpected token "+t.operator)}}})},LogicalExpression:function(t,r){var i,n,s,a;return v(this,function(e){switch(e.label){case 0:switch(t.operator){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,b(L(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,b(L(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,b(L(t.left,r))];case 6:return(n=e.sent())?[5,b(L(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:return[5,b(L(t.left,r))];case 10:return null==(a=e.sent())?[3,11]:(s=a,[3,13]);case 11:return[5,b(L(t.right,r))];case 12:s=e.sent(),e.label=13;case 13:return[2,s];case 14:throw new SyntaxError("Unexpected token "+t.operator)}})},MemberExpression:Tt,ConditionalExpression:function(t,r){var i;return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.test,r))];case 1:return e.sent()?[5,b(L(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,b(L(t.alternate,r))];case 4:i=e.sent(),e.label=5;case 5:return[2,i]}})},CallExpression:function(t,r){var i,n,s,a,o,c,h,l,u,p,d,f,m,y,g;return v(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,b(Tt(t.callee,r,{getObj:!0}))];case 1:return(i=e.sent(),t.callee.optional&&null==i)?[2,void 0]:(n=void 0,s=!1,t.callee.computed?[5,b(L(t.callee.property,r))]:[3,3]);case 2:return n=e.sent(),[3,4];case 3:"PrivateIdentifier"===t.callee.property.type?(n=t.callee.property.name,s=!0):n=t.callee.property.name,e.label=4;case 4:if(m=i,s&&(m=m[E]),a="Super"===t.callee.object.type?(a=r.find("this").get(),m[n].bind(a)):m[n],t.optional&&null==a)return[2,void 0];if("function"!=typeof a)throw new TypeError(n+" is not a function");if(a[vt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=r.find("this").get(),[5,b(L(t.callee,r))];case 6:if(a=e.sent(),t.optional&&null==a)return[2,void 0];if("function"!=typeof a||"Super"!==t.callee.type&&a[vt]){if("Identifier"===t.callee.type)o=t.callee.name;else try{o=JSON.stringify(a)}catch(e){o=""+a}throw"function"!=typeof a?new TypeError(o+" is not a function"):new TypeError("Class constructor "+o+" cannot be invoked without 'new'")}e.label=7;case 7:c=[],h=0,e.label=8;case 8:return h<t.arguments.length?"SpreadElement"!==(l=t.arguments[h]).type?[3,10]:(p=(u=c).concat,[5,b(Bt(l,r))]):[3,13];case 9:return c=p.apply(u,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,b(L(l,r))];case 11:f.apply(d,[e.sent()]),e.label=12;case 12:return h++,[3,8];case 13:if("Super"!==t.callee.type)return[3,15];if(m=r.find(yt),!0===(g=m.get()))throw new ReferenceError("Super constructor may only be called once");return y=te(i,a,c),[5,b(g(y))];case 14:return e.sent(),r.find("this").set(y),r.find(yt).set(!0),[2,y];case 15:try{return[2,a.apply(i,c)]}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==a.toString().indexOf("[native code]")&&(g=r.global().find("window").get())&&g[oe])return[2,a.apply(g[oe],c)];throw e}return[2]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,l,u;return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.callee,r))];case 1:if("function"!=typeof(i=e.sent())){if("Identifier"===t.callee.type)n=t.callee.name;else try{n=JSON.stringify(i)}catch(e){n=""+i}throw new TypeError(n+" is not a constructor")}if(i[gt])throw new TypeError((i.name||"(intermediate value)")+" is not a constructor");s=[],a=0,e.label=2;case 2:return a<t.arguments.length?"SpreadElement"!==(o=t.arguments[a]).type?[3,4]:(h=(c=s).concat,[5,b(Bt(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return u=(l=s).push,[5,b(L(o,r))];case 5:u.apply(l,[e.sent()]),e.label=6;case 6:return a++,[3,2];case 7:return[2,new(i.bind.apply(i,j([void 0],s)))]}})},MetaProperty:function(t,r){return v(this,function(e){return"new"===t.meta.name&&"target"===t.property.name?[2,r.find(bt).get()]:"import"===t.meta.name&&"meta"===t.property.name?[2,{url:""}]:[2]})},SequenceExpression:function(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,b(L(t.expressions[n],r))]:[3,4];case 2:i=e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2,i]}})},ArrowFunctionExpression:function(t,r){return v(this,function(e){return[2,R(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c;return v(this,function(e){switch(e.label){case 0:i=t.quasis.slice(),n=t.expressions.slice(),s="",e.label=1;case 1:return(a=i.shift())?(o=s,[5,b(Vt(a))]):[3,5];case 2:return(s=o+e.sent(),a=n.shift())?(c=s,[5,b(L(a,r))]):[3,4];case 3:s=c+e.sent(),e.label=4;case 4:return[3,1];case 5:return[2,s]}})},TaggedTemplateExpression:function(t,r){var i,n,s,a,o,c,h;return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.tag,r))];case 1:if(i=e.sent(),s=t.quasi.quasis,n=s.map(function(e){return e.value.cooked}),s=s.map(function(e){return e.value.raw}),f(n,"raw",{value:U(s)}),s=t.quasi.expressions,a=[],!s)return[3,5];o=0,e.label=2;case 2:return o<s.length?(h=(c=a).push,[5,b(L(s[o],r))]):[3,5];case 3:h.apply(c,[e.sent()]),e.label=4;case 4:return o++,[3,2];case 5:return[2,i.apply(void 0,j([U(n)],a))]}})},TemplateElement:Vt,ClassExpression:function(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new P(r),[5,b(bi(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,b(bi(t,r))];case 3:return[2,e.sent()]}})},Super:Nt,SpreadElement:Bt,ChainExpression:function(t,r){return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.expression,r))];case 1:return[2,e.sent()]}})},ImportExpression:function(t,r){var i,n,s,a;return v(this,function(e){switch(e.label){case 0:return i=r.global(),[5,b(L(t.source,r))];case 1:return(n=e.sent(),(a=i.find(xt+n))&&(a=a.get())&&("function"==typeof a?s=a():"object"==typeof a&&(s=a)),s&&"object"==typeof s)?[2,Promise.resolve(s)]:[2,Promise.reject(new TypeError('Failed to resolve module specifier "'+n+'"'))]}})},YieldExpression:function(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.argument,r))];case 1:return(i=e.sent(),t.delegate)?[5,b(i)]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[4,i];case 4:n=e.sent(),e.label=5;case 5:return[2,n]}})},AwaitExpression:function(t,r){var i;return v(this,function(e){switch(e.label){case 0:return i=ft,[5,b(L(t.argument,r))];case 1:return i.RES=e.sent(),[4,ft];case 2:return[2,e.sent()]}})}});function Dt(t,r,i){var n,s,a,o,c,h,l,u,p,d,f;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?{}:o,c=[],h=0,e.label=1;case 1:return h<t.properties.length?(l=t.properties[h],s?a||"var"===n?"Property"!==l.type?[3,5]:"Identifier"!==(p=l.value).type?[3,2]:(r[n](p.name,a?I:"var"===n?C:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,b(B(p,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,7];case 5:return[5,b(Mt(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 6:e.sent(),e.label=7;case 7:return[3,17];case 8:return"Property"!==l.type?[3,15]:(u=void 0,l.computed?[5,b(L(l.key,r))]:[3,10]);case 9:return u=e.sent(),[3,11];case 10:u=l.key.name,e.label=11;case 11:return(c.push(u),"Identifier"!==(p=l.value).type)?[3,12]:(r[n](p.name,o[u]),[3,14]);case 12:return[5,b(B(p,r,{kind:n,feed:o[u]}))];case 13:e.sent(),e.label=14;case 14:return[3,17];case 15:for(d=m({},o),f=0;f<c.length;f++)delete d[c[f]];return[5,b(Mt(l,r,{kind:n,feed:d}))];case 16:e.sent(),e.label=17;case 17:return h++,[3,1];case 18:return[2]}})}function Ot(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=[],h=0,e.label=1;case 1:if(!(h<t.elements.length))return[3,14];if(!(l=t.elements[h]))return[3,13];if(!s)return[3,5];if(a||"var"===n){if("Identifier"!==l.type)return[3,2];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,4];case 2:return[5,b(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,13];case 5:return"Identifier"!==l.type?[3,9]:n?(r[n](l.name,o[h]),[3,8]):[3,6];case 6:return[5,b(It(l,r,{getVar:!0}))];case 7:(u=e.sent()).set(o[h]),c.push(u.get()),e.label=8;case 8:return[3,13];case 9:return"RestElement"!==l.type?[3,11]:[5,b(Mt(l,r,{kind:n,feed:o.slice(h)}))];case 10:return e.sent(),[3,13];case 11:return[5,b(B(l,r,{kind:n,feed:o[h]}))];case 12:e.sent(),e.label=13;case 13:return h++,[3,1];case 14:return c.length?[2,c]:[2]}})}function Mt(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:if(n=i.kind,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,o=void 0===o?[]:o,c=t.argument,!s)return[3,4];if(a||"var"===n){if("Identifier"!==c.type)return[3,1];r[n](c.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,b(B(c,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return"Identifier"!==c.type?[3,8]:n?(r[n](c.name,o),[3,7]):[3,5];case 5:return[5,b(It(c,r,{getVar:!0}))];case 6:e.sent().set(o),e.label=7;case 7:return[3,10];case 8:return[5,b(B(c,r,{kind:n,feed:o}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function Ft(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,void 0!==(o=i.feed)?[3,2]:[5,b(L(t.right,r))];case 1:return h=e.sent(),[3,3];case 2:h=o,e.label=3;case 3:if(c=h,l=t.left,!s)return[3,7];if(a||"var"===n){if("Identifier"!==l.type)return[3,4];r[n](l.name,a?I:"var"===n?C:void 0)}return[3,6];case 4:return[5,b(B(l,r,{kind:n,hoist:s,onlyBlock:a}))];case 5:e.sent(),e.label=6;case 6:return[3,10];case 7:return"Identifier"!==l.type?[3,8]:(r[n](l.name,c),[3,10]);case 8:return[5,b(B(l,r,{kind:n,feed:c}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var jt=Object.freeze({__proto__:null,ObjectPattern:Dt,ArrayPattern:Ot,RestElement:Mt,AssignmentPattern:Ft});var Ut,qt=Object.freeze({__proto__:null,Program:function(t,r){var i;return v(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.body.length?[5,b(L(t.body[i],r))]:[3,4];case 2:e.sent(),e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}});function L(t,r){var i;return v(this,function(e){switch(e.label){case 0:return t?(Ut=Ut||m({},O,Rt,At,D,Lt,jt,qt),(i=Ut[t.type])?[5,b(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function Wt(t,r){return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.expression,r))];case 1:return e.sent(),[2]}})}function Gt(t,r,i){var n,s,a;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=i.invasived,n=void 0!==n&&n,a=i.hoisted,a=void 0!==a&&a,n=n?r:new P(r),a?[3,2]:[5,b(vi(t,n,{onlyBlock:!0}))];case 1:e.sent(),e.label=2;case 2:s=0,e.label=3;case 3:return s<t.body.length?[5,b(L(t.body[s],n))]:[3,6];case 4:if((a=e.sent())===_)return a.LABEL&&a.LABEL===i.label?[3,6]:[2,a];if(a===k||a===S)return[2,a];e.label=5;case 5:return s++,[3,3];case 6:return[2]}})}function Ht(){return v(this,function(e){return[2]})}function zt(){return v(this,function(e){debugger;return[2]})}function Kt(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:return(i=S,t.argument)?[5,b(L(t.argument,r))]:[3,2];case 1:return n=e.sent(),[3,3];case 2:n=void 0,e.label=3;case 3:return i.RES=n,[2,S]}})}function Qt(t){var r;return v(this,function(e){return _.LABEL=null==(r=t.label)?void 0:r.name,[2,_]})}function Xt(t){var r;return v(this,function(e){return k.LABEL=null==(r=t.label)?void 0:r.name,[2,k]})}function Yt(t,r){var i;return v(this,function(e){switch(e.label){case 0:return i=t.label.name,"WhileStatement"!==t.body.type?[3,2]:[5,b(nr(t.body,r,{label:i}))];case 1:return[2,e.sent()];case 2:return"DoWhileStatement"!==t.body.type?[3,4]:[5,b(sr(t.body,r,{label:i}))];case 3:return[2,e.sent()];case 4:return"ForStatement"!==t.body.type?[3,6]:[5,b(ar(t.body,r,{label:i}))];case 5:return[2,e.sent()];case 6:return"ForInStatement"!==t.body.type?[3,8]:[5,b(or(t.body,r,{label:i}))];case 7:return[2,e.sent()];case 8:return"ForOfStatement"!==t.body.type?[3,10]:[5,b(cr(t.body,r,{label:i}))];case 9:return[2,e.sent()];case 10:return"BlockStatement"!==t.body.type?[3,12]:[5,b(Gt(t.body,r,{label:i}))];case 11:return[2,e.sent()];case 12:return"WithStatement"!==t.body.type?[3,14]:[5,b(Zt(t.body,r,{label:i}))];case 13:return[2,e.sent()];case 14:return"IfStatement"!==t.body.type?[3,16]:[5,b(Jt(t.body,r,{label:i}))];case 15:return[2,e.sent()];case 16:return"SwitchStatement"!==t.body.type?[3,18]:[5,b($t(t.body,r,{label:i}))];case 17:return[2,e.sent()];case 18:return"TryStatement"!==t.body.type?[3,20]:[5,b(rr(t.body,r,{label:i}))];case 19:return[2,e.sent()];case 20:throw new SyntaxError(t.body.type+" cannot be labeled")}})}function Zt(t,r,i){var n,s,a,o;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=new P(r),a=(s=n).with,[5,b(L(t.object,r))];case 1:return a.apply(s,[e.sent()]),[5,b(L(t.body,n))];case 2:return(o=e.sent())===_?o.LABEL&&o.LABEL===i.label?[2]:[2,o]:o===k||o===S?[2,o]:[2]}})}function Jt(t,r,i){var n;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(t.test,r))];case 1:return e.sent()?[5,b(L(t.consequent,r))]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[5,b(L(t.alternate,r))];case 4:n=e.sent(),e.label=5;case 5:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===S?[2,n]:[2]}})}function $t(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(t.discriminant,r))];case 1:n=e.sent(),s=!1,a=0,e.label=2;case 2:return a<t.cases.length?(o=t.cases[a],(c=!s)?(h=!o.test)?[3,4]:[5,b(L(o.test,r))]:[3,5]):[3,8];case 3:h=e.sent()===n,e.label=4;case 4:c=h,e.label=5;case 5:return(s=!!c||s)?[5,b(er(o,r))]:[3,7];case 6:if((l=e.sent())===_)return l.LABEL===i.label?[3,8]:[2,l];if(l===k||l===S)return[2,l];e.label=7;case 7:return a++,[3,2];case 8:return[2]}})}function er(t,r){var i,n;return v(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,b(L(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===_||n===k||n===S)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function tr(t,r){return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.argument,r))];case 1:throw e.sent()}})}function rr(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,b(Gt(t.block,r))];case 1:return n=e.sent(),[3,12];case 2:if(s=e.sent(),!t.handler)return[3,7];if(a=new P(r),o=t.handler.param){if("Identifier"!==o.type)return[3,3];c=o.name,a.var(c,s)}return[3,5];case 3:return[5,b(B(o,r,{feed:s}))];case 4:e.sent(),e.label=5;case 5:return[5,b(ir(t.handler,a))];case 6:return n=e.sent(),[3,8];case 7:throw s;case 8:return[3,12];case 9:return t.finalizer?[5,b(Gt(t.finalizer,r))]:[3,11];case 10:n=e.sent(),e.label=11;case 11:return[7];case 12:return n===_?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===S?[2,n]:[2]}})}function ir(t,r){return v(this,function(e){switch(e.label){case 0:return[5,b(Gt(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}function nr(t,r,i){var n;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(t.test,r))];case 1:return e.sent()?[5,b(L(t.body,r))]:[3,3];case 2:return(n=e.sent())===_?n.LABEL===i.label?[3,3]:[2,n]:n===k?n.LABEL===i.label?[3,0]:[2,n]:n===S?[2,n]:[3,0];case 3:return[2]}})}function sr(t,r,i){var n;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(t.body,r))];case 1:if((n=e.sent())===_)return n.LABEL===i.label?[3,4]:[2,n];if(n===k)return n.LABEL===i.label?[3,2]:[2,n];if(n===S)return[2,n];e.label=2;case 2:return[5,b(L(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})}function ar(t,r,i){var n,s,a,o;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=new P(r),[5,b(L(t.init,n))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,b(L(t.test,n))]:[3,4];case 3:return s=e.sent(),[3,5];case 4:s=!0,e.label=5;case 5:return s?(a=new P(n),o=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,b(Gt(t.body,a,{invasived:!0}))]):[3,12];case 6:return o=e.sent(),[3,9];case 7:return[5,b(L(t.body,a))];case 8:o=e.sent(),e.label=9;case 9:if(o===_)return o.LABEL===i.label?[3,12]:[2,o];if(o===k)return o.LABEL===i.label?[3,10]:[2,o];if(o===S)return[2,o];e.label=10;case 10:return[5,b(L(t.update,n))];case 11:return e.sent(),[3,2];case 12:return[2]}})}function or(t,r,i){var n,s,a,o;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=[],[5,b(L(t.right,r))];case 1:for(s in e.sent())n.push(s);a=0,e.label=2;case 2:return a<n.length?(o=n[a],[5,b(xi(t,r,{value:o}))]):[3,5];case 3:if((o=e.sent())===_)return o.LABEL===i.label?[3,5]:[2,o];if(o===k)return o.LABEL===i.label?[3,4]:[2,o];if(o===S)return[2,o];e.label=4;case 4:return a++,[3,2];case 5:return[2]}})}function cr(n,s,a){var o,c,h,l,u,p,d,f,m;return void 0===a&&(a={}),v(this,function(e){switch(e.label){case 0:return[5,b(L(n.right,s))];case 1:return(o=e.sent(),n.await)?(t=o,c=(r="function"==typeof Symbol?(r=t[Symbol.asyncIterator])||t[Symbol.iterator]:r)?r.call(t):"function"==typeof t.next?t:(i=0,{next:function(){return{value:(t=t&&i>=t.length?void 0:t)&&t[i++],done:!t}}}),h=void 0,ft.RES=c.next(),[4,ft]):[3,8];case 2:h=e.sent(),e.label=3;case 3:return h.done?[3,7]:[5,b(xi(n,s,{value:h.value}))];case 4:if((p=e.sent())===_)return p.LABEL===a.label?[3,7]:[2,p];if(p===k)return p.LABEL===a.label?[3,5]:[2,p];if(p===S)return[2,p];e.label=5;case 5:return ft.RES=c.next(),[4,ft];case 6:return h=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),l=b(o),u=l.next(),e.label=9;case 9:return u.done?[3,12]:(d=u.value,[5,b(xi(n,s,{value:d}))]);case 10:if((p=e.sent())===_)return p.LABEL===a.label?[3,12]:[2,p];if(p===k)return p.LABEL===a.label?[3,11]:[2,p];if(p===S)return[2,p];e.label=11;case 11:return u=l.next(),[3,9];case 12:return[3,15];case 13:return d=e.sent(),f={error:d},[3,15];case 14:try{u&&!u.done&&(m=l.return)&&m.call(l)}finally{if(f)throw f.error}return[7];case 15:return[2]}var t,r,i})}function hr(t,r){return v(this,function(e){return r.func(t.id.name,R(t,r)),[2]})}function lr(t,r,i){var n;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,b(ur(t.declarations[n],r,m({kind:t.kind},i)))]:[3,4];case 2:e.sent(),e.label=3;case 3:return n++,[3,1];case 4:return[2]}})}function ur(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:if(n=i.kind,n=void 0===n?"var":n,s=i.hoist,s=void 0!==s&&s,a=i.onlyBlock,a=void 0!==a&&a,o=i.feed,!s)return[3,4];if(a||"var"===n){if("Identifier"!==t.id.type)return[3,1];r[n](t.id.name,a?I:"var"===n?C:void 0)}return[3,3];case 1:return[5,b(B(t.id,r,{kind:n,hoist:s,onlyBlock:a}))];case 2:e.sent(),e.label=3;case 3:return[3,10];case 4:return(c="feed"in i)?(l=o,[3,7]):[3,5];case 5:return[5,b(L(t.init,r))];case 6:l=e.sent(),e.label=7;case 7:return(h=l,"Identifier"!==t.id.type)?[3,8]:(u=t.id.name,"var"!==n||t.init||c?r[n](u,h):r.var(u,C),t.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(t.init.type)&&!h.name&&f(h,"name",{value:u,configurable:!0}),[3,10]);case 8:return[5,b(B(t.id,r,{kind:n,feed:h}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function pr(t,r){var i,n,s;return v(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,b(bi(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function dr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:n=i.klass,s=i.superClass,a=0,e.label=1;case 1:return a<t.body.length?"MethodDefinition"!==(o=t.body[a]).type?[3,3]:[5,b(fr(o,r,{klass:n,superClass:s}))]:[3,8];case 2:return e.sent(),[3,7];case 3:return"PropertyDefinition"===o.type&&o.static?[5,b(mr(o,r,{klass:n,superClass:s}))]:[3,5];case 4:return e.sent(),[3,7];case 5:return"StaticBlock"!==o.type?[3,7]:[5,b(yr(o,r,{klass:n,superClass:s}))];case 6:e.sent(),e.label=7;case 7:return a++,[3,1];case 8:return[2]}})}function fr(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,b(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:switch(c=t.static?n:n.prototype,o&&(c[E]||f(c,E,{value:{}}),c=c[E]),h=R(t.value,r,{superClass:s}),t.kind){case"constructor":break;case"method":f(c,a,{value:h,writable:!0,configurable:!0});break;case"get":l=q(c,a),f(c,a,{get:h,set:l&&l.set,configurable:!0});break;case"set":l=q(c,a),f(c,a,{get:l&&l.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function mr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,b(L(t.key,r))]:[3,2];case 1:return a=e.sent(),[3,3];case 2:if("Identifier"===t.key.type)a=t.key.name;else{if("PrivateIdentifier"!==t.key.type)throw new SyntaxError("Unexpected token");a=t.key.name,o=!0}e.label=3;case 3:return((c=new P(r,!0)).const("this",n),h=n,o&&(h[E]||f(h,E,{value:{}}),h=h[E]),t.value)?[3,4]:(h[a]=void 0,[3,7]);case 4:return"FunctionExpression"!==t.value.type&&"ArrowFunctionExpression"!==t.value.type?[3,5]:(h[a]=R(t.value,c,{superClass:s}),[3,7]);case 5:return l=h,u=a,[5,b(L(t.value,c))];case 6:l[u]=e.sent(),e.label=7;case 7:return[2]}})}function yr(t,r,i){var n,s;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:return n=i.klass,(s=new P(r,!0)).const("this",n),[5,b(Gt(t,s,{invasived:!0}))];case 1:return[2,e.sent()]}})}function gr(t,r){var i,n,s,a,o;return v(this,function(e){if(n=r.global(),(n=n.find(xt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),!i||"object"!=typeof i)throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"');for(s=0;s<t.specifiers.length;s++){if(a=t.specifiers[s],o=void 0,"ImportSpecifier"===a.type?o="Identifier"===a.imported.type?a.imported.name:a.imported.value:"ImportDefaultSpecifier"===a.type?o="default":"ImportNamespaceSpecifier"===a.type&&(o="*"),"*"!==o&&!G(i,o))throw new SyntaxError('The requested module "'+t.source.value+'" does not provide an export named "'+o+'"');r.var(a.local.name,"*"===o?m({},i):i[o])}return[2]})}function vr(t,r){var i,n,s;return v(this,function(e){switch(e.label){case 0:return(i=r.global(),"FunctionDeclaration"!==t.declaration.type)?[3,1]:(n=R(t.declaration,r),r.func(t.declaration.id.name,n),[3,5]);case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,b(bi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),[3,5];case 3:return[5,b(L(t.declaration,r))];case 4:n=e.sent(),e.label=5;case 5:return(s=i.find(A))&&(s=s.get())&&"object"==typeof s&&(s.default=n),[2]}})}function br(t,r){var i,n,s,a,o,c,h,l,u,p,d;return v(this,function(e){switch(e.label){case 0:return(i=r.global(),t.declaration)?"FunctionDeclaration"!==t.declaration.type?[3,1]:(n=R(t.declaration,r),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5]):[3,6];case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,b(bi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),(c=i.find(A))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5];case 3:return"VariableDeclaration"!==t.declaration.type?[3,5]:[5,b(lr(t.declaration,r))];case 4:if(e.sent(),(c=i.find(A))&&(a=c.get())&&"object"==typeof a)for(l=0;l<t.declaration.declarations.length;l++)o=t.declaration.declarations[l].id.name,(d=r.find(o))&&(a[o]=d.get());e.label=5;case 5:return[3,7];case 6:if(t.specifiers&&(c=i.find(A))&&(h=c.get())&&"object"==typeof h)for(l=0;l<t.specifiers.length;l++)u=t.specifiers[l],p="Identifier"===u.local.type?u.local.name:u.local.value,(d=r.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=d.get());e.label=7;case 7:return[2]}})}function xr(t,r){var i,n,s;return v(this,function(e){if(s=r.global(),(n=s.find(xt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),i&&"object"==typeof i)return(n=s.find(A))&&(s=n.get())&&"object"==typeof s&&m(s,i),[2];throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"')})}function wr(e,t,r){var i=(r=void 0===r?{}:r).getVar,i=void 0!==i&&i,r=r.throwErr,r=void 0===r||r;if("undefined"!==e.name){t=t.find(e.name);if(t){if(i)return t;i=t.get();if(i===I)throw new ReferenceError(e.name+" is not defined");return i}if(r)throw new ReferenceError(e.name+" is not defined")}}var Sr=Object.freeze({__proto__:null,Identifier:wr});function kr(e,t){return e.value}var _r=Object.freeze({__proto__:null,Literal:kr});function Er(e,t,r){var i,n=(r=void 0===r?{}:r).getObj,n=void 0!==n&&n,r=r.getVar,r=void 0!==r&&r,s="Super"===e.object.type?Ir(e.object,t,{getProto:!0}):T(e.object,t);if(n)return s;n=!1;if(e.computed?i=T(e.property,t):"PrivateIdentifier"===e.property.type?(i=e.property.name,n=!0):i=e.property.name,n&&(s=s[E]),r)return n=J(s,i),"Super"===e.object.type&&n?(a=t.find("this").get(),r=p(i),f(a,r,{set:n}),new kt(a,r)):new kt(s,i);n=Z(s,i);if("Super"===e.object.type&&n){var a=t.find("this").get();if(!e.optional||null!=a)return n.call(a)}else if(!e.optional||null!=s)return s[i]}function Cr(e,t){return e.value.raw}function Ir(e,t,r){r=(r=void 0===r?{}:r).getProto,r=void 0!==r&&r,t=t.find(mt).get();return r?t.prototype:t}function Ar(e,t,r){void 0===r&&(r={});e=T(e.argument,t);if(r.spreadProps)return e;if("function"==typeof Symbol&&"function"!=typeof e[Symbol.iterator])throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return j(e)}var Pr=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(yt);if(r&&!0!==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(Ar(n,t)):r.push(T(n,t))}return r},ObjectExpression:function(e,t){for(var r={},i=0;i<e.properties.length;i++){var n,s,a,o=e.properties[i];"SpreadElement"===o.type?m(r,Ar(o,t,{spreadProps:!0})):(n=void 0,s=o.key,n=o.computed?T(s,t):"Identifier"===s.type?s.name:""+kr(s),s=T(o.value,t),"init"===(o=o.kind)?r[n]=s:"get"===o?(a=q(r,n),f(r,n,{get:s,set:a&&a.set,enumerable:!0,configurable:!0})):(a=q(r,n),f(r,n,{get:a&&a.get,set:s,enumerable:!0,configurable:!0})))}return r},FunctionExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=N(e,r=new P(t)),r.const(e.id.name,i),i):N(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+T(r,t);case"-":return-T(r,t);case"!":return!T(r,t);case"~":return~T(r,t);case"void":return void T(r,t);case"typeof":return"Identifier"===r.type?typeof wr(r,t,{throwErr:!1}):typeof T(r,t);case"delete":if("MemberExpression"===r.type)return Er(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return T(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=wr(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=Er(i,t,{getVar:!0})}if(i=r.get(),"++"===e.operator)return r.set(i+1),e.prefix?r.get():i;if("--"===e.operator)return r.set(i-1),e.prefix?r.get():i;throw new SyntaxError("Unexpected token "+e.operator)},BinaryExpression:function(e,t){var r,i="PrivateIdentifier"===e.left.type?(r=e.left.name,(i=T(e.right,t))[E]||{}):(r=T(e.left,t),T(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 i<r;case">=":return i<=r;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,n,s=e.left;if("Identifier"===s.type)(n=wr(s,t,{getVar:!0,throwErr:!1}))||(i=t.global().find("window").get(),n=new kt(i,s.name));else{if("MemberExpression"!==s.type)return V(s,t,{feed:T(e.right,t)});n=Er(s,t,{getVar:!0})}var a=T(e.right,t);switch(e.operator){case"=":return n.set(a),n.get();case"+=":return n.set(n.get()+a),n.get();case"-=":return n.set(n.get()-a),n.get();case"*=":return n.set(n.get()*a),n.get();case"/=":return n.set(n.get()/a),n.get();case"%=":return n.set(n.get()%a),n.get();case"**=":return n.set(Math.pow(n.get(),a)),n.get();case"<<=":return n.set(n.get()<<a),n.get();case">>=":return n.set(n.get()>>a),n.get();case">>>=":return n.set(n.get()>>>a),n.get();case"|=":return n.set(n.get()|a),n.get();case"^=":return n.set(n.get()^a),n.get();case"&=":return n.set(n.get()&a),n.get();case"??=":return n.set(null!=(r=n.get())?r:a),n.get();case"&&=":return n.set(n.get()&&a),n.get();case"||=":return n.set(n.get()||a),n.get();default:throw new SyntaxError("Unexpected token "+e.operator)}},LogicalExpression:function(e,t){var r;switch(e.operator){case"||":return T(e.left,t)||T(e.right,t);case"&&":return T(e.left,t)&&T(e.right,t);case"??":return null!=(r=T(e.left,t))?r:T(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:Er,ConditionalExpression:function(e,t){return T(e.test,t)?T(e.consequent,t):T(e.alternate,t)},CallExpression:function(e,t){var r;if("MemberExpression"===e.callee.type){if(r=Er(e.callee,t,{getObj:!0}),e.callee.optional&&null==r)return;var i=void 0,n=!1,s=(e.callee.computed?i=T(e.callee.property,t):"PrivateIdentifier"===e.callee.property.type?(i=e.callee.property.name,n=!0):i=e.callee.property.name,r);if(n&&(s=s[E]),n="Super"===e.callee.object.type?(n=t.find("this").get(),s[i].bind(n)):s[i],e.optional&&null==n)return;if("function"!=typeof n)throw new TypeError(i+" is not a function");if(n[vt])throw new TypeError("Class constructor "+i+" cannot be invoked without 'new'")}else{if(r=t.find("this").get(),n=T(e.callee,t),e.optional&&null==n)return;if("function"!=typeof n||"Super"!==e.callee.type&&n[vt]){if("Identifier"===e.callee.type)h=e.callee.name;else try{h=JSON.stringify(n)}catch(e){h=""+n}throw"function"!=typeof n?new TypeError(h+" is not a function"):new TypeError("Class constructor "+h+" cannot be invoked without 'new'")}}for(var a=[],o=0;o<e.arguments.length;o++){var c=e.arguments[o];"SpreadElement"===c.type?a=a.concat(Ar(c,t)):a.push(T(c,t))}if("Super"===e.callee.type){s=t.find(yt).get();if(!0===s)throw new ReferenceError("Super constructor may only be called once");i=te(r,n,a);return s(i),t.find("this").set(i),t.find(yt).set(!0),i}try{return n.apply(r,a)}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==n.toString().indexOf("[native code]")){var h=t.global().find("window").get();if(h&&h[oe])return n.apply(h[oe],a)}throw e}},NewExpression:function(e,t){var r,i=T(e.callee,t);if("function"!=typeof i){if("Identifier"===e.callee.type)r=e.callee.name;else try{r=JSON.stringify(i)}catch(e){r=""+i}throw new TypeError(r+" is not a constructor")}if(i[gt])throw new TypeError((i.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(Ar(a,t)):n.push(T(a,t))}return new(i.bind.apply(i,j([void 0],n)))},MetaProperty:function(e,t){return"new"===e.meta.name&&"target"===e.property.name?t.find(bt).get():"import"===e.meta.name&&"meta"===e.property.name?{url:""}:void 0},SequenceExpression:function(e,t){for(var r,i=0;i<e.expressions.length;i++)r=T(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return N(e,t)},TemplateLiteral:function(e,t){for(var r,i=e.quasis.slice(),n=e.expressions.slice(),s="";r=i.shift();)s+=Cr(r),(r=n.shift())&&(s+=T(r,t));return s},TaggedTemplateExpression:function(e,t){var r=T(e.tag,t),i=(n=e.quasi.quasis).map(function(e){return e.value.cooked}),n=n.map(function(e){return e.value.raw}),s=(f(i,"raw",{value:U(n)}),e.quasi.expressions),a=[];if(s)for(var o=0;o<s.length;o++)a.push(T(s[o],t));return r.apply(void 0,j([U(i)],a))},TemplateElement:Cr,ClassExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=yi(e,r=new P(t)),r.const(e.id.name,i),i):yi(e,t)},Super:Ir,SpreadElement:Ar,ChainExpression:function(e,t){return T(e.expression,t)},ImportExpression:function(e,t){var r,i=t.global(),e=T(e.source,t);return(t=i.find(xt+e))&&(i=t.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),r&&"object"==typeof r?Promise.resolve(r):Promise.reject(new TypeError('Failed to resolve module specifier "'+e+'"'))}});function Lr(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=void 0===i?"var":i,i=r.hoist,s=void 0!==i&&i,i=r.onlyBlock,a=void 0!==i&&i,i=r.feed,o=void 0===i?{}:i,c=[],h=0;h<e.properties.length;h++){var l=e.properties[h];if(s)!a&&"var"!==n||("Property"===l.type?"Identifier"===(u=l.value).type?t[n](u.name,a?I:"var"===n?C:void 0):V(u,t,{kind:n,hoist:s,onlyBlock:a}):Vr(l,t,{kind:n,hoist:s,onlyBlock:a}));else if("Property"===l.type){var u,p=void 0,p=l.computed?T(l.key,t):l.key.name;c.push(p),"Identifier"===(u=l.value).type?t[n](u.name,o[p]):V(u,t,{kind:n,feed:o[p]})}else{for(var d=m({},o),f=0;f<c.length;f++)delete d[c[f]];Vr(l,t,{kind:n,feed:d})}}}function Tr(e,t,r){for(var i=(r=void 0===r?{}:r).kind,n=r.hoist,s=void 0!==n&&n,n=r.onlyBlock,a=void 0!==n&&n,n=r.feed,o=void 0===n?[]:n,c=[],h=0;h<e.elements.length;h++){var l,u=e.elements[h];u&&(s?!a&&"var"!==i||("Identifier"===u.type?t[i](u.name,a?I:"var"===i?C:void 0):V(u,t,{kind:i,hoist:s,onlyBlock:a})):"Identifier"===u.type?i?t[i](u.name,o[h]):((l=wr(u,t,{getVar:!0})).set(o[h]),c.push(l.get())):"RestElement"===u.type?Vr(u,t,{kind:i,feed:o.slice(h)}):V(u,t,{kind:i,feed:o[h]}))}if(c.length)return c}function Vr(e,t,r){var i=(r=void 0===r?{}:r).kind,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?[]:r,e=e.argument;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?i?t[i](e.name,r):wr(e,t,{getVar:!0}).set(r):V(e,t,{kind:i,feed:r})}function Nr(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,r=r.feed,r=void 0===r?T(e.right,t):r,e=e.left;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?I:"var"===i?C:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?t[i](e.name,r):V(e,t,{kind:i,feed:r})}var Br=Object.freeze({__proto__:null,ObjectPattern:Lr,ArrayPattern:Tr,RestElement:Vr,AssignmentPattern:Nr});var Rr,Dr=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)T(e.body[r],t)}});function T(e,t){if(e){var r=(Rr=Rr||m({},F,Pr,Sr,M,_r,Br,Dr))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function Or(e,t){T(e.expression,t)}function Mr(e,t,r){var i=(r=void 0===r?{}:r).invasived,n=r.hoisted,n=void 0!==n&&n,s=void 0!==i&&i?t:new P(t);n||mi(e,s,{onlyBlock:!0});for(var a=0;a<e.body.length;a++){var o=T(e.body[a],s);if(o===_){if(o.LABEL&&o.LABEL===r.label)break;return o}if(o===k||o===S)return o}}function Fr(){}function jr(){debugger}function Ur(e,t){return S.RES=e.argument?T(e.argument,t):void 0,S}function qr(e){return _.LABEL=null==(e=e.label)?void 0:e.name,_}function Wr(e){return k.LABEL=null==(e=e.label)?void 0:e.name,k}function Gr(e,t){var r=e.label.name;if("WhileStatement"===e.body.type)return Jr(e.body,t,{label:r});if("DoWhileStatement"===e.body.type)return $r(e.body,t,{label:r});if("ForStatement"===e.body.type)return ei(e.body,t,{label:r});if("ForInStatement"===e.body.type)return ti(e.body,t,{label:r});if("ForOfStatement"===e.body.type)return ri(e.body,t,{label:r});if("BlockStatement"===e.body.type)return Mr(e.body,t,{label:r});if("WithStatement"===e.body.type)return Hr(e.body,t,{label:r});if("IfStatement"===e.body.type)return zr(e.body,t,{label:r});if("SwitchStatement"===e.body.type)return Kr(e.body,t,{label:r});if("TryStatement"===e.body.type)return Yr(e.body,t,{label:r});throw new SyntaxError(e.body.type+" cannot be labeled")}function Hr(e,t,r){void 0===r&&(r={});var i=new P(t),t=(i.with(T(e.object,t)),T(e.body,i));return t===_?t.LABEL&&t.LABEL===r.label?void 0:t:t===k||t===S?t:void 0}function zr(e,t,r){return void 0===r&&(r={}),(e=T(e.test,t)?T(e.consequent,t):T(e.alternate,t))===_?e.LABEL&&e.LABEL===r.label?void 0:e:e===k||e===S?e:void 0}function Kr(e,t,r){void 0===r&&(r={});for(var i=T(e.discriminant,t),n=!1,s=0;s<e.cases.length;s++){var a=e.cases[s];if(n=n||a.test&&T(a.test,t)!==i?n:!0){a=Qr(a,t);if(a===_){if(a.LABEL===r.label)break;return a}if(a===k||a===S)return a}}}function Qr(e,t){for(var r=0;r<e.consequent.length;r++){var i=T(e.consequent[r],t);if(i===_||i===k||i===S)return i}}function Xr(e,t){throw T(e.argument,t)}function Yr(t,r,e){var i;void 0===e&&(e={});try{i=Mr(t.block,r)}catch(e){if(!t.handler)throw e;var n,s=new P(r),a=t.handler.param;a&&("Identifier"===a.type?(n=a.name,s.var(n,e)):V(a,r,{feed:e})),i=Zr(t.handler,s)}finally{t.finalizer&&(i=Mr(t.finalizer,r))}return i===_?i.LABEL&&i.LABEL===e.label?void 0:i:i===k||i===S?i:void 0}function Zr(e,t){return Mr(e.body,t,{invasived:!0})}function Jr(e,t,r){for(void 0===r&&(r={});T(e.test,t);){var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}}function $r(e,t,r){void 0===r&&(r={});do{var i=T(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}while(T(e.test,t))}function ei(e,t,r){void 0===r&&(r={});var i=new P(t);for(T(e.init,i);!e.test||T(e.test,i);T(e.update,i)){var n=new P(i),s=void 0;if((s="BlockStatement"===e.body.type?Mr(e.body,n,{invasived:!0}):T(e.body,n))===_){if(s.LABEL===r.label)break;return s}if(s===k){if(s.LABEL!==r.label)return s}else if(s===S)return s}}function ti(e,t,r){for(var i in void 0===r&&(r={}),T(e.right,t)){i=gi(e,t,{value:i});if(i===_){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===S)return i}}function ri(e,t,r){void 0===r&&(r={});var i,n,s=T(e.right,t);try{for(var a=b(s),o=a.next();!o.done;o=a.next()){var c=gi(e,t,{value:o.value});if(c===_){if(c.LABEL===r.label)break;return c}if(c===k){if(c.LABEL!==r.label)return c}else if(c===S)return c}}catch(e){i={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(i)throw i.error}}}function ii(e,t){t.func(e.id.name,N(e,t))}function ni(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)si(e.declarations[i],t,m({kind:e.kind},r))}function si(e,t,r){var i=(r=void 0===r?{}:r).kind,i=void 0===i?"var":i,n=r.hoist,n=void 0!==n&&n,s=r.onlyBlock,s=void 0!==s&&s,a=r.feed;n?!s&&"var"!==i||("Identifier"===e.id.type?t[i](e.id.name,s?I:"var"===i?C:void 0):V(e.id,t,{kind:i,hoist:n,onlyBlock:s})):(s=(n="feed"in r)?a:T(e.init,t),"Identifier"===e.id.type?(r=e.id.name,"var"!==i||e.init||n?t[i](r,s):t.var(r,C),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!s.name&&f(s,"name",{value:r,configurable:!0})):V(e.id,t,{kind:i,feed:s}))}function ai(e,t){t.func(e.id.name,yi(e,t))}function oi(e,t,r){for(var i=(r=void 0===r?{}:r).klass,n=r.superClass,s=0;s<e.body.length;s++){var a=e.body[s];"MethodDefinition"===a.type?ci(a,t,{klass:i,superClass:n}):"PropertyDefinition"===a.type&&a.static?hi(a,t,{klass:i,superClass:n}):"StaticBlock"===a.type&&li(a,t,{klass:i,superClass:n})}}function ci(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}var a=e.static?n:n.prototype,o=(s&&(a[E]||f(a,E,{value:{}}),a=a[E]),N(e.value,t,{superClass:r}));switch(e.kind){case"constructor":break;case"method":f(a,i,{value:o,writable:!0,configurable:!0});break;case"get":var c=q(a,i);f(a,i,{get:o,set:c&&c.set,configurable:!0});break;case"set":c=q(a,i);f(a,i,{get:c&&c.get,set:o,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function hi(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=T(e.key,t);else if("Identifier"===e.key.type)i=e.key.name;else{if("PrivateIdentifier"!==e.key.type)throw new SyntaxError("Unexpected token");i=e.key.name,s=!0}t=new P(t,!0),t.const("this",n);s&&(n[E]||f(n,E,{value:{}}),n=n[E]),e.value?"FunctionExpression"===e.value.type||"ArrowFunctionExpression"===e.value.type?n[i]=N(e.value,t,{superClass:r}):n[i]=T(e.value,t):n[i]=void 0}function li(e,t,r){r=(r=void 0===r?{}:r).klass,t=new P(t,!0);return t.const("this",r),Mr(e,t,{invasived:!0})}function ui(e,t){var r,i=t.global().find(xt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');for(var n=0;n<e.specifiers.length;n++){var s=e.specifiers[n],a=void 0;if("ImportSpecifier"===s.type?a="Identifier"===s.imported.type?s.imported.name:s.imported.value:"ImportDefaultSpecifier"===s.type?a="default":"ImportNamespaceSpecifier"===s.type&&(a="*"),"*"!==a&&!G(r,a))throw new SyntaxError('The requested module "'+e.source.value+'" does not provide an export named "'+a+'"');t.var(s.local.name,"*"===a?m({},r):r[a])}}function pi(e,t){var r,i=t.global(),e=("FunctionDeclaration"===e.declaration.type?(r=N(e.declaration,t),t.func(e.declaration.id.name,r)):"ClassDeclaration"===e.declaration.type?(r=yi(e.declaration,t),t.func(e.declaration.id.name,r)):r=T(e.declaration,t),i.find(A));e&&(t=e.get())&&"object"==typeof t&&(t.default=r)}function di(e,t){var r=t.global();if(e.declaration){if("FunctionDeclaration"===e.declaration.type){var i=N(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("ClassDeclaration"===e.declaration.type){var n,s,i=yi(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(A))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("VariableDeclaration"===e.declaration.type)if(ni(e.declaration,t),n=r.find(A)){var a=n.get();if(a&&"object"==typeof a)for(var o=0;o<e.declaration.declarations.length;o++){var c=e.declaration.declarations[o].id.name;(l=t.find(c))&&(a[c]=l.get())}}}else if(e.specifiers)if(n=r.find(A)){var h=n.get();if(h&&"object"==typeof h)for(o=0;o<e.specifiers.length;o++){var l,u=e.specifiers[o],p="Identifier"===u.local.type?u.local.name:u.local.value;(l=t.find(p))&&(h["Identifier"===u.exported.type?u.exported.name:u.exported.value]=l.get())}}}function fi(e,t){var r,t=t.global(),i=t.find(xt+e.source.value);if(i&&(i=i.get())&&("function"==typeof i?r=i():"object"==typeof i&&(r=i)),!r||"object"!=typeof r)throw new TypeError('Failed to resolve module specifier "'+e.source.value+'"');i=t.find(A);i&&(e=i.get())&&"object"==typeof e&&m(e,r)}function mi(e,t,r){for(var r=(r=void 0===r?{}:r).onlyBlock,i=void 0!==r&&r,n=[],s=[],a=0;a<e.body.length;a++){var o=e.body[a];"FunctionDeclaration"===o.type?(n.push(o),s.push(a)):"VariableDeclaration"===o.type&&-1!==["const","let"].indexOf(o.kind)?ni(o,t,{hoist:!0,onlyBlock:!0}):i||function e(t,r){switch(t.type){case"VariableDeclaration":ni(t,r,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===t.left.type&&ni(t.left,r,{hoist:!0});case"ForStatement":"ForStatement"===t.type&&"VariableDeclaration"===t.init.type&&ni(t.init,r,{hoist:!0});case"WhileStatement":case"DoWhileStatement":e(t.body,r);break;case"IfStatement":e(t.consequent,r),t.alternate&&e(t.alternate,r);break;case"BlockStatement":for(var i=0;i<t.body.length;i++)e(t.body[i],r);break;case"SwitchStatement":for(i=0;i<t.cases.length;i++)for(var n=0;n<t.cases[i].consequent.length;n++)e(t.cases[i].consequent[n],r);break;case"TryStatement":for(var s=t.block.body,i=0;i<s.length;i++)e(s[i],r);var a=t.handler&&t.handler.body.body;if(a)for(i=0;i<a.length;i++)e(a[i],r);var o=t.finalizer&&t.finalizer.body;if(o)for(i=0;i<o.length;i++)e(o[i],r)}}(o,t)}if(s.length){for(a=s.length-1;-1<a;a--)e.body.splice(s[a],1);e.body=n.concat(e.body)}}function V(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return Lr(e,t,r);case"ArrayPattern":return Tr(e,t,r);case"RestElement":return Vr(e,t,r);case"AssignmentPattern":return Nr(e,t,r);default:throw new SyntaxError("Unexpected token")}}function N(c,h,e){var t,l,u,p,r;return void 0===e&&(e={}),c.generator||c.async?R(c,h,e):(l=e.superClass,u=e.construct,p=c.params,e=function e(){for(var t=this&&this instanceof e?this.constructor:void 0,r=[],i=0;i<arguments.length;i++)r[i]=arguments[i];var n=new P(h,!0);"ArrowFunctionExpression"!==c.type&&(n.let("this",this),n.let("arguments",arguments),n.const(bt,t),l?(n.const(mt,l),u&&n.let(yt,u)):u&&u(this));for(var s,a=0;a<p.length;a++){var o=p[a];"Identifier"===o.type?n.var(o.name,r[a]):"RestElement"===o.type?Vr(o,n,{kind:"var",feed:r.slice(a)}):V(o,n,{kind:"var",feed:r[a]})}return"BlockStatement"===c.body.type?(mi(c.body,n),s=Mr(c.body,n,{invasived:!0,hoisted:!0})):(s=T(c.body,n),"ArrowFunctionExpression"===c.type&&(S.RES=s,s=S)),s===S?s.RES:t?n.find("this").get():void 0},"ArrowFunctionExpression"===c.type&&f(e,gt,{value:!0}),f(e,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(e,"length",{value:p.length,configurable:!0}),(r=null==(t=c.loc)?void 0:t.source)&&f(e,"toString",{value:function(){return r.substring(c.start,c.end)},configurable:!0}),e)}function yi(e,i){for(var n=T(e.superClass,i),s=e.body.body,t=function(e){for(var t=0;t<s.length;t++){var r=s[t];"PropertyDefinition"!==r.type||r.static||hi(r,i,{klass:e,superClass:n})}},r=function(){var e=n?te(this,n):this;return t(e),e},a=0;a<s.length;a++){var o=s[a];if("MethodDefinition"===o.type&&"constructor"===o.kind){r=N(o.value,i,{superClass:n,construct:t});break}}return n&&ee(r,n),oi(e.body,i,{klass:r,superClass:n}),f(r,vt,{value:!0}),f(r,"name",{value:e.id&&e.id.name||"",configurable:!0}),r}function gi(e,t,r){var r=r.value,i=e.left,n=new P(t);return"VariableDeclaration"===i.type?ni(i,n,{feed:r}):"Identifier"===i.type?wr(i,t,{getVar:!0}).set(r):V(i,t,{feed:r}),"BlockStatement"===e.body.type?Mr(e.body,n,{invasived:!0}):T(e.body,n)}function vi(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:n=i.onlyBlock,n=void 0!==n&&n,s=[],a=[],c=0,e.label=1;case 1:return c<t.body.length?"FunctionDeclaration"!==(o=t.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)?[3,4]:[5,b(lr(o,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return n?[3,6]:[5,b(function t(r,i){var n,s,a,o,c;return v(this,function(e){switch(e.label){case 0:switch(r.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,b(lr(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,b(lr(r.left,i,{hoist:!0}))];case 4:e.sent(),e.label=5;case 5:return"ForStatement"!==r.type||"VariableDeclaration"!==r.init.type?[3,7]:[5,b(lr(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,b(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,b(t(r.consequent,i))];case 10:return(e.sent(),r.alternate)?[5,b(t(r.alternate,i))]:[3,12];case 11:e.sent(),e.label=12;case 12:return[3,38];case 13:c=0,e.label=14;case 14:return c<r.body.length?[5,b(t(r.body[c],i))]:[3,17];case 15:e.sent(),e.label=16;case 16:return c++,[3,14];case 17:return[3,38];case 18:c=0,e.label=19;case 19:if(!(c<r.cases.length))return[3,24];n=0,e.label=20;case 20:return n<r.cases[c].consequent.length?[5,b(t(r.cases[c].consequent[n],i))]:[3,23];case 21:e.sent(),e.label=22;case 22:return n++,[3,20];case 23:return c++,[3,19];case 24:return[3,38];case 25:s=r.block.body,c=0,e.label=26;case 26:return c<s.length?[5,b(t(s[c],i))]:[3,29];case 27:e.sent(),e.label=28;case 28:return c++,[3,26];case 29:if(!(a=r.handler&&r.handler.body.body))return[3,33];c=0,e.label=30;case 30:return c<a.length?[5,b(t(a[c],i))]:[3,33];case 31:e.sent(),e.label=32;case 32:return c++,[3,30];case 33:if(!(o=r.finalizer&&r.finalizer.body))return[3,37];c=0,e.label=34;case 34:return c<o.length?[5,b(t(o[c],i))]:[3,37];case 35:e.sent(),e.label=36;case 36:return c++,[3,34];case 37:return[3,38];case 38:return[2]}})}(o,r))];case 5:e.sent(),e.label=6;case 6:return c++,[3,1];case 7:if(a.length){for(c=a.length-1;-1<c;c--)t.body.splice(a[c],1);t.body=s.concat(t.body)}return[2]}})}function B(t,r,i){return void 0===i&&(i={}),v(this,function(e){switch(e.label){case 0:switch(t.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,b(Dt(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,b(Ot(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,b(Mt(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,b(Ft(t,r,i))];case 8:return[2,e.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function R(c,h,e){var t,l,u,p,s,r,i;return void 0===e&&(e={}),c.generator||c.async?(l=e.superClass,u=e.construct,p=c.params,s=function e(){for(var t,r,i,n,s=this&&this instanceof e?this.constructor:void 0,a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];return v(this,function(e){switch(e.label){case 0:if(t=new P(h,!0),"ArrowFunctionExpression"!==c.type){if(t.let("this",this),t.let("arguments",arguments),t.const(bt,s),!l)return[3,1];t.const(mt,l),u&&t.let(yt,u)}return[3,3];case 1:return u?[5,b(u(this))]:[3,3];case 2:e.sent(),e.label=3;case 3:r=0,e.label=4;case 4:return r<p.length?"Identifier"!==(i=p[r]).type?[3,5]:(t.var(i.name,a[r]),[3,9]):[3,10];case 5:return"RestElement"!==i.type?[3,7]:[5,b(Mt(i,t,{kind:"var",feed:a.slice(r)}))];case 6:return e.sent(),[3,9];case 7:return[5,b(B(i,t,{kind:"var",feed:a[r]}))];case 8:e.sent(),e.label=9;case 9:return r++,[3,4];case 10:return"BlockStatement"!==c.body.type?[3,13]:[5,b(vi(c.body,t))];case 11:return e.sent(),[5,b(Gt(c.body,t,{invasived:!0,hoisted:!0}))];case 12:return n=e.sent(),[3,15];case 13:return[5,b(L(c.body,t))];case 14:n=e.sent(),"ArrowFunctionExpression"===c.type&&(S.RES=n,n=S),e.label=15;case 15:return n===S?[2,n.RES]:s?[2,t.find("this").get()]:[2]}})},r=c.async&&c.generator?function(){function t(e){return i=i.then(function(){return Ct(r,m({fullRet:!0},e))}).catch(function(e){if(!n)return n=!0,Promise.reject(e)})}var r=s.apply(this,arguments),i=Promise.resolve(),n=!1,e={next:function(e){return t({res:e})},throw:function(e){return t({err:e})},return:function(e){return t({ret:e})}};return"function"==typeof Symbol&&(e[Symbol.iterator]=function(){return this}),e}:c.async?function(){return Ct(s.apply(this,arguments))}:s,f(r,gt,{value:!0}),f(r,"name",{value:c.id&&c.id.name||"",configurable:!0}),f(r,"length",{value:p.length,configurable:!0}),(i=null==(t=c.loc)?void 0:t.source)&&f(r,"toString",{value:function(){return i.substring(c.start,c.end)},configurable:!0}),r):N(c,h,e)}function bi(t,n){var s,a,r,i,o,c;return v(this,function(e){switch(e.label){case 0:return[5,b(L(t.superClass,n))];case 1:for(s=e.sent(),a=t.body.body,r=function(t){var r,i;return v(this,function(e){switch(e.label){case 0:r=0,e.label=1;case 1:return r<a.length?"PropertyDefinition"!==(i=a[r]).type||i.static?[3,3]:[5,b(mr(i,n,{klass:t,superClass:s}))]:[3,4];case 2:e.sent(),e.label=3;case 3:return r++,[3,1];case 4:return[2]}})},i=function(){var t;return v(this,function(e){switch(e.label){case 0:return t=s?te(this,s):this,[5,b(r(t))];case 1:return e.sent(),[2,t]}})},o=0;o<a.length;o++)if("MethodDefinition"===(c=a[o]).type&&"constructor"===c.kind){i=R(c.value,n,{superClass:s,construct:r});break}return s&&ee(i,s),[5,b(dr(t.body,n,{klass:i,superClass:s}))];case 2:return e.sent(),f(i,vt,{value:!0}),f(i,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,i]}})}function xi(t,r,i){var n,s,a,o;return v(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new P(r),"VariableDeclaration"!==s.type?[3,2]:[5,b(lr(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,b(wr(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,b(B(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,b(Gt(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,b(L(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function wi(e){void 0===e&&(e={}),this.options={ecmaVersion:"latest"},this.scope=new P(null,!0),this.exports={};var t=e.ecmaVer,t=void 0===t?"latest":t,r=e.sandBox,r=void 0===r||r,e=e.sourceType,e=void 0===e?"script":e;if("number"==typeof t&&(t-=t<2015?0:2009),"latest"!==t&&3!==t&&(t<5||15<t))throw new Error("unsupported ecmaVer");this.options.ecmaVersion=t,this.options.sourceType=e,r?(r=m($(((t={})[oe]=i,t)),ne),this.scope.let("globalThis",r),this.scope.let("window",r),this.scope.let("self",r),this.scope.let("this",r)):(this.scope.let("globalThis",i),this.scope.let("window",i),this.scope.let("self",i),this.scope.let("this",i)),this.scope.const("module"===e?A:"exports",this.exports={})}return wi.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=H(e),n=0;n<i.length;n++){var s=i[n],a="module"===this.options.sourceType?xt+s:s;this.scope.var(a,e[s])}},wi.prototype.parse=function(e,t){return"function"==typeof t?t(e,m({},this.options)):(t=this.options,l.parse(e,t))},wi.prototype.run=function(e){var t="string"==typeof e?this.parse(e):e,r=this.scope;"module"===this.options.sourceType&&("latest"===this.options.ecmaVersion||13<=this.options.ecmaVersion)?Ct(function(){return v(this,function(e){switch(e.label){case 0:return[5,b(vi(t,r))];case 1:return e.sent(),[5,b(L(t,r))];case 2:return e.sent(),[2]}})}()):(mi(t,r),T(t,r))},wi.version="0.6.1",wi});
|
|
1
|
+
(function(global1,factory){if(typeof module==="object"&&typeof module.exports==="object")factory(exports);else if(typeof define==="function"&&define.amd)define(["exports"],factory);else if(global1=typeof globalThis!=="undefined"?globalThis:global1||self)factory(global1.sval={})})(this,function(exports){"use strict";Object.defineProperty(exports,"__esModule",{value:true});Object.defineProperty(exports,"default",{enumerable:true,get:function(){return Mt}});function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _construct(Parent,args,Class){if(_is_native_reflect_construct()){_construct=Reflect.construct}else{_construct=function construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_set_prototype_of(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterable_to_array(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},g=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return g.next=verb(0),g["throw"]=verb(1),g["return"]=verb(2),typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(g&&(g=0,op[0]&&(_=0)),_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function _ts_values(o){var s=typeof Symbol==="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&i>=o.length)o=void 0;return{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}var mr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return se},get BreakStatement(){return Ga},get CatchClause(){return Fi},get ContinueStatement(){return Ha},get DebuggerStatement(){return Wa},get DoWhileStatement(){return ji},get EmptyStatement(){return qa},get ExpressionStatement(){return $a},get ForInStatement(){return $i},get ForOfStatement(){return qi},get ForStatement(){return Ui},get IfStatement(){return Ri},get LabeledStatement(){return Ka},get ReturnStatement(){return za},get SwitchCase(){return Oi},get SwitchStatement(){return Bi},get ThrowStatement(){return Qa},get TryStatement(){return Di},get WhileStatement(){return Mi},get WithStatement(){return Ni}},Symbol.toStringTag,{value:"Module"})),gr=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return zi},get ClassDeclaration(){return Ya},get ExportAllDeclaration(){return ts},get ExportDefaultDeclaration(){return Ja},get ExportNamedDeclaration(){return es},get FunctionDeclaration(){return Xa},get ImportDeclaration(){return Za},get MethodDefinition(){return Gi},get PropertyDefinition(){return It},get StaticBlock(){return Hi},get VariableDeclaration(){return me},get VariableDeclarator(){return Wi}},Symbol.toStringTag,{value:"Module"})),xr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return ne},get BreakStatement(){return Ts},get CatchClause(){return sr},get ContinueStatement(){return Ns},get DebuggerStatement(){return Ls},get DoWhileStatement(){return or},get EmptyStatement(){return Ps},get ExpressionStatement(){return As},get ForInStatement(){return lr},get ForOfStatement(){return cr},get ForStatement(){return ur},get IfStatement(){return tr},get LabeledStatement(){return Rs},get ReturnStatement(){return Vs},get SwitchCase(){return rr},get SwitchStatement(){return ir},get ThrowStatement(){return Bs},get TryStatement(){return ar},get WhileStatement(){return nr},get WithStatement(){return er}},Symbol.toStringTag,{value:"Module"})),br=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return fr},get ClassDeclaration(){return Ds},get ExportAllDeclaration(){return Us},get ExportDefaultDeclaration(){return Ms},get ExportNamedDeclaration(){return js},get FunctionDeclaration(){return Os},get ImportDeclaration(){return Fs},get MethodDefinition(){return pr},get PropertyDefinition(){return At},get StaticBlock(){return dr},get VariableDeclaration(){return ge},get VariableDeclarator(){return hr}},Symbol.toStringTag,{value:"Module"})),ze=Object.freeze,k=Object.defineProperty,ce=Object.getOwnPropertyDescriptor,vr=Object.prototype.hasOwnProperty;function xt(e,t){return vr.call(e,t)}var bt=Object.getOwnPropertyNames,Tt=Object.setPrototypeOf;function Sr(e,t){Tt?Tt(e,t):e.__proto__=t}var Nt=Object.getPrototypeOf;function jt(e){return Nt?Nt(e):e.__proto__}var wr=Object.getOwnPropertyDescriptor;function Ut(e,t,r){for(;t;){var i=wr(t,r),a=(typeof i==="undefined"?"undefined":_type_of(i))<"u"&&_type_of(i.writable)>"u"&&typeof i[e]=="function"&&i[e];if(a)return a;t=jt(t)}}function $t(e,t){return Ut("get",e,t)}function qt(e,t){return Ut("set",e,t)}var Se=Object.create;function Wt(e,t){Sr(e,t),e.prototype=Se(t.prototype,{constructor:{value:e,writable:!0}})}function Ye(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,jt(e).constructor):t.apply(e,r)}function kr(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)xt(r,i)&&(e[i]=r[i])}return e}var B=Object.assign||kr;var Ge=[],p=Se(null);var qe=function(e){if(!e.Object)throw 0;Ge=bt(p=e).filter(function(t){return["webkitStorageInfo","GLOBAL","root"].indexOf(t)===-1})};try{qe(window)}catch(e){try{qe(self)}catch(e){try{qe(global)}catch(e){try{qe(globalThis)}catch(e){try{p.Object=Object}catch(e){}try{p.Function=Function}catch(e){}try{p.Array=Array}catch(e){}try{p.Number=Number}catch(e){}try{p.parseFloat=parseFloat}catch(e){}try{p.parseInt=parseInt}catch(e){}try{p.Infinity=1/0}catch(e){}try{p.NaN=NaN}catch(e){}try{p.undefined=void 0}catch(e){}try{p.Boolean=Boolean}catch(e){}try{p.String=String}catch(e){}try{p.Symbol=Symbol}catch(e){}try{p.Date=Date}catch(e){}try{p.Promise=Promise}catch(e){}try{p.RegExp=RegExp}catch(e){}try{p.Error=Error}catch(e){}try{p.EvalError=EvalError}catch(e){}try{p.RangeError=RangeError}catch(e){}try{p.ReferenceError=ReferenceError}catch(e){}try{p.SyntaxError=SyntaxError}catch(e){}try{p.TypeError=TypeError}catch(e){}try{p.URIError=URIError}catch(e){}try{p.JSON=JSON}catch(e){}try{p.Math=Math}catch(e){}try{p.console=console}catch(e){}try{p.Intl=Intl}catch(e){}try{p.ArrayBuffer=ArrayBuffer}catch(e){}try{p.Uint8Array=Uint8Array}catch(e){}try{p.Int8Array=Int8Array}catch(e){}try{p.Uint16Array=Uint16Array}catch(e){}try{p.Int16Array=Int16Array}catch(e){}try{p.Uint32Array=Uint32Array}catch(e){}try{p.Int32Array=Int32Array}catch(e){}try{p.Float32Array=Float32Array}catch(e){}try{p.Float64Array=Float64Array}catch(e){}try{p.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{p.DataView=DataView}catch(e){}try{p.Map=Map}catch(e){}try{p.Set=Set}catch(e){}try{p.WeakMap=WeakMap}catch(e){}try{p.WeakSet=WeakSet}catch(e){}try{p.Proxy=Proxy}catch(e){}try{p.Reflect=Reflect}catch(e){}try{p.BigInt=BigInt}catch(e){}try{p.decodeURI=decodeURI}catch(e){}try{p.decodeURIComponent=decodeURIComponent}catch(e){}try{p.encodeURI=encodeURI}catch(e){}try{p.encodeURIComponent=encodeURIComponent}catch(e){}try{p.escape=escape}catch(e){}try{p.unescape=unescape}catch(e){}try{p.eval=eval}catch(e){}try{p.isFinite=isFinite}catch(e){}try{p.isNaN=isNaN}catch(e){}try{p.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{p.Atomics=Atomics}catch(e){}try{p.WebAssembly=WebAssembly}catch(e){}try{p.clearInterval=clearInterval}catch(e){}try{p.clearTimeout=clearTimeout}catch(e){}try{p.setInterval=setInterval}catch(e){}try{p.setTimeout=setTimeout}catch(e){}try{p.crypto=crypto}catch(e){}try{p.URL=URL}catch(e){}Ge=bt(p)}}}}p.Symbol&&(!p.Symbol.iterator&&(p.Symbol.iterator=R("iterator")),!p.Symbol.asyncIterator&&(p.Symbol.asyncIterator=R("asynciterator")));var zt=Se({});for(var e=0;e<Ge.length;e++){var t=Ge[e];try{zt[t]=p[t]}catch(e){}}var Te=R("window");function Er(){return B(Se(_define_property({},Te,p)),zt)}function R(e){return e+Math.random().toString(36).substring(2)}function Cr(e){var t;if(typeof Symbol=="function"&&(t=e[Symbol.asyncIterator],!t&&(t=e[Symbol.iterator])),t)return t.call(e);if(typeof e.next=="function")return e;{var r=0;return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}}var _r=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,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,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Gt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,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,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,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,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Ir="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Ht="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ot={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"},ut="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",Ar={5:ut,"5module":ut+" export import",6:ut+" const class extends export import super"},Pr=/^in(stanceof)?$/,Lr=new RegExp("["+Ht+"]"),Vr=new RegExp("["+Ht+Ir+"]");function ft(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function ie(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Lr.test(String.fromCharCode(e)):t===!1?!1:ft(e,Gt)}function we(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Vr.test(String.fromCharCode(e)):t===!1?!1:ft(e,Gt)||ft(e,_r)}var w=function w(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function q(e,t){return new w(e,{beforeExpr:!0,binop:t})}var W={beforeExpr:!0},D={startsExpr:!0},vt={};function S(e,t){return t===void 0&&(t={}),t.keyword=e,vt[e]=new w(e,t)}var o={num:new w("num",D),regexp:new w("regexp",D),string:new w("string",D),name:new w("name",D),privateId:new w("privateId",D),eof:new w("eof"),bracketL:new w("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new w("]"),braceL:new w("{",{beforeExpr:!0,startsExpr:!0}),braceR:new w("}"),parenL:new w("(",{beforeExpr:!0,startsExpr:!0}),parenR:new w(")"),comma:new w(",",W),semi:new w(";",W),colon:new w(":",W),dot:new w("."),question:new w("?",W),questionDot:new w("?."),arrow:new w("=>",W),template:new w("template"),invalidTemplate:new w("invalidTemplate"),ellipsis:new w("...",W),backQuote:new w("`",D),dollarBraceL:new w("${",{beforeExpr:!0,startsExpr:!0}),eq:new w("=",{beforeExpr:!0,isAssign:!0}),assign:new w("_=",{beforeExpr:!0,isAssign:!0}),incDec:new w("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new w("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:q("||",1),logicalAND:q("&&",2),bitwiseOR:q("|",3),bitwiseXOR:q("^",4),bitwiseAND:q("&",5),equality:q("==/!=/===/!==",6),relational:q("</>/<=/>=",7),bitShift:q("<</>>/>>>",8),plusMin:new w("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:q("%",10),star:q("*",10),slash:q("/",10),starstar:new w("**",{beforeExpr:!0}),coalesce:q("??",1),_break:S("break"),_case:S("case",W),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",W),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",W),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",D),_if:S("if"),_return:S("return",W),_switch:S("switch"),_throw:S("throw",W),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:!0}),_with:S("with"),_new:S("new",{beforeExpr:!0,startsExpr:!0}),_this:S("this",D),_super:S("super",D),_class:S("class",D),_extends:S("extends",W),_export:S("export"),_import:S("import",D),_null:S("null",D),_true:S("true",D),_false:S("false",D),_in:S("in",{beforeExpr:!0,binop:7}),_instanceof:S("instanceof",{beforeExpr:!0,binop:7}),_typeof:S("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:S("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:S("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},H=/\r\n?|\n|\u2028|\u2029/,Tr=new RegExp(H.source,"g");function _e(e){return e===10||e===13||e===8232||e===8233}function Kt(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var a=e.charCodeAt(i);if(_e(a))return i<r-1&&a===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var Qt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,z=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Xt=Object.prototype,Nr=Xt.hasOwnProperty,Rr=Xt.toString,Ie=Object.hasOwn||function(e,t){return Nr.call(e,t)},Rt=Array.isArray||function(e){return Rr.call(e)==="[object Array]"},Bt=Object.create(null);function le(e){return Bt[e]||(Bt[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function re(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Br=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Ne=function Ne(t,r){this.line=t,this.column=r};Ne.prototype.offset=function(t){return new Ne(this.line,this.column+t)};var Ze=function Ze(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function Yt(e,t){for(var r=1,i=0;;){var a=Kt(e,i,t);if(a<0)return new Ne(r,t-i);++r,i=a}}var pt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Ot=!1;function Or(e){var t={};for(var r in pt)t[r]=e&&Ie(e,r)?e[r]:pt[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!Ot&&(typeof console==="undefined"?"undefined":_type_of(console))=="object"&&console.warn&&(Ot=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Rt(t.onToken)){var i=t.onToken;t.onToken=function(a){return i.push(a)}}return Rt(t.onComment)&&(t.onComment=Dr(t,t.onComment)),t}function Dr(e,t){return function(r,i,a,s,n,u){var l={type:r?"Block":"Line",value:i,start:a,end:s};e.locations&&(l.loc=new Ze(this,n,u)),e.ranges&&(l.range=[a,s]),t.push(l)}}var Re=1,Ae=2,St=4,Zt=8,wt=16,Jt=32,Je=64,ei=128,xe=256,De=512,et=Re|Ae|xe;function kt(e,t){return Ae|(e?St:0)|(t?Zt:0)}var He=0,Et=1,oe=2,ti=3,ii=4,ri=5,V=function V(t,r,i){this.options=t=Or(t),this.sourceFile=t.sourceFile,this.keywords=le(Ar[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=ot[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=le(a);var s=(a?a+" ":"")+ot.strict;this.reservedWordsStrict=le(s),this.reservedWordsStrictBind=le(s+" "+ot.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(H).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.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=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Re),this.regexpState=null,this.privateNameStack=[]},Z={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};V.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)};Z.inFunction.get=function(){return(this.currentVarScope().flags&Ae)>0};Z.inGenerator.get=function(){return(this.currentVarScope().flags&Zt)>0};Z.inAsync.get=function(){return(this.currentVarScope().flags&St)>0};Z.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(xe|De))return!1;if(r&Ae)return(r&St)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Z.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Je)>0||this.options.allowSuperOutsideMethod};Z.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ei)>0};Z.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Z.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(xe|De)||r&Ae&&!(r&wt))return!0}return!1};Z.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&xe)>0};V.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,a=0;a<t.length;a++)i=t[a](i);return i};V.parse=function(t,r){return new this(r,t).parse()};V.parseExpressionAt=function(t,r,i){var a=new this(i,t,r);return a.nextToken(),a.parseExpression()};V.tokenizer=function(t,r){return new this(r,t)};Object.defineProperties(V.prototype,Z);var O=V.prototype,Fr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;O.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){z.lastIndex=e,e+=z.exec(this.input)[0].length;var t=Fr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){z.lastIndex=e+t[0].length;var r=z.exec(this.input),i=r.index+r[0].length,a=this.input.charAt(i);return a===";"||a==="}"||H.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,z.lastIndex=e,e+=z.exec(this.input)[0].length,this.input[e]===";"&&e++}};O.eat=function(e){return this.type===e?(this.next(),!0):!1};O.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc};O.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1};O.expectContextual=function(e){this.eatContextual(e)||this.unexpected()};O.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||H.test(this.input.slice(this.lastTokEnd,this.start))};O.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0};O.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()};O.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0};O.expect=function(e){this.eat(e)||this.unexpected()};O.unexpected=function(e){this.raise(e!==null&&e!==void 0?e:this.start,"Unexpected token")};var tt=function tt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};O.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,t?"Assigning to rvalue":"Parenthesized pattern")}};O.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")};O.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")};O.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var g=V.prototype;g.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==o.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,a=Object.keys(this.undefinedExports);i<a.length;i+=1){var s=a[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 Ct={kind:"loop"},Mr={kind:"switch"};g.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;z.lastIndex=this.pos;var t=z.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if(ie(i,!0)){for(var a=r+1;we(i=this.input.charCodeAt(a),!0);)++a;if(i===92||i>55295&&i<56320)return!0;var s=this.input.slice(r,a);if(!Pr.test(s))return!0}return!1};g.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;z.lastIndex=this.pos;var e=z.exec(this.input),t=this.pos+e[0].length,r;return!H.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(we(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))};g.parseStatement=function(e,t,r){var i=this.type,a=this.startNode(),s;switch(this.isLet(e)&&(i=o._var,s="let"),i){case o._break:case o._continue:return this.parseBreakContinueStatement(a,i.keyword);case o._debugger:return this.parseDebuggerStatement(a);case o._do:return this.parseDoStatement(a);case o._for:return this.parseForStatement(a);case o._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case o._class:return e&&this.unexpected(),this.parseClass(a,!0);case o._if:return this.parseIfStatement(a);case o._return:return this.parseReturnStatement(a);case o._switch:return this.parseSwitchStatement(a);case o._throw:return this.parseThrowStatement(a);case o._try:return this.parseTryStatement(a);case o._const:case o._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(a,s);case o._while:return this.parseWhileStatement(a);case o._with:return this.parseWithStatement(a);case o.braceL:return this.parseBlock(!0,a);case o.semi:return this.parseEmptyStatement(a);case o._export:case o._import:if(this.options.ecmaVersion>10&&i===o._import){z.lastIndex=this.pos;var n=z.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(a,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'")),i===o._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,h=this.parseExpression();return i===o.name&&h.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(a,c,h,e):this.parseExpressionStatement(a,h)}};g.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?e.label=null:this.type!==o.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var a=this.labels[i];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")};g.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};g.parseDoStatement=function(e){return this.next(),this.labels.push(Ct),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")};g.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ct),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===o._var||this.type===o._const||r){var i=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(i,!0,a),this.finishNode(i,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._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=this.isContextual("let"),n=!1,u=this.containsEsc,l=new tt,c=this.start,h=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===o._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(h.start===c&&!u&&h.type==="Identifier"&&h.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),s&&n&&this.raise(h.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(h,!1,l),this.checkLValPattern(h),this.parseForIn(e,h)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,h))};g.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ve|(r?0:dt),!1,t)};g.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};g.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")};g.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Mr),this.enterScope(0);for(var t,r=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var i=this.type===o._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(o.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")};g.parseThrowStatement=function(e){return this.next(),H.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 jr=[];g.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?Jt:0),this.checkLValPattern(e,t?ii:oe),this.expect(o.parenR),e};g.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();this.next(),this.eat(o.parenL)?t.param=this.parseCatchClauseParam():(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(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")};g.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")};g.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ct),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};g.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")};g.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};g.parseLabeledStatement=function(e,t,r,i){for(var a=0,s=this.labels;a<s.length;a+=1){var n=s[a];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")};g.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")};g.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(o.braceL),e&&this.enterScope(0);this.type!==o.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")};g.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};g.parseForIn=function(e,t){var r=this.type===o._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")};g.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var a=this.startNode();if(this.parseVarId(a,r),this.eat(o.eq)?a.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&a.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):a.init=null,e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(o.comma))break}return e};g.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Et:oe,!1)};var Ve=1,dt=2,ai=4;g.parseFunction=function(e,t,r,i,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===o.star&&t&dt&&this.unexpected(),e.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ve&&(e.id=t&ai&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&dt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Et:oe:ti));var s=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(e.async,e.generator)),t&Ve||(e.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,a),this.yieldPos=s,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Ve?"FunctionDeclaration":"FunctionExpression")};g.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};g.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),a=this.startNode(),s=!1;for(a.body=[],this.expect(o.braceL);this.type!==o.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(a.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(s&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),s=!0):n.key&&n.key.type==="PrivateIdentifier"&&Ur(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")};g.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",a=!1,s=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===o.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon()?s=!0:i="async"),!i&&(t>=9||!s)&&this.eat(o.star)&&(a=!0),!i&&!s&&!a){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=l:i=l)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===o.parenL||n!=="method"||a||s){var c=!r.static&&Ke(r,"constructor"),h=c&&e;c&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":n,this.parseClassMethod(r,a,s,h)}else this.parseClassField(r);return r};g.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword};g.parseClassElementName=function(e){this.type===o.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)};g.parseClassMethod=function(e,t,r,i){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),r&&this.raise(a.start,"Constructor can't be an async method")):e.static&&Ke(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")};g.parseClassField=function(e){return Ke(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Ke(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(o.eq)?(this.enterScope(De|Je),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")};g.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(xe|Je);this.type!==o.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")};g.parseClassId=function(e,t){this.type===o.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,oe,!1)):(t===!0&&this.unexpected(),e.id=null)};g.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null};g.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};g.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,a=i===0?null:this.privateNameStack[i-1],s=0;s<r.length;++s){var n=r[s];Ie(t,n.name)||(a?a.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function Ur(e,t){var r=t.key.name,i=e[r],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),i==="iget"&&a==="iset"||i==="iset"&&a==="iget"||i==="sget"&&a==="sset"||i==="sset"&&a==="sget"?(e[r]="true",!1):i?!0:(e[r]=a,!1)}function Ke(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}g.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};g.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var a=i[r];this.checkUnreserved(a.local),this.checkLocalExport(a.local),a.local.type==="Literal"&&this.raise(a.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};g.parseExportDeclaration=function(e){return this.parseStatement(null)};g.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ve|ai,!1,e)}else if(this.type===o._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}};g.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ie(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)};g.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,a=t.properties;i<a.length;i+=1){var s=a[i];this.checkPatternExport(e,s)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)};g.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var a=i[r];this.checkPatternExport(e,a.id)}};g.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};g.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")};g.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;t.push(this.parseExportSpecifier(e))}return t};g.parseImport=function(e){return this.next(),this.type===o.string?(e.specifiers=jr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")};g.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportSpecifier")};g.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportDefaultSpecifier")};g.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportNamespaceSpecifier")};g.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma)))return e;if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(o.braceL);!this.eat(o.braceR);){if(t)t=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;e.push(this.parseImportSpecifier())}return e};g.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);for(var t={},r=!0;!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var i=this.parseImportAttribute(),a=i.key.type==="Identifier"?i.key.name:i.key.value;Ie(t,a)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+a+"'"),t[a]=!0,e.push(i)}return e};g.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};g.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);return Br.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)};g.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)};g.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var K=V.prototype;K.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,a=e.properties;i<a.length;i+=1){var s=a[i];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&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),e.argument.type==="AssignmentPattern"&&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);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e};K.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var a=e[i];a&&this.toAssignable(a,t)}if(r){var s=e[r-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e};K.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")};K.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};K.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()};K.parseBindingList=function(e,t,r,i){for(var a=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(o.comma),t&&this.type===o.comma)a.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===o.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),a.push(n),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else a.push(this.parseAssignableListItem(i))}return a};K.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t};K.parseBindingListItem=function(e){return e};K.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")};K.checkLValSimple=function(e,t,r){t===void 0&&(t=He);var i=t!==He;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===oe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ie(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==ri&&this.declareName(e.name,t,e.start));break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":i&&this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":return i&&this.raiseRecoverable(e.start,"Binding parenthesized expression"),this.checkLValSimple(e.expression,t,r);default:this.raise(e.start,(i?"Binding":"Assigning to")+" rvalue")}};K.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=He),e.type){case"ObjectPattern":for(var i=0,a=e.properties;i<a.length;i+=1){var s=a[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}};K.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=He),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var Q=function Q(t,r,i,a,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=a,this.generator=!!s},A={b_stat:new Q("{",!1),b_expr:new Q("{",!0),b_tmpl:new Q("${",!1),p_stat:new Q("(",!1),p_expr:new Q("(",!0),q_tmpl:new Q("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new Q("function",!1),f_expr:new Q("function",!0),f_expr_gen:new Q("function",!0,!1,null,!0),f_gen:new Q("function",!1,!1,null,!0)},Pe=V.prototype;Pe.initialContext=function(){return[A.b_stat]};Pe.curContext=function(){return this.context[this.context.length-1]};Pe.braceIsBlock=function(e){var t=this.curContext();return t===A.f_expr||t===A.f_stat?!0:e===o.colon&&(t===A.b_stat||t===A.b_expr)?!t.isExpr:e===o._return||e===o.name&&this.exprAllowed?H.test(this.input.slice(this.lastTokEnd,this.start)):e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow?!0:e===o.braceL?t===A.b_stat:e===o._var||e===o._const||e===o.name?!1:!this.exprAllowed};Pe.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1};Pe.updateContext=function(e){var t,r=this.type;r.keyword&&e===o.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr};Pe.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)};o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===A.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr};o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?A.b_stat:A.b_expr),this.exprAllowed=!0};o.dollarBraceL.updateContext=function(){this.context.push(A.b_tmpl),this.exprAllowed=!0};o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?A.p_stat:A.p_expr),this.exprAllowed=!0};o.incDec.updateContext=function(){};o._function.updateContext=o._class.updateContext=function(e){e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==A.p_stat)&&!(e===o._return&&H.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===A.b_stat)?this.context.push(A.f_expr):this.context.push(A.f_stat),this.exprAllowed=!1};o.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0};o.backQuote.updateContext=function(){this.curContext()===A.q_tmpl?this.context.pop():this.context.push(A.q_tmpl),this.exprAllowed=!1};o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;this.context[t]===A.f_expr?this.context[t]=A.f_expr_gen:this.context[t]=A.f_gen}this.exprAllowed=!0};o.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=V.prototype;x.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,a;switch(i.type){case"Identifier":a=i.name;break;case"Literal":a=String(i.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&s==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var n=t[a];if(n){var u;s==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[s],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[a]={init:!1,get:!1,set:!1};n[s]=!0}};x.parseExpression=function(e,t){var r=this.start,i=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===o.comma){var s=this.startNodeAt(r,i);for(s.expressions=[a];this.eat(o.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return a};x.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,a=-1,s=-1,n=-1;t?(a=t.parenthesizedAssign,s=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new tt,i=!0);var u=this.start,l=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,l)),this.type.isAssign){var h=this.startNodeAt(u,l);return h.operator=this.value,this.type===o.eq&&(c=this.toAssignable(c,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===o.eq?this.checkLValPattern(c):this.checkLValSimple(c),h.left=c,this.next(),h.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(h,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),s>-1&&(t.trailingComma=s),c};x.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(o.question)){var s=this.startNodeAt(r,i);return s.test=a,s.consequent=this.parseMaybeAssign(),this.expect(o.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return a};x.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,i,-1,e)};x.parseExprOp=function(e,t,r,i,a){var s=this.type.binop;if(s!=null&&(!a||this.type!==o._in)&&s>i){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;u&&(s=o.logicalAND.binop);var l=this.value;this.next();var c=this.start,h=this.startLoc,f=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),c,h,s,a),v=this.buildBinary(t,r,e,f,l,n||u);return(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(v,t,r,i,a)}return e};x.buildBinary=function(e,t,r,i,a,s){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=a,n.right=i,this.finishNode(n,s?"LogicalExpression":"BinaryExpression")};x.parseMaybeUnary=function(e,t,r,i){var a=this.start,s=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&si(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&yt(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==o._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,s);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,s,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function si(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&si(e.expression)}function yt(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&yt(e.expression)||e.type==="ParenthesizedExpression"&&yt(e.expression)}x.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var s=this.parseSubscripts(a,r,i,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s};x.parseSubscripts=function(e,t,r,i,a){for(var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,s,n,a);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,r);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}};x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)};x.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)};x.parseSubscript=function(e,t,r,i,a,s,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var h=this.startNodeAt(t,r);h.object=e,c?(h.property=this.parseExpression(),this.expect(o.bracketR)):this.type===o.privateId&&e.type!=="Super"?h.property=this.parsePrivateIdent():h.property=this.parseIdent(this.options.allowReserved!=="never"),h.computed=!!c,u&&(h.optional=l),e=this.finishNode(h,"MemberExpression")}else if(!i&&this.eat(o.parenL)){var f=new tt,v=this.yieldPos,C=this.awaitPos,L=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var $=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,f);if(a&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=v,this.awaitPos=C,this.awaitIdentPos=L,this.parseSubscriptAsyncArrow(t,r,$,n);this.checkExpressionErrors(f,!0),this.yieldPos=v||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=L||this.awaitIdentPos;var ue=this.startNodeAt(t,r);ue.callee=e,ue.arguments=$,u&&(ue.optional=l),e=this.finishNode(ue,"CallExpression")}else if(this.type===o.backQuote){(l||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var ve=this.startNodeAt(t,r);ve.tag=e,ve.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(ve,"TaggedTemplateExpression")}return e};x.parseExprAtom=function(e,t,r){this.type===o.slash&&this.readRegexp();var i,a=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(i,"Super");case o._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case o.name:var s=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(A.f_expr),this.parseFunction(this.startNodeAt(s,n),0,!1,!0,t);if(a&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(s,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,n),[l],!0,t)}return l;case o.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return i=this.startNode(),i.value=this.type===o._null?null:this.type===o._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case o.parenL:var h=this.start,f=this.parseParenAndDistinguishExpression(a,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(f)&&(e.parenthesizedAssign=h),e.parenthesizedBind<0&&(e.parenthesizedBind=h)),f;case o.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case o.braceL:return this.overrideContext(A.b_expr),this.parseObj(!1,e);case o._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}};x.parseExprAtomDefault=function(){this.unexpected()};x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);if(this.type===o.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()};x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(o.parenR)?e.options=null:(this.expect(o.comma),this.afterTrailingComma(o.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(o.parenR)||(this.expect(o.comma),this.afterTrailingComma(o.parenR)||this.unexpected())));else if(!this.eat(o.parenR)){var t=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")};x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")};x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")};x.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e};x.shouldParseArrow=function(e){return!this.canInsertSemicolon()};x.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,a,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,h=!1,f=new tt,v=this.yieldPos,C=this.awaitPos,L;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(c?c=!1:this.expect(o.comma),s&&this.afterTrailingComma(o.parenR,!0)){h=!0;break}else if(this.type===o.ellipsis){L=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,f,this.parseParenItem));var $=this.lastTokEnd,ue=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(f,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=v,this.awaitPos=C,this.parseParenArrowList(r,i,l,t);(!l.length||h)&&this.unexpected(this.lastTokStart),L&&this.unexpected(L),this.checkExpressionErrors(f,!0),this.yieldPos=v||this.yieldPos,this.awaitPos=C||this.awaitPos,l.length>1?(a=this.startNodeAt(n,u),a.expressions=l,this.finishNodeAt(a,"SequenceExpression",$,ue)):a=l[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var ve=this.startNodeAt(r,i);return ve.expression=a,this.finishNode(ve,"ParenthesizedExpression")}else return a};x.parseParenItem=function(e){return e};x.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var $r=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,a=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,a,!0,!1),this.eat(o.parenL)?e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):e.arguments=$r,this.finishNode(e,"NewExpression")};x.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===o.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),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===o.backQuote,this.finishNode(r,"TemplateElement")};x.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(o.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")};x.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!H.test(this.input.slice(this.lastTokEnd,this.start))};x.parseObj=function(e,t){var r=this.startNode(),i=!0,a={};for(r.properties=[],this.next();!this.eat(o.braceR);){if(i)i=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,a,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")};x.parseProperty=function(e,t){var r=this.startNode(),i,a,s,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,n=this.startLoc),e||(i=this.eat(o.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(r)):a=!1,this.parsePropertyValue(r,e,i,a,s,n,t,u),this.finishNode(r,"Property")};x.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};x.parsePropertyValue=function(e,t,r,i,a,s,n,u){(r||i)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===o.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),t?e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key)):this.type===o.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()};x.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;e.computed=!1}return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};x.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)};x.parseMethod=function(e,t,r){var i=this.startNode(),a=this.yieldPos,s=this.awaitPos,n=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(kt(t,i.generator)|Je|(r?ei:0)),this.expect(o.parenL),i.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")};x.parseArrowExpression=function(e,t,r,i){var a=this.yieldPos,s=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(kt(r,!1)|wt),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,i),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")};x.parseFunctionBody=function(e,t,r,i){var a=t&&this.type!==o.braceL,s=this.strict,n=!1;if(a)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!s&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,ri),e.body=this.parseBlock(!1,void 0,n&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()};x.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0};x.checkParams=function(e,t){for(var r=Object.create(null),i=0,a=e.params;i<a.length;i+=1){var s=a[i];this.checkLValInnerPattern(s,Et,t?null:r)}};x.parseExprList=function(e,t,r,i){for(var a=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(o.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===o.comma?n=null:this.type===o.ellipsis?(n=this.parseSpread(i),i&&this.type===o.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),a.push(n)}return a};x.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&et)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}};x.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t};x.parseIdentNode=function(){var e=this.startNode();return this.type===o.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=o.name):this.unexpected(),e};x.parsePrivateIdent=function(){var e=this.startNode();return this.type===o.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e};x.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")};x.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var Qe=V.prototype;Qe.raise=function(e,t){var r=Yt(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i};Qe.raiseRecoverable=Qe.raise;Qe.curPosition=function(){if(this.options.locations)return new Ne(this.curLine,this.pos-this.lineStart)};var pe=V.prototype,qr=function qr(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};pe.enterScope=function(e){this.scopeStack.push(new qr(e))};pe.exitScope=function(){this.scopeStack.pop()};pe.treatFunctionsAsVarInScope=function(e){return e.flags&Ae||!this.inModule&&e.flags&Re};pe.declareName=function(e,t,r){var i=!1;if(t===oe){var a=this.currentScope();i=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&Re&&delete this.undefinedExports[e]}else if(t===ii){var s=this.currentScope();s.lexical.push(e)}else if(t===ti){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&Jt&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Re&&delete this.undefinedExports[e],l.flags&et)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")};pe.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)};pe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};pe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(et|De|xe))return t}};pe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(et|De|xe)&&!(t.flags&wt))return t}};var it=function it(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Ze(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Fe=V.prototype;Fe.startNode=function(){return new it(this,this.start,this.startLoc)};Fe.startNodeAt=function(e,t){return new it(this,e,t)};function ni(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}Fe.finishNode=function(e,t){return ni.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)};Fe.finishNodeAt=function(e,t,r,i){return ni.call(this,e,t,r,i)};Fe.copyNode=function(e){var t=new it(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Wr="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",oi="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",ui=oi+" Extended_Pictographic",li=ui,ci=li+" EBase EComp EMod EPres ExtPict",hi=ci,zr=hi,Gr={9:oi,10:ui,11:li,12:ci,13:hi,14:zr},Hr="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Kr={9:"",10:"",11:"",12:"",13:"",14:Hr},Dt="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",fi="Adlam Adlm 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 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",pi=fi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",di=pi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",yi=di+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",mi=yi+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Qr=mi+" "+Wr,Xr={9:fi,10:pi,11:di,12:yi,13:mi,14:Qr},gi={};function Yr(e){var t=gi[e]={binary:le(Gr[e]+" "+Dt),binaryOfStrings:le(Kr[e]),nonBinary:{General_Category:le(Dt),Script:le(Xr[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}for(var lt=0,Ft=[9,10,11,12,13,14];lt<Ft.length;lt+=1){var Zr=Ft[lt];Yr(Zr)}var m=V.prototype,Xe=function Xe(t,r){this.parent=t,this.base=r||this};Xe.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1};Xe.prototype.sibling=function(){return new Xe(this.parent,this.base)};var J=function J(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=gi[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};J.prototype.reset=function(t,r,i){var a=i.indexOf("v")!==-1,s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,a&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)};J.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)};J.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,a=i.length;if(t>=a)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=a)return s;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(s<<10)+n-0x35fdc00:s};J.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,a=i.length;if(t>=a)return a;var s=i.charCodeAt(t),n;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=a||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2};J.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)};J.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)};J.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)};J.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1};J.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,a=0,s=t;a<s.length;a+=1){var n=s[a],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0};m.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,a=!1,s=0;s<r.length;s++){var n=r.charAt(s);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(a=!0)}this.options.ecmaVersion>=15&&i&&a&&this.raise(e.start,"Invalid regular expression flag")};function Jr(e){for(var t in e)return!0;return!1}m.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&Jr(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))};m.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,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){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}};m.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new Xe(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")};m.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););};m.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):!1};m.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};m.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1};m.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)};m.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1};m.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)};m.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1};m.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var a=0;a<r.length;a++){var s=r.charAt(a);r.indexOf(s,a+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var l=n.charAt(u);(n.indexOf(l,u+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1};m.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1};m.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&ea(r);)t+=re(r),e.advance();return t};function ea(e){return e===105||e===109||e===115}m.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)};m.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1};m.regexp_eatSyntaxCharacter=function(e){var t=e.current();return xi(t)?(e.lastIntValue=t,e.advance(),!0):!1};function xi(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}m.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!xi(r);)e.advance();return e.pos!==t};m.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1};m.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,a=r;i<a.length;i+=1){var s=a[i];s.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}};m.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};m.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=re(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=re(e.lastIntValue);return!0}return!1};m.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ta(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ta(e){return ie(e,!0)||e===36||e===95}m.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ia(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ia(e){return we(e,!0)||e===36||e===95||e===8204||e===8205}m.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)};m.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};m.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};m.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,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)};m.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1};m.regexp_eatZero=function(e){return e.current()===48&&!rt(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1};m.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1};m.regexp_eatControlLetter=function(e){var t=e.current();return bi(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function bi(e){return e>=65&&e<=90||e>=97&&e<=122}m.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(i&&a>=55296&&a<=56319){var s=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=(a-55296)*1024+(n-56320)+65536,!0}e.pos=s,e.lastIntValue=a}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&ra(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function ra(e){return e>=0&&e<=1114111}m.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1};m.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};var vi=0,ae=1,G=2;m.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(aa(t))return e.lastIntValue=-1,e.advance(),ae;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===G&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return vi};function aa(e){return e===100||e===68||e===115||e===83||e===119||e===87}m.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)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),ae}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a)}return vi};m.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ie(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")};m.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ae;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return G;e.raise("Invalid property name")};m.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Si(t=e.current());)e.lastStringValue+=re(t),e.advance();return e.lastStringValue!==""};function Si(e){return bi(e)||e===95}m.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";sa(t=e.current());)e.lastStringValue+=re(t),e.advance();return e.lastStringValue!==""};function sa(e){return Si(e)||rt(e)}m.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)};m.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===G&&e.raise("Negated character class may contain strings"),!0}return!1};m.regexp_classContents=function(e){return e.current()===93?ae:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ae)};m.regexp_nonEmptyClassRanges=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&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}};m.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();(r===99||Ei(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1};m.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)};m.regexp_classSetExpression=function(e){var t=ae,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===G&&(t=G);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==G&&(t=ae);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===G&&(t=G)}};m.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1};m.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ae:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)};m.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===G&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var a=this.regexp_eatCharacterClassEscape(e);if(a)return a;e.pos=t}return null};m.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null};m.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===G&&(t=G);return t};m.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ae:G};m.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&na(r)||oa(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function na(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function oa(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}m.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return ua(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ua(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}m.regexp_eatClassControlLetter=function(e){var t=e.current();return rt(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1};m.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};m.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;rt(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function rt(e){return e>=48&&e<=57}m.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;wi(r=e.current());)e.lastIntValue=16*e.lastIntValue+ki(r),e.advance();return e.pos!==t};function wi(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function ki(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}m.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1};m.regexp_eatOctalDigit=function(e){var t=e.current();return Ei(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ei(e){return e>=48&&e<=55}m.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var a=e.current();if(!wi(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+ki(a),e.advance()}return!0};var _t=function _t(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Ze(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=V.prototype;b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new _t(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};b.getToken=function(){return this.next(),new _t(this)};(typeof Symbol==="undefined"?"undefined":_type_of(Symbol))<"u"&&(b[Symbol.iterator]=function(){var e=this;return{next:function next(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}});b.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())};b.readToken=function(e){return ie(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)};b.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00};b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,a=t;(i=Kt(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())};b.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())};b.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:this.input.charCodeAt(this.pos+1)===10&&++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&&Qt.test(String.fromCharCode(e)))++this.pos;else break e}}};b.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)};b.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&&e===46&&t===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))};b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)};b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=o.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(o.assign,r+1):this.finishOp(i,r)};b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}return t===61?this.finishOp(o.assign,2):this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)};b.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)};b.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||H.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):t===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)};b.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(o.assign,r+1):this.finishOp(o.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(o.relational,r))};b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(e===61?o.eq:o.prefix,1)};b.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(o.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)};b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),ie(t,!0)||t===92))return this.finishToken(o.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+re(t)+"'")};b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)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 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+re(e)+"'")};b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)};b.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(H.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 a=this.input.slice(r,this.pos);++this.pos;var s=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(s);var u=this.regexpState||(this.regexpState=new J(this));u.reset(r,a,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(a,n)}catch(e){}return this.finishToken(o.regexp,{pattern:a,flags:n,value:l})};b.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,n=0,u=0,l=0,c=t!==null&&t!==void 0?t:1/0;l<c;++l,++this.pos){var h=this.input.charCodeAt(this.pos),f=void 0;if(i&&h===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=h;continue}if(h>=97?f=h-97+10:h>=65?f=h-65+10:h>=48&&h<=57?f=h-48:f=1/0,f>=e)break;u=h,n=n*e+f}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:n};function la(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ci(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}b.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Ci(this.input.slice(t,this.pos)),++this.pos):ie(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,r)};b.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var a=Ci(this.input.slice(t,this.pos));return++this.pos,ie(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),ie(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=la(this.input.slice(t,this.pos),r);return this.finishToken(o.num,s)};b.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t};b.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;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(_e(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(o.string,t)};var _i={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===_i)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};b.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw _i;this.raise(e,t)};b.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(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(o.template,e));if(r===92)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:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}};b.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(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]==="\n"&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};b.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 re(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(i,8);return a>255&&(i=i.slice(0,-1),a=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return _e(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}};b.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r};b.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(we(a,i))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?ie:we)(n,i)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=re(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)};b.readWord=function(){var e=this.readWord1(),t=o.name;return this.keywords.test(e)&&(t=vt[e]),this.finishToken(t,e)};var ca="8.14.1";V.acorn={Parser:V,version:ca,defaultOptions:pt,Position:Ne,SourceLocation:Ze,getLineInfo:Yt,Node:it,TokenType:w,tokTypes:o,keywordTypes:vt,TokContext:Q,tokContexts:A,isIdentifierChar:we,isIdentifierStart:ie,Token:_t,isNewLine:_e,lineBreak:H,lineBreakG:Tr,nonASCIIwhitespace:Qt};function ha(e,t){return V.parse(e,t)}var ye={RES:void 0},E={RES:void 0},_={LABEL:void 0},I={LABEL:void 0},at=R("super"),he=R("supercall"),st=R("noctor"),ke=R("clsctor"),nt=R("newtarget"),T=R("private"),N=R("noinit"),F=R("deadzone"),be=R("import"),U=R("exports");var We=/*#__PURE__*/function(){"use strict";function We(t,r){_class_call_check(this,We);this.kind=t,this.value=r}_create_class(We,[{key:"get",value:function get(){return this.value}},{key:"set",value:function set(t){if(this.kind==="const")throw new TypeError("Assignment to constant variable");return this.value=t}}]);return We}();var fe=/*#__PURE__*/function(){"use strict";function fe(t,r){_class_call_check(this,fe);this.object=t,this.property=r}_create_class(fe,[{key:"get",value:function get(){return this.object[this.property]}},{key:"set",value:function set(t){return this.object[this.property]=t,!0}},{key:"del",value:function del(){return delete this.object[this.property]}}]);return fe}();var P=/*#__PURE__*/function(){"use strict";function P(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_class_call_check(this,P);this.context=Se(null),this.withContext=Se(null),this.parent=t,this.isolated=r}_create_class(P,[{key:"global",value:function global1(){var t=this;for(;t.parent;)t=t.parent;return t}},{key:"find",value:function find(t){if(this.context[t])return this.context[t];if(t in this.withContext)return new fe(this.withContext,t);if(this.parent)return this.parent.find(t);{var r=this.global().find("window").get();return t in r?new fe(r,t):null}}},{key:"var",value:function _var(t,r){var i=this;for(;i.parent&&!i.isolated;)i=i.parent;var a=i.context[t];if(!a)i.context[t]=new We("var",r===N?void 0:r);else if(a.kind==="var")r!==N&&a.set(r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"));if(!i.parent){var s=i.find("window").get();r!==N&&k(s,t,{value:r,writable:!0,enumerable:!0})}}},{key:"let",value:function _let(t,r){var i=this.context[t];if(!i||i.get()===F)this.context[t]=new We("let",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"const",value:function _const(t,r){var i=this.context[t];if(!i||i.get()===F)this.context[t]=new We("const",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"func",value:function func(t,r){var i=this.context[t];if(!i||i.kind==="var")this.context[t]=new We("var",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"with",value:function _with(t){Object.keys(t)&&(this.withContext=t)}}]);return P}();var fa="0.6.4",pa={version:fa};function mt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=t.res,i=t.err,a=t.ret,s=t.fullRet;return new Promise(function(n,u){var l=function l(f){var v;try{v=e.next(f)}catch(C){return u(C)}return h(v),null};var c=function c(f){var v;try{v=e.throw(f)}catch(C){return u(C)}h(v)};var h=function h(f){if(f.done)return n(s?f:f.value);if(f.value!==ye)return n(f);var v=f.value.RES;return(v&&v.then==="function"?v:Promise.resolve(v)).then(l,c)};if("ret"in t)return n(e.return(a));"err"in t?c(i):l(r)})}function Le(e,t){var r,tmp,i,tmp1,a,s,n;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,a=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return[2];s=t.find(e.name);if(s){if(i)return[2,s];{n=s.get();if(n===F)throw new ReferenceError("".concat(e.name," is not defined"));return[2,n]}}else{if(a)throw new ReferenceError("".concat(e.name," is not defined"));return[2]}return[2]})}var da=Object.freeze(Object.defineProperty({__proto__:null,Identifier:Le},Symbol.toStringTag,{value:"Module"}));function Ii(e,t){return _ts_generator(this,function(_state){return[2,e.value]})}var ya=Object.freeze(Object.defineProperty({__proto__:null,Literal:Ii},Symbol.toStringTag,{value:"Module"}));function ma(e,t){var r;return _ts_generator(this,function(_state){r=t.find(he);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})}function ga(e,t){var r,i,a,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=[];i=0;_state.label=1;case 1:if(!(i<e.elements.length))return[3,7];a=e.elements[i];if(!(a.type==="SpreadElement"))return[3,3];_=r.concat;return[5,_ts_values(je(a,t))];case 2:_tmp=r=_.apply(r,[_state.sent()]);return[3,5];case 3:_1=r.push;return[5,_ts_values(d(a,t))];case 4:_tmp=_1.apply(r,[_state.sent()]);_state.label=5;case 5:_tmp;_state.label=6;case 6:i++;return[3,1];case 7:return[2,r]}})}function xa(e,t){var r,i,a,_tmp,s,n,_tmp1,_tmp2,_,u,l,c,c1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r={};i=0;_state.label=1;case 1:if(!(i<e.properties.length))return[3,12];a=e.properties[i];if(!(a.type==="SpreadElement"))return[3,3];_tmp=[r];return[5,_ts_values(je(a,t,{spreadProps:!0}))];case 2:B.apply(void 0,_tmp.concat([_state.sent()]));return[3,11];case 3:s=void 0;n=a.key;if(!a.computed)return[3,5];return[5,_ts_values(d(n,t))];case 4:_tmp1=s=_state.sent();return[3,9];case 5:if(!(n.type==="Identifier"))return[3,6];_tmp2=s=n.name;return[3,8];case 6:_="";return[5,_ts_values(Ii(n))];case 7:_tmp2=s=_+_state.sent();_state.label=8;case 8:_tmp1=_tmp2;_state.label=9;case 9:_tmp1;return[5,_ts_values(d(a.value,t))];case 10:u=_state.sent(),l=a.kind;if(l==="init")r[s]=u;else if(l==="get"){c=ce(r,s);k(r,s,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{c1=ce(r,s);k(r,s,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}_state.label=11;case 11:i++;return[3,1];case 12:return[2,r]}})}function ba(e,t){var r,i;return _ts_generator(this,function(_state){if(e.id&&e.id.name){r=new P(t),i=Y(e,r);return[2,(r.const(e.id.name,i),i)]}else return[2,Y(e,t)];return[2]})}function va(e,t){var r,_,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;_=e.operator;switch(_){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,16]}return[3,20];case 1:return[5,_ts_values(d(r,t))];case 2:return[2,+_state.sent()];case 3:return[5,_ts_values(d(r,t))];case 4:return[2,-_state.sent()];case 5:return[5,_ts_values(d(r,t))];case 6:return[2,!_state.sent()];case 7:return[5,_ts_values(d(r,t))];case 8:return[2,~_state.sent()];case 9:return[5,_ts_values(d(r,t))];case 10:return[2,void _state.sent()];case 11:if(!(r.type==="Identifier"))return[3,13];return[5,_ts_values(Le(r,t,{throwErr:!1}))];case 12:_tmp=_type_of.apply(void 0,[_state.sent()]);return[3,15];case 13:return[5,_ts_values(d(r,t))];case 14:_tmp=_type_of.apply(void 0,[_state.sent()]);_state.label=15;case 15:return[2,_tmp];case 16:if(!(r.type==="MemberExpression"))return[3,18];return[5,_ts_values(Me(r,t,{getVar:!0}))];case 17:return[2,_state.sent().del()];case 18:if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return[5,_ts_values(d(r,t))];case 19:return[2,(_state.sent(),!0)];case 20:throw new SyntaxError("Unexpected token ".concat(e.operator));case 21:return[2]}})}function Sa(e,t){var r,i,a;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Le(r,t,{getVar:!0}))];case 1:i=_state.sent();return[3,5];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(Me(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:a=i.get();if(e.operator==="++")return[2,(i.set(a+1),e.prefix?i.get():a)];if(e.operator==="--")return[2,(i.set(a-1),e.prefix?i.get():a)];throw new SyntaxError("Unexpected token ".concat(e.operator))}})}function wa(e,t){var r,i,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.left.type==="PrivateIdentifier"))return[3,2];r=e.left.name;return[5,_ts_values(d(e.right,t))];case 1:_tmp=(i=_state.sent(),i=i[T]||{});return[3,5];case 2:return[5,_ts_values(d(e.left,t))];case 3:r=_state.sent();return[5,_ts_values(d(e.right,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:switch(_tmp,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,_instanceof(r,i)];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function ka(e,t){var r,i,s,s1,a,_i_get;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.left;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Le(r,t,{getVar:!0,throwErr:!1}))];case 1:if(i=_state.sent(),!i){s=t.global().find("window").get();i=new fe(s,r.name)}return[3,7];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(Me(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,7];case 4:return[5,_ts_values(d(e.right,t))];case 5:s1=_state.sent();return[5,_ts_values(j(r,t,{feed:s1}))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(d(e.right,t))];case 8:a=_state.sent();switch(e.operator){case"=":return[2,(i.set(a),i.get())];case"+=":return[2,(i.set(i.get()+a),i.get())];case"-=":return[2,(i.set(i.get()-a),i.get())];case"*=":return[2,(i.set(i.get()*a),i.get())];case"/=":return[2,(i.set(i.get()/a),i.get())];case"%=":return[2,(i.set(i.get()%a),i.get())];case"**=":return[2,(i.set(Math.pow(i.get(),a)),i.get())];case"<<=":return[2,(i.set(i.get()<<a),i.get())];case">>=":return[2,(i.set(i.get()>>a),i.get())];case">>>=":return[2,(i.set(i.get()>>>a),i.get())];case"|=":return[2,(i.set(i.get()|a),i.get())];case"^=":return[2,(i.set(i.get()^a),i.get())];case"&=":return[2,(i.set(i.get()&a),i.get())];case"??=":;return[2,(i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:a),i.get())];case"&&=":return[2,(i.set(i.get()&&a),i.get())];case"||=":return[2,(i.set(i.get()||a),i.get())];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Ea(e,t){var _,_tmp,_tmp1,_ref,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.operator;switch(_){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,_ts_values(d(e.left,t))];case 2:_tmp=_state.sent();if(_tmp)return[3,4];return[5,_ts_values(d(e.right,t))];case 3:_tmp=_state.sent();_state.label=4;case 4:return[2,_tmp];case 5:return[5,_ts_values(d(e.left,t))];case 6:_tmp1=_state.sent();if(!_tmp1)return[3,8];return[5,_ts_values(d(e.right,t))];case 7:_tmp1=_state.sent();_state.label=8;case 8:return[2,_tmp1];case 9:return[5,_ts_values(d(e.left,t))];case 10:if(!((_ref=_state.sent())!==null&&_ref!==void 0))return[3,11];_tmp2=_ref;return[3,13];case 11:return[5,_ts_values(d(e.right,t))];case 12:_tmp2=_state.sent();_state.label=13;case 13:return[2,_tmp2];case 14:throw new SyntaxError("Unexpected token ".concat(e.operator));case 15:return[2]}})}function Me(e,t){var r,tmp,i,tmp1,a,s,_tmp,n,u,_tmp1,l,c,h,l1,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,a=tmp1===void 0?!1:tmp1;if(!(e.object.type==="Super"))return[3,2];return[5,_ts_values(Pi(e.object,t,{getProto:!0}))];case 1:_tmp=s=_state.sent();return[3,4];case 2:return[5,_ts_values(d(e.object,t))];case 3:_tmp=s=_state.sent();_state.label=4;case 4:if(_tmp,i)return[2,s];u=!1;if(!e.computed)return[3,6];return[5,_ts_values(d(e.property,t))];case 5:_tmp1=n=_state.sent();return[3,7];case 6:_tmp1=e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name;_state.label=7;case 7:if(_tmp1,u&&(s=s[T]),a){l=qt(s,n);if(e.object.type==="Super"&&l){c=t.find("this").get(),h=R(n);return[2,(k(c,h,{set:l}),new fe(c,h))]}else return[2,new fe(s,n)]}else{l1=$t(s,n);if(e.object.type==="Super"&&l1){c1=t.find("this").get();return[2,e.optional&&c1==null?void 0:l1.call(c1)]}else return[2,e.optional&&s==null?void 0:s[n]]}return[2]}})}function Ca(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(d(e.consequent,t))];case 2:_tmp=_state.sent();return[3,5];case 3:return[5,_ts_values(d(e.alternate,t))];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function _a(e,t){var r,i,_$s,n,_tmp,u,l,_$s1,a,_$s2,n1,_tmp1,_,_1,n2,u1,n3;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.callee.type==="MemberExpression"))return[3,5];return[5,_ts_values(Me(e.callee,t,{getObj:!0}))];case 1:if(i=_state.sent(),e.callee.optional&&i==null)return[2];n=!1;if(!e.callee.computed)return[3,3];return[5,_ts_values(d(e.callee.property,t))];case 2:_tmp=_$s=_state.sent();return[3,4];case 3:_tmp=e.callee.property.type==="PrivateIdentifier"?(_$s=e.callee.property.name,n=!0):_$s=e.callee.property.name;_state.label=4;case 4:_tmp;u=i;if(n&&(u=u[T]),e.callee.object.type==="Super"){l=t.find("this").get();r=u[_$s].bind(l)}else r=u[_$s];if(e.optional&&r==null)return[2];if(typeof r!="function")throw new TypeError("".concat(_$s," is not a function"));if(ke in r)throw new TypeError("Class constructor ".concat(_$s," cannot be invoked without 'new'"));return[3,7];case 5:i=t.find("this").get();return[5,_ts_values(d(e.callee,t))];case 6:if(r=_state.sent(),e.optional&&r==null)return[2];if(typeof r!="function"||e.callee.type!=="Super"&&ke in r){;if(e.callee.type==="Identifier")_$s1=e.callee.name;else try{_$s1=JSON.stringify(r)}catch(e){_$s1=""+r}throw typeof r!="function"?new TypeError("".concat(_$s1," is not a function")):new TypeError("Class constructor ".concat(_$s1," cannot be invoked without 'new'"))}_state.label=7;case 7:a=[];_$s2=0;_state.label=8;case 8:if(!(_$s2<e.arguments.length))return[3,14];n1=e.arguments[_$s2];if(!(n1.type==="SpreadElement"))return[3,10];_=a.concat;return[5,_ts_values(je(n1,t))];case 9:_tmp1=a=_.apply(a,[_state.sent()]);return[3,12];case 10:_1=a.push;return[5,_ts_values(d(n1,t))];case 11:_tmp1=_1.apply(a,[_state.sent()]);_state.label=12;case 12:_tmp1;_state.label=13;case 13:_$s2++;return[3,8];case 14:if(!(e.callee.type==="Super"))return[3,16];n2=t.find(he).get();if(n2===!0)throw new ReferenceError("Super constructor may only be called once");u1=Ye(i,r,a);return[5,_ts_values(n2(u1))];case 15:return[2,(_state.sent(),t.find("this").set(u1),t.find(he).set(!0),u1)];case 16:try{return[2,r.apply(i,a)]}catch(s){if(_instanceof(s,TypeError)&&s.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){n3=t.global().find("window").get();if(n3&&n3[Te])return[2,r.apply(n3[Te],a)]}throw s}return[2]}})}function Ia(e,t){var r,a,i,a1,s,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.callee,t))];case 1:r=_state.sent();if(typeof r!="function"){;if(e.callee.type==="Identifier")a=e.callee.name;else try{a=JSON.stringify(r)}catch(e){a=""+r}throw new TypeError("".concat(a," is not a constructor"))}else if(r[st])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));i=[];a1=0;_state.label=2;case 2:if(!(a1<e.arguments.length))return[3,8];s=e.arguments[a1];if(!(s.type==="SpreadElement"))return[3,4];_=i.concat;return[5,_ts_values(je(s,t))];case 3:_tmp=i=_.apply(i,[_state.sent()]);return[3,6];case 4:_1=i.push;return[5,_ts_values(d(s,t))];case 5:_tmp=_1.apply(i,[_state.sent()]);_state.label=6;case 6:_tmp;_state.label=7;case 7:a1++;return[3,2];case 8:return[2,_construct(r,_to_consumable_array(i))]}})}function Aa(e,t){return _ts_generator(this,function(_state){if(e.meta.name==="new"&&e.property.name==="target")return[2,t.find(nt).get()];if(e.meta.name==="import"&&e.property.name==="meta")return[2,{url:""}];return[2]})}function Pa(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=0;_state.label=1;case 1:if(!(i<e.expressions.length))return[3,4];return[5,_ts_values(d(e.expressions[i],t))];case 2:r=_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2,r]}})}function La(e,t){return _ts_generator(this,function(_state){return[2,Y(e,t)]})}function Va(e,t){var r,i,a,s,n,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.quasis.slice(),i=e.expressions.slice();a="";_state.label=1;case 1:if(!(s=r.shift()))return[3,6];return[5,_ts_values(Ai(s))];case 2:a+=_state.sent(),n=i.shift();_tmp=n;if(!_tmp)return[3,4];return[5,_ts_values(d(n,t))];case 3:_tmp=a+=_state.sent();_state.label=4;case 4:_tmp;_state.label=5;case 5:return[3,1];case 6:return[2,a]}})}function Ta(e,t){var r,i,a,s,n,u,l,_;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.tag,t))];case 1:r=_state.sent(),i=e.quasi.quasis,a=i.map(function(l){return l.value.cooked}),s=i.map(function(l){return l.value.raw});k(a,"raw",{value:ze(s)});n=e.quasi.expressions,u=[];if(!n)return[3,5];l=0;_state.label=2;case 2:if(!(l<n.length))return[3,5];_=u.push;return[5,_ts_values(d(n[l],t))];case 3:_.apply(u,[_state.sent()]);_state.label=4;case 4:l++;return[3,2];case 5:return[2,r.apply(void 0,[ze(a)].concat(_to_consumable_array(u)))]}})}function Ai(e,t){return _ts_generator(this,function(_state){return[2,e.value.raw]})}function Na(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.id&&e.id.name))return[3,2];r=new P(t);return[5,_ts_values(Oe(e,r))];case 1:i=_state.sent();return[2,(r.const(e.id.name,i),i)];case 2:return[5,_ts_values(Oe(e,t))];case 3:return[2,_state.sent()];case 4:return[2]}})}function Pi(e,t){var r,tmp,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getProto,i=tmp===void 0?!1:tmp,a=t.find(at).get();return[2,i?a.prototype:a]})}function je(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.argument,t))];case 1:i=_state.sent();if(r.spreadProps)return[2,i];if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,_to_consumable_array(i)]}})}function Ra(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.expression,t))];case 1:return[2,_state.sent()]}})}function Ba(e,t){var r,i,a,s,n;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();return[5,_ts_values(d(e.source,t))];case 1:i=_state.sent(),a=r.find(be+i);if(a){n=a.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}return[2,!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(s)]}})}function Oa(e,t){var r,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:r=_state.sent();if(!e.delegate)return[3,3];return[5,_ts_values(r)];case 2:_tmp=_state.sent();return[3,5];case 3:return[4,r];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Da(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:ye.RES=_state.sent();return[4,ye];case 2:return[2,_state.sent()]}})}var Fa=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:ga,ArrowFunctionExpression:La,AssignmentExpression:ka,AwaitExpression:Da,BinaryExpression:wa,CallExpression:_a,ChainExpression:Ra,ClassExpression:Na,ConditionalExpression:Ca,FunctionExpression:ba,ImportExpression:Ba,LogicalExpression:Ea,MemberExpression:Me,MetaProperty:Aa,NewExpression:Ia,ObjectExpression:xa,SequenceExpression:Pa,SpreadElement:je,Super:Pi,TaggedTemplateExpression:Ta,TemplateElement:Ai,TemplateLiteral:Va,ThisExpression:ma,UnaryExpression:va,UpdateExpression:Sa,YieldExpression:Oa},Symbol.toStringTag,{value:"Module"}));function Li(e,t){var r,tmp,i,tmp1,a,tmp2,s,tmp3,n,u,l,c,h,_tmp,h1,_tmp1,f,_tmp2,h2,f1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];l=0;_state.label=1;case 1:if(!(l<e.properties.length))return[3,18];c=e.properties[l];if(!a)return[3,8];if(!(s||i==="var"))return[3,7];if(!(c.type==="Property"))return[3,5];h=c.value;if(!(h.type==="Identifier"))return[3,2];_tmp=t[i](h.name,s?F:i==="var"?N:void 0);return[3,4];case 2:return[5,_ts_values(j(h,t,{kind:i,hoist:a,onlyBlock:s}))];case 3:_tmp=_state.sent();_state.label=4;case 4:_tmp;return[3,7];case 5:return[5,_ts_values(Ee(c,t,{kind:i,hoist:a,onlyBlock:s}))];case 6:_state.sent();_state.label=7;case 7:return[3,17];case 8:if(!(c.type==="Property"))return[3,15];h1=void 0;if(!c.computed)return[3,10];return[5,_ts_values(d(c.key,t))];case 9:_tmp1=h1=_state.sent();return[3,11];case 10:_tmp1=h1=c.key.name;_state.label=11;case 11:_tmp1,u.push(h1);f=c.value;if(!(f.type==="Identifier"))return[3,12];_tmp2=t[i](f.name,n[h1]);return[3,14];case 12:return[5,_ts_values(j(f,t,{kind:i,feed:n[h1]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,17];case 15:h2=B({},n);for(f1=0;f1<u.length;f1++)delete h2[u[f1]];return[5,_ts_values(Ee(c,t,{kind:i,feed:h2}))];case 16:_state.sent();_state.label=17;case 17:l++;return[3,1];case 18:return[2]}})}function Vi(e,t){var r,i,tmp,a,tmp1,s,tmp2,n,u,l,c,_tmp,_tmp1,h,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];l=0;_state.label=1;case 1:if(!(l<e.elements.length))return[3,16];c=e.elements[l];if(!c)return[3,15];if(!a)return[3,6];_tmp=s||i==="var";if(!_tmp)return[3,5];if(!(c.type==="Identifier"))return[3,2];_tmp1=t[i](c.name,s?F:i==="var"?N:void 0);return[3,4];case 2:return[5,_ts_values(j(c,t,{kind:i,hoist:a,onlyBlock:s}))];case 3:_tmp1=_state.sent();_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;return[3,15];case 6:if(!(c.type==="Identifier"))return[3,10];if(!i)return[3,7];t[i](c.name,n[l]);return[3,9];case 7:return[5,_ts_values(Le(c,t,{getVar:!0}))];case 8:h=_state.sent();h.set(n[l]),u.push(h.get());_state.label=9;case 9:return[3,15];case 10:if(!(c.type==="RestElement"))return[3,12];return[5,_ts_values(Ee(c,t,{kind:i,feed:n.slice(l)}))];case 11:_tmp2=_state.sent();return[3,14];case 12:return[5,_ts_values(j(c,t,{kind:i,feed:n[l]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;_state.label=15;case 15:l++;return[3,1];case 16:if(u.length)return[2,u];return[2]}})}function Ee(e,t){var r,i,tmp,a,tmp1,s,tmp2,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;if(!a)return[3,5];_tmp1=s||i==="var";if(!_tmp1)return[3,4];if(!(u.type==="Identifier"))return[3,1];_tmp2=t[i](u.name,s?F:i==="var"?N:void 0);return[3,3];case 1:return[5,_ts_values(j(u,t,{kind:i,hoist:a,onlyBlock:s}))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;return[3,12];case 5:if(!(u.type==="Identifier"))return[3,9];if(!i)return[3,6];_tmp4=t[i](u.name,n);return[3,8];case 6:return[5,_ts_values(Le(u,t,{getVar:!0}))];case 7:_tmp4=_state.sent().set(n);_state.label=8;case 8:_tmp3=_tmp4;return[3,11];case 9:return[5,_ts_values(j(u,t,{kind:i,feed:n}))];case 10:_tmp3=_state.sent();_state.label=11;case 11:_tmp=_tmp3;_state.label=12;case 12:_tmp;return[2]}})}function Ti(e,t){var r,tmp,i,tmp1,a,tmp2,s,tmp3,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed;if(!(tmp3===void 0))return[3,2];return[5,_ts_values(d(e.right,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=tmp3;_state.label=3;case 3:n=_tmp,u=e.left;if(!a)return[3,8];_tmp2=s||i==="var";if(!_tmp2)return[3,7];if(!(u.type==="Identifier"))return[3,4];_tmp3=t[i](u.name,s?F:i==="var"?N:void 0);return[3,6];case 4:return[5,_ts_values(j(u,t,{kind:i,hoist:a,onlyBlock:s}))];case 5:_tmp3=_state.sent();_state.label=6;case 6:_tmp2=_tmp3;_state.label=7;case 7:_tmp1=_tmp2;return[3,12];case 8:if(!(u.type==="Identifier"))return[3,9];_tmp4=t[i](u.name,n);return[3,11];case 9:return[5,_ts_values(j(u,t,{kind:i,feed:n}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp1=_tmp4;_state.label=12;case 12:_tmp1;return[2]}})}var Ma=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:Vi,AssignmentPattern:Ti,ObjectPattern:Li,RestElement:Ee},Symbol.toStringTag,{value:"Module"}));function ja(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.body.length))return[3,4];return[5,_ts_values(d(e.body[r],t))];case 2:_state.sent();_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}var Ua=Object.freeze(Object.defineProperty({__proto__:null,Program:ja},Symbol.toStringTag,{value:"Module"}));var ct;function d(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e)return[2];ct||(ct=B({},gr,Fa,da,mr,ya,Ma,Ua));r=ct[e.type];if(!r)return[3,2];return[5,_ts_values(r(e,t))];case 1:return[2,_state.sent()];case 2:throw new Error("".concat(e.type," isn't implemented"))}})}function $a(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.expression,t))];case 1:_state.sent();return[2]}})}function se(e,t){var r,tmp,i,tmp1,a,s,_tmp,n,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,a=tmp1===void 0?!1:tmp1,s=i?t:new P(t);_tmp=a;if(_tmp)return[3,2];return[5,_ts_values(Lt(e,s,{onlyBlock:!0}))];case 1:_tmp=_state.sent();_state.label=2;case 2:_tmp;n=0;_state.label=3;case 3:if(!(n<e.body.length))return[3,6];return[5,_ts_values(d(e.body[n],s))];case 4:u=_state.sent();if(u===I){if(u.LABEL&&u.LABEL===r.label)return[3,6];return[2,u]}if(u===_||u===E)return[2,u];_state.label=5;case 5:n++;return[3,3];case 6:return[2]}})}function qa(){return _ts_generator(this,function(_state){return[2]})}function Wa(){return _ts_generator(this,function(_state){debugger;return[2]})}function za(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e.argument)return[3,2];return[5,_ts_values(d(e.argument,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:return[2,(E.RES=_tmp,E)]}})}function Ga(e){var t;return _ts_generator(this,function(_state){return[2,(I.LABEL=(t=e.label)==null?void 0:t.name,I)]})}function Ha(e){var t;return _ts_generator(this,function(_state){return[2,(_.LABEL=(t=e.label)==null?void 0:t.name,_)]})}function Ka(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.label.name;if(!(e.body.type==="WhileStatement"))return[3,2];return[5,_ts_values(Mi(e.body,t,{label:r}))];case 1:return[2,_state.sent()];case 2:if(!(e.body.type==="DoWhileStatement"))return[3,4];return[5,_ts_values(ji(e.body,t,{label:r}))];case 3:return[2,_state.sent()];case 4:if(!(e.body.type==="ForStatement"))return[3,6];return[5,_ts_values(Ui(e.body,t,{label:r}))];case 5:return[2,_state.sent()];case 6:if(!(e.body.type==="ForInStatement"))return[3,8];return[5,_ts_values($i(e.body,t,{label:r}))];case 7:return[2,_state.sent()];case 8:if(!(e.body.type==="ForOfStatement"))return[3,10];return[5,_ts_values(qi(e.body,t,{label:r}))];case 9:return[2,_state.sent()];case 10:if(!(e.body.type==="BlockStatement"))return[3,12];return[5,_ts_values(se(e.body,t,{label:r}))];case 11:return[2,_state.sent()];case 12:if(!(e.body.type==="WithStatement"))return[3,14];return[5,_ts_values(Ni(e.body,t,{label:r}))];case 13:return[2,_state.sent()];case 14:if(!(e.body.type==="IfStatement"))return[3,16];return[5,_ts_values(Ri(e.body,t,{label:r}))];case 15:return[2,_state.sent()];case 16:if(!(e.body.type==="SwitchStatement"))return[3,18];return[5,_ts_values(Bi(e.body,t,{label:r}))];case 17:return[2,_state.sent()];case 18:if(!(e.body.type==="TryStatement"))return[3,20];return[5,_ts_values(Di(e.body,t,{label:r}))];case 19:return[2,_state.sent()];case 20:throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}})}function Ni(e,t){var r,i,_1,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new P(t);_1=i.with;return[5,_ts_values(d(e.object,t))];case 1:_1.apply(i,[_state.sent()]);return[5,_ts_values(d(e.body,i))];case 2:a=_state.sent();if(a===I)return[2,a.LABEL&&a.LABEL===r.label?void 0:a];if(a===_||a===E)return[2,a];return[2]}})}function Ri(e,t){var r,i,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(d(e.consequent,t))];case 2:_tmp=i=_state.sent();return[3,5];case 3:return[5,_ts_values(d(e.alternate,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:if(_tmp,i===I)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===_||i===E)return[2,i];return[2]}})}function Bi(e,t){var r,i,a,s,n,_tmp,_tmp1,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.discriminant,t))];case 1:i=_state.sent();a=!1;s=0;_state.label=2;case 2:if(!(s<e.cases.length))return[3,8];n=e.cases[s];_tmp=!a;if(!_tmp)return[3,5];_tmp1=!n.test;if(_tmp1)return[3,4];return[5,_ts_values(d(n.test,t))];case 3:_tmp1=_state.sent()===i;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:if(!(_tmp&&(a=!0),a))return[3,7];return[5,_ts_values(Oi(n,t))];case 6:u=_state.sent();if(u===I){if(u.LABEL===r.label)return[3,8];return[2,u]}if(u===_||u===E)return[2,u];_state.label=7;case 7:s++;return[3,2];case 8:return[2]}})}function Oi(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.consequent.length))return[3,4];return[5,_ts_values(d(e.consequent[r],t))];case 2:i=_state.sent();if(i===I||i===_||i===E)return[2,i];_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}function Qa(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:throw _state.sent()}})}function Di(e,t){var r,i,a,s,n,u,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:_state.trys.push([1,3,10,13]);return[5,_ts_values(se(e.block,t))];case 2:i=_state.sent();return[3,13];case 3:a=_state.sent();if(!e.handler)return[3,8];s=new P(t),n=e.handler.param;if(!n)return[3,6];if(!(n.type==="Identifier"))return[3,4];u=n.name;s.var(u,a);return[3,6];case 4:return[5,_ts_values(j(n,t,{feed:a}))];case 5:_state.sent();_state.label=6;case 6:return[5,_ts_values(Fi(e.handler,s))];case 7:i=_state.sent();return[3,9];case 8:throw a;case 9:return[3,13];case 10:_tmp=e.finalizer;if(!_tmp)return[3,12];return[5,_ts_values(se(e.finalizer,t))];case 11:_tmp=i=_state.sent();_state.label=12;case 12:_tmp;return[7];case 13:if(i===I)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===_||i===E)return[2,i];return[2]}})}function Fi(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(se(e.body,t,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Mi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(d(e.test,t))];case 2:if(!_state.sent())return[3,5];return[5,_ts_values(d(e.body,t))];case 3:i=_state.sent();if(i===I){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===_){if(i.LABEL===r.label)return[3,4];return[2,i]}else if(i===E)return[2,i];_state.label=4;case 4:return[3,1];case 5:return[2]}})}function ji(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(d(e.body,t))];case 2:i=_state.sent();if(i===I){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===_){if(i.LABEL===r.label)return[3,3];return[2,i]}else if(i===E)return[2,i];_state.label=3;case 3:return[5,_ts_values(d(e.test,t))];case 4:if(_state.sent())return[3,1];_state.label=5;case 5:return[2]}})}function Ui(e,t){var r,i,_tmp,a,s,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new P(t);return[5,_ts_values(d(e.init,i))];case 1:_state.sent();_state.label=2;case 2:_tmp=!e.test;if(_tmp)return[3,4];return[5,_ts_values(d(e.test,i))];case 3:_tmp=_state.sent();_state.label=4;case 4:if(!_tmp)return[3,11];a=new P(i);s=void 0;if(!(e.body.type==="BlockStatement"))return[3,6];return[5,_ts_values(se(e.body,a,{invasived:!0}))];case 5:_tmp1=s=_state.sent();return[3,8];case 6:return[5,_ts_values(d(e.body,a))];case 7:_tmp1=s=_state.sent();_state.label=8;case 8:if(_tmp1,s===I){if(s.LABEL===r.label)return[3,11];return[2,s]}else if(s===_){if(s.LABEL===r.label)return[3,9];return[2,s]}else if(s===E)return[2,s];_state.label=9;case 9:return[5,_ts_values(d(e.update,i))];case 10:_state.sent();return[3,2];case 11:return[2]}})}function $i(e,t){var r,_tmp,_tmp1,_i,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_tmp=[];return[5,_ts_values(d(e.right,t))];case 1:for(_tmp1 in _state.sent())_tmp.push(_tmp1);_i=0;_state.label=2;case 2:if(!(_i<_tmp.length))return[3,5];i=_tmp[_i];return[5,_ts_values(gt(e,t,{value:i}))];case 3:a=_state.sent();if(a===I){if(a.LABEL===r.label)return[3,5];return[2,a]}else if(a===_){if(a.LABEL===r.label)return[3,4];return[2,a]}else if(a===E)return[2,a];_state.label=4;case 4:_i++;return[3,2];case 5:return[2]}})}function qi(e,t){var r,i,_iteratorNormalCompletion,_didIteratorError,_iteratorError,a,s,n,_iterator,_step,a1,s1,err;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.right,t))];case 1:i=_state.sent();_iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(!e.await)return[3,8];a=Cr(i);ye.RES=a.next();return[4,ye];case 2:s=_state.sent();_state.label=3;case 3:if(!!s.done)return[3,7];return[5,_ts_values(gt(e,t,{value:s.value}))];case 4:n=_state.sent();if(n===I){if(n.LABEL===r.label)return[3,7];return[2,n]}else if(n===_){if(n.LABEL===r.label)return[3,5];return[2,n]}else if(n===E)return[2,n];_state.label=5;case 5:ye.RES=a.next();return[4,ye];case 6:s=_state.sent();return[3,3];case 7:return[3,15];case 8:_state.trys.push([8,13,14,15]);_iterator=i[Symbol.iterator]();_state.label=9;case 9:if(!!(_iteratorNormalCompletion=(_step=_iterator.next()).done))return[3,12];a1=_step.value;return[5,_ts_values(gt(e,t,{value:a1}))];case 10:s1=_state.sent();if(s1===I){if(s1.LABEL===r.label)return[3,12];return[2,s1]}else if(s1===_){if(s1.LABEL===r.label)return[3,11];return[2,s1]}else if(s1===E)return[2,s1];_state.label=11;case 11:_iteratorNormalCompletion=true;return[3,9];case 12:return[3,15];case 13:err=_state.sent();_didIteratorError=true;_iteratorError=err;return[3,15];case 14:try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}return[7];case 15:return[2]}})}function Xa(e,t){return _ts_generator(this,function(_state){t.func(e.id.name,Y(e,t));return[2]})}function me(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=0;_state.label=1;case 1:if(!(i<e.declarations.length))return[3,4];return[5,_ts_values(Wi(e.declarations[i],t,B({kind:e.kind},r)))];case 2:_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2]}})}function Wi(e,t){var r,tmp,i,tmp1,a,tmp2,s,n,_tmp,_tmp1,u,l,_tmp2,c;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,n=r.feed;if(!a)return[3,5];_tmp=s||i==="var";if(!_tmp)return[3,4];if(!(e.id.type==="Identifier"))return[3,1];_tmp1=t[i](e.id.name,s?F:i==="var"?N:void 0);return[3,3];case 1:return[5,_ts_values(j(e.id,t,{kind:i,hoist:a,onlyBlock:s}))];case 2:_tmp1=_state.sent();_state.label=3;case 3:_tmp=_tmp1;_state.label=4;case 4:_tmp;return[3,11];case 5:u="feed"in r;if(!u)return[3,6];_tmp2=n;return[3,8];case 6:return[5,_ts_values(d(e.init,t))];case 7:_tmp2=_state.sent();_state.label=8;case 8:l=_tmp2;if(!(e.id.type==="Identifier"))return[3,9];c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,N):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&k(l,"name",{value:c,configurable:!0});return[3,11];case 9:return[5,_ts_values(j(e.id,t,{kind:i,feed:l}))];case 10:_state.sent();_state.label=11;case 11:return[2]}})}function Ya(e,t){var _,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=t.func;_tmp=[e.id.name];return[5,_ts_values(Oe(e,t))];case 1:_.apply(t,_tmp.concat([_state.sent()]));return[2]}})}function zi(e,t){var r,i,a,s,n,_tmp,_tmp1,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;s=0;_state.label=1;case 1:if(!(s<e.body.length))return[3,11];n=e.body[s];if(!(n.type==="MethodDefinition"))return[3,3];return[5,_ts_values(Gi(n,t,{klass:i,superClass:a}))];case 2:_tmp=_state.sent();return[3,9];case 3:if(!(n.type==="PropertyDefinition"&&n.static))return[3,5];return[5,_ts_values(It(n,t,{klass:i,superClass:a}))];case 4:_tmp1=_state.sent();return[3,8];case 5:_tmp2=n.type==="StaticBlock";if(!_tmp2)return[3,7];return[5,_ts_values(Hi(n,t,{klass:i}))];case 6:_tmp2=_state.sent();_state.label=7;case 7:_tmp1=_tmp2;_state.label=8;case 8:_tmp=_tmp1;_state.label=9;case 9:_tmp;_state.label=10;case 10:s++;return[3,1];case 11:return[2]}})}function Gi(e,t){var r,i,a,s,n,u,l,c,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(d(e.key,t))];case 1:s=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=e.static?i:i.prototype;n&&(u[T]||k(u,T,{value:{}}),u=u[T]);l=Y(e.value,t,{superClass:a});switch(e.kind){case"constructor":break;case"method":k(u,s,{value:l,writable:!0,configurable:!0});break;case"get":{c=ce(u,s);k(u,s,{get:l,set:c&&c.set,configurable:!0});break}case"set":{c1=ce(u,s);k(u,s,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}return[2]}})}function It(e,t){var r,i,a,s,n,u,l,_tmp,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(d(e.key,t))];case 1:s=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=new P(t,!0);u.const("this",i);l=i;n&&(l[T]||k(l,T,{value:{}}),l=l[T]);if(!e.value)return[3,7];if(!(e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"))return[3,4];_tmp1=l[s]=Y(e.value,u,{superClass:a});return[3,6];case 4:return[5,_ts_values(d(e.value,u))];case 5:_tmp1=l[s]=_state.sent();_state.label=6;case 6:_tmp=_tmp1;return[3,8];case 7:_tmp=l[s]=void 0;_state.label=8;case 8:_tmp;return[2]}})}function Hi(e,t){var r,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=new P(t,!0);a.const("this",i);return[5,_ts_values(se(e,a,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Za(e,t){var i,a,s,s1,n,u;return _ts_generator(this,function(_state){i=t.global().find(be+e.source.value);if(i){s=i.get();s&&(typeof s=="function"?a=s():(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(a=s))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(s1=0;s1<e.specifiers.length;s1++){n=e.specifiers[s1];u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!xt(a,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?B({},a):a[u])}return[2]})}function Ja(e,t){var r,i,_tmp,_tmp1,a,s;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];_tmp=(i=Y(e.declaration,t),t.func(e.declaration.id.name,i));return[3,6];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Oe(e.declaration,t))];case 2:_tmp1=(i=_state.sent(),t.func(e.declaration.id.name,i));return[3,5];case 3:return[5,_ts_values(d(e.declaration,t))];case 4:_tmp1=i=_state.sent();_state.label=5;case 5:_tmp=_tmp1;_state.label=6;case 6:_tmp;a=r.find(U);if(a){s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s.default=i)}return[2]}})}function es(e,t){var r,i,a,s,i1,a1,s1,i2,a2,s2,n,u,i3,a3,s3,n1,u1,l;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!e.declaration)return[3,6];if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];i=Y(e.declaration,t);t.func(e.declaration.id.name,i);a=r.find(U);if(a){s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s[e.declaration.id.name]=i)}return[3,5];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Oe(e.declaration,t))];case 2:i1=_state.sent();t.func(e.declaration.id.name,i1);a1=r.find(U);if(a1){s1=a1.get();s1&&(typeof s1==="undefined"?"undefined":_type_of(s1))=="object"&&(s1[e.declaration.id.name]=i1)}return[3,5];case 3:if(!(e.declaration.type==="VariableDeclaration"))return[3,5];return[5,_ts_values(me(e.declaration,t))];case 4:_state.sent();i2=r.find(U);if(i2){a2=i2.get();if(a2&&(typeof a2==="undefined"?"undefined":_type_of(a2))=="object")for(s2=0;s2<e.declaration.declarations.length;s2++){n=e.declaration.declarations[s2].id.name,u=t.find(n);u&&(a2[n]=u.get())}}_state.label=5;case 5:return[3,7];case 6:if(e.specifiers){i3=r.find(U);if(i3){a3=i3.get();if(a3&&(typeof a3==="undefined"?"undefined":_type_of(a3))=="object")for(s3=0;s3<e.specifiers.length;s3++){n1=e.specifiers[s3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(a3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}_state.label=7;case 7:return[2]}})}function ts(e,t){var r,i,a,n,s,n1;return _ts_generator(this,function(_state){r=t.global(),i=r.find(be+e.source.value);if(i){n=i.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));s=r.find(U);if(s){n1=s.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&B(n1,a)}return[2]})}function de(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,a=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return;var s=t.find(e.name);if(s){if(i)return s;{var n=s.get();if(n===F)throw new ReferenceError("".concat(e.name," is not defined"));return n}}else{if(a)throw new ReferenceError("".concat(e.name," is not defined"));return}}var is=Object.freeze(Object.defineProperty({__proto__:null,Identifier:de},Symbol.toStringTag,{value:"Module"}));function Ki(e,t){return e.value}var rs=Object.freeze(Object.defineProperty({__proto__:null,Literal:Ki},Symbol.toStringTag,{value:"Module"}));function as(e,t){var r=t.find(he);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()}function ss(e,t){var r=[];for(var i=0;i<e.elements.length;i++){var a=e.elements[i];a.type==="SpreadElement"?r=r.concat($e(a,t)):r.push(y(a,t))}return r}function ns(e,t){var r={};for(var i=0;i<e.properties.length;i++){var a=e.properties[i];if(a.type==="SpreadElement")B(r,$e(a,t,{spreadProps:!0}));else{var s=void 0;var n=a.key;a.computed?s=y(n,t):n.type==="Identifier"?s=n.name:s=""+Ki(n);var u=y(a.value,t),l=a.kind;if(l==="init")r[s]=u;else if(l==="get"){var c=ce(r,s);k(r,s,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{var c1=ce(r,s);k(r,s,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}}}return r}function os(e,t){if(e.id&&e.id.name){var r=new P(t),i=X(e,r);return r.const(e.id.name,i),i}else return X(e,t)}function us(e,t){var r=e.argument;switch(e.operator){case"+":return+y(r,t);case"-":return-y(r,t);case"!":return!y(r,t);case"~":return~y(r,t);case"void":return void y(r,t);case"typeof":return r.type==="Identifier"?_type_of(de(r,t,{throwErr:!1})):_type_of(y(r,t));case"delete":if(r.type==="MemberExpression")return Ue(r,t,{getVar:!0}).del();if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return y(r,t),!0;default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ls(e,t){var r=e.argument;var i;if(r.type==="Identifier")i=de(r,t,{getVar:!0});else if(r.type==="MemberExpression")i=Ue(r,t,{getVar:!0});else throw new SyntaxError("Unexpected token");var a=i.get();if(e.operator==="++")return i.set(a+1),e.prefix?i.get():a;if(e.operator==="--")return i.set(a-1),e.prefix?i.get():a;throw new SyntaxError("Unexpected token ".concat(e.operator))}function cs(e,t){var r,i;switch(e.left.type==="PrivateIdentifier"?(r=e.left.name,i=y(e.right,t),i=i[T]||{}):(r=y(e.left,t),i=y(e.right,t)),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 _instanceof(r,i);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function hs(e,t){var r=e.left;var i;if(r.type==="Identifier"){if(i=de(r,t,{getVar:!0,throwErr:!1}),!i){var s=t.global().find("window").get();i=new fe(s,r.name)}}else if(r.type==="MemberExpression")i=Ue(r,t,{getVar:!0});else{var s1=y(e.right,t);return M(r,t,{feed:s1})}var a=y(e.right,t);switch(e.operator){case"=":return i.set(a),i.get();case"+=":return i.set(i.get()+a),i.get();case"-=":return i.set(i.get()-a),i.get();case"*=":return i.set(i.get()*a),i.get();case"/=":return i.set(i.get()/a),i.get();case"%=":return i.set(i.get()%a),i.get();case"**=":return i.set(Math.pow(i.get(),a)),i.get();case"<<=":return i.set(i.get()<<a),i.get();case">>=":return i.set(i.get()>>a),i.get();case">>>=":return i.set(i.get()>>>a),i.get();case"|=":return i.set(i.get()|a),i.get();case"^=":return i.set(i.get()^a),i.get();case"&=":return i.set(i.get()&a),i.get();case"??=":var _i_get;return i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:a),i.get();case"&&=":return i.set(i.get()&&a),i.get();case"||=":return i.set(i.get()||a),i.get();default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function fs(e,t){switch(e.operator){case"||":return y(e.left,t)||y(e.right,t);case"&&":return y(e.left,t)&&y(e.right,t);case"??":var _y;return(_y=y(e.left,t))!==null&&_y!==void 0?_y:y(e.right,t);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function Ue(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,a=tmp1===void 0?!1:tmp1;var s;if(e.object.type==="Super"?s=Xi(e.object,t,{getProto:!0}):s=y(e.object,t),i)return s;var n,u=!1;if(e.computed?n=y(e.property,t):e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name,u&&(s=s[T]),a){var l=qt(s,n);if(e.object.type==="Super"&&l){var c=t.find("this").get(),h=R(n);return k(c,h,{set:l}),new fe(c,h)}else return new fe(s,n)}else{var l1=$t(s,n);if(e.object.type==="Super"&&l1){var c1=t.find("this").get();return e.optional&&c1==null?void 0:l1.call(c1)}else return e.optional&&s==null?void 0:s[n]}}function ps(e,t){return y(e.test,t)?y(e.consequent,t):y(e.alternate,t)}function ds(e,t){var r,i;if(e.callee.type==="MemberExpression"){if(i=Ue(e.callee,t,{getObj:!0}),e.callee.optional&&i==null)return;var _$s,n=!1;e.callee.computed?_$s=y(e.callee.property,t):e.callee.property.type==="PrivateIdentifier"?(_$s=e.callee.property.name,n=!0):_$s=e.callee.property.name;var u=i;if(n&&(u=u[T]),e.callee.object.type==="Super"){var l=t.find("this").get();r=u[_$s].bind(l)}else r=u[_$s];if(e.optional&&r==null)return;if(typeof r!="function")throw new TypeError("".concat(_$s," is not a function"));if(ke in r)throw new TypeError("Class constructor ".concat(_$s," cannot be invoked without 'new'"))}else{if(i=t.find("this").get(),r=y(e.callee,t),e.optional&&r==null)return;if(typeof r!="function"||e.callee.type!=="Super"&&ke in r){var _$s1;if(e.callee.type==="Identifier")_$s1=e.callee.name;else try{_$s1=JSON.stringify(r)}catch(e){_$s1=""+r}throw typeof r!="function"?new TypeError("".concat(_$s1," is not a function")):new TypeError("Class constructor ".concat(_$s1," cannot be invoked without 'new'"))}}var a=[];for(var _$s2=0;_$s2<e.arguments.length;_$s2++){var n1=e.arguments[_$s2];n1.type==="SpreadElement"?a=a.concat($e(n1,t)):a.push(y(n1,t))}if(e.callee.type==="Super"){var n2=t.find(he).get();if(n2===!0)throw new ReferenceError("Super constructor may only be called once");var u1=Ye(i,r,a);return n2(u1),t.find("this").set(u1),t.find(he).set(!0),u1}try{return r.apply(i,a)}catch(s){if(_instanceof(s,TypeError)&&s.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){var n3=t.global().find("window").get();if(n3&&n3[Te])return r.apply(n3[Te],a)}throw s}}function ys(e,t){var r=y(e.callee,t);if(typeof r!="function"){var a;if(e.callee.type==="Identifier")a=e.callee.name;else try{a=JSON.stringify(r)}catch(e){a=""+r}throw new TypeError("".concat(a," is not a constructor"))}else if(r[st])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));var i=[];for(var a1=0;a1<e.arguments.length;a1++){var s=e.arguments[a1];s.type==="SpreadElement"?i=i.concat($e(s,t)):i.push(y(s,t))}return _construct(r,_to_consumable_array(i))}function ms(e,t){if(e.meta.name==="new"&&e.property.name==="target")return t.find(nt).get();if(e.meta.name==="import"&&e.property.name==="meta")return{url:""}}function gs(e,t){var r;for(var i=0;i<e.expressions.length;i++)r=y(e.expressions[i],t);return r}function xs(e,t){return X(e,t)}function bs(e,t){var r=e.quasis.slice(),i=e.expressions.slice();var a="",s,n;for(;s=r.shift();)a+=Qi(s),n=i.shift(),n&&(a+=y(n,t));return a}function vs(e,t){var r=y(e.tag,t),i=e.quasi.quasis,a=i.map(function(l){return l.value.cooked}),s=i.map(function(l){return l.value.raw});k(a,"raw",{value:ze(s)});var n=e.quasi.expressions,u=[];if(n)for(var l=0;l<n.length;l++)u.push(y(n[l],t));return r.apply(void 0,[ze(a)].concat(_to_consumable_array(u)))}function Qi(e,t){return e.value.raw}function Ss(e,t){if(e.id&&e.id.name){var r=new P(t),i=Be(e,r);return r.const(e.id.name,i),i}else return Be(e,t)}function Xi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getProto,i=tmp===void 0?!1:tmp,a=t.find(at).get();return i?a.prototype:a}function $e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.argument,t);if(r.spreadProps)return i;if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return _to_consumable_array(i)}function ws(e,t){return y(e.expression,t)}function ks(e,t){var r=t.global(),i=y(e.source,t),a=r.find(be+i);var s;if(a){var n=a.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}return!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(s)}var Es=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:ss,ArrowFunctionExpression:xs,AssignmentExpression:hs,BinaryExpression:cs,CallExpression:ds,ChainExpression:ws,ClassExpression:Ss,ConditionalExpression:ps,FunctionExpression:os,ImportExpression:ks,LogicalExpression:fs,MemberExpression:Ue,MetaProperty:ms,NewExpression:ys,ObjectExpression:ns,SequenceExpression:gs,SpreadElement:$e,Super:Xi,TaggedTemplateExpression:vs,TemplateElement:Qi,TemplateLiteral:bs,ThisExpression:as,UnaryExpression:us,UpdateExpression:ls},Symbol.toStringTag,{value:"Module"}));function Yi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];for(var l=0;l<e.properties.length;l++){var c=e.properties[l];if(a){if(s||i==="var")if(c.type==="Property"){var h=c.value;h.type==="Identifier"?t[i](h.name,s?F:i==="var"?N:void 0):M(h,t,{kind:i,hoist:a,onlyBlock:s})}else Ce(c,t,{kind:i,hoist:a,onlyBlock:s})}else if(c.type==="Property"){var h1=void 0;c.computed?h1=y(c.key,t):h1=c.key.name,u.push(h1);var f=c.value;f.type==="Identifier"?t[i](f.name,n[h1]):M(f,t,{kind:i,feed:n[h1]})}else{var h2=B({},n);for(var f1=0;f1<u.length;f1++)delete h2[u[f1]];Ce(c,t,{kind:i,feed:h2})}}}function Zi(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];for(var l=0;l<e.elements.length;l++){var c=e.elements[l];if(c)if(a)(s||i==="var")&&(c.type==="Identifier"?t[i](c.name,s?F:i==="var"?N:void 0):M(c,t,{kind:i,hoist:a,onlyBlock:s}));else if(c.type==="Identifier")if(i)t[i](c.name,n[l]);else{var h=de(c,t,{getVar:!0});h.set(n[l]),u.push(h.get())}else c.type==="RestElement"?Ce(c,t,{kind:i,feed:n.slice(l)}):M(c,t,{kind:i,feed:n[l]})}if(u.length)return u}function Ce(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;a?(s||i==="var")&&(u.type==="Identifier"?t[i](u.name,s?F:i==="var"?N:void 0):M(u,t,{kind:i,hoist:a,onlyBlock:s})):u.type==="Identifier"?i?t[i](u.name,n):de(u,t,{getVar:!0}).set(n):M(u,t,{kind:i,feed:n})}function Ji(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?y(e.right,t):tmp3,u=e.left;a?(s||i==="var")&&(u.type==="Identifier"?t[i](u.name,s?F:i==="var"?N:void 0):M(u,t,{kind:i,hoist:a,onlyBlock:s})):u.type==="Identifier"?t[i](u.name,n):M(u,t,{kind:i,feed:n})}var Cs=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:Zi,AssignmentPattern:Ji,ObjectPattern:Yi,RestElement:Ce},Symbol.toStringTag,{value:"Module"}));function _s(e,t){for(var r=0;r<e.body.length;r++)y(e.body[r],t)}var Is=Object.freeze(Object.defineProperty({__proto__:null,Program:_s},Symbol.toStringTag,{value:"Module"}));var ht;function y(e,t){if(!e)return;ht||(ht=B({},br,Es,is,xr,rs,Cs,Is));var r=ht[e.type];if(r)return r(e,t);throw new Error("".concat(e.type," isn't implemented"))}function As(e,t){y(e.expression,t)}function ne(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,a=tmp1===void 0?!1:tmp1,s=i?t:new P(t);a||Pt(e,s,{onlyBlock:!0});for(var n=0;n<e.body.length;n++){var u=y(e.body[n],s);if(u===I){if(u.LABEL&&u.LABEL===r.label)break;return u}if(u===_||u===E)return u}}function Ps(){}function Ls(){debugger}function Vs(e,t){return E.RES=e.argument?y(e.argument,t):void 0,E}function Ts(e){var t;return I.LABEL=(t=e.label)==null?void 0:t.name,I}function Ns(e){var t;return _.LABEL=(t=e.label)==null?void 0:t.name,_}function Rs(e,t){var r=e.label.name;if(e.body.type==="WhileStatement")return nr(e.body,t,{label:r});if(e.body.type==="DoWhileStatement")return or(e.body,t,{label:r});if(e.body.type==="ForStatement")return ur(e.body,t,{label:r});if(e.body.type==="ForInStatement")return lr(e.body,t,{label:r});if(e.body.type==="ForOfStatement")return cr(e.body,t,{label:r});if(e.body.type==="BlockStatement")return ne(e.body,t,{label:r});if(e.body.type==="WithStatement")return er(e.body,t,{label:r});if(e.body.type==="IfStatement")return tr(e.body,t,{label:r});if(e.body.type==="SwitchStatement")return ir(e.body,t,{label:r});if(e.body.type==="TryStatement")return ar(e.body,t,{label:r});throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}function er(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new P(t);i.with(y(e.object,t));var a=y(e.body,i);if(a===I)return a.LABEL&&a.LABEL===r.label?void 0:a;if(a===_||a===E)return a}function tr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;if(y(e.test,t)?i=y(e.consequent,t):i=y(e.alternate,t),i===I)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===_||i===E)return i}function ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.discriminant,t);var a=!1;for(var s=0;s<e.cases.length;s++){var n=e.cases[s];if(!a&&(!n.test||y(n.test,t)===i)&&(a=!0),a){var u=rr(n,t);if(u===I){if(u.LABEL===r.label)break;return u}if(u===_||u===E)return u}}}function rr(e,t){for(var r=0;r<e.consequent.length;r++){var i=y(e.consequent[r],t);if(i===I||i===_||i===E)return i}}function Bs(e,t){throw y(e.argument,t)}function ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;try{i=ne(e.block,t)}catch(a){if(e.handler){var s=new P(t),n=e.handler.param;if(n)if(n.type==="Identifier"){var u=n.name;s.var(u,a)}else M(n,t,{feed:a});i=sr(e.handler,s)}else throw a}finally{e.finalizer&&(i=ne(e.finalizer,t))}if(i===I)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===_||i===E)return i}function sr(e,t){return ne(e.body,t,{invasived:!0})}function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(;y(e.test,t);){var i=y(e.body,t);if(i===I){if(i.LABEL===r.label)break;return i}else if(i===_){if(i.LABEL===r.label)continue;return i}else if(i===E)return i}}function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};do{var i=y(e.body,t);if(i===I){if(i.LABEL===r.label)break;return i}else if(i===_){if(i.LABEL===r.label)continue;return i}else if(i===E)return i}while(y(e.test,t))}function ur(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new P(t);for(y(e.init,i);!e.test||y(e.test,i);y(e.update,i)){var a=new P(i);var s=void 0;if(e.body.type==="BlockStatement"?s=ne(e.body,a,{invasived:!0}):s=y(e.body,a),s===I){if(s.LABEL===r.label)break;return s}else if(s===_){if(s.LABEL===r.label)continue;return s}else if(s===E)return s}}function lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i in y(e.right,t)){var a=yr(e,t,{value:i});if(a===I){if(a.LABEL===r.label)break;return a}else if(a===_){if(a.LABEL===r.label)continue;return a}else if(a===E)return a}}function cr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.right,t);var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;try{for(var _iterator=i[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var a=_step.value;var s=yr(e,t,{value:a});if(s===I){if(s.LABEL===r.label)break;return s}else if(s===_){if(s.LABEL===r.label)continue;return s}else if(s===E)return s}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function Os(e,t){t.func(e.id.name,X(e,t))}function ge(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i=0;i<e.declarations.length;i++)hr(e.declarations[i],t,B({kind:e.kind},r))}function hr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,n=r.feed;if(a)(s||i==="var")&&(e.id.type==="Identifier"?t[i](e.id.name,s?F:i==="var"?N:void 0):M(e.id,t,{kind:i,hoist:a,onlyBlock:s}));else{var u="feed"in r,l=u?n:y(e.init,t);if(e.id.type==="Identifier"){var c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,N):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&k(l,"name",{value:c,configurable:!0})}else M(e.id,t,{kind:i,feed:l})}}function Ds(e,t){t.func(e.id.name,Be(e,t))}function fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;for(var s=0;s<e.body.length;s++){var n=e.body[s];n.type==="MethodDefinition"?pr(n,t,{klass:i,superClass:a}):n.type==="PropertyDefinition"&&n.static?At(n,t,{klass:i,superClass:a}):n.type==="StaticBlock"&&dr(n,t,{klass:i})}}function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;var s,n=!1;if(e.computed)s=y(e.key,t);else if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=e.static?i:i.prototype;n&&(u[T]||k(u,T,{value:{}}),u=u[T]);var l=X(e.value,t,{superClass:a});switch(e.kind){case"constructor":break;case"method":k(u,s,{value:l,writable:!0,configurable:!0});break;case"get":{var c=ce(u,s);k(u,s,{get:l,set:c&&c.set,configurable:!0});break}case"set":{var c1=ce(u,s);k(u,s,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}}function At(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;var s,n=!1;if(e.computed)s=y(e.key,t);else if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=new P(t,!0);u.const("this",i);var l=i;n&&(l[T]||k(l,T,{value:{}}),l=l[T]),e.value?e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"?l[s]=X(e.value,u,{superClass:a}):l[s]=y(e.value,u):l[s]=void 0}function dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=new P(t,!0);return a.const("this",i),ne(e,a,{invasived:!0})}function Fs(e,t){var i=t.global().find(be+e.source.value);var a;if(i){var s=i.get();s&&(typeof s=="function"?a=s():(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(a=s))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(var s1=0;s1<e.specifiers.length;s1++){var n=e.specifiers[s1];var u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!xt(a,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?B({},a):a[u])}}function Ms(e,t){var r=t.global();var i;e.declaration.type==="FunctionDeclaration"?(i=X(e.declaration,t),t.func(e.declaration.id.name,i)):e.declaration.type==="ClassDeclaration"?(i=Be(e.declaration,t),t.func(e.declaration.id.name,i)):i=y(e.declaration,t);var a=r.find(U);if(a){var s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s.default=i)}}function js(e,t){var r=t.global();if(e.declaration){if(e.declaration.type==="FunctionDeclaration"){var i=X(e.declaration,t);t.func(e.declaration.id.name,i);var a=r.find(U);if(a){var s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s[e.declaration.id.name]=i)}}else if(e.declaration.type==="ClassDeclaration"){var i1=Be(e.declaration,t);t.func(e.declaration.id.name,i1);var a1=r.find(U);if(a1){var s1=a1.get();s1&&(typeof s1==="undefined"?"undefined":_type_of(s1))=="object"&&(s1[e.declaration.id.name]=i1)}}else if(e.declaration.type==="VariableDeclaration"){ge(e.declaration,t);var i2=r.find(U);if(i2){var a2=i2.get();if(a2&&(typeof a2==="undefined"?"undefined":_type_of(a2))=="object")for(var s2=0;s2<e.declaration.declarations.length;s2++){var n=e.declaration.declarations[s2].id.name,u=t.find(n);u&&(a2[n]=u.get())}}}}else if(e.specifiers){var i3=r.find(U);if(i3){var a3=i3.get();if(a3&&(typeof a3==="undefined"?"undefined":_type_of(a3))=="object")for(var s3=0;s3<e.specifiers.length;s3++){var n1=e.specifiers[s3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(a3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}}function Us(e,t){var r=t.global(),i=r.find(be+e.source.value);var a;if(i){var n=i.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));var s=r.find(U);if(s){var n1=s.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&B(n1,a)}}function Pt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,a=[],s=[];for(var n=0;n<e.body.length;n++){var u=e.body[n];u.type==="FunctionDeclaration"?(a.push(u),s.push(n)):u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1?ge(u,t,{hoist:!0,onlyBlock:!0}):i||ee(u,t)}if(s.length){for(var n1=s.length-1;n1>-1;n1--)e.body.splice(s[n1],1);e.body=a.concat(e.body)}}function ee(e,t){switch(e.type){case"VariableDeclaration":ge(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":e.left.type==="VariableDeclaration"&&ge(e.left,t,{hoist:!0});case"ForStatement":e.type==="ForStatement"&&e.init.type==="VariableDeclaration"&&ge(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":ee(e.body,t);break;case"IfStatement":ee(e.consequent,t),e.alternate&&ee(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)ee(e.body[r],t);break;case"SwitchStatement":for(var r1=0;r1<e.cases.length;r1++)for(var i=0;i<e.cases[r1].consequent.length;i++)ee(e.cases[r1].consequent[i],t);break;case"TryStatement":{var r2=e.block.body;for(var s=0;s<r2.length;s++)ee(r2[s],t);var i1=e.handler&&e.handler.body.body;if(i1)for(var s1=0;s1<i1.length;s1++)ee(i1[s1],t);var a=e.finalizer&&e.finalizer.body;if(a)for(var s2=0;s2<a.length;s2++)ee(a[s2],t);break}}}function M(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};switch(e.type){case"ObjectPattern":return Yi(e,t,r);case"ArrayPattern":return Zi(e,t,r);case"RestElement":return Ce(e,t,r);case"AssignmentPattern":return Ji(e,t,r);default:throw new SyntaxError("Unexpected token")}}function X(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var c;if(e.generator||e.async)return Y(e,t,r);var i=r.superClass,a=r.construct,s=e.params;var u=function _target(){for(var _len=arguments.length,h=new Array(_len),_key=0;_key<_len;_key++){h[_key]=arguments[_key]}var f=new P(t,!0);e.type!=="ArrowFunctionExpression"&&(f.let("this",this),f.let("arguments",arguments),f.const(nt,_instanceof(this,_target)?this.constructor:void 0),i?(f.const(at,i),a&&f.let(he,a)):a&&a(this));for(var C=0;C<s.length;C++){var L=s[C];L.type==="Identifier"?f.var(L.name,h[C]):L.type==="RestElement"?Ce(L,f,{kind:"var",feed:h.slice(C)}):M(L,f,{kind:"var",feed:h[C]})}var v;if(e.body.type==="BlockStatement"?(Pt(e.body,f),v=ne(e.body,f,{invasived:!0,hoisted:!0})):(v=y(e.body,f),e.type==="ArrowFunctionExpression"&&(E.RES=v,v=E)),v===E)return v.RES;if(_instanceof(this,_target)?this.constructor:void 0)return f.find("this").get()};e.type==="ArrowFunctionExpression"&&k(u,st,{value:!0}),k(u,"name",{value:e.id&&e.id.name||"",configurable:!0}),k(u,"length",{value:s.length,configurable:!0});var l=(c=e.loc)==null?void 0:c.source;return l&&k(u,"toString",{value:function(){return l.substring(e.start,e.end)},configurable:!0}),u}function Be(e,t){var r=y(e.superClass,t),i=e.body.body,a=function a(n){for(var u=0;u<i.length;u++){var l=i[u];l.type==="PropertyDefinition"&&!l.static&&At(l,t,{klass:n,superClass:r})}};var s=function s(){var n=r?Ye(this,r):this;return a(n),n};for(var n=0;n<i.length;n++){var u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){s=X(u.value,t,{superClass:r,construct:a});break}}return r&&Wt(s,r),fr(e.body,t,{klass:s,superClass:r}),k(s,ke,{value:!0}),k(s,"name",{value:e.id&&e.id.name||"",configurable:!0}),s}function yr(e,t,r){var i=r.value,a=e.left,s=new P(t);a.type==="VariableDeclaration"?ge(a,s,{feed:i}):a.type==="Identifier"?de(a,t,{getVar:!0}).set(i):M(a,t,{feed:i});var n;return e.body.type==="BlockStatement"?n=ne(e.body,s,{invasived:!0}):n=y(e.body,s),n}function Lt(e,t){var r,tmp,i,a,s,n,u,_tmp,_tmp1,_tmp2,n1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,a=[],s=[];n=0;_state.label=1;case 1:if(!(n<e.body.length))return[3,10];u=e.body[n];if(!(u.type==="FunctionDeclaration"))return[3,2];_tmp=(a.push(u),s.push(n));return[3,8];case 2:if(!(u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1))return[3,4];return[5,_ts_values(me(u,t,{hoist:!0,onlyBlock:!0}))];case 3:_tmp1=_state.sent();return[3,7];case 4:_tmp2=i;if(_tmp2)return[3,6];return[5,_ts_values(te(u,t))];case 5:_tmp2=_state.sent();_state.label=6;case 6:_tmp1=_tmp2;_state.label=7;case 7:_tmp=_tmp1;_state.label=8;case 8:_tmp;_state.label=9;case 9:n++;return[3,1];case 10:if(s.length){for(n1=s.length-1;n1>-1;n1--)e.body.splice(s[n1],1);e.body=a.concat(e.body)}return[2]}})}function te(e,t){var _,_tmp,_tmp1,_tmp2,r,r1,i,r2,s,i1,s1,a,s2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.type;switch(_){case"VariableDeclaration":return[3,1];case"ForInStatement":return[3,3];case"ForOfStatement":return[3,3];case"ForStatement":return[3,6];case"WhileStatement":return[3,9];case"DoWhileStatement":return[3,9];case"IfStatement":return[3,11];case"BlockStatement":return[3,15];case"SwitchStatement":return[3,20];case"TryStatement":return[3,27]}return[3,40];case 1:return[5,_ts_values(me(e,t,{hoist:!0}))];case 2:_state.sent();return[3,40];case 3:_tmp=e.left.type==="VariableDeclaration";if(!_tmp)return[3,5];return[5,_ts_values(me(e.left,t,{hoist:!0}))];case 4:_tmp=_state.sent();_state.label=5;case 5:_tmp;_state.label=6;case 6:_tmp1=e.type==="ForStatement"&&e.init.type==="VariableDeclaration";if(!_tmp1)return[3,8];return[5,_ts_values(me(e.init,t,{hoist:!0}))];case 7:_tmp1=_state.sent();_state.label=8;case 8:_tmp1;_state.label=9;case 9:return[5,_ts_values(te(e.body,t))];case 10:_state.sent();return[3,40];case 11:return[5,_ts_values(te(e.consequent,t))];case 12:_state.sent();_tmp2=e.alternate;if(!_tmp2)return[3,14];return[5,_ts_values(te(e.alternate,t))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,40];case 15:r=0;_state.label=16;case 16:if(!(r<e.body.length))return[3,19];return[5,_ts_values(te(e.body[r],t))];case 17:_state.sent();_state.label=18;case 18:r++;return[3,16];case 19:return[3,40];case 20:r1=0;_state.label=21;case 21:if(!(r1<e.cases.length))return[3,26];i=0;_state.label=22;case 22:if(!(i<e.cases[r1].consequent.length))return[3,25];return[5,_ts_values(te(e.cases[r1].consequent[i],t))];case 23:_state.sent();_state.label=24;case 24:i++;return[3,22];case 25:r1++;return[3,21];case 26:return[3,40];case 27:r2=e.block.body;s=0;_state.label=28;case 28:if(!(s<r2.length))return[3,31];return[5,_ts_values(te(r2[s],t))];case 29:_state.sent();_state.label=30;case 30:s++;return[3,28];case 31:i1=e.handler&&e.handler.body.body;if(!i1)return[3,35];s1=0;_state.label=32;case 32:if(!(s1<i1.length))return[3,35];return[5,_ts_values(te(i1[s1],t))];case 33:_state.sent();_state.label=34;case 34:s1++;return[3,32];case 35:a=e.finalizer&&e.finalizer.body;if(!a)return[3,39];s2=0;_state.label=36;case 36:if(!(s2<a.length))return[3,39];return[5,_ts_values(te(a[s2],t))];case 37:_state.sent();_state.label=38;case 38:s2++;return[3,36];case 39:return[3,40];case 40:return[2]}})}function j(e,t){var r,_;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_=e.type;switch(_){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,_ts_values(Li(e,t,r))];case 2:return[2,_state.sent()];case 3:return[5,_ts_values(Vi(e,t,r))];case 4:return[2,_state.sent()];case 5:return[5,_ts_values(Ee(e,t,r))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(Ti(e,t,r))];case 8:return[2,_state.sent()];case 9:throw new SyntaxError("Unexpected token");case 10:return[2]}})}function Y(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var c;if(!e.generator&&!e.async)return X(e,t,r);var i=r.superClass,a=r.construct,s=e.params,n=function _target(){var _len,h,_key,f,_tmp,_tmp1,_tmp2,C,L,_tmp3,_tmp4,v,_tmp5;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(_len=_arguments.length,h=new Array(_len),_key=0;_key<_len;_key++){h[_key]=_arguments[_key]}f=new P(t,!0);_tmp=e.type!=="ArrowFunctionExpression";if(!_tmp)return[3,5];f.let("this",this),f.let("arguments",_arguments),f.const(nt,_instanceof(this,_target)?this.constructor:void 0);if(!i)return[3,1];_tmp1=(f.const(at,i),a&&f.let(he,a));return[3,4];case 1:_tmp2=a;if(!_tmp2)return[3,3];return[5,_ts_values(a(this))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;C=0;_state.label=6;case 6:if(!(C<s.length))return[3,14];L=s[C];if(!(L.type==="Identifier"))return[3,7];_tmp3=f.var(L.name,h[C]);return[3,12];case 7:if(!(L.type==="RestElement"))return[3,9];return[5,_ts_values(Ee(L,f,{kind:"var",feed:h.slice(C)}))];case 8:_tmp4=_state.sent();return[3,11];case 9:return[5,_ts_values(j(L,f,{kind:"var",feed:h[C]}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp3=_tmp4;_state.label=12;case 12:_tmp3;_state.label=13;case 13:C++;return[3,6];case 14:if(!(e.body.type==="BlockStatement"))return[3,17];return[5,_ts_values(Lt(e.body,f))];case 15:_state.sent();return[5,_ts_values(se(e.body,f,{invasived:!0,hoisted:!0}))];case 16:_tmp5=v=_state.sent();return[3,19];case 17:return[5,_ts_values(d(e.body,f))];case 18:_tmp5=(v=_state.sent(),e.type==="ArrowFunctionExpression"&&(E.RES=v,v=E));_state.label=19;case 19:if(_tmp5,v===E)return[2,v.RES];if(_instanceof(this,_target)?this.constructor:void 0)return[2,f.find("this").get()];return[2]}})};var u;e.async&&e.generator?u=function u(){var h=n.apply(this,arguments);var f=Promise.resolve(),v=!1;var C=function($){return f=f.then(function(){return mt(h,B({fullRet:!0},$))}).catch(function(ue){if(!v)return v=!0,Promise.reject(ue)})},L={next:function($){return C({res:$})},throw:function($){return C({err:$})},return:function($){return C({ret:$})}};return typeof Symbol=="function"&&(L[Symbol.iterator]=function(){return this}),L}:e.async?u=function u(){return mt(n.apply(this,arguments))}:u=n,k(u,st,{value:!0}),k(u,"name",{value:e.id&&e.id.name||"",configurable:!0}),k(u,"length",{value:s.length,configurable:!0});var l=(c=e.loc)==null?void 0:c.source;return l&&k(u,"toString",{value:function(){return l.substring(e.start,e.end)},configurable:!0}),u}function Oe(e,t){var r,i,a,s,n,u;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.superClass,t))];case 1:r=_state.sent(),i=e.body.body,a=function a(n){var u,l,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:u=0;_state.label=1;case 1:if(!(u<i.length))return[3,5];l=i[u];_tmp=l.type==="PropertyDefinition"&&!l.static;if(!_tmp)return[3,3];return[5,_ts_values(It(l,t,{klass:n,superClass:r}))];case 2:_tmp=_state.sent();_state.label=3;case 3:_tmp;_state.label=4;case 4:u++;return[3,1];case 5:return[2]}})};s=function s(){var n;return _ts_generator(this,function(_state){switch(_state.label){case 0:n=r?Ye(this,r):this;return[5,_ts_values(a(n))];case 1:return[2,(_state.sent(),n)]}})};for(n=0;n<i.length;n++){u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){s=Y(u.value,t,{superClass:r,construct:a});break}}r&&Wt(s,r);return[5,_ts_values(zi(e.body,t,{klass:s,superClass:r}))];case 2:return[2,(_state.sent(),k(s,ke,{value:!0}),k(s,"name",{value:e.id&&e.id.name||"",configurable:!0}),s)]}})}function gt(e,t,r){var i,a,s,_tmp,_tmp1,n,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=r.value,a=e.left,s=new P(t);if(!(a.type==="VariableDeclaration"))return[3,2];return[5,_ts_values(me(a,s,{feed:i}))];case 1:_tmp=_state.sent();return[3,7];case 2:if(!(a.type==="Identifier"))return[3,4];return[5,_ts_values(de(a,t,{getVar:!0}))];case 3:_tmp1=_state.sent().set(i);return[3,6];case 4:return[5,_ts_values(j(a,t,{feed:i}))];case 5:_tmp1=_state.sent();_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;if(!(e.body.type==="BlockStatement"))return[3,9];return[5,_ts_values(se(e.body,s,{invasived:!0}))];case 8:_tmp2=n=_state.sent();return[3,11];case 9:return[5,_ts_values(d(e.body,s))];case 10:_tmp2=n=_state.sent();_state.label=11;case 11:return[2,(_tmp2,n)]}})}var $s=15,Vt=/*#__PURE__*/function(){"use strict";function Vt(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_class_call_check(this,Vt);this.options={ecmaVersion:"latest"},this.scope=new P(null,!0),this.exports={};var tmp=t.ecmaVer,r=tmp===void 0?"latest":tmp,tmp1=t.sandBox,i=tmp1===void 0?!0:tmp1,tmp2=t.sourceType,a=tmp2===void 0?"script":tmp2;if(typeof r=="number"&&(r-=r<2015?0:2009),r!=="latest"&&r!==3&&(r<5||r>$s))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,this.options.sourceType=a,i){var s=Er();this.scope.let("globalThis",s),this.scope.let("window",s),this.scope.let("self",s),this.scope.let("this",s)}else this.scope.let("globalThis",p),this.scope.let("window",p),this.scope.let("self",p),this.scope.let("this",p);this.scope.const(a==="module"?U:"exports",this.exports={})}_create_class(Vt,[{key:"import",value:function _import(t,r){if(typeof t=="string"&&(t=_define_property({},t,r)),(typeof t==="undefined"?"undefined":_type_of(t))!="object")return;var i=bt(t);for(var a=0;a<i.length;a++){var s=i[a],n=this.options.sourceType==="module"?be+s:s;this.scope.var(n,t[s])}}},{key:"parse",value:function parse(t,r){return typeof r=="function"?r(t,B({},this.options)):ha(t,this.options)}},{key:"run",value:function run(t){var r=typeof t=="string"?this.parse(t):t,i=this.scope;this.options.sourceType==="module"&&(this.options.ecmaVersion==="latest"||this.options.ecmaVersion>=13)?mt(function(){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(Lt(r,i))];case 1:_state.sent();return[5,_ts_values(d(r,i))];case 2:_state.sent();return[2]}})}()):(Pt(r,i),y(r,i))}}]);return Vt}();Vt.version=pa.version;var Mt=Vt});
|