nishToken(i.dollarBraceL)):(++this.pos,this.finishToken(i.backQuote)):(e+=this.input.slice(t,this.pos),this.finishToken(i.template,e));if(r===92)e+=this.input.slice(t,this.pos),e+=this.readEscapedChar(!0),t=this.pos;else if(M(r)){switch(e+=this.input.slice(t,this.pos),++this.pos,r){case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:e+=`
`;break;default:e+=String.fromCharCode(r);break}this.options.locations&&(++this.curLine,this.lineStart=this.pos),t=this.pos}else++this.pos}},G.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(i.invalidTemplate,this.input.slice(this.start,this.pos))}this.raise(this.start,"Unterminated template")},G.readEscapedChar=function(e){var t=this.input.charCodeAt(++this.pos);switch(++this.pos,t){case 110:return`
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return E(this.readCodePoint());case 116:return"	";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:this.input.charCodeAt(this.pos)===10&&++this.pos;case 10:return this.options.locations&&(this.lineStart=this.pos,++this.curLine),"";case 56:case 57:if(this.strict&&this.invalidStringToken(this.pos-1,"Invalid escape sequence"),e){var r=this.pos-1;return this.invalidStringToken(r,"Invalid escape sequence in template string"),null}default:if(t>=48&&t<=55){var s=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],n=parseInt(s,8);return n>255&&(s=s.slice(0,-1),n=parseInt(s,8)),this.pos+=s.length-1,t=this.input.charCodeAt(this.pos),(s!=="0"||t===56||t===57)&&(this.strict||e)&&this.invalidStringToken(this.pos-1-s.length,e?"Octal literal in template string":"Octal literal in strict mode"),String.fromCharCode(n)}return M(t)?"":String.fromCharCode(t)}},G.readHexChar=function(e){var t=this.pos,r=this.readInt(16,e);return r===null&&this.invalidStringToken(t,"Bad character escape sequence"),r},G.readWord1=function(){this.containsEsc=!1;for(var e="",t=!0,r=this.pos,s=this.options.ecmaVersion>=6;this.pos<this.input.length;){var n=this.fullCharCodeAtPos();if(O(n,s))this.pos+=n<=65535?1:2;else if(n===92){this.containsEsc=!0,e+=this.input.slice(r,this.pos);var l=this.pos;this.input.charCodeAt(++this.pos)!==117&&this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX"),++this.pos;var c=this.readCodePoint();(t?m:O)(c,s)||this.invalidStringToken(l,"Invalid Unicode escape"),e+=E(c),r=this.pos}else break;t=!1}return e+this.input.slice(r,this.pos)},G.readWord=function(){var e=this.readWord1(),t=i.name;return this.keywords.test(e)&&(t=K[e]),this.finishToken(t,e)};var zr="8.8.1";Y.acorn={Parser:Y,version:zr,defaultOptions:fe,Position:H,SourceLocation:te,getLineInfo:ae,Node:Re,TokenType:S,tokTypes:i,keywordTypes:K,TokContext:ue,tokContexts:$,isIdentifierChar:O,isIdentifierStart:m,Token:Qe,isNewLine:M,lineBreak:k,lineBreakG:T,nonASCIIwhitespace:ne};function fn(e,t){return Y.parse(e,t)}function dn(e,t,r){return Y.parseExpressionAt(e,t,r)}function mn(e,t){return Y.tokenizer(e,t)}o.Node=Re,o.Parser=Y,o.Position=H,o.SourceLocation=te,o.TokContext=ue,o.Token=Qe,o.TokenType=S,o.defaultOptions=fe,o.getLineInfo=ae,o.isIdentifierChar=O,o.isIdentifierStart=m,o.isNewLine=M,o.keywordTypes=K,o.lineBreak=k,o.lineBreakG=T,o.nonASCIIwhitespace=ne,o.parse=fn,o.parseExpressionAt=dn,o.tokContexts=$,o.tokTypes=i,o.tokenizer=mn,o.version=zr,Object.defineProperty(o,"__esModule",{value:!0})})}}),Wh=Q({"node_modules/acorn-jsx/xhtml.js"(a,u){J(),u.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"}}}),Ka=Q({"node_modules/acorn-jsx/index.js"(a,u){"use strict";J();var o=Wh(),h=/^[\da-fA-F]+$/,d=/^\d+$/,C=new WeakMap;function x(g){g=g.Parser.acorn||g;let D=C.get(g);if(!D){let q=g.tokTypes,I=g.TokContext,N=g.TokenType,m=new I("<tag",!1),O=new I("</tag",!1),S=new I("<tag>...</tag>",!0,!0),_={tc_oTag:m,tc_cTag:O,tc_expr:S},F={jsxName:new N("jsxName"),jsxText:new N("jsxText",{beforeExpr:!0}),jsxTagStart:new N("jsxTagStart",{startsExpr:!0}),jsxTagEnd:new N("jsxTagEnd")};F.jsxTagStart.updateContext=function(){this.context.push(S),this.context.push(m),this.exprAllowed=!1},F.jsxTagEnd.updateContext=function(A){let K=this.context.pop();K===m&&A===q.slash||K===O?(this.context.pop(),this.exprAllowed=this.curContext()===S):this.exprAllowed=!0},D={tokContexts:_,tokTypes:F},C.set(g,D)}return D}function B(g){if(!g)return g;if(g.type==="JSXIdentifier")return g.name;if(g.type==="JSXNamespacedName")return g.namespace.name+":"+g.name.name;if(g.type==="JSXMemberExpression")return B(g.object)+"."+B(g.property)}u.exports=function(g){return g=g||{},function(D){return P({allowNamespaces:g.allowNamespaces!==!1,allowNamespacedObjects:!!g.allowNamespacedObjects},D)}},Object.defineProperty(u.exports,"tokTypes",{get:function(){return x(ft()).tokTypes},configurable:!0,enumerable:!0});function P(g,D){let q=D.acorn||ft(),I=x(q),N=q.tokTypes,m=I.tokTypes,O=q.tokContexts,S=I.tokContexts.tc_oTag,_=I.tokContexts.tc_cTag,F=I.tokContexts.tc_expr,A=q.isNewLine,K=q.isIdentifierStart,R=q.isIdentifierChar;return class extends D{static get acornJsx(){return I}jsx_readToken(){let i="",k=this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated JSX contents");let T=this.input.charCodeAt(this.pos);switch(T){case 60:case 123:return this.pos===this.start?T===60&&this.exprAllowed?(++this.pos,this.finishToken(m.jsxTagStart)):this.getTokenFromCode(T):(i+=this.input.slice(k,this.pos),this.finishToken(m.jsxText,i));case 38:i+=this.input.slice(k,this.pos),i+=this.jsx_readEntity(),k=this.pos;break;case 62:case 125:this.raise(this.pos,"Unexpected token `"+this.input[this.pos]+"`. Did you mean `"+(T===62?"&gt;":"&rbrace;")+'` or `{"'+this.input[this.pos]+'"}`?');default:A(T)?(i+=this.input.slice(k,this.pos),i+=this.jsx_readNewLine(!0),k=this.pos):++this.pos}}}jsx_readNewLine(i){let k=this.input.charCodeAt(this.pos),T;return++this.pos,k===13&&this.input.charCodeAt(this.pos)===10?(++this.pos,T=i?`
`:`\r
`):T=String.fromCharCode(k),this.options.locations&&(++this.curLine,this.lineStart=this.pos),T}jsx_readString(i){let k="",T=++this.pos;for(;;){this.pos>=this.input.length&&this.raise(this.start,"Unterminated string constant");let M=this.input.charCodeAt(this.pos);if(M===i)break;M===38?(k+=this.input.slice(T,this.pos),k+=this.jsx_readEntity(),T=this.pos):A(M)?(k+=this.input.slice(T,this.pos),k+=this.jsx_readNewLine(!1),T=this.pos):++this.pos}return k+=this.input.slice(T,this.pos++),this.finishToken(N.string,k)}jsx_readEntity(){let i="",k=0,T,M=this.input[this.pos];M!=="&"&&this.raise(this.pos,"Entity must start with an ampersand");let Z=++this.pos;for(;this.pos<this.input.length&&k++<10;){if(M=this.input[this.pos++],M===";"){i[0]==="#"?i[1]==="x"?(i=i.substr(2),h.test(i)&&(T=String.fromCharCode(parseInt(i,16)))):(i=i.substr(1),d.test(i)&&(T=String.fromCharCode(parseInt(i,10)))):T=o[i];break}i+=M}return T||(this.pos=Z,"&")}jsx_readWord(){let i,k=this.pos;do i=this.input.charCodeAt(++this.pos);while(R(i)||i===45);return this.finishToken(m.jsxName,this.input.slice(k,this.pos))}jsx_parseIdentifier(){let i=this.startNode();return this.type===m.jsxName?i.name=this.value:this.type.keyword?i.name=this.type.keyword:this.unexpected(),this.next(),this.finishNode(i,"JSXIdentifier")}jsx_parseNamespacedName(){let i=this.start,k=this.startLoc,T=this.jsx_parseIdentifier();if(!g.allowNamespaces||!this.eat(N.colon))return T;var M=this.startNodeAt(i,k);return M.namespace=T,M.name=this.jsx_parseIdentifier(),this.finishNode(M,"JSXNamespacedName")}jsx_parseElementName(){if(this.type===m.jsxTagEnd)return"";let i=this.start,k=this.startLoc,T=this.jsx_parseNamespacedName();for(this.type===N.dot&&T.type==="JSXNamespacedName"&&!g.allowNamespacedObjects&&this.unexpected();this.eat(N.dot);){let M=this.startNodeAt(i,k);M.object=T,M.property=this.jsx_parseIdentifier(),T=this.finishNode(M,"JSXMemberExpression")}return T}jsx_parseAttributeValue(){switch(this.type){case N.braceL:let i=this.jsx_parseExpressionContainer();return i.expression.type==="JSXEmptyExpression"&&this.raise(i.start,"JSX attributes must only be assigned a non-empty expression"),i;case m.jsxTagStart:case N.string:return this.parseExprAtom();default:this.raise(this.start,"JSX value should be either an expression or a quoted JSX text")}}jsx_parseEmptyExpression(){let i=this.startNodeAt(this.lastTokEnd,this.lastTokEndLoc);return this.finishNodeAt(i,"JSXEmptyExpression",this.start,this.startLoc)}jsx_parseExpressionContainer(){let i=this.startNode();return this.next(),i.expression=this.type===N.braceR?this.jsx_parseEmptyExpression():this.parseExpression(),this.expect(N.braceR),this.finishNode(i,"JSXExpressionContainer")}jsx_parseAttribute(){let i=this.startNode();return this.eat(N.braceL)?(this.expect(N.ellipsis),i.argument=this.parseMaybeAssign(),this.expect(N.braceR),this.finishNode(i,"JSXSpreadAttribute")):(i.name=this.jsx_parseNamespacedName(),i.value=this.eat(N.eq)?this.jsx_parseAttributeValue():null,this.finishNode(i,"JSXAttribute"))}jsx_parseOpeningElementAt(i,k){let T=this.startNodeAt(i,k);T.attributes=[];let M=this.jsx_parseElementName();for(M&&(T.name=M);this.type!==N.slash&&this.type!==m.jsxTagEnd;)T.attributes.push(this.jsx_parseAttribute());return T.selfClosing=this.eat(N.slash),this.expect(m.jsxTagEnd),this.finishNode(T,M?"JSXOpeningElement":"JSXOpeningFragment")}jsx_parseClosingElementAt(i,k){let T=this.startNodeAt(i,k),M=this.jsx_parseElementName();return M&&(T.name=M),this.expect(m.jsxTagEnd),this.finishNode(T,M?"JSXClosingElement":"JSXClosingFragment")}jsx_parseElementAt(i,k){let T=this.startNodeAt(i,k),M=[],Z=this.jsx_parseOpeningElementAt(i,k),ne=null;if(!Z.selfClosing){e:for(;;)switch(this.type){case m.jsxTagStart:if(i=this.start,k=this.startLoc,this.next(),this.eat(N.slash)){ne=this.jsx_parseClosingElementAt(i,k);break e}M.push(this.jsx_parseElementAt(i,k));break;case m.jsxText:M.push(this.parseExprAtom());break;case N.braceL:M.push(this.jsx_parseExpressionContainer());break;default:this.unexpected()}B(ne.name)!==B(Z.name)&&this.raise(ne.start,"Expected corresponding JSX closing tag for <"+B(Z.name)+">")}let ee=Z.name?"Element":"Fragment";return T["opening"+ee]=Z,T["closing"+ee]=ne,T.children=M,this.type===N.relational&&this.value==="<"&&this.raise(this.start,"Adjacent JSX elements must be wrapped in an enclosing tag"),this.finishNode(T,"JSX"+ee)}jsx_parseText(){let i=this.parseLiteral(this.value);return i.type="JSXText",i}jsx_parseElement(){let i=this.start,k=this.startLoc;return this.next(),this.jsx_parseElementAt(i,k)}parseExprAtom(i){return this.type===m.jsxText?this.jsx_parseText():this.type===m.jsxTagStart?this.jsx_parseElement():super.parseExprAtom(i)}readToken(i){let k=this.curContext();if(k===F)return this.jsx_readToken();if(k===S||k===_){if(K(i))return this.jsx_readWord();if(i==62)return++this.pos,this.finishToken(m.jsxTagEnd);if((i===34||i===39)&&k==S)return this.jsx_readString(i)}return i===60&&this.exprAllowed&&this.input.charCodeAt(this.pos+1)!==33?(++this.pos,this.finishToken(m.jsxTagStart)):super.readToken(i)}updateContext(i){if(this.type==N.braceL){var k=this.curContext();k==S?this.context.push(O.b_expr):k==F?this.context.push(O.b_tmpl):super.updateContext(i),this.exprAllowed=!0}else if(this.type===N.slash&&i===m.jsxTagStart)this.context.length-=2,this.context.push(_),this.exprAllowed=!1;else return super.updateContext(i)}}}}}),Gh=Q({"src/language-js/parse/acorn.js"(a,u){"use strict";J();var o=dr(),h=ka(),d=za(),C=Ha(),x={ecmaVersion:"latest",sourceType:"module",allowReserved:!0,allowReturnOutsideFunction:!0,allowImportExportEverywhere:!0,allowAwaitOutsideFunction:!0,allowSuperOutsideMethod:!0,allowHashBang:!0,locations:!0,ranges:!0};function B(I){let{message:N,loc:m}=I;if(!m)return I;let{line:O,column:S}=m;return o(N.replace(/ \(\d+:\d+\)$/,""),{start:{line:O,column:S+1}})}var P,g=()=>{if(!P){let{Parser:I}=ft(),N=Ka();P=I.extend(N())}return P};function D(I,N){let m=g(),O=[],S=[],_=m.parse(I,Object.assign(Object.assign({},x),{},{sourceType:N,onComment:O,onToken:S}));return _.comments=O,_.tokens=S,_}function q(I,N){let m=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{result:O,error:S}=h(()=>D(I,"module"),()=>D(I,"script"));if(!O)throw B(S);return m.originalText=I,C(O,m)}u.exports=d(q)}}),Hh=Q({"src/language-js/parse/utils/replace-hashbang.js"(a,u){"use strict";J();function o(h){return h.charAt(0)==="#"&&h.charAt(1)==="!"?"//"+h.slice(2):h}u.exports=o}}),Kh=Q({"node_modules/espree/dist/espree.cjs"(a){"use strict";J(),Object.defineProperty(a,"__esModule",{value:!0});var u=ft(),o=Ka(),h;function d(p){return p&&typeof p=="object"&&"default"in p?p:{default:p}}function C(p){if(p&&p.__esModule)return p;var L=Object.create(null);return p&&Object.keys(p).forEach(function(w){if(w!=="default"){var f=Object.getOwnPropertyDescriptor(p,w);Object.defineProperty(L,w,f.get?f:{enumerable:!0,get:function(){return p[w]}})}}),L.default=p,Object.freeze(L)}var x=C(u),B=d(o),P=C(h),g={Boolean:"Boolean",EOF:"<end>",Identifier:"Identifier",PrivateIdentifier:"PrivateIdentifier",Keyword:"Keyword",Null:"Null",Numeric:"Numeric",Punctuator:"Punctuator",String:"String",RegularExpression:"RegularExpression",Template:"Template",JSXIdentifier:"JSXIdentifier",JSXText:"JSXText"};function D(p,L){let w=p[0],f=p[p.length-1],E={type:g.Template,value:L.slice(w.start,f.end)};return w.loc&&(E.loc={start:w.loc.start,end:f.loc.end}),w.range&&(E.start=w.range[0],E.end=f.range[1],E.range=[E.start,E.end]),E}function q(p,L){this._acornTokTypes=p,this._tokens=[],this._curlyBrace=null,this._code=L}q.prototype={constructor:q,translate(p,L){let w=p.type,f=this._acornTokTypes;if(w===f.name)p.type=g.Identifier,p.value==="static"&&(p.type=g.Keyword),L.ecmaVersion>5&&(p.value==="yield"||p.value==="let")&&(p.type=g.Keyword);else if(w===f.privateId)p.type=g.PrivateIdentifier;else if(w===f.semi||w===f.comma||w===f.parenL||w===f.parenR||w===f.braceL||w===f.braceR||w===f.dot||w===f.bracketL||w===f.colon||w===f.question||w===f.bracketR||w===f.ellipsis||w===f.arrow||w===f.jsxTagStart||w===f.incDec||w===f.starstar||w===f.jsxTagEnd||w===f.prefix||w===f.questionDot||w.binop&&!w.keyword||w.isAssign)p.type=g.Punctuator,p.value=this._code.slice(p.start,p.end);else if(w===f.jsxName)p.type=g.JSXIdentifier;else if(w.label==="jsxText"||w===f.jsxAttrValueToken)p.type=g.JSXText;else if(w.keyword)w.keyword==="true"||w.keyword==="false"?p.type=g.Boolean:w.keyword==="null"?p.type=g.Null:p.type=g.Keyword;else if(w===f.num)p.type=g.Numeric,p.value=this._code.slice(p.start,p.end);else if(w===f.string)L.jsxAttrValueToken?(L.jsxAttrValueToken=!1,p.type=g.JSXText):p.type=g.String,p.value=this._code.slice(p.start,p.end);else if(w===f.regexp){p.type=g.RegularExpression;let E=p.value;p.regex={flags:E.flags,pattern:E.pattern},p.value=`/${E.pattern}/${E.flags}`}return p},onToken(p,L){let w=this,f=this._acornTokTypes,E=L.tokens,X=this._tokens;function H(){E.push(D(w._tokens,w._code)),w._tokens=[]}if(p.type===f.eof){this._curlyBrace&&E.push(this.translate(this._curlyBrace,L));return}if(p.type===f.backQuote){this._curlyBrace&&(E.push(this.translate(this._curlyBrace,L)),this._curlyBrace=null),X.push(p),X.length>1&&H();return}if(p.type===f.dollarBraceL){X.push(p),H();return}if(p.type===f.braceR){this._curlyBrace&&E.push(this.translate(this._curlyBrace,L)),this._curlyBrace=p;return}if(p.type===f.template||p.type===f.invalidTemplate){this._curlyBrace&&(X.push(this._curlyBrace),this._curlyBrace=null),X.push(p);return}this._curlyBrace&&(E.push(this.translate(this._curlyBrace,L)),this._curlyBrace=null),E.push(this.translate(p,L))}};var I=[3,5,6,7,8,9,10,11,12,13,14];function N(){return I[I.length-1]}function m(){return[...I]}function O(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:5,L=p==="latest"?N():p;if(typeof L!="number")throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof p} instead.`);if(L>=2015&&(L-=2009),!I.includes(L))throw new Error("Invalid ecmaVersion.");return L}function S(){let p=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"script";if(p==="script"||p==="module")return p;if(p==="commonjs")return"script";throw new Error("Invalid sourceType.")}function _(p){let L=O(p.ecmaVersion),w=S(p.sourceType),f=p.range===!0,E=p.loc===!0;if(L!==3&&p.allowReserved)throw new Error("`allowReserved` is only supported when ecmaVersion is 3");if(typeof p.allowReserved<"u"&&typeof p.allowReserved!="boolean")throw new Error("`allowReserved`, when present, must be `true` or `false`");let X=L===3?p.allowReserved||"never":!1,H=p.ecmaFeatures||{},te=p.sourceType==="commonjs"||Boolean(H.globalReturn);if(w==="module"&&L<6)throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options.");return Object.assign({},p,{ecmaVersion:L,sourceType:w,ranges:f,locations:E,allowReserved:X,allowReturnOutsideFunction:te})}var F=Symbol("espree's internal state"),A=Symbol("espree's esprimaFinishNode");function K(p,L,w,f,E,X,H){let te;p?te="Block":H.slice(w,w+2)==="#!"?te="Hashbang":te="Line";let ae={type:te,value:L};return typeof w=="number"&&(ae.start=w,ae.end=f,ae.range=[w,f]),typeof E=="object"&&(ae.loc={start:E,end:X}),ae}var R=()=>p=>{let L=Object.assign({},p.acorn.tokTypes);return p.acornJsx&&Object.assign(L,p.acornJsx.tokTypes),class extends p{constructor(f,E){(typeof f!="object"||f===null)&&(f={}),typeof E!="string"&&!(E instanceof String)&&(E=String(E));let X=f.sourceType,H=_(f),te=H.ecmaFeatures||{},ae=H.tokens===!0?new q(L,E):null,fe={originalSourceType:X||H.sourceType,tokens:ae?[]:null,comments:H.comment===!0?[]:null,impliedStrict:te.impliedStrict===!0&&H.ecmaVersion>=5,ecmaVersion:H.ecmaVersion,jsxAttrValueToken:!1,lastToken:null,templateElements:[]};super({ecmaVersion:H.ecmaVersion,sourceType:H.sourceType,ranges:H.ranges,locations:H.locations,allowReserved:H.allowReserved,allowReturnOutsideFunction:H.allowReturnOutsideFunction,onToken:Ae=>{ae&&ae.onToken(Ae,fe),Ae.type!==L.eof&&(fe.lastToken=Ae)},onComment:(Ae,dt,mt,_e,Ce,Oe)=>{if(fe.comments){let We=K(Ae,dt,mt,_e,Ce,Oe,E);fe.comments.push(We)}}},E),this[F]=fe}tokenize(){do this.next();while(this.type!==L.eof);this.next();let f=this[F],E=f.tokens;return f.comments&&(E.comments=f.comments),E}finishNode(){let f=super.finishNode(...arguments);return this[A](f)}finishNodeAt(){let f=super.finishNodeAt(...arguments);return this[A](f)}parse(){let f=this[F],E=super.parse();if(E.sourceType=f.originalSourceType,f.comments&&(E.comments=f.comments),f.tokens&&(E.tokens=f.tokens),E.body.length){let[X]=E.body;E.range&&(E.range[0]=X.range[0]),E.loc&&(E.loc.start=X.loc.start),E.start=X.start}return f.lastToken&&(E.range&&(E.range[1]=f.lastToken.range[1]),E.loc&&(E.loc.end=f.lastToken.loc.end),E.end=f.lastToken.end),this[F].templateElements.forEach(X=>{let te=X.tail?1:2;X.start+=-1,X.end+=te,X.range&&(X.range[0]+=-1,X.range[1]+=te),X.loc&&(X.loc.start.column+=-1,X.loc.end.column+=te)}),E}parseTopLevel(f){return this[F].impliedStrict&&(this.strict=!0),super.parseTopLevel(f)}raise(f,E){let X=p.acorn.getLineInfo(this.input,f),H=new SyntaxError(E);throw H.index=f,H.lineNumber=X.line,H.column=X.column+1,H}raiseRecoverable(f,E){this.raise(f,E)}unexpected(f){let E="Unexpected token";if(f!=null){if(this.pos=f,this.options.locations)for(;this.pos<this.lineStart;)this.lineStart=this.input.lastIndexOf(`
`,this.lineStart-2)+1,--this.curLine;this.nextToken()}this.end>this.start&&(E+=` ${this.input.slice(this.start,this.end)}`),this.raise(this.start,E)}jsx_readString(f){let E=super.jsx_readString(f);return this.type===L.string&&(this[F].jsxAttrValueToken=!0),E}[A](f){return f.type==="TemplateElement"&&this[F].templateElements.push(f),f.type.includes("Function")&&!f.generator&&(f.generator=!1),f}}},i="9.4.1",k={_regular:null,_jsx:null,get regular(){return this._regular===null&&(this._regular=x.Parser.extend(R())),this._regular},get jsx(){return this._jsx===null&&(this._jsx=x.Parser.extend(B.default(),R())),this._jsx},get(p){return Boolean(p&&p.ecmaFeatures&&p.ecmaFeatures.jsx)?this.jsx:this.regular}};function T(p,L){let w=k.get(L);return(!L||L.tokens!==!0)&&(L=Object.assign({},L,{tokens:!0})),new w(L,p).tokenize()}function M(p,L){let w=k.get(L);return new w(L,p).parse()}var Z=i,ne=function(){return P.KEYS}(),ee=void 0,ie=N(),Ne=m();a.Syntax=ee,a.VisitorKeys=ne,a.latestEcmaVersion=ie,a.parse=M,a.supportedEcmaVersions=Ne,a.tokenize=T,a.version=Z}}),Xh=Q({"src/language-js/parse/espree.js"(a,u){"use strict";J();var o=dr(),h=ka(),d=za(),C=Hh(),x=Ha(),B={ecmaVersion:"latest",range:!0,loc:!0,comment:!0,tokens:!0,sourceType:"module",ecmaFeatures:{jsx:!0,globalReturn:!0,impliedStrict:!1}};function P(D){let{message:q,lineNumber:I,column:N}=D;return typeof I!="number"?D:o(q,{start:{line:I,column:N}})}function g(D,q){let I=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},{parse:N}=Kh(),m=C(D),{result:O,error:S}=h(()=>N(m,Object.assign(Object.assign({},B),{},{sourceType:"module"})),()=>N(m,Object.assign(Object.assign({},B),{},{sourceType:"script"})));if(!O)throw P(S);return I.originalText=D,x(O,I)}u.exports=d(g)}}),Jh=Q({"src/language-js/parse/acorn-and-espree.js"(a,u){J();var o=Gh(),h=Xh();u.exports={parsers:{acorn:o,espree:h}}}}),vc=Jh();export{vc as default};
