UNPKG

create-storm-workspace

Version:

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

4 lines 1.71 MB
#!/usr/bin/env node var dY=Object.create;var Qm=Object.defineProperty;var fY=Object.getOwnPropertyDescriptor;var mY=Object.getOwnPropertyNames;var gY=Object.getPrototypeOf,EY=Object.prototype.hasOwnProperty;var qr=(e,t)=>()=>(e&&(t=e(e=0)),t);var Z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Ka=(e,t)=>{for(var r in t)Qm(e,r,{get:t[r],enumerable:!0})},vk=(e,t,r,i)=>{if(t&&typeof t=="object"||typeof t=="function")for(let n of mY(t))!EY.call(e,n)&&n!==r&&Qm(e,n,{get:()=>t[n],enumerable:!(i=fY(t,n))||i.enumerable});return e};var Di=(e,t,r)=>(r=e!=null?dY(gY(e)):{},vk(t||!e||!e.__esModule?Qm(r,"default",{value:e,enumerable:!0}):r,e)),yY=e=>vk(Qm({},"__esModule",{value:!0}),e);function IA(e=""){return e&&e.replace(/\\/g,"/").replace(bY,t=>t.toUpperCase())}function wY(){return typeof process<"u"&&typeof process.cwd=="function"?process.cwd().replace(/\\/g,"/"):"/"}function w0(e,t){let r="",i=0,n=-1,s=0,o=null;for(let a=0;a<=e.length;++a){if(a<e.length)o=e[a];else{if(o==="/")break;o="/"}if(o==="/"){if(!(n===a-1||s===1))if(s===2){if(r.length<2||i!==2||r[r.length-1]!=="."||r[r.length-2]!=="."){if(r.length>2){let u=r.lastIndexOf("/");u===-1?(r="",i=0):(r=r.slice(0,u),i=r.length-1-r.lastIndexOf("/")),n=a,s=0;continue}else if(r.length>0){r="",i=0,n=a,s=0;continue}}t&&(r+=r.length>0?"/..":"..",i=2)}else r.length>0?r+=`/${e.slice(n+1,a)}`:r=e.slice(n+1,a),i=a-n-1;n=a,s=0}else o==="."&&s!==-1?++s:s=-1}return r}var bY,CY,vY,wk,Ik,IY,wA,Rs,mr,ts,BA,B0,Yo,Kl,Bk=qr(()=>{bY=/^[A-Za-z]:\//;CY=/^[/\\]{2}/,vY=/^[/\\](?![/\\])|^[/\\]{2}(?!\.)|^[A-Za-z]:[/\\]/,wk=/^[A-Za-z]:$/,Ik=/^\/([A-Za-z]:)?$/,IY=/.(\.[^./]+|\.)$/,wA=function(e){if(e.length===0)return".";e=IA(e);let t=e.match(CY),r=ts(e),i=e[e.length-1]==="/";return e=w0(e,!r),e.length===0?r?"/":i?"./":".":(i&&(e+="/"),wk.test(e)&&(e+="/"),t?r?`//${e}`:`//./${e}`:r&&!ts(e)?`/${e}`:e)},Rs=function(...e){let t="";for(let r of e)if(r)if(t.length>0){let i=t[t.length-1]==="/",n=r[0]==="/";i&&n?t+=r.slice(1):t+=i||n?r:`/${r}`}else t+=r;return wA(t)};mr=function(...e){e=e.map(i=>IA(i));let t="",r=!1;for(let i=e.length-1;i>=-1&&!r;i--){let n=i>=0?e[i]:wY();!n||n.length===0||(t=`${n}/${t}`,r=ts(n))}return t=w0(t,!r),r&&!ts(t)?`/${t}`:t.length>0?t:"."};ts=function(e){return vY.test(e)},BA=function(e){if(e==="..")return"";let t=IY.exec(IA(e));return t&&t[1]||""},B0=function(e,t){let r=mr(e).replace(Ik,"$1").split("/"),i=mr(t).replace(Ik,"$1").split("/");if(i[0][1]===":"&&r[0][1]===":"&&r[0]!==i[0])return i.join("/");let n=[...r];for(let s of n){if(i[0]!==s)break;r.shift(),i.shift()}return[...r.map(()=>".."),...i].join("/")},Yo=function(e){let t=IA(e).replace(/\/$/,"").split("/").slice(0,-1);return t.length===1&&wk.test(t[0])&&(t[0]+="/"),t.join("/")||(ts(e)?"/":".")},Kl=function(e,t){let r=IA(e).split("/"),i="";for(let n=r.length-1;n>=0;n--){let s=r[n];if(s){i=s;break}}return t&&i.endsWith(t)?i.slice(0,-t.length):i}});var Xl=qr(()=>{Bk()});var Qk=Z((wye,xk)=>{(()=>{var e={"./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive":function(n){function s(o){return Promise.resolve().then(function(){var a=new Error("Cannot find module '"+o+"'");throw a.code="MODULE_NOT_FOUND",a})}s.keys=()=>[],s.resolve=s,s.id="./node_modules/.pnpm/mlly@1.8.0/node_modules/mlly/dist lazy recursive",n.exports=s}},t={};function r(n){var s=t[n];if(s!==void 0)return s.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}r.n=n=>{var s=n&&n.__esModule?()=>n.default:()=>n;return r.d(s,{a:s}),s},r.d=(n,s)=>{for(var o in s)r.o(s,o)&&!r.o(n,o)&&Object.defineProperty(n,o,{enumerable:!0,get:s[o]})},r.o=(n,s)=>Object.prototype.hasOwnProperty.call(n,s);var i={};(()=>{"use strict";r.d(i,{default:()=>EA});let n=require("node:os");var s=[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],o=[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],a="\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",u={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"},l="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",p={5:l,"5module":l+" export import",6:l+" const class extends export import super"},h=/^in(stanceof)?$/,f=new RegExp("["+a+"]"),g=new RegExp("["+a+"\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 m(c,A){for(var v=65536,B=0;B<A.length;B+=2){if((v+=A[B])>c)return!1;if((v+=A[B+1])>=c)return!0}return!1}function E(c,A){return c<65?c===36:c<91||(c<97?c===95:c<123||(c<=65535?c>=170&&f.test(String.fromCharCode(c)):A!==!1&&m(c,o)))}function b(c,A){return c<48?c===36:c<58||!(c<65)&&(c<91||(c<97?c===95:c<123||(c<=65535?c>=170&&g.test(String.fromCharCode(c)):A!==!1&&(m(c,o)||m(c,s)))))}var I=function(c,A){A===void 0&&(A={}),this.label=c,this.keyword=A.keyword,this.beforeExpr=!!A.beforeExpr,this.startsExpr=!!A.startsExpr,this.isLoop=!!A.isLoop,this.isAssign=!!A.isAssign,this.prefix=!!A.prefix,this.postfix=!!A.postfix,this.binop=A.binop||null,this.updateContext=null};function _(c,A){return new I(c,{beforeExpr:!0,binop:A})}var Q={beforeExpr:!0},O={startsExpr:!0},U={};function L(c,A){return A===void 0&&(A={}),A.keyword=c,U[c]=new I(c,A)}var y={num:new I("num",O),regexp:new I("regexp",O),string:new I("string",O),name:new I("name",O),privateId:new I("privateId",O),eof:new I("eof"),bracketL:new I("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new I("]"),braceL:new I("{",{beforeExpr:!0,startsExpr:!0}),braceR:new I("}"),parenL:new I("(",{beforeExpr:!0,startsExpr:!0}),parenR:new I(")"),comma:new I(",",Q),semi:new I(";",Q),colon:new I(":",Q),dot:new I("."),question:new I("?",Q),questionDot:new I("?."),arrow:new I("=>",Q),template:new I("template"),invalidTemplate:new I("invalidTemplate"),ellipsis:new I("...",Q),backQuote:new I("`",O),dollarBraceL:new I("${",{beforeExpr:!0,startsExpr:!0}),eq:new I("=",{beforeExpr:!0,isAssign:!0}),assign:new I("_=",{beforeExpr:!0,isAssign:!0}),incDec:new I("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new I("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:_("||",1),logicalAND:_("&&",2),bitwiseOR:_("|",3),bitwiseXOR:_("^",4),bitwiseAND:_("&",5),equality:_("==/!=/===/!==",6),relational:_("</>/<=/>=",7),bitShift:_("<</>>/>>>",8),plusMin:new I("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:_("%",10),star:_("*",10),slash:_("/",10),starstar:new I("**",{beforeExpr:!0}),coalesce:_("??",1),_break:L("break"),_case:L("case",Q),_catch:L("catch"),_continue:L("continue"),_debugger:L("debugger"),_default:L("default",Q),_do:L("do",{isLoop:!0,beforeExpr:!0}),_else:L("else",Q),_finally:L("finally"),_for:L("for",{isLoop:!0}),_function:L("function",O),_if:L("if"),_return:L("return",Q),_switch:L("switch"),_throw:L("throw",Q),_try:L("try"),_var:L("var"),_const:L("const"),_while:L("while",{isLoop:!0}),_with:L("with"),_new:L("new",{beforeExpr:!0,startsExpr:!0}),_this:L("this",O),_super:L("super",O),_class:L("class",O),_extends:L("extends",Q),_export:L("export"),_import:L("import",O),_null:L("null",O),_true:L("true",O),_false:L("false",O),_in:L("in",{beforeExpr:!0,binop:7}),_instanceof:L("instanceof",{beforeExpr:!0,binop:7}),_typeof:L("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:L("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:L("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},P=/\r\n?|\n|\u2028|\u2029/,k=new RegExp(P.source,"g");function S(c){return c===10||c===13||c===8232||c===8233}function x(c,A,v){v===void 0&&(v=c.length);for(var B=A;B<v;B++){var T=c.charCodeAt(B);if(S(T))return B<v-1&&T===13&&c.charCodeAt(B+1)===10?B+2:B+1}return-1}var D=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,F=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,M=Object.prototype,j=M.hasOwnProperty,X=M.toString,G=Object.hasOwn||function(c,A){return j.call(c,A)},Y=Array.isArray||function(c){return X.call(c)==="[object Array]"},oe=Object.create(null);function Ee(c){return oe[c]||(oe[c]=new RegExp("^(?:"+c.replace(/ /g,"|")+")$"))}function me(c){return c<=65535?String.fromCharCode(c):(c-=65536,String.fromCharCode(55296+(c>>10),56320+(1023&c)))}var Le=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Be=function(c,A){this.line=c,this.column=A};Be.prototype.offset=function(c){return new Be(this.line,this.column+c)};var ve=function(c,A,v){this.start=A,this.end=v,c.sourceFile!==null&&(this.source=c.sourceFile)};function ge(c,A){for(var v=1,B=0;;){var T=x(c,B,A);if(T<0)return new Be(v,A-B);++v,B=T}}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},je=!1;function Me(c){var A={};for(var v in Oe)A[v]=c&&G(c,v)?c[v]:Oe[v];if(A.ecmaVersion==="latest"?A.ecmaVersion=1e8:A.ecmaVersion==null?(!je&&typeof console=="object"&&console.warn&&(je=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)),A.ecmaVersion=11):A.ecmaVersion>=2015&&(A.ecmaVersion-=2009),A.allowReserved==null&&(A.allowReserved=A.ecmaVersion<5),c&&c.allowHashBang!=null||(A.allowHashBang=A.ecmaVersion>=14),Y(A.onToken)){var B=A.onToken;A.onToken=function(T){return B.push(T)}}return Y(A.onComment)&&(A.onComment=(function(T,q){return function(z,ee,he,De,Ce,Pe){var Ue={type:z?"Block":"Line",value:ee,start:he,end:De};T.locations&&(Ue.loc=new ve(this,Ce,Pe)),T.ranges&&(Ue.range=[he,De]),q.push(Ue)}})(A,A.onComment)),A}var _e=256,Ie=259;function Ae(c,A){return 2|(c?4:0)|(A?8:0)}var se=function(c,A,v){this.options=c=Me(c),this.sourceFile=c.sourceFile,this.keywords=Ee(p[c.ecmaVersion>=6?6:c.sourceType==="module"?"5module":5]);var B="";c.allowReserved!==!0&&(B=u[c.ecmaVersion>=6?6:c.ecmaVersion===5?5:3],c.sourceType==="module"&&(B+=" await")),this.reservedWords=Ee(B);var T=(B?B+" ":"")+u.strict;this.reservedWordsStrict=Ee(T),this.reservedWordsStrictBind=Ee(T+" "+u.strictBind),this.input=String(A),this.containsEsc=!1,v?(this.pos=v,this.lineStart=this.input.lastIndexOf(` `,v-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(P).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=y.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=c.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&&c.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(1),this.regexpState=null,this.privateNameStack=[]},we={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}};se.prototype.parse=function(){var c=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(c)},we.inFunction.get=function(){return(2&this.currentVarScope().flags)>0},we.inGenerator.get=function(){return(8&this.currentVarScope().flags)>0},we.inAsync.get=function(){return(4&this.currentVarScope().flags)>0},we.canAwait.get=function(){for(var c=this.scopeStack.length-1;c>=0;c--){var A=this.scopeStack[c].flags;if(768&A)return!1;if(2&A)return(4&A)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},we.allowSuper.get=function(){return(64&this.currentThisScope().flags)>0||this.options.allowSuperOutsideMethod},we.allowDirectSuper.get=function(){return(128&this.currentThisScope().flags)>0},we.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},we.allowNewDotTarget.get=function(){for(var c=this.scopeStack.length-1;c>=0;c--){var A=this.scopeStack[c].flags;if(768&A||2&A&&!(16&A))return!0}return!1},we.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&_e)>0},se.extend=function(){for(var c=[],A=arguments.length;A--;)c[A]=arguments[A];for(var v=this,B=0;B<c.length;B++)v=c[B](v);return v},se.parse=function(c,A){return new this(A,c).parse()},se.parseExpressionAt=function(c,A,v){var B=new this(v,c,A);return B.nextToken(),B.parseExpression()},se.tokenizer=function(c,A){return new this(A,c)},Object.defineProperties(se.prototype,we);var ae=se.prototype,$e=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;ae.strictDirective=function(c){if(this.options.ecmaVersion<5)return!1;for(;;){F.lastIndex=c,c+=F.exec(this.input)[0].length;var A=$e.exec(this.input.slice(c));if(!A)return!1;if((A[1]||A[2])==="use strict"){F.lastIndex=c+A[0].length;var v=F.exec(this.input),B=v.index+v[0].length,T=this.input.charAt(B);return T===";"||T==="}"||P.test(v[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(T)||T==="!"&&this.input.charAt(B+1)==="=")}c+=A[0].length,F.lastIndex=c,c+=F.exec(this.input)[0].length,this.input[c]===";"&&c++}},ae.eat=function(c){return this.type===c&&(this.next(),!0)},ae.isContextual=function(c){return this.type===y.name&&this.value===c&&!this.containsEsc},ae.eatContextual=function(c){return!!this.isContextual(c)&&(this.next(),!0)},ae.expectContextual=function(c){this.eatContextual(c)||this.unexpected()},ae.canInsertSemicolon=function(){return this.type===y.eof||this.type===y.braceR||P.test(this.input.slice(this.lastTokEnd,this.start))},ae.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},ae.semicolon=function(){this.eat(y.semi)||this.insertSemicolon()||this.unexpected()},ae.afterTrailingComma=function(c,A){if(this.type===c)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),A||this.next(),!0},ae.expect=function(c){this.eat(c)||this.unexpected()},ae.unexpected=function(c){this.raise(c??this.start,"Unexpected token")};var Ne=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};ae.checkPatternErrors=function(c,A){if(c){c.trailingComma>-1&&this.raiseRecoverable(c.trailingComma,"Comma is not permitted after the rest element");var v=A?c.parenthesizedAssign:c.parenthesizedBind;v>-1&&this.raiseRecoverable(v,A?"Assigning to rvalue":"Parenthesized pattern")}},ae.checkExpressionErrors=function(c,A){if(!c)return!1;var v=c.shorthandAssign,B=c.doubleProto;if(!A)return v>=0||B>=0;v>=0&&this.raise(v,"Shorthand property assignments are valid only in destructuring patterns"),B>=0&&this.raiseRecoverable(B,"Redefinition of __proto__ property")},ae.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")},ae.isSimpleAssignTarget=function(c){return c.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(c.expression):c.type==="Identifier"||c.type==="MemberExpression"};var Qe=se.prototype;Qe.parseTopLevel=function(c){var A=Object.create(null);for(c.body||(c.body=[]);this.type!==y.eof;){var v=this.parseStatement(null,!0,A);c.body.push(v)}if(this.inModule)for(var B=0,T=Object.keys(this.undefinedExports);B<T.length;B+=1){var q=T[B];this.raiseRecoverable(this.undefinedExports[q].start,"Export '"+q+"' is not defined")}return this.adaptDirectivePrologue(c.body),this.next(),c.sourceType=this.options.sourceType,this.finishNode(c,"Program")};var Se={kind:"loop"},xt={kind:"switch"};Qe.isLet=function(c){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;F.lastIndex=this.pos;var A=F.exec(this.input),v=this.pos+A[0].length,B=this.input.charCodeAt(v);if(B===91||B===92)return!0;if(c)return!1;if(B===123||B>55295&&B<56320)return!0;if(E(B,!0)){for(var T=v+1;b(B=this.input.charCodeAt(T),!0);)++T;if(B===92||B>55295&&B<56320)return!0;var q=this.input.slice(v,T);if(!h.test(q))return!0}return!1},Qe.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;F.lastIndex=this.pos;var c,A=F.exec(this.input),v=this.pos+A[0].length;return!(P.test(this.input.slice(this.pos,v))||this.input.slice(v,v+8)!=="function"||v+8!==this.input.length&&(b(c=this.input.charCodeAt(v+8))||c>55295&&c<56320))},Qe.isUsingKeyword=function(c,A){if(this.options.ecmaVersion<17||!this.isContextual(c?"await":"using"))return!1;F.lastIndex=this.pos;var v=F.exec(this.input),B=this.pos+v[0].length;if(P.test(this.input.slice(this.pos,B)))return!1;if(c){var T,q=B+5;if(this.input.slice(B,q)!=="using"||q===this.input.length||b(T=this.input.charCodeAt(q))||T>55295&&T<56320)return!1;F.lastIndex=q;var z=F.exec(this.input);if(z&&P.test(this.input.slice(q,q+z[0].length)))return!1}if(A){var ee,he=B+2;if(!(this.input.slice(B,he)!=="of"||he!==this.input.length&&(b(ee=this.input.charCodeAt(he))||ee>55295&&ee<56320)))return!1}var De=this.input.charCodeAt(B);return E(De,!0)||De===92},Qe.isAwaitUsing=function(c){return this.isUsingKeyword(!0,c)},Qe.isUsing=function(c){return this.isUsingKeyword(!1,c)},Qe.parseStatement=function(c,A,v){var B,T=this.type,q=this.startNode();switch(this.isLet(c)&&(T=y._var,B="let"),T){case y._break:case y._continue:return this.parseBreakContinueStatement(q,T.keyword);case y._debugger:return this.parseDebuggerStatement(q);case y._do:return this.parseDoStatement(q);case y._for:return this.parseForStatement(q);case y._function:return c&&(this.strict||c!=="if"&&c!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(q,!1,!c);case y._class:return c&&this.unexpected(),this.parseClass(q,!0);case y._if:return this.parseIfStatement(q);case y._return:return this.parseReturnStatement(q);case y._switch:return this.parseSwitchStatement(q);case y._throw:return this.parseThrowStatement(q);case y._try:return this.parseTryStatement(q);case y._const:case y._var:return B=B||this.value,c&&B!=="var"&&this.unexpected(),this.parseVarStatement(q,B);case y._while:return this.parseWhileStatement(q);case y._with:return this.parseWithStatement(q);case y.braceL:return this.parseBlock(!0,q);case y.semi:return this.parseEmptyStatement(q);case y._export:case y._import:if(this.options.ecmaVersion>10&&T===y._import){F.lastIndex=this.pos;var z=F.exec(this.input),ee=this.pos+z[0].length,he=this.input.charCodeAt(ee);if(he===40||he===46)return this.parseExpressionStatement(q,this.parseExpression())}return this.options.allowImportExportEverywhere||(A||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'")),T===y._import?this.parseImport(q):this.parseExport(q,v);default:if(this.isAsyncFunction())return c&&this.unexpected(),this.next(),this.parseFunctionStatement(q,!0,!c);var De=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(De)return A&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),De==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(q,!1,De),this.semicolon(),this.finishNode(q,"VariableDeclaration");var Ce=this.value,Pe=this.parseExpression();return T===y.name&&Pe.type==="Identifier"&&this.eat(y.colon)?this.parseLabeledStatement(q,Ce,Pe,c):this.parseExpressionStatement(q,Pe)}},Qe.parseBreakContinueStatement=function(c,A){var v=A==="break";this.next(),this.eat(y.semi)||this.insertSemicolon()?c.label=null:this.type!==y.name?this.unexpected():(c.label=this.parseIdent(),this.semicolon());for(var B=0;B<this.labels.length;++B){var T=this.labels[B];if((c.label==null||T.name===c.label.name)&&(T.kind!=null&&(v||T.kind==="loop")||c.label&&v))break}return B===this.labels.length&&this.raise(c.start,"Unsyntactic "+A),this.finishNode(c,v?"BreakStatement":"ContinueStatement")},Qe.parseDebuggerStatement=function(c){return this.next(),this.semicolon(),this.finishNode(c,"DebuggerStatement")},Qe.parseDoStatement=function(c){return this.next(),this.labels.push(Se),c.body=this.parseStatement("do"),this.labels.pop(),this.expect(y._while),c.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(y.semi):this.semicolon(),this.finishNode(c,"DoWhileStatement")},Qe.parseForStatement=function(c){this.next();var A=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Se),this.enterScope(0),this.expect(y.parenL),this.type===y.semi)return A>-1&&this.unexpected(A),this.parseFor(c,null);var v=this.isLet();if(this.type===y._var||this.type===y._const||v){var B=this.startNode(),T=v?"let":this.value;return this.next(),this.parseVar(B,!0,T),this.finishNode(B,"VariableDeclaration"),this.parseForAfterInit(c,B,A)}var q=this.isContextual("let"),z=!1,ee=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(ee){var he=this.startNode();return this.next(),ee==="await using"&&this.next(),this.parseVar(he,!0,ee),this.finishNode(he,"VariableDeclaration"),this.parseForAfterInit(c,he,A)}var De=this.containsEsc,Ce=new Ne,Pe=this.start,Ue=A>-1?this.parseExprSubscripts(Ce,"await"):this.parseExpression(!0,Ce);return this.type===y._in||(z=this.options.ecmaVersion>=6&&this.isContextual("of"))?(A>-1?(this.type===y._in&&this.unexpected(A),c.await=!0):z&&this.options.ecmaVersion>=8&&(Ue.start!==Pe||De||Ue.type!=="Identifier"||Ue.name!=="async"?this.options.ecmaVersion>=9&&(c.await=!1):this.unexpected()),q&&z&&this.raise(Ue.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Ue,!1,Ce),this.checkLValPattern(Ue),this.parseForIn(c,Ue)):(this.checkExpressionErrors(Ce,!0),A>-1&&this.unexpected(A),this.parseFor(c,Ue))},Qe.parseForAfterInit=function(c,A,v){return(this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&A.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===y._in?v>-1&&this.unexpected(v):c.await=v>-1),this.parseForIn(c,A)):(v>-1&&this.unexpected(v),this.parseFor(c,A))},Qe.parseFunctionStatement=function(c,A,v){return this.next(),this.parseFunction(c,at|(v?0:ft),!1,A)},Qe.parseIfStatement=function(c){return this.next(),c.test=this.parseParenExpression(),c.consequent=this.parseStatement("if"),c.alternate=this.eat(y._else)?this.parseStatement("if"):null,this.finishNode(c,"IfStatement")},Qe.parseReturnStatement=function(c){return this.inFunction||this.options.allowReturnOutsideFunction||this.raise(this.start,"'return' outside of function"),this.next(),this.eat(y.semi)||this.insertSemicolon()?c.argument=null:(c.argument=this.parseExpression(),this.semicolon()),this.finishNode(c,"ReturnStatement")},Qe.parseSwitchStatement=function(c){var A;this.next(),c.discriminant=this.parseParenExpression(),c.cases=[],this.expect(y.braceL),this.labels.push(xt),this.enterScope(0);for(var v=!1;this.type!==y.braceR;)if(this.type===y._case||this.type===y._default){var B=this.type===y._case;A&&this.finishNode(A,"SwitchCase"),c.cases.push(A=this.startNode()),A.consequent=[],this.next(),B?A.test=this.parseExpression():(v&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),v=!0,A.test=null),this.expect(y.colon)}else A||this.unexpected(),A.consequent.push(this.parseStatement(null));return this.exitScope(),A&&this.finishNode(A,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(c,"SwitchStatement")},Qe.parseThrowStatement=function(c){return this.next(),P.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),c.argument=this.parseExpression(),this.semicolon(),this.finishNode(c,"ThrowStatement")};var Et=[];Qe.parseCatchClauseParam=function(){var c=this.parseBindingAtom(),A=c.type==="Identifier";return this.enterScope(A?32:0),this.checkLValPattern(c,A?4:2),this.expect(y.parenR),c},Qe.parseTryStatement=function(c){if(this.next(),c.block=this.parseBlock(),c.handler=null,this.type===y._catch){var A=this.startNode();this.next(),this.eat(y.parenL)?A.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),A.param=null,this.enterScope(0)),A.body=this.parseBlock(!1),this.exitScope(),c.handler=this.finishNode(A,"CatchClause")}return c.finalizer=this.eat(y._finally)?this.parseBlock():null,c.handler||c.finalizer||this.raise(c.start,"Missing catch or finally clause"),this.finishNode(c,"TryStatement")},Qe.parseVarStatement=function(c,A,v){return this.next(),this.parseVar(c,!1,A,v),this.semicolon(),this.finishNode(c,"VariableDeclaration")},Qe.parseWhileStatement=function(c){return this.next(),c.test=this.parseParenExpression(),this.labels.push(Se),c.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(c,"WhileStatement")},Qe.parseWithStatement=function(c){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),c.object=this.parseParenExpression(),c.body=this.parseStatement("with"),this.finishNode(c,"WithStatement")},Qe.parseEmptyStatement=function(c){return this.next(),this.finishNode(c,"EmptyStatement")},Qe.parseLabeledStatement=function(c,A,v,B){for(var T=0,q=this.labels;T<q.length;T+=1)q[T].name===A&&this.raise(v.start,"Label '"+A+"' is already declared");for(var z=this.type.isLoop?"loop":this.type===y._switch?"switch":null,ee=this.labels.length-1;ee>=0;ee--){var he=this.labels[ee];if(he.statementStart!==c.start)break;he.statementStart=this.start,he.kind=z}return this.labels.push({name:A,kind:z,statementStart:this.start}),c.body=this.parseStatement(B?B.indexOf("label")===-1?B+"label":B:"label"),this.labels.pop(),c.label=v,this.finishNode(c,"LabeledStatement")},Qe.parseExpressionStatement=function(c,A){return c.expression=A,this.semicolon(),this.finishNode(c,"ExpressionStatement")},Qe.parseBlock=function(c,A,v){for(c===void 0&&(c=!0),A===void 0&&(A=this.startNode()),A.body=[],this.expect(y.braceL),c&&this.enterScope(0);this.type!==y.braceR;){var B=this.parseStatement(null);A.body.push(B)}return v&&(this.strict=!1),this.next(),c&&this.exitScope(),this.finishNode(A,"BlockStatement")},Qe.parseFor=function(c,A){return c.init=A,this.expect(y.semi),c.test=this.type===y.semi?null:this.parseExpression(),this.expect(y.semi),c.update=this.type===y.parenR?null:this.parseExpression(),this.expect(y.parenR),c.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(c,"ForStatement")},Qe.parseForIn=function(c,A){var v=this.type===y._in;return this.next(),A.type==="VariableDeclaration"&&A.declarations[0].init!=null&&(!v||this.options.ecmaVersion<8||this.strict||A.kind!=="var"||A.declarations[0].id.type!=="Identifier")&&this.raise(A.start,(v?"for-in":"for-of")+" loop variable declaration may not have an initializer"),c.left=A,c.right=v?this.parseExpression():this.parseMaybeAssign(),this.expect(y.parenR),c.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(c,v?"ForInStatement":"ForOfStatement")},Qe.parseVar=function(c,A,v,B){for(c.declarations=[],c.kind=v;;){var T=this.startNode();if(this.parseVarId(T,v),this.eat(y.eq)?T.init=this.parseMaybeAssign(A):B||v!=="const"||this.type===y._in||this.options.ecmaVersion>=6&&this.isContextual("of")?B||v!=="using"&&v!=="await using"||!(this.options.ecmaVersion>=17)||this.type===y._in||this.isContextual("of")?B||T.id.type==="Identifier"||A&&(this.type===y._in||this.isContextual("of"))?T.init=null:this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):this.raise(this.lastTokEnd,"Missing initializer in "+v+" declaration"):this.unexpected(),c.declarations.push(this.finishNode(T,"VariableDeclarator")),!this.eat(y.comma))break}return c},Qe.parseVarId=function(c,A){c.id=A==="using"||A==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(c.id,A==="var"?1:2,!1)};var at=1,ft=2;function vt(c,A){var v=A.key.name,B=c[v],T="true";return A.type!=="MethodDefinition"||A.kind!=="get"&&A.kind!=="set"||(T=(A.static?"s":"i")+A.kind),B==="iget"&&T==="iset"||B==="iset"&&T==="iget"||B==="sget"&&T==="sset"||B==="sset"&&T==="sget"?(c[v]="true",!1):!!B||(c[v]=T,!1)}function Ze(c,A){var v=c.computed,B=c.key;return!v&&(B.type==="Identifier"&&B.name===A||B.type==="Literal"&&B.value===A)}Qe.parseFunction=function(c,A,v,B,T){this.initFunction(c),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!B)&&(this.type===y.star&&A&ft&&this.unexpected(),c.generator=this.eat(y.star)),this.options.ecmaVersion>=8&&(c.async=!!B),A&at&&(c.id=4&A&&this.type!==y.name?null:this.parseIdent(),!c.id||A&ft||this.checkLValSimple(c.id,this.strict||c.generator||c.async?this.treatFunctionsAsVar?1:2:3));var q=this.yieldPos,z=this.awaitPos,ee=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Ae(c.async,c.generator)),A&at||(c.id=this.type===y.name?this.parseIdent():null),this.parseFunctionParams(c),this.parseFunctionBody(c,v,!1,T),this.yieldPos=q,this.awaitPos=z,this.awaitIdentPos=ee,this.finishNode(c,A&at?"FunctionDeclaration":"FunctionExpression")},Qe.parseFunctionParams=function(c){this.expect(y.parenL),c.params=this.parseBindingList(y.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},Qe.parseClass=function(c,A){this.next();var v=this.strict;this.strict=!0,this.parseClassId(c,A),this.parseClassSuper(c);var B=this.enterClassBody(),T=this.startNode(),q=!1;for(T.body=[],this.expect(y.braceL);this.type!==y.braceR;){var z=this.parseClassElement(c.superClass!==null);z&&(T.body.push(z),z.type==="MethodDefinition"&&z.kind==="constructor"?(q&&this.raiseRecoverable(z.start,"Duplicate constructor in the same class"),q=!0):z.key&&z.key.type==="PrivateIdentifier"&&vt(B,z)&&this.raiseRecoverable(z.key.start,"Identifier '#"+z.key.name+"' has already been declared"))}return this.strict=v,this.next(),c.body=this.finishNode(T,"ClassBody"),this.exitClassBody(),this.finishNode(c,A?"ClassDeclaration":"ClassExpression")},Qe.parseClassElement=function(c){if(this.eat(y.semi))return null;var A=this.options.ecmaVersion,v=this.startNode(),B="",T=!1,q=!1,z="method",ee=!1;if(this.eatContextual("static")){if(A>=13&&this.eat(y.braceL))return this.parseClassStaticBlock(v),v;this.isClassElementNameStart()||this.type===y.star?ee=!0:B="static"}if(v.static=ee,!B&&A>=8&&this.eatContextual("async")&&(!this.isClassElementNameStart()&&this.type!==y.star||this.canInsertSemicolon()?B="async":q=!0),!B&&(A>=9||!q)&&this.eat(y.star)&&(T=!0),!B&&!q&&!T){var he=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?z=he:B=he)}if(B?(v.computed=!1,v.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),v.key.name=B,this.finishNode(v.key,"Identifier")):this.parseClassElementName(v),A<13||this.type===y.parenL||z!=="method"||T||q){var De=!v.static&&Ze(v,"constructor"),Ce=De&&c;De&&z!=="method"&&this.raise(v.key.start,"Constructor can't have get/set modifier"),v.kind=De?"constructor":z,this.parseClassMethod(v,T,q,Ce)}else this.parseClassField(v);return v},Qe.isClassElementNameStart=function(){return this.type===y.name||this.type===y.privateId||this.type===y.num||this.type===y.string||this.type===y.bracketL||this.type.keyword},Qe.parseClassElementName=function(c){this.type===y.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),c.computed=!1,c.key=this.parsePrivateIdent()):this.parsePropertyName(c)},Qe.parseClassMethod=function(c,A,v,B){var T=c.key;c.kind==="constructor"?(A&&this.raise(T.start,"Constructor can't be a generator"),v&&this.raise(T.start,"Constructor can't be an async method")):c.static&&Ze(c,"prototype")&&this.raise(T.start,"Classes may not have a static property named prototype");var q=c.value=this.parseMethod(A,v,B);return c.kind==="get"&&q.params.length!==0&&this.raiseRecoverable(q.start,"getter should have no params"),c.kind==="set"&&q.params.length!==1&&this.raiseRecoverable(q.start,"setter should have exactly one param"),c.kind==="set"&&q.params[0].type==="RestElement"&&this.raiseRecoverable(q.params[0].start,"Setter cannot use rest params"),this.finishNode(c,"MethodDefinition")},Qe.parseClassField=function(c){return Ze(c,"constructor")?this.raise(c.key.start,"Classes can't have a field named 'constructor'"):c.static&&Ze(c,"prototype")&&this.raise(c.key.start,"Classes can't have a static field named 'prototype'"),this.eat(y.eq)?(this.enterScope(576),c.value=this.parseMaybeAssign(),this.exitScope()):c.value=null,this.semicolon(),this.finishNode(c,"PropertyDefinition")},Qe.parseClassStaticBlock=function(c){c.body=[];var A=this.labels;for(this.labels=[],this.enterScope(320);this.type!==y.braceR;){var v=this.parseStatement(null);c.body.push(v)}return this.next(),this.exitScope(),this.labels=A,this.finishNode(c,"StaticBlock")},Qe.parseClassId=function(c,A){this.type===y.name?(c.id=this.parseIdent(),A&&this.checkLValSimple(c.id,2,!1)):(A===!0&&this.unexpected(),c.id=null)},Qe.parseClassSuper=function(c){c.superClass=this.eat(y._extends)?this.parseExprSubscripts(null,!1):null},Qe.enterClassBody=function(){var c={declared:Object.create(null),used:[]};return this.privateNameStack.push(c),c.declared},Qe.exitClassBody=function(){var c=this.privateNameStack.pop(),A=c.declared,v=c.used;if(this.options.checkPrivateFields)for(var B=this.privateNameStack.length,T=B===0?null:this.privateNameStack[B-1],q=0;q<v.length;++q){var z=v[q];G(A,z.name)||(T?T.used.push(z):this.raiseRecoverable(z.start,"Private field '#"+z.name+"' must be declared in an enclosing class"))}},Qe.parseExportAllDeclaration=function(c,A){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(c.exported=this.parseModuleExportName(),this.checkExport(A,c.exported,this.lastTokStart)):c.exported=null),this.expectContextual("from"),this.type!==y.string&&this.unexpected(),c.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(c,"ExportAllDeclaration")},Qe.parseExport=function(c,A){if(this.next(),this.eat(y.star))return this.parseExportAllDeclaration(c,A);if(this.eat(y._default))return this.checkExport(A,"default",this.lastTokStart),c.declaration=this.parseExportDefaultDeclaration(),this.finishNode(c,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())c.declaration=this.parseExportDeclaration(c),c.declaration.type==="VariableDeclaration"?this.checkVariableExport(A,c.declaration.declarations):this.checkExport(A,c.declaration.id,c.declaration.id.start),c.specifiers=[],c.source=null,this.options.ecmaVersion>=16&&(c.attributes=[]);else{if(c.declaration=null,c.specifiers=this.parseExportSpecifiers(A),this.eatContextual("from"))this.type!==y.string&&this.unexpected(),c.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause());else{for(var v=0,B=c.specifiers;v<B.length;v+=1){var T=B[v];this.checkUnreserved(T.local),this.checkLocalExport(T.local),T.local.type==="Literal"&&this.raise(T.local.start,"A string literal cannot be used as an exported binding without `from`.")}c.source=null,this.options.ecmaVersion>=16&&(c.attributes=[])}this.semicolon()}return this.finishNode(c,"ExportNamedDeclaration")},Qe.parseExportDeclaration=function(c){return this.parseStatement(null)},Qe.parseExportDefaultDeclaration=function(){var c;if(this.type===y._function||(c=this.isAsyncFunction())){var A=this.startNode();return this.next(),c&&this.next(),this.parseFunction(A,4|at,!1,c)}if(this.type===y._class){var v=this.startNode();return this.parseClass(v,"nullableID")}var B=this.parseMaybeAssign();return this.semicolon(),B},Qe.checkExport=function(c,A,v){c&&(typeof A!="string"&&(A=A.type==="Identifier"?A.name:A.value),G(c,A)&&this.raiseRecoverable(v,"Duplicate export '"+A+"'"),c[A]=!0)},Qe.checkPatternExport=function(c,A){var v=A.type;if(v==="Identifier")this.checkExport(c,A,A.start);else if(v==="ObjectPattern")for(var B=0,T=A.properties;B<T.length;B+=1){var q=T[B];this.checkPatternExport(c,q)}else if(v==="ArrayPattern")for(var z=0,ee=A.elements;z<ee.length;z+=1){var he=ee[z];he&&this.checkPatternExport(c,he)}else v==="Property"?this.checkPatternExport(c,A.value):v==="AssignmentPattern"?this.checkPatternExport(c,A.left):v==="RestElement"&&this.checkPatternExport(c,A.argument)},Qe.checkVariableExport=function(c,A){if(c)for(var v=0,B=A;v<B.length;v+=1){var T=B[v];this.checkPatternExport(c,T.id)}},Qe.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},Qe.parseExportSpecifier=function(c){var A=this.startNode();return A.local=this.parseModuleExportName(),A.exported=this.eatContextual("as")?this.parseModuleExportName():A.local,this.checkExport(c,A.exported,A.exported.start),this.finishNode(A,"ExportSpecifier")},Qe.parseExportSpecifiers=function(c){var A=[],v=!0;for(this.expect(y.braceL);!this.eat(y.braceR);){if(v)v=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;A.push(this.parseExportSpecifier(c))}return A},Qe.parseImport=function(c){return this.next(),this.type===y.string?(c.specifiers=Et,c.source=this.parseExprAtom()):(c.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),c.source=this.type===y.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(c.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(c,"ImportDeclaration")},Qe.parseImportSpecifier=function(){var c=this.startNode();return c.imported=this.parseModuleExportName(),this.eatContextual("as")?c.local=this.parseIdent():(this.checkUnreserved(c.imported),c.local=c.imported),this.checkLValSimple(c.local,2),this.finishNode(c,"ImportSpecifier")},Qe.parseImportDefaultSpecifier=function(){var c=this.startNode();return c.local=this.parseIdent(),this.checkLValSimple(c.local,2),this.finishNode(c,"ImportDefaultSpecifier")},Qe.parseImportNamespaceSpecifier=function(){var c=this.startNode();return this.next(),this.expectContextual("as"),c.local=this.parseIdent(),this.checkLValSimple(c.local,2),this.finishNode(c,"ImportNamespaceSpecifier")},Qe.parseImportSpecifiers=function(){var c=[],A=!0;if(this.type===y.name&&(c.push(this.parseImportDefaultSpecifier()),!this.eat(y.comma)))return c;if(this.type===y.star)return c.push(this.parseImportNamespaceSpecifier()),c;for(this.expect(y.braceL);!this.eat(y.braceR);){if(A)A=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;c.push(this.parseImportSpecifier())}return c},Qe.parseWithClause=function(){var c=[];if(!this.eat(y._with))return c;this.expect(y.braceL);for(var A={},v=!0;!this.eat(y.braceR);){if(v)v=!1;else if(this.expect(y.comma),this.afterTrailingComma(y.braceR))break;var B=this.parseImportAttribute(),T=B.key.type==="Identifier"?B.key.name:B.key.value;G(A,T)&&this.raiseRecoverable(B.key.start,"Duplicate attribute key '"+T+"'"),A[T]=!0,c.push(B)}return c},Qe.parseImportAttribute=function(){var c=this.startNode();return c.key=this.type===y.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(y.colon),this.type!==y.string&&this.unexpected(),c.value=this.parseExprAtom(),this.finishNode(c,"ImportAttribute")},Qe.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===y.string){var c=this.parseLiteral(this.value);return Le.test(c.value)&&this.raise(c.start,"An export name cannot include a lone surrogate."),c}return this.parseIdent(!0)},Qe.adaptDirectivePrologue=function(c){for(var A=0;A<c.length&&this.isDirectiveCandidate(c[A]);++A)c[A].directive=c[A].expression.raw.slice(1,-1)},Qe.isDirectiveCandidate=function(c){return this.options.ecmaVersion>=5&&c.type==="ExpressionStatement"&&c.expression.type==="Literal"&&typeof c.expression.value=="string"&&(this.input[c.start]==='"'||this.input[c.start]==="'")};var Bt=se.prototype;Bt.toAssignable=function(c,A,v){if(this.options.ecmaVersion>=6&&c)switch(c.type){case"Identifier":this.inAsync&&c.name==="await"&&this.raise(c.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"R