sval 0.5.6 → 0.5.7
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/dist/sval.es6.js +629 -608
- package/dist/sval.js +5100 -5055
- package/dist/sval.min.js +1 -1
- package/package.json +1 -1
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 jt},get BlockStatement(){return L},get EmptyStatement(){return Ut},get DebuggerStatement(){return qt},get ReturnStatement(){return Wt},get BreakStatement(){return Gt},get ContinueStatement(){return Ht},get LabeledStatement(){return zt},get WithStatement(){return Kt},get IfStatement(){return Qt},get SwitchStatement(){return Xt},get SwitchCase(){return Yt},get ThrowStatement(){return Zt},get TryStatement(){return Jt},get CatchClause(){return $t},get WhileStatement(){return er},get DoWhileStatement(){return tr},get ForStatement(){return rr},get ForInStatement(){return ir},get ForOfStatement(){return nr}}),O=Object.freeze({__proto__:null,get FunctionDeclaration(){return sr},get VariableDeclaration(){return ar},get VariableDeclarator(){return or},get ClassDeclaration(){return cr},get ClassBody(){return hr},get MethodDefinition(){return lr},get PropertyDefinition(){return ur},get StaticBlock(){return pr},get ImportDeclaration(){return dr},get ExportDefaultDeclaration(){return fr},get ExportNamedDeclaration(){return mr},get ExportAllDeclaration(){return yr}}),M=Object.freeze({__proto__:null,get ExpressionStatement(){return Vr},get BlockStatement(){return Nr},get EmptyStatement(){return Br},get DebuggerStatement(){return Rr},get ReturnStatement(){return Dr},get BreakStatement(){return Or},get ContinueStatement(){return Mr},get LabeledStatement(){return Fr},get WithStatement(){return jr},get IfStatement(){return Ur},get SwitchStatement(){return qr},get SwitchCase(){return Wr},get ThrowStatement(){return Gr},get TryStatement(){return Hr},get CatchClause(){return zr},get WhileStatement(){return Kr},get DoWhileStatement(){return Qr},get ForStatement(){return Xr},get ForInStatement(){return Yr},get ForOfStatement(){return Zr}}),F=Object.freeze({__proto__:null,get FunctionDeclaration(){return Jr},get VariableDeclaration(){return $r},get VariableDeclarator(){return ei},get ClassDeclaration(){return ti},get ClassBody(){return ri},get MethodDefinition(){return ii},get PropertyDefinition(){return ni},get StaticBlock(){return si},get ImportDeclaration(){return ai},get ExportDefaultDeclaration(){return oi},get ExportNamedDeclaration(){return ci},get ExportAllDeclaration(){return hi}}),j=Object.freeze,f=Object.defineProperty,U=Object.getOwnPropertyDescriptor,q=Object.prototype.hasOwnProperty;function W(e,t){return q.call(e,t)}var G=Object.getOwnPropertyNames,H=Object.setPrototypeOf;var z=Object.getPrototypeOf;var K=Object.getOwnPropertyDescriptor;function Q(e,t,r){for(;t;){var i=K(t,r),i=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(i)return i;i=t,t=z?z(i):i.__proto__}}function X(e,t){return Q("get",e,t)}function Y(e,t){return Q("set",e,t)}var Z=Object.create;function J(e,t){var r,i;r=e,i=t,H?H(r,i):r.__proto__=i,e.prototype=Z(t.prototype,{constructor:{value:e,writable:!0}})}var m=Object.assign||function(e){for(var t=1;t<arguments.length;++t){var r,i=arguments[t];for(r in i)W(i,r)&&(e[r]=i[r])}return e},$=[],i=Z(null);try{if(!window.Object)throw 0;$=G(i=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(e){try{if(!global.Object)throw 0;$=G(i=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}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){}$=G(i)}}i.Symbol&&(i.Symbol.iterator||(i.Symbol.iterator=p("iterator")),i.Symbol.asyncIterator||(i.Symbol.asyncIterator=p("asynciterator")));for(var ee=Z({}),te=0;te<$.length;te++){var re=$[te];try{ee[re]=i[re]}catch(e){}}var ie=p("window");function p(e){return e+Math.random().toString(36).substring(2)}var ne=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],se=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,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,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,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,757,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ヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ae={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",oe={5:t,"5module":t+" export import",6:t+" const class extends export import super"},ce=/^in(stanceof)?$/,he=new RegExp("["+e+"]"),le=new RegExp("["+e+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function ue(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&&he.test(String.fromCharCode(e)):!1!==t&&ue(e,se)))}function pe(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&le.test(String.fromCharCode(e)):!1!==t&&(ue(e,se)||ue(e,ne)))))}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},de={};function s(e,t){return(t=void 0===t?{}:t).keyword=e,de[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 fe(e){return 10===e||13===e||8232===e||8233===e}function me(e,t,r){void 0===r&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(fe(n))return i<r-1&&13===n&&10===e.charCodeAt(i+1)?i+2:i+1}return-1}var ye=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e=Object.prototype,ge=e.hasOwnProperty,ve=e.toString,be=Object.hasOwn||function(e,t){return ge.call(e,t)},xe=Array.isArray||function(e){return"[object Array]"===ve.call(e)},we=Object.create(null);function ke(e){return we[e]||(we[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function Se(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function _e(e,t){this.line=e,this.column=t}function Ee(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}var Ce=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;function Ie(e,t){for(var r=1,i=0;;){var n=me(e,i,t);if(n<0)return new _e(r,t-i);++r,i=n}}var Ae={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(_e.prototype.offset=function(e){return new _e(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},Pe=!1;function Le(e){var t,r,a,o,i={};for(t in Ae)i[t]=(e&&be(e,t)?e:Ae)[t];return"latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!Pe&&"object"==typeof console&&console.warn&&(Pe=!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),xe(i.onToken)&&(r=i.onToken,i.onToken=function(e){return r.push(e)}),xe(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 Ee(this,n,s)),a.ranges&&(e.range=[r,i]),o.push(e)})),i}function Te(e,t){return 2|(e?4:0)|(t?8:0)}function h(e,t,r){this.options=e=Le(e),this.sourceFile=e.sourceFile,this.keywords=ke(oe[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="",i=(!0!==e.allowReserved&&(i=ae[6<=e.ecmaVersion?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(i+=" await"),this.reservedWords=ke(i),(i?i+" ":"")+ae.strict);this.reservedWordsStrict=ke(i),this.reservedWordsStrictBind=ke(i+" "+ae.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 Ve(){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=(h.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)},h.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},h.parse=function(e,t){return new this(t,e).parse()},h.parseExpressionAt=function(e,t,r){r=new this(r,e,t);return r.nextToken(),r.parseExpression()},h.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(h.prototype,e),h.prototype),Ne=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,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=Ne.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},h.prototype),Be=(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"}),Re={kind:"switch"},De=(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;pe(r=this.input.charCodeAt(i),!0);)++i;if(92===r||55295<r&&r<56320)return!0;e=this.input.slice(t,i);if(!ce.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&&(pe(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(Be),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=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(Be),this.enterScope(0),this.expect(g.parenL),this.type===g.semi?(-1<s&&this.unexpected(s),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<s&&this.unexpected(s):e.await=-1<s),this.parseForIn(e,r)):(-1<s&&this.unexpected(s),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,i=new Ve,n=this.parseExpression(!(-1<s)||"await",i),this.type===g._in||(r=6<=this.options.ecmaVersion&&this.isContextual("of"))?(9<=this.options.ecmaVersion&&(this.type===g._in?-1<s&&this.unexpected(s):e.await=-1<s),t&&r&&this.raise(n.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(n,!1,i),this.checkLValPattern(n),this.parseForIn(e,n)):(this.checkExpressionErrors(i,!0),-1<s&&this.unexpected(s),this.parseFor(e,n))))},e.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Oe|(r?0:Me),!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(Re),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")},[]),Oe=(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(Be),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),Me=2;function Fe(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&Me&&this.unexpected(),e.generator=this.eat(g.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&Oe&&(e.id=4&t&&this.type!==g.name?null:this.parseIdent(),!e.id||t&Me||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(Te(e.async,e.generator)),t&Oe||(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&Oe?"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&&Fe(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&&Fe(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 Fe(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&Fe(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];be(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(),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();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|Oe,!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),be(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=De,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===g.string?this.parseExprAtom():this.unexpected()),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.parseModuleExportName=function(){var e;return 13<=this.options.ecmaVersion&&this.type===g.string?(e=this.parseLiteral(this.value),Ce.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 l(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var e=h.prototype,u=(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&&(be(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 l("{",!(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 l("{",!0),b_tmpl:new l("${",!1),p_stat:new l("(",!1),p_expr:new l("(",!0),q_tmpl:new l("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new l("function",!1),f_expr:new l("function",!0),f_expr_gen:new l("function",!0,!1,null,!0),f_gen:new l("function",!1,!1,null,!0)}),e=h.prototype,e=(e.initialContext=function(){return[u.b_stat]},e.curContext=function(){return this.context[this.context.length-1]},e.braceIsBlock=function(e){var t=this.curContext();return t===u.f_expr||t===u.f_stat||(e!==g.colon||t!==u.b_stat&&t!==u.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===u.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())===u.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)?u.b_stat:u.b_expr),this.exprAllowed=!0},g.dollarBraceL.updateContext=function(){this.context.push(u.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?u.p_stat:u.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()!==u.p_stat||e===g._return&&o.test(this.input.slice(this.lastTokEnd,this.start))||(e===g.colon||e===g.braceL)&&this.curContext()===u.b_stat?this.context.push(u.f_stat):this.context.push(u.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()===u.q_tmpl?this.context.pop():this.context.push(u.q_tmpl),this.exprAllowed=!1},g.star.updateContext=function(e){e===g._function&&(e=this.context.length-1,this.context[e]===u.f_expr?this.context[e]=u.f_expr_gen:this.context[e]=u.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},h.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 Ve,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&&"Identifier"===o.argument.type?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)}(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 Ve,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(u.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(u.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(),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 Ve,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 je(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}function Ue(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ee(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var qe=[],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=qe,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,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|Te(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|Te(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")},h.prototype),e=(e.raise=function(e,t){var r=Ie(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 _e(this.curLine,this.pos-this.lineStart)},h.prototype),e=(e.enterScope=function(e){this.scopeStack.push(new je(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}},h.prototype);function We(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 Ue(this,this.start,this.startLoc)},e.startNodeAt=function(e,t){return new Ue(this,e,t)},e.finishNode=function(e,t){return We.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},e.finishNodeAt=function(e,t,r,i){return We.call(this,e,t,r,i)},e.copyNode=function(e){var t,r=new Ue(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",d=e+" Extended_Pictographic",Ge=d+" EBase EComp EMod EPres ExtPict",He={9:e,10:d,11:d,12:Ge,13:Ge,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"},ze={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"},Ke="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",d=e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",Ge=d+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Qe=Ge+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Xe=Qe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ye={9:e,10:d,11:Ge,12:Qe,13:Xe,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 Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Ze={};for(var y,Je=0,$e=[9,10,11,12,13,14];Je<$e.length;Je+=1)(y=Ze[y=$e[Je]]={binary:ke(He[y]+" "+Ke),binaryOfStrings:ke(ze[y]),nonBinary:{General_Category:ke(Ke),Script:ke(Ye[y])}}).nonBinary.Script_Extensions=y.nonBinary.Script,y.nonBinary.gc=y.nonBinary.General_Category,y.nonBinary.sc=y.nonBinary.Script,y.nonBinary.scx=y.nonBinary.Script_Extensions;function v(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=Ze[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=[],this.backReferenceNames=[]}e=h.prototype;function et(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function tt(e){return 65<=e&&e<=90||97<=e&&e<=122}v.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)},v.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},v.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)},v.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)},v.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},v.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},v.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},v.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},v.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&&0<e.groupNames.length&&(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.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets"),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];-1===e.groupNames.indexOf(i)&&e.raise("Invalid named capture referenced")}},e.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},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)&&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_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!!et(t)&&(e.lastIntValue=t,e.advance(),!0)},e.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!et(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){e.eat(63)&&(this.regexp_eatGroupName(e)?(-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue)):e.raise("Invalid group"))},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+=Se(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=Se(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),pe(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()&&!it(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!!tt(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 rt(e){return tt(e)||95===e}function it(e){return 48<=e&&e<=57}function nt(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function st(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function at(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){be(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="";rt(t=e.current());)e.lastStringValue+=Se(t),e.advance();return""!==e.lastStringValue},e.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";rt(r=t=e.current())||it(r);)e.lastStringValue+=Se(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())&&!at(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!(!it(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;it(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;nt(t=e.current());)e.lastIntValue=16*e.lastIntValue+st(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 at(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(!nt(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+st(n),e.advance()}return!0};function ot(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ee(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}d=h.prototype;function ct(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}d.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 ot(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},d.getToken=function(){return this.next(),new ot(this)},"undefined"!=typeof Symbol&&(d[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===g.eof,value:e}}}}),d.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())},d.readToken=function(e){return a(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},d.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},d.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=me(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())},d.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&&!fe(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())},d.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&&ye.test(String.fromCharCode(e))))break e;++this.pos}}},d.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)},d.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)))},d.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)},d.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)},d.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)},d.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(g.assign,2):this.finishOp(g.bitwiseXOR,1)},d.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)},d.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())},d.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)},d.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)},d.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 '"+Se(t)+"'")},d.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 '"+Se(e)+"'")},d.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},d.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 v(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})},d.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},d.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=ct(this.input.slice(t,this.pos)),++this.pos):a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(g.num,r)},d.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=ct(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)},d.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},d.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)):(fe(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(g.string,t)};var ht={};d.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==ht)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},d.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw ht;this.raise(e,t)},d.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(fe(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}},d.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))}this.raise(this.start,"Unterminated template")},d.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 Se(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)):fe(i)?"":String.fromCharCode(i)}},d.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},d.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(pe(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:pe)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=Se(s),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},d.readWord=function(){var e=this.readWord1(),t=g.name;return this.keywords.test(e)&&(t=de[e]),this.finishToken(t,e)};function lt(e,t){return h.parse(e,t)}h.acorn={Parser:h,version:"8.11.3",defaultOptions:Ae,Position:_e,SourceLocation:Ee,getLineInfo:Ie,Node:Ue,TokenType:r,tokTypes:g,keywordTypes:de,TokContext:l,tokContexts:u,isIdentifierChar:pe,isIdentifierStart:a,Token:ot,isNewLine:fe,lineBreak:o,lineBreakG:t,nonASCIIwhitespace:ye};var ut={RES:void 0},b={RES:void 0},x={LABEL:void 0},w={LABEL:void 0},pt=p("super"),dt=p("supercall"),ft=p("noctor"),mt=p("clsctor"),yt=p("newtarget"),k=p("private"),S=p("noinit"),_=p("deadzone"),gt=p("import"),E=p("exports"),vt=(bt.prototype.get=function(){return this.value},bt.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},bt);function bt(e,t){this.kind=e,this.value=t}wt.prototype.get=function(){return this.object[this.property]},wt.prototype.set=function(e){return this.object[this.property]=e,!0},wt.prototype.del=function(){return delete this.object[this.property]};var xt=wt;function wt(e,t){this.object=e,this.property=t}kt.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},kt.prototype.find=function(e){var t;return this.context[e]||(e in this.withContext?new xt(this.withContext,e):this.parent?this.parent.find(e):e in(t=this.global().find("window").get())?new xt(t,e):null)},kt.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!==S&&i.set(t)}else r.context[e]=new vt("var",t===S?void 0:t);r.parent||(i=r.find("window").get(),t!==S&&f(i,e,{value:t,writable:!0,enumerable:!0}))},kt.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==_)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("let",t)},kt.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==_)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("const",t)},kt.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 vt("var",t)},kt.prototype.with=function(e){Object.keys(e)&&(this.withContext=e)};var C=kt;function kt(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=Z(null),this.withContext=Z(null),this.parent=e,this.isolated=t}function I(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 A(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 St(){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}function _t(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===_)throw new ReferenceError(e.name+" is not defined");return i}if(r)throw new ReferenceError(e.name+" is not defined")}}var Et=Object.freeze({__proto__:null,Identifier:_t});function Ct(e,t){return e.value}var It=Object.freeze({__proto__:null,Literal:Ct});function At(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?Lt(e.object,t,{getProto:!0}):P(e.object,t);if(n)return s;n=!1;if(e.computed?i=P(e.property,t):"PrivateIdentifier"===e.property.type?(i=e.property.name,n=!0):i=e.property.name,n&&(s=s[k]),r)return n=Y(s,i),"Super"===e.object.type&&n?(a=t.find("this").get(),r=p(i),f(a,r,{set:n}),new xt(a,r)):new xt(s,i);n=X(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 Pt(e,t){return e.value.raw}function Lt(e,t,r){r=(r=void 0===r?{}:r).getProto,r=void 0!==r&&r,t=t.find(pt).get();return r?t.prototype:t}function Tt(e,t){e=P(e.argument,t);return"string"==typeof e?St(e):e}var Vt=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(dt);if(r&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()},ArrayExpression:function(e,t){for(var r=[],i=0;i<e.elements.length;i++){var n=e.elements[i];"SpreadElement"===n.type?r=r.concat(Tt(n,t)):r.push(P(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,Tt(o,t)):(n=void 0,s=o.key,n=o.computed?P(s,t):"Identifier"===s.type?s.name:""+Ct(s),s=P(o.value,t),"init"===(o=o.kind)?r[n]=s:"get"===o?(a=U(r,n),f(r,n,{get:s,set:a&&a.set,enumerable:!0,configurable:!0})):(a=U(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=R(e,r=new C(t)),r.const(e.id.name,i),i):R(e,t)},UnaryExpression:function(e,t){var r=e.argument;switch(e.operator){case"+":return+P(r,t);case"-":return-P(r,t);case"!":return!P(r,t);case"~":return~P(r,t);case"void":return void P(r,t);case"typeof":return"Identifier"===r.type?typeof _t(r,t,{throwErr:!1}):typeof P(r,t);case"delete":if("MemberExpression"===r.type)return At(r,t,{getVar:!0}).del();if("Identifier"===r.type)throw new SyntaxError("Delete of an unqualified identifier in strict mode");return P(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=_t(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=At(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=P(e.right,t))[k]):(r=P(e.left,t),P(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=_t(s,t,{getVar:!0,throwErr:!1}))||(i=t.global().find("window").get(),n=new xt(i,s.name));else{if("MemberExpression"!==s.type)return B(s,t,{feed:P(e.right,t)});n=At(s,t,{getVar:!0})}var a=P(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 P(e.left,t)||P(e.right,t);case"&&":return P(e.left,t)&&P(e.right,t);case"??":return null!=(r=P(e.left,t))?r:P(e.right,t);default:throw new SyntaxError("Unexpected token "+e.operator)}},MemberExpression:At,ConditionalExpression:function(e,t){return P(e.test,t)?P(e.consequent,t):P(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){if(r=At(e.callee,t,{getObj:!0}),e.callee.optional&&null==r)return;var n=void 0,s=!1,a=(e.callee.computed?n=P(e.callee.property,t):"PrivateIdentifier"===e.callee.property.type?(n=e.callee.property.name,s=!0):n=e.callee.property.name,r);if(s&&(a=a[k]),s="Super"===e.callee.object.type?(s=t.find("this").get(),a[n].bind(s)):a[n],e.optional&&null==s)return;if("function"!=typeof s)throw new TypeError(n+" is not a function");if(s[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else{if(r=t.find("this").get(),s=P(e.callee,t),e.optional&&null==s)return;if("function"!=typeof s||"Super"!==e.callee.type&&s[mt]){if("Identifier"===e.callee.type)i=e.callee.name;else try{i=JSON.stringify(s)}catch(e){i=""+s}throw"function"!=typeof s?new TypeError(i+" is not a function"):new TypeError("Class constructor "+i+" cannot be invoked without 'new'")}}for(var o=[],c=0;c<e.arguments.length;c++){var h=e.arguments[c];"SpreadElement"===h.type?o=o.concat(Tt(h,t)):o.push(P(h,t))}if("Super"===e.callee.type){if(t.find(dt).get())throw new ReferenceError("Super constructor may only be called once");t.find(dt).set(!0)}try{return s.apply(r,o)}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==s.toString().indexOf("[native code]")){a=t.global().find("window").get();if(a&&a[ie])return s.apply(a[ie],o)}throw e}},NewExpression:function(e,t){var r,i=P(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[ft])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(Tt(a,t)):n.push(P(a,t))}return new(i.bind.apply(i,St([void 0],n)))},MetaProperty:function(e,t){return"new"===e.meta.name&&"target"===e.property.name?t.find(yt).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=P(e.expressions[i],t);return r},ArrowFunctionExpression:function(e,t){return R(e,t)},TemplateLiteral:function(e,t){for(var r,i=e.quasis.slice(),n=e.expressions.slice(),s="";r=i.shift();)s+=Pt(r),(r=n.shift())&&(s+=P(r,t));return s},TaggedTemplateExpression:function(e,t){var r=P(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:j(n)}),e.quasi.expressions),a=[];if(s)for(var o=0;o<s.length;o++)a.push(P(s[o],t));return r.apply(void 0,St([j(i)],a))},TemplateElement:Pt,ClassExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=mi(e,r=new C(t)),r.const(e.id.name,i),i):mi(e,t)},Super:Lt,SpreadElement:Tt,ChainExpression:function(e,t){return P(e.expression,t)},ImportExpression:function(e,t){var r,i=t.global(),e=P(e.source,t);return(t=i.find(gt+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 Nt(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?_:"var"===n?S:void 0):B(u,t,{kind:n,hoist:s,onlyBlock:a}):Rt(l,t,{kind:n,hoist:s,onlyBlock:a}));else if("Property"===l.type){var u,p=void 0,p=l.computed?P(l.key,t):l.key.name;c.push(p),"Identifier"===(u=l.value).type?t[n](u.name,o[p]):B(u,t,{kind:n,feed:o[p]})}else{for(var d=m({},o),f=0;f<c.length;f++)delete d[c[f]];Rt(l,t,{kind:n,feed:d})}}}function Bt(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?_:"var"===i?S:void 0):B(u,t,{kind:i,hoist:s,onlyBlock:a})):"Identifier"===u.type?i?t[i](u.name,o[h]):((l=_t(u,t,{getVar:!0})).set(o[h]),c.push(l.get())):"RestElement"===u.type?Rt(u,t,{kind:i,feed:o.slice(h)}):B(u,t,{kind:i,feed:o[h]}))}if(c.length)return c}function Rt(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?_:"var"===i?S:void 0):B(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?i?t[i](e.name,r):_t(e,t,{getVar:!0}).set(r):B(e,t,{kind:i,feed:r})}function Dt(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?P(e.right,t):r,e=e.left;n?!s&&"var"!==i||("Identifier"===e.type?t[i](e.name,s?_:"var"===i?S:void 0):B(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?t[i](e.name,r):B(e,t,{kind:i,feed:r})}var Ot=Object.freeze({__proto__:null,ObjectPattern:Nt,ArrayPattern:Bt,RestElement:Rt,AssignmentPattern:Dt});var Mt,Ft=Object.freeze({__proto__:null,Program:function(e,t){for(var r=0;r<e.body.length;r++)P(e.body[r],t)}});function P(e,t){if(e){var r=(Mt=Mt||m({},O,Vt,Et,D,It,Ot,Ft))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function jt(e,t){P(e.expression,t)}function L(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 C(t);n||fi(e,s,{onlyBlock:!0});for(var a=0;a<e.body.length;a++){var o=P(e.body[a],s);if(o===w){if(o.LABEL&&o.LABEL===r.label)break;return o}if(o===x||o===b)return o}}function Ut(){}function qt(){debugger}function Wt(e,t){return b.RES=e.argument?P(e.argument,t):void 0,b}function Gt(e){return w.LABEL=null==(e=e.label)?void 0:e.name,w}function Ht(e){return x.LABEL=null==(e=e.label)?void 0:e.name,x}function zt(e,t){var r=e.label.name;if("WhileStatement"===e.body.type)return er(e.body,t,{label:r});if("DoWhileStatement"===e.body.type)return tr(e.body,t,{label:r});if("ForStatement"===e.body.type)return rr(e.body,t,{label:r});if("ForInStatement"===e.body.type)return ir(e.body,t,{label:r});if("ForOfStatement"===e.body.type)return nr(e.body,t,{label:r});if("BlockStatement"===e.body.type)return L(e.body,t,{label:r});if("WithStatement"===e.body.type)return Kt(e.body,t,{label:r});if("IfStatement"===e.body.type)return Qt(e.body,t,{label:r});if("SwitchStatement"===e.body.type)return Xt(e.body,t,{label:r});if("TryStatement"===e.body.type)return Jt(e.body,t,{label:r});throw new SyntaxError(e.body.type+" cannot be labeled")}function Kt(e,t,r){void 0===r&&(r={});var i=new C(t),t=(i.with(P(e.object,t)),P(e.body,i));return t===w?t.LABEL&&t.LABEL===r.label?void 0:t:t===x||t===b?t:void 0}function Qt(e,t,r){return void 0===r&&(r={}),(e=P(e.test,t)?P(e.consequent,t):P(e.alternate,t))===w?e.LABEL&&e.LABEL===r.label?void 0:e:e===x||e===b?e:void 0}function Xt(e,t,r){void 0===r&&(r={});for(var i=P(e.discriminant,t),n=!1,s=0;s<e.cases.length;s++){var a=e.cases[s];if(n=n||a.test&&P(a.test,t)!==i?n:!0){a=Yt(a,t);if(a===w){if(a.LABEL===r.label)break;return a}if(a===x||a===b)return a}}}function Yt(e,t){for(var r=0;r<e.consequent.length;r++){var i=P(e.consequent[r],t);if(i===w||i===x||i===b)return i}}function Zt(e,t){throw P(e.argument,t)}function Jt(t,r,e){var i;void 0===e&&(e={});try{i=L(t.block,r)}catch(e){if(!t.handler)throw e;var n,s=new C(r),a=t.handler.param;a&&("Identifier"===a.type?(n=a.name,s.var(n,e)):B(a,r,{feed:e})),i=$t(t.handler,s)}finally{t.finalizer&&(i=L(t.finalizer,r))}return i===w?i.LABEL&&i.LABEL===e.label?void 0:i:i===x||i===b?i:void 0}function $t(e,t){return L(e.body,t,{invasived:!0})}function er(e,t,r){for(void 0===r&&(r={});P(e.test,t);){var i=P(e.body,t);if(i===w){if(i.LABEL===r.label)break;return i}if(i===x){if(i.LABEL!==r.label)return i}else if(i===b)return i}}function tr(e,t,r){void 0===r&&(r={});do{var i=P(e.body,t);if(i===w){if(i.LABEL===r.label)break;return i}if(i===x){if(i.LABEL!==r.label)return i}else if(i===b)return i}while(P(e.test,t))}function rr(e,t,r){void 0===r&&(r={});var i=new C(t);for(P(e.init,i);!e.test||P(e.test,i);P(e.update,i)){var n=new C(i),s=void 0;if((s="BlockStatement"===e.body.type?L(e.body,n,{invasived:!0}):P(e.body,n))===w){if(s.LABEL===r.label)break;return s}if(s===x){if(s.LABEL!==r.label)return s}else if(s===b)return s}}function ir(e,t,r){for(var i in void 0===r&&(r={}),P(e.right,t)){i=yi(e,t,{value:i});if(i===w){if(i.LABEL===r.label)break;return i}if(i===x){if(i.LABEL!==r.label)return i}else if(i===b)return i}}function nr(e,t,r){void 0===r&&(r={});var i,n,s=P(e.right,t);try{for(var a=A(s),o=a.next();!o.done;o=a.next()){var c=yi(e,t,{value:o.value});if(c===w){if(c.LABEL===r.label)break;return c}if(c===x){if(c.LABEL!==r.label)return c}else if(c===b)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 sr(e,t){t.func(e.id.name,R(e,t))}function ar(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)or(e.declarations[i],t,m({kind:e.kind},r))}function or(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?_:"var"===i?S:void 0):B(e.id,t,{kind:i,hoist:n,onlyBlock:s})):(s=(n="feed"in r)?a:P(e.init,t),"Identifier"===e.id.type?(r=e.id.name,"var"!==i||e.init||n?t[i](r,s):t.var(r,S),e.init&&-1!==["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)&&!s.name&&f(s,"name",{value:r,configurable:!0})):B(e.id,t,{kind:i,feed:s}))}function cr(e,t){t.func(e.id.name,mi(e,t))}function hr(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?lr(a,t,{klass:i,superClass:n}):"PropertyDefinition"===a.type&&a.static?ur(a,t,{klass:i,superClass:n}):"StaticBlock"===a.type&&pr(a,t,{klass:i,superClass:n})}}function lr(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=P(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[k]||f(a,k,{value:{}}),a=a[k]),R(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=U(a,i);f(a,i,{get:o,set:c&&c.set,configurable:!0});break;case"set":c=U(a,i);f(a,i,{get:c&&c.get,set:o,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}}function ur(e,t,r){var i,n=(r=void 0===r?{}:r).klass,r=r.superClass,s=!1;if(e.computed)i=P(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 C(t,!0),t.const("this",n);s&&(n[k]||f(n,k,{value:{}}),n=n[k]),e.value||(n[i]=void 0),"FunctionExpression"===e.value.type||"ArrowFunctionExpression"===e.value.type?n[i]=R(e.value,t,{superClass:r}):n[i]=P(e.value,t)}function pr(e,t,r){r=(r=void 0===r?{}:r).klass,t=new C(t,!0);return t.const("this",r),L(e,t,{invasived:!0})}function dr(e,t){var r,i=t.global().find(gt+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&&!W(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 fr(e,t){var r,i=t.global(),e=("FunctionDeclaration"===e.declaration.type?(r=R(e.declaration,t),t.func(e.declaration.id.name,r)):"ClassDeclaration"===e.declaration.type?(r=mi(e.declaration,t),t.func(e.declaration.id.name,r)):r=P(e.declaration,t),i.find(E));e&&(t=e.get())&&"object"==typeof t&&(t.default=r)}function mr(e,t){var r=t.global();if(e.declaration){if("FunctionDeclaration"===e.declaration.type){var i=R(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(E))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("ClassDeclaration"===e.declaration.type){var n,s,i=mi(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(E))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("VariableDeclaration"===e.declaration.type)if(ar(e.declaration,t),n=r.find(E)){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(E)){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 yr(e,t){var r,t=t.global(),i=t.find(gt+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(E);i&&(e=i.get())&&"object"==typeof e&&m(e,r)}function gr(t,r,i){var n,s,a;return void 0===i&&(i={}),I(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())===_)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 vr=Object.freeze({__proto__:null,Identifier:gr});function br(t,e){return I(this,function(e){return[2,t.value]})}var xr=Object.freeze({__proto__:null,Literal:br});function wr(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),I(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,A(Sr(t.object,r,{getProto:!0}))];case 1:return a=e.sent(),[3,4];case 2:return[5,A(T(t.object,r))];case 3:a=e.sent(),e.label=4;case 4:return n?[2,a]:(c=!1,t.computed?[5,A(T(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[k]),s?(l=Y(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),h=p(o),f(u,h,{set:l}),[2,new xt(u,h)]):[2,new xt(a,o)]):(l=X(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 kr(t,e){return I(this,function(e){return[2,t.value.raw]})}function Sr(e,t,r){var i,n;return void 0===r&&(r={}),I(this,function(e){return i=r.getProto,i=void 0!==i&&i,n=t.find(pt).get(),[2,i?n.prototype:n]})}function _r(t,r){var i;return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.argument,r))];case 1:return[2,"string"==typeof(i=e.sent())?St(i):i]}})}var Er=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return I(this,function(e){if((r=t.find(dt))&&!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 I(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,A(_r(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,A(T(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 I(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,A(_r(s,r))]):[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,A(T(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,A(br(h))];case 7:c=l+e.sent(),e.label=8;case 8:return[5,A(T(s.value,r))];case 9:u=e.sent(),"init"===(p=s.kind)?i[c]=u:"get"===p?(d=U(i,c),f(i,c,{get:u,set:d&&d.set,enumerable:!0,configurable:!0})):(d=U(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 I(this,function(e){return t.id&&t.id.name?(i=new C(r),n=N(t,i),i.const(t.id.name,n),[2,n]):[2,N(t,r)]})},UnaryExpression:function(t,r){var i;return I(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,A(T(i,r))];case 2:return[2,+e.sent()];case 3:return[5,A(T(i,r))];case 4:return[2,-e.sent()];case 5:return[5,A(T(i,r))];case 6:return[2,!e.sent()];case 7:return[5,A(T(i,r))];case 8:return[2,~e.sent()];case 9:return[5,A(T(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,A(gr(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,A(T(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,A(wr(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,A(T(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 I(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,A(gr(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,A(wr(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 I(this,function(e){switch(e.label){case 0:return"PrivateIdentifier"!==t.left.type?[3,2]:(i=t.left.name,[5,A(T(t.right,r))]);case 1:return n=(n=e.sent())[k],[3,5];case 2:return[5,A(T(t.left,r))];case 3:return i=e.sent(),[5,A(T(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 I(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.left).type?[3,2]:[5,A(gr(i,r,{getVar:!0,throwErr:!1}))];case 1:return(n=e.sent())||(s=r.global().find("window").get(),n=new xt(s,i.name)),[3,7];case 2:return"MemberExpression"!==i.type?[3,4]:[5,A(wr(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,7];case 4:return[5,A(T(t.right,r))];case 5:return s=e.sent(),[5,A(V(i,r,{feed:s}))];case 6:return[2,e.sent()];case 7:return[5,A(T(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 I(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,A(T(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,A(T(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,A(T(t.left,r))];case 6:return(n=e.sent())?[5,A(T(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:return[5,A(T(t.left,r))];case 10:return null==(a=e.sent())?[3,11]:(s=a,[3,13]);case 11:return[5,A(T(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:wr,ConditionalExpression:function(t,r){var i;return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.test,r))];case 1:return e.sent()?[5,A(T(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,A(T(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;return I(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,A(wr(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,A(T(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[k]),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[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=r.find("this").get(),[5,A(T(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[mt]){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,A(_r(l,r))]):[3,13];case 9:return c=p.apply(u,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,A(T(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){if(r.find(dt).get())throw new ReferenceError("Super constructor may only be called once");r.find(dt).set(!0)}try{return[2,a.apply(i,c)]}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==a.toString().indexOf("[native code]")&&(m=r.global().find("window").get())&&m[ie])return[2,a.apply(m[ie],c)];throw e}return[2]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,l,u;return I(this,function(e){switch(e.label){case 0:return[5,A(T(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[ft])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,A(_r(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return u=(l=s).push,[5,A(T(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,St([void 0],s)))]}})},MetaProperty:function(t,r){return I(this,function(e){return"new"===t.meta.name&&"target"===t.property.name?[2,r.find(yt).get()]:"import"===t.meta.name&&"meta"===t.property.name?[2,{url:""}]:[2]})},SequenceExpression:function(t,r){var i,n;return I(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,A(T(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 I(this,function(e){return[2,N(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c;return I(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,A(kr(a))]):[3,5];case 2:return(s=o+e.sent(),a=n.shift())?(c=s,[5,A(T(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 I(this,function(e){switch(e.label){case 0:return[5,A(T(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:j(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,A(T(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,St([j(n)],a))]}})},TemplateElement:kr,ClassExpression:function(t,r){var i,n;return I(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new C(r),[5,A(pi(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,A(pi(t,r))];case 3:return[2,e.sent()]}})},Super:Sr,SpreadElement:_r,ChainExpression:function(t,r){return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.expression,r))];case 1:return[2,e.sent()]}})},ImportExpression:function(t,r){var i,n,s,a;return I(this,function(e){switch(e.label){case 0:return i=r.global(),[5,A(T(t.source,r))];case 1:return(n=e.sent(),(a=i.find(gt+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 I(this,function(e){switch(e.label){case 0:return[5,A(T(t.argument,r))];case 1:return(i=e.sent(),t.delegate)?[5,A(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 I(this,function(e){switch(e.label){case 0:return i=ut,[5,A(T(t.argument,r))];case 1:return i.RES=e.sent(),[4,ut];case 2:return[2,e.sent()]}})}});function Cr(t,r,i){var n,s,a,o,c,h,l,u,p,d,f;return void 0===i&&(i={}),I(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?_:"var"===n?S:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,A(V(p,r,{kind:n,hoist:s,onlyBlock:a}))];case 3:e.sent(),e.label=4;case 4:return[3,7];case 5:return[5,A(Ar(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,A(T(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,A(V(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,A(Ar(l,r,{kind:n,feed:d}))];case 16:e.sent(),e.label=17;case 17:return h++,[3,1];case 18:return[2]}})}function Ir(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),I(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?_:"var"===n?S:void 0)}return[3,4];case 2:return[5,A(V(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,A(gr(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,A(Ar(l,r,{kind:n,feed:o.slice(h)}))];case 10:return e.sent(),[3,13];case 11:return[5,A(V(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 Ar(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),I(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?_:"var"===n?S:void 0)}return[3,3];case 1:return[5,A(V(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,A(gr(c,r,{getVar:!0}))];case 6:e.sent().set(o),e.label=7;case 7:return[3,10];case 8:return[5,A(V(c,r,{kind:n,feed:o}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function Pr(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),I(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,A(T(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?_:"var"===n?S:void 0)}return[3,6];case 4:return[5,A(V(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,A(V(l,r,{kind:n,feed:c}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var Lr,Tr=Object.freeze({__proto__:null,ObjectPattern:Cr,ArrayPattern:Ir,RestElement:Ar,AssignmentPattern:Pr});function T(t,r){var i;return I(this,function(e){switch(e.label){case 0:return t?(Lr=Lr||m({},F,Er,vr,M,xr,Tr),(i=Lr[t.type])?[5,A(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function Vr(t,r){return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.expression,r))];case 1:return e.sent(),[2]}})}function Nr(t,r,i){var n,s,a;return void 0===i&&(i={}),I(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 C(r),a?[3,2]:[5,A(ui(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,A(T(t.body[s],n))]:[3,6];case 4:if((a=e.sent())===w)return a.LABEL&&a.LABEL===i.label?[3,6]:[2,a];if(a===x||a===b)return[2,a];e.label=5;case 5:return s++,[3,3];case 6:return[2]}})}function Br(){return I(this,function(e){return[2]})}function Rr(){return I(this,function(e){debugger;return[2]})}function Dr(t,r){var i,n;return I(this,function(e){switch(e.label){case 0:return(i=b,t.argument)?[5,A(T(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,b]}})}function Or(t){var r;return I(this,function(e){return w.LABEL=null==(r=t.label)?void 0:r.name,[2,w]})}function Mr(t){var r;return I(this,function(e){return x.LABEL=null==(r=t.label)?void 0:r.name,[2,x]})}function Fr(t,r){var i;return I(this,function(e){switch(e.label){case 0:return i=t.label.name,"WhileStatement"!==t.body.type?[3,2]:[5,A(Kr(t.body,r,{label:i}))];case 1:return[2,e.sent()];case 2:return"DoWhileStatement"!==t.body.type?[3,4]:[5,A(Qr(t.body,r,{label:i}))];case 3:return[2,e.sent()];case 4:return"ForStatement"!==t.body.type?[3,6]:[5,A(Xr(t.body,r,{label:i}))];case 5:return[2,e.sent()];case 6:return"ForInStatement"!==t.body.type?[3,8]:[5,A(Yr(t.body,r,{label:i}))];case 7:return[2,e.sent()];case 8:return"ForOfStatement"!==t.body.type?[3,10]:[5,A(Zr(t.body,r,{label:i}))];case 9:return[2,e.sent()];case 10:return"BlockStatement"!==t.body.type?[3,12]:[5,A(Nr(t.body,r,{label:i}))];case 11:return[2,e.sent()];case 12:return"WithStatement"!==t.body.type?[3,14]:[5,A(jr(t.body,r,{label:i}))];case 13:return[2,e.sent()];case 14:return"IfStatement"!==t.body.type?[3,16]:[5,A(Ur(t.body,r,{label:i}))];case 15:return[2,e.sent()];case 16:return"SwitchStatement"!==t.body.type?[3,18]:[5,A(qr(t.body,r,{label:i}))];case 17:return[2,e.sent()];case 18:return"TryStatement"!==t.body.type?[3,20]:[5,A(Hr(t.body,r,{label:i}))];case 19:return[2,e.sent()];case 20:throw new SyntaxError(t.body.type+" cannot be labeled")}})}function jr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return n=new C(r),a=(s=n).with,[5,A(T(t.object,r))];case 1:return a.apply(s,[e.sent()]),[5,A(T(t.body,n))];case 2:return(o=e.sent())===w?o.LABEL&&o.LABEL===i.label?[2]:[2,o]:o===x||o===b?[2,o]:[2]}})}function Ur(t,r,i){var n;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return[5,A(T(t.test,r))];case 1:return e.sent()?[5,A(T(t.consequent,r))]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[5,A(T(t.alternate,r))];case 4:n=e.sent(),e.label=5;case 5:return n===w?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===x||n===b?[2,n]:[2]}})}function qr(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return[5,A(T(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,A(T(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,A(Wr(o,r))]:[3,7];case 6:if((l=e.sent())===w)return l.LABEL===i.label?[3,8]:[2,l];if(l===x||l===b)return[2,l];e.label=7;case 7:return a++,[3,2];case 8:return[2]}})}function Wr(t,r){var i,n;return I(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,A(T(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===w||n===x||n===b)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function Gr(t,r){return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.argument,r))];case 1:throw e.sent()}})}function Hr(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,A(Nr(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 C(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,A(V(o,r,{feed:s}))];case 4:e.sent(),e.label=5;case 5:return[5,A(zr(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,A(Nr(t.finalizer,r))]:[3,11];case 10:n=e.sent(),e.label=11;case 11:return[7];case 12:return n===w?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===x||n===b?[2,n]:[2]}})}function zr(t,r){return I(this,function(e){switch(e.label){case 0:return[5,A(Nr(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}function Kr(t,r,i){var n;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return[5,A(T(t.test,r))];case 1:return e.sent()?[5,A(T(t.body,r))]:[3,3];case 2:return(n=e.sent())===w?n.LABEL===i.label?[3,3]:[2,n]:n===x?n.LABEL===i.label?[3,0]:[2,n]:n===b?[2,n]:[3,0];case 3:return[2]}})}function Qr(t,r,i){var n;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return[5,A(T(t.body,r))];case 1:if((n=e.sent())===w)return n.LABEL===i.label?[3,4]:[2,n];if(n===x)return n.LABEL===i.label?[3,2]:[2,n];if(n===b)return[2,n];e.label=2;case 2:return[5,A(T(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})}function Xr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return n=new C(r),[5,A(T(t.init,n))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,A(T(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 C(n),o=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,A(Nr(t.body,a,{invasived:!0}))]):[3,12];case 6:return o=e.sent(),[3,9];case 7:return[5,A(T(t.body,a))];case 8:o=e.sent(),e.label=9;case 9:if(o===w)return o.LABEL===i.label?[3,12]:[2,o];if(o===x)return o.LABEL===i.label?[3,10]:[2,o];if(o===b)return[2,o];e.label=10;case 10:return[5,A(T(t.update,n))];case 11:return e.sent(),[3,2];case 12:return[2]}})}function Yr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return n=[],[5,A(T(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,A(di(t,r,{value:o}))]):[3,5];case 3:if((o=e.sent())===w)return o.LABEL===i.label?[3,5]:[2,o];if(o===x)return o.LABEL===i.label?[3,4]:[2,o];if(o===b)return[2,o];e.label=4;case 4:return a++,[3,2];case 5:return[2]}})}function Zr(n,s,a){var o,c,h,l,u,p,d,f,m;return void 0===a&&(a={}),I(this,function(e){switch(e.label){case 0:return[5,A(T(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,ut.RES=c.next(),[4,ut]):[3,8];case 2:h=e.sent(),e.label=3;case 3:return h.done?[3,7]:[5,A(di(n,s,{value:h.value}))];case 4:if((p=e.sent())===w)return p.LABEL===a.label?[3,7]:[2,p];if(p===x)return p.LABEL===a.label?[3,5]:[2,p];if(p===b)return[2,p];e.label=5;case 5:return ut.RES=c.next(),[4,ut];case 6:return h=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),l=A(o),u=l.next(),e.label=9;case 9:return u.done?[3,12]:(d=u.value,[5,A(di(n,s,{value:d}))]);case 10:if((p=e.sent())===w)return p.LABEL===a.label?[3,12]:[2,p];if(p===x)return p.LABEL===a.label?[3,11]:[2,p];if(p===b)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 Jr(t,r){return I(this,function(e){return r.func(t.id.name,N(t,r)),[2]})}function $r(t,r,i){var n;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,A(ei(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 ei(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),I(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?_:"var"===n?S:void 0)}return[3,3];case 1:return[5,A(V(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,A(T(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,S),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,A(V(t.id,r,{kind:n,feed:h}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function ti(t,r){var i,n,s;return I(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,A(pi(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function ri(t,r,i){var n,s,a,o;return void 0===i&&(i={}),I(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,A(ii(o,r,{klass:n,superClass:s}))]:[3,8];case 2:return e.sent(),[3,7];case 3:return"PropertyDefinition"===o.type&&o.static?[5,A(ni(o,r,{klass:n,superClass:s}))]:[3,5];case 4:return e.sent(),[3,7];case 5:return"StaticBlock"!==o.type?[3,7]:[5,A(si(o,r,{klass:n,superClass:s}))];case 6:e.sent(),e.label=7;case 7:return a++,[3,1];case 8:return[2]}})}function ii(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,A(T(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[k]||f(c,k,{value:{}}),c=c[k]),h=N(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=U(c,a),f(c,a,{get:h,set:l&&l.set,configurable:!0});break;case"set":l=U(c,a),f(c,a,{get:l&&l.get,set:h,configurable:!0});break;default:throw new SyntaxError("Unexpected token")}return[2]}})}function ni(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,A(T(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 C(r,!0)).const("this",n),h=n,o&&(h[k]||f(h,k,{value:{}}),h=h[k]),t.value||(h[a]=void 0),"FunctionExpression"!==t.value.type&&"ArrowFunctionExpression"!==t.value.type)?[3,4]:(h[a]=N(t.value,c,{superClass:s}),[3,6]);case 4:return l=h,u=a,[5,A(T(t.value,c))];case 5:l[u]=e.sent(),e.label=6;case 6:return[2]}})}function si(t,r,i){var n,s;return void 0===i&&(i={}),I(this,function(e){switch(e.label){case 0:return n=i.klass,(s=new C(r,!0)).const("this",n),[5,A(Nr(t,s,{invasived:!0}))];case 1:return[2,e.sent()]}})}function ai(t,r){var i,n,s,a,o;return I(this,function(e){if(n=r.global(),(n=n.find(gt+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&&!W(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 oi(t,r){var i,n,s;return I(this,function(e){switch(e.label){case 0:return(i=r.global(),"FunctionDeclaration"!==t.declaration.type)?[3,1]:(n=N(t.declaration,r),r.func(t.declaration.id.name,n),[3,5]);case 1:return"ClassDeclaration"!==t.declaration.type?[3,3]:[5,A(pi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),[3,5];case 3:return[5,A(T(t.declaration,r))];case 4:n=e.sent(),e.label=5;case 5:return(s=i.find(E))&&(s=s.get())&&"object"==typeof s&&(s.default=n),[2]}})}function ci(t,r){var i,n,s,a,o,c,h,l,u,p,d;return I(this,function(e){switch(e.label){case 0:return(i=r.global(),t.declaration)?"FunctionDeclaration"!==t.declaration.type?[3,1]:(n=N(t.declaration,r),r.func(t.declaration.id.name,n),(c=i.find(E))&&(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,A(pi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),(c=i.find(E))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5];case 3:return"VariableDeclaration"!==t.declaration.type?[3,5]:[5,A($r(t.declaration,r))];case 4:if(e.sent(),(c=i.find(E))&&(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(E))&&(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 hi(t,r){var i,n,s;return I(this,function(e){if(s=r.global(),(n=s.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),i&&"object"==typeof i)return(n=s.find(E))&&(s=n.get())&&"object"==typeof s&&m(s,i),[2];throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"')})}function li(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!==ut?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 ui(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),I(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,A($r(o,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return n?[3,6]:[5,A(function t(r,i){var n,s,a,o,c;return I(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,A($r(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,A($r(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,A($r(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,A(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,A(t(r.consequent,i))];case 10:return(e.sent(),r.alternate)?[5,A(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,A(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,A(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,A(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,A(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,A(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 V(t,r,i){return void 0===i&&(i={}),I(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,A(Cr(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,A(Ir(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,A(Ar(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,A(Pr(t,r,i))];case 8:return[2,e.sent()];case 9:throw new SyntaxError("Unexpected token")}})}function N(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 I(this,function(e){switch(e.label){case 0:return(t=new C(h,!0),"ArrowFunctionExpression"===c.type)?[3,3]:(t.const("this",this),t.let("arguments",arguments),t.const(yt,s),u?[5,A(u(this))]:[3,2]);case 1:e.sent(),e.label=2;case 2:l&&(t.const(pt,l),u)&&t.let(dt,!1),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,A(Ar(i,t,{kind:"var",feed:a.slice(r)}))];case 6:return e.sent(),[3,9];case 7:return[5,A(V(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,A(ui(c.body,t))];case 11:return e.sent(),[5,A(Nr(c.body,t,{invasived:!0,hoisted:!0}))];case 12:return n=e.sent(),[3,15];case 13:return[5,A(T(c.body,t))];case 14:n=e.sent(),"ArrowFunctionExpression"===c.type&&(b.RES=n,n=b),e.label=15;case 15:return n===b?[2,n.RES]:[2]}})},r=c.async&&c.generator?function(){function t(e){return i=i.then(function(){return li(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 li(s.apply(this,arguments))}:s,f(r,ft,{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):R(c,h,e)}function pi(t,n){var s,a,r,i,o,c;return I(this,function(e){switch(e.label){case 0:return[5,A(T(t.superClass,n))];case 1:for(s=e.sent(),a=t.body.body,r=function(t){var r,i;return I(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,A(ni(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(){return I(this,function(e){switch(e.label){case 0:return[5,A(r(this))];case 1:return e.sent(),s&&s.apply(this),[2]}})},o=0;o<a.length;o++)if("MethodDefinition"===(c=a[o]).type&&"constructor"===c.kind){i=N(c.value,n,{superClass:s,construct:r});break}return s&&J(i,s),[5,A(ri(t.body,n,{klass:i,superClass:s}))];case 2:return e.sent(),f(i,mt,{value:!0}),f(i,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,i]}})}function di(t,r,i){var n,s,a,o;return I(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new C(r),"VariableDeclaration"!==s.type?[3,2]:[5,A($r(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,A(_t(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,A(V(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,A(Nr(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,A(T(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function fi(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)?ar(o,t,{hoist:!0,onlyBlock:!0}):i||function e(t,r){switch(t.type){case"VariableDeclaration":ar(t,r,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===t.left.type&&ar(t.left,r,{hoist:!0});case"ForStatement":"ForStatement"===t.type&&"VariableDeclaration"===t.init.type&&ar(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 B(e,t,r){switch(void 0===r&&(r={}),e.type){case"ObjectPattern":return Nt(e,t,r);case"ArrayPattern":return Bt(e,t,r);case"RestElement":return Rt(e,t,r);case"AssignmentPattern":return Dt(e,t,r);default:throw new SyntaxError("Unexpected token")}}function R(c,h,e){var t,l,u,p,r;return void 0===e&&(e={}),c.generator||c.async?N(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 C(h,!0);"ArrowFunctionExpression"!==c.type&&(n.const("this",this),n.let("arguments",arguments),n.const(yt,t),u&&u(this),l)&&(n.const(pt,l),u)&&n.let(dt,!1);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?Rt(o,n,{kind:"var",feed:r.slice(a)}):B(o,n,{kind:"var",feed:r[a]})}if("BlockStatement"===c.body.type?(fi(c.body,n),s=L(c.body,n,{invasived:!0,hoisted:!0})):(s=P(c.body,n),"ArrowFunctionExpression"===c.type&&(b.RES=s,s=b)),s===b)return s.RES},"ArrowFunctionExpression"===c.type&&f(e,ft,{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 mi(e,i){for(var n=P(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||ur(r,i,{klass:e,superClass:n})}},r=function(){t(this),n&&n.apply(this)},a=0;a<s.length;a++){var o=s[a];if("MethodDefinition"===o.type&&"constructor"===o.kind){r=R(o.value,i,{superClass:n,construct:t});break}}return n&&J(r,n),hr(e.body,i,{klass:r,superClass:n}),f(r,mt,{value:!0}),f(r,"name",{value:e.id&&e.id.name||"",configurable:!0}),r}function yi(e,t,r){var r=r.value,i=e.left,n=new C(t);return"VariableDeclaration"===i.type?ar(i,n,{feed:r}):"Identifier"===i.type?_t(i,t,{getVar:!0}).set(r):B(i,t,{feed:r}),"BlockStatement"===e.body.type?L(e.body,n,{invasived:!0}):P(e.body,n)}function gi(e){void 0===e&&(e={}),this.options={ecmaVersion:"latest"},this.scope=new C(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(Z(((t={})[ie]=i,t)),ee),this.scope.let("globalThis",r),this.scope.let("window",r),this.scope.let("this",r)):(this.scope.let("globalThis",i),this.scope.let("window",i),this.scope.let("this",i)),this.scope.const("module"===e?E:"exports",this.exports={})}return gi.prototype.import=function(e,t){var r;if("string"==typeof e&&((r={})[e]=t,e=r),"object"==typeof e)for(var i=G(e),n=0;n<i.length;n++){var s=i[n],a="module"===this.options.sourceType?gt+s:s;this.scope.var(a,e[s])}},gi.prototype.parse=function(e,t){return"function"==typeof t?t(e,m({},this.options)):lt(e,this.options)},gi.prototype.run=function(e){e="string"==typeof e?lt(e,this.options):e;fi(e,this.scope),P(e,this.scope)},gi.version="0.5.6",gi});
|
|
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 jt},get BlockStatement(){return L},get EmptyStatement(){return Ut},get DebuggerStatement(){return qt},get ReturnStatement(){return Wt},get BreakStatement(){return Gt},get ContinueStatement(){return Ht},get LabeledStatement(){return zt},get WithStatement(){return Kt},get IfStatement(){return Qt},get SwitchStatement(){return Xt},get SwitchCase(){return Yt},get ThrowStatement(){return Zt},get TryStatement(){return Jt},get CatchClause(){return $t},get WhileStatement(){return er},get DoWhileStatement(){return tr},get ForStatement(){return rr},get ForInStatement(){return ir},get ForOfStatement(){return nr}}),O=Object.freeze({__proto__:null,get FunctionDeclaration(){return sr},get VariableDeclaration(){return ar},get VariableDeclarator(){return or},get ClassDeclaration(){return cr},get ClassBody(){return hr},get MethodDefinition(){return lr},get PropertyDefinition(){return ur},get StaticBlock(){return pr},get ImportDeclaration(){return dr},get ExportDefaultDeclaration(){return fr},get ExportNamedDeclaration(){return mr},get ExportAllDeclaration(){return yr}}),M=Object.freeze({__proto__:null,get ExpressionStatement(){return Nr},get BlockStatement(){return Br},get EmptyStatement(){return Rr},get DebuggerStatement(){return Dr},get ReturnStatement(){return Or},get BreakStatement(){return Mr},get ContinueStatement(){return Fr},get LabeledStatement(){return jr},get WithStatement(){return Ur},get IfStatement(){return qr},get SwitchStatement(){return Wr},get SwitchCase(){return Gr},get ThrowStatement(){return Hr},get TryStatement(){return zr},get CatchClause(){return Kr},get WhileStatement(){return Qr},get DoWhileStatement(){return Xr},get ForStatement(){return Yr},get ForInStatement(){return Zr},get ForOfStatement(){return Jr}}),F=Object.freeze({__proto__:null,get FunctionDeclaration(){return $r},get VariableDeclaration(){return ei},get VariableDeclarator(){return ti},get ClassDeclaration(){return ri},get ClassBody(){return ii},get MethodDefinition(){return ni},get PropertyDefinition(){return si},get StaticBlock(){return ai},get ImportDeclaration(){return oi},get ExportDefaultDeclaration(){return ci},get ExportNamedDeclaration(){return hi},get ExportAllDeclaration(){return li}});function y(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 g(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;var Q=Object.getOwnPropertyDescriptor;function X(e,t,r){for(;t;){var i=Q(t,r),i=void 0!==i&&void 0===i.writable&&"function"==typeof i[e]&&i[e];if(i)return i;i=t,t=K?K(i):i.__proto__}}function Y(e,t){return X("get",e,t)}function Z(e,t){return X("set",e,t)}var J=Object.create;function $(e,t){var r,i;r=e,i=t,z?z(r,i):r.__proto__=i,e.prototype=J(t.prototype,{constructor:{value:e,writable:!0}})}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},ee=[],i=J(null);try{if(!window.Object)throw 0;ee=H(i=window).filter(function(e){return"webkitStorageInfo"!==e})}catch(e){try{if(!global.Object)throw 0;ee=H(i=global).filter(function(e){return"GLOBAL"!==e&&"root"!==e})}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){}ee=H(i)}}i.Symbol&&(i.Symbol.iterator||(i.Symbol.iterator=p("iterator")),i.Symbol.asyncIterator||(i.Symbol.asyncIterator=p("asynciterator")));for(var te=J({}),re=0;re<ee.length;re++){var ie=ee[re];try{te[ie]=i[ie]}catch(e){}}var ne=p("window");function p(e){return e+Math.random().toString(36).substring(2)}var se=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,370,1,81,2,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,193,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,84,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,406,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,9,5351,0,7,14,13835,9,87,9,39,4,60,6,26,9,1014,0,2,54,8,3,82,0,12,1,19628,1,4706,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,983,6,110,6,6,9,4759,9,787719,239],ae=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,68,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,349,41,7,1,79,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,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,159,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,264,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,4026,582,8634,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,689,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,43,8,8936,3,2,6,2,1,2,290,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,757,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ヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",oe={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",ce={5:t,"5module":t+" export import",6:t+" const class extends export import super"},he=/^in(stanceof)?$/,le=new RegExp("["+e+"]"),ue=new RegExp("["+e+"·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛࢘-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・]");function pe(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&&le.test(String.fromCharCode(e)):!1!==t&&pe(e,ae)))}function de(e,t){return e<48?36===e:e<58||!(e<65)&&(e<91||(e<97?95===e:e<123||(e<=65535?170<=e&&ue.test(String.fromCharCode(e)):!1!==t&&(pe(e,ae)||pe(e,se)))))}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},fe={};function s(e,t){return(t=void 0===t?{}:t).keyword=e,fe[e]=new r(e,t)}var v={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 me(e){return 10===e||13===e||8232===e||8233===e}function ye(e,t,r){void 0===r&&(r=e.length);for(var i=t;i<r;i++){var n=e.charCodeAt(i);if(me(n))return i<r-1&&13===n&&10===e.charCodeAt(i+1)?i+2:i+1}return-1}var ge=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,c=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,e=Object.prototype,ve=e.hasOwnProperty,be=e.toString,xe=Object.hasOwn||function(e,t){return ve.call(e,t)},we=Array.isArray||function(e){return"[object Array]"===be.call(e)},ke=Object.create(null);function Se(e){return ke[e]||(ke[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function _e(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode(55296+(e>>10),56320+(1023&e)))}function Ee(e,t){this.line=e,this.column=t}function Ce(e,t,r){this.start=t,this.end=r,null!==e.sourceFile&&(this.source=e.sourceFile)}var Ie=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/;function Ae(e,t){for(var r=1,i=0;;){var n=ye(e,i,t);if(n<0)return new Ee(r,t-i);++r,i=n}}var Pe={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!(Ee.prototype.offset=function(e){return new Ee(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},Le=!1;function Te(e){var t,r,a,o,i={};for(t in Pe)i[t]=(e&&xe(e,t)?e:Pe)[t];return"latest"===i.ecmaVersion?i.ecmaVersion=1e8:null==i.ecmaVersion?(!Le&&"object"==typeof console&&console.warn&&(Le=!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),we(i.onToken)&&(r=i.onToken,i.onToken=function(e){return r.push(e)}),we(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 Ce(this,n,s)),a.ranges&&(e.range=[r,i]),o.push(e)})),i}function Ve(e,t){return 2|(e?4:0)|(t?8:0)}function h(e,t,r){this.options=e=Te(e),this.sourceFile=e.sourceFile,this.keywords=Se(ce[6<=e.ecmaVersion?6:"module"===e.sourceType?"5module":5]);var i="",i=(!0!==e.allowReserved&&(i=oe[6<=e.ecmaVersion?6:5===e.ecmaVersion?5:3],"module"===e.sourceType)&&(i+=" await"),this.reservedWords=Se(i),(i?i+" ":"")+oe.strict);this.reservedWordsStrict=Se(i),this.reservedWordsStrictBind=Se(i+" "+oe.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=v.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 Ne(){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=(h.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)},h.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},h.parse=function(e,t){return new this(t,e).parse()},h.parseExpressionAt=function(e,t,r){r=new this(r,e,t);return r.nextToken(),r.parseExpression()},h.tokenizer=function(e,t){return new this(t,e)},Object.defineProperties(h.prototype,e),h.prototype),Be=/^(?:'((?:\\.|[^'\\])*?)'|"((?:\\.|[^"\\])*?)")/,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=Be.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===v.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===v.eof||this.type===v.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(v.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},h.prototype),Re=(e.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==v.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"}),De={kind:"switch"},Oe=(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;de(r=this.input.charCodeAt(i),!0);)++i;if(92===r||55295<r&&r<56320)return!0;e=this.input.slice(t,i);if(!he.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&&(de(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=v._var,i="let"),s){case v._break:case v._continue:return this.parseBreakContinueStatement(a,s.keyword);case v._debugger:return this.parseDebuggerStatement(a);case v._do:return this.parseDoStatement(a);case v._for:return this.parseForStatement(a);case v._function:return e&&(this.strict||"if"!==e&&"label"!==e)&&6<=this.options.ecmaVersion&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case v._class:return e&&this.unexpected(),this.parseClass(a,!0);case v._if:return this.parseIfStatement(a);case v._return:return this.parseReturnStatement(a);case v._switch:return this.parseSwitchStatement(a);case v._throw:return this.parseThrowStatement(a);case v._try:return this.parseTryStatement(a);case v._const:case v._var:return i=i||this.value,e&&"var"!==i&&this.unexpected(),this.parseVarStatement(a,i);case v._while:return this.parseWhileStatement(a);case v._with:return this.parseWithStatement(a);case v.braceL:return this.parseBlock(!0,a);case v.semi:return this.parseEmptyStatement(a);case v._export:case v._import:if(10<this.options.ecmaVersion&&s===v._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===v._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===v.name&&"Identifier"===n.type&&this.eat(v.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(v.semi)||this.insertSemicolon()?e.label=null:this.type!==v.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(Re),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(v._while),e.test=this.parseParenExpression(),6<=this.options.ecmaVersion?this.eat(v.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},e.parseForStatement=function(e){this.next();var t,r,i,n,s=9<=this.options.ecmaVersion&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;return this.labels.push(Re),this.enterScope(0),this.expect(v.parenL),this.type===v.semi?(-1<s&&this.unexpected(s),this.parseFor(e,null)):(t=this.isLet(),this.type===v._var||this.type===v._const||t?(r=this.startNode(),t=t?"let":this.value,this.next(),this.parseVar(r,!0,t),this.finishNode(r,"VariableDeclaration"),(this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of"))&&1===r.declarations.length?(9<=this.options.ecmaVersion&&(this.type===v._in?-1<s&&this.unexpected(s):e.await=-1<s),this.parseForIn(e,r)):(-1<s&&this.unexpected(s),this.parseFor(e,r))):(t=this.isContextual("let"),r=!1,i=new Ne,n=this.parseExpression(!(-1<s)||"await",i),this.type===v._in||(r=6<=this.options.ecmaVersion&&this.isContextual("of"))?(9<=this.options.ecmaVersion&&(this.type===v._in?-1<s&&this.unexpected(s):e.await=-1<s),t&&r&&this.raise(n.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(n,!1,i),this.checkLValPattern(n),this.parseForIn(e,n)):(this.checkExpressionErrors(i,!0),-1<s&&this.unexpected(s),this.parseFor(e,n))))},e.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Me|(r?0:Fe),!1,t)},e.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(v._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(v.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(v.braceL),this.labels.push(De),this.enterScope(0);for(var r,i=!1;this.type!==v.braceR;)this.type===v._case||this.type===v._default?(r=this.type===v._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(v.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")},[]),Me=(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(v.parenR),e},e.parseTryStatement=function(e){var t;return this.next(),e.block=this.parseBlock(),e.handler=null,this.type===v._catch&&(t=this.startNode(),this.next(),this.eat(v.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(v._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(Re),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===v._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(v.braceL),e&&this.enterScope(0);this.type!==v.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(v.semi),e.test=this.type===v.semi?null:this.parseExpression(),this.expect(v.semi),e.update=this.type===v.parenR?null:this.parseExpression(),this.expect(v.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},e.parseForIn=function(e,t){var r=this.type===v._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(v.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(v.eq)?n.init=this.parseMaybeAssign(t):i||"const"!==r||this.type===v._in||6<=this.options.ecmaVersion&&this.isContextual("of")?i||"Identifier"===n.id.type||t&&(this.type===v._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(v.comma))break}return e},e.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,"var"===t?1:2,!1)},1),Fe=2;function je(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===v.star&&t&Fe&&this.unexpected(),e.generator=this.eat(v.star)),8<=this.options.ecmaVersion&&(e.async=!!i),t&Me&&(e.id=4&t&&this.type!==v.name?null:this.parseIdent(),!e.id||t&Fe||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(Ve(e.async,e.generator)),t&Me||(e.id=this.type===v.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&Me?"FunctionDeclaration":"FunctionExpression")},e.parseFunctionParams=function(e){this.expect(v.parenL),e.params=this.parseBindingList(v.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(v.braceL);this.type!==v.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(v.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(v.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===v.star?o=!0:i="static"}return r.static=o,!i&&8<=t&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==v.star||this.canInsertSemicolon()?i="async":s=!0),!i&&(9<=t||!s)&&this.eat(v.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===v.parenL||"method"!==a||n||s?(i=(o=!r.static&&je(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===v.name||this.type===v.privateId||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword},e.parseClassElementName=function(e){this.type===v.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&&je(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 je(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&je(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(v.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!==v.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===v.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(v._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];xe(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!==v.string&&this.unexpected(),e.source=this.parseExprAtom(),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},e.parseExport=function(e,t){if(this.next(),this.eat(v.star))return this.parseExportAllDeclaration(e,t);if(this.eat(v._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!==v.string&&this.unexpected(),e.source=this.parseExprAtom();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===v._function||(t=this.isAsyncFunction())?(e=this.startNode(),this.next(),t&&this.next(),this.parseFunction(e,4|Me,!1,t)):this.type===v._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),xe(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(v.braceL);!this.eat(v.braceR);){if(r)r=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;t.push(this.parseExportSpecifier(e))}return t},e.parseImport=function(e){return this.next(),this.type===v.string?(e.specifiers=Oe,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===v.string?this.parseExprAtom():this.unexpected()),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!==v.name||(e.push(this.parseImportDefaultSpecifier()),this.eat(v.comma)))if(this.type===v.star)e.push(this.parseImportNamespaceSpecifier());else for(this.expect(v.braceL);!this.eat(v.braceR);){if(t)t=!1;else if(this.expect(v.comma),this.afterTrailingComma(v.braceR))break;e.push(this.parseImportSpecifier())}return e},e.parseModuleExportName=function(){var e;return 13<=this.options.ecmaVersion&&this.type===v.string?(e=this.parseLiteral(this.value),Ie.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 l(e,t,r,i,n){this.token=e,this.isExpr=!!t,this.preserveSpace=!!r,this.override=i,this.generator=!!n}var e=h.prototype,u=(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!==v.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},e.parseBindingAtom=function(){if(6<=this.options.ecmaVersion)switch(this.type){case v.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(v.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case v.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(v.comma),t&&this.type===v.comma)n.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===v.ellipsis){var a=this.parseRestBinding();this.parseBindingListItem(a),n.push(a),this.type===v.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(v.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&&(xe(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 l("{",!(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 l("{",!0),b_tmpl:new l("${",!1),p_stat:new l("(",!1),p_expr:new l("(",!0),q_tmpl:new l("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new l("function",!1),f_expr:new l("function",!0),f_expr_gen:new l("function",!0,!1,null,!0),f_gen:new l("function",!1,!1,null,!0)}),e=h.prototype,e=(e.initialContext=function(){return[u.b_stat]},e.curContext=function(){return this.context[this.context.length-1]},e.braceIsBlock=function(e){var t=this.curContext();return t===u.f_expr||t===u.f_stat||(e!==v.colon||t!==u.b_stat&&t!==u.b_expr?e===v._return||e===v.name&&this.exprAllowed?o.test(this.input.slice(this.lastTokEnd,this.start)):e===v._else||e===v.semi||e===v.eof||e===v.parenR||e===v.arrow||(e===v.braceL?t===u.b_stat:e!==v._var&&e!==v._const&&e!==v.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===v.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)},v.parenR.updateContext=v.braceR.updateContext=function(){var e;1===this.context.length?this.exprAllowed=!0:((e=this.context.pop())===u.b_stat&&"function"===this.curContext().token&&(e=this.context.pop()),this.exprAllowed=!e.isExpr)},v.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?u.b_stat:u.b_expr),this.exprAllowed=!0},v.dollarBraceL.updateContext=function(){this.context.push(u.b_tmpl),this.exprAllowed=!0},v.parenL.updateContext=function(e){e=e===v._if||e===v._for||e===v._with||e===v._while;this.context.push(e?u.p_stat:u.p_expr),this.exprAllowed=!0},v.incDec.updateContext=function(){},v._function.updateContext=v._class.updateContext=function(e){!e.beforeExpr||e===v._else||e===v.semi&&this.curContext()!==u.p_stat||e===v._return&&o.test(this.input.slice(this.lastTokEnd,this.start))||(e===v.colon||e===v.braceL)&&this.curContext()===u.b_stat?this.context.push(u.f_stat):this.context.push(u.f_expr),this.exprAllowed=!1},v.colon.updateContext=function(){"function"===this.curContext().token&&this.context.pop(),this.exprAllowed=!0},v.backQuote.updateContext=function(){this.curContext()===u.q_tmpl?this.context.pop():this.context.push(u.q_tmpl),this.exprAllowed=!1},v.star.updateContext=function(e){e===v._function&&(e=this.context.length-1,this.context[e]===u.f_expr?this.context[e]=u.f_expr_gen:this.context[e]=u.f_gen),this.exprAllowed=!0},v.name.updateContext=function(e){var t=!1;6<=this.options.ecmaVersion&&e!==v.dot&&("of"===this.value&&!this.exprAllowed||"yield"===this.value&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t},h.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!==v.comma)return n;var s=this.startNodeAt(r,i);for(s.expressions=[n];this.eat(v.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 Ne,i=!0),this.start),c=this.startLoc,h=(this.type!==v.parenL&&this.type!==v.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===v.eq&&(h=this.toAssignable(h,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=h.start&&(t.shorthandAssign=-1),this.type===v.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(v.question)?((t=this.startNodeAt(r,i)).test=n,t.consequent=this.parseMaybeAssign(),this.expect(v.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!==v._in)&&i<l)return s=this.type===v.logicalOR||this.type===v.logicalAND,(a=this.type===v.coalesce)&&(l=v.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===v.coalesce||a&&(this.type===v.logicalOR||this.type===v.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===v.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&&"Identifier"===o.argument.type?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)}(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!==v.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!==v._in&&this.unexpected();return r||!this.eat(v.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(v.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(v.questionDot),h=(i&&c&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions"),this.eat(v.bracketL));if(h||c&&this.type!==v.parenL&&this.type!==v.backQuote||this.eat(v.dot)){var l=this.startNodeAt(t,r);l.object=e,h?(l.property=this.parseExpression(),this.expect(v.bracketR)):this.type===v.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(v.parenL)){var h=new Ne,l=this.yieldPos,i=this.awaitPos,u=this.awaitIdentPos,p=(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.parseExprList(v.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===v.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===v.slash&&this.readRegexp();var i=this.potentialArrowAt===this.start;switch(this.type){case v._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),c=this.startNode(),this.next(),this.type!==v.parenL||this.allowDirectSuper||this.raise(c.start,"super() call outside constructor of a subclass"),this.type!==v.dot&&this.type!==v.bracketL&&this.type!==v.parenL&&this.unexpected(),this.finishNode(c,"Super");case v._this:return c=this.startNode(),this.next(),this.finishNode(c,"ThisExpression");case v.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(v._function))return this.overrideContext(u.f_expr),this.parseFunction(this.startNodeAt(n,s),0,!1,!0,t);if(i&&!this.canInsertSemicolon()){if(this.eat(v.arrow))return this.parseArrowExpression(this.startNodeAt(n,s),[o],!1,t);if(8<=this.options.ecmaVersion&&"async"===o.name&&this.type===v.name&&!a&&(!this.potentialArrowInForAwait||"of"!==this.value||this.containsEsc))return o=this.parseIdent(!1),!this.canInsertSemicolon()&&this.eat(v.arrow)||this.unexpected(),this.parseArrowExpression(this.startNodeAt(n,s),[o],!0,t)}return o;case v.regexp:var c,a=this.value;return(c=this.parseLiteral(a.value)).regex={pattern:a.pattern,flags:a.flags},c;case v.num:case v.string:return this.parseLiteral(this.value);case v._null:case v._true:case v._false:return(c=this.startNode()).value=this.type===v._null?null:this.type===v._true,c.raw=this.type.keyword,this.next(),this.finishNode(c,"Literal");case v.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 v.bracketL:return c=this.startNode(),this.next(),c.elements=this.parseExprList(v.bracketR,!0,!0,e),this.finishNode(c,"ArrayExpression");case v.braceL:return this.overrideContext(u.b_expr),this.parseObj(!1,e);case v._function:return c=this.startNode(),this.next(),this.parseFunction(c,0);case v._class:return this.parseClass(this.startNode(),!1);case v._new:return this.parseNew();case v.backQuote:return this.parseTemplate();case v._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!==v.parenL||e?this.type===v.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(),this.eat(v.parenR)||(t=this.start,this.eat(v.comma)&&this.eat(v.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(v.parenL);var e=this.parseExpression();return this.expect(v.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 Ne,d=this.yieldPos,f=this.awaitPos;for(this.yieldPos=0,this.awaitPos=0;this.type!==v.parenR;){if(l?l=!1:this.expect(v.comma),s&&this.afterTrailingComma(v.parenR,!0)){u=!0;break}if(this.type===v.ellipsis){a=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===v.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(v.parenR),e&&this.shouldParseArrow(h)&&this.eat(v.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 Ue(e){this.flags=e,this.var=[],this.lexical=[],this.functions=[],this.inClassFieldInit=!1}function qe(e,t,r){this.type="",this.start=t,this.end=0,e.options.locations&&(this.loc=new Ce(e,r)),e.options.directSourceFile&&(this.sourceFile=e.options.directSourceFile),e.options.ranges&&(this.range=[t,0])}var We=[],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===v.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(v.parenL)?r.arguments=this.parseExprList(v.parenR,8<=this.options.ecmaVersion,!1):r.arguments=We,this.finishNode(r,"NewExpression"))},e.parseTemplateElement=function(e){var e=e.isTagged,t=this.startNode();return this.type===v.invalidTemplate?(e||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),t.value={raw:this.value,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===v.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===v.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(v.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(v.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===v.name||this.type===v.num||this.type===v.string||this.type===v.bracketL||this.type.keyword||9<=this.options.ecmaVersion&&this.type===v.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(v.braceR);){if(i)i=!1;else if(this.expect(v.comma),5<=this.options.ecmaVersion&&this.afterTrailingComma(v.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(v.ellipsis))return e?(a.argument=this.parseIdent(!1),this.type===v.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===v.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(v.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(v.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===v.colon&&this.unexpected(),this.eat(v.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,a),e.kind="init"):6<=this.options.ecmaVersion&&this.type===v.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===v.comma||this.type===v.braceR||this.type===v.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===v.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(v.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(v.bracketR),e.key;e.computed=!1}return e.key=this.type===v.num||this.type===v.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|Ve(t,i.generator)|(r?128:0)),this.expect(v.parenL),i.params=this.parseBindingList(v.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|Ve(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!==v.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(v.comma),t&&this.afterTrailingComma(e))break;var a=void 0;r&&this.type===v.comma?a=null:this.type===v.ellipsis?(a=this.parseSpread(i),i&&this.type===v.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===v.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=v.name):this.unexpected(),e},e.parsePrivateIdent=function(){var e=this.startNode();return this.type===v.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===v.semi||this.canInsertSemicolon()||this.type!==v.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(v.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")},h.prototype),e=(e.raise=function(e,t){var r=Ae(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 Ee(this.curLine,this.pos-this.lineStart)},h.prototype),e=(e.enterScope=function(e){this.scopeStack.push(new Ue(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}},h.prototype);function Ge(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 qe(this,this.start,this.startLoc)},e.startNodeAt=function(e,t){return new qe(this,e,t)},e.finishNode=function(e,t){return Ge.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},e.finishNodeAt=function(e,t,r,i){return Ge.call(this,e,t,r,i)},e.copyNode=function(e){var t,r=new qe(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",d=e+" Extended_Pictographic",He=d+" EBase EComp EMod EPres ExtPict",ze={9:e,10:d,11:d,12:He,13:He,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"},Ke={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"},Qe="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",d=e+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",He=d+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",Xe=He+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ye=Xe+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Ze={9:e,10:d,11:He,12:Xe,13:Ye,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 Hrkt Katakana_Or_Hiragana Kawi Nag_Mundari Nagm Unknown Zzzz"},Je={};for(var b,$e=0,et=[9,10,11,12,13,14];$e<et.length;$e+=1)(b=Je[b=et[$e]]={binary:Se(ze[b]+" "+Qe),binaryOfStrings:Se(Ke[b]),nonBinary:{General_Category:Se(Qe),Script:Se(Ze[b])}}).nonBinary.Script_Extensions=b.nonBinary.Script,b.nonBinary.gc=b.nonBinary.General_Category,b.nonBinary.sc=b.nonBinary.Script,b.nonBinary.scx=b.nonBinary.Script_Extensions;function x(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=Je[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=[],this.backReferenceNames=[]}e=h.prototype;function tt(e){return 36===e||40<=e&&e<=43||46===e||63===e||91<=e&&e<=94||123<=e&&e<=125}function rt(e){return 65<=e&&e<=90||97<=e&&e<=122}x.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)},x.prototype.raise=function(e){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+e)},x.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)},x.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)},x.prototype.current=function(e){return this.at(this.pos,e=void 0===e?!1:e)},x.prototype.lookahead=function(e){return this.at(this.nextIndex(this.pos,e=void 0===e?!1:e),e)},x.prototype.advance=function(e){this.pos=this.nextIndex(this.pos,e=void 0===e?!1:e)},x.prototype.eat=function(e,t){return this.current(t=void 0===t?!1:t)===e&&(this.advance(t),!0)},x.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&&0<e.groupNames.length&&(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.length=0,e.backReferenceNames.length=0,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets"),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];-1===e.groupNames.indexOf(i)&&e.raise("Invalid named capture referenced")}},e.regexp_disjunction=function(e){for(this.regexp_alternative(e);e.eat(124);)this.regexp_alternative(e);this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},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)&&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_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!!tt(t)&&(e.lastIntValue=t,e.advance(),!0)},e.regexp_eatPatternCharacters=function(e){for(var t,r=e.pos;-1!==(t=e.current())&&!tt(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){e.eat(63)&&(this.regexp_eatGroupName(e)?(-1!==e.groupNames.indexOf(e.lastStringValue)&&e.raise("Duplicate capture group name"),e.groupNames.push(e.lastStringValue)):e.raise("Invalid group"))},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+=_e(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=_e(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),de(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()&&!nt(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!!rt(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 it(e){return rt(e)||95===e}function nt(e){return 48<=e&&e<=57}function st(e){return 48<=e&&e<=57||65<=e&&e<=70||97<=e&&e<=102}function at(e){return 65<=e&&e<=70?e-65+10:97<=e&&e<=102?e-97+10:e-48}function ot(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){xe(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="";it(t=e.current());)e.lastStringValue+=_e(t),e.advance();return""!==e.lastStringValue},e.regexp_eatUnicodePropertyValue=function(e){var t,r;for(e.lastStringValue="";it(r=t=e.current())||nt(r);)e.lastStringValue+=_e(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())&&!ot(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!(!nt(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;nt(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;st(t=e.current());)e.lastIntValue=16*e.lastIntValue+at(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 ot(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(!st(n))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+at(n),e.advance()}return!0};function ct(e){this.type=e.type,this.value=e.value,this.start=e.start,this.end=e.end,e.options.locations&&(this.loc=new Ce(e,e.startLoc,e.endLoc)),e.options.ranges&&(this.range=[e.start,e.end])}d=h.prototype;function ht(e){return"function"!=typeof BigInt?null:BigInt(e.replace(/_/g,""))}d.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 ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},d.getToken=function(){return this.next(),new ct(this)},"undefined"!=typeof Symbol&&(d[Symbol.iterator]=function(){var t=this;return{next:function(){var e=t.getToken();return{done:e.type===v.eof,value:e}}}}),d.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(v.eof):e.override?e.override(this):void this.readToken(this.fullCharCodeAtPos())},d.readToken=function(e){return a(e,6<=this.options.ecmaVersion)||92===e?this.readWord():this.getTokenFromCode(e)},d.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},d.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=ye(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())},d.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&&!me(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())},d.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&&ge.test(String.fromCharCode(e))))break e;++this.pos}}},d.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)},d.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(v.ellipsis)):(++this.pos,this.finishToken(v.dot)))},d.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):61===e?this.finishOp(v.assign,2):this.finishOp(v.slash,1)},d.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=42===e?v.star:v.modulo;return 7<=this.options.ecmaVersion&&42===e&&42===t&&(++r,i=v.starstar,t=this.input.charCodeAt(this.pos+2)),61===t?this.finishOp(v.assign,r+1):this.finishOp(i,r)},d.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t!==e)return 61===t?this.finishOp(v.assign,2):this.finishOp(124===e?v.bitwiseOR:v.bitwiseAND,1);if(12<=this.options.ecmaVersion&&61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(124===e?v.logicalOR:v.logicalAND,2)},d.readToken_caret=function(){return 61===this.input.charCodeAt(this.pos+1)?this.finishOp(v.assign,2):this.finishOp(v.bitwiseXOR,1)},d.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(v.incDec,2):(this.skipLineComment(3),this.skipSpace(),this.nextToken()):61===t?this.finishOp(v.assign,2):this.finishOp(v.plusMin,1)},d.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(v.assign,r+1):this.finishOp(v.bitShift,r)):33!==t||60!==e||this.inModule||45!==this.input.charCodeAt(this.pos+2)||45!==this.input.charCodeAt(this.pos+3)?this.finishOp(v.relational,r=61===t?2:r):(this.skipLineComment(4),this.skipSpace(),this.nextToken())},d.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return 61===t?this.finishOp(v.equality,61===this.input.charCodeAt(this.pos+2)?3:2):61===e&&62===t&&6<=this.options.ecmaVersion?(this.pos+=2,this.finishToken(v.arrow)):this.finishOp(61===e?v.eq:v.prefix,1)},d.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(v.questionDot,2)}if(63===t){if(12<=e)if(61===this.input.charCodeAt(this.pos+2))return this.finishOp(v.assign,3);return this.finishOp(v.coalesce,2)}}return this.finishOp(v.question,1)},d.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(v.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+_e(t)+"'")},d.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(v.parenL);case 41:return++this.pos,this.finishToken(v.parenR);case 59:return++this.pos,this.finishToken(v.semi);case 44:return++this.pos,this.finishToken(v.comma);case 91:return++this.pos,this.finishToken(v.bracketL);case 93:return++this.pos,this.finishToken(v.bracketR);case 123:return++this.pos,this.finishToken(v.braceL);case 125:return++this.pos,this.finishToken(v.braceR);case 58:return++this.pos,this.finishToken(v.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(v.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(v.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+_e(e)+"'")},d.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},d.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 x(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(v.regexp,{pattern:n,flags:a,value:s})},d.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},d.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=ht(this.input.slice(t,this.pos)),++this.pos):a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.num,r)},d.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=ht(this.input.slice(t,this.pos)),++this.pos,a(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(v.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(v.num,i)},d.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},d.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)):(me(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(v.string,t)};var lt={};d.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e!==lt)throw e;this.readInvalidTemplateToken()}this.inTemplateElement=!1},d.invalidStringToken=function(e,t){if(this.inTemplateElement&&9<=this.options.ecmaVersion)throw lt;this.raise(e,t)},d.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!==v.template&&this.type!==v.invalidTemplate?(e+=this.input.slice(t,this.pos),this.finishToken(v.template,e)):36===r?(this.pos+=2,this.finishToken(v.dollarBraceL)):(++this.pos,this.finishToken(v.backQuote));if(92===r)e=(e+=this.input.slice(t,this.pos))+this.readEscapedChar(!0),t=this.pos;else if(me(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}},d.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(v.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},d.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 _e(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)):me(i)?"":String.fromCharCode(i)}},d.readHexChar=function(e){var t=this.pos,e=this.readInt(16,e);return null===e&&this.invalidStringToken(t,"Bad character escape sequence"),e},d.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(de(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:de)(s,i)||this.invalidStringToken(n,"Invalid Unicode escape"),e+=_e(s),r=this.pos}t=!1}return e+this.input.slice(r,this.pos)},d.readWord=function(){var e=this.readWord1(),t=v.name;return this.keywords.test(e)&&(t=fe[e]),this.finishToken(t,e)};h.acorn={Parser:h,version:"8.11.3",defaultOptions:Pe,Position:Ee,SourceLocation:Ce,getLineInfo:Ae,Node:qe,TokenType:r,tokTypes:v,keywordTypes:fe,TokContext:l,tokContexts:u,isIdentifierChar:de,isIdentifierStart:a,Token:ct,isNewLine:me,lineBreak:o,lineBreakG:t,nonASCIIwhitespace:ge};var ut={RES:void 0},w={RES:void 0},k={LABEL:void 0},S={LABEL:void 0},pt=p("super"),dt=p("supercall"),ft=p("noctor"),mt=p("clsctor"),yt=p("newtarget"),_=p("private"),E=p("noinit"),C=p("deadzone"),gt=p("import"),I=p("exports"),vt=(bt.prototype.get=function(){return this.value},bt.prototype.set=function(e){if("const"===this.kind)throw new TypeError("Assignment to constant variable");return this.value=e},bt);function bt(e,t){this.kind=e,this.value=t}wt.prototype.get=function(){return this.object[this.property]},wt.prototype.set=function(e){return this.object[this.property]=e,!0},wt.prototype.del=function(){return delete this.object[this.property]};var xt=wt;function wt(e,t){this.object=e,this.property=t}kt.prototype.global=function(){for(var e=this;e.parent;)e=e.parent;return e},kt.prototype.find=function(e){var t;return this.context[e]||(e in this.withContext?new xt(this.withContext,e):this.parent?this.parent.find(e):e in(t=this.global().find("window").get())?new xt(t,e):null)},kt.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!==E&&i.set(t)}else r.context[e]=new vt("var",t===E?void 0:t);r.parent||(i=r.find("window").get(),t!==E&&f(i,e,{value:t,writable:!0,enumerable:!0}))},kt.prototype.let=function(e,t){var r=this.context[e];if(r&&r.get()!==C)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("let",t)},kt.prototype.const=function(e,t){var r=this.context[e];if(r&&r.get()!==C)throw new SyntaxError("Identifier '"+e+"' has already been declared");this.context[e]=new vt("const",t)},kt.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 vt("var",t)},kt.prototype.with=function(e){Object.keys(e)&&(this.withContext=e)};var A=kt;function kt(e,t){void 0===e&&(e=null),void 0===t&&(t=!1),this.context=J(null),this.withContext=J(null),this.parent=e,this.isolated=t}function St(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!==ut?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 _t(t,r,i){var n,s,a;return void 0===i&&(i={}),y(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())===C)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 Et=Object.freeze({__proto__:null,Identifier:_t});function Ct(t,e){return y(this,function(e){return[2,t.value]})}var It=Object.freeze({__proto__:null,Literal:Ct});function At(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(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,g(Lt(t.object,r,{getProto:!0}))];case 1:return a=e.sent(),[3,4];case 2:return[5,g(P(t.object,r))];case 3:a=e.sent(),e.label=4;case 4:return n?[2,a]:(c=!1,t.computed?[5,g(P(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[_]),s?(l=Z(a,o),"Super"===t.object.type&&l?(u=r.find("this").get(),h=p(o),f(u,h,{set:l}),[2,new xt(u,h)]):[2,new xt(a,o)]):(l=Y(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 Pt(t,e){return y(this,function(e){return[2,t.value.raw]})}function Lt(e,t,r){var i,n;return void 0===r&&(r={}),y(this,function(e){return i=r.getProto,i=void 0!==i&&i,n=t.find(pt).get(),[2,i?n.prototype:n]})}function Tt(t,r){var i;return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.argument,r))];case 1:return[2,"string"==typeof(i=e.sent())?j(i):i]}})}var Vt=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r;return y(this,function(e){if((r=t.find(dt))&&!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 y(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,g(Tt(s,r))]):[3,6];case 2:return i=o.apply(a,[e.sent()]),[3,5];case 3:return h=(c=i).push,[5,g(P(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 y(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,g(Tt(s,r))]):[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,g(P(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,g(Ct(h))];case 7:c=l+e.sent(),e.label=8;case 8:return[5,g(P(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 y(this,function(e){return t.id&&t.id.name?(i=new A(r),n=R(t,i),i.const(t.id.name,n),[2,n]):[2,R(t,r)]})},UnaryExpression:function(t,r){var i;return y(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,g(P(i,r))];case 2:return[2,+e.sent()];case 3:return[5,g(P(i,r))];case 4:return[2,-e.sent()];case 5:return[5,g(P(i,r))];case 6:return[2,!e.sent()];case 7:return[5,g(P(i,r))];case 8:return[2,~e.sent()];case 9:return[5,g(P(i,r))];case 10:return[2,void e.sent()];case 11:return"Identifier"!==i.type?[3,13]:[5,g(_t(i,r,{throwErr:!1}))];case 12:return[2,typeof e.sent()];case 13:return[5,g(P(i,r))];case 14:return[2,typeof e.sent()];case 15:return"MemberExpression"!==i.type?[3,17]:[5,g(At(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,g(P(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 y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.argument).type?[3,2]:[5,g(_t(i,r,{getVar:!0}))];case 1:return n=e.sent(),[3,5];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(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 y(this,function(e){switch(e.label){case 0:return"PrivateIdentifier"!==t.left.type?[3,2]:(i=t.left.name,[5,g(P(t.right,r))]);case 1:return n=(n=e.sent())[_]||{},[3,5];case 2:return[5,g(P(t.left,r))];case 3:return i=e.sent(),[5,g(P(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 y(this,function(e){switch(e.label){case 0:return"Identifier"!==(i=t.left).type?[3,2]:[5,g(_t(i,r,{getVar:!0,throwErr:!1}))];case 1:return(n=e.sent())||(s=r.global().find("window").get(),n=new xt(s,i.name)),[3,7];case 2:return"MemberExpression"!==i.type?[3,4]:[5,g(At(i,r,{getVar:!0}))];case 3:return n=e.sent(),[3,7];case 4:return[5,g(P(t.right,r))];case 5:return s=e.sent(),[5,g(B(i,r,{feed:s}))];case 6:return[2,e.sent()];case 7:return[5,g(P(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 y(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,g(P(t.left,r))];case 2:return(i=e.sent())?[3,4]:[5,g(P(t.right,r))];case 3:i=e.sent(),e.label=4;case 4:return[2,i];case 5:return[5,g(P(t.left,r))];case 6:return(n=e.sent())?[5,g(P(t.right,r))]:[3,8];case 7:n=e.sent(),e.label=8;case 8:return[2,n];case 9:return[5,g(P(t.left,r))];case 10:return null==(a=e.sent())?[3,11]:(s=a,[3,13]);case 11:return[5,g(P(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:At,ConditionalExpression:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.test,r))];case 1:return e.sent()?[5,g(P(t.consequent,r))]:[3,3];case 2:return i=e.sent(),[3,5];case 3:return[5,g(P(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;return y(this,function(e){switch(e.label){case 0:return"MemberExpression"!==t.callee.type?[3,5]:[5,g(At(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,g(P(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[_]),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[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'");return[3,7];case 5:return i=r.find("this").get(),[5,g(P(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[mt]){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,g(Tt(l,r))]):[3,13];case 9:return c=p.apply(u,[e.sent()]),[3,12];case 10:return f=(d=c).push,[5,g(P(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){if(r.find(dt).get())throw new ReferenceError("Super constructor may only be called once");r.find(dt).set(!0)}try{return[2,a.apply(i,c)]}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==a.toString().indexOf("[native code]")&&(m=r.global().find("window").get())&&m[ne])return[2,a.apply(m[ne],c)];throw e}return[2]}})},NewExpression:function(t,r){var i,n,s,a,o,c,h,l,u;return y(this,function(e){switch(e.label){case 0:return[5,g(P(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[ft])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,g(Tt(o,r))]):[3,7];case 3:return s=h.apply(c,[e.sent()]),[3,6];case 4:return u=(l=s).push,[5,g(P(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 y(this,function(e){return"new"===t.meta.name&&"target"===t.property.name?[2,r.find(yt).get()]:"import"===t.meta.name&&"meta"===t.property.name?[2,{url:""}]:[2]})},SequenceExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.expressions.length?[5,g(P(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 y(this,function(e){return[2,R(t,r)]})},TemplateLiteral:function(t,r){var i,n,s,a,o,c;return y(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,g(Pt(a))]):[3,5];case 2:return(s=o+e.sent(),a=n.shift())?(c=s,[5,g(P(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 y(this,function(e){switch(e.label){case 0:return[5,g(P(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,g(P(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:Pt,ClassExpression:function(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return t.id&&t.id.name?(i=new A(r),[5,g(mi(t,i))]):[3,2];case 1:return n=e.sent(),i.const(t.id.name,n),[2,n];case 2:return[5,g(mi(t,r))];case 3:return[2,e.sent()]}})},Super:Lt,SpreadElement:Tt,ChainExpression:function(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.expression,r))];case 1:return[2,e.sent()]}})},ImportExpression:function(t,r){var i,n,s,a;return y(this,function(e){switch(e.label){case 0:return i=r.global(),[5,g(P(t.source,r))];case 1:return(n=e.sent(),(a=i.find(gt+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 y(this,function(e){switch(e.label){case 0:return[5,g(P(t.argument,r))];case 1:return(i=e.sent(),t.delegate)?[5,g(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 y(this,function(e){switch(e.label){case 0:return i=ut,[5,g(P(t.argument,r))];case 1:return i.RES=e.sent(),[4,ut];case 2:return[2,e.sent()]}})}});function Nt(t,r,i){var n,s,a,o,c,h,l,u,p,d,f;return void 0===i&&(i={}),y(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?C:"var"===n?E:void 0),[3,4]):[3,7]:[3,8]):[3,18];case 2:return[5,g(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,g(Rt(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,g(P(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,g(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,g(Rt(l,r,{kind:n,feed:d}))];case 16:e.sent(),e.label=17;case 17:return h++,[3,1];case 18:return[2]}})}function Bt(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(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?C:"var"===n?E:void 0)}return[3,4];case 2:return[5,g(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,g(_t(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,g(Rt(l,r,{kind:n,feed:o.slice(h)}))];case 10:return e.sent(),[3,13];case 11:return[5,g(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 Rt(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(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?C:"var"===n?E:void 0)}return[3,3];case 1:return[5,g(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,g(_t(c,r,{getVar:!0}))];case 6:e.sent().set(o),e.label=7;case 7:return[3,10];case 8:return[5,g(B(c,r,{kind:n,feed:o}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function Dt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(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,g(P(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?C:"var"===n?E:void 0)}return[3,6];case 4:return[5,g(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,g(B(l,r,{kind:n,feed:c}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}var Ot=Object.freeze({__proto__:null,ObjectPattern:Nt,ArrayPattern:Bt,RestElement:Rt,AssignmentPattern:Dt});var Mt,Ft=Object.freeze({__proto__:null,Program:function(t,r){var i;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.body.length?[5,g(P(t.body[i],r))]:[3,4];case 2:e.sent(),e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}});function P(t,r){var i;return y(this,function(e){switch(e.label){case 0:return t?(Mt=Mt||m({},O,Vt,Et,D,It,Ot,Ft),(i=Mt[t.type])?[5,g(i(t,r))]:[3,2]):[2];case 1:return[2,e.sent()];case 2:throw new Error(t.type+" isn't implemented")}})}function jt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.expression,r))];case 1:return e.sent(),[2]}})}function L(t,r,i){var n,s,a;return void 0===i&&(i={}),y(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 A(r),a?[3,2]:[5,g(fi(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,g(P(t.body[s],n))]:[3,6];case 4:if((a=e.sent())===S)return a.LABEL&&a.LABEL===i.label?[3,6]:[2,a];if(a===k||a===w)return[2,a];e.label=5;case 5:return s++,[3,3];case 6:return[2]}})}function Ut(){return y(this,function(e){return[2]})}function qt(){return y(this,function(e){debugger;return[2]})}function Wt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:return(i=w,t.argument)?[5,g(P(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,w]}})}function Gt(t){var r;return y(this,function(e){return S.LABEL=null==(r=t.label)?void 0:r.name,[2,S]})}function Ht(t){var r;return y(this,function(e){return k.LABEL=null==(r=t.label)?void 0:r.name,[2,k]})}function zt(t,r){var i;return y(this,function(e){switch(e.label){case 0:return i=t.label.name,"WhileStatement"!==t.body.type?[3,2]:[5,g(er(t.body,r,{label:i}))];case 1:return[2,e.sent()];case 2:return"DoWhileStatement"!==t.body.type?[3,4]:[5,g(tr(t.body,r,{label:i}))];case 3:return[2,e.sent()];case 4:return"ForStatement"!==t.body.type?[3,6]:[5,g(rr(t.body,r,{label:i}))];case 5:return[2,e.sent()];case 6:return"ForInStatement"!==t.body.type?[3,8]:[5,g(ir(t.body,r,{label:i}))];case 7:return[2,e.sent()];case 8:return"ForOfStatement"!==t.body.type?[3,10]:[5,g(nr(t.body,r,{label:i}))];case 9:return[2,e.sent()];case 10:return"BlockStatement"!==t.body.type?[3,12]:[5,g(L(t.body,r,{label:i}))];case 11:return[2,e.sent()];case 12:return"WithStatement"!==t.body.type?[3,14]:[5,g(Kt(t.body,r,{label:i}))];case 13:return[2,e.sent()];case 14:return"IfStatement"!==t.body.type?[3,16]:[5,g(Qt(t.body,r,{label:i}))];case 15:return[2,e.sent()];case 16:return"SwitchStatement"!==t.body.type?[3,18]:[5,g(Xt(t.body,r,{label:i}))];case 17:return[2,e.sent()];case 18:return"TryStatement"!==t.body.type?[3,20]:[5,g(Jt(t.body,r,{label:i}))];case 19:return[2,e.sent()];case 20:throw new SyntaxError(t.body.type+" cannot be labeled")}})}function Kt(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new A(r),a=(s=n).with,[5,g(P(t.object,r))];case 1:return a.apply(s,[e.sent()]),[5,g(P(t.body,n))];case 2:return(o=e.sent())===S?o.LABEL&&o.LABEL===i.label?[2]:[2,o]:o===k||o===w?[2,o]:[2]}})}function Qt(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(P(t.test,r))];case 1:return e.sent()?[5,g(P(t.consequent,r))]:[3,3];case 2:return n=e.sent(),[3,5];case 3:return[5,g(P(t.alternate,r))];case 4:n=e.sent(),e.label=5;case 5:return n===S?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===w?[2,n]:[2]}})}function Xt(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(P(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,g(P(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,g(Yt(o,r))]:[3,7];case 6:if((l=e.sent())===S)return l.LABEL===i.label?[3,8]:[2,l];if(l===k||l===w)return[2,l];e.label=7;case 7:return a++,[3,2];case 8:return[2]}})}function Yt(t,r){var i,n;return y(this,function(e){switch(e.label){case 0:i=0,e.label=1;case 1:return i<t.consequent.length?[5,g(P(t.consequent[i],r))]:[3,4];case 2:if((n=e.sent())===S||n===k||n===w)return[2,n];e.label=3;case 3:return i++,[3,1];case 4:return[2]}})}function Zt(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.argument,r))];case 1:throw e.sent()}})}function Jt(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return e.trys.push([0,2,9,12]),[5,g(L(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 A(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,g(B(o,r,{feed:s}))];case 4:e.sent(),e.label=5;case 5:return[5,g($t(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,g(L(t.finalizer,r))]:[3,11];case 10:n=e.sent(),e.label=11;case 11:return[7];case 12:return n===S?n.LABEL&&n.LABEL===i.label?[2]:[2,n]:n===k||n===w?[2,n]:[2]}})}function $t(t,r){return y(this,function(e){switch(e.label){case 0:return[5,g(L(t.body,r,{invasived:!0}))];case 1:return[2,e.sent()]}})}function er(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(P(t.test,r))];case 1:return e.sent()?[5,g(P(t.body,r))]:[3,3];case 2:return(n=e.sent())===S?n.LABEL===i.label?[3,3]:[2,n]:n===k?n.LABEL===i.label?[3,0]:[2,n]:n===w?[2,n]:[3,0];case 3:return[2]}})}function tr(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return[5,g(P(t.body,r))];case 1:if((n=e.sent())===S)return n.LABEL===i.label?[3,4]:[2,n];if(n===k)return n.LABEL===i.label?[3,2]:[2,n];if(n===w)return[2,n];e.label=2;case 2:return[5,g(P(t.test,r))];case 3:if(e.sent())return[3,0];e.label=4;case 4:return[2]}})}function rr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=new A(r),[5,g(P(t.init,n))];case 1:e.sent(),e.label=2;case 2:return t.test?[5,g(P(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 A(n),o=void 0,"BlockStatement"!==t.body.type?[3,7]:[5,g(L(t.body,a,{invasived:!0}))]):[3,12];case 6:return o=e.sent(),[3,9];case 7:return[5,g(P(t.body,a))];case 8:o=e.sent(),e.label=9;case 9:if(o===S)return o.LABEL===i.label?[3,12]:[2,o];if(o===k)return o.LABEL===i.label?[3,10]:[2,o];if(o===w)return[2,o];e.label=10;case 10:return[5,g(P(t.update,n))];case 11:return e.sent(),[3,2];case 12:return[2]}})}function ir(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=[],[5,g(P(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,g(yi(t,r,{value:o}))]):[3,5];case 3:if((o=e.sent())===S)return o.LABEL===i.label?[3,5]:[2,o];if(o===k)return o.LABEL===i.label?[3,4]:[2,o];if(o===w)return[2,o];e.label=4;case 4:return a++,[3,2];case 5:return[2]}})}function nr(n,s,a){var o,c,h,l,u,p,d,f,m;return void 0===a&&(a={}),y(this,function(e){switch(e.label){case 0:return[5,g(P(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,ut.RES=c.next(),[4,ut]):[3,8];case 2:h=e.sent(),e.label=3;case 3:return h.done?[3,7]:[5,g(yi(n,s,{value:h.value}))];case 4:if((p=e.sent())===S)return p.LABEL===a.label?[3,7]:[2,p];if(p===k)return p.LABEL===a.label?[3,5]:[2,p];if(p===w)return[2,p];e.label=5;case 5:return ut.RES=c.next(),[4,ut];case 6:return h=e.sent(),[3,3];case 7:return[3,15];case 8:e.trys.push([8,13,14,15]),l=g(o),u=l.next(),e.label=9;case 9:return u.done?[3,12]:(d=u.value,[5,g(yi(n,s,{value:d}))]);case 10:if((p=e.sent())===S)return p.LABEL===a.label?[3,12]:[2,p];if(p===k)return p.LABEL===a.label?[3,11]:[2,p];if(p===w)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 sr(t,r){return y(this,function(e){return r.func(t.id.name,R(t,r)),[2]})}function ar(t,r,i){var n;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:n=0,e.label=1;case 1:return n<t.declarations.length?[5,g(or(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 or(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(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?C:"var"===n?E:void 0)}return[3,3];case 1:return[5,g(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,g(P(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,E),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,g(B(t.id,r,{kind:n,feed:h}))];case 9:e.sent(),e.label=10;case 10:return[2]}})}function cr(t,r){var i,n,s;return y(this,function(e){switch(e.label){case 0:return n=(i=r).func,s=[t.id.name],[5,g(mi(t,r))];case 1:return n.apply(i,s.concat([e.sent()])),[2]}})}function hr(t,r,i){var n,s,a,o;return void 0===i&&(i={}),y(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,g(lr(o,r,{klass:n,superClass:s}))]:[3,8];case 2:return e.sent(),[3,7];case 3:return"PropertyDefinition"===o.type&&o.static?[5,g(ur(o,r,{klass:n,superClass:s}))]:[3,5];case 4:return e.sent(),[3,7];case 5:return"StaticBlock"!==o.type?[3,7]:[5,g(pr(o,r,{klass:n,superClass:s}))];case 6:e.sent(),e.label=7;case 7:return a++,[3,1];case 8:return[2]}})}function lr(t,r,i){var n,s,a,o,c,h,l;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(P(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[_]||f(c,_,{value:{}}),c=c[_]),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 ur(t,r,i){var n,s,a,o,c,h,l,u;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return(n=i.klass,s=i.superClass,o=!1,t.computed)?[5,g(P(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 A(r,!0)).const("this",n),h=n,o&&(h[_]||f(h,_,{value:{}}),h=h[_]),t.value||(h[a]=void 0),"FunctionExpression"!==t.value.type&&"ArrowFunctionExpression"!==t.value.type)?[3,4]:(h[a]=R(t.value,c,{superClass:s}),[3,6]);case 4:return l=h,u=a,[5,g(P(t.value,c))];case 5:l[u]=e.sent(),e.label=6;case 6:return[2]}})}function pr(t,r,i){var n,s;return void 0===i&&(i={}),y(this,function(e){switch(e.label){case 0:return n=i.klass,(s=new A(r,!0)).const("this",n),[5,g(L(t,s,{invasived:!0}))];case 1:return[2,e.sent()]}})}function dr(t,r){var i,n,s,a,o;return y(this,function(e){if(n=r.global(),(n=n.find(gt+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 fr(t,r){var i,n,s;return y(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,g(mi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),[3,5];case 3:return[5,g(P(t.declaration,r))];case 4:n=e.sent(),e.label=5;case 5:return(s=i.find(I))&&(s=s.get())&&"object"==typeof s&&(s.default=n),[2]}})}function mr(t,r){var i,n,s,a,o,c,h,l,u,p,d;return y(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(I))&&(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,g(mi(t.declaration,r))];case 2:return n=e.sent(),r.func(t.declaration.id.name,n),(c=i.find(I))&&(s=c.get())&&"object"==typeof s&&(s[t.declaration.id.name]=n),[3,5];case 3:return"VariableDeclaration"!==t.declaration.type?[3,5]:[5,g(ar(t.declaration,r))];case 4:if(e.sent(),(c=i.find(I))&&(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(I))&&(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 yr(t,r){var i,n,s;return y(this,function(e){if(s=r.global(),(n=s.find(gt+t.source.value))&&(n=n.get())&&("function"==typeof n?i=n():"object"==typeof n&&(i=n)),i&&"object"==typeof i)return(n=s.find(I))&&(s=n.get())&&"object"==typeof s&&m(s,i),[2];throw new TypeError('Failed to resolve module specifier "'+t.source.value+'"')})}function gr(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===C)throw new ReferenceError(e.name+" is not defined");return i}if(r)throw new ReferenceError(e.name+" is not defined")}}var vr=Object.freeze({__proto__:null,Identifier:gr});function br(e,t){return e.value}var xr=Object.freeze({__proto__:null,Literal:br});function wr(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?Sr(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[_]),r)return n=Z(s,i),"Super"===e.object.type&&n?(a=t.find("this").get(),r=p(i),f(a,r,{set:n}),new xt(a,r)):new xt(s,i);n=Y(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 kr(e,t){return e.value.raw}function Sr(e,t,r){r=(r=void 0===r?{}:r).getProto,r=void 0!==r&&r,t=t.find(pt).get();return r?t.prototype:t}function _r(e,t){e=T(e.argument,t);return"string"==typeof e?j(e):e}var Er=Object.freeze({__proto__:null,ThisExpression:function(e,t){var r=t.find(dt);if(r&&!r.get())throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()},ArrayExpression:function(e,t){for(var r=[],i=0;i<e.elements.length;i++){var n=e.elements[i];"SpreadElement"===n.type?r=r.concat(_r(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,_r(o,t)):(n=void 0,s=o.key,n=o.computed?T(s,t):"Identifier"===s.type?s.name:""+br(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 A(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 gr(r,t,{throwErr:!1}):typeof T(r,t);case"delete":if("MemberExpression"===r.type)return wr(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=gr(i,t,{getVar:!0});else{if("MemberExpression"!==i.type)throw new SyntaxError("Unexpected token");r=wr(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))[_]||{}):(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=gr(s,t,{getVar:!0,throwErr:!1}))||(i=t.global().find("window").get(),n=new xt(i,s.name));else{if("MemberExpression"!==s.type)return V(s,t,{feed:T(e.right,t)});n=wr(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:wr,ConditionalExpression:function(e,t){return T(e.test,t)?T(e.consequent,t):T(e.alternate,t)},CallExpression:function(e,t){var r,i;if("MemberExpression"===e.callee.type){if(r=wr(e.callee,t,{getObj:!0}),e.callee.optional&&null==r)return;var n=void 0,s=!1,a=(e.callee.computed?n=T(e.callee.property,t):"PrivateIdentifier"===e.callee.property.type?(n=e.callee.property.name,s=!0):n=e.callee.property.name,r);if(s&&(a=a[_]),s="Super"===e.callee.object.type?(s=t.find("this").get(),a[n].bind(s)):a[n],e.optional&&null==s)return;if("function"!=typeof s)throw new TypeError(n+" is not a function");if(s[mt])throw new TypeError("Class constructor "+n+" cannot be invoked without 'new'")}else{if(r=t.find("this").get(),s=T(e.callee,t),e.optional&&null==s)return;if("function"!=typeof s||"Super"!==e.callee.type&&s[mt]){if("Identifier"===e.callee.type)i=e.callee.name;else try{i=JSON.stringify(s)}catch(e){i=""+s}throw"function"!=typeof s?new TypeError(i+" is not a function"):new TypeError("Class constructor "+i+" cannot be invoked without 'new'")}}for(var o=[],c=0;c<e.arguments.length;c++){var h=e.arguments[c];"SpreadElement"===h.type?o=o.concat(_r(h,t)):o.push(T(h,t))}if("Super"===e.callee.type){if(t.find(dt).get())throw new ReferenceError("Super constructor may only be called once");t.find(dt).set(!0)}try{return s.apply(r,o)}catch(e){if(e instanceof TypeError&&"Illegal invocation"===e.message&&-1!==s.toString().indexOf("[native code]")){a=t.global().find("window").get();if(a&&a[ne])return s.apply(a[ne],o)}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[ft])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(_r(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(yt).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+=kr(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:kr,ClassExpression:function(e,t){var r,i;return e.id&&e.id.name?(i=pi(e,r=new A(t)),r.const(e.id.name,i),i):pi(e,t)},Super:Sr,SpreadElement:_r,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(gt+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 Cr(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?C:"var"===n?E:void 0):V(u,t,{kind:n,hoist:s,onlyBlock:a}):Ar(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]];Ar(l,t,{kind:n,feed:d})}}}function Ir(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?C:"var"===i?E:void 0):V(u,t,{kind:i,hoist:s,onlyBlock:a})):"Identifier"===u.type?i?t[i](u.name,o[h]):((l=gr(u,t,{getVar:!0})).set(o[h]),c.push(l.get())):"RestElement"===u.type?Ar(u,t,{kind:i,feed:o.slice(h)}):V(u,t,{kind:i,feed:o[h]}))}if(c.length)return c}function Ar(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?C:"var"===i?E:void 0):V(e,t,{kind:i,hoist:n,onlyBlock:s})):"Identifier"===e.type?i?t[i](e.name,r):gr(e,t,{getVar:!0}).set(r):V(e,t,{kind:i,feed:r})}function Pr(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?C:"var"===i?E: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 Lr=Object.freeze({__proto__:null,ObjectPattern:Cr,ArrayPattern:Ir,RestElement:Ar,AssignmentPattern:Pr});var Tr,Vr=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=(Tr=Tr||m({},F,Er,vr,M,xr,Lr,Vr))[e.type];if(r)return r(e,t);throw new Error(e.type+" isn't implemented")}}function Nr(e,t){T(e.expression,t)}function Br(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 A(t);n||ui(e,s,{onlyBlock:!0});for(var a=0;a<e.body.length;a++){var o=T(e.body[a],s);if(o===S){if(o.LABEL&&o.LABEL===r.label)break;return o}if(o===k||o===w)return o}}function Rr(){}function Dr(){debugger}function Or(e,t){return w.RES=e.argument?T(e.argument,t):void 0,w}function Mr(e){return S.LABEL=null==(e=e.label)?void 0:e.name,S}function Fr(e){return k.LABEL=null==(e=e.label)?void 0:e.name,k}function jr(e,t){var r=e.label.name;if("WhileStatement"===e.body.type)return Qr(e.body,t,{label:r});if("DoWhileStatement"===e.body.type)return Xr(e.body,t,{label:r});if("ForStatement"===e.body.type)return Yr(e.body,t,{label:r});if("ForInStatement"===e.body.type)return Zr(e.body,t,{label:r});if("ForOfStatement"===e.body.type)return Jr(e.body,t,{label:r});if("BlockStatement"===e.body.type)return Br(e.body,t,{label:r});if("WithStatement"===e.body.type)return Ur(e.body,t,{label:r});if("IfStatement"===e.body.type)return qr(e.body,t,{label:r});if("SwitchStatement"===e.body.type)return Wr(e.body,t,{label:r});if("TryStatement"===e.body.type)return zr(e.body,t,{label:r});throw new SyntaxError(e.body.type+" cannot be labeled")}function Ur(e,t,r){void 0===r&&(r={});var i=new A(t),t=(i.with(T(e.object,t)),T(e.body,i));return t===S?t.LABEL&&t.LABEL===r.label?void 0:t:t===k||t===w?t:void 0}function qr(e,t,r){return void 0===r&&(r={}),(e=T(e.test,t)?T(e.consequent,t):T(e.alternate,t))===S?e.LABEL&&e.LABEL===r.label?void 0:e:e===k||e===w?e:void 0}function Wr(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=Gr(a,t);if(a===S){if(a.LABEL===r.label)break;return a}if(a===k||a===w)return a}}}function Gr(e,t){for(var r=0;r<e.consequent.length;r++){var i=T(e.consequent[r],t);if(i===S||i===k||i===w)return i}}function Hr(e,t){throw T(e.argument,t)}function zr(t,r,e){var i;void 0===e&&(e={});try{i=Br(t.block,r)}catch(e){if(!t.handler)throw e;var n,s=new A(r),a=t.handler.param;a&&("Identifier"===a.type?(n=a.name,s.var(n,e)):V(a,r,{feed:e})),i=Kr(t.handler,s)}finally{t.finalizer&&(i=Br(t.finalizer,r))}return i===S?i.LABEL&&i.LABEL===e.label?void 0:i:i===k||i===w?i:void 0}function Kr(e,t){return Br(e.body,t,{invasived:!0})}function Qr(e,t,r){for(void 0===r&&(r={});T(e.test,t);){var i=T(e.body,t);if(i===S){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===w)return i}}function Xr(e,t,r){void 0===r&&(r={});do{var i=T(e.body,t);if(i===S){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===w)return i}while(T(e.test,t))}function Yr(e,t,r){void 0===r&&(r={});var i=new A(t);for(T(e.init,i);!e.test||T(e.test,i);T(e.update,i)){var n=new A(i),s=void 0;if((s="BlockStatement"===e.body.type?Br(e.body,n,{invasived:!0}):T(e.body,n))===S){if(s.LABEL===r.label)break;return s}if(s===k){if(s.LABEL!==r.label)return s}else if(s===w)return s}}function Zr(e,t,r){for(var i in void 0===r&&(r={}),T(e.right,t)){i=di(e,t,{value:i});if(i===S){if(i.LABEL===r.label)break;return i}if(i===k){if(i.LABEL!==r.label)return i}else if(i===w)return i}}function Jr(e,t,r){void 0===r&&(r={});var i,n,s=T(e.right,t);try{for(var a=g(s),o=a.next();!o.done;o=a.next()){var c=di(e,t,{value:o.value});if(c===S){if(c.LABEL===r.label)break;return c}if(c===k){if(c.LABEL!==r.label)return c}else if(c===w)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 $r(e,t){t.func(e.id.name,N(e,t))}function ei(e,t,r){void 0===r&&(r={});for(var i=0;i<e.declarations.length;i++)ti(e.declarations[i],t,m({kind:e.kind},r))}function ti(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?C:"var"===i?E: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,E),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 ri(e,t){t.func(e.id.name,pi(e,t))}function ii(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?ni(a,t,{klass:i,superClass:n}):"PropertyDefinition"===a.type&&a.static?si(a,t,{klass:i,superClass:n}):"StaticBlock"===a.type&&ai(a,t,{klass:i,superClass:n})}}function ni(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[_]||f(a,_,{value:{}}),a=a[_]),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 si(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 A(t,!0),t.const("this",n);s&&(n[_]||f(n,_,{value:{}}),n=n[_]),e.value||(n[i]=void 0),"FunctionExpression"===e.value.type||"ArrowFunctionExpression"===e.value.type?n[i]=N(e.value,t,{superClass:r}):n[i]=T(e.value,t)}function ai(e,t,r){r=(r=void 0===r?{}:r).klass,t=new A(t,!0);return t.const("this",r),Br(e,t,{invasived:!0})}function oi(e,t){var r,i=t.global().find(gt+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 ci(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=pi(e.declaration,t),t.func(e.declaration.id.name,r)):r=T(e.declaration,t),i.find(I));e&&(t=e.get())&&"object"==typeof t&&(t.default=r)}function hi(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(I))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("ClassDeclaration"===e.declaration.type){var n,s,i=pi(e.declaration,t);t.func(e.declaration.id.name,i),(n=r.find(I))&&(s=n.get())&&"object"==typeof s&&(s[e.declaration.id.name]=i)}else if("VariableDeclaration"===e.declaration.type)if(ei(e.declaration,t),n=r.find(I)){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(I)){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 li(e,t){var r,t=t.global(),i=t.find(gt+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(I);i&&(e=i.get())&&"object"==typeof e&&m(e,r)}function ui(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)?ei(o,t,{hoist:!0,onlyBlock:!0}):i||function e(t,r){switch(t.type){case"VariableDeclaration":ei(t,r,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":"VariableDeclaration"===t.left.type&&ei(t.left,r,{hoist:!0});case"ForStatement":"ForStatement"===t.type&&"VariableDeclaration"===t.init.type&&ei(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 Cr(e,t,r);case"ArrayPattern":return Ir(e,t,r);case"RestElement":return Ar(e,t,r);case"AssignmentPattern":return Pr(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 A(h,!0);"ArrowFunctionExpression"!==c.type&&(n.const("this",this),n.let("arguments",arguments),n.const(yt,t),u&&u(this),l)&&(n.const(pt,l),u)&&n.let(dt,!1);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?Ar(o,n,{kind:"var",feed:r.slice(a)}):V(o,n,{kind:"var",feed:r[a]})}if("BlockStatement"===c.body.type?(ui(c.body,n),s=Br(c.body,n,{invasived:!0,hoisted:!0})):(s=T(c.body,n),"ArrowFunctionExpression"===c.type&&(w.RES=s,s=w)),s===w)return s.RES},"ArrowFunctionExpression"===c.type&&f(e,ft,{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 pi(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||si(r,i,{klass:e,superClass:n})}},r=function(){t(this),n&&n.apply(this)},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&&$(r,n),ii(e.body,i,{klass:r,superClass:n}),f(r,mt,{value:!0}),f(r,"name",{value:e.id&&e.id.name||"",configurable:!0}),r}function di(e,t,r){var r=r.value,i=e.left,n=new A(t);return"VariableDeclaration"===i.type?ei(i,n,{feed:r}):"Identifier"===i.type?gr(i,t,{getVar:!0}).set(r):V(i,t,{feed:r}),"BlockStatement"===e.body.type?Br(e.body,n,{invasived:!0}):T(e.body,n)}function fi(t,r,i){var n,s,a,o,c;return void 0===i&&(i={}),y(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,g(ar(o,r,{hoist:!0,onlyBlock:!0}))];case 3:return e.sent(),[3,6];case 4:return n?[3,6]:[5,g(function t(r,i){var n,s,a,o,c;return y(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,g(ar(r,i,{hoist:!0}))];case 2:return e.sent(),[3,38];case 3:return"VariableDeclaration"!==r.left.type?[3,5]:[5,g(ar(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,g(ar(r.init,i,{hoist:!0}))];case 6:e.sent(),e.label=7;case 7:return[5,g(t(r.body,i))];case 8:return e.sent(),[3,38];case 9:return[5,g(t(r.consequent,i))];case 10:return(e.sent(),r.alternate)?[5,g(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,g(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,g(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,g(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,g(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,g(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={}),y(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,g(Nt(t,r,i))];case 2:return[2,e.sent()];case 3:return[5,g(Bt(t,r,i))];case 4:return[2,e.sent()];case 5:return[5,g(Rt(t,r,i))];case 6:return[2,e.sent()];case 7:return[5,g(Dt(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 y(this,function(e){switch(e.label){case 0:return(t=new A(h,!0),"ArrowFunctionExpression"===c.type)?[3,3]:(t.const("this",this),t.let("arguments",arguments),t.const(yt,s),u?[5,g(u(this))]:[3,2]);case 1:e.sent(),e.label=2;case 2:l&&(t.const(pt,l),u)&&t.let(dt,!1),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,g(Rt(i,t,{kind:"var",feed:a.slice(r)}))];case 6:return e.sent(),[3,9];case 7:return[5,g(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,g(fi(c.body,t))];case 11:return e.sent(),[5,g(L(c.body,t,{invasived:!0,hoisted:!0}))];case 12:return n=e.sent(),[3,15];case 13:return[5,g(P(c.body,t))];case 14:n=e.sent(),"ArrowFunctionExpression"===c.type&&(w.RES=n,n=w),e.label=15;case 15:return n===w?[2,n.RES]:[2]}})},r=c.async&&c.generator?function(){function t(e){return i=i.then(function(){return St(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 St(s.apply(this,arguments))}:s,f(r,ft,{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 mi(t,n){var s,a,r,i,o,c;return y(this,function(e){switch(e.label){case 0:return[5,g(P(t.superClass,n))];case 1:for(s=e.sent(),a=t.body.body,r=function(t){var r,i;return y(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,g(ur(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(){return y(this,function(e){switch(e.label){case 0:return[5,g(r(this))];case 1:return e.sent(),s&&s.apply(this),[2]}})},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&&$(i,s),[5,g(hr(t.body,n,{klass:i,superClass:s}))];case 2:return e.sent(),f(i,mt,{value:!0}),f(i,"name",{value:t.id&&t.id.name||"",configurable:!0}),[2,i]}})}function yi(t,r,i){var n,s,a,o;return y(this,function(e){switch(e.label){case 0:return n=i.value,s=t.left,a=new A(r),"VariableDeclaration"!==s.type?[3,2]:[5,g(ar(s,a,{feed:n}))];case 1:return e.sent(),[3,6];case 2:return"Identifier"!==s.type?[3,4]:[5,g(gr(s,r,{getVar:!0}))];case 3:return e.sent().set(n),[3,6];case 4:return[5,g(B(s,r,{feed:n}))];case 5:e.sent(),e.label=6;case 6:return"BlockStatement"!==t.body.type?[3,8]:[5,g(L(t.body,a,{invasived:!0}))];case 7:return o=e.sent(),[3,10];case 8:return[5,g(P(t.body,a))];case 9:o=e.sent(),e.label=10;case 10:return[2,o]}})}function gi(e){void 0===e&&(e={}),this.options={ecmaVersion:"latest"},this.scope=new A(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(J(((t={})[ne]=i,t)),te),this.scope.let("globalThis",r),this.scope.let("window",r),this.scope.let("this",r)):(this.scope.let("globalThis",i),this.scope.let("window",i),this.scope.let("this",i)),this.scope.const("module"===e?I:"exports",this.exports={})}return gi.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?gt+s:s;this.scope.var(a,e[s])}},gi.prototype.parse=function(e,t){return"function"==typeof t?t(e,m({},this.options)):(t=this.options,h.parse(e,t))},gi.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)?St(function(){return y(this,function(e){switch(e.label){case 0:return[5,g(fi(t,r))];case 1:return e.sent(),[5,g(P(t,r))];case 2:return e.sent(),[2]}})}()):(ui(t,r),T(t,r))},gi.version="0.5.7",gi});
|