sval 0.6.10 → 0.6.11
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/src/share/const.d.ts +1 -0
- package/dist/sval.js +1606 -1588
- package/dist/sval.min.js +1 -1
- package/dist/sval.umd.cjs +5 -5
- package/package.json +1 -1
- package/.claude/settings.local.json +0 -10
package/dist/sval.min.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(){function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _construct(Parent,args,Class){if(_is_native_reflect_construct()){_construct=Reflect.construct}else{_construct=function construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_set_prototype_of(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterable_to_array(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},g=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return g.next=verb(0),g["throw"]=verb(1),g["return"]=verb(2),typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(g&&(g=0,op[0]&&(_=0)),_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function _ts_values(o){var s=typeof Symbol==="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&i>=o.length)o=void 0;return{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}(function(Ve,Ne){(typeof exports==="undefined"?"undefined":_type_of(exports))=="object"&&(typeof module==="undefined"?"undefined":_type_of(module))<"u"?module.exports=Ne():typeof define=="function"&&define.amd?define(Ne):(Ve=(typeof globalThis==="undefined"?"undefined":_type_of(globalThis))<"u"?globalThis:Ve||self,Ve.Sval=Ne())})(this,function _target(){"use strict";var Ve=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return se},get BreakStatement(){return Ha},get CatchClause(){return qi},get ContinueStatement(){return Ka},get DebuggerStatement(){return za},get DoWhileStatement(){return zi},get EmptyStatement(){return Wa},get ExpressionStatement(){return qa},get ForInStatement(){return Hi},get ForOfStatement(){return Ki},get ForStatement(){return Gi},get IfStatement(){return ji},get LabeledStatement(){return Qa},get ReturnStatement(){return Ga},get SwitchCase(){return Pt},get SwitchStatement(){return Ui},get ThrowStatement(){return Xa},get TryStatement(){return $i},get WhileStatement(){return Wi},get WithStatement(){return Mi}},Symbol.toStringTag,{value:"Module"})),Ne=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return Xi},get ClassDeclaration(){return Za},get ExportAllDeclaration(){return is},get ExportDefaultDeclaration(){return es},get ExportNamedDeclaration(){return ts},get FunctionDeclaration(){return Ya},get ImportDeclaration(){return Ja},get MethodDefinition(){return Yi},get PropertyDefinition(){return Lt},get StaticBlock(){return Zi},get VariableDeclaration(){return be},get VariableDeclarator(){return Qi}},Symbol.toStringTag,{value:"Module"})),vr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return ne},get BreakStatement(){return Ns},get CatchClause(){return lr},get ContinueStatement(){return Rs},get DebuggerStatement(){return Ts},get DoWhileStatement(){return fr},get EmptyStatement(){return Ls},get ExpressionStatement(){return Ps},get ForInStatement(){return pr},get ForOfStatement(){return dr},get ForStatement(){return hr},get IfStatement(){return nr},get LabeledStatement(){return Bs},get ReturnStatement(){return Vs},get SwitchCase(){return Vt},get SwitchStatement(){return or},get ThrowStatement(){return Os},get TryStatement(){return ur},get WhileStatement(){return cr},get WithStatement(){return sr}},Symbol.toStringTag,{value:"Module"})),Sr=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return mr},get ClassDeclaration(){return Fs},get ExportAllDeclaration(){return $s},get ExportDefaultDeclaration(){return js},get ExportNamedDeclaration(){return Us},get FunctionDeclaration(){return Ds},get ImportDeclaration(){return Ms},get MethodDefinition(){return gr},get PropertyDefinition(){return Nt},get StaticBlock(){return xr},get VariableDeclaration(){return ve},get VariableDeclarator(){return yr}},Symbol.toStringTag,{value:"Module"})),Ge=Object.freeze,k=Object.defineProperty,le=Object.getOwnPropertyDescriptor,wr=Object.prototype.hasOwnProperty;function ct(e,t){return wr.call(e,t)}var ft=Object.getOwnPropertyNames,Mt=Object.setPrototypeOf;function kr(e,t){Mt?Mt(e,t):e.__proto__=t}var jt=Object.getPrototypeOf;function Ut(e){return jt?jt(e):e.__proto__}var Er=Object.getOwnPropertyDescriptor;function $t(e,t,r){for(;t;){var i=Er(t,r),a=(typeof i==="undefined"?"undefined":_type_of(i))<"u"&&_type_of(i.writable)>"u"&&typeof i[e]=="function"&&i[e];if(a)return a;t=Ut(t)}}function qt(e,t){return $t("get",e,t)}function Wt(e,t){return $t("set",e,t)}var Se=Object.create;function zt(e,t){kr(e,t),e.prototype=Se(t.prototype,{constructor:{value:e,writable:!0}})}function He(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,Ut(e).constructor):t.apply(e,r)}function Cr(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)ct(r,i)&&(e[i]=r[i])}return e}var D=Object.assign||Cr;var Ke=[],h=Se(null);var Qe=function(e){if(!e.Object)throw 0;Ke=ft(h=e).filter(function(t){return["webkitStorageInfo","GLOBAL","root"].indexOf(t)===-1})};try{Qe(window)}catch(e){try{Qe(self)}catch(e){try{Qe(global)}catch(e){try{Qe(globalThis)}catch(e){try{h.Object=Object}catch(e){}try{h.Function=Function}catch(e){}try{h.Array=Array}catch(e){}try{h.Number=Number}catch(e){}try{h.parseFloat=parseFloat}catch(e){}try{h.parseInt=parseInt}catch(e){}try{h.Infinity=1/0}catch(e){}try{h.NaN=NaN}catch(e){}try{h.undefined=void 0}catch(e){}try{h.Boolean=Boolean}catch(e){}try{h.String=String}catch(e){}try{h.Symbol=Symbol}catch(e){}try{h.Date=Date}catch(e){}try{h.Promise=Promise}catch(e){}try{h.RegExp=RegExp}catch(e){}try{h.Error=Error}catch(e){}try{h.EvalError=EvalError}catch(e){}try{h.RangeError=RangeError}catch(e){}try{h.ReferenceError=ReferenceError}catch(e){}try{h.SyntaxError=SyntaxError}catch(e){}try{h.TypeError=TypeError}catch(e){}try{h.URIError=URIError}catch(e){}try{h.JSON=JSON}catch(e){}try{h.Math=Math}catch(e){}try{h.console=console}catch(e){}try{h.Intl=Intl}catch(e){}try{h.ArrayBuffer=ArrayBuffer}catch(e){}try{h.Uint8Array=Uint8Array}catch(e){}try{h.Int8Array=Int8Array}catch(e){}try{h.Uint16Array=Uint16Array}catch(e){}try{h.Int16Array=Int16Array}catch(e){}try{h.Uint32Array=Uint32Array}catch(e){}try{h.Int32Array=Int32Array}catch(e){}try{h.Float32Array=Float32Array}catch(e){}try{h.Float64Array=Float64Array}catch(e){}try{h.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{h.DataView=DataView}catch(e){}try{h.Map=Map}catch(e){}try{h.Set=Set}catch(e){}try{h.WeakMap=WeakMap}catch(e){}try{h.WeakSet=WeakSet}catch(e){}try{h.Proxy=Proxy}catch(e){}try{h.Reflect=Reflect}catch(e){}try{h.BigInt=BigInt}catch(e){}try{h.decodeURI=decodeURI}catch(e){}try{h.decodeURIComponent=decodeURIComponent}catch(e){}try{h.encodeURI=encodeURI}catch(e){}try{h.encodeURIComponent=encodeURIComponent}catch(e){}try{h.escape=escape}catch(e){}try{h.unescape=unescape}catch(e){}try{h.eval=eval}catch(e){}try{h.isFinite=isFinite}catch(e){}try{h.isNaN=isNaN}catch(e){}try{h.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{h.Atomics=Atomics}catch(e){}try{h.WebAssembly=WebAssembly}catch(e){}try{h.clearInterval=clearInterval}catch(e){}try{h.clearTimeout=clearTimeout}catch(e){}try{h.setInterval=setInterval}catch(e){}try{h.setTimeout=setTimeout}catch(e){}try{h.crypto=crypto}catch(e){}try{h.URL=URL}catch(e){}Ke=ft(h)}}}}h.Symbol&&(!h.Symbol.iterator&&(h.Symbol.iterator=R("iterator")),!h.Symbol.asyncIterator&&(h.Symbol.asyncIterator=R("asynciterator")));var Gt=Se({});for(var e=0;e<Ke.length;e++){var t=Ke[e];try{Gt[t]=h[t]}catch(e){}}var Re=R("window");function _r(){return D(Se(_define_property({},Re,h)),Gt)}function R(e){return e+Math.random().toString(36).substring(2)}function Ir(e){var t;if(typeof Symbol=="function"&&(t=e[Symbol.asyncIterator],!t&&(t=e[Symbol.iterator])),t)return t.call(e);if(typeof e.next=="function")return e;{var r=0;return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}}var Ar=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Ht=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Pr="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Kt="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",ht={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"},pt="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",Lr={5:pt,"5module":pt+" export import",6:pt+" const class extends export import super"},Tr=/^in(stanceof)?$/,Vr=new RegExp("["+Kt+"]"),Nr=new RegExp("["+Kt+Pr+"]");function dt(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function te(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Vr.test(String.fromCharCode(e)):t===!1?!1:dt(e,Ht)}function we(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Nr.test(String.fromCharCode(e)):t===!1?!1:dt(e,Ht)||dt(e,Ar)}var E=function E(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function q(e,t){return new E(e,{beforeExpr:!0,binop:t})}var W={beforeExpr:!0},F={startsExpr:!0},yt={};function v(e,t){return t===void 0&&(t={}),t.keyword=e,yt[e]=new E(e,t)}var o={num:new E("num",F),regexp:new E("regexp",F),string:new E("string",F),name:new E("name",F),privateId:new E("privateId",F),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",W),semi:new E(";",W),colon:new E(":",W),dot:new E("."),question:new E("?",W),questionDot:new E("?."),arrow:new E("=>",W),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",W),backQuote:new E("`",F),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:q("||",1),logicalAND:q("&&",2),bitwiseOR:q("|",3),bitwiseXOR:q("^",4),bitwiseAND:q("&",5),equality:q("==/!=/===/!==",6),relational:q("</>/<=/>=",7),bitShift:q("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:q("%",10),star:q("*",10),slash:q("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:q("??",1),_break:v("break"),_case:v("case",W),_catch:v("catch"),_continue:v("continue"),_debugger:v("debugger"),_default:v("default",W),_do:v("do",{isLoop:!0,beforeExpr:!0}),_else:v("else",W),_finally:v("finally"),_for:v("for",{isLoop:!0}),_function:v("function",F),_if:v("if"),_return:v("return",W),_switch:v("switch"),_throw:v("throw",W),_try:v("try"),_var:v("var"),_const:v("const"),_while:v("while",{isLoop:!0}),_with:v("with"),_new:v("new",{beforeExpr:!0,startsExpr:!0}),_this:v("this",F),_super:v("super",F),_class:v("class",F),_extends:v("extends",W),_export:v("export"),_import:v("import",F),_null:v("null",F),_true:v("true",F),_false:v("false",F),_in:v("in",{beforeExpr:!0,binop:7}),_instanceof:v("instanceof",{beforeExpr:!0,binop:7}),_typeof:v("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:v("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:v("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},z=/\r\n?|\n|\u2028|\u2029/,Rr=new RegExp(z.source,"g");function ke(e){return e===10||e===13||e===8232||e===8233}function Qt(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var a=e.charCodeAt(i);if(ke(a))return i<r-1&&a===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var Xt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,G=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Yt=Object.prototype,Br=Yt.hasOwnProperty,Or=Yt.toString,Ee=Object.hasOwn||function(e,t){return Br.call(e,t)},Zt=Array.isArray||function(e){return Or.call(e)==="[object Array]"},Jt=Object.create(null);function ce(e){return Jt[e]||(Jt[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ie(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var Dr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Be=function Be(t,r){this.line=t,this.column=r};Be.prototype.offset=function(t){return new Be(this.line,this.column+t)};var Xe=function Xe(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function ei(e,t){for(var r=1,i=0;;){var a=Qt(e,i,t);if(a<0)return new Be(r,t-i);++r,i=a}}var mt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},ti=!1;function Fr(e){var t={};for(var r in mt)t[r]=e&&Ee(e,r)?e[r]:mt[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!ti&&(typeof console==="undefined"?"undefined":_type_of(console))=="object"&&console.warn&&(ti=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),Zt(t.onToken)){var i=t.onToken;t.onToken=function(a){return i.push(a)}}return Zt(t.onComment)&&(t.onComment=Mr(t,t.onComment)),t}function Mr(e,t){return function(r,i,a,s,n,u){var l={type:r?"Block":"Line",value:i,start:a,end:s};e.locations&&(l.loc=new Xe(this,n,u)),e.ranges&&(l.range=[a,s]),t.push(l)}}var Oe=1,Ce=2,gt=4,ii=8,xt=16,ri=32,Ye=64,ai=128,me=256,De=512,Ze=Oe|Ce|me;function bt(e,t){return Ce|(e?gt:0)|(t?ii:0)}var Je=0,vt=1,re=2,si=3,ni=4,oi=5,V=function V(t,r,i){this.options=t=Fr(t),this.sourceFile=t.sourceFile,this.keywords=ce(Lr[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var a="";t.allowReserved!==!0&&(a=ht[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(a+=" await")),this.reservedWords=ce(a);var s=(a?a+" ":"")+ht.strict;this.reservedWordsStrict=ce(s),this.reservedWordsStrictBind=ce(s+" "+ht.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(z).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Oe),this.regexpState=null,this.privateNameStack=[]},Y={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},inClassStaticBlock:{configurable:!0}};V.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},Y.inFunction.get=function(){return(this.currentVarScope().flags&Ce)>0},Y.inGenerator.get=function(){return(this.currentVarScope().flags&ii)>0},Y.inAsync.get=function(){return(this.currentVarScope().flags>)>0},Y.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(me|De))return!1;if(r&Ce)return(r>)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Y.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&Ye)>0||this.options.allowSuperOutsideMethod},Y.allowDirectSuper.get=function(){return(this.currentThisScope().flags&ai)>0},Y.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Y.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(me|De)||r&Ce&&!(r&xt))return!0}return!1},Y.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&me)>0},V.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,a=0;a<t.length;a++)i=t[a](i);return i},V.parse=function(t,r){return new this(r,t).parse()},V.parseExpressionAt=function(t,r,i){var a=new this(i,t,r);return a.nextToken(),a.parseExpression()},V.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(V.prototype,Y);var B=V.prototype,jr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;B.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){G.lastIndex=e,e+=G.exec(this.input)[0].length;var t=jr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){G.lastIndex=e+t[0].length;var r=G.exec(this.input),i=r.index+r[0].length,a=this.input.charAt(i);return a===";"||a==="}"||z.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(a)||a==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,G.lastIndex=e,e+=G.exec(this.input)[0].length,this.input[e]===";"&&e++}},B.eat=function(e){return this.type===e?(this.next(),!0):!1},B.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc},B.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},B.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},B.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||z.test(this.input.slice(this.lastTokEnd,this.start))},B.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},B.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()},B.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},B.expect=function(e){this.eat(e)||this.unexpected()},B.unexpected=function(e){this.raise(e!==null&&e!==void 0?e:this.start,"Unexpected token")};var et=function et(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};B.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},B.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},B.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")},B.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var g=V.prototype;g.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==o.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,a=Object.keys(this.undefinedExports);i<a.length;i+=1){var s=a[i];this.raiseRecoverable(this.undefinedExports[s].start,"Export '"+s+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var St={kind:"loop"},Ur={kind:"switch"};g.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;G.lastIndex=this.pos;var t=G.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if(te(i,!0)){for(var a=r+1;we(i=this.input.charCodeAt(a),!0);)++a;if(i===92||i>55295&&i<56320)return!0;var s=this.input.slice(r,a);if(!Tr.test(s))return!0}return!1},g.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;G.lastIndex=this.pos;var e=G.exec(this.input),t=this.pos+e[0].length,r;return!z.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(we(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},g.parseStatement=function(e,t,r){var i=this.type,a=this.startNode(),s;switch(this.isLet(e)&&(i=o._var,s="let"),i){case o._break:case o._continue:return this.parseBreakContinueStatement(a,i.keyword);case o._debugger:return this.parseDebuggerStatement(a);case o._do:return this.parseDoStatement(a);case o._for:return this.parseForStatement(a);case o._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(a,!1,!e);case o._class:return e&&this.unexpected(),this.parseClass(a,!0);case o._if:return this.parseIfStatement(a);case o._return:return this.parseReturnStatement(a);case o._switch:return this.parseSwitchStatement(a);case o._throw:return this.parseThrowStatement(a);case o._try:return this.parseTryStatement(a);case o._const:case o._var:return s=s||this.value,e&&s!=="var"&&this.unexpected(),this.parseVarStatement(a,s);case o._while:return this.parseWhileStatement(a);case o._with:return this.parseWithStatement(a);case o.braceL:return this.parseBlock(!0,a);case o.semi:return this.parseEmptyStatement(a);case o._export:case o._import:if(this.options.ecmaVersion>10&&i===o._import){G.lastIndex=this.pos;var n=G.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(a,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===o._import?this.parseImport(a):this.parseExport(a,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(a,!0,!e);var c=this.value,f=this.parseExpression();return i===o.name&&f.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(a,c,f,e):this.parseExpressionStatement(a,f)}},g.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?e.label=null:this.type!==o.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var a=this.labels[i];if((e.label==null||a.name===e.label.name)&&(a.kind!=null&&(r||a.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},g.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},g.parseDoStatement=function(e){return this.next(),this.labels.push(St),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},g.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(St),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===o._var||this.type===o._const||r){var i=this.startNode(),a=r?"let":this.value;return this.next(),this.parseVar(i,!0,a),this.finishNode(i,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var s=this.isContextual("let"),n=!1,u=this.containsEsc,l=new et,c=this.start,f=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===o._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(f.start===c&&!u&&f.type==="Identifier"&&f.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),s&&n&&this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(f,!1,l),this.checkLValPattern(f),this.parseForIn(e,f)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,f))},g.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Fe|(r?0:wt),!1,t)},g.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},g.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},g.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Ur),this.enterScope(0);for(var t,r=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var i=this.type===o._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(o.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},g.parseThrowStatement=function(e){return this.next(),z.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var $r=[];g.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?ri:0),this.checkLValPattern(e,t?ni:re),this.expect(o.parenR),e},g.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();this.next(),this.eat(o.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},g.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},g.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(St),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},g.parseWithStatement=function(e){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")},g.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},g.parseLabeledStatement=function(e,t,r,i){for(var a=0,s=this.labels;a<s.length;a+=1){var n=s[a];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},g.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},g.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(o.braceL),e&&this.enterScope(0);this.type!==o.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},g.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},g.parseForIn=function(e,t){var r=this.type===o._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},g.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var a=this.startNode();if(this.parseVarId(a,r),this.eat(o.eq)?a.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&a.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):a.init=null,e.declarations.push(this.finishNode(a,"VariableDeclarator")),!this.eat(o.comma))break}return e},g.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?vt:re,!1)};var Fe=1,wt=2,ui=4;g.parseFunction=function(e,t,r,i,a){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===o.star&&t&wt&&this.unexpected(),e.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Fe&&(e.id=t&ui&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&wt)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?vt:re:si));var s=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(bt(e.async,e.generator)),t&Fe||(e.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,a),this.yieldPos=s,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Fe?"FunctionDeclaration":"FunctionExpression")},g.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},g.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),a=this.startNode(),s=!1;for(a.body=[],this.expect(o.braceL);this.type!==o.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(a.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(s&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),s=!0):n.key&&n.key.type==="PrivateIdentifier"&&qr(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(a,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},g.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",a=!1,s=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===o.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon()?s=!0:i="async"),!i&&(t>=9||!s)&&this.eat(o.star)&&(a=!0),!i&&!s&&!a){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=l:i=l)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===o.parenL||n!=="method"||a||s){var c=!r.static&&tt(r,"constructor"),f=c&&e;c&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":n,this.parseClassMethod(r,a,s,f)}else this.parseClassField(r);return r},g.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword},g.parseClassElementName=function(e){this.type===o.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},g.parseClassMethod=function(e,t,r,i){var a=e.key;e.kind==="constructor"?(t&&this.raise(a.start,"Constructor can't be a generator"),r&&this.raise(a.start,"Constructor can't be an async method")):e.static&&tt(e,"prototype")&&this.raise(a.start,"Classes may not have a static property named prototype");var s=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&s.params.length!==0&&this.raiseRecoverable(s.start,"getter should have no params"),e.kind==="set"&&s.params.length!==1&&this.raiseRecoverable(s.start,"setter should have exactly one param"),e.kind==="set"&&s.params[0].type==="RestElement"&&this.raiseRecoverable(s.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},g.parseClassField=function(e){return tt(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&tt(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(o.eq)?(this.enterScope(De|Ye),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},g.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(me|Ye);this.type!==o.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},g.parseClassId=function(e,t){this.type===o.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,re,!1)):(t===!0&&this.unexpected(),e.id=null)},g.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null},g.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},g.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,a=i===0?null:this.privateNameStack[i-1],s=0;s<r.length;++s){var n=r[s];Ee(t,n.name)||(a?a.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function qr(e,t){var r=t.key.name,i=e[r],a="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(a=(t.static?"s":"i")+t.kind),i==="iget"&&a==="iset"||i==="iset"&&a==="iget"||i==="sget"&&a==="sset"||i==="sset"&&a==="sget"?(e[r]="true",!1):i?!0:(e[r]=a,!1)}function tt(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}g.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},g.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var a=i[r];this.checkUnreserved(a.local),this.checkLocalExport(a.local),a.local.type==="Literal"&&this.raise(a.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},g.parseExportDeclaration=function(e){return this.parseStatement(null)},g.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Fe|ui,!1,e)}else if(this.type===o._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}},g.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ee(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},g.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,a=t.properties;i<a.length;i+=1){var s=a[i];this.checkPatternExport(e,s)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)},g.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var a=i[r];this.checkPatternExport(e,a.id)}},g.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},g.parseExportSpecifier=function(e){var t=this.startNode();return t.local=this.parseModuleExportName(),t.exported=this.eatContextual("as")?this.parseModuleExportName():t.local,this.checkExport(e,t.exported,t.exported.start),this.finishNode(t,"ExportSpecifier")},g.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;t.push(this.parseExportSpecifier(e))}return t},g.parseImport=function(e){return this.next(),this.type===o.string?(e.specifiers=$r,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},g.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportSpecifier")},g.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportDefaultSpecifier")},g.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,re),this.finishNode(e,"ImportNamespaceSpecifier")},g.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma)))return e;if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(o.braceL);!this.eat(o.braceR);){if(t)t=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;e.push(this.parseImportSpecifier())}return e},g.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);for(var t={},r=!0;!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var i=this.parseImportAttribute(),a=i.key.type==="Identifier"?i.key.name:i.key.value;Ee(t,a)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+a+"'"),t[a]=!0,e.push(i)}return e},g.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},g.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);return Dr.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},g.adaptDirectivePrologue=function(e){for(var t=0;t<e.length&&this.isDirectiveCandidate(e[t]);++t)e[t].directive=e[t].expression.raw.slice(1,-1)},g.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var H=V.prototype;H.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,a=e.properties;i<a.length;i+=1){var s=a[i];this.toAssignable(s,t),s.type==="RestElement"&&(s.argument.type==="ArrayPattern"||s.argument.type==="ObjectPattern")&&this.raise(s.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},H.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var a=e[i];a&&this.toAssignable(a,t)}if(r){var s=e[r-1];this.options.ecmaVersion===6&&t&&s&&s.type==="RestElement"&&s.argument.type!=="Identifier"&&this.unexpected(s.argument.start)}return e},H.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},H.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},H.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()},H.parseBindingList=function(e,t,r,i){for(var a=[],s=!0;!this.eat(e);)if(s?s=!1:this.expect(o.comma),t&&this.type===o.comma)a.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===o.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),a.push(n),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else a.push(this.parseAssignableListItem(i))}return a},H.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},H.parseBindingListItem=function(e){return e},H.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},H.checkLValSimple=function(e,t,r){t===void 0&&(t=Je);var i=t!==Je;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===re&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ee(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==oi&&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")}},H.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=Je),e.type){case"ObjectPattern":for(var i=0,a=e.properties;i<a.length;i+=1){var s=a[i];this.checkLValInnerPattern(s,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},H.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=Je),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var X=function X(t,r,i,a,s){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=a,this.generator=!!s},A={b_stat:new X("{",!1),b_expr:new X("{",!0),b_tmpl:new X("${",!1),p_stat:new X("(",!1),p_expr:new X("(",!0),q_tmpl:new X("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new X("function",!1),f_expr:new X("function",!0),f_expr_gen:new X("function",!0,!1,null,!0),f_gen:new X("function",!1,!1,null,!0)},_e=V.prototype;_e.initialContext=function(){return[A.b_stat]},_e.curContext=function(){return this.context[this.context.length-1]},_e.braceIsBlock=function(e){var t=this.curContext();return t===A.f_expr||t===A.f_stat?!0:e===o.colon&&(t===A.b_stat||t===A.b_expr)?!t.isExpr:e===o._return||e===o.name&&this.exprAllowed?z.test(this.input.slice(this.lastTokEnd,this.start)):e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow?!0:e===o.braceL?t===A.b_stat:e===o._var||e===o._const||e===o.name?!1:!this.exprAllowed},_e.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},_e.updateContext=function(e){var t,r=this.type;r.keyword&&e===o.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},_e.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===A.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?A.b_stat:A.b_expr),this.exprAllowed=!0},o.dollarBraceL.updateContext=function(){this.context.push(A.b_tmpl),this.exprAllowed=!0},o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?A.p_stat:A.p_expr),this.exprAllowed=!0},o.incDec.updateContext=function(){},o._function.updateContext=o._class.updateContext=function(e){e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==A.p_stat)&&!(e===o._return&&z.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===A.b_stat)?this.context.push(A.f_expr):this.context.push(A.f_stat),this.exprAllowed=!1},o.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},o.backQuote.updateContext=function(){this.curContext()===A.q_tmpl?this.context.pop():this.context.push(A.q_tmpl),this.exprAllowed=!1},o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;this.context[t]===A.f_expr?this.context[t]=A.f_expr_gen:this.context[t]=A.f_gen}this.exprAllowed=!0},o.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=V.prototype;x.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,a;switch(i.type){case"Identifier":a=i.name;break;case"Literal":a=String(i.value);break;default:return}var s=e.kind;if(this.options.ecmaVersion>=6){a==="__proto__"&&s==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}a="$"+a;var n=t[a];if(n){var u;s==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[s],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[a]={init:!1,get:!1,set:!1};n[s]=!0}},x.parseExpression=function(e,t){var r=this.start,i=this.startLoc,a=this.parseMaybeAssign(e,t);if(this.type===o.comma){var s=this.startNodeAt(r,i);for(s.expressions=[a];this.eat(o.comma);)s.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(s,"SequenceExpression")}return a},x.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,a=-1,s=-1,n=-1;t?(a=t.parenthesizedAssign,s=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new et,i=!0);var u=this.start,l=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,l)),this.type.isAssign){var f=this.startNodeAt(u,l);return f.operator=this.value,this.type===o.eq&&(c=this.toAssignable(c,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===o.eq?this.checkLValPattern(c):this.checkLValSimple(c),f.left=c,this.next(),f.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return a>-1&&(t.parenthesizedAssign=a),s>-1&&(t.trailingComma=s),c},x.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,a=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return a;if(this.eat(o.question)){var s=this.startNodeAt(r,i);return s.test=a,s.consequent=this.parseMaybeAssign(),this.expect(o.colon),s.alternate=this.parseMaybeAssign(e),this.finishNode(s,"ConditionalExpression")}return a},x.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,a=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||a.start===r&&a.type==="ArrowFunctionExpression"?a:this.parseExprOp(a,r,i,-1,e)},x.parseExprOp=function(e,t,r,i,a){var s=this.type.binop;if(s!=null&&(!a||this.type!==o._in)&&s>i){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;u&&(s=o.logicalAND.binop);var l=this.value;this.next();var c=this.start,f=this.startLoc,p=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,a),c,f,s,a),w=this.buildBinary(t,r,e,p,l,n||u);return(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(w,t,r,i,a)}return e},x.buildBinary=function(e,t,r,i,a,s){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=a,n.right=i,this.finishNode(n,s?"LogicalExpression":"BinaryExpression")},x.parseMaybeUnary=function(e,t,r,i){var a=this.start,s=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&li(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&kt(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==o._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(a,s);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(a,s,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function li(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&li(e.expression)}function kt(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&kt(e.expression)||e.type==="ParenthesizedExpression"&&kt(e.expression)}x.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,a=this.parseExprAtom(e,t);if(a.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return a;var s=this.parseSubscripts(a,r,i,!1,t);return e&&s.type==="MemberExpression"&&(e.parenthesizedAssign>=s.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=s.start&&(e.parenthesizedBind=-1),e.trailingComma>=s.start&&(e.trailingComma=-1)),s},x.parseSubscripts=function(e,t,r,i,a){for(var s=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,s,n,a);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,r);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}},x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)},x.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},x.parseSubscript=function(e,t,r,i,a,s,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var f=this.startNodeAt(t,r);f.object=e,c?(f.property=this.parseExpression(),this.expect(o.bracketR)):this.type===o.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!c,u&&(f.optional=l),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(o.parenL)){var p=new et,w=this.yieldPos,I=this.awaitPos,T=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Q=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,p);if(a&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=w,this.awaitPos=I,this.awaitIdentPos=T,this.parseSubscriptAsyncArrow(t,r,Q,n);this.checkExpressionErrors(p,!0),this.yieldPos=w||this.yieldPos,this.awaitPos=I||this.awaitPos,this.awaitIdentPos=T||this.awaitIdentPos;var ye=this.startNodeAt(t,r);ye.callee=e,ye.arguments=Q,u&&(ye.optional=l),e=this.finishNode(ye,"CallExpression")}else if(this.type===o.backQuote){(l||s)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Te=this.startNodeAt(t,r);Te.tag=e,Te.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(Te,"TaggedTemplateExpression")}return e},x.parseExprAtom=function(e,t,r){this.type===o.slash&&this.readRegexp();var i,a=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(i,"Super");case o._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case o.name:var s=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(A.f_expr),this.parseFunction(this.startNodeAt(s,n),0,!1,!0,t);if(a&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(s,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(s,n),[l],!0,t)}return l;case o.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return i=this.startNode(),i.value=this.type===o._null?null:this.type===o._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case o.parenL:var f=this.start,p=this.parseParenAndDistinguishExpression(a,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(p)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),p;case o.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case o.braceL:return this.overrideContext(A.b_expr),this.parseObj(!1,e);case o._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},x.parseExprAtomDefault=function(){this.unexpected()},x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);if(this.type===o.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(o.parenR)?e.options=null:(this.expect(o.comma),this.afterTrailingComma(o.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(o.parenR)||(this.expect(o.comma),this.afterTrailingComma(o.parenR)||this.unexpected())));else if(!this.eat(o.parenR)){var t=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},x.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e},x.shouldParseArrow=function(e){return!this.canInsertSemicolon()},x.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,a,s=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,f=!1,p=new et,w=this.yieldPos,I=this.awaitPos,T;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(c?c=!1:this.expect(o.comma),s&&this.afterTrailingComma(o.parenR,!0)){f=!0;break}else if(this.type===o.ellipsis){T=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,p,this.parseParenItem));var Q=this.lastTokEnd,ye=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(p,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=w,this.awaitPos=I,this.parseParenArrowList(r,i,l,t);(!l.length||f)&&this.unexpected(this.lastTokStart),T&&this.unexpected(T),this.checkExpressionErrors(p,!0),this.yieldPos=w||this.yieldPos,this.awaitPos=I||this.awaitPos,l.length>1?(a=this.startNodeAt(n,u),a.expressions=l,this.finishNodeAt(a,"SequenceExpression",Q,ye)):a=l[0]}else a=this.parseParenExpression();if(this.options.preserveParens){var Te=this.startNodeAt(r,i);return Te.expression=a,this.finishNode(Te,"ParenthesizedExpression")}else return a},x.parseParenItem=function(e){return e},x.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var Wr=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,a=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,a,!0,!1),this.eat(o.parenL)?e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Wr,this.finishNode(e,"NewExpression")},x.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===o.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===o.backQuote,this.finishNode(r,"TemplateElement")},x.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(o.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},x.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!z.test(this.input.slice(this.lastTokEnd,this.start))},x.parseObj=function(e,t){var r=this.startNode(),i=!0,a={};for(r.properties=[],this.next();!this.eat(o.braceR);){if(i)i=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var s=this.parseProperty(e,t);e||this.checkPropClash(s,a,t),r.properties.push(s)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},x.parseProperty=function(e,t){var r=this.startNode(),i,a,s,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(s=this.start,n=this.startLoc),e||(i=this.eat(o.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(a=!0,i=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(r)):a=!1,this.parsePropertyValue(r,e,i,a,s,n,t,u),this.finishNode(r,"Property")},x.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},x.parsePropertyValue=function(e,t,r,i,a,s,n,u){(r||i)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===o.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=a),t?e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key)):this.type===o.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(a,s,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()},x.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;e.computed=!1}return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},x.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},x.parseMethod=function(e,t,r){var i=this.startNode(),a=this.yieldPos,s=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(bt(t,i.generator)|Ye|(r?ai:0)),this.expect(o.parenL),i.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")},x.parseArrowExpression=function(e,t,r,i){var a=this.yieldPos,s=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(bt(r,!1)|xt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=a,this.awaitPos=s,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")},x.parseFunctionBody=function(e,t,r,i){var a=t&&this.type!==o.braceL,s=this.strict,n=!1;if(a)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!s||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!s&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,oi),e.body=this.parseBlock(!1,void 0,n&&!s),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},x.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0},x.checkParams=function(e,t){for(var r=Object.create(null),i=0,a=e.params;i<a.length;i+=1){var s=a[i];this.checkLValInnerPattern(s,vt,t?null:r)}},x.parseExprList=function(e,t,r,i){for(var a=[],s=!0;!this.eat(e);){if(s)s=!1;else if(this.expect(o.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===o.comma?n=null:this.type===o.ellipsis?(n=this.parseSpread(i),i&&this.type===o.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),a.push(n)}return a},x.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&Ze)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var a=this.strict?this.reservedWordsStrict:this.reservedWords;a.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}},x.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},x.parseIdentNode=function(){var e=this.startNode();return this.type===o.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=o.name):this.unexpected(),e},x.parsePrivateIdent=function(){var e=this.startNode();return this.type===o.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},x.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},x.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var it=V.prototype;it.raise=function(e,t){var r=ei(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},it.raiseRecoverable=it.raise,it.curPosition=function(){if(this.options.locations)return new Be(this.curLine,this.pos-this.lineStart)};var fe=V.prototype,zr=function zr(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};fe.enterScope=function(e){this.scopeStack.push(new zr(e))},fe.exitScope=function(){this.scopeStack.pop()},fe.treatFunctionsAsVarInScope=function(e){return e.flags&Ce||!this.inModule&&e.flags&Oe},fe.declareName=function(e,t,r){var i=!1;if(t===re){var a=this.currentScope();i=a.lexical.indexOf(e)>-1||a.functions.indexOf(e)>-1||a.var.indexOf(e)>-1,a.lexical.push(e),this.inModule&&a.flags&Oe&&delete this.undefinedExports[e]}else if(t===ni){var s=this.currentScope();s.lexical.push(e)}else if(t===si){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&ri&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Oe&&delete this.undefinedExports[e],l.flags&Ze)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},fe.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},fe.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},fe.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Ze|De|me))return t}},fe.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(Ze|De|me)&&!(t.flags&xt))return t}};var rt=function rt(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Xe(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},Me=V.prototype;Me.startNode=function(){return new rt(this,this.start,this.startLoc)},Me.startNodeAt=function(e,t){return new rt(this,e,t)};function ci(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}Me.finishNode=function(e,t){return ci.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},Me.finishNodeAt=function(e,t,r,i){return ci.call(this,e,t,r,i)},Me.copyNode=function(e){var t=new rt(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Gr="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",fi="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",hi=fi+" Extended_Pictographic",pi=hi,di=pi+" EBase EComp EMod EPres ExtPict",yi=di,Hr=yi,Kr={9:fi,10:hi,11:pi,12:di,13:yi,14:Hr},Qr="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Xr={9:"",10:"",11:"",12:"",13:"",14:Qr},mi="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",gi="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",xi=gi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",bi=xi+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",vi=bi+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Si=vi+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",Yr=Si+" "+Gr,Zr={9:gi,10:xi,11:bi,12:vi,13:Si,14:Yr},wi={};function Jr(e){var t=wi[e]={binary:ce(Kr[e]+" "+mi),binaryOfStrings:ce(Xr[e]),nonBinary:{General_Category:ce(mi),Script:ce(Zr[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var Et=0,ki=[9,10,11,12,13,14];Et<ki.length;Et+=1){var ea=ki[Et];Jr(ea)}var m=V.prototype,at=function at(t,r){this.parent=t,this.base=r||this};at.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1},at.prototype.sibling=function(){return new at(this.parent,this.base)};var Z=function Z(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=wi[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};Z.prototype.reset=function(t,r,i){var a=i.indexOf("v")!==-1,s=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,a&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=s&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=s&&this.parser.options.ecmaVersion>=9)},Z.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},Z.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,a=i.length;if(t>=a)return-1;var s=i.charCodeAt(t);if(!(r||this.switchU)||s<=55295||s>=57344||t+1>=a)return s;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(s<<10)+n-0x35fdc00:s},Z.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,a=i.length;if(t>=a)return a;var s=i.charCodeAt(t),n;return!(r||this.switchU)||s<=55295||s>=57344||t+1>=a||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2},Z.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},Z.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},Z.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},Z.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1},Z.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,a=0,s=t;a<s.length;a+=1){var n=s[a],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0},m.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,a=!1,s=0;s<r.length;s++){var n=r.charAt(s);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,s+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(a=!0)}this.options.ecmaVersion>=15&&i&&a&&this.raise(e.start,"Invalid regular expression flag")};function ta(e){for(var t in e)return!0;return!1}m.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ta(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},m.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},m.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new at(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},m.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},m.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},m.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},m.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},m.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},m.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,a=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(a=e.lastIntValue),e.eat(125)))return a!==-1&&a<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},m.regexp_eatAtom=function(e){return this.regexp_eatPatternCharacters(e)||e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)},m.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},m.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var a=0;a<r.length;a++){var s=r.charAt(a);r.indexOf(s,a+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var l=n.charAt(u);(n.indexOf(l,u+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},m.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},m.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&ia(r);)t+=ie(r),e.advance();return t};function ia(e){return e===105||e===109||e===115}m.regexp_eatExtendedAtom=function(e){return e.eat(46)||this.regexp_eatReverseSolidusAtomEscape(e)||this.regexp_eatCharacterClass(e)||this.regexp_eatUncapturingGroup(e)||this.regexp_eatCapturingGroup(e)||this.regexp_eatInvalidBracedQuantifier(e)||this.regexp_eatExtendedPatternCharacter(e)},m.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},m.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ei(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ei(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}m.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Ei(r);)e.advance();return e.pos!==t},m.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},m.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,a=r;i<a.length;i+=1){var s=a[i];s.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},m.regexp_eatGroupName=function(e){if(e.lastStringValue="",e.eat(60)){if(this.regexp_eatRegExpIdentifierName(e)&&e.eat(62))return!0;e.raise("Invalid capture group name")}return!1},m.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ie(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ie(e.lastIntValue);return!0}return!1},m.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ra(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ra(e){return te(e,!0)||e===36||e===95}m.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),aa(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function aa(e){return we(e,!0)||e===36||e===95||e===8204||e===8205}m.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},m.regexp_eatBackReference=function(e){var t=e.pos;if(this.regexp_eatDecimalEscape(e)){var r=e.lastIntValue;if(e.switchU)return r>e.maxBackReference&&(e.maxBackReference=r),!0;if(r<=e.numCapturingParens)return!0;e.pos=t}return!1},m.regexp_eatKGroupName=function(e){if(e.eat(107)){if(this.regexp_eatGroupName(e))return e.backReferenceNames.push(e.lastStringValue),!0;e.raise("Invalid named reference")}return!1},m.regexp_eatCharacterEscape=function(e){return this.regexp_eatControlEscape(e)||this.regexp_eatCControlLetter(e)||this.regexp_eatZero(e)||this.regexp_eatHexEscapeSequence(e)||this.regexp_eatRegExpUnicodeEscapeSequence(e,!1)||!e.switchU&&this.regexp_eatLegacyOctalEscapeSequence(e)||this.regexp_eatIdentityEscape(e)},m.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},m.regexp_eatZero=function(e){return e.current()===48&&!st(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},m.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},m.regexp_eatControlLetter=function(e){var t=e.current();return Ci(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ci(e){return e>=65&&e<=90||e>=97&&e<=122}m.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var a=e.lastIntValue;if(i&&a>=55296&&a<=56319){var s=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=(a-55296)*1024+(n-56320)+65536,!0}e.pos=s,e.lastIntValue=a}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&sa(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function sa(e){return e>=0&&e<=1114111}m.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},m.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var _i=0,ae=1,K=2;m.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(na(t))return e.lastIntValue=-1,e.advance(),ae;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===K&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return _i};function na(e){return e===100||e===68||e===115||e===83||e===119||e===87}m.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),ae}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var a=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,a)}return _i},m.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ee(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},m.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ae;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return K;e.raise("Invalid property name")},m.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Ii(t=e.current());)e.lastStringValue+=ie(t),e.advance();return e.lastStringValue!==""};function Ii(e){return Ci(e)||e===95}m.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";oa(t=e.current());)e.lastStringValue+=ie(t),e.advance();return e.lastStringValue!==""};function oa(e){return Ii(e)||st(e)}m.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},m.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===K&&e.raise("Negated character class may contain strings"),!0}return!1},m.regexp_classContents=function(e){return e.current()===93?ae:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ae)},m.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},m.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Li(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1},m.regexp_eatClassEscape=function(e){var t=e.pos;if(e.eat(98))return e.lastIntValue=8,!0;if(e.switchU&&e.eat(45))return e.lastIntValue=45,!0;if(!e.switchU&&e.eat(99)){if(this.regexp_eatClassControlLetter(e))return!0;e.pos=t}return this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)},m.regexp_classSetExpression=function(e){var t=ae,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===K&&(t=K);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==K&&(t=ae);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===K&&(t=K)}},m.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},m.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ae:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},m.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===K&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var a=this.regexp_eatCharacterClassEscape(e);if(a)return a;e.pos=t}return null},m.regexp_eatClassStringDisjunction=function(e){var t=e.pos;if(e.eatChars([92,113])){if(e.eat(123)){var r=this.regexp_classStringDisjunctionContents(e);if(e.eat(125))return r}else e.raise("Invalid escape");e.pos=t}return null},m.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===K&&(t=K);return t},m.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ae:K},m.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&ua(r)||la(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function ua(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function la(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}m.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return ca(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ca(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}m.regexp_eatClassControlLetter=function(e){var t=e.current();return st(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},m.regexp_eatHexEscapeSequence=function(e){var t=e.pos;if(e.eat(120)){if(this.regexp_eatFixedHexDigits(e,2))return!0;e.switchU&&e.raise("Invalid escape"),e.pos=t}return!1},m.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;st(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function st(e){return e>=48&&e<=57}m.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ai(r=e.current());)e.lastIntValue=16*e.lastIntValue+Pi(r),e.advance();return e.pos!==t};function Ai(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Pi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}m.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},m.regexp_eatOctalDigit=function(e){var t=e.current();return Li(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Li(e){return e>=48&&e<=55}m.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var a=e.current();if(!Ai(a))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Pi(a),e.advance()}return!0};var Ct=function Ct(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Xe(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=V.prototype;b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Ct(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new Ct(this)},(typeof Symbol==="undefined"?"undefined":_type_of(Symbol))<"u"&&(b[Symbol.iterator]=function(){var e=this;return{next:function next(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}}),b.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return te(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,a=t;(i=Qt(this.input,a,this.pos))>-1;)++this.curLine,a=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!ke(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Xt.test(String.fromCharCode(e)))++this.pos;else break e}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=o.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(o.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}return t===61?this.finishOp(o.assign,2):this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)},b.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)},b.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||z.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):t===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)},b.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(o.assign,r+1):this.finishOp(o.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(o.relational,r))},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(e===61?o.eq:o.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(o.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),te(t,!0)||t===92))return this.finishToken(o.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ie(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ie(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(z.test(i)&&this.raise(r,"Unterminated regular expression"),e)e=!1;else{if(i==="[")t=!0;else if(i==="]"&&t)t=!1;else if(i==="/"&&!t)break;e=i==="\\"}++this.pos}var a=this.input.slice(r,this.pos);++this.pos;var s=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(s);var u=this.regexpState||(this.regexpState=new Z(this));u.reset(r,a,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(a,n)}catch(e){}return this.finishToken(o.regexp,{pattern:a,flags:n,value:l})},b.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,a=r&&this.input.charCodeAt(this.pos)===48,s=this.pos,n=0,u=0,l=0,c=t!==null&&t!==void 0?t:1/0;l<c;++l,++this.pos){var f=this.input.charCodeAt(this.pos),p=void 0;if(i&&f===95){a&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=f;continue}if(f>=97?p=f-97+10:f>=65?p=f-65+10:f>=48&&f<=57?p=f-48:p=1/0,p>=e)break;u=f,n=n*e+p}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===s||t!=null&&this.pos-s!==t?null:n};function fa(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ti(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}b.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Ti(this.input.slice(t,this.pos)),++this.pos):te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,r)},b.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var a=Ti(this.input.slice(t,this.pos));return++this.pos,te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,a)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),te(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var s=fa(this.input.slice(t,this.pos),r);return this.finishToken(o.num,s)},b.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(ke(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(o.string,t)};var Vi={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Vi)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Vi;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(o.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(ke(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]==="\n"&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ie(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],a=parseInt(i,8);return a>255&&(i=i.slice(0,-1),a=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(a)}return ke(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},b.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},b.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var a=this.fullCharCodeAtPos();if(we(a,i))this.pos+=a<=65535?1:2;else if(a===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var s=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?te:we)(n,i)||this.invalidStringToken(s,"Invalid Unicode escape"),e+=ie(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=o.name;return this.keywords.test(e)&&(t=yt[e]),this.finishToken(t,e)};var ha="8.14.1";V.acorn={Parser:V,version:ha,defaultOptions:mt,Position:Be,SourceLocation:Xe,getLineInfo:ei,Node:rt,TokenType:E,tokTypes:o,keywordTypes:yt,TokContext:X,tokContexts:A,isIdentifierChar:we,isIdentifierStart:te,Token:Ct,isNewLine:ke,lineBreak:z,lineBreakG:Rr,nonASCIIwhitespace:Xt};function pa(e,t){return V.parse(e,t)}var ge={RES:void 0},S={RES:void 0},C={LABEL:void 0},_={LABEL:void 0},nt=R("super"),he=R("supercall"),ot=R("noctor"),Ie=R("clsctor"),ut=R("newtarget"),N=R("private"),O=R("noinit"),M=R("deadzone"),P=R("optchain"),xe=R("import"),$=R("exports"),_t=R("strict");var lt=/*#__PURE__*/function(){function lt(t,r){_class_call_check(this,lt);this.kind=t,this.value=r}_create_class(lt,[{key:"get",value:function get(){return this.value}},{key:"set",value:function set(t){if(this.kind==="const")throw new TypeError("Assignment to constant variable");return this.value=t}}]);return lt}();var pe=/*#__PURE__*/function(){function pe(t,r){_class_call_check(this,pe);this.object=t,this.property=r}_create_class(pe,[{key:"get",value:function get(){return this.object[this.property]}},{key:"set",value:function set(t){return this.object[this.property]=t,!0}},{key:"del",value:function del(){return delete this.object[this.property]}}]);return pe}();var L=/*#__PURE__*/function(){function L(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_class_call_check(this,L);this.context=Se(null),this.withContext=Se(null),this.parent=t,this.isolated=r}_create_class(L,[{key:"global",value:function global1(){var t=this;for(;t.parent;)t=t.parent;return t}},{key:"find",value:function find(t){if(this.context[t])return this.context[t];if(t in this.withContext)return new pe(this.withContext,t);if(this.parent)return this.parent.find(t);{var r=this.global().find("window").get();return t in r?new pe(r,t):null}}},{key:"var",value:function _var(t,r){var i=this;for(;i.parent&&!i.isolated;)i=i.parent;var a=i.context[t];if(!a)i.context[t]=new lt("var",r===O?void 0:r);else if(a.kind==="var")r!==O&&a.set(r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"));if(!i.parent){var s=i.find("window").get();r!==O&&k(s,t,{value:r,writable:!0,enumerable:!0})}}},{key:"let",value:function _let(t,r){var i=this.context[t];if(!i||i.get()===M)this.context[t]=new lt("let",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"const",value:function _const(t,r){var i=this.context[t];if(!i||i.get()===M)this.context[t]=new lt("const",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"func",value:function func(t,r){var i=this.context[t];if(!i||i.kind==="var")this.context[t]=new lt("var",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"with",value:function _with(t){Object.keys(t)&&(this.withContext=t)}}]);return L}();var da={version:"0.6.10"};function It(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=t.res,i=t.err,a=t.ret,s=t.fullRet;return new Promise(function(n,u){var l=function l(p){var w;try{w=e.next(p)}catch(I){return u(I)}return f(w),null};var c=function c(p){var w;try{w=e.throw(p)}catch(I){return u(I)}f(w)};var f=function f(p){if(p.done)return n(s?p:p.value);if(p.value!==ge)return n(p);var w=p.value.RES;return(w&&w.then==="function"?w:Promise.resolve(w)).then(l,c)};if("ret"in t)return n(e.return(a));"err"in t?c(i):l(r)})}function Ae(e,t){var r,tmp,i,tmp1,a,s,n;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,a=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return[2];s=t.find(e.name);if(s){if(i)return[2,s];{n=s.get();if(n===M)throw new ReferenceError("".concat(e.name," is not defined"));return[2,n]}}else{if(a)throw new ReferenceError("".concat(e.name," is not defined"));return[2]}return[2]})}var ya=Object.freeze(Object.defineProperty({__proto__:null,Identifier:Ae},Symbol.toStringTag,{value:"Module"}));function Ni(e,t){return _ts_generator(this,function(_state){return[2,e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value]})}var ma=Object.freeze(Object.defineProperty({__proto__:null,Literal:Ni},Symbol.toStringTag,{value:"Module"}));function ga(e,t){var r;return _ts_generator(this,function(_state){r=t.find(he);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})}function xa(e,t){var r,i,a,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=[];i=0;_state.label=1;case 1:if(!(i<e.elements.length))return[3,7];a=e.elements[i];if(!(a.type==="SpreadElement"))return[3,3];_=r.concat;return[5,_ts_values(Ue(a,t))];case 2:_tmp=r=_.apply(r,[_state.sent()]);return[3,5];case 3:_1=r.push;return[5,_ts_values(d(a,t))];case 4:_tmp=_1.apply(r,[_state.sent()]);_state.label=5;case 5:_tmp;_state.label=6;case 6:i++;return[3,1];case 7:return[2,r]}})}function ba(e,t){var r,i,a,_tmp,s,n,_tmp1,_tmp2,_,u,l,c,c1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r={};i=0;_state.label=1;case 1:if(!(i<e.properties.length))return[3,12];a=e.properties[i];if(!(a.type==="SpreadElement"))return[3,3];_tmp=[r];return[5,_ts_values(Ue(a,t,{spreadProps:!0}))];case 2:D.apply(void 0,_tmp.concat([_state.sent()]));return[3,11];case 3:s=void 0;n=a.key;if(!a.computed)return[3,5];return[5,_ts_values(d(n,t))];case 4:_tmp1=s=_state.sent();return[3,9];case 5:if(!(n.type==="Identifier"))return[3,6];_tmp2=s=n.name;return[3,8];case 6:_="";return[5,_ts_values(Ni(n))];case 7:_tmp2=s=_+_state.sent();_state.label=8;case 8:_tmp1=_tmp2;_state.label=9;case 9:_tmp1;return[5,_ts_values(d(a.value,t))];case 10:u=_state.sent(),l=a.kind;if(l==="init")r[s]=u;else if(l==="get"){c=le(r,s);k(r,s,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{c1=le(r,s);k(r,s,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}_state.label=11;case 11:i++;return[3,1];case 12:return[2,r]}})}function va(e,t){var r,i;return _ts_generator(this,function(_state){if(e.id&&e.id.name){r=new L(t),i=ee(e,r);return[2,(r.const(e.id.name,i),i)]}else return[2,ee(e,t)];return[2]})}function Sa(e,t){var r,_,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;_=e.operator;switch(_){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,16]}return[3,20];case 1:return[5,_ts_values(d(r,t))];case 2:return[2,+_state.sent()];case 3:return[5,_ts_values(d(r,t))];case 4:return[2,-_state.sent()];case 5:return[5,_ts_values(d(r,t))];case 6:return[2,!_state.sent()];case 7:return[5,_ts_values(d(r,t))];case 8:return[2,~_state.sent()];case 9:return[5,_ts_values(d(r,t))];case 10:return[2,void _state.sent()];case 11:if(!(r.type==="Identifier"))return[3,13];return[5,_ts_values(Ae(r,t,{throwErr:!1}))];case 12:_tmp=_type_of.apply(void 0,[_state.sent()]);return[3,15];case 13:return[5,_ts_values(d(r,t))];case 14:_tmp=_type_of.apply(void 0,[_state.sent()]);_state.label=15;case 15:return[2,_tmp];case 16:if(!(r.type==="MemberExpression"))return[3,18];return[5,_ts_values(je(r,t,{getVar:!0}))];case 17:return[2,_state.sent().del()];case 18:if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return[5,_ts_values(d(r,t))];case 19:return[2,(_state.sent(),!0)];case 20:throw new SyntaxError("Unexpected token ".concat(e.operator));case 21:return[2]}})}function wa(e,t){var r,i,a;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ae(r,t,{getVar:!0}))];case 1:i=_state.sent();return[3,5];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(je(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:a=i.get();if(e.operator==="++")return[2,(i.set(a+1),e.prefix?i.get():a)];if(e.operator==="--")return[2,(i.set(a-1),e.prefix?i.get():a)];throw new SyntaxError("Unexpected token ".concat(e.operator))}})}function ka(e,t){var r,i,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.left.type==="PrivateIdentifier"))return[3,2];r=e.left.name;return[5,_ts_values(d(e.right,t))];case 1:_tmp=(i=_state.sent(),i=i[N]||{});return[3,5];case 2:return[5,_ts_values(d(e.left,t))];case 3:r=_state.sent();return[5,_ts_values(d(e.right,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:switch(_tmp,e.operator){case"==":return[2,r==i];case"!=":return[2,r!=i];case"===":return[2,r===i];case"!==":return[2,r!==i];case"<":return[2,r<i];case"<=":return[2,r<=i];case">":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<<i];case">>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,_instanceof(r,i)];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Ea(e,t){var r,i,s,n,s1,a,_i_get;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.left;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ae(r,t,{getVar:!0,throwErr:!1}))];case 1:if(i=_state.sent(),!i){s=t.find(_t);if(s&&s.get())throw new ReferenceError("".concat(r.name," is not defined"));n=t.global().find("window").get();i=new pe(n,r.name)}return[3,7];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(je(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,7];case 4:return[5,_ts_values(d(e.right,t))];case 5:s1=_state.sent();return[5,_ts_values(U(r,t,{feed:s1}))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(d(e.right,t))];case 8:a=_state.sent();switch(e.operator){case"=":return[2,(i.set(a),i.get())];case"+=":return[2,(i.set(i.get()+a),i.get())];case"-=":return[2,(i.set(i.get()-a),i.get())];case"*=":return[2,(i.set(i.get()*a),i.get())];case"/=":return[2,(i.set(i.get()/a),i.get())];case"%=":return[2,(i.set(i.get()%a),i.get())];case"**=":return[2,(i.set(Math.pow(i.get(),a)),i.get())];case"<<=":return[2,(i.set(i.get()<<a),i.get())];case">>=":return[2,(i.set(i.get()>>a),i.get())];case">>>=":return[2,(i.set(i.get()>>>a),i.get())];case"|=":return[2,(i.set(i.get()|a),i.get())];case"^=":return[2,(i.set(i.get()^a),i.get())];case"&=":return[2,(i.set(i.get()&a),i.get())];case"??=":;return[2,(i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:a),i.get())];case"&&=":return[2,(i.set(i.get()&&a),i.get())];case"||=":return[2,(i.set(i.get()||a),i.get())];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Ca(e,t){var _,_tmp,_tmp1,_ref,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.operator;switch(_){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,_ts_values(d(e.left,t))];case 2:_tmp=_state.sent();if(_tmp)return[3,4];return[5,_ts_values(d(e.right,t))];case 3:_tmp=_state.sent();_state.label=4;case 4:return[2,_tmp];case 5:return[5,_ts_values(d(e.left,t))];case 6:_tmp1=_state.sent();if(!_tmp1)return[3,8];return[5,_ts_values(d(e.right,t))];case 7:_tmp1=_state.sent();_state.label=8;case 8:return[2,_tmp1];case 9:return[5,_ts_values(d(e.left,t))];case 10:if(!((_ref=_state.sent())!==null&&_ref!==void 0))return[3,11];_tmp2=_ref;return[3,13];case 11:return[5,_ts_values(d(e.right,t))];case 12:_tmp2=_state.sent();_state.label=13;case 13:return[2,_tmp2];case 14:throw new SyntaxError("Unexpected token ".concat(e.operator));case 15:return[2]}})}function je(e,t){var r,tmp,i,tmp1,a,s,_tmp,n,u,_tmp1,l,c,f,l1,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,a=tmp1===void 0?!1:tmp1;if(!(e.object.type==="Super"))return[3,2];return[5,_ts_values(Bi(e.object,t,{getProto:!0}))];case 1:_tmp=s=_state.sent();return[3,4];case 2:return[5,_ts_values(d(e.object,t))];case 3:_tmp=s=_state.sent();_state.label=4;case 4:if(_tmp,s===P)return[2,P];if(i)return[2,s];u=!1;if(!e.computed)return[3,6];return[5,_ts_values(d(e.property,t))];case 5:_tmp1=n=_state.sent();return[3,7];case 6:_tmp1=e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name;_state.label=7;case 7:if(_tmp1,u&&(s=s[N]),a){l=Wt(s,n);if(e.object.type==="Super"&&l){c=t.find("this").get(),f=R(n);return[2,(k(c,f,{set:l}),new pe(c,f))]}else return[2,new pe(s,n)]}else{l1=qt(s,n);if(e.object.type==="Super"&&l1){c1=t.find("this").get();return[2,e.optional&&c1==null?P:l1.call(c1)]}else return[2,e.optional&&s==null?P:s[n]]}return[2]}})}function _a(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(d(e.consequent,t))];case 2:_tmp=_state.sent();return[3,5];case 3:return[5,_ts_values(d(e.alternate,t))];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Ia(e,t){var r,i,_$s,n,_tmp,u,l,_$s1,a,_$s2,n1,_tmp1,_,_1,n2,u1,n3;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.callee.type==="MemberExpression"))return[3,5];return[5,_ts_values(je(e.callee,t,{getObj:!0}))];case 1:if(i=_state.sent(),i===P||e.callee.optional&&i==null)return[2,P];n=!1;if(!e.callee.computed)return[3,3];return[5,_ts_values(d(e.callee.property,t))];case 2:_tmp=_$s=_state.sent();return[3,4];case 3:_tmp=e.callee.property.type==="PrivateIdentifier"?(_$s=e.callee.property.name,n=!0):_$s=e.callee.property.name;_state.label=4;case 4:_tmp;u=i;if(n&&(u=u[N]),e.callee.object.type==="Super"){l=t.find("this").get();r=u[_$s].bind(l)}else r=u[_$s];if(e.optional&&r==null)return[2,P];if(typeof r!="function")throw new TypeError("".concat(_$s," is not a function"));if(Ie in r)throw new TypeError("Class constructor ".concat(_$s," cannot be invoked without 'new'"));return[3,7];case 5:i=t.find("this").get();return[5,_ts_values(d(e.callee,t))];case 6:if(r=_state.sent(),r===P||e.optional&&r==null)return[2,P];if(typeof r!="function"||e.callee.type!=="Super"&&Ie in r){;if(e.callee.type==="Identifier")_$s1=e.callee.name;else try{_$s1=JSON.stringify(r)}catch(e){_$s1=""+r}throw typeof r!="function"?new TypeError("".concat(_$s1," is not a function")):new TypeError("Class constructor ".concat(_$s1," cannot be invoked without 'new'"))}_state.label=7;case 7:a=[];_$s2=0;_state.label=8;case 8:if(!(_$s2<e.arguments.length))return[3,14];n1=e.arguments[_$s2];if(!(n1.type==="SpreadElement"))return[3,10];_=a.concat;return[5,_ts_values(Ue(n1,t))];case 9:_tmp1=a=_.apply(a,[_state.sent()]);return[3,12];case 10:_1=a.push;return[5,_ts_values(d(n1,t))];case 11:_tmp1=_1.apply(a,[_state.sent()]);_state.label=12;case 12:_tmp1;_state.label=13;case 13:_$s2++;return[3,8];case 14:if(!(e.callee.type==="Super"))return[3,16];n2=t.find(he).get();if(n2===!0)throw new ReferenceError("Super constructor may only be called once");u1=He(i,r,a);return[5,_ts_values(n2(u1))];case 15:return[2,(_state.sent(),t.find("this").set(u1),t.find(he).set(!0),u1)];case 16:try{return[2,r.apply(i,a)]}catch(s){if(_instanceof(s,TypeError)&&s.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){n3=t.global().find("window").get();if(n3&&n3[Re])return[2,r.apply(n3[Re],a)]}throw s}return[2]}})}function Aa(e,t){var r,a,i,a1,s,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.callee,t))];case 1:r=_state.sent();if(typeof r!="function"){;if(e.callee.type==="Identifier")a=e.callee.name;else try{a=JSON.stringify(r)}catch(e){a=""+r}throw new TypeError("".concat(a," is not a constructor"))}else if(r[ot])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));i=[];a1=0;_state.label=2;case 2:if(!(a1<e.arguments.length))return[3,8];s=e.arguments[a1];if(!(s.type==="SpreadElement"))return[3,4];_=i.concat;return[5,_ts_values(Ue(s,t))];case 3:_tmp=i=_.apply(i,[_state.sent()]);return[3,6];case 4:_1=i.push;return[5,_ts_values(d(s,t))];case 5:_tmp=_1.apply(i,[_state.sent()]);_state.label=6;case 6:_tmp;_state.label=7;case 7:a1++;return[3,2];case 8:return[2,_construct(r,_to_consumable_array(i))]}})}function Pa(e,t){return _ts_generator(this,function(_state){if(e.meta.name==="new"&&e.property.name==="target")return[2,t.find(ut).get()];if(e.meta.name==="import"&&e.property.name==="meta")return[2,{url:""}];return[2]})}function La(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=0;_state.label=1;case 1:if(!(i<e.expressions.length))return[3,4];return[5,_ts_values(d(e.expressions[i],t))];case 2:r=_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2,r]}})}function Ta(e,t){return _ts_generator(this,function(_state){return[2,ee(e,t)]})}function Va(e,t){var r,i,a,s,n,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.quasis.slice(),i=e.expressions.slice();a="";_state.label=1;case 1:if(!(s=r.shift()))return[3,6];return[5,_ts_values(Ri(s))];case 2:a+=_state.sent(),n=i.shift();_tmp=n;if(!_tmp)return[3,4];return[5,_ts_values(d(n,t))];case 3:_tmp=a+=_state.sent();_state.label=4;case 4:_tmp;_state.label=5;case 5:return[3,1];case 6:return[2,a]}})}function Na(e,t){var r,i,a,s,n,u,l,_;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.tag,t))];case 1:r=_state.sent(),i=e.quasi.quasis,a=i.map(function(l){return l.value.cooked}),s=i.map(function(l){return l.value.raw});k(a,"raw",{value:Ge(s)});n=e.quasi.expressions,u=[];if(!n)return[3,5];l=0;_state.label=2;case 2:if(!(l<n.length))return[3,5];_=u.push;return[5,_ts_values(d(n[l],t))];case 3:_.apply(u,[_state.sent()]);_state.label=4;case 4:l++;return[3,2];case 5:return[2,r.apply(void 0,[Ge(a)].concat(_to_consumable_array(u)))]}})}function Ri(e,t){return _ts_generator(this,function(_state){return[2,e.value.raw]})}function Ra(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.id&&e.id.name))return[3,2];r=new L(t);return[5,_ts_values(ze(e,r))];case 1:i=_state.sent();return[2,(r.const(e.id.name,i),i)];case 2:return[5,_ts_values(ze(e,t))];case 3:return[2,_state.sent()];case 4:return[2]}})}function Bi(e,t){var r,tmp,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getProto,i=tmp===void 0?!1:tmp,a=t.find(nt).get();return[2,i?a.prototype:a]})}function Ue(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.argument,t))];case 1:i=_state.sent();if(r.spreadProps)return[2,i];if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,_to_consumable_array(i)]}})}function Ba(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.expression,t))];case 1:r=_state.sent();return[2,r===P?void 0:r]}})}function Oa(e,t){var r,i,a,s,n;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();return[5,_ts_values(d(e.source,t))];case 1:i=_state.sent(),a=r.find(xe+i);if(a){n=a.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}return[2,!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(s)]}})}function Da(e,t){var r,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:r=_state.sent();if(!e.delegate)return[3,3];return[5,_ts_values(r)];case 2:_tmp=_state.sent();return[3,5];case 3:return[4,r];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Fa(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:ge.RES=_state.sent();return[4,ge];case 2:return[2,_state.sent()]}})}var Ma=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:xa,ArrowFunctionExpression:Ta,AssignmentExpression:Ea,AwaitExpression:Fa,BinaryExpression:ka,CallExpression:Ia,ChainExpression:Ba,ClassExpression:Ra,ConditionalExpression:_a,FunctionExpression:va,ImportExpression:Oa,LogicalExpression:Ca,MemberExpression:je,MetaProperty:Pa,NewExpression:Aa,ObjectExpression:ba,SequenceExpression:La,SpreadElement:Ue,Super:Bi,TaggedTemplateExpression:Na,TemplateElement:Ri,TemplateLiteral:Va,ThisExpression:ga,UnaryExpression:Sa,UpdateExpression:wa,YieldExpression:Da},Symbol.toStringTag,{value:"Module"}));function Oi(e,t){var r,tmp,i,tmp1,a,tmp2,s,tmp3,n,u,l,c,f,_tmp,f1,_tmp1,p,_tmp2,f2,p1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];l=0;_state.label=1;case 1:if(!(l<e.properties.length))return[3,18];c=e.properties[l];if(!a)return[3,8];if(!(s||i==="var"))return[3,7];if(!(c.type==="Property"))return[3,5];f=c.value;if(!(f.type==="Identifier"))return[3,2];_tmp=t[i](f.name,s?M:i==="var"?O:void 0);return[3,4];case 2:return[5,_ts_values(U(f,t,{kind:i,hoist:a,onlyBlock:s}))];case 3:_tmp=_state.sent();_state.label=4;case 4:_tmp;return[3,7];case 5:return[5,_ts_values(Pe(c,t,{kind:i,hoist:a,onlyBlock:s}))];case 6:_state.sent();_state.label=7;case 7:return[3,17];case 8:if(!(c.type==="Property"))return[3,15];f1=void 0;if(!c.computed)return[3,10];return[5,_ts_values(d(c.key,t))];case 9:_tmp1=f1=_state.sent();return[3,11];case 10:_tmp1=f1=c.key.name;_state.label=11;case 11:_tmp1,u.push(f1);p=c.value;if(!(p.type==="Identifier"))return[3,12];_tmp2=t[i](p.name,n[f1]);return[3,14];case 12:return[5,_ts_values(U(p,t,{kind:i,feed:n[f1]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,17];case 15:f2=D({},n);for(p1=0;p1<u.length;p1++)delete f2[u[p1]];return[5,_ts_values(Pe(c,t,{kind:i,feed:f2}))];case 16:_state.sent();_state.label=17;case 17:l++;return[3,1];case 18:return[2]}})}function Di(e,t){var r,i,tmp,a,tmp1,s,tmp2,n,u,l,c,_tmp,_tmp1,f,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];l=0;_state.label=1;case 1:if(!(l<e.elements.length))return[3,16];c=e.elements[l];if(!c)return[3,15];if(!a)return[3,6];_tmp=s||i==="var";if(!_tmp)return[3,5];if(!(c.type==="Identifier"))return[3,2];_tmp1=t[i](c.name,s?M:i==="var"?O:void 0);return[3,4];case 2:return[5,_ts_values(U(c,t,{kind:i,hoist:a,onlyBlock:s}))];case 3:_tmp1=_state.sent();_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;return[3,15];case 6:if(!(c.type==="Identifier"))return[3,10];if(!i)return[3,7];t[i](c.name,n[l]);return[3,9];case 7:return[5,_ts_values(Ae(c,t,{getVar:!0}))];case 8:f=_state.sent();f.set(n[l]),u.push(f.get());_state.label=9;case 9:return[3,15];case 10:if(!(c.type==="RestElement"))return[3,12];return[5,_ts_values(Pe(c,t,{kind:i,feed:n.slice(l)}))];case 11:_tmp2=_state.sent();return[3,14];case 12:return[5,_ts_values(U(c,t,{kind:i,feed:n[l]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;_state.label=15;case 15:l++;return[3,1];case 16:if(u.length)return[2,u];return[2]}})}function Pe(e,t){var r,i,tmp,a,tmp1,s,tmp2,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;if(!a)return[3,5];_tmp1=s||i==="var";if(!_tmp1)return[3,4];if(!(u.type==="Identifier"))return[3,1];_tmp2=t[i](u.name,s?M:i==="var"?O:void 0);return[3,3];case 1:return[5,_ts_values(U(u,t,{kind:i,hoist:a,onlyBlock:s}))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;return[3,12];case 5:if(!(u.type==="Identifier"))return[3,9];if(!i)return[3,6];_tmp4=t[i](u.name,n);return[3,8];case 6:return[5,_ts_values(Ae(u,t,{getVar:!0}))];case 7:_tmp4=_state.sent().set(n);_state.label=8;case 8:_tmp3=_tmp4;return[3,11];case 9:return[5,_ts_values(U(u,t,{kind:i,feed:n}))];case 10:_tmp3=_state.sent();_state.label=11;case 11:_tmp=_tmp3;_state.label=12;case 12:_tmp;return[2]}})}function Fi(e,t){var r,tmp,i,tmp1,a,tmp2,s,tmp3,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed;if(!(tmp3===void 0))return[3,2];return[5,_ts_values(d(e.right,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=tmp3;_state.label=3;case 3:n=_tmp,u=e.left;if(!a)return[3,8];_tmp2=s||i==="var";if(!_tmp2)return[3,7];if(!(u.type==="Identifier"))return[3,4];_tmp3=t[i](u.name,s?M:i==="var"?O:void 0);return[3,6];case 4:return[5,_ts_values(U(u,t,{kind:i,hoist:a,onlyBlock:s}))];case 5:_tmp3=_state.sent();_state.label=6;case 6:_tmp2=_tmp3;_state.label=7;case 7:_tmp1=_tmp2;return[3,12];case 8:if(!(u.type==="Identifier"))return[3,9];_tmp4=t[i](u.name,n);return[3,11];case 9:return[5,_ts_values(U(u,t,{kind:i,feed:n}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp1=_tmp4;_state.label=12;case 12:_tmp1;return[2]}})}var ja=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:Di,AssignmentPattern:Fi,ObjectPattern:Oi,RestElement:Pe},Symbol.toStringTag,{value:"Module"}));function Ua(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.body.length))return[3,4];return[5,_ts_values(d(e.body[r],t))];case 2:_state.sent();_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}var $a=Object.freeze(Object.defineProperty({__proto__:null,Program:Ua},Symbol.toStringTag,{value:"Module"}));var At;function d(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e)return[2];At||(At=D({},Ne,Ma,ya,Ve,ma,ja,$a));r=At[e.type];if(!r)return[3,2];return[5,_ts_values(r(e,t))];case 1:return[2,_state.sent()];case 2:throw new Error("".concat(e.type," isn't implemented"))}})}function qa(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.expression,t))];case 1:_state.sent();return[2]}})}function se(e,t){var r,tmp,i,tmp1,a,s,_tmp,n,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,a=tmp1===void 0?!1:tmp1,s=i?t:new L(t);_tmp=a;if(_tmp)return[3,2];return[5,_ts_values(Bt(e,s,{onlyBlock:!0}))];case 1:_tmp=_state.sent();_state.label=2;case 2:_tmp;n=0;_state.label=3;case 3:if(!(n<e.body.length))return[3,6];return[5,_ts_values(d(e.body[n],s))];case 4:u=_state.sent();if(u===_){if(u.LABEL&&u.LABEL===r.label)return[3,6];return[2,u]}if(u===C||u===S)return[2,u];_state.label=5;case 5:n++;return[3,3];case 6:return[2]}})}function Wa(){return _ts_generator(this,function(_state){return[2]})}function za(){return _ts_generator(this,function(_state){debugger;return[2]})}function Ga(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e.argument)return[3,2];return[5,_ts_values(d(e.argument,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:return[2,(S.RES=_tmp,S)]}})}function Ha(e){var t;return _ts_generator(this,function(_state){return[2,(_.LABEL=(t=e.label)==null?void 0:t.name,_)]})}function Ka(e){var t;return _ts_generator(this,function(_state){return[2,(C.LABEL=(t=e.label)==null?void 0:t.name,C)]})}function Qa(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.label.name;if(!(e.body.type==="WhileStatement"))return[3,2];return[5,_ts_values(Wi(e.body,t,{label:r}))];case 1:return[2,_state.sent()];case 2:if(!(e.body.type==="DoWhileStatement"))return[3,4];return[5,_ts_values(zi(e.body,t,{label:r}))];case 3:return[2,_state.sent()];case 4:if(!(e.body.type==="ForStatement"))return[3,6];return[5,_ts_values(Gi(e.body,t,{label:r}))];case 5:return[2,_state.sent()];case 6:if(!(e.body.type==="ForInStatement"))return[3,8];return[5,_ts_values(Hi(e.body,t,{label:r}))];case 7:return[2,_state.sent()];case 8:if(!(e.body.type==="ForOfStatement"))return[3,10];return[5,_ts_values(Ki(e.body,t,{label:r}))];case 9:return[2,_state.sent()];case 10:if(!(e.body.type==="BlockStatement"))return[3,12];return[5,_ts_values(se(e.body,t,{label:r}))];case 11:return[2,_state.sent()];case 12:if(!(e.body.type==="WithStatement"))return[3,14];return[5,_ts_values(Mi(e.body,t,{label:r}))];case 13:return[2,_state.sent()];case 14:if(!(e.body.type==="IfStatement"))return[3,16];return[5,_ts_values(ji(e.body,t,{label:r}))];case 15:return[2,_state.sent()];case 16:if(!(e.body.type==="SwitchStatement"))return[3,18];return[5,_ts_values(Ui(e.body,t,{label:r}))];case 17:return[2,_state.sent()];case 18:if(!(e.body.type==="TryStatement"))return[3,20];return[5,_ts_values($i(e.body,t,{label:r}))];case 19:return[2,_state.sent()];case 20:throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}})}function Mi(e,t){var r,i,_1,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new L(t);_1=i.with;return[5,_ts_values(d(e.object,t))];case 1:_1.apply(i,[_state.sent()]);return[5,_ts_values(d(e.body,i))];case 2:a=_state.sent();if(a===_)return[2,a.LABEL&&a.LABEL===r.label?void 0:a];if(a===C||a===S)return[2,a];return[2]}})}function ji(e,t){var r,i,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(d(e.consequent,t))];case 2:_tmp=i=_state.sent();return[3,5];case 3:return[5,_ts_values(d(e.alternate,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:if(_tmp,i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===S)return[2,i];return[2]}})}function Ui(e,t){var r,i,a,s,n,u,_tmp,_tmp1,l,n1,u1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.discriminant,t))];case 1:i=_state.sent();a=!1,s=-1;n=0;_state.label=2;case 2:if(!(n<e.cases.length))return[3,9];u=e.cases[n];if(!u.test)return[3,5];_tmp1=!a;if(!_tmp1)return[3,4];return[5,_ts_values(d(u.test,t))];case 3:_tmp1=_state.sent()===i;_state.label=4;case 4:_tmp=_tmp1&&(a=!0,s=-1);return[3,6];case 5:_tmp=s=n;_state.label=6;case 6:if(!(_tmp,a))return[3,8];return[5,_ts_values(Pt(u,t))];case 7:l=_state.sent();if(l===_){if(l.LABEL===r.label)return[3,9];return[2,l]}if(l===C||l===S)return[2,l];_state.label=8;case 8:n++;return[3,2];case 9:if(!(!a&&s!==-1))return[3,13];n1=s;_state.label=10;case 10:if(!(n1<e.cases.length))return[3,13];return[5,_ts_values(Pt(e.cases[n1],t))];case 11:u1=_state.sent();if(u1===_){if(u1.LABEL===r.label)return[3,13];return[2,u1]}if(u1===C||u1===S)return[2,u1];_state.label=12;case 12:n1++;return[3,10];case 13:return[2]}})}function Pt(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.consequent.length))return[3,4];return[5,_ts_values(d(e.consequent[r],t))];case 2:i=_state.sent();if(i===_||i===C||i===S)return[2,i];_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}function Xa(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.argument,t))];case 1:throw _state.sent()}})}function $i(e,t){var r,i,a,s,n,u,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:_state.trys.push([1,3,10,13]);return[5,_ts_values(se(e.block,t))];case 2:i=_state.sent();return[3,13];case 3:a=_state.sent();if(!e.handler)return[3,8];s=new L(t),n=e.handler.param;if(!n)return[3,6];if(!(n.type==="Identifier"))return[3,4];u=n.name;s.var(u,a);return[3,6];case 4:return[5,_ts_values(U(n,t,{feed:a}))];case 5:_state.sent();_state.label=6;case 6:return[5,_ts_values(qi(e.handler,s))];case 7:i=_state.sent();return[3,9];case 8:throw a;case 9:return[3,13];case 10:_tmp=e.finalizer;if(!_tmp)return[3,12];return[5,_ts_values(se(e.finalizer,t))];case 11:_tmp=i=_state.sent();_state.label=12;case 12:_tmp;return[7];case 13:if(i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===S)return[2,i];return[2]}})}function qi(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(se(e.body,t,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Wi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(d(e.test,t))];case 2:if(!_state.sent())return[3,5];return[5,_ts_values(d(e.body,t))];case 3:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,4];return[2,i]}else if(i===S)return[2,i];_state.label=4;case 4:return[3,1];case 5:return[2]}})}function zi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(d(e.body,t))];case 2:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,3];return[2,i]}else if(i===S)return[2,i];_state.label=3;case 3:return[5,_ts_values(d(e.test,t))];case 4:if(_state.sent())return[3,1];_state.label=5;case 5:return[2]}})}function Gi(e,t){var r,i,_tmp,_tmp1,a,s,_tmp2,_tmp3;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new L(t);if(!e.init)return[3,2];return[5,_ts_values(d(e.init,i))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:_tmp;_state.label=4;case 4:_tmp1=!e.test;if(_tmp1)return[3,6];return[5,_ts_values(d(e.test,i))];case 5:_tmp1=_state.sent();_state.label=6;case 6:if(!_tmp1)return[3,15];a=new L(i);s=void 0;if(!(e.body.type==="BlockStatement"))return[3,8];return[5,_ts_values(se(e.body,a,{invasived:!0}))];case 7:_tmp2=s=_state.sent();return[3,10];case 8:return[5,_ts_values(d(e.body,a))];case 9:_tmp2=s=_state.sent();_state.label=10;case 10:if(_tmp2,s===_){if(s.LABEL===r.label)return[3,15];return[2,s]}else if(s===C){if(s.LABEL===r.label)return[3,11];return[2,s]}else if(s===S)return[2,s];_state.label=11;case 11:if(!e.update)return[3,13];return[5,_ts_values(d(e.update,i))];case 12:_tmp3=_state.sent();return[3,14];case 13:_tmp3=void 0;_state.label=14;case 14:_tmp3;return[3,4];case 15:return[2]}})}function Hi(e,t){var r,_tmp,_tmp1,_i,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_tmp=[];return[5,_ts_values(d(e.right,t))];case 1:for(_tmp1 in _state.sent())_tmp.push(_tmp1);_i=0;_state.label=2;case 2:if(!(_i<_tmp.length))return[3,5];i=_tmp[_i];return[5,_ts_values(Ot(e,t,{value:i}))];case 3:a=_state.sent();if(a===_){if(a.LABEL===r.label)return[3,5];return[2,a]}else if(a===C){if(a.LABEL===r.label)return[3,4];return[2,a]}else if(a===S)return[2,a];_state.label=4;case 4:_i++;return[3,2];case 5:return[2]}})}function Ki(e,t){var r,i,_iteratorNormalCompletion,_didIteratorError,_iteratorError,a,s,n,_iterator,_step,a1,s1,err;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(d(e.right,t))];case 1:i=_state.sent();_iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(!e.await)return[3,8];a=Ir(i);ge.RES=a.next();return[4,ge];case 2:s=_state.sent();_state.label=3;case 3:if(!!s.done)return[3,7];return[5,_ts_values(Ot(e,t,{value:s.value}))];case 4:n=_state.sent();if(n===_){if(n.LABEL===r.label)return[3,7];return[2,n]}else if(n===C){if(n.LABEL===r.label)return[3,5];return[2,n]}else if(n===S)return[2,n];_state.label=5;case 5:ge.RES=a.next();return[4,ge];case 6:s=_state.sent();return[3,3];case 7:return[3,15];case 8:_state.trys.push([8,13,14,15]);_iterator=i[Symbol.iterator]();_state.label=9;case 9:if(!!(_iteratorNormalCompletion=(_step=_iterator.next()).done))return[3,12];a1=_step.value;return[5,_ts_values(Ot(e,t,{value:a1}))];case 10:s1=_state.sent();if(s1===_){if(s1.LABEL===r.label)return[3,12];return[2,s1]}else if(s1===C){if(s1.LABEL===r.label)return[3,11];return[2,s1]}else if(s1===S)return[2,s1];_state.label=11;case 11:_iteratorNormalCompletion=true;return[3,9];case 12:return[3,15];case 13:err=_state.sent();_didIteratorError=true;_iteratorError=err;return[3,15];case 14:try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}return[7];case 15:return[2]}})}function Ya(e,t){return _ts_generator(this,function(_state){t.func(e.id.name,ee(e,t));return[2]})}function be(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=0;_state.label=1;case 1:if(!(i<e.declarations.length))return[3,4];return[5,_ts_values(Qi(e.declarations[i],t,D({kind:e.kind},r)))];case 2:_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2]}})}function Qi(e,t){var r,tmp,i,tmp1,a,tmp2,s,n,_tmp,_tmp1,u,l,_tmp2,c;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,n=r.feed;if(!a)return[3,5];_tmp=s||i==="var";if(!_tmp)return[3,4];if(!(e.id.type==="Identifier"))return[3,1];_tmp1=t[i](e.id.name,s?M:i==="var"?O:void 0);return[3,3];case 1:return[5,_ts_values(U(e.id,t,{kind:i,hoist:a,onlyBlock:s}))];case 2:_tmp1=_state.sent();_state.label=3;case 3:_tmp=_tmp1;_state.label=4;case 4:_tmp;return[3,11];case 5:u="feed"in r;if(!u)return[3,6];_tmp2=n;return[3,8];case 6:return[5,_ts_values(d(e.init,t))];case 7:_tmp2=_state.sent();_state.label=8;case 8:l=_tmp2;if(!(e.id.type==="Identifier"))return[3,9];c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,O):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&k(l,"name",{value:c,configurable:!0});return[3,11];case 9:return[5,_ts_values(U(e.id,t,{kind:i,feed:l}))];case 10:_state.sent();_state.label=11;case 11:return[2]}})}function Za(e,t){var _,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=t.func;_tmp=[e.id.name];return[5,_ts_values(ze(e,t))];case 1:_.apply(t,_tmp.concat([_state.sent()]));return[2]}})}function Xi(e,t){var r,i,a,s,n,_tmp,_tmp1,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;s=0;_state.label=1;case 1:if(!(s<e.body.length))return[3,11];n=e.body[s];if(!(n.type==="MethodDefinition"))return[3,3];return[5,_ts_values(Yi(n,t,{klass:i,superClass:a}))];case 2:_tmp=_state.sent();return[3,9];case 3:if(!(n.type==="PropertyDefinition"&&n.static))return[3,5];return[5,_ts_values(Lt(n,t,{klass:i,superClass:a}))];case 4:_tmp1=_state.sent();return[3,8];case 5:_tmp2=n.type==="StaticBlock";if(!_tmp2)return[3,7];return[5,_ts_values(Zi(n,t,{klass:i}))];case 6:_tmp2=_state.sent();_state.label=7;case 7:_tmp1=_tmp2;_state.label=8;case 8:_tmp=_tmp1;_state.label=9;case 9:_tmp;_state.label=10;case 10:s++;return[3,1];case 11:return[2]}})}function Yi(e,t){var r,i,a,s,n,u,l,c,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(d(e.key,t))];case 1:s=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=e.static?i:i.prototype;n&&(u[N]||k(u,N,{value:{}}),u=u[N]);l=ee(e.value,t,{superClass:a});switch(e.kind){case"constructor":break;case"method":k(u,s,{value:l,writable:!0,configurable:!0});break;case"get":{c=le(u,s);k(u,s,{get:l,set:c&&c.set,configurable:!0});break}case"set":{c1=le(u,s);k(u,s,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}return[2]}})}function Lt(e,t){var r,i,a,s,n,u,l,_tmp,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(d(e.key,t))];case 1:s=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=new L(t,!0);u.const("this",i);l=i;n&&(l[N]||k(l,N,{value:{}}),l=l[N]);if(!e.value)return[3,7];if(!(e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"))return[3,4];_tmp1=l[s]=ee(e.value,u,{superClass:a});return[3,6];case 4:return[5,_ts_values(d(e.value,u))];case 5:_tmp1=l[s]=_state.sent();_state.label=6;case 6:_tmp=_tmp1;return[3,8];case 7:_tmp=l[s]=void 0;_state.label=8;case 8:_tmp;return[2]}})}function Zi(e,t){var r,i,a;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,a=new L(t,!0);a.const("this",i);return[5,_ts_values(se(e,a,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Ja(e,t){var i,a,s,s1,n,u;return _ts_generator(this,function(_state){i=t.global().find(xe+e.source.value);if(i){s=i.get();s&&(typeof s=="function"?a=s():(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(a=s))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(s1=0;s1<e.specifiers.length;s1++){n=e.specifiers[s1];u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!ct(a,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?D({},a):a[u])}return[2]})}function es(e,t){var r,i,_tmp,_tmp1,a,s;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];_tmp=(i=ee(e.declaration,t),t.func(e.declaration.id.name,i));return[3,6];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(ze(e.declaration,t))];case 2:_tmp1=(i=_state.sent(),t.func(e.declaration.id.name,i));return[3,5];case 3:return[5,_ts_values(d(e.declaration,t))];case 4:_tmp1=i=_state.sent();_state.label=5;case 5:_tmp=_tmp1;_state.label=6;case 6:_tmp;a=r.find($);if(a){s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s.default=i)}return[2]}})}function ts(e,t){var r,i,a,s,i1,a1,s1,i2,a2,s2,n,u,i3,a3,s3,n1,u1,l;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!e.declaration)return[3,6];if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];i=ee(e.declaration,t);t.func(e.declaration.id.name,i);a=r.find($);if(a){s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s[e.declaration.id.name]=i)}return[3,5];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(ze(e.declaration,t))];case 2:i1=_state.sent();t.func(e.declaration.id.name,i1);a1=r.find($);if(a1){s1=a1.get();s1&&(typeof s1==="undefined"?"undefined":_type_of(s1))=="object"&&(s1[e.declaration.id.name]=i1)}return[3,5];case 3:if(!(e.declaration.type==="VariableDeclaration"))return[3,5];return[5,_ts_values(be(e.declaration,t))];case 4:_state.sent();i2=r.find($);if(i2){a2=i2.get();if(a2&&(typeof a2==="undefined"?"undefined":_type_of(a2))=="object")for(s2=0;s2<e.declaration.declarations.length;s2++){n=e.declaration.declarations[s2].id.name,u=t.find(n);u&&(a2[n]=u.get())}}_state.label=5;case 5:return[3,7];case 6:if(e.specifiers){i3=r.find($);if(i3){a3=i3.get();if(a3&&(typeof a3==="undefined"?"undefined":_type_of(a3))=="object")for(s3=0;s3<e.specifiers.length;s3++){n1=e.specifiers[s3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(a3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}_state.label=7;case 7:return[2]}})}function is(e,t){var r,i,a,n,s,n1;return _ts_generator(this,function(_state){r=t.global(),i=r.find(xe+e.source.value);if(i){n=i.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));s=r.find($);if(s){n1=s.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&D(n1,a)}return[2]})}function de(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,a=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return;var s=t.find(e.name);if(s){if(i)return s;{var n=s.get();if(n===M)throw new ReferenceError("".concat(e.name," is not defined"));return n}}else{if(a)throw new ReferenceError("".concat(e.name," is not defined"));return}}var rs=Object.freeze(Object.defineProperty({__proto__:null,Identifier:de},Symbol.toStringTag,{value:"Module"}));function Ji(e,t){return e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value}var as=Object.freeze(Object.defineProperty({__proto__:null,Literal:Ji},Symbol.toStringTag,{value:"Module"}));function ss(e,t){var r=t.find(he);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()}function ns(e,t){var r=[];for(var i=0;i<e.elements.length;i++){var a=e.elements[i];a.type==="SpreadElement"?r=r.concat(qe(a,t)):r.push(y(a,t))}return r}function os(e,t){var r={};for(var i=0;i<e.properties.length;i++){var a=e.properties[i];if(a.type==="SpreadElement")D(r,qe(a,t,{spreadProps:!0}));else{var s=void 0;var n=a.key;a.computed?s=y(n,t):n.type==="Identifier"?s=n.name:s=""+Ji(n);var u=y(a.value,t),l=a.kind;if(l==="init")r[s]=u;else if(l==="get"){var c=le(r,s);k(r,s,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{var c1=le(r,s);k(r,s,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}}}return r}function us(e,t){if(e.id&&e.id.name){var r=new L(t),i=J(e,r);return r.const(e.id.name,i),i}else return J(e,t)}function ls(e,t){var r=e.argument;switch(e.operator){case"+":return+y(r,t);case"-":return-y(r,t);case"!":return!y(r,t);case"~":return~y(r,t);case"void":return void y(r,t);case"typeof":return r.type==="Identifier"?_type_of(de(r,t,{throwErr:!1})):_type_of(y(r,t));case"delete":if(r.type==="MemberExpression")return $e(r,t,{getVar:!0}).del();if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return y(r,t),!0;default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function cs(e,t){var r=e.argument;var i;if(r.type==="Identifier")i=de(r,t,{getVar:!0});else if(r.type==="MemberExpression")i=$e(r,t,{getVar:!0});else throw new SyntaxError("Unexpected token");var a=i.get();if(e.operator==="++")return i.set(a+1),e.prefix?i.get():a;if(e.operator==="--")return i.set(a-1),e.prefix?i.get():a;throw new SyntaxError("Unexpected token ".concat(e.operator))}function fs(e,t){var r,i;switch(e.left.type==="PrivateIdentifier"?(r=e.left.name,i=y(e.right,t),i=i[N]||{}):(r=y(e.left,t),i=y(e.right,t)),e.operator){case"==":return r==i;case"!=":return r!=i;case"===":return r===i;case"!==":return r!==i;case"<":return r<i;case"<=":return r<=i;case">":return r>i;case">=":return r>=i;case"<<":return r<<i;case">>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return _instanceof(r,i);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function hs(e,t){var r=e.left;var i;if(r.type==="Identifier"){if(i=de(r,t,{getVar:!0,throwErr:!1}),!i){var s=t.find(_t);if(s&&s.get())throw new ReferenceError("".concat(r.name," is not defined"));var n=t.global().find("window").get();i=new pe(n,r.name)}}else if(r.type==="MemberExpression")i=$e(r,t,{getVar:!0});else{var s1=y(e.right,t);return j(r,t,{feed:s1})}var a=y(e.right,t);switch(e.operator){case"=":return i.set(a),i.get();case"+=":return i.set(i.get()+a),i.get();case"-=":return i.set(i.get()-a),i.get();case"*=":return i.set(i.get()*a),i.get();case"/=":return i.set(i.get()/a),i.get();case"%=":return i.set(i.get()%a),i.get();case"**=":return i.set(Math.pow(i.get(),a)),i.get();case"<<=":return i.set(i.get()<<a),i.get();case">>=":return i.set(i.get()>>a),i.get();case">>>=":return i.set(i.get()>>>a),i.get();case"|=":return i.set(i.get()|a),i.get();case"^=":return i.set(i.get()^a),i.get();case"&=":return i.set(i.get()&a),i.get();case"??=":var _i_get;return i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:a),i.get();case"&&=":return i.set(i.get()&&a),i.get();case"||=":return i.set(i.get()||a),i.get();default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ps(e,t){switch(e.operator){case"||":return y(e.left,t)||y(e.right,t);case"&&":return y(e.left,t)&&y(e.right,t);case"??":var _y;return(_y=y(e.left,t))!==null&&_y!==void 0?_y:y(e.right,t);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function $e(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,a=tmp1===void 0?!1:tmp1;var s;if(e.object.type==="Super"?s=tr(e.object,t,{getProto:!0}):s=y(e.object,t),s===P)return P;if(i)return s;var n,u=!1;if(e.computed?n=y(e.property,t):e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name,u&&(s=s[N]),a){var l=Wt(s,n);if(e.object.type==="Super"&&l){var c=t.find("this").get(),f=R(n);return k(c,f,{set:l}),new pe(c,f)}else return new pe(s,n)}else{var l1=qt(s,n);if(e.object.type==="Super"&&l1){var c1=t.find("this").get();return e.optional&&c1==null?P:l1.call(c1)}else return e.optional&&s==null?P:s[n]}}function ds(e,t){return y(e.test,t)?y(e.consequent,t):y(e.alternate,t)}function ys(e,t){var r,i;if(e.callee.type==="MemberExpression"){if(i=$e(e.callee,t,{getObj:!0}),i===P||e.callee.optional&&i==null)return P;var _$s,n=!1;e.callee.computed?_$s=y(e.callee.property,t):e.callee.property.type==="PrivateIdentifier"?(_$s=e.callee.property.name,n=!0):_$s=e.callee.property.name;var u=i;if(n&&(u=u[N]),e.callee.object.type==="Super"){var l=t.find("this").get();r=u[_$s].bind(l)}else r=u[_$s];if(e.optional&&r==null)return P;if(typeof r!="function")throw new TypeError("".concat(_$s," is not a function"));if(Ie in r)throw new TypeError("Class constructor ".concat(_$s," cannot be invoked without 'new'"))}else{if(i=t.find("this").get(),r=y(e.callee,t),r===P||e.optional&&r==null)return P;if(typeof r!="function"||e.callee.type!=="Super"&&Ie in r){var _$s1;if(e.callee.type==="Identifier")_$s1=e.callee.name;else try{_$s1=JSON.stringify(r)}catch(e){_$s1=""+r}throw typeof r!="function"?new TypeError("".concat(_$s1," is not a function")):new TypeError("Class constructor ".concat(_$s1," cannot be invoked without 'new'"))}}var a=[];for(var _$s2=0;_$s2<e.arguments.length;_$s2++){var n1=e.arguments[_$s2];n1.type==="SpreadElement"?a=a.concat(qe(n1,t)):a.push(y(n1,t))}if(e.callee.type==="Super"){var n2=t.find(he).get();if(n2===!0)throw new ReferenceError("Super constructor may only be called once");var u1=He(i,r,a);return n2(u1),t.find("this").set(u1),t.find(he).set(!0),u1}try{return r.apply(i,a)}catch(s){if(_instanceof(s,TypeError)&&s.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){var n3=t.global().find("window").get();if(n3&&n3[Re])return r.apply(n3[Re],a)}throw s}}function ms(e,t){var r=y(e.callee,t);if(typeof r!="function"){var a;if(e.callee.type==="Identifier")a=e.callee.name;else try{a=JSON.stringify(r)}catch(e){a=""+r}throw new TypeError("".concat(a," is not a constructor"))}else if(r[ot])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));var i=[];for(var a1=0;a1<e.arguments.length;a1++){var s=e.arguments[a1];s.type==="SpreadElement"?i=i.concat(qe(s,t)):i.push(y(s,t))}return _construct(r,_to_consumable_array(i))}function gs(e,t){if(e.meta.name==="new"&&e.property.name==="target")return t.find(ut).get();if(e.meta.name==="import"&&e.property.name==="meta")return{url:""}}function xs(e,t){var r;for(var i=0;i<e.expressions.length;i++)r=y(e.expressions[i],t);return r}function bs(e,t){return J(e,t)}function vs(e,t){var r=e.quasis.slice(),i=e.expressions.slice();var a="",s,n;for(;s=r.shift();)a+=er(s),n=i.shift(),n&&(a+=y(n,t));return a}function Ss(e,t){var r=y(e.tag,t),i=e.quasi.quasis,a=i.map(function(l){return l.value.cooked}),s=i.map(function(l){return l.value.raw});k(a,"raw",{value:Ge(s)});var n=e.quasi.expressions,u=[];if(n)for(var l=0;l<n.length;l++)u.push(y(n[l],t));return r.apply(void 0,[Ge(a)].concat(_to_consumable_array(u)))}function er(e,t){return e.value.raw}function ws(e,t){if(e.id&&e.id.name){var r=new L(t),i=We(e,r);return r.const(e.id.name,i),i}else return We(e,t)}function tr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getProto,i=tmp===void 0?!1:tmp,a=t.find(nt).get();return i?a.prototype:a}function qe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.argument,t);if(r.spreadProps)return i;if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return _to_consumable_array(i)}function ks(e,t){var r=y(e.expression,t);return r===P?void 0:r}function Es(e,t){var r=t.global(),i=y(e.source,t),a=r.find(xe+i);var s;if(a){var n=a.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}return!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(s)}var Cs=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:ns,ArrowFunctionExpression:bs,AssignmentExpression:hs,BinaryExpression:fs,CallExpression:ys,ChainExpression:ks,ClassExpression:ws,ConditionalExpression:ds,FunctionExpression:us,ImportExpression:Es,LogicalExpression:ps,MemberExpression:$e,MetaProperty:gs,NewExpression:ms,ObjectExpression:os,SequenceExpression:xs,SpreadElement:qe,Super:tr,TaggedTemplateExpression:Ss,TemplateElement:er,TemplateLiteral:vs,ThisExpression:ss,UnaryExpression:ls,UpdateExpression:cs},Symbol.toStringTag,{value:"Module"}));function ir(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];for(var l=0;l<e.properties.length;l++){var c=e.properties[l];if(a){if(s||i==="var")if(c.type==="Property"){var f=c.value;f.type==="Identifier"?t[i](f.name,s?M:i==="var"?O:void 0):j(f,t,{kind:i,hoist:a,onlyBlock:s})}else Le(c,t,{kind:i,hoist:a,onlyBlock:s})}else if(c.type==="Property"){var f1=void 0;c.computed?f1=y(c.key,t):f1=c.key.name,u.push(f1);var p=c.value;p.type==="Identifier"?t[i](p.name,n[f1]):j(p,t,{kind:i,feed:n[f1]})}else{var f2=D({},n);for(var p1=0;p1<u.length;p1++)delete f2[u[p1]];Le(c,t,{kind:i,feed:f2})}}}function rr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];for(var l=0;l<e.elements.length;l++){var c=e.elements[l];if(c)if(a)(s||i==="var")&&(c.type==="Identifier"?t[i](c.name,s?M:i==="var"?O:void 0):j(c,t,{kind:i,hoist:a,onlyBlock:s}));else if(c.type==="Identifier")if(i)t[i](c.name,n[l]);else{var f=de(c,t,{getVar:!0});f.set(n[l]),u.push(f.get())}else c.type==="RestElement"?Le(c,t,{kind:i,feed:n.slice(l)}):j(c,t,{kind:i,feed:n[l]})}if(u.length)return u}function Le(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,a=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,s=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;a?(s||i==="var")&&(u.type==="Identifier"?t[i](u.name,s?M:i==="var"?O:void 0):j(u,t,{kind:i,hoist:a,onlyBlock:s})):u.type==="Identifier"?i?t[i](u.name,n):de(u,t,{getVar:!0}).set(n):j(u,t,{kind:i,feed:n})}function ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?y(e.right,t):tmp3,u=e.left;a?(s||i==="var")&&(u.type==="Identifier"?t[i](u.name,s?M:i==="var"?O:void 0):j(u,t,{kind:i,hoist:a,onlyBlock:s})):u.type==="Identifier"?t[i](u.name,n):j(u,t,{kind:i,feed:n})}var _s=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:rr,AssignmentPattern:ar,ObjectPattern:ir,RestElement:Le},Symbol.toStringTag,{value:"Module"}));function Is(e,t){for(var r=0;r<e.body.length;r++)y(e.body[r],t)}var As=Object.freeze(Object.defineProperty({__proto__:null,Program:Is},Symbol.toStringTag,{value:"Module"}));var Tt;function y(e,t){if(!e)return;Tt||(Tt=D({},Sr,Cs,rs,vr,as,_s,As));var r=Tt[e.type];if(r)return r(e,t);throw new Error("".concat(e.type," isn't implemented"))}function Ps(e,t){y(e.expression,t)}function ne(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,a=tmp1===void 0?!1:tmp1,s=i?t:new L(t);a||Rt(e,s,{onlyBlock:!0});for(var n=0;n<e.body.length;n++){var u=y(e.body[n],s);if(u===_){if(u.LABEL&&u.LABEL===r.label)break;return u}if(u===C||u===S)return u}}function Ls(){}function Ts(){debugger}function Vs(e,t){return S.RES=e.argument?y(e.argument,t):void 0,S}function Ns(e){var t;return _.LABEL=(t=e.label)==null?void 0:t.name,_}function Rs(e){var t;return C.LABEL=(t=e.label)==null?void 0:t.name,C}function Bs(e,t){var r=e.label.name;if(e.body.type==="WhileStatement")return cr(e.body,t,{label:r});if(e.body.type==="DoWhileStatement")return fr(e.body,t,{label:r});if(e.body.type==="ForStatement")return hr(e.body,t,{label:r});if(e.body.type==="ForInStatement")return pr(e.body,t,{label:r});if(e.body.type==="ForOfStatement")return dr(e.body,t,{label:r});if(e.body.type==="BlockStatement")return ne(e.body,t,{label:r});if(e.body.type==="WithStatement")return sr(e.body,t,{label:r});if(e.body.type==="IfStatement")return nr(e.body,t,{label:r});if(e.body.type==="SwitchStatement")return or(e.body,t,{label:r});if(e.body.type==="TryStatement")return ur(e.body,t,{label:r});throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new L(t);i.with(y(e.object,t));var a=y(e.body,i);if(a===_)return a.LABEL&&a.LABEL===r.label?void 0:a;if(a===C||a===S)return a}function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;if(y(e.test,t)?i=y(e.consequent,t):i=y(e.alternate,t),i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===S)return i}function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.discriminant,t);var a=!1,s=-1;for(var n=0;n<e.cases.length;n++){var u=e.cases[n];if(u.test?!a&&y(u.test,t)===i&&(a=!0,s=-1):s=n,a){var l=Vt(u,t);if(l===_){if(l.LABEL===r.label)break;return l}if(l===C||l===S)return l}}if(!a&&s!==-1)for(var n1=s;n1<e.cases.length;n1++){var u1=Vt(e.cases[n1],t);if(u1===_){if(u1.LABEL===r.label)break;return u1}if(u1===C||u1===S)return u1}}function Vt(e,t){for(var r=0;r<e.consequent.length;r++){var i=y(e.consequent[r],t);if(i===_||i===C||i===S)return i}}function Os(e,t){throw y(e.argument,t)}function ur(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;try{i=ne(e.block,t)}catch(a){if(e.handler){var s=new L(t),n=e.handler.param;if(n)if(n.type==="Identifier"){var u=n.name;s.var(u,a)}else j(n,t,{feed:a});i=lr(e.handler,s)}else throw a}finally{e.finalizer&&(i=ne(e.finalizer,t))}if(i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===S)return i}function lr(e,t){return ne(e.body,t,{invasived:!0})}function cr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(;y(e.test,t);){var i=y(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===S)return i}}function fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};do{var i=y(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===S)return i}while(y(e.test,t))}function hr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new L(t);for(e.init?y(e.init,i):void 0;!e.test||y(e.test,i);e.update?y(e.update,i):void 0){var a=new L(i);var s=void 0;if(e.body.type==="BlockStatement"?s=ne(e.body,a,{invasived:!0}):s=y(e.body,a),s===_){if(s.LABEL===r.label)break;return s}else if(s===C){if(s.LABEL===r.label)continue;return s}else if(s===S)return s}}function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i in y(e.right,t)){var a=br(e,t,{value:i});if(a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===S)return a}}function dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=y(e.right,t);var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;try{for(var _iterator=i[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var a=_step.value;var s=br(e,t,{value:a});if(s===_){if(s.LABEL===r.label)break;return s}else if(s===C){if(s.LABEL===r.label)continue;return s}else if(s===S)return s}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function Ds(e,t){t.func(e.id.name,J(e,t))}function ve(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i=0;i<e.declarations.length;i++)yr(e.declarations[i],t,D({kind:e.kind},r))}function yr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,a=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,s=tmp2===void 0?!1:tmp2,n=r.feed;if(a)(s||i==="var")&&(e.id.type==="Identifier"?t[i](e.id.name,s?M:i==="var"?O:void 0):j(e.id,t,{kind:i,hoist:a,onlyBlock:s}));else{var u="feed"in r,l=u?n:y(e.init,t);if(e.id.type==="Identifier"){var c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,O):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&k(l,"name",{value:c,configurable:!0})}else j(e.id,t,{kind:i,feed:l})}}function Fs(e,t){t.func(e.id.name,We(e,t))}function mr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;for(var s=0;s<e.body.length;s++){var n=e.body[s];n.type==="MethodDefinition"?gr(n,t,{klass:i,superClass:a}):n.type==="PropertyDefinition"&&n.static?Nt(n,t,{klass:i,superClass:a}):n.type==="StaticBlock"&&xr(n,t,{klass:i})}}function gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;var s,n=!1;if(e.computed)s=y(e.key,t);else if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=e.static?i:i.prototype;n&&(u[N]||k(u,N,{value:{}}),u=u[N]);var l=J(e.value,t,{superClass:a});switch(e.kind){case"constructor":break;case"method":k(u,s,{value:l,writable:!0,configurable:!0});break;case"get":{var c=le(u,s);k(u,s,{get:l,set:c&&c.set,configurable:!0});break}case"set":{var c1=le(u,s);k(u,s,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}}function Nt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=r.superClass;var s,n=!1;if(e.computed)s=y(e.key,t);else if(e.key.type==="Identifier")s=e.key.name;else if(e.key.type==="PrivateIdentifier")s=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=new L(t,!0);u.const("this",i);var l=i;n&&(l[N]||k(l,N,{value:{}}),l=l[N]),e.value?e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"?l[s]=J(e.value,u,{superClass:a}):l[s]=y(e.value,u):l[s]=void 0}function xr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,a=new L(t,!0);return a.const("this",i),ne(e,a,{invasived:!0})}function Ms(e,t){var i=t.global().find(xe+e.source.value);var a;if(i){var s=i.get();s&&(typeof s=="function"?a=s():(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(a=s))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(var s1=0;s1<e.specifiers.length;s1++){var n=e.specifiers[s1];var u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!ct(a,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?D({},a):a[u])}}function js(e,t){var r=t.global();var i;e.declaration.type==="FunctionDeclaration"?(i=J(e.declaration,t),t.func(e.declaration.id.name,i)):e.declaration.type==="ClassDeclaration"?(i=We(e.declaration,t),t.func(e.declaration.id.name,i)):i=y(e.declaration,t);var a=r.find($);if(a){var s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s.default=i)}}function Us(e,t){var r=t.global();if(e.declaration){if(e.declaration.type==="FunctionDeclaration"){var i=J(e.declaration,t);t.func(e.declaration.id.name,i);var a=r.find($);if(a){var s=a.get();s&&(typeof s==="undefined"?"undefined":_type_of(s))=="object"&&(s[e.declaration.id.name]=i)}}else if(e.declaration.type==="ClassDeclaration"){var i1=We(e.declaration,t);t.func(e.declaration.id.name,i1);var a1=r.find($);if(a1){var s1=a1.get();s1&&(typeof s1==="undefined"?"undefined":_type_of(s1))=="object"&&(s1[e.declaration.id.name]=i1)}}else if(e.declaration.type==="VariableDeclaration"){ve(e.declaration,t);var i2=r.find($);if(i2){var a2=i2.get();if(a2&&(typeof a2==="undefined"?"undefined":_type_of(a2))=="object")for(var s2=0;s2<e.declaration.declarations.length;s2++){var n=e.declaration.declarations[s2].id.name,u=t.find(n);u&&(a2[n]=u.get())}}}}else if(e.specifiers){var i3=r.find($);if(i3){var a3=i3.get();if(a3&&(typeof a3==="undefined"?"undefined":_type_of(a3))=="object")for(var s3=0;s3<e.specifiers.length;s3++){var n1=e.specifiers[s3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(a3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}}function $s(e,t){var r=t.global(),i=r.find(xe+e.source.value);var a;if(i){var n=i.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}if(!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));var s=r.find($);if(s){var n1=s.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&D(n1,a)}}function Rt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,a=[],s=[];for(var n=0;n<e.body.length;n++){var u=e.body[n];u.type==="FunctionDeclaration"?(a.push(u),s.push(n)):u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1?ve(u,t,{hoist:!0,onlyBlock:!0}):i||oe(u,t)}if(s.length){for(var n1=s.length-1;n1>-1;n1--)e.body.splice(s[n1],1);e.body=a.concat(e.body)}}function oe(e,t){switch(e.type){case"VariableDeclaration":ve(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":e.left.type==="VariableDeclaration"&&ve(e.left,t,{hoist:!0});case"ForStatement":e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration"&&ve(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":oe(e.body,t);break;case"IfStatement":oe(e.consequent,t),e.alternate&&oe(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)oe(e.body[r],t);break;case"SwitchStatement":for(var r1=0;r1<e.cases.length;r1++)for(var i=0;i<e.cases[r1].consequent.length;i++)oe(e.cases[r1].consequent[i],t);break;case"TryStatement":{var r2=e.block.body;for(var s=0;s<r2.length;s++)oe(r2[s],t);var i1=e.handler&&e.handler.body.body;if(i1)for(var s1=0;s1<i1.length;s1++)oe(i1[s1],t);var a=e.finalizer&&e.finalizer.body;if(a)for(var s2=0;s2<a.length;s2++)oe(a[s2],t);break}}}function j(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};switch(e.type){case"ObjectPattern":return ir(e,t,r);case"ArrayPattern":return rr(e,t,r);case"RestElement":return Le(e,t,r);case"AssignmentPattern":return ar(e,t,r);default:throw new SyntaxError("Unexpected token")}}function J(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var c;if(e.generator||e.async)return ee(e,t,r);var i=r.superClass,a=r.construct,s=e.params;var u=function _target(){for(var _len=arguments.length,f=new Array(_len),_key=0;_key<_len;_key++){f[_key]=arguments[_key]}var p=new L(t,!0);e.type!=="ArrowFunctionExpression"&&(p.let("this",this),p.let("arguments",arguments),p.const(ut,_instanceof(this,_target)?this.constructor:void 0),i?(p.const(nt,i),a&&p.let(he,a)):a&&a(this));for(var I=0;I<s.length;I++){var T=s[I];T.type==="Identifier"?p.var(T.name,f[I]):T.type==="RestElement"?Le(T,p,{kind:"var",feed:f.slice(I)}):j(T,p,{kind:"var",feed:f[I]})}var w;if(e.body.type==="BlockStatement"?(Rt(e.body,p),w=ne(e.body,p,{invasived:!0,hoisted:!0})):(w=y(e.body,p),e.type==="ArrowFunctionExpression"&&(S.RES=w,w=S)),w===S)return w.RES;if(_instanceof(this,_target)?this.constructor:void 0)return p.find("this").get()};e.type==="ArrowFunctionExpression"&&k(u,ot,{value:!0}),k(u,"name",{value:e.id&&e.id.name||"",configurable:!0}),k(u,"length",{value:s.length,configurable:!0});var l=(c=e.loc)==null?void 0:c.source;return l&&k(u,"toString",{value:function(){return l.substring(e.start,e.end)},configurable:!0}),u}function We(e,t){var r=y(e.superClass,t),i=e.body.body,a=function a(n){for(var u=0;u<i.length;u++){var l=i[u];l.type==="PropertyDefinition"&&!l.static&&Nt(l,t,{klass:n,superClass:r})}};var s=function s(){var n=r?He(this,r):this;return a(n),n};for(var n=0;n<i.length;n++){var u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){s=J(u.value,t,{superClass:r,construct:a});break}}return r&&zt(s,r),mr(e.body,t,{klass:s,superClass:r}),k(s,Ie,{value:!0}),k(s,"name",{value:e.id&&e.id.name||"",configurable:!0}),s}function br(e,t,r){var i=r.value,a=e.left,s=new L(t);a.type==="VariableDeclaration"?ve(a,s,{feed:i}):a.type==="Identifier"?de(a,t,{getVar:!0}).set(i):j(a,t,{feed:i});var n;return e.body.type==="BlockStatement"?n=ne(e.body,s,{invasived:!0}):n=y(e.body,s),n}function Bt(e,t){var r,tmp,i,a,s,n,u,_tmp,_tmp1,_tmp2,n1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,a=[],s=[];n=0;_state.label=1;case 1:if(!(n<e.body.length))return[3,10];u=e.body[n];if(!(u.type==="FunctionDeclaration"))return[3,2];_tmp=(a.push(u),s.push(n));return[3,8];case 2:if(!(u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1))return[3,4];return[5,_ts_values(be(u,t,{hoist:!0,onlyBlock:!0}))];case 3:_tmp1=_state.sent();return[3,7];case 4:_tmp2=i;if(_tmp2)return[3,6];return[5,_ts_values(ue(u,t))];case 5:_tmp2=_state.sent();_state.label=6;case 6:_tmp1=_tmp2;_state.label=7;case 7:_tmp=_tmp1;_state.label=8;case 8:_tmp;_state.label=9;case 9:n++;return[3,1];case 10:if(s.length){for(n1=s.length-1;n1>-1;n1--)e.body.splice(s[n1],1);e.body=a.concat(e.body)}return[2]}})}function ue(e,t){var _,_tmp,_tmp1,_tmp2,r,r1,i,r2,s,i1,s1,a,s2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.type;switch(_){case"VariableDeclaration":return[3,1];case"ForInStatement":return[3,3];case"ForOfStatement":return[3,3];case"ForStatement":return[3,6];case"WhileStatement":return[3,9];case"DoWhileStatement":return[3,9];case"IfStatement":return[3,11];case"BlockStatement":return[3,15];case"SwitchStatement":return[3,20];case"TryStatement":return[3,27]}return[3,40];case 1:return[5,_ts_values(be(e,t,{hoist:!0}))];case 2:_state.sent();return[3,40];case 3:_tmp=e.left.type==="VariableDeclaration";if(!_tmp)return[3,5];return[5,_ts_values(be(e.left,t,{hoist:!0}))];case 4:_tmp=_state.sent();_state.label=5;case 5:_tmp;_state.label=6;case 6:_tmp1=e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration";if(!_tmp1)return[3,8];return[5,_ts_values(be(e.init,t,{hoist:!0}))];case 7:_tmp1=_state.sent();_state.label=8;case 8:_tmp1;_state.label=9;case 9:return[5,_ts_values(ue(e.body,t))];case 10:_state.sent();return[3,40];case 11:return[5,_ts_values(ue(e.consequent,t))];case 12:_state.sent();_tmp2=e.alternate;if(!_tmp2)return[3,14];return[5,_ts_values(ue(e.alternate,t))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,40];case 15:r=0;_state.label=16;case 16:if(!(r<e.body.length))return[3,19];return[5,_ts_values(ue(e.body[r],t))];case 17:_state.sent();_state.label=18;case 18:r++;return[3,16];case 19:return[3,40];case 20:r1=0;_state.label=21;case 21:if(!(r1<e.cases.length))return[3,26];i=0;_state.label=22;case 22:if(!(i<e.cases[r1].consequent.length))return[3,25];return[5,_ts_values(ue(e.cases[r1].consequent[i],t))];case 23:_state.sent();_state.label=24;case 24:i++;return[3,22];case 25:r1++;return[3,21];case 26:return[3,40];case 27:r2=e.block.body;s=0;_state.label=28;case 28:if(!(s<r2.length))return[3,31];return[5,_ts_values(ue(r2[s],t))];case 29:_state.sent();_state.label=30;case 30:s++;return[3,28];case 31:i1=e.handler&&e.handler.body.body;if(!i1)return[3,35];s1=0;_state.label=32;case 32:if(!(s1<i1.length))return[3,35];return[5,_ts_values(ue(i1[s1],t))];case 33:_state.sent();_state.label=34;case 34:s1++;return[3,32];case 35:a=e.finalizer&&e.finalizer.body;if(!a)return[3,39];s2=0;_state.label=36;case 36:if(!(s2<a.length))return[3,39];return[5,_ts_values(ue(a[s2],t))];case 37:_state.sent();_state.label=38;case 38:s2++;return[3,36];case 39:return[3,40];case 40:return[2]}})}function U(e,t){var r,_;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_=e.type;switch(_){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,_ts_values(Oi(e,t,r))];case 2:return[2,_state.sent()];case 3:return[5,_ts_values(Di(e,t,r))];case 4:return[2,_state.sent()];case 5:return[5,_ts_values(Pe(e,t,r))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(Fi(e,t,r))];case 8:return[2,_state.sent()];case 9:throw new SyntaxError("Unexpected token");case 10:return[2]}})}function ee(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var c;if(!e.generator&&!e.async)return J(e,t,r);var i=r.superClass,a=r.construct,s=e.params,n=function _target(){var _len,f,_key,p,_tmp,_tmp1,_tmp2,I,T,_tmp3,_tmp4,w,_tmp5;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(_len=_arguments.length,f=new Array(_len),_key=0;_key<_len;_key++){f[_key]=_arguments[_key]}p=new L(t,!0);_tmp=e.type!=="ArrowFunctionExpression";if(!_tmp)return[3,5];p.let("this",this),p.let("arguments",_arguments),p.const(ut,_instanceof(this,_target)?this.constructor:void 0);if(!i)return[3,1];_tmp1=(p.const(nt,i),a&&p.let(he,a));return[3,4];case 1:_tmp2=a;if(!_tmp2)return[3,3];return[5,_ts_values(a(this))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;I=0;_state.label=6;case 6:if(!(I<s.length))return[3,14];T=s[I];if(!(T.type==="Identifier"))return[3,7];_tmp3=p.var(T.name,f[I]);return[3,12];case 7:if(!(T.type==="RestElement"))return[3,9];return[5,_ts_values(Pe(T,p,{kind:"var",feed:f.slice(I)}))];case 8:_tmp4=_state.sent();return[3,11];case 9:return[5,_ts_values(U(T,p,{kind:"var",feed:f[I]}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp3=_tmp4;_state.label=12;case 12:_tmp3;_state.label=13;case 13:I++;return[3,6];case 14:if(!(e.body.type==="BlockStatement"))return[3,17];return[5,_ts_values(Bt(e.body,p))];case 15:_state.sent();return[5,_ts_values(se(e.body,p,{invasived:!0,hoisted:!0}))];case 16:_tmp5=w=_state.sent();return[3,19];case 17:return[5,_ts_values(d(e.body,p))];case 18:_tmp5=(w=_state.sent(),e.type==="ArrowFunctionExpression"&&(S.RES=w,w=S));_state.label=19;case 19:if(_tmp5,w===S)return[2,w.RES];if(_instanceof(this,_target)?this.constructor:void 0)return[2,p.find("this").get()];return[2]}})};var u;e.async&&e.generator?u=function u(){var f=n.apply(this,arguments);var p=Promise.resolve(),w=!1;var I=function(Q){return p=p.then(function(){return It(f,D({fullRet:!0},Q))}).catch(function(ye){if(!w)return w=!0,Promise.reject(ye)})},T={next:function(Q){return I({res:Q})},throw:function(Q){return I({err:Q})},return:function(Q){return I({ret:Q})}};return typeof Symbol=="function"&&(T[Symbol.iterator]=function(){return this}),T}:e.async?u=function u(){return It(n.apply(this,arguments))}:u=n,k(u,ot,{value:!0}),k(u,"name",{value:e.id&&e.id.name||"",configurable:!0}),k(u,"length",{value:s.length,configurable:!0});var l=(c=e.loc)==null?void 0:c.source;return l&&k(u,"toString",{value:function(){return l.substring(e.start,e.end)},configurable:!0}),u}function ze(e,t){var r,i,a,s,n,u;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(d(e.superClass,t))];case 1:r=_state.sent(),i=e.body.body,a=function a(n){var u,l,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:u=0;_state.label=1;case 1:if(!(u<i.length))return[3,5];l=i[u];_tmp=l.type==="PropertyDefinition"&&!l.static;if(!_tmp)return[3,3];return[5,_ts_values(Lt(l,t,{klass:n,superClass:r}))];case 2:_tmp=_state.sent();_state.label=3;case 3:_tmp;_state.label=4;case 4:u++;return[3,1];case 5:return[2]}})};s=function s(){var n;return _ts_generator(this,function(_state){switch(_state.label){case 0:n=r?He(this,r):this;return[5,_ts_values(a(n))];case 1:return[2,(_state.sent(),n)]}})};for(n=0;n<i.length;n++){u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){s=ee(u.value,t,{superClass:r,construct:a});break}}r&&zt(s,r);return[5,_ts_values(Xi(e.body,t,{klass:s,superClass:r}))];case 2:return[2,(_state.sent(),k(s,Ie,{value:!0}),k(s,"name",{value:e.id&&e.id.name||"",configurable:!0}),s)]}})}function Ot(e,t,r){var i,a,s,_tmp,_tmp1,n,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=r.value,a=e.left,s=new L(t);if(!(a.type==="VariableDeclaration"))return[3,2];return[5,_ts_values(be(a,s,{feed:i}))];case 1:_tmp=_state.sent();return[3,7];case 2:if(!(a.type==="Identifier"))return[3,4];return[5,_ts_values(de(a,t,{getVar:!0}))];case 3:_tmp1=_state.sent().set(i);return[3,6];case 4:return[5,_ts_values(U(a,t,{feed:i}))];case 5:_tmp1=_state.sent();_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;if(!(e.body.type==="BlockStatement"))return[3,9];return[5,_ts_values(se(e.body,s,{invasived:!0}))];case 8:_tmp2=n=_state.sent();return[3,11];case 9:return[5,_ts_values(d(e.body,s))];case 10:_tmp2=n=_state.sent();_state.label=11;case 11:return[2,(_tmp2,n)]}})}var qs=15,Ft=/*#__PURE__*/function(){function Ft(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_class_call_check(this,Ft);this.options={ecmaVersion:"latest"},this.scope=new L(null,!0),this.exports={};var tmp=t.ecmaVer,r=tmp===void 0?"latest":tmp,tmp1=t.sandBox,i=tmp1===void 0?!0:tmp1,tmp2=t.sourceType,a=tmp2===void 0?"script":tmp2;if(typeof r=="number"&&(r-=r<2015?0:2009),r!=="latest"&&r!==3&&(r<5||r>qs))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,this.options.sourceType=a,i){var s=_r();this.scope.let("globalThis",s),this.scope.let("window",s),this.scope.let("self",s),this.scope.let("this",a==="module"?void 0:s)}else this.scope.let("globalThis",h),this.scope.let("window",h),this.scope.let("self",h),this.scope.let("this",a==="module"?void 0:h);this.scope.const(a==="module"?$:"exports",this.exports={}),a==="module"&&this.scope.const(_t,!0)}_create_class(Ft,[{key:"import",value:function _import(t,r){if(typeof t=="string"&&(t=_define_property({},t,r)),(typeof t==="undefined"?"undefined":_type_of(t))!="object")return;var i=ft(t);for(var a=0;a<i.length;a++){var s=i[a],n=this.options.sourceType==="module"?xe+s:s;this.scope.var(n,t[s])}}},{key:"parse",value:function parse(t,r){return typeof r=="function"?r(t,this.options):pa(t,this.options)}},{key:"run",value:function run(t){var r=typeof t=="string"?this.parse(t):t,i=this.scope;this.options.sourceType==="module"&&(this.options.ecmaVersion==="latest"||this.options.ecmaVersion>=13)?It(function(){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(Bt(r,i))];case 1:_state.sent();return[5,_ts_values(d(r,i))];case 2:_state.sent();return[2]}})}()):(Rt(r,i),y(r,i))}}]);return Ft}();Ft.version=da.version;var Dt=Ft;return Dt});}();
|
|
1
|
+
!function(){function _array_like_to_array(arr,len){if(len==null||len>arr.length)len=arr.length;for(var i=0,arr2=new Array(len);i<len;i++)arr2[i]=arr[i];return arr2}function _array_without_holes(arr){if(Array.isArray(arr))return _array_like_to_array(arr)}function _class_call_check(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}function _construct(Parent,args,Class){if(_is_native_reflect_construct()){_construct=Reflect.construct}else{_construct=function construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var Constructor=Function.bind.apply(Parent,a);var instance=new Constructor;if(Class)_set_prototype_of(instance,Class.prototype);return instance}}return _construct.apply(null,arguments)}function _defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||false;descriptor.configurable=true;if("value"in descriptor)descriptor.writable=true;Object.defineProperty(target,descriptor.key,descriptor)}}function _create_class(Constructor,protoProps,staticProps){if(protoProps)_defineProperties(Constructor.prototype,protoProps);if(staticProps)_defineProperties(Constructor,staticProps);return Constructor}function _define_property(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true})}else{obj[key]=value}return obj}function _instanceof(left,right){if(right!=null&&typeof Symbol!=="undefined"&&right[Symbol.hasInstance]){return!!right[Symbol.hasInstance](left)}else{return left instanceof right}}function _iterable_to_array(iter){if(typeof Symbol!=="undefined"&&iter[Symbol.iterator]!=null||iter["@@iterator"]!=null)return Array.from(iter)}function _non_iterable_spread(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _set_prototype_of(o,p){_set_prototype_of=Object.setPrototypeOf||function setPrototypeOf(o,p){o.__proto__=p;return o};return _set_prototype_of(o,p)}function _to_consumable_array(arr){return _array_without_holes(arr)||_iterable_to_array(arr)||_unsupported_iterable_to_array(arr)||_non_iterable_spread()}function _type_of(obj){"@swc/helpers - typeof";return obj&&typeof Symbol!=="undefined"&&obj.constructor===Symbol?"symbol":typeof obj}function _unsupported_iterable_to_array(o,minLen){if(!o)return;if(typeof o==="string")return _array_like_to_array(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);if(n==="Object"&&o.constructor)n=o.constructor.name;if(n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _array_like_to_array(o,minLen)}function _is_native_reflect_construct(){try{var result=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(_){}return(_is_native_reflect_construct=function(){return!!result})()}function _ts_generator(thisArg,body){var f,y,t,_={label:0,sent:function(){if(t[0]&1)throw t[1];return t[1]},trys:[],ops:[]},g=Object.create((typeof Iterator==="function"?Iterator:Object).prototype);return g.next=verb(0),g["throw"]=verb(1),g["return"]=verb(2),typeof Symbol==="function"&&(g[Symbol.iterator]=function(){return this}),g;function verb(n){return function(v){return step([n,v])}}function step(op){if(f)throw new TypeError("Generator is already executing.");while(g&&(g=0,op[0]&&(_=0)),_)try{if(f=1,y&&(t=op[0]&2?y["return"]:op[0]?y["throw"]||((t=y["return"])&&t.call(y),0):y.next)&&!(t=t.call(y,op[1])).done)return t;if(y=0,t)op=[op[0]&2,t.value];switch(op[0]){case 0:case 1:t=op;break;case 4:_.label++;return{value:op[1],done:false};case 5:_.label++;y=op[1];op=[0];continue;case 7:op=_.ops.pop();_.trys.pop();continue;default:if(!(t=_.trys,t=t.length>0&&t[t.length-1])&&(op[0]===6||op[0]===2)){_=0;continue}if(op[0]===3&&(!t||op[1]>t[0]&&op[1]<t[3])){_.label=op[1];break}if(op[0]===6&&_.label<t[1]){_.label=t[1];t=op;break}if(t&&_.label<t[2]){_.label=t[2];_.ops.push(op);break}if(t[2])_.ops.pop();_.trys.pop();continue}op=body.call(thisArg,_)}catch(e){op=[6,e];y=0}finally{f=t=0}if(op[0]&5)throw op[1];return{value:op[0]?op[1]:void 0,done:true}}}function _ts_values(o){var s=typeof Symbol==="function"&&Symbol.iterator,m=s&&o[s],i=0;if(m)return m.call(o);if(o&&typeof o.length==="number")return{next:function(){if(o&&i>=o.length)o=void 0;return{value:o&&o[i++],done:!o}}};throw new TypeError(s?"Object is not iterable.":"Symbol.iterator is not defined.")}(function(Be,Oe){(typeof exports==="undefined"?"undefined":_type_of(exports))=="object"&&(typeof module==="undefined"?"undefined":_type_of(module))<"u"?module.exports=Oe():typeof define=="function"&&define.amd?define(Oe):(Be=(typeof globalThis==="undefined"?"undefined":_type_of(globalThis))<"u"?globalThis:Be||self,Be.Sval=Oe())})(this,function _target(){"use strict";var Be=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return le},get BreakStatement(){return Xs},get CatchClause(){return Gi},get ContinueStatement(){return Ys},get DebuggerStatement(){return Ks},get DoWhileStatement(){return Ki},get EmptyStatement(){return Hs},get ExpressionStatement(){return Gs},get ForInStatement(){return Xi},get ForOfStatement(){return Yi},get ForStatement(){return Qi},get IfStatement(){return qi},get LabeledStatement(){return Zs},get ReturnStatement(){return Qs},get SwitchCase(){return Vt},get SwitchStatement(){return Wi},get ThrowStatement(){return Js},get TryStatement(){return zi},get WhileStatement(){return Hi},get WithStatement(){return $i}},Symbol.toStringTag,{value:"Module"})),Oe=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return Ji},get ClassDeclaration(){return ta},get ExportAllDeclaration(){return aa},get ExportDefaultDeclaration(){return ra},get ExportNamedDeclaration(){return sa},get FunctionDeclaration(){return ea},get ImportDeclaration(){return ia},get MethodDefinition(){return er},get PropertyDefinition(){return Nt},get StaticBlock(){return tr},get VariableDeclaration(){return we},get VariableDeclarator(){return Zi}},Symbol.toStringTag,{value:"Module"})),kr=Object.freeze(Object.defineProperty({__proto__:null,get BlockStatement(){return ce},get BreakStatement(){return Oa},get CatchClause(){return hr},get ContinueStatement(){return Da},get DebuggerStatement(){return Ra},get DoWhileStatement(){return dr},get EmptyStatement(){return Na},get ExpressionStatement(){return Va},get ForInStatement(){return mr},get ForOfStatement(){return gr},get ForStatement(){return yr},get IfStatement(){return lr},get LabeledStatement(){return Fa},get ReturnStatement(){return Ba},get SwitchCase(){return Bt},get SwitchStatement(){return cr},get ThrowStatement(){return Ma},get TryStatement(){return fr},get WhileStatement(){return pr},get WithStatement(){return ur}},Symbol.toStringTag,{value:"Module"})),Er=Object.freeze(Object.defineProperty({__proto__:null,get ClassBody(){return br},get ClassDeclaration(){return Ua},get ExportAllDeclaration(){return za},get ExportDefaultDeclaration(){return qa},get ExportNamedDeclaration(){return Wa},get FunctionDeclaration(){return ja},get ImportDeclaration(){return $a},get MethodDefinition(){return vr},get PropertyDefinition(){return Ot},get StaticBlock(){return Sr},get VariableDeclaration(){return ke},get VariableDeclarator(){return xr}},Symbol.toStringTag,{value:"Module"})),Qe=Object.freeze,v=Object.defineProperty,pe=Object.getOwnPropertyDescriptor,Cr=Object.prototype.hasOwnProperty;function dt(e,t){return Cr.call(e,t)}var yt=Object.getOwnPropertyNames,$t=Object.setPrototypeOf;function _r(e,t){$t?$t(e,t):e.__proto__=t}var qt=Object.getPrototypeOf;function Wt(e){return qt?qt(e):e.__proto__}var Ir=Object.getOwnPropertyDescriptor;function zt(e,t,r){for(;t;){var i=Ir(t,r),s=(typeof i==="undefined"?"undefined":_type_of(i))<"u"&&_type_of(i.writable)>"u"&&typeof i[e]=="function"&&i[e];if(s)return s;t=Wt(t)}}function Gt(e,t){return zt("get",e,t)}function Ht(e,t){return zt("set",e,t)}var Ce=Object.create;function Kt(e,t){_r(e,t),e.prototype=Ce(t.prototype,{constructor:{value:e,writable:!0}})}function Xe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];var i=!1;try{i=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return i?Reflect.construct(t,r,Wt(e).constructor):t.apply(e,r)}function Ar(e){for(var t=1;t<arguments.length;++t){var r=arguments[t];for(var i in r)dt(r,i)&&(e[i]=r[i])}return e}var j=Object.assign||Ar;var Ye=[],h=Ce(null);var Ze=function(e){if(!e.Object)throw 0;Ye=yt(h=e).filter(function(t){return["webkitStorageInfo","GLOBAL","root"].indexOf(t)===-1})};try{Ze(window)}catch(e){try{Ze(self)}catch(e){try{Ze(global)}catch(e){try{Ze(globalThis)}catch(e){try{h.Object=Object}catch(e){}try{h.Function=Function}catch(e){}try{h.Array=Array}catch(e){}try{h.Number=Number}catch(e){}try{h.parseFloat=parseFloat}catch(e){}try{h.parseInt=parseInt}catch(e){}try{h.Infinity=1/0}catch(e){}try{h.NaN=NaN}catch(e){}try{h.undefined=void 0}catch(e){}try{h.Boolean=Boolean}catch(e){}try{h.String=String}catch(e){}try{h.Symbol=Symbol}catch(e){}try{h.Date=Date}catch(e){}try{h.Promise=Promise}catch(e){}try{h.RegExp=RegExp}catch(e){}try{h.Error=Error}catch(e){}try{h.EvalError=EvalError}catch(e){}try{h.RangeError=RangeError}catch(e){}try{h.ReferenceError=ReferenceError}catch(e){}try{h.SyntaxError=SyntaxError}catch(e){}try{h.TypeError=TypeError}catch(e){}try{h.URIError=URIError}catch(e){}try{h.JSON=JSON}catch(e){}try{h.Math=Math}catch(e){}try{h.console=console}catch(e){}try{h.Intl=Intl}catch(e){}try{h.ArrayBuffer=ArrayBuffer}catch(e){}try{h.Uint8Array=Uint8Array}catch(e){}try{h.Int8Array=Int8Array}catch(e){}try{h.Uint16Array=Uint16Array}catch(e){}try{h.Int16Array=Int16Array}catch(e){}try{h.Uint32Array=Uint32Array}catch(e){}try{h.Int32Array=Int32Array}catch(e){}try{h.Float32Array=Float32Array}catch(e){}try{h.Float64Array=Float64Array}catch(e){}try{h.Uint8ClampedArray=Uint8ClampedArray}catch(e){}try{h.DataView=DataView}catch(e){}try{h.Map=Map}catch(e){}try{h.Set=Set}catch(e){}try{h.WeakMap=WeakMap}catch(e){}try{h.WeakSet=WeakSet}catch(e){}try{h.Proxy=Proxy}catch(e){}try{h.Reflect=Reflect}catch(e){}try{h.BigInt=BigInt}catch(e){}try{h.decodeURI=decodeURI}catch(e){}try{h.decodeURIComponent=decodeURIComponent}catch(e){}try{h.encodeURI=encodeURI}catch(e){}try{h.encodeURIComponent=encodeURIComponent}catch(e){}try{h.escape=escape}catch(e){}try{h.unescape=unescape}catch(e){}try{h.eval=eval}catch(e){}try{h.isFinite=isFinite}catch(e){}try{h.isNaN=isNaN}catch(e){}try{h.SharedArrayBuffer=SharedArrayBuffer}catch(e){}try{h.Atomics=Atomics}catch(e){}try{h.WebAssembly=WebAssembly}catch(e){}try{h.clearInterval=clearInterval}catch(e){}try{h.clearTimeout=clearTimeout}catch(e){}try{h.setInterval=setInterval}catch(e){}try{h.setTimeout=setTimeout}catch(e){}try{h.crypto=crypto}catch(e){}try{h.URL=URL}catch(e){}Ye=yt(h)}}}}h.Symbol&&(!h.Symbol.iterator&&(h.Symbol.iterator=R("iterator")),!h.Symbol.asyncIterator&&(h.Symbol.asyncIterator=R("asynciterator")));var Qt=Ce({});for(var e=0;e<Ye.length;e++){var t=Ye[e];try{Qt[t]=h[t]}catch(e){}}var De=R("window");function Pr(){return j(Ce(_define_property({},De,h)),Qt)}function R(e){return e+Math.random().toString(36).substring(2)}function Lr(e){var t;if(typeof Symbol=="function"&&(t=e[Symbol.asyncIterator],!t&&(t=e[Symbol.iterator])),t)return t.call(e);if(typeof e.next=="function")return e;{var r=0;return{next:function next(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}}}}var Tr=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],Xt=[0,11,2,25,2,18,2,1,2,14,3,13,35,122,70,52,268,28,4,48,48,31,14,29,6,37,11,29,3,35,5,7,2,4,43,157,19,35,5,35,5,39,9,51,13,10,2,14,2,6,2,1,2,10,2,14,2,6,2,1,4,51,13,310,10,21,11,7,25,5,2,41,2,8,70,5,3,0,2,43,2,1,4,0,3,22,11,22,10,30,66,18,2,1,11,21,11,25,71,55,7,1,65,0,16,3,2,2,2,28,43,28,4,28,36,7,2,27,28,53,11,21,11,18,14,17,111,72,56,50,14,50,14,35,39,27,10,22,251,41,7,1,17,2,60,28,11,0,9,21,43,17,47,20,28,22,13,52,58,1,3,0,14,44,33,24,27,35,30,0,3,0,9,34,4,0,13,47,15,3,22,0,2,0,36,17,2,24,20,1,64,6,2,0,2,3,2,14,2,9,8,46,39,7,3,1,3,21,2,6,2,1,2,4,4,0,19,0,13,4,31,9,2,0,3,0,2,37,2,0,26,0,2,0,45,52,19,3,21,2,31,47,21,1,2,0,185,46,42,3,37,47,21,0,60,42,14,0,72,26,38,6,186,43,117,63,32,7,3,0,3,7,2,1,2,23,16,0,2,0,95,7,3,38,17,0,2,0,29,0,11,39,8,0,22,0,12,45,20,0,19,72,200,32,32,8,2,36,18,0,50,29,113,6,2,1,2,37,22,0,26,5,2,1,2,31,15,0,328,18,16,0,2,12,2,33,125,0,80,921,103,110,18,195,2637,96,16,1071,18,5,26,3994,6,582,6842,29,1763,568,8,30,18,78,18,29,19,47,17,3,32,20,6,18,433,44,212,63,129,74,6,0,67,12,65,1,2,0,29,6135,9,1237,42,9,8936,3,2,6,2,1,2,290,16,0,30,2,3,0,15,3,9,395,2309,106,6,12,4,8,8,9,5991,84,2,70,2,1,3,0,3,1,3,3,2,11,2,0,2,6,2,64,2,3,3,7,2,6,2,27,2,3,2,4,2,0,4,6,2,339,3,24,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,30,2,24,2,7,1845,30,7,5,262,61,147,44,11,6,17,0,322,29,19,43,485,27,229,29,3,0,496,6,2,3,2,1,2,14,2,196,60,67,8,0,1205,3,2,26,2,1,2,0,3,0,2,9,2,3,2,0,2,0,7,0,5,0,2,0,2,0,2,2,2,1,2,0,3,0,2,0,2,0,2,0,2,0,2,1,2,0,3,3,2,6,2,3,2,3,2,0,2,9,2,16,6,2,2,4,2,16,4421,42719,33,4153,7,221,3,5761,15,7472,16,621,2467,541,1507,4938,6,4191],Vr="\xb7̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Yt="\xaa\xb5\xba\xc0-\xd6\xd8-\xf6\xf8-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ꟑꟑꟓꟕ-ꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",mt={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"},gt="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",Nr={5:gt,"5module":gt+" export import",6:gt+" const class extends export import super"},Rr=/^in(stanceof)?$/,Br=new RegExp("["+Yt+"]"),Or=new RegExp("["+Yt+Vr+"]");function xt(e,t){for(var r=65536,i=0;i<t.length;i+=2){if(r+=t[i],r>e)return!1;if(r+=t[i+1],r>=e)return!0}return!1}function ae(e,t){return e<65?e===36:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Br.test(String.fromCharCode(e)):t===!1?!1:xt(e,Xt)}function _e(e,t){return e<48?e===36:e<58?!0:e<65?!1:e<91?!0:e<97?e===95:e<123?!0:e<=65535?e>=170&&Or.test(String.fromCharCode(e)):t===!1?!1:xt(e,Xt)||xt(e,Tr)}var E=function E(t,r){r===void 0&&(r={}),this.label=t,this.keyword=r.keyword,this.beforeExpr=!!r.beforeExpr,this.startsExpr=!!r.startsExpr,this.isLoop=!!r.isLoop,this.isAssign=!!r.isAssign,this.prefix=!!r.prefix,this.postfix=!!r.postfix,this.binop=r.binop||null,this.updateContext=null};function K(e,t){return new E(e,{beforeExpr:!0,binop:t})}var Q={beforeExpr:!0},U={startsExpr:!0},bt={};function S(e,t){return t===void 0&&(t={}),t.keyword=e,bt[e]=new E(e,t)}var o={num:new E("num",U),regexp:new E("regexp",U),string:new E("string",U),name:new E("name",U),privateId:new E("privateId",U),eof:new E("eof"),bracketL:new E("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new E("]"),braceL:new E("{",{beforeExpr:!0,startsExpr:!0}),braceR:new E("}"),parenL:new E("(",{beforeExpr:!0,startsExpr:!0}),parenR:new E(")"),comma:new E(",",Q),semi:new E(";",Q),colon:new E(":",Q),dot:new E("."),question:new E("?",Q),questionDot:new E("?."),arrow:new E("=>",Q),template:new E("template"),invalidTemplate:new E("invalidTemplate"),ellipsis:new E("...",Q),backQuote:new E("`",U),dollarBraceL:new E("${",{beforeExpr:!0,startsExpr:!0}),eq:new E("=",{beforeExpr:!0,isAssign:!0}),assign:new E("_=",{beforeExpr:!0,isAssign:!0}),incDec:new E("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new E("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:K("||",1),logicalAND:K("&&",2),bitwiseOR:K("|",3),bitwiseXOR:K("^",4),bitwiseAND:K("&",5),equality:K("==/!=/===/!==",6),relational:K("</>/<=/>=",7),bitShift:K("<</>>/>>>",8),plusMin:new E("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:K("%",10),star:K("*",10),slash:K("/",10),starstar:new E("**",{beforeExpr:!0}),coalesce:K("??",1),_break:S("break"),_case:S("case",Q),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",Q),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",Q),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",U),_if:S("if"),_return:S("return",Q),_switch:S("switch"),_throw:S("throw",Q),_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",U),_super:S("super",U),_class:S("class",U),_extends:S("extends",Q),_export:S("export"),_import:S("import",U),_null:S("null",U),_true:S("true",U),_false:S("false",U),_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})},X=/\r\n?|\n|\u2028|\u2029/,Dr=new RegExp(X.source,"g");function Ie(e){return e===10||e===13||e===8232||e===8233}function Zt(e,t,r){r===void 0&&(r=e.length);for(var i=t;i<r;i++){var s=e.charCodeAt(i);if(Ie(s))return i<r-1&&s===13&&e.charCodeAt(i+1)===10?i+2:i+1}return-1}var Jt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Y=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,ei=Object.prototype,Fr=ei.hasOwnProperty,Mr=ei.toString,Ae=Object.hasOwn||function(e,t){return Fr.call(e,t)},ti=Array.isArray||function(e){return Mr.call(e)==="[object Array]"},ii=Object.create(null);function de(e){return ii[e]||(ii[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function ne(e){return e<=65535?String.fromCharCode(e):(e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320))}var jr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Fe=function Fe(t,r){this.line=t,this.column=r};Fe.prototype.offset=function(t){return new Fe(this.line,this.column+t)};var Je=function Je(t,r,i){this.start=r,this.end=i,t.sourceFile!==null&&(this.source=t.sourceFile)};function ri(e,t){for(var r=1,i=0;;){var s=Zt(e,i,t);if(s<0)return new Fe(r,t-i);++r,i=s}}var vt={ecmaVersion:null,sourceType:"script",onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},si=!1;function Ur(e){var t={};for(var r in vt)t[r]=e&&Ae(e,r)?e[r]:vt[r];if(t.ecmaVersion==="latest"?t.ecmaVersion=1e8:t.ecmaVersion==null?(!si&&(typeof console==="undefined"?"undefined":_type_of(console))=="object"&&console.warn&&(si=!0,console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")),t.ecmaVersion=11):t.ecmaVersion>=2015&&(t.ecmaVersion-=2009),t.allowReserved==null&&(t.allowReserved=t.ecmaVersion<5),(!e||e.allowHashBang==null)&&(t.allowHashBang=t.ecmaVersion>=14),ti(t.onToken)){var i=t.onToken;t.onToken=function(s){return i.push(s)}}return ti(t.onComment)&&(t.onComment=$r(t,t.onComment)),t}function $r(e,t){return function(r,i,s,a,n,u){var l={type:r?"Block":"Line",value:i,start:s,end:a};e.locations&&(l.loc=new Je(this,n,u)),e.ranges&&(l.range=[s,a]),t.push(l)}}var Me=1,Pe=2,St=4,ai=8,wt=16,ni=32,et=64,oi=128,be=256,je=512,tt=Me|Pe|be;function kt(e,t){return Pe|(e?St:0)|(t?ai:0)}var it=0,Et=1,oe=2,ui=3,li=4,ci=5,N=function N(t,r,i){this.options=t=Ur(t),this.sourceFile=t.sourceFile,this.keywords=de(Nr[t.ecmaVersion>=6?6:t.sourceType==="module"?"5module":5]);var s="";t.allowReserved!==!0&&(s=mt[t.ecmaVersion>=6?6:t.ecmaVersion===5?5:3],t.sourceType==="module"&&(s+=" await")),this.reservedWords=de(s);var a=(s?s+" ":"")+mt.strict;this.reservedWordsStrict=de(a),this.reservedWordsStrictBind=de(a+" "+mt.strictBind),this.input=String(r),this.containsEsc=!1,i?(this.pos=i,this.lineStart=this.input.lastIndexOf("\n",i-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(X).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=o.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=t.sourceType==="module",this.strict=this.inModule||this.strictDirective(this.pos),this.potentialArrowAt=-1,this.potentialArrowInForAwait=!1,this.yieldPos=this.awaitPos=this.awaitIdentPos=0,this.labels=[],this.undefinedExports=Object.create(null),this.pos===0&&t.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Me),this.regexpState=null,this.privateNameStack=[]},te={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}};N.prototype.parse=function(){var t=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(t)},te.inFunction.get=function(){return(this.currentVarScope().flags&Pe)>0},te.inGenerator.get=function(){return(this.currentVarScope().flags&ai)>0},te.inAsync.get=function(){return(this.currentVarScope().flags&St)>0},te.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je))return!1;if(r&Pe)return(r&St)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},te.allowSuper.get=function(){var e=this.currentThisScope(),t=e.flags;return(t&et)>0||this.options.allowSuperOutsideMethod},te.allowDirectSuper.get=function(){return(this.currentThisScope().flags&oi)>0},te.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},te.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var t=this.scopeStack[e],r=t.flags;if(r&(be|je)||r&Pe&&!(r&wt))return!0}return!1},te.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&be)>0},N.extend=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];for(var i=this,s=0;s<t.length;s++)i=t[s](i);return i},N.parse=function(t,r){return new this(r,t).parse()},N.parseExpressionAt=function(t,r,i){var s=new this(i,t,r);return s.nextToken(),s.parseExpression()},N.tokenizer=function(t,r){return new this(r,t)},Object.defineProperties(N.prototype,te);var F=N.prototype,qr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;F.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){Y.lastIndex=e,e+=Y.exec(this.input)[0].length;var t=qr.exec(this.input.slice(e));if(!t)return!1;if((t[1]||t[2])==="use strict"){Y.lastIndex=e+t[0].length;var r=Y.exec(this.input),i=r.index+r[0].length,s=this.input.charAt(i);return s===";"||s==="}"||X.test(r[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(s)||s==="!"&&this.input.charAt(i+1)==="=")}e+=t[0].length,Y.lastIndex=e,e+=Y.exec(this.input)[0].length,this.input[e]===";"&&e++}},F.eat=function(e){return this.type===e?(this.next(),!0):!1},F.isContextual=function(e){return this.type===o.name&&this.value===e&&!this.containsEsc},F.eatContextual=function(e){return this.isContextual(e)?(this.next(),!0):!1},F.expectContextual=function(e){this.eatContextual(e)||this.unexpected()},F.canInsertSemicolon=function(){return this.type===o.eof||this.type===o.braceR||X.test(this.input.slice(this.lastTokEnd,this.start))},F.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},F.semicolon=function(){!this.eat(o.semi)&&!this.insertSemicolon()&&this.unexpected()},F.afterTrailingComma=function(e,t){if(this.type===e)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),t||this.next(),!0},F.expect=function(e){this.eat(e)||this.unexpected()},F.unexpected=function(e){this.raise(e!==null&&e!==void 0?e:this.start,"Unexpected token")};var rt=function rt(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};F.checkPatternErrors=function(e,t){if(e){e.trailingComma>-1&&this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var r=t?e.parenthesizedAssign:e.parenthesizedBind;r>-1&&this.raiseRecoverable(r,t?"Assigning to rvalue":"Parenthesized pattern")}},F.checkExpressionErrors=function(e,t){if(!e)return!1;var r=e.shorthandAssign,i=e.doubleProto;if(!t)return r>=0||i>=0;r>=0&&this.raise(r,"Shorthand property assignments are valid only in destructuring patterns"),i>=0&&this.raiseRecoverable(i,"Redefinition of __proto__ property")},F.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")},F.isSimpleAssignTarget=function(e){return e.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(e.expression):e.type==="Identifier"||e.type==="MemberExpression"};var m=N.prototype;m.parseTopLevel=function(e){var t=Object.create(null);for(e.body||(e.body=[]);this.type!==o.eof;){var r=this.parseStatement(null,!0,t);e.body.push(r)}if(this.inModule)for(var i=0,s=Object.keys(this.undefinedExports);i<s.length;i+=1){var a=s[i];this.raiseRecoverable(this.undefinedExports[a].start,"Export '"+a+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType,this.finishNode(e,"Program")};var Ct={kind:"loop"},Wr={kind:"switch"};m.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Y.lastIndex=this.pos;var t=Y.exec(this.input),r=this.pos+t[0].length,i=this.input.charCodeAt(r);if(i===91||i===92)return!0;if(e)return!1;if(i===123||i>55295&&i<56320)return!0;if(ae(i,!0)){for(var s=r+1;_e(i=this.input.charCodeAt(s),!0);)++s;if(i===92||i>55295&&i<56320)return!0;var a=this.input.slice(r,s);if(!Rr.test(a))return!0}return!1},m.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Y.lastIndex=this.pos;var e=Y.exec(this.input),t=this.pos+e[0].length,r;return!X.test(this.input.slice(this.pos,t))&&this.input.slice(t,t+8)==="function"&&(t+8===this.input.length||!(_e(r=this.input.charCodeAt(t+8))||r>55295&&r<56320))},m.parseStatement=function(e,t,r){var i=this.type,s=this.startNode(),a;switch(this.isLet(e)&&(i=o._var,a="let"),i){case o._break:case o._continue:return this.parseBreakContinueStatement(s,i.keyword);case o._debugger:return this.parseDebuggerStatement(s);case o._do:return this.parseDoStatement(s);case o._for:return this.parseForStatement(s);case o._function:return e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(s,!1,!e);case o._class:return e&&this.unexpected(),this.parseClass(s,!0);case o._if:return this.parseIfStatement(s);case o._return:return this.parseReturnStatement(s);case o._switch:return this.parseSwitchStatement(s);case o._throw:return this.parseThrowStatement(s);case o._try:return this.parseTryStatement(s);case o._const:case o._var:return a=a||this.value,e&&a!=="var"&&this.unexpected(),this.parseVarStatement(s,a);case o._while:return this.parseWhileStatement(s);case o._with:return this.parseWithStatement(s);case o.braceL:return this.parseBlock(!0,s);case o.semi:return this.parseEmptyStatement(s);case o._export:case o._import:if(this.options.ecmaVersion>10&&i===o._import){Y.lastIndex=this.pos;var n=Y.exec(this.input),u=this.pos+n[0].length,l=this.input.charCodeAt(u);if(l===40||l===46)return this.parseExpressionStatement(s,this.parseExpression())}return this.options.allowImportExportEverywhere||(t||this.raise(this.start,"'import' and 'export' may only appear at the top level"),this.inModule||this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")),i===o._import?this.parseImport(s):this.parseExport(s,r);default:if(this.isAsyncFunction())return e&&this.unexpected(),this.next(),this.parseFunctionStatement(s,!0,!e);var c=this.value,f=this.parseExpression();return i===o.name&&f.type==="Identifier"&&this.eat(o.colon)?this.parseLabeledStatement(s,c,f,e):this.parseExpressionStatement(s,f)}},m.parseBreakContinueStatement=function(e,t){var r=t==="break";this.next(),this.eat(o.semi)||this.insertSemicolon()?e.label=null:this.type!==o.name?this.unexpected():(e.label=this.parseIdent(),this.semicolon());for(var i=0;i<this.labels.length;++i){var s=this.labels[i];if((e.label==null||s.name===e.label.name)&&(s.kind!=null&&(r||s.kind==="loop")||e.label&&r))break}return i===this.labels.length&&this.raise(e.start,"Unsyntactic "+t),this.finishNode(e,r?"BreakStatement":"ContinueStatement")},m.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")},m.parseDoStatement=function(e){return this.next(),this.labels.push(Ct),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(o._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(o.semi):this.semicolon(),this.finishNode(e,"DoWhileStatement")},m.parseForStatement=function(e){this.next();var t=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ct),this.enterScope(0),this.expect(o.parenL),this.type===o.semi)return t>-1&&this.unexpected(t),this.parseFor(e,null);var r=this.isLet();if(this.type===o._var||this.type===o._const||r){var i=this.startNode(),s=r?"let":this.value;return this.next(),this.parseVar(i,!0,s),this.finishNode(i,"VariableDeclaration"),(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&i.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===o._in?t>-1&&this.unexpected(t):e.await=t>-1),this.parseForIn(e,i)):(t>-1&&this.unexpected(t),this.parseFor(e,i))}var a=this.isContextual("let"),n=!1,u=this.containsEsc,l=new rt,c=this.start,f=t>-1?this.parseExprSubscripts(l,"await"):this.parseExpression(!0,l);return this.type===o._in||(n=this.options.ecmaVersion>=6&&this.isContextual("of"))?(t>-1?(this.type===o._in&&this.unexpected(t),e.await=!0):n&&this.options.ecmaVersion>=8&&(f.start===c&&!u&&f.type==="Identifier"&&f.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(e.await=!1)),a&&n&&this.raise(f.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(f,!1,l),this.checkLValPattern(f),this.parseForIn(e,f)):(this.checkExpressionErrors(l,!0),t>-1&&this.unexpected(t),this.parseFor(e,f))},m.parseFunctionStatement=function(e,t,r){return this.next(),this.parseFunction(e,Ue|(r?0:_t),!1,t)},m.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(o._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")},m.parseReturnStatement=function(e){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(o.semi)||this.insertSemicolon()?e.argument=null:(e.argument=this.parseExpression(),this.semicolon()),this.finishNode(e,"ReturnStatement")},m.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(o.braceL),this.labels.push(Wr),this.enterScope(0);for(var t,r=!1;this.type!==o.braceR;)if(this.type===o._case||this.type===o._default){var i=this.type===o._case;t&&this.finishNode(t,"SwitchCase"),e.cases.push(t=this.startNode()),t.consequent=[],this.next(),i?t.test=this.parseExpression():(r&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),r=!0,t.test=null),this.expect(o.colon)}else t||this.unexpected(),t.consequent.push(this.parseStatement(null));return this.exitScope(),t&&this.finishNode(t,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")},m.parseThrowStatement=function(e){return this.next(),X.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var zr=[];m.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),t=e.type==="Identifier";return this.enterScope(t?ni:0),this.checkLValPattern(e,t?li:oe),this.expect(o.parenR),e},m.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===o._catch){var t=this.startNode();this.next(),this.eat(o.parenL)?t.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),t.param=null,this.enterScope(0)),t.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(t,"CatchClause")}return e.finalizer=this.eat(o._finally)?this.parseBlock():null,!e.handler&&!e.finalizer&&this.raise(e.start,"Missing catch or finally clause"),this.finishNode(e,"TryStatement")},m.parseVarStatement=function(e,t,r){return this.next(),this.parseVar(e,!1,t,r),this.semicolon(),this.finishNode(e,"VariableDeclaration")},m.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(Ct),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")},m.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")},m.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")},m.parseLabeledStatement=function(e,t,r,i){for(var s=0,a=this.labels;s<a.length;s+=1){var n=a[s];n.name===t&&this.raise(r.start,"Label '"+t+"' is already declared")}for(var u=this.type.isLoop?"loop":this.type===o._switch?"switch":null,l=this.labels.length-1;l>=0;l--){var c=this.labels[l];if(c.statementStart===e.start)c.statementStart=this.start,c.kind=u;else break}return this.labels.push({name:t,kind:u,statementStart:this.start}),e.body=this.parseStatement(i?i.indexOf("label")===-1?i+"label":i:"label"),this.labels.pop(),e.label=r,this.finishNode(e,"LabeledStatement")},m.parseExpressionStatement=function(e,t){return e.expression=t,this.semicolon(),this.finishNode(e,"ExpressionStatement")},m.parseBlock=function(e,t,r){for(e===void 0&&(e=!0),t===void 0&&(t=this.startNode()),t.body=[],this.expect(o.braceL),e&&this.enterScope(0);this.type!==o.braceR;){var i=this.parseStatement(null);t.body.push(i)}return r&&(this.strict=!1),this.next(),e&&this.exitScope(),this.finishNode(t,"BlockStatement")},m.parseFor=function(e,t){return e.init=t,this.expect(o.semi),e.test=this.type===o.semi?null:this.parseExpression(),this.expect(o.semi),e.update=this.type===o.parenR?null:this.parseExpression(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")},m.parseForIn=function(e,t){var r=this.type===o._in;return this.next(),t.type==="VariableDeclaration"&&t.declarations[0].init!=null&&(!r||this.options.ecmaVersion<8||this.strict||t.kind!=="var"||t.declarations[0].id.type!=="Identifier")&&this.raise(t.start,(r?"for-in":"for-of")+" loop variable declaration may not have an initializer"),e.left=t,e.right=r?this.parseExpression():this.parseMaybeAssign(),this.expect(o.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,r?"ForInStatement":"ForOfStatement")},m.parseVar=function(e,t,r,i){for(e.declarations=[],e.kind=r;;){var s=this.startNode();if(this.parseVarId(s,r),this.eat(o.eq)?s.init=this.parseMaybeAssign(t):!i&&r==="const"&&!(this.type===o._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!i&&s.id.type!=="Identifier"&&!(t&&(this.type===o._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):s.init=null,e.declarations.push(this.finishNode(s,"VariableDeclarator")),!this.eat(o.comma))break}return e},m.parseVarId=function(e,t){e.id=this.parseBindingAtom(),this.checkLValPattern(e.id,t==="var"?Et:oe,!1)};var Ue=1,_t=2,fi=4;m.parseFunction=function(e,t,r,i,s){this.initFunction(e),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!i)&&(this.type===o.star&&t&_t&&this.unexpected(),e.generator=this.eat(o.star)),this.options.ecmaVersion>=8&&(e.async=!!i),t&Ue&&(e.id=t&fi&&this.type!==o.name?null:this.parseIdent(),e.id&&!(t&_t)&&this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Et:oe:ui));var a=this.yieldPos,n=this.awaitPos,u=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(e.async,e.generator)),t&Ue||(e.id=this.type===o.name?this.parseIdent():null),this.parseFunctionParams(e),this.parseFunctionBody(e,r,!1,s),this.yieldPos=a,this.awaitPos=n,this.awaitIdentPos=u,this.finishNode(e,t&Ue?"FunctionDeclaration":"FunctionExpression")},m.parseFunctionParams=function(e){this.expect(o.parenL),e.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},m.parseClass=function(e,t){this.next();var r=this.strict;this.strict=!0,this.parseClassId(e,t),this.parseClassSuper(e);var i=this.enterClassBody(),s=this.startNode(),a=!1;for(s.body=[],this.expect(o.braceL);this.type!==o.braceR;){var n=this.parseClassElement(e.superClass!==null);n&&(s.body.push(n),n.type==="MethodDefinition"&&n.kind==="constructor"?(a&&this.raiseRecoverable(n.start,"Duplicate constructor in the same class"),a=!0):n.key&&n.key.type==="PrivateIdentifier"&&Gr(i,n)&&this.raiseRecoverable(n.key.start,"Identifier '#"+n.key.name+"' has already been declared"))}return this.strict=r,this.next(),e.body=this.finishNode(s,"ClassBody"),this.exitClassBody(),this.finishNode(e,t?"ClassDeclaration":"ClassExpression")},m.parseClassElement=function(e){if(this.eat(o.semi))return null;var t=this.options.ecmaVersion,r=this.startNode(),i="",s=!1,a=!1,n="method",u=!1;if(this.eatContextual("static")){if(t>=13&&this.eat(o.braceL))return this.parseClassStaticBlock(r),r;this.isClassElementNameStart()||this.type===o.star?u=!0:i="static"}if(r.static=u,!i&&t>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon()?a=!0:i="async"),!i&&(t>=9||!a)&&this.eat(o.star)&&(s=!0),!i&&!a&&!s){var l=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?n=l:i=l)}if(i?(r.computed=!1,r.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),r.key.name=i,this.finishNode(r.key,"Identifier")):this.parseClassElementName(r),t<13||this.type===o.parenL||n!=="method"||s||a){var c=!r.static&&st(r,"constructor"),f=c&&e;c&&n!=="method"&&this.raise(r.key.start,"Constructor can't have get/set modifier"),r.kind=c?"constructor":n,this.parseClassMethod(r,s,a,f)}else this.parseClassField(r);return r},m.isClassElementNameStart=function(){return this.type===o.name||this.type===o.privateId||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword},m.parseClassElementName=function(e){this.type===o.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),e.computed=!1,e.key=this.parsePrivateIdent()):this.parsePropertyName(e)},m.parseClassMethod=function(e,t,r,i){var s=e.key;e.kind==="constructor"?(t&&this.raise(s.start,"Constructor can't be a generator"),r&&this.raise(s.start,"Constructor can't be an async method")):e.static&&st(e,"prototype")&&this.raise(s.start,"Classes may not have a static property named prototype");var a=e.value=this.parseMethod(t,r,i);return e.kind==="get"&&a.params.length!==0&&this.raiseRecoverable(a.start,"getter should have no params"),e.kind==="set"&&a.params.length!==1&&this.raiseRecoverable(a.start,"setter should have exactly one param"),e.kind==="set"&&a.params[0].type==="RestElement"&&this.raiseRecoverable(a.params[0].start,"Setter cannot use rest params"),this.finishNode(e,"MethodDefinition")},m.parseClassField=function(e){return st(e,"constructor")?this.raise(e.key.start,"Classes can't have a field named 'constructor'"):e.static&&st(e,"prototype")&&this.raise(e.key.start,"Classes can't have a static field named 'prototype'"),this.eat(o.eq)?(this.enterScope(je|et),e.value=this.parseMaybeAssign(),this.exitScope()):e.value=null,this.semicolon(),this.finishNode(e,"PropertyDefinition")},m.parseClassStaticBlock=function(e){e.body=[];var t=this.labels;for(this.labels=[],this.enterScope(be|et);this.type!==o.braceR;){var r=this.parseStatement(null);e.body.push(r)}return this.next(),this.exitScope(),this.labels=t,this.finishNode(e,"StaticBlock")},m.parseClassId=function(e,t){this.type===o.name?(e.id=this.parseIdent(),t&&this.checkLValSimple(e.id,oe,!1)):(t===!0&&this.unexpected(),e.id=null)},m.parseClassSuper=function(e){e.superClass=this.eat(o._extends)?this.parseExprSubscripts(null,!1):null},m.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared},m.exitClassBody=function(){var e=this.privateNameStack.pop(),t=e.declared,r=e.used;if(this.options.checkPrivateFields)for(var i=this.privateNameStack.length,s=i===0?null:this.privateNameStack[i-1],a=0;a<r.length;++a){var n=r[a];Ae(t,n.name)||(s?s.used.push(n):this.raiseRecoverable(n.start,"Private field '#"+n.name+"' must be declared in an enclosing class"))}};function Gr(e,t){var r=t.key.name,i=e[r],s="true";return t.type==="MethodDefinition"&&(t.kind==="get"||t.kind==="set")&&(s=(t.static?"s":"i")+t.kind),i==="iget"&&s==="iset"||i==="iset"&&s==="iget"||i==="sget"&&s==="sset"||i==="sset"&&s==="sget"?(e[r]="true",!1):i?!0:(e[r]=s,!1)}function st(e,t){var r=e.computed,i=e.key;return!r&&(i.type==="Identifier"&&i.name===t||i.type==="Literal"&&i.value===t)}m.parseExportAllDeclaration=function(e,t){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(e.exported=this.parseModuleExportName(),this.checkExport(t,e.exported,this.lastTokStart)):e.exported=null),this.expectContextual("from"),this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ExportAllDeclaration")},m.parseExport=function(e,t){if(this.next(),this.eat(o.star))return this.parseExportAllDeclaration(e,t);if(this.eat(o._default))return this.checkExport(t,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration"?this.checkVariableExport(t,e.declaration.declarations):this.checkExport(t,e.declaration.id,e.declaration.id.start),e.specifiers=[],e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[]);else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(t),this.eatContextual("from"))this.type!==o.string&&this.unexpected(),e.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause());else{for(var r=0,i=e.specifiers;r<i.length;r+=1){var s=i[r];this.checkUnreserved(s.local),this.checkLocalExport(s.local),s.local.type==="Literal"&&this.raise(s.local.start,"A string literal cannot be used as an exported binding without `from`.")}e.source=null,this.options.ecmaVersion>=16&&(e.attributes=[])}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")},m.parseExportDeclaration=function(e){return this.parseStatement(null)},m.parseExportDefaultDeclaration=function(){var e;if(this.type===o._function||(e=this.isAsyncFunction())){var t=this.startNode();return this.next(),e&&this.next(),this.parseFunction(t,Ue|fi,!1,e)}else if(this.type===o._class){var r=this.startNode();return this.parseClass(r,"nullableID")}else{var i=this.parseMaybeAssign();return this.semicolon(),i}},m.checkExport=function(e,t,r){e&&(typeof t!="string"&&(t=t.type==="Identifier"?t.name:t.value),Ae(e,t)&&this.raiseRecoverable(r,"Duplicate export '"+t+"'"),e[t]=!0)},m.checkPatternExport=function(e,t){var r=t.type;if(r==="Identifier")this.checkExport(e,t,t.start);else if(r==="ObjectPattern")for(var i=0,s=t.properties;i<s.length;i+=1){var a=s[i];this.checkPatternExport(e,a)}else if(r==="ArrayPattern")for(var n=0,u=t.elements;n<u.length;n+=1){var l=u[n];l&&this.checkPatternExport(e,l)}else r==="Property"?this.checkPatternExport(e,t.value):r==="AssignmentPattern"?this.checkPatternExport(e,t.left):r==="RestElement"&&this.checkPatternExport(e,t.argument)},m.checkVariableExport=function(e,t){if(e)for(var r=0,i=t;r<i.length;r+=1){var s=i[r];this.checkPatternExport(e,s.id)}},m.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},m.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")},m.parseExportSpecifiers=function(e){var t=[],r=!0;for(this.expect(o.braceL);!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;t.push(this.parseExportSpecifier(e))}return t},m.parseImport=function(e){return this.next(),this.type===o.string?(e.specifiers=zr,e.source=this.parseExprAtom()):(e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===o.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(e.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(e,"ImportDeclaration")},m.parseImportSpecifier=function(){var e=this.startNode();return e.imported=this.parseModuleExportName(),this.eatContextual("as")?e.local=this.parseIdent():(this.checkUnreserved(e.imported),e.local=e.imported),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportSpecifier")},m.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportDefaultSpecifier")},m.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,oe),this.finishNode(e,"ImportNamespaceSpecifier")},m.parseImportSpecifiers=function(){var e=[],t=!0;if(this.type===o.name&&(e.push(this.parseImportDefaultSpecifier()),!this.eat(o.comma)))return e;if(this.type===o.star)return e.push(this.parseImportNamespaceSpecifier()),e;for(this.expect(o.braceL);!this.eat(o.braceR);){if(t)t=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;e.push(this.parseImportSpecifier())}return e},m.parseWithClause=function(){var e=[];if(!this.eat(o._with))return e;this.expect(o.braceL);for(var t={},r=!0;!this.eat(o.braceR);){if(r)r=!1;else if(this.expect(o.comma),this.afterTrailingComma(o.braceR))break;var i=this.parseImportAttribute(),s=i.key.type==="Identifier"?i.key.name:i.key.value;Ae(t,s)&&this.raiseRecoverable(i.key.start,"Duplicate attribute key '"+s+"'"),t[s]=!0,e.push(i)}return e},m.parseImportAttribute=function(){var e=this.startNode();return e.key=this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(o.colon),this.type!==o.string&&this.unexpected(),e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")},m.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===o.string){var e=this.parseLiteral(this.value);return jr.test(e.value)&&this.raise(e.start,"An export name cannot include a lone surrogate."),e}return this.parseIdent(!0)},m.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)},m.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value=="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var Z=N.prototype;Z.toAssignable=function(e,t,r){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":this.inAsync&&e.name==="await"&&this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":e.type="ObjectPattern",r&&this.checkPatternErrors(r,!0);for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.toAssignable(a,t),a.type==="RestElement"&&(a.argument.type==="ArrayPattern"||a.argument.type==="ObjectPattern")&&this.raise(a.argument.start,"Unexpected token")}break;case"Property":e.kind!=="init"&&this.raise(e.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(e.value,t);break;case"ArrayExpression":e.type="ArrayPattern",r&&this.checkPatternErrors(r,!0),this.toAssignableList(e.elements,t);break;case"SpreadElement":e.type="RestElement",this.toAssignable(e.argument,t),e.argument.type==="AssignmentPattern"&&this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":e.operator!=="="&&this.raise(e.left.end,"Only '=' operator can be used for specifying default value."),e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,t);break;case"ParenthesizedExpression":this.toAssignable(e.expression,t,r);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!t)break;default:this.raise(e.start,"Assigning to rvalue")}else r&&this.checkPatternErrors(r,!0);return e},Z.toAssignableList=function(e,t){for(var r=e.length,i=0;i<r;i++){var s=e[i];s&&this.toAssignable(s,t)}if(r){var a=e[r-1];this.options.ecmaVersion===6&&t&&a&&a.type==="RestElement"&&a.argument.type!=="Identifier"&&this.unexpected(a.argument.start)}return e},Z.parseSpread=function(e){var t=this.startNode();return this.next(),t.argument=this.parseMaybeAssign(!1,e),this.finishNode(t,"SpreadElement")},Z.parseRestBinding=function(){var e=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==o.name&&this.unexpected(),e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")},Z.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case o.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(o.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case o.braceL:return this.parseObj(!0)}return this.parseIdent()},Z.parseBindingList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);)if(a?a=!1:this.expect(o.comma),t&&this.type===o.comma)s.push(null);else{if(r&&this.afterTrailingComma(e))break;if(this.type===o.ellipsis){var n=this.parseRestBinding();this.parseBindingListItem(n),s.push(n),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(e);break}else s.push(this.parseAssignableListItem(i))}return s},Z.parseAssignableListItem=function(e){var t=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(t),t},Z.parseBindingListItem=function(e){return e},Z.parseMaybeDefault=function(e,t,r){if(r=r||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(o.eq))return r;var i=this.startNodeAt(e,t);return i.left=r,i.right=this.parseMaybeAssign(),this.finishNode(i,"AssignmentPattern")},Z.checkLValSimple=function(e,t,r){t===void 0&&(t=it);var i=t!==it;switch(e.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(e.name)&&this.raiseRecoverable(e.start,(i?"Binding ":"Assigning to ")+e.name+" in strict mode"),i&&(t===oe&&e.name==="let"&&this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name"),r&&(Ae(r,e.name)&&this.raiseRecoverable(e.start,"Argument name clash"),r[e.name]=!0),t!==ci&&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")}},Z.checkLValPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"ObjectPattern":for(var i=0,s=e.properties;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,t,r)}break;case"ArrayPattern":for(var n=0,u=e.elements;n<u.length;n+=1){var l=u[n];l&&this.checkLValInnerPattern(l,t,r)}break;default:this.checkLValSimple(e,t,r)}},Z.checkLValInnerPattern=function(e,t,r){switch(t===void 0&&(t=it),e.type){case"Property":this.checkLValInnerPattern(e.value,t,r);break;case"AssignmentPattern":this.checkLValPattern(e.left,t,r);break;case"RestElement":this.checkLValPattern(e.argument,t,r);break;default:this.checkLValPattern(e,t,r)}};var ee=function ee(t,r,i,s,a){this.token=t,this.isExpr=!!r,this.preserveSpace=!!i,this.override=s,this.generator=!!a},I={b_stat:new ee("{",!1),b_expr:new ee("{",!0),b_tmpl:new ee("${",!1),p_stat:new ee("(",!1),p_expr:new ee("(",!0),q_tmpl:new ee("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new ee("function",!1),f_expr:new ee("function",!0),f_expr_gen:new ee("function",!0,!1,null,!0),f_gen:new ee("function",!1,!1,null,!0)},Le=N.prototype;Le.initialContext=function(){return[I.b_stat]},Le.curContext=function(){return this.context[this.context.length-1]},Le.braceIsBlock=function(e){var t=this.curContext();return t===I.f_expr||t===I.f_stat?!0:e===o.colon&&(t===I.b_stat||t===I.b_expr)?!t.isExpr:e===o._return||e===o.name&&this.exprAllowed?X.test(this.input.slice(this.lastTokEnd,this.start)):e===o._else||e===o.semi||e===o.eof||e===o.parenR||e===o.arrow?!0:e===o.braceL?t===I.b_stat:e===o._var||e===o._const||e===o.name?!1:!this.exprAllowed},Le.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var t=this.context[e];if(t.token==="function")return t.generator}return!1},Le.updateContext=function(e){var t,r=this.type;r.keyword&&e===o.dot?this.exprAllowed=!1:(t=r.updateContext)?t.call(this,e):this.exprAllowed=r.beforeExpr},Le.overrideContext=function(e){this.curContext()!==e&&(this.context[this.context.length-1]=e)},o.parenR.updateContext=o.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();e===I.b_stat&&this.curContext().token==="function"&&(e=this.context.pop()),this.exprAllowed=!e.isExpr},o.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?I.b_stat:I.b_expr),this.exprAllowed=!0},o.dollarBraceL.updateContext=function(){this.context.push(I.b_tmpl),this.exprAllowed=!0},o.parenL.updateContext=function(e){var t=e===o._if||e===o._for||e===o._with||e===o._while;this.context.push(t?I.p_stat:I.p_expr),this.exprAllowed=!0},o.incDec.updateContext=function(){},o._function.updateContext=o._class.updateContext=function(e){e.beforeExpr&&e!==o._else&&!(e===o.semi&&this.curContext()!==I.p_stat)&&!(e===o._return&&X.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===o.colon||e===o.braceL)&&this.curContext()===I.b_stat)?this.context.push(I.f_expr):this.context.push(I.f_stat),this.exprAllowed=!1},o.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},o.backQuote.updateContext=function(){this.curContext()===I.q_tmpl?this.context.pop():this.context.push(I.q_tmpl),this.exprAllowed=!1},o.star.updateContext=function(e){if(e===o._function){var t=this.context.length-1;this.context[t]===I.f_expr?this.context[t]=I.f_expr_gen:this.context[t]=I.f_gen}this.exprAllowed=!0},o.name.updateContext=function(e){var t=!1;this.options.ecmaVersion>=6&&e!==o.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(t=!0),this.exprAllowed=t};var x=N.prototype;x.checkPropClash=function(e,t,r){if(!(this.options.ecmaVersion>=9&&e.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))){var i=e.key,s;switch(i.type){case"Identifier":s=i.name;break;case"Literal":s=String(i.value);break;default:return}var a=e.kind;if(this.options.ecmaVersion>=6){s==="__proto__"&&a==="init"&&(t.proto&&(r?r.doubleProto<0&&(r.doubleProto=i.start):this.raiseRecoverable(i.start,"Redefinition of __proto__ property")),t.proto=!0);return}s="$"+s;var n=t[s];if(n){var u;a==="init"?u=this.strict&&n.init||n.get||n.set:u=n.init||n[a],u&&this.raiseRecoverable(i.start,"Redefinition of property")}else n=t[s]={init:!1,get:!1,set:!1};n[a]=!0}},x.parseExpression=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeAssign(e,t);if(this.type===o.comma){var a=this.startNodeAt(r,i);for(a.expressions=[s];this.eat(o.comma);)a.expressions.push(this.parseMaybeAssign(e,t));return this.finishNode(a,"SequenceExpression")}return s},x.parseMaybeAssign=function(e,t,r){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(e);this.exprAllowed=!1}var i=!1,s=-1,a=-1,n=-1;t?(s=t.parenthesizedAssign,a=t.trailingComma,n=t.doubleProto,t.parenthesizedAssign=t.trailingComma=-1):(t=new rt,i=!0);var u=this.start,l=this.startLoc;(this.type===o.parenL||this.type===o.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await");var c=this.parseMaybeConditional(e,t);if(r&&(c=r.call(this,c,u,l)),this.type.isAssign){var f=this.startNodeAt(u,l);return f.operator=this.value,this.type===o.eq&&(c=this.toAssignable(c,!1,t)),i||(t.parenthesizedAssign=t.trailingComma=t.doubleProto=-1),t.shorthandAssign>=c.start&&(t.shorthandAssign=-1),this.type===o.eq?this.checkLValPattern(c):this.checkLValSimple(c),f.left=c,this.next(),f.right=this.parseMaybeAssign(e),n>-1&&(t.doubleProto=n),this.finishNode(f,"AssignmentExpression")}else i&&this.checkExpressionErrors(t,!0);return s>-1&&(t.parenthesizedAssign=s),a>-1&&(t.trailingComma=a),c},x.parseMaybeConditional=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprOps(e,t);if(this.checkExpressionErrors(t))return s;if(this.eat(o.question)){var a=this.startNodeAt(r,i);return a.test=s,a.consequent=this.parseMaybeAssign(),this.expect(o.colon),a.alternate=this.parseMaybeAssign(e),this.finishNode(a,"ConditionalExpression")}return s},x.parseExprOps=function(e,t){var r=this.start,i=this.startLoc,s=this.parseMaybeUnary(t,!1,!1,e);return this.checkExpressionErrors(t)||s.start===r&&s.type==="ArrowFunctionExpression"?s:this.parseExprOp(s,r,i,-1,e)},x.parseExprOp=function(e,t,r,i,s){var a=this.type.binop;if(a!=null&&(!s||this.type!==o._in)&&a>i){var n=this.type===o.logicalOR||this.type===o.logicalAND,u=this.type===o.coalesce;u&&(a=o.logicalAND.binop);var l=this.value;this.next();var c=this.start,f=this.startLoc,g=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,s),c,f,a,s),P=this.buildBinary(t,r,e,g,l,n||u);return(n&&this.type===o.coalesce||u&&(this.type===o.logicalOR||this.type===o.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(P,t,r,i,s)}return e},x.buildBinary=function(e,t,r,i,s,a){i.type==="PrivateIdentifier"&&this.raise(i.start,"Private identifier can only be left side of binary expression");var n=this.startNodeAt(e,t);return n.left=r,n.operator=s,n.right=i,this.finishNode(n,a?"LogicalExpression":"BinaryExpression")},x.parseMaybeUnary=function(e,t,r,i){var s=this.start,a=this.startLoc,n;if(this.isContextual("await")&&this.canAwait)n=this.parseAwait(i),t=!0;else if(this.type.prefix){var u=this.startNode(),l=this.type===o.incDec;u.operator=this.value,u.prefix=!0,this.next(),u.argument=this.parseMaybeUnary(null,!0,l,i),this.checkExpressionErrors(e,!0),l?this.checkLValSimple(u.argument):this.strict&&u.operator==="delete"&&hi(u.argument)?this.raiseRecoverable(u.start,"Deleting local variable in strict mode"):u.operator==="delete"&&It(u.argument)?this.raiseRecoverable(u.start,"Private fields can not be deleted"):t=!0,n=this.finishNode(u,l?"UpdateExpression":"UnaryExpression")}else if(!t&&this.type===o.privateId)(i||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),n=this.parsePrivateIdent(),this.type!==o._in&&this.unexpected();else{if(n=this.parseExprSubscripts(e,i),this.checkExpressionErrors(e))return n;for(;this.type.postfix&&!this.canInsertSemicolon();){var c=this.startNodeAt(s,a);c.operator=this.value,c.prefix=!1,c.argument=n,this.checkLValSimple(n),this.next(),n=this.finishNode(c,"UpdateExpression")}}if(!r&&this.eat(o.starstar))if(t)this.unexpected(this.lastTokStart);else return this.buildBinary(s,a,n,this.parseMaybeUnary(null,!1,!1,i),"**",!1);else return n};function hi(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&hi(e.expression)}function It(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&It(e.expression)||e.type==="ParenthesizedExpression"&&It(e.expression)}x.parseExprSubscripts=function(e,t){var r=this.start,i=this.startLoc,s=this.parseExprAtom(e,t);if(s.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return s;var a=this.parseSubscripts(s,r,i,!1,t);return e&&a.type==="MemberExpression"&&(e.parenthesizedAssign>=a.start&&(e.parenthesizedAssign=-1),e.parenthesizedBind>=a.start&&(e.parenthesizedBind=-1),e.trailingComma>=a.start&&(e.trailingComma=-1)),a},x.parseSubscripts=function(e,t,r,i,s){for(var a=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,n=!1;;){var u=this.parseSubscript(e,t,r,i,a,n,s);if(u.optional&&(n=!0),u===e||u.type==="ArrowFunctionExpression"){if(n){var l=this.startNodeAt(t,r);l.expression=u,u=this.finishNode(l,"ChainExpression")}return u}e=u}},x.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(o.arrow)},x.parseSubscriptAsyncArrow=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!0,i)},x.parseSubscript=function(e,t,r,i,s,a,n){var u=this.options.ecmaVersion>=11,l=u&&this.eat(o.questionDot);i&&l&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var c=this.eat(o.bracketL);if(c||l&&this.type!==o.parenL&&this.type!==o.backQuote||this.eat(o.dot)){var f=this.startNodeAt(t,r);f.object=e,c?(f.property=this.parseExpression(),this.expect(o.bracketR)):this.type===o.privateId&&e.type!=="Super"?f.property=this.parsePrivateIdent():f.property=this.parseIdent(this.options.allowReserved!=="never"),f.computed=!!c,u&&(f.optional=l),e=this.finishNode(f,"MemberExpression")}else if(!i&&this.eat(o.parenL)){var g=new rt,P=this.yieldPos,O=this.awaitPos,D=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var k=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1,g);if(s&&!l&&this.shouldParseAsyncArrow())return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=P,this.awaitPos=O,this.awaitIdentPos=D,this.parseSubscriptAsyncArrow(t,r,k,n);this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,this.awaitIdentPos=D||this.awaitIdentPos;var V=this.startNodeAt(t,r);V.callee=e,V.arguments=k,u&&(V.optional=l),e=this.finishNode(V,"CallExpression")}else if(this.type===o.backQuote){(l||a)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var L=this.startNodeAt(t,r);L.tag=e,L.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(L,"TaggedTemplateExpression")}return e},x.parseExprAtom=function(e,t,r){this.type===o.slash&&this.readRegexp();var i,s=this.potentialArrowAt===this.start;switch(this.type){case o._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),i=this.startNode(),this.next(),this.type===o.parenL&&!this.allowDirectSuper&&this.raise(i.start,"super() call outside constructor of a subclass"),this.type!==o.dot&&this.type!==o.bracketL&&this.type!==o.parenL&&this.unexpected(),this.finishNode(i,"Super");case o._this:return i=this.startNode(),this.next(),this.finishNode(i,"ThisExpression");case o.name:var a=this.start,n=this.startLoc,u=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!u&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(o._function))return this.overrideContext(I.f_expr),this.parseFunction(this.startNodeAt(a,n),0,!1,!0,t);if(s&&!this.canInsertSemicolon()){if(this.eat(o.arrow))return this.parseArrowExpression(this.startNodeAt(a,n),[l],!1,t);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===o.name&&!u&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return l=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(o.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(a,n),[l],!0,t)}return l;case o.regexp:var c=this.value;return i=this.parseLiteral(c.value),i.regex={pattern:c.pattern,flags:c.flags},i;case o.num:case o.string:return this.parseLiteral(this.value);case o._null:case o._true:case o._false:return i=this.startNode(),i.value=this.type===o._null?null:this.type===o._true,i.raw=this.type.keyword,this.next(),this.finishNode(i,"Literal");case o.parenL:var f=this.start,g=this.parseParenAndDistinguishExpression(s,t);return e&&(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(g)&&(e.parenthesizedAssign=f),e.parenthesizedBind<0&&(e.parenthesizedBind=f)),g;case o.bracketL:return i=this.startNode(),this.next(),i.elements=this.parseExprList(o.bracketR,!0,!0,e),this.finishNode(i,"ArrayExpression");case o.braceL:return this.overrideContext(I.b_expr),this.parseObj(!1,e);case o._function:return i=this.startNode(),this.next(),this.parseFunction(i,0);case o._class:return this.parseClass(this.startNode(),!1);case o._new:return this.parseNew();case o.backQuote:return this.parseTemplate();case o._import:return this.options.ecmaVersion>=11?this.parseExprImport(r):this.unexpected();default:return this.parseExprAtomDefault()}},x.parseExprAtomDefault=function(){this.unexpected()},x.parseExprImport=function(e){var t=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===o.parenL&&!e)return this.parseDynamicImport(t);if(this.type===o.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);return r.name="import",t.meta=this.finishNode(r,"Identifier"),this.parseImportMeta(t)}else this.unexpected()},x.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(o.parenR)?e.options=null:(this.expect(o.comma),this.afterTrailingComma(o.parenR)?e.options=null:(e.options=this.parseMaybeAssign(),this.eat(o.parenR)||(this.expect(o.comma),this.afterTrailingComma(o.parenR)||this.unexpected())));else if(!this.eat(o.parenR)){var t=this.start;this.eat(o.comma)&&this.eat(o.parenR)?this.raiseRecoverable(t,"Trailing comma is not allowed in import()"):this.unexpected(t)}return this.finishNode(e,"ImportExpression")},x.parseImportMeta=function(e){this.next();var t=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="meta"&&this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'"),t&&this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module"),this.finishNode(e,"MetaProperty")},x.parseLiteral=function(e){var t=this.startNode();return t.value=e,t.raw=this.input.slice(this.start,this.end),t.raw.charCodeAt(t.raw.length-1)===110&&(t.bigint=t.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(t,"Literal")},x.parseParenExpression=function(){this.expect(o.parenL);var e=this.parseExpression();return this.expect(o.parenR),e},x.shouldParseArrow=function(e){return!this.canInsertSemicolon()},x.parseParenAndDistinguishExpression=function(e,t){var r=this.start,i=this.startLoc,s,a=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var n=this.start,u=this.startLoc,l=[],c=!0,f=!1,g=new rt,P=this.yieldPos,O=this.awaitPos,D;for(this.yieldPos=0,this.awaitPos=0;this.type!==o.parenR;)if(c?c=!1:this.expect(o.comma),a&&this.afterTrailingComma(o.parenR,!0)){f=!0;break}else if(this.type===o.ellipsis){D=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,g,this.parseParenItem));var k=this.lastTokEnd,V=this.lastTokEndLoc;if(this.expect(o.parenR),e&&this.shouldParseArrow(l)&&this.eat(o.arrow))return this.checkPatternErrors(g,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=P,this.awaitPos=O,this.parseParenArrowList(r,i,l,t);(!l.length||f)&&this.unexpected(this.lastTokStart),D&&this.unexpected(D),this.checkExpressionErrors(g,!0),this.yieldPos=P||this.yieldPos,this.awaitPos=O||this.awaitPos,l.length>1?(s=this.startNodeAt(n,u),s.expressions=l,this.finishNodeAt(s,"SequenceExpression",k,V)):s=l[0]}else s=this.parseParenExpression();if(this.options.preserveParens){var L=this.startNodeAt(r,i);return L.expression=s,this.finishNode(L,"ParenthesizedExpression")}else return s},x.parseParenItem=function(e){return e},x.parseParenArrowList=function(e,t,r,i){return this.parseArrowExpression(this.startNodeAt(e,t),r,!1,i)};var Hr=[];x.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===o.dot){var t=this.startNodeAt(e.start,e.loc&&e.loc.start);t.name="new",e.meta=this.finishNode(t,"Identifier"),this.next();var r=this.containsEsc;return e.property=this.parseIdent(!0),e.property.name!=="target"&&this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'"),r&&this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block"),this.finishNode(e,"MetaProperty")}var i=this.start,s=this.startLoc;return e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),i,s,!0,!1),this.eat(o.parenL)?e.arguments=this.parseExprList(o.parenR,this.options.ecmaVersion>=8,!1):e.arguments=Hr,this.finishNode(e,"NewExpression")},x.parseTemplateElement=function(e){var t=e.isTagged,r=this.startNode();return this.type===o.invalidTemplate?(t||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),r.value={raw:this.value.replace(/\r\n?/g,"\n"),cooked:null}):r.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,"\n"),cooked:this.value},this.next(),r.tail=this.type===o.backQuote,this.finishNode(r,"TemplateElement")},x.parseTemplate=function(e){e===void 0&&(e={});var t=e.isTagged;t===void 0&&(t=!1);var r=this.startNode();this.next(),r.expressions=[];var i=this.parseTemplateElement({isTagged:t});for(r.quasis=[i];!i.tail;)this.type===o.eof&&this.raise(this.pos,"Unterminated template literal"),this.expect(o.dollarBraceL),r.expressions.push(this.parseExpression()),this.expect(o.braceR),r.quasis.push(i=this.parseTemplateElement({isTagged:t}));return this.next(),this.finishNode(r,"TemplateLiteral")},x.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===o.name||this.type===o.num||this.type===o.string||this.type===o.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===o.star)&&!X.test(this.input.slice(this.lastTokEnd,this.start))},x.parseObj=function(e,t){var r=this.startNode(),i=!0,s={};for(r.properties=[],this.next();!this.eat(o.braceR);){if(i)i=!1;else if(this.expect(o.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(o.braceR))break;var a=this.parseProperty(e,t);e||this.checkPropClash(a,s,t),r.properties.push(a)}return this.finishNode(r,e?"ObjectPattern":"ObjectExpression")},x.parseProperty=function(e,t){var r=this.startNode(),i,s,a,n;if(this.options.ecmaVersion>=9&&this.eat(o.ellipsis))return e?(r.argument=this.parseIdent(!1),this.type===o.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.finishNode(r,"RestElement")):(r.argument=this.parseMaybeAssign(!1,t),this.type===o.comma&&t&&t.trailingComma<0&&(t.trailingComma=this.start),this.finishNode(r,"SpreadElement"));this.options.ecmaVersion>=6&&(r.method=!1,r.shorthand=!1,(e||t)&&(a=this.start,n=this.startLoc),e||(i=this.eat(o.star)));var u=this.containsEsc;return this.parsePropertyName(r),!e&&!u&&this.options.ecmaVersion>=8&&!i&&this.isAsyncProp(r)?(s=!0,i=this.options.ecmaVersion>=9&&this.eat(o.star),this.parsePropertyName(r)):s=!1,this.parsePropertyValue(r,e,i,s,a,n,t,u),this.finishNode(r,"Property")},x.parseGetterSetter=function(e){var t=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=t;var r=e.kind==="get"?0:1;if(e.value.params.length!==r){var i=e.value.start;e.kind==="get"?this.raiseRecoverable(i,"getter should have no params"):this.raiseRecoverable(i,"setter should have exactly one param")}else e.kind==="set"&&e.value.params[0].type==="RestElement"&&this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")},x.parsePropertyValue=function(e,t,r,i,s,a,n,u){(r||i)&&this.type===o.colon&&this.unexpected(),this.eat(o.colon)?(e.value=t?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,n),e.kind="init"):this.options.ecmaVersion>=6&&this.type===o.parenL?(t&&this.unexpected(),e.method=!0,e.value=this.parseMethod(r,i),e.kind="init"):!t&&!u&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&this.type!==o.comma&&this.type!==o.braceR&&this.type!==o.eq?((r||i)&&this.unexpected(),this.parseGetterSetter(e)):this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"?((r||i)&&this.unexpected(),this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=s),t?e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key)):this.type===o.eq&&n?(n.shorthandAssign<0&&(n.shorthandAssign=this.start),e.value=this.parseMaybeDefault(s,a,this.copyNode(e.key))):e.value=this.copyNode(e.key),e.kind="init",e.shorthand=!0):this.unexpected()},x.parsePropertyName=function(e){if(this.options.ecmaVersion>=6){if(this.eat(o.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(o.bracketR),e.key;e.computed=!1}return e.key=this.type===o.num||this.type===o.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")},x.initFunction=function(e){e.id=null,this.options.ecmaVersion>=6&&(e.generator=e.expression=!1),this.options.ecmaVersion>=8&&(e.async=!1)},x.parseMethod=function(e,t,r){var i=this.startNode(),s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.initFunction(i),this.options.ecmaVersion>=6&&(i.generator=e),this.options.ecmaVersion>=8&&(i.async=!!t),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(t,i.generator)|et|(r?oi:0)),this.expect(o.parenL),i.params=this.parseBindingList(o.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(i,!1,!0,!1),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(i,"FunctionExpression")},x.parseArrowExpression=function(e,t,r,i){var s=this.yieldPos,a=this.awaitPos,n=this.awaitIdentPos;return this.enterScope(kt(r,!1)|wt),this.initFunction(e),this.options.ecmaVersion>=8&&(e.async=!!r),this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(t,!0),this.parseFunctionBody(e,!0,!1,i),this.yieldPos=s,this.awaitPos=a,this.awaitIdentPos=n,this.finishNode(e,"ArrowFunctionExpression")},x.parseFunctionBody=function(e,t,r,i){var s=t&&this.type!==o.braceL,a=this.strict,n=!1;if(s)e.body=this.parseMaybeAssign(i),e.expression=!0,this.checkParams(e,!1);else{var u=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);(!a||u)&&(n=this.strictDirective(this.end),n&&u&&this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list"));var l=this.labels;this.labels=[],n&&(this.strict=!0),this.checkParams(e,!a&&!n&&!t&&!r&&this.isSimpleParamList(e.params)),this.strict&&e.id&&this.checkLValSimple(e.id,ci),e.body=this.parseBlock(!1,void 0,n&&!a),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=l}this.exitScope()},x.isSimpleParamList=function(e){for(var t=0,r=e;t<r.length;t+=1){var i=r[t];if(i.type!=="Identifier")return!1}return!0},x.checkParams=function(e,t){for(var r=Object.create(null),i=0,s=e.params;i<s.length;i+=1){var a=s[i];this.checkLValInnerPattern(a,Et,t?null:r)}},x.parseExprList=function(e,t,r,i){for(var s=[],a=!0;!this.eat(e);){if(a)a=!1;else if(this.expect(o.comma),t&&this.afterTrailingComma(e))break;var n=void 0;r&&this.type===o.comma?n=null:this.type===o.ellipsis?(n=this.parseSpread(i),i&&this.type===o.comma&&i.trailingComma<0&&(i.trailingComma=this.start)):n=this.parseMaybeAssign(!1,i),s.push(n)}return s},x.checkUnreserved=function(e){var t=e.start,r=e.end,i=e.name;if(this.inGenerator&&i==="yield"&&this.raiseRecoverable(t,"Cannot use 'yield' as identifier inside a generator"),this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use 'await' as identifier inside an async function"),!(this.currentThisScope().flags&tt)&&i==="arguments"&&this.raiseRecoverable(t,"Cannot use 'arguments' in class field initializer"),this.inClassStaticBlock&&(i==="arguments"||i==="await")&&this.raise(t,"Cannot use "+i+" in class static initialization block"),this.keywords.test(i)&&this.raise(t,"Unexpected keyword '"+i+"'"),!(this.options.ecmaVersion<6&&this.input.slice(t,r).indexOf("\\")!==-1)){var s=this.strict?this.reservedWordsStrict:this.reservedWords;s.test(i)&&(!this.inAsync&&i==="await"&&this.raiseRecoverable(t,"Cannot use keyword 'await' outside an async function"),this.raiseRecoverable(t,"The keyword '"+i+"' is reserved"))}},x.parseIdent=function(e){var t=this.parseIdentNode();return this.next(!!e),this.finishNode(t,"Identifier"),e||(this.checkUnreserved(t),t.name==="await"&&!this.awaitIdentPos&&(this.awaitIdentPos=t.start)),t},x.parseIdentNode=function(){var e=this.startNode();return this.type===o.name?e.name=this.value:this.type.keyword?(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46)&&this.context.pop(),this.type=o.name):this.unexpected(),e},x.parsePrivateIdent=function(){var e=this.startNode();return this.type===o.privateId?e.name=this.value:this.unexpected(),this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields&&(this.privateNameStack.length===0?this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class"):this.privateNameStack[this.privateNameStack.length-1].used.push(e)),e},x.parseYield=function(e){this.yieldPos||(this.yieldPos=this.start);var t=this.startNode();return this.next(),this.type===o.semi||this.canInsertSemicolon()||this.type!==o.star&&!this.type.startsExpr?(t.delegate=!1,t.argument=null):(t.delegate=this.eat(o.star),t.argument=this.parseMaybeAssign(e)),this.finishNode(t,"YieldExpression")},x.parseAwait=function(e){this.awaitPos||(this.awaitPos=this.start);var t=this.startNode();return this.next(),t.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(t,"AwaitExpression")};var at=N.prototype;at.raise=function(e,t){var r=ri(this.input,e);t+=" ("+r.line+":"+r.column+")",this.sourceFile&&(t+=" in "+this.sourceFile);var i=new SyntaxError(t);throw i.pos=e,i.loc=r,i.raisedAt=this.pos,i},at.raiseRecoverable=at.raise,at.curPosition=function(){if(this.options.locations)return new Fe(this.curLine,this.pos-this.lineStart)};var ye=N.prototype,Kr=function Kr(t){this.flags=t,this.var=[],this.lexical=[],this.functions=[]};ye.enterScope=function(e){this.scopeStack.push(new Kr(e))},ye.exitScope=function(){this.scopeStack.pop()},ye.treatFunctionsAsVarInScope=function(e){return e.flags&Pe||!this.inModule&&e.flags&Me},ye.declareName=function(e,t,r){var i=!1;if(t===oe){var s=this.currentScope();i=s.lexical.indexOf(e)>-1||s.functions.indexOf(e)>-1||s.var.indexOf(e)>-1,s.lexical.push(e),this.inModule&&s.flags&Me&&delete this.undefinedExports[e]}else if(t===li){var a=this.currentScope();a.lexical.push(e)}else if(t===ui){var n=this.currentScope();this.treatFunctionsAsVar?i=n.lexical.indexOf(e)>-1:i=n.lexical.indexOf(e)>-1||n.var.indexOf(e)>-1,n.functions.push(e)}else for(var u=this.scopeStack.length-1;u>=0;--u){var l=this.scopeStack[u];if(l.lexical.indexOf(e)>-1&&!(l.flags&ni&&l.lexical[0]===e)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(e)>-1){i=!0;break}if(l.var.push(e),this.inModule&&l.flags&Me&&delete this.undefinedExports[e],l.flags&tt)break}i&&this.raiseRecoverable(r,"Identifier '"+e+"' has already been declared")},ye.checkLocalExport=function(e){this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1&&(this.undefinedExports[e.name]=e)},ye.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]},ye.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be))return t}},ye.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var t=this.scopeStack[e];if(t.flags&(tt|je|be)&&!(t.flags&wt))return t}};var nt=function nt(t,r,i){this.type="",this.start=r,this.end=0,t.options.locations&&(this.loc=new Je(t,i)),t.options.directSourceFile&&(this.sourceFile=t.options.directSourceFile),t.options.ranges&&(this.range=[r,0])},$e=N.prototype;$e.startNode=function(){return new nt(this,this.start,this.startLoc)},$e.startNodeAt=function(e,t){return new nt(this,e,t)};function pi(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.finishNode=function(e,t){return pi.call(this,e,t,this.lastTokEnd,this.lastTokEndLoc)},$e.finishNodeAt=function(e,t,r,i){return pi.call(this,e,t,r,i)},$e.copyNode=function(e){var t=new nt(this,e.start,this.startLoc);for(var r in e)t[r]=e[r];return t};var Qr="Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz",di="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",yi=di+" Extended_Pictographic",mi=yi,gi=mi+" EBase EComp EMod EPres ExtPict",xi=gi,Xr=xi,Yr={9:di,10:yi,11:mi,12:gi,13:xi,14:Xr},Zr="Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji",Jr={9:"",10:"",11:"",12:"",13:"",14:Zr},bi="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",vi="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",Si=vi+" Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd",wi=Si+" Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho",ki=wi+" Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi",Ei=ki+" Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith",es=Ei+" "+Qr,ts={9:vi,10:Si,11:wi,12:ki,13:Ei,14:es},Ci={};function is(e){var t=Ci[e]={binary:de(Yr[e]+" "+bi),binaryOfStrings:de(Jr[e]),nonBinary:{General_Category:de(bi),Script:de(ts[e])}};t.nonBinary.Script_Extensions=t.nonBinary.Script,t.nonBinary.gc=t.nonBinary.General_Category,t.nonBinary.sc=t.nonBinary.Script,t.nonBinary.scx=t.nonBinary.Script_Extensions}for(var At=0,_i=[9,10,11,12,13,14];At<_i.length;At+=1){var rs=_i[At];is(rs)}var y=N.prototype,ot=function ot(t,r){this.parent=t,this.base=r||this};ot.prototype.separatedFrom=function(t){for(var r=this;r;r=r.parent)for(var i=t;i;i=i.parent)if(r.base===i.base&&r!==i)return!0;return!1},ot.prototype.sibling=function(){return new ot(this.parent,this.base)};var ie=function ie(t){this.parser=t,this.validFlags="gim"+(t.options.ecmaVersion>=6?"uy":"")+(t.options.ecmaVersion>=9?"s":"")+(t.options.ecmaVersion>=13?"d":"")+(t.options.ecmaVersion>=15?"v":""),this.unicodeProperties=Ci[t.options.ecmaVersion>=14?14:t.options.ecmaVersion],this.source="",this.flags="",this.start=0,this.switchU=!1,this.switchV=!1,this.switchN=!1,this.pos=0,this.lastIntValue=0,this.lastStringValue="",this.lastAssertionIsQuantifiable=!1,this.numCapturingParens=0,this.maxBackReference=0,this.groupNames=Object.create(null),this.backReferenceNames=[],this.branchID=null};ie.prototype.reset=function(t,r,i){var s=i.indexOf("v")!==-1,a=i.indexOf("u")!==-1;this.start=t|0,this.source=r+"",this.flags=i,s&&this.parser.options.ecmaVersion>=15?(this.switchU=!0,this.switchV=!0,this.switchN=!0):(this.switchU=a&&this.parser.options.ecmaVersion>=6,this.switchV=!1,this.switchN=a&&this.parser.options.ecmaVersion>=9)},ie.prototype.raise=function(t){this.parser.raiseRecoverable(this.start,"Invalid regular expression: /"+this.source+"/: "+t)},ie.prototype.at=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return-1;var a=i.charCodeAt(t);if(!(r||this.switchU)||a<=55295||a>=57344||t+1>=s)return a;var n=i.charCodeAt(t+1);return n>=56320&&n<=57343?(a<<10)+n-0x35fdc00:a},ie.prototype.nextIndex=function(t,r){r===void 0&&(r=!1);var i=this.source,s=i.length;if(t>=s)return s;var a=i.charCodeAt(t),n;return!(r||this.switchU)||a<=55295||a>=57344||t+1>=s||(n=i.charCodeAt(t+1))<56320||n>57343?t+1:t+2},ie.prototype.current=function(t){return t===void 0&&(t=!1),this.at(this.pos,t)},ie.prototype.lookahead=function(t){return t===void 0&&(t=!1),this.at(this.nextIndex(this.pos,t),t)},ie.prototype.advance=function(t){t===void 0&&(t=!1),this.pos=this.nextIndex(this.pos,t)},ie.prototype.eat=function(t,r){return r===void 0&&(r=!1),this.current(r)===t?(this.advance(r),!0):!1},ie.prototype.eatChars=function(t,r){r===void 0&&(r=!1);for(var i=this.pos,s=0,a=t;s<a.length;s+=1){var n=a[s],u=this.at(i,r);if(u===-1||u!==n)return!1;i=this.nextIndex(i,r)}return this.pos=i,!0},y.validateRegExpFlags=function(e){for(var t=e.validFlags,r=e.flags,i=!1,s=!1,a=0;a<r.length;a++){var n=r.charAt(a);t.indexOf(n)===-1&&this.raise(e.start,"Invalid regular expression flag"),r.indexOf(n,a+1)>-1&&this.raise(e.start,"Duplicate regular expression flag"),n==="u"&&(i=!0),n==="v"&&(s=!0)}this.options.ecmaVersion>=15&&i&&s&&this.raise(e.start,"Invalid regular expression flag")};function ss(e){for(var t in e)return!0;return!1}y.validateRegExpPattern=function(e){this.regexp_pattern(e),!e.switchN&&this.options.ecmaVersion>=9&&ss(e.groupNames)&&(e.switchN=!0,this.regexp_pattern(e))},y.regexp_pattern=function(e){e.pos=0,e.lastIntValue=0,e.lastStringValue="",e.lastAssertionIsQuantifiable=!1,e.numCapturingParens=0,e.maxBackReference=0,e.groupNames=Object.create(null),e.backReferenceNames.length=0,e.branchID=null,this.regexp_disjunction(e),e.pos!==e.source.length&&(e.eat(41)&&e.raise("Unmatched ')'"),(e.eat(93)||e.eat(125))&&e.raise("Lone quantifier brackets")),e.maxBackReference>e.numCapturingParens&&e.raise("Invalid escape");for(var t=0,r=e.backReferenceNames;t<r.length;t+=1){var i=r[t];e.groupNames[i]||e.raise("Invalid named capture referenced")}},y.regexp_disjunction=function(e){var t=this.options.ecmaVersion>=16;for(t&&(e.branchID=new ot(e.branchID,null)),this.regexp_alternative(e);e.eat(124);)t&&(e.branchID=e.branchID.sibling()),this.regexp_alternative(e);t&&(e.branchID=e.branchID.parent),this.regexp_eatQuantifier(e,!0)&&e.raise("Nothing to repeat"),e.eat(123)&&e.raise("Lone quantifier brackets")},y.regexp_alternative=function(e){for(;e.pos<e.source.length&&this.regexp_eatTerm(e););},y.regexp_eatTerm=function(e){return this.regexp_eatAssertion(e)?(e.lastAssertionIsQuantifiable&&this.regexp_eatQuantifier(e)&&e.switchU&&e.raise("Invalid quantifier"),!0):(e.switchU?this.regexp_eatAtom(e):this.regexp_eatExtendedAtom(e))?(this.regexp_eatQuantifier(e),!0):!1},y.regexp_eatAssertion=function(e){var t=e.pos;if(e.lastAssertionIsQuantifiable=!1,e.eat(94)||e.eat(36))return!0;if(e.eat(92)){if(e.eat(66)||e.eat(98))return!0;e.pos=t}if(e.eat(40)&&e.eat(63)){var r=!1;if(this.options.ecmaVersion>=9&&(r=e.eat(60)),e.eat(61)||e.eat(33))return this.regexp_disjunction(e),e.eat(41)||e.raise("Unterminated group"),e.lastAssertionIsQuantifiable=!r,!0}return e.pos=t,!1},y.regexp_eatQuantifier=function(e,t){return t===void 0&&(t=!1),this.regexp_eatQuantifierPrefix(e,t)?(e.eat(63),!0):!1},y.regexp_eatQuantifierPrefix=function(e,t){return e.eat(42)||e.eat(43)||e.eat(63)||this.regexp_eatBracedQuantifier(e,t)},y.regexp_eatBracedQuantifier=function(e,t){var r=e.pos;if(e.eat(123)){var i=0,s=-1;if(this.regexp_eatDecimalDigits(e)&&(i=e.lastIntValue,e.eat(44)&&this.regexp_eatDecimalDigits(e)&&(s=e.lastIntValue),e.eat(125)))return s!==-1&&s<i&&!t&&e.raise("numbers out of order in {} quantifier"),!0;e.switchU&&!t&&e.raise("Incomplete quantifier"),e.pos=r}return!1},y.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)},y.regexp_eatReverseSolidusAtomEscape=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatAtomEscape(e))return!0;e.pos=t}return!1},y.regexp_eatUncapturingGroup=function(e){var t=e.pos;if(e.eat(40)){if(e.eat(63)){if(this.options.ecmaVersion>=16){var r=this.regexp_eatModifiers(e),i=e.eat(45);if(r||i){for(var s=0;s<r.length;s++){var a=r.charAt(s);r.indexOf(a,s+1)>-1&&e.raise("Duplicate regular expression modifiers")}if(i){var n=this.regexp_eatModifiers(e);!r&&!n&&e.current()===58&&e.raise("Invalid regular expression modifiers");for(var u=0;u<n.length;u++){var l=n.charAt(u);(n.indexOf(l,u+1)>-1||r.indexOf(l)>-1)&&e.raise("Duplicate regular expression modifiers")}}}}if(e.eat(58)){if(this.regexp_disjunction(e),e.eat(41))return!0;e.raise("Unterminated group")}}e.pos=t}return!1},y.regexp_eatCapturingGroup=function(e){if(e.eat(40)){if(this.options.ecmaVersion>=9?this.regexp_groupSpecifier(e):e.current()===63&&e.raise("Invalid group"),this.regexp_disjunction(e),e.eat(41))return e.numCapturingParens+=1,!0;e.raise("Unterminated group")}return!1},y.regexp_eatModifiers=function(e){for(var t="",r=0;(r=e.current())!==-1&&as(r);)t+=ne(r),e.advance();return t};function as(e){return e===105||e===109||e===115}y.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)},y.regexp_eatInvalidBracedQuantifier=function(e){return this.regexp_eatBracedQuantifier(e,!0)&&e.raise("Nothing to repeat"),!1},y.regexp_eatSyntaxCharacter=function(e){var t=e.current();return Ii(t)?(e.lastIntValue=t,e.advance(),!0):!1};function Ii(e){return e===36||e>=40&&e<=43||e===46||e===63||e>=91&&e<=94||e>=123&&e<=125}y.regexp_eatPatternCharacters=function(e){for(var t=e.pos,r=0;(r=e.current())!==-1&&!Ii(r);)e.advance();return e.pos!==t},y.regexp_eatExtendedPatternCharacter=function(e){var t=e.current();return t!==-1&&t!==36&&!(t>=40&&t<=43)&&t!==46&&t!==63&&t!==91&&t!==94&&t!==124?(e.advance(),!0):!1},y.regexp_groupSpecifier=function(e){if(e.eat(63)){this.regexp_eatGroupName(e)||e.raise("Invalid group");var t=this.options.ecmaVersion>=16,r=e.groupNames[e.lastStringValue];if(r)if(t)for(var i=0,s=r;i<s.length;i+=1){var a=s[i];a.separatedFrom(e.branchID)||e.raise("Duplicate capture group name")}else e.raise("Duplicate capture group name");t?(r||(e.groupNames[e.lastStringValue]=[])).push(e.branchID):e.groupNames[e.lastStringValue]=!0}},y.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},y.regexp_eatRegExpIdentifierName=function(e){if(e.lastStringValue="",this.regexp_eatRegExpIdentifierStart(e)){for(e.lastStringValue+=ne(e.lastIntValue);this.regexp_eatRegExpIdentifierPart(e);)e.lastStringValue+=ne(e.lastIntValue);return!0}return!1},y.regexp_eatRegExpIdentifierStart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),ns(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function ns(e){return ae(e,!0)||e===36||e===95}y.regexp_eatRegExpIdentifierPart=function(e){var t=e.pos,r=this.options.ecmaVersion>=11,i=e.current(r);return e.advance(r),i===92&&this.regexp_eatRegExpUnicodeEscapeSequence(e,r)&&(i=e.lastIntValue),os(i)?(e.lastIntValue=i,!0):(e.pos=t,!1)};function os(e){return _e(e,!0)||e===36||e===95||e===8204||e===8205}y.regexp_eatAtomEscape=function(e){return this.regexp_eatBackReference(e)||this.regexp_eatCharacterClassEscape(e)||this.regexp_eatCharacterEscape(e)||e.switchN&&this.regexp_eatKGroupName(e)?!0:(e.switchU&&(e.current()===99&&e.raise("Invalid unicode escape"),e.raise("Invalid escape")),!1)},y.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},y.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},y.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)},y.regexp_eatCControlLetter=function(e){var t=e.pos;if(e.eat(99)){if(this.regexp_eatControlLetter(e))return!0;e.pos=t}return!1},y.regexp_eatZero=function(e){return e.current()===48&&!ut(e.lookahead())?(e.lastIntValue=0,e.advance(),!0):!1},y.regexp_eatControlEscape=function(e){var t=e.current();return t===116?(e.lastIntValue=9,e.advance(),!0):t===110?(e.lastIntValue=10,e.advance(),!0):t===118?(e.lastIntValue=11,e.advance(),!0):t===102?(e.lastIntValue=12,e.advance(),!0):t===114?(e.lastIntValue=13,e.advance(),!0):!1},y.regexp_eatControlLetter=function(e){var t=e.current();return Ai(t)?(e.lastIntValue=t%32,e.advance(),!0):!1};function Ai(e){return e>=65&&e<=90||e>=97&&e<=122}y.regexp_eatRegExpUnicodeEscapeSequence=function(e,t){t===void 0&&(t=!1);var r=e.pos,i=t||e.switchU;if(e.eat(117)){if(this.regexp_eatFixedHexDigits(e,4)){var s=e.lastIntValue;if(i&&s>=55296&&s<=56319){var a=e.pos;if(e.eat(92)&&e.eat(117)&&this.regexp_eatFixedHexDigits(e,4)){var n=e.lastIntValue;if(n>=56320&&n<=57343)return e.lastIntValue=(s-55296)*1024+(n-56320)+65536,!0}e.pos=a,e.lastIntValue=s}return!0}if(i&&e.eat(123)&&this.regexp_eatHexDigits(e)&&e.eat(125)&&us(e.lastIntValue))return!0;i&&e.raise("Invalid unicode escape"),e.pos=r}return!1};function us(e){return e>=0&&e<=1114111}y.regexp_eatIdentityEscape=function(e){if(e.switchU)return this.regexp_eatSyntaxCharacter(e)?!0:e.eat(47)?(e.lastIntValue=47,!0):!1;var t=e.current();return t!==99&&(!e.switchN||t!==107)?(e.lastIntValue=t,e.advance(),!0):!1},y.regexp_eatDecimalEscape=function(e){e.lastIntValue=0;var t=e.current();if(t>=49&&t<=57){do e.lastIntValue=10*e.lastIntValue+(t-48),e.advance();while((t=e.current())>=48&&t<=57);return!0}return!1};var Pi=0,ue=1,J=2;y.regexp_eatCharacterClassEscape=function(e){var t=e.current();if(ls(t))return e.lastIntValue=-1,e.advance(),ue;var r=!1;if(e.switchU&&this.options.ecmaVersion>=9&&((r=t===80)||t===112)){e.lastIntValue=-1,e.advance();var i;if(e.eat(123)&&(i=this.regexp_eatUnicodePropertyValueExpression(e))&&e.eat(125))return r&&i===J&&e.raise("Invalid property name"),i;e.raise("Invalid property name")}return Pi};function ls(e){return e===100||e===68||e===115||e===83||e===119||e===87}y.regexp_eatUnicodePropertyValueExpression=function(e){var t=e.pos;if(this.regexp_eatUnicodePropertyName(e)&&e.eat(61)){var r=e.lastStringValue;if(this.regexp_eatUnicodePropertyValue(e)){var i=e.lastStringValue;return this.regexp_validateUnicodePropertyNameAndValue(e,r,i),ue}}if(e.pos=t,this.regexp_eatLoneUnicodePropertyNameOrValue(e)){var s=e.lastStringValue;return this.regexp_validateUnicodePropertyNameOrValue(e,s)}return Pi},y.regexp_validateUnicodePropertyNameAndValue=function(e,t,r){Ae(e.unicodeProperties.nonBinary,t)||e.raise("Invalid property name"),e.unicodeProperties.nonBinary[t].test(r)||e.raise("Invalid property value")},y.regexp_validateUnicodePropertyNameOrValue=function(e,t){if(e.unicodeProperties.binary.test(t))return ue;if(e.switchV&&e.unicodeProperties.binaryOfStrings.test(t))return J;e.raise("Invalid property name")},y.regexp_eatUnicodePropertyName=function(e){var t=0;for(e.lastStringValue="";Li(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function Li(e){return Ai(e)||e===95}y.regexp_eatUnicodePropertyValue=function(e){var t=0;for(e.lastStringValue="";cs(t=e.current());)e.lastStringValue+=ne(t),e.advance();return e.lastStringValue!==""};function cs(e){return Li(e)||ut(e)}y.regexp_eatLoneUnicodePropertyNameOrValue=function(e){return this.regexp_eatUnicodePropertyValue(e)},y.regexp_eatCharacterClass=function(e){if(e.eat(91)){var t=e.eat(94),r=this.regexp_classContents(e);return e.eat(93)||e.raise("Unterminated character class"),t&&r===J&&e.raise("Negated character class may contain strings"),!0}return!1},y.regexp_classContents=function(e){return e.current()===93?ue:e.switchV?this.regexp_classSetExpression(e):(this.regexp_nonEmptyClassRanges(e),ue)},y.regexp_nonEmptyClassRanges=function(e){for(;this.regexp_eatClassAtom(e);){var t=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassAtom(e)){var r=e.lastIntValue;e.switchU&&(t===-1||r===-1)&&e.raise("Invalid character class"),t!==-1&&r!==-1&&t>r&&e.raise("Range out of order in character class")}}},y.regexp_eatClassAtom=function(e){var t=e.pos;if(e.eat(92)){if(this.regexp_eatClassEscape(e))return!0;if(e.switchU){var r=e.current();(r===99||Ni(r))&&e.raise("Invalid class escape"),e.raise("Invalid escape")}e.pos=t}var i=e.current();return i!==93?(e.lastIntValue=i,e.advance(),!0):!1},y.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)},y.regexp_classSetExpression=function(e){var t=ue,r;if(!this.regexp_eatClassSetRange(e))if(r=this.regexp_eatClassSetOperand(e)){r===J&&(t=J);for(var i=e.pos;e.eatChars([38,38]);){if(e.current()!==38&&(r=this.regexp_eatClassSetOperand(e))){r!==J&&(t=ue);continue}e.raise("Invalid character in character class")}if(i!==e.pos)return t;for(;e.eatChars([45,45]);)this.regexp_eatClassSetOperand(e)||e.raise("Invalid character in character class");if(i!==e.pos)return t}else e.raise("Invalid character in character class");for(;;)if(!this.regexp_eatClassSetRange(e)){if(r=this.regexp_eatClassSetOperand(e),!r)return t;r===J&&(t=J)}},y.regexp_eatClassSetRange=function(e){var t=e.pos;if(this.regexp_eatClassSetCharacter(e)){var r=e.lastIntValue;if(e.eat(45)&&this.regexp_eatClassSetCharacter(e)){var i=e.lastIntValue;return r!==-1&&i!==-1&&r>i&&e.raise("Range out of order in character class"),!0}e.pos=t}return!1},y.regexp_eatClassSetOperand=function(e){return this.regexp_eatClassSetCharacter(e)?ue:this.regexp_eatClassStringDisjunction(e)||this.regexp_eatNestedClass(e)},y.regexp_eatNestedClass=function(e){var t=e.pos;if(e.eat(91)){var r=e.eat(94),i=this.regexp_classContents(e);if(e.eat(93))return r&&i===J&&e.raise("Negated character class may contain strings"),i;e.pos=t}if(e.eat(92)){var s=this.regexp_eatCharacterClassEscape(e);if(s)return s;e.pos=t}return null},y.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},y.regexp_classStringDisjunctionContents=function(e){for(var t=this.regexp_classString(e);e.eat(124);)this.regexp_classString(e)===J&&(t=J);return t},y.regexp_classString=function(e){for(var t=0;this.regexp_eatClassSetCharacter(e);)t++;return t===1?ue:J},y.regexp_eatClassSetCharacter=function(e){var t=e.pos;if(e.eat(92))return this.regexp_eatCharacterEscape(e)||this.regexp_eatClassSetReservedPunctuator(e)?!0:e.eat(98)?(e.lastIntValue=8,!0):(e.pos=t,!1);var r=e.current();return r<0||r===e.lookahead()&&fs(r)||hs(r)?!1:(e.advance(),e.lastIntValue=r,!0)};function fs(e){return e===33||e>=35&&e<=38||e>=42&&e<=44||e===46||e>=58&&e<=64||e===94||e===96||e===126}function hs(e){return e===40||e===41||e===45||e===47||e>=91&&e<=93||e>=123&&e<=125}y.regexp_eatClassSetReservedPunctuator=function(e){var t=e.current();return ps(t)?(e.lastIntValue=t,e.advance(),!0):!1};function ps(e){return e===33||e===35||e===37||e===38||e===44||e===45||e>=58&&e<=62||e===64||e===96||e===126}y.regexp_eatClassControlLetter=function(e){var t=e.current();return ut(t)||t===95?(e.lastIntValue=t%32,e.advance(),!0):!1},y.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},y.regexp_eatDecimalDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;ut(r=e.current());)e.lastIntValue=10*e.lastIntValue+(r-48),e.advance();return e.pos!==t};function ut(e){return e>=48&&e<=57}y.regexp_eatHexDigits=function(e){var t=e.pos,r=0;for(e.lastIntValue=0;Ti(r=e.current());)e.lastIntValue=16*e.lastIntValue+Vi(r),e.advance();return e.pos!==t};function Ti(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function Vi(e){return e>=65&&e<=70?10+(e-65):e>=97&&e<=102?10+(e-97):e-48}y.regexp_eatLegacyOctalEscapeSequence=function(e){if(this.regexp_eatOctalDigit(e)){var t=e.lastIntValue;if(this.regexp_eatOctalDigit(e)){var r=e.lastIntValue;t<=3&&this.regexp_eatOctalDigit(e)?e.lastIntValue=t*64+r*8+e.lastIntValue:e.lastIntValue=t*8+r}else e.lastIntValue=t;return!0}return!1},y.regexp_eatOctalDigit=function(e){var t=e.current();return Ni(t)?(e.lastIntValue=t-48,e.advance(),!0):(e.lastIntValue=0,!1)};function Ni(e){return e>=48&&e<=55}y.regexp_eatFixedHexDigits=function(e,t){var r=e.pos;e.lastIntValue=0;for(var i=0;i<t;++i){var s=e.current();if(!Ti(s))return e.pos=r,!1;e.lastIntValue=16*e.lastIntValue+Vi(s),e.advance()}return!0};var Pt=function Pt(t){this.type=t.type,this.value=t.value,this.start=t.start,this.end=t.end,t.options.locations&&(this.loc=new Je(t,t.startLoc,t.endLoc)),t.options.ranges&&(this.range=[t.start,t.end])},b=N.prototype;b.next=function(e){!e&&this.type.keyword&&this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword),this.options.onToken&&this.options.onToken(new Pt(this)),this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()},b.getToken=function(){return this.next(),new Pt(this)},(typeof Symbol==="undefined"?"undefined":_type_of(Symbol))<"u"&&(b[Symbol.iterator]=function(){var e=this;return{next:function next(){var t=e.getToken();return{done:t.type===o.eof,value:t}}}}),b.nextToken=function(){var e=this.curContext();if((!e||!e.preserveSpace)&&this.skipSpace(),this.start=this.pos,this.options.locations&&(this.startLoc=this.curPosition()),this.pos>=this.input.length)return this.finishToken(o.eof);if(e.override)return e.override(this);this.readToken(this.fullCharCodeAtPos())},b.readToken=function(e){return ae(e,this.options.ecmaVersion>=6)||e===92?this.readWord():this.getTokenFromCode(e)},b.fullCharCodeAtPos=function(){var e=this.input.charCodeAt(this.pos);if(e<=55295||e>=56320)return e;var t=this.input.charCodeAt(this.pos+1);return t<=56319||t>=57344?e:(e<<10)+t-0x35fdc00},b.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),t=this.pos,r=this.input.indexOf("*/",this.pos+=2);if(r===-1&&this.raise(this.pos-2,"Unterminated comment"),this.pos=r+2,this.options.locations)for(var i=void 0,s=t;(i=Zt(this.input,s,this.pos))>-1;)++this.curLine,s=this.lineStart=i;this.options.onComment&&this.options.onComment(!0,this.input.slice(t+2,r),t,this.pos,e,this.curPosition())},b.skipLineComment=function(e){for(var t=this.pos,r=this.options.onComment&&this.curPosition(),i=this.input.charCodeAt(this.pos+=e);this.pos<this.input.length&&!Ie(i);)i=this.input.charCodeAt(++this.pos);this.options.onComment&&this.options.onComment(!1,this.input.slice(t+e,this.pos),t,this.pos,r,this.curPosition())},b.skipSpace=function(){e:for(;this.pos<this.input.length;){var e=this.input.charCodeAt(this.pos);switch(e){case 32:case 160:++this.pos;break;case 13:this.input.charCodeAt(this.pos+1)===10&&++this.pos;case 10:case 8232:case 8233:++this.pos,this.options.locations&&(++this.curLine,this.lineStart=this.pos);break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break e}break;default:if(e>8&&e<14||e>=5760&&Jt.test(String.fromCharCode(e)))++this.pos;else break e}}},b.finishToken=function(e,t){this.end=this.pos,this.options.locations&&(this.endLoc=this.curPosition());var r=this.type;this.type=e,this.value=t,this.updateContext(r)},b.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var t=this.input.charCodeAt(this.pos+2);return this.options.ecmaVersion>=6&&e===46&&t===46?(this.pos+=3,this.finishToken(o.ellipsis)):(++this.pos,this.finishToken(o.dot))},b.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);return this.exprAllowed?(++this.pos,this.readRegexp()):e===61?this.finishOp(o.assign,2):this.finishOp(o.slash,1)},b.readToken_mult_modulo_exp=function(e){var t=this.input.charCodeAt(this.pos+1),r=1,i=e===42?o.star:o.modulo;return this.options.ecmaVersion>=7&&e===42&&t===42&&(++r,i=o.starstar,t=this.input.charCodeAt(this.pos+2)),t===61?this.finishOp(o.assign,r+1):this.finishOp(i,r)},b.readToken_pipe_amp=function(e){var t=this.input.charCodeAt(this.pos+1);if(t===e){if(this.options.ecmaVersion>=12){var r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(o.assign,3)}return this.finishOp(e===124?o.logicalOR:o.logicalAND,2)}return t===61?this.finishOp(o.assign,2):this.finishOp(e===124?o.bitwiseOR:o.bitwiseAND,1)},b.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);return e===61?this.finishOp(o.assign,2):this.finishOp(o.bitwiseXOR,1)},b.readToken_plus_min=function(e){var t=this.input.charCodeAt(this.pos+1);return t===e?t===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||X.test(this.input.slice(this.lastTokEnd,this.pos)))?(this.skipLineComment(3),this.skipSpace(),this.nextToken()):this.finishOp(o.incDec,2):t===61?this.finishOp(o.assign,2):this.finishOp(o.plusMin,1)},b.readToken_lt_gt=function(e){var t=this.input.charCodeAt(this.pos+1),r=1;return t===e?(r=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+r)===61?this.finishOp(o.assign,r+1):this.finishOp(o.bitShift,r)):t===33&&e===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45?(this.skipLineComment(4),this.skipSpace(),this.nextToken()):(t===61&&(r=2),this.finishOp(o.relational,r))},b.readToken_eq_excl=function(e){var t=this.input.charCodeAt(this.pos+1);return t===61?this.finishOp(o.equality,this.input.charCodeAt(this.pos+2)===61?3:2):e===61&&t===62&&this.options.ecmaVersion>=6?(this.pos+=2,this.finishToken(o.arrow)):this.finishOp(e===61?o.eq:o.prefix,1)},b.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var t=this.input.charCodeAt(this.pos+1);if(t===46){var r=this.input.charCodeAt(this.pos+2);if(r<48||r>57)return this.finishOp(o.questionDot,2)}if(t===63){if(e>=12){var i=this.input.charCodeAt(this.pos+2);if(i===61)return this.finishOp(o.assign,3)}return this.finishOp(o.coalesce,2)}}return this.finishOp(o.question,1)},b.readToken_numberSign=function(){var e=this.options.ecmaVersion,t=35;if(e>=13&&(++this.pos,t=this.fullCharCodeAtPos(),ae(t,!0)||t===92))return this.finishToken(o.privateId,this.readWord1());this.raise(this.pos,"Unexpected character '"+ne(t)+"'")},b.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(o.parenL);case 41:return++this.pos,this.finishToken(o.parenR);case 59:return++this.pos,this.finishToken(o.semi);case 44:return++this.pos,this.finishToken(o.comma);case 91:return++this.pos,this.finishToken(o.bracketL);case 93:return++this.pos,this.finishToken(o.bracketR);case 123:return++this.pos,this.finishToken(o.braceL);case 125:return++this.pos,this.finishToken(o.braceR);case 58:return++this.pos,this.finishToken(o.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(o.backQuote);case 48:var t=this.input.charCodeAt(this.pos+1);if(t===120||t===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(t===111||t===79)return this.readRadixNumber(8);if(t===98||t===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(o.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ne(e)+"'")},b.finishOp=function(e,t){var r=this.input.slice(this.pos,this.pos+t);return this.pos+=t,this.finishToken(e,r)},b.readRegexp=function(){for(var e,t,r=this.pos;;){this.pos>=this.input.length&&this.raise(r,"Unterminated regular expression");var i=this.input.charAt(this.pos);if(X.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 s=this.input.slice(r,this.pos);++this.pos;var a=this.pos,n=this.readWord1();this.containsEsc&&this.unexpected(a);var u=this.regexpState||(this.regexpState=new ie(this));u.reset(r,s,n),this.validateRegExpFlags(u),this.validateRegExpPattern(u);var l=null;try{l=new RegExp(s,n)}catch(e){}return this.finishToken(o.regexp,{pattern:s,flags:n,value:l})},b.readInt=function(e,t,r){for(var i=this.options.ecmaVersion>=12&&t===void 0,s=r&&this.input.charCodeAt(this.pos)===48,a=this.pos,n=0,u=0,l=0,c=t!==null&&t!==void 0?t:1/0;l<c;++l,++this.pos){var f=this.input.charCodeAt(this.pos),g=void 0;if(i&&f===95){s&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals"),u===95&&this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore"),l===0&&this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits"),u=f;continue}if(f>=97?g=f-97+10:f>=65?g=f-65+10:f>=48&&f<=57?g=f-48:g=1/0,g>=e)break;u=f,n=n*e+g}return i&&u===95&&this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits"),this.pos===a||t!=null&&this.pos-a!==t?null:n};function ds(e,t){return t?parseInt(e,8):parseFloat(e.replace(/_/g,""))}function Ri(e){return typeof BigInt!="function"?null:BigInt(e.replace(/_/g,""))}b.readRadixNumber=function(e){var t=this.pos;this.pos+=2;var r=this.readInt(e);return r==null&&this.raise(this.start+2,"Expected number in radix "+e),this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110?(r=Ri(this.input.slice(t,this.pos)),++this.pos):ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,r)},b.readNumber=function(e){var t=this.pos;!e&&this.readInt(10,void 0,!0)===null&&this.raise(t,"Invalid number");var r=this.pos-t>=2&&this.input.charCodeAt(t)===48;r&&this.strict&&this.raise(t,"Invalid number");var i=this.input.charCodeAt(this.pos);if(!r&&!e&&this.options.ecmaVersion>=11&&i===110){var s=Ri(this.input.slice(t,this.pos));return++this.pos,ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number"),this.finishToken(o.num,s)}r&&/[89]/.test(this.input.slice(t,this.pos))&&(r=!1),i===46&&!r&&(++this.pos,this.readInt(10),i=this.input.charCodeAt(this.pos)),(i===69||i===101)&&!r&&(i=this.input.charCodeAt(++this.pos),(i===43||i===45)&&++this.pos,this.readInt(10)===null&&this.raise(t,"Invalid number")),ae(this.fullCharCodeAtPos())&&this.raise(this.pos,"Identifier directly after number");var a=ds(this.input.slice(t,this.pos),r);return this.finishToken(o.num,a)},b.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),t;if(e===123){this.options.ecmaVersion<6&&this.unexpected();var r=++this.pos;t=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,t>1114111&&this.invalidStringToken(r,"Code point out of bounds")}else t=this.readHexChar(4);return t},b.readString=function(e){for(var t="",r=++this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");var i=this.input.charCodeAt(this.pos);if(i===e)break;i===92?(t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!1),r=this.pos):i===8232||i===8233?(this.options.ecmaVersion<10&&this.raise(this.start,"Unterminated string constant"),++this.pos,this.options.locations&&(this.curLine++,this.lineStart=this.pos)):(Ie(i)&&this.raise(this.start,"Unterminated string constant"),++this.pos)}return t+=this.input.slice(r,this.pos++),this.finishToken(o.string,t)};var Bi={};b.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Bi)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1},b.invalidStringToken=function(e,t){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Bi;this.raise(e,t)},b.readTmplToken=function(){for(var e="",t=this.pos;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated template");var r=this.input.charCodeAt(this.pos);if(r===96||r===36&&this.input.charCodeAt(this.pos+1)===123)return this.pos===this.start&&(this.type===o.template||this.type===o.invalidTemplate)?r===36?(this.pos+=2,this.finishToken(o.dollarBraceL)):(++this.pos,this.finishToken(o.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(o.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(Ie(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+="\n";break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},b.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(o.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":this.input[this.pos+1]==="\n"&&++this.pos;case"\n":case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")},b.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return"\n";case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ne(this.readCodePoint());case 116:return" ";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;this.invalidStringToken(r,"Invalid escape sequence in template string")}default:if(t>=48&&t<=55){var i=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],s=parseInt(i,8);return s>255&&(i=i.slice(0,-1),s=parseInt(i,8)),this.pos+=i.length-1,t=this.input.charCodeAt(this.pos),(i!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-i.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(s)}return Ie(t)?(this.options.locations&&(this.lineStart=this.pos,++this.curLine),""):String.fromCharCode(t)}},b.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},b.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,i=this.options.ecmaVersion>=6;this.pos<this.input.length;){var s=this.fullCharCodeAtPos();if(_e(s,i))this.pos+=s<=65535?1:2;else if(s===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var a=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var n=this.readCodePoint();(t?ae:_e)(n,i)||this.invalidStringToken(a,"Invalid Unicode escape"),e+=ne(n),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},b.readWord=function(){var e=this.readWord1(),t=o.name;return this.keywords.test(e)&&(t=bt[e]),this.finishToken(t,e)};var ys="8.14.1";N.acorn={Parser:N,version:ys,defaultOptions:vt,Position:Fe,SourceLocation:Je,getLineInfo:ri,Node:nt,TokenType:E,tokTypes:o,keywordTypes:bt,TokContext:ee,tokContexts:I,isIdentifierChar:_e,isIdentifierStart:ae,Token:Pt,isNewLine:Ie,lineBreak:X,lineBreakG:Dr,nonASCIIwhitespace:Jt};function ms(e,t){return N.parse(e,t)}var ve={RES:void 0},w={RES:void 0},C={LABEL:void 0},_={LABEL:void 0},lt=R("super"),me=R("supercall"),ct=R("noctor"),Te=R("clsctor"),ft=R("newtarget"),B=R("private"),M=R("noinit"),$=R("deadzone"),A=R("optchain"),Se=R("import"),G=R("exports"),H=R("strict"),ht=R("strict-fn");var pt=/*#__PURE__*/function(){function pt(t,r){_class_call_check(this,pt);this.kind=t,this.value=r}_create_class(pt,[{key:"get",value:function get(){return this.value}},{key:"set",value:function set(t){if(this.kind==="const")throw new TypeError("Assignment to constant variable");return this.value=t}}]);return pt}();var ge=/*#__PURE__*/function(){function ge(t,r){_class_call_check(this,ge);this.object=t,this.property=r}_create_class(ge,[{key:"get",value:function get(){return this.object[this.property]}},{key:"set",value:function set(t){return this.object[this.property]=t,!0}},{key:"del",value:function del(){return delete this.object[this.property]}}]);return ge}();var T=/*#__PURE__*/function(){function T(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;_class_call_check(this,T);this.context=Ce(null),this.withContext=Ce(null),this.parent=t,this.isolated=r}_create_class(T,[{key:"global",value:function global1(){var t=this;for(;t.parent;)t=t.parent;return t}},{key:"find",value:function find(t){if(this.context[t])return this.context[t];if(t in this.withContext)return new ge(this.withContext,t);if(this.parent)return this.parent.find(t);{var r=this.global().find("window").get();return t in r?new ge(r,t):null}}},{key:"var",value:function _var(t,r){var i=this;for(;i.parent&&!i.isolated;)i=i.parent;var s=i.context[t];if(!s)i.context[t]=new pt("var",r===M?void 0:r);else if(s.kind==="var")r!==M&&s.set(r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"));if(!i.parent){var a=i.find("window").get();r!==M&&v(a,t,{value:r,writable:!0,enumerable:!0})}}},{key:"let",value:function _let(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("let",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"const",value:function _const(t,r){var i=this.context[t];if(!i||i.get()===$)this.context[t]=new pt("const",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"func",value:function func(t,r){var i=this.context[t];if(!i||i.kind==="var")this.context[t]=new pt("var",r);else throw new SyntaxError("Identifier '".concat(t,"' has already been declared"))}},{key:"with",value:function _with(t){Object.keys(t)&&(this.withContext=t)}}]);return T}();var gs={version:"0.6.11"};function Lt(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};var r=t.res,i=t.err,s=t.ret,a=t.fullRet;return new Promise(function(n,u){var l=function l(g){var P;try{P=e.next(g)}catch(O){return u(O)}return f(P),null};var c=function c(g){var P;try{P=e.throw(g)}catch(O){return u(O)}f(P)};var f=function f(g){if(g.done)return n(a?g:g.value);if(g.value!==ve)return n(g);var P=g.value.RES;return(P&&P.then==="function"?P:Promise.resolve(P)).then(l,c)};if("ret"in t)return n(e.return(s));"err"in t?c(i):l(r)})}function Ve(e,t){var r,tmp,i,tmp1,s,a,n;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return[2];a=t.find(e.name);if(a){if(i)return[2,a];{n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return[2,n]}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return[2]}return[2]})}var xs=Object.freeze(Object.defineProperty({__proto__:null,Identifier:Ve},Symbol.toStringTag,{value:"Module"}));function Oi(e,t){return _ts_generator(this,function(_state){return[2,e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value]})}var bs=Object.freeze(Object.defineProperty({__proto__:null,Literal:Oi},Symbol.toStringTag,{value:"Module"}));function vs(e,t){var r;return _ts_generator(this,function(_state){r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return[2,t.find("this").get()]})}function Ss(e,t){var r,i,s,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=[];i=0;_state.label=1;case 1:if(!(i<e.elements.length))return[3,7];s=e.elements[i];if(!(s.type==="SpreadElement"))return[3,3];_=r.concat;return[5,_ts_values(We(s,t))];case 2:_tmp=r=_.apply(r,[_state.sent()]);return[3,5];case 3:_1=r.push;return[5,_ts_values(p(s,t))];case 4:_tmp=_1.apply(r,[_state.sent()]);_state.label=5;case 5:_tmp;_state.label=6;case 6:i++;return[3,1];case 7:return[2,r]}})}function ws(e,t){var r,i,s,_tmp,a,n,_tmp1,_tmp2,_,u,l,c,c1;return _ts_generator(this,function(_state){switch(_state.label){case 0:r={};i=0;_state.label=1;case 1:if(!(i<e.properties.length))return[3,12];s=e.properties[i];if(!(s.type==="SpreadElement"))return[3,3];_tmp=[r];return[5,_ts_values(We(s,t,{spreadProps:!0}))];case 2:j.apply(void 0,_tmp.concat([_state.sent()]));return[3,11];case 3:a=void 0;n=s.key;if(!s.computed)return[3,5];return[5,_ts_values(p(n,t))];case 4:_tmp1=a=_state.sent();return[3,9];case 5:if(!(n.type==="Identifier"))return[3,6];_tmp2=a=n.name;return[3,8];case 6:_="";return[5,_ts_values(Oi(n))];case 7:_tmp2=a=_+_state.sent();_state.label=8;case 8:_tmp1=_tmp2;_state.label=9;case 9:_tmp1;return[5,_ts_values(p(s.value,t))];case 10:u=_state.sent(),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}_state.label=11;case 11:i++;return[3,1];case 12:return[2,r]}})}function ks(e,t){var r,i;return _ts_generator(this,function(_state){if(e.id&&e.id.name){r=new T(t),i=se(e,r);return[2,(r.const(e.id.name,i),i)]}else return[2,se(e,t)];return[2]})}function Es(e,t){var r,_,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;_=e.operator;switch(_){case"+":return[3,1];case"-":return[3,3];case"!":return[3,5];case"~":return[3,7];case"void":return[3,9];case"typeof":return[3,11];case"delete":return[3,16]}return[3,20];case 1:return[5,_ts_values(p(r,t))];case 2:return[2,+_state.sent()];case 3:return[5,_ts_values(p(r,t))];case 4:return[2,-_state.sent()];case 5:return[5,_ts_values(p(r,t))];case 6:return[2,!_state.sent()];case 7:return[5,_ts_values(p(r,t))];case 8:return[2,~_state.sent()];case 9:return[5,_ts_values(p(r,t))];case 10:return[2,void _state.sent()];case 11:if(!(r.type==="Identifier"))return[3,13];return[5,_ts_values(Ve(r,t,{throwErr:!1}))];case 12:_tmp=_type_of.apply(void 0,[_state.sent()]);return[3,15];case 13:return[5,_ts_values(p(r,t))];case 14:_tmp=_type_of.apply(void 0,[_state.sent()]);_state.label=15;case 15:return[2,_tmp];case 16:if(!(r.type==="MemberExpression"))return[3,18];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 17:return[2,_state.sent().del()];case 18:if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return[5,_ts_values(p(r,t))];case 19:return[2,(_state.sent(),!0)];case 20:throw new SyntaxError("Unexpected token ".concat(e.operator));case 21:return[2]}})}function Cs(e,t){var r,i,s;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.argument;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0}))];case 1:i=_state.sent();return[3,5];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,5];case 4:throw new SyntaxError("Unexpected token");case 5:s=i.get();if(e.operator==="++")return[2,(i.set(s+1),e.prefix?i.get():s)];if(e.operator==="--")return[2,(i.set(s-1),e.prefix?i.get():s)];throw new SyntaxError("Unexpected token ".concat(e.operator))}})}function _s(e,t){var r,i,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.left.type==="PrivateIdentifier"))return[3,2];r=e.left.name;return[5,_ts_values(p(e.right,t))];case 1:_tmp=(i=_state.sent(),i=i[B]||{});return[3,5];case 2:return[5,_ts_values(p(e.left,t))];case 3:r=_state.sent();return[5,_ts_values(p(e.right,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:switch(_tmp,e.operator){case"==":return[2,r==i];case"!=":return[2,r!=i];case"===":return[2,r===i];case"!==":return[2,r!==i];case"<":return[2,r<i];case"<=":return[2,r<=i];case">":return[2,r>i];case">=":return[2,r>=i];case"<<":return[2,r<<i];case">>":return[2,r>>i];case">>>":return[2,r>>>i];case"+":return[2,r+i];case"-":return[2,r-i];case"*":return[2,r*i];case"**":return[2,Math.pow(r,i)];case"/":return[2,r/i];case"%":return[2,r%i];case"|":return[2,r|i];case"^":return[2,r^i];case"&":return[2,r&i];case"in":return[2,r in i];case"instanceof":return[2,_instanceof(r,i)];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function Is(e,t){var r,i,a,n,a1,s,_i_get;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.left;if(!(r.type==="Identifier"))return[3,2];return[5,_ts_values(Ve(r,t,{getVar:!0,throwErr:!1}))];case 1:if(i=_state.sent(),!i){a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));n=t.global().find("window").get();i=new ge(n,r.name)}return[3,7];case 2:if(!(r.type==="MemberExpression"))return[3,4];return[5,_ts_values(qe(r,t,{getVar:!0}))];case 3:i=_state.sent();return[3,7];case 4:return[5,_ts_values(p(e.right,t))];case 5:a1=_state.sent();return[5,_ts_values(W(r,t,{feed:a1}))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(p(e.right,t))];case 8:s=_state.sent();switch(e.operator){case"=":return[2,(i.set(s),i.get())];case"+=":return[2,(i.set(i.get()+s),i.get())];case"-=":return[2,(i.set(i.get()-s),i.get())];case"*=":return[2,(i.set(i.get()*s),i.get())];case"/=":return[2,(i.set(i.get()/s),i.get())];case"%=":return[2,(i.set(i.get()%s),i.get())];case"**=":return[2,(i.set(Math.pow(i.get(),s)),i.get())];case"<<=":return[2,(i.set(i.get()<<s),i.get())];case">>=":return[2,(i.set(i.get()>>s),i.get())];case">>>=":return[2,(i.set(i.get()>>>s),i.get())];case"|=":return[2,(i.set(i.get()|s),i.get())];case"^=":return[2,(i.set(i.get()^s),i.get())];case"&=":return[2,(i.set(i.get()&s),i.get())];case"??=":;return[2,(i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get())];case"&&=":return[2,(i.set(i.get()&&s),i.get())];case"||=":return[2,(i.set(i.get()||s),i.get())];default:throw new SyntaxError("Unexpected token ".concat(e.operator))}return[2]}})}function As(e,t){var _,_tmp,_tmp1,_ref,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.operator;switch(_){case"||":return[3,1];case"&&":return[3,5];case"??":return[3,9]}return[3,14];case 1:return[5,_ts_values(p(e.left,t))];case 2:_tmp=_state.sent();if(_tmp)return[3,4];return[5,_ts_values(p(e.right,t))];case 3:_tmp=_state.sent();_state.label=4;case 4:return[2,_tmp];case 5:return[5,_ts_values(p(e.left,t))];case 6:_tmp1=_state.sent();if(!_tmp1)return[3,8];return[5,_ts_values(p(e.right,t))];case 7:_tmp1=_state.sent();_state.label=8;case 8:return[2,_tmp1];case 9:return[5,_ts_values(p(e.left,t))];case 10:if(!((_ref=_state.sent())!==null&&_ref!==void 0))return[3,11];_tmp2=_ref;return[3,13];case 11:return[5,_ts_values(p(e.right,t))];case 12:_tmp2=_state.sent();_state.label=13;case 13:return[2,_tmp2];case 14:throw new SyntaxError("Unexpected token ".concat(e.operator));case 15:return[2]}})}function qe(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u,_tmp1,l,c,f,l1,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;if(!(e.object.type==="Super"))return[3,2];return[5,_ts_values(Fi(e.object,t,{getProto:!0}))];case 1:_tmp=a=_state.sent();return[3,4];case 2:return[5,_ts_values(p(e.object,t))];case 3:_tmp=a=_state.sent();_state.label=4;case 4:if(_tmp,a===A)return[2,A];if(i)return[2,a];u=!1;if(!e.computed)return[3,6];return[5,_ts_values(p(e.property,t))];case 5:_tmp1=n=_state.sent();return[3,7];case 6:_tmp1=e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name;_state.label=7;case 7:if(_tmp1,u&&(a=a[B]),s){l=Ht(a,n);if(e.object.type==="Super"&&l){c=t.find("this").get(),f=R(n);return[2,(v(c,f,{set:l}),new ge(c,f))]}else return[2,new ge(a,n)]}else{l1=Gt(a,n);if(e.object.type==="Super"&&l1){c1=t.find("this").get();return[2,e.optional&&c1==null?A:l1.call(c1)]}else return[2,e.optional&&a==null?A:a[n]]}return[2]}})}function Ps(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Ls(e,t){var a,r,i,_$n,u,_tmp,l,c,_$n1,s,_$n2,u1,_tmp1,_,_1,u2,l1,u3;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.callee.type==="MemberExpression"))return[3,5];return[5,_ts_values(qe(e.callee,t,{getObj:!0}))];case 1:if(i=_state.sent(),i===A||e.callee.optional&&i==null)return[2,A];u=!1;if(!e.callee.computed)return[3,3];return[5,_ts_values(p(e.callee.property,t))];case 2:_tmp=_$n=_state.sent();return[3,4];case 3:_tmp=e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;_state.label=4;case 4:_tmp;l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return[2,A];if(typeof r!="function")throw new TypeError("".concat(_$n," is not a function"));if(Te in r)throw new TypeError("Class constructor ".concat(_$n," cannot be invoked without 'new'"));return[3,7];case 5:return[5,_ts_values(p(e.callee,t))];case 6:if(r=_state.sent(),r===A||e.optional&&r==null)return[2,A];if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get();_state.label=7;case 7:s=[];_$n2=0;_state.label=8;case 8:if(!(_$n2<e.arguments.length))return[3,14];u1=e.arguments[_$n2];if(!(u1.type==="SpreadElement"))return[3,10];_=s.concat;return[5,_ts_values(We(u1,t))];case 9:_tmp1=s=_.apply(s,[_state.sent()]);return[3,12];case 10:_1=s.push;return[5,_ts_values(p(u1,t))];case 11:_tmp1=_1.apply(s,[_state.sent()]);_state.label=12;case 12:_tmp1;_state.label=13;case 13:_$n2++;return[3,8];case 14:if(!(e.callee.type==="Super"))return[3,16];u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");l1=Xe(i,r,s);return[5,_ts_values(u2(l1))];case 15:return[2,(_state.sent(),t.find("this").set(l1),t.find(me).set(!0),l1)];case 16:try{return[2,r.apply(i,s)]}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){u3=t.global().find("window").get();if(u3&&u3[De])return[2,r.apply(u3[De],s)]}throw n}return[2]}})}function Ts(e,t){var r,s,i,s1,a,_tmp,_,_1;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.callee,t))];case 1:r=_state.sent();if(typeof r!="function"){;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));i=[];s1=0;_state.label=2;case 2:if(!(s1<e.arguments.length))return[3,8];a=e.arguments[s1];if(!(a.type==="SpreadElement"))return[3,4];_=i.concat;return[5,_ts_values(We(a,t))];case 3:_tmp=i=_.apply(i,[_state.sent()]);return[3,6];case 4:_1=i.push;return[5,_ts_values(p(a,t))];case 5:_tmp=_1.apply(i,[_state.sent()]);_state.label=6;case 6:_tmp;_state.label=7;case 7:s1++;return[3,2];case 8:return[2,_construct(r,_to_consumable_array(i))]}})}function Vs(e,t){return _ts_generator(this,function(_state){if(e.meta.name==="new"&&e.property.name==="target")return[2,t.find(ft).get()];if(e.meta.name==="import"&&e.property.name==="meta")return[2,{url:""}];return[2]})}function Ns(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=0;_state.label=1;case 1:if(!(i<e.expressions.length))return[3,4];return[5,_ts_values(p(e.expressions[i],t))];case 2:r=_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2,r]}})}function Rs(e,t){return _ts_generator(this,function(_state){return[2,se(e,t)]})}function Bs(e,t){var r,i,s,a,n,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.quasis.slice(),i=e.expressions.slice();s="";_state.label=1;case 1:if(!(a=r.shift()))return[3,6];return[5,_ts_values(Di(a))];case 2:s+=_state.sent(),n=i.shift();_tmp=n;if(!_tmp)return[3,4];return[5,_ts_values(p(n,t))];case 3:_tmp=s+=_state.sent();_state.label=4;case 4:_tmp;_state.label=5;case 5:return[3,1];case 6:return[2,s]}})}function Os(e,t){var r,i,s,a,n,u,l,_;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.tag,t))];case 1:r=_state.sent(),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});n=e.quasi.expressions,u=[];if(!n)return[3,5];l=0;_state.label=2;case 2:if(!(l<n.length))return[3,5];_=u.push;return[5,_ts_values(p(n[l],t))];case 3:_.apply(u,[_state.sent()]);_state.label=4;case 4:l++;return[3,2];case 5:return[2,r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))]}})}function Di(e,t){return _ts_generator(this,function(_state){return[2,e.value.raw]})}function Ds(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!(e.id&&e.id.name))return[3,2];r=new T(t);return[5,_ts_values(Ke(e,r))];case 1:i=_state.sent();return[2,(r.const(e.id.name,i),i)];case 2:return[5,_ts_values(Ke(e,t))];case 3:return[2,_state.sent()];case 4:return[2]}})}function Fi(e,t){var r,tmp,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return[2,i?s.prototype:s]})}function We(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.argument,t))];case 1:i=_state.sent();if(r.spreadProps)return[2,i];if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return[2,_to_consumable_array(i)]}})}function Fs(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:r=_state.sent();return[2,r===A?void 0:r]}})}function Ms(e,t){var r,i,s,a,n;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();return[5,_ts_values(p(e.source,t))];case 1:i=_state.sent(),s=r.find(Se+i);if(s){n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return[2,!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)]}})}function js(e,t){var r,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:r=_state.sent();if(!e.delegate)return[3,3];return[5,_ts_values(r)];case 2:_tmp=_state.sent();return[3,5];case 3:return[4,r];case 4:_tmp=_state.sent();_state.label=5;case 5:return[2,_tmp]}})}function Us(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:ve.RES=_state.sent();return[4,ve];case 2:return[2,_state.sent()]}})}var $s=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:Ss,ArrowFunctionExpression:Rs,AssignmentExpression:Is,AwaitExpression:Us,BinaryExpression:_s,CallExpression:Ls,ChainExpression:Fs,ClassExpression:Ds,ConditionalExpression:Ps,FunctionExpression:ks,ImportExpression:Ms,LogicalExpression:As,MemberExpression:qe,MetaProperty:Vs,NewExpression:Ts,ObjectExpression:ws,SequenceExpression:Ns,SpreadElement:We,Super:Fi,TaggedTemplateExpression:Os,TemplateElement:Di,TemplateLiteral:Bs,ThisExpression:vs,UnaryExpression:Es,UpdateExpression:Cs,YieldExpression:js},Symbol.toStringTag,{value:"Module"}));function Mi(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,l,c,f,_tmp,f1,_tmp1,g,_tmp2,f2,g1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];l=0;_state.label=1;case 1:if(!(l<e.properties.length))return[3,18];c=e.properties[l];if(!s)return[3,8];if(!(a||i==="var"))return[3,7];if(!(c.type==="Property"))return[3,5];f=c.value;if(!(f.type==="Identifier"))return[3,2];_tmp=t[i](f.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(f,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp=_state.sent();_state.label=4;case 4:_tmp;return[3,7];case 5:return[5,_ts_values(Ne(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 6:_state.sent();_state.label=7;case 7:return[3,17];case 8:if(!(c.type==="Property"))return[3,15];f1=void 0;if(!c.computed)return[3,10];return[5,_ts_values(p(c.key,t))];case 9:_tmp1=f1=_state.sent();return[3,11];case 10:_tmp1=f1=c.key.name;_state.label=11;case 11:_tmp1,u.push(f1);g=c.value;if(!(g.type==="Identifier"))return[3,12];_tmp2=t[i](g.name,n[f1]);return[3,14];case 12:return[5,_ts_values(W(g,t,{kind:i,feed:n[f1]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,17];case 15:f2=j({},n);for(g1=0;g1<u.length;g1++)delete f2[u[g1]];return[5,_ts_values(Ne(c,t,{kind:i,feed:f2}))];case 16:_state.sent();_state.label=17;case 17:l++;return[3,1];case 18:return[2]}})}function ji(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,l,c,_tmp,_tmp1,f,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];l=0;_state.label=1;case 1:if(!(l<e.elements.length))return[3,16];c=e.elements[l];if(!c)return[3,15];if(!s)return[3,6];_tmp=a||i==="var";if(!_tmp)return[3,5];if(!(c.type==="Identifier"))return[3,2];_tmp1=t[i](c.name,a?$:i==="var"?M:void 0);return[3,4];case 2:return[5,_ts_values(W(c,t,{kind:i,hoist:s,onlyBlock:a}))];case 3:_tmp1=_state.sent();_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;return[3,15];case 6:if(!(c.type==="Identifier"))return[3,10];if(!i)return[3,7];t[i](c.name,n[l]);return[3,9];case 7:return[5,_ts_values(Ve(c,t,{getVar:!0}))];case 8:f=_state.sent();f.set(n[l]),u.push(f.get());_state.label=9;case 9:return[3,15];case 10:if(!(c.type==="RestElement"))return[3,12];return[5,_ts_values(Ne(c,t,{kind:i,feed:n.slice(l)}))];case 11:_tmp2=_state.sent();return[3,14];case 12:return[5,_ts_values(W(c,t,{kind:i,feed:n[l]}))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;_state.label=15;case 15:l++;return[3,1];case 16:if(u.length)return[2,u];return[2]}})}function Ne(e,t){var r,i,tmp,s,tmp1,a,tmp2,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;if(!s)return[3,5];_tmp1=a||i==="var";if(!_tmp1)return[3,4];if(!(u.type==="Identifier"))return[3,1];_tmp2=t[i](u.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;return[3,12];case 5:if(!(u.type==="Identifier"))return[3,9];if(!i)return[3,6];_tmp4=t[i](u.name,n);return[3,8];case 6:return[5,_ts_values(Ve(u,t,{getVar:!0}))];case 7:_tmp4=_state.sent().set(n);_state.label=8;case 8:_tmp3=_tmp4;return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp3=_state.sent();_state.label=11;case 11:_tmp=_tmp3;_state.label=12;case 12:_tmp;return[2]}})}function Ui(e,t){var r,tmp,i,tmp1,s,tmp2,a,tmp3,n,u,_tmp,_tmp1,_tmp2,_tmp3,_tmp4;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed;if(!(tmp3===void 0))return[3,2];return[5,_ts_values(p(e.right,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=tmp3;_state.label=3;case 3:n=_tmp,u=e.left;if(!s)return[3,8];_tmp2=a||i==="var";if(!_tmp2)return[3,7];if(!(u.type==="Identifier"))return[3,4];_tmp3=t[i](u.name,a?$:i==="var"?M:void 0);return[3,6];case 4:return[5,_ts_values(W(u,t,{kind:i,hoist:s,onlyBlock:a}))];case 5:_tmp3=_state.sent();_state.label=6;case 6:_tmp2=_tmp3;_state.label=7;case 7:_tmp1=_tmp2;return[3,12];case 8:if(!(u.type==="Identifier"))return[3,9];_tmp4=t[i](u.name,n);return[3,11];case 9:return[5,_ts_values(W(u,t,{kind:i,feed:n}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp1=_tmp4;_state.label=12;case 12:_tmp1;return[2]}})}var qs=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:ji,AssignmentPattern:Ui,ObjectPattern:Mi,RestElement:Ne},Symbol.toStringTag,{value:"Module"}));function Ws(e,t){var r,i,r1;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(r=0;r<e.body.length;r++){i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}r1=0;_state.label=1;case 1:if(!(r1<e.body.length))return[3,4];return[5,_ts_values(p(e.body[r1],t))];case 2:_state.sent();_state.label=3;case 3:r1++;return[3,1];case 4:return[2]}})}var zs=Object.freeze(Object.defineProperty({__proto__:null,Program:Ws},Symbol.toStringTag,{value:"Module"}));var Tt;function p(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e)return[2];Tt||(Tt=j({},Oe,$s,xs,Be,bs,qs,zs));r=Tt[e.type];if(!r)return[3,2];return[5,_ts_values(r(e,t))];case 1:return[2,_state.sent()];case 2:throw new Error("".concat(e.type," isn't implemented"))}})}function Gs(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.expression,t))];case 1:_state.sent();return[2]}})}function le(e,t){var r,tmp,i,tmp1,s,a,_tmp,n,u;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);_tmp=s;if(_tmp)return[3,2];return[5,_ts_values(Ft(e,a,{onlyBlock:!0}))];case 1:_tmp=_state.sent();_state.label=2;case 2:_tmp;n=0;_state.label=3;case 3:if(!(n<e.body.length))return[3,6];return[5,_ts_values(p(e.body[n],a))];case 4:u=_state.sent();if(u===_){if(u.LABEL&&u.LABEL===r.label)return[3,6];return[2,u]}if(u===C||u===w)return[2,u];_state.label=5;case 5:n++;return[3,3];case 6:return[2]}})}function Hs(){return _ts_generator(this,function(_state){return[2]})}function Ks(){return _ts_generator(this,function(_state){debugger;return[2]})}function Qs(e,t){var _tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:if(!e.argument)return[3,2];return[5,_ts_values(p(e.argument,t))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:return[2,(w.RES=_tmp,w)]}})}function Xs(e){var t;return _ts_generator(this,function(_state){return[2,(_.LABEL=(t=e.label)==null?void 0:t.name,_)]})}function Ys(e){var t;return _ts_generator(this,function(_state){return[2,(C.LABEL=(t=e.label)==null?void 0:t.name,C)]})}function Zs(e,t){var r;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=e.label.name;if(!(e.body.type==="WhileStatement"))return[3,2];return[5,_ts_values(Hi(e.body,t,{label:r}))];case 1:return[2,_state.sent()];case 2:if(!(e.body.type==="DoWhileStatement"))return[3,4];return[5,_ts_values(Ki(e.body,t,{label:r}))];case 3:return[2,_state.sent()];case 4:if(!(e.body.type==="ForStatement"))return[3,6];return[5,_ts_values(Qi(e.body,t,{label:r}))];case 5:return[2,_state.sent()];case 6:if(!(e.body.type==="ForInStatement"))return[3,8];return[5,_ts_values(Xi(e.body,t,{label:r}))];case 7:return[2,_state.sent()];case 8:if(!(e.body.type==="ForOfStatement"))return[3,10];return[5,_ts_values(Yi(e.body,t,{label:r}))];case 9:return[2,_state.sent()];case 10:if(!(e.body.type==="BlockStatement"))return[3,12];return[5,_ts_values(le(e.body,t,{label:r}))];case 11:return[2,_state.sent()];case 12:if(!(e.body.type==="WithStatement"))return[3,14];return[5,_ts_values($i(e.body,t,{label:r}))];case 13:return[2,_state.sent()];case 14:if(!(e.body.type==="IfStatement"))return[3,16];return[5,_ts_values(qi(e.body,t,{label:r}))];case 15:return[2,_state.sent()];case 16:if(!(e.body.type==="SwitchStatement"))return[3,18];return[5,_ts_values(Wi(e.body,t,{label:r}))];case 17:return[2,_state.sent()];case 18:if(!(e.body.type==="TryStatement"))return[3,20];return[5,_ts_values(zi(e.body,t,{label:r}))];case 19:return[2,_state.sent()];case 20:throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}})}function $i(e,t){var r,i,_1,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);_1=i.with;return[5,_ts_values(p(e.object,t))];case 1:_1.apply(i,[_state.sent()]);return[5,_ts_values(p(e.body,i))];case 2:s=_state.sent();if(s===_)return[2,s.LABEL&&s.LABEL===r.label?void 0:s];if(s===C||s===w)return[2,s];return[2]}})}function qi(e,t){var r,i,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.test,t))];case 1:if(!_state.sent())return[3,3];return[5,_ts_values(p(e.consequent,t))];case 2:_tmp=i=_state.sent();return[3,5];case 3:return[5,_ts_values(p(e.alternate,t))];case 4:_tmp=i=_state.sent();_state.label=5;case 5:if(_tmp,i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Wi(e,t){var r,i,s,a,n,u,_tmp,_tmp1,l,n1,u1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.discriminant,t))];case 1:i=_state.sent();s=!1,a=-1;n=0;_state.label=2;case 2:if(!(n<e.cases.length))return[3,9];u=e.cases[n];if(!u.test)return[3,5];_tmp1=!s;if(!_tmp1)return[3,4];return[5,_ts_values(p(u.test,t))];case 3:_tmp1=_state.sent()===i;_state.label=4;case 4:_tmp=_tmp1&&(s=!0,a=-1);return[3,6];case 5:_tmp=a=n;_state.label=6;case 6:if(!(_tmp,s))return[3,8];return[5,_ts_values(Vt(u,t))];case 7:l=_state.sent();if(l===_){if(l.LABEL===r.label)return[3,9];return[2,l]}if(l===C||l===w)return[2,l];_state.label=8;case 8:n++;return[3,2];case 9:if(!(!s&&a!==-1))return[3,13];n1=a;_state.label=10;case 10:if(!(n1<e.cases.length))return[3,13];return[5,_ts_values(Vt(e.cases[n1],t))];case 11:u1=_state.sent();if(u1===_){if(u1.LABEL===r.label)return[3,13];return[2,u1]}if(u1===C||u1===w)return[2,u1];_state.label=12;case 12:n1++;return[3,10];case 13:return[2]}})}function Vt(e,t){var r,i;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=0;_state.label=1;case 1:if(!(r<e.consequent.length))return[3,4];return[5,_ts_values(p(e.consequent[r],t))];case 2:i=_state.sent();if(i===_||i===C||i===w)return[2,i];_state.label=3;case 3:r++;return[3,1];case 4:return[2]}})}function Js(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.argument,t))];case 1:throw _state.sent()}})}function zi(e,t){var r,i,s,a,n,u,_tmp;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:_state.trys.push([1,3,10,13]);return[5,_ts_values(le(e.block,t))];case 2:i=_state.sent();return[3,13];case 3:s=_state.sent();if(!e.handler)return[3,8];a=new T(t),n=e.handler.param;if(!n)return[3,6];if(!(n.type==="Identifier"))return[3,4];u=n.name;a.var(u,s);return[3,6];case 4:return[5,_ts_values(W(n,t,{feed:s}))];case 5:_state.sent();_state.label=6;case 6:return[5,_ts_values(Gi(e.handler,a))];case 7:i=_state.sent();return[3,9];case 8:throw s;case 9:return[3,13];case 10:_tmp=e.finalizer;if(!_tmp)return[3,12];return[5,_ts_values(le(e.finalizer,t))];case 11:_tmp=i=_state.sent();_state.label=12;case 12:_tmp;return[7];case 13:if(i===_)return[2,i.LABEL&&i.LABEL===r.label?void 0:i];if(i===C||i===w)return[2,i];return[2]}})}function Gi(e,t){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(le(e.body,t,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function Hi(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.test,t))];case 2:if(!_state.sent())return[3,5];return[5,_ts_values(p(e.body,t))];case 3:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,4];return[2,i]}else if(i===w)return[2,i];_state.label=4;case 4:return[3,1];case 5:return[2]}})}function Ki(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_state.label=1;case 1:return[5,_ts_values(p(e.body,t))];case 2:i=_state.sent();if(i===_){if(i.LABEL===r.label)return[3,5];return[2,i]}else if(i===C){if(i.LABEL===r.label)return[3,3];return[2,i]}else if(i===w)return[2,i];_state.label=3;case 3:return[5,_ts_values(p(e.test,t))];case 4:if(_state.sent())return[3,1];_state.label=5;case 5:return[2]}})}function Qi(e,t){var r,i,_tmp,_tmp1,s,a,_tmp2,_tmp3;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=new T(t);if(!e.init)return[3,2];return[5,_ts_values(p(e.init,i))];case 1:_tmp=_state.sent();return[3,3];case 2:_tmp=void 0;_state.label=3;case 3:_tmp;_state.label=4;case 4:_tmp1=!e.test;if(_tmp1)return[3,6];return[5,_ts_values(p(e.test,i))];case 5:_tmp1=_state.sent();_state.label=6;case 6:if(!_tmp1)return[3,15];s=new T(i);a=void 0;if(!(e.body.type==="BlockStatement"))return[3,8];return[5,_ts_values(le(e.body,s,{invasived:!0}))];case 7:_tmp2=a=_state.sent();return[3,10];case 8:return[5,_ts_values(p(e.body,s))];case 9:_tmp2=a=_state.sent();_state.label=10;case 10:if(_tmp2,a===_){if(a.LABEL===r.label)return[3,15];return[2,a]}else if(a===C){if(a.LABEL===r.label)return[3,11];return[2,a]}else if(a===w)return[2,a];_state.label=11;case 11:if(!e.update)return[3,13];return[5,_ts_values(p(e.update,i))];case 12:_tmp3=_state.sent();return[3,14];case 13:_tmp3=void 0;_state.label=14;case 14:_tmp3;return[3,4];case 15:return[2]}})}function Xi(e,t){var r,_tmp,_tmp1,_i,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_tmp=[];return[5,_ts_values(p(e.right,t))];case 1:for(_tmp1 in _state.sent())_tmp.push(_tmp1);_i=0;_state.label=2;case 2:if(!(_i<_tmp.length))return[3,5];i=_tmp[_i];return[5,_ts_values(Mt(e,t,{value:i}))];case 3:s=_state.sent();if(s===_){if(s.LABEL===r.label)return[3,5];return[2,s]}else if(s===C){if(s.LABEL===r.label)return[3,4];return[2,s]}else if(s===w)return[2,s];_state.label=4;case 4:_i++;return[3,2];case 5:return[2]}})}function Yi(e,t){var r,i,_iteratorNormalCompletion,_didIteratorError,_iteratorError,s,a,n,_iterator,_step,s1,a1,err;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};return[5,_ts_values(p(e.right,t))];case 1:i=_state.sent();_iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;if(!e.await)return[3,8];s=Lr(i);ve.RES=s.next();return[4,ve];case 2:a=_state.sent();_state.label=3;case 3:if(!!a.done)return[3,7];return[5,_ts_values(Mt(e,t,{value:a.value}))];case 4:n=_state.sent();if(n===_){if(n.LABEL===r.label)return[3,7];return[2,n]}else if(n===C){if(n.LABEL===r.label)return[3,5];return[2,n]}else if(n===w)return[2,n];_state.label=5;case 5:ve.RES=s.next();return[4,ve];case 6:a=_state.sent();return[3,3];case 7:return[3,15];case 8:_state.trys.push([8,13,14,15]);_iterator=i[Symbol.iterator]();_state.label=9;case 9:if(!!(_iteratorNormalCompletion=(_step=_iterator.next()).done))return[3,12];s1=_step.value;return[5,_ts_values(Mt(e,t,{value:s1}))];case 10:a1=_state.sent();if(a1===_){if(a1.LABEL===r.label)return[3,12];return[2,a1]}else if(a1===C){if(a1.LABEL===r.label)return[3,11];return[2,a1]}else if(a1===w)return[2,a1];_state.label=11;case 11:_iteratorNormalCompletion=true;return[3,9];case 12:return[3,15];case 13:err=_state.sent();_didIteratorError=true;_iteratorError=err;return[3,15];case 14:try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}return[7];case 15:return[2]}})}function ea(e,t){return _ts_generator(this,function(_state){t.func(e.id.name,se(e,t));return[2]})}function we(e,t){var r,i;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=0;_state.label=1;case 1:if(!(i<e.declarations.length))return[3,4];return[5,_ts_values(Zi(e.declarations[i],t,j({kind:e.kind},r)))];case 2:_state.sent();_state.label=3;case 3:i++;return[3,1];case 4:return[2]}})}function Zi(e,t){var r,tmp,i,tmp1,s,tmp2,a,n,_tmp,_tmp1,u,l,_tmp2,c;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(!s)return[3,5];_tmp=a||i==="var";if(!_tmp)return[3,4];if(!(e.id.type==="Identifier"))return[3,1];_tmp1=t[i](e.id.name,a?$:i==="var"?M:void 0);return[3,3];case 1:return[5,_ts_values(W(e.id,t,{kind:i,hoist:s,onlyBlock:a}))];case 2:_tmp1=_state.sent();_state.label=3;case 3:_tmp=_tmp1;_state.label=4;case 4:_tmp;return[3,11];case 5:u="feed"in r;if(!u)return[3,6];_tmp2=n;return[3,8];case 6:return[5,_ts_values(p(e.init,t))];case 7:_tmp2=_state.sent();_state.label=8;case 8:l=_tmp2;if(!(e.id.type==="Identifier"))return[3,9];c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0});return[3,11];case 9:return[5,_ts_values(W(e.id,t,{kind:i,feed:l}))];case 10:_state.sent();_state.label=11;case 11:return[2]}})}function ta(e,t){var _,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=t.func;_tmp=[e.id.name];return[5,_ts_values(Ke(e,t))];case 1:_.apply(t,_tmp.concat([_state.sent()]));return[2]}})}function Ji(e,t){var r,i,s,a,n,_tmp,_tmp1,_tmp2;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;a=0;_state.label=1;case 1:if(!(a<e.body.length))return[3,11];n=e.body[a];if(!(n.type==="MethodDefinition"))return[3,3];return[5,_ts_values(er(n,t,{klass:i,superClass:s}))];case 2:_tmp=_state.sent();return[3,9];case 3:if(!(n.type==="PropertyDefinition"&&n.static))return[3,5];return[5,_ts_values(Nt(n,t,{klass:i,superClass:s}))];case 4:_tmp1=_state.sent();return[3,8];case 5:_tmp2=n.type==="StaticBlock";if(!_tmp2)return[3,7];return[5,_ts_values(tr(n,t,{klass:i}))];case 6:_tmp2=_state.sent();_state.label=7;case 7:_tmp1=_tmp2;_state.label=8;case 8:_tmp=_tmp1;_state.label=9;case 9:_tmp;_state.label=10;case 10:a++;return[3,1];case 11:return[2]}})}function er(e,t){var r,i,s,a,n,u,l,c,c1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);l=se(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}return[2]}})}function Nt(e,t){var r,i,s,a,n,u,l,_tmp,_tmp1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=r.superClass;n=!1;if(!e.computed)return[3,2];return[5,_ts_values(p(e.key,t))];case 1:a=_state.sent();return[3,3];case 2:if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");_state.label=3;case 3:u=new T(t,!0);u.const("this",i);l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]);if(!e.value)return[3,7];if(!(e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"))return[3,4];_tmp1=l[a]=se(e.value,u,{superClass:s});return[3,6];case 4:return[5,_ts_values(p(e.value,u))];case 5:_tmp1=l[a]=_state.sent();_state.label=6;case 6:_tmp=_tmp1;return[3,8];case 7:_tmp=l[a]=void 0;_state.label=8;case 8:_tmp;return[2]}})}function tr(e,t){var r,i,s;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};i=r.klass,s=new T(t,!0);s.const("this",i);return[5,_ts_values(le(e,s,{invasived:!0}))];case 1:return[2,_state.sent()]}})}function ia(e,t){var i,s,a,a1,n,u;return _ts_generator(this,function(_state){i=t.global().find(Se+e.source.value);if(i){a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(a1=0;a1<e.specifiers.length;a1++){n=e.specifiers[a1];u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}return[2]})}function ra(e,t){var r,i,_tmp,_tmp1,s,a;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];_tmp=(i=se(e.declaration,t),t.func(e.declaration.id.name,i));return[3,6];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:_tmp1=(i=_state.sent(),t.func(e.declaration.id.name,i));return[3,5];case 3:return[5,_ts_values(p(e.declaration,t))];case 4:_tmp1=i=_state.sent();_state.label=5;case 5:_tmp=_tmp1;_state.label=6;case 6:_tmp;s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}return[2]}})}function sa(e,t){var r,i,s,a,i1,s1,a1,i2,s2,a2,n,u,i3,s3,a3,n1,u1,l;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=t.global();if(!e.declaration)return[3,6];if(!(e.declaration.type==="FunctionDeclaration"))return[3,1];i=se(e.declaration,t);t.func(e.declaration.id.name,i);s=r.find(G);if(s){a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}return[3,5];case 1:if(!(e.declaration.type==="ClassDeclaration"))return[3,3];return[5,_ts_values(Ke(e.declaration,t))];case 2:i1=_state.sent();t.func(e.declaration.id.name,i1);s1=r.find(G);if(s1){a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}return[3,5];case 3:if(!(e.declaration.type==="VariableDeclaration"))return[3,5];return[5,_ts_values(we(e.declaration,t))];case 4:_state.sent();i2=r.find(G);if(i2){s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(a2=0;a2<e.declaration.declarations.length;a2++){n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}_state.label=5;case 5:return[3,7];case 6:if(e.specifiers){i3=r.find(G);if(i3){s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(a3=0;a3<e.specifiers.length;a3++){n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}_state.label=7;case 7:return[2]}})}function aa(e,t){var r,i,s,n,a,n1;return _ts_generator(this,function(_state){r=t.global(),i=r.find(Se+e.source.value);if(i){n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));a=r.find(G);if(a){n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}return[2]})}function xe(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getVar,i=tmp===void 0?!1:tmp,tmp1=r.throwErr,s=tmp1===void 0?!0:tmp1;if(e.name==="undefined")return;var a=t.find(e.name);if(a){if(i)return a;{var n=a.get();if(n===$)throw new ReferenceError("".concat(e.name," is not defined"));return n}}else{if(s)throw new ReferenceError("".concat(e.name," is not defined"));return}}var na=Object.freeze(Object.defineProperty({__proto__:null,Identifier:xe},Symbol.toStringTag,{value:"Module"}));function ir(e,t){return e.regex?new RegExp(e.regex.pattern,e.regex.flags):e.value}var oa=Object.freeze(Object.defineProperty({__proto__:null,Literal:ir},Symbol.toStringTag,{value:"Module"}));function ua(e,t){var r=t.find(me);if(r&&r.get()!==!0)throw new ReferenceError("Must call super constructor in derived class before accessing 'this' or returning from derived constructor");return t.find("this").get()}function la(e,t){var r=[];for(var i=0;i<e.elements.length;i++){var s=e.elements[i];s.type==="SpreadElement"?r=r.concat(Ge(s,t)):r.push(d(s,t))}return r}function ca(e,t){var r={};for(var i=0;i<e.properties.length;i++){var s=e.properties[i];if(s.type==="SpreadElement")j(r,Ge(s,t,{spreadProps:!0}));else{var a=void 0;var n=s.key;s.computed?a=d(n,t):n.type==="Identifier"?a=n.name:a=""+ir(n);var u=d(s.value,t),l=s.kind;if(l==="init")r[a]=u;else if(l==="get"){var c=pe(r,a);v(r,a,{get:u,set:c&&c.set,enumerable:!0,configurable:!0})}else{var c1=pe(r,a);v(r,a,{get:c1&&c1.get,set:u,enumerable:!0,configurable:!0})}}}return r}function fa(e,t){if(e.id&&e.id.name){var r=new T(t),i=re(e,r);return r.const(e.id.name,i),i}else return re(e,t)}function ha(e,t){var r=e.argument;switch(e.operator){case"+":return+d(r,t);case"-":return-d(r,t);case"!":return!d(r,t);case"~":return~d(r,t);case"void":return void d(r,t);case"typeof":return r.type==="Identifier"?_type_of(xe(r,t,{throwErr:!1})):_type_of(d(r,t));case"delete":if(r.type==="MemberExpression")return ze(r,t,{getVar:!0}).del();if(r.type==="Identifier")throw new SyntaxError("Delete of an unqualified identifier in strict mode");return d(r,t),!0;default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function pa(e,t){var r=e.argument;var i;if(r.type==="Identifier")i=xe(r,t,{getVar:!0});else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else throw new SyntaxError("Unexpected token");var s=i.get();if(e.operator==="++")return i.set(s+1),e.prefix?i.get():s;if(e.operator==="--")return i.set(s-1),e.prefix?i.get():s;throw new SyntaxError("Unexpected token ".concat(e.operator))}function da(e,t){var r,i;switch(e.left.type==="PrivateIdentifier"?(r=e.left.name,i=d(e.right,t),i=i[B]||{}):(r=d(e.left,t),i=d(e.right,t)),e.operator){case"==":return r==i;case"!=":return r!=i;case"===":return r===i;case"!==":return r!==i;case"<":return r<i;case"<=":return r<=i;case">":return r>i;case">=":return r>=i;case"<<":return r<<i;case">>":return r>>i;case">>>":return r>>>i;case"+":return r+i;case"-":return r-i;case"*":return r*i;case"**":return Math.pow(r,i);case"/":return r/i;case"%":return r%i;case"|":return r|i;case"^":return r^i;case"&":return r&i;case"in":return r in i;case"instanceof":return _instanceof(r,i);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ya(e,t){var r=e.left;var i;if(r.type==="Identifier"){if(i=xe(r,t,{getVar:!0,throwErr:!1}),!i){var a=t.find(H);if(a&&a.get())throw new ReferenceError("".concat(r.name," is not defined"));var n=t.global().find("window").get();i=new ge(n,r.name)}}else if(r.type==="MemberExpression")i=ze(r,t,{getVar:!0});else{var a1=d(e.right,t);return q(r,t,{feed:a1})}var s=d(e.right,t);switch(e.operator){case"=":return i.set(s),i.get();case"+=":return i.set(i.get()+s),i.get();case"-=":return i.set(i.get()-s),i.get();case"*=":return i.set(i.get()*s),i.get();case"/=":return i.set(i.get()/s),i.get();case"%=":return i.set(i.get()%s),i.get();case"**=":return i.set(Math.pow(i.get(),s)),i.get();case"<<=":return i.set(i.get()<<s),i.get();case">>=":return i.set(i.get()>>s),i.get();case">>>=":return i.set(i.get()>>>s),i.get();case"|=":return i.set(i.get()|s),i.get();case"^=":return i.set(i.get()^s),i.get();case"&=":return i.set(i.get()&s),i.get();case"??=":var _i_get;return i.set((_i_get=i.get())!==null&&_i_get!==void 0?_i_get:s),i.get();case"&&=":return i.set(i.get()&&s),i.get();case"||=":return i.set(i.get()||s),i.get();default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ma(e,t){switch(e.operator){case"||":return d(e.left,t)||d(e.right,t);case"&&":return d(e.left,t)&&d(e.right,t);case"??":var _d;return(_d=d(e.left,t))!==null&&_d!==void 0?_d:d(e.right,t);default:throw new SyntaxError("Unexpected token ".concat(e.operator))}}function ze(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getObj,i=tmp===void 0?!1:tmp,tmp1=r.getVar,s=tmp1===void 0?!1:tmp1;var a;if(e.object.type==="Super"?a=sr(e.object,t,{getProto:!0}):a=d(e.object,t),a===A)return A;if(i)return a;var n,u=!1;if(e.computed?n=d(e.property,t):e.property.type==="PrivateIdentifier"?(n=e.property.name,u=!0):n=e.property.name,u&&(a=a[B]),s){var l=Ht(a,n);if(e.object.type==="Super"&&l){var c=t.find("this").get(),f=R(n);return v(c,f,{set:l}),new ge(c,f)}else return new ge(a,n)}else{var l1=Gt(a,n);if(e.object.type==="Super"&&l1){var c1=t.find("this").get();return e.optional&&c1==null?A:l1.call(c1)}else return e.optional&&a==null?A:a[n]}}function ga(e,t){return d(e.test,t)?d(e.consequent,t):d(e.alternate,t)}function xa(e,t){var a;var r,i;if(e.callee.type==="MemberExpression"){if(i=ze(e.callee,t,{getObj:!0}),i===A||e.callee.optional&&i==null)return A;var _$n,u=!1;e.callee.computed?_$n=d(e.callee.property,t):e.callee.property.type==="PrivateIdentifier"?(_$n=e.callee.property.name,u=!0):_$n=e.callee.property.name;var l=i;if(u&&(l=l[B]),e.callee.object.type==="Super"){var c=t.find("this").get();r=l[_$n].bind(c)}else r=l[_$n];if(e.optional&&r==null)return A;if(typeof r!="function")throw new TypeError("".concat(_$n," is not a function"));if(Te in r)throw new TypeError("Class constructor ".concat(_$n," cannot be invoked without 'new'"))}else{if(r=d(e.callee,t),r===A||e.optional&&r==null)return A;if(typeof r!="function"||e.callee.type!=="Super"&&Te in r){var _$n1;if(e.callee.type==="Identifier")_$n1=e.callee.name;else try{_$n1=JSON.stringify(r)}catch(e){_$n1=""+r}throw typeof r!="function"?new TypeError("".concat(_$n1," is not a function")):new TypeError("Class constructor ".concat(_$n1," cannot be invoked without 'new'"))}e.callee.type==="Super"?i=t.find("this").get():i=!!((a=t.find(H))!=null&&a.get())||!!(r&&r[ht])?void 0:t.find("this").get()}var s=[];for(var _$n2=0;_$n2<e.arguments.length;_$n2++){var u1=e.arguments[_$n2];u1.type==="SpreadElement"?s=s.concat(Ge(u1,t)):s.push(d(u1,t))}if(e.callee.type==="Super"){var u2=t.find(me).get();if(u2===!0)throw new ReferenceError("Super constructor may only be called once");var l1=Xe(i,r,s);return u2(l1),t.find("this").set(l1),t.find(me).set(!0),l1}try{return r.apply(i,s)}catch(n){if(_instanceof(n,TypeError)&&n.message==="Illegal invocation"&&r.toString().indexOf("[native code]")!==-1){var u3=t.global().find("window").get();if(u3&&u3[De])return r.apply(u3[De],s)}throw n}}function ba(e,t){var r=d(e.callee,t);if(typeof r!="function"){var s;if(e.callee.type==="Identifier")s=e.callee.name;else try{s=JSON.stringify(r)}catch(e){s=""+r}throw new TypeError("".concat(s," is not a constructor"))}else if(r[ct])throw new TypeError("".concat(r.name||"(intermediate value)"," is not a constructor"));var i=[];for(var s1=0;s1<e.arguments.length;s1++){var a=e.arguments[s1];a.type==="SpreadElement"?i=i.concat(Ge(a,t)):i.push(d(a,t))}return _construct(r,_to_consumable_array(i))}function va(e,t){if(e.meta.name==="new"&&e.property.name==="target")return t.find(ft).get();if(e.meta.name==="import"&&e.property.name==="meta")return{url:""}}function Sa(e,t){var r;for(var i=0;i<e.expressions.length;i++)r=d(e.expressions[i],t);return r}function wa(e,t){return re(e,t)}function ka(e,t){var r=e.quasis.slice(),i=e.expressions.slice();var s="",a,n;for(;a=r.shift();)s+=rr(a),n=i.shift(),n&&(s+=d(n,t));return s}function Ea(e,t){var r=d(e.tag,t),i=e.quasi.quasis,s=i.map(function(l){return l.value.cooked}),a=i.map(function(l){return l.value.raw});v(s,"raw",{value:Qe(a)});var n=e.quasi.expressions,u=[];if(n)for(var l=0;l<n.length;l++)u.push(d(n[l],t));return r.apply(void 0,[Qe(s)].concat(_to_consumable_array(u)))}function rr(e,t){return e.value.raw}function Ca(e,t){if(e.id&&e.id.name){var r=new T(t),i=He(e,r);return r.const(e.id.name,i),i}else return He(e,t)}function sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.getProto,i=tmp===void 0?!1:tmp,s=t.find(lt).get();return i?s.prototype:s}function Ge(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.argument,t);if(r.spreadProps)return i;if(typeof Symbol=="function"&&typeof i[Symbol.iterator]!="function")throw new TypeError("Spread syntax requires ...iterable[Symbol.iterator] to be a function");return _to_consumable_array(i)}function _a(e,t){var r=d(e.expression,t);return r===A?void 0:r}function Ia(e,t){var r=t.global(),i=d(e.source,t),s=r.find(Se+i);var a;if(s){var n=s.get();n&&(typeof n=="function"?a=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(a=n))}return!a||(typeof a==="undefined"?"undefined":_type_of(a))!="object"?Promise.reject(new TypeError('Failed to resolve module specifier "'.concat(i,'"'))):Promise.resolve(a)}var Aa=Object.freeze(Object.defineProperty({__proto__:null,ArrayExpression:la,ArrowFunctionExpression:wa,AssignmentExpression:ya,BinaryExpression:da,CallExpression:xa,ChainExpression:_a,ClassExpression:Ca,ConditionalExpression:ga,FunctionExpression:fa,ImportExpression:Ia,LogicalExpression:ma,MemberExpression:ze,MetaProperty:va,NewExpression:ba,ObjectExpression:ca,SequenceExpression:Sa,SpreadElement:Ge,Super:sr,TaggedTemplateExpression:Ea,TemplateElement:rr,TemplateLiteral:ka,ThisExpression:ua,UnaryExpression:ha,UpdateExpression:pa},Symbol.toStringTag,{value:"Module"}));function ar(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?{}:tmp3,u=[];for(var l=0;l<e.properties.length;l++){var c=e.properties[l];if(s){if(a||i==="var")if(c.type==="Property"){var f=c.value;f.type==="Identifier"?t[i](f.name,a?$:i==="var"?M:void 0):q(f,t,{kind:i,hoist:s,onlyBlock:a})}else Re(c,t,{kind:i,hoist:s,onlyBlock:a})}else if(c.type==="Property"){var f1=void 0;c.computed?f1=d(c.key,t):f1=c.key.name,u.push(f1);var g=c.value;g.type==="Identifier"?t[i](g.name,n[f1]):q(g,t,{kind:i,feed:n[f1]})}else{var f2=j({},n);for(var g1=0;g1<u.length;g1++)delete f2[u[g1]];Re(c,t,{kind:i,feed:f2})}}}function nr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=[];for(var l=0;l<e.elements.length;l++){var c=e.elements[l];if(c)if(s)(a||i==="var")&&(c.type==="Identifier"?t[i](c.name,a?$:i==="var"?M:void 0):q(c,t,{kind:i,hoist:s,onlyBlock:a}));else if(c.type==="Identifier")if(i)t[i](c.name,n[l]);else{var f=xe(c,t,{getVar:!0});f.set(n[l]),u.push(f.get())}else c.type==="RestElement"?Re(c,t,{kind:i,feed:n.slice(l)}):q(c,t,{kind:i,feed:n[l]})}if(u.length)return u}function Re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.kind,tmp=r.hoist,s=tmp===void 0?!1:tmp,tmp1=r.onlyBlock,a=tmp1===void 0?!1:tmp1,tmp2=r.feed,n=tmp2===void 0?[]:tmp2,u=e.argument;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?i?t[i](u.name,n):xe(u,t,{getVar:!0}).set(n):q(u,t,{kind:i,feed:n})}function or(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,tmp3=r.feed,n=tmp3===void 0?d(e.right,t):tmp3,u=e.left;s?(a||i==="var")&&(u.type==="Identifier"?t[i](u.name,a?$:i==="var"?M:void 0):q(u,t,{kind:i,hoist:s,onlyBlock:a})):u.type==="Identifier"?t[i](u.name,n):q(u,t,{kind:i,feed:n})}var Pa=Object.freeze(Object.defineProperty({__proto__:null,ArrayPattern:nr,AssignmentPattern:or,ObjectPattern:ar,RestElement:Re},Symbol.toStringTag,{value:"Module"}));function La(e,t){for(var r=0;r<e.body.length;r++){var i=e.body[r];if(i.type==="ExpressionStatement"&&i.directive)i.directive==="use strict"&&!t.find(H)&&t.const(H,!0);else break}for(var r1=0;r1<e.body.length;r1++)d(e.body[r1],t)}var Ta=Object.freeze(Object.defineProperty({__proto__:null,Program:La},Symbol.toStringTag,{value:"Module"}));var Rt;function d(e,t){if(!e)return;Rt||(Rt=j({},Er,Aa,na,kr,oa,Pa,Ta));var r=Rt[e.type];if(r)return r(e,t);throw new Error("".concat(e.type," isn't implemented"))}function Va(e,t){d(e.expression,t)}function ce(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.invasived,i=tmp===void 0?!1:tmp,tmp1=r.hoisted,s=tmp1===void 0?!1:tmp1,a=i?t:new T(t);s||Dt(e,a,{onlyBlock:!0});for(var n=0;n<e.body.length;n++){var u=d(e.body[n],a);if(u===_){if(u.LABEL&&u.LABEL===r.label)break;return u}if(u===C||u===w)return u}}function Na(){}function Ra(){debugger}function Ba(e,t){return w.RES=e.argument?d(e.argument,t):void 0,w}function Oa(e){var t;return _.LABEL=(t=e.label)==null?void 0:t.name,_}function Da(e){var t;return C.LABEL=(t=e.label)==null?void 0:t.name,C}function Fa(e,t){var r=e.label.name;if(e.body.type==="WhileStatement")return pr(e.body,t,{label:r});if(e.body.type==="DoWhileStatement")return dr(e.body,t,{label:r});if(e.body.type==="ForStatement")return yr(e.body,t,{label:r});if(e.body.type==="ForInStatement")return mr(e.body,t,{label:r});if(e.body.type==="ForOfStatement")return gr(e.body,t,{label:r});if(e.body.type==="BlockStatement")return ce(e.body,t,{label:r});if(e.body.type==="WithStatement")return ur(e.body,t,{label:r});if(e.body.type==="IfStatement")return lr(e.body,t,{label:r});if(e.body.type==="SwitchStatement")return cr(e.body,t,{label:r});if(e.body.type==="TryStatement")return fr(e.body,t,{label:r});throw new SyntaxError("".concat(e.body.type," cannot be labeled"))}function ur(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);i.with(d(e.object,t));var s=d(e.body,i);if(s===_)return s.LABEL&&s.LABEL===r.label?void 0:s;if(s===C||s===w)return s}function lr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;if(d(e.test,t)?i=d(e.consequent,t):i=d(e.alternate,t),i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function cr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.discriminant,t);var s=!1,a=-1;for(var n=0;n<e.cases.length;n++){var u=e.cases[n];if(u.test?!s&&d(u.test,t)===i&&(s=!0,a=-1):a=n,s){var l=Bt(u,t);if(l===_){if(l.LABEL===r.label)break;return l}if(l===C||l===w)return l}}if(!s&&a!==-1)for(var n1=a;n1<e.cases.length;n1++){var u1=Bt(e.cases[n1],t);if(u1===_){if(u1.LABEL===r.label)break;return u1}if(u1===C||u1===w)return u1}}function Bt(e,t){for(var r=0;r<e.consequent.length;r++){var i=d(e.consequent[r],t);if(i===_||i===C||i===w)return i}}function Ma(e,t){throw d(e.argument,t)}function fr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i;try{i=ce(e.block,t)}catch(s){if(e.handler){var a=new T(t),n=e.handler.param;if(n)if(n.type==="Identifier"){var u=n.name;a.var(u,s)}else q(n,t,{feed:s});i=hr(e.handler,a)}else throw s}finally{e.finalizer&&(i=ce(e.finalizer,t))}if(i===_)return i.LABEL&&i.LABEL===r.label?void 0:i;if(i===C||i===w)return i}function hr(e,t){return ce(e.body,t,{invasived:!0})}function pr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(;d(e.test,t);){var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}}function dr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};do{var i=d(e.body,t);if(i===_){if(i.LABEL===r.label)break;return i}else if(i===C){if(i.LABEL===r.label)continue;return i}else if(i===w)return i}while(d(e.test,t))}function yr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=new T(t);for(e.init?d(e.init,i):void 0;!e.test||d(e.test,i);e.update?d(e.update,i):void 0){var s=new T(i);var a=void 0;if(e.body.type==="BlockStatement"?a=ce(e.body,s,{invasived:!0}):a=d(e.body,s),a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}function mr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i in d(e.right,t)){var s=wr(e,t,{value:i});if(s===_){if(s.LABEL===r.label)break;return s}else if(s===C){if(s.LABEL===r.label)continue;return s}else if(s===w)return s}}function gr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=d(e.right,t);var _iteratorNormalCompletion=true,_didIteratorError=false,_iteratorError=undefined;try{for(var _iterator=i[Symbol.iterator](),_step;!(_iteratorNormalCompletion=(_step=_iterator.next()).done);_iteratorNormalCompletion=true){var s=_step.value;var a=wr(e,t,{value:s});if(a===_){if(a.LABEL===r.label)break;return a}else if(a===C){if(a.LABEL===r.label)continue;return a}else if(a===w)return a}}catch(err){_didIteratorError=true;_iteratorError=err}finally{try{if(!_iteratorNormalCompletion&&_iterator.return!=null){_iterator.return()}}finally{if(_didIteratorError){throw _iteratorError}}}}function ja(e,t){t.func(e.id.name,re(e,t))}function ke(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};for(var i=0;i<e.declarations.length;i++)xr(e.declarations[i],t,j({kind:e.kind},r))}function xr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.kind,i=tmp===void 0?"var":tmp,tmp1=r.hoist,s=tmp1===void 0?!1:tmp1,tmp2=r.onlyBlock,a=tmp2===void 0?!1:tmp2,n=r.feed;if(s)(a||i==="var")&&(e.id.type==="Identifier"?t[i](e.id.name,a?$:i==="var"?M:void 0):q(e.id,t,{kind:i,hoist:s,onlyBlock:a}));else{var u="feed"in r,l=u?n:d(e.init,t);if(e.id.type==="Identifier"){var c=e.id.name;i==="var"&&!e.init&&!u?t.var(c,M):t[i](c,l),e.init&&["ClassExpression","FunctionExpression","ArrowFunctionExpression"].indexOf(e.init.type)!==-1&&!l.name&&v(l,"name",{value:c,configurable:!0})}else q(e.id,t,{kind:i,feed:l})}}function Ua(e,t){t.func(e.id.name,He(e,t))}function br(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;for(var a=0;a<e.body.length;a++){var n=e.body[a];n.type==="MethodDefinition"?vr(n,t,{klass:i,superClass:s}):n.type==="PropertyDefinition"&&n.static?Ot(n,t,{klass:i,superClass:s}):n.type==="StaticBlock"&&Sr(n,t,{klass:i})}}function vr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=e.static?i:i.prototype;n&&(u[B]||v(u,B,{value:{}}),u=u[B]);var l=re(e.value,t,{superClass:s});switch(e.kind){case"constructor":break;case"method":v(u,a,{value:l,writable:!0,configurable:!0});break;case"get":{var c=pe(u,a);v(u,a,{get:l,set:c&&c.set,configurable:!0});break}case"set":{var c1=pe(u,a);v(u,a,{get:c1&&c1.get,set:l,configurable:!0});break}default:throw new SyntaxError("Unexpected token")}}function Ot(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=r.superClass;var a,n=!1;if(e.computed)a=d(e.key,t);else if(e.key.type==="Identifier")a=e.key.name;else if(e.key.type==="PrivateIdentifier")a=e.key.name,n=!0;else throw new SyntaxError("Unexpected token");var u=new T(t,!0);u.const("this",i);var l=i;n&&(l[B]||v(l,B,{value:{}}),l=l[B]),e.value?e.value.type==="FunctionExpression"||e.value.type==="ArrowFunctionExpression"?l[a]=re(e.value,u,{superClass:s}):l[a]=d(e.value,u):l[a]=void 0}function Sr(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var i=r.klass,s=new T(t,!0);return s.const("this",i),ce(e,s,{invasived:!0})}function $a(e,t){var i=t.global().find(Se+e.source.value);var s;if(i){var a=i.get();a&&(typeof a=="function"?s=a():(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(s=a))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));for(var a1=0;a1<e.specifiers.length;a1++){var n=e.specifiers[a1];var u=void 0;if(n.type==="ImportSpecifier"?u=n.imported.type==="Identifier"?n.imported.name:n.imported.value:n.type==="ImportDefaultSpecifier"?u="default":n.type==="ImportNamespaceSpecifier"&&(u="*"),u!=="*"&&!dt(s,u))throw new SyntaxError('The requested module "'.concat(e.source.value,'" does not provide an export named "').concat(u,'"'));t.var(n.local.name,u==="*"?j({},s):s[u])}}function qa(e,t){var r=t.global();var i;e.declaration.type==="FunctionDeclaration"?(i=re(e.declaration,t),t.func(e.declaration.id.name,i)):e.declaration.type==="ClassDeclaration"?(i=He(e.declaration,t),t.func(e.declaration.id.name,i)):i=d(e.declaration,t);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a.default=i)}}function Wa(e,t){var r=t.global();if(e.declaration){if(e.declaration.type==="FunctionDeclaration"){var i=re(e.declaration,t);t.func(e.declaration.id.name,i);var s=r.find(G);if(s){var a=s.get();a&&(typeof a==="undefined"?"undefined":_type_of(a))=="object"&&(a[e.declaration.id.name]=i)}}else if(e.declaration.type==="ClassDeclaration"){var i1=He(e.declaration,t);t.func(e.declaration.id.name,i1);var s1=r.find(G);if(s1){var a1=s1.get();a1&&(typeof a1==="undefined"?"undefined":_type_of(a1))=="object"&&(a1[e.declaration.id.name]=i1)}}else if(e.declaration.type==="VariableDeclaration"){ke(e.declaration,t);var i2=r.find(G);if(i2){var s2=i2.get();if(s2&&(typeof s2==="undefined"?"undefined":_type_of(s2))=="object")for(var a2=0;a2<e.declaration.declarations.length;a2++){var n=e.declaration.declarations[a2].id.name,u=t.find(n);u&&(s2[n]=u.get())}}}}else if(e.specifiers){var i3=r.find(G);if(i3){var s3=i3.get();if(s3&&(typeof s3==="undefined"?"undefined":_type_of(s3))=="object")for(var a3=0;a3<e.specifiers.length;a3++){var n1=e.specifiers[a3],u1=n1.local.type==="Identifier"?n1.local.name:n1.local.value,l=t.find(u1);l&&(s3[n1.exported.type==="Identifier"?n1.exported.name:n1.exported.value]=l.get())}}}}function za(e,t){var r=t.global(),i=r.find(Se+e.source.value);var s;if(i){var n=i.get();n&&(typeof n=="function"?s=n():(typeof n==="undefined"?"undefined":_type_of(n))=="object"&&(s=n))}if(!s||(typeof s==="undefined"?"undefined":_type_of(s))!="object")throw new TypeError('Failed to resolve module specifier "'.concat(e.source.value,'"'));var a=r.find(G);if(a){var n1=a.get();n1&&(typeof n1==="undefined"?"undefined":_type_of(n1))=="object"&&j(n1,s)}}function Dt(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];for(var n=0;n<e.body.length;n++){var u=e.body[n];u.type==="FunctionDeclaration"?(s.push(u),a.push(n)):u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1?ke(u,t,{hoist:!0,onlyBlock:!0}):i||fe(u,t)}if(a.length){for(var n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}}function fe(e,t){switch(e.type){case"VariableDeclaration":ke(e,t,{hoist:!0});break;case"ForInStatement":case"ForOfStatement":e.left.type==="VariableDeclaration"&&ke(e.left,t,{hoist:!0});case"ForStatement":e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration"&&ke(e.init,t,{hoist:!0});case"WhileStatement":case"DoWhileStatement":fe(e.body,t);break;case"IfStatement":fe(e.consequent,t),e.alternate&&fe(e.alternate,t);break;case"BlockStatement":for(var r=0;r<e.body.length;r++)fe(e.body[r],t);break;case"SwitchStatement":for(var r1=0;r1<e.cases.length;r1++)for(var i=0;i<e.cases[r1].consequent.length;i++)fe(e.cases[r1].consequent[i],t);break;case"TryStatement":{var r2=e.block.body;for(var a=0;a<r2.length;a++)fe(r2[a],t);var i1=e.handler&&e.handler.body.body;if(i1)for(var a1=0;a1<i1.length;a1++)fe(i1[a1],t);var s=e.finalizer&&e.finalizer.body;if(s)for(var a2=0;a2<s.length;a2++)fe(s[a2],t);break}}}function q(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};switch(e.type){case"ObjectPattern":return ar(e,t,r);case"ArrayPattern":return nr(e,t,r);case"RestElement":return Re(e,t,r);case"AssignmentPattern":return or(e,t,r);default:throw new SyntaxError("Unexpected token")}}function re(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(e.generator||e.async)return se(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u;var f=function _target(){for(var _len=arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=arguments[_key]}var k=new T(t,!0);n&&!u&&k.const(H,!0),e.type!=="ArrowFunctionExpression"&&(k.let("this",this),k.let("arguments",arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0),i?(k.const(lt,i),s&&k.let(me,s)):s&&s(this));for(var L=0;L<a.length;L++){var z=a[L];z.type==="Identifier"?k.var(z.name,D[L]):z.type==="RestElement"?Re(z,k,{kind:"var",feed:D.slice(L)}):q(z,k,{kind:"var",feed:D[L]})}var V;if(e.body.type==="BlockStatement"?(Dt(e.body,k),V=ce(e.body,k,{invasived:!0,hoisted:!0})):(V=d(e.body,k),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w)),V===w)return V.RES;if(_instanceof(this,_target)?this.constructor:void 0)return k.find("this").get()};e.type==="ArrowFunctionExpression"&&v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function He(e,t){var r=d(e.superClass,t),i=e.body.body,s=function s(n){for(var u=0;u<i.length;u++){var l=i[u];l.type==="PropertyDefinition"&&!l.static&&Ot(l,t,{klass:n,superClass:r})}};var a=function a(){var n=r?Xe(this,r):this;return s(n),n};for(var n=0;n<i.length;n++){var u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=re(u.value,t,{superClass:r,construct:s});break}}return r&&Kt(a,r),br(e.body,t,{klass:a,superClass:r}),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a}function wr(e,t,r){var i=r.value,s=e.left,a=new T(t);s.type==="VariableDeclaration"?ke(s,a,{feed:i}):s.type==="Identifier"?xe(s,t,{getVar:!0}).set(i):q(s,t,{feed:i});var n;return e.body.type==="BlockStatement"?n=ce(e.body,a,{invasived:!0}):n=d(e.body,a),n}function Ft(e,t){var r,tmp,i,s,a,n,u,_tmp,_tmp1,_tmp2,n1;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};tmp=r.onlyBlock,i=tmp===void 0?!1:tmp,s=[],a=[];n=0;_state.label=1;case 1:if(!(n<e.body.length))return[3,10];u=e.body[n];if(!(u.type==="FunctionDeclaration"))return[3,2];_tmp=(s.push(u),a.push(n));return[3,8];case 2:if(!(u.type==="VariableDeclaration"&&["const","let"].indexOf(u.kind)!==-1))return[3,4];return[5,_ts_values(we(u,t,{hoist:!0,onlyBlock:!0}))];case 3:_tmp1=_state.sent();return[3,7];case 4:_tmp2=i;if(_tmp2)return[3,6];return[5,_ts_values(he(u,t))];case 5:_tmp2=_state.sent();_state.label=6;case 6:_tmp1=_tmp2;_state.label=7;case 7:_tmp=_tmp1;_state.label=8;case 8:_tmp;_state.label=9;case 9:n++;return[3,1];case 10:if(a.length){for(n1=a.length-1;n1>-1;n1--)e.body.splice(a[n1],1);e.body=s.concat(e.body)}return[2]}})}function he(e,t){var _,_tmp,_tmp1,_tmp2,r,r1,i,r2,a,i1,a1,s,a2;return _ts_generator(this,function(_state){switch(_state.label){case 0:_=e.type;switch(_){case"VariableDeclaration":return[3,1];case"ForInStatement":return[3,3];case"ForOfStatement":return[3,3];case"ForStatement":return[3,6];case"WhileStatement":return[3,9];case"DoWhileStatement":return[3,9];case"IfStatement":return[3,11];case"BlockStatement":return[3,15];case"SwitchStatement":return[3,20];case"TryStatement":return[3,27]}return[3,40];case 1:return[5,_ts_values(we(e,t,{hoist:!0}))];case 2:_state.sent();return[3,40];case 3:_tmp=e.left.type==="VariableDeclaration";if(!_tmp)return[3,5];return[5,_ts_values(we(e.left,t,{hoist:!0}))];case 4:_tmp=_state.sent();_state.label=5;case 5:_tmp;_state.label=6;case 6:_tmp1=e.type==="ForStatement"&&e.init&&e.init.type==="VariableDeclaration";if(!_tmp1)return[3,8];return[5,_ts_values(we(e.init,t,{hoist:!0}))];case 7:_tmp1=_state.sent();_state.label=8;case 8:_tmp1;_state.label=9;case 9:return[5,_ts_values(he(e.body,t))];case 10:_state.sent();return[3,40];case 11:return[5,_ts_values(he(e.consequent,t))];case 12:_state.sent();_tmp2=e.alternate;if(!_tmp2)return[3,14];return[5,_ts_values(he(e.alternate,t))];case 13:_tmp2=_state.sent();_state.label=14;case 14:_tmp2;return[3,40];case 15:r=0;_state.label=16;case 16:if(!(r<e.body.length))return[3,19];return[5,_ts_values(he(e.body[r],t))];case 17:_state.sent();_state.label=18;case 18:r++;return[3,16];case 19:return[3,40];case 20:r1=0;_state.label=21;case 21:if(!(r1<e.cases.length))return[3,26];i=0;_state.label=22;case 22:if(!(i<e.cases[r1].consequent.length))return[3,25];return[5,_ts_values(he(e.cases[r1].consequent[i],t))];case 23:_state.sent();_state.label=24;case 24:i++;return[3,22];case 25:r1++;return[3,21];case 26:return[3,40];case 27:r2=e.block.body;a=0;_state.label=28;case 28:if(!(a<r2.length))return[3,31];return[5,_ts_values(he(r2[a],t))];case 29:_state.sent();_state.label=30;case 30:a++;return[3,28];case 31:i1=e.handler&&e.handler.body.body;if(!i1)return[3,35];a1=0;_state.label=32;case 32:if(!(a1<i1.length))return[3,35];return[5,_ts_values(he(i1[a1],t))];case 33:_state.sent();_state.label=34;case 34:a1++;return[3,32];case 35:s=e.finalizer&&e.finalizer.body;if(!s)return[3,39];a2=0;_state.label=36;case 36:if(!(a2<s.length))return[3,39];return[5,_ts_values(he(s[a2],t))];case 37:_state.sent();_state.label=38;case 38:a2++;return[3,36];case 39:return[3,40];case 40:return[2]}})}function W(e,t){var r,_;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:r=_arguments.length>2&&_arguments[2]!==void 0?_arguments[2]:{};_=e.type;switch(_){case"ObjectPattern":return[3,1];case"ArrayPattern":return[3,3];case"RestElement":return[3,5];case"AssignmentPattern":return[3,7]}return[3,9];case 1:return[5,_ts_values(Mi(e,t,r))];case 2:return[2,_state.sent()];case 3:return[5,_ts_values(ji(e,t,r))];case 4:return[2,_state.sent()];case 5:return[5,_ts_values(Ne(e,t,r))];case 6:return[2,_state.sent()];case 7:return[5,_ts_values(Ui(e,t,r))];case 8:return[2,_state.sent()];case 9:throw new SyntaxError("Unexpected token");case 10:return[2]}})}function se(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};var P,O;if(!e.generator&&!e.async)return re(e,t,r);var i=r.superClass,s=r.construct,a=e.params,n=e.body.type==="BlockStatement"&&e.body.body.length>0&&e.body.body[0].directive==="use strict",u=!!((P=t.find(H))!=null&&P.get()),l=n||u,c=function _target(){var _len,D,_key,k,_tmp,_tmp1,_tmp2,L,z,_tmp3,_tmp4,V,_tmp5;var _arguments=arguments;return _ts_generator(this,function(_state){switch(_state.label){case 0:for(_len=_arguments.length,D=new Array(_len),_key=0;_key<_len;_key++){D[_key]=_arguments[_key]}k=new T(t,!0);n&&!u&&k.const(H,!0);_tmp=e.type!=="ArrowFunctionExpression";if(!_tmp)return[3,5];k.let("this",this),k.let("arguments",_arguments),k.const(ft,_instanceof(this,_target)?this.constructor:void 0);if(!i)return[3,1];_tmp1=(k.const(lt,i),s&&k.let(me,s));return[3,4];case 1:_tmp2=s;if(!_tmp2)return[3,3];return[5,_ts_values(s(this))];case 2:_tmp2=_state.sent();_state.label=3;case 3:_tmp1=_tmp2;_state.label=4;case 4:_tmp=_tmp1;_state.label=5;case 5:_tmp;L=0;_state.label=6;case 6:if(!(L<a.length))return[3,14];z=a[L];if(!(z.type==="Identifier"))return[3,7];_tmp3=k.var(z.name,D[L]);return[3,12];case 7:if(!(z.type==="RestElement"))return[3,9];return[5,_ts_values(Ne(z,k,{kind:"var",feed:D.slice(L)}))];case 8:_tmp4=_state.sent();return[3,11];case 9:return[5,_ts_values(W(z,k,{kind:"var",feed:D[L]}))];case 10:_tmp4=_state.sent();_state.label=11;case 11:_tmp3=_tmp4;_state.label=12;case 12:_tmp3;_state.label=13;case 13:L++;return[3,6];case 14:if(!(e.body.type==="BlockStatement"))return[3,17];return[5,_ts_values(Ft(e.body,k))];case 15:_state.sent();return[5,_ts_values(le(e.body,k,{invasived:!0,hoisted:!0}))];case 16:_tmp5=V=_state.sent();return[3,19];case 17:return[5,_ts_values(p(e.body,k))];case 18:_tmp5=(V=_state.sent(),e.type==="ArrowFunctionExpression"&&(w.RES=V,V=w));_state.label=19;case 19:if(_tmp5,V===w)return[2,V.RES];if(_instanceof(this,_target)?this.constructor:void 0)return[2,k.find("this").get()];return[2]}})};var f;e.async&&e.generator?f=function f(){var D=c.apply(this,arguments);var k=Promise.resolve(),V=!1;var L=function(Ee){return k=k.then(function(){return Lt(D,j({fullRet:!0},Ee))}).catch(function(Ha){if(!V)return V=!0,Promise.reject(Ha)})},z={next:function(Ee){return L({res:Ee})},throw:function(Ee){return L({err:Ee})},return:function(Ee){return L({ret:Ee})}};return typeof Symbol=="function"&&(z[Symbol.iterator]=function(){return this}),z}:e.async?f=function f(){return Lt(c.apply(this,arguments))}:f=c,v(f,ct,{value:!0}),v(f,"name",{value:e.id&&e.id.name||"",configurable:!0}),v(f,"length",{value:a.length,configurable:!0}),l&&v(f,ht,{value:!0});var g=(O=e.loc)==null?void 0:O.source;return g&&v(f,"toString",{value:function(){return g.substring(e.start,e.end)},configurable:!0}),f}function Ke(e,t){var r,i,s,a,n,u;return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(p(e.superClass,t))];case 1:r=_state.sent(),i=e.body.body,s=function s(n){var u,l,_tmp;return _ts_generator(this,function(_state){switch(_state.label){case 0:u=0;_state.label=1;case 1:if(!(u<i.length))return[3,5];l=i[u];_tmp=l.type==="PropertyDefinition"&&!l.static;if(!_tmp)return[3,3];return[5,_ts_values(Nt(l,t,{klass:n,superClass:r}))];case 2:_tmp=_state.sent();_state.label=3;case 3:_tmp;_state.label=4;case 4:u++;return[3,1];case 5:return[2]}})};a=function a(){var n;return _ts_generator(this,function(_state){switch(_state.label){case 0:n=r?Xe(this,r):this;return[5,_ts_values(s(n))];case 1:return[2,(_state.sent(),n)]}})};for(n=0;n<i.length;n++){u=i[n];if(u.type==="MethodDefinition"&&u.kind==="constructor"){a=se(u.value,t,{superClass:r,construct:s});break}}r&&Kt(a,r);return[5,_ts_values(Ji(e.body,t,{klass:a,superClass:r}))];case 2:return[2,(_state.sent(),v(a,Te,{value:!0}),v(a,"name",{value:e.id&&e.id.name||"",configurable:!0}),a)]}})}function Mt(e,t,r){var i,s,a,_tmp,_tmp1,n,_tmp2;return _ts_generator(this,function(_state){switch(_state.label){case 0:i=r.value,s=e.left,a=new T(t);if(!(s.type==="VariableDeclaration"))return[3,2];return[5,_ts_values(we(s,a,{feed:i}))];case 1:_tmp=_state.sent();return[3,7];case 2:if(!(s.type==="Identifier"))return[3,4];return[5,_ts_values(xe(s,t,{getVar:!0}))];case 3:_tmp1=_state.sent().set(i);return[3,6];case 4:return[5,_ts_values(W(s,t,{feed:i}))];case 5:_tmp1=_state.sent();_state.label=6;case 6:_tmp=_tmp1;_state.label=7;case 7:_tmp;if(!(e.body.type==="BlockStatement"))return[3,9];return[5,_ts_values(le(e.body,a,{invasived:!0}))];case 8:_tmp2=n=_state.sent();return[3,11];case 9:return[5,_ts_values(p(e.body,a))];case 10:_tmp2=n=_state.sent();_state.label=11;case 11:return[2,(_tmp2,n)]}})}var Ga=15,Ut=/*#__PURE__*/function(){function Ut(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};_class_call_check(this,Ut);this.options={ecmaVersion:"latest"},this.scope=new T(null,!0),this.exports={};var tmp=t.ecmaVer,r=tmp===void 0?"latest":tmp,tmp1=t.sandBox,i=tmp1===void 0?!0:tmp1,tmp2=t.sourceType,s=tmp2===void 0?"script":tmp2;if(typeof r=="number"&&(r-=r<2015?0:2009),r!=="latest"&&r!==3&&(r<5||r>Ga))throw new Error("unsupported ecmaVer");if(this.options.ecmaVersion=r,this.options.sourceType=s,i){var a=Pr();this.scope.let("globalThis",a),this.scope.let("window",a),this.scope.let("self",a),this.scope.let("this",s==="module"?void 0:a)}else this.scope.let("globalThis",h),this.scope.let("window",h),this.scope.let("self",h),this.scope.let("this",s==="module"?void 0:h);this.scope.const(s==="module"?G:"exports",this.exports={}),s==="module"&&this.scope.const(H,!0)}_create_class(Ut,[{key:"import",value:function _import(t,r){if(typeof t=="string"&&(t=_define_property({},t,r)),(typeof t==="undefined"?"undefined":_type_of(t))!="object")return;var i=yt(t);for(var s=0;s<i.length;s++){var a=i[s],n=this.options.sourceType==="module"?Se+a:a;this.scope.var(n,t[a])}}},{key:"parse",value:function parse(t,r){return typeof r=="function"?r(t,this.options):ms(t,this.options)}},{key:"run",value:function run(t){var r=typeof t=="string"?this.parse(t):t,i=this.scope;this.options.sourceType==="module"&&(this.options.ecmaVersion==="latest"||this.options.ecmaVersion>=13)?Lt(function(){return _ts_generator(this,function(_state){switch(_state.label){case 0:return[5,_ts_values(Ft(r,i))];case 1:_state.sent();return[5,_ts_values(p(r,i))];case 2:_state.sent();return[2]}})}()):(Dt(r,i),d(r,i))}}]);return Ut}();Ut.version=gs.version;var jt=Ut;return jt});}();
|