potatejs 1.0.0-beta.2 → 1.0.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
- import{a as t}from"./chunk-JGG3UNRW.js";import"./chunk-FHGMMCU2.js";function r(){return{name:"potate",hooks:{"astro:config:setup":({addRenderer:e,updateConfig:o})=>{e({name:"potate",serverEntrypoint:"potatejs/astro/render",clientEntrypoint:"potatejs/astro/client"}),o({vite:{plugins:[t()],resolve:{alias:{react:"potatejs","react-dom":"potatejs","react/jsx-runtime":"potatejs"}},ssr:{external:["@emotion/css","@emotion/server"]},optimizeDeps:{exclude:["@emotion/css","@emotion/server"]}}})}}}}export{r as default};
2
+ import{a as t}from"./chunk-DHH2ZM2C.js";import"./chunk-QRCR45N4.js";function r(){return{name:"potate",hooks:{"astro:config:setup":({addRenderer:e,updateConfig:o})=>{e({name:"potate",serverEntrypoint:"potatejs/astro/render",clientEntrypoint:"potatejs/astro/client"}),o({vite:{plugins:[t()],resolve:{alias:{react:"potatejs","react-dom":"potatejs","react/jsx-runtime":"potatejs"}},ssr:{external:["@emotion/css","@emotion/server"]},optimizeDeps:{exclude:["@emotion/css","@emotion/server"]}}})}}}}export{r as default};
@@ -1,2 +1,2 @@
1
1
  import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
- import"./chunk-FHGMMCU2.js";var R=Promise.resolve();var x=Symbol.for("tag"),A=Symbol.for("tag-element"),b=Symbol.for("class-component"),l=Symbol.for("functional-component");function u({nodeType:e}){return e===A}function f({nodeType:e}){return e===x}function m({nodeType:e}){return e===b||e===l}function d(e){return typeof e=="string"||typeof e=="number"}import O from"potatejs";var g={area:1,base:1,br:1,col:1,embed:1,hr:1,img:1,input:1,link:1,meta:1,param:1,source:1,track:1,wbr:1};function E(e){return typeof e!="string"?String(e):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function T(e){if(!e)return"";let t="";for(let o in e){let n=e[o];if(o==="children"||o==="key"||o==="ref"||n===!1||n===null||n===void 0)continue;let r=o==="className"?"class":o;n===!0?t+=` ${r}`:t+=` ${r}="${E(n)}"`}return t}function a(e){if(e==null||typeof e=="boolean")return"";if(d(e))return E(e);if(e.innerHTML)return String(e.innerHTML);if(Array.isArray(e))return e.map(a).join("");if(m(e)){let t=e.type,o=e.props||{};if(t.prototype&&t.prototype.isReactComponent||t.__isReactCompat||typeof t=="object"&&t!==null)return"";if(typeof t=="function"){let n,{setCurrentComponentFiber:r,functionalComponentInstance:i}=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED||{};if(r&&i){let c={nodeInstance:i(t),root:{updateType:"sync"}};r(c);try{n=t(o)}finally{r(null)}}else n=t(o);return a(n)}}if(u(e)){let t=e.type,o=e.props||{},n=`<${t}${T(o)}`;return g[t]?n+=" />":(n+=">",o.children&&(n+=a(o.children)),n+=`</${t}>`),n}if(f(e)){let{template:t,values:o}=e,n=t.strings,r=t.getPartsMeta(),i=n[0];for(let s=0;s<o.length;s++){let c=o[s];r[s].isAttribute?i+=T(c):i+=a(c),i+=n[s+1]}return i}return""}var $={name:"potate",check(e){return typeof e=="function"},async renderToStaticMarkup(e,t,o){let n={};if(o)for(let[y,_]of Object.entries(o))n[y]={innerHTML:_};let r={nodeType:l,type:e,props:{...t,children:n.default}},i=a(r),s="@emotion/server",{extractCritical:c}=await import(s),{ids:p,css:N}=c(i);return{html:`<style data-emotion="css ${p.join(" ")}">${N}</style>${i}`}}};export{$ as default};
2
+ import{a as f}from"./chunk-G3BR2MY3.js";import"./chunk-QRCR45N4.js";var D=Promise.resolve();var A=Symbol.for("tag"),b=Symbol.for("tag-element"),g=Symbol.for("class-component"),p=Symbol.for("functional-component");function m({nodeType:e}){return e===b}function d({nodeType:e}){return e===A}function T({nodeType:e}){return e===g||e===p}function E(e){return typeof e=="string"||typeof e=="number"}import O from"potatejs";var S={area:1,base:1,br:1,col:1,embed:1,hr:1,img:1,input:1,link:1,meta:1,param:1,source:1,track:1,wbr:1};function y(e){return typeof e!="string"?String(e):e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&#039;")}function N(e){if(!e)return"";let t="";for(let o in e){let n=e[o];if(o==="children"||o==="key"||o==="ref"||n===!1||n===null||n===void 0)continue;let r=o==="className"?"class":o;n===!0?t+=` ${r}`:t+=` ${r}="${y(n)}"`}return t}function l(e){if(e==null||typeof e=="boolean")return"";if(E(e))return y(e);if(e.innerHTML)return String(e.innerHTML);if(Array.isArray(e))return e.map(l).join("");if(T(e)){let t=e.type,o=e.props||{};if(t.prototype&&t.prototype.isReactComponent||t.__isReactCompat||typeof t=="object"&&t!==null)return"";if(typeof t=="function"){let n,{setCurrentComponentFiber:r,functionalComponentInstance:i}=O.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED||{};if(r&&i){let c={nodeInstance:i(t),root:{updateType:"sync"}};r(c);try{n=t(o)}finally{r(null)}}else n=t(o);return l(n)}}if(m(e)){let t=e.type,o=e.props||{},n=`<${t}${N(o)}`;return S[t]?n+=" />":(n+=">",o.children&&(n+=l(o.children)),n+=`</${t}>`),n}if(d(e)){let{template:t,values:o}=e,n=t.strings,r=t.getPartsMeta(),i=n[0];for(let s=0;s<o.length;s++){let c=o[s];r[s].isAttribute?i+=N(c):i+=l(c),i+=n[s+1]}return i}return""}var V={name:"potate",check(e){return typeof e=="function"},async renderToStaticMarkup(e,t,o){if(!global.window){let a=new f;global.window=a,global.document=a.document,global.HTMLElement=a.HTMLElement}let n={};if(o)for(let[a,x]of Object.entries(o))n[a]={innerHTML:x};let r={nodeType:p,type:e,props:{...t,children:n.default}},i=l(r),s="@emotion/server",{extractCritical:c}=await import(s),{ids:u,css:_}=c(i);return{html:`<style data-emotion="css ${u.join(" ")}">${_}</style>${i}`}}};export{V as default};
@@ -1,5 +1,5 @@
1
1
  import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
- import{a as Jt,b as Qr}from"./chunk-FHGMMCU2.js";var Ms=Jt(($a,Fs)=>{Fs.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var hi=Jt((Nt,js)=>{(function(e,i){typeof Nt=="object"&&typeof js<"u"?i(Nt):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.acorn={}))})(Nt,(function(e){"use strict";var i=[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],r=[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="\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",u="\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",c={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"},f="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",x={5:f,"5module":f+" export import",6:f+" const class extends export import super"},g=/^in(stanceof)?$/,y=new RegExp("["+u+"]"),w=new RegExp("["+u+a+"]");function N(t,s){for(var n=65536,o=0;o<s.length;o+=2){if(n+=s[o],n>t)return!1;if(n+=s[o+1],n>=t)return!0}return!1}function R(t,s){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&y.test(String.fromCharCode(t)):s===!1?!1:N(t,r)}function v(t,s){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&w.test(String.fromCharCode(t)):s===!1?!1:N(t,r)||N(t,i)}var b=function(s,n){n===void 0&&(n={}),this.label=s,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null};function k(t,s){return new b(t,{beforeExpr:!0,binop:s})}var A={beforeExpr:!0},D={startsExpr:!0},K={};function B(t,s){return s===void 0&&(s={}),s.keyword=t,K[t]=new b(t,s)}var h={num:new b("num",D),regexp:new b("regexp",D),string:new b("string",D),name:new b("name",D),privateId:new b("privateId",D),eof:new b("eof"),bracketL:new b("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new b("]"),braceL:new b("{",{beforeExpr:!0,startsExpr:!0}),braceR:new b("}"),parenL:new b("(",{beforeExpr:!0,startsExpr:!0}),parenR:new b(")"),comma:new b(",",A),semi:new b(";",A),colon:new b(":",A),dot:new b("."),question:new b("?",A),questionDot:new b("?."),arrow:new b("=>",A),template:new b("template"),invalidTemplate:new b("invalidTemplate"),ellipsis:new b("...",A),backQuote:new b("`",D),dollarBraceL:new b("${",{beforeExpr:!0,startsExpr:!0}),eq:new b("=",{beforeExpr:!0,isAssign:!0}),assign:new b("_=",{beforeExpr:!0,isAssign:!0}),incDec:new b("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new b("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),relational:k("</>/<=/>=",7),bitShift:k("<</>>/>>>",8),plusMin:new b("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:k("%",10),star:k("*",10),slash:k("/",10),starstar:new b("**",{beforeExpr:!0}),coalesce:k("??",1),_break:B("break"),_case:B("case",A),_catch:B("catch"),_continue:B("continue"),_debugger:B("debugger"),_default:B("default",A),_do:B("do",{isLoop:!0,beforeExpr:!0}),_else:B("else",A),_finally:B("finally"),_for:B("for",{isLoop:!0}),_function:B("function",D),_if:B("if"),_return:B("return",A),_switch:B("switch"),_throw:B("throw",A),_try:B("try"),_var:B("var"),_const:B("const"),_while:B("while",{isLoop:!0}),_with:B("with"),_new:B("new",{beforeExpr:!0,startsExpr:!0}),_this:B("this",D),_super:B("super",D),_class:B("class",D),_extends:B("extends",A),_export:B("export"),_import:B("import",D),_null:B("null",D),_true:B("true",D),_false:B("false",D),_in:B("in",{beforeExpr:!0,binop:7}),_instanceof:B("instanceof",{beforeExpr:!0,binop:7}),_typeof:B("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:B("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:B("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},G=/\r\n?|\n|\u2028|\u2029/,Je=new RegExp(G.source,"g");function Ne(t){return t===10||t===13||t===8232||t===8233}function mi(t,s,n){n===void 0&&(n=t.length);for(var o=s;o<n;o++){var p=t.charCodeAt(o);if(Ne(p))return o<n-1&&p===13&&t.charCodeAt(o+1)===10?o+2:o+1}return-1}var Ft=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Q=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,xi=Object.prototype,xr=xi.hasOwnProperty,gr=xi.toString,Re=Object.hasOwn||(function(t,s){return xr.call(t,s)}),gi=Array.isArray||(function(t){return gr.call(t)==="[object Array]"}),vi=Object.create(null);function ke(t){return vi[t]||(vi[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function ve(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var vr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Be=function(s,n){this.line=s,this.column=n};Be.prototype.offset=function(s){return new Be(this.line,this.column+s)};var Ke=function(s,n,o){this.start=n,this.end=o,s.sourceFile!==null&&(this.source=s.sourceFile)};function Mt(t,s){for(var n=1,o=0;;){var p=mi(t,o,s);if(p<0)return new Be(n,s-o);++n,o=p}}var ot={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},bi=!1;function br(t){var s={};for(var n in ot)s[n]=t&&Re(t,n)?t[n]:ot[n];if(s.ecmaVersion==="latest"?s.ecmaVersion=1e8:s.ecmaVersion==null?(!bi&&typeof console=="object"&&console.warn&&(bi=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2
+ import{b as Jt,c as Qr}from"./chunk-QRCR45N4.js";var Ms=Jt(($a,Fs)=>{Fs.exports={quot:'"',amp:"&",apos:"'",lt:"<",gt:">",nbsp:"\xA0",iexcl:"\xA1",cent:"\xA2",pound:"\xA3",curren:"\xA4",yen:"\xA5",brvbar:"\xA6",sect:"\xA7",uml:"\xA8",copy:"\xA9",ordf:"\xAA",laquo:"\xAB",not:"\xAC",shy:"\xAD",reg:"\xAE",macr:"\xAF",deg:"\xB0",plusmn:"\xB1",sup2:"\xB2",sup3:"\xB3",acute:"\xB4",micro:"\xB5",para:"\xB6",middot:"\xB7",cedil:"\xB8",sup1:"\xB9",ordm:"\xBA",raquo:"\xBB",frac14:"\xBC",frac12:"\xBD",frac34:"\xBE",iquest:"\xBF",Agrave:"\xC0",Aacute:"\xC1",Acirc:"\xC2",Atilde:"\xC3",Auml:"\xC4",Aring:"\xC5",AElig:"\xC6",Ccedil:"\xC7",Egrave:"\xC8",Eacute:"\xC9",Ecirc:"\xCA",Euml:"\xCB",Igrave:"\xCC",Iacute:"\xCD",Icirc:"\xCE",Iuml:"\xCF",ETH:"\xD0",Ntilde:"\xD1",Ograve:"\xD2",Oacute:"\xD3",Ocirc:"\xD4",Otilde:"\xD5",Ouml:"\xD6",times:"\xD7",Oslash:"\xD8",Ugrave:"\xD9",Uacute:"\xDA",Ucirc:"\xDB",Uuml:"\xDC",Yacute:"\xDD",THORN:"\xDE",szlig:"\xDF",agrave:"\xE0",aacute:"\xE1",acirc:"\xE2",atilde:"\xE3",auml:"\xE4",aring:"\xE5",aelig:"\xE6",ccedil:"\xE7",egrave:"\xE8",eacute:"\xE9",ecirc:"\xEA",euml:"\xEB",igrave:"\xEC",iacute:"\xED",icirc:"\xEE",iuml:"\xEF",eth:"\xF0",ntilde:"\xF1",ograve:"\xF2",oacute:"\xF3",ocirc:"\xF4",otilde:"\xF5",ouml:"\xF6",divide:"\xF7",oslash:"\xF8",ugrave:"\xF9",uacute:"\xFA",ucirc:"\xFB",uuml:"\xFC",yacute:"\xFD",thorn:"\xFE",yuml:"\xFF",OElig:"\u0152",oelig:"\u0153",Scaron:"\u0160",scaron:"\u0161",Yuml:"\u0178",fnof:"\u0192",circ:"\u02C6",tilde:"\u02DC",Alpha:"\u0391",Beta:"\u0392",Gamma:"\u0393",Delta:"\u0394",Epsilon:"\u0395",Zeta:"\u0396",Eta:"\u0397",Theta:"\u0398",Iota:"\u0399",Kappa:"\u039A",Lambda:"\u039B",Mu:"\u039C",Nu:"\u039D",Xi:"\u039E",Omicron:"\u039F",Pi:"\u03A0",Rho:"\u03A1",Sigma:"\u03A3",Tau:"\u03A4",Upsilon:"\u03A5",Phi:"\u03A6",Chi:"\u03A7",Psi:"\u03A8",Omega:"\u03A9",alpha:"\u03B1",beta:"\u03B2",gamma:"\u03B3",delta:"\u03B4",epsilon:"\u03B5",zeta:"\u03B6",eta:"\u03B7",theta:"\u03B8",iota:"\u03B9",kappa:"\u03BA",lambda:"\u03BB",mu:"\u03BC",nu:"\u03BD",xi:"\u03BE",omicron:"\u03BF",pi:"\u03C0",rho:"\u03C1",sigmaf:"\u03C2",sigma:"\u03C3",tau:"\u03C4",upsilon:"\u03C5",phi:"\u03C6",chi:"\u03C7",psi:"\u03C8",omega:"\u03C9",thetasym:"\u03D1",upsih:"\u03D2",piv:"\u03D6",ensp:"\u2002",emsp:"\u2003",thinsp:"\u2009",zwnj:"\u200C",zwj:"\u200D",lrm:"\u200E",rlm:"\u200F",ndash:"\u2013",mdash:"\u2014",lsquo:"\u2018",rsquo:"\u2019",sbquo:"\u201A",ldquo:"\u201C",rdquo:"\u201D",bdquo:"\u201E",dagger:"\u2020",Dagger:"\u2021",bull:"\u2022",hellip:"\u2026",permil:"\u2030",prime:"\u2032",Prime:"\u2033",lsaquo:"\u2039",rsaquo:"\u203A",oline:"\u203E",frasl:"\u2044",euro:"\u20AC",image:"\u2111",weierp:"\u2118",real:"\u211C",trade:"\u2122",alefsym:"\u2135",larr:"\u2190",uarr:"\u2191",rarr:"\u2192",darr:"\u2193",harr:"\u2194",crarr:"\u21B5",lArr:"\u21D0",uArr:"\u21D1",rArr:"\u21D2",dArr:"\u21D3",hArr:"\u21D4",forall:"\u2200",part:"\u2202",exist:"\u2203",empty:"\u2205",nabla:"\u2207",isin:"\u2208",notin:"\u2209",ni:"\u220B",prod:"\u220F",sum:"\u2211",minus:"\u2212",lowast:"\u2217",radic:"\u221A",prop:"\u221D",infin:"\u221E",ang:"\u2220",and:"\u2227",or:"\u2228",cap:"\u2229",cup:"\u222A",int:"\u222B",there4:"\u2234",sim:"\u223C",cong:"\u2245",asymp:"\u2248",ne:"\u2260",equiv:"\u2261",le:"\u2264",ge:"\u2265",sub:"\u2282",sup:"\u2283",nsub:"\u2284",sube:"\u2286",supe:"\u2287",oplus:"\u2295",otimes:"\u2297",perp:"\u22A5",sdot:"\u22C5",lceil:"\u2308",rceil:"\u2309",lfloor:"\u230A",rfloor:"\u230B",lang:"\u2329",rang:"\u232A",loz:"\u25CA",spades:"\u2660",clubs:"\u2663",hearts:"\u2665",diams:"\u2666"}});var hi=Jt((Nt,js)=>{(function(e,i){typeof Nt=="object"&&typeof js<"u"?i(Nt):typeof define=="function"&&define.amd?define(["exports"],i):(e=typeof globalThis<"u"?globalThis:e||self,i(e.acorn={}))})(Nt,(function(e){"use strict";var i=[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],r=[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="\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",u="\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",c={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"},f="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",x={5:f,"5module":f+" export import",6:f+" const class extends export import super"},g=/^in(stanceof)?$/,y=new RegExp("["+u+"]"),w=new RegExp("["+u+a+"]");function N(t,s){for(var n=65536,o=0;o<s.length;o+=2){if(n+=s[o],n>t)return!1;if(n+=s[o+1],n>=t)return!0}return!1}function R(t,s){return t<65?t===36:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&y.test(String.fromCharCode(t)):s===!1?!1:N(t,r)}function v(t,s){return t<48?t===36:t<58?!0:t<65?!1:t<91?!0:t<97?t===95:t<123?!0:t<=65535?t>=170&&w.test(String.fromCharCode(t)):s===!1?!1:N(t,r)||N(t,i)}var b=function(s,n){n===void 0&&(n={}),this.label=s,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null};function k(t,s){return new b(t,{beforeExpr:!0,binop:s})}var A={beforeExpr:!0},D={startsExpr:!0},K={};function B(t,s){return s===void 0&&(s={}),s.keyword=t,K[t]=new b(t,s)}var h={num:new b("num",D),regexp:new b("regexp",D),string:new b("string",D),name:new b("name",D),privateId:new b("privateId",D),eof:new b("eof"),bracketL:new b("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new b("]"),braceL:new b("{",{beforeExpr:!0,startsExpr:!0}),braceR:new b("}"),parenL:new b("(",{beforeExpr:!0,startsExpr:!0}),parenR:new b(")"),comma:new b(",",A),semi:new b(";",A),colon:new b(":",A),dot:new b("."),question:new b("?",A),questionDot:new b("?."),arrow:new b("=>",A),template:new b("template"),invalidTemplate:new b("invalidTemplate"),ellipsis:new b("...",A),backQuote:new b("`",D),dollarBraceL:new b("${",{beforeExpr:!0,startsExpr:!0}),eq:new b("=",{beforeExpr:!0,isAssign:!0}),assign:new b("_=",{beforeExpr:!0,isAssign:!0}),incDec:new b("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new b("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:k("||",1),logicalAND:k("&&",2),bitwiseOR:k("|",3),bitwiseXOR:k("^",4),bitwiseAND:k("&",5),equality:k("==/!=/===/!==",6),relational:k("</>/<=/>=",7),bitShift:k("<</>>/>>>",8),plusMin:new b("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:k("%",10),star:k("*",10),slash:k("/",10),starstar:new b("**",{beforeExpr:!0}),coalesce:k("??",1),_break:B("break"),_case:B("case",A),_catch:B("catch"),_continue:B("continue"),_debugger:B("debugger"),_default:B("default",A),_do:B("do",{isLoop:!0,beforeExpr:!0}),_else:B("else",A),_finally:B("finally"),_for:B("for",{isLoop:!0}),_function:B("function",D),_if:B("if"),_return:B("return",A),_switch:B("switch"),_throw:B("throw",A),_try:B("try"),_var:B("var"),_const:B("const"),_while:B("while",{isLoop:!0}),_with:B("with"),_new:B("new",{beforeExpr:!0,startsExpr:!0}),_this:B("this",D),_super:B("super",D),_class:B("class",D),_extends:B("extends",A),_export:B("export"),_import:B("import",D),_null:B("null",D),_true:B("true",D),_false:B("false",D),_in:B("in",{beforeExpr:!0,binop:7}),_instanceof:B("instanceof",{beforeExpr:!0,binop:7}),_typeof:B("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:B("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:B("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},G=/\r\n?|\n|\u2028|\u2029/,Je=new RegExp(G.source,"g");function Ne(t){return t===10||t===13||t===8232||t===8233}function mi(t,s,n){n===void 0&&(n=t.length);for(var o=s;o<n;o++){var p=t.charCodeAt(o);if(Ne(p))return o<n-1&&p===13&&t.charCodeAt(o+1)===10?o+2:o+1}return-1}var Ft=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,Q=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,xi=Object.prototype,xr=xi.hasOwnProperty,gr=xi.toString,Re=Object.hasOwn||(function(t,s){return xr.call(t,s)}),gi=Array.isArray||(function(t){return gr.call(t)==="[object Array]"}),vi=Object.create(null);function ke(t){return vi[t]||(vi[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function ve(t){return t<=65535?String.fromCharCode(t):(t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320))}var vr=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Be=function(s,n){this.line=s,this.column=n};Be.prototype.offset=function(s){return new Be(this.line,this.column+s)};var Ke=function(s,n,o){this.start=n,this.end=o,s.sourceFile!==null&&(this.source=s.sourceFile)};function Mt(t,s){for(var n=1,o=0;;){var p=mi(t,o,s);if(p<0)return new Be(n,s-o);++n,o=p}}var ot={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},bi=!1;function br(t){var s={};for(var n in ot)s[n]=t&&Re(t,n)?t[n]:ot[n];if(s.ecmaVersion==="latest"?s.ecmaVersion=1e8:s.ecmaVersion==null?(!bi&&typeof console=="object"&&console.warn&&(bi=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
3
3
  Defaulting to 2020, but this will stop working in the future.`)),s.ecmaVersion=11):s.ecmaVersion>=2015&&(s.ecmaVersion-=2009),s.allowReserved==null&&(s.allowReserved=s.ecmaVersion<5),(!t||t.allowHashBang==null)&&(s.allowHashBang=s.ecmaVersion>=14),gi(s.onToken)){var o=s.onToken;s.onToken=function(p){return o.push(p)}}return gi(s.onComment)&&(s.onComment=yr(s,s.onComment)),s}function yr(t,s){return function(n,o,p,d,m,S){var C={type:n?"Block":"Line",value:o,start:p,end:d};t.locations&&(C.loc=new Ke(this,m,S)),t.ranges&&(C.range=[p,d]),s.push(C)}}var Qe=1,Oe=2,jt=4,yi=8,Ut=16,Si=32,ht=64,wi=128,Te=256,Ye=512,lt=Qe|Oe|Te;function qt(t,s){return Oe|(t?jt:0)|(s?yi:0)}var ct=0,Gt=1,be=2,Ci=3,ki=4,_i=5,z=function(s,n,o){this.options=s=br(s),this.sourceFile=s.sourceFile,this.keywords=ke(x[s.ecmaVersion>=6?6:s.sourceType==="module"?"5module":5]);var p="";s.allowReserved!==!0&&(p=c[s.ecmaVersion>=6?6:s.ecmaVersion===5?5:3],s.sourceType==="module"&&(p+=" await")),this.reservedWords=ke(p);var d=(p?p+" ":"")+c.strict;this.reservedWordsStrict=ke(d),this.reservedWordsStrictBind=ke(d+" "+c.strictBind),this.input=String(n),this.containsEsc=!1,o?(this.pos=o,this.lineStart=this.input.lastIndexOf(`
4
4
  `,o-1)+1,this.curLine=this.input.slice(0,this.lineStart).split(G).length):(this.pos=this.lineStart=0,this.curLine=1),this.type=h.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=s.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&&s.allowHashBang&&this.input.slice(0,2)==="#!"&&this.skipLineComment(2),this.scopeStack=[],this.enterScope(Qe),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}};z.prototype.parse=function(){var s=this.options.program||this.startNode();return this.nextToken(),this.parseTopLevel(s)},fe.inFunction.get=function(){return(this.currentVarScope().flags&Oe)>0},fe.inGenerator.get=function(){return(this.currentVarScope().flags&yi)>0},fe.inAsync.get=function(){return(this.currentVarScope().flags&jt)>0},fe.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var s=this.scopeStack[t],n=s.flags;if(n&(Te|Ye))return!1;if(n&Oe)return(n&jt)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction},fe.allowSuper.get=function(){var t=this.currentThisScope(),s=t.flags;return(s&ht)>0||this.options.allowSuperOutsideMethod},fe.allowDirectSuper.get=function(){return(this.currentThisScope().flags&wi)>0},fe.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())},fe.allowNewDotTarget.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var s=this.scopeStack[t],n=s.flags;if(n&(Te|Ye)||n&Oe&&!(n&Ut))return!0}return!1},fe.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Te)>0},z.extend=function(){for(var s=[],n=arguments.length;n--;)s[n]=arguments[n];for(var o=this,p=0;p<s.length;p++)o=s[p](o);return o},z.parse=function(s,n){return new this(n,s).parse()},z.parseExpressionAt=function(s,n,o){var p=new this(o,s,n);return p.nextToken(),p.parseExpression()},z.tokenizer=function(s,n){return new this(n,s)},Object.defineProperties(z.prototype,fe);var $=z.prototype,Sr=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;$.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){Q.lastIndex=t,t+=Q.exec(this.input)[0].length;var s=Sr.exec(this.input.slice(t));if(!s)return!1;if((s[1]||s[2])==="use strict"){Q.lastIndex=t+s[0].length;var n=Q.exec(this.input),o=n.index+n[0].length,p=this.input.charAt(o);return p===";"||p==="}"||G.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(p)||p==="!"&&this.input.charAt(o+1)==="=")}t+=s[0].length,Q.lastIndex=t,t+=Q.exec(this.input)[0].length,this.input[t]===";"&&t++}},$.eat=function(t){return this.type===t?(this.next(),!0):!1},$.isContextual=function(t){return this.type===h.name&&this.value===t&&!this.containsEsc},$.eatContextual=function(t){return this.isContextual(t)?(this.next(),!0):!1},$.expectContextual=function(t){this.eatContextual(t)||this.unexpected()},$.canInsertSemicolon=function(){return this.type===h.eof||this.type===h.braceR||G.test(this.input.slice(this.lastTokEnd,this.start))},$.insertSemicolon=function(){if(this.canInsertSemicolon())return this.options.onInsertedSemicolon&&this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc),!0},$.semicolon=function(){!this.eat(h.semi)&&!this.insertSemicolon()&&this.unexpected()},$.afterTrailingComma=function(t,s){if(this.type===t)return this.options.onTrailingComma&&this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc),s||this.next(),!0},$.expect=function(t){this.eat(t)||this.unexpected()},$.unexpected=function(t){this.raise(t??this.start,"Unexpected token")};var pt=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};$.checkPatternErrors=function(t,s){if(t){t.trailingComma>-1&&this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var n=s?t.parenthesizedAssign:t.parenthesizedBind;n>-1&&this.raiseRecoverable(n,s?"Assigning to rvalue":"Parenthesized pattern")}},$.checkExpressionErrors=function(t,s){if(!t)return!1;var n=t.shorthandAssign,o=t.doubleProto;if(!s)return n>=0||o>=0;n>=0&&this.raise(n,"Shorthand property assignments are valid only in destructuring patterns"),o>=0&&this.raiseRecoverable(o,"Redefinition of __proto__ property")},$.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")},$.isSimpleAssignTarget=function(t){return t.type==="ParenthesizedExpression"?this.isSimpleAssignTarget(t.expression):t.type==="Identifier"||t.type==="MemberExpression"};var I=z.prototype;I.parseTopLevel=function(t){var s=Object.create(null);for(t.body||(t.body=[]);this.type!==h.eof;){var n=this.parseStatement(null,!0,s);t.body.push(n)}if(this.inModule)for(var o=0,p=Object.keys(this.undefinedExports);o<p.length;o+=1){var d=p[o];this.raiseRecoverable(this.undefinedExports[d].start,"Export '"+d+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType,this.finishNode(t,"Program")};var Ht={kind:"loop"},wr={kind:"switch"};I.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;Q.lastIndex=this.pos;var s=Q.exec(this.input),n=this.pos+s[0].length,o=this.input.charCodeAt(n);if(o===91||o===92)return!0;if(t)return!1;if(o===123||o>55295&&o<56320)return!0;if(R(o,!0)){for(var p=n+1;v(o=this.input.charCodeAt(p),!0);)++p;if(o===92||o>55295&&o<56320)return!0;var d=this.input.slice(n,p);if(!g.test(d))return!0}return!1},I.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;Q.lastIndex=this.pos;var t=Q.exec(this.input),s=this.pos+t[0].length,n;return!G.test(this.input.slice(this.pos,s))&&this.input.slice(s,s+8)==="function"&&(s+8===this.input.length||!(v(n=this.input.charCodeAt(s+8))||n>55295&&n<56320))},I.isUsingKeyword=function(t,s){if(this.options.ecmaVersion<17||!this.isContextual(t?"await":"using"))return!1;Q.lastIndex=this.pos;var n=Q.exec(this.input),o=this.pos+n[0].length;if(G.test(this.input.slice(this.pos,o)))return!1;if(t){var p=o+5,d;if(this.input.slice(o,p)!=="using"||p===this.input.length||v(d=this.input.charCodeAt(p))||d>55295&&d<56320)return!1;Q.lastIndex=p;var m=Q.exec(this.input);if(m&&G.test(this.input.slice(p,p+m[0].length)))return!1}if(s){var S=o+2,C;if(this.input.slice(o,S)==="of"&&(S===this.input.length||!v(C=this.input.charCodeAt(S))&&!(C>55295&&C<56320)))return!1}var T=this.input.charCodeAt(o);return R(T,!0)||T===92},I.isAwaitUsing=function(t){return this.isUsingKeyword(!0,t)},I.isUsing=function(t){return this.isUsingKeyword(!1,t)},I.parseStatement=function(t,s,n){var o=this.type,p=this.startNode(),d;switch(this.isLet(t)&&(o=h._var,d="let"),o){case h._break:case h._continue:return this.parseBreakContinueStatement(p,o.keyword);case h._debugger:return this.parseDebuggerStatement(p);case h._do:return this.parseDoStatement(p);case h._for:return this.parseForStatement(p);case h._function:return t&&(this.strict||t!=="if"&&t!=="label")&&this.options.ecmaVersion>=6&&this.unexpected(),this.parseFunctionStatement(p,!1,!t);case h._class:return t&&this.unexpected(),this.parseClass(p,!0);case h._if:return this.parseIfStatement(p);case h._return:return this.parseReturnStatement(p);case h._switch:return this.parseSwitchStatement(p);case h._throw:return this.parseThrowStatement(p);case h._try:return this.parseTryStatement(p);case h._const:case h._var:return d=d||this.value,t&&d!=="var"&&this.unexpected(),this.parseVarStatement(p,d);case h._while:return this.parseWhileStatement(p);case h._with:return this.parseWithStatement(p);case h.braceL:return this.parseBlock(!0,p);case h.semi:return this.parseEmptyStatement(p);case h._export:case h._import:if(this.options.ecmaVersion>10&&o===h._import){Q.lastIndex=this.pos;var m=Q.exec(this.input),S=this.pos+m[0].length,C=this.input.charCodeAt(S);if(C===40||C===46)return this.parseExpressionStatement(p,this.parseExpression())}return this.options.allowImportExportEverywhere||(s||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'")),o===h._import?this.parseImport(p):this.parseExport(p,n);default:if(this.isAsyncFunction())return t&&this.unexpected(),this.next(),this.parseFunctionStatement(p,!0,!t);var T=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(T)return s&&this.options.sourceType==="script"&&this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script`"),T==="await using"&&(this.canAwait||this.raise(this.start,"Await using cannot appear outside of async function"),this.next()),this.next(),this.parseVar(p,!1,T),this.semicolon(),this.finishNode(p,"VariableDeclaration");var O=this.value,W=this.parseExpression();return o===h.name&&W.type==="Identifier"&&this.eat(h.colon)?this.parseLabeledStatement(p,O,W,t):this.parseExpressionStatement(p,W)}},I.parseBreakContinueStatement=function(t,s){var n=s==="break";this.next(),this.eat(h.semi)||this.insertSemicolon()?t.label=null:this.type!==h.name?this.unexpected():(t.label=this.parseIdent(),this.semicolon());for(var o=0;o<this.labels.length;++o){var p=this.labels[o];if((t.label==null||p.name===t.label.name)&&(p.kind!=null&&(n||p.kind==="loop")||t.label&&n))break}return o===this.labels.length&&this.raise(t.start,"Unsyntactic "+s),this.finishNode(t,n?"BreakStatement":"ContinueStatement")},I.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")},I.parseDoStatement=function(t){return this.next(),this.labels.push(Ht),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(h._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6?this.eat(h.semi):this.semicolon(),this.finishNode(t,"DoWhileStatement")},I.parseForStatement=function(t){this.next();var s=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Ht),this.enterScope(0),this.expect(h.parenL),this.type===h.semi)return s>-1&&this.unexpected(s),this.parseFor(t,null);var n=this.isLet();if(this.type===h._var||this.type===h._const||n){var o=this.startNode(),p=n?"let":this.value;return this.next(),this.parseVar(o,!0,p),this.finishNode(o,"VariableDeclaration"),this.parseForAfterInit(t,o,s)}var d=this.isContextual("let"),m=!1,S=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(S){var C=this.startNode();return this.next(),S==="await using"&&this.next(),this.parseVar(C,!0,S),this.finishNode(C,"VariableDeclaration"),this.parseForAfterInit(t,C,s)}var T=this.containsEsc,O=new pt,W=this.start,Y=s>-1?this.parseExprSubscripts(O,"await"):this.parseExpression(!0,O);return this.type===h._in||(m=this.options.ecmaVersion>=6&&this.isContextual("of"))?(s>-1?(this.type===h._in&&this.unexpected(s),t.await=!0):m&&this.options.ecmaVersion>=8&&(Y.start===W&&!T&&Y.type==="Identifier"&&Y.name==="async"?this.unexpected():this.options.ecmaVersion>=9&&(t.await=!1)),d&&m&&this.raise(Y.start,"The left-hand side of a for-of loop may not start with 'let'."),this.toAssignable(Y,!1,O),this.checkLValPattern(Y),this.parseForIn(t,Y)):(this.checkExpressionErrors(O,!0),s>-1&&this.unexpected(s),this.parseFor(t,Y))},I.parseForAfterInit=function(t,s,n){return(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1?(this.options.ecmaVersion>=9&&(this.type===h._in?n>-1&&this.unexpected(n):t.await=n>-1),this.parseForIn(t,s)):(n>-1&&this.unexpected(n),this.parseFor(t,s))},I.parseFunctionStatement=function(t,s,n){return this.next(),this.parseFunction(t,Ze|(n?0:Wt),!1,s)},I.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(h._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")},I.parseReturnStatement=function(t){return!this.inFunction&&!this.options.allowReturnOutsideFunction&&this.raise(this.start,"'return' outside of function"),this.next(),this.eat(h.semi)||this.insertSemicolon()?t.argument=null:(t.argument=this.parseExpression(),this.semicolon()),this.finishNode(t,"ReturnStatement")},I.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(h.braceL),this.labels.push(wr),this.enterScope(0);for(var s,n=!1;this.type!==h.braceR;)if(this.type===h._case||this.type===h._default){var o=this.type===h._case;s&&this.finishNode(s,"SwitchCase"),t.cases.push(s=this.startNode()),s.consequent=[],this.next(),o?s.test=this.parseExpression():(n&&this.raiseRecoverable(this.lastTokStart,"Multiple default clauses"),n=!0,s.test=null),this.expect(h.colon)}else s||this.unexpected(),s.consequent.push(this.parseStatement(null));return this.exitScope(),s&&this.finishNode(s,"SwitchCase"),this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")},I.parseThrowStatement=function(t){return this.next(),G.test(this.input.slice(this.lastTokEnd,this.start))&&this.raise(this.lastTokEnd,"Illegal newline after throw"),t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var Cr=[];I.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),s=t.type==="Identifier";return this.enterScope(s?Si:0),this.checkLValPattern(t,s?ki:be),this.expect(h.parenR),t},I.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===h._catch){var s=this.startNode();this.next(),this.eat(h.parenL)?s.param=this.parseCatchClauseParam():(this.options.ecmaVersion<10&&this.unexpected(),s.param=null,this.enterScope(0)),s.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(s,"CatchClause")}return t.finalizer=this.eat(h._finally)?this.parseBlock():null,!t.handler&&!t.finalizer&&this.raise(t.start,"Missing catch or finally clause"),this.finishNode(t,"TryStatement")},I.parseVarStatement=function(t,s,n){return this.next(),this.parseVar(t,!1,s,n),this.semicolon(),this.finishNode(t,"VariableDeclaration")},I.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(Ht),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")},I.parseWithStatement=function(t){return this.strict&&this.raise(this.start,"'with' in strict mode"),this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")},I.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")},I.parseLabeledStatement=function(t,s,n,o){for(var p=0,d=this.labels;p<d.length;p+=1){var m=d[p];m.name===s&&this.raise(n.start,"Label '"+s+"' is already declared")}for(var S=this.type.isLoop?"loop":this.type===h._switch?"switch":null,C=this.labels.length-1;C>=0;C--){var T=this.labels[C];if(T.statementStart===t.start)T.statementStart=this.start,T.kind=S;else break}return this.labels.push({name:s,kind:S,statementStart:this.start}),t.body=this.parseStatement(o?o.indexOf("label")===-1?o+"label":o:"label"),this.labels.pop(),t.label=n,this.finishNode(t,"LabeledStatement")},I.parseExpressionStatement=function(t,s){return t.expression=s,this.semicolon(),this.finishNode(t,"ExpressionStatement")},I.parseBlock=function(t,s,n){for(t===void 0&&(t=!0),s===void 0&&(s=this.startNode()),s.body=[],this.expect(h.braceL),t&&this.enterScope(0);this.type!==h.braceR;){var o=this.parseStatement(null);s.body.push(o)}return n&&(this.strict=!1),this.next(),t&&this.exitScope(),this.finishNode(s,"BlockStatement")},I.parseFor=function(t,s){return t.init=s,this.expect(h.semi),t.test=this.type===h.semi?null:this.parseExpression(),this.expect(h.semi),t.update=this.type===h.parenR?null:this.parseExpression(),this.expect(h.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")},I.parseForIn=function(t,s){var n=this.type===h._in;return this.next(),s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier")&&this.raise(s.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer"),t.left=s,t.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(h.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,n?"ForInStatement":"ForOfStatement")},I.parseVar=function(t,s,n,o){for(t.declarations=[],t.kind=n;;){var p=this.startNode();if(this.parseVarId(p,n),this.eat(h.eq)?p.init=this.parseMaybeAssign(s):!o&&n==="const"&&!(this.type===h._in||this.options.ecmaVersion>=6&&this.isContextual("of"))?this.unexpected():!o&&(n==="using"||n==="await using")&&this.options.ecmaVersion>=17&&this.type!==h._in&&!this.isContextual("of")?this.raise(this.lastTokEnd,"Missing initializer in "+n+" declaration"):!o&&p.id.type!=="Identifier"&&!(s&&(this.type===h._in||this.isContextual("of")))?this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value"):p.init=null,t.declarations.push(this.finishNode(p,"VariableDeclarator")),!this.eat(h.comma))break}return t},I.parseVarId=function(t,s){t.id=s==="using"||s==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(t.id,s==="var"?Gt:be,!1)};var Ze=1,Wt=2,Ei=4;I.parseFunction=function(t,s,n,o,p){this.initFunction(t),(this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!o)&&(this.type===h.star&&s&Wt&&this.unexpected(),t.generator=this.eat(h.star)),this.options.ecmaVersion>=8&&(t.async=!!o),s&Ze&&(t.id=s&Ei&&this.type!==h.name?null:this.parseIdent(),t.id&&!(s&Wt)&&this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?Gt:be:Ci));var d=this.yieldPos,m=this.awaitPos,S=this.awaitIdentPos;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(qt(t.async,t.generator)),s&Ze||(t.id=this.type===h.name?this.parseIdent():null),this.parseFunctionParams(t),this.parseFunctionBody(t,n,!1,p),this.yieldPos=d,this.awaitPos=m,this.awaitIdentPos=S,this.finishNode(t,s&Ze?"FunctionDeclaration":"FunctionExpression")},I.parseFunctionParams=function(t){this.expect(h.parenL),t.params=this.parseBindingList(h.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()},I.parseClass=function(t,s){this.next();var n=this.strict;this.strict=!0,this.parseClassId(t,s),this.parseClassSuper(t);var o=this.enterClassBody(),p=this.startNode(),d=!1;for(p.body=[],this.expect(h.braceL);this.type!==h.braceR;){var m=this.parseClassElement(t.superClass!==null);m&&(p.body.push(m),m.type==="MethodDefinition"&&m.kind==="constructor"?(d&&this.raiseRecoverable(m.start,"Duplicate constructor in the same class"),d=!0):m.key&&m.key.type==="PrivateIdentifier"&&kr(o,m)&&this.raiseRecoverable(m.key.start,"Identifier '#"+m.key.name+"' has already been declared"))}return this.strict=n,this.next(),t.body=this.finishNode(p,"ClassBody"),this.exitClassBody(),this.finishNode(t,s?"ClassDeclaration":"ClassExpression")},I.parseClassElement=function(t){if(this.eat(h.semi))return null;var s=this.options.ecmaVersion,n=this.startNode(),o="",p=!1,d=!1,m="method",S=!1;if(this.eatContextual("static")){if(s>=13&&this.eat(h.braceL))return this.parseClassStaticBlock(n),n;this.isClassElementNameStart()||this.type===h.star?S=!0:o="static"}if(n.static=S,!o&&s>=8&&this.eatContextual("async")&&((this.isClassElementNameStart()||this.type===h.star)&&!this.canInsertSemicolon()?d=!0:o="async"),!o&&(s>=9||!d)&&this.eat(h.star)&&(p=!0),!o&&!d&&!p){var C=this.value;(this.eatContextual("get")||this.eatContextual("set"))&&(this.isClassElementNameStart()?m=C:o=C)}if(o?(n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=o,this.finishNode(n.key,"Identifier")):this.parseClassElementName(n),s<13||this.type===h.parenL||m!=="method"||p||d){var T=!n.static&&ft(n,"constructor"),O=T&&t;T&&m!=="method"&&this.raise(n.key.start,"Constructor can't have get/set modifier"),n.kind=T?"constructor":m,this.parseClassMethod(n,p,d,O)}else this.parseClassField(n);return n},I.isClassElementNameStart=function(){return this.type===h.name||this.type===h.privateId||this.type===h.num||this.type===h.string||this.type===h.bracketL||this.type.keyword},I.parseClassElementName=function(t){this.type===h.privateId?(this.value==="constructor"&&this.raise(this.start,"Classes can't have an element named '#constructor'"),t.computed=!1,t.key=this.parsePrivateIdent()):this.parsePropertyName(t)},I.parseClassMethod=function(t,s,n,o){var p=t.key;t.kind==="constructor"?(s&&this.raise(p.start,"Constructor can't be a generator"),n&&this.raise(p.start,"Constructor can't be an async method")):t.static&&ft(t,"prototype")&&this.raise(p.start,"Classes may not have a static property named prototype");var d=t.value=this.parseMethod(s,n,o);return t.kind==="get"&&d.params.length!==0&&this.raiseRecoverable(d.start,"getter should have no params"),t.kind==="set"&&d.params.length!==1&&this.raiseRecoverable(d.start,"setter should have exactly one param"),t.kind==="set"&&d.params[0].type==="RestElement"&&this.raiseRecoverable(d.params[0].start,"Setter cannot use rest params"),this.finishNode(t,"MethodDefinition")},I.parseClassField=function(t){return ft(t,"constructor")?this.raise(t.key.start,"Classes can't have a field named 'constructor'"):t.static&&ft(t,"prototype")&&this.raise(t.key.start,"Classes can't have a static field named 'prototype'"),this.eat(h.eq)?(this.enterScope(Ye|ht),t.value=this.parseMaybeAssign(),this.exitScope()):t.value=null,this.semicolon(),this.finishNode(t,"PropertyDefinition")},I.parseClassStaticBlock=function(t){t.body=[];var s=this.labels;for(this.labels=[],this.enterScope(Te|ht);this.type!==h.braceR;){var n=this.parseStatement(null);t.body.push(n)}return this.next(),this.exitScope(),this.labels=s,this.finishNode(t,"StaticBlock")},I.parseClassId=function(t,s){this.type===h.name?(t.id=this.parseIdent(),s&&this.checkLValSimple(t.id,be,!1)):(s===!0&&this.unexpected(),t.id=null)},I.parseClassSuper=function(t){t.superClass=this.eat(h._extends)?this.parseExprSubscripts(null,!1):null},I.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared},I.exitClassBody=function(){var t=this.privateNameStack.pop(),s=t.declared,n=t.used;if(this.options.checkPrivateFields)for(var o=this.privateNameStack.length,p=o===0?null:this.privateNameStack[o-1],d=0;d<n.length;++d){var m=n[d];Re(s,m.name)||(p?p.used.push(m):this.raiseRecoverable(m.start,"Private field '#"+m.name+"' must be declared in an enclosing class"))}};function kr(t,s){var n=s.key.name,o=t[n],p="true";return s.type==="MethodDefinition"&&(s.kind==="get"||s.kind==="set")&&(p=(s.static?"s":"i")+s.kind),o==="iget"&&p==="iset"||o==="iset"&&p==="iget"||o==="sget"&&p==="sset"||o==="sset"&&p==="sget"?(t[n]="true",!1):o?!0:(t[n]=p,!1)}function ft(t,s){var n=t.computed,o=t.key;return!n&&(o.type==="Identifier"&&o.name===s||o.type==="Literal"&&o.value===s)}I.parseExportAllDeclaration=function(t,s){return this.options.ecmaVersion>=11&&(this.eatContextual("as")?(t.exported=this.parseModuleExportName(),this.checkExport(s,t.exported,this.lastTokStart)):t.exported=null),this.expectContextual("from"),this.type!==h.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ExportAllDeclaration")},I.parseExport=function(t,s){if(this.next(),this.eat(h.star))return this.parseExportAllDeclaration(t,s);if(this.eat(h._default))return this.checkExport(s,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement())t.declaration=this.parseExportDeclaration(t),t.declaration.type==="VariableDeclaration"?this.checkVariableExport(s,t.declaration.declarations):this.checkExport(s,t.declaration.id,t.declaration.id.start),t.specifiers=[],t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[]);else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(s),this.eatContextual("from"))this.type!==h.string&&this.unexpected(),t.source=this.parseExprAtom(),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause());else{for(var n=0,o=t.specifiers;n<o.length;n+=1){var p=o[n];this.checkUnreserved(p.local),this.checkLocalExport(p.local),p.local.type==="Literal"&&this.raise(p.local.start,"A string literal cannot be used as an exported binding without `from`.")}t.source=null,this.options.ecmaVersion>=16&&(t.attributes=[])}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")},I.parseExportDeclaration=function(t){return this.parseStatement(null)},I.parseExportDefaultDeclaration=function(){var t;if(this.type===h._function||(t=this.isAsyncFunction())){var s=this.startNode();return this.next(),t&&this.next(),this.parseFunction(s,Ze|Ei,!1,t)}else if(this.type===h._class){var n=this.startNode();return this.parseClass(n,"nullableID")}else{var o=this.parseMaybeAssign();return this.semicolon(),o}},I.checkExport=function(t,s,n){t&&(typeof s!="string"&&(s=s.type==="Identifier"?s.name:s.value),Re(t,s)&&this.raiseRecoverable(n,"Duplicate export '"+s+"'"),t[s]=!0)},I.checkPatternExport=function(t,s){var n=s.type;if(n==="Identifier")this.checkExport(t,s,s.start);else if(n==="ObjectPattern")for(var o=0,p=s.properties;o<p.length;o+=1){var d=p[o];this.checkPatternExport(t,d)}else if(n==="ArrayPattern")for(var m=0,S=s.elements;m<S.length;m+=1){var C=S[m];C&&this.checkPatternExport(t,C)}else n==="Property"?this.checkPatternExport(t,s.value):n==="AssignmentPattern"?this.checkPatternExport(t,s.left):n==="RestElement"&&this.checkPatternExport(t,s.argument)},I.checkVariableExport=function(t,s){if(t)for(var n=0,o=s;n<o.length;n+=1){var p=o[n];this.checkPatternExport(t,p.id)}},I.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()},I.parseExportSpecifier=function(t){var s=this.startNode();return s.local=this.parseModuleExportName(),s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local,this.checkExport(t,s.exported,s.exported.start),this.finishNode(s,"ExportSpecifier")},I.parseExportSpecifiers=function(t){var s=[],n=!0;for(this.expect(h.braceL);!this.eat(h.braceR);){if(n)n=!1;else if(this.expect(h.comma),this.afterTrailingComma(h.braceR))break;s.push(this.parseExportSpecifier(t))}return s},I.parseImport=function(t){return this.next(),this.type===h.string?(t.specifiers=Cr,t.source=this.parseExprAtom()):(t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===h.string?this.parseExprAtom():this.unexpected()),this.options.ecmaVersion>=16&&(t.attributes=this.parseWithClause()),this.semicolon(),this.finishNode(t,"ImportDeclaration")},I.parseImportSpecifier=function(){var t=this.startNode();return t.imported=this.parseModuleExportName(),this.eatContextual("as")?t.local=this.parseIdent():(this.checkUnreserved(t.imported),t.local=t.imported),this.checkLValSimple(t.local,be),this.finishNode(t,"ImportSpecifier")},I.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,be),this.finishNode(t,"ImportDefaultSpecifier")},I.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,be),this.finishNode(t,"ImportNamespaceSpecifier")},I.parseImportSpecifiers=function(){var t=[],s=!0;if(this.type===h.name&&(t.push(this.parseImportDefaultSpecifier()),!this.eat(h.comma)))return t;if(this.type===h.star)return t.push(this.parseImportNamespaceSpecifier()),t;for(this.expect(h.braceL);!this.eat(h.braceR);){if(s)s=!1;else if(this.expect(h.comma),this.afterTrailingComma(h.braceR))break;t.push(this.parseImportSpecifier())}return t},I.parseWithClause=function(){var t=[];if(!this.eat(h._with))return t;this.expect(h.braceL);for(var s={},n=!0;!this.eat(h.braceR);){if(n)n=!1;else if(this.expect(h.comma),this.afterTrailingComma(h.braceR))break;var o=this.parseImportAttribute(),p=o.key.type==="Identifier"?o.key.name:o.key.value;Re(s,p)&&this.raiseRecoverable(o.key.start,"Duplicate attribute key '"+p+"'"),s[p]=!0,t.push(o)}return t},I.parseImportAttribute=function(){var t=this.startNode();return t.key=this.type===h.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(h.colon),this.type!==h.string&&this.unexpected(),t.value=this.parseExprAtom(),this.finishNode(t,"ImportAttribute")},I.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===h.string){var t=this.parseLiteral(this.value);return vr.test(t.value)&&this.raise(t.start,"An export name cannot include a lone surrogate."),t}return this.parseIdent(!0)},I.adaptDirectivePrologue=function(t){for(var s=0;s<t.length&&this.isDirectiveCandidate(t[s]);++s)t[s].directive=t[s].expression.raw.slice(1,-1)},I.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value=="string"&&(this.input[t.start]==='"'||this.input[t.start]==="'")};var re=z.prototype;re.toAssignable=function(t,s,n){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":this.inAsync&&t.name==="await"&&this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":t.type="ObjectPattern",n&&this.checkPatternErrors(n,!0);for(var o=0,p=t.properties;o<p.length;o+=1){var d=p[o];this.toAssignable(d,s),d.type==="RestElement"&&(d.argument.type==="ArrayPattern"||d.argument.type==="ObjectPattern")&&this.raise(d.argument.start,"Unexpected token")}break;case"Property":t.kind!=="init"&&this.raise(t.key.start,"Object pattern can't contain getter or setter"),this.toAssignable(t.value,s);break;case"ArrayExpression":t.type="ArrayPattern",n&&this.checkPatternErrors(n,!0),this.toAssignableList(t.elements,s);break;case"SpreadElement":t.type="RestElement",this.toAssignable(t.argument,s),t.argument.type==="AssignmentPattern"&&this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":t.operator!=="="&&this.raise(t.left.end,"Only '=' operator can be used for specifying default value."),t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,s);break;case"ParenthesizedExpression":this.toAssignable(t.expression,s,n);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!s)break;default:this.raise(t.start,"Assigning to rvalue")}else n&&this.checkPatternErrors(n,!0);return t},re.toAssignableList=function(t,s){for(var n=t.length,o=0;o<n;o++){var p=t[o];p&&this.toAssignable(p,s)}if(n){var d=t[n-1];this.options.ecmaVersion===6&&s&&d&&d.type==="RestElement"&&d.argument.type!=="Identifier"&&this.unexpected(d.argument.start)}return t},re.parseSpread=function(t){var s=this.startNode();return this.next(),s.argument=this.parseMaybeAssign(!1,t),this.finishNode(s,"SpreadElement")},re.parseRestBinding=function(){var t=this.startNode();return this.next(),this.options.ecmaVersion===6&&this.type!==h.name&&this.unexpected(),t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")},re.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case h.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(h.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case h.braceL:return this.parseObj(!0)}return this.parseIdent()},re.parseBindingList=function(t,s,n,o){for(var p=[],d=!0;!this.eat(t);)if(d?d=!1:this.expect(h.comma),s&&this.type===h.comma)p.push(null);else{if(n&&this.afterTrailingComma(t))break;if(this.type===h.ellipsis){var m=this.parseRestBinding();this.parseBindingListItem(m),p.push(m),this.type===h.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element"),this.expect(t);break}else p.push(this.parseAssignableListItem(o))}return p},re.parseAssignableListItem=function(t){var s=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(s),s},re.parseBindingListItem=function(t){return t},re.parseMaybeDefault=function(t,s,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(h.eq))return n;var o=this.startNodeAt(t,s);return o.left=n,o.right=this.parseMaybeAssign(),this.finishNode(o,"AssignmentPattern")},re.checkLValSimple=function(t,s,n){s===void 0&&(s=ct);var o=s!==ct;switch(t.type){case"Identifier":this.strict&&this.reservedWordsStrictBind.test(t.name)&&this.raiseRecoverable(t.start,(o?"Binding ":"Assigning to ")+t.name+" in strict mode"),o&&(s===be&&t.name==="let"&&this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name"),n&&(Re(n,t.name)&&this.raiseRecoverable(t.start,"Argument name clash"),n[t.name]=!0),s!==_i&&this.declareName(t.name,s,t.start));break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":o&&this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":return o&&this.raiseRecoverable(t.start,"Binding parenthesized expression"),this.checkLValSimple(t.expression,s,n);default:this.raise(t.start,(o?"Binding":"Assigning to")+" rvalue")}},re.checkLValPattern=function(t,s,n){switch(s===void 0&&(s=ct),t.type){case"ObjectPattern":for(var o=0,p=t.properties;o<p.length;o+=1){var d=p[o];this.checkLValInnerPattern(d,s,n)}break;case"ArrayPattern":for(var m=0,S=t.elements;m<S.length;m+=1){var C=S[m];C&&this.checkLValInnerPattern(C,s,n)}break;default:this.checkLValSimple(t,s,n)}},re.checkLValInnerPattern=function(t,s,n){switch(s===void 0&&(s=ct),t.type){case"Property":this.checkLValInnerPattern(t.value,s,n);break;case"AssignmentPattern":this.checkLValPattern(t.left,s,n);break;case"RestElement":this.checkLValPattern(t.argument,s,n);break;default:this.checkLValPattern(t,s,n)}};var ae=function(s,n,o,p,d){this.token=s,this.isExpr=!!n,this.preserveSpace=!!o,this.override=p,this.generator=!!d},H={b_stat:new ae("{",!1),b_expr:new ae("{",!0),b_tmpl:new ae("${",!1),p_stat:new ae("(",!1),p_expr:new ae("(",!0),q_tmpl:new ae("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new ae("function",!1),f_expr:new ae("function",!0),f_expr_gen:new ae("function",!0,!1,null,!0),f_gen:new ae("function",!1,!1,null,!0)},De=z.prototype;De.initialContext=function(){return[H.b_stat]},De.curContext=function(){return this.context[this.context.length-1]},De.braceIsBlock=function(t){var s=this.curContext();return s===H.f_expr||s===H.f_stat?!0:t===h.colon&&(s===H.b_stat||s===H.b_expr)?!s.isExpr:t===h._return||t===h.name&&this.exprAllowed?G.test(this.input.slice(this.lastTokEnd,this.start)):t===h._else||t===h.semi||t===h.eof||t===h.parenR||t===h.arrow?!0:t===h.braceL?s===H.b_stat:t===h._var||t===h._const||t===h.name?!1:!this.exprAllowed},De.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var s=this.context[t];if(s.token==="function")return s.generator}return!1},De.updateContext=function(t){var s,n=this.type;n.keyword&&t===h.dot?this.exprAllowed=!1:(s=n.updateContext)?s.call(this,t):this.exprAllowed=n.beforeExpr},De.overrideContext=function(t){this.curContext()!==t&&(this.context[this.context.length-1]=t)},h.parenR.updateContext=h.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var t=this.context.pop();t===H.b_stat&&this.curContext().token==="function"&&(t=this.context.pop()),this.exprAllowed=!t.isExpr},h.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?H.b_stat:H.b_expr),this.exprAllowed=!0},h.dollarBraceL.updateContext=function(){this.context.push(H.b_tmpl),this.exprAllowed=!0},h.parenL.updateContext=function(t){var s=t===h._if||t===h._for||t===h._with||t===h._while;this.context.push(s?H.p_stat:H.p_expr),this.exprAllowed=!0},h.incDec.updateContext=function(){},h._function.updateContext=h._class.updateContext=function(t){t.beforeExpr&&t!==h._else&&!(t===h.semi&&this.curContext()!==H.p_stat)&&!(t===h._return&&G.test(this.input.slice(this.lastTokEnd,this.start)))&&!((t===h.colon||t===h.braceL)&&this.curContext()===H.b_stat)?this.context.push(H.f_expr):this.context.push(H.f_stat),this.exprAllowed=!1},h.colon.updateContext=function(){this.curContext().token==="function"&&this.context.pop(),this.exprAllowed=!0},h.backQuote.updateContext=function(){this.curContext()===H.q_tmpl?this.context.pop():this.context.push(H.q_tmpl),this.exprAllowed=!1},h.star.updateContext=function(t){if(t===h._function){var s=this.context.length-1;this.context[s]===H.f_expr?this.context[s]=H.f_expr_gen:this.context[s]=H.f_gen}this.exprAllowed=!0},h.name.updateContext=function(t){var s=!1;this.options.ecmaVersion>=6&&t!==h.dot&&(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())&&(s=!0),this.exprAllowed=s};var V=z.prototype;V.checkPropClash=function(t,s,n){if(!(this.options.ecmaVersion>=9&&t.type==="SpreadElement")&&!(this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))){var o=t.key,p;switch(o.type){case"Identifier":p=o.name;break;case"Literal":p=String(o.value);break;default:return}var d=t.kind;if(this.options.ecmaVersion>=6){p==="__proto__"&&d==="init"&&(s.proto&&(n?n.doubleProto<0&&(n.doubleProto=o.start):this.raiseRecoverable(o.start,"Redefinition of __proto__ property")),s.proto=!0);return}p="$"+p;var m=s[p];if(m){var S;d==="init"?S=this.strict&&m.init||m.get||m.set:S=m.init||m[d],S&&this.raiseRecoverable(o.start,"Redefinition of property")}else m=s[p]={init:!1,get:!1,set:!1};m[d]=!0}},V.parseExpression=function(t,s){var n=this.start,o=this.startLoc,p=this.parseMaybeAssign(t,s);if(this.type===h.comma){var d=this.startNodeAt(n,o);for(d.expressions=[p];this.eat(h.comma);)d.expressions.push(this.parseMaybeAssign(t,s));return this.finishNode(d,"SequenceExpression")}return p},V.parseMaybeAssign=function(t,s,n){if(this.isContextual("yield")){if(this.inGenerator)return this.parseYield(t);this.exprAllowed=!1}var o=!1,p=-1,d=-1,m=-1;s?(p=s.parenthesizedAssign,d=s.trailingComma,m=s.doubleProto,s.parenthesizedAssign=s.trailingComma=-1):(s=new pt,o=!0);var S=this.start,C=this.startLoc;(this.type===h.parenL||this.type===h.name)&&(this.potentialArrowAt=this.start,this.potentialArrowInForAwait=t==="await");var T=this.parseMaybeConditional(t,s);if(n&&(T=n.call(this,T,S,C)),this.type.isAssign){var O=this.startNodeAt(S,C);return O.operator=this.value,this.type===h.eq&&(T=this.toAssignable(T,!1,s)),o||(s.parenthesizedAssign=s.trailingComma=s.doubleProto=-1),s.shorthandAssign>=T.start&&(s.shorthandAssign=-1),this.type===h.eq?this.checkLValPattern(T):this.checkLValSimple(T),O.left=T,this.next(),O.right=this.parseMaybeAssign(t),m>-1&&(s.doubleProto=m),this.finishNode(O,"AssignmentExpression")}else o&&this.checkExpressionErrors(s,!0);return p>-1&&(s.parenthesizedAssign=p),d>-1&&(s.trailingComma=d),T},V.parseMaybeConditional=function(t,s){var n=this.start,o=this.startLoc,p=this.parseExprOps(t,s);if(this.checkExpressionErrors(s))return p;if(this.eat(h.question)){var d=this.startNodeAt(n,o);return d.test=p,d.consequent=this.parseMaybeAssign(),this.expect(h.colon),d.alternate=this.parseMaybeAssign(t),this.finishNode(d,"ConditionalExpression")}return p},V.parseExprOps=function(t,s){var n=this.start,o=this.startLoc,p=this.parseMaybeUnary(s,!1,!1,t);return this.checkExpressionErrors(s)||p.start===n&&p.type==="ArrowFunctionExpression"?p:this.parseExprOp(p,n,o,-1,t)},V.parseExprOp=function(t,s,n,o,p){var d=this.type.binop;if(d!=null&&(!p||this.type!==h._in)&&d>o){var m=this.type===h.logicalOR||this.type===h.logicalAND,S=this.type===h.coalesce;S&&(d=h.logicalAND.binop);var C=this.value;this.next();var T=this.start,O=this.startLoc,W=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,p),T,O,d,p),Y=this.buildBinary(s,n,t,W,C,m||S);return(m&&this.type===h.coalesce||S&&(this.type===h.logicalOR||this.type===h.logicalAND))&&this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"),this.parseExprOp(Y,s,n,o,p)}return t},V.buildBinary=function(t,s,n,o,p,d){o.type==="PrivateIdentifier"&&this.raise(o.start,"Private identifier can only be left side of binary expression");var m=this.startNodeAt(t,s);return m.left=n,m.operator=p,m.right=o,this.finishNode(m,d?"LogicalExpression":"BinaryExpression")},V.parseMaybeUnary=function(t,s,n,o){var p=this.start,d=this.startLoc,m;if(this.isContextual("await")&&this.canAwait)m=this.parseAwait(o),s=!0;else if(this.type.prefix){var S=this.startNode(),C=this.type===h.incDec;S.operator=this.value,S.prefix=!0,this.next(),S.argument=this.parseMaybeUnary(null,!0,C,o),this.checkExpressionErrors(t,!0),C?this.checkLValSimple(S.argument):this.strict&&S.operator==="delete"&&Ai(S.argument)?this.raiseRecoverable(S.start,"Deleting local variable in strict mode"):S.operator==="delete"&&Xt(S.argument)?this.raiseRecoverable(S.start,"Private fields can not be deleted"):s=!0,m=this.finishNode(S,C?"UpdateExpression":"UnaryExpression")}else if(!s&&this.type===h.privateId)(o||this.privateNameStack.length===0)&&this.options.checkPrivateFields&&this.unexpected(),m=this.parsePrivateIdent(),this.type!==h._in&&this.unexpected();else{if(m=this.parseExprSubscripts(t,o),this.checkExpressionErrors(t))return m;for(;this.type.postfix&&!this.canInsertSemicolon();){var T=this.startNodeAt(p,d);T.operator=this.value,T.prefix=!1,T.argument=m,this.checkLValSimple(m),this.next(),m=this.finishNode(T,"UpdateExpression")}}if(!n&&this.eat(h.starstar))if(s)this.unexpected(this.lastTokStart);else return this.buildBinary(p,d,m,this.parseMaybeUnary(null,!1,!1,o),"**",!1);else return m};function Ai(t){return t.type==="Identifier"||t.type==="ParenthesizedExpression"&&Ai(t.expression)}function Xt(t){return t.type==="MemberExpression"&&t.property.type==="PrivateIdentifier"||t.type==="ChainExpression"&&Xt(t.expression)||t.type==="ParenthesizedExpression"&&Xt(t.expression)}V.parseExprSubscripts=function(t,s){var n=this.start,o=this.startLoc,p=this.parseExprAtom(t,s);if(p.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return p;var d=this.parseSubscripts(p,n,o,!1,s);return t&&d.type==="MemberExpression"&&(t.parenthesizedAssign>=d.start&&(t.parenthesizedAssign=-1),t.parenthesizedBind>=d.start&&(t.parenthesizedBind=-1),t.trailingComma>=d.start&&(t.trailingComma=-1)),d},V.parseSubscripts=function(t,s,n,o,p){for(var d=this.options.ecmaVersion>=8&&t.type==="Identifier"&&t.name==="async"&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.potentialArrowAt===t.start,m=!1;;){var S=this.parseSubscript(t,s,n,o,d,m,p);if(S.optional&&(m=!0),S===t||S.type==="ArrowFunctionExpression"){if(m){var C=this.startNodeAt(s,n);C.expression=S,S=this.finishNode(C,"ChainExpression")}return S}t=S}},V.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(h.arrow)},V.parseSubscriptAsyncArrow=function(t,s,n,o){return this.parseArrowExpression(this.startNodeAt(t,s),n,!0,o)},V.parseSubscript=function(t,s,n,o,p,d,m){var S=this.options.ecmaVersion>=11,C=S&&this.eat(h.questionDot);o&&C&&this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var T=this.eat(h.bracketL);if(T||C&&this.type!==h.parenL&&this.type!==h.backQuote||this.eat(h.dot)){var O=this.startNodeAt(s,n);O.object=t,T?(O.property=this.parseExpression(),this.expect(h.bracketR)):this.type===h.privateId&&t.type!=="Super"?O.property=this.parsePrivateIdent():O.property=this.parseIdent(this.options.allowReserved!=="never"),O.computed=!!T,S&&(O.optional=C),t=this.finishNode(O,"MemberExpression")}else if(!o&&this.eat(h.parenL)){var W=new pt,Y=this.yieldPos,tt=this.awaitPos,Fe=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var vt=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1,W);if(p&&!C&&this.shouldParseAsyncArrow())return this.checkPatternErrors(W,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0&&this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function"),this.yieldPos=Y,this.awaitPos=tt,this.awaitIdentPos=Fe,this.parseSubscriptAsyncArrow(s,n,vt,m);this.checkExpressionErrors(W,!0),this.yieldPos=Y||this.yieldPos,this.awaitPos=tt||this.awaitPos,this.awaitIdentPos=Fe||this.awaitIdentPos;var Me=this.startNodeAt(s,n);Me.callee=t,Me.arguments=vt,S&&(Me.optional=C),t=this.finishNode(Me,"CallExpression")}else if(this.type===h.backQuote){(C||d)&&this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var je=this.startNodeAt(s,n);je.tag=t,je.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(je,"TaggedTemplateExpression")}return t},V.parseExprAtom=function(t,s,n){this.type===h.slash&&this.readRegexp();var o,p=this.potentialArrowAt===this.start;switch(this.type){case h._super:return this.allowSuper||this.raise(this.start,"'super' keyword outside a method"),o=this.startNode(),this.next(),this.type===h.parenL&&!this.allowDirectSuper&&this.raise(o.start,"super() call outside constructor of a subclass"),this.type!==h.dot&&this.type!==h.bracketL&&this.type!==h.parenL&&this.unexpected(),this.finishNode(o,"Super");case h._this:return o=this.startNode(),this.next(),this.finishNode(o,"ThisExpression");case h.name:var d=this.start,m=this.startLoc,S=this.containsEsc,C=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!S&&C.name==="async"&&!this.canInsertSemicolon()&&this.eat(h._function))return this.overrideContext(H.f_expr),this.parseFunction(this.startNodeAt(d,m),0,!1,!0,s);if(p&&!this.canInsertSemicolon()){if(this.eat(h.arrow))return this.parseArrowExpression(this.startNodeAt(d,m),[C],!1,s);if(this.options.ecmaVersion>=8&&C.name==="async"&&this.type===h.name&&!S&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc))return C=this.parseIdent(!1),(this.canInsertSemicolon()||!this.eat(h.arrow))&&this.unexpected(),this.parseArrowExpression(this.startNodeAt(d,m),[C],!0,s)}return C;case h.regexp:var T=this.value;return o=this.parseLiteral(T.value),o.regex={pattern:T.pattern,flags:T.flags},o;case h.num:case h.string:return this.parseLiteral(this.value);case h._null:case h._true:case h._false:return o=this.startNode(),o.value=this.type===h._null?null:this.type===h._true,o.raw=this.type.keyword,this.next(),this.finishNode(o,"Literal");case h.parenL:var O=this.start,W=this.parseParenAndDistinguishExpression(p,s);return t&&(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(W)&&(t.parenthesizedAssign=O),t.parenthesizedBind<0&&(t.parenthesizedBind=O)),W;case h.bracketL:return o=this.startNode(),this.next(),o.elements=this.parseExprList(h.bracketR,!0,!0,t),this.finishNode(o,"ArrayExpression");case h.braceL:return this.overrideContext(H.b_expr),this.parseObj(!1,t);case h._function:return o=this.startNode(),this.next(),this.parseFunction(o,0);case h._class:return this.parseClass(this.startNode(),!1);case h._new:return this.parseNew();case h.backQuote:return this.parseTemplate();case h._import:return this.options.ecmaVersion>=11?this.parseExprImport(n):this.unexpected();default:return this.parseExprAtomDefault()}},V.parseExprAtomDefault=function(){this.unexpected()},V.parseExprImport=function(t){var s=this.startNode();if(this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword import"),this.next(),this.type===h.parenL&&!t)return this.parseDynamicImport(s);if(this.type===h.dot){var n=this.startNodeAt(s.start,s.loc&&s.loc.start);return n.name="import",s.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(s)}else this.unexpected()},V.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)this.eat(h.parenR)?t.options=null:(this.expect(h.comma),this.afterTrailingComma(h.parenR)?t.options=null:(t.options=this.parseMaybeAssign(),this.eat(h.parenR)||(this.expect(h.comma),this.afterTrailingComma(h.parenR)||this.unexpected())));else if(!this.eat(h.parenR)){var s=this.start;this.eat(h.comma)&&this.eat(h.parenR)?this.raiseRecoverable(s,"Trailing comma is not allowed in import()"):this.unexpected(s)}return this.finishNode(t,"ImportExpression")},V.parseImportMeta=function(t){this.next();var s=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="meta"&&this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'"),s&&this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters"),this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere&&this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module"),this.finishNode(t,"MetaProperty")},V.parseLiteral=function(t){var s=this.startNode();return s.value=t,s.raw=this.input.slice(this.start,this.end),s.raw.charCodeAt(s.raw.length-1)===110&&(s.bigint=s.value!=null?s.value.toString():s.raw.slice(0,-1).replace(/_/g,"")),this.next(),this.finishNode(s,"Literal")},V.parseParenExpression=function(){this.expect(h.parenL);var t=this.parseExpression();return this.expect(h.parenR),t},V.shouldParseArrow=function(t){return!this.canInsertSemicolon()},V.parseParenAndDistinguishExpression=function(t,s){var n=this.start,o=this.startLoc,p,d=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var m=this.start,S=this.startLoc,C=[],T=!0,O=!1,W=new pt,Y=this.yieldPos,tt=this.awaitPos,Fe;for(this.yieldPos=0,this.awaitPos=0;this.type!==h.parenR;)if(T?T=!1:this.expect(h.comma),d&&this.afterTrailingComma(h.parenR,!0)){O=!0;break}else if(this.type===h.ellipsis){Fe=this.start,C.push(this.parseParenItem(this.parseRestBinding())),this.type===h.comma&&this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else C.push(this.parseMaybeAssign(!1,W,this.parseParenItem));var vt=this.lastTokEnd,Me=this.lastTokEndLoc;if(this.expect(h.parenR),t&&this.shouldParseArrow(C)&&this.eat(h.arrow))return this.checkPatternErrors(W,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=Y,this.awaitPos=tt,this.parseParenArrowList(n,o,C,s);(!C.length||O)&&this.unexpected(this.lastTokStart),Fe&&this.unexpected(Fe),this.checkExpressionErrors(W,!0),this.yieldPos=Y||this.yieldPos,this.awaitPos=tt||this.awaitPos,C.length>1?(p=this.startNodeAt(m,S),p.expressions=C,this.finishNodeAt(p,"SequenceExpression",vt,Me)):p=C[0]}else p=this.parseParenExpression();if(this.options.preserveParens){var je=this.startNodeAt(n,o);return je.expression=p,this.finishNode(je,"ParenthesizedExpression")}else return p},V.parseParenItem=function(t){return t},V.parseParenArrowList=function(t,s,n,o){return this.parseArrowExpression(this.startNodeAt(t,s),n,!1,o)};var _r=[];V.parseNew=function(){this.containsEsc&&this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===h.dot){var s=this.startNodeAt(t.start,t.loc&&t.loc.start);s.name="new",t.meta=this.finishNode(s,"Identifier"),this.next();var n=this.containsEsc;return t.property=this.parseIdent(!0),t.property.name!=="target"&&this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'"),n&&this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters"),this.allowNewDotTarget||this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block"),this.finishNode(t,"MetaProperty")}var o=this.start,p=this.startLoc;return t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),o,p,!0,!1),this.eat(h.parenL)?t.arguments=this.parseExprList(h.parenR,this.options.ecmaVersion>=8,!1):t.arguments=_r,this.finishNode(t,"NewExpression")},V.parseTemplateElement=function(t){var s=t.isTagged,n=this.startNode();return this.type===h.invalidTemplate?(s||this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal"),n.value={raw:this.value.replace(/\r\n?/g,`
5
5
  `),cooked:null}):n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`