sveast 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/parse.js ADDED
@@ -0,0 +1,2 @@
1
+ import{u,n,o,v,y,k,w,S,A,_,E,T,C,p,N,L,f,P,q,I,R,c,d,O,m,D,B,s,V,F,j,M,U,z,W,G,H,b,K,X,Q,Y,Z,J,h,ee,te,ie,x,se,re,ne,ae,i,oe,ue,le,t,r,l,a,ce,g}from"./shared-6xjb6x65.js";var ur={li:["li"],dt:["dt","dd"],dd:["dt","dd"],p:["address","article","aside","blockquote","div","dl","fieldset","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","main","menu","nav","ol","p","pre","section","table","ul"],rt:["rt","rp"],rp:["rt","rp"],optgroup:["optgroup"],option:["option","optgroup"],thead:["tbody","tfoot"],tbody:["tbody","tfoot"],tfoot:["tbody"],tr:["tr","tbody"],td:["td","th","tr"],th:["td","th","tr"]};function pr(e,de){return Object.hasOwn(ur,e)&&ur[e].includes(de)}var Ze=new Set(["arguments","await","break","case","catch","class","const","continue","debugger","default","delete","do","else","enum","eval","export","extends","false","finally","for","function","if","implements","import","in","instanceof","interface","let","new","null","package","private","protected","public","return","static","super","switch","this","throw","true","try","typeof","var","void","while","with","yield"]),$e=/<!--[\s\S]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/y,sn=/\r(?!\n)|[\u2028\u2029]/;function qe(e){if(e===32||e<=13&&e>=9)return!0;if(e<160)return!1;return e===160||e===5760||e>=8192&&e<=8202||e===8232||e===8233||e===8239||e===8287||e===12288||e===65279}function _e(e,de){let pe=de;while(pe<e.length&&qe(e.charCodeAt(pe)))pe++;return pe}function ze(e,de){let pe=e.codePointAt(de);if(pe===void 0||!t(pe,!0))return de;let fe=de+(pe<=65535?1:2);while(fe<e.length){let me=e.codePointAt(fe);if(!r(me,!0))break;fe+=me<=65535?1:2}return fe}function an(e){let de=e.indexOf("<");while(de!==-1){let pe=e.charCodeAt(de+1);if(pe===33||pe===115){$e.lastIndex=de;let fe=$e.exec(e);if(fe){if(pe===115)return fe[2]==="ts";de=e.indexOf("<",$e.lastIndex);continue}}de=e.indexOf("<",de+1)}return!1}class Qe{source;index=0;loc;lfOnly;isTypeScript;css;root;stack;fragments;metaTags=new Set;lastAutoClosedTag;nextAngle=-1;nextBrace=-1;constructor(e,de,pe={}){this.source=e,this.loc=pe.loc??!1,this.lfOnly=this.loc&&!sn.test(e),this.isTypeScript=an(e),this.css=pe.css??!0,this.root={type:"Root",start:0,end:de,css:null,js:[],options:null,fragment:{type:"Fragment",nodes:[]},comments:[]},this.stack=[this.root],this.fragments=[this.root.fragment]}match(e){if(e.length===1)return this.source.charCodeAt(this.index)===e.charCodeAt(0);return this.source.startsWith(e,this.index)}matchRegex(e){return e.lastIndex=this.index,e.exec(this.source)?.[0]??null}eat(e,de=!1){if(this.match(e))return this.index+=e.length,!0;if(de)s(this.index,e);return!1}read(e){let de=this.matchRegex(e);if(de)this.index+=de.length;return de}readUntil(e){if(this.index>=this.source.length)i(this.source.length);let de=this.source.indexOf(e,this.index),pe=de===-1?this.source.length:de,fe=this.source.slice(this.index,pe);return this.index=pe,fe}allowWhitespace(){this.index=_e(this.source,this.index)}requireWhitespace(){if(!qe(this.source.charCodeAt(this.index)))V(this.index);this.allowWhitespace()}eatClosingBrace(){this.allowWhitespace(),this.eat("}",!0)}sourceLocation(e,de){return this.loc?{start:n(e),end:n(de)}:void 0}readIdentifierName(){let e=this.index,de=ze(this.source,e),pe=this.source.slice(e,de);if(this.index=de,Ze.has(pe))oe(e,pe);let fe={type:"Identifier",name:pe,start:e,end:de};if(this.loc)fe.loc=this.sourceLocation(e,de);return fe}current(){return this.stack[this.stack.length-1]}append(e){this.fragments[this.fragments.length-1].nodes.push(e)}open(e,de){this.append(e),this.stack.push(e),this.fragments.push(de)}setFragment(e){this.fragments[this.fragments.length-1]=e}close(){this.stack.pop(),this.fragments.pop()}}var ln=["===","!==","==","!=","&&","||","??"];function Ke(e,de,pe,fe){return{type:"Literal",start:de,end:pe,value:fe,raw:e.slice(de,pe)}}function dr(e,de){let pe=e.charCodeAt(de);if(pe===34||pe===39){for(let me=de+1;me<e.length;me++){let ge=e.charCodeAt(me);if(ge===pe)return Ke(e,de,me+1,e.slice(de+1,me));if(ge===92||ge===10||ge===13)return null}return null}let fe=de;for(;fe<e.length;fe++){let me=e.charCodeAt(fe);if(me<48||me>57)break}if(fe===de||pe===48&&fe-de>1)return null;return Ke(e,de,fe,Number(e.slice(de,fe)))}function cn(e,de){let pe=ze(e,de);if(pe===de)return dr(e,de);let fe=e.slice(de,pe);if(fe==="true"||fe==="false"||fe==="null")return Ke(e,de,pe,fe==="null"?null:fe==="true");if(Ze.has(fe))return null;let me={type:"Identifier",start:de,end:pe,name:fe};for(let ge=pe;;){let he=e.charCodeAt(ge),be,ye;if(he===46){if(ye=ze(e,ge+1),ye===ge+1)return null;be={type:"Identifier",start:ge+1,end:ye,name:e.slice(ge+1,ye)}}else if(he===91){if(be=dr(e,ge+1),!be||e.charCodeAt(be.end)!==93)return null;ye=be.end+1}else return me;me={type:"MemberExpression",start:de,end:ye,object:me,property:be,computed:he===91,optional:!1},ge=ye}}function Ye(e,de){if(e.charCodeAt(de)!==33||e.charCodeAt(de+1)===61)return cn(e,de);let pe=Ye(e,_e(e,de+1));if(!pe)return null;return{type:"UnaryExpression",start:de,end:pe.end,operator:"!",prefix:!0,argument:pe}}function fr(e,de){let pe=_e(e,de);if(pe>=e.length)return!1;let fe=e.charCodeAt(pe);return fe===125||fe===41}function un(e,de){let pe=Ye(e,de);if(!pe||fr(e,pe.end))return pe;let fe=_e(e,pe.end),me=ln.find((he)=>e.startsWith(he,fe));if(!me)return null;let ge=Ye(e,_e(e,fe+me.length));if(!ge||!fr(e,ge.end))return null;return{type:me==="&&"||me==="||"||me==="??"?"LogicalExpression":"BinaryExpression",start:pe.start,end:ge.end,left:pe,operator:me,right:ge}}function mr(e){e.loc={start:o(e.start),end:o(e.end)};for(let de of["object","property","argument","left","right"]){let pe=e[de];if(pe)mr(pe)}}function Ae(e){let de=!e.loc||e.lfOnly?un(e.source,e.index):null;if(de){if(e.index=de.end,e.loc)mr(de);return de}let{node:pe,end:fe}=a(e,e.source,e.index);return e.index=fe,pe}var gr="AElig:5i AElig;:5i AMP:12 AMP;:12 Aacute:5d Aacute;:5d Abreve;:76 Acirc:5e Acirc;:5e Acy;:sw Afr;:2kn8 Agrave:5c Agrave;:5c Alpha;:pd Amacr;:74 And;:8cz Aogon;:78 Aopf;:2koo ApplyFunction;:6e9 Aring:5h Aring;:5h Ascr;:2kkc Assign;:6s4 Atilde:5f Atilde;:5f Auml:5g Auml;:5g Backslash;:6qe Barv;:8h3 Barwed;:6x2 Bcy;:sx Because;:6r9 Bernoullis;:6jw Beta;:pe Bfr;:2kn9 Bopf;:2kop Breve;:k8 Bscr;:6jw Bumpeq;:6ry CHcy;:tj COPY:4p COPY;:4p Cacute;:7a Cap;:6vm CapitalDifferentialD;:6kl Cayleys;:6jx Ccaron;:7g Ccedil:5j Ccedil;:5j Ccirc;:7c Cconint;:6r4 Cdot;:7e Cedilla;:54 CenterDot;:53 Cfr;:6jx Chi;:pz CircleDot;:6u1 CircleMinus;:6ty CirclePlus;:6tx CircleTimes;:6tz ClockwiseContourIntegral;:6r6 CloseCurlyDoubleQuote;:6cd CloseCurlyQuote;:6c9 Colon;:6rb Colone;:8dw Congruent;:6sh Conint;:6r3 ContourIntegral;:6r2 Copf;:6iq Coproduct;:6q8 CounterClockwiseContourIntegral;:6r7 Cross;:8bz Cscr;:2kke Cup;:6vn CupCap;:6rx DD;:6kl DDotrahd;:841 DJcy;:si DScy;:sl DZcy;:sv Dagger;:6ch Darr;:6n5 Dashv;:8h0 Dcaron;:7i Dcy;:t0 Del;:6pz Delta;:pg Dfr;:2knb DiacriticalAcute;:50 DiacriticalDot;:k9 DiacriticalDoubleAcute;:kd DiacriticalGrave;:2o DiacriticalTilde;:kc Diamond;:6v8 DifferentialD;:6km Dopf;:2kor Dot;:4o DotDot;:6ho DotEqual;:6s0 DoubleContourIntegral;:6r3 DoubleDot;:4o DoubleDownArrow;:6oj DoubleLeftArrow;:6og DoubleLeftRightArrow;:6ok DoubleLeftTee;:8h0 DoubleLongLeftArrow;:7w8 DoubleLongLeftRightArrow;:7wa DoubleLongRightArrow;:7w9 DoubleRightArrow;:6oi DoubleRightTee;:6ug DoubleUpArrow;:6oh DoubleUpDownArrow;:6ol DoubleVerticalBar;:6qt DownArrow;:6mr DownArrowBar;:843 DownArrowUpArrow;:6ph DownBreve;:lt DownLeftRightVector;:85s DownLeftTeeVector;:866 DownLeftVector;:6nx DownLeftVectorBar;:85y DownRightTeeVector;:867 DownRightVector;:6o1 DownRightVectorBar;:85z DownTee;:6uc DownTeeArrow;:6nb Downarrow;:6oj Dscr;:2kkf Dstrok;:7k ENG;:96 ETH:5s ETH;:5s Eacute:5l Eacute;:5l Ecaron;:7u Ecirc:5m Ecirc;:5m Ecy;:tp Edot;:7q Efr;:2knc Egrave:5k Egrave;:5k Element;:6q0 Emacr;:7m EmptySmallSquare;:7i3 EmptyVerySmallSquare;:7fv Eogon;:7s Eopf;:2kos Epsilon;:ph Equal;:8dx EqualTilde;:6rm Equilibrium;:6oc Escr;:6k0 Esim;:8dv Eta;:pj Euml:5n Euml;:5n Exists;:6pv ExponentialE;:6kn Fcy;:tg Ffr;:2knd FilledSmallSquare;:7i4 FilledVerySmallSquare;:7fu Fopf;:2kot ForAll;:6ps Fouriertrf;:6k1 Fscr;:6k1 GJcy;:sj GT:1q GT;:1q Gamma;:pf Gammad;:rg Gbreve;:7y Gcedil;:82 Gcirc;:7w Gcy;:sz Gdot;:80 Gfr;:2kne Gg;:6vt Gopf;:2kou GreaterEqual;:6sl GreaterEqualLess;:6vv GreaterFullEqual;:6sn GreaterGreater;:8f6 GreaterLess;:6t3 GreaterSlantEqual;:8e6 GreaterTilde;:6sz Gscr;:2kki Gt;:6sr HARDcy;:tm Hacek;:jr Hat;:2m Hcirc;:84 Hfr;:6j0 HilbertSpace;:6iz Hopf;:6j1 HorizontalLine;:7b4 Hscr;:6iz Hstrok;:86 HumpDownHump;:6ry HumpEqual;:6rz IEcy;:t1 IJlig;:8i IOcy;:sh Iacute:5p Iacute;:5p Icirc:5q Icirc;:5q Icy;:t4 Idot;:8g Ifr;:6j5 Igrave:5o Igrave;:5o Im;:6j5 Imacr;:8a ImaginaryI;:6ko Implies;:6oi Int;:6r0 Integral;:6qz Intersection;:6v6 InvisibleComma;:6eb InvisibleTimes;:6ea Iogon;:8e Iopf;:2kow Iota;:pl Iscr;:6j4 Itilde;:88 Iukcy;:sm Iuml:5r Iuml;:5r Jcirc;:8k Jcy;:t5 Jfr;:2knh Jopf;:2kox Jscr;:2kkl Jsercy;:so Jukcy;:sk KHcy;:th KJcy;:ss Kappa;:pm Kcedil;:8m Kcy;:t6 Kfr;:2kni Kopf;:2koy Kscr;:2kkm LJcy;:sp LT:1o LT;:1o Lacute;:8p Lambda;:pn Lang;:7vu Laplacetrf;:6j6 Larr;:6n2 Lcaron;:8t Lcedil;:8r Lcy;:t7 LeftAngleBracket;:7vs LeftArrow;:6mo LeftArrowBar;:6p0 LeftArrowRightArrow;:6o6 LeftCeiling;:6x4 LeftDoubleBracket;:7vq LeftDownTeeVector;:869 LeftDownVector;:6o3 LeftDownVectorBar;:861 LeftFloor;:6x6 LeftRightArrow;:6ms LeftRightVector;:85q LeftTee;:6ub LeftTeeArrow;:6n8 LeftTeeVector;:862 LeftTriangle;:6uq LeftTriangleBar;:89b LeftTriangleEqual;:6us LeftUpDownVector;:85t LeftUpTeeVector;:868 LeftUpVector;:6nz LeftUpVectorBar;:860 LeftVector;:6nw LeftVectorBar;:85u Leftarrow;:6og Leftrightarrow;:6ok LessEqualGreater;:6vu LessFullEqual;:6sm LessGreater;:6t2 LessLess;:8f5 LessSlantEqual;:8e5 LessTilde;:6sy Lfr;:2knj Ll;:6vs Lleftarrow;:6oq Lmidot;:8v LongLeftArrow;:7w5 LongLeftRightArrow;:7w7 LongRightArrow;:7w6 Longleftarrow;:7w8 Longleftrightarrow;:7wa Longrightarrow;:7w9 Lopf;:2koz LowerLeftArrow;:6mx LowerRightArrow;:6mw Lscr;:6j6 Lsh;:6nk Lstrok;:8x Lt;:6sq Map;:83p Mcy;:t8 MediumSpace;:6e7 Mellintrf;:6k3 Mfr;:2knk MinusPlus;:6qb Mopf;:2kp0 Mscr;:6k3 Mu;:po NJcy;:sq Nacute;:8z Ncaron;:93 Ncedil;:91 Ncy;:t9 NegativeMediumSpace;:6bv NegativeThickSpace;:6bv NegativeThinSpace;:6bv NegativeVeryThinSpace;:6bv NestedGreaterGreater;:6sr NestedLessLess;:6sq NewLine;:a Nfr;:2knl NoBreak;:6e8 NonBreakingSpace;:4g Nopf;:6j9 Not;:8h8 NotCongruent;:6si NotCupCap;:6st NotDoubleVerticalBar;:6qu NotElement;:6q1 NotEqual;:6sg NotEqualTilde;:6rm NotExists;:6pw NotGreater;:6sv NotGreaterEqual;:6sx NotGreaterFullEqual;:6sn NotGreaterGreater;:6sr NotGreaterLess;:6t5 NotGreaterSlantEqual;:8e6 NotGreaterTilde;:6t1 NotHumpDownHump;:6ry NotHumpEqual;:6rz NotLeftTriangle;:6wa NotLeftTriangleBar;:89b NotLeftTriangleEqual;:6wc NotLess;:6su NotLessEqual;:6sw NotLessGreater;:6t4 NotLessLess;:6sq NotLessSlantEqual;:8e5 NotLessTilde;:6t0 NotNestedGreaterGreater;:8f6 NotNestedLessLess;:8f5 NotPrecedes;:6tc NotPrecedesEqual;:8fj NotPrecedesSlantEqual;:6w0 NotReverseElement;:6q4 NotRightTriangle;:6wb NotRightTriangleBar;:89c NotRightTriangleEqual;:6wd NotSquareSubset;:6tr NotSquareSubsetEqual;:6w2 NotSquareSuperset;:6ts NotSquareSupersetEqual;:6w3 NotSubset;:6te NotSubsetEqual;:6tk NotSucceeds;:6td NotSucceedsEqual;:8fk NotSucceedsSlantEqual;:6w1 NotSucceedsTilde;:6tb NotSuperset;:6tf NotSupersetEqual;:6tl NotTilde;:6rl NotTildeEqual;:6ro NotTildeFullEqual;:6rr NotTildeTilde;:6rt NotVerticalBar;:6qs Nscr;:2kkp Ntilde:5t Ntilde;:5t Nu;:pp OElig;:9e Oacute:5v Oacute;:5v Ocirc:5w Ocirc;:5w Ocy;:ta Odblac;:9c Ofr;:2knm Ograve:5u Ograve;:5u Omacr;:98 Omega;:q1 Omicron;:pr Oopf;:2kp2 OpenCurlyDoubleQuote;:6cc OpenCurlyQuote;:6c8 Or;:8d0 Oscr;:2kkq Oslash:60 Oslash;:60 Otilde:5x Otilde;:5x Otimes;:8c7 Ouml:5y Ouml;:5y OverBar;:6da OverBrace;:732 OverBracket;:71w OverParenthesis;:730 PartialD;:6pu Pcy;:tb Pfr;:2knn Phi;:py Pi;:ps PlusMinus;:4x Poincareplane;:6j0 Popf;:6jd Pr;:8fv Precedes;:6t6 PrecedesEqual;:8fj PrecedesSlantEqual;:6t8 PrecedesTilde;:6ta Prime;:6cz Product;:6q7 Proportion;:6rb Proportional;:6ql Pscr;:2kkr Psi;:q0 QUOT:y QUOT;:y Qfr;:2kno Qopf;:6je Qscr;:2kks RBarr;:840 REG:4u REG;:4u Racute;:9g Rang;:7vv Rarr;:6n4 Rarrtl;:846 Rcaron;:9k Rcedil;:9i Rcy;:tc Re;:6jg ReverseElement;:6q3 ReverseEquilibrium;:6ob ReverseUpEquilibrium;:86n Rfr;:6jg Rho;:pt RightAngleBracket;:7vt RightArrow;:6mq RightArrowBar;:6p1 RightArrowLeftArrow;:6o4 RightCeiling;:6x5 RightDoubleBracket;:7vr RightDownTeeVector;:865 RightDownVector;:6o2 RightDownVectorBar;:85x RightFloor;:6x7 RightTee;:6ua RightTeeArrow;:6na RightTeeVector;:863 RightTriangle;:6ur RightTriangleBar;:89c RightTriangleEqual;:6ut RightUpDownVector;:85r RightUpTeeVector;:864 RightUpVector;:6ny RightUpVectorBar;:85w RightVector;:6o0 RightVectorBar;:85v Rightarrow;:6oi Ropf;:6jh RoundImplies;:86o Rrightarrow;:6or Rscr;:6jf Rsh;:6nl RuleDelayed;:8ac SHCHcy;:tl SHcy;:tk SOFTcy;:to Sacute;:9m Sc;:8fw Scaron;:9s Scedil;:9q Scirc;:9o Scy;:td Sfr;:2knq ShortDownArrow;:6mr ShortLeftArrow;:6mo ShortRightArrow;:6mq ShortUpArrow;:6mp Sigma;:pv SmallCircle;:6qg Sopf;:2kp6 Sqrt;:6qi Square;:7fl SquareIntersection;:6tv SquareSubset;:6tr SquareSubsetEqual;:6tt SquareSuperset;:6ts SquareSupersetEqual;:6tu SquareUnion;:6tw Sscr;:2kku Star;:6va Sub;:6vk Subset;:6vk SubsetEqual;:6ti Succeeds;:6t7 SucceedsEqual;:8fk SucceedsSlantEqual;:6t9 SucceedsTilde;:6tb SuchThat;:6q3 Sum;:6q9 Sup;:6vl Superset;:6tf SupersetEqual;:6tj Supset;:6vl THORN:66 THORN;:66 TRADE;:6jm TSHcy;:sr TScy;:ti Tab;:9 Tau;:pw Tcaron;:9w Tcedil;:9u Tcy;:te Tfr;:2knr Therefore;:6r8 Theta;:pk ThickSpace;:6e7 ThinSpace;:6bt Tilde;:6rg TildeEqual;:6rn TildeFullEqual;:6rp TildeTilde;:6rs Topf;:2kp7 TripleDot;:6hn Tscr;:2kkv Tstrok;:9y Uacute:62 Uacute;:62 Uarr;:6n3 Uarrocir;:85l Ubrcy;:su Ubreve;:a4 Ucirc:63 Ucirc;:63 Ucy;:tf Udblac;:a8 Ufr;:2kns Ugrave:61 Ugrave;:61 Umacr;:a2 UnderBar;:2n UnderBrace;:733 UnderBracket;:71x UnderParenthesis;:731 Union;:6v7 UnionPlus;:6tq Uogon;:aa Uopf;:2kp8 UpArrow;:6mp UpArrowBar;:842 UpArrowDownArrow;:6o5 UpDownArrow;:6mt UpEquilibrium;:86m UpTee;:6ud UpTeeArrow;:6n9 Uparrow;:6oh Updownarrow;:6ol UpperLeftArrow;:6mu UpperRightArrow;:6mv Upsi;:r6 Upsilon;:px Uring;:a6 Uscr;:2kkw Utilde;:a0 Uuml:64 Uuml;:64 VDash;:6uj Vbar;:8h7 Vcy;:sy Vdash;:6uh Vdashl;:8h2 Vee;:6v5 Verbar;:6c6 Vert;:6c6 VerticalBar;:6qr VerticalLine;:3g VerticalSeparator;:7rs VerticalTilde;:6rk VeryThinSpace;:6bu Vfr;:2knt Vopf;:2kp9 Vscr;:2kkx Vvdash;:6ui Wcirc;:ac Wedge;:6v4 Wfr;:2knu Wopf;:2kpa Wscr;:2kky Xfr;:2knv Xi;:pq Xopf;:2kpb Xscr;:2kkz YAcy;:tr YIcy;:sn YUcy;:tq Yacute:65 Yacute;:65 Ycirc;:ae Ycy;:tn Yfr;:2knw Yopf;:2kpc Yscr;:2kl0 Yuml;:ag ZHcy;:t2 Zacute;:ah Zcaron;:al Zcy;:t3 Zdot;:aj ZeroWidthSpace;:6bv Zeta;:pi Zfr;:6js Zopf;:6jo Zscr;:2kl1 aacute:69 aacute;:69 abreve;:77 ac;:6ri acE;:6ri acd;:6rj acirc:6a acirc;:6a acute:50 acute;:50 acy;:ts aelig:6e aelig;:6e af;:6e9 afr;:2kny agrave:68 agrave;:68 alefsym;:6k5 aleph;:6k5 alpha;:q9 amacr;:75 amalg;:8cf amp:12 amp;:12 and;:6qv andand;:8d1 andd;:8d8 andslope;:8d4 andv;:8d6 ang;:6qo ange;:884 angle;:6qo angmsd;:6qp angmsdaa;:888 angmsdab;:889 angmsdac;:88a angmsdad;:88b angmsdae;:88c angmsdaf;:88d angmsdag;:88e angmsdah;:88f angrt;:6qn angrtvb;:6v2 angrtvbd;:87x angsph;:6qq angst;:5h angzarr;:70c aogon;:79 aopf;:2kpe ap;:6rs apE;:8ds apacir;:8dr ape;:6ru apid;:6rv apos;:13 approx;:6rs approxeq;:6ru aring:6d aring;:6d ascr;:2kl2 ast;:16 asymp;:6rs asympeq;:6rx atilde:6b atilde;:6b auml:6c auml;:6c awconint;:6r7 awint;:8b5 bNot;:8h9 backcong;:6rw backepsilon;:s6 backprime;:6d1 backsim;:6rh backsimeq;:6vh barvee;:6v1 barwed;:6x1 barwedge;:6x1 bbrk;:71x bbrktbrk;:71y bcong;:6rw bcy;:tt bdquo;:6ce becaus;:6r9 because;:6r9 bemptyv;:88g bepsi;:s6 bernou;:6jw beta;:qa beth;:6k6 between;:6ss bfr;:2knz bigcap;:6v6 bigcirc;:7hr bigcup;:6v7 bigodot;:8ao bigoplus;:8ap bigotimes;:8aq bigsqcup;:8au bigstar;:7id bigtriangledown;:7gd bigtriangleup;:7g3 biguplus;:8as bigvee;:6v5 bigwedge;:6v4 bkarow;:83x blacklozenge;:8a3 blacksquare;:7fu blacktriangle;:7g4 blacktriangledown;:7ge blacktriangleleft;:7gi blacktriangleright;:7g8 blank;:74z blk12;:7f6 blk14;:7f5 blk34;:7f7 block;:7ew bne;:1p bnequiv;:6sh bnot;:6xc bopf;:2kpf bot;:6ud bottom;:6ud bowtie;:6vc boxDL;:7dj boxDR;:7dg boxDl;:7di boxDr;:7df boxH;:7dc boxHD;:7dy boxHU;:7e1 boxHd;:7dw boxHu;:7dz boxUL;:7dp boxUR;:7dm boxUl;:7do boxUr;:7dl boxV;:7dd boxVH;:7e4 boxVL;:7dv boxVR;:7ds boxVh;:7e3 boxVl;:7du boxVr;:7dr boxbox;:895 boxdL;:7dh boxdR;:7de boxdl;:7bk boxdr;:7bg boxh;:7b4 boxhD;:7dx boxhU;:7e0 boxhd;:7cc boxhu;:7ck boxminus;:6u7 boxplus;:6u6 boxtimes;:6u8 boxuL;:7dn boxuR;:7dk boxul;:7bs boxur;:7bo boxv;:7b6 boxvH;:7e2 boxvL;:7dt boxvR;:7dq boxvh;:7cs boxvl;:7c4 boxvr;:7bw bprime;:6d1 breve;:k8 brvbar:4m brvbar;:4m bscr;:2kl3 bsemi;:6dr bsim;:6rh bsime;:6vh bsol;:2k bsolb;:891 bsolhsub;:7uw bull;:6ci bullet;:6ci bump;:6ry bumpE;:8fi bumpe;:6rz bumpeq;:6rz cacute;:7b cap;:6qx capand;:8ck capbrcup;:8cp capcap;:8cr capcup;:8cn capdot;:8cg caps;:6qx caret;:6dd caron;:jr ccaps;:8ct ccaron;:7h ccedil:6f ccedil;:6f ccirc;:7d ccups;:8cs ccupssm;:8cw cdot;:7f cedil:54 cedil;:54 cemptyv;:88i cent:4i cent;:4i centerdot;:53 cfr;:2ko0 chcy;:uf check;:7pv checkmark;:7pv chi;:qv cir;:7gr cirE;:88z circ;:jq circeq;:6s7 circlearrowleft;:6nu circlearrowright;:6nv circledR;:4u circledS;:79k circledast;:6u3 circledcirc;:6u2 circleddash;:6u5 cire;:6s7 cirfnint;:8b4 cirmid;:8hb cirscir;:88y clubs;:7kz clubsuit;:7kz colon;:1m colone;:6s4 coloneq;:6s4 comma;:18 commat;:1s comp;:6pt compfn;:6qg complement;:6pt complexes;:6iq cong;:6rp congdot;:8dp conint;:6r2 copf;:2kpg coprod;:6q8 copy:4p copy;:4p copysr;:6jb crarr;:6np cross;:7pz cscr;:2kl4 csub;:8gf csube;:8gh csup;:8gg csupe;:8gi ctdot;:6wf cudarrl;:854 cudarrr;:851 cuepr;:6vy cuesc;:6vz cularr;:6nq cularrp;:859 cup;:6qy cupbrcap;:8co cupcap;:8cm cupcup;:8cq cupdot;:6tp cupor;:8cl cups;:6qy curarr;:6nr curarrm;:858 curlyeqprec;:6vy curlyeqsucc;:6vz curlyvee;:6vi curlywedge;:6vj curren:4k curren;:4k curvearrowleft;:6nq curvearrowright;:6nr cuvee;:6vi cuwed;:6vj cwconint;:6r6 cwint;:6r5 cylcty;:6y5 dArr;:6oj dHar;:86d dagger;:6cg daleth;:6k8 darr;:6mr dash;:6c0 dashv;:6ub dbkarow;:83z dblac;:kd dcaron;:7j dcy;:tw dd;:6km ddagger;:6ch ddarr;:6oa ddotseq;:8dz deg:4w deg;:4w delta;:qc demptyv;:88h dfisht;:873 dfr;:2ko1 dharl;:6o3 dharr;:6o2 diam;:6v8 diamond;:6v8 diamondsuit;:7l2 diams;:7l2 die;:4o digamma;:rh disin;:6wi div;:6v divide:6v divide;:6v divideontimes;:6vb divonx;:6vb djcy;:uq dlcorn;:6xq dlcrop;:6x9 dollar;:10 dopf;:2kph dot;:k9 doteq;:6s0 doteqdot;:6s1 dotminus;:6rc dotplus;:6qc dotsquare;:6u9 doublebarwedge;:6x2 downarrow;:6mr downdownarrows;:6oa downharpoonleft;:6o3 downharpoonright;:6o2 drbkarow;:840 drcorn;:6xr drcrop;:6x8 dscr;:2kl5 dscy;:ut dsol;:8ae dstrok;:7l dtdot;:6wh dtri;:7gf dtrif;:7ge duarr;:6ph duhar;:86n dwangle;:886 dzcy;:v3 dzigrarr;:7wf eDDot;:8dz eDot;:6s1 eacute:6h eacute;:6h easter;:8dq ecaron;:7v ecir;:6s6 ecirc:6i ecirc;:6i ecolon;:6s5 ecy;:ul edot;:7r ee;:6kn efDot;:6s2 efr;:2ko2 eg;:8ey egrave:6g egrave;:6g egs;:8eu egsdot;:8ew el;:8ex elinters;:73b ell;:6j7 els;:8et elsdot;:8ev emacr;:7n empty;:6px emptyset;:6px emptyv;:6px emsp13;:6bo emsp14;:6bp emsp;:6bn eng;:97 ensp;:6bm eogon;:7t eopf;:2kpi epar;:6vp eparsl;:89v eplus;:8dt epsi;:qd epsilon;:qd epsiv;:s5 eqcirc;:6s6 eqcolon;:6s5 eqsim;:6rm eqslantgtr;:8eu eqslantless;:8et equals;:1p equest;:6sf equiv;:6sh equivDD;:8e0 eqvparsl;:89x erDot;:6s3 erarr;:86p escr;:6jz esdot;:6s0 esim;:6rm eta;:qf eth:6o eth;:6o euml:6j euml;:6j euro;:6gc excl;:x exist;:6pv expectation;:6k0 exponentiale;:6kn fallingdotseq;:6s2 fcy;:uc female;:7k0 ffilig;:1dkz fflig;:1dkw ffllig;:1dl0 ffr;:2ko3 filig;:1dkx fjlig;:2u flat;:7l9 fllig;:1dky fltns;:7g1 fnof;:b6 fopf;:2kpj forall;:6ps fork;:6vo forkv;:8gp fpartint;:8b1 frac12:59 frac12;:59 frac13;:6kz frac14:58 frac14;:58 frac15;:6l1 frac16;:6l5 frac18;:6l7 frac23;:6l0 frac25;:6l2 frac34:5a frac34;:5a frac35;:6l3 frac38;:6l8 frac45;:6l4 frac56;:6l6 frac58;:6l9 frac78;:6la frasl;:6dg frown;:6xu fscr;:2kl7 gE;:6sn gEl;:8ek gacute;:dx gamma;:qb gammad;:rh gap;:8ee gbreve;:7z gcirc;:7x gcy;:tv gdot;:81 ge;:6sl gel;:6vv geq;:6sl geqq;:6sn geqslant;:8e6 ges;:8e6 gescc;:8fd gesdot;:8e8 gesdoto;:8ea gesdotol;:8ec gesl;:6vv gesles;:8es gfr;:2ko4 gg;:6sr ggg;:6vt gimel;:6k7 gjcy;:ur gl;:6t3 glE;:8eq gla;:8f9 glj;:8f8 gnE;:6sp gnap;:8ei gnapprox;:8ei gne;:8eg gneq;:8eg gneqq;:6sp gnsim;:6w7 gopf;:2kpk grave;:2o gscr;:6iy gsim;:6sz gsime;:8em gsiml;:8eo gt:1q gt;:1q gtcc;:8fb gtcir;:8e2 gtdot;:6vr gtlPar;:87p gtquest;:8e4 gtrapprox;:8ee gtrarr;:86w gtrdot;:6vr gtreqless;:6vv gtreqqless;:8ek gtrless;:6t3 gtrsim;:6sz gvertneqq;:6sp gvnE;:6sp hArr;:6ok hairsp;:6bu half;:59 hamilt;:6iz hardcy;:ui harr;:6ms harrcir;:85k harrw;:6nh hbar;:6j3 hcirc;:85 hearts;:7l1 heartsuit;:7l1 hellip;:6cm hercon;:6ux hfr;:2ko5 hksearow;:84l hkswarow;:84m hoarr;:6pr homtht;:6rf hookleftarrow;:6nd hookrightarrow;:6ne hopf;:2kpl horbar;:6c5 hscr;:2kl9 hslash;:6j3 hstrok;:87 hybull;:6df hyphen;:6c0 iacute:6l iacute;:6l ic;:6eb icirc:6m icirc;:6m icy;:u0 iecy;:tx iexcl:4h iexcl;:4h iff;:6ok ifr;:2ko6 igrave:6k igrave;:6k ii;:6ko iiiint;:8b0 iiint;:6r1 iinfin;:89o iiota;:6jt ijlig;:8j imacr;:8b image;:6j5 imagline;:6j4 imagpart;:6j5 imath;:8h imof;:6uv imped;:c5 in;:6q0 incare;:6it infin;:6qm infintie;:89p inodot;:8h int;:6qz intcal;:6uy integers;:6jo intercal;:6uy intlarhk;:8bb intprod;:8cc iocy;:up iogon;:8f iopf;:2kpm iota;:qh iprod;:8cc iquest:5b iquest;:5b iscr;:2kla isin;:6q0 isinE;:6wp isindot;:6wl isins;:6wk isinsv;:6wj isinv;:6q0 it;:6ea itilde;:89 iukcy;:uu iuml:6n iuml;:6n jcirc;:8l jcy;:u1 jfr;:2ko7 jmath;:fr jopf;:2kpn jscr;:2klb jsercy;:uw jukcy;:us kappa;:qi kappav;:s0 kcedil;:8n kcy;:u2 kfr;:2ko8 kgreen;:8o khcy;:ud kjcy;:v0 kopf;:2kpo kscr;:2klc lAarr;:6oq lArr;:6og lAtail;:84b lBarr;:83y lE;:6sm lEg;:8ej lHar;:86a lacute;:8q laemptyv;:88k lagran;:6j6 lambda;:qj lang;:7vs langd;:87l langle;:7vs lap;:8ed laquo:4r laquo;:4r larr;:6mo larrb;:6p0 larrbfs;:84f larrfs;:84d larrhk;:6nd larrlp;:6nf larrpl;:855 larrsim;:86r larrtl;:6n6 lat;:8ff latail;:849 late;:8fh lates;:8fh lbarr;:83w lbbrk;:7si lbrace;:3f lbrack;:2j lbrke;:87f lbrksld;:87j lbrkslu;:87h lcaron;:8u lcedil;:8s lceil;:6x4 lcub;:3f lcy;:u3 ldca;:852 ldquo;:6cc ldquor;:6ce ldrdhar;:86f ldrushar;:85n ldsh;:6nm le;:6sk leftarrow;:6mo leftarrowtail;:6n6 leftharpoondown;:6nx leftharpoonup;:6nw leftleftarrows;:6o7 leftrightarrow;:6ms leftrightarrows;:6o6 leftrightharpoons;:6ob leftrightsquigarrow;:6nh leftthreetimes;:6vf leg;:6vu leq;:6sk leqq;:6sm leqslant;:8e5 les;:8e5 lescc;:8fc lesdot;:8e7 lesdoto;:8e9 lesdotor;:8eb lesg;:6vu lesges;:8er lessapprox;:8ed lessdot;:6vq lesseqgtr;:6vu lesseqqgtr;:8ej lessgtr;:6t2 lesssim;:6sy lfisht;:870 lfloor;:6x6 lfr;:2ko9 lg;:6t2 lgE;:8ep lhard;:6nx lharu;:6nw lharul;:86i lhblk;:7es ljcy;:ux ll;:6sq llarr;:6o7 llcorner;:6xq llhard;:86j lltri;:7i2 lmidot;:8w lmoust;:71s lmoustache;:71s lnE;:6so lnap;:8eh lnapprox;:8eh lne;:8ef lneq;:8ef lneqq;:6so lnsim;:6w6 loang;:7vw loarr;:6pp lobrk;:7vq longleftarrow;:7w5 longleftrightarrow;:7w7 longmapsto;:7wc longrightarrow;:7w6 looparrowleft;:6nf looparrowright;:6ng lopar;:879 lopf;:2kpp loplus;:8bx lotimes;:8c4 lowast;:6qf lowbar;:2n loz;:7gq lozenge;:7gq lozf;:8a3 lpar;:14 lparlt;:87n lrarr;:6o6 lrcorner;:6xr lrhar;:6ob lrhard;:86l lrm;:6by lrtri;:6v3 lsaquo;:6d5 lscr;:2kld lsh;:6nk lsim;:6sy lsime;:8el lsimg;:8en lsqb;:2j lsquo;:6c8 lsquor;:6ca lstrok;:8y lt:1o lt;:1o ltcc;:8fa ltcir;:8e1 ltdot;:6vq lthree;:6vf ltimes;:6vd ltlarr;:86u ltquest;:8e3 ltrPar;:87q ltri;:7gj ltrie;:6us ltrif;:7gi lurdshar;:85m luruhar;:86e lvertneqq;:6so lvnE;:6so mDDot;:6re macr:4v macr;:4v male;:7k2 malt;:7q8 maltese;:7q8 map;:6na mapsto;:6na mapstodown;:6nb mapstoleft;:6n8 mapstoup;:6n9 marker;:7fy mcomma;:8bt mcy;:u4 mdash;:6c4 measuredangle;:6qp mfr;:2koa mho;:6jr micro:51 micro;:51 mid;:6qr midast;:16 midcir;:8hc middot:53 middot;:53 minus;:6qa minusb;:6u7 minusd;:6rc minusdu;:8bu mlcp;:8gr mldr;:6cm mnplus;:6qb models;:6uf mopf;:2kpq mp;:6qb mscr;:2kle mstpos;:6ri mu;:qk multimap;:6uw mumap;:6uw nGg;:6vt nGt;:6sr nGtv;:6sr nLeftarrow;:6od nLeftrightarrow;:6oe nLl;:6vs nLt;:6sq nLtv;:6sq nRightarrow;:6of nVDash;:6un nVdash;:6um nabla;:6pz nacute;:90 nang;:6qo nap;:6rt napE;:8ds napid;:6rv napos;:95 napprox;:6rt natur;:7la natural;:7la naturals;:6j9 nbsp:4g nbsp;:4g nbump;:6ry nbumpe;:6rz ncap;:8cj ncaron;:94 ncedil;:92 ncong;:6rr ncongdot;:8dp ncup;:8ci ncy;:u5 ndash;:6c3 ne;:6sg neArr;:6on nearhk;:84k nearr;:6mv nearrow;:6mv nedot;:6s0 nequiv;:6si nesear;:84o nesim;:6rm nexist;:6pw nexists;:6pw nfr;:2kob ngE;:6sn nge;:6sx ngeq;:6sx ngeqq;:6sn ngeqslant;:8e6 nges;:8e6 ngsim;:6t1 ngt;:6sv ngtr;:6sv nhArr;:6oe nharr;:6ni nhpar;:8he ni;:6q3 nis;:6ws nisd;:6wq niv;:6q3 njcy;:uy nlArr;:6od nlE;:6sm nlarr;:6my nldr;:6cl nle;:6sw nleftarrow;:6my nleftrightarrow;:6ni nleq;:6sw nleqq;:6sm nleqslant;:8e5 nles;:8e5 nless;:6su nlsim;:6t0 nlt;:6su nltri;:6wa nltrie;:6wc nmid;:6qs nopf;:2kpr not:4s not;:4s notin;:6q1 notinE;:6wp notindot;:6wl notinva;:6q1 notinvb;:6wn notinvc;:6wm notni;:6q4 notniva;:6q4 notnivb;:6wu notnivc;:6wt npar;:6qu nparallel;:6qu nparsl;:8hp npart;:6pu npolint;:8b8 npr;:6tc nprcue;:6w0 npre;:8fj nprec;:6tc npreceq;:8fj nrArr;:6of nrarr;:6mz nrarrc;:84z nrarrw;:6n1 nrightarrow;:6mz nrtri;:6wb nrtrie;:6wd nsc;:6td nsccue;:6w1 nsce;:8fk nscr;:2klf nshortmid;:6qs nshortparallel;:6qu nsim;:6rl nsime;:6ro nsimeq;:6ro nsmid;:6qs nspar;:6qu nsqsube;:6w2 nsqsupe;:6w3 nsub;:6tg nsubE;:8g5 nsube;:6tk nsubset;:6te nsubseteq;:6tk nsubseteqq;:8g5 nsucc;:6td nsucceq;:8fk nsup;:6th nsupE;:8g6 nsupe;:6tl nsupset;:6tf nsupseteq;:6tl nsupseteqq;:8g6 ntgl;:6t5 ntilde:6p ntilde;:6p ntlg;:6t4 ntriangleleft;:6wa ntrianglelefteq;:6wc ntriangleright;:6wb ntrianglerighteq;:6wd nu;:ql num;:z numero;:6ja numsp;:6br nvDash;:6ul nvHarr;:83o nvap;:6rx nvdash;:6uk nvge;:6sl nvgt;:1q nvinfin;:89q nvlArr;:83m nvle;:6sk nvlt;:1o nvltrie;:6us nvrArr;:83n nvrtrie;:6ut nvsim;:6rg nwArr;:6om nwarhk;:84j nwarr;:6mu nwarrow;:6mu nwnear;:84n oS;:79k oacute:6r oacute;:6r oast;:6u3 ocir;:6u2 ocirc:6s ocirc;:6s ocy;:u6 odash;:6u5 odblac;:9d odiv;:8c8 odot;:6u1 odsold;:88s oelig;:9f ofcir;:88v ofr;:2koc ogon;:kb ograve:6q ograve;:6q ogt;:88x ohbar;:88l ohm;:q1 oint;:6r2 olarr;:6nu olcir;:88u olcross;:88r oline;:6da olt;:88w omacr;:99 omega;:qx omicron;:qn omid;:88m ominus;:6ty oopf;:2kps opar;:88n operp;:88p oplus;:6tx or;:6qw orarr;:6nv ord;:8d9 order;:6k4 orderof;:6k4 ordf:4q ordf;:4q ordm:56 ordm;:56 origof;:6uu oror;:8d2 orslope;:8d3 orv;:8d7 oscr;:6k4 oslash:6w oslash;:6w osol;:6u0 otilde:6t otilde;:6t otimes;:6tz otimesas;:8c6 ouml:6u ouml;:6u ovbar;:6yl par;:6qt para:52 para;:52 parallel;:6qt parsim;:8hf parsl;:8hp part;:6pu pcy;:u7 percnt;:11 period;:1a permil;:6cw perp;:6ud pertenk;:6cx pfr;:2kod phi;:qu phiv;:r9 phmmat;:6k3 phone;:7im pi;:qo pitchfork;:6vo piv;:ra planck;:6j3 planckh;:6j2 plankv;:6j3 plus;:17 plusacir;:8bn plusb;:6u6 pluscir;:8bm plusdo;:6qc plusdu;:8bp pluse;:8du plusmn:4x plusmn;:4x plussim;:8bq plustwo;:8br pm;:4x pointint;:8b9 popf;:2kpt pound:4j pound;:4j pr;:6t6 prE;:8fn prap;:8fr prcue;:6t8 pre;:8fj prec;:6t6 precapprox;:8fr preccurlyeq;:6t8 preceq;:8fj precnapprox;:8ft precneqq;:8fp precnsim;:6w8 precsim;:6ta prime;:6cy primes;:6jd prnE;:8fp prnap;:8ft prnsim;:6w8 prod;:6q7 profalar;:6y6 profline;:6xe profsurf;:6xf prop;:6ql propto;:6ql prsim;:6ta prurel;:6uo pscr;:2klh psi;:qw puncsp;:6bs qfr;:2koe qint;:8b0 qopf;:2kpu qprime;:6dz qscr;:2kli quaternions;:6j1 quatint;:8ba quest;:1r questeq;:6sf quot:y quot;:y rAarr;:6or rArr;:6oi rAtail;:84c rBarr;:83z rHar;:86c race;:6rh racute;:9h radic;:6qi raemptyv;:88j rang;:7vt rangd;:87m range;:885 rangle;:7vt raquo:57 raquo;:57 rarr;:6mq rarrap;:86t rarrb;:6p1 rarrbfs;:84g rarrc;:84z rarrfs;:84e rarrhk;:6ne rarrlp;:6ng rarrpl;:85h rarrsim;:86s rarrtl;:6n7 rarrw;:6n1 ratail;:84a ratio;:6ra rationals;:6je rbarr;:83x rbbrk;:7sj rbrace;:3h rbrack;:2l rbrke;:87g rbrksld;:87i rbrkslu;:87k rcaron;:9l rcedil;:9j rceil;:6x5 rcub;:3h rcy;:u8 rdca;:853 rdldhar;:86h rdquo;:6cd rdquor;:6cd rdsh;:6nn real;:6jg realine;:6jf realpart;:6jg reals;:6jh rect;:7fx reg:4u reg;:4u rfisht;:871 rfloor;:6x7 rfr;:2kof rhard;:6o1 rharu;:6o0 rharul;:86k rho;:qp rhov;:s1 rightarrow;:6mq rightarrowtail;:6n7 rightharpoondown;:6o1 rightharpoonup;:6o0 rightleftarrows;:6o4 rightleftharpoons;:6oc rightrightarrows;:6o9 rightsquigarrow;:6n1 rightthreetimes;:6vg ring;:ka risingdotseq;:6s3 rlarr;:6o4 rlhar;:6oc rlm;:6bz rmoust;:71t rmoustache;:71t rnmid;:8ha roang;:7vx roarr;:6pq robrk;:7vr ropar;:87a ropf;:2kpv roplus;:8by rotimes;:8c5 rpar;:15 rpargt;:87o rppolint;:8b6 rrarr;:6o9 rsaquo;:6d6 rscr;:2klj rsh;:6nl rsqb;:2l rsquo;:6c9 rsquor;:6c9 rthree;:6vg rtimes;:6ve rtri;:7g9 rtrie;:6ut rtrif;:7g8 rtriltri;:89a ruluhar;:86g rx;:6ji sacute;:9n sbquo;:6ca sc;:6t7 scE;:8fo scap;:8fs scaron;:9t sccue;:6t9 sce;:8fk scedil;:9r scirc;:9p scnE;:8fq scnap;:8fu scnsim;:6w9 scpolint;:8b7 scsim;:6tb scy;:u9 sdot;:6v9 sdotb;:6u9 sdote;:8di seArr;:6oo searhk;:84l searr;:6mw searrow;:6mw sect:4n sect;:4n semi;:1n seswar;:84p setminus;:6qe setmn;:6qe sext;:7qu sfr;:2kog sfrown;:6xu sharp;:7lb shchcy;:uh shcy;:ug shortmid;:6qr shortparallel;:6qt shy:4t shy;:4t sigma;:qr sigmaf;:qq sigmav;:qq sim;:6rg simdot;:8dm sime;:6rn simeq;:6rn simg;:8f2 simgE;:8f4 siml;:8f1 simlE;:8f3 simne;:6rq simplus;:8bo simrarr;:86q slarr;:6mo smallsetminus;:6qe smashp;:8c3 smeparsl;:89w smid;:6qr smile;:6xv smt;:8fe smte;:8fg smtes;:8fg softcy;:uk sol;:1b solb;:890 solbar;:6yn sopf;:2kpw spades;:7kw spadesuit;:7kw spar;:6qt sqcap;:6tv sqcaps;:6tv sqcup;:6tw sqcups;:6tw sqsub;:6tr sqsube;:6tt sqsubset;:6tr sqsubseteq;:6tt sqsup;:6ts sqsupe;:6tu sqsupset;:6ts sqsupseteq;:6tu squ;:7fl square;:7fl squarf;:7fu squf;:7fu srarr;:6mq sscr;:2klk ssetmn;:6qe ssmile;:6xv sstarf;:6va star;:7ie starf;:7id straightepsilon;:s5 straightphi;:r9 strns;:4v sub;:6te subE;:8g5 subdot;:8fx sube;:6ti subedot;:8g3 submult;:8g1 subnE;:8gb subne;:6tm subplus;:8fz subrarr;:86x subset;:6te subseteq;:6ti subseteqq;:8g5 subsetneq;:6tm subsetneqq;:8gb subsim;:8g7 subsub;:8gl subsup;:8gj succ;:6t7 succapprox;:8fs succcurlyeq;:6t9 succeq;:8fk succnapprox;:8fu succneqq;:8fq succnsim;:6w9 succsim;:6tb sum;:6q9 sung;:7l6 sup1:55 sup1;:55 sup2:4y sup2;:4y sup3:4z sup3;:4z sup;:6tf supE;:8g6 supdot;:8fy supdsub;:8go supe;:6tj supedot;:8g4 suphsol;:7ux suphsub;:8gn suplarr;:86z supmult;:8g2 supnE;:8gc supne;:6tn supplus;:8g0 supset;:6tf supseteq;:6tj supseteqq;:8g6 supsetneq;:6tn supsetneqq;:8gc supsim;:8g8 supsub;:8gk supsup;:8gm swArr;:6op swarhk;:84m swarr;:6mx swarrow;:6mx swnwar;:84q szlig:67 szlig;:67 target;:6xi tau;:qs tbrk;:71w tcaron;:9x tcedil;:9v tcy;:ua tdot;:6hn telrec;:6xh tfr;:2koh there4;:6r8 therefore;:6r8 theta;:qg thetasym;:r5 thetav;:r5 thickapprox;:6rs thicksim;:6rg thinsp;:6bt thkap;:6rs thksim;:6rg thorn:72 thorn;:72 tilde;:kc times:5z times;:5z timesb;:6u8 timesbar;:8c1 timesd;:8c0 tint;:6r1 toea;:84o top;:6uc topbot;:6ye topcir;:8hd topf;:2kpx topfork;:8gq tosa;:84p tprime;:6d0 trade;:6jm triangle;:7g5 triangledown;:7gf triangleleft;:7gj trianglelefteq;:6us triangleq;:6sc triangleright;:7g9 trianglerighteq;:6ut tridot;:7ho trie;:6sc triminus;:8ca triplus;:8c9 trisb;:899 tritime;:8cb trpezium;:736 tscr;:2kll tscy;:ue tshcy;:uz tstrok;:9z twixt;:6ss twoheadleftarrow;:6n2 twoheadrightarrow;:6n4 uArr;:6oh uHar;:86b uacute:6y uacute;:6y uarr;:6mp ubrcy;:v2 ubreve;:a5 ucirc:6z ucirc;:6z ucy;:ub udarr;:6o5 udblac;:a9 udhar;:86m ufisht;:872 ufr;:2koi ugrave:6x ugrave;:6x uharl;:6nz uharr;:6ny uhblk;:7eo ulcorn;:6xo ulcorner;:6xo ulcrop;:6xb ultri;:7i0 umacr;:a3 uml:4o uml;:4o uogon;:ab uopf;:2kpy uparrow;:6mp updownarrow;:6mt upharpoonleft;:6nz upharpoonright;:6ny uplus;:6tq upsi;:qt upsih;:r6 upsilon;:qt upuparrows;:6o8 urcorn;:6xp urcorner;:6xp urcrop;:6xa uring;:a7 urtri;:7i1 uscr;:2klm utdot;:6wg utilde;:a1 utri;:7g5 utrif;:7g4 uuarr;:6o8 uuml:70 uuml;:70 uwangle;:887 vArr;:6ol vBar;:8h4 vBarv;:8h5 vDash;:6ug vangrt;:87w varepsilon;:s5 varkappa;:s0 varnothing;:6px varphi;:r9 varpi;:ra varpropto;:6ql varr;:6mt varrho;:s1 varsigma;:qq varsubsetneq;:6tm varsubsetneqq;:8gb varsupsetneq;:6tn varsupsetneqq;:8gc vartheta;:r5 vartriangleleft;:6uq vartriangleright;:6ur vcy;:tu vdash;:6ua vee;:6qw veebar;:6uz veeeq;:6sa vellip;:6we verbar;:3g vert;:3g vfr;:2koj vltri;:6uq vnsub;:6te vnsup;:6tf vopf;:2kpz vprop;:6ql vrtri;:6ur vscr;:2kln vsubnE;:8gb vsubne;:6tm vsupnE;:8gc vsupne;:6tn vzigzag;:87u wcirc;:ad wedbar;:8db wedge;:6qv wedgeq;:6s9 weierp;:6jc wfr;:2kok wopf;:2kq0 wp;:6jc wr;:6rk wreath;:6rk wscr;:2klo xcap;:6v6 xcirc;:7hr xcup;:6v7 xdtri;:7gd xfr;:2kol xhArr;:7wa xharr;:7w7 xi;:qm xlArr;:7w8 xlarr;:7w5 xmap;:7wc xnis;:6wr xodot;:8ao xopf;:2kq1 xoplus;:8ap xotime;:8aq xrArr;:7w9 xrarr;:7w6 xscr;:2klp xsqcup;:8au xuplus;:8as xutri;:7g3 xvee;:6v5 xwedge;:6v4 yacute:71 yacute;:71 yacy;:un ycirc;:af ycy;:uj yen:4l yen;:4l yfr;:2kom yicy;:uv yopf;:2kq2 yscr;:2klq yucy;:um yuml:73 yuml;:73 zacute;:ai zcaron;:am zcy;:tz zdot;:ak zeetrf;:6js zeta;:qe zfr;:2kon zhcy;:ty zigrarr;:6ot zopf;:2kq3 zscr;:2klr zwj;:6bx zwnj;:6bw";var pn=[8364,129,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,141,381,143,144,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,157,382,376],De,Je=0;function dn(){if(De)return De;De=new Map;for(let e of gr.split(" ")){let de=e.indexOf(":");De.set(e.slice(0,de),Number.parseInt(e.slice(de+1),36)),Je=Math.max(Je,de)}return De}var er=(e)=>e>=48&&e<=57,fn=(e)=>er(e)||e>=65&&e<=70||e>=97&&e<=102,hr=(e)=>er(e)||e>=65&&e<=90||e>=97&&e<=122,Ue=0;function mn(e,de,pe){if(e.charCodeAt(de)===35){let ge=(e.charCodeAt(de+1)|32)===120,he=de+(ge?2:1),be=he;while(be<e.length&&(ge?fn:er)(e.charCodeAt(be)))be++;if(be===he)return 0;return Ue=e.charCodeAt(be)===59?be+1:be,Number.parseInt(e.slice(he,be),ge?16:10)}let fe=dn(),me=de;while(me-de<Je&&hr(e.charCodeAt(me)))me++;if(e.charCodeAt(me)===59){let ge=fe.get(e.slice(de,me+1));if(ge!==void 0)return Ue=me+1,ge}for(let ge=me;ge>de;ge--){let he=fe.get(e.slice(de,ge));if(he===void 0)continue;if(pe){let be=e.charCodeAt(ge);if(hr(be)||be===95||be===61)continue}return Ue=ge,he}return 0}function gn(e,de){if(e===10&&!de)return 32;if(e<128)return e;if(e<=159)return pn[e-128];if(e>=55296&&e<=57343)return 0;if(e<=196607)return e;if(e>=917504&&e<=917631||e>=917760&&e<=917999)return e;return 0}function Pe(e,de){let pe=e.indexOf("&");if(pe===-1)return e;let fe="",me=0;while(pe!==-1){let ge=mn(e,pe+1,de);if(ge)fe+=e.slice(me,pe)+String.fromCodePoint(gn(ge,de)),me=Ue;pe=e.indexOf("&",ge?me:pe+1)}return fe+e.slice(me)}var br=/<\/script\s*>/g,hn=new Set(["server","client","worker","test","default"]);function xr(e,de,pe){let{source:fe,index:me}=e;if(me>=fe.length)i(fe.length);br.lastIndex=me;let ge=br.exec(fe);if(!ge)c(fe.length,"script");e.index=ge.index+ge[0].length;let he=l(e,fe.slice(0,ge.index),me);if(he.start=me,he.loc)Object.assign(he.loc.start,o(de)),Object.assign(he.loc.end,o(e.index));let be="default";for(let ye of pe){if(hn.has(ye.name))z(ye,ye.name);if(ye.name==="module"){if(ye.value!==!0)M(ye,ye.name);be="module"}if(ye.name==="context"){let xe=ye.value;if(xe===!0||!Array.isArray(xe)||xe.length!==1||xe[0].type!=="Text"||xe[0].data!=="module")U(ye);be="module"}}return{type:"Script",start:de,end:e.index,context:be,content:he,attributes:pe}}var yr=/(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of(\s+|(?=[.#[*:&])))/y,vr=/\d+(\.\d+)?%/y,bn=/\\[0-9a-fA-F]{1,6}(\r\n|\s)?/y,xn=/\s*>/y,Ee=-1,tr=34,yn=35,vn=36,kn=38,or=39,wn=40,Sn=41,Be=42,An=43,qn=45,Tn=46,ir=47,rr=58,En=59,Ar=60,kr=61,Cn=62,_n=91,Ve=92,Nn=93,Ln=94,qr=123,nr=124,Rn=125,Tr=126,We=[];function Er(e,de,pe){let fe=e.index;We=[];let me=e.css?Pn(e):Dn(e),ge=e.index;return e.eat("</style",!0),e.read(xn),{type:"StyleSheet",start:de,end:e.index,attributes:pe,children:me,comments:We,content:{start:fe,end:ge,styles:e.source.slice(fe,ge),comment:null}}}function Dn(e){let{source:de,index:pe}=e;while(pe<de.length){let fe=de.charCodeAt(pe);if(fe===ir&&de.charCodeAt(pe+1)===Be){let me=de.indexOf("*/",pe+2);pe=me===-1?de.length:me+2}else if(fe===tr||fe===or){pe++;while(pe<de.length){let me=de.charCodeAt(pe);if(me===fe||me===10)break;pe+=me===Ve?2:1}pe++}else if(fe===Ar&&de.startsWith("</style",pe))break;else pe++}return e.index=Math.min(pe,de.length),[]}function Pn(e){let de=[];for(;;){if(Ne(e,!0),e.match("</style")||e.index>=e.source.length)break;de.push(e.match("@")?Cr(e):_r(e))}return de}function Cr(e){let de=e.index;e.eat("@",!0);let pe=Ce(e),fe=sr(e,!0),me=null;if(e.match("{"))me=Rr(e);else e.eat(";",!0);return{type:"Atrule",start:de,end:e.index,name:pe,prelude:fe,block:me}}function _r(e){let de=e.index;return{type:"Rule",prelude:Nr(e,!1),block:Rr(e),start:de,end:e.index}}function Nr(e,de){let pe=[];Ne(e,!0);let fe=e.index;while(e.index<e.source.length){pe.push(Bn(e,de));let me=e.index;if(Ne(e,!0),e.match(de?")":"{"))return{type:"SelectorList",start:fe,end:me,children:pe};e.eat(",",!0),Ne(e,!0)}return i(e.source.length)}function wr(e,de){return{type:"RelativeSelector",combinator:e,selectors:[],start:de,end:-1}}function Bn(e,de){let{source:pe,index:fe}=e,me=[],ge=wr(null,e.index);while(e.index<pe.length){let he=e.index,be=pe.charCodeAt(he),ye=ge.selectors;if(be===kn)e.index++,ye.push({type:"NestingSelector",name:"&",start:he,end:e.index});else if(be===Be)e.index++,ye.push(Sr(e,he,"*"));else if(be===yn)e.index++,ye.push({type:"IdSelector",name:Ce(e),start:he,end:e.index});else if(be===Tn)e.index++,ye.push({type:"ClassSelector",name:Ce(e),start:he,end:e.index});else if(be===rr){let ke=pe.charCodeAt(he+1)===rr;e.index+=ke?2:1;let Se=Ce(e),Ie=null;if(e.eat("("))Ie=Nr(e,!0),e.eat(")",!0);if(ke)ye.push({type:"PseudoElementSelector",name:Se,start:he,end:e.index,...Ie&&{args:Ie}});else ye.push({type:"PseudoClassSelector",name:Se,args:Ie,start:he,end:e.index})}else if(be===_n)e.index++,ye.push(jn(e,he));else if(de&&e.matchRegex(yr)){let ke=e.read(yr);ye.push({type:"Nth",value:ke,start:he,end:e.index})}else if(Ge(be)&&e.matchRegex(vr)){let ke=e.read(vr);ye.push({type:"Percentage",value:ke,start:he,end:e.index})}else if(Lr(pe,he)===0){let ke=Ce(e);ye.push(Sr(e,he,ke))}let xe=e.index;Ne(e,!1);let ve=e.match(",")||e.match(de?")":"{");if(e.index=xe,ve)return ge.end=xe,me.push(ge),{type:"ComplexSelector",start:fe,end:xe,children:me};let we=On(e);if(we){if(ge.selectors.length>0)ge.end=xe,me.push(ge);if(ge=wr(we,we.start),e.allowWhitespace(),e.match(",")||e.match(de?")":"{"))N(e.index)}}return i(pe.length)}function Sr(e,de,pe){let fe=pe,me;if(e.eat("|"))me=fe,fe=e.eat("*")?"*":Ce(e);return{type:"TypeSelector",name:fe,...me!==void 0&&{namespace:me},start:de,end:e.index}}function jn(e,de){let pe=e.source;e.allowWhitespace();let fe=Ce(e);e.allowWhitespace();let me=null,ge=null,he=pe.charCodeAt(e.index);if(he===kr)ge="=";else if((he===Tr||he===Ln||he===vn||he===Be||he===nr)&&pe.charCodeAt(e.index+1)===kr)ge=pe.slice(e.index,e.index+2);if(ge)e.index+=ge.length,e.allowWhitespace(),me=Wn(e);e.allowWhitespace();let be=e.index;while(Pr(pe.charCodeAt(e.index)))e.index++;let ye=e.index>be?pe.slice(be,e.index):null;return e.allowWhitespace(),e.eat("]",!0),{type:"AttributeSelector",start:de,end:e.index,name:fe,matcher:ge,value:me,flags:ye}}function Lr(e,de){let pe=e.charCodeAt(de);if(pe===An||pe===Tr||pe===Cn)return 1;if(pe===nr&&e.charCodeAt(de+1)===nr)return 2;return 0}function On(e){let de=e.index;e.allowWhitespace();let pe=e.index,fe=Lr(e.source,pe);if(fe>0){e.index+=fe;let me=e.index;return e.allowWhitespace(),{type:"Combinator",name:e.source.slice(pe,me),start:pe,end:me}}if(e.index!==de)return{type:"Combinator",name:" ",start:de,end:e.index};return null}function Rr(e){let de=e.index;e.eat("{",!0);let pe=[];while(e.index<e.source.length){if(Ne(e,!0),e.match("}"))break;pe.push(In(e))}return e.eat("}",!0),{type:"Block",start:de,end:e.index,children:pe}}function In(e){if(e.match("@"))return Cr(e);let de=e.index;sr(e,!1);let pe=e.source.charCodeAt(e.index);return e.index=de,pe===qr?_r(e):zn(e)}function zn(e){let{source:de,index:pe}=e;if(pe>=de.length)i(de.length);let fe=pe;while(fe<de.length){let ye=de.charCodeAt(fe);if(ye===rr||qe(ye))break;fe++}let me=de.slice(pe,fe);e.index=fe,e.allowWhitespace(),e.eat(":");let ge=e.index;e.allowWhitespace();let he=sr(e,!0);if(!he&&!me.startsWith("--"))C({start:pe,end:ge});let be=e.index;if(!e.match("}"))e.eat(";",!0);return{type:"Declaration",start:pe,end:be,property:me,value:he}}function sr(e,de){let pe=e.source,fe=pe.length,me="",ge=e.index,he=null,be=!1,ye=!1,xe=Ee,ve=e.index;while(ve<fe){let we=pe.charCodeAt(ve);if(be){be=!1,ve++;continue}if(we===Ve){be=!0,ve++;continue}if(we===xe)xe=Ee;else if(we===Sn)ye=!1;else if(xe===Ee&&(we===tr||we===or))xe=we;else if(we===wn){if(Un(pe,me,ge,ve))ye=!0}else if((we===En||we===qr||we===Rn)&&!ye&&xe===Ee){if(e.index=ve,!de)return"";if(me+=pe.slice(ge,ve),he){let ke=me.length-me.trimStart().length;for(let Se of he)Se.position=Math.max(0,Se.position-ke)}return me.trim()}else if(we===ir&&!ye&&xe===Ee&&pe.charCodeAt(ve+1)===Be){me+=pe.slice(ge,ve),e.index=ve;let ke=Dr(e);if(de)ke.position=me.length,We.push(ke),he??=[],he.push(ke);ve=e.index,ge=ve;continue}ve++}return e.index=fe,i(fe)}function Un(e,de,pe,fe){if(fe-pe>=3)return e.charCodeAt(fe-3)===117&&e.charCodeAt(fe-2)===114&&e.charCodeAt(fe-1)===108;return(de+e.slice(pe,fe)).slice(-3)==="url"}function Wn(e){let de=e.source,pe=e.eat('"')?tr:e.eat("'")?or:Ee,fe=e.index,me=!1,ge=fe;while(ge<de.length){let he=de.charCodeAt(ge);if(me)me=!1;else if(he===Ve)me=!0;else if(pe===Ee?he===Nn||qe(he):he===pe)return e.index=pe===Ee?ge:ge+1,de.slice(fe,ge).trim();ge++}return e.index=ge,i(de.length)}function Ce(e){let{source:de,index:pe}=e,fe=de.charCodeAt(pe);if(Ge(fe)||fe===qn&&Ge(de.charCodeAt(pe+1)))p(pe);let me="",ge=pe,he=pe;while(he<de.length){let be=de.charCodeAt(he);if(be===Ve){me+=de.slice(ge,he),e.index=he;let ye=e.matchRegex(bn);if(ye){let xe=String.fromCodePoint(Number.parseInt(ye.slice(1),16));me+=xe==="\\"?"\\\\":xe,he+=ye.length}else me+=`\\${de[he+1]}`,he+=2;ge=he}else if(be>=160||Gn(be))he++;else break}if(me+=de.slice(ge,he),e.index=he,me==="")p(pe);return me}function Ne(e,de){let pe=e.source;e.allowWhitespace();for(;;){let fe=pe.charCodeAt(e.index);if(fe===ir&&pe.charCodeAt(e.index+1)===Be){let me=Dr(e);if(de)We.push(me)}else if(fe===Ar&&e.eat("<!--"))e.readUntil("-->"),e.eat("-->",!0);else break;e.allowWhitespace()}}function Dr(e){let de=e.index;e.eat("/*",!0);let pe=e.readUntil("*/");return e.eat("*/",!0),{type:"CSSComment",value:pe,start:de,end:e.index}}function Ge(e){return e>=48&&e<=57}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Gn(e){return Pr(e)||Ge(e)||e===95||e===45}var ar=/<\/textarea(\s[^>]*)?>/iy,Vn=/^![a-zA-Z]+$/,Fn=/^[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$/,Hn=/^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_·À-ÖØ-öø-ͽͿ-῿‌-‍‿-⁀⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\u{10000}-\u{EFFFF}]*)?$/u,Mn=/^(?:\p{Lu}[$‌‍\p{ID_Continue}.]*|\p{ID_Start}[$‌‍\p{ID_Continue}]*(?:\.[$‌‍\p{ID_Continue}]+)+)$/u,Xn=new Set("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),$n=new Map([["use","UseDirective"],["animate","AnimateDirective"],["bind","BindDirective"],["class","ClassDirective"],["style","StyleDirective"],["on","OnDirective"],["let","LetDirective"],["in","TransitionDirective"],["out","TransitionDirective"],["transition","TransitionDirective"]]),lr=new Map([["svelte:head",["SvelteHead",!0]],["svelte:options",["SvelteOptions",!0]],["svelte:window",["SvelteWindow",!0]],["svelte:document",["SvelteDocument",!0]],["svelte:body",["SvelteBody",!0]],["svelte:element",["SvelteElement",!1]],["svelte:component",["SvelteComponent",!1]],["svelte:self",["SvelteSelf",!1]],["svelte:fragment",["SvelteFragment",!1]],["svelte:boundary",["SvelteBoundary",!1]]]),Br=[...lr.keys()],Zn=`${Br.slice(0,-1).join(", ")} or ${Br.at(-1)}`,Wr=47,Fe=62,Gr=61,Qn=34,Kn=39,jr=123,Le=(e)=>e===Qn||e===Kn;function Yn(e,de,pe){let fe=de;for(;fe<e.length;fe++){let me=e.charCodeAt(fe);if(qe(me)||me===Wr||me===Fe)break;if(pe&&(Le(me)||me===Gr))break}return fe}function He(e,de){let pe=e.index;if(pe>=e.source.length)i(e.source.length);let fe=Yn(e.source,pe,de);return e.index=fe,{name:e.source.slice(pe,fe),start:pe,end:fe,loc:e.sourceLocation(pe,fe)}}var je=(e,de,pe,fe=pe)=>({start:e,end:de,type:"Text",raw:pe,data:fe});function Vr(e){return Xn.has(e)||e.charCodeAt(0)===33&&e.toLowerCase()==="!doctype"}function Jn(e){let de=e.charCodeAt(0);if(de>=97&&de<=122&&!e.includes("."))return!1;return Mn.test(e)}function et(e){let de=!0;for(let pe=0;pe<e.length&&de;pe++){let fe=e.charCodeAt(pe);de=fe>=97&&fe<=122||pe>0&&fe>=48&&fe<=57}return de&&e.length>0||Vn.test(e)||Fn.test(e)||Hn.test(e)}function Or(e,de){for(let pe=e.length-1;pe>=0;pe--){let fe=de(e[pe]);if(fe!==void 0)return fe}return!1}function rt(e,de,pe){let fe=lr.get(de);if(fe)return fe[0];if(pe)return"Component";if(de==="title"){if(Or(e.stack,({type:ge})=>ge==="SvelteHead"?!0:ge==="RegularElement"||ge==="Component"?!1:void 0))return"TitleElement"}if(de==="slot"){if(!Or(e.stack,(ge)=>ge.type==="RegularElement"&&ge.attributes.some((he)=>he.type==="Attribute"&&he.name==="shadowrootmode")?!0:void 0))return"SlotElement"}return"RegularElement"}function Fr(e){let de=e.index++;if(e.eat("!--")){let pe=e.readUntil("-->");e.eat("-->",!0),e.append({type:"Comment",start:de,end:e.index,data:pe})}else if(e.eat("/"))nt(e,de);else tt(e,de)}function nt(e,de){let{name:pe}=He(e,!1);if(e.allowWhitespace(),e.eat(">",!0),Vr(pe))le(de);let fe=e.current();while(fe.name!==pe){if(fe.type!=="RegularElement"){let me=e.lastAutoClosedTag;if(me?.tag===pe)R(de,pe,me.reason);I(de,pe)}fe.end=de,e.close(),fe=e.current()}if(fe.end=e.index,e.close(),e.stack.length<(e.lastAutoClosedTag?.depth??0))e.lastAutoClosedTag=void 0}function tt(e,de){let pe=He(e,!1),{name:fe}=pe,me=lr.get(fe);if(!me&&fe.startsWith("svelte:"))Y(pe,Zn);let ge=Jn(fe);if(!ge&&!et(fe))ne(pe);if(me?.[1]){if(e.metaTags.has(fe))K(de,fe);if(e.current().type!=="Root")Q(de,fe);e.metaTags.add(fe)}let he={type:rt(e,fe,ge),start:de,end:-1,name:fe};if(e.loc)he.name_loc=pe.loc;he.attributes=[],he.fragment={type:"Fragment",nodes:[]},e.allowWhitespace();let be=e.current();if(be.type==="RegularElement"&&pr(be.name,fe))be.end=de,e.close(),e.lastAutoClosedTag={tag:be.name,reason:fe,depth:e.stack.length};let ye=(fe==="script"||fe==="style")&&e.current().type==="Root";if(lt(e,he.attributes,ye),he.type==="SvelteComponent"){let xe=Ir(he);if(!xe)H(de);if(!zr(xe.value))G(xe.start);he.expression=Ur(xe.value)}else if(he.type==="SvelteElement"){let xe=Ir(he);if(!xe)b(de);if(xe.value===!0)b(xe);he.tag=zr(xe.value)?Ur(xe.value):at(xe.value[0])}if(ye){it(e,he,de);return}if(!e.eat("/")&&!Vr(fe))if(e.eat(">",!0),fe==="textarea")he.fragment.nodes=Mr(e,(xe,ve)=>(ar.lastIndex=ve,ar.test(xe)),"inside <textarea>"),e.read(ar);else if(fe==="script"||fe==="style")he.fragment.nodes.push(ot(e,`</${fe}>`));else{e.open(he,he.fragment);return}else e.eat(">",!0);he.end=e.index,e.append(he)}function ot(e,de){let pe=e.index,fe=e.source.indexOf(de,pe);e.index=fe===-1?e.source.length:fe;let me=je(pe,e.index,e.source.slice(pe,e.index));return e.eat(de,!0),me}function it(e,de,pe){e.eat(">",!0);let fe=de.attributes,me=st(e.root.fragment.nodes,pe);if(de.name==="style"){let be=Er(e,pe,fe);if(be.content.comment=me,e.root.css)W(pe);e.root.css=be;return}let ge=xr(e,pe,fe);if(me)ge.content.leadingComments=[{type:"Line",value:me.data}];let he=ge.context==="module"?"module":"instance";if(e.root[he])j(pe);e.root[he]=ge}function st(e,de){let pe=e.length-1;if(pe<0||e[pe].end!==de)return null;for(let fe=pe;fe>=0;fe--){let me=e[fe];if(me.type==="Comment")return me;if(me.type!=="Text"||me.data.trim())return null}return null}function Ir(e){let de=e.attributes,pe=de.findIndex((fe)=>fe.type==="Attribute"&&fe.name==="this");return pe===-1?void 0:de.splice(pe,1)[0]}function zr(e){if(e===!0)return!1;if(!Array.isArray(e))return!0;return e.length===1&&e[0].type==="ExpressionTag"}function Ur(e){return(Array.isArray(e)?e[0]:e).expression}function at(e){if(e.type!=="Text")return e.expression;return{type:"Literal",value:e.data,raw:`'${e.raw}'`,start:e.start,end:e.end}}function lt(e,de,pe){let fe=new Set;for(;;){let me=pe?ct(e):pt(e);if(!me)return;let{type:ge}=me;if(ge==="Attribute"||ge==="BindDirective"||ge==="StyleDirective"||ge==="ClassDirective"){let he=`${ge==="BindDirective"?"Attribute":ge}${me.name}`;if(fe.has(he))v(me);if(me.name!=="this")fe.add(he)}de.push(me),e.allowWhitespace()}}function cr(e,de,pe,fe,me){let ge={type:"Attribute",start:pe,end:fe,name:de.name};if(e.loc)ge.name_loc=de.loc;return ge.value=me,ge}function Hr(e){if(Le(e.source.charCodeAt(e.index)))s(e.index,"=")}function ct(e){let de=e.index,pe=He(e,!0);if(!pe.name)return null;let fe=!0;if(e.eat("=")){e.allowWhitespace();let{source:me}=e,ge=e.index,he=-1;if(Le(me.charCodeAt(ge))){let xe=me.indexOf(me[ge],ge+1);if(xe!==-1)he=xe+1}if(he===-1){he=ge;while(he<me.length&&me.charCodeAt(he)!==Fe&&!qe(me.charCodeAt(he)))he++;if(he===ge)d(ge)}e.index=he;let be=Le(me.charCodeAt(ge))?1:0,ye=me.slice(ge+be,he-be);fe=[je(he-ye.length-be,he-be,ye,Pe(ye,!0))]}return Hr(e),cr(e,pe,de,e.index,fe)}function ut(e){let de=e.index,pe=e.match("/*");if(!pe&&!e.match("//"))return!1;e.index+=2;let fe=e.readUntil(pe?"*/":`
2
+ `);if(pe)e.eat("*/");let me={type:pe?"Block":"Line",start:de,end:e.index,value:fe},ge=e.sourceLocation(de,e.index);if(ge)me.loc=ge;return e.root.comments.push(me),!0}function pt(e){while(ut(e))e.allowWhitespace();let de=e.index;if(e.eat("{"))return dt(e,de);let pe=He(e,!0);if(!pe.name)return null;let fe=e.index;e.allowWhitespace();let me=!0;if(e.eat("=")){if(e.allowWhitespace(),e.match("/>"))me=[je(e.index,e.index+1,"/")],e.index++;else me=mt(e);fe=e.index}else Hr(e);let ge=pe.name.indexOf(":"),he=ge>0?$n.get(pe.name.slice(0,ge)):void 0;return he?ft(e,he,pe,ge,de,fe,me):cr(e,pe,de,fe,me)}function dt(e,de){if(e.allowWhitespace(),e.eat("@attach")){e.requireWhitespace();let me=Ae(e);return e.eatClosingBrace(),{type:"AttachTag",start:de,end:e.index,expression:me}}if(e.eat("...")){let me=Ae(e);return e.eatClosingBrace(),{type:"SpreadAttribute",start:de,end:e.index,expression:me}}let pe=e.readIdentifierName();if(pe.name==="")y(de);e.eatClosingBrace();let fe={type:"ExpressionTag",start:pe.start,end:pe.end,expression:pe};return cr(e,pe,de,e.index,fe)}function ft(e,de,pe,fe,me,ge,he){let[be,...ye]=pe.name.slice(fe+1).split("|");if(be==="")q({start:me,end:me+fe+1},pe.name);let xe={start:me,end:ge,type:de,name:be};if(e.loc)xe.name_loc=pe.loc;if(xe.type==="StyleDirective")return xe.modifiers=ye,xe.value=he,xe;let ve=he===!0?void 0:Array.isArray(he)?he[0]:he;if(ve&&(Array.isArray(he)&&he.length>1||ve.type==="Text"))P(ve.start);let we=xe;if(we.expression=ve?.expression??null,we.modifiers=ye,xe.type==="TransitionDirective"){let ke=pe.name.slice(0,fe);xe.intro=ke!=="out",xe.outro=ke!=="in"}if((de==="BindDirective"||de==="ClassDirective")&&!we.expression)we.expression={start:me+fe+1,end:ge,type:"Identifier",name:be};return xe}function mt(e){let de=e.source.charCodeAt(e.index),pe=Le(de);if(pe){if(e.index++,e.source.charCodeAt(e.index)===de)return e.index++,[je(e.index-1,e.index-1,"")]}let fe;try{fe=Mr(e,pe?(me,ge)=>me.charCodeAt(ge)===de:gt,"in attribute value",pe?de:void 0)}catch(me){let ge=me.position?.[0];if(me.code==="js_parse_error"&&ge!==void 0&&e.source.startsWith("/>",ge-1))e.index=ge,s(ge,pe?String.fromCharCode(de):"}");throw me}if(pe)e.index++;else if(fe.length===0)d(e.index);return pe||fe.length>1||fe[0].type==="Text"?fe:fe[0]}function gt(e,de){let pe=e.charCodeAt(de);return qe(pe)||Le(pe)||pe===Gr||pe===60||pe===Fe||pe===96||pe===Wr&&e.charCodeAt(de+1)===Fe}function Mr(e,de,pe,fe){let{source:me}=e,ge=[],he=e.index,be=(ye)=>{if(ye<=he)return;let xe=me.slice(he,ye);ge.push(je(he,ye,xe,Pe(xe,!0)))};while(e.index<me.length){let ye=e.index;if(de(me,ye))return be(ye),ge;if(me.charCodeAt(ye)!==jr){if(e.index++,fe!==void 0)while(e.index<me.length&&me.charCodeAt(e.index)!==jr&&me.charCodeAt(e.index)!==fe)e.index++;continue}e.index++;let xe=me.charCodeAt(e.index);if(xe===35||xe===64){e.index++;let we=e.index;while(e.index<me.length&&me.charCodeAt(e.index)>=97&&me.charCodeAt(e.index)<=122)e.index++;let ke=me.slice(we,e.index);(xe===35?A:ae)(ye,ke,pe)}be(ye),e.allowWhitespace();let ve=Ae(e);e.eatClosingBrace(),ge.push({type:"ExpressionTag",start:ye,end:e.index,expression:ve}),he=e.index}i(me.length)}var ht=new Map([["html","html"],["svg","svg"],["mathml","mathml"],["http://www.w3.org/2000/svg","svg"],["http://www.w3.org/1998/Math/MathML","mathml"]]),bt=new Map([["type",(e)=>e==="String"||e==="Number"||e==="Boolean"||e==="Array"||e==="Object"],["reflect",(e)=>typeof e==="boolean"],["attribute",(e)=>typeof e==="string"]]),Xr="[a-z0-9_.\\xB7\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\u{10000}-\\u{EFFFF}-]",xt=new RegExp(`^[a-z]${Xr}*-${Xr}*$`,"u"),yt=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ")),Me=(e)=>(de,pe)=>{let fe=Xe(pe);if(typeof fe!=="boolean")h(pe,"true or false");de[e]=fe},vt=new Map([["runes",Me("runes")],["immutable",Me("immutable")],["preserveWhitespace",Me("preserveWhitespace")],["accessors",Me("accessors")],["namespace",(e,de)=>{let pe=ht.get(Xe(de));if(!pe)h(de,'"html", "mathml" or "svg"');e.namespace=pe}],["css",(e,de)=>{if(Xe(de)!=="injected")h(de,'"injected"');e.css="injected"}],["tag",(e,de)=>Z(de)],["customElement",(e,de)=>{let pe=wt(de);if(pe)e.customElement=pe}]]);function Zr(e){let de={start:e.start,end:e.end,attributes:e.attributes};for(let pe of e.attributes){if(pe.type!=="Attribute")J(pe);let fe=vt.get(pe.name);if(!fe)re(pe,pe.name);fe(de,pe)}return de}function Xe({value:e}){if(e===!0)return!0;let de=Array.isArray(e)?e:[e];if(de.length===0)return!0;if(de.length>1)return null;let[pe]=de;if(pe.type==="Text")return pe.data;return pe.expression.type==="Literal"?pe.expression.value:null}function $r(e,de){if(typeof de!=="string")x(e);if(!de)return;if(!xt.test(de))x(e);if(yt.has(de))se(e)}function kt(e,de){let pe=new Map;for(let fe of e.properties){if(fe.type!=="Property"||fe.computed||fe.key.type!=="Identifier")de();if(!pe.has(fe.key.name))pe.set(fe.key.name,fe.value)}return pe}function wt(e){let de=()=>ee(e);if(e.value===!0)de();let pe=Array.isArray(e.value)?e.value[0]:e.value;if(pe.type==="Text"){let xe=Xe(e);return $r(e,xe),{tag:xe}}let{expression:fe}=pe;if(fe.type!=="ObjectExpression"){if(fe.type==="Literal"&&fe.value===null)return;de()}let me=kt(fe,de),ge={};if(me.has("tag")){let xe=me.get("tag").value;$r(null,xe),ge.tag=xe}let he=me.get("props");if(he){let xe=()=>te(e);if(he.type!=="ObjectExpression")xe();ge.props={};for(let ve of he.properties){if(ve.type!=="Property"||ve.computed||ve.key.type!=="Identifier"||ve.value.type!=="ObjectExpression")xe();let we={};ge.props[ve.key.name]=we;for(let ke of ve.value.properties){if(ke.type!=="Property"||ke.computed||ke.key.type!=="Identifier"||ke.value.type!=="Literal")xe();let Se=ke.value.value;if(!bt.get(ke.key.name)?.(Se))xe();we[ke.key.name]=Se}}}let be=me.get("shadow");if(be)if(be.type==="ObjectExpression")ge.shadow=be;else if(be.type==="Literal"&&(be.value==="open"||be.value==="none"))ge.shadow=be.value;else ie(e);let ye=me.get("extend");if(ye)ge.extend=ye;return ge}var St={"{":"}","(":")","[":"]"};function Oe(e,de,pe=St){let fe=Object.values(pe),me=[],ge=de;while(ge<e.length){let he=e[ge++];if(he==="'"||he==='"'||he==="`")ge=At(e,ge,he);else if(Object.hasOwn(pe,he))me.push(he);else if(fe.includes(he)){let be=pe[me.pop()];if(he!==be)s(ge-1,be);if(me.length===0)return ge}}i(e.length)}function At(e,de,pe){let fe=de;while(fe<e.length){let me=e[fe++];if(me===pe)return fe;if(me==="\\")fe++;else if(pe==="`"&&me==="$"&&e[fe]==="{")fe=Oe(e,fe)}ue(de)}var qt=/\?\s*:/g;function Re(e){let de=e.index,pe=e.readIdentifierName();if(pe.name!==""){let be=Qr(e);return{...pe,typeAnnotation:be}}let fe=e.source[e.index];if(fe!=="{"&&fe!=="[")D(e.index);e.index=Oe(e.source,de);let{node:me}=a(e,`${e.source.slice(0,e.index)} = 1`,de),ge=me.left,he=Qr(e);if(ge.typeAnnotation=he,he)ge.end=he.end;return ge}function Qr(e){let de=e.index;if(e.allowWhitespace(),!e.eat(":")){e.index=de;return}let pe="_ as ",fe=e.index-pe.length,me=e.source.slice(0,fe)+pe+e.source.slice(e.index).replace(qt,":"),ge=a(e,me,fe).node;if(ge.type==="AssignmentExpression"){let he=ge.right.start;while(me[he]!=="=")he-=1;ge=a(e,me.slice(0,he),fe).node}if(ge.type==="SequenceExpression")ge=ge.expressions[0];return e.index=ge.end,{type:"TSTypeAnnotation",start:de,end:e.index,typeAnnotation:ge.typeAnnotation}}var Tt=/\s*}/y,Et={IfBlock:"if",EachBlock:"each",KeyBlock:"key",AwaitBlock:"await",SnippetBlock:"snippet"},Te=()=>({type:"Fragment",nodes:[]});function Yr(e,de){if(e.eat("if")){e.requireWhitespace();let pe=Ae(e);e.eatClosingBrace();let fe=Te();e.open({type:"IfBlock",elseif:!1,start:de,end:-1,test:pe,consequent:fe,alternate:null},fe)}else if(e.eat("each"))Ct(e,de);else if(e.eat("await")){e.requireWhitespace();let pe=Ae(e);e.allowWhitespace();let fe={type:"AwaitBlock",start:de,end:-1,expression:pe,value:null,error:null,pending:null,then:null,catch:null},me=Te();if(e.eat("then"))fe.value=Kr(e),fe.then=me;else if(e.eat("catch"))fe.error=Kr(e),fe.catch=me;else fe.pending=me;e.eat("}",!0),e.open(fe,me)}else if(e.eat("key")){e.requireWhitespace();let pe=Ae(e);e.eatClosingBrace();let fe=Te();e.open({type:"KeyBlock",start:de,end:-1,expression:pe,fragment:fe},fe)}else if(e.eat("snippet"))_t(e,de);else O(e.index)}function Kr(e){if(e.matchRegex(Tt))return e.allowWhitespace(),null;e.requireWhitespace();let de=Re(e);return e.allowWhitespace(),de}function Ct(e,de){e.requireWhitespace();let pe=e.source,fe;while(!fe)try{fe=Ae(e)}catch(ye){let xe=(ye.position?.[0]??de)-2;while(xe>de&&e.source.slice(xe,xe+2)!=="as")xe-=1;if(xe<=de)throw e.source=pe,ye;e.source=pe.slice(0,xe)}if(e.source=pe,e.allowWhitespace(),!e.match("as")){if(fe.type==="SequenceExpression")fe=fe.expressions[0];let ye=fe,xe=null,ve=ye.end,we=(Se)=>{if(Se.type==="TSAsExpression"&&Se.end===ye.end)return xe=Se,ve=Se.expression.end,Se.expression;return g(Se,we),Se},ke=we(ye);if(ke.end=ve,fe=ke,xe){let Se=xe.typeAnnotation.start-2;while(e.source.slice(Se,Se+2)!=="as")Se-=1;e.index=Se}}let me=null,ge,he;if(e.eat("as"))e.requireWhitespace(),me=Re(e);else e.index=fe.end;if(e.allowWhitespace(),e.eat(",")){if(e.allowWhitespace(),ge=e.readIdentifierName().name,!ge)m(e.index);e.allowWhitespace()}if(e.eat("("))e.allowWhitespace(),he=Ae(e),e.allowWhitespace(),e.eat(")",!0),e.allowWhitespace();e.eat("}",!0);let be=Te();e.open({type:"EachBlock",start:de,end:-1,expression:fe,body:be,context:me,index:ge,key:he},be)}function _t(e,de){e.requireWhitespace();let pe=e.readIdentifierName();if(pe.name==="")m(e.index);e.allowWhitespace();let fe=e.index,me;if(e.isTypeScript&&e.match("<")){let xe=Oe(e.source,fe,{"<":">"});me=e.source.slice(fe+1,xe-1),e.index=xe}e.allowWhitespace(),e.eat("(",!0);let ge=1;while(e.index<e.source.length&&(!e.match(")")||ge!==1)){if(e.match("("))ge++;if(e.match(")"))ge--;e.index+=1}e.eat(")",!0);let{node:he}=a(e,`${e.source.slice(0,e.index)} => {}`,fe,!0),be=he.params;e.eatClosingBrace();let ye=Te();e.open({type:"SnippetBlock",start:de,end:-1,expression:pe,typeParams:me,parameters:be,body:ye},ye)}function Jr(e,de){let pe=e.index-1,fe=e.current();if(fe.type==="IfBlock"){if(!e.eat("else"))s(pe,"{:else} or {:else if}");if(e.eat("if"))S(pe);if(e.allowWhitespace(),fe.alternate=Te(),e.setFragment(fe.alternate),e.eat("if")){e.requireWhitespace();let me=Ae(e);e.eatClosingBrace();let ge=Te();e.open({start:de,end:-1,type:"IfBlock",elseif:!0,test:me,consequent:ge,alternate:null},ge)}else e.eatClosingBrace()}else if(fe.type==="EachBlock"){if(!e.eat("else"))s(pe,"{:else}");e.eatClosingBrace(),fe.fallback=Te(),e.setFragment(fe.fallback)}else if(fe.type==="AwaitBlock"){let me=e.eat("then")?"then":e.eat("catch")?"catch":s(pe,"{:then ...} or {:catch ...}");if(fe[me])k(pe,`{:${me}}`);if(!e.eat("}")){e.requireWhitespace();let he=Re(e);if(me==="then")fe.value=he;else fe.error=he;e.eatClosingBrace()}let ge=Te();fe[me]=ge,e.setFragment(ge)}else w(pe)}function en(e){let de=e.current(),pe=Et[de.type];if(!pe)E(e.index-1);e.eat(pe,!0),e.eatClosingBrace();while(de.type==="IfBlock"&&de.elseif)de.end=e.index,e.close(),de=e.current();de.end=e.index,e.close()}var Nt=/\s*}/y;function rn(e,de){if(e.eat("html")){e.requireWhitespace();let pe=Ae(e);e.eatClosingBrace(),e.append({type:"HtmlTag",start:de,end:e.index,expression:pe})}else if(e.eat("debug")){let pe=[];if(!e.read(Nt)){let fe=Ae(e);pe=fe.type==="SequenceExpression"?fe.expressions:[fe];for(let me of pe)if(me.type!=="Identifier")L(me.start);e.eatClosingBrace()}e.append({type:"DebugTag",start:de,end:e.index,identifiers:pe})}else if(e.eat("const")){e.requireWhitespace();let pe=Re(e);e.allowWhitespace(),e.eat("=",!0),e.allowWhitespace();let fe=e.index,me=Ae(e),ge=e.index;if(me.type==="SequenceExpression"&&!e.source.substring(fe,me.start).includes("("))T(me);e.eatClosingBrace();let he={type:"VariableDeclarator",id:pe,init:me,start:pe.start,end:ge};e.append({type:"ConstTag",start:de,end:e.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[he],start:de+2,end:e.index-1}})}else if(e.eat("render")){e.requireWhitespace();let pe=Ae(e);if(pe.type!=="CallExpression"&&(pe.type!=="ChainExpression"||pe.expression.type!=="CallExpression"))F(pe);e.eatClosingBrace(),e.append({type:"RenderTag",start:de,end:e.index,expression:pe})}else B(e.index)}var Lt=/(?:var|interface|enum)\b/y,Rt=/(?:let|const|type)\b/y;function nn(e){let de=e.index;if(e.index+=1,e.allowWhitespace(),e.eat("#"))Yr(e,de);else if(e.eat(":"))Jr(e,de);else if(e.eat("@"))rn(e,de);else if(e.match("/")&&!e.match("/*")&&!e.match("//"))e.index+=1,en(e);else if(!Dt(e,de)){let pe=Ae(e);e.eatClosingBrace(),e.append({type:"ExpressionTag",start:de,end:e.index,expression:pe})}}function Dt(e,de){let pe=e.index,fe=e.matchRegex(Lt);if(fe)f({start:pe,end:pe+fe.length});if(!e.matchRegex(Rt))return!1;let me=e.root.comments.length,ge=ce(e,e.source,pe);if(ge.type==="ExpressionStatement")return e.root.comments.length=me,!1;if(ge.kind!=="let"&&ge.kind!=="const")f(ge);return e.index=ge.end,e.eatClosingBrace(),e.append({type:"DeclarationTag",start:de,end:e.index,declaration:ge}),!0}function on(e){let{source:de,index:pe}=e;if(e.nextAngle<pe)e.nextAngle=tn(de,"<",pe);if(e.nextBrace<pe)e.nextBrace=tn(de,"{",pe);let fe=Math.min(e.nextAngle,e.nextBrace);e.index=fe;let me=de.slice(pe,fe);e.append({type:"Text",start:pe,end:fe,raw:me,data:Pe(me,!1)})}function tn(e,de,pe){let fe=e.indexOf(de,pe);return fe===-1?e.length:fe}function Wo(e,de){let pe=e.charCodeAt(0)===65279?e.slice(1):e;u(pe);let fe=new Qe(pe.trimEnd(),pe.length,de);while(fe.index<fe.source.length)if(fe.match("<"))Fr(fe);else if(fe.match("{"))nn(fe);else on(fe);if(fe.stack.length>1){let ge=fe.current();if(ge.end=ge.start+1,ge.type==="RegularElement")c(ge,ge.name);_(ge)}let me=fe.root.fragment.nodes.findIndex((ge)=>ge.type==="SvelteOptions");if(me!==-1){let[ge]=fe.root.fragment.nodes.splice(me,1),he=ge;fe.root.options=Zr(he);let{nodes:be}=he.fragment;if(be.length>0)X({start:be[0].start,end:be[be.length-1].end},he.name)}return fe.root}export{Wo as parse};
@@ -0,0 +1,64 @@
1
+ var he="",Rt,Kt=0;function u(tt){he=tt,Rt=void 0,Kt=0}function n(tt){if(!Rt){Rt=[0];let at=he.indexOf(`
2
+ `);while(at!==-1)Rt.push(at+1),at=he.indexOf(`
3
+ `,at+1)}let et=0,st=Rt.length-1;if(tt>=Rt[Kt])et=Kt;else st=Kt-1;if(et<st&&tt<Rt[et+1])st=et;while(et<st){let at=et+st+1>>>1;if(Rt[at]<=tt)et=at;else st=at-1}return Kt=et,{line:et+1,column:tt-Rt[et],character:tt}}function o(tt){let{line:et,column:st}=n(tt);return{line:et,column:st}}function He(){return he.split(`
4
+ `)}var Fs=/^\t+/;class e extends Error{name="ParseError";code;position;start;end;frame;constructor(tt,et,st){super(st);this.code=et;let at=typeof tt==="number"?tt:tt?.start,ot=typeof tt==="number"?tt:tt?.end;if(at!==void 0)this.position=[at,ot??at],this.start=n(this.position[0]),this.end=n(this.position[1]),this.frame=Bs(this.start.line-1,this.end.column)}}var Ne=(tt)=>tt.replace(Fs,(et)=>" ".repeat(et.length));function Bs(tt,et){let st=He(),at=Math.max(0,tt-2),ot=Math.min(tt+3,st.length),it=String(ot+1).length;return st.slice(at,ot).map((rt,ht)=>{let ut=String(ht+at+1).padStart(it," ");if(at+ht!==tt)return`${ut}: ${Ne(rt)}`;let ct=`${" ".repeat(it+2+Ne(rt.slice(0,et)).length)}^`;return`${ut}: ${Ne(rt)}
5
+ ${ct}`}).join(`
6
+ `)}function v(tt){throw new e(tt,"attribute_duplicate",`Attributes need to be unique
7
+ https://svelte.dev/e/attribute_duplicate`)}function y(tt){throw new e(tt,"attribute_empty_shorthand",`Attribute shorthand cannot be empty
8
+ https://svelte.dev/e/attribute_empty_shorthand`)}function k(tt,et){throw new e(tt,"block_duplicate_clause",`${et} cannot appear more than once within a block
9
+ https://svelte.dev/e/block_duplicate_clause`)}function w(tt){throw new e(tt,"block_invalid_continuation_placement",`{:...} block is invalid at this position (did you forget to close the preceding element or block?)
10
+ https://svelte.dev/e/block_invalid_continuation_placement`)}function S(tt){throw new e(tt,"block_invalid_elseif",`'elseif' should be 'else if'
11
+ https://svelte.dev/e/block_invalid_elseif`)}function A(tt,et,st){throw new e(tt,"block_invalid_placement",`{#${et} ...} block cannot be ${st}
12
+ https://svelte.dev/e/block_invalid_placement`)}function _(tt){throw new e(tt,"block_unclosed",`Block was left open
13
+ https://svelte.dev/e/block_unclosed`)}function E(tt){throw new e(tt,"block_unexpected_close",`Unexpected block closing tag
14
+ https://svelte.dev/e/block_unexpected_close`)}function T(tt){throw new e(tt,"const_tag_invalid_expression",`{@const ...} must consist of a single variable declaration
15
+ https://svelte.dev/e/const_tag_invalid_expression`)}function C(tt){throw new e(tt,"css_empty_declaration",`Declaration cannot be empty
16
+ https://svelte.dev/e/css_empty_declaration`)}function p(tt){throw new e(tt,"css_expected_identifier",`Expected a valid CSS identifier
17
+ https://svelte.dev/e/css_expected_identifier`)}function N(tt){throw new e(tt,"css_selector_invalid",`Invalid selector
18
+ https://svelte.dev/e/css_selector_invalid`)}function L(tt){throw new e(tt,"debug_tag_invalid_arguments",`{@debug ...} arguments must be identifiers, not arbitrary expressions
19
+ https://svelte.dev/e/debug_tag_invalid_arguments`)}function f(tt){throw new e(tt,"declaration_tag_invalid_type","Declaration tags must be `let` or `const` declarations\nhttps://svelte.dev/e/declaration_tag_invalid_type")}function P(tt){throw new e(tt,"directive_invalid_value",`Directive value must be a JavaScript expression enclosed in curly braces
20
+ https://svelte.dev/e/directive_invalid_value`)}function q(tt,et){throw new e(tt,"directive_missing_name",`\`${et}\` name cannot be empty
21
+ https://svelte.dev/e/directive_missing_name`)}function I(tt,et){throw new e(tt,"element_invalid_closing_tag",`\`</${et}>\` attempted to close an element that was not open
22
+ https://svelte.dev/e/element_invalid_closing_tag`)}function R(tt,et,st){throw new e(tt,"element_invalid_closing_tag_autoclosed",`\`</${et}>\` attempted to close element that was already automatically closed by \`<${st}>\` (cannot nest \`<${st}>\` inside \`<${et}>\`)
23
+ https://svelte.dev/e/element_invalid_closing_tag_autoclosed`)}function c(tt,et){throw new e(tt,"element_unclosed",`\`<${et}>\` was left open
24
+ https://svelte.dev/e/element_unclosed`)}function d(tt){throw new e(tt,"expected_attribute_value",`Expected attribute value
25
+ https://svelte.dev/e/expected_attribute_value`)}function O(tt){throw new e(tt,"expected_block_type",`Expected 'if', 'each', 'await', 'key' or 'snippet'
26
+ https://svelte.dev/e/expected_block_type`)}function m(tt){throw new e(tt,"expected_identifier",`Expected an identifier
27
+ https://svelte.dev/e/expected_identifier`)}function D(tt){throw new e(tt,"expected_pattern",`Expected identifier or destructure pattern
28
+ https://svelte.dev/e/expected_pattern`)}function B(tt){throw new e(tt,"expected_tag",`Expected 'html', 'render', 'attach', 'const', or 'debug'
29
+ https://svelte.dev/e/expected_tag`)}function s(tt,et){throw new e(tt,"expected_token",`Expected token ${et}
30
+ https://svelte.dev/e/expected_token`)}function V(tt){throw new e(tt,"expected_whitespace",`Expected whitespace
31
+ https://svelte.dev/e/expected_whitespace`)}function Ge(tt,et){throw new e(tt,"js_parse_error",`${et}
32
+ https://svelte.dev/e/js_parse_error`)}function F(tt){throw new e(tt,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions\nhttps://svelte.dev/e/render_tag_invalid_expression")}function j(tt){throw new e(tt,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element\nhttps://svelte.dev/e/script_duplicate")}function M(tt,et){throw new e(tt,"script_invalid_attribute_value",`If the \`${et}\` attribute is supplied, it must be a boolean attribute
33
+ https://svelte.dev/e/script_invalid_attribute_value`)}function U(tt){throw new e(tt,"script_invalid_context",`If the context attribute is supplied, its value must be "module"
34
+ https://svelte.dev/e/script_invalid_context`)}function z(tt,et){throw new e(tt,"script_reserved_attribute",`The \`${et}\` attribute is reserved and cannot be used
35
+ https://svelte.dev/e/script_reserved_attribute`)}function W(tt){throw new e(tt,"style_duplicate","A component can have a single top-level `<style>` element\nhttps://svelte.dev/e/style_duplicate")}function G(tt){throw new e(tt,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`\nhttps://svelte.dev/e/svelte_component_invalid_this")}function H(tt){throw new e(tt,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute\nhttps://svelte.dev/e/svelte_component_missing_this")}function b(tt){throw new e(tt,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value\nhttps://svelte.dev/e/svelte_element_missing_this")}function K(tt,et){throw new e(tt,"svelte_meta_duplicate",`A component can only have one \`<${et}>\` element
36
+ https://svelte.dev/e/svelte_meta_duplicate`)}function X(tt,et){throw new e(tt,"svelte_meta_invalid_content",`<${et}> cannot have children
37
+ https://svelte.dev/e/svelte_meta_invalid_content`)}function Q(tt,et){throw new e(tt,"svelte_meta_invalid_placement",`\`<${et}>\` tags cannot be inside elements or blocks
38
+ https://svelte.dev/e/svelte_meta_invalid_placement`)}function Y(tt,et){throw new e(tt,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${et}
39
+ https://svelte.dev/e/svelte_meta_invalid_tag`)}function Z(tt){throw new e(tt,"svelte_options_deprecated_tag",`"tag" option is deprecated — use "customElement" instead
40
+ https://svelte.dev/e/svelte_options_deprecated_tag`)}function J(tt){throw new e(tt,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes\nhttps://svelte.dev/e/svelte_options_invalid_attribute")}function h(tt,et){throw new e(tt,"svelte_options_invalid_attribute_value",`Value must be ${et}, if specified
41
+ https://svelte.dev/e/svelte_options_invalid_attribute_value`)}function ee(tt){throw new e(tt,"svelte_options_invalid_customelement",'"customElement" must be a string literal defining a valid custom element name or an object of the form { tag?: string; shadow?: "open" | "none" | `ShadowRootInit`; props?: { [key: string]: { attribute?: string; reflect?: boolean; type: .. } } }\nhttps://svelte.dev/e/svelte_options_invalid_customelement')}function te(tt){throw new e(tt,"svelte_options_invalid_customelement_props",`"props" must be a statically analyzable object literal of the form "{ [key: string]: { attribute?: string; reflect?: boolean; type?: "String" | "Boolean" | "Number" | "Array" | "Object" }"
42
+ https://svelte.dev/e/svelte_options_invalid_customelement_props`)}function ie(tt){throw new e(tt,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open", "none" or `ShadowRootInit` object.\nhttps://svelte.dev/e/svelte_options_invalid_customelement_shadow')}function x(tt){throw new e(tt,"svelte_options_invalid_tagname",`Tag name must be lowercase and hyphenated
43
+ https://svelte.dev/e/svelte_options_invalid_tagname`)}function se(tt){throw new e(tt,"svelte_options_reserved_tagname",`Tag name is reserved
44
+ https://svelte.dev/e/svelte_options_reserved_tagname`)}function re(tt,et){throw new e(tt,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${et}'
45
+ https://svelte.dev/e/svelte_options_unknown_attribute`)}function ne(tt){throw new e(tt,"tag_invalid_name",`Expected a valid element or component name. Components must have a valid variable name or dot notation expression
46
+ https://svelte.dev/e/tag_invalid_name`)}function ae(tt,et,st){throw new e(tt,"tag_invalid_placement",`{@${et} ...} tag cannot be ${st}
47
+ https://svelte.dev/e/tag_invalid_placement`)}function i(tt){throw new e(tt,"unexpected_eof",`Unexpected end of input
48
+ https://svelte.dev/e/unexpected_eof`)}function oe(tt,et){throw new e(tt,"unexpected_reserved_word",`'${et}' is a reserved word in JavaScript and cannot be used here
49
+ https://svelte.dev/e/unexpected_reserved_word`)}function ue(tt){throw new e(tt,"unterminated_string_constant",`Unterminated string constant
50
+ https://svelte.dev/e/unterminated_string_constant`)}function le(tt){throw new e(tt,"void_element_invalid_content",`Void elements cannot have children or closing tags
51
+ https://svelte.dev/e/void_element_invalid_content`)}var Ms=[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,78,5,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,199,7,137,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,55,9,266,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,233,0,3,0,8,1,6,0,475,6,110,6,6,9,4759,9,787719,239],Je=[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,7,25,39,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,5,57,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,24,43,261,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,33,24,3,24,45,74,6,0,67,12,65,1,2,0,15,4,10,7381,42,31,98,114,8702,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,208,30,2,2,2,1,2,6,3,4,10,1,225,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,4381,3,5773,3,7472,16,621,2467,541,1507,4938,6,8489],Ds="‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Ze="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",Ae={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"},Ce="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",qs={5:Ce,"5module":Ce+" export import",6:Ce+" const class extends export import super"},ts=/^in(stanceof)?$/,Us=new RegExp("["+Ze+"]"),js=new RegExp("["+Ze+Ds+"]");function Ee(tt,et){var st=65536;for(var at=0;at<et.length;at+=2){if(st+=et[at],st>tt)return!1;if(st+=et[at+1],st>=tt)return!0}return!1}function t(tt,et){if(tt<65)return tt===36;if(tt<91)return!0;if(tt<97)return tt===95;if(tt<123)return!0;if(tt<=65535)return tt>=170&&Us.test(String.fromCharCode(tt));if(et===!1)return!1;return Ee(tt,Je)}function r(tt,et){if(tt<48)return tt===36;if(tt<58)return!0;if(tt<65)return!1;if(tt<91)return!0;if(tt<97)return tt===95;if(tt<123)return!0;if(tt<=65535)return tt>=170&&js.test(String.fromCharCode(tt));if(et===!1)return!1;return Ee(tt,Je)||Ee(tt,Ms)}var bt=function(et,st){if(st===void 0)st={};this.label=et,this.keyword=st.keyword,this.beforeExpr=!!st.beforeExpr,this.startsExpr=!!st.startsExpr,this.isLoop=!!st.isLoop,this.isAssign=!!st.isAssign,this.prefix=!!st.prefix,this.postfix=!!st.postfix,this.binop=st.binop||null,this.updateContext=null};function Tt(tt,et){return new bt(tt,{beforeExpr:!0,binop:et})}var $t={beforeExpr:!0},Ct={startsExpr:!0},Bt={};function yt(tt,et){if(et===void 0)et={};return et.keyword=tt,Bt[tt]=new bt(tt,et)}var nt={num:new bt("num",Ct),regexp:new bt("regexp",Ct),string:new bt("string",Ct),name:new bt("name",Ct),privateId:new bt("privateId",Ct),eof:new bt("eof"),bracketL:new bt("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new bt("]"),braceL:new bt("{",{beforeExpr:!0,startsExpr:!0}),braceR:new bt("}"),parenL:new bt("(",{beforeExpr:!0,startsExpr:!0}),parenR:new bt(")"),comma:new bt(",",$t),semi:new bt(";",$t),colon:new bt(":",$t),dot:new bt("."),question:new bt("?",$t),questionDot:new bt("?."),arrow:new bt("=>",$t),template:new bt("template"),invalidTemplate:new bt("invalidTemplate"),ellipsis:new bt("...",$t),backQuote:new bt("`",Ct),dollarBraceL:new bt("${",{beforeExpr:!0,startsExpr:!0}),eq:new bt("=",{beforeExpr:!0,isAssign:!0}),assign:new bt("_=",{beforeExpr:!0,isAssign:!0}),incDec:new bt("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new bt("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:Tt("||",1),logicalAND:Tt("&&",2),bitwiseOR:Tt("|",3),bitwiseXOR:Tt("^",4),bitwiseAND:Tt("&",5),equality:Tt("==/!=/===/!==",6),relational:Tt("</>/<=/>=",7),bitShift:Tt("<</>>/>>>",8),plusMin:new bt("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:Tt("%",10),star:Tt("*",10),slash:Tt("/",10),starstar:new bt("**",{beforeExpr:!0}),coalesce:Tt("??",1),_break:yt("break"),_case:yt("case",$t),_catch:yt("catch"),_continue:yt("continue"),_debugger:yt("debugger"),_default:yt("default",$t),_do:yt("do",{isLoop:!0,beforeExpr:!0}),_else:yt("else",$t),_finally:yt("finally"),_for:yt("for",{isLoop:!0}),_function:yt("function",Ct),_if:yt("if"),_return:yt("return",$t),_switch:yt("switch"),_throw:yt("throw",$t),_try:yt("try"),_var:yt("var"),_const:yt("const"),_while:yt("while",{isLoop:!0}),_with:yt("with"),_new:yt("new",{beforeExpr:!0,startsExpr:!0}),_this:yt("this",Ct),_super:yt("super",Ct),_class:yt("class",Ct),_extends:yt("extends",$t),_export:yt("export"),_import:yt("import",Ct),_null:yt("null",Ct),_true:yt("true",Ct),_false:yt("false",Ct),_in:yt("in",{beforeExpr:!0,binop:7}),_instanceof:yt("instanceof",{beforeExpr:!0,binop:7}),_typeof:yt("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:yt("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:yt("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},Et=/\r\n?|\n|\u2028|\u2029/,Ws=new RegExp(Et.source,"g");function jt(tt){return tt===10||tt===13||tt===8232||tt===8233}function es(tt,et,st){if(st===void 0)st=tt.length;for(var at=et;at<st;at++){var ot=tt.charCodeAt(at);if(jt(ot))return at<st-1&&ot===13&&tt.charCodeAt(at+1)===10?at+2:at+1}return-1}var ss=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,_t=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,is=Object.prototype,{hasOwnProperty:zs,toString:Ks}=is,Yt=Object.hasOwn||function(tt,et){return zs.call(tt,et)},Ye=Array.isArray||function(tt){return Ks.call(tt)==="[object Array]"},Qe=Object.create(null);function pe(tt){return Qe[tt]||(Qe[tt]=new RegExp("^(?:"+tt.replace(/ /g,"|")+")$"))}function ve(tt){if(tt<=65535)return String.fromCharCode(tt);return tt-=65536,String.fromCharCode((tt>>10)+55296,(tt&1023)+56320)}var Hs=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Gt=function(et,st){this.line=et,this.column=st};Gt.prototype.offset=function(et){return new Gt(this.line,this.column+et)};var ye=function(et,st,at){if(this.start=st,this.end=at,et.sourceFile!==null)this.source=et.sourceFile};function rs(tt,et){for(var st=1,at=0;;){var ot=es(tt,at,et);if(ot<0)return new Gt(st,et-at);++st,at=ot}}var Te={ecmaVersion:null,sourceType:"script",strict:!1,onInsertedSemicolon:null,onTrailingComma:null,allowReserved:null,allowReturnOutsideFunction:!1,allowImportExportEverywhere:!1,allowAwaitOutsideFunction:null,allowSuperOutsideMethod:null,allowHashBang:!1,checkPrivateFields:!0,locations:!1,startLocation:null,onToken:null,onComment:null,ranges:!1,program:null,sourceFile:null,directSourceFile:null,preserveParens:!1},Xe=!1;function Gs(tt){var et={};for(var st in Te)et[st]=tt&&Yt(tt,st)?tt[st]:Te[st];if(et.ecmaVersion==="latest")et.ecmaVersion=1e8;else if(et.ecmaVersion==null){if(!Xe&&typeof console==="object"&&console.warn)Xe=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
52
+ Defaulting to 2020, but this will stop working in the future.`);et.ecmaVersion=11}else if(et.ecmaVersion>=2015)et.ecmaVersion-=2009;if(et.allowReserved==null)et.allowReserved=et.ecmaVersion<5;if(!tt||tt.allowHashBang==null)et.allowHashBang=et.ecmaVersion>=14;if(Ye(et.onToken)){var at=et.onToken;et.onToken=function(ot){return at.push(ot)}}if(Ye(et.onComment))et.onComment=Ys(et,et.onComment);if(et.sourceType==="commonjs"&&et.allowAwaitOutsideFunction)throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return et}function Ys(tt,et){return function(st,at,ot,it,rt,ht){var ut={type:st?"Block":"Line",value:at,start:ot,end:it};if(tt.locations)ut.loc=new ye(this,rt,ht);if(tt.ranges)ut.range=[ot,it];et.push(ut)}}var Ft=1,Mt=2,Pe=4,as=8,Ie=16,ns=32,be=64,os=128,Dt=256,Qt=512,hs=1024,xe=Ft|Mt|Dt;function Re(tt,et){return Mt|(tt?Pe:0)|(et?as:0)}var fe=0,Ve=1,Vt=2,us=3,cs=4,ls=5,kt=function(et,st,at){this.options=et=Gs(et),this.sourceFile=et.sourceFile,this.keywords=pe(qs[et.ecmaVersion>=6?6:et.sourceType==="module"?"5module":5]);var ot="";if(et.allowReserved!==!0){if(ot=Ae[et.ecmaVersion>=6?6:et.ecmaVersion===5?5:3],et.sourceType==="module")ot+=" await"}this.reservedWords=pe(ot);var it=(ot?ot+" ":"")+Ae.strict;if(this.reservedWordsStrict=pe(it),this.reservedWordsStrictBind=pe(it+" "+Ae.strictBind),this.input=String(st),this.containsEsc=!1,this.pos=at||0,this.curLine=1,et.startLocation)this.lineStart=this.pos-et.startLocation.column,this.curLine=et.startLocation.line;else if(at){if(this.lineStart=this.input.lastIndexOf(`
53
+ `,at-1)+1,this.options.locations)this.curLine=this.input.slice(0,this.lineStart).split(Et).length}else this.lineStart=0;if(this.type=nt.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=et.sourceType==="module",this.strict=this.inModule||et.strict===!0||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&&et.allowHashBang&&this.input.slice(0,2)==="#!")this.skipLineComment(2);this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?Mt:Ft),this.regexpState=null,this.privateNameStack=[]},Lt={inFunction:{configurable:!0},inGenerator:{configurable:!0},inAsync:{configurable:!0},canAwait:{configurable:!0},allowReturn:{configurable:!0},allowSuper:{configurable:!0},allowDirectSuper:{configurable:!0},treatFunctionsAsVar:{configurable:!0},allowNewDotTarget:{configurable:!0},allowUsing:{configurable:!0},inClassStaticBlock:{configurable:!0}};kt.prototype.parse=function(){var et=this,st=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return et.parseTopLevel(st)})};Lt.inFunction.get=function(){return(this.currentVarScope().flags&Mt)>0};Lt.inGenerator.get=function(){return(this.currentVarScope().flags&as)>0};Lt.inAsync.get=function(){return(this.currentVarScope().flags&Pe)>0};Lt.canAwait.get=function(){for(var tt=this.scopeStack.length-1;tt>=0;tt--){var et=this.scopeStack[tt],st=et.flags;if(st&(Dt|Qt))return!1;if(st&Mt)return(st&Pe)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};Lt.allowReturn.get=function(){if(this.inFunction)return!0;if(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&Ft)return!0;return!1};Lt.allowSuper.get=function(){var tt=this.currentThisScope(),et=tt.flags;return(et&be)>0||this.options.allowSuperOutsideMethod};Lt.allowDirectSuper.get=function(){return(this.currentThisScope().flags&os)>0};Lt.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};Lt.allowNewDotTarget.get=function(){for(var tt=this.scopeStack.length-1;tt>=0;tt--){var et=this.scopeStack[tt],st=et.flags;if(st&(Dt|Qt)||st&Mt&&!(st&Ie))return!0}return!1};Lt.allowUsing.get=function(){var tt=this.currentScope(),et=tt.flags;if(et&hs)return!1;if(!this.inModule&&et&Ft)return!1;return!0};Lt.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&Dt)>0};kt.extend=function(){var et=[],st=arguments.length;while(st--)et[st]=arguments[st];var at=this;for(var ot=0;ot<et.length;ot++)at=et[ot](at);return at};kt.parse=function(et,st){return new this(st,et).parse()};kt.parseExpressionAt=function(et,st,at){var ot=new this(at,et,st);return ot.nextToken(),ot.parseExpression()};kt.tokenizer=function(et,st){return new this(st,et)};Object.defineProperties(kt.prototype,Lt);var At=kt.prototype,Qs=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;At.strictDirective=function(tt){if(this.options.ecmaVersion<5)return!1;for(;;){_t.lastIndex=tt,tt+=_t.exec(this.input)[0].length;var et=Qs.exec(this.input.slice(tt));if(!et)return!1;if((et[1]||et[2])==="use strict"){_t.lastIndex=tt+et[0].length;var st=_t.exec(this.input),at=st.index+st[0].length,ot=this.input.charAt(at);return ot===";"||ot==="}"||Et.test(st[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(ot)||ot==="!"&&this.input.charAt(at+1)==="=")}if(tt+=et[0].length,_t.lastIndex=tt,tt+=_t.exec(this.input)[0].length,this.input[tt]===";")tt++}};At.eat=function(tt){if(this.type===tt)return this.next(),!0;else return!1};At.isContextual=function(tt){return this.type===nt.name&&this.value===tt&&!this.containsEsc};At.eatContextual=function(tt){if(!this.isContextual(tt))return!1;return this.next(),!0};At.catchStackOverflow=function(tt){try{return tt()}catch(et){if(et instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(et.message)||/\btoo much recursion\b/i.test(et.message)))this.raise(this.start,"Not enough stack space to parse input");else throw et}};At.expectContextual=function(tt){if(!this.eatContextual(tt))this.unexpected()};At.canInsertSemicolon=function(){return this.type===nt.eof||this.type===nt.braceR||Et.test(this.input.slice(this.lastTokEnd,this.start))};At.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};At.semicolon=function(){if(!this.eat(nt.semi)&&!this.insertSemicolon())this.unexpected()};At.afterTrailingComma=function(tt,et){if(this.type===tt){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);if(!et)this.next();return!0}};At.expect=function(tt){this.eat(tt)||this.unexpected()};At.unexpected=function(tt){this.raise(tt!=null?tt:this.start,"Unexpected token")};var ge=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};At.checkPatternErrors=function(tt,et){if(!tt)return;if(tt.trailingComma>-1)this.raiseRecoverable(tt.trailingComma,"Comma is not permitted after the rest element");var st=et?tt.parenthesizedAssign:tt.parenthesizedBind;if(st>-1)this.raiseRecoverable(st,et?"Assigning to rvalue":"Parenthesized pattern")};At.checkExpressionErrors=function(tt,et){if(!tt)return!1;var{shorthandAssign:st,doubleProto:at}=tt;if(!et)return st>=0||at>=0;if(st>=0)this.raise(st,"Shorthand property assignments are valid only in destructuring patterns");if(at>=0)this.raiseRecoverable(at,"Redefinition of __proto__ property")};At.checkYieldAwaitInDefaultParams=function(){if(this.yieldPos&&(!this.awaitPos||this.yieldPos<this.awaitPos))this.raise(this.yieldPos,"Yield expression cannot be a default value");if(this.awaitPos)this.raise(this.awaitPos,"Await expression cannot be a default value")};At.isSimpleAssignTarget=function(tt){if(tt.type==="ParenthesizedExpression")return this.isSimpleAssignTarget(tt.expression);return tt.type==="Identifier"||tt.type==="MemberExpression"};var ft=kt.prototype;ft.parseTopLevel=function(tt){var et=Object.create(null);if(!tt.body)tt.body=[];while(this.type!==nt.eof){var st=this.parseStatement(null,!0,et);tt.body.push(st)}if(this.inModule)for(var at=0,ot=Object.keys(this.undefinedExports);at<ot.length;at+=1){var it=ot[at];this.raiseRecoverable(this.undefinedExports[it].start,"Export '"+it+"' is not defined")}return this.adaptDirectivePrologue(tt.body),this.next(),tt.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(tt,"Program")};var Oe={kind:"loop"},Xs={kind:"switch"};ft.isLet=function(tt){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;_t.lastIndex=this.pos;var et=_t.exec(this.input),st=this.pos+et[0].length,at=this.fullCharCodeAt(st);if(at===91||at===92)return!0;if(tt)return!1;if(at===123)return!0;if(t(at)){var ot=st;do st+=at<=65535?1:2;while(r(at=this.fullCharCodeAt(st)));if(at===92)return!0;var it=this.input.slice(ot,st);if(!ts.test(it))return!0}return!1};ft.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;_t.lastIndex=this.pos;var tt=_t.exec(this.input),et=this.pos+tt[0].length,st;return!Et.test(this.input.slice(this.pos,et))&&this.input.slice(et,et+8)==="function"&&(et+8===this.input.length||!(r(st=this.fullCharCodeAt(et+8))||st===92))};ft.isUsingKeyword=function(tt,et){if(this.options.ecmaVersion<17||!this.isContextual(tt?"await":"using"))return!1;_t.lastIndex=this.pos;var st=_t.exec(this.input),at=this.pos+st[0].length;if(Et.test(this.input.slice(this.pos,at)))return!1;if(tt){var ot=at+5,it;if(this.input.slice(at,ot)!=="using"||ot===this.input.length||r(it=this.fullCharCodeAt(ot))||it===92)return!1;_t.lastIndex=ot;var rt=_t.exec(this.input);if(at=ot+rt[0].length,rt&&Et.test(this.input.slice(ot,at)))return!1}var ht=this.fullCharCodeAt(at);if(!t(ht)&&ht!==92)return!1;var ut=at;do at+=ht<=65535?1:2;while(r(ht=this.fullCharCodeAt(at)));if(ht===92)return!0;var ct=this.input.slice(ut,at);if(ts.test(ct))return!1;if(et&&!tt&&ct==="of"){_t.lastIndex=at;var lt=_t.exec(this.input);if(at=at+lt[0].length,this.input.charCodeAt(at)!==61||(ht=this.input.charCodeAt(at+1))===61||ht===62)return!1}return!0};ft.isAwaitUsing=function(tt){return this.isUsingKeyword(!0,tt)};ft.isUsing=function(tt){return this.isUsingKeyword(!1,tt)};ft.parseStatement=function(tt,et,st){var at=this.type,ot=this.startNode(),it;if(this.isLet(tt))at=nt._var,it="let";switch(at){case nt._break:case nt._continue:return this.parseBreakContinueStatement(ot,at.keyword);case nt._debugger:return this.parseDebuggerStatement(ot);case nt._do:return this.parseDoStatement(ot);case nt._for:return this.parseForStatement(ot);case nt._function:if(tt&&(this.strict||tt!=="if"&&tt!=="label")&&this.options.ecmaVersion>=6)this.unexpected();return this.parseFunctionStatement(ot,!1,!tt);case nt._class:if(tt)this.unexpected();return this.parseClass(ot,!0);case nt._if:return this.parseIfStatement(ot);case nt._return:return this.parseReturnStatement(ot);case nt._switch:return this.parseSwitchStatement(ot);case nt._throw:return this.parseThrowStatement(ot);case nt._try:return this.parseTryStatement(ot);case nt._const:case nt._var:if(it=it||this.value,tt&&it!=="var")this.unexpected();return this.parseVarStatement(ot,it);case nt._while:return this.parseWhileStatement(ot);case nt._with:return this.parseWithStatement(ot);case nt.braceL:return this.parseBlock(!0,ot);case nt.semi:return this.parseEmptyStatement(ot);case nt._export:case nt._import:if(this.options.ecmaVersion>10&&at===nt._import){_t.lastIndex=this.pos;var rt=_t.exec(this.input),ht=this.pos+rt[0].length,ut=this.input.charCodeAt(ht);if(ut===40||ut===46)return this.parseExpressionStatement(ot,this.parseExpression())}if(!this.options.allowImportExportEverywhere){if(!et)this.raise(this.start,"'import' and 'export' may only appear at the top level");if(!this.inModule)this.raise(this.start,"'import' and 'export' may appear only with 'sourceType: module'")}return at===nt._import?this.parseImport(ot):this.parseExport(ot,st);default:if(this.isAsyncFunction()){if(tt)this.unexpected();return this.next(),this.parseFunctionStatement(ot,!0,!tt)}var ct=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(ct){if(!this.allowUsing)this.raise(this.start,"Using declaration cannot appear in the top level when source type is `script` or in the bare case statement");if(tt)this.raise(this.start,"Using declaration is not allowed in single-statement positions");if(ct==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.next(),this.parseVar(ot,!1,ct),this.semicolon(),this.finishNode(ot,"VariableDeclaration")}var lt=this.value,pt=this.parseExpression();if(at===nt.name&&pt.type==="Identifier"&&this.eat(nt.colon))return this.parseLabeledStatement(ot,lt,pt,tt);else return this.parseExpressionStatement(ot,pt)}};ft.parseBreakContinueStatement=function(tt,et){var st=et==="break";if(this.next(),this.eat(nt.semi)||this.insertSemicolon())tt.label=null;else if(this.type!==nt.name)this.unexpected();else tt.label=this.parseIdent(),this.semicolon();var at=0;for(;at<this.labels.length;++at){var ot=this.labels[at];if(tt.label==null||ot.name===tt.label.name){if(ot.kind!=null&&(st||ot.kind==="loop"))break;if(tt.label&&st)break}}if(at===this.labels.length)this.raise(tt.start,"Unsyntactic "+et);return this.finishNode(tt,st?"BreakStatement":"ContinueStatement")};ft.parseDebuggerStatement=function(tt){return this.next(),this.semicolon(),this.finishNode(tt,"DebuggerStatement")};ft.parseDoStatement=function(tt){if(this.next(),this.labels.push(Oe),tt.body=this.parseStatement("do"),this.labels.pop(),this.expect(nt._while),tt.test=this.parseParenExpression(),this.options.ecmaVersion>=6)this.eat(nt.semi);else this.semicolon();return this.finishNode(tt,"DoWhileStatement")};ft.parseForStatement=function(tt){this.next();var et=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(Oe),this.enterScope(0),this.expect(nt.parenL),this.type===nt.semi){if(et>-1)this.unexpected(et);return this.parseFor(tt,null)}var st=this.isLet();if(this.type===nt._var||this.type===nt._const||st){var at=this.startNode(),ot=st?"let":this.value;return this.next(),this.parseVar(at,!0,ot),this.finishNode(at,"VariableDeclaration"),this.parseForAfterInit(tt,at,et)}var it=this.isContextual("let"),rt=!1,ht=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(ht){var ut=this.startNode();if(this.next(),ht==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.parseVar(ut,!0,ht),this.finishNode(ut,"VariableDeclaration"),this.parseForAfterInit(tt,ut,et)}var ct=this.containsEsc,lt=new ge,pt=this.start,dt=et>-1?this.parseExprSubscripts(lt,"await"):this.parseExpression(!0,lt);if(this.type===nt._in||(rt=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(et>-1){if(this.type===nt._in)this.unexpected(et);tt.await=!0}else if(rt&&this.options.ecmaVersion>=8){if(dt.start===pt&&!ct&&dt.type==="Identifier"&&dt.name==="async")this.unexpected();else if(this.options.ecmaVersion>=9)tt.await=!1}if(it&&rt)this.raise(dt.start,"The left-hand side of a for-of loop may not start with 'let'.");return this.toAssignable(dt,!1,lt),this.checkLValPattern(dt),this.parseForIn(tt,dt)}else this.checkExpressionErrors(lt,!0);if(et>-1)this.unexpected(et);return this.parseFor(tt,dt)};ft.parseForAfterInit=function(tt,et,st){if((this.type===nt._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&et.declarations.length===1){if(this.type===nt._in){if((et.kind==="using"||et.kind==="await using")&&!et.declarations[0].init)this.raise(this.start,"Using declaration is not allowed in for-in loops");if(this.options.ecmaVersion>=9&&st>-1)this.unexpected(st)}else if(this.options.ecmaVersion>=9)tt.await=st>-1;return this.parseForIn(tt,et)}if(st>-1)this.unexpected(st);return this.parseFor(tt,et)};ft.parseFunctionStatement=function(tt,et,st){return this.next(),this.parseFunction(tt,Ht|(st?0:$e),!1,et)};ft.parseIfStatement=function(tt){return this.next(),tt.test=this.parseParenExpression(),tt.consequent=this.parseStatement("if"),tt.alternate=this.eat(nt._else)?this.parseStatement("if"):null,this.finishNode(tt,"IfStatement")};ft.parseReturnStatement=function(tt){if(!this.allowReturn)this.raise(this.start,"'return' outside of function");if(this.next(),this.eat(nt.semi)||this.insertSemicolon())tt.argument=null;else tt.argument=this.parseExpression(),this.semicolon();return this.finishNode(tt,"ReturnStatement")};ft.parseSwitchStatement=function(tt){this.next(),tt.discriminant=this.parseParenExpression(),tt.cases=[],this.expect(nt.braceL),this.labels.push(Xs),this.enterScope(hs);var et;for(var st=!1;this.type!==nt.braceR;)if(this.type===nt._case||this.type===nt._default){var at=this.type===nt._case;if(et)this.finishNode(et,"SwitchCase");if(tt.cases.push(et=this.startNode()),et.consequent=[],this.next(),at)et.test=this.parseExpression();else{if(st)this.raiseRecoverable(this.lastTokStart,"Multiple default clauses");st=!0,et.test=null}this.expect(nt.colon)}else{if(!et)this.unexpected();et.consequent.push(this.parseStatement(null))}if(this.exitScope(),et)this.finishNode(et,"SwitchCase");return this.next(),this.labels.pop(),this.finishNode(tt,"SwitchStatement")};ft.parseThrowStatement=function(tt){if(this.next(),Et.test(this.input.slice(this.lastTokEnd,this.start)))this.raise(this.lastTokEnd,"Illegal newline after throw");return tt.argument=this.parseExpression(),this.semicolon(),this.finishNode(tt,"ThrowStatement")};var Js=[];ft.parseCatchClauseParam=function(){var tt=this.parseBindingAtom(),et=tt.type==="Identifier";return this.enterScope(et?ns:0),this.checkLValPattern(tt,et?cs:Vt),this.expect(nt.parenR),tt};ft.parseTryStatement=function(tt){if(this.next(),tt.block=this.parseBlock(),tt.handler=null,this.type===nt._catch){var et=this.startNode();if(this.next(),this.eat(nt.parenL))et.param=this.parseCatchClauseParam();else{if(this.options.ecmaVersion<10)this.unexpected();et.param=null,this.enterScope(0)}et.body=this.parseBlock(!1),this.exitScope(),tt.handler=this.finishNode(et,"CatchClause")}if(tt.finalizer=this.eat(nt._finally)?this.parseBlock():null,!tt.handler&&!tt.finalizer)this.raise(tt.start,"Missing catch or finally clause");return this.finishNode(tt,"TryStatement")};ft.parseVarStatement=function(tt,et,st){return this.next(),this.parseVar(tt,!1,et,st),this.semicolon(),this.finishNode(tt,"VariableDeclaration")};ft.parseWhileStatement=function(tt){return this.next(),tt.test=this.parseParenExpression(),this.labels.push(Oe),tt.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(tt,"WhileStatement")};ft.parseWithStatement=function(tt){if(this.strict)this.raise(this.start,"'with' in strict mode");return this.next(),tt.object=this.parseParenExpression(),tt.body=this.parseStatement("with"),this.finishNode(tt,"WithStatement")};ft.parseEmptyStatement=function(tt){return this.next(),this.finishNode(tt,"EmptyStatement")};ft.parseLabeledStatement=function(tt,et,st,at){for(var ot=0,it=this.labels;ot<it.length;ot+=1){var rt=it[ot];if(rt.name===et)this.raise(st.start,"Label '"+et+"' is already declared")}var ht=this.type.isLoop?"loop":this.type===nt._switch?"switch":null;for(var ut=this.labels.length-1;ut>=0;ut--){var ct=this.labels[ut];if(ct.statementStart===tt.start)ct.statementStart=this.start,ct.kind=ht;else break}return this.labels.push({name:et,kind:ht,statementStart:this.start}),tt.body=this.parseStatement(at?at.indexOf("label")===-1?at+"label":at:"label"),this.labels.pop(),tt.label=st,this.finishNode(tt,"LabeledStatement")};ft.parseExpressionStatement=function(tt,et){return tt.expression=et,this.semicolon(),this.finishNode(tt,"ExpressionStatement")};ft.parseBlock=function(tt,et,st){if(tt===void 0)tt=!0;if(et===void 0)et=this.startNode();if(et.body=[],this.expect(nt.braceL),tt)this.enterScope(0);while(this.type!==nt.braceR){var at=this.parseStatement(null);et.body.push(at)}if(st)this.strict=!1;if(this.next(),tt)this.exitScope();return this.finishNode(et,"BlockStatement")};ft.parseFor=function(tt,et){return tt.init=et,this.expect(nt.semi),tt.test=this.type===nt.semi?null:this.parseExpression(),this.expect(nt.semi),tt.update=this.type===nt.parenR?null:this.parseExpression(),this.expect(nt.parenR),tt.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(tt,"ForStatement")};ft.parseForIn=function(tt,et){var st=this.type===nt._in;if(this.next(),et.type==="VariableDeclaration"&&et.declarations[0].init!=null&&(!st||this.options.ecmaVersion<8||this.strict||et.kind!=="var"||et.declarations[0].id.type!=="Identifier"))this.raise(et.start,(st?"for-in":"for-of")+" loop variable declaration may not have an initializer");return tt.left=et,tt.right=st?this.parseExpression():this.parseMaybeAssign(),this.expect(nt.parenR),tt.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(tt,st?"ForInStatement":"ForOfStatement")};ft.parseVar=function(tt,et,st,at){tt.declarations=[],tt.kind=st;for(;;){var ot=this.startNode();if(this.parseVarId(ot,st),this.eat(nt.eq))ot.init=this.parseMaybeAssign(et);else if(!at&&st==="const"&&!(this.type===nt._in||this.options.ecmaVersion>=6&&this.isContextual("of")))this.unexpected();else if(!at&&(st==="using"||st==="await using")&&this.options.ecmaVersion>=17&&this.type!==nt._in&&!this.isContextual("of"))this.raise(this.lastTokEnd,"Missing initializer in "+st+" declaration");else if(!at&&ot.id.type!=="Identifier"&&!(et&&(this.type===nt._in||this.isContextual("of"))))this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value");else ot.init=null;if(tt.declarations.push(this.finishNode(ot,"VariableDeclarator")),!this.eat(nt.comma))break}return tt};ft.parseVarId=function(tt,et){tt.id=et==="using"||et==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(tt.id,et==="var"?Ve:Vt,!1)};var Ht=1,$e=2,ps=4;ft.parseFunction=function(tt,et,st,at,ot){if(this.initFunction(tt),this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!at){if(this.type===nt.star&&et&$e)this.unexpected();tt.generator=this.eat(nt.star)}if(this.options.ecmaVersion>=8)tt.async=!!at;if(et&Ht){if(tt.id=et&ps&&this.type!==nt.name?null:this.parseIdent(),tt.id&&!(et&$e))this.checkLValSimple(tt.id,this.strict||tt.generator||tt.async?this.treatFunctionsAsVar?Ve:Vt:us)}var it=this.yieldPos,rt=this.awaitPos,ht=this.awaitIdentPos;if(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Re(tt.async,tt.generator)),!(et&Ht))tt.id=this.type===nt.name?this.parseIdent():null;return this.parseFunctionParams(tt),this.parseFunctionBody(tt,st,!1,ot),this.yieldPos=it,this.awaitPos=rt,this.awaitIdentPos=ht,this.finishNode(tt,et&Ht?"FunctionDeclaration":"FunctionExpression")};ft.parseFunctionParams=function(tt){this.expect(nt.parenL),tt.params=this.parseBindingList(nt.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};ft.parseClass=function(tt,et){this.next();var st=this.strict;this.strict=!0,this.parseClassId(tt,et),this.parseClassSuper(tt);var at=this.enterClassBody(),ot=this.startNode(),it=!1;ot.body=[],this.expect(nt.braceL);while(this.type!==nt.braceR){var rt=this.parseClassElement(tt.superClass!==null);if(rt){if(ot.body.push(rt),rt.type==="MethodDefinition"&&rt.kind==="constructor"){if(it)this.raiseRecoverable(rt.start,"Duplicate constructor in the same class");it=!0}else if(rt.key&&rt.key.type==="PrivateIdentifier"&&Zs(at,rt))this.raiseRecoverable(rt.key.start,"Identifier '#"+rt.key.name+"' has already been declared")}}return this.strict=st,this.next(),tt.body=this.finishNode(ot,"ClassBody"),this.exitClassBody(),this.finishNode(tt,et?"ClassDeclaration":"ClassExpression")};ft.parseClassElement=function(tt){if(this.eat(nt.semi))return null;var et=this.options.ecmaVersion,st=this.startNode(),at="",ot=!1,it=!1,rt="method",ht=!1;if(this.eatContextual("static")){if(et>=13&&this.eat(nt.braceL))return this.parseClassStaticBlock(st),st;if(this.isClassElementNameStart()||this.type===nt.star)ht=!0;else at="static"}if(st.static=ht,!at&&et>=8&&this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===nt.star)&&!this.canInsertSemicolon())it=!0;else at="async";if(!at&&(et>=9||!it)&&this.eat(nt.star))ot=!0;if(!at&&!it&&!ot){var ut=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())rt=ut;else at=ut}if(at)st.computed=!1,st.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),st.key.name=at,this.finishNode(st.key,"Identifier");else this.parseClassElementName(st);if(et<13||this.type===nt.parenL||rt!=="method"||ot||it){var ct=!st.static&&de(st,"constructor"),lt=ct&&tt;if(ct&&rt!=="method")this.raise(st.key.start,"Constructor can't have get/set modifier");st.kind=ct?"constructor":rt,this.parseClassMethod(st,ot,it,lt)}else this.parseClassField(st);return st};ft.isClassElementNameStart=function(){return this.type===nt.name||this.type===nt.privateId||this.type===nt.num||this.type===nt.string||this.type===nt.bracketL||this.type.keyword};ft.parseClassElementName=function(tt){if(this.type===nt.privateId){if(this.value==="constructor")this.raise(this.start,"Classes can't have an element named '#constructor'");tt.computed=!1,tt.key=this.parsePrivateIdent()}else this.parsePropertyName(tt)};ft.parseClassMethod=function(tt,et,st,at){var ot=tt.key;if(tt.kind==="constructor"){if(et)this.raise(ot.start,"Constructor can't be a generator");if(st)this.raise(ot.start,"Constructor can't be an async method")}else if(tt.static&&de(tt,"prototype"))this.raise(ot.start,"Classes may not have a static property named prototype");var it=tt.value=this.parseMethod(et,st,at);if(tt.kind==="get"&&it.params.length!==0)this.raiseRecoverable(it.start,"getter should have no params");if(tt.kind==="set"&&it.params.length!==1)this.raiseRecoverable(it.start,"setter should have exactly one param");if(tt.kind==="set"&&it.params[0].type==="RestElement")this.raiseRecoverable(it.params[0].start,"Setter cannot use rest params");return this.finishNode(tt,"MethodDefinition")};ft.parseClassField=function(tt){if(de(tt,"constructor"))this.raise(tt.key.start,"Classes can't have a field named 'constructor'");else if(tt.static&&de(tt,"prototype"))this.raise(tt.key.start,"Classes can't have a static field named 'prototype'");if(this.eat(nt.eq))this.enterScope(Qt|be),tt.value=this.parseMaybeAssign(),this.exitScope();else tt.value=null;return this.semicolon(),this.finishNode(tt,"PropertyDefinition")};ft.parseClassStaticBlock=function(tt){tt.body=[];var et=this.labels;this.labels=[],this.enterScope(Dt|be);while(this.type!==nt.braceR){var st=this.parseStatement(null);tt.body.push(st)}return this.next(),this.exitScope(),this.labels=et,this.finishNode(tt,"StaticBlock")};ft.parseClassId=function(tt,et){if(this.type===nt.name){if(tt.id=this.parseIdent(),et)this.checkLValSimple(tt.id,Vt,!1)}else{if(et===!0)this.unexpected();tt.id=null}};ft.parseClassSuper=function(tt){tt.superClass=this.eat(nt._extends)?this.parseExprSubscripts(null,!1):null};ft.enterClassBody=function(){var tt={declared:Object.create(null),used:[]};return this.privateNameStack.push(tt),tt.declared};ft.exitClassBody=function(){var tt=this.privateNameStack.pop(),{declared:et,used:st}=tt;if(!this.options.checkPrivateFields)return;var at=this.privateNameStack.length,ot=at===0?null:this.privateNameStack[at-1];for(var it=0;it<st.length;++it){var rt=st[it];if(!Yt(et,rt.name))if(ot)ot.used.push(rt);else this.raiseRecoverable(rt.start,"Private field '#"+rt.name+"' must be declared in an enclosing class")}};function Zs(tt,et){var st=et.key.name,at=tt[st],ot="true";if(et.type==="MethodDefinition"&&(et.kind==="get"||et.kind==="set"))ot=(et.static?"s":"i")+et.kind;if(at==="iget"&&ot==="iset"||at==="iset"&&ot==="iget"||at==="sget"&&ot==="sset"||at==="sset"&&ot==="sget")return tt[st]="true",!1;else if(!at)return tt[st]=ot,!1;else return!0}function de(tt,et){var{computed:st,key:at}=tt;return!st&&(at.type==="Identifier"&&at.name===et||at.type==="Literal"&&at.value===et)}ft.parseExportAllDeclaration=function(tt,et){if(this.options.ecmaVersion>=11)if(this.eatContextual("as"))tt.exported=this.parseModuleExportName(),this.checkExport(et,tt.exported,this.lastTokStart);else tt.exported=null;if(this.expectContextual("from"),this.type!==nt.string)this.unexpected();if(tt.source=this.parseExprAtom(),this.options.ecmaVersion>=16)tt.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(tt,"ExportAllDeclaration")};ft.parseExport=function(tt,et){if(this.next(),this.eat(nt.star))return this.parseExportAllDeclaration(tt,et);if(this.eat(nt._default))return this.checkExport(et,"default",this.lastTokStart),tt.declaration=this.parseExportDefaultDeclaration(),this.finishNode(tt,"ExportDefaultDeclaration");if(this.shouldParseExportStatement()){if(tt.declaration=this.parseExportDeclaration(tt),tt.declaration.type==="VariableDeclaration")this.checkVariableExport(et,tt.declaration.declarations);else this.checkExport(et,tt.declaration.id,tt.declaration.id.start);if(tt.specifiers=[],tt.source=null,this.options.ecmaVersion>=16)tt.attributes=[]}else{if(tt.declaration=null,tt.specifiers=this.parseExportSpecifiers(et),this.eatContextual("from")){if(this.type!==nt.string)this.unexpected();if(tt.source=this.parseExprAtom(),this.options.ecmaVersion>=16)tt.attributes=this.parseWithClause()}else{for(var st=0,at=tt.specifiers;st<at.length;st+=1){var ot=at[st];if(this.checkUnreserved(ot.local),this.checkLocalExport(ot.local),ot.local.type==="Literal")this.raise(ot.local.start,"A string literal cannot be used as an exported binding without `from`.")}if(tt.source=null,this.options.ecmaVersion>=16)tt.attributes=[]}this.semicolon()}return this.finishNode(tt,"ExportNamedDeclaration")};ft.parseExportDeclaration=function(tt){return this.parseStatement(null)};ft.parseExportDefaultDeclaration=function(){var tt;if(this.type===nt._function||(tt=this.isAsyncFunction())){var et=this.startNode();if(this.next(),tt)this.next();return this.parseFunction(et,Ht|ps,!1,tt)}else if(this.type===nt._class){var st=this.startNode();return this.parseClass(st,"nullableID")}else{var at=this.parseMaybeAssign();return this.semicolon(),at}};ft.checkExport=function(tt,et,st){if(!tt)return;if(typeof et!=="string")et=et.type==="Identifier"?et.name:et.value;if(Yt(tt,et))this.raiseRecoverable(st,"Duplicate export '"+et+"'");tt[et]=!0};ft.checkPatternExport=function(tt,et){var st=et.type;if(st==="Identifier")this.checkExport(tt,et,et.start);else if(st==="ObjectPattern")for(var at=0,ot=et.properties;at<ot.length;at+=1){var it=ot[at];this.checkPatternExport(tt,it)}else if(st==="ArrayPattern")for(var rt=0,ht=et.elements;rt<ht.length;rt+=1){var ut=ht[rt];if(ut)this.checkPatternExport(tt,ut)}else if(st==="Property")this.checkPatternExport(tt,et.value);else if(st==="AssignmentPattern")this.checkPatternExport(tt,et.left);else if(st==="RestElement")this.checkPatternExport(tt,et.argument)};ft.checkVariableExport=function(tt,et){if(!tt)return;for(var st=0,at=et;st<at.length;st+=1){var ot=at[st];this.checkPatternExport(tt,ot.id)}};ft.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};ft.parseExportSpecifier=function(tt){var et=this.startNode();return et.local=this.parseModuleExportName(),et.exported=this.eatContextual("as")?this.parseModuleExportName():et.local,this.checkExport(tt,et.exported,et.exported.start),this.finishNode(et,"ExportSpecifier")};ft.parseExportSpecifiers=function(tt){var et=[],st=!0;this.expect(nt.braceL);while(!this.eat(nt.braceR)){if(!st){if(this.expect(nt.comma),this.afterTrailingComma(nt.braceR))break}else st=!1;et.push(this.parseExportSpecifier(tt))}return et};ft.parseImport=function(tt){if(this.next(),this.type===nt.string)tt.specifiers=Js,tt.source=this.parseExprAtom();else tt.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),tt.source=this.type===nt.string?this.parseExprAtom():this.unexpected();if(this.options.ecmaVersion>=16)tt.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(tt,"ImportDeclaration")};ft.parseImportSpecifier=function(){var tt=this.startNode();if(tt.imported=this.parseModuleExportName(),this.eatContextual("as"))tt.local=this.parseIdent();else this.checkUnreserved(tt.imported),tt.local=tt.imported;return this.checkLValSimple(tt.local,Vt),this.finishNode(tt,"ImportSpecifier")};ft.parseImportDefaultSpecifier=function(){var tt=this.startNode();return tt.local=this.parseIdent(),this.checkLValSimple(tt.local,Vt),this.finishNode(tt,"ImportDefaultSpecifier")};ft.parseImportNamespaceSpecifier=function(){var tt=this.startNode();return this.next(),this.expectContextual("as"),tt.local=this.parseIdent(),this.checkLValSimple(tt.local,Vt),this.finishNode(tt,"ImportNamespaceSpecifier")};ft.parseImportSpecifiers=function(){var tt=[],et=!0;if(this.type===nt.name){if(tt.push(this.parseImportDefaultSpecifier()),!this.eat(nt.comma))return tt}if(this.type===nt.star)return tt.push(this.parseImportNamespaceSpecifier()),tt;this.expect(nt.braceL);while(!this.eat(nt.braceR)){if(!et){if(this.expect(nt.comma),this.afterTrailingComma(nt.braceR))break}else et=!1;tt.push(this.parseImportSpecifier())}return tt};ft.parseWithClause=function(){var tt=[];if(!this.eat(nt._with))return tt;this.expect(nt.braceL);var et={},st=!0;while(!this.eat(nt.braceR)){if(!st){if(this.expect(nt.comma),this.afterTrailingComma(nt.braceR))break}else st=!1;var at=this.parseImportAttribute(),ot=at.key.type==="Identifier"?at.key.name:at.key.value;if(Yt(et,ot))this.raiseRecoverable(at.key.start,"Duplicate attribute key '"+ot+"'");et[ot]=!0,tt.push(at)}return tt};ft.parseImportAttribute=function(){var tt=this.startNode();if(tt.key=this.type===nt.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(nt.colon),this.type!==nt.string)this.unexpected();return tt.value=this.parseExprAtom(),this.finishNode(tt,"ImportAttribute")};ft.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===nt.string){var tt=this.parseLiteral(this.value);if(Hs.test(tt.value))this.raise(tt.start,"An export name cannot include a lone surrogate.");return tt}return this.parseIdent(!0)};ft.adaptDirectivePrologue=function(tt){for(var et=0;et<tt.length&&this.isDirectiveCandidate(tt[et]);++et)tt[et].directive=tt[et].expression.raw.slice(1,-1)};ft.isDirectiveCandidate=function(tt){return this.options.ecmaVersion>=5&&tt.type==="ExpressionStatement"&&tt.expression.type==="Literal"&&typeof tt.expression.value==="string"&&(this.input[tt.start]==='"'||this.input[tt.start]==="'")};var Pt=kt.prototype;Pt.toAssignable=function(tt,et,st){if(this.options.ecmaVersion>=6&&tt)switch(tt.type){case"Identifier":if(this.inAsync&&tt.name==="await")this.raise(tt.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":if(tt.type="ObjectPattern",st)this.checkPatternErrors(st,!0);for(var at=0,ot=tt.properties;at<ot.length;at+=1){var it=ot[at];if(this.toAssignable(it,et),it.type==="RestElement"&&(it.argument.type==="ArrayPattern"||it.argument.type==="ObjectPattern"))this.raise(it.argument.start,"Unexpected token")}break;case"Property":if(tt.kind!=="init")this.raise(tt.key.start,"Object pattern can't contain getter or setter");this.toAssignable(tt.value,et);break;case"ArrayExpression":if(tt.type="ArrayPattern",st)this.checkPatternErrors(st,!0);this.toAssignableList(tt.elements,et);break;case"SpreadElement":if(tt.type="RestElement",this.toAssignable(tt.argument,et),tt.argument.type==="AssignmentPattern")this.raise(tt.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":if(tt.operator!=="=")this.raise(tt.left.end,"Only '=' operator can be used for specifying default value.");tt.type="AssignmentPattern",delete tt.operator,this.toAssignable(tt.left,et);break;case"ParenthesizedExpression":this.toAssignable(tt.expression,et,st);break;case"ChainExpression":this.raiseRecoverable(tt.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!et)break;default:this.raise(tt.start,"Assigning to rvalue")}else if(st)this.checkPatternErrors(st,!0);return tt};Pt.toAssignableList=function(tt,et){var st=tt.length;for(var at=0;at<st;at++){var ot=tt[at];if(ot)this.toAssignable(ot,et)}if(st){var it=tt[st-1];if(this.options.ecmaVersion===6&&et&&it&&it.type==="RestElement"&&it.argument.type!=="Identifier")this.unexpected(it.argument.start)}return tt};Pt.parseSpread=function(tt){var et=this.startNode();return this.next(),et.argument=this.parseMaybeAssign(!1,tt),this.finishNode(et,"SpreadElement")};Pt.parseRestBinding=function(){var tt=this.startNode();if(this.next(),this.options.ecmaVersion===6&&this.type!==nt.name)this.unexpected();return tt.argument=this.parseBindingAtom(),this.finishNode(tt,"RestElement")};Pt.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case nt.bracketL:var tt=this.startNode();return this.next(),tt.elements=this.parseBindingList(nt.bracketR,!0,!0),this.finishNode(tt,"ArrayPattern");case nt.braceL:return this.parseObj(!0)}return this.parseIdent()};Pt.parseBindingList=function(tt,et,st,at){var ot=[],it=!0;while(!this.eat(tt)){if(it)it=!1;else this.expect(nt.comma);if(et&&this.type===nt.comma)ot.push(null);else if(st&&this.afterTrailingComma(tt))break;else if(this.type===nt.ellipsis){var rt=this.parseRestBinding();if(this.parseBindingListItem(rt),ot.push(rt),this.type===nt.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");this.expect(tt);break}else ot.push(this.parseAssignableListItem(at))}return ot};Pt.parseAssignableListItem=function(tt){var et=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(et),et};Pt.parseBindingListItem=function(tt){return tt};Pt.parseMaybeDefault=function(tt,et,st){if(st=st||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(nt.eq))return st;var at=this.startNodeAt(tt,et);return at.left=st,at.right=this.parseMaybeAssign(),this.finishNode(at,"AssignmentPattern")};Pt.checkLValSimple=function(tt,et,st){if(et===void 0)et=fe;var at=et!==fe;switch(tt.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(tt.name))this.raiseRecoverable(tt.start,(at?"Binding ":"Assigning to ")+tt.name+" in strict mode");if(at){if(et===Vt&&tt.name==="let")this.raiseRecoverable(tt.start,"let is disallowed as a lexically bound name");if(st){if(Yt(st,tt.name))this.raiseRecoverable(tt.start,"Argument name clash");st[tt.name]=!0}if(et!==ls)this.declareName(tt.name,et,tt.start)}break;case"ChainExpression":this.raiseRecoverable(tt.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(at)this.raiseRecoverable(tt.start,"Binding member expression");break;case"ParenthesizedExpression":if(at)this.raiseRecoverable(tt.start,"Binding parenthesized expression");return this.checkLValSimple(tt.expression,et,st);default:this.raise(tt.start,(at?"Binding":"Assigning to")+" rvalue")}};Pt.checkLValPattern=function(tt,et,st){if(et===void 0)et=fe;switch(tt.type){case"ObjectPattern":for(var at=0,ot=tt.properties;at<ot.length;at+=1){var it=ot[at];this.checkLValInnerPattern(it,et,st)}break;case"ArrayPattern":for(var rt=0,ht=tt.elements;rt<ht.length;rt+=1){var ut=ht[rt];if(ut)this.checkLValInnerPattern(ut,et,st)}break;default:this.checkLValSimple(tt,et,st)}};Pt.checkLValInnerPattern=function(tt,et,st){if(et===void 0)et=fe;switch(tt.type){case"Property":this.checkLValInnerPattern(tt.value,et,st);break;case"AssignmentPattern":this.checkLValPattern(tt.left,et,st);break;case"RestElement":this.checkLValPattern(tt.argument,et,st);break;default:this.checkLValPattern(tt,et,st)}};var It=function(et,st,at,ot,it){this.token=et,this.isExpr=!!st,this.preserveSpace=!!at,this.override=ot,this.generator=!!it},gt={b_stat:new It("{",!1),b_expr:new It("{",!0),b_tmpl:new It("${",!1),p_stat:new It("(",!1),p_expr:new It("(",!0),q_tmpl:new It("`",!0,!0,function(tt){return tt.tryReadTemplateToken()}),f_stat:new It("function",!1),f_expr:new It("function",!0),f_expr_gen:new It("function",!0,!1,null,!0),f_gen:new It("function",!1,!1,null,!0)},Wt=kt.prototype;Wt.initialContext=function(){return[gt.b_stat]};Wt.curContext=function(){return this.context[this.context.length-1]};Wt.braceIsBlock=function(tt){var et=this.curContext();if(et===gt.f_expr||et===gt.f_stat)return!0;if(tt===nt.colon&&(et===gt.b_stat||et===gt.b_expr))return!et.isExpr;if(tt===nt._return||tt===nt.name&&this.exprAllowed)return Et.test(this.input.slice(this.lastTokEnd,this.start));if(tt===nt._else||tt===nt.semi||tt===nt.eof||tt===nt.parenR||tt===nt.arrow)return!0;if(tt===nt.braceL)return et===gt.b_stat;if(tt===nt._var||tt===nt._const||tt===nt.name)return!1;return!this.exprAllowed};Wt.inGeneratorContext=function(){for(var tt=this.context.length-1;tt>=1;tt--){var et=this.context[tt];if(et.token==="function")return et.generator}return!1};Wt.updateContext=function(tt){var et,st=this.type;if(st.keyword&&tt===nt.dot)this.exprAllowed=!1;else if(et=st.updateContext)et.call(this,tt);else this.exprAllowed=st.beforeExpr};Wt.overrideContext=function(tt){if(this.curContext()!==tt)this.context[this.context.length-1]=tt};nt.parenR.updateContext=nt.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var tt=this.context.pop();if(tt===gt.b_stat&&this.curContext().token==="function")tt=this.context.pop();this.exprAllowed=!tt.isExpr};nt.braceL.updateContext=function(tt){this.context.push(this.braceIsBlock(tt)?gt.b_stat:gt.b_expr),this.exprAllowed=!0};nt.dollarBraceL.updateContext=function(){this.context.push(gt.b_tmpl),this.exprAllowed=!0};nt.parenL.updateContext=function(tt){var et=tt===nt._if||tt===nt._for||tt===nt._with||tt===nt._while;this.context.push(et?gt.p_stat:gt.p_expr),this.exprAllowed=!0};nt.incDec.updateContext=function(){};nt._function.updateContext=nt._class.updateContext=function(tt){if(tt.beforeExpr&&tt!==nt._else&&!(tt===nt.semi&&this.curContext()!==gt.p_stat)&&!(tt===nt._return&&Et.test(this.input.slice(this.lastTokEnd,this.start)))&&!((tt===nt.colon||tt===nt.braceL)&&this.curContext()===gt.b_stat))this.context.push(gt.f_expr);else this.context.push(gt.f_stat);this.exprAllowed=!1};nt.colon.updateContext=function(){if(this.curContext().token==="function")this.context.pop();this.exprAllowed=!0};nt.backQuote.updateContext=function(){if(this.curContext()===gt.q_tmpl)this.context.pop();else this.context.push(gt.q_tmpl);this.exprAllowed=!1};nt.star.updateContext=function(tt){if(tt===nt._function){var et=this.context.length-1;if(this.context[et]===gt.f_expr)this.context[et]=gt.f_expr_gen;else this.context[et]=gt.f_gen}this.exprAllowed=!0};nt.name.updateContext=function(tt){var et=!1;if(this.options.ecmaVersion>=6&&tt!==nt.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())et=!0}this.exprAllowed=et};var mt=kt.prototype;mt.checkPropClash=function(tt,et,st){if(this.options.ecmaVersion>=9&&tt.type==="SpreadElement")return;if(this.options.ecmaVersion>=6&&(tt.computed||tt.method||tt.shorthand))return;var at=tt.key,ot;switch(at.type){case"Identifier":ot=at.name;break;case"Literal":ot=String(at.value);break;default:return}var it=tt.kind;if(this.options.ecmaVersion>=6){if(ot==="__proto__"&&it==="init"){if(et.proto)if(st){if(st.doubleProto<0)st.doubleProto=at.start}else this.raiseRecoverable(at.start,"Redefinition of __proto__ property");et.proto=!0}return}ot="$"+ot;var rt=et[ot];if(rt){var ht;if(it==="init")ht=this.strict&&rt.init||rt.get||rt.set;else ht=rt.init||rt[it];if(ht)this.raiseRecoverable(at.start,"Redefinition of property")}else rt=et[ot]={init:!1,get:!1,set:!1};rt[it]=!0};mt.parseExpression=function(tt,et){var st=this;return this.catchStackOverflow(function(){var{start:at,startLoc:ot}=st,it=st.parseMaybeAssign(tt,et);if(st.type===nt.comma){var rt=st.startNodeAt(at,ot);rt.expressions=[it];while(st.eat(nt.comma))rt.expressions.push(st.parseMaybeAssign(tt,et));return st.finishNode(rt,"SequenceExpression")}return it})};mt.parseMaybeAssign=function(tt,et,st){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(tt);else this.exprAllowed=!1;var at=!1,ot=-1,it=-1,rt=-1;if(et)ot=et.parenthesizedAssign,it=et.trailingComma,rt=et.doubleProto,et.parenthesizedAssign=et.trailingComma=-1;else et=new ge,at=!0;var ht=this.start,ut=this.startLoc;if(this.type===nt.parenL||this.type===nt.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait=tt==="await";var ct=this.parseMaybeConditional(tt,et);if(st)ct=st.call(this,ct,ht,ut);if(this.type.isAssign){var lt=this.startNodeAt(ht,ut);if(lt.operator=this.value,this.type===nt.eq)ct=this.toAssignable(ct,!1,et);if(!at)et.parenthesizedAssign=et.trailingComma=et.doubleProto=-1;if(et.shorthandAssign>=ct.start)et.shorthandAssign=-1;if(this.type===nt.eq)this.checkLValPattern(ct);else this.checkLValSimple(ct);if(lt.left=ct,this.next(),lt.right=this.parseMaybeAssign(tt),rt>-1)et.doubleProto=rt;return this.finishNode(lt,"AssignmentExpression")}else if(at)this.checkExpressionErrors(et,!0);if(ot>-1)et.parenthesizedAssign=ot;if(it>-1)et.trailingComma=it;return ct};mt.parseMaybeConditional=function(tt,et){var st=this.start,at=this.startLoc,ot=this.parseExprOps(tt,et);if(this.checkExpressionErrors(et))return ot;if(!(ot.type==="ArrowFunctionExpression"&&ot.start===st)&&this.eat(nt.question)){var it=this.startNodeAt(st,at);return it.test=ot,it.consequent=this.parseMaybeAssign(),this.expect(nt.colon),it.alternate=this.parseMaybeAssign(tt),this.finishNode(it,"ConditionalExpression")}return ot};mt.parseExprOps=function(tt,et){var st=this.start,at=this.startLoc,ot=this.parseMaybeUnary(et,!1,!1,tt);if(this.checkExpressionErrors(et))return ot;return ot.start===st&&ot.type==="ArrowFunctionExpression"?ot:this.parseExprOp(ot,st,at,-1,tt)};mt.parseExprOp=function(tt,et,st,at,ot){var it=this.type.binop;if(it!=null&&(!ot||this.type!==nt._in)){if(it>at){var rt=this.type===nt.logicalOR||this.type===nt.logicalAND,ht=this.type===nt.coalesce;if(ht)it=nt.logicalAND.binop;var ut=this.value;this.next();var ct=this.start,lt=this.startLoc,pt=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,ot),ct,lt,it,ot),dt=this.buildBinary(et,st,tt,pt,ut,rt||ht);if(rt&&this.type===nt.coalesce||ht&&(this.type===nt.logicalOR||this.type===nt.logicalAND))this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(dt,et,st,at,ot)}}return tt};mt.buildBinary=function(tt,et,st,at,ot,it){if(at.type==="PrivateIdentifier")this.raise(at.start,"Private identifier can only be left side of binary expression");var rt=this.startNodeAt(tt,et);return rt.left=st,rt.operator=ot,rt.right=at,this.finishNode(rt,it?"LogicalExpression":"BinaryExpression")};mt.parseMaybeUnary=function(tt,et,st,at){var ot=this.start,it=this.startLoc,rt;if(this.isContextual("await")&&this.canAwait)rt=this.parseAwait(at),et=!0;else if(this.type.prefix){var ht=this.startNode(),ut=this.type===nt.incDec;if(ht.operator=this.value,ht.prefix=!0,this.next(),ht.argument=this.parseMaybeUnary(null,!0,ut,at),this.checkExpressionErrors(tt,!0),ut)this.checkLValSimple(ht.argument);else if(this.strict&&ht.operator==="delete"&&fs(ht.argument))this.raiseRecoverable(ht.start,"Deleting local variable in strict mode");else if(ht.operator==="delete"&&Le(ht.argument))this.raiseRecoverable(ht.start,"Private fields can not be deleted");else et=!0;rt=this.finishNode(ht,ut?"UpdateExpression":"UnaryExpression")}else if(!et&&this.type===nt.privateId){if((at||this.privateNameStack.length===0)&&this.options.checkPrivateFields)this.unexpected();if(rt=this.parsePrivateIdent(),this.type!==nt._in)this.unexpected()}else{if(rt=this.parseExprSubscripts(tt,at),this.checkExpressionErrors(tt))return rt;while(this.type.postfix&&!this.canInsertSemicolon()){var ct=this.startNodeAt(ot,it);ct.operator=this.value,ct.prefix=!1,ct.argument=rt,this.checkLValSimple(rt),this.next(),rt=this.finishNode(ct,"UpdateExpression")}}if(!st&&!(rt.type==="ArrowFunctionExpression"&&rt.start===ot)&&this.eat(nt.starstar))if(et)this.unexpected(this.lastTokStart);else return this.buildBinary(ot,it,rt,this.parseMaybeUnary(null,!1,!1,at),"**",!1);else return rt};function fs(tt){return tt.type==="Identifier"||tt.type==="ParenthesizedExpression"&&fs(tt.expression)}function Le(tt){return tt.type==="MemberExpression"&&tt.property.type==="PrivateIdentifier"||tt.type==="ChainExpression"&&Le(tt.expression)||tt.type==="ParenthesizedExpression"&&Le(tt.expression)}mt.parseExprSubscripts=function(tt,et){var st=this.start,at=this.startLoc,ot=this.parseExprAtom(tt,et);if(ot.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return ot;var it=this.parseSubscripts(ot,st,at,!1,et);if(tt&&it.type==="MemberExpression"){if(tt.parenthesizedAssign>=it.start)tt.parenthesizedAssign=-1;if(tt.parenthesizedBind>=it.start)tt.parenthesizedBind=-1;if(tt.trailingComma>=it.start)tt.trailingComma=-1}return it};mt.parseSubscripts=function(tt,et,st,at,ot){var it=this.options.ecmaVersion>=8&&tt.type==="Identifier"&&tt.name==="async"&&this.lastTokEnd===tt.end&&!this.canInsertSemicolon()&&tt.end-tt.start===5&&this.potentialArrowAt===tt.start,rt=!1;while(!0){var ht=this.parseSubscript(tt,et,st,at,it,rt,ot);if(ht.optional)rt=!0;if(ht===tt||ht.type==="ArrowFunctionExpression"){if(rt){var ut=this.startNodeAt(et,st);ut.expression=ht,ht=this.finishNode(ut,"ChainExpression")}return ht}tt=ht}};mt.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(nt.arrow)};mt.parseSubscriptAsyncArrow=function(tt,et,st,at){return this.parseArrowExpression(this.startNodeAt(tt,et),st,!0,at)};mt.parseSubscript=function(tt,et,st,at,ot,it,rt){var ht=this.options.ecmaVersion>=11,ut=ht&&this.eat(nt.questionDot);if(at&&ut)this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var ct=this.eat(nt.bracketL);if(ct||ut&&this.type!==nt.parenL&&this.type!==nt.backQuote||this.eat(nt.dot)){var lt=this.startNodeAt(et,st);if(lt.object=tt,ct)lt.property=this.parseExpression(),this.expect(nt.bracketR);else if(this.type===nt.privateId&&tt.type!=="Super")lt.property=this.parsePrivateIdent();else lt.property=this.parseIdent(this.options.allowReserved!=="never");if(lt.computed=!!ct,ht)lt.optional=ut;tt=this.finishNode(lt,"MemberExpression")}else if(!at&&this.eat(nt.parenL)){var pt=new ge,dt=this.yieldPos,wt=this.awaitPos,xt=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var Zt=this.parseExprList(nt.parenR,this.options.ecmaVersion>=8,!1,pt);if(ot&&!ut&&this.shouldParseAsyncArrow()){if(this.checkPatternErrors(pt,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0)this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function");return this.yieldPos=dt,this.awaitPos=wt,this.awaitIdentPos=xt,this.parseSubscriptAsyncArrow(et,st,Zt,rt)}this.checkExpressionErrors(pt,!0),this.yieldPos=dt||this.yieldPos,this.awaitPos=wt||this.awaitPos,this.awaitIdentPos=xt||this.awaitIdentPos;var qt=this.startNodeAt(et,st);if(qt.callee=tt,qt.arguments=Zt,ht)qt.optional=ut;tt=this.finishNode(qt,"CallExpression")}else if(this.type===nt.backQuote){if(ut||it)this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var Ut=this.startNodeAt(et,st);Ut.tag=tt,Ut.quasi=this.parseTemplate({isTagged:!0}),tt=this.finishNode(Ut,"TaggedTemplateExpression")}return tt};mt.parseExprAtom=function(tt,et,st){if(this.type===nt.slash)this.readRegexp();var at,ot=this.potentialArrowAt===this.start;switch(this.type){case nt._super:if(!this.allowSuper)this.raise(this.start,"'super' keyword outside a method");if(at=this.startNode(),this.next(),this.type===nt.parenL&&!this.allowDirectSuper)this.raise(at.start,"super() call outside constructor of a subclass");if(this.type!==nt.dot&&this.type!==nt.bracketL&&this.type!==nt.parenL)this.unexpected();return this.finishNode(at,"Super");case nt._this:return at=this.startNode(),this.next(),this.finishNode(at,"ThisExpression");case nt.name:var it=this.start,rt=this.startLoc,ht=this.containsEsc,ut=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!ht&&ut.name==="async"&&!this.canInsertSemicolon()&&this.eat(nt._function))return this.overrideContext(gt.f_expr),this.parseFunction(this.startNodeAt(it,rt),0,!1,!0,et);if(ot&&!this.canInsertSemicolon()){if(this.eat(nt.arrow))return this.parseArrowExpression(this.startNodeAt(it,rt),[ut],!1,et);if(this.options.ecmaVersion>=8&&ut.name==="async"&&this.type===nt.name&&!ht&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){if(ut=this.parseIdent(!1),this.canInsertSemicolon()||!this.eat(nt.arrow))this.unexpected();return this.parseArrowExpression(this.startNodeAt(it,rt),[ut],!0,et)}}return ut;case nt.regexp:var ct=this.value;return at=this.parseLiteral(ct.value),at.regex={pattern:ct.pattern,flags:ct.flags},at;case nt.num:case nt.string:return this.parseLiteral(this.value);case nt._null:case nt._true:case nt._false:return at=this.startNode(),at.value=this.type===nt._null?null:this.type===nt._true,at.raw=this.type.keyword,this.next(),this.finishNode(at,"Literal");case nt.parenL:var lt=this.start,pt=this.parseParenAndDistinguishExpression(ot,et);if(tt){if(tt.parenthesizedAssign<0&&!this.isSimpleAssignTarget(pt))tt.parenthesizedAssign=lt;if(tt.parenthesizedBind<0)tt.parenthesizedBind=lt}return pt;case nt.bracketL:return at=this.startNode(),this.next(),at.elements=this.parseExprList(nt.bracketR,!0,!0,tt),this.finishNode(at,"ArrayExpression");case nt.braceL:return this.overrideContext(gt.b_expr),this.parseObj(!1,tt);case nt._function:return at=this.startNode(),this.next(),this.parseFunction(at,0);case nt._class:return this.parseClass(this.startNode(),!1);case nt._new:return this.parseNew();case nt.backQuote:return this.parseTemplate();case nt._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(st);else return this.unexpected();default:return this.parseExprAtomDefault()}};mt.parseExprAtomDefault=function(){this.unexpected()};mt.parseExprImport=function(tt){var et=this.startNode();if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword import");if(this.next(),this.type===nt.parenL&&!tt)return this.parseDynamicImport(et);else if(this.type===nt.dot){var st=this.startNodeAt(et.start,et.loc&&et.loc.start);return st.name="import",et.meta=this.finishNode(st,"Identifier"),this.parseImportMeta(et)}else this.unexpected()};mt.parseDynamicImport=function(tt){if(this.next(),tt.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)if(!this.eat(nt.parenR))if(this.expect(nt.comma),!this.afterTrailingComma(nt.parenR)){if(tt.options=this.parseMaybeAssign(),!this.eat(nt.parenR)){if(this.expect(nt.comma),!this.afterTrailingComma(nt.parenR))this.unexpected()}}else tt.options=null;else tt.options=null;else if(!this.eat(nt.parenR)){var et=this.start;if(this.eat(nt.comma)&&this.eat(nt.parenR))this.raiseRecoverable(et,"Trailing comma is not allowed in import()");else this.unexpected(et)}return this.finishNode(tt,"ImportExpression")};mt.parseImportMeta=function(tt){this.next();var et=this.containsEsc;if(tt.property=this.parseIdent(!0),tt.property.name!=="meta")this.raiseRecoverable(tt.property.start,"The only valid meta property for import is 'import.meta'");if(et)this.raiseRecoverable(tt.start,"'import.meta' must not contain escaped characters");if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere)this.raiseRecoverable(tt.start,"Cannot use 'import.meta' outside a module");return this.finishNode(tt,"MetaProperty")};mt.parseLiteral=function(tt){var et=this.startNode();if(et.value=tt,et.raw=this.input.slice(this.start,this.end),et.raw.charCodeAt(et.raw.length-1)===110)et.bigint=et.value!=null?et.value.toString():et.raw.slice(0,-1).replace(/_/g,"");return this.next(),this.finishNode(et,"Literal")};mt.parseParenExpression=function(){this.expect(nt.parenL);var tt=this.parseExpression();return this.expect(nt.parenR),tt};mt.shouldParseArrow=function(tt){return!this.canInsertSemicolon()};mt.parseParenAndDistinguishExpression=function(tt,et){var st=this.start,at=this.startLoc,ot,it=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var rt=this.start,ht=this.startLoc,ut=[],ct=!0,lt=!1,pt=new ge,dt=this.yieldPos,wt=this.awaitPos,xt;this.yieldPos=0,this.awaitPos=0;while(this.type!==nt.parenR)if(ct?ct=!1:this.expect(nt.comma),it&&this.afterTrailingComma(nt.parenR,!0)){lt=!0;break}else if(this.type===nt.ellipsis){if(xt=this.start,ut.push(this.parseParenItem(this.parseRestBinding())),this.type===nt.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else ut.push(this.parseMaybeAssign(!1,pt,this.parseParenItem));var Zt=this.lastTokEnd,qt=this.lastTokEndLoc;if(this.expect(nt.parenR),tt&&this.shouldParseArrow(ut)&&this.eat(nt.arrow))return this.checkPatternErrors(pt,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=dt,this.awaitPos=wt,this.parseParenArrowList(st,at,ut,et);if(!ut.length||lt)this.unexpected(this.lastTokStart);if(xt)this.unexpected(xt);if(this.checkExpressionErrors(pt,!0),this.yieldPos=dt||this.yieldPos,this.awaitPos=wt||this.awaitPos,ut.length>1)ot=this.startNodeAt(rt,ht),ot.expressions=ut,this.finishNodeAt(ot,"SequenceExpression",Zt,qt);else ot=ut[0]}else ot=this.parseParenExpression();if(this.options.preserveParens){var Ut=this.startNodeAt(st,at);return Ut.expression=ot,this.finishNode(Ut,"ParenthesizedExpression")}else return ot};mt.parseParenItem=function(tt){return tt};mt.parseParenArrowList=function(tt,et,st,at){return this.parseArrowExpression(this.startNodeAt(tt,et),st,!1,at)};var ti=[];mt.parseNew=function(){if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword new");var tt=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===nt.dot){var et=this.startNodeAt(tt.start,tt.loc&&tt.loc.start);et.name="new",tt.meta=this.finishNode(et,"Identifier"),this.next();var st=this.containsEsc;if(tt.property=this.parseIdent(!0),tt.property.name!=="target")this.raiseRecoverable(tt.property.start,"The only valid meta property for new is 'new.target'");if(st)this.raiseRecoverable(tt.start,"'new.target' must not contain escaped characters");if(!this.allowNewDotTarget)this.raiseRecoverable(tt.start,"'new.target' can only be used in functions and class static block");return this.finishNode(tt,"MetaProperty")}var at=this.start,ot=this.startLoc;if(tt.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),at,ot,!0,!1),tt.callee.type==="Super")this.raiseRecoverable(at,"Invalid use of 'super'");if(this.eat(nt.parenL))tt.arguments=this.parseExprList(nt.parenR,this.options.ecmaVersion>=8,!1);else tt.arguments=ti;return this.finishNode(tt,"NewExpression")};mt.parseTemplateElement=function(tt){var et=tt.isTagged,st=this.startNode();if(this.type===nt.invalidTemplate){if(!et)this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal");st.value={raw:this.value.replace(/\r\n?/g,`
54
+ `),cooked:null}}else st.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
55
+ `),cooked:this.value};return this.next(),st.tail=this.type===nt.backQuote,this.finishNode(st,"TemplateElement")};mt.parseTemplate=function(tt){if(tt===void 0)tt={};var et=tt.isTagged;if(et===void 0)et=!1;var st=this.startNode();this.next(),st.expressions=[];var at=this.parseTemplateElement({isTagged:et});st.quasis=[at];while(!at.tail){if(this.type===nt.eof)this.raise(this.pos,"Unterminated template literal");this.expect(nt.dollarBraceL),st.expressions.push(this.parseExpression()),this.expect(nt.braceR),st.quasis.push(at=this.parseTemplateElement({isTagged:et}))}return this.next(),this.finishNode(st,"TemplateLiteral")};mt.isAsyncProp=function(tt){return!tt.computed&&tt.key.type==="Identifier"&&tt.key.name==="async"&&(this.type===nt.name||this.type===nt.num||this.type===nt.string||this.type===nt.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===nt.star)&&!Et.test(this.input.slice(this.lastTokEnd,this.start))};mt.parseObj=function(tt,et){var st=this.startNode(),at=!0,ot={};st.properties=[],this.next();while(!this.eat(nt.braceR)){if(!at){if(this.expect(nt.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(nt.braceR))break}else at=!1;var it=this.parseProperty(tt,et);if(!tt)this.checkPropClash(it,ot,et);st.properties.push(it)}return this.finishNode(st,tt?"ObjectPattern":"ObjectExpression")};mt.parseProperty=function(tt,et){var st=this.startNode(),at,ot,it,rt;if(this.options.ecmaVersion>=9&&this.eat(nt.ellipsis)){if(tt){if(st.argument=this.parseIdent(!1),this.type===nt.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");return this.finishNode(st,"RestElement")}if(st.argument=this.parseMaybeAssign(!1,et),this.type===nt.comma&&et&&et.trailingComma<0)et.trailingComma=this.start;return this.finishNode(st,"SpreadElement")}if(this.options.ecmaVersion>=6){if(st.method=!1,st.shorthand=!1,tt||et)it=this.start,rt=this.startLoc;if(!tt)at=this.eat(nt.star)}var ht=this.containsEsc;if(this.parsePropertyName(st),!tt&&!ht&&this.options.ecmaVersion>=8&&!at&&this.isAsyncProp(st))ot=!0,at=this.options.ecmaVersion>=9&&this.eat(nt.star),this.parsePropertyName(st);else ot=!1;return this.parsePropertyValue(st,tt,at,ot,it,rt,et,ht),this.finishNode(st,"Property")};mt.parseGetterSetter=function(tt){var et=tt.key.name;this.parsePropertyName(tt),tt.value=this.parseMethod(!1),tt.kind=et;var st=tt.kind==="get"?0:1;if(tt.value.params.length!==st){var at=tt.value.start;if(tt.kind==="get")this.raiseRecoverable(at,"getter should have no params");else this.raiseRecoverable(at,"setter should have exactly one param")}else if(tt.kind==="set"&&tt.value.params[0].type==="RestElement")this.raiseRecoverable(tt.value.params[0].start,"Setter cannot use rest params")};mt.parsePropertyValue=function(tt,et,st,at,ot,it,rt,ht){if((st||at)&&this.type===nt.colon)this.unexpected();if(this.eat(nt.colon))tt.value=et?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,rt),tt.kind="init";else if(this.options.ecmaVersion>=6&&this.type===nt.parenL){if(et)this.unexpected();tt.method=!0,tt.value=this.parseMethod(st,at),tt.kind="init"}else if(!et&&!ht&&this.options.ecmaVersion>=5&&!tt.computed&&tt.key.type==="Identifier"&&(tt.key.name==="get"||tt.key.name==="set")&&(this.type!==nt.comma&&this.type!==nt.braceR&&this.type!==nt.eq)){if(st||at)this.unexpected();this.parseGetterSetter(tt)}else if(this.options.ecmaVersion>=6&&!tt.computed&&tt.key.type==="Identifier"){if(st||at)this.unexpected();if(this.checkUnreserved(tt.key),tt.key.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=ot;if(et)tt.value=this.parseMaybeDefault(ot,it,this.copyNode(tt.key));else if(this.type===nt.eq&&rt){if(rt.shorthandAssign<0)rt.shorthandAssign=this.start;tt.value=this.parseMaybeDefault(ot,it,this.copyNode(tt.key))}else tt.value=this.copyNode(tt.key);tt.kind="init",tt.shorthand=!0}else this.unexpected()};mt.parsePropertyName=function(tt){if(this.options.ecmaVersion>=6)if(this.eat(nt.bracketL))return tt.computed=!0,tt.key=this.parseMaybeAssign(),this.expect(nt.bracketR),tt.key;else tt.computed=!1;return tt.key=this.type===nt.num||this.type===nt.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};mt.initFunction=function(tt){if(tt.id=null,this.options.ecmaVersion>=6)tt.generator=tt.expression=!1;if(this.options.ecmaVersion>=8)tt.async=!1};mt.parseMethod=function(tt,et,st){var at=this.startNode(),ot=this.yieldPos,it=this.awaitPos,rt=this.awaitIdentPos;if(this.initFunction(at),this.options.ecmaVersion>=6)at.generator=tt;if(this.options.ecmaVersion>=8)at.async=!!et;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(Re(et,at.generator)|be|(st?os:0)),this.expect(nt.parenL),at.params=this.parseBindingList(nt.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(at,!1,!0,!1),this.yieldPos=ot,this.awaitPos=it,this.awaitIdentPos=rt,this.finishNode(at,"FunctionExpression")};mt.parseArrowExpression=function(tt,et,st,at){var ot=this.yieldPos,it=this.awaitPos,rt=this.awaitIdentPos;if(this.enterScope(Re(st,!1)|Ie),this.initFunction(tt),this.options.ecmaVersion>=8)tt.async=!!st;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,tt.params=this.toAssignableList(et,!0),this.parseFunctionBody(tt,!0,!1,at),this.yieldPos=ot,this.awaitPos=it,this.awaitIdentPos=rt,this.finishNode(tt,"ArrowFunctionExpression")};mt.parseFunctionBody=function(tt,et,st,at){var ot=et&&this.type!==nt.braceL,it=this.strict,rt=!1;if(ot)tt.body=this.parseMaybeAssign(at),tt.expression=!0,this.checkParams(tt,!1);else{var ht=this.options.ecmaVersion>=7&&!this.isSimpleParamList(tt.params);if(!it||ht){if(rt=this.strictDirective(this.end),rt&&ht)this.raiseRecoverable(tt.start,"Illegal 'use strict' directive in function with non-simple parameter list")}var ut=this.labels;if(this.labels=[],rt)this.strict=!0;if(this.checkParams(tt,!it&&!rt&&!et&&!st&&this.isSimpleParamList(tt.params)),this.strict&&tt.id)this.checkLValSimple(tt.id,ls);tt.body=this.parseBlock(!1,void 0,rt&&!it),tt.expression=!1,this.adaptDirectivePrologue(tt.body.body),this.labels=ut}this.exitScope()};mt.isSimpleParamList=function(tt){for(var et=0,st=tt;et<st.length;et+=1){var at=st[et];if(at.type!=="Identifier")return!1}return!0};mt.checkParams=function(tt,et){var st=Object.create(null);for(var at=0,ot=tt.params;at<ot.length;at+=1){var it=ot[at];this.checkLValInnerPattern(it,Ve,et?null:st)}};mt.parseExprList=function(tt,et,st,at){var ot=[],it=!0;while(!this.eat(tt)){if(!it){if(this.expect(nt.comma),et&&this.afterTrailingComma(tt))break}else it=!1;var rt=void 0;if(st&&this.type===nt.comma)rt=null;else if(this.type===nt.ellipsis){if(rt=this.parseSpread(at),at&&this.type===nt.comma&&at.trailingComma<0)at.trailingComma=this.start}else rt=this.parseMaybeAssign(!1,at);ot.push(rt)}return ot};mt.checkUnreserved=function(tt){var{start:et,end:st,name:at}=tt;if(this.inGenerator&&at==="yield")this.raiseRecoverable(et,"Cannot use 'yield' as identifier inside a generator");if(this.inAsync&&at==="await")this.raiseRecoverable(et,"Cannot use 'await' as identifier inside an async function");if(!(this.currentThisScope().flags&xe)&&at==="arguments")this.raiseRecoverable(et,"Cannot use 'arguments' in class field initializer");if(this.inClassStaticBlock&&(at==="arguments"||at==="await"))this.raise(et,"Cannot use "+at+" in class static initialization block");if(this.keywords.test(at))this.raise(et,"Unexpected keyword '"+at+"'");if(this.options.ecmaVersion<6&&this.input.slice(et,st).indexOf("\\")!==-1)return;var ot=this.strict?this.reservedWordsStrict:this.reservedWords;if(ot.test(at)){if(!this.inAsync&&at==="await")this.raiseRecoverable(et,"Cannot use keyword 'await' outside an async function");this.raiseRecoverable(et,"The keyword '"+at+"' is reserved")}};mt.parseIdent=function(tt){var et=this.parseIdentNode();if(this.next(!!tt),this.finishNode(et,"Identifier"),!tt){if(this.checkUnreserved(et),et.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=et.start}return et};mt.parseIdentNode=function(){var tt=this.startNode();if(this.type===nt.name)tt.name=this.value;else if(this.type.keyword){if(tt.name=this.type.keyword,(tt.name==="class"||tt.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46))this.context.pop();this.type=nt.name}else this.unexpected();return tt};mt.parsePrivateIdent=function(){var tt=this.startNode();if(this.type===nt.privateId)tt.name=this.value;else this.unexpected();if(this.next(),this.finishNode(tt,"PrivateIdentifier"),this.options.checkPrivateFields)if(this.privateNameStack.length===0)this.raise(tt.start,"Private field '#"+tt.name+"' must be declared in an enclosing class");else this.privateNameStack[this.privateNameStack.length-1].used.push(tt);return tt};mt.parseYield=function(tt){if(!this.yieldPos)this.yieldPos=this.start;var et=this.startNode();if(this.next(),this.type===nt.semi||this.canInsertSemicolon()||this.type!==nt.star&&!this.type.startsExpr)et.delegate=!1,et.argument=null;else et.delegate=this.eat(nt.star),et.argument=this.parseMaybeAssign(tt);return this.finishNode(et,"YieldExpression")};mt.parseAwait=function(tt){if(!this.awaitPos)this.awaitPos=this.start;var et=this.startNode();return this.next(),et.argument=this.parseMaybeUnary(null,!0,!1,tt),this.finishNode(et,"AwaitExpression")};var me=kt.prototype;me.raise=function(tt,et){var st=rs(this.input,tt);if(et+=" ("+st.line+":"+st.column+")",this.sourceFile)et+=" in "+this.sourceFile;var at=SyntaxError(et);throw at.pos=tt,at.loc=st,at.raisedAt=this.pos,at};me.raiseRecoverable=me.raise;me.curPosition=function(){if(this.options.locations)return new Gt(this.curLine,this.pos-this.lineStart)};var Ot=kt.prototype,ei=function(et){this.flags=et,this.var=[],this.lexical=[],this.functions=[]};Ot.enterScope=function(tt){this.scopeStack.push(new ei(tt))};Ot.exitScope=function(){this.scopeStack.pop()};Ot.treatFunctionsAsVarInScope=function(tt){return tt.flags&Mt||!this.inModule&&tt.flags&Ft};Ot.declareName=function(tt,et,st){var at=!1;if(et===Vt){var ot=this.currentScope();if(at=ot.lexical.indexOf(tt)>-1||ot.functions.indexOf(tt)>-1||ot.var.indexOf(tt)>-1,ot.lexical.push(tt),this.inModule&&ot.flags&Ft)delete this.undefinedExports[tt]}else if(et===cs){var it=this.currentScope();it.lexical.push(tt)}else if(et===us){var rt=this.currentScope();if(this.treatFunctionsAsVar)at=rt.lexical.indexOf(tt)>-1;else at=rt.lexical.indexOf(tt)>-1||rt.var.indexOf(tt)>-1;rt.functions.push(tt)}else for(var ht=this.scopeStack.length-1;ht>=0;--ht){var ut=this.scopeStack[ht];if(ut.lexical.indexOf(tt)>-1&&!(ut.flags&ns&&ut.lexical[0]===tt)||!this.treatFunctionsAsVarInScope(ut)&&ut.functions.indexOf(tt)>-1){at=!0;break}if(ut.var.push(tt),this.inModule&&ut.flags&Ft)delete this.undefinedExports[tt];if(ut.flags&xe)break}if(at)this.raiseRecoverable(st,"Identifier '"+tt+"' has already been declared")};Ot.checkLocalExport=function(tt){if(this.scopeStack[0].lexical.indexOf(tt.name)===-1&&this.scopeStack[0].var.indexOf(tt.name)===-1)this.undefinedExports[tt.name]=tt};Ot.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};Ot.currentVarScope=function(){for(var tt=this.scopeStack.length-1;;tt--){var et=this.scopeStack[tt];if(et.flags&(xe|Qt|Dt))return et}};Ot.currentThisScope=function(){for(var tt=this.scopeStack.length-1;;tt--){var et=this.scopeStack[tt];if(et.flags&(xe|Qt|Dt)&&!(et.flags&Ie))return et}};var we=function(et,st,at){if(this.type="",this.start=st,this.end=0,et.options.locations)this.loc=new ye(et,at);if(et.options.directSourceFile)this.sourceFile=et.options.directSourceFile;if(et.options.ranges)this.range=[st,0]},Xt=kt.prototype;Xt.startNode=function(){return new we(this,this.start,this.startLoc)};Xt.startNodeAt=function(tt,et){return new we(this,tt,et)};function ds(tt,et,st,at){if(tt.type=et,tt.end=st,this.options.locations)tt.loc.end=at;if(this.options.ranges)tt.range[1]=st;return tt}Xt.finishNode=function(tt,et){return ds.call(this,tt,et,this.lastTokEnd,this.lastTokEndLoc)};Xt.finishNodeAt=function(tt,et,st,at){return ds.call(this,tt,et,st,at)};Xt.copyNode=function(tt){var et=new we(this,tt.start,this.startLoc);for(var st in tt)et[st]=tt[st];return et};var ms=function(){};ms.prototype.reset=function(){};kt.prototype.validateRegExpFlags=function(){};kt.prototype.validateRegExpPattern=function(){};var Fe=function(et){if(this.type=et.type,this.value=et.value,this.start=et.start,this.end=et.end,et.options.locations)this.loc=new ye(et,et.startLoc,et.endLoc);if(et.options.ranges)this.range=[et.start,et.end]},vt=kt.prototype;vt.next=function(tt){if(!tt&&this.type.keyword&&this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword);if(this.options.onToken)this.options.onToken(new Fe(this));this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};vt.getToken=function(){return this.next(),new Fe(this)};if(typeof Symbol<"u")vt[Symbol.iterator]=function(){var tt=this;return{next:function(){var et=tt.getToken();return{done:et.type===nt.eof,value:et}}}};vt.nextToken=function(){var tt=this.curContext();if(!tt||!tt.preserveSpace)this.skipSpace();if(this.start=this.pos,this.options.locations)this.startLoc=this.curPosition();if(this.pos>=this.input.length)return this.finishToken(nt.eof);if(tt.override)return tt.override(this);else this.readToken(this.fullCharCodeAtPos())};vt.readToken=function(tt){if(t(tt,this.options.ecmaVersion>=6)||tt===92)return this.readWord();return this.getTokenFromCode(tt)};vt.fullCharCodeAt=function(tt){var et=this.input.charCodeAt(tt);if(et<=55295||et>=56320)return et;var st=this.input.charCodeAt(tt+1);return st<=56319||st>=57344?et:(et<<10)+st-56613888};vt.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};vt.skipBlockComment=function(){var tt=this.options.onComment&&this.curPosition(),et=this.pos,st=this.input.indexOf("*/",this.pos+=2);if(st===-1)this.raise(this.pos-2,"Unterminated comment");if(this.pos=st+2,this.options.locations)for(var at=void 0,ot=et;(at=es(this.input,ot,this.pos))>-1;)++this.curLine,ot=this.lineStart=at;if(this.options.onComment)this.options.onComment(!0,this.input.slice(et+2,st),et,this.pos,tt,this.curPosition())};vt.skipLineComment=function(tt){var et=this.pos,st=this.options.onComment&&this.curPosition(),at=this.input.charCodeAt(this.pos+=tt);while(this.pos<this.input.length&&!jt(at))at=this.input.charCodeAt(++this.pos);if(this.options.onComment)this.options.onComment(!1,this.input.slice(et+tt,this.pos),et,this.pos,st,this.curPosition())};vt.skipSpace=function(){t:while(this.pos<this.input.length){var tt=this.input.charCodeAt(this.pos);switch(tt){case 32:case 160:++this.pos;break;case 13:if(this.input.charCodeAt(this.pos+1)===10)++this.pos;case 10:case 8232:case 8233:if(++this.pos,this.options.locations)++this.curLine,this.lineStart=this.pos;break;case 47:switch(this.input.charCodeAt(this.pos+1)){case 42:this.skipBlockComment();break;case 47:this.skipLineComment(2);break;default:break t}break;default:if(tt>8&&tt<14||tt>=5760&&ss.test(String.fromCharCode(tt)))++this.pos;else break t}}};vt.finishToken=function(tt,et){if(this.end=this.pos,this.options.locations)this.endLoc=this.curPosition();var st=this.type;this.type=tt,this.value=et,this.updateContext(st)};vt.readToken_dot=function(){var tt=this.input.charCodeAt(this.pos+1);if(tt>=48&&tt<=57)return this.readNumber(!0);var et=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&tt===46&&et===46)return this.pos+=3,this.finishToken(nt.ellipsis);else return++this.pos,this.finishToken(nt.dot)};vt.readToken_slash=function(){var tt=this.input.charCodeAt(this.pos+1);if(this.exprAllowed)return++this.pos,this.readRegexp();if(tt===61)return this.finishOp(nt.assign,2);return this.finishOp(nt.slash,1)};vt.readToken_mult_modulo_exp=function(tt){var et=this.input.charCodeAt(this.pos+1),st=1,at=tt===42?nt.star:nt.modulo;if(this.options.ecmaVersion>=7&&tt===42&&et===42)++st,at=nt.starstar,et=this.input.charCodeAt(this.pos+2);if(et===61)return this.finishOp(nt.assign,st+1);return this.finishOp(at,st)};vt.readToken_pipe_amp=function(tt){var et=this.input.charCodeAt(this.pos+1);if(et===tt){if(this.options.ecmaVersion>=12){var st=this.input.charCodeAt(this.pos+2);if(st===61)return this.finishOp(nt.assign,3)}return this.finishOp(tt===124?nt.logicalOR:nt.logicalAND,2)}if(et===61)return this.finishOp(nt.assign,2);return this.finishOp(tt===124?nt.bitwiseOR:nt.bitwiseAND,1)};vt.readToken_caret=function(){var tt=this.input.charCodeAt(this.pos+1);if(tt===61)return this.finishOp(nt.assign,2);return this.finishOp(nt.bitwiseXOR,1)};vt.readToken_plus_min=function(tt){var et=this.input.charCodeAt(this.pos+1);if(et===tt){if(et===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||Et.test(this.input.slice(this.lastTokEnd,this.pos))))return this.skipLineComment(3),this.skipSpace(),this.nextToken();return this.finishOp(nt.incDec,2)}if(et===61)return this.finishOp(nt.assign,2);return this.finishOp(nt.plusMin,1)};vt.readToken_lt_gt=function(tt){var et=this.input.charCodeAt(this.pos+1),st=1;if(et===tt){if(st=tt===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+st)===61)return this.finishOp(nt.assign,st+1);return this.finishOp(nt.bitShift,st)}if(et===33&&tt===60&&!this.inModule&&this.input.charCodeAt(this.pos+2)===45&&this.input.charCodeAt(this.pos+3)===45)return this.skipLineComment(4),this.skipSpace(),this.nextToken();if(et===61)st=2;return this.finishOp(nt.relational,st)};vt.readToken_eq_excl=function(tt){var et=this.input.charCodeAt(this.pos+1);if(et===61)return this.finishOp(nt.equality,this.input.charCodeAt(this.pos+2)===61?3:2);if(tt===61&&et===62&&this.options.ecmaVersion>=6)return this.pos+=2,this.finishToken(nt.arrow);return this.finishOp(tt===61?nt.eq:nt.prefix,1)};vt.readToken_question=function(){var tt=this.options.ecmaVersion;if(tt>=11){var et=this.input.charCodeAt(this.pos+1);if(et===46){var st=this.input.charCodeAt(this.pos+2);if(st<48||st>57)return this.finishOp(nt.questionDot,2)}if(et===63){if(tt>=12){var at=this.input.charCodeAt(this.pos+2);if(at===61)return this.finishOp(nt.assign,3)}return this.finishOp(nt.coalesce,2)}}return this.finishOp(nt.question,1)};vt.readToken_numberSign=function(){var tt=this.options.ecmaVersion,et=35;if(tt>=13){if(++this.pos,et=this.fullCharCodeAtPos(),t(et,!0)||et===92)return this.finishToken(nt.privateId,this.readWord1())}this.raise(this.pos,"Unexpected character '"+ve(et)+"'")};vt.getTokenFromCode=function(tt){switch(tt){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(nt.parenL);case 41:return++this.pos,this.finishToken(nt.parenR);case 59:return++this.pos,this.finishToken(nt.semi);case 44:return++this.pos,this.finishToken(nt.comma);case 91:return++this.pos,this.finishToken(nt.bracketL);case 93:return++this.pos,this.finishToken(nt.bracketR);case 123:return++this.pos,this.finishToken(nt.braceL);case 125:return++this.pos,this.finishToken(nt.braceR);case 58:return++this.pos,this.finishToken(nt.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(nt.backQuote);case 48:var et=this.input.charCodeAt(this.pos+1);if(et===120||et===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(et===111||et===79)return this.readRadixNumber(8);if(et===98||et===66)return this.readRadixNumber(2)}case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return this.readNumber(!1);case 34:case 39:return this.readString(tt);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(tt);case 124:case 38:return this.readToken_pipe_amp(tt);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(tt);case 60:case 62:return this.readToken_lt_gt(tt);case 61:case 33:return this.readToken_eq_excl(tt);case 63:return this.readToken_question();case 126:return this.finishOp(nt.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+ve(tt)+"'")};vt.finishOp=function(tt,et){var st=this.input.slice(this.pos,this.pos+et);return this.pos+=et,this.finishToken(tt,st)};vt.readRegexp=function(){var tt,et,st=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(st,"Unterminated regular expression");var at=this.input.charAt(this.pos);if(Et.test(at))this.raise(st,"Unterminated regular expression");if(!tt){if(at==="[")et=!0;else if(at==="]"&&et)et=!1;else if(at==="/"&&!et)break;tt=at==="\\"}else tt=!1;++this.pos}var ot=this.input.slice(st,this.pos);++this.pos;var it=this.pos,rt=this.readWord1();if(this.containsEsc)this.unexpected(it);var ht=this.regexpState||(this.regexpState=new ms(this));ht.reset(st,ot,rt),this.validateRegExpFlags(ht),this.validateRegExpPattern(ht);var ut=null;try{ut=new RegExp(ot,rt)}catch(ct){}return this.finishToken(nt.regexp,{pattern:ot,flags:rt,value:ut})};vt.readInt=function(tt,et,st){var at=this.options.ecmaVersion>=12&&et===void 0,ot=st&&this.input.charCodeAt(this.pos)===48,it=this.pos,rt=0,ht=0;for(var ut=0,ct=et==null?1/0:et;ut<ct;++ut,++this.pos){var lt=this.input.charCodeAt(this.pos),pt=void 0;if(at&&lt===95){if(ot)this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals");if(ht===95)this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore");if(ut===0)this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits");ht=lt;continue}if(lt>=97)pt=lt-97+10;else if(lt>=65)pt=lt-65+10;else if(lt>=48&&lt<=57)pt=lt-48;else pt=1/0;if(pt>=tt)break;ht=lt,rt=rt*tt+pt}if(at&&ht===95)this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits");if(this.pos===it||et!=null&&this.pos-it!==et)return null;return rt};function si(tt,et){if(et)return parseInt(tt,8);return parseFloat(tt.replace(/_/g,""))}function vs(tt){if(typeof BigInt!=="function")return null;return BigInt(tt.replace(/_/g,""))}vt.readRadixNumber=function(tt){var et=this.pos;this.pos+=2;var st=this.readInt(tt);if(st==null)this.raise(this.start+2,"Expected number in radix "+tt);if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110)st=vs(this.input.slice(et,this.pos)),++this.pos;else if(t(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(nt.num,st)};vt.readNumber=function(tt){var et=this.pos;if(!tt&&this.readInt(10,void 0,!0)===null)this.raise(et,"Invalid number");var st=this.pos-et>=2&&this.input.charCodeAt(et)===48;if(st&&this.strict)this.raise(et,"Invalid number");var at=this.input.charCodeAt(this.pos);if(!st&&!tt&&this.options.ecmaVersion>=11&&at===110){var ot=vs(this.input.slice(et,this.pos));if(++this.pos,t(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(nt.num,ot)}if(st&&/[89]/.test(this.input.slice(et,this.pos)))st=!1;if(at===46&&!st)++this.pos,this.readInt(10),at=this.input.charCodeAt(this.pos);if((at===69||at===101)&&!st){if(at=this.input.charCodeAt(++this.pos),at===43||at===45)++this.pos;if(this.readInt(10)===null)this.raise(et,"Invalid number")}if(t(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");var it=si(this.input.slice(et,this.pos),st);return this.finishToken(nt.num,it)};vt.readCodePoint=function(){var tt=this.input.charCodeAt(this.pos),et;if(tt===123){if(this.options.ecmaVersion<6)this.unexpected();var st=++this.pos;if(et=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,et>1114111)this.invalidStringToken(st,"Code point out of bounds")}else et=this.readHexChar(4);return et};vt.readString=function(tt){var et="",st=++this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated string constant");var at=this.input.charCodeAt(this.pos);if(at===tt)break;if(at===92)et+=this.input.slice(st,this.pos),et+=this.readEscapedChar(!1),st=this.pos;else if(at===8232||at===8233){if(this.options.ecmaVersion<10)this.raise(this.start,"Unterminated string constant");if(++this.pos,this.options.locations)this.curLine++,this.lineStart=this.pos}else{if(jt(at))this.raise(this.start,"Unterminated string constant");++this.pos}}return et+=this.input.slice(st,this.pos++),this.finishToken(nt.string,et)};var ys={};vt.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(tt){if(tt===ys)this.readInvalidTemplateToken();else throw tt}this.inTemplateElement=!1};vt.invalidStringToken=function(tt,et){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw ys;else this.raise(tt,et)};vt.readTmplToken=function(){var tt="",et=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated template");var st=this.input.charCodeAt(this.pos);if(st===96||st===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===nt.template||this.type===nt.invalidTemplate))if(st===36)return this.pos+=2,this.finishToken(nt.dollarBraceL);else return++this.pos,this.finishToken(nt.backQuote);return tt+=this.input.slice(et,this.pos),this.finishToken(nt.template,tt)}if(st===92)tt+=this.input.slice(et,this.pos),tt+=this.readEscapedChar(!0),et=this.pos;else if(jt(st)){switch(tt+=this.input.slice(et,this.pos),++this.pos,st){case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:tt+=`
56
+ `;break;default:tt+=String.fromCharCode(st);break}if(this.options.locations)++this.curLine,this.lineStart=this.pos;et=this.pos}else++this.pos}};vt.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(nt.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":if(this.input[this.pos+1]===`
57
+ `)++this.pos;case`
58
+ `:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};vt.readEscapedChar=function(tt){var et=this.input.charCodeAt(++this.pos);switch(++this.pos,et){case 110:return`
59
+ `;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return ve(this.readCodePoint());case 116:return"\t";case 98:return"\b";case 118:return"\v";case 102:return"\f";case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:if(this.options.locations)this.lineStart=this.pos,++this.curLine;return"";case 56:case 57:if(this.strict)this.invalidStringToken(this.pos-1,"Invalid escape sequence");if(tt){var st=this.pos-1;this.invalidStringToken(st,"Invalid escape sequence in template string")}default:if(et>=48&&et<=55){var at=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],ot=parseInt(at,8);if(ot>255)at=at.slice(0,-1),ot=parseInt(at,8);if(this.pos+=at.length-1,et=this.input.charCodeAt(this.pos),(at!=="0"||et===56||et===57)&&(this.strict||tt))this.invalidStringToken(this.pos-1-at.length,tt?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(ot)}if(jt(et)){if(this.options.locations)this.lineStart=this.pos,++this.curLine;return""}return String.fromCharCode(et)}};vt.readHexChar=function(tt){var et=this.pos,st=this.readInt(16,tt);if(st===null)this.invalidStringToken(et,"Bad character escape sequence");return st};vt.readWord1=function(){this.containsEsc=!1;var tt="",et=!0,st=this.pos,at=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var ot=this.fullCharCodeAtPos();if(r(ot,at))this.pos+=ot<=65535?1:2;else if(ot===92){this.containsEsc=!0,tt+=this.input.slice(st,this.pos);var it=this.pos;if(this.input.charCodeAt(++this.pos)!==117)this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX");++this.pos;var rt=this.readCodePoint();if(!(et?t:r)(rt,at))this.invalidStringToken(it,"Invalid Unicode escape");tt+=ve(rt),st=this.pos}else break;et=!1}return tt+this.input.slice(st,this.pos)};vt.readWord=function(){var tt=this.readWord1(),et=nt.name;if(this.keywords.test(tt))et=Bt[tt];return this.finishToken(et,tt)};var ii="8.18.0";kt.acorn={Parser:kt,version:ii,defaultOptions:Te,Position:Gt,SourceLocation:ye,getLineInfo:rs,Node:we,TokenType:bt,tokTypes:nt,keywordTypes:Bt,TokContext:It,tokContexts:gt,isIdentifierChar:r,isIdentifierStart:t,Token:Fe,isNewLine:jt,lineBreak:Et,lineBreakG:Ws,nonASCIIwhitespace:ss};var zt="",xs=[];function gs(tt,et){zt=tt,xs=et}function ws(tt,et,st,at,ot,it){let rt=et;if(tt&&rt.includes(`
60
+ `)){let ut=zt.lastIndexOf(`
61
+ `,st-1)+1,ct=ut,lt=zt.charCodeAt(ct);while(lt===32||lt===9)lt=zt.charCodeAt(++ct);if(ct>ut)rt=ri(rt,zt.slice(ut,ct))}let ht={type:tt?"Block":"Line",value:rt,start:st,end:at};if(ot&&it)ht.loc={start:ot,end:it};xs.push(ht)}function ri(tt,et){let st=tt.startsWith(et)?et.length:0,at="",ot=tt.indexOf(`
62
+ `,st);while(ot!==-1){if(at+=tt.slice(st,ot+1),st=ot+1,tt.startsWith(et,st))st+=et.length;ot=tt.indexOf(`
63
+ `,st)}return at+tt.slice(st)}function ks(tt,et,st){let at=0,ot=et.length;while(at<ot){let it=at+ot>>>1;if(et[it].start<st)at=it+1;else ot=it}if(at>=et.length)return;if(St=et.slice(at).map(({type:it,value:rt,start:ht,end:ut})=>({type:it,value:rt,start:ht,end:ut})),Nt=0,Be(tt,void 0,!1),Nt<St.length&&(St[Nt].start>=tt.end||tt.type==="Program")){tt.trailingComments??=[];while(Nt<St.length)tt.trailingComments.push(St[Nt++])}}var St=[],Nt=0,ai=new Map([["BlockStatement","body"],["Program","body"],["ArrayExpression","elements"],["ObjectExpression","properties"]]);function bs(tt,et){for(let st=tt;st<et;st++){let at=zt.charCodeAt(st);if(at!==44&&at!==41&&at!==32&&at!==9)return!0}return!1}function Be(tt,et,st){while(Nt<St.length&&St[Nt].start<tt.start)tt.leadingComments??=[],tt.leadingComments.push(St[Nt++]);if(Nt>=St.length)return;let at=St[Nt].start;if(at<tt.end||!bs(tt.end,at)){let ot=ai.get(tt.type),it=ot!==void 0&&tt[ot].length===0;for(let rt in tt){if(Nt>=St.length)return;if(rt==="type")continue;let ht=tt[rt];if(!ht||typeof ht!=="object")continue;if(Array.isArray(ht)){let ut=rt===ot;for(let ct=0;ct<ht.length;ct++){let lt=ht[ct];if(lt&&typeof lt==="object"&&lt.type)Be(lt,tt,ut?ct===ht.length-1:it)}}else if(ht.type)Be(ht,tt,it)}if(Nt>=St.length)return}if(et!==void 0&&tt.end===et.end)return;if(st)while(Nt<St.length){if(et&&St[Nt].start>=et.end)break;tt.trailingComments??=[],tt.trailingComments.push(St[Nt++])}else if(tt.end<=St[Nt].start&&!bs(tt.end,St[Nt].start))tt.trailingComments=[St[Nt++]]}var Me=/(?:\s|\/\/.*|\/\*[\s\S]*?\*\/)*/g,ni=new Map([["any","TSAnyKeyword"],["bigint","TSBigIntKeyword"],["boolean","TSBooleanKeyword"],["never","TSNeverKeyword"],["null","TSNullKeyword"],["number","TSNumberKeyword"],["object","TSObjectKeyword"],["string","TSStringKeyword"],["symbol","TSSymbolKeyword"],["undefined","TSUndefinedKeyword"],["unknown","TSUnknownKeyword"],["void","TSVoidKeyword"]]),oi=new Set("public private protected readonly declare abstract override static accessor".split(" ")),hi=new Set("public private protected readonly override".split(" ")),ui=new Set("var let const function class abstract enum interface type namespace module global".split(" ")),ci=new Set("var let const function class interface enum".split(" ")),_s=new Set(["TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"]),Ss=1,li=32,pi=256,fi=0,di=1,Jt=2,mi=3,vi=4,De=6,Ns=7,Ls=256,We=1024,yi=8|We,bi=Jt|Ls,As=1,xi=2,Cs=40,gi=41,wi=44,Es=46,Ts=58,ke=61,$s=60,_e=123,ki=91,qe=42,_i=35,Ue=34,je=39,Si=SyntaxError("speculative parse failed");function Ps(tt){let et=tt,st=et.acorn.tokTypes,at=new et.acorn.TokenType("@");class ot extends et{inType=!1;$5=!1;$6=!1;$8=null;$o=null;$p=!1;$q=!1;$i=null;$b=[[]];$r=0;$13=0;constructor(it,rt,ht){super(it,rt,ht);let ut=this.options.onComment;if(typeof ut==="function")this.options.onComment=(ct,lt,pt,dt,wt,xt)=>{if(pt<this.$13)return;this.$13=dt,ut.call(this,ct,lt,pt,dt,wt,xt)}}getTokenFromCode(it){if(it===64)return++this.pos,this.finishToken(at);return super.getTokenFromCode(it)}readToken_lt_gt(it){if(this.inType)return this.finishOp(st.relational,1);return super.readToken_lt_gt(it)}$9(it){let rt=this.inType;this.inType=!0;let ht=it();if(this.inType=rt,!rt&&this.type===st.relational)this.pos=this.start,this.nextToken();return ht}$1(){return this.type===st.relational&&this.value==="<"}$k(){if(this.type===st.bitShift&&this.value==="<<")this.pos=this.start+1,this.finishToken(st.relational,"<");return this.$1()}$c(){return this.type===st.relational&&this.value===">"}$s(){return this.type===st.prefix&&this.value==="!"}hasPrecedingLineBreak(){return this.$14(this.lastTokEnd,this.start)}$14(it,rt){for(let ht=it;ht<rt;ht++){let ut=this.input.charCodeAt(ht);if(ut===10||ut===13||ut===8232||ut===8233)return!0}return!1}$d(it=this.pos){return Me.lastIndex=it,Me.exec(this.input),Me.lastIndex}$2(){return this.input.charCodeAt(this.$d())}$3(){let it=this.$d(),rt=it;while(rt<this.input.length&&r(this.input.charCodeAt(rt)))rt++;return this.input.slice(it,rt)}$a(){return!this.$14(this.pos,this.$d())}$15(){return this.$a()&&t(this.$2())&&!Object.hasOwn(Bt,this.$3())}$16(){return{pos:this.pos,type:this.type,value:this.value,start:this.start,end:this.end,startLoc:this.startLoc,endLoc:this.endLoc,lastTokStart:this.lastTokStart,lastTokEnd:this.lastTokEnd,lastTokStartLoc:this.lastTokStartLoc,lastTokEndLoc:this.lastTokEndLoc,curLine:this.curLine,lineStart:this.lineStart,context:this.context.slice(),exprAllowed:this.exprAllowed,containsEsc:this.containsEsc,inType:this.inType,$5:this.$5,$6:this.$6,$8:this.$8,scopes:this.scopeStack.length,privateNames:this.privateNameStack.length,labels:this.labels,labelCount:this.labels.length,strict:this.strict,yieldPos:this.yieldPos,awaitPos:this.awaitPos,awaitIdentPos:this.awaitIdentPos,potentialArrowAt:this.potentialArrowAt,potentialArrowInForAwait:this.potentialArrowInForAwait}}$17(it){this.pos=it.pos,this.type=it.type,this.value=it.value,this.start=it.start,this.end=it.end,this.startLoc=it.startLoc,this.endLoc=it.endLoc,this.lastTokStart=it.lastTokStart,this.lastTokEnd=it.lastTokEnd,this.lastTokStartLoc=it.lastTokStartLoc,this.lastTokEndLoc=it.lastTokEndLoc,this.curLine=it.curLine,this.lineStart=it.lineStart,this.context=it.context,this.exprAllowed=it.exprAllowed,this.containsEsc=it.containsEsc,this.inType=it.inType,this.$5=it.$5,this.$6=it.$6,this.$8=it.$8,this.scopeStack.length=it.scopes,this.privateNameStack.length=it.privateNames,this.labels=it.labels,this.labels.length=it.labelCount,this.strict=it.strict,this.yieldPos=it.yieldPos,this.awaitPos=it.awaitPos,this.awaitIdentPos=it.awaitIdentPos,this.potentialArrowAt=it.potentialArrowAt,this.potentialArrowInForAwait=it.potentialArrowInForAwait}raise(it,rt){if(this.$r>0)throw Si;return super.raise(it,rt)}$1z(it,rt){try{super.raise(it,rt)}catch(ht){throw ht.$t=!0,ht}throw Error("unreachable")}$f(it,rt=!1){let ht=this.$16();this.$r++;try{let ut=it();if(rt||ut===void 0)this.$17(ht);return ut}catch(ut){if(!(ut instanceof SyntaxError)||!rt&&ut.$t)throw ut;this.$17(ht);return}finally{this.$r--}}$u(it){return this.$f(it,!0)===!0}$18(it){if(it.end=this.lastTokEnd,this.options.locations)it.loc.end=this.lastTokEndLoc}$l(it,rt){if(it.start=rt.start,this.options.locations)it.loc.start=rt.loc.start}$4(it=!1){let rt=this.startNode();return rt.typeAnnotation=this.$9(()=>(this.next(),it?this.$20():this.$0())),this.finishNode(rt,"TSTypeAnnotation")}$g(it,rt){if(rt&&this.eat(st.question))it.optional=!0,this.$18(it);if(this.type===st.colon)it.typeAnnotation=this.$4(),this.$18(it);return it}$20(){if(this.type!==st.name&&this.type!==st._this)return this.$0();if(this.isContextual("asserts")&&this.$a()&&t(this.$2())){let it=this.startNode();if(this.next(),it.parameterName=this.type===st._this?this.$v():this.parseIdent(),this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.$w(it,!0);return it.asserts=!0,it.typeAnnotation=null,this.finishNode(it,"TSTypePredicate")}if(this.$3()==="is"&&this.$a()){let it=this.startNode();return it.parameterName=this.type===st._this?this.$v():this.parseIdent(!0),this.$w(it,!1)}return this.$0()}$w(it,rt){this.next();let ht=this.startNode();return ht.typeAnnotation=this.$0(),it.typeAnnotation=this.finishNode(ht,"TSTypeAnnotation"),it.asserts=rt,this.finishNode(it,"TSTypePredicate")}$v(){let it=this.startNode();return this.next(),this.finishNode(it,"TSThisType")}$0(){let it=this.$19();if(this.$5||this.type!==st._extends||this.hasPrecedingLineBreak())return it;let rt=this.startNodeAt(it.start,it.loc?.start);return this.next(),rt.checkType=it,rt.extendsType=this.$h(!0,()=>this.$19()),this.expect(st.question),rt.trueType=this.$h(!1,()=>this.$0()),this.expect(st.colon),rt.falseType=this.$h(!1,()=>this.$0()),this.finishNode(rt,"TSConditionalType")}$h(it,rt){let ht=this.$5;this.$5=it;let ut=rt();return this.$5=ht,ut}$19(){if(this.$21())return this.$1a("TSFunctionType");if(this.type===st._new||this.isContextual("abstract")&&this.$3()==="new")return this.$1a("TSConstructorType");return this.$1b("TSUnionType",st.bitwiseOR,()=>this.$1b("TSIntersectionType",st.bitwiseAND,()=>this.$1c()))}$1a(it){let rt=this.startNode();if(it==="TSConstructorType"){if(rt.abstract=this.isContextual("abstract"),rt.abstract)this.next();this.next()}return this.$h(!1,()=>this.$m(rt,st.arrow)),this.finishNode(rt,it)}$m(it,rt){if(this.$1())it.typeParameters=this.$7();if(this.expect(st.parenL),it.parameters=this.parseBindingList(st.parenR,!1,!0),this.type===rt)it.typeAnnotation=this.$4(!0);else if(rt===st.arrow)this.unexpected()}$21(){if(this.$1())return!0;if(this.type!==st.parenL)return!1;return this.$u(()=>{if(this.next(),this.type===st.parenR||this.type===st.ellipsis)return!0;if(this.type===st.name||this.type===st._this)this.next();else if(this.type===st.braceL||this.type===st.bracketL)this.parseBindingAtom();else return!1;let it=this.type;if(it===st.colon||it===st.comma||it===st.question||it===st.eq)return!0;if(it!==st.parenR)return!1;return this.next(),this.type===st.arrow})}$1b(it,rt,ht){let ut=this.startNode(),ct=this.eat(rt),lt=[];do lt.push(ht());while(this.eat(rt));if(lt.length===1&&!ct)return lt[0];return ut.types=lt,this.finishNode(ut,it)}$1c(){if(this.type===st.name&&!this.containsEsc){let it=this.value;if(it==="keyof"||it==="unique"||it==="readonly"){let rt=this.startNode();return this.next(),rt.operator=it,rt.typeAnnotation=this.$1c(),this.finishNode(rt,"TSTypeOperator")}if(it==="infer"){let rt=this.startNode();this.next();let ht=this.startNode();ht.name=this.$x();let ut=this.$f(()=>this.$22());if(ut)ht.constraint=ut;return rt.typeParameter=this.finishNode(ht,"TSTypeParameter"),this.finishNode(rt,"TSInferType")}}return this.$h(!1,()=>this.$23())}$22(){if(!this.eat(st._extends))return;let it=this.$h(!0,()=>this.$0());if(this.$5||this.type!==st.question)return it;return}$x(){if(this.type!==st.name&&!this.type.keyword)this.unexpected();let it=this.type===st.name?this.value:this.type.keyword;return this.next(),it}$23(){let it=this.$24();while(!this.hasPrecedingLineBreak()&&this.eat(st.bracketL)){let rt=this.startNodeAt(it.start,it.loc?.start);if(this.eat(st.bracketR))rt.elementType=it,it=this.finishNode(rt,"TSArrayType");else rt.objectType=it,rt.indexType=this.$0(),this.expect(st.bracketR),it=this.finishNode(rt,"TSIndexedAccessType")}return it}$24(){switch(this.type){case st.name:case st._void:case st._null:{let it=ni.get(this.value);if(it&&(this.type!==st.name||!this.containsEsc&&this.$2()!==Es)){let rt=this.startNode();return this.next(),this.finishNode(rt,it)}return this.$1d()}case st.string:case st.num:case st._true:case st._false:{let it=this.startNode();return it.literal=this.parseExprAtom(),this.finishNode(it,"TSLiteralType")}case st.plusMin:{if(this.value!=="-")break;let it=this.startNode(),rt=this.startNode();if(this.next(),this.type!==st.num)this.unexpected();return rt.operator="-",rt.prefix=!0,rt.argument=this.parseExprAtom(),it.literal=this.finishNode(rt,"UnaryExpression"),this.finishNode(it,"TSLiteralType")}case st.backQuote:return this.$25();case st._this:{let it=this.$v();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){let rt=this.startNodeAt(it.start,it.loc?.start);return rt.parameterName=it,this.$w(rt,!1)}return it}case st._typeof:return this.$26();case st._import:return this.$1e();case st.braceL:return this.$27()?this.$28():this.$29();case st.bracketL:return this.$2a();case st.parenL:{let it=this.startNode();return this.next(),it.typeAnnotation=this.$0(),this.expect(st.parenR),this.finishNode(it,"TSParenthesizedType")}default:if(this.type.keyword)return this.$1d()}return this.unexpected()}$1d(){let it=this.startNode();if(it.typeName=this.$j(),!this.hasPrecedingLineBreak()&&this.$1())it.typeArguments=this.$e();return this.finishNode(it,"TSTypeReference")}$j(){let it=this.parseIdent(!0);while(this.eat(st.dot)){let rt=this.startNodeAt(it.start,it.loc?.start);rt.left=it,rt.right=this.parseIdent(!0),it=this.finishNode(rt,"TSQualifiedName")}return it}$26(){let it=this.startNode();if(this.next(),it.exprName=this.type===st._import?this.$1e():this.$j(),!this.hasPrecedingLineBreak()&&this.$1())it.typeArguments=this.$e();return this.finishNode(it,"TSTypeQuery")}$1e(){let it=this.startNode();if(this.next(),it.argument=this.$1f(),this.eat(st.dot))it.qualifier=this.$j();if(this.$1())it.typeArguments=this.$e();return this.finishNode(it,"TSImportType")}$y(){if(this.type!==st.string)this.unexpected();return this.parseExprAtom()}$1f(){this.expect(st.parenL);let it=this.$y();return this.expect(st.parenR),it}$25(){let it=this.startNode(),rt=this.startNode();this.next(),rt.expressions=[];let ht=this.parseTemplateElement({isTagged:!1});rt.quasis=[ht];while(!ht.tail){if(this.type===st.eof)this.raise(this.pos,"Unterminated template literal");this.expect(st.dollarBraceL),rt.expressions.push(this.$0()),this.expect(st.braceR),ht=this.parseTemplateElement({isTagged:!1}),rt.quasis.push(ht)}return this.next(),it.literal=this.finishNode(rt,"TemplateLiteral"),this.finishNode(it,"TSLiteralType")}$27(){return this.$u(()=>{if(this.next(),this.type===st.plusMin)return this.next(),this.isContextual("readonly");if(this.isContextual("readonly"))this.next();if(this.type!==st.bracketL)return!1;if(this.next(),this.type!==st.name)return!1;return this.next(),this.type===st._in})}$28(){let it=this.startNode();if(this.expect(st.braceL),this.type===st.plusMin)it.readonly=this.value,this.next(),this.expectContextual("readonly");else if(this.eatContextual("readonly"))it.readonly=!0;this.expect(st.bracketL);let rt=this.startNode();if(rt.name=this.$x(),this.expect(st._in),rt.constraint=this.$0(),it.typeParameter=this.finishNode(rt,"TSTypeParameter"),it.nameType=this.eatContextual("as")?this.$0():null,this.expect(st.bracketR),this.type===st.plusMin)it.optional=this.value,this.next(),this.expect(st.question);else if(this.eat(st.question))it.optional=!0;if(this.eat(st.colon))it.typeAnnotation=this.$0();return this.semicolon(),this.expect(st.braceR),this.finishNode(it,"TSMappedType")}$29(){let it=this.startNode();return it.members=this.$1g(),this.finishNode(it,"TSTypeLiteral")}$1g(){this.expect(st.braceL);let it=[];while(!this.eat(st.braceR))it.push(this.$2b());return it}$2b(){let it=this.startNode(),rt="TSPropertySignature",ht=this.type===st._new?this.$2():-1;if(this.type===st.parenL||this.$1())rt="TSCallSignatureDeclaration",this.$m(it,st.colon);else if(ht===Cs||ht===$s)rt="TSConstructSignatureDeclaration",this.next(),this.$m(it,st.colon);else{let ut=this.type===st._new?this.parseIdent(!0):null;if(this.isContextual("readonly")&&this.$n(!0))this.next(),it.readonly=!0;if(this.type===st.bracketL&&this.$1h())return this.$1i(it);let ct="method";if(ut)it.key=ut;else{if((this.isContextual("get")||this.isContextual("set"))&&this.$n(!1))ct=this.value,this.next();this.parsePropertyName(it)}if(this.eat(st.question))it.optional=!0;if(this.type===st.parenL||this.$1()){if(rt="TSMethodSignature",ct!=="method")it.kind=ct;this.$m(it,st.colon),it.kind=ct}else if(this.type===st.colon)it.typeAnnotation=this.$4()}return this.$1j(),this.finishNode(it,rt)}$1j(){if(!this.eat(st.comma))this.semicolon()}$1h(){return this.$u(()=>{if(this.next(),this.type!==st.name)return!1;return this.next(),this.type===st.colon})}$1i(it){if(this.expect(st.bracketL),it.parameters=[this.$g(this.parseIdent(),!1)],this.expect(st.bracketR),this.type===st.colon)it.typeAnnotation=this.$4();return this.$1j(),this.finishNode(it,"TSIndexSignature")}$2a(){let it=this.startNode();this.expect(st.bracketL),it.elementTypes=[];while(!this.eat(st.bracketR))if(it.elementTypes.push(this.$2c()),this.type!==st.bracketR)this.expect(st.comma);return this.finishNode(it,"TSTupleType")}$2c(){let it=this.start,rt=this.startLoc,ht=this.eat(st.ellipsis),ut;if((this.type===st.name||this.type.keyword)&&this.$2d()){let ct=this.startNode();ct.label=this.parseIdent(!0),ct.optional=this.eat(st.question),this.expect(st.colon),ct.elementType=this.$0(),ut=this.finishNode(ct,"TSNamedTupleMember")}else if(ut=this.$0(),this.eat(st.question)){let ct=this.startNodeAt(ut.start,ut.loc?.start);ct.typeAnnotation=ut,ut=this.finishNode(ct,"TSOptionalType")}if(ht){let ct=this.startNodeAt(it,rt);ct.typeAnnotation=ut,ut=this.finishNode(ct,"TSRestType")}return ut}$2d(){let it=this.$d();if(this.input.charCodeAt(it)===63)it=this.$d(it+1);return this.input.charCodeAt(it)===Ts}$7(){return this.$9(()=>{let it=this.startNode();this.next(),it.params=[];while(!this.$c()){let rt=this.startNode();while((this.type===st._const||this.type===st._in||this.isContextual("out"))&&t(this.$2()))rt[this.value]=!0,this.next();if(rt.name=this.$x(),this.eat(st._extends))rt.constraint=this.$0();if(this.eat(st.eq))rt.default=this.$0();if(it.params.push(this.finishNode(rt,"TSTypeParameter")),!this.$c()){if(this.expect(st.comma),this.$c())it.extra={trailingComma:this.lastTokStart}}}if(this.next(),it.params.length===0)this.$1z(this.start,"Type parameter list cannot be empty.");return this.finishNode(it,"TSTypeParameterDeclaration")})}$e(){return this.$9(()=>{let it=this.startNode();this.next(),it.params=[];while(!this.$c())if(it.params.push(this.$0()),!this.$c())this.expect(st.comma);if(it.params.length===0)this.unexpected();return this.next(),this.finishNode(it,"TSTypeParameterInstantiation")})}$1k(){let it=[];do{let rt=this.startNode();if(rt.expression=this.$j(),this.$1())rt.typeParameters=this.$e();it.push(this.finishNode(rt,"TSExpressionWithTypeArguments"))}while(this.eat(st.comma));return it}$1l(it=!1){if(this.type!==st.name||this.containsEsc){if(this.type===st._const&&this.$3()==="enum")return this.$z(this.startNode());return}if(!this.$2e(this.value))return;if(this.value==="declare")return this.$2f(it);return this.$1m(this.startNode(),this.value)}$2e(it){switch(it){case"interface":case"type":case"namespace":return this.$15();case"enum":return t(this.$2());case"abstract":return this.$a()&&this.$3()==="class";case"module":{let rt=this.$2();return this.$a()&&(rt===Ue||rt===je||t(rt))}case"declare":return this.$a()&&ui.has(this.$3());case"global":return this.$a()&&this.$2()===_e}return!1}$1m(it,rt){switch(rt){case"interface":return this.$1n(it);case"type":return this.$2g(it);case"enum":return this.$z(it);case"abstract":return this.$1o(it,!0);case"global":return it.global=!0,it.id=this.parseIdent(),it.body=this.$10(),this.finishNode(it,"TSModuleDeclaration")}return this.$2h(it)}$2f(it){let rt=this.$6;this.$6=!0;let ht=this.startNode();this.next();let ut=this.value;if(ut==="const"&&this.$3()==="enum")ht.const=!0;if(!it&&ci.has(ut))ht.declare=!0;let ct;if(ht.const)ct=this.$z(ht);else if(ut==="var"||ut==="let"||ut==="const")ct=this.parseVarStatement(ht,ut,!0);else if(ut==="function")this.next(),ct=this.parseFunction(ht,As,!1,!1);else if(ut==="class")ct=this.parseClass(ht,!0);else ct=this.$1m(ht,ut);return ct.declare=!0,this.$6=rt,ct}$1o(it,rt){return this.next(),it.abstract=!0,this.parseClass(it,rt)}$1n(it){if(this.next(),it.id=this.parseIdent(),this.checkLValSimple(it.id,Ns),this.$1())it.typeParameters=this.$7();return this.$9(()=>{if(this.eat(st._extends))it.extends=this.$1k();let rt=this.startNode();rt.body=this.$1g(),it.body=this.finishNode(rt,"TSInterfaceBody")}),this.finishNode(it,"TSInterfaceDeclaration")}$2g(it){if(this.next(),it.id=this.parseIdent(),this.checkLValSimple(it.id,De),this.$1())it.typeParameters=this.$7();return it.typeAnnotation=this.$9(()=>(this.expect(st.eq),this.$0())),this.semicolon(),this.finishNode(it,"TSTypeAliasDeclaration")}$z(it){if(this.type===st._const)it.const=!0,this.next();this.next(),it.id=this.parseIdent(),this.checkLValSimple(it.id,bi),this.expect(st.braceL),it.members=[];while(!this.eat(st.braceR)){let rt=this.startNode();if(rt.id=this.type===st.string?this.parseExprAtom():this.parseIdent(!0),this.eat(st.eq))rt.initializer=this.parseMaybeAssign();if(it.members.push(this.finishNode(rt,"TSEnumMember")),this.type!==st.braceR)this.expect(st.comma)}return this.finishNode(it,"TSEnumDeclaration")}$2h(it){if(this.next(),this.type===st.string){if(it.id=this.parseExprAtom(),this.type===st.braceL)it.body=this.$10();else this.semicolon();return this.finishNode(it,"TSModuleDeclaration")}return it.id=this.parseIdent(),this.checkLValSimple(it.id,yi),this.$1p(it)}$1p(it){if(this.eat(st.dot)){let rt=this.startNode();rt.id=this.parseIdent(),it.body=this.$1p(rt)}else it.body=this.$10();return this.finishNode(it,"TSModuleDeclaration")}$10(){this.enterScope(pi);let it=this.startNode();this.enterScope(0),this.expect(st.braceL),it.body=[];while(!this.eat(st.braceR))it.body.push(this.parseStatement(null,!0));return this.exitScope(),this.exitScope(),this.finishNode(it,"TSModuleBlock")}$1q(it,rt){if(it.isExport=rt,it.id=this.parseIdent(),this.checkLValSimple(it.id,Jt),this.expect(st.eq),this.isContextual("require")&&this.$2()===Cs){let ht=this.startNode();this.next(),ht.expression=this.$1f(),it.moduleReference=this.finishNode(ht,"TSExternalModuleReference")}else it.moduleReference=this.$j();return this.semicolon(),this.finishNode(it,"TSImportEqualsDeclaration")}$2i(){let it=this.$d();if(this.input.charCodeAt(it)!==ke)return!1;let rt=this.input.charCodeAt(it+1);return rt!==ke&&rt!==62}parseStatement(it,rt,ht){if(this.type===at)this.$1r(!0);let ut=this.$1l();if(ut)return ut;return super.parseStatement(it,rt,ht)}parseVarStatement(it,rt,ht){return super.parseVarStatement(it,rt,ht||this.$6)}parseVarId(it,rt){if(super.parseVarId(it,rt),it.id.type==="Identifier"&&this.$s()&&!this.hasPrecedingLineBreak())this.next(),it.definite=!0;this.$g(it.id,!1)}parseCatchClauseParam(){let it=this.$g(this.parseBindingAtom(),!1),rt=it.type==="Identifier";return this.enterScope(rt?li:0),this.checkLValPattern(it,rt?vi:Jt),this.expect(st.parenR),it}parseImport(it){if(this.next(),it.importKind="value",this.type===st.string)it.specifiers=[],it.source=this.parseExprAtom();else{if(this.isContextual("type")){let rt=this.$2();if(rt===_e||rt===qe||t(rt)&&this.$3()!=="from")it.importKind="type",this.next()}if(this.type===st.name&&this.$2i())return this.$1q(it,!1);it.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),it.source=this.$y()}return this.$1s(it),this.semicolon(),this.finishNode(it,"ImportDeclaration")}parseWithClause(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak())this.type=st._with;return this.type===st._with?super.parseWithClause():void 0}$1s(it){let rt=this.parseWithClause();if(rt)it.attributes=rt}parseImportSpecifier(){return this.$1t("importKind",()=>super.parseImportSpecifier())}parseExportSpecifier(it){return this.$1t("exportKind",()=>super.parseExportSpecifier(it))}$1t(it,rt){let ht=this.isContextual("type")?this.$2():-1;if(ht===Ue||ht===je||t(ht)&&this.$3()!=="as"){let ct=this.startNode();this.next();let lt=rt();return this.$l(lt,ct),lt[it]="type",lt}let ut=rt();return ut[it]="value",ut}parseExport(it,rt){if(this.next(),this.eat(st._import)){if(it.importKind="value",this.isContextual("type")&&t(this.$2())&&this.$3()!=="from")it.importKind="type",this.next();return this.$1q(it,!0)}if(this.eat(st.eq))return it.expression=this.parseExpression(),this.semicolon(),this.finishNode(it,"TSExportAssignment");if(this.eatContextual("as"))return this.expectContextual("namespace"),it.id=this.parseIdent(),this.semicolon(),this.finishNode(it,"TSNamespaceExportDeclaration");if(it.exportKind="value",this.isContextual("type")){let ct=this.$2();if(ct===_e||ct===qe)it.exportKind="type",this.next()}if(this.eat(st.star))return this.parseExportAllDeclaration(it,rt);if(this.eat(st._default)){if(this.isContextual("interface")&&this.$15())it.declaration=this.$1n(this.startNode());else if(this.isContextual("abstract")&&this.$3()==="class")it.declaration=this.$1o(this.startNode(),"nullableID");else it.declaration=this.parseExportDefaultDeclaration();return this.finishNode(it,"ExportDefaultDeclaration")}let ht=this.isContextual("declare"),ut=this.$1l(!0);if(ut||this.shouldParseExportStatement()){if(it.declaration=ut??this.parseStatement(null),ht||it.declaration.type==="TSInterfaceDeclaration"||it.declaration.type==="TSTypeAliasDeclaration")it.exportKind="type";return it.specifiers=[],it.source=null,this.finishNode(it,"ExportNamedDeclaration")}if(it.declaration=null,it.specifiers=this.parseExportSpecifiers(rt),this.eatContextual("from"))it.source=this.$y(),this.$1s(it);else{for(let ct of it.specifiers)if(this.checkUnreserved(ct.local),this.checkLocalExport(ct.local),ct.local.type==="Literal")this.raise(ct.local.start,"A string literal cannot be used as an exported binding without `from`.");it.source=null}return this.semicolon(),this.finishNode(it,"ExportNamedDeclaration")}parseFunction(it,rt,ht,ut,ct){let lt=rt&As;if(lt)this.$i=it;super.parseFunction(it,rt,ht,ut,ct),this.$i=null;let pt=!it.body;if(pt)it.type="TSDeclareFunction";if(lt&&it.id){if(pt){if(this.$6&&this.currentScope().flags&Ss)this.declareName(it.id.name,We,it.id.start);this.checkLValSimple(it.id,fi)}else if(!(rt&xi))this.checkLValSimple(it.id,this.strict||it.generator||it.async?this.treatFunctionsAsVar?di:Jt:mi)}return it}parseFunctionParams(it){if(this.$1())it.typeParameters=this.$7();if(super.parseFunctionParams(it),this.type===st.colon)it.returnType=this.$4(!0)}parseFunctionBody(it,rt,ht,ut){if(ht&&this.type===st.colon)it.returnType=this.$4(!0);if(rt||this.type===st.braceL){super.parseFunctionBody(it,rt,ht,ut);return}this.semicolon(),this.exitScope()}parseMethod(it,rt,ht){let ut=this.$o;this.$o=null;let ct=super.parseMethod(it,rt,ht);if(!ct.body)ct.type="TSDeclareMethod";if(ut)ct.typeParameters=ut;return ct}parseBindingList(it,rt,ht,ut){let ct=ut||this.$p;return this.$p=!1,super.parseBindingList(it,rt,ht,ct)}$n(it){if(!it&&!this.$a())return!1;let rt=this.$2();return rt===ki||rt===_e||rt===qe||rt===Es||rt===_i||rt===Ue||rt===je||rt>=48&&rt<=57||t(rt)}parseAssignableListItem(it){let rt=this.$11(),ht=this.start,ut=this.startLoc,ct,lt=!1,pt=!1;if(it)while(this.type===st.name&&hi.has(this.value)&&!this.containsEsc&&this.$n(!1)){if(this.value==="readonly")lt=!0;else if(this.value==="override")pt=!0;else ct=this.value;this.next()}let dt;if(this.type===st._this)dt=this.startNode(),dt.name="this",this.next(),this.finishNode(dt,"Identifier");else dt=this.parseBindingAtom();let wt=this.type===st.eq?this.parseMaybeDefault(ht,ut,dt):this.parseMaybeDefault(dt.start,dt.loc?.start,this.$g(dt,!0));if(rt.length>0)wt.decorators=rt;if(!ct&&!lt&&!pt)return wt;let xt=this.startNodeAt(ht,ut);if(ct)xt.accessibility=ct;if(lt)xt.readonly=!0;if(pt)xt.override=!0;return xt.parameter=wt,this.finishNode(xt,"TSParameterProperty")}parseBindingListItem(it){if(it.type==="RestElement")this.$g(it,!0);return it}checkLValSimple(it,rt,ht){if(this.$i&&it===this.$i.id){this.$i=null;return}if(!rt&&_s.has(it.type))return this.checkLValSimple(it.expression,rt,ht);switch(it.type){case"TSParameterProperty":return this.checkLValInnerPattern(it.parameter,rt,ht);case"Identifier":if(it.name==="this")return}return super.checkLValSimple(it,rt,ht)}toAssignable(it,rt,ht){if(it&&!rt&&_s.has(it.type))return it;return super.toAssignable(it,rt,ht)}declareName(it,rt,ht){let ut=this.currentScope();if(rt&We){this.$1u(ut,it),ut.$1v??=[],ut.$1v.push(it);return}if(rt===De||rt===Ns){if(ut.$12??=[],rt===De&&ut.$12.includes(it))this.raise(ht,`type '${it}' has already been declared.`);ut.$12.push(it),this.$1u(ut,it);return}if(rt&Ls){if(ut.$1w??=[],ut.$1w.includes(it))return;super.declareName(it,Jt,ht),ut.$1w.push(it);return}super.declareName(it,rt,ht)}$1u(it,rt){if(this.inModule&&it.flags&Ss)delete this.undefinedExports[rt]}checkLocalExport(it){for(let rt=this.scopeStack.length-1;rt>=0;rt--){let ht=this.scopeStack[rt];if(ht.$12?.includes(it.name)||ht.$1v?.includes(it.name))return}super.checkLocalExport(it)}checkExport(){}raiseRecoverable(it,rt){if(rt==="Duplicate constructor in the same class")return;super.raiseRecoverable(it,rt)}$11(){let it=[];while(this.type===at)it.push(this.$1x());return it}$1r(it){let rt=this.$b[this.$b.length-1];while(this.type===at)rt.push(this.$1x());if(this.type===st._export){if(!it)this.unexpected()}else if(this.type!==st._class&&!((this.isContextual("abstract")||this.isContextual("declare"))&&this.$3()==="class"))this.raise(this.start,"Leading decorators must be attached to a class declaration.")}$1x(){let it=this.startNode();this.next(),this.$b.push([]);let rt=this.start,ht=this.startLoc,ut;if(this.type===st.parenL){if(this.next(),ut=this.parseExpression(),this.expect(st.parenR),this.options.preserveParens){let lt=this.startNodeAt(rt,ht);lt.expression=ut,ut=this.finishNode(lt,"ParenthesizedExpression")}}else{ut=this.parseIdent(!1);while(this.eat(st.dot)){let lt=this.startNodeAt(rt,ht);lt.object=ut,lt.property=this.parseIdent(!0),lt.computed=!1,ut=this.finishNode(lt,"MemberExpression")}}let ct=this.$k()?this.$e():void 0;if(this.eat(st.parenL)){let lt=this.startNodeAt(ut.start,ut.loc?.start);if(lt.callee=ut,lt.arguments=this.parseExprList(st.parenR,!1,!1),ct)lt.typeArguments=ct;ut=this.finishNode(lt,"CallExpression")}else if(ct){let lt=this.startNodeAt(ut.start,ut.loc?.start);lt.expression=ut,lt.typeArguments=ct,ut=this.finishNode(lt,"TSInstantiationExpression")}return it.expression=ut,this.$b.pop(),this.finishNode(it,"Decorator")}shouldParseExportStatement(){return this.type===at||super.shouldParseExportStatement()}parseExprAtom(it,rt,ht){if(this.type===at)this.$1r(!1);return super.parseExprAtom(it,rt,ht)}parseProperty(it,rt){if(it||this.type!==at)return super.parseProperty(it,rt);let ht=this.$11(),ut=super.parseProperty(it,rt);if(ut.type==="SpreadElement")this.raise(ut.start,"Decorators can't be used with SpreadElement");return ut.decorators=ht,ut}parseClassId(it,rt){let ht=this.$b.length-1,ut=this.$b[ht];if(ut.length>0)it.decorators=ut,this.$l(it,ut[0]),this.$b[ht]=[];if(!this.isContextual("implements")||rt===!0)super.parseClassId(it,rt);if(this.$1())it.typeParameters=this.$7()}parseClassSuper(it){if(super.parseClassSuper(it),it.superClass&&this.$1())it.superTypeParameters=this.$e();if(this.eatContextual("implements"))it.implements=this.$9(()=>this.$1k())}parseClassElement(it){if(this.type===at){let pt=this.$11();if(this.type===st.braceR)this.raise(this.start,"Decorators must be attached to a class element.");let dt=this.parseClassElement(it);return dt.decorators=pt,this.$l(dt,pt[0]),dt}if(this.eat(st.semi))return null;let rt=this.startNode();while(this.type===st.name&&oi.has(this.value)&&!this.containsEsc&&this.$n(this.value==="static")){let pt=this.value;if(this.next(),pt==="static"&&this.type===st.braceL)return this.next(),this.parseClassStaticBlock(rt),rt;if(pt==="public"||pt==="private"||pt==="protected")rt.accessibility=pt;else rt[pt]=!0}if(this.type===st.bracketL&&this.$1h())return this.$1i(rt);rt.static??=!1;let ht="",ut=!1,ct=!1,lt="method";if(this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===st.star)&&!this.canInsertSemicolon())ct=!0;else ht="async";if(!ht&&this.eat(st.star))ut=!0;if(!ht&&!ct&&!ut){let pt=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())lt=pt;else ht=pt}if(ht)rt.computed=!1,rt.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),rt.key.name=ht,this.finishNode(rt.key,"Identifier");else this.parseClassElementName(rt);if(this.eat(st.question))rt.optional=!0;if(this.type===st.parenL||this.$1()||lt!=="method"||ut||ct){let pt=rt.key,dt=!rt.static&&!rt.computed&&(pt.type==="Identifier"&&pt.name==="constructor"||pt.type==="Literal"&&pt.value==="constructor");if(rt.kind=dt?"constructor":lt,this.$1())rt.typeParameters=this.$7();this.$p=dt,this.parseClassMethod(rt,ut,ct,dt&&it)}else{if(!rt.optional&&this.$s())this.next(),rt.definite=!0;if(this.type===st.colon)rt.typeAnnotation=this.$4();this.parseClassField(rt)}return rt}parseMaybeAssign(it,rt,ht){if(this.$k()){let ut=this.$f(()=>{let ct=this.$7(),lt=super.parseMaybeAssign(it,rt,ht);if(lt.type!=="ArrowFunctionExpression")return;return lt.typeParameters=ct,this.$l(lt,ct),lt});if(ut)return ut}return super.parseMaybeAssign(it,rt,ht)}parseMaybeUnary(it,rt,ht,ut){if(this.$k()){let ct=this.startNode();return ct.typeAnnotation=this.$9(()=>{this.next();let lt=this.$0();if(!this.$c())this.unexpected();return this.next(),lt}),ct.expression=this.parseMaybeUnary(null,!1,!1,ut),this.finishNode(ct,"TSTypeAssertion")}return super.parseMaybeUnary(it,rt,ht,ut)}parseMaybeConditional(it,rt){let ht=this.start,ut=this.startLoc,ct=this.parseExprOps(it,rt);if(this.checkExpressionErrors(rt))return ct;if(this.type===st.question&&!(ct.type==="ArrowFunctionExpression"&&ct.start===ht)&&!this.$2j()){this.next();let lt=this.startNodeAt(ht,ut);return lt.test=ct,lt.consequent=this.parseMaybeAssign(),this.expect(st.colon),lt.alternate=this.parseMaybeAssign(it),this.finishNode(lt,"ConditionalExpression")}return ct}$2j(){let it=this.$d(),rt=this.input.charCodeAt(it);if(rt===Ts||rt===wi||rt===gi)return!0;return rt===ke&&this.input.charCodeAt(it+1)!==ke}parseParenItem(it){return this.$g(it,!0)}$1y(){if(this.type!==st.colon)return!0;let it=this.$f(()=>{let rt=this.$4(!0);return this.type===st.arrow&&!this.canInsertSemicolon()?rt:void 0});if(!it)return!1;return this.$8=it,!0}shouldParseArrow(it){return this.$1y()&&super.shouldParseArrow(it)}shouldParseAsyncArrow(){return this.$1y()&&super.shouldParseAsyncArrow()}parseArrowExpression(it,rt,ht,ut){if(this.$8)it.returnType=this.$8,this.$8=null;return super.parseArrowExpression(it,rt,ht,ut)}parseExprList(it,rt,ht,ut){if(!this.$q)return super.parseExprList(it,rt,ht,ut);this.$q=!1;let ct=[],lt=!0;while(!this.eat(it)){if(lt)lt=!1;else if(this.expect(st.comma),rt&&this.afterTrailingComma(it))break;if(this.type===st.ellipsis){let pt=this.parseSpread(ut);if(this.eat(st.question))pt.optional=!0;if(this.type===st.colon)pt.typeAnnotation=this.$4();ct.push(pt)}else ct.push(this.parseMaybeAssign(!1,ut,this.parseParenItem))}return ct}parseSubscript(it,rt,ht,ut,ct,lt,pt){if(this.$s()&&!this.hasPrecedingLineBreak()){let wt=this.startNodeAt(rt,ht);return this.exprAllowed=!1,this.next(),wt.expression=it,this.finishNode(wt,"TSNonNullExpression")}if(ct&&this.$1()){let wt=this.$f(()=>this.$2k(rt,ht,pt));if(wt)return wt}let dt=this.type===st.questionDot&&this.$2()===$s;if(this.$1()||dt||this.type===st.bitShift&&this.value==="<<"){let wt=this.$f(()=>{if(dt)this.next();this.$k();let xt=this.$e();if(this.type===st.parenL&&!ut)return xt;if(this.type===st.backQuote)return dt?void 0:xt;if(dt)return;if(this.$c()||this.type===st.bitShift||this.type.startsExpr&&this.type!==st.parenL&&!this.hasPrecedingLineBreak())return;return xt});if(wt){let xt=this.startNodeAt(rt,ht);if(this.type===st.parenL&&!ut){if(this.next(),xt.callee=it,xt.arguments=this.parseExprList(st.parenR,!0,!1),xt.typeArguments=wt,dt)it.optional=!0;if(dt||lt)xt.optional=dt;return this.finishNode(xt,"CallExpression")}if(this.type===st.backQuote)return xt.tag=it,xt.quasi=this.parseTemplate({isTagged:!0}),xt.typeArguments=wt,this.finishNode(xt,"TaggedTemplateExpression");return xt.expression=it,xt.typeArguments=wt,this.finishNode(xt,"TSInstantiationExpression")}}if(ct&&this.type===st.parenL)this.$q=!0;return super.parseSubscript(it,rt,ht,ut,ct,lt,pt)}$2k(it,rt,ht){let ut=this.startNodeAt(it,rt);if(ut.typeParameters=this.$7(),this.expect(st.parenL),ut.params=this.parseBindingList(st.parenR,!1,!0),this.type===st.colon)ut.returnType=this.$4(!0);if(this.type!==st.arrow||this.canInsertSemicolon())return;return this.next(),this.parseArrowExpression(ut,ut.params,!0,ht)}parseDynamicImport(it){if(this.next(),it.source=this.parseMaybeAssign(),this.eat(st.comma)&&this.type!==st.parenR)it.arguments=[this.parseExpression()];return this.expect(st.parenR),this.finishNode(it,"ImportExpression")}parseNew(){let it=super.parseNew();if(it.callee?.type!=="TSInstantiationExpression")return it;let rt=this.startNodeAt(it.start,it.loc?.start);return rt.callee=it.callee.expression,rt.typeArguments=it.callee.typeArguments,rt.arguments=it.arguments,this.finishNodeAt(rt,"NewExpression",it.end,it.loc?.end)}parseExprOp(it,rt,ht,ut,ct){if(st._in.binop>ut&&this.type===st.name&&(this.value==="as"||this.value==="satisfies")&&!this.containsEsc&&!this.hasPrecedingLineBreak()){let lt=this.value==="satisfies",pt=this.startNodeAt(rt,ht);return pt.expression=it,pt.typeAnnotation=this.$9(()=>{if(this.next(),!lt&&this.type===st._const){let dt=this.startNode();return dt.typeName=this.parseIdent(!0),this.finishNode(dt,"TSTypeReference")}return this.$0()}),this.finishNode(pt,lt?"TSSatisfiesExpression":"TSAsExpression"),this.parseExprOp(pt,rt,ht,ut,ct)}return super.parseExprOp(it,rt,ht,ut,ct)}parseGetterSetter(it){it.kind=it.key.name,super.parseGetterSetter(it)}parsePropertyValue(it,rt,ht,ut,ct,lt,pt,dt){if(!rt&&this.$1()){if(this.$o=this.$7(),this.type!==st.parenL)this.unexpected();it.kind="init"}return super.parsePropertyValue(it,rt,ht,ut,ct,lt,pt,dt)}}return ot}var ze=!1,Ni=new Map("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 const class extends export import super".split(" ").map((tt)=>[tt,Bt[tt]])),Is=new Map;function Se(tt){let et=Is.get(tt);if(!et){let st=new Set(tt.source.slice(4,-2).split("|"));et={test:(at)=>st.has(at)},Is.set(tt,et)}return et}var Vs=(tt)=>class extends tt{constructor(...et){super(...et);this.keywords=Se(this.keywords),this.reservedWords=Se(this.reservedWords),this.reservedWordsStrict=Se(this.reservedWordsStrict),this.reservedWordsStrictBind=Se(this.reservedWordsStrictBind)}parseParenAndDistinguishExpression(et,st){let at=super.parseParenAndDistinguishExpression(et,st);if(at.type==="ParenthesizedExpression")ze=!0;return at}checkLocalExport(){}skipSpace(){let et=this.input,st=this.options.locations,at=this.pos,ot=et.charCodeAt(at);for(;;)if(ot===32||ot===9)ot=et.charCodeAt(++at);else if(ot===10){if(ot=et.charCodeAt(++at),st)this.curLine++,this.lineStart=at}else break;if(this.pos=at,ot===47||ot<33||ot>=128)super.skipSpace()}readWord1(){let et=this.input,st=this.pos,at=st,ot=et.charCodeAt(at);while(ot>=97&&ot<=122||ot>=65&&ot<=90||ot>=48&&ot<=57||ot===95||ot===36)ot=et.charCodeAt(++at);if(ot>=128||ot===92)return super.readWord1();return this.containsEsc=!1,this.pos=at,et.slice(st,at)}readWord(){let et=this.readWord1();return this.finishToken(Ni.get(et)??nt.name,et)}},Ai=kt.extend(Vs),Ci=kt.extend(Ps,Vs),Ei=/ \(\d+:\d+\)$/;function Ke(tt,et,st,at,ot,it=tt.root.comments.length){let rt=tt.root.comments;gs(et,rt);let ht={onComment:ws,sourceType:"module",ecmaVersion:16,locations:tt.loc,preserveParens:at};if(tt.lfOnly)ht.startLocation=n(st);let ut;try{ut=ot(tt.isTypeScript?Ci:Ai,ht)}catch(ct){let lt=ct.pos;if(lt===void 0)throw ct;Ge(lt,ct.message.replace(Ei,""))}if(rt.length>it)ks(ut,rt,st);return ut}function l(tt,et,st=0){return Ke(tt,et,0,!1,(at,ot)=>{if(st>0&&ot.locations)ot.startLocation=n(st);let it=new at(ot,et,st).parse();return it.start=0,it},0)}var Ti={count:0};function a(tt,et,st,at=!1){Ti.count+=1,ze=!1;let ot=Ke(tt,et,st,!0,(ht,ut)=>ht.parseExpressionAt(et,st,ut)),it=tt.root.comments.at(-1),rt=it&&it.end>ot.end?it.end:ot.end;return{node:ze&&!at?Os(ot):ot,end:rt}}function ce(tt,et,st){return Ke(tt,et,st,!1,(at,ot)=>{let it=new at(ot,et,st);try{return it.nextToken(),it.parseStatement(null,!0,Object.create(null))}catch(rt){if(rt.pos===et.length)i(et.length);throw rt}})}function Rs(tt){return tt!==null&&typeof tt==="object"&&typeof tt.type==="string"}function g(tt,et){for(let st in tt){let at=tt[st];if(Array.isArray(at)){for(let ot=0;ot<at.length;ot++)if(Rs(at[ot]))at[ot]=et(at[ot])}else if(Rs(at))tt[st]=et(at)}}function Os(tt){let et=tt;while(et.type==="ParenthesizedExpression")et=et.expression;return g(et,Os),et}
64
+ export{u,n,o,e,v,y,k,w,S,A,_,E,T,C,p,N,L,f,P,q,I,R,c,d,O,m,D,B,s,V,F,j,M,U,z,W,G,H,b,K,X,Q,Y,Z,J,h,ee,te,ie,x,se,re,ne,ae,i,oe,ue,le,t,r,l,a,ce,g};