UNPKG

create-storm-workspace

Version:

⚡A CLI tool used to generate and fully configure a Storm Workspace repository.

4 lines 2.89 MB
#!/usr/bin/env node var B3=Object.create;var Tf=Object.defineProperty;var T3=Object.getOwnPropertyDescriptor;var _3=Object.getOwnPropertyNames;var D3=Object.getPrototypeOf,x3=Object.prototype.hasOwnProperty;var Gn=(e,t)=>()=>(e&&(t=e(e=0)),t);var ft=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),sc=(e,t)=>{for(var n in t)Tf(e,n,{get:t[n],enumerable:!0})},n1=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(let l of _3(t))!x3.call(e,l)&&l!==n&&Tf(e,l,{get:()=>t[l],enumerable:!(s=T3(t,l))||s.enumerable});return e};var fi=(e,t,n)=>(n=e!=null?B3(D3(e)):{},n1(t||!e||!e.__esModule?Tf(n,"default",{value:e,enumerable:!0}):n,e)),P3=e=>n1(Tf({},"__esModule",{value:!0}),e);function Ap(e=""){return e&&e.replace(/\\/g,"/").replace(k3,t=>t.toUpperCase())}function F3(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}function dy(e,t){let n="",s=0,l=-1,r=0,c=null;for(let o=0;o<=e.length;++o){if(o<e.length)c=e[o];else{if(c==="/")break;c="/"}if(c==="/"){if(!(l===o-1||r===1))if(r===2){if(n.length<2||s!==2||n[n.length-1]!=="."||n[n.length-2]!=="."){if(n.length>2){let d=n.lastIndexOf("/");d===-1?(n="",s=0):(n=n.slice(0,d),s=n.length-1-n.lastIndexOf("/")),l=o,r=0;continue}else if(n.length>0){n="",s=0,l=o,r=0;continue}}t&&(n+=n.length>0?"/..":"..",s=2)}else n.length>0?n+=`/${e.slice(l+1,o)}`:n=e.slice(l+1,o),s=o-l-1;l=o,r=0}else c==="."&&r!==-1?++r:r=-1}return n}var k3,R3,N3,s1,i1,Q3,mp,yo,hn,js,gp,py,Aa,Eu,o1=Gn(()=>{k3=/^[A-Za-z]:\//;R3=/^[/\\]{2}/,N3=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,s1=/^[A-Za-z]:$/,i1=/^\/([A-Za-z]:)?$/,Q3=/.(\.[^./]+|\.)$/,mp=function(e){if(e.length===0)return".";e=Ap(e);let t=e.match(R3),n=js(e),s=e[e.length-1]==="/";return e=dy(e,!n),e.length===0?n?"/":s?"./":".":(s&&(e+="/"),s1.test(e)&&(e+="/"),t?n?`//${e}`:`//./${e}`:n&&!js(e)?`/${e}`:e)},yo=function(...e){let t="";for(let n of e)if(n)if(t.length>0){let s=t[t.length-1]==="/",l=n[0]==="/";s&&l?t+=n.slice(1):t+=s||l?n:`/${n}`}else t+=n;return mp(t)};hn=function(...e){e=e.map(s=>Ap(s));let t="",n=!1;for(let s=e.length-1;s>=-1&&!n;s--){let l=s>=0?e[s]:F3();!l||l.length===0||(t=`${l}/${t}`,n=js(l))}return t=dy(t,!n),n&&!js(t)?`/${t}`:t.length>0?t:"."};js=function(e){return N3.test(e)},gp=function(e){if(e==="..")return"";let t=Q3.exec(Ap(e));return t&&t[1]||""},py=function(e,t){let n=hn(e).replace(i1,"$1").split("/"),s=hn(t).replace(i1,"$1").split("/");if(s[0][1]===":"&&n[0][1]===":"&&n[0]!==s[0])return s.join("/");let l=[...n];for(let r of l){if(s[0]!==r)break;n.shift(),s.shift()}return[...n.map(()=>".."),...s].join("/")},Aa=function(e){let t=Ap(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&s1.test(t[0])&&(t[0]+="/"),t.join("/")||(js(e)?"/":".")},Eu=function(e,t){let n=Ap(e).split("/"),s="";for(let l=n.length-1;l>=0;l--){let r=n[l];if(r){s=r;break}}return t&&s.endsWith(t)?s.slice(0,-t.length):s}});var Cu=Gn(()=>{o1()});var l1=ft((LZ,a1)=>{(()=>{var e={"./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive":l=>{function r(c){return Promise.resolve().then(()=>{var o=new Error("Cannot find module '"+c+"'");throw o.code="MODULE_NOT_FOUND",o})}r.keys=()=>[],r.resolve=r,r.id="./node_modules/.pnpm/mlly@1.7.3/node_modules/mlly/dist lazy recursive",l.exports=r}},t={};function n(l){var r=t[l];if(r!==void 0)return r.exports;var c=t[l]={exports:{}};return e[l](c,c.exports,n),c.exports}n.n=l=>{var r=l&&l.__esModule?()=>l.default:()=>l;return n.d(r,{a:r}),r},n.d=(l,r)=>{for(var c in r)n.o(r,c)&&!n.o(l,c)&&Object.defineProperty(l,c,{enumerable:!0,get:r[c]})},n.o=(l,r)=>Object.prototype.hasOwnProperty.call(l,r);var s={};(()=>{"use strict";n.d(s,{default:()=>li});let l=require("node:os");var r=[509,0,227,0,150,4,294,9,1368,2,2,1,6,3,41,2,5,0,166,1,574,3,9,9,7,9,32,4,318,1,80,3,71,10,50,3,123,2,54,14,32,10,3,1,11,3,46,10,8,0,46,9,7,2,37,13,2,9,6,1,45,0,13,2,49,13,9,3,2,11,83,11,7,0,3,0,158,11,6,9,7,3,56,1,2,6,3,1,3,2,10,0,11,1,3,6,4,4,68,8,2,0,3,0,2,3,2,4,2,0,15,1,83,17,10,9,5,0,82,19,13,9,214,6,3,8,28,1,83,16,16,9,82,12,9,9,7,19,58,14,5,9,243,14,166,9,71,5,2,1,3,3,2,0,2,1,13,9,120,6,3,6,4,0,29,9,41,6,2,3,9,0,10,10,47,15,343,9,54,7,2,7,17,9,57,21,2,13,123,5,4,0,2,1,2,6,2,0,9,9,49,4,2,1,2,4,9,9,330,3,10,1,2,0,49,6,4,4,14,10,5350,0,7,14,11465,27,2343,9,87,9,39,4,60,6,26,9,535,9,470,0,2,54,8,3,82,0,12,1,19628,1,4178,9,519,45,3,22,543,4,4,5,9,7,3,6,31,3,149,2,1418,49,513,54,5,49,9,0,15,0,23,4,2,14,1361,6,2,16,3,6,2,1,2,4,101,0,161,6,10,9,357,0,62,13,499,13,245,1,2,9,726,6,110,6,6,9,4759,9,787719,239],c=[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],o="\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC",d={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"},p="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",i={5:p,"5module":p+" export import",6:p+" const class extends export import super"},a=/^in(stanceof)?$/,h=new RegExp("["+o+"]"),A=new RegExp("["+o+"\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0897-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65]");function y(m,k){for(var W=65536,Z=0;Z<k.length;Z+=2){if((W+=k[Z])>m)return!1;if((W+=k[Z+1])>=m)return!0}return!1}function v(m,k){return m<65?m===36:m<91||(m<97?m===95:m<123||(m<=65535?m>=170&&h.test(String.fromCharCode(m)):k!==!1&&y(m,c)))}function f(m,k){return m<48?m===36:m<58||!(m<65)&&(m<91||(m<97?m===95:m<123||(m<=65535?m>=170&&A.test(String.fromCharCode(m)):k!==!1&&(y(m,c)||y(m,r)))))}var g=function(m,k){k===void 0&&(k={}),this.label=m,this.keyword=k.keyword,this.beforeExpr=!!k.beforeExpr,this.startsExpr=!!k.startsExpr,this.isLoop=!!k.isLoop,this.isAssign=!!k.isAssign,this.prefix=!!k.prefix,this.postfix=!!k.postfix,this.binop=k.binop||null,this.updateContext=null};function b(m,k){return new g(m,{beforeExpr:!0,binop:k})}var E={beforeExpr:!0},w={startsExpr:!0},B={};function T(m,k){return k===void 0&&(k={}),k.keyword=m,B[m]=new g(m,k)}var I={num:new g("num",w),regexp:new g("regexp",w),string:new g("string",w),name:new g("name",w),privateId:new g("privateId",w),eof:new g("eof"),bracketL:new g("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new g("]"),braceL:new g("{",{beforeExpr:!0,startsExpr:!0}),braceR:new g("}"),parenL:new g("(",{beforeExpr:!0,startsExpr:!0}),parenR:new g(")"),comma:new g(",",E),semi:new g(";",E),colon:new g(":",E),dot:new g("."),question:new g("?",E),questionDot:new g("?."),arrow:new g("=>",E),template:new g("template"),invalidTemplate:new g("invalidTemplate"),ellipsis:new g("...",E),backQuote:new g("`",w),dollarBraceL:new g("${",{beforeExpr:!0,startsExpr:!0}),eq:new g("=",{beforeExpr:!0,isAssign:!0}),assign:new g("_=",{beforeExpr:!0,isAssign:!0}),incDec:new g("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new g("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:b("||",1),logicalAND:b("&&",2),bitwiseOR:b("|",3),bitwiseXOR:b("^",4),bitwiseAND:b("&",5),equality:b("==/!=/===/!==",6),relational:b("</>/<=/>=",7),bitShift:b("<</>>/>>>",8),plusMin:new g("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:b("%",10),star:b("*",10),slash:b("/",10),starstar:new g("**",{beforeExpr:!0}),coalesce:b("??",1),_break:T("break"),_case:T("case",E),_catch:T("catch"),_continue:T("continue"),_debugger:T("debugger"),_default:T("default",E),_do:T("do",{isLoop:!0,beforeExpr:!0}),_else:T("else",E),_finally:T("finally"),_for:T("for",{isLoop:!0}),_function:T("function",w),_if:T("if"),_return:T("return",E),_switch:T("switch"),_throw:T("throw",E),_try:T("try"),_var:T("var"),_const:T("const"),_while:T("while",{isLoop:!0}),_with:T("with"),_new:T("new",{beforeExpr:!0,startsExpr:!0}),_this:T("this",w),_super:T("super",w),_class:T("class",w),_extends:T("extends",E),_export:T("export"),_import:T("import",w),_null:T("null",w),_true:T("true",w),_false:T("false",w),_in:T("in",{beforeExpr:!0,binop:7}),_instanceof:T("instanceof",{beforeExpr:!0,binop:7}),_typeof:T("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:T("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:T("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},x=/\r\n?|\n|\u2028|\u2029/,D=new RegExp(x.source,"g");function R(m){return m===10||m===13||m===8232||m===8233}function P(m,k,W){W===void 0&&(W=m.length);for(var Z=k;Z<W;Z++){var be=m.charCodeAt(Z);if(R(be))return Z<W-1&&be===13&&m.charCodeAt(Z+1)===10?Z+2:Z+1}return-1}var N=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,O=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,U=Object.prototype,G=U.hasOwnProperty,K=U.toString,j=Object.hasOwn||function(m,k){return G.call(m,k)},L=Array.isArray||function(m){return K.call(m)==="[object Array]"},H=Object.create(null);function re(m){return H[m]||(H[m]=new RegExp("^(?:"+m.replace(/ /g,"|")+")$"))}function de(m){return m<=65535?String.fromCharCode(m):(m-=65536,String.fromCharCode(55296+(m>>10),56320+(1023&m)))}var te=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,he=function(m,k){this.line=m,this.column=k};he.prototype.offset=function(m){return new he(this.line,this.column+m)};var z=function(m,k,W){this.start=k,this.end=W,m.sourceFile!==null&&(this.source=m.sourceFile)};function q(m,k){for(var W=1,Z=0;;){var be=P(m,Z,k);if(be<0)return new he(W,k-Z);++W,Z=be}}var oe={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},X=!1;function ne(m){var k={};for(var W in oe)k[W]=m&&j(m,W)?m[W]:oe[W];if(k.ecmaVersion==="latest"?k.ecmaVersion=1e8:k.ecmaVersion==null?(!X&&typeof console=="object"&&console.warn&&(X=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)),k.ecmaVersion=11):k.ecmaVersion>=2015&&(k.ecmaVersion-=2009),k.allowReserved==null&&(k.allowReserved=k.ecmaVersion<5),m&&m.allowHashBang!=null||(k.allowHashBang=k.ecmaVersion>=14),L(k.onToken)){var Z=k.onToken;k.onToken=function(be){return Z.push(be)}}return L(k.onComment)&&(k.onComment=function(be,Me){return function(je,Ze,pt,Dt,bt,Yt){var Nt={type:je?"Block":"Line",value:Ze,start:pt,end:Dt};be.locations&&(Nt.loc=new z(this,bt,Yt)),be.ranges&&(Nt.range=[pt,Dt]),Me.push(Nt)}}(k,k.onComment)),k}function me(m,k){return 2|(m?4:0)|(k?8:0)}var ye=function(m,k,W){this.options=m=ne(m),this.sourceFile=m.sourceFile,this.keywords=re(i[m.ecmaVersion>=6?6:m.sourceType==="module"?"5module":5]);var Z="";m.allowReserved!==!0&&(Z=d[m.ecmaVersion>=6?6:m.ecmaVersion===5?5:3],m.sourceType==="module"&&(Z+=" await")),this.reservedWords=re(Z);var be=(Z?Z+" ":"")+d.strict;this.reservedWordsStrict=re(be),this.reservedWordsStrictBind=re(be+" "+d.strictBind),this.input=String(k),this.containsEsc=!1,W?(this.pos=W,this.lineStart=this.input.lastIndexOf(` `,W-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(x).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=I.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=m.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&&m.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},Fe={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}};ye.prototype.parse=function(){var m=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(m)},Fe.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},Fe.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Fe.inAsync.get=function(){return(4&this.currentVarScope().flags)>0&&!this.currentVarScope().inClassFieldInit},Fe.canAwait.get=function(){for(var m=this.scopeStack.length-1;m>=0;m--){var k=this.scopeStack[m];if(k.inClassFieldInit||256&k.flags)return!1;if(2&k.flags)return(4&k.flags)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},Fe.allowSuper.get=function(){var m=this.currentThisScope(),k=m.flags,W=m.inClassFieldInit;return(64&k)>0||W||this.options.allowSuperOutsideMethod},Fe.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},Fe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},Fe.allowNewDotTarget.get=function(){var m=this.currentThisScope(),k=m.flags,W=m.inClassFieldInit;return(258&k)>0||W},Fe.inClassStaticBlock.get=function(){return(256&this.currentVarScope().flags)>0},ye.extend=function(){for(var m=[],k=arguments.length;k--;)m[k]=arguments[k];for(var W=this,Z=0;Z<m.length;Z++)W=m[Z](W);return W},ye.parse=function(m,k){return new this(k,m).parse()},ye.parseExpressionAt=function(m,k,W){var Z=new this(W,m,k);return Z.nextToken(),Z.parseExpression()},ye.tokenizer=function(m,k){return new this(k,m)},Object.defineProperties(ye.prototype,Fe);var _e=ye.prototype,Ee=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;_e.strictDirective=function(m){if(this.options.ecmaVersion<5)return!1;for(;;){O.lastIndex=m,m+=O.exec(this.input)[0].length;var k=Ee.exec(this.input.slice(m));if(!k)return!1;if((k[1]||k[2])==="use strict"){O.lastIndex=m+k[0].length;var W=O.exec(this.input),Z=W.index+W[0].length,be=this.input.charAt(Z);return be===";"||be==="}"||x.test(W[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(be)||be==="!"&&this.input.charAt(Z+1)==="=")}m+=k[0].length,O.lastIndex=m,m+=O.exec(this.input)[0].length,this.input[m]===";"&&m++}},_e.eat=function(m){return this.type===m&&(this.next(),!0)},_e.isContextual=function(m){return this.type===I.name&&this.value===m&&!this.containsEsc},_e.eatContextual=function(m){return!!this.isContextual(m)&&(this.next(),!0)},_e.expectContextual=function(m){this.eatContextual(m)||this.unexpected()},_e.canInsertSemicolon=function(){return this.type===I.eof||this.type===I.braceR||x.test(this.input.slice(this.lastTokEnd,this.start))},_e.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},_e.semicolon=function(){this.eat(I.semi)||this.insertSemicolon()||this.unexpected()},_e.afterTrailingComma=function(m,k){if(this.type===m)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),k||this.next(),!0},_e.expect=function(m){this.eat(m)||this.unexpected()},_e.unexpected=function(m){this.raise(m??this.start,"Unexpected token")};var ie=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};_e.checkPatternErrors=function(m,k){if(m){m.trailingComma>-1&&this.raiseRecoverable(m.trailingComma,"Comma is not permitted after the rest element");var W=k?m.parenthesizedAssign:m.parenthesizedBind;W>-1&&this.raiseRecoverable(W,k?"Assigning to rvalue":"Parenthesized pattern")}},_e.checkExpressionErrors=function(m,k){if(!m)return!1;var W=m.shorthandAssign,Z=m.doubleProto;if(!k)return W>=0||Z>=0;W>=0&&this.raise(W,"Shorthand property assignments are valid only in destructuring patterns"),Z>=0&&this.raiseRecoverable(Z,"Redefinition of __proto__ property")},_e.checkYieldAwaitInDefaultParams=function(){this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos)&&this.raise(this.yieldPos,"Yield expression cannot be a default value"),this.awaitPos&&this.raise(this.awaitPos,"Await expression cannot be a default value")},_e.isSimpleAssignTarget=function(m){return m.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(m.expression):m.type==="Identifier"||m.type==="MemberExpression"};var se=ye.prototype;se.parseTopLevel=function(m){var k=Object.create(null);for(m.body||(m.body=[]);this.type!==I.eof;){var W=this.parseStatement(null,!0,k);m.body.push(W)}if(this.inModule)for(var Z=0,be=Object.keys(this.undefinedExports);Z<be.length;Z+=1){var Me=be[Z];this.raiseRecoverable(this.undefinedExports[Me].start,"Export '"+Me+"' is not defined")}return this.adaptDirectivePrologue(m.body),this.next(),m.sourceType=this.options.sourceType,this.finishNode(m,"Program")};var Ne={kind:"loop"},Pe={kind:"switch"};se.isLet=function(m){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;O.lastIndex=this.pos;var k=O.exec(this.input),W=this.pos+k[0].length,Z=this.input.charCodeAt(W);if(Z===91||Z===92)return!0;if(m)return!1;if(Z===123||Z>55295&&Z<56320)return!0;if(v(Z,!0)){for(var be=W+1;f(Z=this.input.charCodeAt(be),!0);)++be;if(Z===92||Z>55295&&Z<56320)return!0;var Me=this.input.slice(W,be);if(!a.test(Me))return!0}return!1},se.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;O.lastIndex=this.pos;var m,k=O.exec(this.input),W=this.pos+k[0].length;return!(x.test(this.input.slice(this.pos,W))||this.input.slice(W,W+8)!=="function"||W+8!==this.input.length&&(f(m=this.input.charCodeAt(W+8))||m>55295&&m<56320))},se.parseStatement=function(m,k,W){var Z,be=this.type,Me=this.startNode();switch(this.isLet(m)&&(be=I._var,Z="let"),be){case I._break:case I._continue:return this.parseBreakContinueStatement(Me,be.keyword);case I._debugger:return this.parseDebuggerStatement(Me);case I._do:return this.parseDoStatement(Me);case I._for:return this.parseForStatement(Me);case I._function:return m&&(this.strict||m!=="if"&&m!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(Me,!1,!m);case I._class:return m&&this.unexpected(),this.parseClass(Me,!0);case I._if:return this.parseIfStatement(Me);case I._return:return this.parseReturnStatement(Me);case I._switch:return this.parseSwitchStatement(Me);case I._throw:return this.parseThrowStatement(Me);case I._try:return this.parseTryStatement(Me);case I._const:case I._var:return Z=Z||this.value,m&&Z!=="var"&&this.unexpected(),this.parseVarStatement(Me,Z);case I._while:return this.parseWhileStatement(Me);case I._with:return this.parseWithStatement(Me);case I.braceL:return this.parseBlock(!0,Me);case I.semi:return this.parseEmptyStatement(Me);case I._export:case I._import:if(this.options.ecmaVersion>10&&be===I._import){O.lastIndex=this.pos;var je=O.exec(this.input),Ze=this.pos+je[0].length,pt=this.input.charCodeAt(Ze);if(pt===40||pt===46)return this.parseExpressionStatement(Me,this.parseExpression())}return this.options.allowImportExportEverywhere||(k||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'")),be===I._import?this.parseImport(Me):this.parseExport(Me,W);default:if(this.isAsyncFunction())return m&&this.unexpected(),this.next(),this.parseFunctionStatement(Me,!0,!m);var Dt=this.value,bt=this.parseExpression();return be===I.name&&bt.type==="Identifier"&&this.eat(I.colon)?this.parseLabeledStatement(Me,Dt,bt,m):this.parseExpressionStatement(Me,bt)}},se.parseBreakContinueStatement=function(m,k){var W=k==="break";this.next(),this.eat(I.semi)||this.insertSemicolon()?m.label=null:this.type!==I.name?this.unexpected():(m.label=this.parseIdent(),this.semicolon());for(var Z=0;Z<this.labels.length;++Z){var be=this.labels[Z];if((m.label==null||be.name===m.label.name)&&(be.kind!=null&&(W||be.kind==="loop")||m.label&&W))break}return Z===this.labels.length&&this.raise(m.start,"Unsyntactic "+k),this.finishNode(m,W?"BreakStatement":"ContinueStatement")},se.parseDebuggerStatement=function(m){return this.next(),this.semicolon(),this.finishNode(m,"DebuggerStatement")},se.parseDoStatement=function(m){return this.next(),this.labels.push(Ne),m.body=this.parseStatement("do"),this.labels.pop(),this.expect(I._while),m.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(I.semi):this.semicolon(),this.finishNode(m,"DoWhileStatement")},se.parseForStatement=function(m){this.next();var k=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ne),this.enterScope(0),this.expect(I.parenL),this.type===I.semi)return k>-1&&this.unexpected(k),this.parseFor(m,null);var W=this.isLet();if(this.type===I._var||this.type===I._const||W){var Z=this.startNode(),be=W?"let":this.value;return this.next(),this.parseVar(Z,!0,be),this.finishNode(Z,"VariableDeclaration"),(this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&Z.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===I._in?k>-1&&this.unexpected(k):m.await=k>-1),this.parseForIn(m,Z)):(k>-1&&this.unexpected(k),this.parseFor(m,Z))}var Me=this.isContextual("let"),je=!1,Ze=this.containsEsc,pt=new ie,Dt=this.start,bt=k>-1?this.parseExprSubscripts(pt,"await"):this.parseExpression(!0,pt);return this.type===I._in||(je=this.options.ecmaVersion>=6&&this.isContextual("of"))?(k>-1?(this.type===I._in&&this.unexpected(k),m.await=!0):je&&this.options.ecmaVersion>=8&&(bt.start!==Dt||Ze||bt.type!=="Identifier"||bt.name!=="async"?this.options.ecmaVersion>=9&&(m.await=!1):this.unexpected()),Me&&je&&this.raise(bt.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(bt,!1,pt),this.checkLValPattern(bt),this.parseForIn(m,bt)):(this.checkExpressionErrors(pt,!0),k>-1&&this.unexpected(k),this.parseFor(m,bt))},se.parseFunctionStatement=function(m,k,W){return this.next(),this.parseFunction(m,$|(W?0:ke),!1,k)},se.parseIfStatement=function(m){return this.next(),m.test=this.parseParenExpression(),m.consequent=this.parseStatement("if"),m.alternate=this.eat(I._else)?this.parseStatement("if"):null,this.finishNode(m,"IfStatement")},se.parseReturnStatement=function(m){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(I.semi)||this.insertSemicolon()?m.argument=null:(m.argument=this.parseExpression(),this.semicolon()),this.finishNode(m,"ReturnStatement")},se.parseSwitchStatement=function(m){var k;this.next(),m.discriminant=this.parseParenExpression(),m.cases=[],this.expect(I.braceL),this.labels.push(Pe),this.enterScope(0);for(var W=!1;this.type!==I.braceR;)if(this.type===I._case||this.type===I._default){var Z=this.type===I._case;k&&this.finishNode(k,"SwitchCase"),m.cases.push(k=this.startNode()),k.consequent=[],this.next(),Z?k.test=this.parseExpression():(W&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),W=!0,k.test=null),this.expect(I.colon)}else k||this.unexpected(),k.consequent.push(this.parseStatement(null));return this.exitScope(),k&&this.finishNode(k,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(m,"SwitchStatement")},se.parseThrowStatement=function(m){return this.next(),x.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),m.argument=this.parseExpression(),this.semicolon(),this.finishNode(m,"ThrowStatement")};var Se=[];se.parseCatchClauseParam=function(){var m=this.parseBindingAtom(),k=m.type==="Identifier";return this.enterScope(k?32:0),this.checkLValPattern(m,k?4:2),this.expect(I.parenR),m},se.parseTryStatement=function(m){if(this.next(),m.block=this.parseBlock(),m.handler=null,this.type===I._catch){var k=this.startNode();this.next(),this.eat(I.parenL)?k.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),k.param=null,this.enterScope(0)),k.body=this.parseBlock(!1),this.exitScope(),m.handler=this.finishNode(k,"CatchClause")}return m.finalizer=this.eat(I._finally)?this.parseBlock():null,m.handler||m.finalizer||this.raise(m.start,"Missing catch or finally clause"),this.finishNode(m,"TryStatement")},se.parseVarStatement=function(m,k,W){return this.next(),this.parseVar(m,!1,k,W),this.semicolon(),this.finishNode(m,"VariableDeclaration")},se.parseWhileStatement=function(m){return this.next(),m.test=this.parseParenExpression(),this.labels.push(Ne),m.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(m,"WhileStatement")},se.parseWithStatement=function(m){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),m.object=this.parseParenExpression(),m.body=this.parseStatement("with"),this.finishNode(m,"WithStatement")},se.parseEmptyStatement=function(m){return this.next(),this.finishNode(m,"EmptyStatement")},se.parseLabeledStatement=function(m,k,W,Z){for(var be=0,Me=this.labels;be<Me.length;be+=1)Me[be].name===k&&this.raise(W.start,"Label '"+k+"' is already declared");for(var je=this.type.isLoop?"loop":this.type===I._switch?"switch":null,Ze=this.labels.length-1;Ze>=0;Ze--){var pt=this.labels[Ze];if(pt.statementStart!==m.start)break;pt.statementStart=this.start,pt.kind=je}return this.labels.push({name:k,kind:je,statementStart:this.start}),m.body=this.parseStatement(Z?Z.indexOf("label")===-1?Z+"label":Z:"label"),this.labels.pop(),m.label=W,this.finishNode(m,"LabeledStatement")},se.parseExpressionStatement=function(m,k){return m.expression=k,this.semicolon(),this.finishNode(m,"ExpressionStatement")},se.parseBlock=function(m,k,W){for(m===void 0&&(m=!0),k===void 0&&(k=this.startNode()),k.body=[],this.expect(I.braceL),m&&this.enterScope(0);this.type!==I.braceR;){var Z=this.parseStatement(null);k.body.push(Z)}return W&&(this.strict=!1),this.next(),m&&this.exitScope(),this.finishNode(k,"BlockStatement")},se.parseFor=function(m,k){return m.init=k,this.expect(I.semi),m.test=this.type===I.semi?null:this.parseExpression(),this.expect(I.semi),m.update=this.type===I.parenR?null:this.parseExpression(),this.expect(I.parenR),m.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(m,"ForStatement")},se.parseForIn=function(m,k){var W=this.type===I._in;return this.next(),k.type==="VariableDeclaration"&&k.declarations[0].init!=null&&(!W||this.options.ecmaVersion<8||this.strict||k.kind!=="var"||k.declarations[0].id.type!=="Identifier")&&this.raise(k.start,(W?"for-in":"for-of")+" loop variable declaration may not have an initializer"),m.left=k,m.right=W?this.parseExpression():this.parseMaybeAssign(),this.expect(I.parenR),m.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(m,W?"ForInStatement":"ForOfStatement")},se.parseVar=function(m,k,W,Z){for(m.declarations=[],m.kind=W;;){var be=this.startNode();if(this.parseVarId(be,W),this.eat(I.eq)?be.init=this.parseMaybeAssign(k):Z||W!=="const"||this.type===I._in||this.options.ecmaVersion>=6&&this.isContextual("of")?Z||be.id.type==="Identifier"||k&&(this.type===I._in||this.isContextual("of"))?be.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.unexpected(),m.declarations.push(this.finishNode(be,"VariableDeclarator")),!this.eat(I.comma))break}return m},se.parseVarId=function(m,k){m.id=this.parseBindingAtom(),this.checkLValPattern(m.id,k==="var"?1:2,!1)};var $=1,ke=2;function Ke(m,k){var W=k.key.name,Z=m[W],be="true";return k.type!=="MethodDefinition"||k.kind!=="get"&&k.kind!=="set"||(be=(k.static?"s":"i")+k.kind),Z==="iget"&&be==="iset"||Z==="iset"&&be==="iget"||Z==="sget"&&be==="sset"||Z==="sset"&&be==="sget"?(m[W]="true",!1):!!Z||(m[W]=be,!1)}function Ye(m,k){var W=m.computed,Z=m.key;return!W&&(Z.type==="Identifier"&&Z.name===k||Z.type==="Literal"&&Z.value===k)}se.parseFunction=function(m,k,W,Z,be){this.initFunction(m),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!Z)&&(this.type===I.star&&k&ke&&this.unexpected(),m.generator=this.eat(I.star)),this.options.ecmaVersion>=8&&(m.async=!!Z),k&$&&(m.id=4&k&&this.type!==I.name?null:this.parseIdent(),!m.id||k&ke||this.checkLValSimple(m.id,this.strict||m.generator||m.async?this.treatFunctionsAsVar?1:2:3));var Me=this.yieldPos,je=this.awaitPos,Ze=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(me(m.async,m.generator)),k&$||(m.id=this.type===I.name?this.parseIdent():null),this.parseFunctionParams(m),this.parseFunctionBody(m,W,!1,be),this.yieldPos=Me,this.awaitPos=je,this.awaitIdentPos=Ze,this.finishNode(m,k&$?"FunctionDeclaration":"FunctionExpression")},se.parseFunctionParams=function(m){this.expect(I.parenL),m.params=this.parseBindingList(I.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},se.parseClass=function(m,k){this.next();var W=this.strict;this.strict=!0,this.parseClassId(m,k),this.parseClassSuper(m);var Z=this.enterClassBody(),be=this.startNode(),Me=!1;for(be.body=[],this.expect(I.braceL);this.type!==I.braceR;){var je=this.parseClassElement(m.superClass!==null);je&&(be.body.push(je),je.type==="MethodDefinition"&&je.kind==="constructor"?(Me&&this.raiseRecoverable(je.start,"Duplicate constructor in the same class"),Me=!0):je.key&&je.key.type==="PrivateIdentifier"&&Ke(Z,je)&&this.raiseRecoverable(je.key.start,"Identifier '#"+je.key.name+"' has already been declared"))}return this.strict=W,this.next(),m.body=this.finishNode(be,"ClassBody"),this.exitClassBody(),this.finishNode(m,k?"ClassDeclaration":"ClassExpression")},se.parseClassElement=function(m){if(this.eat(I.semi))return null;var k=this.options.ecmaVersion,W=this.startNode(),Z="",be=!1,Me=!1,je="method",Ze=!1;if(this.eatContextual("static")){if(k>=13&&this.eat(I.braceL))return this.parseClassStaticBlock(W),W;this.isClassElementNameStart()||this.type===I.star?Ze=!0:Z="static"}if(W.static=Ze,!Z&&k>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==I.star||this.canInsertSemicolon()?Z="async":Me=!0),!Z&&(k>=9||!Me)&&this.eat(I.star)&&(be=!0),!Z&&!Me&&!be){var pt=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?je=pt:Z=pt)}if(Z?(W.computed=!1,W.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),W.key.name=Z,this.finishNode(W.key,"Identifier")):this.parseClassElementName(W),k<13||this.type===I.parenL||je!=="method"||be||Me){var Dt=!W.static&&Ye(W,"constructor"),bt=Dt&&m;Dt&&je!=="method"&&this.raise(W.key.start,"Constructor can't have get/set modifier"),W.kind=Dt?"constructor":je,this.parseClassMethod(W,be,Me,bt)}else this.parseClassField(W);return W},se.isClassElementNameStart=function(){return this.type===I.name||this.type===I.privateId||this.type===I.num||this.type===I.string||this.type===I.bracketL||this.type.keyword},se.parseClassElementName=function(m){this.type===I.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),m.computed=!1,m.key=this.parsePrivateIdent()):this.parsePropertyName(m)},se.parseClassMethod=function(m,k,W,Z){var be=m.key;m.kind==="constructor"?(k&&this.raise(be.start,"Constructor can't be a generator"),W&&this.raise(be.start,"Constructor can't be an async method")):m.static&&Ye(m,"prototype")&&this.raise(be.start,"Classes may not have a static property named prototype");var Me=m.value=this.parseMethod(k,W,Z);return m.kind==="get"&&Me.params.length!==0&&this.raiseRecoverable(Me.start,"getter should have no params"),m.kind==="set"&&Me.params.length!==1&&this.raiseRecoverable(Me.start,"setter should have exactly one param"),m.kind==="set"&&Me.params[0].type==="RestElement"&&this.raiseRecoverable(Me.params[0].start,"Setter cannot use rest params"),this.finishNode(m,"MethodDefinition")},se.parseClassField=function(m){if(Ye(m,"constructor")?this.raise(m.key.start,"Classes can't have a field named 'constructor'"):m.static&&Ye(m,"prototype")&&this.raise(m.key.start,"Classes can't have a static field named 'prototype'"),this.eat(I.eq)){var k=this.currentThisScope(),W=k.inClassFieldInit;k.inClassFieldInit=!0,m.value=this.parseMaybeAssign(),k.inClassFieldInit=W}else m.value=null;return this.semicolon(),this.finishNode(m,"PropertyDefinition")},se.parseClassStaticBlock=function(m){m.body=[];var k=this.labels;for(this.labels=[],this.enterScope(320);this.type!==I.braceR;){var W=this.parseStatement(null);m.body.push(W)}return this.next(),this.exitScope(),this.labels=k,this.finishNode(m,"StaticBlock")},se.parseClassId=function(m,k){this.type===I.name?(m.id=this.parseIdent(),k&&this.checkLValSimple(m.id,2,!1)):(k===!0&&this.unexpected(),m.id=null)},se.parseClassSuper=function(m){m.superClass=this.eat(I._extends)?this.parseExprSubscripts(null,!1):null},se.enterClassBody=function(){var m={declared:Object.create(null),used:[]};return this.privateNameStack.push(m),m.declared},se.exitClassBody=function(){var m=this.privateNameStack.pop(),k=m.declared,W=m.used;if(this.options.checkPrivateFields)for(var Z=this.privateNameStack.length,be=Z===0?null:this.privateNameStack[Z-1],Me=0;Me<W.length;++Me){var je=W[Me];j(k,je.name)||(be?be.used.push(je):this.raiseRecoverable(je.start,"Private field '#"+je.name+"' must be declared in an enclosing class"))}},se.parseExportAllDeclaration=function(m,k){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(m.exported=this.parseModuleExportName(),this.checkExport(k,m.exported,this.lastTokStart)):m.exported=null),this.expectContextual("from"),this.type!==I.string&&this.unexpected(),m.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(m.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(m,"ExportAllDeclaration")},se.parseExport=function(m,k){if(this.next(),this.eat(I.star))return this.parseExportAllDeclaration(m,k);if(this.eat(I._default))return this.checkExport(k,"default",this.lastTokStart),m.declaration=this.parseExportDefaultDeclaration(),this.finishNode(m,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())m.declaration=this.parseExportDeclaration(m),m.declaration.type==="VariableDeclaration"?this.checkVariableExport(k,m.declaration.declarations):this.checkExport(k,m.declaration.id,m.declaration.id.start),m.specifiers=[],m.source=null;else{if(m.declaration=null,m.specifiers=this.parseExportSpecifiers(k),this.eatContextual("from"))this.type!==I.string&&this.unexpected(),m.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(m.attributes=this.parseWithClause());else{for(var W=0,Z=m.specifiers;W<Z.length;W+=1){var be=Z[W];this.checkUnreserved(be.local),this.checkLocalExport(be.local),be.local.type==="Literal"&&this.raise(be.local.start,"A string literal cannot be used as an exported binding without `from`.")}m.source=null}this.semicolon()}return this.finishNode(m,"ExportNamedDeclaration")},se.parseExportDeclaration=function(m){return this.parseStatement(null)},se.parseExportDefaultDeclaration=function(){var m;if(this.type===I._function||(m=this.isAsyncFunction())){var k=this.startNode();return this.next(),m&&this.next(),this.parseFunction(k,4|$,!1,m)}if(this.type===I._class){var W=this.startNode();return this.parseClass(W,"nullableID")}var Z=this.parseMaybeAssign();return this.semicolon(),Z},se.checkExport=function(m,k,W){m&&(typeof k!="string"&&(k=k.type==="Identifier"?k.name:k.value),j(m,k)&&this.raiseRecoverable(W,"Duplicate export '"+k+"'"),m[k]=!0)},se.checkPatternExport=function(m,k){var W=k.type;if(W==="Identifier")this.checkExport(m,k,k.start);else if(W==="ObjectPattern")for(var Z=0,be=k.properties;Z<be.length;Z+=1){var Me=be[Z];this.checkPatternExport(m,Me)}else if(W==="ArrayPattern")for(var je=0,Ze=k.elements;je<Ze.length;je+=1){var pt=Ze[je];pt&&this.checkPatternExport(m,pt)}else W==="Property"?this.checkPatternExport(m,k.value):W==="AssignmentPattern"?this.checkPatternExport(m,k.left):W==="RestElement"&&this.checkPatternExport(m,k.argument)},se.checkVariableExport=function(m,k){if(m)for(var W=0,Z=k;W<Z.length;W+=1){var be=Z[W];this.checkPatternExport(m,be.id)}},se.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},se.parseExportSpecifier=function(m){var k=this.startNode();return k.local=this.parseModuleExportName(),k.exported=this.eatContextual("as")?this.parseModuleExportName():k.local,this.checkExport(m,k.exported,k.exported.start),this.finishNode(k,"ExportSpecifier")},se.parseExportSpecifiers=function(m){var k=[],W=!0;for(this.expect(I.braceL);!this.eat(I.braceR);){if(W)W=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;k.push(this.parseExportSpecifier(m))}return k},se.parseImport=function(m){return this.next(),this.type===I.string?(m.specifiers=Se,m.source=this.parseExprAtom()):(m.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),m.source=this.type===I.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(m.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(m,"ImportDeclaration")},se.parseImportSpecifier=function(){var m=this.startNode();return m.imported=this.parseModuleExportName(),this.eatContextual("as")?m.local=this.parseIdent():(this.checkUnreserved(m.imported),m.local=m.imported),this.checkLValSimple(m.local,2),this.finishNode(m,"ImportSpecifier")},se.parseImportDefaultSpecifier=function(){var m=this.startNode();return m.local=this.parseIdent(),this.checkLValSimple(m.local,2),this.finishNode(m,"ImportDefaultSpecifier")},se.parseImportNamespaceSpecifier=function(){var m=this.startNode();return this.next(),this.expectContextual("as"),m.local=this.parseIdent(),this.checkLValSimple(m.local,2),this.finishNode(m,"ImportNamespaceSpecifier")},se.parseImportSpecifiers=function(){var m=[],k=!0;if(this.type===I.name&&(m.push(this.parseImportDefaultSpecifier()),!this.eat(I.comma)))return m;if(this.type===I.star)return m.push(this.parseImportNamespaceSpecifier()),m;for(this.expect(I.braceL);!this.eat(I.braceR);){if(k)k=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;m.push(this.parseImportSpecifier())}return m},se.parseWithClause=function(){var m=[];if(!this.eat(I._with))return m;this.expect(I.braceL);for(var k={},W=!0;!this.eat(I.braceR);){if(W)W=!1;else if(this.expect(I.comma),this.afterTrailingComma(I.braceR))break;var Z=this.parseImportAttribute(),be=Z.key.type==="Identifier"?Z.key.name:Z.key.value;j(k,be)&&this.raiseRecoverable(Z.key.start,"Duplicate attribute key '"+be+"'"),k[be]=!0,m.push(Z)}return m},se.parseImportAttribute=function(){var m=this.startNode();return m.key=this.type===I.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(I.colon),this.type!==I.string&&this.unexpected(),m.value=this.parseExprAtom(),this.finishNode(m,"ImportAttribute")},se.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===I.string){var m=this.parseLiteral(this.value);return te.test(m.value)&&this.raise(m.start,"An export name cannot include a lone surrogate."),m}return this.parseIdent(!0)},se.adaptDirectivePrologue=function(m){for(var k=0;k<m.length&&this.isDirectiveCandidate(m[k]);++k)m[k].directive=m[k].expression.raw.slice(1,-1)},se.isDirectiveCandidate=function(m){return this.options.ecmaVersion>=5&&m.type==="ExpressionStatement"&&m.expression.type==="Literal"&&typeof m.expression.value=="string"&&(this.input[m.start]==='"'||this.input[m.start]==="'")};var Xe=ye.prototype;Xe.toAssignable=function(m,k,W){if(this.options.ecmaVersion>=6&&m)switch(m.type){case"Identifier":this.inAsync&&m.name==="await"&&this.raise(m.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":m.type="ObjectPattern",W&&this.checkPatternErrors(W,!0);for(var Z=0,be=m.properties;Z<be.length;Z+=1){var Me=be[Z];this.toAssignable(Me,k),Me.type!=="RestElement"||Me.argument.type!=="ArrayPattern"&&Me.argument.type!=="ObjectPattern"||this.raise(Me.argument.start,"Unexpected token")}break;case"Property":m.kind!=="init"&&this.raise(m.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(m.value,k);break;case"ArrayExpression":m.type="ArrayPattern",W&&this.checkPatternErrors(W,!0),this.toAssignableList(m.elements,k);break;case"SpreadElement":m.type="RestElement",this.toAssignable(m.argument,k),m.argument.type==="AssignmentPattern"&&this.raise(m.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":m.operator!=="="&&this.raise(m.left.end,"Only '=' operator can be used for specifying default value."),m.type="AssignmentPattern",delete m.operator,this.toAssignable(m.left,k);break;case"ParenthesizedExpression":this.toAssignable(m.expression,k,W);break;case"ChainExpression":this.raiseRecoverable(m.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!k)break;default:this.raise(m.start,"Assigning to rvalue")}else W&&this.checkPatternErrors(W,!0);return m},Xe.toAssignableList=function(m,k){for(var W=m.length,Z=0;Z<W;Z++){var be=m[Z];be&&this.toAssignable(be,k)}if(W){var Me=m[W-1];this.options.ecmaVersion===6&&k&&Me&&Me.type==="RestElement"&&Me.argument.type!=="Identifier"&&this.unexpected(Me.argument.start)}ret