sveast 0.3.0 → 0.4.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/README.md +4 -2
- package/index.d.ts +13 -4
- package/is-valid-type.js +1 -1
- package/package.json +1 -1
- package/parse-module.js +1 -1
- package/parse.js +2 -2
- package/shared-tjen9kxy.js +12 -0
- package/shared-vpc1jrf6.js +10 -0
- package/shared-rhdkc546.js +0 -12
- package/shared-xbh87rns.js +0 -10
package/README.md
CHANGED
|
@@ -54,9 +54,11 @@ A syntax error throws a `ParseError` with svelte's `code` (e.g. `"block_unclosed
|
|
|
54
54
|
|
|
55
55
|
Parses a JavaScript or TypeScript module, such as a `.ts` file a component imports, the way a component's `<script>` is parsed: estree plus TypeScript nodes, with comments attached as `leadingComments`/`trailingComments`. Options: `typescript` and `loc`, both default `false`.
|
|
56
56
|
|
|
57
|
-
### `isValidType(text) => boolean`
|
|
57
|
+
### `isValidType(text, options?) => boolean`
|
|
58
58
|
|
|
59
|
-
Whether `text` is exactly one TypeScript type, such as a JSDoc `{"sm" | "lg"}` a tool is about to copy into a `.d.ts`. The text is parsed as a type on its own, not wrapped in a statement, so a `;`, a line break or a `}` in it can't end the type and smuggle in a statement: `string; let x = 1` and `{ a: string } }` are `false`. Whitespace and comments around the type are allowed
|
|
59
|
+
Whether `text` is exactly one TypeScript type, such as a JSDoc `{"sm" | "lg"}` a tool is about to copy into a `.d.ts`. The text is parsed as a type on its own, not wrapped in a statement, so a `;`, a line break or a `}` in it can't end the type and smuggle in a statement: `string; let x = 1` and `{ a: string } }` are `false`. Whitespace and comments around the type are allowed. Results aren't cached; memoize if you check the same text often.
|
|
60
|
+
|
|
61
|
+
A `//` comment runs to the end of the line, so `string // the size` is a valid type but breaks `CustomEvent<${text}>`. Pass `inline: true` when the text goes before more code on the same line: it's then also `false` unless every `//` comment in the text ends with a line break. Block comments and `//` inside strings, as in `"http://a" | "https://b"`, are fine either way.
|
|
60
62
|
|
|
61
63
|
### Types
|
|
62
64
|
|
package/index.d.ts
CHANGED
|
@@ -4,11 +4,16 @@
|
|
|
4
4
|
* `type T = ...`, with nothing before or after it but whitespace and
|
|
5
5
|
* comments. Parsed on its own, not wrapped in a statement, so a `;`, a line
|
|
6
6
|
* break or a `}` in `text` can't end the type and start something else.
|
|
7
|
-
*
|
|
8
|
-
* A `//` comment runs to the end of the line: a caller that embeds `text`
|
|
9
|
-
* before more code on the same line should check it for one.
|
|
10
7
|
*/
|
|
11
|
-
export declare function isValidType(text: string
|
|
8
|
+
export declare function isValidType(text: string, options?: {
|
|
9
|
+
/**
|
|
10
|
+
* `text` will be embedded before more code on the same line, e.g.
|
|
11
|
+
* `CustomEvent<${text}>`: also require every `//` comment in it to end
|
|
12
|
+
* with a line break, so it can't comment out what follows. Default
|
|
13
|
+
* `false`.
|
|
14
|
+
*/
|
|
15
|
+
inline?: boolean;
|
|
16
|
+
}): boolean;
|
|
12
17
|
|
|
13
18
|
/**
|
|
14
19
|
* Parses a Svelte component into svelte's modern AST, the same as
|
|
@@ -246,6 +251,8 @@ export interface MaybeNamedFunctionDeclaration extends BaseFunction, BaseDeclara
|
|
|
246
251
|
id: Identifier | null;
|
|
247
252
|
body: BlockStatement;
|
|
248
253
|
expression: false;
|
|
254
|
+
/** No `TSParameterProperty`: `private x` only parses in a class constructor, a `FunctionExpression`. */
|
|
255
|
+
params: Pattern[];
|
|
249
256
|
}
|
|
250
257
|
|
|
251
258
|
export interface FunctionDeclaration extends MaybeNamedFunctionDeclaration {
|
|
@@ -509,6 +516,8 @@ export interface ArrowFunctionExpression extends BaseExpression, BaseFunction {
|
|
|
509
516
|
expression: boolean;
|
|
510
517
|
body: BlockStatement | Expression;
|
|
511
518
|
id: null;
|
|
519
|
+
/** No `TSParameterProperty`: `private x` only parses in a class constructor, a `FunctionExpression`. */
|
|
520
|
+
params: Pattern[];
|
|
512
521
|
}
|
|
513
522
|
|
|
514
523
|
export interface YieldExpression extends BaseExpression {
|
package/is-valid-type.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{t,f}from"./shared-vpc1jrf6.js";var a=new Set("abstract accessor arguments as asserts async await break case catch class const continue debugger declare default delete do else enum eval export extends false finally for function get global if implements import in infer instanceof interface intrinsic is keyof let module namespace new null of out override package private protected public readonly return satisfies set static super switch this throw true try type typeof unique var void while with yield".split(" ")),d=new Set("any bigint boolean false never null number object string symbol true undefined unknown void".split(" ")),y=new Set("get set new readonly static public private protected".split(" "));function u(e){return e>=97&&e<=122||e>=65&&e<=90||e===95||e===36}function o(e){return e>=48&&e<=57}function h(e){return u(e)||o(e)}class l{text;pos=0;constructor(e){this.text=e}readAll(){if(!this.type())return!1;return this.peek(),this.pos===this.text.length}peek(){let e=this.text,s=this.pos,r=e.charCodeAt(s);while(r===32||r===9)r=e.charCodeAt(++s);return this.pos=s,r}eat(e){if(this.peek()!==e.charCodeAt(0))return!1;return this.pos++,!0}word(){if(!u(this.peek()))return;let e=this.pos,s=e+1;while(h(this.text.charCodeAt(s)))s++;return this.pos=s,this.text.slice(e,s)}name(){let e=this.word();return e!==void 0&&!a.has(e)}string(){let e=this.peek();if(e!==34&&e!==39)return!1;let s=this.text;for(let r=this.pos+1;r<s.length;r++){let i=s.charCodeAt(r);if(i===e)return this.pos=r+1,!0;if(i===92||i===10||i===13||i===8232||i===8233)return!1}return!1}number(){let e=this.text,s=this.pos;if(e.charCodeAt(s)===45)s++;let r=s;while(o(e.charCodeAt(s)))s++;if(s===r||s-r>1&&e.charCodeAt(r)===48)return!1;if(e.charCodeAt(s)===46){let n=++s;while(o(e.charCodeAt(s)))s++;if(s===n)return!1}let i=e.charCodeAt(s);if(h(i)||i===46)return!1;return this.pos=s,!0}type(){if(this.peek()===40){let e=this.pos;if(this.functionType())return!0;this.pos=e}do do if(!this.operatorType())return!1;while(this.eat("&"));while(this.eat("|"));return!0}operatorType(){let e=this.pos;if(this.word()==="keyof")return this.operatorType();if(this.pos=e,!this.primaryType())return!1;while(this.eat("[")){if(this.eat("]"))continue;if(!this.type()||!this.eat("]"))return!1}return!0}primaryType(){let e=this.peek();if(e===40)return this.pos++,this.type()&&this.eat(")");if(e===123)return this.objectType();if(e===91)return this.tupleType();if(e===34||e===39)return this.string();if(e===45||o(e))return this.number();let s=this.word();if(s===void 0)return!1;if(s==="typeof")return this.typeQuery();if(s==="import")return this.importType(!0);if(d.has(s)){let r=this.peek();return r!==46&&r!==60}if(a.has(s))return!1;while(this.eat("."))if(this.word()===void 0)return!1;return!this.eat("<")||this.typeArguments()}typeArguments(){do if(!this.type())return!1;while(this.eat(","));return this.eat(">")}typeQuery(){let e=this.pos;if(this.word()==="import")return this.importType(!1);this.pos=e;do if(!this.name())return!1;while(this.eat("."));return!0}importType(e){if(!this.eat("(")||!this.string()||!this.eat(")"))return!1;while(this.eat("."))if(!this.name())return!1;return!e||!this.eat("<")||this.typeArguments()}objectType(){this.pos++;while(!this.eat("}")){if(!this.typeMember())return!1;if(!this.eat(";")&&!this.eat(",")&&this.peek()!==125)return!1}return!0}typeMember(){let e=this.peek();if(this.eat("[")){let s=this.peek();if(s===34||s===39){if(!this.string()||!this.eat("]"))return!1}else return this.name()&&this.eat(":")&&this.type()&&this.eat("]")&&this.eat(":")&&this.type()}else if(e===34||e===39){if(!this.string())return!1}else{let s=this.word();if(s===void 0||y.has(s))return!1}return this.eat("?"),this.eat(":")&&this.type()}tupleType(){if(this.pos++,this.eat("]"))return!0;do if(!this.type())return!1;while(this.eat(","));return this.eat("]")}functionType(){if(this.pos++,!this.eat(")")){let e=new Set;for(;;){this.peek();let s=this.text.startsWith("...",this.pos);if(s)this.pos+=3;let r=this.word();if(r===void 0||a.has(r)||e.has(r))return!1;if(e.add(r),!s)this.eat("?");if(!this.eat(":")||!this.type())return!1;if(s||!this.eat(","))break}if(!this.eat(")"))return!1}if(this.peek(),!this.text.startsWith("=>",this.pos))return!1;return this.pos+=2,this.type()}}function p(e){return new l(e).readAll()}var m=t.extend(f);function S(e,s={}){return p(e)||b(e,s.inline??!1)}function b(e,s){let r=!1,i=new m(s?{ecmaVersion:16,sourceType:"module",onComment:(n,T,A,c)=>{if(!n&&c===e.length)r=!0}}:{ecmaVersion:16,sourceType:"module"},e);try{return i.parseWholeType(),!r}catch(n){if(n instanceof SyntaxError)return!1;throw n}}export{S as isValidType,b as parsesAsType};
|
package/package.json
CHANGED
package/parse-module.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./shared-
|
|
1
|
+
import"./shared-vpc1jrf6.js";import{c,e,p}from"./shared-tjen9kxy.js";function s(r,o={}){return c(r),p({isTypeScript:o.typescript??!1,loc:o.loc??!1,root:{comments:[]}},r)}export{e as ParseError,s as parseModule};
|
package/parse.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{s,a}from"./shared-xbh87rns.js";import{h,o,l,t,S,A,E,T,_,C,N,L,P,q,b,I,R,x,O,D,B,V,d,g,F,y,j,M,n,U,z,W,G,H,K,X,Q,Y,v,Z,J,ee,te,ie,se,m,re,ne,ae,k,oe,ue,ce,le,r,he,pe,fe,p,u,de,w}from"./shared-rhdkc546.js";var dr={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".split(" "),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 fr(e,i){return Object.hasOwn(dr,e)&&dr[e].includes(i)}var Qe=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".split(" ")),Ze=/<!--[\s\S]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/y,ln=/\r(?!\n)|[\u2028\u2029]/;function Ee(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 Le(e,i){let c=i;while(c<e.length&&Ee(e.charCodeAt(c)))c++;return c}function Ue(e,i){let c=e.codePointAt(i);if(c===void 0||!s(c,!0))return i;let f=i+(c<=65535?1:2),me=e.codePointAt(f);while(me!==void 0&&a(me,!0))f+=me<=65535?1:2,me=e.codePointAt(f);return f}function an(e){let i=e.indexOf("<");while(i!==-1){let c=e.charCodeAt(i+1);if(c===33||c===115){Ze.lastIndex=i;let f=Ze.exec(e);if(f){if(c===115)return f[2]==="ts";i=e.indexOf("<",Ze.lastIndex);continue}}i=e.indexOf("<",i+1)}return!1}class Ye{source;index=0;loc;lfOnly;isTypeScript;css;root;stack;fragments;metaTags=new Set;lastAutoClosedTag;nextAngle=-1;nextBrace=-1;constructor(e,i,c={}){this.source=e,this.loc=c.loc??!1,this.lfOnly=this.loc&&!ln.test(e),this.isTypeScript=an(e),this.css=c.css??!0,this.root={type:"Root",start:0,end:i,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,i=!1){if(this.match(e))return this.index+=e.length,!0;if(i)n(this.index,e);return!1}read(e){let i=this.matchRegex(e);if(i)this.index+=i.length;return i}readUntil(e){if(this.index>=this.source.length)r(this.source.length);let i=this.source.indexOf(e,this.index),c=i===-1?this.source.length:i,f=this.source.slice(this.index,c);return this.index=c,f}allowWhitespace(){this.index=Le(this.source,this.index)}requireWhitespace(){if(!Ee(this.source.charCodeAt(this.index)))U(this.index);this.allowWhitespace()}eatClosingBrace(){this.allowWhitespace(),this.eat("}",!0)}sourceLocation(e,i){return this.loc?{start:o(e),end:o(i)}:void 0}readIdentifierName(){let e=this.index,i=Ue(this.source,e),c=this.source.slice(e,i);if(this.index=i,Qe.has(c))he(e,c);let f={type:"Identifier",name:c,start:e,end:i};if(this.loc)f.loc=this.sourceLocation(e,i);return f}current(){return this.stack[this.stack.length-1]}append(e){this.fragments[this.fragments.length-1].nodes.push(e)}open(e,i){this.append(e),this.stack.push(e),this.fragments.push(i)}setFragment(e){this.fragments[this.fragments.length-1]=e}close(){this.stack.pop(),this.fragments.pop()}}var cn=["===","!==","==","!=","&&","||","??"];function Je(e,i,c,f){return{type:"Literal",start:i,end:c,value:f,raw:e.slice(i,c)}}function mr(e,i){let c=e.charCodeAt(i);if(c===34||c===39){for(let me=i+1;me<e.length;me++){let ge=e.charCodeAt(me);if(ge===c)return Je(e,i,me+1,e.slice(i+1,me));if(ge===92||ge===10||ge===13)return null}return null}let f=i;for(;f<e.length;f++){let me=e.charCodeAt(f);if(me<48||me>57)break}if(f===i||c===48&&f-i>1)return null;return Je(e,i,f,Number(e.slice(i,f)))}function un(e,i){let c=Ue(e,i);if(c===i)return mr(e,i);let f=e.slice(i,c);if(f==="true"||f==="false"||f==="null")return Je(e,i,c,f==="null"?null:f==="true");if(Qe.has(f))return null;let me={type:"Identifier",start:i,end:c,name:f};for(let ge=c;;){let be=e.charCodeAt(ge),xe,ye;if(be===46){if(ye=Ue(e,ge+1),ye===ge+1)return null;xe={type:"Identifier",start:ge+1,end:ye,name:e.slice(ge+1,ye)}}else if(be===91){if(xe=mr(e,ge+1),!xe||e.charCodeAt(xe.end)!==93)return null;ye=xe.end+1}else return me;me={type:"MemberExpression",start:i,end:ye,object:me,property:xe,computed:be===91,optional:!1},ge=ye}}function Ke(e,i){if(e.charCodeAt(i)!==33||e.charCodeAt(i+1)===61)return un(e,i);let c=Ke(e,Le(e,i+1));if(!c)return null;return{type:"UnaryExpression",start:i,end:c.end,operator:"!",prefix:!0,argument:c}}function gr(e,i){let c=Le(e,i);if(c>=e.length)return!1;let f=e.charCodeAt(c);return f===125||f===41}function pn(e,i){let c=Ke(e,i);if(!c||gr(e,c.end))return c;let f=Le(e,c.end),me=cn.find((be)=>e.startsWith(be,f));if(!me)return null;let ge=Ke(e,Le(e,f+me.length));if(!ge||!gr(e,ge.end))return null;return{type:me==="&&"||me==="||"||me==="??"?"LogicalExpression":"BinaryExpression",start:c.start,end:ge.end,left:c,operator:me,right:ge}}function hr(e){e.loc={start:l(e.start),end:l(e.end)};for(let i of["object","property","argument","left","right"]){let c=e[i];if(c)hr(c)}}function qe(e){let i=!e.loc||e.lfOnly?pn(e.source,e.index):null;if(i){if(e.index=i.end,e.loc)hr(i);return i}let{node:c,end:f}=u(e,e.source,e.index);return e.index=f,c}var br="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 dn=[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],Be,er=0;function fn(){if(Be)return Be;Be=new Map;for(let e of br.split(" ")){let i=e.indexOf(":");Be.set(e.slice(0,i),Number.parseInt(e.slice(i+1),36)),er=Math.max(er,i)}return Be}var rr=(e)=>e>=48&&e<=57,mn=(e)=>rr(e)||e>=65&&e<=70||e>=97&&e<=102,xr=(e)=>rr(e)||e>=65&&e<=90||e>=97&&e<=122,We=0;function gn(e,i,c){if(e.charCodeAt(i)===35){let ge=(e.charCodeAt(i+1)|32)===120,be=i+(ge?2:1),xe=be;while(xe<e.length&&(ge?mn:rr)(e.charCodeAt(xe)))xe++;if(xe===be)return 0;return We=e.charCodeAt(xe)===59?xe+1:xe,Number.parseInt(e.slice(be,xe),ge?16:10)}let f=fn(),me=i;while(me-i<er&&xr(e.charCodeAt(me)))me++;if(e.charCodeAt(me)===59){let ge=f.get(e.slice(i,me+1));if(ge!==void 0)return We=me+1,ge}for(let ge=me;ge>i;ge--){let be=f.get(e.slice(i,ge));if(be===void 0)continue;if(c){let xe=e.charCodeAt(ge);if(xr(xe)||xe===95||xe===61)continue}return We=ge,be}return 0}function hn(e,i){if(e===10&&!i)return 32;if(e<128)return e;if(e<=159)return dn[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 je(e,i){let c=e.indexOf("&");if(c===-1)return e;let f="",me=0;while(c!==-1){let ge=gn(e,c+1,i);if(ge)f+=e.slice(me,c)+String.fromCodePoint(hn(ge,i)),me=We;c=e.indexOf("&",ge?me:c+1)}return f+e.slice(me)}var yr=/<\/script\s*>/g,bn=new Set(["server","client","worker","test","default"]);function vr(e,i,c){let{source:f,index:me}=e;if(me>=f.length)r(f.length);yr.lastIndex=me;let ge=yr.exec(f);if(!ge)d(f.length,"script");e.index=ge.index+ge[0].length;let be=p(e,f.slice(0,ge.index),me);if(be.start=me,be.loc)Object.assign(be.loc.start,l(i)),Object.assign(be.loc.end,l(e.index));let xe="default";for(let ye of c){if(bn.has(ye.name))K(ye,ye.name);if(ye.name==="module"){if(ye.value!==!0)G(ye,ye.name);xe="module"}if(ye.name==="context"){let ve=ye.value;if(ve===!0||!Array.isArray(ve)||ve.length!==1||ve[0].type!=="Text"||ve[0].data!=="module")H(ye);xe="module"}}return{type:"Script",start:i,end:e.index,context:xe,content:be,attributes:c}}var xn=/(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of(\s+|(?=[.#[*:&])))/y,yn=/\d+(\.\d+)?%/y,vn=/\\[0-9a-fA-F]{1,6}(\r\n|\s)?/y,kn=/\s*>/y,Ce=-1,or=34,Sn=35,wn=36,An=38,ir=39,qn=40,En=41,Oe=42,Tn=43,Cn=45,_n=46,sr=47,nr=58,Dn=59,Ar=60,kr=61,Ln=62,Nn=91,Ge=92,Rn=93,Pn=94,qr=123,tr=124,Bn=125,Er=126,Fe=[];function Tr(e,i,c){let f=e.index;Fe=[];let me=e.css?On(e):jn(e),ge=e.index;return e.eat("</style",!0),e.read(kn),{type:"StyleSheet",start:i,end:e.index,attributes:c,children:me,comments:Fe,content:{start:f,end:ge,styles:e.source.slice(f,ge),comment:null}}}function jn(e){let{source:i,index:c}=e;while(c<i.length){let f=i.charCodeAt(c);if(f===sr&&i.charCodeAt(c+1)===Oe){let me=i.indexOf("*/",c+2);c=me===-1?i.length:me+2}else if(f===or||f===ir){c++;while(c<i.length){let me=i.charCodeAt(c);if(me===f||me===10)break;c+=me===Ge?2:1}c++}else if(f===Ar&&i.startsWith("</style",c))break;else c++}return e.index=Math.min(c,i.length),[]}function On(e){let i=[];for(;;){if(Ne(e,!0),e.match("</style")||e.index>=e.source.length)break;i.push(e.match("@")?Cr(e):_r(e))}return i}function Cr(e){let i=e.index;e.eat("@",!0);let c=_e(e),f=lr(e,!0),me=null;if(e.match("{"))me=Nr(e);else e.eat(";",!0);return{type:"Atrule",start:i,end:e.index,name:c,prelude:f,block:me}}function _r(e){let i=e.index;return{type:"Rule",prelude:Dr(e,!1),block:Nr(e),start:i,end:e.index}}function Dr(e,i){let c=[];Ne(e,!0);let f=e.index;while(e.index<e.source.length){c.push(In(e,i));let me=e.index;if(Ne(e,!0),e.match(i?")":"{"))return{type:"SelectorList",start:f,end:me,children:c};e.eat(",",!0),Ne(e,!0)}return r(e.source.length)}function Sr(e,i){return{type:"RelativeSelector",combinator:e,selectors:[],start:i,end:-1}}function In(e,i){let{source:c,index:f}=e,me=[],ge=Sr(null,e.index);while(e.index<c.length){let be=e.index,xe=c.charCodeAt(be),ye=ge.selectors;if(xe===An)e.index++,ye.push({type:"NestingSelector",name:"&",start:be,end:e.index});else if(xe===Oe)e.index++,ye.push(wr(e,be,"*"));else if(xe===Sn)e.index++,ye.push({type:"IdSelector",name:_e(e),start:be,end:e.index});else if(xe===_n)e.index++,ye.push({type:"ClassSelector",name:_e(e),start:be,end:e.index});else if(xe===nr){let Ae=c.charCodeAt(be+1)===nr;e.index+=Ae?2:1;let we=_e(e),De=null;if(e.eat("("))De=Dr(e,!0),e.eat(")",!0);if(Ae)ye.push({type:"PseudoElementSelector",name:we,start:be,end:e.index,...De&&{args:De}});else ye.push({type:"PseudoClassSelector",name:we,args:De,start:be,end:e.index})}else if(xe===Nn)e.index++,ye.push(zn(e,be));else{let Ae=i?e.read(xn):null,we=!Ae&&Ve(xe)?e.read(yn):null;if(Ae)ye.push({type:"Nth",value:Ae,start:be,end:e.index});else if(we)ye.push({type:"Percentage",value:we,start:be,end:e.index});else if(Lr(c,be)===0){let De=_e(e);ye.push(wr(e,be,De))}}let ve=e.index;Ne(e,!1);let ke=e.match(",")||e.match(i?")":"{");if(e.index=ve,ke)return ge.end=ve,me.push(ge),{type:"ComplexSelector",start:f,end:ve,children:me};let Se=Un(e);if(Se){if(ge.selectors.length>0)ge.end=ve,me.push(ge);if(ge=Sr(Se,Se.start),e.allowWhitespace(),e.match(",")||e.match(i?")":"{"))I(e.index)}}return r(c.length)}function wr(e,i,c){let f=c,me;if(e.eat("|"))me=f,f=e.eat("*")?"*":_e(e);return{type:"TypeSelector",name:f,...me!==void 0&&{namespace:me},start:i,end:e.index}}function zn(e,i){let c=e.source;e.allowWhitespace();let f=_e(e);e.allowWhitespace();let me=null,ge=null,be=c.charCodeAt(e.index);if(be===kr)ge="=";else if((be===Er||be===Pn||be===wn||be===Oe||be===tr)&&c.charCodeAt(e.index+1)===kr)ge=c.slice(e.index,e.index+2);if(ge)e.index+=ge.length,e.allowWhitespace(),me=Gn(e);e.allowWhitespace();let xe=e.index;while(Pr(c.charCodeAt(e.index)))e.index++;let ye=e.index>xe?c.slice(xe,e.index):null;return e.allowWhitespace(),e.eat("]",!0),{type:"AttributeSelector",start:i,end:e.index,name:f,matcher:ge,value:me,flags:ye}}function Lr(e,i){let c=e.charCodeAt(i);if(c===Tn||c===Er||c===Ln)return 1;if(c===tr&&e.charCodeAt(i+1)===tr)return 2;return 0}function Un(e){let i=e.index;e.allowWhitespace();let c=e.index,f=Lr(e.source,c);if(f>0){e.index+=f;let me=e.index;return e.allowWhitespace(),{type:"Combinator",name:e.source.slice(c,me),start:c,end:me}}if(e.index!==i)return{type:"Combinator",name:" ",start:i,end:e.index};return null}function Nr(e){let i=e.index;e.eat("{",!0);let c=[];while(e.index<e.source.length){if(Ne(e,!0),e.match("}"))break;c.push(Wn(e))}return e.eat("}",!0),{type:"Block",start:i,end:e.index,children:c}}function Wn(e){if(e.match("@"))return Cr(e);let i=e.index;lr(e,!1);let c=e.source.charCodeAt(e.index);return e.index=i,c===qr?_r(e):Fn(e)}function Fn(e){let{source:i,index:c}=e;if(c>=i.length)r(i.length);let f=c;while(f<i.length){let ye=i.charCodeAt(f);if(ye===nr||Ee(ye))break;f++}let me=i.slice(c,f);e.index=f,e.allowWhitespace(),e.eat(":");let ge=e.index;e.allowWhitespace();let be=lr(e,!0);if(!be&&!me.startsWith("--"))q({start:c,end:ge});let xe=e.index;if(!e.match("}"))e.eat(";",!0);return{type:"Declaration",start:c,end:xe,property:me,value:be}}function lr(e,i){let c=e.source,f=c.length,me="",ge=e.index,be=null,xe=!1,ye=!1,ve=Ce,ke=e.index;while(ke<f){let Se=c.charCodeAt(ke);if(xe){xe=!1,ke++;continue}if(Se===Ge){xe=!0,ke++;continue}if(Se===ve)ve=Ce;else if(Se===En)ye=!1;else if(ve===Ce&&(Se===or||Se===ir))ve=Se;else if(Se===qn){if(Vn(c,me,ge,ke))ye=!0}else if((Se===Dn||Se===qr||Se===Bn)&&!ye&&ve===Ce){if(e.index=ke,!i)return"";if(me+=c.slice(ge,ke),be){let Ae=me.length-me.trimStart().length;for(let we of be)we.position=Math.max(0,(we.position??0)-Ae)}return me.trim()}else if(Se===sr&&!ye&&ve===Ce&&c.charCodeAt(ke+1)===Oe){me+=c.slice(ge,ke),e.index=ke;let Ae=Rr(e);if(i)Ae.position=me.length,Fe.push(Ae),be??=[],be.push(Ae);ke=e.index,ge=ke;continue}ke++}return e.index=f,r(f)}function Vn(e,i,c,f){if(f-c>=3)return e.charCodeAt(f-3)===117&&e.charCodeAt(f-2)===114&&e.charCodeAt(f-1)===108;return(i+e.slice(c,f)).endsWith("url")}function Gn(e){let i=e.source,c=Ce;if(e.eat('"'))c=or;else if(e.eat("'"))c=ir;let f=e.index,me=!1,ge=f;while(ge<i.length){let be=i.charCodeAt(ge);if(me)me=!1;else if(be===Ge)me=!0;else if(c===Ce?be===Rn||Ee(be):be===c)return e.index=c===Ce?ge:ge+1,i.slice(f,ge).trim();ge++}return e.index=ge,r(i.length)}function _e(e){let{source:i,index:c}=e,f=i.charCodeAt(c);if(Ve(f)||f===Cn&&Ve(i.charCodeAt(c+1)))b(c);let me="",ge=c,be=c;while(be<i.length){let xe=i.charCodeAt(be);if(xe===Ge){me+=i.slice(ge,be),e.index=be;let ye=e.matchRegex(vn);if(ye){let ve=String.fromCodePoint(Number.parseInt(ye.slice(1),16));me+=ve==="\\"?"\\\\":ve,be+=ye.length}else me+=`\\${i[be+1]}`,be+=2;ge=be}else if(xe>=160||Hn(xe))be++;else break}if(me+=i.slice(ge,be),e.index=be,me==="")b(c);return me}function Ne(e,i){let c=e.source;e.allowWhitespace();for(;;){let f=c.charCodeAt(e.index);if(f===sr&&c.charCodeAt(e.index+1)===Oe){let me=Rr(e);if(i)Fe.push(me)}else if(f===Ar&&e.eat("<!--"))e.readUntil("-->"),e.eat("-->",!0);else break;e.allowWhitespace()}}function Rr(e){let i=e.index;e.eat("/*",!0);let c=e.readUntil("*/");return e.eat("*/",!0),{type:"CSSComment",value:c,start:i,end:e.index}}function Ve(e){return e>=48&&e<=57}function Pr(e){return e>=65&&e<=90||e>=97&&e<=122}function Hn(e){return Pr(e)||Ve(e)||e===95||e===45}var ar=/<\/textarea(\s[^>]*)?>/iy,Mn=/^![a-zA-Z]+$/,$n=/^[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$/,Xn=/^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u,cr="\\u200C\\u200D",Zn=new RegExp(`^(?:\\p{Lu}[$${cr}\\p{ID_Continue}.]*|\\p{ID_Start}[$${cr}\\p{ID_Continue}]*(?:\\.[$${cr}\\p{ID_Continue}]+)+)$`,"u"),Qn=new Set("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Yn=new Map([["use","UseDirective"],["animate","AnimateDirective"],["bind","BindDirective"],["class","ClassDirective"],["style","StyleDirective"],["on","OnDirective"],["let","LetDirective"],["in","TransitionDirective"],["out","TransitionDirective"],["transition","TransitionDirective"]]),ur=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=[...ur.keys()],Jn=`${Br.slice(0,-1).join(", ")} or ${Br.at(-1)}`,Fr=47,He=62,Vr=61,Kn=34,et=39,jr=123,Re=(e)=>e===Kn||e===et;function rt(e,i,c){let f=i;for(;f<e.length;f++){let me=e.charCodeAt(f);if(Ee(me)||me===Fr||me===He)break;if(c&&(Re(me)||me===Vr))break}return f}function Me(e,i){let c=e.index;if(c>=e.source.length)r(e.source.length);let f=rt(e.source,c,i);return e.index=f,{name:e.source.slice(c,f),start:c,end:f,loc:e.sourceLocation(c,f)}}var Ie=(e,i,c,f=c)=>({start:e,end:i,type:"Text",raw:c,data:f});function Gr(e){return Qn.has(e)||e.charCodeAt(0)===33&&e.toLowerCase()==="!doctype"}function nt(e){let i=e.charCodeAt(0);if(i>=97&&i<=122&&!e.includes("."))return!1;return Zn.test(e)}function tt(e){let i=!0;for(let c=0;c<e.length&&i;c++){let f=e.charCodeAt(c);i=f>=97&&f<=122||c>0&&f>=48&&f<=57}return i&&e.length>0||Mn.test(e)||$n.test(e)||Xn.test(e)}function Or(e,i){for(let c=e.length-1;c>=0;c--){let f=i(e[c]);if(f!==void 0)return f}return!1}function ot(e,i,c){let f=ur.get(i);if(f)return f[0];if(c)return"Component";if(i==="title"){if(Or(e.stack,({type:ge})=>{if(ge==="SvelteHead")return!0;return ge==="RegularElement"||ge==="Component"?!1:void 0}))return"TitleElement"}if(i==="slot"){if(!Or(e.stack,(ge)=>ge.type==="RegularElement"&&ge.attributes.some((be)=>be.type==="Attribute"&&be.name==="shadowrootmode")?!0:void 0))return"SlotElement"}return"RegularElement"}function Hr(e){let i=e.index++;if(e.eat("!--")){let c=e.readUntil("-->");e.eat("-->",!0),e.append({type:"Comment",start:i,end:e.index,data:c})}else if(e.eat("/"))it(e,i);else lt(e,i)}function it(e,i){let{name:c}=Me(e,!1);if(e.allowWhitespace(),e.eat(">",!0),Gr(c))fe(i);let f=e.current();while(!("name"in f)||f.name!==c){if(f.type!=="RegularElement"){let me=e.lastAutoClosedTag;if(me?.tag===c)V(i,c,me.reason);B(i,c)}f.end=i,e.close(),f=e.current()}if(f.end=e.index,e.close(),e.stack.length<(e.lastAutoClosedTag?.depth??0))e.lastAutoClosedTag=void 0}function st(e,i,c){return{type:e,start:i,end:-1,name:c}}function lt(e,i){let c=Me(e,!1),{name:f}=c,me=ur.get(f);if(!me&&f.startsWith("svelte:"))te(c,Jn);let ge=nt(f);if(!ge&&!tt(f))ce(c);if(me?.[1]){if(e.metaTags.has(f))Z(i,f);if(e.current().type!=="Root")ee(i,f);e.metaTags.add(f)}let be=st(ot(e,f,ge),i,f);if(e.loc)be.name_loc=c.loc;be.attributes=[],be.fragment={type:"Fragment",nodes:[]},e.allowWhitespace();let xe=e.current();if(xe.type==="RegularElement"&&fr(xe.name,f))xe.end=i,e.close(),e.lastAutoClosedTag={tag:xe.name,reason:f,depth:e.stack.length};if((f==="script"||f==="style")&&e.current().type==="Root"){let ve=[];be.attributes=ve,Wr(e,ve,ft),ct(e,be,i,ve);return}if(Wr(e,be.attributes,gt),be.type==="SvelteComponent"){let ve=Ir(be);if(!ve)Y(i);if(!zr(ve.value))Q(ve.start);be.expression=Ur(ve.value)}else if(be.type==="SvelteElement"){let ve=Ir(be);if(!ve)v(i);if(ve.value===!0)v(ve);be.tag=zr(ve.value)?Ur(ve.value):dt(ve.value[0])}if(!e.eat("/")&&!Gr(f))if(e.eat(">",!0),f==="textarea")be.fragment.nodes=$r(e,(ve,ke)=>(ar.lastIndex=ke,ar.test(ve)),"inside <textarea>"),e.read(ar);else if(f==="script"||f==="style")be.fragment.nodes.push(at(e,`</${f}>`));else{e.open(be,be.fragment);return}else e.eat(">",!0);be.end=e.index,e.append(be)}function at(e,i){let c=e.index,f=e.source.indexOf(i,c);e.index=f===-1?e.source.length:f;let me=Ie(c,e.index,e.source.slice(c,e.index));return e.eat(i,!0),me}function ct(e,i,c,f){e.eat(">",!0);let me=ut(e.root.fragment.nodes,c);if(i.name==="style"){let xe=Tr(e,c,f);if(xe.content.comment=me,e.root.css)X(c);e.root.css=xe;return}let ge=vr(e,c,f);if(me)ge.content.leadingComments=[{type:"Line",value:me.data}];let be=ge.context==="module"?"module":"instance";if(e.root[be])W(c);e.root[be]=ge}function ut(e,i){let c=e.length-1;if(c<0||e[c].end!==i)return null;for(let f=c;f>=0;f--){let me=e[f];if(me.type==="Comment")return me;if(me.type!=="Text"||me.data.trim())return null}return null}var pt=(e)=>e.type==="Attribute"&&e.name==="this";function Ir(e){let i=e.attributes.find(pt);if(i)e.attributes.splice(e.attributes.indexOf(i),1);return i}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 dt(e){if(e.type!=="Text")return e.expression;return{type:"Literal",value:e.data,raw:`'${e.raw}'`,start:e.start,end:e.end}}function Wr(e,i,c){let f=new Set;for(;;){let me=c(e);if(!me)return;let{type:ge}=me;if(ge==="Attribute"||ge==="BindDirective"||ge==="StyleDirective"||ge==="ClassDirective"){let be=`${ge==="BindDirective"?"Attribute":ge}${me.name}`;if(f.has(be))S(me);if(me.name!=="this")f.add(be)}i.push(me),e.allowWhitespace()}}function pr(e,i,c,f,me){return e.loc?{type:"Attribute",start:c,end:f,name:i.name,name_loc:i.loc,value:me}:{type:"Attribute",start:c,end:f,name:i.name,value:me}}function Mr(e){if(Re(e.source.charCodeAt(e.index)))n(e.index,"=")}function ft(e){let i=e.index,c=Me(e,!0);if(!c.name)return null;let f=!0;if(e.eat("=")){e.allowWhitespace();let{source:me}=e,ge=e.index,be=-1;if(Re(me.charCodeAt(ge))){let ve=me.indexOf(me[ge],ge+1);if(ve!==-1)be=ve+1}if(be===-1){be=ge;while(be<me.length&&me.charCodeAt(be)!==He&&!Ee(me.charCodeAt(be)))be++;if(be===ge)g(ge)}e.index=be;let xe=Re(me.charCodeAt(ge))?1:0,ye=me.slice(ge+xe,be-xe);f=[Ie(be-ye.length-xe,be-xe,ye,je(ye,!0))]}return Mr(e),pr(e,c,i,e.index,f)}function mt(e){let i=e.index,c=e.match("/*");if(!c&&!e.match("//"))return!1;e.index+=2;let f=e.readUntil(c?"*/":`
|
|
2
|
-
`);if(c)e.eat("*/");let me={type:c?"Block":"Line",start:i,end:e.index,value:f},ge=e.sourceLocation(i,e.index);if(ge)me.loc=ge;return e.root.comments.push(me),!0}function gt(e){while(mt(e))e.allowWhitespace();let i=e.index;if(e.eat("{"))return ht(e,i);let c=Me(e,!0);if(!c.name)return null;let f=e.index;e.allowWhitespace();let me=!0;if(e.eat("=")){if(e.allowWhitespace(),e.match("/>"))me=[Ie(e.index,e.index+1,"/")],e.index++;else me=yt(e);f=e.index}else Mr(e);let ge=c.name.indexOf(":"),be=ge>0?Yn.get(c.name.slice(0,ge)):void 0;return be?xt(e,be,c,ge,i,f,me):pr(e,c,i,f,me)}function ht(e,i){if(e.allowWhitespace(),e.eat("@attach")){e.requireWhitespace();let me=qe(e);return e.eatClosingBrace(),{type:"AttachTag",start:i,end:e.index,expression:me}}if(e.eat("...")){let me=qe(e);return e.eatClosingBrace(),{type:"SpreadAttribute",start:i,end:e.index,expression:me}}let c=e.readIdentifierName();if(c.name==="")A(i);e.eatClosingBrace();let f={type:"ExpressionTag",start:c.start,end:c.end,expression:c};return pr(e,c,i,e.index,f)}function bt(e){if(e===!0)return;return Array.isArray(e)?e[0]:e}function xt(e,i,c,f,me,ge,be){let[xe,...ye]=c.name.slice(f+1).split("|");if(xe==="")D({start:me,end:me+f+1},c.name);let ve={start:me,end:ge,type:i,name:xe};if(e.loc)ve.name_loc=c.loc;if(i==="StyleDirective")return ve.modifiers=ye,ve.value=be,ve;let ke=bt(be);if(ke&&(Array.isArray(be)&&be.length>1||ke.type==="Text"))O(ke.start);if(ve.expression=ke?.expression??null,ve.modifiers=ye,i==="TransitionDirective"){let Se=c.name.slice(0,f);ve.intro=Se!=="out",ve.outro=Se!=="in"}if((i==="BindDirective"||i==="ClassDirective")&&!ve.expression)ve.expression={start:me+f+1,end:ge,type:"Identifier",name:xe};return ve}function yt(e){let i=e.source.charCodeAt(e.index),c=Re(i);if(c){if(e.index++,e.source.charCodeAt(e.index)===i)return e.index++,[Ie(e.index-1,e.index-1,"")]}let f;try{f=$r(e,c?(me,ge)=>me.charCodeAt(ge)===i:vt,"in attribute value",c?i:void 0)}catch(me){let ge=me instanceof t?me.position?.[0]:void 0;if(me instanceof t&&me.code==="js_parse_error"&&ge!==void 0&&e.source.startsWith("/>",ge-1))e.index=ge,n(ge,c?String.fromCharCode(i):"}");throw me}if(c)e.index++;else if(f.length===0)g(e.index);return c||f.length>1||f[0].type==="Text"?f:f[0]}function vt(e,i){let c=e.charCodeAt(i);return Ee(c)||Re(c)||c===Vr||c===60||c===He||c===96||c===Fr&&e.charCodeAt(i+1)===He}function $r(e,i,c,f){let{source:me}=e,ge=[],be=e.index,xe=(ye)=>{if(ye<=be)return;let ve=me.slice(be,ye);ge.push(Ie(be,ye,ve,je(ve,!0)))};while(e.index<me.length){let ye=e.index;if(i(me,ye))return xe(ye),ge;if(me.charCodeAt(ye)!==jr){if(e.index++,f!==void 0)while(e.index<me.length&&me.charCodeAt(e.index)!==jr&&me.charCodeAt(e.index)!==f)e.index++;continue}e.index++;let ve=me.charCodeAt(e.index);if(ve===35||ve===64){e.index++;let Se=e.index;while(e.index<me.length&&me.charCodeAt(e.index)>=97&&me.charCodeAt(e.index)<=122)e.index++;let Ae=me.slice(Se,e.index);(ve===35?C:le)(ye,Ae,c)}xe(ye),e.allowWhitespace();let ke=qe(e);e.eatClosingBrace(),ge.push({type:"ExpressionTag",start:ye,end:e.index,expression:ke}),be=e.index}r(me.length)}var kt=new Map([["html","html"],["svg","svg"],["mathml","mathml"],["http://www.w3.org/2000/svg","svg"],["http://www.w3.org/1998/Math/MathML","mathml"]]),St=new Map([["type",(e,i)=>{if(i!=="String"&&i!=="Number"&&i!=="Boolean"&&i!=="Array"&&i!=="Object")return!1;return e.type=i,!0}],["reflect",(e,i)=>{if(typeof i!=="boolean")return!1;return e.reflect=i,!0}],["attribute",(e,i)=>{if(typeof i!=="string")return!1;return e.attribute=i,!0}]]),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}-]",wt=new RegExp(`^[a-z]${Xr}*-${Xr}*$`,"u"),At=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ")),$e=(e)=>(i,c)=>{let f=Xe(c);if(typeof f!=="boolean")m(c,"true or false");i[e]=f},qt=new Map([["runes",$e("runes")],["immutable",$e("immutable")],["preserveWhitespace",$e("preserveWhitespace")],["accessors",$e("accessors")],["namespace",(e,i)=>{let c=kt.get(Xe(i));if(!c)m(i,'"html", "mathml" or "svg"');e.namespace=c}],["css",(e,i)=>{if(Xe(i)!=="injected")m(i,'"injected"');e.css="injected"}],["tag",(e,i)=>ie(i)],["customElement",(e,i)=>{let c=Tt(i);if(c)e.customElement=c}]]);function Qr(e){let i=[],c={start:e.start,end:e.end,attributes:i};for(let f of e.attributes){if(f.type!=="Attribute")se(f);i.push(f);let me=qt.get(f.name);if(!me)ue(f,f.name);me(c,f)}return c}function Xe({value:e}){if(e===!0)return!0;let i=Array.isArray(e)?e:[e];if(i.length===0)return!0;if(i.length>1)return null;let[c]=i;if(c.type==="Text")return c.data;return c.expression.type==="Literal"?c.expression.value:null}function Zr(e,i){if(typeof i!=="string")k(e);if(!i)return;if(!wt.test(i))k(e);if(At.has(i))oe(e)}function Et(e,i){let c=new Map;for(let f of e.properties){if(f.type!=="Property"||f.computed||f.key.type!=="Identifier")i();if(!c.has(f.key.name))c.set(f.key.name,f.value)}return c}function Tt(e){let i=()=>re(e);if(e.value===!0)i();let c=Array.isArray(e.value)?e.value[0]:e.value;if(c.type==="Text"){let ke=Xe(e);return Zr(e,ke),{tag:ke}}let{expression:f}=c;if(f.type!=="ObjectExpression"){if(f.type==="Literal"&&f.value===null)return;i()}let me=Et(f,i),ge={},be=me.get("tag");if(be){let ke=be.type==="Literal"?be.value:void 0;Zr(null,ke),ge.tag=ke}let xe=me.get("props");if(xe){let ke=()=>ne(e);if(xe.type!=="ObjectExpression")ke();ge.props={};for(let Se of xe.properties){if(Se.type!=="Property"||Se.computed||Se.key.type!=="Identifier"||Se.value.type!=="ObjectExpression")ke();let Ae={};ge.props[Se.key.name]=Ae;for(let we of Se.value.properties){if(we.type!=="Property"||we.computed||we.key.type!=="Identifier"||we.value.type!=="Literal")ke();if(!St.get(we.key.name)?.(Ae,we.value.value))ke()}}}let ye=me.get("shadow");if(ye)if(ye.type==="ObjectExpression")ge.shadow=ye;else if(ye.type==="Literal"&&(ye.value==="open"||ye.value==="none"))ge.shadow=ye.value;else ae(e);let ve=me.get("extend");if(ve)ge.extend=ve;return ge}var Ct={"{":"}","(":")","[":"]"};function ze(e,i,c=Ct){let f=Object.values(c),me=[],ge=i;while(ge<e.length){let be=e[ge++];if(be==="'"||be==='"'||be==="`")ge=_t(e,ge,be);else if(Object.hasOwn(c,be))me.push(be);else if(f.includes(be)){let xe=c[me.pop()??""];if(be!==xe)n(ge-1,xe);if(me.length===0)return ge}}r(e.length)}function _t(e,i,c){let f=i;while(f<e.length){let me=e[f++];if(me===c)return f;if(me==="\\")f++;else if(c==="`"&&me==="$"&&e[f]==="{")f=ze(e,f)}pe(i)}var Dt=/\?\s*:/g;function Pe(e){let i=e.index,c=e.readIdentifierName();if(c.name!==""){let xe=Yr(e);return{...c,typeAnnotation:xe}}let f=e.source[e.index];if(f!=="{"&&f!=="[")j(e.index);e.index=ze(e.source,i);let{node:me}=u(e,`${e.source.slice(0,e.index)} = 1`,i),ge=me.left,be=Yr(e);if(ge.typeAnnotation=be,be)ge.end=be.end;return ge}function Yr(e){let i=e.index;if(e.allowWhitespace(),!e.eat(":")){e.index=i;return}let c="_ as ",f=e.index-c.length,me=e.source.slice(0,f)+c+e.source.slice(e.index).replace(Dt,":"),ge=u(e,me,f).node;if(ge.type==="AssignmentExpression"){let be=ge.right.start;while(me[be]!=="=")be-=1;ge=u(e,me.slice(0,be),f).node}if(ge.type==="SequenceExpression")ge=ge.expressions[0];return e.index=ge.end,{type:"TSTypeAnnotation",start:i,end:e.index,typeAnnotation:ge.typeAnnotation}}var Lt=/\s*}/y,Nt={IfBlock:"if",EachBlock:"each",KeyBlock:"key",AwaitBlock:"await",SnippetBlock:"snippet"},Te=()=>({type:"Fragment",nodes:[]});function Kr(e,i){if(e.eat("if")){e.requireWhitespace();let c=qe(e);e.eatClosingBrace();let f=Te();e.open({type:"IfBlock",elseif:!1,start:i,end:-1,test:c,consequent:f,alternate:null},f)}else if(e.eat("each"))Rt(e,i);else if(e.eat("await")){e.requireWhitespace();let c=qe(e);e.allowWhitespace();let f={type:"AwaitBlock",start:i,end:-1,expression:c,value:null,error:null,pending:null,then:null,catch:null},me=Te();if(e.eat("then"))f.value=Jr(e),f.then=me;else if(e.eat("catch"))f.error=Jr(e),f.catch=me;else f.pending=me;e.eat("}",!0),e.open(f,me)}else if(e.eat("key")){e.requireWhitespace();let c=qe(e);e.eatClosingBrace();let f=Te();e.open({type:"KeyBlock",start:i,end:-1,expression:c,fragment:f},f)}else if(e.eat("snippet"))Pt(e,i);else F(e.index)}function Jr(e){if(e.matchRegex(Lt))return e.allowWhitespace(),null;e.requireWhitespace();let i=Pe(e);return e.allowWhitespace(),i}function Rt(e,i){e.requireWhitespace();let c=e.source,f;while(!f)try{f=qe(e)}catch(ye){let ve=(ye.position?.[0]??i)-2;while(ve>i&&e.source.slice(ve,ve+2)!=="as")ve-=1;if(ve<=i)throw e.source=c,ye;e.source=c.slice(0,ve)}if(e.source=c,e.allowWhitespace(),!e.match("as")){if(f.type==="SequenceExpression")f=f.expressions[0];let ye=f,ve=null,ke=ye.end,Se=(we)=>{if(we.type==="TSAsExpression"&&we.end===ye.end)return ve=we,ke=we.expression.end,we.expression;return w(we,Se),we},Ae=Se(ye);if(Ae.end=ke,f=Ae,ve){let we=ve.typeAnnotation.start-2;while(e.source.slice(we,we+2)!=="as")we-=1;e.index=we}}let me=null,ge,be;if(e.eat("as"))e.requireWhitespace(),me=Pe(e);else e.index=f.end;if(e.allowWhitespace(),e.eat(",")){if(e.allowWhitespace(),ge=e.readIdentifierName().name,!ge)y(e.index);e.allowWhitespace()}if(e.eat("("))e.allowWhitespace(),be=qe(e),e.allowWhitespace(),e.eat(")",!0),e.allowWhitespace();e.eat("}",!0);let xe=Te();e.open({type:"EachBlock",start:i,end:-1,expression:f,body:xe,context:me,index:ge,key:be},xe)}function Pt(e,i){e.requireWhitespace();let c=e.readIdentifierName();if(c.name==="")y(e.index);e.allowWhitespace();let f=e.index,me;if(e.isTypeScript&&e.match("<")){let ve=ze(e.source,f,{"<":">"});me=e.source.slice(f+1,ve-1),e.index=ve}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:be}=u(e,`${e.source.slice(0,e.index)} => {}`,f,!0),xe=be.params;e.eatClosingBrace();let ye=Te();e.open({type:"SnippetBlock",start:i,end:-1,expression:c,typeParams:me,parameters:xe,body:ye},ye)}function en(e,i){let c=e.index-1,f=e.current();if(f.type==="IfBlock"){if(!e.eat("else"))n(c,"{:else} or {:else if}");if(e.eat("if"))_(c);if(e.allowWhitespace(),f.alternate=Te(),e.setFragment(f.alternate),e.eat("if")){e.requireWhitespace();let me=qe(e);e.eatClosingBrace();let ge=Te();e.open({start:i,end:-1,type:"IfBlock",elseif:!0,test:me,consequent:ge,alternate:null},ge)}else e.eatClosingBrace()}else if(f.type==="EachBlock"){if(!e.eat("else"))n(c,"{:else}");e.eatClosingBrace(),f.fallback=Te(),e.setFragment(f.fallback)}else if(f.type==="AwaitBlock"){let me=e.eat("then")?"then":e.eat("catch")?"catch":n(c,"{:then ...} or {:catch ...}");if(f[me])E(c,`{:${me}}`);if(!e.eat("}")){e.requireWhitespace();let be=Pe(e);if(me==="then")f.value=be;else f.error=be;e.eatClosingBrace()}let ge=Te();f[me]=ge,e.setFragment(ge)}else T(c)}function rn(e){let i=e.current(),c=Nt[i.type];if(!c)L(e.index-1);e.eat(c,!0),e.eatClosingBrace();while(i.type==="IfBlock"&&i.elseif)i.end=e.index,e.close(),i=e.current();i.end=e.index,e.close()}var Bt=/\s*}/y;function jt(e){return e.type==="CallExpression"||e.type==="ChainExpression"&&e.expression.type==="CallExpression"}function nn(e,i){if(e.eat("html")){e.requireWhitespace();let c=qe(e);e.eatClosingBrace(),e.append({type:"HtmlTag",start:i,end:e.index,expression:c})}else if(e.eat("debug")){let c=[];if(!e.read(Bt)){let f=qe(e),me=f.type==="SequenceExpression"?f.expressions:[f];for(let ge of me){if(ge.type!=="Identifier")R(ge.start);c.push(ge)}e.eatClosingBrace()}e.append({type:"DebugTag",start:i,end:e.index,identifiers:c})}else if(e.eat("const")){e.requireWhitespace();let c=Pe(e);e.allowWhitespace(),e.eat("=",!0),e.allowWhitespace();let f=e.index,me=qe(e),ge=e.index;if(me.type==="SequenceExpression"&&!e.source.slice(f,me.start).includes("("))P(me);e.eatClosingBrace();let be={type:"VariableDeclarator",id:c,init:me,start:c.start,end:ge};e.append({type:"ConstTag",start:i,end:e.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[be],start:i+2,end:e.index-1}})}else if(e.eat("render")){e.requireWhitespace();let c=qe(e);if(!jt(c))z(c);e.eatClosingBrace(),e.append({type:"RenderTag",start:i,end:e.index,expression:c})}else M(e.index)}var Ot=/(?:var|interface|enum)\b/y,It=/(?:let|const|type)\b/y;function tn(e){let i=e.index;if(e.index+=1,e.allowWhitespace(),e.eat("#"))Kr(e,i);else if(e.eat(":"))en(e,i);else if(e.eat("@"))nn(e,i);else if(e.match("/")&&!e.match("/*")&&!e.match("//"))e.index+=1,rn(e);else if(!zt(e,i)){let c=qe(e);e.eatClosingBrace(),e.append({type:"ExpressionTag",start:i,end:e.index,expression:c})}}function zt(e,i){let c=e.index,f=e.matchRegex(Ot);if(f)x({start:c,end:c+f.length});if(!e.matchRegex(It))return!1;let me=e.root.comments.length,ge=de(e,e.source,c);if(ge.type==="ExpressionStatement")return e.root.comments.length=me,!1;if(ge.kind!=="let"&&ge.kind!=="const")x(ge);return e.index=ge.end,e.eatClosingBrace(),e.append({type:"DeclarationTag",start:i,end:e.index,declaration:ge}),!0}function sn(e){let{source:i,index:c}=e;if(e.nextAngle<c)e.nextAngle=on(i,"<",c);if(e.nextBrace<c)e.nextBrace=on(i,"{",c);let f=Math.min(e.nextAngle,e.nextBrace);e.index=f;let me=i.slice(c,f);e.append({type:"Text",start:c,end:f,raw:me,data:je(me,!1)})}function on(e,i,c){let f=e.indexOf(i,c);return f===-1?e.length:f}function Xo(e,i){let c=e.charCodeAt(0)===65279?e.slice(1):e;h(c);let f=new Ye(c.trimEnd(),c.length,i);while(f.index<f.source.length)if(f.match("<"))Hr(f);else if(f.match("{"))tn(f);else sn(f);if(f.stack.length>1){let xe=f.current();if(xe.end=xe.start+1,xe.type==="RegularElement")d(xe,xe.name);N(xe)}let{nodes:me}=f.root.fragment,ge=me.findIndex((xe)=>xe.type==="SvelteOptions"),be=me[ge];if(be?.type==="SvelteOptions"){me.splice(ge,1),f.root.options=Qr(be);let{nodes:xe}=be.fragment;if(xe.length>0)J({start:xe[0].start,end:xe[xe.length-1].end},be.name)}return f.root}export{Xo as parse};
|
|
1
|
+
import{r,a}from"./shared-vpc1jrf6.js";import{c,n,u,e,T,A,E,N,C,_,L,P,q,I,x,R,O,g,D,B,V,F,d,y,M,v,j,U,s,z,W,G,H,K,Q,X,Y,Z,k,J,ee,te,ie,se,re,m,ne,ae,oe,w,ue,le,ce,he,i,pe,fe,de,h,l,p,o,me}from"./shared-tjen9kxy.js";var mr={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".split(" "),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 gr(t,f){return Object.hasOwn(mr,t)&&mr[t].includes(f)}var Je=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".split(" ")),Ye=/<!--[\s\S]*?-->|<script\s+(?:[^>]*|(?:[^=>'"/]+=(?:"[^"]*"|'[^']*'|[^>\s]+)\s+)*)lang=(["'])?([^"' >]+)\1[^>]*>/y,lt=/\r(?!\n)|[\u2028\u2029]/;function Te(t){if(t===32||t<=13&&t>=9)return!0;if(t<160)return!1;return t===160||t===5760||t>=8192&&t<=8202||t===8232||t===8233||t===8239||t===8287||t===12288||t===65279}function Re(t,f){let b=f;while(b<t.length&&Te(t.charCodeAt(b)))b++;return b}function We(t,f){let b=t.codePointAt(f);if(b===void 0||!r(b,!0))return f;let S=f+(b<=65535?1:2),ge=t.codePointAt(S);while(ge!==void 0&&a(ge,!0))S+=ge<=65535?1:2,ge=t.codePointAt(S);return S}function at(t){let f=t.indexOf("<");while(f!==-1){let b=t.charCodeAt(f+1);if(b===33||b===115){Ye.lastIndex=f;let S=Ye.exec(t);if(S){if(b===115)return S[2]==="ts";f=t.indexOf("<",Ye.lastIndex);continue}}f=t.indexOf("<",f+1)}return!1}class Ke{source;index=0;loc;lfOnly;isTypeScript;css;root;stack;fragments;metaTags=new Set;lastAutoClosedTag;nextAngle=-1;nextBrace=-1;constructor(t,f,b={}){this.source=t,this.loc=b.loc??!1,this.lfOnly=this.loc&&!lt.test(t),this.isTypeScript=at(t),this.css=b.css??!0,this.root={type:"Root",start:0,end:f,css:null,js:[],options:null,fragment:{type:"Fragment",nodes:[]},comments:[]},this.stack=[this.root],this.fragments=[this.root.fragment]}match(t){if(t.length===1)return this.source.charCodeAt(this.index)===t.charCodeAt(0);return this.source.startsWith(t,this.index)}matchRegex(t){return t.lastIndex=this.index,t.exec(this.source)?.[0]??null}eat(t,f=!1){if(this.match(t))return this.index+=t.length,!0;if(f)s(this.index,t);return!1}read(t){let f=this.matchRegex(t);if(f)this.index+=f.length;return f}readUntil(t){if(this.index>=this.source.length)i(this.source.length);let f=this.source.indexOf(t,this.index),b=f===-1?this.source.length:f,S=this.source.slice(this.index,b);return this.index=b,S}allowWhitespace(){this.index=Re(this.source,this.index)}requireWhitespace(){if(!Te(this.source.charCodeAt(this.index)))z(this.index);this.allowWhitespace()}eatClosingBrace(){this.allowWhitespace(),this.eat("}",!0)}sourceLocation(t,f){return this.loc?{start:n(t),end:n(f)}:void 0}readIdentifierName(){let t=this.index,f=We(this.source,t),b=this.source.slice(t,f);if(this.index=f,Je.has(b))pe(t,b);let S={type:"Identifier",name:b,start:t,end:f};if(this.loc)S.loc=this.sourceLocation(t,f);return S}current(){return this.stack[this.stack.length-1]}append(t){this.fragments[this.fragments.length-1].nodes.push(t)}open(t,f){this.append(t),this.stack.push(t),this.fragments.push(f)}setFragment(t){this.fragments[this.fragments.length-1]=t}close(){this.stack.pop(),this.fragments.pop()}}var ct=["===","!==","==","!=","&&","||","??"];function er(t,f,b,S){return{type:"Literal",start:f,end:b,value:S,raw:t.slice(f,b)}}function hr(t,f){let b=t.charCodeAt(f);if(b===34||b===39){for(let ge=f+1;ge<t.length;ge++){let xe=t.charCodeAt(ge);if(xe===b)return er(t,f,ge+1,t.slice(f+1,ge));if(xe===92||xe===10||xe===13)return null}return null}let S=f;for(;S<t.length;S++){let ge=t.charCodeAt(S);if(ge<48||ge>57)break}if(S===f||b===48&&S-f>1)return null;return er(t,f,S,Number(t.slice(f,S)))}function ut(t,f){let b=We(t,f);if(b===f)return hr(t,f);let S=t.slice(f,b);if(S==="true"||S==="false"||S==="null")return er(t,f,b,S==="null"?null:S==="true");if(Je.has(S))return null;let ge={type:"Identifier",start:f,end:b,name:S};for(let xe=b;;){let be=t.charCodeAt(xe),ye,ve;if(be===46){if(ve=We(t,xe+1),ve===xe+1)return null;ye={type:"Identifier",start:xe+1,end:ve,name:t.slice(xe+1,ve)}}else if(be===91){if(ye=hr(t,xe+1),!ye||t.charCodeAt(ye.end)!==93)return null;ve=ye.end+1}else return ge;ge={type:"MemberExpression",start:f,end:ve,object:ge,property:ye,computed:be===91,optional:!1},xe=ve}}function rr(t,f){if(t.charCodeAt(f)!==33||t.charCodeAt(f+1)===61)return ut(t,f);let b=rr(t,Re(t,f+1));if(!b)return null;return{type:"UnaryExpression",start:f,end:b.end,operator:"!",prefix:!0,argument:b}}function xr(t,f){let b=Re(t,f);if(b>=t.length)return!1;let S=t.charCodeAt(b);return S===125||S===41}function pt(t,f){let b=rr(t,f);if(!b||xr(t,b.end))return b;let S=Re(t,b.end),ge=ct.find((ye)=>t.startsWith(ye,S));if(!ge)return null;let xe=rr(t,Re(t,S+ge.length));if(!xe||!xr(t,xe.end))return null;let{end:be}=xe;if(ge==="&&"||ge==="||"||ge==="??")return{type:"LogicalExpression",start:b.start,end:be,left:b,operator:ge,right:xe};return{type:"BinaryExpression",start:b.start,end:be,left:b,operator:ge,right:xe}}function Ne(t){if(t.loc={start:u(t.start),end:u(t.end)},t.type==="MemberExpression")Ne(t.object),Ne(t.property);else if(t.type==="UnaryExpression")Ne(t.argument);else if(t.type==="BinaryExpression"||t.type==="LogicalExpression")Ne(t.left),Ne(t.right)}function Ae(t){let f=!t.loc||t.lfOnly?pt(t.source,t.index):null;if(f){if(t.index=f.end,t.loc)Ne(f);return f}let{node:b,end:S}=o(t,t.source,t.index);return t.index=S,b}var br="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 dt=[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],Oe,tr=0;function ft(){if(Oe)return Oe;Oe=new Map;for(let t of br.split(" ")){let f=t.indexOf(":");Oe.set(t.slice(0,f),Number.parseInt(t.slice(f+1),36)),tr=Math.max(tr,f)}return Oe}var nr=(t)=>t>=48&&t<=57,mt=(t)=>nr(t)||t>=65&&t<=70||t>=97&&t<=102,yr=(t)=>nr(t)||t>=65&&t<=90||t>=97&&t<=122,Ve=0;function gt(t,f,b){if(t.charCodeAt(f)===35){let xe=(t.charCodeAt(f+1)|32)===120,be=f+(xe?2:1),ye=be;while(ye<t.length&&(xe?mt:nr)(t.charCodeAt(ye)))ye++;if(ye===be)return 0;return Ve=t.charCodeAt(ye)===59?ye+1:ye,Number.parseInt(t.slice(be,ye),xe?16:10)}let S=ft(),ge=f;while(ge-f<tr&&yr(t.charCodeAt(ge)))ge++;if(t.charCodeAt(ge)===59){let xe=S.get(t.slice(f,ge+1));if(xe!==void 0)return Ve=ge+1,xe}for(let xe=ge;xe>f;xe--){let be=S.get(t.slice(f,xe));if(be===void 0)continue;if(b){let ye=t.charCodeAt(xe);if(yr(ye)||ye===95||ye===61)continue}return Ve=xe,be}return 0}function ht(t,f){if(t===10&&!f)return 32;if(t<128)return t;if(t<=159)return dt[t-128];if(t>=55296&&t<=57343)return 0;if(t<=196607)return t;if(t>=917504&&t<=917631||t>=917760&&t<=917999)return t;return 0}function Ie(t,f){let b=t.indexOf("&");if(b===-1)return t;let S="",ge=0;while(b!==-1){let xe=gt(t,b+1,f);if(xe)S+=t.slice(ge,b)+String.fromCodePoint(ht(xe,f)),ge=Ve;b=t.indexOf("&",xe?ge:b+1)}return S+t.slice(ge)}var vr=/<\/script\s*>/g,xt=new Set(["server","client","worker","test","default"]);function Sr(t,f,b){let{source:S,index:ge}=t;if(ge>=S.length)i(S.length);vr.lastIndex=ge;let xe=vr.exec(S);if(!xe)d(S.length,"script");t.index=xe.index+xe[0].length;let be=p(t,S.slice(0,xe.index),ge);if(be.start=ge,be.loc)Object.assign(be.loc.start,u(f)),Object.assign(be.loc.end,u(t.index));let ye="default";for(let ve of b){if(xt.has(ve.name))Q(ve,ve.name);if(ve.name==="module"){if(ve.value!==!0)H(ve,ve.name);ye="module"}if(ve.name==="context"){let Se=ve.value;if(Se===!0||!Array.isArray(Se)||Se.length!==1||Se[0].type!=="Text"||Se[0].data!=="module")K(ve);ye="module"}}return{type:"Script",start:f,end:t.index,context:ye,content:be,attributes:b}}var bt=/(even|odd|\+?(\d+|\d*n(\s*[+-]\s*\d+)?)|-\d*n(\s*\+\s*\d+))((?=\s*[,)])|\s+of(\s+|(?=[.#[*:&])))/y,yt=/\d+(\.\d+)?%/y,vt=/\\[0-9a-fA-F]{1,6}(\r\n|\s)?/y,St=/\s*>/y,_e=-1,sr=34,kt=35,wt=36,At=38,lr=39,qt=40,Et=41,ze=42,Tt=43,Ct=45,_t=46,ar=47,or=58,Lt=59,qr=60,kr=61,Dt=62,Rt=91,Me=92,Nt=93,Pt=94,Er=123,ir=124,jt=125,Tr=126,Ge=[];function Cr(t,f,b){let S=t.index;Ge=[];let ge=t.css?Ot(t):Bt(t),xe=t.index;return t.eat("</style",!0),t.read(St),{type:"StyleSheet",start:f,end:t.index,attributes:b,children:ge,comments:Ge,content:{start:S,end:xe,styles:t.source.slice(S,xe),comment:null}}}function Bt(t){let{source:f,index:b}=t;while(b<f.length){let S=f.charCodeAt(b);if(S===ar&&f.charCodeAt(b+1)===ze){let ge=f.indexOf("*/",b+2);b=ge===-1?f.length:ge+2}else if(S===sr||S===lr){b++;while(b<f.length){let ge=f.charCodeAt(b);if(ge===S||ge===10)break;b+=ge===Me?2:1}b++}else if(S===qr&&f.startsWith("</style",b))break;else b++}return t.index=Math.min(b,f.length),[]}function Ot(t){let f=[];for(;;){if(Pe(t,!0),t.match("</style")||t.index>=t.source.length)break;f.push(t.match("@")?_r(t):Lr(t))}return f}function _r(t){let f=t.index;t.eat("@",!0);let b=Le(t),S=cr(t,!0),ge=null;if(t.match("{"))ge=Nr(t);else t.eat(";",!0);return{type:"Atrule",start:f,end:t.index,name:b,prelude:S,block:ge}}function Lr(t){let f=t.index;return{type:"Rule",prelude:Dr(t,!1),block:Nr(t),start:f,end:t.index}}function Dr(t,f){let b=[];Pe(t,!0);let S=t.index;while(t.index<t.source.length){b.push(It(t,f));let ge=t.index;if(Pe(t,!0),t.match(f?")":"{"))return{type:"SelectorList",start:S,end:ge,children:b};t.eat(",",!0),Pe(t,!0)}return i(t.source.length)}function wr(t,f){return{type:"RelativeSelector",combinator:t,selectors:[],start:f,end:-1}}function It(t,f){let{source:b,index:S}=t,ge=[],xe=wr(null,t.index);while(t.index<b.length){let be=t.index,ye=b.charCodeAt(be),ve=xe.selectors;if(ye===At)t.index++,ve.push({type:"NestingSelector",name:"&",start:be,end:t.index});else if(ye===ze)t.index++,ve.push(Ar(t,be,"*"));else if(ye===kt)t.index++,ve.push({type:"IdSelector",name:Le(t),start:be,end:t.index});else if(ye===_t)t.index++,ve.push({type:"ClassSelector",name:Le(t),start:be,end:t.index});else if(ye===or){let qe=b.charCodeAt(be+1)===or;t.index+=qe?2:1;let Ee=Le(t),De=null;if(t.eat("("))De=Dr(t,!0),t.eat(")",!0);if(qe)ve.push({type:"PseudoElementSelector",name:Ee,start:be,end:t.index,...De&&{args:De}});else ve.push({type:"PseudoClassSelector",name:Ee,args:De,start:be,end:t.index})}else if(ye===Rt)t.index++,ve.push(zt(t,be));else{let qe=f?t.read(bt):null,Ee=!qe&&He(ye)?t.read(yt):null;if(qe)ve.push({type:"Nth",value:qe,start:be,end:t.index});else if(Ee)ve.push({type:"Percentage",value:Ee,start:be,end:t.index});else if(Rr(b,be)===0){let De=Le(t);ve.push(Ar(t,be,De))}}let Se=t.index;Pe(t,!1);let ke=t.match(",")||t.match(f?")":"{");if(t.index=Se,ke)return xe.end=Se,ge.push(xe),{type:"ComplexSelector",start:S,end:Se,children:ge};let we=Ut(t);if(we){if(xe.selectors.length>0)xe.end=Se,ge.push(xe);if(xe=wr(we,we.start),t.allowWhitespace(),t.match(",")||t.match(f?")":"{"))R(t.index)}}return i(b.length)}function Ar(t,f,b){let S=b,ge;if(t.eat("|"))ge=S,S=t.eat("*")?"*":Le(t);return{type:"TypeSelector",name:S,...ge!==void 0&&{namespace:ge},start:f,end:t.index}}function zt(t,f){let b=t.source;t.allowWhitespace();let S=Le(t);t.allowWhitespace();let ge=null,xe=null,be=b.charCodeAt(t.index);if(be===kr)xe="=";else if((be===Tr||be===Pt||be===wt||be===ze||be===ir)&&b.charCodeAt(t.index+1)===kr)xe=b.slice(t.index,t.index+2);if(xe)t.index+=xe.length,t.allowWhitespace(),ge=Gt(t);t.allowWhitespace();let ye=t.index;while(jr(b.charCodeAt(t.index)))t.index++;let ve=t.index>ye?b.slice(ye,t.index):null;return t.allowWhitespace(),t.eat("]",!0),{type:"AttributeSelector",start:f,end:t.index,name:S,matcher:xe,value:ge,flags:ve}}function Rr(t,f){let b=t.charCodeAt(f);if(b===Tt||b===Tr||b===Dt)return 1;if(b===ir&&t.charCodeAt(f+1)===ir)return 2;return 0}function Ut(t){let f=t.index;t.allowWhitespace();let b=t.index,S=Rr(t.source,b);if(S>0){t.index+=S;let ge=t.index;return t.allowWhitespace(),{type:"Combinator",name:t.source.slice(b,ge),start:b,end:ge}}if(t.index!==f)return{type:"Combinator",name:" ",start:f,end:t.index};return null}function Nr(t){let f=t.index;t.eat("{",!0);let b=[];while(t.index<t.source.length){if(Pe(t,!0),t.match("}"))break;b.push(Ft(t))}return t.eat("}",!0),{type:"Block",start:f,end:t.index,children:b}}function Ft(t){if(t.match("@"))return _r(t);let f=t.index;cr(t,!1);let b=t.source.charCodeAt(t.index);return t.index=f,b===Er?Lr(t):Wt(t)}function Wt(t){let{source:f,index:b}=t;if(b>=f.length)i(f.length);let S=b;while(S<f.length){let ve=f.charCodeAt(S);if(ve===or||Te(ve))break;S++}let ge=f.slice(b,S);t.index=S,t.allowWhitespace(),t.eat(":");let xe=t.index;t.allowWhitespace();let be=cr(t,!0);if(!be&&!ge.startsWith("--"))I({start:b,end:xe});let ye=t.index;if(!t.match("}"))t.eat(";",!0);return{type:"Declaration",start:b,end:ye,property:ge,value:be}}function cr(t,f){let b=t.source,S=b.length,ge="",xe=t.index,be=null,ye=!1,ve=!1,Se=_e,ke=t.index;while(ke<S){let we=b.charCodeAt(ke);if(ye){ye=!1,ke++;continue}if(we===Me){ye=!0,ke++;continue}if(we===Se)Se=_e;else if(we===Et)ve=!1;else if(Se===_e&&(we===sr||we===lr))Se=we;else if(we===qt){if(Vt(b,ge,xe,ke))ve=!0}else if((we===Lt||we===Er||we===jt)&&!ve&&Se===_e){if(t.index=ke,!f)return"";if(ge+=b.slice(xe,ke),be){let qe=ge.length-ge.trimStart().length;for(let Ee of be)Ee.position=Math.max(0,(Ee.position??0)-qe)}return ge.trim()}else if(we===ar&&!ve&&Se===_e&&b.charCodeAt(ke+1)===ze){ge+=b.slice(xe,ke),t.index=ke;let qe=Pr(t);if(f)qe.position=ge.length,Ge.push(qe),be??=[],be.push(qe);ke=t.index,xe=ke;continue}ke++}return t.index=S,i(S)}function Vt(t,f,b,S){if(S-b>=3)return t.charCodeAt(S-3)===117&&t.charCodeAt(S-2)===114&&t.charCodeAt(S-1)===108;return(f+t.slice(b,S)).endsWith("url")}function Gt(t){let f=t.source,b=_e;if(t.eat('"'))b=sr;else if(t.eat("'"))b=lr;let S=t.index,ge=!1,xe=S;while(xe<f.length){let be=f.charCodeAt(xe);if(ge)ge=!1;else if(be===Me)ge=!0;else if(b===_e?be===Nt||Te(be):be===b)return t.index=b===_e?xe:xe+1,f.slice(S,xe).trim();xe++}return t.index=xe,i(f.length)}function Le(t){let{source:f,index:b}=t,S=f.charCodeAt(b);if(He(S)||S===Ct&&He(f.charCodeAt(b+1)))x(b);let ge="",xe=b,be=b;while(be<f.length){let ye=f.charCodeAt(be);if(ye===Me){ge+=f.slice(xe,be),t.index=be;let ve=t.matchRegex(vt);if(ve){let Se=String.fromCodePoint(Number.parseInt(ve.slice(1),16));ge+=Se==="\\"?"\\\\":Se,be+=ve.length}else ge+=`\\${f[be+1]}`,be+=2;xe=be}else if(ye>=160||Ht(ye))be++;else break}if(ge+=f.slice(xe,be),t.index=be,ge==="")x(b);return ge}function Pe(t,f){let b=t.source;t.allowWhitespace();for(;;){let S=b.charCodeAt(t.index);if(S===ar&&b.charCodeAt(t.index+1)===ze){let ge=Pr(t);if(f)Ge.push(ge)}else if(S===qr&&t.eat("<!--"))t.readUntil("-->"),t.eat("-->",!0);else break;t.allowWhitespace()}}function Pr(t){let f=t.index;t.eat("/*",!0);let b=t.readUntil("*/");return t.eat("*/",!0),{type:"CSSComment",value:b,start:f,end:t.index}}function He(t){return t>=48&&t<=57}function jr(t){return t>=65&&t<=90||t>=97&&t<=122}function Ht(t){return jr(t)||He(t)||t===95||t===45}var ur=/<\/textarea(\s[^>]*)?>/iy,Mt=/^![a-zA-Z]+$/,$t=/^[a-zA-Z][a-zA-Z0-9]*:[a-zA-Z][a-zA-Z0-9-]*[a-zA-Z0-9]$/,Xt=/^[a-zA-Z][a-zA-Z0-9]*(-[a-zA-Z0-9.\-_\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\u{10000}-\u{EFFFF}]*)?$/u,pr="\\u200C\\u200D",Zt=new RegExp(`^(?:\\p{Lu}[$${pr}\\p{ID_Continue}.]*|\\p{ID_Start}[$${pr}\\p{ID_Continue}]*(?:\\.[$${pr}\\p{ID_Continue}]+)+)$`,"u"),Qt=new Set("area base br col command embed hr img input keygen link meta param source track wbr".split(" ")),Yt=new Map([["use","UseDirective"],["animate","AnimateDirective"],["bind","BindDirective"],["class","ClassDirective"],["style","StyleDirective"],["on","OnDirective"],["let","LetDirective"],["in","TransitionDirective"],["out","TransitionDirective"],["transition","TransitionDirective"]]),dr=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=[...dr.keys()],Jt=`${Br.slice(0,-1).join(", ")} or ${Br.at(-1)}`,Vr=47,$e=62,Gr=61,Kt=34,en=39,Or=123,je=(t)=>t===Kt||t===en;function rn(t,f,b){let S=f;for(;S<t.length;S++){let ge=t.charCodeAt(S);if(Te(ge)||ge===Vr||ge===$e)break;if(b&&(je(ge)||ge===Gr))break}return S}function Xe(t,f){let b=t.index;if(b>=t.source.length)i(t.source.length);let S=rn(t.source,b,f);return t.index=S,{name:t.source.slice(b,S),start:b,end:S,loc:t.sourceLocation(b,S)}}var Ue=(t,f,b,S=b)=>({start:t,end:f,type:"Text",raw:b,data:S});function Hr(t){return Qt.has(t)||t.charCodeAt(0)===33&&t.toLowerCase()==="!doctype"}function tn(t){let f=t.charCodeAt(0);if(f>=97&&f<=122&&!t.includes("."))return!1;return Zt.test(t)}function nn(t){let f=!0;for(let b=0;b<t.length&&f;b++){let S=t.charCodeAt(b);f=S>=97&&S<=122||b>0&&S>=48&&S<=57}return f&&t.length>0||Mt.test(t)||$t.test(t)||Xt.test(t)}function Ir(t,f){for(let b=t.length-1;b>=0;b--){let S=f(t[b]);if(S!==void 0)return S}return!1}function on(t,f,b){let S=dr.get(f);if(S)return S[0];if(b)return"Component";if(f==="title"){if(Ir(t.stack,({type:xe})=>{if(xe==="SvelteHead")return!0;return xe==="RegularElement"||xe==="Component"?!1:void 0}))return"TitleElement"}if(f==="slot"){if(!Ir(t.stack,(xe)=>xe.type==="RegularElement"&&xe.attributes.some((be)=>be.type==="Attribute"&&be.name==="shadowrootmode")?!0:void 0))return"SlotElement"}return"RegularElement"}function Mr(t){let f=t.index++;if(t.eat("!--")){let b=t.readUntil("-->");t.eat("-->",!0),t.append({type:"Comment",start:f,end:t.index,data:b})}else if(t.eat("/"))sn(t,f);else an(t,f)}function sn(t,f){let{name:b}=Xe(t,!1);if(t.allowWhitespace(),t.eat(">",!0),Hr(b))de(f);let S=t.current();while(!("name"in S)||S.name!==b){if(S.type!=="RegularElement"){let ge=t.lastAutoClosedTag;if(ge?.tag===b)F(f,b,ge.reason);V(f,b)}S.end=f,t.close(),S=t.current()}if(S.end=t.index,t.close(),t.stack.length<(t.lastAutoClosedTag?.depth??0))t.lastAutoClosedTag=void 0}function ln(t,f,b){return{type:t,start:f,end:-1,name:b}}function an(t,f){let b=Xe(t,!1),{name:S}=b,ge=dr.get(S);if(!ge&&S.startsWith("svelte:"))ie(b,Jt);let xe=tn(S);if(!xe&&!nn(S))ce(b);if(ge?.[1]){if(t.metaTags.has(S))J(f,S);if(t.current().type!=="Root")te(f,S);t.metaTags.add(S)}let be=ln(on(t,S,xe),f,S);if(t.loc)be.name_loc=b.loc;be.attributes=[],be.fragment={type:"Fragment",nodes:[]},t.allowWhitespace();let ye=t.current();if(ye.type==="RegularElement"&&gr(ye.name,S))ye.end=f,t.close(),t.lastAutoClosedTag={tag:ye.name,reason:S,depth:t.stack.length};if((S==="script"||S==="style")&&t.current().type==="Root"){let Se=[];be.attributes=Se,Wr(t,Se,mn),un(t,be,f,Se);return}if(Wr(t,be.attributes,hn),be.type==="SvelteComponent"){let Se=zr(be);if(!Se)Z(f);if(!Ur(Se.value))Y(Se.start);be.expression=Fr(Se.value)}else if(be.type==="SvelteElement"){let Se=zr(be);if(!Se)k(f);if(Se.value===!0)k(Se);be.tag=Ur(Se.value)?Fr(Se.value):fn(Se.value[0])}if(!t.eat("/")&&!Hr(S))if(t.eat(">",!0),S==="textarea")be.fragment.nodes=Xr(t,(Se,ke)=>(ur.lastIndex=ke,ur.test(Se)),"inside <textarea>"),t.read(ur);else if(S==="script"||S==="style")be.fragment.nodes.push(cn(t,`</${S}>`));else{t.open(be,be.fragment);return}else t.eat(">",!0);be.end=t.index,t.append(be)}function cn(t,f){let b=t.index,S=t.source.indexOf(f,b);t.index=S===-1?t.source.length:S;let ge=Ue(b,t.index,t.source.slice(b,t.index));return t.eat(f,!0),ge}function un(t,f,b,S){t.eat(">",!0);let ge=pn(t.root.fragment.nodes,b);if(f.name==="style"){let ye=Cr(t,b,S);if(ye.content.comment=ge,t.root.css)X(b);t.root.css=ye;return}let xe=Sr(t,b,S);if(ge)xe.content.leadingComments=[{type:"Line",value:ge.data}];let be=xe.context==="module"?"module":"instance";if(t.root[be])G(b);t.root[be]=xe}function pn(t,f){let b=t.length-1;if(b<0||t[b].end!==f)return null;for(let S=b;S>=0;S--){let ge=t[S];if(ge.type==="Comment")return ge;if(ge.type!=="Text"||ge.data.trim())return null}return null}var dn=(t)=>t.type==="Attribute"&&t.name==="this";function zr(t){let f=t.attributes.find(dn);if(f)t.attributes.splice(t.attributes.indexOf(f),1);return f}function Ur(t){if(t===!0)return!1;if(!Array.isArray(t))return!0;return t.length===1&&t[0].type==="ExpressionTag"}function Fr(t){return(Array.isArray(t)?t[0]:t).expression}function fn(t){if(t.type!=="Text")return t.expression;return{type:"Literal",value:t.data,raw:`'${t.raw}'`,start:t.start,end:t.end}}function Wr(t,f,b){let S=new Set;for(;;){let ge=b(t);if(!ge)return;let{type:xe}=ge;if(xe==="Attribute"||xe==="BindDirective"||xe==="StyleDirective"||xe==="ClassDirective"){let be=`${xe==="BindDirective"?"Attribute":xe}${ge.name}`;if(S.has(be))T(ge);if(ge.name!=="this")S.add(be)}f.push(ge),t.allowWhitespace()}}function fr(t,f,b,S,ge){return t.loc?{type:"Attribute",start:b,end:S,name:f.name,name_loc:f.loc,value:ge}:{type:"Attribute",start:b,end:S,name:f.name,value:ge}}function $r(t){if(je(t.source.charCodeAt(t.index)))s(t.index,"=")}function mn(t){let f=t.index,b=Xe(t,!0);if(!b.name)return null;let S=!0;if(t.eat("=")){t.allowWhitespace();let{source:ge}=t,xe=t.index,be=-1;if(je(ge.charCodeAt(xe))){let Se=ge.indexOf(ge[xe],xe+1);if(Se!==-1)be=Se+1}if(be===-1){be=xe;while(be<ge.length&&ge.charCodeAt(be)!==$e&&!Te(ge.charCodeAt(be)))be++;if(be===xe)y(xe)}t.index=be;let ye=je(ge.charCodeAt(xe))?1:0,ve=ge.slice(xe+ye,be-ye);S=[Ue(be-ve.length-ye,be-ye,ve,Ie(ve,!0))]}return $r(t),fr(t,b,f,t.index,S)}function gn(t){let f=t.index,b=t.match("/*");if(!b&&!t.match("//"))return!1;t.index+=2;let S=t.readUntil(b?"*/":`
|
|
2
|
+
`);if(b)t.eat("*/");let ge={type:b?"Block":"Line",start:f,end:t.index,value:S},xe=t.sourceLocation(f,t.index);if(xe)ge.loc=xe;return t.root.comments.push(ge),!0}function hn(t){while(gn(t))t.allowWhitespace();let f=t.index;if(t.eat("{"))return xn(t,f);let b=Xe(t,!0);if(!b.name)return null;let S=t.index;t.allowWhitespace();let ge=!0;if(t.eat("=")){if(t.allowWhitespace(),t.match("/>"))ge=[Ue(t.index,t.index+1,"/")],t.index++;else ge=vn(t);S=t.index}else $r(t);let xe=b.name.indexOf(":"),be=xe>0?Yt.get(b.name.slice(0,xe)):void 0;return be?yn(t,be,b,xe,f,S,ge):fr(t,b,f,S,ge)}function xn(t,f){if(t.allowWhitespace(),t.eat("@attach")){t.requireWhitespace();let ge=Ae(t);return t.eatClosingBrace(),{type:"AttachTag",start:f,end:t.index,expression:ge}}if(t.eat("...")){let ge=Ae(t);return t.eatClosingBrace(),{type:"SpreadAttribute",start:f,end:t.index,expression:ge}}let b=t.readIdentifierName();if(b.name==="")A(f);t.eatClosingBrace();let S={type:"ExpressionTag",start:b.start,end:b.end,expression:b};return fr(t,b,f,t.index,S)}function bn(t){if(t===!0)return;return Array.isArray(t)?t[0]:t}function yn(t,f,b,S,ge,xe,be){let[ye,...ve]=b.name.slice(S+1).split("|");if(ye==="")B({start:ge,end:ge+S+1},b.name);let Se={start:ge,end:xe,type:f,name:ye};if(t.loc)Se.name_loc=b.loc;if(f==="StyleDirective")return Se.modifiers=ve,Se.value=be,Se;let ke=bn(be);if(ke&&(Array.isArray(be)&&be.length>1||ke.type==="Text"))D(ke.start);if(Se.expression=ke?.expression??null,Se.modifiers=ve,f==="TransitionDirective"){let we=b.name.slice(0,S);Se.intro=we!=="out",Se.outro=we!=="in"}if((f==="BindDirective"||f==="ClassDirective")&&!Se.expression)Se.expression={start:ge+S+1,end:xe,type:"Identifier",name:ye};return Se}function vn(t){let f=t.source.charCodeAt(t.index),b=je(f);if(b){if(t.index++,t.source.charCodeAt(t.index)===f)return t.index++,[Ue(t.index-1,t.index-1,"")]}let S;try{S=Xr(t,b?(ge,xe)=>ge.charCodeAt(xe)===f:Sn,"in attribute value",b?f:void 0)}catch(ge){let xe=ge instanceof e?ge.position?.[0]:void 0;if(ge instanceof e&&ge.code==="js_parse_error"&&xe!==void 0&&t.source.startsWith("/>",xe-1))t.index=xe,s(xe,b?String.fromCharCode(f):"}");throw ge}if(b)t.index++;else if(S.length===0)y(t.index);return b||S.length>1||S[0].type==="Text"?S:S[0]}function Sn(t,f){let b=t.charCodeAt(f);return Te(b)||je(b)||b===Gr||b===60||b===$e||b===96||b===Vr&&t.charCodeAt(f+1)===$e}function Xr(t,f,b,S){let{source:ge}=t,xe=[],be=t.index,ye=(ve)=>{if(ve<=be)return;let Se=ge.slice(be,ve);xe.push(Ue(be,ve,Se,Ie(Se,!0)))};while(t.index<ge.length){let ve=t.index;if(f(ge,ve))return ye(ve),xe;if(ge.charCodeAt(ve)!==Or){if(t.index++,S!==void 0)while(t.index<ge.length&&ge.charCodeAt(t.index)!==Or&&ge.charCodeAt(t.index)!==S)t.index++;continue}t.index++;let Se=ge.charCodeAt(t.index);if(Se===35||Se===64){t.index++;let we=t.index;while(t.index<ge.length&&ge.charCodeAt(t.index)>=97&&ge.charCodeAt(t.index)<=122)t.index++;let qe=ge.slice(we,t.index);(Se===35?_:he)(ve,qe,b)}ye(ve),t.allowWhitespace();let ke=Ae(t);t.eatClosingBrace(),xe.push({type:"ExpressionTag",start:ve,end:t.index,expression:ke}),be=t.index}i(ge.length)}var kn=new Map([["html","html"],["svg","svg"],["mathml","mathml"],["http://www.w3.org/2000/svg","svg"],["http://www.w3.org/1998/Math/MathML","mathml"]]),wn=new Map([["type",(t,f)=>{if(f!=="String"&&f!=="Number"&&f!=="Boolean"&&f!=="Array"&&f!=="Object")return!1;return t.type=f,!0}],["reflect",(t,f)=>{if(typeof f!=="boolean")return!1;return t.reflect=f,!0}],["attribute",(t,f)=>{if(typeof f!=="string")return!1;return t.attribute=f,!0}]]),Zr="[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}-]",An=new RegExp(`^[a-z]${Zr}*-${Zr}*$`,"u"),qn=new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" ")),Ze=(t)=>(f,b)=>{let S=Qe(b);if(typeof S!=="boolean")m(b,"true or false");f[t]=S},En=new Map([["runes",Ze("runes")],["immutable",Ze("immutable")],["preserveWhitespace",Ze("preserveWhitespace")],["accessors",Ze("accessors")],["namespace",(t,f)=>{let b=kn.get(Qe(f));if(!b)m(f,'"html", "mathml" or "svg"');t.namespace=b}],["css",(t,f)=>{if(Qe(f)!=="injected")m(f,'"injected"');t.css="injected"}],["tag",(t,f)=>se(f)],["customElement",(t,f)=>{let b=Cn(f);if(b)t.customElement=b}]]);function Yr(t){let f=[],b={start:t.start,end:t.end,attributes:f};for(let S of t.attributes){if(S.type!=="Attribute")re(S);f.push(S);let ge=En.get(S.name);if(!ge)le(S,S.name);ge(b,S)}return b}function Qe({value:t}){if(t===!0)return!0;let f=Array.isArray(t)?t:[t];if(f.length===0)return!0;if(f.length>1)return null;let[b]=f;if(b.type==="Text")return b.data;return b.expression.type==="Literal"?b.expression.value:null}function Qr(t,f){if(typeof f!=="string")w(t);if(!f)return;if(!An.test(f))w(t);if(qn.has(f))ue(t)}function Tn(t,f){let b=new Map;for(let S of t.properties){if(S.type!=="Property"||S.computed||S.key.type!=="Identifier")f();if(!b.has(S.key.name))b.set(S.key.name,S.value)}return b}function Cn(t){let f=()=>ne(t);if(t.value===!0)f();let b=Array.isArray(t.value)?t.value[0]:t.value;if(b.type==="Text"){let ke=Qe(t);return Qr(t,ke),{tag:ke}}let{expression:S}=b;if(S.type!=="ObjectExpression"){if(S.type==="Literal"&&S.value===null)return;f()}let ge=Tn(S,f),xe={},be=ge.get("tag");if(be){let ke=be.type==="Literal"?be.value:void 0;Qr(null,ke),xe.tag=ke}let ye=ge.get("props");if(ye){let ke=()=>ae(t);if(ye.type!=="ObjectExpression")ke();xe.props={};for(let we of ye.properties){if(we.type!=="Property"||we.computed||we.key.type!=="Identifier"||we.value.type!=="ObjectExpression")ke();let qe={};xe.props[we.key.name]=qe;for(let Ee of we.value.properties){if(Ee.type!=="Property"||Ee.computed||Ee.key.type!=="Identifier"||Ee.value.type!=="Literal")ke();if(!wn.get(Ee.key.name)?.(qe,Ee.value.value))ke()}}}let ve=ge.get("shadow");if(ve)if(ve.type==="ObjectExpression")xe.shadow=ve;else if(ve.type==="Literal"&&(ve.value==="open"||ve.value==="none"))xe.shadow=ve.value;else oe(t);let Se=ge.get("extend");if(Se)xe.extend=Se;return xe}var _n={"{":"}","(":")","[":"]"};function Fe(t,f,b=_n){let S=Object.values(b),ge=[],xe=f;while(xe<t.length){let be=t[xe++];if(be==="'"||be==='"'||be==="`")xe=Ln(t,xe,be);else if(Object.hasOwn(b,be))ge.push(be);else if(S.includes(be)){let ye=b[ge.pop()??""];if(be!==ye)s(xe-1,ye);if(ge.length===0)return xe}}i(t.length)}function Ln(t,f,b){let S=f;while(S<t.length){let ge=t[S++];if(ge===b)return S;if(ge==="\\")S++;else if(b==="`"&&ge==="$"&&t[S]==="{")S=Fe(t,S)}fe(f)}var Dn=/\?\s*:/g;function Be(t){let f=t.index,b=t.readIdentifierName();if(b.name!==""){let ye=Jr(t);return{...b,typeAnnotation:ye}}let S=t.source[t.index];if(S!=="{"&&S!=="[")j(t.index);t.index=Fe(t.source,f);let{node:ge}=o(t,`${t.source.slice(0,t.index)} = 1`,f);l(ge,"AssignmentExpression");let xe=ge.left;l(xe,"ObjectPattern","ArrayPattern");let be=Jr(t);if(xe.typeAnnotation=be,be)xe.end=be.end;return xe}function Jr(t){let f=t.index;if(t.allowWhitespace(),!t.eat(":")){t.index=f;return}let b="_ as ",S=t.index-b.length,ge=t.source.slice(0,S)+b+t.source.slice(t.index).replace(Dn,":"),xe=o(t,ge,S).node;if(xe.type==="AssignmentExpression"){let be=xe.right.start;while(ge[be]!=="=")be-=1;xe=o(t,ge.slice(0,be),S).node}if(xe.type==="SequenceExpression")xe=xe.expressions[0];return l(xe,"TSAsExpression"),t.index=xe.end,{type:"TSTypeAnnotation",start:f,end:t.index,typeAnnotation:xe.typeAnnotation}}var Rn=/\s*}/y,Nn={IfBlock:"if",EachBlock:"each",KeyBlock:"key",AwaitBlock:"await",SnippetBlock:"snippet"},Ce=()=>({type:"Fragment",nodes:[]});function et(t,f){if(t.eat("if")){t.requireWhitespace();let b=Ae(t);t.eatClosingBrace();let S=Ce();t.open({type:"IfBlock",elseif:!1,start:f,end:-1,test:b,consequent:S,alternate:null},S)}else if(t.eat("each"))jn(t,f);else if(t.eat("await")){t.requireWhitespace();let b=Ae(t);t.allowWhitespace();let S={type:"AwaitBlock",start:f,end:-1,expression:b,value:null,error:null,pending:null,then:null,catch:null},ge=Ce();if(t.eat("then"))S.value=Kr(t),S.then=ge;else if(t.eat("catch"))S.error=Kr(t),S.catch=ge;else S.pending=ge;t.eat("}",!0),t.open(S,ge)}else if(t.eat("key")){t.requireWhitespace();let b=Ae(t);t.eatClosingBrace();let S=Ce();t.open({type:"KeyBlock",start:f,end:-1,expression:b,fragment:S},S)}else if(t.eat("snippet"))Bn(t,f);else M(t.index)}function Kr(t){if(t.matchRegex(Rn))return t.allowWhitespace(),null;t.requireWhitespace();let f=Be(t);return t.allowWhitespace(),f}function Pn(t){let f={assertion:null},b=t.end,S=(xe)=>{if(xe.type==="TSAsExpression"&&xe.end===t.end)return f.assertion=xe,b=xe.expression.end,xe.expression;return h(xe,S),xe},ge=t;if(t.type==="TSAsExpression")f.assertion=t,ge=t.expression,b=ge.end;else h(t,S);return ge.end=b,{expression:ge,assertion:f.assertion}}function jn(t,f){t.requireWhitespace();let b=t.source,S;while(!S)try{S=Ae(t)}catch(ve){let ke=((ve instanceof e?ve.position:void 0)?.[0]??f)-2;while(ke>f&&t.source.slice(ke,ke+2)!=="as")ke-=1;if(ke<=f)throw t.source=b,ve;t.source=b.slice(0,ke)}if(t.source=b,t.allowWhitespace(),!t.match("as")){if(S.type==="SequenceExpression")S=S.expressions[0];let ve=Pn(S);if(S=ve.expression,ve.assertion){let Se=ve.assertion.typeAnnotation.start-2;while(t.source.slice(Se,Se+2)!=="as")Se-=1;t.index=Se}}let ge=null,xe,be;if(t.eat("as"))t.requireWhitespace(),ge=Be(t);else t.index=S.end;if(t.allowWhitespace(),t.eat(",")){if(t.allowWhitespace(),xe=t.readIdentifierName().name,!xe)v(t.index);t.allowWhitespace()}if(t.eat("("))t.allowWhitespace(),be=Ae(t),t.allowWhitespace(),t.eat(")",!0),t.allowWhitespace();t.eat("}",!0);let ye=Ce();t.open({type:"EachBlock",start:f,end:-1,expression:S,body:ye,context:ge,index:xe,key:be},ye)}function Bn(t,f){t.requireWhitespace();let b=t.readIdentifierName();if(b.name==="")v(t.index);t.allowWhitespace();let S=t.index,ge;if(t.isTypeScript&&t.match("<")){let ve=Fe(t.source,S,{"<":">"});ge=t.source.slice(S+1,ve-1),t.index=ve}t.allowWhitespace(),t.eat("(",!0);let xe=1;while(t.index<t.source.length&&(!t.match(")")||xe!==1)){if(t.match("("))xe++;if(t.match(")"))xe--;t.index+=1}t.eat(")",!0);let{node:be}=o(t,`${t.source.slice(0,t.index)} => {}`,S,!0);l(be,"ArrowFunctionExpression"),t.eatClosingBrace();let ye=Ce();t.open({type:"SnippetBlock",start:f,end:-1,expression:b,typeParams:ge,parameters:be.params,body:ye},ye)}function rt(t,f){let b=t.index-1,S=t.current();if(S.type==="IfBlock"){if(!t.eat("else"))s(b,"{:else} or {:else if}");if(t.eat("if"))C(b);if(t.allowWhitespace(),S.alternate=Ce(),t.setFragment(S.alternate),t.eat("if")){t.requireWhitespace();let ge=Ae(t);t.eatClosingBrace();let xe=Ce();t.open({start:f,end:-1,type:"IfBlock",elseif:!0,test:ge,consequent:xe,alternate:null},xe)}else t.eatClosingBrace()}else if(S.type==="EachBlock"){if(!t.eat("else"))s(b,"{:else}");t.eatClosingBrace(),S.fallback=Ce(),t.setFragment(S.fallback)}else if(S.type==="AwaitBlock"){let ge;if(t.eat("then"))ge="then";else if(t.eat("catch"))ge="catch";else s(b,"{:then ...} or {:catch ...}");if(S[ge])E(b,`{:${ge}}`);if(!t.eat("}")){t.requireWhitespace();let be=Be(t);if(ge==="then")S.value=be;else S.error=be;t.eatClosingBrace()}let xe=Ce();S[ge]=xe,t.setFragment(xe)}else N(b)}function tt(t){let f=t.current(),b=Nn[f.type];if(!b)P(t.index-1);t.eat(b,!0),t.eatClosingBrace();while(f.type==="IfBlock"&&f.elseif)f.end=t.index,t.close(),f=t.current();f.end=t.index,t.close()}var On=/\s*}/y;function In(t){return t.type==="CallExpression"||t.type==="ChainExpression"&&t.expression.type==="CallExpression"}function nt(t,f){if(t.eat("html")){t.requireWhitespace();let b=Ae(t);t.eatClosingBrace(),t.append({type:"HtmlTag",start:f,end:t.index,expression:b})}else if(t.eat("debug")){let b=[];if(!t.read(On)){let S=Ae(t),ge=S.type==="SequenceExpression"?S.expressions:[S];for(let xe of ge){if(xe.type!=="Identifier")O(xe.start);b.push(xe)}t.eatClosingBrace()}t.append({type:"DebugTag",start:f,end:t.index,identifiers:b})}else if(t.eat("const")){t.requireWhitespace();let b=Be(t);t.allowWhitespace(),t.eat("=",!0),t.allowWhitespace();let S=t.index,ge=Ae(t),xe=t.index;if(ge.type==="SequenceExpression"&&!t.source.slice(S,ge.start).includes("("))q(ge);t.eatClosingBrace();let be={type:"VariableDeclarator",id:b,init:ge,start:b.start,end:xe};t.append({type:"ConstTag",start:f,end:t.index,declaration:{type:"VariableDeclaration",kind:"const",declarations:[be],start:f+2,end:t.index-1}})}else if(t.eat("render")){t.requireWhitespace();let b=Ae(t);if(!In(b))W(b);t.eatClosingBrace(),t.append({type:"RenderTag",start:f,end:t.index,expression:b})}else U(t.index)}var zn=/(?:var|interface|enum)\b/y,Un=/(?:let|const|type)\b/y;function ot(t){let f=t.index;if(t.index+=1,t.allowWhitespace(),t.eat("#"))et(t,f);else if(t.eat(":"))rt(t,f);else if(t.eat("@"))nt(t,f);else if(t.match("/")&&!t.match("/*")&&!t.match("//"))t.index+=1,tt(t);else if(!Fn(t,f)){let b=Ae(t);t.eatClosingBrace(),t.append({type:"ExpressionTag",start:f,end:t.index,expression:b})}}function Fn(t,f){let b=t.index,S=t.matchRegex(zn);if(S)g({start:b,end:b+S.length});if(!t.matchRegex(Un))return!1;let ge=t.root.comments.length,xe=me(t,t.source,b);if(xe.type==="ExpressionStatement")return t.root.comments.length=ge,!1;if(xe.type!=="VariableDeclaration"||xe.kind!=="let"&&xe.kind!=="const")g(xe);return t.index=xe.end,t.eatClosingBrace(),t.append({type:"DeclarationTag",start:f,end:t.index,declaration:xe}),!0}function st(t){let{source:f,index:b}=t;if(t.nextAngle<b)t.nextAngle=it(f,"<",b);if(t.nextBrace<b)t.nextBrace=it(f,"{",b);let S=Math.min(t.nextAngle,t.nextBrace);t.index=S;let ge=f.slice(b,S);t.append({type:"Text",start:b,end:S,raw:ge,data:Ie(ge,!1)})}function it(t,f,b){let S=t.indexOf(f,b);return S===-1?t.length:S}function Ko(t,f){let b=t.charCodeAt(0)===65279?t.slice(1):t;c(b);let S=new Ke(b.trimEnd(),b.length,f);while(S.index<S.source.length)if(S.match("<"))Mr(S);else if(S.match("{"))ot(S);else st(S);if(S.stack.length>1){let ye=S.current();if(ye.end=ye.start+1,ye.type==="RegularElement")d(ye,ye.name);L(ye)}let{nodes:ge}=S.root.fragment,xe=ge.findIndex((ye)=>ye.type==="SvelteOptions"),be=ge[xe];if(be?.type==="SvelteOptions"){ge.splice(xe,1),S.root.options=Yr(be);let{nodes:ye}=be.fragment;if(ye.length>0)ee({start:ye[0].start,end:ye[ye.length-1].end},be.name)}return S.root}export{Ko as parse};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import{b,S,f}from"./shared-vpc1jrf6.js";var Te="",Le,Ce=0;function c(t){Te=t,Le=void 0,Ce=0}function n(t){if(!Le){Le=[0];let ve=Te.indexOf(`
|
|
2
|
+
`);while(ve!==-1)Le.push(ve+1),ve=Te.indexOf(`
|
|
3
|
+
`,ve+1)}let r=0,a=Le.length-1;if(t>=Le[Ce])r=Ce;else a=Ce-1;if(r<a&&t<Le[r+1])a=r;while(r<a){let ve=r+a+1>>>1;if(Le[ve]<=t)r=ve;else a=ve-1}return Ce=r,{line:r+1,column:t-Le[r],character:t}}function u(t){let{line:r,column:a}=n(t);return{line:r,column:a}}function De(){return Te.split(`
|
|
4
|
+
`)}var He=/^\t+/;class e extends Error{name="ParseError";code;reason;position;start;end;frame;constructor(t,r,a){super(`${a}
|
|
5
|
+
https://svelte.dev/e/${r}`);this.code=r,this.reason=a;let ve=typeof t==="number"?t:t?.start,_e=typeof t==="number"?t:t?.end;if(ve!==void 0)this.position=[ve,_e??ve],this.start=n(this.position[0]),this.end=n(this.position[1]),this.frame=Qe(this.start.line-1,this.end.column)}}var We=(t)=>t.replace(He,(r)=>" ".repeat(r.length));function Qe(t,r){let a=De(),ve=Math.max(0,t-2),_e=Math.min(t+3,a.length),ge=String(_e+1).length;return a.slice(ve,_e).map((we,xe)=>{let be=String(xe+ve+1).padStart(ge," ");if(ve+xe!==t)return`${be}: ${We(we)}`;let ke=`${" ".repeat(ge+2+We(we.slice(0,r)).length)}^`;return`${be}: ${We(we)}
|
|
6
|
+
${ke}`}).join(`
|
|
7
|
+
`)}function T(t){throw new e(t,"attribute_duplicate","Attributes need to be unique")}function A(t){throw new e(t,"attribute_empty_shorthand","Attribute shorthand cannot be empty")}function E(t,r){throw new e(t,"block_duplicate_clause",`${r} cannot appear more than once within a block`)}function N(t){throw new e(t,"block_invalid_continuation_placement","{:...} block is invalid at this position (did you forget to close the preceding element or block?)")}function C(t){throw new e(t,"block_invalid_elseif","'elseif' should be 'else if'")}function _(t,r,a){throw new e(t,"block_invalid_placement",`{#${r} ...} block cannot be ${a}`)}function L(t){throw new e(t,"block_unclosed","Block was left open")}function P(t){throw new e(t,"block_unexpected_close","Unexpected block closing tag")}function q(t){throw new e(t,"const_tag_invalid_expression","{@const ...} must consist of a single variable declaration")}function I(t){throw new e(t,"css_empty_declaration","Declaration cannot be empty")}function x(t){throw new e(t,"css_expected_identifier","Expected a valid CSS identifier")}function R(t){throw new e(t,"css_selector_invalid","Invalid selector")}function O(t){throw new e(t,"debug_tag_invalid_arguments","{@debug ...} arguments must be identifiers, not arbitrary expressions")}function g(t){throw new e(t,"declaration_tag_invalid_type","Declaration tags must be `let` or `const` declarations")}function D(t){throw new e(t,"directive_invalid_value","Directive value must be a JavaScript expression enclosed in curly braces")}function B(t,r){throw new e(t,"directive_missing_name",`\`${r}\` name cannot be empty`)}function V(t,r){throw new e(t,"element_invalid_closing_tag",`\`</${r}>\` attempted to close an element that was not open`)}function F(t,r,a){throw new e(t,"element_invalid_closing_tag_autoclosed",`\`</${r}>\` attempted to close element that was already automatically closed by \`<${a}>\` (cannot nest \`<${a}>\` inside \`<${r}>\`)`)}function d(t,r){throw new e(t,"element_unclosed",`\`<${r}>\` was left open`)}function y(t){throw new e(t,"expected_attribute_value","Expected attribute value")}function M(t){throw new e(t,"expected_block_type","Expected 'if', 'each', 'await', 'key' or 'snippet'")}function v(t){throw new e(t,"expected_identifier","Expected an identifier")}function j(t){throw new e(t,"expected_pattern","Expected identifier or destructure pattern")}function U(t){throw new e(t,"expected_tag","Expected 'html', 'render', 'attach', 'const', or 'debug'")}function s(t,r){throw new e(t,"expected_token",`Expected token ${r}`)}function z(t){throw new e(t,"expected_whitespace","Expected whitespace")}function Me(t,r){throw new e(t,"js_parse_error",`${r}`)}function W(t){throw new e(t,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions")}function G(t){throw new e(t,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element")}function H(t,r){throw new e(t,"script_invalid_attribute_value",`If the \`${r}\` attribute is supplied, it must be a boolean attribute`)}function K(t){throw new e(t,"script_invalid_context",'If the context attribute is supplied, its value must be "module"')}function Q(t,r){throw new e(t,"script_reserved_attribute",`The \`${r}\` attribute is reserved and cannot be used`)}function X(t){throw new e(t,"style_duplicate","A component can have a single top-level `<style>` element")}function Y(t){throw new e(t,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`")}function Z(t){throw new e(t,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute")}function k(t){throw new e(t,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value")}function J(t,r){throw new e(t,"svelte_meta_duplicate",`A component can only have one \`<${r}>\` element`)}function ee(t,r){throw new e(t,"svelte_meta_invalid_content",`<${r}> cannot have children`)}function te(t,r){throw new e(t,"svelte_meta_invalid_placement",`\`<${r}>\` tags cannot be inside elements or blocks`)}function ie(t,r){throw new e(t,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${r}`)}function se(t){throw new e(t,"svelte_options_deprecated_tag",'"tag" option is deprecated — use "customElement" instead')}function re(t){throw new e(t,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes")}function m(t,r){throw new e(t,"svelte_options_invalid_attribute_value",`Value must be ${r}, if specified`)}function ne(t){throw new e(t,"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: .. } } }')}function ae(t){throw new e(t,"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" }"')}function oe(t){throw new e(t,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open", "none" or `ShadowRootInit` object.')}function w(t){throw new e(t,"svelte_options_invalid_tagname","Tag name must be lowercase and hyphenated")}function ue(t){throw new e(t,"svelte_options_reserved_tagname","Tag name is reserved")}function le(t,r){throw new e(t,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${r}'`)}function ce(t){throw new e(t,"tag_invalid_name","Expected a valid element or component name. Components must have a valid variable name or dot notation expression")}function he(t,r,a){throw new e(t,"tag_invalid_placement",`{@${r} ...} tag cannot be ${a}`)}function i(t){throw new e(t,"unexpected_eof","Unexpected end of input")}function pe(t,r){throw new e(t,"unexpected_reserved_word",`'${r}' is a reserved word in JavaScript and cannot be used here`)}function fe(t){throw new e(t,"unterminated_string_constant","Unterminated string constant")}function de(t){throw new e(t,"void_element_invalid_content","Void elements cannot have children or closing tags")}function Pe(t){return typeof t==="object"&&t!==null&&"type"in t&&typeof t.type==="string"}function Ie(t){return t}function h(t,r){let a=Ie(t);for(let ve in a){let _e=a[ve];if(Array.isArray(_e)){for(let ge=0;ge<_e.length;ge++)if(Pe(_e[ge]))_e[ge]=r(_e[ge])}else if(Pe(_e))a[ve]=r(_e)}}function l(t,...r){if(!r.some((a)=>a===t.type))throw Error(`expected ${r.join(" or ")}, got ${t.type}`)}var Ee="",Ke=[];function Ue(t,r){Ee=t,Ke=r}function Ve(t,r,a,ve,_e,ge){let we=r;if(t&&we.includes(`
|
|
8
|
+
`)){let be=Ee.lastIndexOf(`
|
|
9
|
+
`,a-1)+1,ke=be,Se=Ee.charCodeAt(ke);while(Se===32||Se===9)Se=Ee.charCodeAt(++ke);if(ke>be)we=Ze(we,Ee.slice(be,ke))}let xe={type:t?"Block":"Line",value:we,start:a,end:ve};if(_e&&ge)xe.loc={start:_e,end:ge};Ke.push(xe)}function Ze(t,r){let a=t.startsWith(r)?r.length:0,ve="",_e=t.indexOf(`
|
|
10
|
+
`,a);while(_e!==-1){if(ve+=t.slice(a,_e+1),a=_e+1,t.startsWith(r,a))a+=r.length;_e=t.indexOf(`
|
|
11
|
+
`,a)}return ve+t.slice(a)}function Ge(t,r,a){let ve=0,_e=r.length;while(ve<_e){let ge=ve+_e>>>1;if(r[ge].start<a)ve=ge+1;else _e=ge}if(ve>=r.length)return;if(ye=r.slice(ve).map(({type:ge,value:we,start:xe,end:be})=>({type:ge,value:we,start:xe,end:be})),Ne=0,je(t,void 0,!1),Ne<ye.length&&(ye[Ne].start>=t.end||t.type==="Program")){t.trailingComments??=[];while(Ne<ye.length)t.trailingComments.push(ye[Ne++])}}var ye=[],Ne=0,et=new Map([["BlockStatement","body"],["Program","body"],["ArrayExpression","elements"],["ObjectExpression","properties"]]);function Fe(t,r){for(let a=t;a<r;a++){let ve=Ee.charCodeAt(a);if(ve!==44&&ve!==41&&ve!==32&&ve!==9)return!0}return!1}function je(t,r,a){while(Ne<ye.length&&ye[Ne].start<t.start)t.leadingComments??=[],t.leadingComments.push(ye[Ne++]);if(Ne>=ye.length)return;let ve=ye[Ne].start;if(ve<t.end||!Fe(t.end,ve)){let _e=Ie(t),ge=et.get(t.type),we=ge===void 0?void 0:_e[ge],xe=Array.isArray(we)&&we.length===0;for(let be in _e){if(Ne>=ye.length)return;if(be==="type")continue;let ke=_e[be];if(Array.isArray(ke)){let Se=be===ge;for(let Ae=0;Ae<ke.length;Ae++){let ze=ke[Ae];if(Pe(ze))je(ze,t,Se?Ae===ke.length-1:xe)}}else if(Pe(ke))je(ke,t,xe)}if(Ne>=ye.length)return}if(r!==void 0&&t.end===r.end)return;if(a)while(Ne<ye.length){if(r&&ye[Ne].start>=r.end)break;t.trailingComments??=[],t.trailingComments.push(ye[Ne++])}else if(t.end<=ye[Ne].start&&!Fe(t.end,ye[Ne].start))t.trailingComments=[ye[Ne++]]}var Be=!1,Je=new Map;function $e(t){if(!(t instanceof RegExp))return t;let r=Je.get(t);if(!r){let a=new Set(t.source.slice(4,-2).split("|"));r={test:(ve)=>a.has(ve)},Je.set(t,r)}return r}var Xe=b((t)=>{let{keywordTypes:r,tokTypes:a}=t.acorn,ve=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((_e)=>[_e,r[_e]]));return class extends t{constructor(_e,ge,we){super(_e,ge,we);this.keywords=$e(this.keywords),this.reservedWords=$e(this.reservedWords),this.reservedWordsStrict=$e(this.reservedWordsStrict),this.reservedWordsStrictBind=$e(this.reservedWordsStrictBind)}parseParenAndDistinguishExpression(_e,ge){let we=super.parseParenAndDistinguishExpression(_e,ge);if(we.type==="ParenthesizedExpression")Be=!0;return we}checkLocalExport(){}skipSpace(){let _e=this.input,ge=this.options.locations,we=this.pos,xe=_e.charCodeAt(we);for(;;)if(xe===32||xe===9)xe=_e.charCodeAt(++we);else if(xe===10){if(xe=_e.charCodeAt(++we),ge)this.curLine++,this.lineStart=we}else break;if(this.pos=we,xe===47||xe<33||xe>=128)super.skipSpace()}readWord1(){let _e=this.input,ge=this.pos,we=ge,xe=_e.charCodeAt(we);while(xe>=97&&xe<=122||xe>=65&&xe<=90||xe>=48&&xe<=57||xe===95||xe===36)xe=_e.charCodeAt(++we);if(xe>=128||xe===92)return super.readWord1();return this.containsEsc=!1,this.pos=we,_e.slice(ge,we)}readWord(){let _e=this.readWord1();return this.finishToken(ve.get(_e)??a.name,_e)}}}),tt=S(Xe),nt=S(f,Xe),ot=/ \(\d+:\d+\)$/;function Oe(t){return t}function qe(t){return t instanceof SyntaxError&&"pos"in t&&typeof t.pos==="number"}function Re(t,r,a,ve,_e,ge=t.root.comments.length){let we=t.root.comments;Ue(r,we);let xe={onComment:Ve,sourceType:"module",ecmaVersion:16,locations:t.loc,preserveParens:ve};if(t.lfOnly)xe.startLocation=n(a);let be;try{be=_e(t.isTypeScript?nt:tt,xe)}catch(ke){if(!qe(ke))throw ke;Me(ke.pos,ke.message.replace(ot,""))}if(we.length>ge)Ge(Oe(be),we,a);return be}function p(t,r,a=0){return Oe(Re(t,r,0,!1,(ve,_e)=>{if(a>0&&_e.locations)_e.startLocation=n(a);let ge=new ve(_e,r,a).parse();return ge.start=0,ge},0))}var rt={count:0};function o(t,r,a,ve=!1){rt.count+=1,Be=!1;let _e=Oe(Re(t,r,a,!0,(xe,be)=>xe.parseExpressionAt(r,a,be))),ge=t.root.comments.at(-1),we=ge&&ge.end>_e.end?ge.end:_e.end;return{node:Be&&!ve?Ye(_e):_e,end:we}}function me(t,r,a){return Oe(Re(t,r,a,!1,(ve,_e)=>{let ge=new ve(_e,r,a);try{return ge.nextToken(),ge.parseStatement(null,!0,Object.create(null))}catch(we){if(qe(we)&&we.pos===r.length)i(r.length);throw we}}))}function Ye(t){let r=t;while(r.type==="ParenthesizedExpression")r=r.expression;return h(r,Ye),r}
|
|
12
|
+
export{c,n,u,e,T,A,E,N,C,_,L,P,q,I,x,R,O,g,D,B,V,F,d,y,M,v,j,U,s,z,W,G,H,K,Q,X,Y,Z,k,J,ee,te,ie,se,re,m,ne,ae,oe,w,ue,le,ce,he,i,pe,fe,de,h,l,p,o,me};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
var ue=[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],Rt=[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],pe="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",Vt="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",lt={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"},ft="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",ce={5:ft,"5module":ft+" export import",6:ft+" const class extends export import super"},Ft=/^in(stanceof)?$/,le=new RegExp("["+Vt+"]"),fe=new RegExp("["+Vt+pe+"]");function dt(e,s){var n=65536;for(var o=0;o<s.length;o+=2){if(n+=s[o],n>e)return!1;if(n+=s[o+1],n>=e)return!0}return!1}function r(e,s){if(e<65)return e===36;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<=65535)return e>=170&&le.test(String.fromCharCode(e));if(s===!1)return!1;return dt(e,Rt)}function a(e,s){if(e<48)return e===36;if(e<58)return!0;if(e<65)return!1;if(e<91)return!0;if(e<97)return e===95;if(e<123)return!0;if(e<=65535)return e>=170&&fe.test(String.fromCharCode(e));if(s===!1)return!1;return dt(e,Rt)||dt(e,ue)}var A=function(s,n){if(n===void 0)n={};this.label=s,this.keyword=n.keyword,this.beforeExpr=!!n.beforeExpr,this.startsExpr=!!n.startsExpr,this.isLoop=!!n.isLoop,this.isAssign=!!n.isAssign,this.prefix=!!n.prefix,this.postfix=!!n.postfix,this.binop=n.binop||null,this.updateContext=null};function V(e,s){return new A(e,{beforeExpr:!0,binop:s})}var F={beforeExpr:!0},_={startsExpr:!0},xt={};function w(e,s){if(s===void 0)s={};return s.keyword=e,xt[e]=new A(e,s)}var u={num:new A("num",_),regexp:new A("regexp",_),string:new A("string",_),name:new A("name",_),privateId:new A("privateId",_),eof:new A("eof"),bracketL:new A("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new A("]"),braceL:new A("{",{beforeExpr:!0,startsExpr:!0}),braceR:new A("}"),parenL:new A("(",{beforeExpr:!0,startsExpr:!0}),parenR:new A(")"),comma:new A(",",F),semi:new A(";",F),colon:new A(":",F),dot:new A("."),question:new A("?",F),questionDot:new A("?."),arrow:new A("=>",F),template:new A("template"),invalidTemplate:new A("invalidTemplate"),ellipsis:new A("...",F),backQuote:new A("`",_),dollarBraceL:new A("${",{beforeExpr:!0,startsExpr:!0}),eq:new A("=",{beforeExpr:!0,isAssign:!0}),assign:new A("_=",{beforeExpr:!0,isAssign:!0}),incDec:new A("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new A("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:V("||",1),logicalAND:V("&&",2),bitwiseOR:V("|",3),bitwiseXOR:V("^",4),bitwiseAND:V("&",5),equality:V("==/!=/===/!==",6),relational:V("</>/<=/>=",7),bitShift:V("<</>>/>>>",8),plusMin:new A("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:V("%",10),star:V("*",10),slash:V("/",10),starstar:new A("**",{beforeExpr:!0}),coalesce:V("??",1),_break:w("break"),_case:w("case",F),_catch:w("catch"),_continue:w("continue"),_debugger:w("debugger"),_default:w("default",F),_do:w("do",{isLoop:!0,beforeExpr:!0}),_else:w("else",F),_finally:w("finally"),_for:w("for",{isLoop:!0}),_function:w("function",_),_if:w("if"),_return:w("return",F),_switch:w("switch"),_throw:w("throw",F),_try:w("try"),_var:w("var"),_const:w("const"),_while:w("while",{isLoop:!0}),_with:w("with"),_new:w("new",{beforeExpr:!0,startsExpr:!0}),_this:w("this",_),_super:w("super",_),_class:w("class",_),_extends:w("extends",F),_export:w("export"),_import:w("import",_),_null:w("null",_),_true:w("true",_),_false:w("false",_),_in:w("in",{beforeExpr:!0,binop:7}),_instanceof:w("instanceof",{beforeExpr:!0,binop:7}),_typeof:w("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:w("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:w("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},R=/\r\n?|\n|\u2028|\u2029/,de=new RegExp(R.source,"g");function K(e){return e===10||e===13||e===8232||e===8233}function Ot(e,s,n){if(n===void 0)n=e.length;for(var o=s;o<n;o++){var p=e.charCodeAt(o);if(K(p))return o<n-1&&p===13&&e.charCodeAt(o+1)===10?o+2:o+1}return-1}var Bt=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,I=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Dt=Object.prototype,{hasOwnProperty:me,toString:be}=Dt,Y=Object.hasOwn||function(e,s){return me.call(e,s)},It=Array.isArray||function(e){return be.call(e)==="[object Array]"},Lt=Object.create(null);function tt(e){return Lt[e]||(Lt[e]=new RegExp("^(?:"+e.replace(/ /g,"|")+")$"))}function rt(e){if(e<=65535)return String.fromCharCode(e);return e-=65536,String.fromCharCode((e>>10)+55296,(e&1023)+56320)}var ye=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,Q=function(s,n){this.line=s,this.column=n};Q.prototype.offset=function(s){return new Q(this.line,this.column+s)};var at=function(s,n,o){if(this.start=n,this.end=o,s.sourceFile!==null)this.source=s.sourceFile};function Mt(e,s){for(var n=1,o=0;;){var p=Ot(e,o,s);if(p<0)return new Q(n,s-o);++n,o=p}}var mt={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},_t=!1;function xe(e){var s={};for(var n in mt)s[n]=e&&Y(e,n)?e[n]:mt[n];if(s.ecmaVersion==="latest")s.ecmaVersion=1e8;else if(s.ecmaVersion==null){if(!_t&&typeof console==="object"&&console.warn)_t=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
2
|
+
Defaulting to 2020, but this will stop working in the future.`);s.ecmaVersion=11}else if(s.ecmaVersion>=2015)s.ecmaVersion-=2009;if(s.allowReserved==null)s.allowReserved=s.ecmaVersion<5;if(!e||e.allowHashBang==null)s.allowHashBang=s.ecmaVersion>=14;if(It(s.onToken)){var o=s.onToken;s.onToken=function(p){return o.push(p)}}if(It(s.onComment))s.onComment=ve(s,s.onComment);if(s.sourceType==="commonjs"&&s.allowAwaitOutsideFunction)throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return s}function ve(e,s){return function(n,o,p,d,m,i){var h={type:n?"Block":"Line",value:o,start:p,end:d};if(e.locations)h.loc=new at(this,m,i);if(e.ranges)h.range=[p,d];s.push(h)}}var U=1,z=2,vt=4,qt=8,gt=16,Ut=32,nt=64,zt=128,W=256,X=512,Wt=1024,ot=U|z|W;function kt(e,s){return z|(e?vt:0)|(s?qt:0)}var et=0,Nt=1,M=2,jt=3,Kt=4,Ht=5,t=function(s,n,o){this.options=s=xe(s),this.sourceFile=s.sourceFile,this.keywords=tt(ce[s.ecmaVersion>=6?6:s.sourceType==="module"?"5module":5]);var p="";if(s.allowReserved!==!0){if(p=lt[s.ecmaVersion>=6?6:s.ecmaVersion===5?5:3],s.sourceType==="module")p+=" await"}this.reservedWords=tt(p);var d=(p?p+" ":"")+lt.strict;if(this.reservedWordsStrict=tt(d),this.reservedWordsStrictBind=tt(d+" "+lt.strictBind),this.input=String(n),this.containsEsc=!1,this.pos=o||0,this.curLine=1,s.startLocation)this.lineStart=this.pos-s.startLocation.column,this.curLine=s.startLocation.line;else if(o){if(this.lineStart=this.input.lastIndexOf(`
|
|
3
|
+
`,o-1)+1,this.options.locations)this.curLine=this.input.slice(0,this.lineStart).split(R).length}else this.lineStart=0;if(this.type=u.eof,this.value=null,this.start=this.end=this.pos,this.startLoc=this.endLoc=this.curPosition(),this.lastTokEndLoc=this.lastTokStartLoc=null,this.lastTokStart=this.lastTokEnd=this.pos,this.context=this.initialContext(),this.exprAllowed=!0,this.inModule=s.sourceType==="module",this.strict=this.inModule||s.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&&s.allowHashBang&&this.input.slice(0,2)==="#!")this.skipLineComment(2);this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?z:U),this.regexpState=null,this.privateNameStack=[]},O={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}};t.prototype.parse=function(){var s=this,n=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return s.parseTopLevel(n)})};O.inFunction.get=function(){return(this.currentVarScope().flags&z)>0};O.inGenerator.get=function(){return(this.currentVarScope().flags&qt)>0};O.inAsync.get=function(){return(this.currentVarScope().flags&vt)>0};O.canAwait.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var s=this.scopeStack[e],n=s.flags;if(n&(W|X))return!1;if(n&z)return(n&vt)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};O.allowReturn.get=function(){if(this.inFunction)return!0;if(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&U)return!0;return!1};O.allowSuper.get=function(){var e=this.currentThisScope(),s=e.flags;return(s&nt)>0||this.options.allowSuperOutsideMethod};O.allowDirectSuper.get=function(){return(this.currentThisScope().flags&zt)>0};O.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};O.allowNewDotTarget.get=function(){for(var e=this.scopeStack.length-1;e>=0;e--){var s=this.scopeStack[e],n=s.flags;if(n&(W|X)||n&z&&!(n>))return!0}return!1};O.allowUsing.get=function(){var e=this.currentScope(),s=e.flags;if(s&Wt)return!1;if(!this.inModule&&s&U)return!1;return!0};O.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&W)>0};t.extend=function(){var s=[],n=arguments.length;while(n--)s[n]=arguments[n];var o=this;for(var p=0;p<s.length;p++)o=s[p](o);return o};t.parse=function(s,n){return new this(n,s).parse()};t.parseExpressionAt=function(s,n,o){var p=new this(o,s,n);return p.nextToken(),p.parseExpression()};t.tokenizer=function(s,n){return new this(n,s)};Object.defineProperties(t.prototype,O);var L=t.prototype,ge=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;L.strictDirective=function(e){if(this.options.ecmaVersion<5)return!1;for(;;){I.lastIndex=e,e+=I.exec(this.input)[0].length;var s=ge.exec(this.input.slice(e));if(!s)return!1;if((s[1]||s[2])==="use strict"){I.lastIndex=e+s[0].length;var n=I.exec(this.input),o=n.index+n[0].length,p=this.input.charAt(o);return p===";"||p==="}"||R.test(n[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(p)||p==="!"&&this.input.charAt(o+1)==="=")}if(e+=s[0].length,I.lastIndex=e,e+=I.exec(this.input)[0].length,this.input[e]===";")e++}};L.eat=function(e){if(this.type===e)return this.next(),!0;else return!1};L.isContextual=function(e){return this.type===u.name&&this.value===e&&!this.containsEsc};L.eatContextual=function(e){if(!this.isContextual(e))return!1;return this.next(),!0};L.catchStackOverflow=function(e){try{return e()}catch(s){if(s instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(s.message)||/\btoo much recursion\b/i.test(s.message)))this.raise(this.start,"Not enough stack space to parse input");else throw s}};L.expectContextual=function(e){if(!this.eatContextual(e))this.unexpected()};L.canInsertSemicolon=function(){return this.type===u.eof||this.type===u.braceR||R.test(this.input.slice(this.lastTokEnd,this.start))};L.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};L.semicolon=function(){if(!this.eat(u.semi)&&!this.insertSemicolon())this.unexpected()};L.afterTrailingComma=function(e,s){if(this.type===e){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);if(!s)this.next();return!0}};L.expect=function(e){this.eat(e)||this.unexpected()};L.unexpected=function(e){this.raise(e!=null?e:this.start,"Unexpected token")};var ht=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};L.checkPatternErrors=function(e,s){if(!e)return;if(e.trailingComma>-1)this.raiseRecoverable(e.trailingComma,"Comma is not permitted after the rest element");var n=s?e.parenthesizedAssign:e.parenthesizedBind;if(n>-1)this.raiseRecoverable(n,s?"Assigning to rvalue":"Parenthesized pattern")};L.checkExpressionErrors=function(e,s){if(!e)return!1;var{shorthandAssign:n,doubleProto:o}=e;if(!s)return n>=0||o>=0;if(n>=0)this.raise(n,"Shorthand property assignments are valid only in destructuring patterns");if(o>=0)this.raiseRecoverable(o,"Redefinition of __proto__ property")};L.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")};L.isSimpleAssignTarget=function(e){if(e.type==="ParenthesizedExpression")return this.isSimpleAssignTarget(e.expression);return e.type==="Identifier"||e.type==="MemberExpression"};var v=t.prototype;v.parseTopLevel=function(e){var s=Object.create(null);if(!e.body)e.body=[];while(this.type!==u.eof){var n=this.parseStatement(null,!0,s);e.body.push(n)}if(this.inModule)for(var o=0,p=Object.keys(this.undefinedExports);o<p.length;o+=1){var d=p[o];this.raiseRecoverable(this.undefinedExports[d].start,"Export '"+d+"' is not defined")}return this.adaptDirectivePrologue(e.body),this.next(),e.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(e,"Program")};var St={kind:"loop"},ke={kind:"switch"};v.isLet=function(e){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;I.lastIndex=this.pos;var s=I.exec(this.input),n=this.pos+s[0].length,o=this.fullCharCodeAt(n);if(o===91||o===92)return!0;if(e)return!1;if(o===123)return!0;if(r(o)){var p=n;do n+=o<=65535?1:2;while(a(o=this.fullCharCodeAt(n)));if(o===92)return!0;var d=this.input.slice(p,n);if(!Ft.test(d))return!0}return!1};v.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;I.lastIndex=this.pos;var e=I.exec(this.input),s=this.pos+e[0].length,n;return!R.test(this.input.slice(this.pos,s))&&this.input.slice(s,s+8)==="function"&&(s+8===this.input.length||!(a(n=this.fullCharCodeAt(s+8))||n===92))};v.isUsingKeyword=function(e,s){if(this.options.ecmaVersion<17||!this.isContextual(e?"await":"using"))return!1;I.lastIndex=this.pos;var n=I.exec(this.input),o=this.pos+n[0].length;if(R.test(this.input.slice(this.pos,o)))return!1;if(e){var p=o+5,d;if(this.input.slice(o,p)!=="using"||p===this.input.length||a(d=this.fullCharCodeAt(p))||d===92)return!1;I.lastIndex=p;var m=I.exec(this.input);if(o=p+m[0].length,m&&R.test(this.input.slice(p,o)))return!1}var i=this.fullCharCodeAt(o);if(!r(i)&&i!==92)return!1;var h=o;do o+=i<=65535?1:2;while(a(i=this.fullCharCodeAt(o)));if(i===92)return!0;var l=this.input.slice(h,o);if(Ft.test(l))return!1;if(s&&!e&&l==="of"){I.lastIndex=o;var c=I.exec(this.input);if(o=o+c[0].length,this.input.charCodeAt(o)!==61||(i=this.input.charCodeAt(o+1))===61||i===62)return!1}return!0};v.isAwaitUsing=function(e){return this.isUsingKeyword(!0,e)};v.isUsing=function(e){return this.isUsingKeyword(!1,e)};v.parseStatement=function(e,s,n){var o=this.type,p=this.startNode(),d;if(this.isLet(e))o=u._var,d="let";switch(o){case u._break:case u._continue:return this.parseBreakContinueStatement(p,o.keyword);case u._debugger:return this.parseDebuggerStatement(p);case u._do:return this.parseDoStatement(p);case u._for:return this.parseForStatement(p);case u._function:if(e&&(this.strict||e!=="if"&&e!=="label")&&this.options.ecmaVersion>=6)this.unexpected();return this.parseFunctionStatement(p,!1,!e);case u._class:if(e)this.unexpected();return this.parseClass(p,!0);case u._if:return this.parseIfStatement(p);case u._return:return this.parseReturnStatement(p);case u._switch:return this.parseSwitchStatement(p);case u._throw:return this.parseThrowStatement(p);case u._try:return this.parseTryStatement(p);case u._const:case u._var:if(d=d||this.value,e&&d!=="var")this.unexpected();return this.parseVarStatement(p,d);case u._while:return this.parseWhileStatement(p);case u._with:return this.parseWithStatement(p);case u.braceL:return this.parseBlock(!0,p);case u.semi:return this.parseEmptyStatement(p);case u._export:case u._import:if(this.options.ecmaVersion>10&&o===u._import){I.lastIndex=this.pos;var m=I.exec(this.input),i=this.pos+m[0].length,h=this.input.charCodeAt(i);if(h===40||h===46)return this.parseExpressionStatement(p,this.parseExpression())}if(!this.options.allowImportExportEverywhere){if(!s)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 o===u._import?this.parseImport(p):this.parseExport(p,n);default:if(this.isAsyncFunction()){if(e)this.unexpected();return this.next(),this.parseFunctionStatement(p,!0,!e)}var l=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(l){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(e)this.raise(this.start,"Using declaration is not allowed in single-statement positions");if(l==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.next(),this.parseVar(p,!1,l),this.semicolon(),this.finishNode(p,"VariableDeclaration")}var c=this.value,y=this.parseExpression();if(o===u.name&&y.type==="Identifier"&&this.eat(u.colon))return this.parseLabeledStatement(p,c,y,e);else return this.parseExpressionStatement(p,y)}};v.parseBreakContinueStatement=function(e,s){var n=s==="break";if(this.next(),this.eat(u.semi)||this.insertSemicolon())e.label=null;else if(this.type!==u.name)this.unexpected();else e.label=this.parseIdent(),this.semicolon();var o=0;for(;o<this.labels.length;++o){var p=this.labels[o];if(e.label==null||p.name===e.label.name){if(p.kind!=null&&(n||p.kind==="loop"))break;if(e.label&&n)break}}if(o===this.labels.length)this.raise(e.start,"Unsyntactic "+s);return this.finishNode(e,n?"BreakStatement":"ContinueStatement")};v.parseDebuggerStatement=function(e){return this.next(),this.semicolon(),this.finishNode(e,"DebuggerStatement")};v.parseDoStatement=function(e){if(this.next(),this.labels.push(St),e.body=this.parseStatement("do"),this.labels.pop(),this.expect(u._while),e.test=this.parseParenExpression(),this.options.ecmaVersion>=6)this.eat(u.semi);else this.semicolon();return this.finishNode(e,"DoWhileStatement")};v.parseForStatement=function(e){this.next();var s=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(St),this.enterScope(0),this.expect(u.parenL),this.type===u.semi){if(s>-1)this.unexpected(s);return this.parseFor(e,null)}var n=this.isLet();if(this.type===u._var||this.type===u._const||n){var o=this.startNode(),p=n?"let":this.value;return this.next(),this.parseVar(o,!0,p),this.finishNode(o,"VariableDeclaration"),this.parseForAfterInit(e,o,s)}var d=this.isContextual("let"),m=!1,i=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(i){var h=this.startNode();if(this.next(),i==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.parseVar(h,!0,i),this.finishNode(h,"VariableDeclaration"),this.parseForAfterInit(e,h,s)}var l=this.containsEsc,c=new ht,y=this.start,x=s>-1?this.parseExprSubscripts(c,"await"):this.parseExpression(!0,c);if(this.type===u._in||(m=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(s>-1){if(this.type===u._in)this.unexpected(s);e.await=!0}else if(m&&this.options.ecmaVersion>=8){if(x.start===y&&!l&&x.type==="Identifier"&&x.name==="async")this.unexpected();else if(this.options.ecmaVersion>=9)e.await=!1}if(d&&m)this.raise(x.start,"The left-hand side of a for-of loop may not start with 'let'.");return this.toAssignable(x,!1,c),this.checkLValPattern(x),this.parseForIn(e,x)}else this.checkExpressionErrors(c,!0);if(s>-1)this.unexpected(s);return this.parseFor(e,x)};v.parseForAfterInit=function(e,s,n){if((this.type===u._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&s.declarations.length===1){if(this.type===u._in){if((s.kind==="using"||s.kind==="await using")&&!s.declarations[0].init)this.raise(this.start,"Using declaration is not allowed in for-in loops");if(this.options.ecmaVersion>=9&&n>-1)this.unexpected(n)}else if(this.options.ecmaVersion>=9)e.await=n>-1;return this.parseForIn(e,s)}if(n>-1)this.unexpected(n);return this.parseFor(e,s)};v.parseFunctionStatement=function(e,s,n){return this.next(),this.parseFunction(e,G|(n?0:bt),!1,s)};v.parseIfStatement=function(e){return this.next(),e.test=this.parseParenExpression(),e.consequent=this.parseStatement("if"),e.alternate=this.eat(u._else)?this.parseStatement("if"):null,this.finishNode(e,"IfStatement")};v.parseReturnStatement=function(e){if(!this.allowReturn)this.raise(this.start,"'return' outside of function");if(this.next(),this.eat(u.semi)||this.insertSemicolon())e.argument=null;else e.argument=this.parseExpression(),this.semicolon();return this.finishNode(e,"ReturnStatement")};v.parseSwitchStatement=function(e){this.next(),e.discriminant=this.parseParenExpression(),e.cases=[],this.expect(u.braceL),this.labels.push(ke),this.enterScope(Wt);var s;for(var n=!1;this.type!==u.braceR;)if(this.type===u._case||this.type===u._default){var o=this.type===u._case;if(s)this.finishNode(s,"SwitchCase");if(e.cases.push(s=this.startNode()),s.consequent=[],this.next(),o)s.test=this.parseExpression();else{if(n)this.raiseRecoverable(this.lastTokStart,"Multiple default clauses");n=!0,s.test=null}this.expect(u.colon)}else{if(!s)this.unexpected();s.consequent.push(this.parseStatement(null))}if(this.exitScope(),s)this.finishNode(s,"SwitchCase");return this.next(),this.labels.pop(),this.finishNode(e,"SwitchStatement")};v.parseThrowStatement=function(e){if(this.next(),R.test(this.input.slice(this.lastTokEnd,this.start)))this.raise(this.lastTokEnd,"Illegal newline after throw");return e.argument=this.parseExpression(),this.semicolon(),this.finishNode(e,"ThrowStatement")};var Ne=[];v.parseCatchClauseParam=function(){var e=this.parseBindingAtom(),s=e.type==="Identifier";return this.enterScope(s?Ut:0),this.checkLValPattern(e,s?Kt:M),this.expect(u.parenR),e};v.parseTryStatement=function(e){if(this.next(),e.block=this.parseBlock(),e.handler=null,this.type===u._catch){var s=this.startNode();if(this.next(),this.eat(u.parenL))s.param=this.parseCatchClauseParam();else{if(this.options.ecmaVersion<10)this.unexpected();s.param=null,this.enterScope(0)}s.body=this.parseBlock(!1),this.exitScope(),e.handler=this.finishNode(s,"CatchClause")}if(e.finalizer=this.eat(u._finally)?this.parseBlock():null,!e.handler&&!e.finalizer)this.raise(e.start,"Missing catch or finally clause");return this.finishNode(e,"TryStatement")};v.parseVarStatement=function(e,s,n){return this.next(),this.parseVar(e,!1,s,n),this.semicolon(),this.finishNode(e,"VariableDeclaration")};v.parseWhileStatement=function(e){return this.next(),e.test=this.parseParenExpression(),this.labels.push(St),e.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(e,"WhileStatement")};v.parseWithStatement=function(e){if(this.strict)this.raise(this.start,"'with' in strict mode");return this.next(),e.object=this.parseParenExpression(),e.body=this.parseStatement("with"),this.finishNode(e,"WithStatement")};v.parseEmptyStatement=function(e){return this.next(),this.finishNode(e,"EmptyStatement")};v.parseLabeledStatement=function(e,s,n,o){for(var p=0,d=this.labels;p<d.length;p+=1){var m=d[p];if(m.name===s)this.raise(n.start,"Label '"+s+"' is already declared")}var i=this.type.isLoop?"loop":this.type===u._switch?"switch":null;for(var h=this.labels.length-1;h>=0;h--){var l=this.labels[h];if(l.statementStart===e.start)l.statementStart=this.start,l.kind=i;else break}return this.labels.push({name:s,kind:i,statementStart:this.start}),e.body=this.parseStatement(o?o.indexOf("label")===-1?o+"label":o:"label"),this.labels.pop(),e.label=n,this.finishNode(e,"LabeledStatement")};v.parseExpressionStatement=function(e,s){return e.expression=s,this.semicolon(),this.finishNode(e,"ExpressionStatement")};v.parseBlock=function(e,s,n){if(e===void 0)e=!0;if(s===void 0)s=this.startNode();if(s.body=[],this.expect(u.braceL),e)this.enterScope(0);while(this.type!==u.braceR){var o=this.parseStatement(null);s.body.push(o)}if(n)this.strict=!1;if(this.next(),e)this.exitScope();return this.finishNode(s,"BlockStatement")};v.parseFor=function(e,s){return e.init=s,this.expect(u.semi),e.test=this.type===u.semi?null:this.parseExpression(),this.expect(u.semi),e.update=this.type===u.parenR?null:this.parseExpression(),this.expect(u.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,"ForStatement")};v.parseForIn=function(e,s){var n=this.type===u._in;if(this.next(),s.type==="VariableDeclaration"&&s.declarations[0].init!=null&&(!n||this.options.ecmaVersion<8||this.strict||s.kind!=="var"||s.declarations[0].id.type!=="Identifier"))this.raise(s.start,(n?"for-in":"for-of")+" loop variable declaration may not have an initializer");return e.left=s,e.right=n?this.parseExpression():this.parseMaybeAssign(),this.expect(u.parenR),e.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(e,n?"ForInStatement":"ForOfStatement")};v.parseVar=function(e,s,n,o){e.declarations=[],e.kind=n;for(;;){var p=this.startNode();if(this.parseVarId(p,n),this.eat(u.eq))p.init=this.parseMaybeAssign(s);else if(!o&&n==="const"&&!(this.type===u._in||this.options.ecmaVersion>=6&&this.isContextual("of")))this.unexpected();else if(!o&&(n==="using"||n==="await using")&&this.options.ecmaVersion>=17&&this.type!==u._in&&!this.isContextual("of"))this.raise(this.lastTokEnd,"Missing initializer in "+n+" declaration");else if(!o&&p.id.type!=="Identifier"&&!(s&&(this.type===u._in||this.isContextual("of"))))this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value");else p.init=null;if(e.declarations.push(this.finishNode(p,"VariableDeclarator")),!this.eat(u.comma))break}return e};v.parseVarId=function(e,s){e.id=s==="using"||s==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(e.id,s==="var"?Nt:M,!1)};var G=1,bt=2,Gt=4;v.parseFunction=function(e,s,n,o,p){if(this.initFunction(e),this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!o){if(this.type===u.star&&s&bt)this.unexpected();e.generator=this.eat(u.star)}if(this.options.ecmaVersion>=8)e.async=!!o;if(s&G){if(e.id=s&Gt&&this.type!==u.name?null:this.parseIdent(),e.id&&!(s&bt))this.checkLValSimple(e.id,this.strict||e.generator||e.async?this.treatFunctionsAsVar?Nt:M:jt)}var d=this.yieldPos,m=this.awaitPos,i=this.awaitIdentPos;if(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(e.async,e.generator)),!(s&G))e.id=this.type===u.name?this.parseIdent():null;return this.parseFunctionParams(e),this.parseFunctionBody(e,n,!1,p),this.yieldPos=d,this.awaitPos=m,this.awaitIdentPos=i,this.finishNode(e,s&G?"FunctionDeclaration":"FunctionExpression")};v.parseFunctionParams=function(e){this.expect(u.parenL),e.params=this.parseBindingList(u.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};v.parseClass=function(e,s){this.next();var n=this.strict;this.strict=!0,this.parseClassId(e,s),this.parseClassSuper(e);var o=this.enterClassBody(),p=this.startNode(),d=!1;p.body=[],this.expect(u.braceL);while(this.type!==u.braceR){var m=this.parseClassElement(e.superClass!==null);if(m){if(p.body.push(m),m.type==="MethodDefinition"&&m.kind==="constructor"){if(d)this.raiseRecoverable(m.start,"Duplicate constructor in the same class");d=!0}else if(m.key&&m.key.type==="PrivateIdentifier"&&Se(o,m))this.raiseRecoverable(m.key.start,"Identifier '#"+m.key.name+"' has already been declared")}}return this.strict=n,this.next(),e.body=this.finishNode(p,"ClassBody"),this.exitClassBody(),this.finishNode(e,s?"ClassDeclaration":"ClassExpression")};v.parseClassElement=function(e){if(this.eat(u.semi))return null;var s=this.options.ecmaVersion,n=this.startNode(),o="",p=!1,d=!1,m="method",i=!1;if(this.eatContextual("static")){if(s>=13&&this.eat(u.braceL))return this.parseClassStaticBlock(n),n;if(this.isClassElementNameStart()||this.type===u.star)i=!0;else o="static"}if(n.static=i,!o&&s>=8&&this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===u.star)&&!this.canInsertSemicolon())d=!0;else o="async";if(!o&&(s>=9||!d)&&this.eat(u.star))p=!0;if(!o&&!d&&!p){var h=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())m=h;else o=h}if(o)n.computed=!1,n.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),n.key.name=o,this.finishNode(n.key,"Identifier");else this.parseClassElementName(n);if(s<13||this.type===u.parenL||m!=="method"||p||d){var l=!n.static&&st(n,"constructor"),c=l&&e;if(l&&m!=="method")this.raise(n.key.start,"Constructor can't have get/set modifier");n.kind=l?"constructor":m,this.parseClassMethod(n,p,d,c)}else this.parseClassField(n);return n};v.isClassElementNameStart=function(){return this.type===u.name||this.type===u.privateId||this.type===u.num||this.type===u.string||this.type===u.bracketL||this.type.keyword};v.parseClassElementName=function(e){if(this.type===u.privateId){if(this.value==="constructor")this.raise(this.start,"Classes can't have an element named '#constructor'");e.computed=!1,e.key=this.parsePrivateIdent()}else this.parsePropertyName(e)};v.parseClassMethod=function(e,s,n,o){var p=e.key;if(e.kind==="constructor"){if(s)this.raise(p.start,"Constructor can't be a generator");if(n)this.raise(p.start,"Constructor can't be an async method")}else if(e.static&&st(e,"prototype"))this.raise(p.start,"Classes may not have a static property named prototype");var d=e.value=this.parseMethod(s,n,o);if(e.kind==="get"&&d.params.length!==0)this.raiseRecoverable(d.start,"getter should have no params");if(e.kind==="set"&&d.params.length!==1)this.raiseRecoverable(d.start,"setter should have exactly one param");if(e.kind==="set"&&d.params[0].type==="RestElement")this.raiseRecoverable(d.params[0].start,"Setter cannot use rest params");return this.finishNode(e,"MethodDefinition")};v.parseClassField=function(e){if(st(e,"constructor"))this.raise(e.key.start,"Classes can't have a field named 'constructor'");else if(e.static&&st(e,"prototype"))this.raise(e.key.start,"Classes can't have a static field named 'prototype'");if(this.eat(u.eq))this.enterScope(X|nt),e.value=this.parseMaybeAssign(),this.exitScope();else e.value=null;return this.semicolon(),this.finishNode(e,"PropertyDefinition")};v.parseClassStaticBlock=function(e){e.body=[];var s=this.labels;this.labels=[],this.enterScope(W|nt);while(this.type!==u.braceR){var n=this.parseStatement(null);e.body.push(n)}return this.next(),this.exitScope(),this.labels=s,this.finishNode(e,"StaticBlock")};v.parseClassId=function(e,s){if(this.type===u.name){if(e.id=this.parseIdent(),s)this.checkLValSimple(e.id,M,!1)}else{if(s===!0)this.unexpected();e.id=null}};v.parseClassSuper=function(e){e.superClass=this.eat(u._extends)?this.parseExprSubscripts(null,!1):null};v.enterClassBody=function(){var e={declared:Object.create(null),used:[]};return this.privateNameStack.push(e),e.declared};v.exitClassBody=function(){var e=this.privateNameStack.pop(),{declared:s,used:n}=e;if(!this.options.checkPrivateFields)return;var o=this.privateNameStack.length,p=o===0?null:this.privateNameStack[o-1];for(var d=0;d<n.length;++d){var m=n[d];if(!Y(s,m.name))if(p)p.used.push(m);else this.raiseRecoverable(m.start,"Private field '#"+m.name+"' must be declared in an enclosing class")}};function Se(e,s){var n=s.key.name,o=e[n],p="true";if(s.type==="MethodDefinition"&&(s.kind==="get"||s.kind==="set"))p=(s.static?"s":"i")+s.kind;if(o==="iget"&&p==="iset"||o==="iset"&&p==="iget"||o==="sget"&&p==="sset"||o==="sset"&&p==="sget")return e[n]="true",!1;else if(!o)return e[n]=p,!1;else return!0}function st(e,s){var{computed:n,key:o}=e;return!n&&(o.type==="Identifier"&&o.name===s||o.type==="Literal"&&o.value===s)}v.parseExportAllDeclaration=function(e,s){if(this.options.ecmaVersion>=11)if(this.eatContextual("as"))e.exported=this.parseModuleExportName(),this.checkExport(s,e.exported,this.lastTokStart);else e.exported=null;if(this.expectContextual("from"),this.type!==u.string)this.unexpected();if(e.source=this.parseExprAtom(),this.options.ecmaVersion>=16)e.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(e,"ExportAllDeclaration")};v.parseExport=function(e,s){if(this.next(),this.eat(u.star))return this.parseExportAllDeclaration(e,s);if(this.eat(u._default))return this.checkExport(s,"default",this.lastTokStart),e.declaration=this.parseExportDefaultDeclaration(),this.finishNode(e,"ExportDefaultDeclaration");if(this.shouldParseExportStatement()){if(e.declaration=this.parseExportDeclaration(e),e.declaration.type==="VariableDeclaration")this.checkVariableExport(s,e.declaration.declarations);else this.checkExport(s,e.declaration.id,e.declaration.id.start);if(e.specifiers=[],e.source=null,this.options.ecmaVersion>=16)e.attributes=[]}else{if(e.declaration=null,e.specifiers=this.parseExportSpecifiers(s),this.eatContextual("from")){if(this.type!==u.string)this.unexpected();if(e.source=this.parseExprAtom(),this.options.ecmaVersion>=16)e.attributes=this.parseWithClause()}else{for(var n=0,o=e.specifiers;n<o.length;n+=1){var p=o[n];if(this.checkUnreserved(p.local),this.checkLocalExport(p.local),p.local.type==="Literal")this.raise(p.local.start,"A string literal cannot be used as an exported binding without `from`.")}if(e.source=null,this.options.ecmaVersion>=16)e.attributes=[]}this.semicolon()}return this.finishNode(e,"ExportNamedDeclaration")};v.parseExportDeclaration=function(e){return this.parseStatement(null)};v.parseExportDefaultDeclaration=function(){var e;if(this.type===u._function||(e=this.isAsyncFunction())){var s=this.startNode();if(this.next(),e)this.next();return this.parseFunction(s,G|Gt,!1,e)}else if(this.type===u._class){var n=this.startNode();return this.parseClass(n,"nullableID")}else{var o=this.parseMaybeAssign();return this.semicolon(),o}};v.checkExport=function(e,s,n){if(!e)return;if(typeof s!=="string")s=s.type==="Identifier"?s.name:s.value;if(Y(e,s))this.raiseRecoverable(n,"Duplicate export '"+s+"'");e[s]=!0};v.checkPatternExport=function(e,s){var n=s.type;if(n==="Identifier")this.checkExport(e,s,s.start);else if(n==="ObjectPattern")for(var o=0,p=s.properties;o<p.length;o+=1){var d=p[o];this.checkPatternExport(e,d)}else if(n==="ArrayPattern")for(var m=0,i=s.elements;m<i.length;m+=1){var h=i[m];if(h)this.checkPatternExport(e,h)}else if(n==="Property")this.checkPatternExport(e,s.value);else if(n==="AssignmentPattern")this.checkPatternExport(e,s.left);else if(n==="RestElement")this.checkPatternExport(e,s.argument)};v.checkVariableExport=function(e,s){if(!e)return;for(var n=0,o=s;n<o.length;n+=1){var p=o[n];this.checkPatternExport(e,p.id)}};v.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};v.parseExportSpecifier=function(e){var s=this.startNode();return s.local=this.parseModuleExportName(),s.exported=this.eatContextual("as")?this.parseModuleExportName():s.local,this.checkExport(e,s.exported,s.exported.start),this.finishNode(s,"ExportSpecifier")};v.parseExportSpecifiers=function(e){var s=[],n=!0;this.expect(u.braceL);while(!this.eat(u.braceR)){if(!n){if(this.expect(u.comma),this.afterTrailingComma(u.braceR))break}else n=!1;s.push(this.parseExportSpecifier(e))}return s};v.parseImport=function(e){if(this.next(),this.type===u.string)e.specifiers=Ne,e.source=this.parseExprAtom();else e.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),e.source=this.type===u.string?this.parseExprAtom():this.unexpected();if(this.options.ecmaVersion>=16)e.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(e,"ImportDeclaration")};v.parseImportSpecifier=function(){var e=this.startNode();if(e.imported=this.parseModuleExportName(),this.eatContextual("as"))e.local=this.parseIdent();else this.checkUnreserved(e.imported),e.local=e.imported;return this.checkLValSimple(e.local,M),this.finishNode(e,"ImportSpecifier")};v.parseImportDefaultSpecifier=function(){var e=this.startNode();return e.local=this.parseIdent(),this.checkLValSimple(e.local,M),this.finishNode(e,"ImportDefaultSpecifier")};v.parseImportNamespaceSpecifier=function(){var e=this.startNode();return this.next(),this.expectContextual("as"),e.local=this.parseIdent(),this.checkLValSimple(e.local,M),this.finishNode(e,"ImportNamespaceSpecifier")};v.parseImportSpecifiers=function(){var e=[],s=!0;if(this.type===u.name){if(e.push(this.parseImportDefaultSpecifier()),!this.eat(u.comma))return e}if(this.type===u.star)return e.push(this.parseImportNamespaceSpecifier()),e;this.expect(u.braceL);while(!this.eat(u.braceR)){if(!s){if(this.expect(u.comma),this.afterTrailingComma(u.braceR))break}else s=!1;e.push(this.parseImportSpecifier())}return e};v.parseWithClause=function(){var e=[];if(!this.eat(u._with))return e;this.expect(u.braceL);var s={},n=!0;while(!this.eat(u.braceR)){if(!n){if(this.expect(u.comma),this.afterTrailingComma(u.braceR))break}else n=!1;var o=this.parseImportAttribute(),p=o.key.type==="Identifier"?o.key.name:o.key.value;if(Y(s,p))this.raiseRecoverable(o.key.start,"Duplicate attribute key '"+p+"'");s[p]=!0,e.push(o)}return e};v.parseImportAttribute=function(){var e=this.startNode();if(e.key=this.type===u.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(u.colon),this.type!==u.string)this.unexpected();return e.value=this.parseExprAtom(),this.finishNode(e,"ImportAttribute")};v.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===u.string){var e=this.parseLiteral(this.value);if(ye.test(e.value))this.raise(e.start,"An export name cannot include a lone surrogate.");return e}return this.parseIdent(!0)};v.adaptDirectivePrologue=function(e){for(var s=0;s<e.length&&this.isDirectiveCandidate(e[s]);++s)e[s].directive=e[s].expression.raw.slice(1,-1)};v.isDirectiveCandidate=function(e){return this.options.ecmaVersion>=5&&e.type==="ExpressionStatement"&&e.expression.type==="Literal"&&typeof e.expression.value==="string"&&(this.input[e.start]==='"'||this.input[e.start]==="'")};var B=t.prototype;B.toAssignable=function(e,s,n){if(this.options.ecmaVersion>=6&&e)switch(e.type){case"Identifier":if(this.inAsync&&e.name==="await")this.raise(e.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":if(e.type="ObjectPattern",n)this.checkPatternErrors(n,!0);for(var o=0,p=e.properties;o<p.length;o+=1){var d=p[o];if(this.toAssignable(d,s),d.type==="RestElement"&&(d.argument.type==="ArrayPattern"||d.argument.type==="ObjectPattern"))this.raise(d.argument.start,"Unexpected token")}break;case"Property":if(e.kind!=="init")this.raise(e.key.start,"Object pattern can't contain getter or setter");this.toAssignable(e.value,s);break;case"ArrayExpression":if(e.type="ArrayPattern",n)this.checkPatternErrors(n,!0);this.toAssignableList(e.elements,s);break;case"SpreadElement":if(e.type="RestElement",this.toAssignable(e.argument,s),e.argument.type==="AssignmentPattern")this.raise(e.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":if(e.operator!=="=")this.raise(e.left.end,"Only '=' operator can be used for specifying default value.");e.type="AssignmentPattern",delete e.operator,this.toAssignable(e.left,s);break;case"ParenthesizedExpression":this.toAssignable(e.expression,s,n);break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!s)break;default:this.raise(e.start,"Assigning to rvalue")}else if(n)this.checkPatternErrors(n,!0);return e};B.toAssignableList=function(e,s){var n=e.length;for(var o=0;o<n;o++){var p=e[o];if(p)this.toAssignable(p,s)}if(n){var d=e[n-1];if(this.options.ecmaVersion===6&&s&&d&&d.type==="RestElement"&&d.argument.type!=="Identifier")this.unexpected(d.argument.start)}return e};B.parseSpread=function(e){var s=this.startNode();return this.next(),s.argument=this.parseMaybeAssign(!1,e),this.finishNode(s,"SpreadElement")};B.parseRestBinding=function(){var e=this.startNode();if(this.next(),this.options.ecmaVersion===6&&this.type!==u.name)this.unexpected();return e.argument=this.parseBindingAtom(),this.finishNode(e,"RestElement")};B.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case u.bracketL:var e=this.startNode();return this.next(),e.elements=this.parseBindingList(u.bracketR,!0,!0),this.finishNode(e,"ArrayPattern");case u.braceL:return this.parseObj(!0)}return this.parseIdent()};B.parseBindingList=function(e,s,n,o){var p=[],d=!0;while(!this.eat(e)){if(d)d=!1;else this.expect(u.comma);if(s&&this.type===u.comma)p.push(null);else if(n&&this.afterTrailingComma(e))break;else if(this.type===u.ellipsis){var m=this.parseRestBinding();if(this.parseBindingListItem(m),p.push(m),this.type===u.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");this.expect(e);break}else p.push(this.parseAssignableListItem(o))}return p};B.parseAssignableListItem=function(e){var s=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(s),s};B.parseBindingListItem=function(e){return e};B.parseMaybeDefault=function(e,s,n){if(n=n||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(u.eq))return n;var o=this.startNodeAt(e,s);return o.left=n,o.right=this.parseMaybeAssign(),this.finishNode(o,"AssignmentPattern")};B.checkLValSimple=function(e,s,n){if(s===void 0)s=et;var o=s!==et;switch(e.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(e.name))this.raiseRecoverable(e.start,(o?"Binding ":"Assigning to ")+e.name+" in strict mode");if(o){if(s===M&&e.name==="let")this.raiseRecoverable(e.start,"let is disallowed as a lexically bound name");if(n){if(Y(n,e.name))this.raiseRecoverable(e.start,"Argument name clash");n[e.name]=!0}if(s!==Ht)this.declareName(e.name,s,e.start)}break;case"ChainExpression":this.raiseRecoverable(e.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(o)this.raiseRecoverable(e.start,"Binding member expression");break;case"ParenthesizedExpression":if(o)this.raiseRecoverable(e.start,"Binding parenthesized expression");return this.checkLValSimple(e.expression,s,n);default:this.raise(e.start,(o?"Binding":"Assigning to")+" rvalue")}};B.checkLValPattern=function(e,s,n){if(s===void 0)s=et;switch(e.type){case"ObjectPattern":for(var o=0,p=e.properties;o<p.length;o+=1){var d=p[o];this.checkLValInnerPattern(d,s,n)}break;case"ArrayPattern":for(var m=0,i=e.elements;m<i.length;m+=1){var h=i[m];if(h)this.checkLValInnerPattern(h,s,n)}break;default:this.checkLValSimple(e,s,n)}};B.checkLValInnerPattern=function(e,s,n){if(s===void 0)s=et;switch(e.type){case"Property":this.checkLValInnerPattern(e.value,s,n);break;case"AssignmentPattern":this.checkLValPattern(e.left,s,n);break;case"RestElement":this.checkLValPattern(e.argument,s,n);break;default:this.checkLValPattern(e,s,n)}};var D=function(s,n,o,p,d){this.token=s,this.isExpr=!!n,this.preserveSpace=!!o,this.override=p,this.generator=!!d},C={b_stat:new D("{",!1),b_expr:new D("{",!0),b_tmpl:new D("${",!1),p_stat:new D("(",!1),p_expr:new D("(",!0),q_tmpl:new D("`",!0,!0,function(e){return e.tryReadTemplateToken()}),f_stat:new D("function",!1),f_expr:new D("function",!0),f_expr_gen:new D("function",!0,!1,null,!0),f_gen:new D("function",!1,!1,null,!0)},H=t.prototype;H.initialContext=function(){return[C.b_stat]};H.curContext=function(){return this.context[this.context.length-1]};H.braceIsBlock=function(e){var s=this.curContext();if(s===C.f_expr||s===C.f_stat)return!0;if(e===u.colon&&(s===C.b_stat||s===C.b_expr))return!s.isExpr;if(e===u._return||e===u.name&&this.exprAllowed)return R.test(this.input.slice(this.lastTokEnd,this.start));if(e===u._else||e===u.semi||e===u.eof||e===u.parenR||e===u.arrow)return!0;if(e===u.braceL)return s===C.b_stat;if(e===u._var||e===u._const||e===u.name)return!1;return!this.exprAllowed};H.inGeneratorContext=function(){for(var e=this.context.length-1;e>=1;e--){var s=this.context[e];if(s.token==="function")return s.generator}return!1};H.updateContext=function(e){var s,n=this.type;if(n.keyword&&e===u.dot)this.exprAllowed=!1;else if(s=n.updateContext)s.call(this,e);else this.exprAllowed=n.beforeExpr};H.overrideContext=function(e){if(this.curContext()!==e)this.context[this.context.length-1]=e};u.parenR.updateContext=u.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var e=this.context.pop();if(e===C.b_stat&&this.curContext().token==="function")e=this.context.pop();this.exprAllowed=!e.isExpr};u.braceL.updateContext=function(e){this.context.push(this.braceIsBlock(e)?C.b_stat:C.b_expr),this.exprAllowed=!0};u.dollarBraceL.updateContext=function(){this.context.push(C.b_tmpl),this.exprAllowed=!0};u.parenL.updateContext=function(e){var s=e===u._if||e===u._for||e===u._with||e===u._while;this.context.push(s?C.p_stat:C.p_expr),this.exprAllowed=!0};u.incDec.updateContext=function(){};u._function.updateContext=u._class.updateContext=function(e){if(e.beforeExpr&&e!==u._else&&!(e===u.semi&&this.curContext()!==C.p_stat)&&!(e===u._return&&R.test(this.input.slice(this.lastTokEnd,this.start)))&&!((e===u.colon||e===u.braceL)&&this.curContext()===C.b_stat))this.context.push(C.f_expr);else this.context.push(C.f_stat);this.exprAllowed=!1};u.colon.updateContext=function(){if(this.curContext().token==="function")this.context.pop();this.exprAllowed=!0};u.backQuote.updateContext=function(){if(this.curContext()===C.q_tmpl)this.context.pop();else this.context.push(C.q_tmpl);this.exprAllowed=!1};u.star.updateContext=function(e){if(e===u._function){var s=this.context.length-1;if(this.context[s]===C.f_expr)this.context[s]=C.f_expr_gen;else this.context[s]=C.f_gen}this.exprAllowed=!0};u.name.updateContext=function(e){var s=!1;if(this.options.ecmaVersion>=6&&e!==u.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())s=!0}this.exprAllowed=s};var k=t.prototype;k.checkPropClash=function(e,s,n){if(this.options.ecmaVersion>=9&&e.type==="SpreadElement")return;if(this.options.ecmaVersion>=6&&(e.computed||e.method||e.shorthand))return;var o=e.key,p;switch(o.type){case"Identifier":p=o.name;break;case"Literal":p=String(o.value);break;default:return}var d=e.kind;if(this.options.ecmaVersion>=6){if(p==="__proto__"&&d==="init"){if(s.proto)if(n){if(n.doubleProto<0)n.doubleProto=o.start}else this.raiseRecoverable(o.start,"Redefinition of __proto__ property");s.proto=!0}return}p="$"+p;var m=s[p];if(m){var i;if(d==="init")i=this.strict&&m.init||m.get||m.set;else i=m.init||m[d];if(i)this.raiseRecoverable(o.start,"Redefinition of property")}else m=s[p]={init:!1,get:!1,set:!1};m[d]=!0};k.parseExpression=function(e,s){var n=this;return this.catchStackOverflow(function(){var{start:o,startLoc:p}=n,d=n.parseMaybeAssign(e,s);if(n.type===u.comma){var m=n.startNodeAt(o,p);m.expressions=[d];while(n.eat(u.comma))m.expressions.push(n.parseMaybeAssign(e,s));return n.finishNode(m,"SequenceExpression")}return d})};k.parseMaybeAssign=function(e,s,n){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(e);else this.exprAllowed=!1;var o=!1,p=-1,d=-1,m=-1;if(s)p=s.parenthesizedAssign,d=s.trailingComma,m=s.doubleProto,s.parenthesizedAssign=s.trailingComma=-1;else s=new ht,o=!0;var i=this.start,h=this.startLoc;if(this.type===u.parenL||this.type===u.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait=e==="await";var l=this.parseMaybeConditional(e,s);if(n)l=n.call(this,l,i,h);if(this.type.isAssign){var c=this.startNodeAt(i,h);if(c.operator=this.value,this.type===u.eq)l=this.toAssignable(l,!1,s);if(!o)s.parenthesizedAssign=s.trailingComma=s.doubleProto=-1;if(s.shorthandAssign>=l.start)s.shorthandAssign=-1;if(this.type===u.eq)this.checkLValPattern(l);else this.checkLValSimple(l);if(c.left=l,this.next(),c.right=this.parseMaybeAssign(e),m>-1)s.doubleProto=m;return this.finishNode(c,"AssignmentExpression")}else if(o)this.checkExpressionErrors(s,!0);if(p>-1)s.parenthesizedAssign=p;if(d>-1)s.trailingComma=d;return l};k.parseMaybeConditional=function(e,s){var n=this.start,o=this.startLoc,p=this.parseExprOps(e,s);if(this.checkExpressionErrors(s))return p;if(!(p.type==="ArrowFunctionExpression"&&p.start===n)&&this.eat(u.question)){var d=this.startNodeAt(n,o);return d.test=p,d.consequent=this.parseMaybeAssign(),this.expect(u.colon),d.alternate=this.parseMaybeAssign(e),this.finishNode(d,"ConditionalExpression")}return p};k.parseExprOps=function(e,s){var n=this.start,o=this.startLoc,p=this.parseMaybeUnary(s,!1,!1,e);if(this.checkExpressionErrors(s))return p;return p.start===n&&p.type==="ArrowFunctionExpression"?p:this.parseExprOp(p,n,o,-1,e)};k.parseExprOp=function(e,s,n,o,p){var d=this.type.binop;if(d!=null&&(!p||this.type!==u._in)){if(d>o){var m=this.type===u.logicalOR||this.type===u.logicalAND,i=this.type===u.coalesce;if(i)d=u.logicalAND.binop;var h=this.value;this.next();var l=this.start,c=this.startLoc,y=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,p),l,c,d,p),x=this.buildBinary(s,n,e,y,h,m||i);if(m&&this.type===u.coalesce||i&&(this.type===u.logicalOR||this.type===u.logicalAND))this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(x,s,n,o,p)}}return e};k.buildBinary=function(e,s,n,o,p,d){if(o.type==="PrivateIdentifier")this.raise(o.start,"Private identifier can only be left side of binary expression");var m=this.startNodeAt(e,s);return m.left=n,m.operator=p,m.right=o,this.finishNode(m,d?"LogicalExpression":"BinaryExpression")};k.parseMaybeUnary=function(e,s,n,o){var p=this.start,d=this.startLoc,m;if(this.isContextual("await")&&this.canAwait)m=this.parseAwait(o),s=!0;else if(this.type.prefix){var i=this.startNode(),h=this.type===u.incDec;if(i.operator=this.value,i.prefix=!0,this.next(),i.argument=this.parseMaybeUnary(null,!0,h,o),this.checkExpressionErrors(e,!0),h)this.checkLValSimple(i.argument);else if(this.strict&&i.operator==="delete"&&Qt(i.argument))this.raiseRecoverable(i.start,"Deleting local variable in strict mode");else if(i.operator==="delete"&&yt(i.argument))this.raiseRecoverable(i.start,"Private fields can not be deleted");else s=!0;m=this.finishNode(i,h?"UpdateExpression":"UnaryExpression")}else if(!s&&this.type===u.privateId){if((o||this.privateNameStack.length===0)&&this.options.checkPrivateFields)this.unexpected();if(m=this.parsePrivateIdent(),this.type!==u._in)this.unexpected()}else{if(m=this.parseExprSubscripts(e,o),this.checkExpressionErrors(e))return m;while(this.type.postfix&&!this.canInsertSemicolon()){var l=this.startNodeAt(p,d);l.operator=this.value,l.prefix=!1,l.argument=m,this.checkLValSimple(m),this.next(),m=this.finishNode(l,"UpdateExpression")}}if(!n&&!(m.type==="ArrowFunctionExpression"&&m.start===p)&&this.eat(u.starstar))if(s)this.unexpected(this.lastTokStart);else return this.buildBinary(p,d,m,this.parseMaybeUnary(null,!1,!1,o),"**",!1);else return m};function Qt(e){return e.type==="Identifier"||e.type==="ParenthesizedExpression"&&Qt(e.expression)}function yt(e){return e.type==="MemberExpression"&&e.property.type==="PrivateIdentifier"||e.type==="ChainExpression"&&yt(e.expression)||e.type==="ParenthesizedExpression"&&yt(e.expression)}k.parseExprSubscripts=function(e,s){var n=this.start,o=this.startLoc,p=this.parseExprAtom(e,s);if(p.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return p;var d=this.parseSubscripts(p,n,o,!1,s);if(e&&d.type==="MemberExpression"){if(e.parenthesizedAssign>=d.start)e.parenthesizedAssign=-1;if(e.parenthesizedBind>=d.start)e.parenthesizedBind=-1;if(e.trailingComma>=d.start)e.trailingComma=-1}return d};k.parseSubscripts=function(e,s,n,o,p){var d=this.options.ecmaVersion>=8&&e.type==="Identifier"&&e.name==="async"&&this.lastTokEnd===e.end&&!this.canInsertSemicolon()&&e.end-e.start===5&&this.potentialArrowAt===e.start,m=!1;while(!0){var i=this.parseSubscript(e,s,n,o,d,m,p);if(i.optional)m=!0;if(i===e||i.type==="ArrowFunctionExpression"){if(m){var h=this.startNodeAt(s,n);h.expression=i,i=this.finishNode(h,"ChainExpression")}return i}e=i}};k.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(u.arrow)};k.parseSubscriptAsyncArrow=function(e,s,n,o){return this.parseArrowExpression(this.startNodeAt(e,s),n,!0,o)};k.parseSubscript=function(e,s,n,o,p,d,m){var i=this.options.ecmaVersion>=11,h=i&&this.eat(u.questionDot);if(o&&h)this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var l=this.eat(u.bracketL);if(l||h&&this.type!==u.parenL&&this.type!==u.backQuote||this.eat(u.dot)){var c=this.startNodeAt(s,n);if(c.object=e,l)c.property=this.parseExpression(),this.expect(u.bracketR);else if(this.type===u.privateId&&e.type!=="Super")c.property=this.parsePrivateIdent();else c.property=this.parseIdent(this.options.allowReserved!=="never");if(c.computed=!!l,i)c.optional=h;e=this.finishNode(c,"MemberExpression")}else if(!o&&this.eat(u.parenL)){var y=new ht,x=this.yieldPos,g=this.awaitPos,N=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var P=this.parseExprList(u.parenR,this.options.ecmaVersion>=8,!1,y);if(p&&!h&&this.shouldParseAsyncArrow()){if(this.checkPatternErrors(y,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0)this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function");return this.yieldPos=x,this.awaitPos=g,this.awaitIdentPos=N,this.parseSubscriptAsyncArrow(s,n,P,m)}this.checkExpressionErrors(y,!0),this.yieldPos=x||this.yieldPos,this.awaitPos=g||this.awaitPos,this.awaitIdentPos=N||this.awaitIdentPos;var E=this.startNodeAt(s,n);if(E.callee=e,E.arguments=P,i)E.optional=h;e=this.finishNode(E,"CallExpression")}else if(this.type===u.backQuote){if(h||d)this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var j=this.startNodeAt(s,n);j.tag=e,j.quasi=this.parseTemplate({isTagged:!0}),e=this.finishNode(j,"TaggedTemplateExpression")}return e};k.parseExprAtom=function(e,s,n){if(this.type===u.slash)this.readRegexp();var o,p=this.potentialArrowAt===this.start;switch(this.type){case u._super:if(!this.allowSuper)this.raise(this.start,"'super' keyword outside a method");if(o=this.startNode(),this.next(),this.type===u.parenL&&!this.allowDirectSuper)this.raise(o.start,"super() call outside constructor of a subclass");if(this.type!==u.dot&&this.type!==u.bracketL&&this.type!==u.parenL)this.unexpected();return this.finishNode(o,"Super");case u._this:return o=this.startNode(),this.next(),this.finishNode(o,"ThisExpression");case u.name:var d=this.start,m=this.startLoc,i=this.containsEsc,h=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!i&&h.name==="async"&&!this.canInsertSemicolon()&&this.eat(u._function))return this.overrideContext(C.f_expr),this.parseFunction(this.startNodeAt(d,m),0,!1,!0,s);if(p&&!this.canInsertSemicolon()){if(this.eat(u.arrow))return this.parseArrowExpression(this.startNodeAt(d,m),[h],!1,s);if(this.options.ecmaVersion>=8&&h.name==="async"&&this.type===u.name&&!i&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){if(h=this.parseIdent(!1),this.canInsertSemicolon()||!this.eat(u.arrow))this.unexpected();return this.parseArrowExpression(this.startNodeAt(d,m),[h],!0,s)}}return h;case u.regexp:var l=this.value;return o=this.parseLiteral(l.value),o.regex={pattern:l.pattern,flags:l.flags},o;case u.num:case u.string:return this.parseLiteral(this.value);case u._null:case u._true:case u._false:return o=this.startNode(),o.value=this.type===u._null?null:this.type===u._true,o.raw=this.type.keyword,this.next(),this.finishNode(o,"Literal");case u.parenL:var c=this.start,y=this.parseParenAndDistinguishExpression(p,s);if(e){if(e.parenthesizedAssign<0&&!this.isSimpleAssignTarget(y))e.parenthesizedAssign=c;if(e.parenthesizedBind<0)e.parenthesizedBind=c}return y;case u.bracketL:return o=this.startNode(),this.next(),o.elements=this.parseExprList(u.bracketR,!0,!0,e),this.finishNode(o,"ArrayExpression");case u.braceL:return this.overrideContext(C.b_expr),this.parseObj(!1,e);case u._function:return o=this.startNode(),this.next(),this.parseFunction(o,0);case u._class:return this.parseClass(this.startNode(),!1);case u._new:return this.parseNew();case u.backQuote:return this.parseTemplate();case u._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(n);else return this.unexpected();default:return this.parseExprAtomDefault()}};k.parseExprAtomDefault=function(){this.unexpected()};k.parseExprImport=function(e){var s=this.startNode();if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword import");if(this.next(),this.type===u.parenL&&!e)return this.parseDynamicImport(s);else if(this.type===u.dot){var n=this.startNodeAt(s.start,s.loc&&s.loc.start);return n.name="import",s.meta=this.finishNode(n,"Identifier"),this.parseImportMeta(s)}else this.unexpected()};k.parseDynamicImport=function(e){if(this.next(),e.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)if(!this.eat(u.parenR))if(this.expect(u.comma),!this.afterTrailingComma(u.parenR)){if(e.options=this.parseMaybeAssign(),!this.eat(u.parenR)){if(this.expect(u.comma),!this.afterTrailingComma(u.parenR))this.unexpected()}}else e.options=null;else e.options=null;else if(!this.eat(u.parenR)){var s=this.start;if(this.eat(u.comma)&&this.eat(u.parenR))this.raiseRecoverable(s,"Trailing comma is not allowed in import()");else this.unexpected(s)}return this.finishNode(e,"ImportExpression")};k.parseImportMeta=function(e){this.next();var s=this.containsEsc;if(e.property=this.parseIdent(!0),e.property.name!=="meta")this.raiseRecoverable(e.property.start,"The only valid meta property for import is 'import.meta'");if(s)this.raiseRecoverable(e.start,"'import.meta' must not contain escaped characters");if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere)this.raiseRecoverable(e.start,"Cannot use 'import.meta' outside a module");return this.finishNode(e,"MetaProperty")};k.parseLiteral=function(e){var s=this.startNode();if(s.value=e,s.raw=this.input.slice(this.start,this.end),s.raw.charCodeAt(s.raw.length-1)===110)s.bigint=s.value!=null?s.value.toString():s.raw.slice(0,-1).replace(/_/g,"");return this.next(),this.finishNode(s,"Literal")};k.parseParenExpression=function(){this.expect(u.parenL);var e=this.parseExpression();return this.expect(u.parenR),e};k.shouldParseArrow=function(e){return!this.canInsertSemicolon()};k.parseParenAndDistinguishExpression=function(e,s){var n=this.start,o=this.startLoc,p,d=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var m=this.start,i=this.startLoc,h=[],l=!0,c=!1,y=new ht,x=this.yieldPos,g=this.awaitPos,N;this.yieldPos=0,this.awaitPos=0;while(this.type!==u.parenR)if(l?l=!1:this.expect(u.comma),d&&this.afterTrailingComma(u.parenR,!0)){c=!0;break}else if(this.type===u.ellipsis){if(N=this.start,h.push(this.parseParenItem(this.parseRestBinding())),this.type===u.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else h.push(this.parseMaybeAssign(!1,y,this.parseParenItem));var P=this.lastTokEnd,E=this.lastTokEndLoc;if(this.expect(u.parenR),e&&this.shouldParseArrow(h)&&this.eat(u.arrow))return this.checkPatternErrors(y,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=x,this.awaitPos=g,this.parseParenArrowList(n,o,h,s);if(!h.length||c)this.unexpected(this.lastTokStart);if(N)this.unexpected(N);if(this.checkExpressionErrors(y,!0),this.yieldPos=x||this.yieldPos,this.awaitPos=g||this.awaitPos,h.length>1)p=this.startNodeAt(m,i),p.expressions=h,this.finishNodeAt(p,"SequenceExpression",P,E);else p=h[0]}else p=this.parseParenExpression();if(this.options.preserveParens){var j=this.startNodeAt(n,o);return j.expression=p,this.finishNode(j,"ParenthesizedExpression")}else return p};k.parseParenItem=function(e){return e};k.parseParenArrowList=function(e,s,n,o){return this.parseArrowExpression(this.startNodeAt(e,s),n,!1,o)};var Te=[];k.parseNew=function(){if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword new");var e=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===u.dot){var s=this.startNodeAt(e.start,e.loc&&e.loc.start);s.name="new",e.meta=this.finishNode(s,"Identifier"),this.next();var n=this.containsEsc;if(e.property=this.parseIdent(!0),e.property.name!=="target")this.raiseRecoverable(e.property.start,"The only valid meta property for new is 'new.target'");if(n)this.raiseRecoverable(e.start,"'new.target' must not contain escaped characters");if(!this.allowNewDotTarget)this.raiseRecoverable(e.start,"'new.target' can only be used in functions and class static block");return this.finishNode(e,"MetaProperty")}var o=this.start,p=this.startLoc;if(e.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),o,p,!0,!1),e.callee.type==="Super")this.raiseRecoverable(o,"Invalid use of 'super'");if(this.eat(u.parenL))e.arguments=this.parseExprList(u.parenR,this.options.ecmaVersion>=8,!1);else e.arguments=Te;return this.finishNode(e,"NewExpression")};k.parseTemplateElement=function(e){var s=e.isTagged,n=this.startNode();if(this.type===u.invalidTemplate){if(!s)this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal");n.value={raw:this.value.replace(/\r\n?/g,`
|
|
4
|
+
`),cooked:null}}else n.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
5
|
+
`),cooked:this.value};return this.next(),n.tail=this.type===u.backQuote,this.finishNode(n,"TemplateElement")};k.parseTemplate=function(e){if(e===void 0)e={};var s=e.isTagged;if(s===void 0)s=!1;var n=this.startNode();this.next(),n.expressions=[];var o=this.parseTemplateElement({isTagged:s});n.quasis=[o];while(!o.tail){if(this.type===u.eof)this.raise(this.pos,"Unterminated template literal");this.expect(u.dollarBraceL),n.expressions.push(this.parseExpression()),this.expect(u.braceR),n.quasis.push(o=this.parseTemplateElement({isTagged:s}))}return this.next(),this.finishNode(n,"TemplateLiteral")};k.isAsyncProp=function(e){return!e.computed&&e.key.type==="Identifier"&&e.key.name==="async"&&(this.type===u.name||this.type===u.num||this.type===u.string||this.type===u.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===u.star)&&!R.test(this.input.slice(this.lastTokEnd,this.start))};k.parseObj=function(e,s){var n=this.startNode(),o=!0,p={};n.properties=[],this.next();while(!this.eat(u.braceR)){if(!o){if(this.expect(u.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(u.braceR))break}else o=!1;var d=this.parseProperty(e,s);if(!e)this.checkPropClash(d,p,s);n.properties.push(d)}return this.finishNode(n,e?"ObjectPattern":"ObjectExpression")};k.parseProperty=function(e,s){var n=this.startNode(),o,p,d,m;if(this.options.ecmaVersion>=9&&this.eat(u.ellipsis)){if(e){if(n.argument=this.parseIdent(!1),this.type===u.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");return this.finishNode(n,"RestElement")}if(n.argument=this.parseMaybeAssign(!1,s),this.type===u.comma&&s&&s.trailingComma<0)s.trailingComma=this.start;return this.finishNode(n,"SpreadElement")}if(this.options.ecmaVersion>=6){if(n.method=!1,n.shorthand=!1,e||s)d=this.start,m=this.startLoc;if(!e)o=this.eat(u.star)}var i=this.containsEsc;if(this.parsePropertyName(n),!e&&!i&&this.options.ecmaVersion>=8&&!o&&this.isAsyncProp(n))p=!0,o=this.options.ecmaVersion>=9&&this.eat(u.star),this.parsePropertyName(n);else p=!1;return this.parsePropertyValue(n,e,o,p,d,m,s,i),this.finishNode(n,"Property")};k.parseGetterSetter=function(e){var s=e.key.name;this.parsePropertyName(e),e.value=this.parseMethod(!1),e.kind=s;var n=e.kind==="get"?0:1;if(e.value.params.length!==n){var o=e.value.start;if(e.kind==="get")this.raiseRecoverable(o,"getter should have no params");else this.raiseRecoverable(o,"setter should have exactly one param")}else if(e.kind==="set"&&e.value.params[0].type==="RestElement")this.raiseRecoverable(e.value.params[0].start,"Setter cannot use rest params")};k.parsePropertyValue=function(e,s,n,o,p,d,m,i){if((n||o)&&this.type===u.colon)this.unexpected();if(this.eat(u.colon))e.value=s?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,m),e.kind="init";else if(this.options.ecmaVersion>=6&&this.type===u.parenL){if(s)this.unexpected();e.method=!0,e.value=this.parseMethod(n,o),e.kind="init"}else if(!s&&!i&&this.options.ecmaVersion>=5&&!e.computed&&e.key.type==="Identifier"&&(e.key.name==="get"||e.key.name==="set")&&(this.type!==u.comma&&this.type!==u.braceR&&this.type!==u.eq)){if(n||o)this.unexpected();this.parseGetterSetter(e)}else if(this.options.ecmaVersion>=6&&!e.computed&&e.key.type==="Identifier"){if(n||o)this.unexpected();if(this.checkUnreserved(e.key),e.key.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=p;if(s)e.value=this.parseMaybeDefault(p,d,this.copyNode(e.key));else if(this.type===u.eq&&m){if(m.shorthandAssign<0)m.shorthandAssign=this.start;e.value=this.parseMaybeDefault(p,d,this.copyNode(e.key))}else e.value=this.copyNode(e.key);e.kind="init",e.shorthand=!0}else this.unexpected()};k.parsePropertyName=function(e){if(this.options.ecmaVersion>=6)if(this.eat(u.bracketL))return e.computed=!0,e.key=this.parseMaybeAssign(),this.expect(u.bracketR),e.key;else e.computed=!1;return e.key=this.type===u.num||this.type===u.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};k.initFunction=function(e){if(e.id=null,this.options.ecmaVersion>=6)e.generator=e.expression=!1;if(this.options.ecmaVersion>=8)e.async=!1};k.parseMethod=function(e,s,n){var o=this.startNode(),p=this.yieldPos,d=this.awaitPos,m=this.awaitIdentPos;if(this.initFunction(o),this.options.ecmaVersion>=6)o.generator=e;if(this.options.ecmaVersion>=8)o.async=!!s;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(kt(s,o.generator)|nt|(n?zt:0)),this.expect(u.parenL),o.params=this.parseBindingList(u.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(o,!1,!0,!1),this.yieldPos=p,this.awaitPos=d,this.awaitIdentPos=m,this.finishNode(o,"FunctionExpression")};k.parseArrowExpression=function(e,s,n,o){var p=this.yieldPos,d=this.awaitPos,m=this.awaitIdentPos;if(this.enterScope(kt(n,!1)|gt),this.initFunction(e),this.options.ecmaVersion>=8)e.async=!!n;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,e.params=this.toAssignableList(s,!0),this.parseFunctionBody(e,!0,!1,o),this.yieldPos=p,this.awaitPos=d,this.awaitIdentPos=m,this.finishNode(e,"ArrowFunctionExpression")};k.parseFunctionBody=function(e,s,n,o){var p=s&&this.type!==u.braceL,d=this.strict,m=!1;if(p)e.body=this.parseMaybeAssign(o),e.expression=!0,this.checkParams(e,!1);else{var i=this.options.ecmaVersion>=7&&!this.isSimpleParamList(e.params);if(!d||i){if(m=this.strictDirective(this.end),m&&i)this.raiseRecoverable(e.start,"Illegal 'use strict' directive in function with non-simple parameter list")}var h=this.labels;if(this.labels=[],m)this.strict=!0;if(this.checkParams(e,!d&&!m&&!s&&!n&&this.isSimpleParamList(e.params)),this.strict&&e.id)this.checkLValSimple(e.id,Ht);e.body=this.parseBlock(!1,void 0,m&&!d),e.expression=!1,this.adaptDirectivePrologue(e.body.body),this.labels=h}this.exitScope()};k.isSimpleParamList=function(e){for(var s=0,n=e;s<n.length;s+=1){var o=n[s];if(o.type!=="Identifier")return!1}return!0};k.checkParams=function(e,s){var n=Object.create(null);for(var o=0,p=e.params;o<p.length;o+=1){var d=p[o];this.checkLValInnerPattern(d,Nt,s?null:n)}};k.parseExprList=function(e,s,n,o){var p=[],d=!0;while(!this.eat(e)){if(!d){if(this.expect(u.comma),s&&this.afterTrailingComma(e))break}else d=!1;var m=void 0;if(n&&this.type===u.comma)m=null;else if(this.type===u.ellipsis){if(m=this.parseSpread(o),o&&this.type===u.comma&&o.trailingComma<0)o.trailingComma=this.start}else m=this.parseMaybeAssign(!1,o);p.push(m)}return p};k.checkUnreserved=function(e){var{start:s,end:n,name:o}=e;if(this.inGenerator&&o==="yield")this.raiseRecoverable(s,"Cannot use 'yield' as identifier inside a generator");if(this.inAsync&&o==="await")this.raiseRecoverable(s,"Cannot use 'await' as identifier inside an async function");if(!(this.currentThisScope().flags&ot)&&o==="arguments")this.raiseRecoverable(s,"Cannot use 'arguments' in class field initializer");if(this.inClassStaticBlock&&(o==="arguments"||o==="await"))this.raise(s,"Cannot use "+o+" in class static initialization block");if(this.keywords.test(o))this.raise(s,"Unexpected keyword '"+o+"'");if(this.options.ecmaVersion<6&&this.input.slice(s,n).indexOf("\\")!==-1)return;var p=this.strict?this.reservedWordsStrict:this.reservedWords;if(p.test(o)){if(!this.inAsync&&o==="await")this.raiseRecoverable(s,"Cannot use keyword 'await' outside an async function");this.raiseRecoverable(s,"The keyword '"+o+"' is reserved")}};k.parseIdent=function(e){var s=this.parseIdentNode();if(this.next(!!e),this.finishNode(s,"Identifier"),!e){if(this.checkUnreserved(s),s.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=s.start}return s};k.parseIdentNode=function(){var e=this.startNode();if(this.type===u.name)e.name=this.value;else if(this.type.keyword){if(e.name=this.type.keyword,(e.name==="class"||e.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46))this.context.pop();this.type=u.name}else this.unexpected();return e};k.parsePrivateIdent=function(){var e=this.startNode();if(this.type===u.privateId)e.name=this.value;else this.unexpected();if(this.next(),this.finishNode(e,"PrivateIdentifier"),this.options.checkPrivateFields)if(this.privateNameStack.length===0)this.raise(e.start,"Private field '#"+e.name+"' must be declared in an enclosing class");else this.privateNameStack[this.privateNameStack.length-1].used.push(e);return e};k.parseYield=function(e){if(!this.yieldPos)this.yieldPos=this.start;var s=this.startNode();if(this.next(),this.type===u.semi||this.canInsertSemicolon()||this.type!==u.star&&!this.type.startsExpr)s.delegate=!1,s.argument=null;else s.delegate=this.eat(u.star),s.argument=this.parseMaybeAssign(e);return this.finishNode(s,"YieldExpression")};k.parseAwait=function(e){if(!this.awaitPos)this.awaitPos=this.start;var s=this.startNode();return this.next(),s.argument=this.parseMaybeUnary(null,!0,!1,e),this.finishNode(s,"AwaitExpression")};var it=t.prototype;it.raise=function(e,s){var n=Mt(this.input,e);if(s+=" ("+n.line+":"+n.column+")",this.sourceFile)s+=" in "+this.sourceFile;var o=SyntaxError(s);throw o.pos=e,o.loc=n,o.raisedAt=this.pos,o};it.raiseRecoverable=it.raise;it.curPosition=function(){if(this.options.locations)return new Q(this.curLine,this.pos-this.lineStart)};var q=t.prototype,we=function(s){this.flags=s,this.var=[],this.lexical=[],this.functions=[]};q.enterScope=function(e){this.scopeStack.push(new we(e))};q.exitScope=function(){this.scopeStack.pop()};q.treatFunctionsAsVarInScope=function(e){return e.flags&z||!this.inModule&&e.flags&U};q.declareName=function(e,s,n){var o=!1;if(s===M){var p=this.currentScope();if(o=p.lexical.indexOf(e)>-1||p.functions.indexOf(e)>-1||p.var.indexOf(e)>-1,p.lexical.push(e),this.inModule&&p.flags&U)delete this.undefinedExports[e]}else if(s===Kt){var d=this.currentScope();d.lexical.push(e)}else if(s===jt){var m=this.currentScope();if(this.treatFunctionsAsVar)o=m.lexical.indexOf(e)>-1;else o=m.lexical.indexOf(e)>-1||m.var.indexOf(e)>-1;m.functions.push(e)}else for(var i=this.scopeStack.length-1;i>=0;--i){var h=this.scopeStack[i];if(h.lexical.indexOf(e)>-1&&!(h.flags&Ut&&h.lexical[0]===e)||!this.treatFunctionsAsVarInScope(h)&&h.functions.indexOf(e)>-1){o=!0;break}if(h.var.push(e),this.inModule&&h.flags&U)delete this.undefinedExports[e];if(h.flags&ot)break}if(o)this.raiseRecoverable(n,"Identifier '"+e+"' has already been declared")};q.checkLocalExport=function(e){if(this.scopeStack[0].lexical.indexOf(e.name)===-1&&this.scopeStack[0].var.indexOf(e.name)===-1)this.undefinedExports[e.name]=e};q.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};q.currentVarScope=function(){for(var e=this.scopeStack.length-1;;e--){var s=this.scopeStack[e];if(s.flags&(ot|X|W))return s}};q.currentThisScope=function(){for(var e=this.scopeStack.length-1;;e--){var s=this.scopeStack[e];if(s.flags&(ot|X|W)&&!(s.flags>))return s}};var ut=function(s,n,o){if(this.type="",this.start=n,this.end=0,s.options.locations)this.loc=new at(s,o);if(s.options.directSourceFile)this.sourceFile=s.options.directSourceFile;if(s.options.ranges)this.range=[n,0]},J=t.prototype;J.startNode=function(){return new ut(this,this.start,this.startLoc)};J.startNodeAt=function(e,s){return new ut(this,e,s)};function Yt(e,s,n,o){if(e.type=s,e.end=n,this.options.locations)e.loc.end=o;if(this.options.ranges)e.range[1]=n;return e}J.finishNode=function(e,s){return Yt.call(this,e,s,this.lastTokEnd,this.lastTokEndLoc)};J.finishNodeAt=function(e,s,n,o){return Yt.call(this,e,s,n,o)};J.copyNode=function(e){var s=new ut(this,e.start,this.startLoc);for(var n in e)s[n]=e[n];return s};var Xt=function(){};Xt.prototype.reset=function(){};t.prototype.validateRegExpFlags=function(){};t.prototype.validateRegExpPattern=function(){};var Tt=function(s){if(this.type=s.type,this.value=s.value,this.start=s.start,this.end=s.end,s.options.locations)this.loc=new at(s,s.startLoc,s.endLoc);if(s.options.ranges)this.range=[s.start,s.end]},T=t.prototype;T.next=function(e){if(!e&&this.type.keyword&&this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword);if(this.options.onToken)this.options.onToken(new Tt(this));this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};T.getToken=function(){return this.next(),new Tt(this)};if(typeof Symbol<"u")T[Symbol.iterator]=function(){var e=this;return{next:function(){var s=e.getToken();return{done:s.type===u.eof,value:s}}}};T.nextToken=function(){var e=this.curContext();if(!e||!e.preserveSpace)this.skipSpace();if(this.start=this.pos,this.options.locations)this.startLoc=this.curPosition();if(this.pos>=this.input.length)return this.finishToken(u.eof);if(e.override)return e.override(this);else this.readToken(this.fullCharCodeAtPos())};T.readToken=function(e){if(r(e,this.options.ecmaVersion>=6)||e===92)return this.readWord();return this.getTokenFromCode(e)};T.fullCharCodeAt=function(e){var s=this.input.charCodeAt(e);if(s<=55295||s>=56320)return s;var n=this.input.charCodeAt(e+1);return n<=56319||n>=57344?s:(s<<10)+n-56613888};T.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};T.skipBlockComment=function(){var e=this.options.onComment&&this.curPosition(),s=this.pos,n=this.input.indexOf("*/",this.pos+=2);if(n===-1)this.raise(this.pos-2,"Unterminated comment");if(this.pos=n+2,this.options.locations)for(var o=void 0,p=s;(o=Ot(this.input,p,this.pos))>-1;)++this.curLine,p=this.lineStart=o;if(this.options.onComment)this.options.onComment(!0,this.input.slice(s+2,n),s,this.pos,e,this.curPosition())};T.skipLineComment=function(e){var s=this.pos,n=this.options.onComment&&this.curPosition(),o=this.input.charCodeAt(this.pos+=e);while(this.pos<this.input.length&&!K(o))o=this.input.charCodeAt(++this.pos);if(this.options.onComment)this.options.onComment(!1,this.input.slice(s+e,this.pos),s,this.pos,n,this.curPosition())};T.skipSpace=function(){t:while(this.pos<this.input.length){var e=this.input.charCodeAt(this.pos);switch(e){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(e>8&&e<14||e>=5760&&Bt.test(String.fromCharCode(e)))++this.pos;else break t}}};T.finishToken=function(e,s){if(this.end=this.pos,this.options.locations)this.endLoc=this.curPosition();var n=this.type;this.type=e,this.value=s,this.updateContext(n)};T.readToken_dot=function(){var e=this.input.charCodeAt(this.pos+1);if(e>=48&&e<=57)return this.readNumber(!0);var s=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&e===46&&s===46)return this.pos+=3,this.finishToken(u.ellipsis);else return++this.pos,this.finishToken(u.dot)};T.readToken_slash=function(){var e=this.input.charCodeAt(this.pos+1);if(this.exprAllowed)return++this.pos,this.readRegexp();if(e===61)return this.finishOp(u.assign,2);return this.finishOp(u.slash,1)};T.readToken_mult_modulo_exp=function(e){var s=this.input.charCodeAt(this.pos+1),n=1,o=e===42?u.star:u.modulo;if(this.options.ecmaVersion>=7&&e===42&&s===42)++n,o=u.starstar,s=this.input.charCodeAt(this.pos+2);if(s===61)return this.finishOp(u.assign,n+1);return this.finishOp(o,n)};T.readToken_pipe_amp=function(e){var s=this.input.charCodeAt(this.pos+1);if(s===e){if(this.options.ecmaVersion>=12){var n=this.input.charCodeAt(this.pos+2);if(n===61)return this.finishOp(u.assign,3)}return this.finishOp(e===124?u.logicalOR:u.logicalAND,2)}if(s===61)return this.finishOp(u.assign,2);return this.finishOp(e===124?u.bitwiseOR:u.bitwiseAND,1)};T.readToken_caret=function(){var e=this.input.charCodeAt(this.pos+1);if(e===61)return this.finishOp(u.assign,2);return this.finishOp(u.bitwiseXOR,1)};T.readToken_plus_min=function(e){var s=this.input.charCodeAt(this.pos+1);if(s===e){if(s===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||R.test(this.input.slice(this.lastTokEnd,this.pos))))return this.skipLineComment(3),this.skipSpace(),this.nextToken();return this.finishOp(u.incDec,2)}if(s===61)return this.finishOp(u.assign,2);return this.finishOp(u.plusMin,1)};T.readToken_lt_gt=function(e){var s=this.input.charCodeAt(this.pos+1),n=1;if(s===e){if(n=e===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+n)===61)return this.finishOp(u.assign,n+1);return this.finishOp(u.bitShift,n)}if(s===33&&e===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(s===61)n=2;return this.finishOp(u.relational,n)};T.readToken_eq_excl=function(e){var s=this.input.charCodeAt(this.pos+1);if(s===61)return this.finishOp(u.equality,this.input.charCodeAt(this.pos+2)===61?3:2);if(e===61&&s===62&&this.options.ecmaVersion>=6)return this.pos+=2,this.finishToken(u.arrow);return this.finishOp(e===61?u.eq:u.prefix,1)};T.readToken_question=function(){var e=this.options.ecmaVersion;if(e>=11){var s=this.input.charCodeAt(this.pos+1);if(s===46){var n=this.input.charCodeAt(this.pos+2);if(n<48||n>57)return this.finishOp(u.questionDot,2)}if(s===63){if(e>=12){var o=this.input.charCodeAt(this.pos+2);if(o===61)return this.finishOp(u.assign,3)}return this.finishOp(u.coalesce,2)}}return this.finishOp(u.question,1)};T.readToken_numberSign=function(){var e=this.options.ecmaVersion,s=35;if(e>=13){if(++this.pos,s=this.fullCharCodeAtPos(),r(s,!0)||s===92)return this.finishToken(u.privateId,this.readWord1())}this.raise(this.pos,"Unexpected character '"+rt(s)+"'")};T.getTokenFromCode=function(e){switch(e){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(u.parenL);case 41:return++this.pos,this.finishToken(u.parenR);case 59:return++this.pos,this.finishToken(u.semi);case 44:return++this.pos,this.finishToken(u.comma);case 91:return++this.pos,this.finishToken(u.bracketL);case 93:return++this.pos,this.finishToken(u.bracketR);case 123:return++this.pos,this.finishToken(u.braceL);case 125:return++this.pos,this.finishToken(u.braceR);case 58:return++this.pos,this.finishToken(u.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(u.backQuote);case 48:var s=this.input.charCodeAt(this.pos+1);if(s===120||s===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(s===111||s===79)return this.readRadixNumber(8);if(s===98||s===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(e);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(e);case 124:case 38:return this.readToken_pipe_amp(e);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(e);case 60:case 62:return this.readToken_lt_gt(e);case 61:case 33:return this.readToken_eq_excl(e);case 63:return this.readToken_question();case 126:return this.finishOp(u.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+rt(e)+"'")};T.finishOp=function(e,s){var n=this.input.slice(this.pos,this.pos+s);return this.pos+=s,this.finishToken(e,n)};T.readRegexp=function(){var e,s,n=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(n,"Unterminated regular expression");var o=this.input.charAt(this.pos);if(R.test(o))this.raise(n,"Unterminated regular expression");if(!e){if(o==="[")s=!0;else if(o==="]"&&s)s=!1;else if(o==="/"&&!s)break;e=o==="\\"}else e=!1;++this.pos}var p=this.input.slice(n,this.pos);++this.pos;var d=this.pos,m=this.readWord1();if(this.containsEsc)this.unexpected(d);var i=this.regexpState||(this.regexpState=new Xt(this));i.reset(n,p,m),this.validateRegExpFlags(i),this.validateRegExpPattern(i);var h=null;try{h=new RegExp(p,m)}catch(l){}return this.finishToken(u.regexp,{pattern:p,flags:m,value:h})};T.readInt=function(e,s,n){var o=this.options.ecmaVersion>=12&&s===void 0,p=n&&this.input.charCodeAt(this.pos)===48,d=this.pos,m=0,i=0;for(var h=0,l=s==null?1/0:s;h<l;++h,++this.pos){var c=this.input.charCodeAt(this.pos),y=void 0;if(o&&c===95){if(p)this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals");if(i===95)this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore");if(h===0)this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits");i=c;continue}if(c>=97)y=c-97+10;else if(c>=65)y=c-65+10;else if(c>=48&&c<=57)y=c-48;else y=1/0;if(y>=e)break;i=c,m=m*e+y}if(o&&i===95)this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits");if(this.pos===d||s!=null&&this.pos-d!==s)return null;return m};function Ae(e,s){if(s)return parseInt(e,8);return parseFloat(e.replace(/_/g,""))}function Jt(e){if(typeof BigInt!=="function")return null;return BigInt(e.replace(/_/g,""))}T.readRadixNumber=function(e){var s=this.pos;this.pos+=2;var n=this.readInt(e);if(n==null)this.raise(this.start+2,"Expected number in radix "+e);if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110)n=Jt(this.input.slice(s,this.pos)),++this.pos;else if(r(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(u.num,n)};T.readNumber=function(e){var s=this.pos;if(!e&&this.readInt(10,void 0,!0)===null)this.raise(s,"Invalid number");var n=this.pos-s>=2&&this.input.charCodeAt(s)===48;if(n&&this.strict)this.raise(s,"Invalid number");var o=this.input.charCodeAt(this.pos);if(!n&&!e&&this.options.ecmaVersion>=11&&o===110){var p=Jt(this.input.slice(s,this.pos));if(++this.pos,r(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(u.num,p)}if(n&&/[89]/.test(this.input.slice(s,this.pos)))n=!1;if(o===46&&!n)++this.pos,this.readInt(10),o=this.input.charCodeAt(this.pos);if((o===69||o===101)&&!n){if(o=this.input.charCodeAt(++this.pos),o===43||o===45)++this.pos;if(this.readInt(10)===null)this.raise(s,"Invalid number")}if(r(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");var d=Ae(this.input.slice(s,this.pos),n);return this.finishToken(u.num,d)};T.readCodePoint=function(){var e=this.input.charCodeAt(this.pos),s;if(e===123){if(this.options.ecmaVersion<6)this.unexpected();var n=++this.pos;if(s=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,s>1114111)this.invalidStringToken(n,"Code point out of bounds")}else s=this.readHexChar(4);return s};T.readString=function(e){var s="",n=++this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated string constant");var o=this.input.charCodeAt(this.pos);if(o===e)break;if(o===92)s+=this.input.slice(n,this.pos),s+=this.readEscapedChar(!1),n=this.pos;else if(o===8232||o===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(K(o))this.raise(this.start,"Unterminated string constant");++this.pos}}return s+=this.input.slice(n,this.pos++),this.finishToken(u.string,s)};var Zt={};T.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(e){if(e===Zt)this.readInvalidTemplateToken();else throw e}this.inTemplateElement=!1};T.invalidStringToken=function(e,s){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Zt;else this.raise(e,s)};T.readTmplToken=function(){var e="",s=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated template");var n=this.input.charCodeAt(this.pos);if(n===96||n===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===u.template||this.type===u.invalidTemplate))if(n===36)return this.pos+=2,this.finishToken(u.dollarBraceL);else return++this.pos,this.finishToken(u.backQuote);return e+=this.input.slice(s,this.pos),this.finishToken(u.template,e)}if(n===92)e+=this.input.slice(s,this.pos),e+=this.readEscapedChar(!0),s=this.pos;else if(K(n)){switch(e+=this.input.slice(s,this.pos),++this.pos,n){case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:e+=`
|
|
6
|
+
`;break;default:e+=String.fromCharCode(n);break}if(this.options.locations)++this.curLine,this.lineStart=this.pos;s=this.pos}else++this.pos}};T.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(u.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":if(this.input[this.pos+1]===`
|
|
7
|
+
`)++this.pos;case`
|
|
8
|
+
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};T.readEscapedChar=function(e){var s=this.input.charCodeAt(++this.pos);switch(++this.pos,s){case 110:return`
|
|
9
|
+
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return rt(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(e){var n=this.pos-1;this.invalidStringToken(n,"Invalid escape sequence in template string")}default:if(s>=48&&s<=55){var o=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],p=parseInt(o,8);if(p>255)o=o.slice(0,-1),p=parseInt(o,8);if(this.pos+=o.length-1,s=this.input.charCodeAt(this.pos),(o!=="0"||s===56||s===57)&&(this.strict||e))this.invalidStringToken(this.pos-1-o.length,e?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(p)}if(K(s)){if(this.options.locations)this.lineStart=this.pos,++this.curLine;return""}return String.fromCharCode(s)}};T.readHexChar=function(e){var s=this.pos,n=this.readInt(16,e);if(n===null)this.invalidStringToken(s,"Bad character escape sequence");return n};T.readWord1=function(){this.containsEsc=!1;var e="",s=!0,n=this.pos,o=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var p=this.fullCharCodeAtPos();if(a(p,o))this.pos+=p<=65535?1:2;else if(p===92){this.containsEsc=!0,e+=this.input.slice(n,this.pos);var d=this.pos;if(this.input.charCodeAt(++this.pos)!==117)this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX");++this.pos;var m=this.readCodePoint();if(!(s?r:a)(m,o))this.invalidStringToken(d,"Invalid Unicode escape");e+=rt(m),n=this.pos}else break;s=!1}return e+this.input.slice(n,this.pos)};T.readWord=function(){var e=this.readWord1(),s=u.name;if(this.keywords.test(e))s=xt[e];return this.finishToken(s,e)};var Ee="8.18.0";t.acorn={Parser:t,version:Ee,defaultOptions:mt,Position:Q,SourceLocation:at,getLineInfo:Mt,Node:ut,TokenType:A,tokTypes:u,keywordTypes:xt,TokContext:D,tokContexts:C,isIdentifierChar:a,isIdentifierStart:r,Token:Tt,isNewLine:K,lineBreak:R,lineBreakG:de,nonASCIIwhitespace:Bt};function b(e){return(s)=>e(s)}function S(...e){return t.extend(...e)}var wt=/(?:\s|\/\/.*|\/\*[\s\S]*?\*\/)*/g,Ce=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"]]),Pe=new Set("public private protected readonly declare abstract override static accessor".split(" ")),$e=new Set("public private protected readonly override".split(" ")),Ie=new Set("var let const function class abstract enum interface type namespace module global".split(" ")),Le=new Set("var let const function class interface enum".split(" ")),te=new Set(["TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"]),ee=1,_e=32,Re=256,Ve=0,Fe=1,Z=2,Oe=3,Be=4,At=6,se=7,he=256,$t=1024,De=8|$t,Me=Z|he,ie=1,qe=2,re=40,Ue=41,ze=44,ae=46,ne=58,pt=61,oe=60,ct=123,We=91,Et=42,je=35,Ct=34,Pt=39,Ke=SyntaxError("speculative parse failed"),f=b((e)=>{let{tokTypes:s,keywordTypes:n,isIdentifierChar:o,isIdentifierStart:p}=e.acorn,d=new e.acorn.TokenType("@");class m extends e{inType=!1;$5=!1;$6=!1;$8=null;$o=null;$p=!1;$q=!1;$i=null;$b=[[]];$r=0;$12=0;constructor(i,h,l){super(i,h,l);let c=this.options.onComment;if(typeof c==="function")this.options.onComment=(y,x,g,N,P,E)=>{if(g<this.$12)return;this.$12=N,c.call(this,y,x,g,N,P,E)}}getTokenFromCode(i){if(i===64)return++this.pos,this.finishToken(d);return super.getTokenFromCode(i)}readToken_lt_gt(i){if(this.inType)return this.finishOp(s.relational,1);return super.readToken_lt_gt(i)}$9(i){let h=this.inType;this.inType=!0;let l=i();if(this.inType=h,!h&&this.type===s.relational)this.pos=this.start,this.nextToken();return l}$1(){return this.type===s.relational&&this.value==="<"}$k(){if(this.type===s.bitShift&&this.value==="<<")this.pos=this.start+1,this.finishToken(s.relational,"<");return this.$1()}$c(){return this.type===s.relational&&this.value===">"}$s(){return this.type===s.prefix&&this.value==="!"}hasPrecedingLineBreak(){return this.$13(this.lastTokEnd,this.start)}$13(i,h){for(let l=i;l<h;l++){let c=this.input.charCodeAt(l);if(c===10||c===13||c===8232||c===8233)return!0}return!1}$d(i=this.pos){return wt.lastIndex=i,wt.exec(this.input),wt.lastIndex}$2(){return this.input.charCodeAt(this.$d())}$3(){let i=this.$d(),h=i;while(h<this.input.length&&o(this.input.charCodeAt(h)))h++;return this.input.slice(i,h)}$a(){return!this.$13(this.pos,this.$d())}$14(){return this.$a()&&p(this.$2())&&!Object.hasOwn(n,this.$3())}$15(){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}}$16(i){this.pos=i.pos,this.type=i.type,this.value=i.value,this.start=i.start,this.end=i.end,this.startLoc=i.startLoc,this.endLoc=i.endLoc,this.lastTokStart=i.lastTokStart,this.lastTokEnd=i.lastTokEnd,this.lastTokStartLoc=i.lastTokStartLoc,this.lastTokEndLoc=i.lastTokEndLoc,this.curLine=i.curLine,this.lineStart=i.lineStart,this.context=i.context,this.exprAllowed=i.exprAllowed,this.containsEsc=i.containsEsc,this.inType=i.inType,this.$5=i.$5,this.$6=i.$6,this.$8=i.$8,this.scopeStack.length=i.scopes,this.privateNameStack.length=i.privateNames,this.labels=i.labels,this.labels.length=i.labelCount,this.strict=i.strict,this.yieldPos=i.yieldPos,this.awaitPos=i.awaitPos,this.awaitIdentPos=i.awaitIdentPos,this.potentialArrowAt=i.potentialArrowAt,this.potentialArrowInForAwait=i.potentialArrowInForAwait}raise(i,h){if(this.$r>0)throw Ke;return super.raise(i,h)}$1y(i,h){try{super.raise(i,h)}catch(l){if(l instanceof SyntaxError)l.$1z=!0;throw l}throw Error("unreachable")}$f(i,h=!1){let l=this.$15();this.$r++;try{let c=i();if(h||c===void 0)this.$16(l);return c}catch(c){if(!(c instanceof SyntaxError)||!h&&c.$1z)throw c;this.$16(l);return}finally{this.$r--}}$t(i){return this.$f(i,!0)===!0}$17(i){if(i.end=this.lastTokEnd,this.options.locations)i.loc.end=this.lastTokEndLoc}$l(i,h){if(i.start=h.start,this.options.locations)i.loc.start=h.loc.start}$4(i=!1){let h=this.startNode();return h.typeAnnotation=this.$9(()=>(this.next(),i?this.$20():this.$0())),this.finishNode(h,"TSTypeAnnotation")}$g(i,h){if(h&&this.eat(s.question))i.optional=!0,this.$17(i);if(this.type===s.colon)i.typeAnnotation=this.$4(),this.$17(i);return i}$20(){if(this.type!==s.name&&this.type!==s._this)return this.$0();if(this.isContextual("asserts")&&this.$a()&&p(this.$2())){let i=this.startNode();if(this.next(),i.parameterName=this.type===s._this?this.$u():this.parseIdent(),this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.$v(i,!0);return i.asserts=!0,i.typeAnnotation=null,this.finishNode(i,"TSTypePredicate")}if(this.$3()==="is"&&this.$a()){let i=this.startNode();return i.parameterName=this.type===s._this?this.$u():this.parseIdent(!0),this.$v(i,!1)}return this.$0()}$v(i,h){this.next();let l=this.startNode();return l.typeAnnotation=this.$0(),i.typeAnnotation=this.finishNode(l,"TSTypeAnnotation"),i.asserts=h,this.finishNode(i,"TSTypePredicate")}$u(){let i=this.startNode();return this.next(),this.finishNode(i,"TSThisType")}parseWholeType(){this.inType=!0,this.nextToken();let i=this.$0();if(this.type!==s.eof)this.unexpected();return i}$0(){let i=this.$18();if(this.$5||this.type!==s._extends||this.hasPrecedingLineBreak())return i;let h=this.startNodeAt(i.start,i.loc?.start);return this.next(),h.checkType=i,h.extendsType=this.$h(!0,()=>this.$18()),this.expect(s.question),h.trueType=this.$h(!1,()=>this.$0()),this.expect(s.colon),h.falseType=this.$h(!1,()=>this.$0()),this.finishNode(h,"TSConditionalType")}$h(i,h){let l=this.$5;this.$5=i;let c=h();return this.$5=l,c}$18(){if(this.$21())return this.$19("TSFunctionType");if(this.type===s._new||this.isContextual("abstract")&&this.$3()==="new")return this.$19("TSConstructorType");return this.$1a("TSUnionType",s.bitwiseOR,()=>this.$1a("TSIntersectionType",s.bitwiseAND,()=>this.$1b()))}$19(i){let h=this.startNode();if(i==="TSConstructorType"){if(h.abstract=this.isContextual("abstract"),h.abstract)this.next();this.next()}return this.$h(!1,()=>this.$m(h,s.arrow)),this.finishNode(h,i)}$m(i,h){if(this.$1())i.typeParameters=this.$7();if(this.expect(s.parenL),i.parameters=this.parseBindingList(s.parenR,!1,!0),this.type===h)i.typeAnnotation=this.$4(!0);else if(h===s.arrow)this.unexpected()}$21(){if(this.$1())return!0;if(this.type!==s.parenL)return!1;return this.$t(()=>{if(this.next(),this.type===s.parenR||this.type===s.ellipsis)return!0;if(this.type===s.name||this.type===s._this)this.next();else if(this.type===s.braceL||this.type===s.bracketL)this.parseBindingAtom();else return!1;let i=this.type;if(i===s.colon||i===s.comma||i===s.question||i===s.eq)return!0;if(i!==s.parenR)return!1;return this.next(),this.type===s.arrow})}$1a(i,h,l){let c=this.startNode(),y=this.eat(h),x=[];do x.push(l());while(this.eat(h));if(x.length===1&&!y)return x[0];return c.types=x,this.finishNode(c,i)}$1b(){if(this.type===s.name&&!this.containsEsc){let i=this.value;if(i==="keyof"||i==="unique"||i==="readonly"){let h=this.startNode();return this.next(),h.operator=i,h.typeAnnotation=this.$1b(),this.finishNode(h,"TSTypeOperator")}if(i==="infer"){let h=this.startNode();this.next();let l=this.startNode();l.name=this.$w();let c=this.$f(()=>this.$22());if(c)l.constraint=c;return h.typeParameter=this.finishNode(l,"TSTypeParameter"),this.finishNode(h,"TSInferType")}}return this.$h(!1,()=>this.$23())}$22(){if(!this.eat(s._extends))return;let i=this.$h(!0,()=>this.$0());if(this.$5||this.type!==s.question)return i;return}$w(){if(this.type!==s.name&&!this.type.keyword)this.unexpected();let i=this.type===s.name?this.value:this.type.keyword;return this.next(),i}$23(){let i=this.$24();while(!this.hasPrecedingLineBreak()&&this.eat(s.bracketL)){let h=this.startNodeAt(i.start,i.loc?.start);if(this.eat(s.bracketR))h.elementType=i,i=this.finishNode(h,"TSArrayType");else h.objectType=i,h.indexType=this.$0(),this.expect(s.bracketR),i=this.finishNode(h,"TSIndexedAccessType")}return i}$24(){switch(this.type){case s.name:case s._void:case s._null:{let i=Ce.get(this.value);if(i&&(this.type!==s.name||!this.containsEsc&&this.$2()!==ae)){let h=this.startNode();return this.next(),this.finishNode(h,i)}return this.$1c()}case s.string:case s.num:case s._true:case s._false:{let i=this.startNode();return i.literal=this.parseExprAtom(),this.finishNode(i,"TSLiteralType")}case s.plusMin:{if(this.value!=="-")break;let i=this.startNode(),h=this.startNode();if(this.next(),this.type!==s.num)this.unexpected();return h.operator="-",h.prefix=!0,h.argument=this.parseExprAtom(),i.literal=this.finishNode(h,"UnaryExpression"),this.finishNode(i,"TSLiteralType")}case s.backQuote:return this.$25();case s._this:{let i=this.$u();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){let h=this.startNodeAt(i.start,i.loc?.start);return h.parameterName=i,this.$v(h,!1)}return i}case s._typeof:return this.$26();case s._import:return this.$1d();case s.braceL:return this.$27()?this.$28():this.$29();case s.bracketL:return this.$2a();case s.parenL:{let i=this.startNode();return this.next(),i.typeAnnotation=this.$0(),this.expect(s.parenR),this.finishNode(i,"TSParenthesizedType")}default:if(this.type.keyword)return this.$1c()}return this.unexpected()}$1c(){let i=this.startNode();if(i.typeName=this.$j(),!this.hasPrecedingLineBreak()&&this.$1())i.typeArguments=this.$e();return this.finishNode(i,"TSTypeReference")}$j(){let i=this.parseIdent(!0);while(this.eat(s.dot)){let h=this.startNodeAt(i.start,i.loc?.start);h.left=i,h.right=this.parseIdent(!0),i=this.finishNode(h,"TSQualifiedName")}return i}$26(){let i=this.startNode();if(this.next(),i.exprName=this.type===s._import?this.$1d():this.$j(),!this.hasPrecedingLineBreak()&&this.$1())i.typeArguments=this.$e();return this.finishNode(i,"TSTypeQuery")}$1d(){let i=this.startNode();if(this.next(),i.argument=this.$1e(),this.eat(s.dot))i.qualifier=this.$j();if(this.$1())i.typeArguments=this.$e();return this.finishNode(i,"TSImportType")}$x(){if(this.type!==s.string)this.unexpected();return this.parseExprAtom()}$1e(){this.expect(s.parenL);let i=this.$x();return this.expect(s.parenR),i}$25(){let i=this.startNode(),h=this.startNode();this.next(),h.expressions=[];let l=this.parseTemplateElement({isTagged:!1});h.quasis=[l];while(!l.tail){if(this.type===s.eof)this.raise(this.pos,"Unterminated template literal");this.expect(s.dollarBraceL),h.expressions.push(this.$0()),this.expect(s.braceR),l=this.parseTemplateElement({isTagged:!1}),h.quasis.push(l)}return this.next(),i.literal=this.finishNode(h,"TemplateLiteral"),this.finishNode(i,"TSLiteralType")}$27(){return this.$t(()=>{if(this.next(),this.type===s.plusMin)return this.next(),this.isContextual("readonly");if(this.isContextual("readonly"))this.next();if(this.type!==s.bracketL)return!1;if(this.next(),this.type!==s.name)return!1;return this.next(),this.type===s._in})}$28(){let i=this.startNode();if(this.expect(s.braceL),this.type===s.plusMin)i.readonly=this.value,this.next(),this.expectContextual("readonly");else if(this.eatContextual("readonly"))i.readonly=!0;this.expect(s.bracketL);let h=this.startNode();if(h.name=this.$w(),this.expect(s._in),h.constraint=this.$0(),i.typeParameter=this.finishNode(h,"TSTypeParameter"),i.nameType=this.eatContextual("as")?this.$0():null,this.expect(s.bracketR),this.type===s.plusMin)i.optional=this.value,this.next(),this.expect(s.question);else if(this.eat(s.question))i.optional=!0;if(this.eat(s.colon))i.typeAnnotation=this.$0();return this.semicolon(),this.expect(s.braceR),this.finishNode(i,"TSMappedType")}$29(){let i=this.startNode();return i.members=this.$1f(),this.finishNode(i,"TSTypeLiteral")}$1f(){this.expect(s.braceL);let i=[];while(!this.eat(s.braceR))i.push(this.$2b());return i}$2b(){let i=this.startNode(),h="TSPropertySignature",l=this.type===s._new?this.$2():-1;if(this.type===s.parenL||this.$1())h="TSCallSignatureDeclaration",this.$m(i,s.colon);else if(l===re||l===oe)h="TSConstructSignatureDeclaration",this.next(),this.$m(i,s.colon);else{let c=this.type===s._new?this.parseIdent(!0):null;if(this.isContextual("readonly")&&this.$n(!0))this.next(),i.readonly=!0;if(this.type===s.bracketL&&this.$1g())return this.$1h(i);let y="method";if(c)i.key=c;else{if((this.isContextual("get")||this.isContextual("set"))&&this.$n(!1))y=this.value,this.next();this.parsePropertyName(i)}if(this.eat(s.question))i.optional=!0;if(this.type===s.parenL||this.$1()){if(h="TSMethodSignature",y!=="method")i.kind=y;this.$m(i,s.colon),i.kind=y}else if(this.type===s.colon)i.typeAnnotation=this.$4()}return this.$1i(),this.finishNode(i,h)}$1i(){if(!this.eat(s.comma))this.semicolon()}$1g(){return this.$t(()=>{if(this.next(),this.type!==s.name)return!1;return this.next(),this.type===s.colon})}$1h(i){if(this.expect(s.bracketL),i.parameters=[this.$g(this.parseIdent(),!1)],this.expect(s.bracketR),this.type===s.colon)i.typeAnnotation=this.$4();return this.$1i(),this.finishNode(i,"TSIndexSignature")}$2a(){let i=this.startNode();this.expect(s.bracketL),i.elementTypes=[];while(!this.eat(s.bracketR))if(i.elementTypes.push(this.$2c()),this.type!==s.bracketR)this.expect(s.comma);return this.finishNode(i,"TSTupleType")}$2c(){let i=this.start,h=this.startLoc,l=this.eat(s.ellipsis),c;if((this.type===s.name||this.type.keyword)&&this.$2d()){let y=this.startNode();y.label=this.parseIdent(!0),y.optional=this.eat(s.question),this.expect(s.colon),y.elementType=this.$0(),c=this.finishNode(y,"TSNamedTupleMember")}else if(c=this.$0(),this.eat(s.question)){let y=this.startNodeAt(c.start,c.loc?.start);y.typeAnnotation=c,c=this.finishNode(y,"TSOptionalType")}if(l){let y=this.startNodeAt(i,h);y.typeAnnotation=c,c=this.finishNode(y,"TSRestType")}return c}$2d(){let i=this.$d();if(this.input.charCodeAt(i)===63)i=this.$d(i+1);return this.input.charCodeAt(i)===ne}$7(){return this.$9(()=>{let i=this.startNode();this.next(),i.params=[];while(!this.$c()){let h=this.startNode();while((this.type===s._const||this.type===s._in||this.isContextual("out"))&&p(this.$2()))h[this.value]=!0,this.next();if(h.name=this.$w(),this.eat(s._extends))h.constraint=this.$0();if(this.eat(s.eq))h.default=this.$0();if(i.params.push(this.finishNode(h,"TSTypeParameter")),!this.$c()){if(this.expect(s.comma),this.$c())i.extra={trailingComma:this.lastTokStart}}}if(this.next(),i.params.length===0)this.$1y(this.start,"Type parameter list cannot be empty.");return this.finishNode(i,"TSTypeParameterDeclaration")})}$e(){return this.$9(()=>{let i=this.startNode();this.next(),i.params=[];while(!this.$c())if(i.params.push(this.$0()),!this.$c())this.expect(s.comma);if(i.params.length===0)this.unexpected();return this.next(),this.finishNode(i,"TSTypeParameterInstantiation")})}$1j(){let i=[];do{let h=this.startNode();if(h.expression=this.$j(),this.$1())h.typeParameters=this.$e();i.push(this.finishNode(h,"TSExpressionWithTypeArguments"))}while(this.eat(s.comma));return i}$1k(i=!1){if(this.type!==s.name||this.containsEsc){if(this.type===s._const&&this.$3()==="enum")return this.$y(this.startNode());return}if(!this.$2e(this.value))return;if(this.value==="declare")return this.$2f(i);return this.$1l(this.startNode(),this.value)}$2e(i){switch(i){case"interface":case"type":case"namespace":return this.$14();case"enum":return p(this.$2());case"abstract":return this.$a()&&this.$3()==="class";case"module":{let h=this.$2();return this.$a()&&(h===Ct||h===Pt||p(h))}case"declare":return this.$a()&&Ie.has(this.$3());case"global":return this.$a()&&this.$2()===ct}return!1}$1l(i,h){switch(h){case"interface":return this.$1m(i);case"type":return this.$2g(i);case"enum":return this.$y(i);case"abstract":return this.$1n(i,!0);case"global":return i.global=!0,i.id=this.parseIdent(),i.body=this.$z(),this.finishNode(i,"TSModuleDeclaration")}return this.$2h(i)}$2f(i){let h=this.$6;this.$6=!0;let l=this.startNode();this.next();let c=this.value;if(c==="const"&&this.$3()==="enum")l.const=!0;if(!i&&Le.has(c))l.declare=!0;let y;if(l.const)y=this.$y(l);else if(c==="var"||c==="let"||c==="const")y=this.parseVarStatement(l,c,!0);else if(c==="function")this.next(),y=this.parseFunction(l,ie,!1,!1);else if(c==="class")y=this.parseClass(l,!0);else y=this.$1l(l,c);return y.declare=!0,this.$6=h,y}$1n(i,h){return this.next(),i.abstract=!0,this.parseClass(i,h)}$1m(i){if(this.next(),i.id=this.parseIdent(),this.checkLValSimple(i.id,se),this.$1())i.typeParameters=this.$7();return this.$9(()=>{if(this.eat(s._extends))i.extends=this.$1j();let h=this.startNode();h.body=this.$1f(),i.body=this.finishNode(h,"TSInterfaceBody")}),this.finishNode(i,"TSInterfaceDeclaration")}$2g(i){if(this.next(),i.id=this.parseIdent(),this.checkLValSimple(i.id,At),this.$1())i.typeParameters=this.$7();return i.typeAnnotation=this.$9(()=>(this.expect(s.eq),this.$0())),this.semicolon(),this.finishNode(i,"TSTypeAliasDeclaration")}$y(i){if(this.type===s._const)i.const=!0,this.next();this.next(),i.id=this.parseIdent(),this.checkLValSimple(i.id,Me),this.expect(s.braceL),i.members=[];while(!this.eat(s.braceR)){let h=this.startNode();if(h.id=this.type===s.string?this.parseExprAtom():this.parseIdent(!0),this.eat(s.eq))h.initializer=this.parseMaybeAssign();if(i.members.push(this.finishNode(h,"TSEnumMember")),this.type!==s.braceR)this.expect(s.comma)}return this.finishNode(i,"TSEnumDeclaration")}$2h(i){if(this.next(),this.type===s.string){if(i.id=this.parseExprAtom(),this.type===s.braceL)i.body=this.$z();else this.semicolon();return this.finishNode(i,"TSModuleDeclaration")}return i.id=this.parseIdent(),this.checkLValSimple(i.id,De),this.$1o(i)}$1o(i){if(this.eat(s.dot)){let h=this.startNode();h.id=this.parseIdent(),i.body=this.$1o(h)}else i.body=this.$z();return this.finishNode(i,"TSModuleDeclaration")}$z(){this.enterScope(Re);let i=this.startNode();this.enterScope(0),this.expect(s.braceL),i.body=[];while(!this.eat(s.braceR))i.body.push(this.parseStatement(null,!0));return this.exitScope(),this.exitScope(),this.finishNode(i,"TSModuleBlock")}$1p(i,h){if(i.isExport=h,i.id=this.parseIdent(),this.checkLValSimple(i.id,Z),this.expect(s.eq),this.isContextual("require")&&this.$2()===re){let l=this.startNode();this.next(),l.expression=this.$1e(),i.moduleReference=this.finishNode(l,"TSExternalModuleReference")}else i.moduleReference=this.$j();return this.semicolon(),this.finishNode(i,"TSImportEqualsDeclaration")}$2i(){let i=this.$d();if(this.input.charCodeAt(i)!==pt)return!1;let h=this.input.charCodeAt(i+1);return h!==pt&&h!==62}parseStatement(i,h,l){if(this.type===d)this.$1q(!0);let c=this.$1k();if(c)return c;return super.parseStatement(i,h,l)}parseVarStatement(i,h,l){return super.parseVarStatement(i,h,l||this.$6)}parseVarId(i,h){if(super.parseVarId(i,h),i.id.type==="Identifier"&&this.$s()&&!this.hasPrecedingLineBreak())this.next(),i.definite=!0;this.$g(i.id,!1)}parseCatchClauseParam(){let i=this.$g(this.parseBindingAtom(),!1),h=i.type==="Identifier";return this.enterScope(h?_e:0),this.checkLValPattern(i,h?Be:Z),this.expect(s.parenR),i}parseImport(i){if(this.next(),i.importKind="value",this.type===s.string)i.specifiers=[],i.source=this.parseExprAtom();else{if(this.isContextual("type")){let h=this.$2();if(h===ct||h===Et||p(h)&&this.$3()!=="from")i.importKind="type",this.next()}if(this.type===s.name&&this.$2i())return this.$1p(i,!1);i.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),i.source=this.$x()}return this.$1r(i),this.semicolon(),this.finishNode(i,"ImportDeclaration")}parseWithClause(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak())this.type=s._with;return this.type===s._with?super.parseWithClause():void 0}$1r(i){let h=this.parseWithClause();if(h)i.attributes=h}parseImportSpecifier(){return this.$1s("importKind",()=>super.parseImportSpecifier())}parseExportSpecifier(i){return this.$1s("exportKind",()=>super.parseExportSpecifier(i))}$1s(i,h){let l=this.isContextual("type")?this.$2():-1;if(l===Ct||l===Pt||p(l)&&this.$3()!=="as"){let y=this.startNode();this.next();let x=h();return this.$l(x,y),x[i]="type",x}let c=h();return c[i]="value",c}parseExport(i,h){if(this.next(),this.eat(s._import)){if(i.importKind="value",this.isContextual("type")&&p(this.$2())&&this.$3()!=="from")i.importKind="type",this.next();return this.$1p(i,!0)}if(this.eat(s.eq))return i.expression=this.parseExpression(),this.semicolon(),this.finishNode(i,"TSExportAssignment");if(this.eatContextual("as"))return this.expectContextual("namespace"),i.id=this.parseIdent(),this.semicolon(),this.finishNode(i,"TSNamespaceExportDeclaration");if(i.exportKind="value",this.isContextual("type")){let y=this.$2();if(y===ct||y===Et)i.exportKind="type",this.next()}if(this.eat(s.star))return this.parseExportAllDeclaration(i,h);if(this.eat(s._default)){if(this.isContextual("interface")&&this.$14())i.declaration=this.$1m(this.startNode());else if(this.isContextual("abstract")&&this.$3()==="class")i.declaration=this.$1n(this.startNode(),"nullableID");else i.declaration=this.parseExportDefaultDeclaration();return this.finishNode(i,"ExportDefaultDeclaration")}let l=this.isContextual("declare"),c=this.$1k(!0);if(c||this.shouldParseExportStatement()){if(i.declaration=c??this.parseStatement(null),l||i.declaration.type==="TSInterfaceDeclaration"||i.declaration.type==="TSTypeAliasDeclaration")i.exportKind="type";return i.specifiers=[],i.source=null,this.finishNode(i,"ExportNamedDeclaration")}if(i.declaration=null,i.specifiers=this.parseExportSpecifiers(h),this.eatContextual("from"))i.source=this.$x(),this.$1r(i);else{for(let y of i.specifiers)if(this.checkUnreserved(y.local),this.checkLocalExport(y.local),y.local.type==="Literal")this.raise(y.local.start,"A string literal cannot be used as an exported binding without `from`.");i.source=null}return this.semicolon(),this.finishNode(i,"ExportNamedDeclaration")}parseFunction(i,h,l,c,y){let x=h&ie;if(x)this.$i=i;super.parseFunction(i,h,l,c,y),this.$i=null;let g=!i.body;if(g)i.type="TSDeclareFunction";if(x&&i.id){if(g){if(this.$6&&this.currentScope().flags&ee)this.declareName(i.id.name,$t,i.id.start);this.checkLValSimple(i.id,Ve)}else if(!(h&qe)){let N=Oe;if(this.strict||i.generator||i.async)N=this.treatFunctionsAsVar?Fe:Z;this.checkLValSimple(i.id,N)}}return i}parseFunctionParams(i){if(this.$1())i.typeParameters=this.$7();if(super.parseFunctionParams(i),this.type===s.colon)i.returnType=this.$4(!0)}parseFunctionBody(i,h,l,c){if(l&&this.type===s.colon)i.returnType=this.$4(!0);if(h||this.type===s.braceL){super.parseFunctionBody(i,h,l,c);return}this.semicolon(),this.exitScope()}parseMethod(i,h,l){let c=this.$o;this.$o=null;let y=super.parseMethod(i,h,l);if(!y.body)y.type="TSDeclareMethod";if(c)y.typeParameters=c;return y}parseBindingList(i,h,l,c){let y=c===!0||this.$p;return this.$p=!1,super.parseBindingList(i,h,l,y)}$n(i){if(!i&&!this.$a())return!1;let h=this.$2();return h===We||h===ct||h===Et||h===ae||h===je||h===Ct||h===Pt||h>=48&&h<=57||p(h)}parseAssignableListItem(i){let h=this.$10(),l=this.start,c=this.startLoc,y,x=!1,g=!1;if(i)while(this.type===s.name&&$e.has(this.value)&&!this.containsEsc&&this.$n(!1)){if(this.value==="readonly")x=!0;else if(this.value==="override")g=!0;else y=this.value;this.next()}let N;if(this.type===s._this)N=this.startNode(),N.name="this",this.next(),this.finishNode(N,"Identifier");else N=this.parseBindingAtom();let P=this.type===s.eq?this.parseMaybeDefault(l,c,N):this.parseMaybeDefault(N.start,N.loc?.start,this.$g(N,!0));if(h.length>0)P.decorators=h;if(!y&&!x&&!g)return P;let E=this.startNodeAt(l,c);if(y)E.accessibility=y;if(x)E.readonly=!0;if(g)E.override=!0;return E.parameter=P,this.finishNode(E,"TSParameterProperty")}parseBindingListItem(i){if(i.type==="RestElement")this.$g(i,!0);return i}checkLValSimple(i,h,l){if(this.$i&&i===this.$i.id){this.$i=null;return}if(!h&&te.has(i.type)){this.checkLValSimple(i.expression,h,l);return}switch(i.type){case"TSParameterProperty":this.checkLValInnerPattern(i.parameter,h,l);return;case"Identifier":if(i.name==="this")return}super.checkLValSimple(i,h,l)}toAssignable(i,h,l){if(i&&!h&&te.has(i.type))return i;return super.toAssignable(i,h,l)}declareName(i,h,l){let c=this.currentScope();if(h&$t){this.$1t(c,i),c.$1u??=[],c.$1u.push(i);return}if(h===At||h===se){if(c.$11??=[],h===At&&c.$11.includes(i))this.raise(l,`type '${i}' has already been declared.`);c.$11.push(i),this.$1t(c,i);return}if(h&he){if(c.$1v??=[],c.$1v.includes(i))return;super.declareName(i,Z,l),c.$1v.push(i);return}super.declareName(i,h,l)}$1t(i,h){if(this.inModule&&i.flags&ee)delete this.undefinedExports[h]}checkLocalExport(i){for(let h=this.scopeStack.length-1;h>=0;h--){let l=this.scopeStack[h];if(l.$11?.includes(i.name)||l.$1u?.includes(i.name))return}super.checkLocalExport(i)}checkExport(){}raiseRecoverable(i,h){if(h==="Duplicate constructor in the same class")return;super.raiseRecoverable(i,h)}$10(){let i=[];while(this.type===d)i.push(this.$1w());return i}$1q(i){let h=this.$b[this.$b.length-1];while(this.type===d)h.push(this.$1w());if(this.type===s._export){if(!i)this.unexpected()}else if(this.type!==s._class&&!((this.isContextual("abstract")||this.isContextual("declare"))&&this.$3()==="class"))this.raise(this.start,"Leading decorators must be attached to a class declaration.")}$1w(){let i=this.startNode();this.next(),this.$b.push([]);let h=this.start,l=this.startLoc,c;if(this.type===s.parenL){if(this.next(),c=this.parseExpression(),this.expect(s.parenR),this.options.preserveParens){let x=this.startNodeAt(h,l);x.expression=c,c=this.finishNode(x,"ParenthesizedExpression")}}else{c=this.parseIdent(!1);while(this.eat(s.dot)){let x=this.startNodeAt(h,l);x.object=c,x.property=this.parseIdent(!0),x.computed=!1,c=this.finishNode(x,"MemberExpression")}}let y=this.$k()?this.$e():void 0;if(this.eat(s.parenL)){let x=this.startNodeAt(c.start,c.loc?.start);if(x.callee=c,x.arguments=this.parseExprList(s.parenR,!1,!1),y)x.typeArguments=y;c=this.finishNode(x,"CallExpression")}else if(y){let x=this.startNodeAt(c.start,c.loc?.start);x.expression=c,x.typeArguments=y,c=this.finishNode(x,"TSInstantiationExpression")}return i.expression=c,this.$b.pop(),this.finishNode(i,"Decorator")}shouldParseExportStatement(){return this.type===d||super.shouldParseExportStatement()}parseExprAtom(i,h,l){if(this.type===d)this.$1q(!1);return super.parseExprAtom(i,h,l)}parseProperty(i,h){if(i||this.type!==d)return super.parseProperty(i,h);let l=this.$10(),c=super.parseProperty(i,h);if(c.type==="SpreadElement")this.raise(c.start,"Decorators can't be used with SpreadElement");return c.decorators=l,c}parseClassId(i,h){let l=this.$b.length-1,c=this.$b[l];if(c.length>0)i.decorators=c,this.$l(i,c[0]),this.$b[l]=[];if(!this.isContextual("implements")||h===!0)super.parseClassId(i,h);if(this.$1())i.typeParameters=this.$7()}parseClassSuper(i){if(super.parseClassSuper(i),i.superClass&&this.$1())i.superTypeParameters=this.$e();if(this.eatContextual("implements"))i.implements=this.$9(()=>this.$1j())}parseClassElement(i){if(this.type===d){let g=this.$10();if(this.type===s.braceR)this.raise(this.start,"Decorators must be attached to a class element.");let N=this.parseClassElement(i);return N.decorators=g,this.$l(N,g[0]),N}if(this.eat(s.semi))return null;let h=this.startNode();while(this.type===s.name&&Pe.has(this.value)&&!this.containsEsc&&this.$n(this.value==="static")){let g=this.value;if(this.next(),g==="static"&&this.type===s.braceL)return this.next(),this.parseClassStaticBlock(h),h;if(g==="public"||g==="private"||g==="protected")h.accessibility=g;else h[g]=!0}if(this.type===s.bracketL&&this.$1g())return this.$1h(h);h.static??=!1;let l="",c=!1,y=!1,x="method";if(this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===s.star)&&!this.canInsertSemicolon())y=!0;else l="async";if(!l&&this.eat(s.star))c=!0;if(!l&&!y&&!c){let g=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())x=g;else l=g}if(l)h.computed=!1,h.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),h.key.name=l,this.finishNode(h.key,"Identifier");else this.parseClassElementName(h);if(this.eat(s.question))h.optional=!0;if(this.type===s.parenL||this.$1()||x!=="method"||c||y){let g=h.key,N=!h.static&&!h.computed&&(g.type==="Identifier"&&g.name==="constructor"||g.type==="Literal"&&g.value==="constructor");if(h.kind=N?"constructor":x,this.$1())h.typeParameters=this.$7();this.$p=N,this.parseClassMethod(h,c,y,N&&i)}else{if(!h.optional&&this.$s())this.next(),h.definite=!0;if(this.type===s.colon)h.typeAnnotation=this.$4();this.parseClassField(h)}return h}parseMaybeAssign(i,h,l){if(this.$k()){let c=this.$f(()=>{let y=this.$7(),x=super.parseMaybeAssign(i,h,l);if(x.type!=="ArrowFunctionExpression")return;return x.typeParameters=y,this.$l(x,y),x});if(c)return c}return super.parseMaybeAssign(i,h,l)}parseMaybeUnary(i,h,l,c){if(this.$k()){let y=this.startNode();return y.typeAnnotation=this.$9(()=>{this.next();let x=this.$0();if(!this.$c())this.unexpected();return this.next(),x}),y.expression=this.parseMaybeUnary(null,!1,!1,c),this.finishNode(y,"TSTypeAssertion")}return super.parseMaybeUnary(i,h,l,c)}parseMaybeConditional(i,h){let l=this.start,c=this.startLoc,y=this.parseExprOps(i,h);if(this.checkExpressionErrors(h))return y;if(this.type===s.question&&!(y.type==="ArrowFunctionExpression"&&y.start===l)&&!this.$2j()){this.next();let x=this.startNodeAt(l,c);return x.test=y,x.consequent=this.parseMaybeAssign(),this.expect(s.colon),x.alternate=this.parseMaybeAssign(i),this.finishNode(x,"ConditionalExpression")}return y}$2j(){let i=this.$d(),h=this.input.charCodeAt(i);if(h===ne||h===ze||h===Ue)return!0;return h===pt&&this.input.charCodeAt(i+1)!==pt}parseParenItem(i){return this.$g(i,!0)}$1x(){if(this.type!==s.colon)return!0;let i=this.$f(()=>{let h=this.$4(!0);return this.type===s.arrow&&!this.canInsertSemicolon()?h:void 0});if(!i)return!1;return this.$8=i,!0}shouldParseArrow(i){return this.$1x()&&super.shouldParseArrow(i)}shouldParseAsyncArrow(){return this.$1x()&&super.shouldParseAsyncArrow()}parseArrowExpression(i,h,l,c){if(this.$8)i.returnType=this.$8,this.$8=null;return super.parseArrowExpression(i,h,l,c)}parseExprList(i,h,l,c){if(!this.$q)return super.parseExprList(i,h,l,c);this.$q=!1;let y=[],x=!0;while(!this.eat(i)){if(x)x=!1;else if(this.expect(s.comma),h&&this.afterTrailingComma(i))break;if(this.type===s.ellipsis){let g=this.parseSpread(c);if(this.eat(s.question))g.optional=!0;if(this.type===s.colon)g.typeAnnotation=this.$4();y.push(g)}else y.push(this.parseMaybeAssign(!1,c,this.parseParenItem))}return y}parseSubscript(i,h,l,c,y,x,g){if(this.$s()&&!this.hasPrecedingLineBreak()){let P=this.startNodeAt(h,l);return this.exprAllowed=!1,this.next(),P.expression=i,this.finishNode(P,"TSNonNullExpression")}if(y&&this.$1()){let P=this.$f(()=>this.$2k(h,l,g));if(P)return P}let N=this.type===s.questionDot&&this.$2()===oe;if(this.$1()||N||this.type===s.bitShift&&this.value==="<<"){let P=this.$f(()=>{if(N)this.next();this.$k();let E=this.$e();if(this.type===s.parenL&&!c)return E;if(this.type===s.backQuote)return N?void 0:E;if(N)return;if(this.$c()||this.type===s.bitShift||this.type.startsExpr&&this.type!==s.parenL&&!this.hasPrecedingLineBreak())return;return E});if(P){let E=this.startNodeAt(h,l);if(this.type===s.parenL&&!c){if(this.next(),E.callee=i,E.arguments=this.parseExprList(s.parenR,!0,!1),E.typeArguments=P,N)i.optional=!0;if(N||x)E.optional=N;return this.finishNode(E,"CallExpression")}if(this.type===s.backQuote)return E.tag=i,E.quasi=this.parseTemplate({isTagged:!0}),E.typeArguments=P,this.finishNode(E,"TaggedTemplateExpression");return E.expression=i,E.typeArguments=P,this.finishNode(E,"TSInstantiationExpression")}}if(y&&this.type===s.parenL)this.$q=!0;return super.parseSubscript(i,h,l,c,y,x,g)}$2k(i,h,l){let c=this.startNodeAt(i,h);if(c.typeParameters=this.$7(),this.expect(s.parenL),c.params=this.parseBindingList(s.parenR,!1,!0),this.type===s.colon)c.returnType=this.$4(!0);if(this.type!==s.arrow||this.canInsertSemicolon())return;return this.next(),this.parseArrowExpression(c,c.params,!0,l)}parseDynamicImport(i){if(this.next(),i.source=this.parseMaybeAssign(),this.eat(s.comma)&&this.type!==s.parenR)i.arguments=[this.parseExpression()];return this.expect(s.parenR),this.finishNode(i,"ImportExpression")}parseNew(){let i=super.parseNew();if(i.callee?.type!=="TSInstantiationExpression")return i;let h=this.startNodeAt(i.start,i.loc?.start);return h.callee=i.callee.expression,h.typeArguments=i.callee.typeArguments,h.arguments=i.arguments,this.finishNodeAt(h,"NewExpression",i.end,i.loc?.end)}parseExprOp(i,h,l,c,y){if(s._in.binop>c&&this.type===s.name&&(this.value==="as"||this.value==="satisfies")&&!this.containsEsc&&!this.hasPrecedingLineBreak()){let x=this.value==="satisfies",g=this.startNodeAt(h,l);return g.expression=i,g.typeAnnotation=this.$9(()=>{if(this.next(),!x&&this.type===s._const){let N=this.startNode();return N.typeName=this.parseIdent(!0),this.finishNode(N,"TSTypeReference")}return this.$0()}),this.finishNode(g,x?"TSSatisfiesExpression":"TSAsExpression"),this.parseExprOp(g,h,l,c,y)}return super.parseExprOp(i,h,l,c,y)}parseGetterSetter(i){i.kind=i.key.name,super.parseGetterSetter(i)}parsePropertyValue(i,h,l,c,y,x,g,N){if(!h&&this.$1()){if(this.$o=this.$7(),this.type!==s.parenL)this.unexpected();i.kind="init"}return super.parsePropertyValue(i,h,l,c,y,x,g,N)}}return m});
|
|
10
|
+
export{r,a,t,b,S,f};
|
package/shared-rhdkc546.js
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import{c,e,i,f}from"./shared-xbh87rns.js";var Ae="",Ce,Ee=0;function h(s){Ae=s,Ce=void 0,Ee=0}function o(s){if(!Ce){Ce=[0];let me=Ae.indexOf(`
|
|
2
|
-
`);while(me!==-1)Ce.push(me+1),me=Ae.indexOf(`
|
|
3
|
-
`,me+1)}let a=0,_e=Ce.length-1;if(s>=Ce[Ee])a=Ee;else _e=Ee-1;if(a<_e&&s<Ce[a+1])_e=a;while(a<_e){let me=a+_e+1>>>1;if(Ce[me]<=s)a=me;else _e=me-1}return Ee=a,{line:a+1,column:s-Ce[a],character:s}}function l(s){let{line:a,column:_e}=o(s);return{line:a,column:_e}}function je(){return Ae.split(`
|
|
4
|
-
`)}var Ge=/^\t+/;class t extends Error{name="ParseError";code;reason;position;start;end;frame;constructor(s,a,_e){super(`${_e}
|
|
5
|
-
https://svelte.dev/e/${a}`);this.code=a,this.reason=_e;let me=typeof s==="number"?s:s?.start,ve=typeof s==="number"?s:s?.end;if(me!==void 0)this.position=[me,ve??me],this.start=o(this.position[0]),this.end=o(this.position[1]),this.frame=Je(this.start.line-1,this.end.column)}}var $e=(s)=>s.replace(Ge,(a)=>" ".repeat(a.length));function Je(s,a){let _e=je(),me=Math.max(0,s-2),ve=Math.min(s+3,_e.length),ge=String(ve+1).length;return _e.slice(me,ve).map((we,be)=>{let ye=String(be+me+1).padStart(ge," ");if(me+be!==s)return`${ye}: ${$e(we)}`;let Ne=`${" ".repeat(ge+2+$e(we.slice(0,a)).length)}^`;return`${ye}: ${$e(we)}
|
|
6
|
-
${Ne}`}).join(`
|
|
7
|
-
`)}function S(s){throw new t(s,"attribute_duplicate","Attributes need to be unique")}function A(s){throw new t(s,"attribute_empty_shorthand","Attribute shorthand cannot be empty")}function E(s,a){throw new t(s,"block_duplicate_clause",`${a} cannot appear more than once within a block`)}function T(s){throw new t(s,"block_invalid_continuation_placement","{:...} block is invalid at this position (did you forget to close the preceding element or block?)")}function _(s){throw new t(s,"block_invalid_elseif","'elseif' should be 'else if'")}function C(s,a,_e){throw new t(s,"block_invalid_placement",`{#${a} ...} block cannot be ${_e}`)}function N(s){throw new t(s,"block_unclosed","Block was left open")}function L(s){throw new t(s,"block_unexpected_close","Unexpected block closing tag")}function P(s){throw new t(s,"const_tag_invalid_expression","{@const ...} must consist of a single variable declaration")}function q(s){throw new t(s,"css_empty_declaration","Declaration cannot be empty")}function b(s){throw new t(s,"css_expected_identifier","Expected a valid CSS identifier")}function I(s){throw new t(s,"css_selector_invalid","Invalid selector")}function R(s){throw new t(s,"debug_tag_invalid_arguments","{@debug ...} arguments must be identifiers, not arbitrary expressions")}function x(s){throw new t(s,"declaration_tag_invalid_type","Declaration tags must be `let` or `const` declarations")}function O(s){throw new t(s,"directive_invalid_value","Directive value must be a JavaScript expression enclosed in curly braces")}function D(s,a){throw new t(s,"directive_missing_name",`\`${a}\` name cannot be empty`)}function B(s,a){throw new t(s,"element_invalid_closing_tag",`\`</${a}>\` attempted to close an element that was not open`)}function V(s,a,_e){throw new t(s,"element_invalid_closing_tag_autoclosed",`\`</${a}>\` attempted to close element that was already automatically closed by \`<${_e}>\` (cannot nest \`<${_e}>\` inside \`<${a}>\`)`)}function d(s,a){throw new t(s,"element_unclosed",`\`<${a}>\` was left open`)}function g(s){throw new t(s,"expected_attribute_value","Expected attribute value")}function F(s){throw new t(s,"expected_block_type","Expected 'if', 'each', 'await', 'key' or 'snippet'")}function y(s){throw new t(s,"expected_identifier","Expected an identifier")}function j(s){throw new t(s,"expected_pattern","Expected identifier or destructure pattern")}function M(s){throw new t(s,"expected_tag","Expected 'html', 'render', 'attach', 'const', or 'debug'")}function n(s,a){throw new t(s,"expected_token",`Expected token ${a}`)}function U(s){throw new t(s,"expected_whitespace","Expected whitespace")}function Ie(s,a){throw new t(s,"js_parse_error",`${a}`)}function z(s){throw new t(s,"render_tag_invalid_expression","`{@render ...}` tags can only contain call expressions")}function W(s){throw new t(s,"script_duplicate","A component can have a single top-level `<script>` element and/or a single top-level `<script module>` element")}function G(s,a){throw new t(s,"script_invalid_attribute_value",`If the \`${a}\` attribute is supplied, it must be a boolean attribute`)}function H(s){throw new t(s,"script_invalid_context",'If the context attribute is supplied, its value must be "module"')}function K(s,a){throw new t(s,"script_reserved_attribute",`The \`${a}\` attribute is reserved and cannot be used`)}function X(s){throw new t(s,"style_duplicate","A component can have a single top-level `<style>` element")}function Q(s){throw new t(s,"svelte_component_invalid_this","Invalid component definition — must be an `{expression}`")}function Y(s){throw new t(s,"svelte_component_missing_this","`<svelte:component>` must have a 'this' attribute")}function v(s){throw new t(s,"svelte_element_missing_this","`<svelte:element>` must have a 'this' attribute with a value")}function Z(s,a){throw new t(s,"svelte_meta_duplicate",`A component can only have one \`<${a}>\` element`)}function J(s,a){throw new t(s,"svelte_meta_invalid_content",`<${a}> cannot have children`)}function ee(s,a){throw new t(s,"svelte_meta_invalid_placement",`\`<${a}>\` tags cannot be inside elements or blocks`)}function te(s,a){throw new t(s,"svelte_meta_invalid_tag",`Valid \`<svelte:...>\` tag names are ${a}`)}function ie(s){throw new t(s,"svelte_options_deprecated_tag",'"tag" option is deprecated — use "customElement" instead')}function se(s){throw new t(s,"svelte_options_invalid_attribute","`<svelte:options>` can only receive static attributes")}function m(s,a){throw new t(s,"svelte_options_invalid_attribute_value",`Value must be ${a}, if specified`)}function re(s){throw new t(s,"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: .. } } }')}function ne(s){throw new t(s,"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" }"')}function ae(s){throw new t(s,"svelte_options_invalid_customelement_shadow",'"shadow" must be either "open", "none" or `ShadowRootInit` object.')}function k(s){throw new t(s,"svelte_options_invalid_tagname","Tag name must be lowercase and hyphenated")}function oe(s){throw new t(s,"svelte_options_reserved_tagname","Tag name is reserved")}function ue(s,a){throw new t(s,"svelte_options_unknown_attribute",`\`<svelte:options>\` unknown attribute '${a}'`)}function ce(s){throw new t(s,"tag_invalid_name","Expected a valid element or component name. Components must have a valid variable name or dot notation expression")}function le(s,a,_e){throw new t(s,"tag_invalid_placement",`{@${a} ...} tag cannot be ${_e}`)}function r(s){throw new t(s,"unexpected_eof","Unexpected end of input")}function he(s,a){throw new t(s,"unexpected_reserved_word",`'${a}' is a reserved word in JavaScript and cannot be used here`)}function pe(s){throw new t(s,"unterminated_string_constant","Unterminated string constant")}function fe(s){throw new t(s,"void_element_invalid_content","Void elements cannot have children or closing tags")}var Se="",Re=[];function De(s,a){Se=s,Re=a}function Me(s,a,_e,me,ve,ge){let we=a;if(s&&we.includes(`
|
|
8
|
-
`)){let ye=Se.lastIndexOf(`
|
|
9
|
-
`,_e-1)+1,Ne=ye,Le=Se.charCodeAt(Ne);while(Le===32||Le===9)Le=Se.charCodeAt(++Ne);if(Ne>ye)we=Xe(we,Se.slice(ye,Ne))}let be={type:s?"Block":"Line",value:we,start:_e,end:me};if(ve&&ge)be.loc={start:ve,end:ge};Re.push(be)}function Xe(s,a){let _e=s.startsWith(a)?a.length:0,me="",ve=s.indexOf(`
|
|
10
|
-
`,_e);while(ve!==-1){if(me+=s.slice(_e,ve+1),_e=ve+1,s.startsWith(a,_e))_e+=a.length;ve=s.indexOf(`
|
|
11
|
-
`,_e)}return me+s.slice(_e)}function ze(s,a,_e){let me=0,ve=a.length;while(me<ve){let ge=me+ve>>>1;if(a[ge].start<_e)me=ge+1;else ve=ge}if(me>=a.length)return;if(xe=a.slice(me).map(({type:ge,value:we,start:be,end:ye})=>({type:ge,value:we,start:be,end:ye})),ke=0,Te(s,void 0,!1),ke<xe.length&&(xe[ke].start>=s.end||s.type==="Program")){s.trailingComments??=[];while(ke<xe.length)s.trailingComments.push(xe[ke++])}}var xe=[],ke=0,qe=new Map([["BlockStatement","body"],["Program","body"],["ArrayExpression","elements"],["ObjectExpression","properties"]]);function Be(s,a){for(let _e=s;_e<a;_e++){let me=Se.charCodeAt(_e);if(me!==44&&me!==41&&me!==32&&me!==9)return!0}return!1}function Te(s,a,_e){while(ke<xe.length&&xe[ke].start<s.start)s.leadingComments??=[],s.leadingComments.push(xe[ke++]);if(ke>=xe.length)return;let me=xe[ke].start;if(me<s.end||!Be(s.end,me)){let ve=qe.get(s.type),ge=ve!==void 0&&s[ve].length===0;for(let we in s){if(ke>=xe.length)return;if(we==="type")continue;let be=s[we];if(!be||typeof be!=="object")continue;if(Array.isArray(be)){let ye=we===ve;for(let Ne=0;Ne<be.length;Ne++){let Le=be[Ne];if(Le&&typeof Le==="object"&&Le.type)Te(Le,s,ye?Ne===be.length-1:ge)}}else if(be.type)Te(be,s,ge)}if(ke>=xe.length)return}if(a!==void 0&&s.end===a.end)return;if(_e)while(ke<xe.length){if(a&&xe[ke].start>=a.end)break;s.trailingComments??=[],s.trailingComments.push(xe[ke++])}else if(s.end<=xe[ke].start&&!Be(s.end,xe[ke].start))s.trailingComments=[xe[ke++]]}var Oe=!1,Ye=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((s)=>[s,c[s]])),Ke=new Map;function Pe(s){let a=Ke.get(s);if(!a){let _e=new Set(s.source.slice(4,-2).split("|"));a={test:(me)=>_e.has(me)},Ke.set(s,a)}return a}var Ve=(s)=>class extends s{constructor(...a){super(...a);this.keywords=Pe(this.keywords),this.reservedWords=Pe(this.reservedWords),this.reservedWordsStrict=Pe(this.reservedWordsStrict),this.reservedWordsStrictBind=Pe(this.reservedWordsStrictBind)}parseParenAndDistinguishExpression(a,_e){let me=super.parseParenAndDistinguishExpression(a,_e);if(me.type==="ParenthesizedExpression")Oe=!0;return me}checkLocalExport(){}skipSpace(){let a=this.input,_e=this.options.locations,me=this.pos,ve=a.charCodeAt(me);for(;;)if(ve===32||ve===9)ve=a.charCodeAt(++me);else if(ve===10){if(ve=a.charCodeAt(++me),_e)this.curLine++,this.lineStart=me}else break;if(this.pos=me,ve===47||ve<33||ve>=128)super.skipSpace()}readWord1(){let a=this.input,_e=this.pos,me=_e,ve=a.charCodeAt(me);while(ve>=97&&ve<=122||ve>=65&&ve<=90||ve>=48&&ve<=57||ve===95||ve===36)ve=a.charCodeAt(++me);if(ve>=128||ve===92)return super.readWord1();return this.containsEsc=!1,this.pos=me,a.slice(_e,me)}readWord(){let a=this.readWord1();return this.finishToken(Ye.get(a)??e.name,a)}},He=i.extend(Ve),Qe=i.extend(f,Ve),Ze=/ \(\d+:\d+\)$/;function We(s,a,_e,me,ve,ge=s.root.comments.length){let we=s.root.comments;De(a,we);let be={onComment:Me,sourceType:"module",ecmaVersion:16,locations:s.loc,preserveParens:me};if(s.lfOnly)be.startLocation=o(_e);let ye;try{ye=ve(s.isTypeScript?Qe:He,be)}catch(Ne){let Le=Ne.pos;if(Le===void 0)throw Ne;Ie(Le,Ne.message.replace(Ze,""))}if(we.length>ge)ze(ye,we,_e);return ye}function p(s,a,_e=0){return We(s,a,0,!1,(me,ve)=>{if(_e>0&&ve.locations)ve.startLocation=o(_e);let ge=new me(ve,a,_e).parse();return ge.start=0,ge},0)}var et={count:0};function u(s,a,_e,me=!1){et.count+=1,Oe=!1;let ve=We(s,a,_e,!0,(be,ye)=>be.parseExpressionAt(a,_e,ye)),ge=s.root.comments.at(-1),we=ge&&ge.end>ve.end?ge.end:ve.end;return{node:Oe&&!me?Fe(ve):ve,end:we}}function de(s,a,_e){return We(s,a,_e,!1,(me,ve)=>{let ge=new me(ve,a,_e);try{return ge.nextToken(),ge.parseStatement(null,!0,Object.create(null))}catch(we){if(we.pos===a.length)r(a.length);throw we}})}function Ue(s){return s!==null&&typeof s==="object"&&typeof s.type==="string"}function w(s,a){for(let _e in s){let me=s[_e];if(Array.isArray(me)){for(let ve=0;ve<me.length;ve++)if(Ue(me[ve]))me[ve]=a(me[ve])}else if(Ue(me))s[_e]=a(me)}}function Fe(s){let a=s;while(a.type==="ParenthesizedExpression")a=a.expression;return w(a,Fe),a}
|
|
12
|
-
export{h,o,l,t,S,A,E,T,_,C,N,L,P,q,b,I,R,x,O,D,B,V,d,g,F,y,j,M,n,U,z,W,G,H,K,X,Q,Y,v,Z,J,ee,te,ie,se,m,re,ne,ae,k,oe,ue,ce,le,r,he,pe,fe,p,u,de,w};
|
package/shared-xbh87rns.js
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
var oe=[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],Lt=[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],he="·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ--ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・",_t="ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-Ა-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ--ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ",pt={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"},lt="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",ue={5:lt,"5module":lt+" export import",6:lt+" const class extends export import super"},Rt=/^in(stanceof)?$/,ce=new RegExp("["+_t+"]"),pe=new RegExp("["+_t+he+"]");function ft(t,r){var o=65536;for(var u=0;u<r.length;u+=2){if(o+=r[u],o>t)return!1;if(o+=r[u+1],o>=t)return!0}return!1}function s(t,r){if(t<65)return t===36;if(t<91)return!0;if(t<97)return t===95;if(t<123)return!0;if(t<=65535)return t>=170&&ce.test(String.fromCharCode(t));if(r===!1)return!1;return ft(t,Lt)}function a(t,r){if(t<48)return t===36;if(t<58)return!0;if(t<65)return!1;if(t<91)return!0;if(t<97)return t===95;if(t<123)return!0;if(t<=65535)return t>=170&&pe.test(String.fromCharCode(t));if(r===!1)return!1;return ft(t,Lt)||ft(t,oe)}var w=function(r,o){if(o===void 0)o={};this.label=r,this.keyword=o.keyword,this.beforeExpr=!!o.beforeExpr,this.startsExpr=!!o.startsExpr,this.isLoop=!!o.isLoop,this.isAssign=!!o.isAssign,this.prefix=!!o.prefix,this.postfix=!!o.postfix,this.binop=o.binop||null,this.updateContext=null};function L(t,r){return new w(t,{beforeExpr:!0,binop:r})}var _={beforeExpr:!0},P={startsExpr:!0},c={};function S(t,r){if(r===void 0)r={};return r.keyword=t,c[t]=new w(t,r)}var e={num:new w("num",P),regexp:new w("regexp",P),string:new w("string",P),name:new w("name",P),privateId:new w("privateId",P),eof:new w("eof"),bracketL:new w("[",{beforeExpr:!0,startsExpr:!0}),bracketR:new w("]"),braceL:new w("{",{beforeExpr:!0,startsExpr:!0}),braceR:new w("}"),parenL:new w("(",{beforeExpr:!0,startsExpr:!0}),parenR:new w(")"),comma:new w(",",_),semi:new w(";",_),colon:new w(":",_),dot:new w("."),question:new w("?",_),questionDot:new w("?."),arrow:new w("=>",_),template:new w("template"),invalidTemplate:new w("invalidTemplate"),ellipsis:new w("...",_),backQuote:new w("`",P),dollarBraceL:new w("${",{beforeExpr:!0,startsExpr:!0}),eq:new w("=",{beforeExpr:!0,isAssign:!0}),assign:new w("_=",{beforeExpr:!0,isAssign:!0}),incDec:new w("++/--",{prefix:!0,postfix:!0,startsExpr:!0}),prefix:new w("!/~",{beforeExpr:!0,prefix:!0,startsExpr:!0}),logicalOR:L("||",1),logicalAND:L("&&",2),bitwiseOR:L("|",3),bitwiseXOR:L("^",4),bitwiseAND:L("&",5),equality:L("==/!=/===/!==",6),relational:L("</>/<=/>=",7),bitShift:L("<</>>/>>>",8),plusMin:new w("+/-",{beforeExpr:!0,binop:9,prefix:!0,startsExpr:!0}),modulo:L("%",10),star:L("*",10),slash:L("/",10),starstar:new w("**",{beforeExpr:!0}),coalesce:L("??",1),_break:S("break"),_case:S("case",_),_catch:S("catch"),_continue:S("continue"),_debugger:S("debugger"),_default:S("default",_),_do:S("do",{isLoop:!0,beforeExpr:!0}),_else:S("else",_),_finally:S("finally"),_for:S("for",{isLoop:!0}),_function:S("function",P),_if:S("if"),_return:S("return",_),_switch:S("switch"),_throw:S("throw",_),_try:S("try"),_var:S("var"),_const:S("const"),_while:S("while",{isLoop:!0}),_with:S("with"),_new:S("new",{beforeExpr:!0,startsExpr:!0}),_this:S("this",P),_super:S("super",P),_class:S("class",P),_extends:S("extends",_),_export:S("export"),_import:S("import",P),_null:S("null",P),_true:S("true",P),_false:S("false",P),_in:S("in",{beforeExpr:!0,binop:7}),_instanceof:S("instanceof",{beforeExpr:!0,binop:7}),_typeof:S("typeof",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_void:S("void",{beforeExpr:!0,prefix:!0,startsExpr:!0}),_delete:S("delete",{beforeExpr:!0,prefix:!0,startsExpr:!0})},I=/\r\n?|\n|\u2028|\u2029/,le=new RegExp(I.source,"g");function z(t){return t===10||t===13||t===8232||t===8233}function Vt(t,r,o){if(o===void 0)o=t.length;for(var u=r;u<o;u++){var p=t.charCodeAt(u);if(z(p))return u<o-1&&p===13&&t.charCodeAt(u+1)===10?u+2:u+1}return-1}var Ot=/[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/,T=/(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g,Ft=Object.prototype,{hasOwnProperty:fe,toString:de}=Ft,G=Object.hasOwn||function(t,r){return fe.call(t,r)},$t=Array.isArray||function(t){return de.call(t)==="[object Array]"},Pt=Object.create(null);function Z(t){return Pt[t]||(Pt[t]=new RegExp("^(?:"+t.replace(/ /g,"|")+")$"))}function it(t){if(t<=65535)return String.fromCharCode(t);return t-=65536,String.fromCharCode((t>>10)+55296,(t&1023)+56320)}var me=/(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/,H=function(r,o){this.line=r,this.column=o};H.prototype.offset=function(r){return new H(this.line,this.column+r)};var at=function(r,o,u){if(this.start=o,this.end=u,r.sourceFile!==null)this.source=r.sourceFile};function Bt(t,r){for(var o=1,u=0;;){var p=Vt(t,u,r);if(p<0)return new H(o,r-u);++o,u=p}}var dt={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},It=!1;function ye(t){var r={};for(var o in dt)r[o]=t&&G(t,o)?t[o]:dt[o];if(r.ecmaVersion==="latest")r.ecmaVersion=1e8;else if(r.ecmaVersion==null){if(!It&&typeof console==="object"&&console.warn)It=!0,console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
|
|
2
|
-
Defaulting to 2020, but this will stop working in the future.`);r.ecmaVersion=11}else if(r.ecmaVersion>=2015)r.ecmaVersion-=2009;if(r.allowReserved==null)r.allowReserved=r.ecmaVersion<5;if(!t||t.allowHashBang==null)r.allowHashBang=r.ecmaVersion>=14;if($t(r.onToken)){var u=r.onToken;r.onToken=function(p){return u.push(p)}}if($t(r.onComment))r.onComment=xe(r,r.onComment);if(r.sourceType==="commonjs"&&r.allowAwaitOutsideFunction)throw Error("Cannot use allowAwaitOutsideFunction with sourceType: commonjs");return r}function xe(t,r){return function(o,u,p,n,h,d){var l={type:o?"Block":"Line",value:u,start:p,end:n};if(t.locations)l.loc=new at(this,h,d);if(t.ranges)l.range=[p,n];r.push(l)}}var M=1,D=2,xt=4,Mt=8,bt=16,Dt=32,rt=64,qt=128,q=256,Q=512,Ut=1024,nt=M|D|q;function vt(t,r){return D|(t?xt:0)|(r?Mt:0)}var tt=0,kt=1,F=2,jt=3,zt=4,Wt=5,i=function(r,o,u){this.options=r=ye(r),this.sourceFile=r.sourceFile,this.keywords=Z(ue[r.ecmaVersion>=6?6:r.sourceType==="module"?"5module":5]);var p="";if(r.allowReserved!==!0){if(p=pt[r.ecmaVersion>=6?6:r.ecmaVersion===5?5:3],r.sourceType==="module")p+=" await"}this.reservedWords=Z(p);var n=(p?p+" ":"")+pt.strict;if(this.reservedWordsStrict=Z(n),this.reservedWordsStrictBind=Z(n+" "+pt.strictBind),this.input=String(o),this.containsEsc=!1,this.pos=u||0,this.curLine=1,r.startLocation)this.lineStart=this.pos-r.startLocation.column,this.curLine=r.startLocation.line;else if(u){if(this.lineStart=this.input.lastIndexOf(`
|
|
3
|
-
`,u-1)+1,this.options.locations)this.curLine=this.input.slice(0,this.lineStart).split(I).length}else this.lineStart=0;if(this.type=e.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=r.sourceType==="module",this.strict=this.inModule||r.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&&r.allowHashBang&&this.input.slice(0,2)==="#!")this.skipLineComment(2);this.scopeStack=[],this.enterScope(this.options.sourceType==="commonjs"?D:M),this.regexpState=null,this.privateNameStack=[]},R={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}};i.prototype.parse=function(){var r=this,o=this.options.program||this.startNode();return this.nextToken(),this.catchStackOverflow(function(){return r.parseTopLevel(o)})};R.inFunction.get=function(){return(this.currentVarScope().flags&D)>0};R.inGenerator.get=function(){return(this.currentVarScope().flags&Mt)>0};R.inAsync.get=function(){return(this.currentVarScope().flags&xt)>0};R.canAwait.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var r=this.scopeStack[t],o=r.flags;if(o&(q|Q))return!1;if(o&D)return(o&xt)>0}return this.inModule&&this.options.ecmaVersion>=13||this.options.allowAwaitOutsideFunction};R.allowReturn.get=function(){if(this.inFunction)return!0;if(this.options.allowReturnOutsideFunction&&this.currentVarScope().flags&M)return!0;return!1};R.allowSuper.get=function(){var t=this.currentThisScope(),r=t.flags;return(r&rt)>0||this.options.allowSuperOutsideMethod};R.allowDirectSuper.get=function(){return(this.currentThisScope().flags&qt)>0};R.treatFunctionsAsVar.get=function(){return this.treatFunctionsAsVarInScope(this.currentScope())};R.allowNewDotTarget.get=function(){for(var t=this.scopeStack.length-1;t>=0;t--){var r=this.scopeStack[t],o=r.flags;if(o&(q|Q)||o&D&&!(o&bt))return!0}return!1};R.allowUsing.get=function(){var t=this.currentScope(),r=t.flags;if(r&Ut)return!1;if(!this.inModule&&r&M)return!1;return!0};R.inClassStaticBlock.get=function(){return(this.currentVarScope().flags&q)>0};i.extend=function(){var r=[],o=arguments.length;while(o--)r[o]=arguments[o];var u=this;for(var p=0;p<r.length;p++)u=r[p](u);return u};i.parse=function(r,o){return new this(o,r).parse()};i.parseExpressionAt=function(r,o,u){var p=new this(u,r,o);return p.nextToken(),p.parseExpression()};i.tokenizer=function(r,o){return new this(o,r)};Object.defineProperties(i.prototype,R);var E=i.prototype,be=/^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;E.strictDirective=function(t){if(this.options.ecmaVersion<5)return!1;for(;;){T.lastIndex=t,t+=T.exec(this.input)[0].length;var r=be.exec(this.input.slice(t));if(!r)return!1;if((r[1]||r[2])==="use strict"){T.lastIndex=t+r[0].length;var o=T.exec(this.input),u=o.index+o[0].length,p=this.input.charAt(u);return p===";"||p==="}"||I.test(o[0])&&!(/[(`.[+\-/*%<>=,?^&]/.test(p)||p==="!"&&this.input.charAt(u+1)==="=")}if(t+=r[0].length,T.lastIndex=t,t+=T.exec(this.input)[0].length,this.input[t]===";")t++}};E.eat=function(t){if(this.type===t)return this.next(),!0;else return!1};E.isContextual=function(t){return this.type===e.name&&this.value===t&&!this.containsEsc};E.eatContextual=function(t){if(!this.isContextual(t))return!1;return this.next(),!0};E.catchStackOverflow=function(t){try{return t()}catch(r){if(r instanceof Error&&(/\bstack\b.*\b(exceeded|overflow)\b/i.test(r.message)||/\btoo much recursion\b/i.test(r.message)))this.raise(this.start,"Not enough stack space to parse input");else throw r}};E.expectContextual=function(t){if(!this.eatContextual(t))this.unexpected()};E.canInsertSemicolon=function(){return this.type===e.eof||this.type===e.braceR||I.test(this.input.slice(this.lastTokEnd,this.start))};E.insertSemicolon=function(){if(this.canInsertSemicolon()){if(this.options.onInsertedSemicolon)this.options.onInsertedSemicolon(this.lastTokEnd,this.lastTokEndLoc);return!0}};E.semicolon=function(){if(!this.eat(e.semi)&&!this.insertSemicolon())this.unexpected()};E.afterTrailingComma=function(t,r){if(this.type===t){if(this.options.onTrailingComma)this.options.onTrailingComma(this.lastTokStart,this.lastTokStartLoc);if(!r)this.next();return!0}};E.expect=function(t){this.eat(t)||this.unexpected()};E.unexpected=function(t){this.raise(t!=null?t:this.start,"Unexpected token")};var ot=function(){this.shorthandAssign=this.trailingComma=this.parenthesizedAssign=this.parenthesizedBind=this.doubleProto=-1};E.checkPatternErrors=function(t,r){if(!t)return;if(t.trailingComma>-1)this.raiseRecoverable(t.trailingComma,"Comma is not permitted after the rest element");var o=r?t.parenthesizedAssign:t.parenthesizedBind;if(o>-1)this.raiseRecoverable(o,r?"Assigning to rvalue":"Parenthesized pattern")};E.checkExpressionErrors=function(t,r){if(!t)return!1;var{shorthandAssign:o,doubleProto:u}=t;if(!r)return o>=0||u>=0;if(o>=0)this.raise(o,"Shorthand property assignments are valid only in destructuring patterns");if(u>=0)this.raiseRecoverable(u,"Redefinition of __proto__ property")};E.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")};E.isSimpleAssignTarget=function(t){if(t.type==="ParenthesizedExpression")return this.isSimpleAssignTarget(t.expression);return t.type==="Identifier"||t.type==="MemberExpression"};var b=i.prototype;b.parseTopLevel=function(t){var r=Object.create(null);if(!t.body)t.body=[];while(this.type!==e.eof){var o=this.parseStatement(null,!0,r);t.body.push(o)}if(this.inModule)for(var u=0,p=Object.keys(this.undefinedExports);u<p.length;u+=1){var n=p[u];this.raiseRecoverable(this.undefinedExports[n].start,"Export '"+n+"' is not defined")}return this.adaptDirectivePrologue(t.body),this.next(),t.sourceType=this.options.sourceType==="commonjs"?"script":this.options.sourceType,this.finishNode(t,"Program")};var gt={kind:"loop"},ve={kind:"switch"};b.isLet=function(t){if(this.options.ecmaVersion<6||!this.isContextual("let"))return!1;T.lastIndex=this.pos;var r=T.exec(this.input),o=this.pos+r[0].length,u=this.fullCharCodeAt(o);if(u===91||u===92)return!0;if(t)return!1;if(u===123)return!0;if(s(u)){var p=o;do o+=u<=65535?1:2;while(a(u=this.fullCharCodeAt(o)));if(u===92)return!0;var n=this.input.slice(p,o);if(!Rt.test(n))return!0}return!1};b.isAsyncFunction=function(){if(this.options.ecmaVersion<8||!this.isContextual("async"))return!1;T.lastIndex=this.pos;var t=T.exec(this.input),r=this.pos+t[0].length,o;return!I.test(this.input.slice(this.pos,r))&&this.input.slice(r,r+8)==="function"&&(r+8===this.input.length||!(a(o=this.fullCharCodeAt(r+8))||o===92))};b.isUsingKeyword=function(t,r){if(this.options.ecmaVersion<17||!this.isContextual(t?"await":"using"))return!1;T.lastIndex=this.pos;var o=T.exec(this.input),u=this.pos+o[0].length;if(I.test(this.input.slice(this.pos,u)))return!1;if(t){var p=u+5,n;if(this.input.slice(u,p)!=="using"||p===this.input.length||a(n=this.fullCharCodeAt(p))||n===92)return!1;T.lastIndex=p;var h=T.exec(this.input);if(u=p+h[0].length,h&&I.test(this.input.slice(p,u)))return!1}var d=this.fullCharCodeAt(u);if(!s(d)&&d!==92)return!1;var l=u;do u+=d<=65535?1:2;while(a(d=this.fullCharCodeAt(u)));if(d===92)return!0;var m=this.input.slice(l,u);if(Rt.test(m))return!1;if(r&&!t&&m==="of"){T.lastIndex=u;var y=T.exec(this.input);if(u=u+y[0].length,this.input.charCodeAt(u)!==61||(d=this.input.charCodeAt(u+1))===61||d===62)return!1}return!0};b.isAwaitUsing=function(t){return this.isUsingKeyword(!0,t)};b.isUsing=function(t){return this.isUsingKeyword(!1,t)};b.parseStatement=function(t,r,o){var u=this.type,p=this.startNode(),n;if(this.isLet(t))u=e._var,n="let";switch(u){case e._break:case e._continue:return this.parseBreakContinueStatement(p,u.keyword);case e._debugger:return this.parseDebuggerStatement(p);case e._do:return this.parseDoStatement(p);case e._for:return this.parseForStatement(p);case e._function:if(t&&(this.strict||t!=="if"&&t!=="label")&&this.options.ecmaVersion>=6)this.unexpected();return this.parseFunctionStatement(p,!1,!t);case e._class:if(t)this.unexpected();return this.parseClass(p,!0);case e._if:return this.parseIfStatement(p);case e._return:return this.parseReturnStatement(p);case e._switch:return this.parseSwitchStatement(p);case e._throw:return this.parseThrowStatement(p);case e._try:return this.parseTryStatement(p);case e._const:case e._var:if(n=n||this.value,t&&n!=="var")this.unexpected();return this.parseVarStatement(p,n);case e._while:return this.parseWhileStatement(p);case e._with:return this.parseWithStatement(p);case e.braceL:return this.parseBlock(!0,p);case e.semi:return this.parseEmptyStatement(p);case e._export:case e._import:if(this.options.ecmaVersion>10&&u===e._import){T.lastIndex=this.pos;var h=T.exec(this.input),d=this.pos+h[0].length,l=this.input.charCodeAt(d);if(l===40||l===46)return this.parseExpressionStatement(p,this.parseExpression())}if(!this.options.allowImportExportEverywhere){if(!r)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 u===e._import?this.parseImport(p):this.parseExport(p,o);default:if(this.isAsyncFunction()){if(t)this.unexpected();return this.next(),this.parseFunctionStatement(p,!0,!t)}var m=this.isAwaitUsing(!1)?"await using":this.isUsing(!1)?"using":null;if(m){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(t)this.raise(this.start,"Using declaration is not allowed in single-statement positions");if(m==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.next(),this.parseVar(p,!1,m),this.semicolon(),this.finishNode(p,"VariableDeclaration")}var y=this.value,x=this.parseExpression();if(u===e.name&&x.type==="Identifier"&&this.eat(e.colon))return this.parseLabeledStatement(p,y,x,t);else return this.parseExpressionStatement(p,x)}};b.parseBreakContinueStatement=function(t,r){var o=r==="break";if(this.next(),this.eat(e.semi)||this.insertSemicolon())t.label=null;else if(this.type!==e.name)this.unexpected();else t.label=this.parseIdent(),this.semicolon();var u=0;for(;u<this.labels.length;++u){var p=this.labels[u];if(t.label==null||p.name===t.label.name){if(p.kind!=null&&(o||p.kind==="loop"))break;if(t.label&&o)break}}if(u===this.labels.length)this.raise(t.start,"Unsyntactic "+r);return this.finishNode(t,o?"BreakStatement":"ContinueStatement")};b.parseDebuggerStatement=function(t){return this.next(),this.semicolon(),this.finishNode(t,"DebuggerStatement")};b.parseDoStatement=function(t){if(this.next(),this.labels.push(gt),t.body=this.parseStatement("do"),this.labels.pop(),this.expect(e._while),t.test=this.parseParenExpression(),this.options.ecmaVersion>=6)this.eat(e.semi);else this.semicolon();return this.finishNode(t,"DoWhileStatement")};b.parseForStatement=function(t){this.next();var r=this.options.ecmaVersion>=9&&this.canAwait&&this.eatContextual("await")?this.lastTokStart:-1;if(this.labels.push(gt),this.enterScope(0),this.expect(e.parenL),this.type===e.semi){if(r>-1)this.unexpected(r);return this.parseFor(t,null)}var o=this.isLet();if(this.type===e._var||this.type===e._const||o){var u=this.startNode(),p=o?"let":this.value;return this.next(),this.parseVar(u,!0,p),this.finishNode(u,"VariableDeclaration"),this.parseForAfterInit(t,u,r)}var n=this.isContextual("let"),h=!1,d=this.isUsing(!0)?"using":this.isAwaitUsing(!0)?"await using":null;if(d){var l=this.startNode();if(this.next(),d==="await using"){if(!this.canAwait)this.raise(this.start,"Await using cannot appear outside of async function");this.next()}return this.parseVar(l,!0,d),this.finishNode(l,"VariableDeclaration"),this.parseForAfterInit(t,l,r)}var m=this.containsEsc,y=new ot,x=this.start,v=r>-1?this.parseExprSubscripts(y,"await"):this.parseExpression(!0,y);if(this.type===e._in||(h=this.options.ecmaVersion>=6&&this.isContextual("of"))){if(r>-1){if(this.type===e._in)this.unexpected(r);t.await=!0}else if(h&&this.options.ecmaVersion>=8){if(v.start===x&&!m&&v.type==="Identifier"&&v.name==="async")this.unexpected();else if(this.options.ecmaVersion>=9)t.await=!1}if(n&&h)this.raise(v.start,"The left-hand side of a for-of loop may not start with 'let'.");return this.toAssignable(v,!1,y),this.checkLValPattern(v),this.parseForIn(t,v)}else this.checkExpressionErrors(y,!0);if(r>-1)this.unexpected(r);return this.parseFor(t,v)};b.parseForAfterInit=function(t,r,o){if((this.type===e._in||this.options.ecmaVersion>=6&&this.isContextual("of"))&&r.declarations.length===1){if(this.type===e._in){if((r.kind==="using"||r.kind==="await using")&&!r.declarations[0].init)this.raise(this.start,"Using declaration is not allowed in for-in loops");if(this.options.ecmaVersion>=9&&o>-1)this.unexpected(o)}else if(this.options.ecmaVersion>=9)t.await=o>-1;return this.parseForIn(t,r)}if(o>-1)this.unexpected(o);return this.parseFor(t,r)};b.parseFunctionStatement=function(t,r,o){return this.next(),this.parseFunction(t,K|(o?0:mt),!1,r)};b.parseIfStatement=function(t){return this.next(),t.test=this.parseParenExpression(),t.consequent=this.parseStatement("if"),t.alternate=this.eat(e._else)?this.parseStatement("if"):null,this.finishNode(t,"IfStatement")};b.parseReturnStatement=function(t){if(!this.allowReturn)this.raise(this.start,"'return' outside of function");if(this.next(),this.eat(e.semi)||this.insertSemicolon())t.argument=null;else t.argument=this.parseExpression(),this.semicolon();return this.finishNode(t,"ReturnStatement")};b.parseSwitchStatement=function(t){this.next(),t.discriminant=this.parseParenExpression(),t.cases=[],this.expect(e.braceL),this.labels.push(ve),this.enterScope(Ut);var r;for(var o=!1;this.type!==e.braceR;)if(this.type===e._case||this.type===e._default){var u=this.type===e._case;if(r)this.finishNode(r,"SwitchCase");if(t.cases.push(r=this.startNode()),r.consequent=[],this.next(),u)r.test=this.parseExpression();else{if(o)this.raiseRecoverable(this.lastTokStart,"Multiple default clauses");o=!0,r.test=null}this.expect(e.colon)}else{if(!r)this.unexpected();r.consequent.push(this.parseStatement(null))}if(this.exitScope(),r)this.finishNode(r,"SwitchCase");return this.next(),this.labels.pop(),this.finishNode(t,"SwitchStatement")};b.parseThrowStatement=function(t){if(this.next(),I.test(this.input.slice(this.lastTokEnd,this.start)))this.raise(this.lastTokEnd,"Illegal newline after throw");return t.argument=this.parseExpression(),this.semicolon(),this.finishNode(t,"ThrowStatement")};var ke=[];b.parseCatchClauseParam=function(){var t=this.parseBindingAtom(),r=t.type==="Identifier";return this.enterScope(r?Dt:0),this.checkLValPattern(t,r?zt:F),this.expect(e.parenR),t};b.parseTryStatement=function(t){if(this.next(),t.block=this.parseBlock(),t.handler=null,this.type===e._catch){var r=this.startNode();if(this.next(),this.eat(e.parenL))r.param=this.parseCatchClauseParam();else{if(this.options.ecmaVersion<10)this.unexpected();r.param=null,this.enterScope(0)}r.body=this.parseBlock(!1),this.exitScope(),t.handler=this.finishNode(r,"CatchClause")}if(t.finalizer=this.eat(e._finally)?this.parseBlock():null,!t.handler&&!t.finalizer)this.raise(t.start,"Missing catch or finally clause");return this.finishNode(t,"TryStatement")};b.parseVarStatement=function(t,r,o){return this.next(),this.parseVar(t,!1,r,o),this.semicolon(),this.finishNode(t,"VariableDeclaration")};b.parseWhileStatement=function(t){return this.next(),t.test=this.parseParenExpression(),this.labels.push(gt),t.body=this.parseStatement("while"),this.labels.pop(),this.finishNode(t,"WhileStatement")};b.parseWithStatement=function(t){if(this.strict)this.raise(this.start,"'with' in strict mode");return this.next(),t.object=this.parseParenExpression(),t.body=this.parseStatement("with"),this.finishNode(t,"WithStatement")};b.parseEmptyStatement=function(t){return this.next(),this.finishNode(t,"EmptyStatement")};b.parseLabeledStatement=function(t,r,o,u){for(var p=0,n=this.labels;p<n.length;p+=1){var h=n[p];if(h.name===r)this.raise(o.start,"Label '"+r+"' is already declared")}var d=this.type.isLoop?"loop":this.type===e._switch?"switch":null;for(var l=this.labels.length-1;l>=0;l--){var m=this.labels[l];if(m.statementStart===t.start)m.statementStart=this.start,m.kind=d;else break}return this.labels.push({name:r,kind:d,statementStart:this.start}),t.body=this.parseStatement(u?u.indexOf("label")===-1?u+"label":u:"label"),this.labels.pop(),t.label=o,this.finishNode(t,"LabeledStatement")};b.parseExpressionStatement=function(t,r){return t.expression=r,this.semicolon(),this.finishNode(t,"ExpressionStatement")};b.parseBlock=function(t,r,o){if(t===void 0)t=!0;if(r===void 0)r=this.startNode();if(r.body=[],this.expect(e.braceL),t)this.enterScope(0);while(this.type!==e.braceR){var u=this.parseStatement(null);r.body.push(u)}if(o)this.strict=!1;if(this.next(),t)this.exitScope();return this.finishNode(r,"BlockStatement")};b.parseFor=function(t,r){return t.init=r,this.expect(e.semi),t.test=this.type===e.semi?null:this.parseExpression(),this.expect(e.semi),t.update=this.type===e.parenR?null:this.parseExpression(),this.expect(e.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,"ForStatement")};b.parseForIn=function(t,r){var o=this.type===e._in;if(this.next(),r.type==="VariableDeclaration"&&r.declarations[0].init!=null&&(!o||this.options.ecmaVersion<8||this.strict||r.kind!=="var"||r.declarations[0].id.type!=="Identifier"))this.raise(r.start,(o?"for-in":"for-of")+" loop variable declaration may not have an initializer");return t.left=r,t.right=o?this.parseExpression():this.parseMaybeAssign(),this.expect(e.parenR),t.body=this.parseStatement("for"),this.exitScope(),this.labels.pop(),this.finishNode(t,o?"ForInStatement":"ForOfStatement")};b.parseVar=function(t,r,o,u){t.declarations=[],t.kind=o;for(;;){var p=this.startNode();if(this.parseVarId(p,o),this.eat(e.eq))p.init=this.parseMaybeAssign(r);else if(!u&&o==="const"&&!(this.type===e._in||this.options.ecmaVersion>=6&&this.isContextual("of")))this.unexpected();else if(!u&&(o==="using"||o==="await using")&&this.options.ecmaVersion>=17&&this.type!==e._in&&!this.isContextual("of"))this.raise(this.lastTokEnd,"Missing initializer in "+o+" declaration");else if(!u&&p.id.type!=="Identifier"&&!(r&&(this.type===e._in||this.isContextual("of"))))this.raise(this.lastTokEnd,"Complex binding patterns require an initialization value");else p.init=null;if(t.declarations.push(this.finishNode(p,"VariableDeclarator")),!this.eat(e.comma))break}return t};b.parseVarId=function(t,r){t.id=r==="using"||r==="await using"?this.parseIdent():this.parseBindingAtom(),this.checkLValPattern(t.id,r==="var"?kt:F,!1)};var K=1,mt=2,Kt=4;b.parseFunction=function(t,r,o,u,p){if(this.initFunction(t),this.options.ecmaVersion>=9||this.options.ecmaVersion>=6&&!u){if(this.type===e.star&&r&mt)this.unexpected();t.generator=this.eat(e.star)}if(this.options.ecmaVersion>=8)t.async=!!u;if(r&K){if(t.id=r&Kt&&this.type!==e.name?null:this.parseIdent(),t.id&&!(r&mt))this.checkLValSimple(t.id,this.strict||t.generator||t.async?this.treatFunctionsAsVar?kt:F:jt)}var n=this.yieldPos,h=this.awaitPos,d=this.awaitIdentPos;if(this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(vt(t.async,t.generator)),!(r&K))t.id=this.type===e.name?this.parseIdent():null;return this.parseFunctionParams(t),this.parseFunctionBody(t,o,!1,p),this.yieldPos=n,this.awaitPos=h,this.awaitIdentPos=d,this.finishNode(t,r&K?"FunctionDeclaration":"FunctionExpression")};b.parseFunctionParams=function(t){this.expect(e.parenL),t.params=this.parseBindingList(e.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams()};b.parseClass=function(t,r){this.next();var o=this.strict;this.strict=!0,this.parseClassId(t,r),this.parseClassSuper(t);var u=this.enterClassBody(),p=this.startNode(),n=!1;p.body=[],this.expect(e.braceL);while(this.type!==e.braceR){var h=this.parseClassElement(t.superClass!==null);if(h){if(p.body.push(h),h.type==="MethodDefinition"&&h.kind==="constructor"){if(n)this.raiseRecoverable(h.start,"Duplicate constructor in the same class");n=!0}else if(h.key&&h.key.type==="PrivateIdentifier"&&ge(u,h))this.raiseRecoverable(h.key.start,"Identifier '#"+h.key.name+"' has already been declared")}}return this.strict=o,this.next(),t.body=this.finishNode(p,"ClassBody"),this.exitClassBody(),this.finishNode(t,r?"ClassDeclaration":"ClassExpression")};b.parseClassElement=function(t){if(this.eat(e.semi))return null;var r=this.options.ecmaVersion,o=this.startNode(),u="",p=!1,n=!1,h="method",d=!1;if(this.eatContextual("static")){if(r>=13&&this.eat(e.braceL))return this.parseClassStaticBlock(o),o;if(this.isClassElementNameStart()||this.type===e.star)d=!0;else u="static"}if(o.static=d,!u&&r>=8&&this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===e.star)&&!this.canInsertSemicolon())n=!0;else u="async";if(!u&&(r>=9||!n)&&this.eat(e.star))p=!0;if(!u&&!n&&!p){var l=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())h=l;else u=l}if(u)o.computed=!1,o.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),o.key.name=u,this.finishNode(o.key,"Identifier");else this.parseClassElementName(o);if(r<13||this.type===e.parenL||h!=="method"||p||n){var m=!o.static&&et(o,"constructor"),y=m&&t;if(m&&h!=="method")this.raise(o.key.start,"Constructor can't have get/set modifier");o.kind=m?"constructor":h,this.parseClassMethod(o,p,n,y)}else this.parseClassField(o);return o};b.isClassElementNameStart=function(){return this.type===e.name||this.type===e.privateId||this.type===e.num||this.type===e.string||this.type===e.bracketL||this.type.keyword};b.parseClassElementName=function(t){if(this.type===e.privateId){if(this.value==="constructor")this.raise(this.start,"Classes can't have an element named '#constructor'");t.computed=!1,t.key=this.parsePrivateIdent()}else this.parsePropertyName(t)};b.parseClassMethod=function(t,r,o,u){var p=t.key;if(t.kind==="constructor"){if(r)this.raise(p.start,"Constructor can't be a generator");if(o)this.raise(p.start,"Constructor can't be an async method")}else if(t.static&&et(t,"prototype"))this.raise(p.start,"Classes may not have a static property named prototype");var n=t.value=this.parseMethod(r,o,u);if(t.kind==="get"&&n.params.length!==0)this.raiseRecoverable(n.start,"getter should have no params");if(t.kind==="set"&&n.params.length!==1)this.raiseRecoverable(n.start,"setter should have exactly one param");if(t.kind==="set"&&n.params[0].type==="RestElement")this.raiseRecoverable(n.params[0].start,"Setter cannot use rest params");return this.finishNode(t,"MethodDefinition")};b.parseClassField=function(t){if(et(t,"constructor"))this.raise(t.key.start,"Classes can't have a field named 'constructor'");else if(t.static&&et(t,"prototype"))this.raise(t.key.start,"Classes can't have a static field named 'prototype'");if(this.eat(e.eq))this.enterScope(Q|rt),t.value=this.parseMaybeAssign(),this.exitScope();else t.value=null;return this.semicolon(),this.finishNode(t,"PropertyDefinition")};b.parseClassStaticBlock=function(t){t.body=[];var r=this.labels;this.labels=[],this.enterScope(q|rt);while(this.type!==e.braceR){var o=this.parseStatement(null);t.body.push(o)}return this.next(),this.exitScope(),this.labels=r,this.finishNode(t,"StaticBlock")};b.parseClassId=function(t,r){if(this.type===e.name){if(t.id=this.parseIdent(),r)this.checkLValSimple(t.id,F,!1)}else{if(r===!0)this.unexpected();t.id=null}};b.parseClassSuper=function(t){t.superClass=this.eat(e._extends)?this.parseExprSubscripts(null,!1):null};b.enterClassBody=function(){var t={declared:Object.create(null),used:[]};return this.privateNameStack.push(t),t.declared};b.exitClassBody=function(){var t=this.privateNameStack.pop(),{declared:r,used:o}=t;if(!this.options.checkPrivateFields)return;var u=this.privateNameStack.length,p=u===0?null:this.privateNameStack[u-1];for(var n=0;n<o.length;++n){var h=o[n];if(!G(r,h.name))if(p)p.used.push(h);else this.raiseRecoverable(h.start,"Private field '#"+h.name+"' must be declared in an enclosing class")}};function ge(t,r){var o=r.key.name,u=t[o],p="true";if(r.type==="MethodDefinition"&&(r.kind==="get"||r.kind==="set"))p=(r.static?"s":"i")+r.kind;if(u==="iget"&&p==="iset"||u==="iset"&&p==="iget"||u==="sget"&&p==="sset"||u==="sset"&&p==="sget")return t[o]="true",!1;else if(!u)return t[o]=p,!1;else return!0}function et(t,r){var{computed:o,key:u}=t;return!o&&(u.type==="Identifier"&&u.name===r||u.type==="Literal"&&u.value===r)}b.parseExportAllDeclaration=function(t,r){if(this.options.ecmaVersion>=11)if(this.eatContextual("as"))t.exported=this.parseModuleExportName(),this.checkExport(r,t.exported,this.lastTokStart);else t.exported=null;if(this.expectContextual("from"),this.type!==e.string)this.unexpected();if(t.source=this.parseExprAtom(),this.options.ecmaVersion>=16)t.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(t,"ExportAllDeclaration")};b.parseExport=function(t,r){if(this.next(),this.eat(e.star))return this.parseExportAllDeclaration(t,r);if(this.eat(e._default))return this.checkExport(r,"default",this.lastTokStart),t.declaration=this.parseExportDefaultDeclaration(),this.finishNode(t,"ExportDefaultDeclaration");if(this.shouldParseExportStatement()){if(t.declaration=this.parseExportDeclaration(t),t.declaration.type==="VariableDeclaration")this.checkVariableExport(r,t.declaration.declarations);else this.checkExport(r,t.declaration.id,t.declaration.id.start);if(t.specifiers=[],t.source=null,this.options.ecmaVersion>=16)t.attributes=[]}else{if(t.declaration=null,t.specifiers=this.parseExportSpecifiers(r),this.eatContextual("from")){if(this.type!==e.string)this.unexpected();if(t.source=this.parseExprAtom(),this.options.ecmaVersion>=16)t.attributes=this.parseWithClause()}else{for(var o=0,u=t.specifiers;o<u.length;o+=1){var p=u[o];if(this.checkUnreserved(p.local),this.checkLocalExport(p.local),p.local.type==="Literal")this.raise(p.local.start,"A string literal cannot be used as an exported binding without `from`.")}if(t.source=null,this.options.ecmaVersion>=16)t.attributes=[]}this.semicolon()}return this.finishNode(t,"ExportNamedDeclaration")};b.parseExportDeclaration=function(t){return this.parseStatement(null)};b.parseExportDefaultDeclaration=function(){var t;if(this.type===e._function||(t=this.isAsyncFunction())){var r=this.startNode();if(this.next(),t)this.next();return this.parseFunction(r,K|Kt,!1,t)}else if(this.type===e._class){var o=this.startNode();return this.parseClass(o,"nullableID")}else{var u=this.parseMaybeAssign();return this.semicolon(),u}};b.checkExport=function(t,r,o){if(!t)return;if(typeof r!=="string")r=r.type==="Identifier"?r.name:r.value;if(G(t,r))this.raiseRecoverable(o,"Duplicate export '"+r+"'");t[r]=!0};b.checkPatternExport=function(t,r){var o=r.type;if(o==="Identifier")this.checkExport(t,r,r.start);else if(o==="ObjectPattern")for(var u=0,p=r.properties;u<p.length;u+=1){var n=p[u];this.checkPatternExport(t,n)}else if(o==="ArrayPattern")for(var h=0,d=r.elements;h<d.length;h+=1){var l=d[h];if(l)this.checkPatternExport(t,l)}else if(o==="Property")this.checkPatternExport(t,r.value);else if(o==="AssignmentPattern")this.checkPatternExport(t,r.left);else if(o==="RestElement")this.checkPatternExport(t,r.argument)};b.checkVariableExport=function(t,r){if(!t)return;for(var o=0,u=r;o<u.length;o+=1){var p=u[o];this.checkPatternExport(t,p.id)}};b.shouldParseExportStatement=function(){return this.type.keyword==="var"||this.type.keyword==="const"||this.type.keyword==="class"||this.type.keyword==="function"||this.isLet()||this.isAsyncFunction()};b.parseExportSpecifier=function(t){var r=this.startNode();return r.local=this.parseModuleExportName(),r.exported=this.eatContextual("as")?this.parseModuleExportName():r.local,this.checkExport(t,r.exported,r.exported.start),this.finishNode(r,"ExportSpecifier")};b.parseExportSpecifiers=function(t){var r=[],o=!0;this.expect(e.braceL);while(!this.eat(e.braceR)){if(!o){if(this.expect(e.comma),this.afterTrailingComma(e.braceR))break}else o=!1;r.push(this.parseExportSpecifier(t))}return r};b.parseImport=function(t){if(this.next(),this.type===e.string)t.specifiers=ke,t.source=this.parseExprAtom();else t.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),t.source=this.type===e.string?this.parseExprAtom():this.unexpected();if(this.options.ecmaVersion>=16)t.attributes=this.parseWithClause();return this.semicolon(),this.finishNode(t,"ImportDeclaration")};b.parseImportSpecifier=function(){var t=this.startNode();if(t.imported=this.parseModuleExportName(),this.eatContextual("as"))t.local=this.parseIdent();else this.checkUnreserved(t.imported),t.local=t.imported;return this.checkLValSimple(t.local,F),this.finishNode(t,"ImportSpecifier")};b.parseImportDefaultSpecifier=function(){var t=this.startNode();return t.local=this.parseIdent(),this.checkLValSimple(t.local,F),this.finishNode(t,"ImportDefaultSpecifier")};b.parseImportNamespaceSpecifier=function(){var t=this.startNode();return this.next(),this.expectContextual("as"),t.local=this.parseIdent(),this.checkLValSimple(t.local,F),this.finishNode(t,"ImportNamespaceSpecifier")};b.parseImportSpecifiers=function(){var t=[],r=!0;if(this.type===e.name){if(t.push(this.parseImportDefaultSpecifier()),!this.eat(e.comma))return t}if(this.type===e.star)return t.push(this.parseImportNamespaceSpecifier()),t;this.expect(e.braceL);while(!this.eat(e.braceR)){if(!r){if(this.expect(e.comma),this.afterTrailingComma(e.braceR))break}else r=!1;t.push(this.parseImportSpecifier())}return t};b.parseWithClause=function(){var t=[];if(!this.eat(e._with))return t;this.expect(e.braceL);var r={},o=!0;while(!this.eat(e.braceR)){if(!o){if(this.expect(e.comma),this.afterTrailingComma(e.braceR))break}else o=!1;var u=this.parseImportAttribute(),p=u.key.type==="Identifier"?u.key.name:u.key.value;if(G(r,p))this.raiseRecoverable(u.key.start,"Duplicate attribute key '"+p+"'");r[p]=!0,t.push(u)}return t};b.parseImportAttribute=function(){var t=this.startNode();if(t.key=this.type===e.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never"),this.expect(e.colon),this.type!==e.string)this.unexpected();return t.value=this.parseExprAtom(),this.finishNode(t,"ImportAttribute")};b.parseModuleExportName=function(){if(this.options.ecmaVersion>=13&&this.type===e.string){var t=this.parseLiteral(this.value);if(me.test(t.value))this.raise(t.start,"An export name cannot include a lone surrogate.");return t}return this.parseIdent(!0)};b.adaptDirectivePrologue=function(t){for(var r=0;r<t.length&&this.isDirectiveCandidate(t[r]);++r)t[r].directive=t[r].expression.raw.slice(1,-1)};b.isDirectiveCandidate=function(t){return this.options.ecmaVersion>=5&&t.type==="ExpressionStatement"&&t.expression.type==="Literal"&&typeof t.expression.value==="string"&&(this.input[t.start]==='"'||this.input[t.start]==="'")};var V=i.prototype;V.toAssignable=function(t,r,o){if(this.options.ecmaVersion>=6&&t)switch(t.type){case"Identifier":if(this.inAsync&&t.name==="await")this.raise(t.start,"Cannot use 'await' as identifier inside an async function");break;case"ObjectPattern":case"ArrayPattern":case"AssignmentPattern":case"RestElement":break;case"ObjectExpression":if(t.type="ObjectPattern",o)this.checkPatternErrors(o,!0);for(var u=0,p=t.properties;u<p.length;u+=1){var n=p[u];if(this.toAssignable(n,r),n.type==="RestElement"&&(n.argument.type==="ArrayPattern"||n.argument.type==="ObjectPattern"))this.raise(n.argument.start,"Unexpected token")}break;case"Property":if(t.kind!=="init")this.raise(t.key.start,"Object pattern can't contain getter or setter");this.toAssignable(t.value,r);break;case"ArrayExpression":if(t.type="ArrayPattern",o)this.checkPatternErrors(o,!0);this.toAssignableList(t.elements,r);break;case"SpreadElement":if(t.type="RestElement",this.toAssignable(t.argument,r),t.argument.type==="AssignmentPattern")this.raise(t.argument.start,"Rest elements cannot have a default value");break;case"AssignmentExpression":if(t.operator!=="=")this.raise(t.left.end,"Only '=' operator can be used for specifying default value.");t.type="AssignmentPattern",delete t.operator,this.toAssignable(t.left,r);break;case"ParenthesizedExpression":this.toAssignable(t.expression,r,o);break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(!r)break;default:this.raise(t.start,"Assigning to rvalue")}else if(o)this.checkPatternErrors(o,!0);return t};V.toAssignableList=function(t,r){var o=t.length;for(var u=0;u<o;u++){var p=t[u];if(p)this.toAssignable(p,r)}if(o){var n=t[o-1];if(this.options.ecmaVersion===6&&r&&n&&n.type==="RestElement"&&n.argument.type!=="Identifier")this.unexpected(n.argument.start)}return t};V.parseSpread=function(t){var r=this.startNode();return this.next(),r.argument=this.parseMaybeAssign(!1,t),this.finishNode(r,"SpreadElement")};V.parseRestBinding=function(){var t=this.startNode();if(this.next(),this.options.ecmaVersion===6&&this.type!==e.name)this.unexpected();return t.argument=this.parseBindingAtom(),this.finishNode(t,"RestElement")};V.parseBindingAtom=function(){if(this.options.ecmaVersion>=6)switch(this.type){case e.bracketL:var t=this.startNode();return this.next(),t.elements=this.parseBindingList(e.bracketR,!0,!0),this.finishNode(t,"ArrayPattern");case e.braceL:return this.parseObj(!0)}return this.parseIdent()};V.parseBindingList=function(t,r,o,u){var p=[],n=!0;while(!this.eat(t)){if(n)n=!1;else this.expect(e.comma);if(r&&this.type===e.comma)p.push(null);else if(o&&this.afterTrailingComma(t))break;else if(this.type===e.ellipsis){var h=this.parseRestBinding();if(this.parseBindingListItem(h),p.push(h),this.type===e.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");this.expect(t);break}else p.push(this.parseAssignableListItem(u))}return p};V.parseAssignableListItem=function(t){var r=this.parseMaybeDefault(this.start,this.startLoc);return this.parseBindingListItem(r),r};V.parseBindingListItem=function(t){return t};V.parseMaybeDefault=function(t,r,o){if(o=o||this.parseBindingAtom(),this.options.ecmaVersion<6||!this.eat(e.eq))return o;var u=this.startNodeAt(t,r);return u.left=o,u.right=this.parseMaybeAssign(),this.finishNode(u,"AssignmentPattern")};V.checkLValSimple=function(t,r,o){if(r===void 0)r=tt;var u=r!==tt;switch(t.type){case"Identifier":if(this.strict&&this.reservedWordsStrictBind.test(t.name))this.raiseRecoverable(t.start,(u?"Binding ":"Assigning to ")+t.name+" in strict mode");if(u){if(r===F&&t.name==="let")this.raiseRecoverable(t.start,"let is disallowed as a lexically bound name");if(o){if(G(o,t.name))this.raiseRecoverable(t.start,"Argument name clash");o[t.name]=!0}if(r!==Wt)this.declareName(t.name,r,t.start)}break;case"ChainExpression":this.raiseRecoverable(t.start,"Optional chaining cannot appear in left-hand side");break;case"MemberExpression":if(u)this.raiseRecoverable(t.start,"Binding member expression");break;case"ParenthesizedExpression":if(u)this.raiseRecoverable(t.start,"Binding parenthesized expression");return this.checkLValSimple(t.expression,r,o);default:this.raise(t.start,(u?"Binding":"Assigning to")+" rvalue")}};V.checkLValPattern=function(t,r,o){if(r===void 0)r=tt;switch(t.type){case"ObjectPattern":for(var u=0,p=t.properties;u<p.length;u+=1){var n=p[u];this.checkLValInnerPattern(n,r,o)}break;case"ArrayPattern":for(var h=0,d=t.elements;h<d.length;h+=1){var l=d[h];if(l)this.checkLValInnerPattern(l,r,o)}break;default:this.checkLValSimple(t,r,o)}};V.checkLValInnerPattern=function(t,r,o){if(r===void 0)r=tt;switch(t.type){case"Property":this.checkLValInnerPattern(t.value,r,o);break;case"AssignmentPattern":this.checkLValPattern(t.left,r,o);break;case"RestElement":this.checkLValPattern(t.argument,r,o);break;default:this.checkLValPattern(t,r,o)}};var O=function(r,o,u,p,n){this.token=r,this.isExpr=!!o,this.preserveSpace=!!u,this.override=p,this.generator=!!n},N={b_stat:new O("{",!1),b_expr:new O("{",!0),b_tmpl:new O("${",!1),p_stat:new O("(",!1),p_expr:new O("(",!0),q_tmpl:new O("`",!0,!0,function(t){return t.tryReadTemplateToken()}),f_stat:new O("function",!1),f_expr:new O("function",!0),f_expr_gen:new O("function",!0,!1,null,!0),f_gen:new O("function",!1,!1,null,!0)},W=i.prototype;W.initialContext=function(){return[N.b_stat]};W.curContext=function(){return this.context[this.context.length-1]};W.braceIsBlock=function(t){var r=this.curContext();if(r===N.f_expr||r===N.f_stat)return!0;if(t===e.colon&&(r===N.b_stat||r===N.b_expr))return!r.isExpr;if(t===e._return||t===e.name&&this.exprAllowed)return I.test(this.input.slice(this.lastTokEnd,this.start));if(t===e._else||t===e.semi||t===e.eof||t===e.parenR||t===e.arrow)return!0;if(t===e.braceL)return r===N.b_stat;if(t===e._var||t===e._const||t===e.name)return!1;return!this.exprAllowed};W.inGeneratorContext=function(){for(var t=this.context.length-1;t>=1;t--){var r=this.context[t];if(r.token==="function")return r.generator}return!1};W.updateContext=function(t){var r,o=this.type;if(o.keyword&&t===e.dot)this.exprAllowed=!1;else if(r=o.updateContext)r.call(this,t);else this.exprAllowed=o.beforeExpr};W.overrideContext=function(t){if(this.curContext()!==t)this.context[this.context.length-1]=t};e.parenR.updateContext=e.braceR.updateContext=function(){if(this.context.length===1){this.exprAllowed=!0;return}var t=this.context.pop();if(t===N.b_stat&&this.curContext().token==="function")t=this.context.pop();this.exprAllowed=!t.isExpr};e.braceL.updateContext=function(t){this.context.push(this.braceIsBlock(t)?N.b_stat:N.b_expr),this.exprAllowed=!0};e.dollarBraceL.updateContext=function(){this.context.push(N.b_tmpl),this.exprAllowed=!0};e.parenL.updateContext=function(t){var r=t===e._if||t===e._for||t===e._with||t===e._while;this.context.push(r?N.p_stat:N.p_expr),this.exprAllowed=!0};e.incDec.updateContext=function(){};e._function.updateContext=e._class.updateContext=function(t){if(t.beforeExpr&&t!==e._else&&!(t===e.semi&&this.curContext()!==N.p_stat)&&!(t===e._return&&I.test(this.input.slice(this.lastTokEnd,this.start)))&&!((t===e.colon||t===e.braceL)&&this.curContext()===N.b_stat))this.context.push(N.f_expr);else this.context.push(N.f_stat);this.exprAllowed=!1};e.colon.updateContext=function(){if(this.curContext().token==="function")this.context.pop();this.exprAllowed=!0};e.backQuote.updateContext=function(){if(this.curContext()===N.q_tmpl)this.context.pop();else this.context.push(N.q_tmpl);this.exprAllowed=!1};e.star.updateContext=function(t){if(t===e._function){var r=this.context.length-1;if(this.context[r]===N.f_expr)this.context[r]=N.f_expr_gen;else this.context[r]=N.f_gen}this.exprAllowed=!0};e.name.updateContext=function(t){var r=!1;if(this.options.ecmaVersion>=6&&t!==e.dot){if(this.value==="of"&&!this.exprAllowed||this.value==="yield"&&this.inGeneratorContext())r=!0}this.exprAllowed=r};var k=i.prototype;k.checkPropClash=function(t,r,o){if(this.options.ecmaVersion>=9&&t.type==="SpreadElement")return;if(this.options.ecmaVersion>=6&&(t.computed||t.method||t.shorthand))return;var u=t.key,p;switch(u.type){case"Identifier":p=u.name;break;case"Literal":p=String(u.value);break;default:return}var n=t.kind;if(this.options.ecmaVersion>=6){if(p==="__proto__"&&n==="init"){if(r.proto)if(o){if(o.doubleProto<0)o.doubleProto=u.start}else this.raiseRecoverable(u.start,"Redefinition of __proto__ property");r.proto=!0}return}p="$"+p;var h=r[p];if(h){var d;if(n==="init")d=this.strict&&h.init||h.get||h.set;else d=h.init||h[n];if(d)this.raiseRecoverable(u.start,"Redefinition of property")}else h=r[p]={init:!1,get:!1,set:!1};h[n]=!0};k.parseExpression=function(t,r){var o=this;return this.catchStackOverflow(function(){var{start:u,startLoc:p}=o,n=o.parseMaybeAssign(t,r);if(o.type===e.comma){var h=o.startNodeAt(u,p);h.expressions=[n];while(o.eat(e.comma))h.expressions.push(o.parseMaybeAssign(t,r));return o.finishNode(h,"SequenceExpression")}return n})};k.parseMaybeAssign=function(t,r,o){if(this.isContextual("yield"))if(this.inGenerator)return this.parseYield(t);else this.exprAllowed=!1;var u=!1,p=-1,n=-1,h=-1;if(r)p=r.parenthesizedAssign,n=r.trailingComma,h=r.doubleProto,r.parenthesizedAssign=r.trailingComma=-1;else r=new ot,u=!0;var d=this.start,l=this.startLoc;if(this.type===e.parenL||this.type===e.name)this.potentialArrowAt=this.start,this.potentialArrowInForAwait=t==="await";var m=this.parseMaybeConditional(t,r);if(o)m=o.call(this,m,d,l);if(this.type.isAssign){var y=this.startNodeAt(d,l);if(y.operator=this.value,this.type===e.eq)m=this.toAssignable(m,!1,r);if(!u)r.parenthesizedAssign=r.trailingComma=r.doubleProto=-1;if(r.shorthandAssign>=m.start)r.shorthandAssign=-1;if(this.type===e.eq)this.checkLValPattern(m);else this.checkLValSimple(m);if(y.left=m,this.next(),y.right=this.parseMaybeAssign(t),h>-1)r.doubleProto=h;return this.finishNode(y,"AssignmentExpression")}else if(u)this.checkExpressionErrors(r,!0);if(p>-1)r.parenthesizedAssign=p;if(n>-1)r.trailingComma=n;return m};k.parseMaybeConditional=function(t,r){var o=this.start,u=this.startLoc,p=this.parseExprOps(t,r);if(this.checkExpressionErrors(r))return p;if(!(p.type==="ArrowFunctionExpression"&&p.start===o)&&this.eat(e.question)){var n=this.startNodeAt(o,u);return n.test=p,n.consequent=this.parseMaybeAssign(),this.expect(e.colon),n.alternate=this.parseMaybeAssign(t),this.finishNode(n,"ConditionalExpression")}return p};k.parseExprOps=function(t,r){var o=this.start,u=this.startLoc,p=this.parseMaybeUnary(r,!1,!1,t);if(this.checkExpressionErrors(r))return p;return p.start===o&&p.type==="ArrowFunctionExpression"?p:this.parseExprOp(p,o,u,-1,t)};k.parseExprOp=function(t,r,o,u,p){var n=this.type.binop;if(n!=null&&(!p||this.type!==e._in)){if(n>u){var h=this.type===e.logicalOR||this.type===e.logicalAND,d=this.type===e.coalesce;if(d)n=e.logicalAND.binop;var l=this.value;this.next();var m=this.start,y=this.startLoc,x=this.parseExprOp(this.parseMaybeUnary(null,!1,!1,p),m,y,n,p),v=this.buildBinary(r,o,t,x,l,h||d);if(h&&this.type===e.coalesce||d&&(this.type===e.logicalOR||this.type===e.logicalAND))this.raiseRecoverable(this.start,"Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses");return this.parseExprOp(v,r,o,u,p)}}return t};k.buildBinary=function(t,r,o,u,p,n){if(u.type==="PrivateIdentifier")this.raise(u.start,"Private identifier can only be left side of binary expression");var h=this.startNodeAt(t,r);return h.left=o,h.operator=p,h.right=u,this.finishNode(h,n?"LogicalExpression":"BinaryExpression")};k.parseMaybeUnary=function(t,r,o,u){var p=this.start,n=this.startLoc,h;if(this.isContextual("await")&&this.canAwait)h=this.parseAwait(u),r=!0;else if(this.type.prefix){var d=this.startNode(),l=this.type===e.incDec;if(d.operator=this.value,d.prefix=!0,this.next(),d.argument=this.parseMaybeUnary(null,!0,l,u),this.checkExpressionErrors(t,!0),l)this.checkLValSimple(d.argument);else if(this.strict&&d.operator==="delete"&&Ht(d.argument))this.raiseRecoverable(d.start,"Deleting local variable in strict mode");else if(d.operator==="delete"&&yt(d.argument))this.raiseRecoverable(d.start,"Private fields can not be deleted");else r=!0;h=this.finishNode(d,l?"UpdateExpression":"UnaryExpression")}else if(!r&&this.type===e.privateId){if((u||this.privateNameStack.length===0)&&this.options.checkPrivateFields)this.unexpected();if(h=this.parsePrivateIdent(),this.type!==e._in)this.unexpected()}else{if(h=this.parseExprSubscripts(t,u),this.checkExpressionErrors(t))return h;while(this.type.postfix&&!this.canInsertSemicolon()){var m=this.startNodeAt(p,n);m.operator=this.value,m.prefix=!1,m.argument=h,this.checkLValSimple(h),this.next(),h=this.finishNode(m,"UpdateExpression")}}if(!o&&!(h.type==="ArrowFunctionExpression"&&h.start===p)&&this.eat(e.starstar))if(r)this.unexpected(this.lastTokStart);else return this.buildBinary(p,n,h,this.parseMaybeUnary(null,!1,!1,u),"**",!1);else return h};function Ht(t){return t.type==="Identifier"||t.type==="ParenthesizedExpression"&&Ht(t.expression)}function yt(t){return t.type==="MemberExpression"&&t.property.type==="PrivateIdentifier"||t.type==="ChainExpression"&&yt(t.expression)||t.type==="ParenthesizedExpression"&&yt(t.expression)}k.parseExprSubscripts=function(t,r){var o=this.start,u=this.startLoc,p=this.parseExprAtom(t,r);if(p.type==="ArrowFunctionExpression"&&this.input.slice(this.lastTokStart,this.lastTokEnd)!==")")return p;var n=this.parseSubscripts(p,o,u,!1,r);if(t&&n.type==="MemberExpression"){if(t.parenthesizedAssign>=n.start)t.parenthesizedAssign=-1;if(t.parenthesizedBind>=n.start)t.parenthesizedBind=-1;if(t.trailingComma>=n.start)t.trailingComma=-1}return n};k.parseSubscripts=function(t,r,o,u,p){var n=this.options.ecmaVersion>=8&&t.type==="Identifier"&&t.name==="async"&&this.lastTokEnd===t.end&&!this.canInsertSemicolon()&&t.end-t.start===5&&this.potentialArrowAt===t.start,h=!1;while(!0){var d=this.parseSubscript(t,r,o,u,n,h,p);if(d.optional)h=!0;if(d===t||d.type==="ArrowFunctionExpression"){if(h){var l=this.startNodeAt(r,o);l.expression=d,d=this.finishNode(l,"ChainExpression")}return d}t=d}};k.shouldParseAsyncArrow=function(){return!this.canInsertSemicolon()&&this.eat(e.arrow)};k.parseSubscriptAsyncArrow=function(t,r,o,u){return this.parseArrowExpression(this.startNodeAt(t,r),o,!0,u)};k.parseSubscript=function(t,r,o,u,p,n,h){var d=this.options.ecmaVersion>=11,l=d&&this.eat(e.questionDot);if(u&&l)this.raise(this.lastTokStart,"Optional chaining cannot appear in the callee of new expressions");var m=this.eat(e.bracketL);if(m||l&&this.type!==e.parenL&&this.type!==e.backQuote||this.eat(e.dot)){var y=this.startNodeAt(r,o);if(y.object=t,m)y.property=this.parseExpression(),this.expect(e.bracketR);else if(this.type===e.privateId&&t.type!=="Super")y.property=this.parsePrivateIdent();else y.property=this.parseIdent(this.options.allowReserved!=="never");if(y.computed=!!m,d)y.optional=l;t=this.finishNode(y,"MemberExpression")}else if(!u&&this.eat(e.parenL)){var x=new ot,v=this.yieldPos,C=this.awaitPos,A=this.awaitIdentPos;this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0;var J=this.parseExprList(e.parenR,this.options.ecmaVersion>=8,!1,x);if(p&&!l&&this.shouldParseAsyncArrow()){if(this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.awaitIdentPos>0)this.raise(this.awaitIdentPos,"Cannot use 'await' as identifier inside an async function");return this.yieldPos=v,this.awaitPos=C,this.awaitIdentPos=A,this.parseSubscriptAsyncArrow(r,o,J,h)}this.checkExpressionErrors(x,!0),this.yieldPos=v||this.yieldPos,this.awaitPos=C||this.awaitPos,this.awaitIdentPos=A||this.awaitIdentPos;var U=this.startNodeAt(r,o);if(U.callee=t,U.arguments=J,d)U.optional=l;t=this.finishNode(U,"CallExpression")}else if(this.type===e.backQuote){if(l||n)this.raise(this.start,"Optional chaining cannot appear in the tag of tagged template expressions");var j=this.startNodeAt(r,o);j.tag=t,j.quasi=this.parseTemplate({isTagged:!0}),t=this.finishNode(j,"TaggedTemplateExpression")}return t};k.parseExprAtom=function(t,r,o){if(this.type===e.slash)this.readRegexp();var u,p=this.potentialArrowAt===this.start;switch(this.type){case e._super:if(!this.allowSuper)this.raise(this.start,"'super' keyword outside a method");if(u=this.startNode(),this.next(),this.type===e.parenL&&!this.allowDirectSuper)this.raise(u.start,"super() call outside constructor of a subclass");if(this.type!==e.dot&&this.type!==e.bracketL&&this.type!==e.parenL)this.unexpected();return this.finishNode(u,"Super");case e._this:return u=this.startNode(),this.next(),this.finishNode(u,"ThisExpression");case e.name:var n=this.start,h=this.startLoc,d=this.containsEsc,l=this.parseIdent(!1);if(this.options.ecmaVersion>=8&&!d&&l.name==="async"&&!this.canInsertSemicolon()&&this.eat(e._function))return this.overrideContext(N.f_expr),this.parseFunction(this.startNodeAt(n,h),0,!1,!0,r);if(p&&!this.canInsertSemicolon()){if(this.eat(e.arrow))return this.parseArrowExpression(this.startNodeAt(n,h),[l],!1,r);if(this.options.ecmaVersion>=8&&l.name==="async"&&this.type===e.name&&!d&&(!this.potentialArrowInForAwait||this.value!=="of"||this.containsEsc)){if(l=this.parseIdent(!1),this.canInsertSemicolon()||!this.eat(e.arrow))this.unexpected();return this.parseArrowExpression(this.startNodeAt(n,h),[l],!0,r)}}return l;case e.regexp:var m=this.value;return u=this.parseLiteral(m.value),u.regex={pattern:m.pattern,flags:m.flags},u;case e.num:case e.string:return this.parseLiteral(this.value);case e._null:case e._true:case e._false:return u=this.startNode(),u.value=this.type===e._null?null:this.type===e._true,u.raw=this.type.keyword,this.next(),this.finishNode(u,"Literal");case e.parenL:var y=this.start,x=this.parseParenAndDistinguishExpression(p,r);if(t){if(t.parenthesizedAssign<0&&!this.isSimpleAssignTarget(x))t.parenthesizedAssign=y;if(t.parenthesizedBind<0)t.parenthesizedBind=y}return x;case e.bracketL:return u=this.startNode(),this.next(),u.elements=this.parseExprList(e.bracketR,!0,!0,t),this.finishNode(u,"ArrayExpression");case e.braceL:return this.overrideContext(N.b_expr),this.parseObj(!1,t);case e._function:return u=this.startNode(),this.next(),this.parseFunction(u,0);case e._class:return this.parseClass(this.startNode(),!1);case e._new:return this.parseNew();case e.backQuote:return this.parseTemplate();case e._import:if(this.options.ecmaVersion>=11)return this.parseExprImport(o);else return this.unexpected();default:return this.parseExprAtomDefault()}};k.parseExprAtomDefault=function(){this.unexpected()};k.parseExprImport=function(t){var r=this.startNode();if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword import");if(this.next(),this.type===e.parenL&&!t)return this.parseDynamicImport(r);else if(this.type===e.dot){var o=this.startNodeAt(r.start,r.loc&&r.loc.start);return o.name="import",r.meta=this.finishNode(o,"Identifier"),this.parseImportMeta(r)}else this.unexpected()};k.parseDynamicImport=function(t){if(this.next(),t.source=this.parseMaybeAssign(),this.options.ecmaVersion>=16)if(!this.eat(e.parenR))if(this.expect(e.comma),!this.afterTrailingComma(e.parenR)){if(t.options=this.parseMaybeAssign(),!this.eat(e.parenR)){if(this.expect(e.comma),!this.afterTrailingComma(e.parenR))this.unexpected()}}else t.options=null;else t.options=null;else if(!this.eat(e.parenR)){var r=this.start;if(this.eat(e.comma)&&this.eat(e.parenR))this.raiseRecoverable(r,"Trailing comma is not allowed in import()");else this.unexpected(r)}return this.finishNode(t,"ImportExpression")};k.parseImportMeta=function(t){this.next();var r=this.containsEsc;if(t.property=this.parseIdent(!0),t.property.name!=="meta")this.raiseRecoverable(t.property.start,"The only valid meta property for import is 'import.meta'");if(r)this.raiseRecoverable(t.start,"'import.meta' must not contain escaped characters");if(this.options.sourceType!=="module"&&!this.options.allowImportExportEverywhere)this.raiseRecoverable(t.start,"Cannot use 'import.meta' outside a module");return this.finishNode(t,"MetaProperty")};k.parseLiteral=function(t){var r=this.startNode();if(r.value=t,r.raw=this.input.slice(this.start,this.end),r.raw.charCodeAt(r.raw.length-1)===110)r.bigint=r.value!=null?r.value.toString():r.raw.slice(0,-1).replace(/_/g,"");return this.next(),this.finishNode(r,"Literal")};k.parseParenExpression=function(){this.expect(e.parenL);var t=this.parseExpression();return this.expect(e.parenR),t};k.shouldParseArrow=function(t){return!this.canInsertSemicolon()};k.parseParenAndDistinguishExpression=function(t,r){var o=this.start,u=this.startLoc,p,n=this.options.ecmaVersion>=8;if(this.options.ecmaVersion>=6){this.next();var h=this.start,d=this.startLoc,l=[],m=!0,y=!1,x=new ot,v=this.yieldPos,C=this.awaitPos,A;this.yieldPos=0,this.awaitPos=0;while(this.type!==e.parenR)if(m?m=!1:this.expect(e.comma),n&&this.afterTrailingComma(e.parenR,!0)){y=!0;break}else if(this.type===e.ellipsis){if(A=this.start,l.push(this.parseParenItem(this.parseRestBinding())),this.type===e.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");break}else l.push(this.parseMaybeAssign(!1,x,this.parseParenItem));var J=this.lastTokEnd,U=this.lastTokEndLoc;if(this.expect(e.parenR),t&&this.shouldParseArrow(l)&&this.eat(e.arrow))return this.checkPatternErrors(x,!1),this.checkYieldAwaitInDefaultParams(),this.yieldPos=v,this.awaitPos=C,this.parseParenArrowList(o,u,l,r);if(!l.length||y)this.unexpected(this.lastTokStart);if(A)this.unexpected(A);if(this.checkExpressionErrors(x,!0),this.yieldPos=v||this.yieldPos,this.awaitPos=C||this.awaitPos,l.length>1)p=this.startNodeAt(h,d),p.expressions=l,this.finishNodeAt(p,"SequenceExpression",J,U);else p=l[0]}else p=this.parseParenExpression();if(this.options.preserveParens){var j=this.startNodeAt(o,u);return j.expression=p,this.finishNode(j,"ParenthesizedExpression")}else return p};k.parseParenItem=function(t){return t};k.parseParenArrowList=function(t,r,o,u){return this.parseArrowExpression(this.startNodeAt(t,r),o,!1,u)};var Se=[];k.parseNew=function(){if(this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword new");var t=this.startNode();if(this.next(),this.options.ecmaVersion>=6&&this.type===e.dot){var r=this.startNodeAt(t.start,t.loc&&t.loc.start);r.name="new",t.meta=this.finishNode(r,"Identifier"),this.next();var o=this.containsEsc;if(t.property=this.parseIdent(!0),t.property.name!=="target")this.raiseRecoverable(t.property.start,"The only valid meta property for new is 'new.target'");if(o)this.raiseRecoverable(t.start,"'new.target' must not contain escaped characters");if(!this.allowNewDotTarget)this.raiseRecoverable(t.start,"'new.target' can only be used in functions and class static block");return this.finishNode(t,"MetaProperty")}var u=this.start,p=this.startLoc;if(t.callee=this.parseSubscripts(this.parseExprAtom(null,!1,!0),u,p,!0,!1),t.callee.type==="Super")this.raiseRecoverable(u,"Invalid use of 'super'");if(this.eat(e.parenL))t.arguments=this.parseExprList(e.parenR,this.options.ecmaVersion>=8,!1);else t.arguments=Se;return this.finishNode(t,"NewExpression")};k.parseTemplateElement=function(t){var r=t.isTagged,o=this.startNode();if(this.type===e.invalidTemplate){if(!r)this.raiseRecoverable(this.start,"Bad escape sequence in untagged template literal");o.value={raw:this.value.replace(/\r\n?/g,`
|
|
4
|
-
`),cooked:null}}else o.value={raw:this.input.slice(this.start,this.end).replace(/\r\n?/g,`
|
|
5
|
-
`),cooked:this.value};return this.next(),o.tail=this.type===e.backQuote,this.finishNode(o,"TemplateElement")};k.parseTemplate=function(t){if(t===void 0)t={};var r=t.isTagged;if(r===void 0)r=!1;var o=this.startNode();this.next(),o.expressions=[];var u=this.parseTemplateElement({isTagged:r});o.quasis=[u];while(!u.tail){if(this.type===e.eof)this.raise(this.pos,"Unterminated template literal");this.expect(e.dollarBraceL),o.expressions.push(this.parseExpression()),this.expect(e.braceR),o.quasis.push(u=this.parseTemplateElement({isTagged:r}))}return this.next(),this.finishNode(o,"TemplateLiteral")};k.isAsyncProp=function(t){return!t.computed&&t.key.type==="Identifier"&&t.key.name==="async"&&(this.type===e.name||this.type===e.num||this.type===e.string||this.type===e.bracketL||this.type.keyword||this.options.ecmaVersion>=9&&this.type===e.star)&&!I.test(this.input.slice(this.lastTokEnd,this.start))};k.parseObj=function(t,r){var o=this.startNode(),u=!0,p={};o.properties=[],this.next();while(!this.eat(e.braceR)){if(!u){if(this.expect(e.comma),this.options.ecmaVersion>=5&&this.afterTrailingComma(e.braceR))break}else u=!1;var n=this.parseProperty(t,r);if(!t)this.checkPropClash(n,p,r);o.properties.push(n)}return this.finishNode(o,t?"ObjectPattern":"ObjectExpression")};k.parseProperty=function(t,r){var o=this.startNode(),u,p,n,h;if(this.options.ecmaVersion>=9&&this.eat(e.ellipsis)){if(t){if(o.argument=this.parseIdent(!1),this.type===e.comma)this.raiseRecoverable(this.start,"Comma is not permitted after the rest element");return this.finishNode(o,"RestElement")}if(o.argument=this.parseMaybeAssign(!1,r),this.type===e.comma&&r&&r.trailingComma<0)r.trailingComma=this.start;return this.finishNode(o,"SpreadElement")}if(this.options.ecmaVersion>=6){if(o.method=!1,o.shorthand=!1,t||r)n=this.start,h=this.startLoc;if(!t)u=this.eat(e.star)}var d=this.containsEsc;if(this.parsePropertyName(o),!t&&!d&&this.options.ecmaVersion>=8&&!u&&this.isAsyncProp(o))p=!0,u=this.options.ecmaVersion>=9&&this.eat(e.star),this.parsePropertyName(o);else p=!1;return this.parsePropertyValue(o,t,u,p,n,h,r,d),this.finishNode(o,"Property")};k.parseGetterSetter=function(t){var r=t.key.name;this.parsePropertyName(t),t.value=this.parseMethod(!1),t.kind=r;var o=t.kind==="get"?0:1;if(t.value.params.length!==o){var u=t.value.start;if(t.kind==="get")this.raiseRecoverable(u,"getter should have no params");else this.raiseRecoverable(u,"setter should have exactly one param")}else if(t.kind==="set"&&t.value.params[0].type==="RestElement")this.raiseRecoverable(t.value.params[0].start,"Setter cannot use rest params")};k.parsePropertyValue=function(t,r,o,u,p,n,h,d){if((o||u)&&this.type===e.colon)this.unexpected();if(this.eat(e.colon))t.value=r?this.parseMaybeDefault(this.start,this.startLoc):this.parseMaybeAssign(!1,h),t.kind="init";else if(this.options.ecmaVersion>=6&&this.type===e.parenL){if(r)this.unexpected();t.method=!0,t.value=this.parseMethod(o,u),t.kind="init"}else if(!r&&!d&&this.options.ecmaVersion>=5&&!t.computed&&t.key.type==="Identifier"&&(t.key.name==="get"||t.key.name==="set")&&(this.type!==e.comma&&this.type!==e.braceR&&this.type!==e.eq)){if(o||u)this.unexpected();this.parseGetterSetter(t)}else if(this.options.ecmaVersion>=6&&!t.computed&&t.key.type==="Identifier"){if(o||u)this.unexpected();if(this.checkUnreserved(t.key),t.key.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=p;if(r)t.value=this.parseMaybeDefault(p,n,this.copyNode(t.key));else if(this.type===e.eq&&h){if(h.shorthandAssign<0)h.shorthandAssign=this.start;t.value=this.parseMaybeDefault(p,n,this.copyNode(t.key))}else t.value=this.copyNode(t.key);t.kind="init",t.shorthand=!0}else this.unexpected()};k.parsePropertyName=function(t){if(this.options.ecmaVersion>=6)if(this.eat(e.bracketL))return t.computed=!0,t.key=this.parseMaybeAssign(),this.expect(e.bracketR),t.key;else t.computed=!1;return t.key=this.type===e.num||this.type===e.string?this.parseExprAtom():this.parseIdent(this.options.allowReserved!=="never")};k.initFunction=function(t){if(t.id=null,this.options.ecmaVersion>=6)t.generator=t.expression=!1;if(this.options.ecmaVersion>=8)t.async=!1};k.parseMethod=function(t,r,o){var u=this.startNode(),p=this.yieldPos,n=this.awaitPos,h=this.awaitIdentPos;if(this.initFunction(u),this.options.ecmaVersion>=6)u.generator=t;if(this.options.ecmaVersion>=8)u.async=!!r;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,this.enterScope(vt(r,u.generator)|rt|(o?qt:0)),this.expect(e.parenL),u.params=this.parseBindingList(e.parenR,!1,this.options.ecmaVersion>=8),this.checkYieldAwaitInDefaultParams(),this.parseFunctionBody(u,!1,!0,!1),this.yieldPos=p,this.awaitPos=n,this.awaitIdentPos=h,this.finishNode(u,"FunctionExpression")};k.parseArrowExpression=function(t,r,o,u){var p=this.yieldPos,n=this.awaitPos,h=this.awaitIdentPos;if(this.enterScope(vt(o,!1)|bt),this.initFunction(t),this.options.ecmaVersion>=8)t.async=!!o;return this.yieldPos=0,this.awaitPos=0,this.awaitIdentPos=0,t.params=this.toAssignableList(r,!0),this.parseFunctionBody(t,!0,!1,u),this.yieldPos=p,this.awaitPos=n,this.awaitIdentPos=h,this.finishNode(t,"ArrowFunctionExpression")};k.parseFunctionBody=function(t,r,o,u){var p=r&&this.type!==e.braceL,n=this.strict,h=!1;if(p)t.body=this.parseMaybeAssign(u),t.expression=!0,this.checkParams(t,!1);else{var d=this.options.ecmaVersion>=7&&!this.isSimpleParamList(t.params);if(!n||d){if(h=this.strictDirective(this.end),h&&d)this.raiseRecoverable(t.start,"Illegal 'use strict' directive in function with non-simple parameter list")}var l=this.labels;if(this.labels=[],h)this.strict=!0;if(this.checkParams(t,!n&&!h&&!r&&!o&&this.isSimpleParamList(t.params)),this.strict&&t.id)this.checkLValSimple(t.id,Wt);t.body=this.parseBlock(!1,void 0,h&&!n),t.expression=!1,this.adaptDirectivePrologue(t.body.body),this.labels=l}this.exitScope()};k.isSimpleParamList=function(t){for(var r=0,o=t;r<o.length;r+=1){var u=o[r];if(u.type!=="Identifier")return!1}return!0};k.checkParams=function(t,r){var o=Object.create(null);for(var u=0,p=t.params;u<p.length;u+=1){var n=p[u];this.checkLValInnerPattern(n,kt,r?null:o)}};k.parseExprList=function(t,r,o,u){var p=[],n=!0;while(!this.eat(t)){if(!n){if(this.expect(e.comma),r&&this.afterTrailingComma(t))break}else n=!1;var h=void 0;if(o&&this.type===e.comma)h=null;else if(this.type===e.ellipsis){if(h=this.parseSpread(u),u&&this.type===e.comma&&u.trailingComma<0)u.trailingComma=this.start}else h=this.parseMaybeAssign(!1,u);p.push(h)}return p};k.checkUnreserved=function(t){var{start:r,end:o,name:u}=t;if(this.inGenerator&&u==="yield")this.raiseRecoverable(r,"Cannot use 'yield' as identifier inside a generator");if(this.inAsync&&u==="await")this.raiseRecoverable(r,"Cannot use 'await' as identifier inside an async function");if(!(this.currentThisScope().flags&nt)&&u==="arguments")this.raiseRecoverable(r,"Cannot use 'arguments' in class field initializer");if(this.inClassStaticBlock&&(u==="arguments"||u==="await"))this.raise(r,"Cannot use "+u+" in class static initialization block");if(this.keywords.test(u))this.raise(r,"Unexpected keyword '"+u+"'");if(this.options.ecmaVersion<6&&this.input.slice(r,o).indexOf("\\")!==-1)return;var p=this.strict?this.reservedWordsStrict:this.reservedWords;if(p.test(u)){if(!this.inAsync&&u==="await")this.raiseRecoverable(r,"Cannot use keyword 'await' outside an async function");this.raiseRecoverable(r,"The keyword '"+u+"' is reserved")}};k.parseIdent=function(t){var r=this.parseIdentNode();if(this.next(!!t),this.finishNode(r,"Identifier"),!t){if(this.checkUnreserved(r),r.name==="await"&&!this.awaitIdentPos)this.awaitIdentPos=r.start}return r};k.parseIdentNode=function(){var t=this.startNode();if(this.type===e.name)t.name=this.value;else if(this.type.keyword){if(t.name=this.type.keyword,(t.name==="class"||t.name==="function")&&(this.lastTokEnd!==this.lastTokStart+1||this.input.charCodeAt(this.lastTokStart)!==46))this.context.pop();this.type=e.name}else this.unexpected();return t};k.parsePrivateIdent=function(){var t=this.startNode();if(this.type===e.privateId)t.name=this.value;else this.unexpected();if(this.next(),this.finishNode(t,"PrivateIdentifier"),this.options.checkPrivateFields)if(this.privateNameStack.length===0)this.raise(t.start,"Private field '#"+t.name+"' must be declared in an enclosing class");else this.privateNameStack[this.privateNameStack.length-1].used.push(t);return t};k.parseYield=function(t){if(!this.yieldPos)this.yieldPos=this.start;var r=this.startNode();if(this.next(),this.type===e.semi||this.canInsertSemicolon()||this.type!==e.star&&!this.type.startsExpr)r.delegate=!1,r.argument=null;else r.delegate=this.eat(e.star),r.argument=this.parseMaybeAssign(t);return this.finishNode(r,"YieldExpression")};k.parseAwait=function(t){if(!this.awaitPos)this.awaitPos=this.start;var r=this.startNode();return this.next(),r.argument=this.parseMaybeUnary(null,!0,!1,t),this.finishNode(r,"AwaitExpression")};var st=i.prototype;st.raise=function(t,r){var o=Bt(this.input,t);if(r+=" ("+o.line+":"+o.column+")",this.sourceFile)r+=" in "+this.sourceFile;var u=SyntaxError(r);throw u.pos=t,u.loc=o,u.raisedAt=this.pos,u};st.raiseRecoverable=st.raise;st.curPosition=function(){if(this.options.locations)return new H(this.curLine,this.pos-this.lineStart)};var B=i.prototype,we=function(r){this.flags=r,this.var=[],this.lexical=[],this.functions=[]};B.enterScope=function(t){this.scopeStack.push(new we(t))};B.exitScope=function(){this.scopeStack.pop()};B.treatFunctionsAsVarInScope=function(t){return t.flags&D||!this.inModule&&t.flags&M};B.declareName=function(t,r,o){var u=!1;if(r===F){var p=this.currentScope();if(u=p.lexical.indexOf(t)>-1||p.functions.indexOf(t)>-1||p.var.indexOf(t)>-1,p.lexical.push(t),this.inModule&&p.flags&M)delete this.undefinedExports[t]}else if(r===zt){var n=this.currentScope();n.lexical.push(t)}else if(r===jt){var h=this.currentScope();if(this.treatFunctionsAsVar)u=h.lexical.indexOf(t)>-1;else u=h.lexical.indexOf(t)>-1||h.var.indexOf(t)>-1;h.functions.push(t)}else for(var d=this.scopeStack.length-1;d>=0;--d){var l=this.scopeStack[d];if(l.lexical.indexOf(t)>-1&&!(l.flags&Dt&&l.lexical[0]===t)||!this.treatFunctionsAsVarInScope(l)&&l.functions.indexOf(t)>-1){u=!0;break}if(l.var.push(t),this.inModule&&l.flags&M)delete this.undefinedExports[t];if(l.flags&nt)break}if(u)this.raiseRecoverable(o,"Identifier '"+t+"' has already been declared")};B.checkLocalExport=function(t){if(this.scopeStack[0].lexical.indexOf(t.name)===-1&&this.scopeStack[0].var.indexOf(t.name)===-1)this.undefinedExports[t.name]=t};B.currentScope=function(){return this.scopeStack[this.scopeStack.length-1]};B.currentVarScope=function(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t];if(r.flags&(nt|Q|q))return r}};B.currentThisScope=function(){for(var t=this.scopeStack.length-1;;t--){var r=this.scopeStack[t];if(r.flags&(nt|Q|q)&&!(r.flags&bt))return r}};var ht=function(r,o,u){if(this.type="",this.start=o,this.end=0,r.options.locations)this.loc=new at(r,u);if(r.options.directSourceFile)this.sourceFile=r.options.directSourceFile;if(r.options.ranges)this.range=[o,0]},Y=i.prototype;Y.startNode=function(){return new ht(this,this.start,this.startLoc)};Y.startNodeAt=function(t,r){return new ht(this,t,r)};function Gt(t,r,o,u){if(t.type=r,t.end=o,this.options.locations)t.loc.end=u;if(this.options.ranges)t.range[1]=o;return t}Y.finishNode=function(t,r){return Gt.call(this,t,r,this.lastTokEnd,this.lastTokEndLoc)};Y.finishNodeAt=function(t,r,o,u){return Gt.call(this,t,r,o,u)};Y.copyNode=function(t){var r=new ht(this,t.start,this.startLoc);for(var o in t)r[o]=t[o];return r};var Qt=function(){};Qt.prototype.reset=function(){};i.prototype.validateRegExpFlags=function(){};i.prototype.validateRegExpPattern=function(){};var St=function(r){if(this.type=r.type,this.value=r.value,this.start=r.start,this.end=r.end,r.options.locations)this.loc=new at(r,r.startLoc,r.endLoc);if(r.options.ranges)this.range=[r.start,r.end]},g=i.prototype;g.next=function(t){if(!t&&this.type.keyword&&this.containsEsc)this.raiseRecoverable(this.start,"Escape sequence in keyword "+this.type.keyword);if(this.options.onToken)this.options.onToken(new St(this));this.lastTokEnd=this.end,this.lastTokStart=this.start,this.lastTokEndLoc=this.endLoc,this.lastTokStartLoc=this.startLoc,this.nextToken()};g.getToken=function(){return this.next(),new St(this)};if(typeof Symbol<"u")g[Symbol.iterator]=function(){var t=this;return{next:function(){var r=t.getToken();return{done:r.type===e.eof,value:r}}}};g.nextToken=function(){var t=this.curContext();if(!t||!t.preserveSpace)this.skipSpace();if(this.start=this.pos,this.options.locations)this.startLoc=this.curPosition();if(this.pos>=this.input.length)return this.finishToken(e.eof);if(t.override)return t.override(this);else this.readToken(this.fullCharCodeAtPos())};g.readToken=function(t){if(s(t,this.options.ecmaVersion>=6)||t===92)return this.readWord();return this.getTokenFromCode(t)};g.fullCharCodeAt=function(t){var r=this.input.charCodeAt(t);if(r<=55295||r>=56320)return r;var o=this.input.charCodeAt(t+1);return o<=56319||o>=57344?r:(r<<10)+o-56613888};g.fullCharCodeAtPos=function(){return this.fullCharCodeAt(this.pos)};g.skipBlockComment=function(){var t=this.options.onComment&&this.curPosition(),r=this.pos,o=this.input.indexOf("*/",this.pos+=2);if(o===-1)this.raise(this.pos-2,"Unterminated comment");if(this.pos=o+2,this.options.locations)for(var u=void 0,p=r;(u=Vt(this.input,p,this.pos))>-1;)++this.curLine,p=this.lineStart=u;if(this.options.onComment)this.options.onComment(!0,this.input.slice(r+2,o),r,this.pos,t,this.curPosition())};g.skipLineComment=function(t){var r=this.pos,o=this.options.onComment&&this.curPosition(),u=this.input.charCodeAt(this.pos+=t);while(this.pos<this.input.length&&!z(u))u=this.input.charCodeAt(++this.pos);if(this.options.onComment)this.options.onComment(!1,this.input.slice(r+t,this.pos),r,this.pos,o,this.curPosition())};g.skipSpace=function(){t:while(this.pos<this.input.length){var t=this.input.charCodeAt(this.pos);switch(t){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(t>8&&t<14||t>=5760&&Ot.test(String.fromCharCode(t)))++this.pos;else break t}}};g.finishToken=function(t,r){if(this.end=this.pos,this.options.locations)this.endLoc=this.curPosition();var o=this.type;this.type=t,this.value=r,this.updateContext(o)};g.readToken_dot=function(){var t=this.input.charCodeAt(this.pos+1);if(t>=48&&t<=57)return this.readNumber(!0);var r=this.input.charCodeAt(this.pos+2);if(this.options.ecmaVersion>=6&&t===46&&r===46)return this.pos+=3,this.finishToken(e.ellipsis);else return++this.pos,this.finishToken(e.dot)};g.readToken_slash=function(){var t=this.input.charCodeAt(this.pos+1);if(this.exprAllowed)return++this.pos,this.readRegexp();if(t===61)return this.finishOp(e.assign,2);return this.finishOp(e.slash,1)};g.readToken_mult_modulo_exp=function(t){var r=this.input.charCodeAt(this.pos+1),o=1,u=t===42?e.star:e.modulo;if(this.options.ecmaVersion>=7&&t===42&&r===42)++o,u=e.starstar,r=this.input.charCodeAt(this.pos+2);if(r===61)return this.finishOp(e.assign,o+1);return this.finishOp(u,o)};g.readToken_pipe_amp=function(t){var r=this.input.charCodeAt(this.pos+1);if(r===t){if(this.options.ecmaVersion>=12){var o=this.input.charCodeAt(this.pos+2);if(o===61)return this.finishOp(e.assign,3)}return this.finishOp(t===124?e.logicalOR:e.logicalAND,2)}if(r===61)return this.finishOp(e.assign,2);return this.finishOp(t===124?e.bitwiseOR:e.bitwiseAND,1)};g.readToken_caret=function(){var t=this.input.charCodeAt(this.pos+1);if(t===61)return this.finishOp(e.assign,2);return this.finishOp(e.bitwiseXOR,1)};g.readToken_plus_min=function(t){var r=this.input.charCodeAt(this.pos+1);if(r===t){if(r===45&&!this.inModule&&this.input.charCodeAt(this.pos+2)===62&&(this.lastTokEnd===0||I.test(this.input.slice(this.lastTokEnd,this.pos))))return this.skipLineComment(3),this.skipSpace(),this.nextToken();return this.finishOp(e.incDec,2)}if(r===61)return this.finishOp(e.assign,2);return this.finishOp(e.plusMin,1)};g.readToken_lt_gt=function(t){var r=this.input.charCodeAt(this.pos+1),o=1;if(r===t){if(o=t===62&&this.input.charCodeAt(this.pos+2)===62?3:2,this.input.charCodeAt(this.pos+o)===61)return this.finishOp(e.assign,o+1);return this.finishOp(e.bitShift,o)}if(r===33&&t===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(r===61)o=2;return this.finishOp(e.relational,o)};g.readToken_eq_excl=function(t){var r=this.input.charCodeAt(this.pos+1);if(r===61)return this.finishOp(e.equality,this.input.charCodeAt(this.pos+2)===61?3:2);if(t===61&&r===62&&this.options.ecmaVersion>=6)return this.pos+=2,this.finishToken(e.arrow);return this.finishOp(t===61?e.eq:e.prefix,1)};g.readToken_question=function(){var t=this.options.ecmaVersion;if(t>=11){var r=this.input.charCodeAt(this.pos+1);if(r===46){var o=this.input.charCodeAt(this.pos+2);if(o<48||o>57)return this.finishOp(e.questionDot,2)}if(r===63){if(t>=12){var u=this.input.charCodeAt(this.pos+2);if(u===61)return this.finishOp(e.assign,3)}return this.finishOp(e.coalesce,2)}}return this.finishOp(e.question,1)};g.readToken_numberSign=function(){var t=this.options.ecmaVersion,r=35;if(t>=13){if(++this.pos,r=this.fullCharCodeAtPos(),s(r,!0)||r===92)return this.finishToken(e.privateId,this.readWord1())}this.raise(this.pos,"Unexpected character '"+it(r)+"'")};g.getTokenFromCode=function(t){switch(t){case 46:return this.readToken_dot();case 40:return++this.pos,this.finishToken(e.parenL);case 41:return++this.pos,this.finishToken(e.parenR);case 59:return++this.pos,this.finishToken(e.semi);case 44:return++this.pos,this.finishToken(e.comma);case 91:return++this.pos,this.finishToken(e.bracketL);case 93:return++this.pos,this.finishToken(e.bracketR);case 123:return++this.pos,this.finishToken(e.braceL);case 125:return++this.pos,this.finishToken(e.braceR);case 58:return++this.pos,this.finishToken(e.colon);case 96:if(this.options.ecmaVersion<6)break;return++this.pos,this.finishToken(e.backQuote);case 48:var r=this.input.charCodeAt(this.pos+1);if(r===120||r===88)return this.readRadixNumber(16);if(this.options.ecmaVersion>=6){if(r===111||r===79)return this.readRadixNumber(8);if(r===98||r===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(t);case 47:return this.readToken_slash();case 37:case 42:return this.readToken_mult_modulo_exp(t);case 124:case 38:return this.readToken_pipe_amp(t);case 94:return this.readToken_caret();case 43:case 45:return this.readToken_plus_min(t);case 60:case 62:return this.readToken_lt_gt(t);case 61:case 33:return this.readToken_eq_excl(t);case 63:return this.readToken_question();case 126:return this.finishOp(e.prefix,1);case 35:return this.readToken_numberSign()}this.raise(this.pos,"Unexpected character '"+it(t)+"'")};g.finishOp=function(t,r){var o=this.input.slice(this.pos,this.pos+r);return this.pos+=r,this.finishToken(t,o)};g.readRegexp=function(){var t,r,o=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(o,"Unterminated regular expression");var u=this.input.charAt(this.pos);if(I.test(u))this.raise(o,"Unterminated regular expression");if(!t){if(u==="[")r=!0;else if(u==="]"&&r)r=!1;else if(u==="/"&&!r)break;t=u==="\\"}else t=!1;++this.pos}var p=this.input.slice(o,this.pos);++this.pos;var n=this.pos,h=this.readWord1();if(this.containsEsc)this.unexpected(n);var d=this.regexpState||(this.regexpState=new Qt(this));d.reset(o,p,h),this.validateRegExpFlags(d),this.validateRegExpPattern(d);var l=null;try{l=new RegExp(p,h)}catch(m){}return this.finishToken(e.regexp,{pattern:p,flags:h,value:l})};g.readInt=function(t,r,o){var u=this.options.ecmaVersion>=12&&r===void 0,p=o&&this.input.charCodeAt(this.pos)===48,n=this.pos,h=0,d=0;for(var l=0,m=r==null?1/0:r;l<m;++l,++this.pos){var y=this.input.charCodeAt(this.pos),x=void 0;if(u&&y===95){if(p)this.raiseRecoverable(this.pos,"Numeric separator is not allowed in legacy octal numeric literals");if(d===95)this.raiseRecoverable(this.pos,"Numeric separator must be exactly one underscore");if(l===0)this.raiseRecoverable(this.pos,"Numeric separator is not allowed at the first of digits");d=y;continue}if(y>=97)x=y-97+10;else if(y>=65)x=y-65+10;else if(y>=48&&y<=57)x=y-48;else x=1/0;if(x>=t)break;d=y,h=h*t+x}if(u&&d===95)this.raiseRecoverable(this.pos-1,"Numeric separator is not allowed at the last of digits");if(this.pos===n||r!=null&&this.pos-n!==r)return null;return h};function Ae(t,r){if(r)return parseInt(t,8);return parseFloat(t.replace(/_/g,""))}function Yt(t){if(typeof BigInt!=="function")return null;return BigInt(t.replace(/_/g,""))}g.readRadixNumber=function(t){var r=this.pos;this.pos+=2;var o=this.readInt(t);if(o==null)this.raise(this.start+2,"Expected number in radix "+t);if(this.options.ecmaVersion>=11&&this.input.charCodeAt(this.pos)===110)o=Yt(this.input.slice(r,this.pos)),++this.pos;else if(s(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(e.num,o)};g.readNumber=function(t){var r=this.pos;if(!t&&this.readInt(10,void 0,!0)===null)this.raise(r,"Invalid number");var o=this.pos-r>=2&&this.input.charCodeAt(r)===48;if(o&&this.strict)this.raise(r,"Invalid number");var u=this.input.charCodeAt(this.pos);if(!o&&!t&&this.options.ecmaVersion>=11&&u===110){var p=Yt(this.input.slice(r,this.pos));if(++this.pos,s(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");return this.finishToken(e.num,p)}if(o&&/[89]/.test(this.input.slice(r,this.pos)))o=!1;if(u===46&&!o)++this.pos,this.readInt(10),u=this.input.charCodeAt(this.pos);if((u===69||u===101)&&!o){if(u=this.input.charCodeAt(++this.pos),u===43||u===45)++this.pos;if(this.readInt(10)===null)this.raise(r,"Invalid number")}if(s(this.fullCharCodeAtPos()))this.raise(this.pos,"Identifier directly after number");var n=Ae(this.input.slice(r,this.pos),o);return this.finishToken(e.num,n)};g.readCodePoint=function(){var t=this.input.charCodeAt(this.pos),r;if(t===123){if(this.options.ecmaVersion<6)this.unexpected();var o=++this.pos;if(r=this.readHexChar(this.input.indexOf("}",this.pos)-this.pos),++this.pos,r>1114111)this.invalidStringToken(o,"Code point out of bounds")}else r=this.readHexChar(4);return r};g.readString=function(t){var r="",o=++this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated string constant");var u=this.input.charCodeAt(this.pos);if(u===t)break;if(u===92)r+=this.input.slice(o,this.pos),r+=this.readEscapedChar(!1),o=this.pos;else if(u===8232||u===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(z(u))this.raise(this.start,"Unterminated string constant");++this.pos}}return r+=this.input.slice(o,this.pos++),this.finishToken(e.string,r)};var Xt={};g.tryReadTemplateToken=function(){this.inTemplateElement=!0;try{this.readTmplToken()}catch(t){if(t===Xt)this.readInvalidTemplateToken();else throw t}this.inTemplateElement=!1};g.invalidStringToken=function(t,r){if(this.inTemplateElement&&this.options.ecmaVersion>=9)throw Xt;else this.raise(t,r)};g.readTmplToken=function(){var t="",r=this.pos;for(;;){if(this.pos>=this.input.length)this.raise(this.start,"Unterminated template");var o=this.input.charCodeAt(this.pos);if(o===96||o===36&&this.input.charCodeAt(this.pos+1)===123){if(this.pos===this.start&&(this.type===e.template||this.type===e.invalidTemplate))if(o===36)return this.pos+=2,this.finishToken(e.dollarBraceL);else return++this.pos,this.finishToken(e.backQuote);return t+=this.input.slice(r,this.pos),this.finishToken(e.template,t)}if(o===92)t+=this.input.slice(r,this.pos),t+=this.readEscapedChar(!0),r=this.pos;else if(z(o)){switch(t+=this.input.slice(r,this.pos),++this.pos,o){case 13:if(this.input.charCodeAt(this.pos)===10)++this.pos;case 10:t+=`
|
|
6
|
-
`;break;default:t+=String.fromCharCode(o);break}if(this.options.locations)++this.curLine,this.lineStart=this.pos;r=this.pos}else++this.pos}};g.readInvalidTemplateToken=function(){for(;this.pos<this.input.length;this.pos++)switch(this.input[this.pos]){case"\\":++this.pos;break;case"$":if(this.input[this.pos+1]!=="{")break;case"`":return this.finishToken(e.invalidTemplate,this.input.slice(this.start,this.pos));case"\r":if(this.input[this.pos+1]===`
|
|
7
|
-
`)++this.pos;case`
|
|
8
|
-
`:case"\u2028":case"\u2029":++this.curLine,this.lineStart=this.pos+1;break}this.raise(this.start,"Unterminated template")};g.readEscapedChar=function(t){var r=this.input.charCodeAt(++this.pos);switch(++this.pos,r){case 110:return`
|
|
9
|
-
`;case 114:return"\r";case 120:return String.fromCharCode(this.readHexChar(2));case 117:return it(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(t){var o=this.pos-1;this.invalidStringToken(o,"Invalid escape sequence in template string")}default:if(r>=48&&r<=55){var u=this.input.substr(this.pos-1,3).match(/^[0-7]+/)[0],p=parseInt(u,8);if(p>255)u=u.slice(0,-1),p=parseInt(u,8);if(this.pos+=u.length-1,r=this.input.charCodeAt(this.pos),(u!=="0"||r===56||r===57)&&(this.strict||t))this.invalidStringToken(this.pos-1-u.length,t?"Octal literal in template string":"Octal literal in strict mode");return String.fromCharCode(p)}if(z(r)){if(this.options.locations)this.lineStart=this.pos,++this.curLine;return""}return String.fromCharCode(r)}};g.readHexChar=function(t){var r=this.pos,o=this.readInt(16,t);if(o===null)this.invalidStringToken(r,"Bad character escape sequence");return o};g.readWord1=function(){this.containsEsc=!1;var t="",r=!0,o=this.pos,u=this.options.ecmaVersion>=6;while(this.pos<this.input.length){var p=this.fullCharCodeAtPos();if(a(p,u))this.pos+=p<=65535?1:2;else if(p===92){this.containsEsc=!0,t+=this.input.slice(o,this.pos);var n=this.pos;if(this.input.charCodeAt(++this.pos)!==117)this.invalidStringToken(this.pos,"Expecting Unicode escape sequence \\uXXXX");++this.pos;var h=this.readCodePoint();if(!(r?s:a)(h,u))this.invalidStringToken(n,"Invalid Unicode escape");t+=it(h),o=this.pos}else break;r=!1}return t+this.input.slice(o,this.pos)};g.readWord=function(){var t=this.readWord1(),r=e.name;if(this.keywords.test(t))r=c[t];return this.finishToken(r,t)};var Ne="8.18.0";i.acorn={Parser:i,version:Ne,defaultOptions:dt,Position:H,SourceLocation:at,getLineInfo:Bt,Node:ht,TokenType:w,tokTypes:e,keywordTypes:c,TokContext:O,tokContexts:N,isIdentifierChar:a,isIdentifierStart:s,Token:St,isNewLine:z,lineBreak:I,lineBreakG:le,nonASCIIwhitespace:Ot};var wt=/(?:\s|\/\/.*|\/\*[\s\S]*?\*\/)*/g,Ce=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"]]),Te=new Set("public private protected readonly declare abstract override static accessor".split(" ")),Ee=new Set("public private protected readonly override".split(" ")),$e=new Set("var let const function class abstract enum interface type namespace module global".split(" ")),Pe=new Set("var let const function class interface enum".split(" ")),Jt=new Set(["TSAsExpression","TSSatisfiesExpression","TSNonNullExpression","TSTypeAssertion"]),Zt=1,Ie=32,Le=256,_e=0,Re=1,X=2,Ve=3,Oe=4,At=6,te=7,ne=256,Et=1024,Fe=8|Et,Be=X|ne,ee=1,Me=2,se=40,De=41,qe=44,ie=46,ae=58,ut=61,re=60,ct=123,Ue=91,Nt=42,je=35,Ct=34,Tt=39,ze=SyntaxError("speculative parse failed");function f(t){let r=t,o=r.acorn.tokTypes,u=new r.acorn.TokenType("@");class p extends r{inType=!1;$5=!1;$6=!1;$8=null;$o=null;$p=!1;$q=!1;$i=null;$b=[[]];$r=0;$13=0;constructor(n,h,d){super(n,h,d);let l=this.options.onComment;if(typeof l==="function")this.options.onComment=(m,y,x,v,C,A)=>{if(x<this.$13)return;this.$13=v,l.call(this,m,y,x,v,C,A)}}getTokenFromCode(n){if(n===64)return++this.pos,this.finishToken(u);return super.getTokenFromCode(n)}readToken_lt_gt(n){if(this.inType)return this.finishOp(o.relational,1);return super.readToken_lt_gt(n)}$9(n){let h=this.inType;this.inType=!0;let d=n();if(this.inType=h,!h&&this.type===o.relational)this.pos=this.start,this.nextToken();return d}$1(){return this.type===o.relational&&this.value==="<"}$k(){if(this.type===o.bitShift&&this.value==="<<")this.pos=this.start+1,this.finishToken(o.relational,"<");return this.$1()}$c(){return this.type===o.relational&&this.value===">"}$s(){return this.type===o.prefix&&this.value==="!"}hasPrecedingLineBreak(){return this.$14(this.lastTokEnd,this.start)}$14(n,h){for(let d=n;d<h;d++){let l=this.input.charCodeAt(d);if(l===10||l===13||l===8232||l===8233)return!0}return!1}$d(n=this.pos){return wt.lastIndex=n,wt.exec(this.input),wt.lastIndex}$2(){return this.input.charCodeAt(this.$d())}$3(){let n=this.$d(),h=n;while(h<this.input.length&&a(this.input.charCodeAt(h)))h++;return this.input.slice(n,h)}$a(){return!this.$14(this.pos,this.$d())}$15(){return this.$a()&&s(this.$2())&&!Object.hasOwn(c,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(n){this.pos=n.pos,this.type=n.type,this.value=n.value,this.start=n.start,this.end=n.end,this.startLoc=n.startLoc,this.endLoc=n.endLoc,this.lastTokStart=n.lastTokStart,this.lastTokEnd=n.lastTokEnd,this.lastTokStartLoc=n.lastTokStartLoc,this.lastTokEndLoc=n.lastTokEndLoc,this.curLine=n.curLine,this.lineStart=n.lineStart,this.context=n.context,this.exprAllowed=n.exprAllowed,this.containsEsc=n.containsEsc,this.inType=n.inType,this.$5=n.$5,this.$6=n.$6,this.$8=n.$8,this.scopeStack.length=n.scopes,this.privateNameStack.length=n.privateNames,this.labels=n.labels,this.labels.length=n.labelCount,this.strict=n.strict,this.yieldPos=n.yieldPos,this.awaitPos=n.awaitPos,this.awaitIdentPos=n.awaitIdentPos,this.potentialArrowAt=n.potentialArrowAt,this.potentialArrowInForAwait=n.potentialArrowInForAwait}raise(n,h){if(this.$r>0)throw ze;return super.raise(n,h)}$1z(n,h){try{super.raise(n,h)}catch(d){throw d.$t=!0,d}throw Error("unreachable")}$f(n,h=!1){let d=this.$16();this.$r++;try{let l=n();if(h||l===void 0)this.$17(d);return l}catch(l){if(!(l instanceof SyntaxError)||!h&&l.$t)throw l;this.$17(d);return}finally{this.$r--}}$u(n){return this.$f(n,!0)===!0}$18(n){if(n.end=this.lastTokEnd,this.options.locations)n.loc.end=this.lastTokEndLoc}$l(n,h){if(n.start=h.start,this.options.locations)n.loc.start=h.loc.start}$4(n=!1){let h=this.startNode();return h.typeAnnotation=this.$9(()=>(this.next(),n?this.$20():this.$0())),this.finishNode(h,"TSTypeAnnotation")}$g(n,h){if(h&&this.eat(o.question))n.optional=!0,this.$18(n);if(this.type===o.colon)n.typeAnnotation=this.$4(),this.$18(n);return n}$20(){if(this.type!==o.name&&this.type!==o._this)return this.$0();if(this.isContextual("asserts")&&this.$a()&&s(this.$2())){let n=this.startNode();if(this.next(),n.parameterName=this.type===o._this?this.$v():this.parseIdent(),this.isContextual("is")&&!this.hasPrecedingLineBreak())return this.$w(n,!0);return n.asserts=!0,n.typeAnnotation=null,this.finishNode(n,"TSTypePredicate")}if(this.$3()==="is"&&this.$a()){let n=this.startNode();return n.parameterName=this.type===o._this?this.$v():this.parseIdent(!0),this.$w(n,!1)}return this.$0()}$w(n,h){this.next();let d=this.startNode();return d.typeAnnotation=this.$0(),n.typeAnnotation=this.finishNode(d,"TSTypeAnnotation"),n.asserts=h,this.finishNode(n,"TSTypePredicate")}$v(){let n=this.startNode();return this.next(),this.finishNode(n,"TSThisType")}parseWholeType(){this.inType=!0,this.nextToken();let n=this.$0();if(this.type!==o.eof)this.unexpected();return n}$0(){let n=this.$19();if(this.$5||this.type!==o._extends||this.hasPrecedingLineBreak())return n;let h=this.startNodeAt(n.start,n.loc?.start);return this.next(),h.checkType=n,h.extendsType=this.$h(!0,()=>this.$19()),this.expect(o.question),h.trueType=this.$h(!1,()=>this.$0()),this.expect(o.colon),h.falseType=this.$h(!1,()=>this.$0()),this.finishNode(h,"TSConditionalType")}$h(n,h){let d=this.$5;this.$5=n;let l=h();return this.$5=d,l}$19(){if(this.$21())return this.$1a("TSFunctionType");if(this.type===o._new||this.isContextual("abstract")&&this.$3()==="new")return this.$1a("TSConstructorType");return this.$1b("TSUnionType",o.bitwiseOR,()=>this.$1b("TSIntersectionType",o.bitwiseAND,()=>this.$1c()))}$1a(n){let h=this.startNode();if(n==="TSConstructorType"){if(h.abstract=this.isContextual("abstract"),h.abstract)this.next();this.next()}return this.$h(!1,()=>this.$m(h,o.arrow)),this.finishNode(h,n)}$m(n,h){if(this.$1())n.typeParameters=this.$7();if(this.expect(o.parenL),n.parameters=this.parseBindingList(o.parenR,!1,!0),this.type===h)n.typeAnnotation=this.$4(!0);else if(h===o.arrow)this.unexpected()}$21(){if(this.$1())return!0;if(this.type!==o.parenL)return!1;return this.$u(()=>{if(this.next(),this.type===o.parenR||this.type===o.ellipsis)return!0;if(this.type===o.name||this.type===o._this)this.next();else if(this.type===o.braceL||this.type===o.bracketL)this.parseBindingAtom();else return!1;let n=this.type;if(n===o.colon||n===o.comma||n===o.question||n===o.eq)return!0;if(n!==o.parenR)return!1;return this.next(),this.type===o.arrow})}$1b(n,h,d){let l=this.startNode(),m=this.eat(h),y=[];do y.push(d());while(this.eat(h));if(y.length===1&&!m)return y[0];return l.types=y,this.finishNode(l,n)}$1c(){if(this.type===o.name&&!this.containsEsc){let n=this.value;if(n==="keyof"||n==="unique"||n==="readonly"){let h=this.startNode();return this.next(),h.operator=n,h.typeAnnotation=this.$1c(),this.finishNode(h,"TSTypeOperator")}if(n==="infer"){let h=this.startNode();this.next();let d=this.startNode();d.name=this.$x();let l=this.$f(()=>this.$22());if(l)d.constraint=l;return h.typeParameter=this.finishNode(d,"TSTypeParameter"),this.finishNode(h,"TSInferType")}}return this.$h(!1,()=>this.$23())}$22(){if(!this.eat(o._extends))return;let n=this.$h(!0,()=>this.$0());if(this.$5||this.type!==o.question)return n;return}$x(){if(this.type!==o.name&&!this.type.keyword)this.unexpected();let n=this.type===o.name?this.value:this.type.keyword;return this.next(),n}$23(){let n=this.$24();while(!this.hasPrecedingLineBreak()&&this.eat(o.bracketL)){let h=this.startNodeAt(n.start,n.loc?.start);if(this.eat(o.bracketR))h.elementType=n,n=this.finishNode(h,"TSArrayType");else h.objectType=n,h.indexType=this.$0(),this.expect(o.bracketR),n=this.finishNode(h,"TSIndexedAccessType")}return n}$24(){switch(this.type){case o.name:case o._void:case o._null:{let n=Ce.get(this.value);if(n&&(this.type!==o.name||!this.containsEsc&&this.$2()!==ie)){let h=this.startNode();return this.next(),this.finishNode(h,n)}return this.$1d()}case o.string:case o.num:case o._true:case o._false:{let n=this.startNode();return n.literal=this.parseExprAtom(),this.finishNode(n,"TSLiteralType")}case o.plusMin:{if(this.value!=="-")break;let n=this.startNode(),h=this.startNode();if(this.next(),this.type!==o.num)this.unexpected();return h.operator="-",h.prefix=!0,h.argument=this.parseExprAtom(),n.literal=this.finishNode(h,"UnaryExpression"),this.finishNode(n,"TSLiteralType")}case o.backQuote:return this.$25();case o._this:{let n=this.$v();if(this.isContextual("is")&&!this.hasPrecedingLineBreak()){let h=this.startNodeAt(n.start,n.loc?.start);return h.parameterName=n,this.$w(h,!1)}return n}case o._typeof:return this.$26();case o._import:return this.$1e();case o.braceL:return this.$27()?this.$28():this.$29();case o.bracketL:return this.$2a();case o.parenL:{let n=this.startNode();return this.next(),n.typeAnnotation=this.$0(),this.expect(o.parenR),this.finishNode(n,"TSParenthesizedType")}default:if(this.type.keyword)return this.$1d()}return this.unexpected()}$1d(){let n=this.startNode();if(n.typeName=this.$j(),!this.hasPrecedingLineBreak()&&this.$1())n.typeArguments=this.$e();return this.finishNode(n,"TSTypeReference")}$j(){let n=this.parseIdent(!0);while(this.eat(o.dot)){let h=this.startNodeAt(n.start,n.loc?.start);h.left=n,h.right=this.parseIdent(!0),n=this.finishNode(h,"TSQualifiedName")}return n}$26(){let n=this.startNode();if(this.next(),n.exprName=this.type===o._import?this.$1e():this.$j(),!this.hasPrecedingLineBreak()&&this.$1())n.typeArguments=this.$e();return this.finishNode(n,"TSTypeQuery")}$1e(){let n=this.startNode();if(this.next(),n.argument=this.$1f(),this.eat(o.dot))n.qualifier=this.$j();if(this.$1())n.typeArguments=this.$e();return this.finishNode(n,"TSImportType")}$y(){if(this.type!==o.string)this.unexpected();return this.parseExprAtom()}$1f(){this.expect(o.parenL);let n=this.$y();return this.expect(o.parenR),n}$25(){let n=this.startNode(),h=this.startNode();this.next(),h.expressions=[];let d=this.parseTemplateElement({isTagged:!1});h.quasis=[d];while(!d.tail){if(this.type===o.eof)this.raise(this.pos,"Unterminated template literal");this.expect(o.dollarBraceL),h.expressions.push(this.$0()),this.expect(o.braceR),d=this.parseTemplateElement({isTagged:!1}),h.quasis.push(d)}return this.next(),n.literal=this.finishNode(h,"TemplateLiteral"),this.finishNode(n,"TSLiteralType")}$27(){return this.$u(()=>{if(this.next(),this.type===o.plusMin)return this.next(),this.isContextual("readonly");if(this.isContextual("readonly"))this.next();if(this.type!==o.bracketL)return!1;if(this.next(),this.type!==o.name)return!1;return this.next(),this.type===o._in})}$28(){let n=this.startNode();if(this.expect(o.braceL),this.type===o.plusMin)n.readonly=this.value,this.next(),this.expectContextual("readonly");else if(this.eatContextual("readonly"))n.readonly=!0;this.expect(o.bracketL);let h=this.startNode();if(h.name=this.$x(),this.expect(o._in),h.constraint=this.$0(),n.typeParameter=this.finishNode(h,"TSTypeParameter"),n.nameType=this.eatContextual("as")?this.$0():null,this.expect(o.bracketR),this.type===o.plusMin)n.optional=this.value,this.next(),this.expect(o.question);else if(this.eat(o.question))n.optional=!0;if(this.eat(o.colon))n.typeAnnotation=this.$0();return this.semicolon(),this.expect(o.braceR),this.finishNode(n,"TSMappedType")}$29(){let n=this.startNode();return n.members=this.$1g(),this.finishNode(n,"TSTypeLiteral")}$1g(){this.expect(o.braceL);let n=[];while(!this.eat(o.braceR))n.push(this.$2b());return n}$2b(){let n=this.startNode(),h="TSPropertySignature",d=this.type===o._new?this.$2():-1;if(this.type===o.parenL||this.$1())h="TSCallSignatureDeclaration",this.$m(n,o.colon);else if(d===se||d===re)h="TSConstructSignatureDeclaration",this.next(),this.$m(n,o.colon);else{let l=this.type===o._new?this.parseIdent(!0):null;if(this.isContextual("readonly")&&this.$n(!0))this.next(),n.readonly=!0;if(this.type===o.bracketL&&this.$1h())return this.$1i(n);let m="method";if(l)n.key=l;else{if((this.isContextual("get")||this.isContextual("set"))&&this.$n(!1))m=this.value,this.next();this.parsePropertyName(n)}if(this.eat(o.question))n.optional=!0;if(this.type===o.parenL||this.$1()){if(h="TSMethodSignature",m!=="method")n.kind=m;this.$m(n,o.colon),n.kind=m}else if(this.type===o.colon)n.typeAnnotation=this.$4()}return this.$1j(),this.finishNode(n,h)}$1j(){if(!this.eat(o.comma))this.semicolon()}$1h(){return this.$u(()=>{if(this.next(),this.type!==o.name)return!1;return this.next(),this.type===o.colon})}$1i(n){if(this.expect(o.bracketL),n.parameters=[this.$g(this.parseIdent(),!1)],this.expect(o.bracketR),this.type===o.colon)n.typeAnnotation=this.$4();return this.$1j(),this.finishNode(n,"TSIndexSignature")}$2a(){let n=this.startNode();this.expect(o.bracketL),n.elementTypes=[];while(!this.eat(o.bracketR))if(n.elementTypes.push(this.$2c()),this.type!==o.bracketR)this.expect(o.comma);return this.finishNode(n,"TSTupleType")}$2c(){let n=this.start,h=this.startLoc,d=this.eat(o.ellipsis),l;if((this.type===o.name||this.type.keyword)&&this.$2d()){let m=this.startNode();m.label=this.parseIdent(!0),m.optional=this.eat(o.question),this.expect(o.colon),m.elementType=this.$0(),l=this.finishNode(m,"TSNamedTupleMember")}else if(l=this.$0(),this.eat(o.question)){let m=this.startNodeAt(l.start,l.loc?.start);m.typeAnnotation=l,l=this.finishNode(m,"TSOptionalType")}if(d){let m=this.startNodeAt(n,h);m.typeAnnotation=l,l=this.finishNode(m,"TSRestType")}return l}$2d(){let n=this.$d();if(this.input.charCodeAt(n)===63)n=this.$d(n+1);return this.input.charCodeAt(n)===ae}$7(){return this.$9(()=>{let n=this.startNode();this.next(),n.params=[];while(!this.$c()){let h=this.startNode();while((this.type===o._const||this.type===o._in||this.isContextual("out"))&&s(this.$2()))h[this.value]=!0,this.next();if(h.name=this.$x(),this.eat(o._extends))h.constraint=this.$0();if(this.eat(o.eq))h.default=this.$0();if(n.params.push(this.finishNode(h,"TSTypeParameter")),!this.$c()){if(this.expect(o.comma),this.$c())n.extra={trailingComma:this.lastTokStart}}}if(this.next(),n.params.length===0)this.$1z(this.start,"Type parameter list cannot be empty.");return this.finishNode(n,"TSTypeParameterDeclaration")})}$e(){return this.$9(()=>{let n=this.startNode();this.next(),n.params=[];while(!this.$c())if(n.params.push(this.$0()),!this.$c())this.expect(o.comma);if(n.params.length===0)this.unexpected();return this.next(),this.finishNode(n,"TSTypeParameterInstantiation")})}$1k(){let n=[];do{let h=this.startNode();if(h.expression=this.$j(),this.$1())h.typeParameters=this.$e();n.push(this.finishNode(h,"TSExpressionWithTypeArguments"))}while(this.eat(o.comma));return n}$1l(n=!1){if(this.type!==o.name||this.containsEsc){if(this.type===o._const&&this.$3()==="enum")return this.$z(this.startNode());return}if(!this.$2e(this.value))return;if(this.value==="declare")return this.$2f(n);return this.$1m(this.startNode(),this.value)}$2e(n){switch(n){case"interface":case"type":case"namespace":return this.$15();case"enum":return s(this.$2());case"abstract":return this.$a()&&this.$3()==="class";case"module":{let h=this.$2();return this.$a()&&(h===Ct||h===Tt||s(h))}case"declare":return this.$a()&&$e.has(this.$3());case"global":return this.$a()&&this.$2()===ct}return!1}$1m(n,h){switch(h){case"interface":return this.$1n(n);case"type":return this.$2g(n);case"enum":return this.$z(n);case"abstract":return this.$1o(n,!0);case"global":return n.global=!0,n.id=this.parseIdent(),n.body=this.$10(),this.finishNode(n,"TSModuleDeclaration")}return this.$2h(n)}$2f(n){let h=this.$6;this.$6=!0;let d=this.startNode();this.next();let l=this.value;if(l==="const"&&this.$3()==="enum")d.const=!0;if(!n&&Pe.has(l))d.declare=!0;let m;if(d.const)m=this.$z(d);else if(l==="var"||l==="let"||l==="const")m=this.parseVarStatement(d,l,!0);else if(l==="function")this.next(),m=this.parseFunction(d,ee,!1,!1);else if(l==="class")m=this.parseClass(d,!0);else m=this.$1m(d,l);return m.declare=!0,this.$6=h,m}$1o(n,h){return this.next(),n.abstract=!0,this.parseClass(n,h)}$1n(n){if(this.next(),n.id=this.parseIdent(),this.checkLValSimple(n.id,te),this.$1())n.typeParameters=this.$7();return this.$9(()=>{if(this.eat(o._extends))n.extends=this.$1k();let h=this.startNode();h.body=this.$1g(),n.body=this.finishNode(h,"TSInterfaceBody")}),this.finishNode(n,"TSInterfaceDeclaration")}$2g(n){if(this.next(),n.id=this.parseIdent(),this.checkLValSimple(n.id,At),this.$1())n.typeParameters=this.$7();return n.typeAnnotation=this.$9(()=>(this.expect(o.eq),this.$0())),this.semicolon(),this.finishNode(n,"TSTypeAliasDeclaration")}$z(n){if(this.type===o._const)n.const=!0,this.next();this.next(),n.id=this.parseIdent(),this.checkLValSimple(n.id,Be),this.expect(o.braceL),n.members=[];while(!this.eat(o.braceR)){let h=this.startNode();if(h.id=this.type===o.string?this.parseExprAtom():this.parseIdent(!0),this.eat(o.eq))h.initializer=this.parseMaybeAssign();if(n.members.push(this.finishNode(h,"TSEnumMember")),this.type!==o.braceR)this.expect(o.comma)}return this.finishNode(n,"TSEnumDeclaration")}$2h(n){if(this.next(),this.type===o.string){if(n.id=this.parseExprAtom(),this.type===o.braceL)n.body=this.$10();else this.semicolon();return this.finishNode(n,"TSModuleDeclaration")}return n.id=this.parseIdent(),this.checkLValSimple(n.id,Fe),this.$1p(n)}$1p(n){if(this.eat(o.dot)){let h=this.startNode();h.id=this.parseIdent(),n.body=this.$1p(h)}else n.body=this.$10();return this.finishNode(n,"TSModuleDeclaration")}$10(){this.enterScope(Le);let n=this.startNode();this.enterScope(0),this.expect(o.braceL),n.body=[];while(!this.eat(o.braceR))n.body.push(this.parseStatement(null,!0));return this.exitScope(),this.exitScope(),this.finishNode(n,"TSModuleBlock")}$1q(n,h){if(n.isExport=h,n.id=this.parseIdent(),this.checkLValSimple(n.id,X),this.expect(o.eq),this.isContextual("require")&&this.$2()===se){let d=this.startNode();this.next(),d.expression=this.$1f(),n.moduleReference=this.finishNode(d,"TSExternalModuleReference")}else n.moduleReference=this.$j();return this.semicolon(),this.finishNode(n,"TSImportEqualsDeclaration")}$2i(){let n=this.$d();if(this.input.charCodeAt(n)!==ut)return!1;let h=this.input.charCodeAt(n+1);return h!==ut&&h!==62}parseStatement(n,h,d){if(this.type===u)this.$1r(!0);let l=this.$1l();if(l)return l;return super.parseStatement(n,h,d)}parseVarStatement(n,h,d){return super.parseVarStatement(n,h,d||this.$6)}parseVarId(n,h){if(super.parseVarId(n,h),n.id.type==="Identifier"&&this.$s()&&!this.hasPrecedingLineBreak())this.next(),n.definite=!0;this.$g(n.id,!1)}parseCatchClauseParam(){let n=this.$g(this.parseBindingAtom(),!1),h=n.type==="Identifier";return this.enterScope(h?Ie:0),this.checkLValPattern(n,h?Oe:X),this.expect(o.parenR),n}parseImport(n){if(this.next(),n.importKind="value",this.type===o.string)n.specifiers=[],n.source=this.parseExprAtom();else{if(this.isContextual("type")){let h=this.$2();if(h===ct||h===Nt||s(h)&&this.$3()!=="from")n.importKind="type",this.next()}if(this.type===o.name&&this.$2i())return this.$1q(n,!1);n.specifiers=this.parseImportSpecifiers(),this.expectContextual("from"),n.source=this.$y()}return this.$1s(n),this.semicolon(),this.finishNode(n,"ImportDeclaration")}parseWithClause(){if(this.isContextual("assert")&&!this.hasPrecedingLineBreak())this.type=o._with;return this.type===o._with?super.parseWithClause():void 0}$1s(n){let h=this.parseWithClause();if(h)n.attributes=h}parseImportSpecifier(){return this.$1t("importKind",()=>super.parseImportSpecifier())}parseExportSpecifier(n){return this.$1t("exportKind",()=>super.parseExportSpecifier(n))}$1t(n,h){let d=this.isContextual("type")?this.$2():-1;if(d===Ct||d===Tt||s(d)&&this.$3()!=="as"){let m=this.startNode();this.next();let y=h();return this.$l(y,m),y[n]="type",y}let l=h();return l[n]="value",l}parseExport(n,h){if(this.next(),this.eat(o._import)){if(n.importKind="value",this.isContextual("type")&&s(this.$2())&&this.$3()!=="from")n.importKind="type",this.next();return this.$1q(n,!0)}if(this.eat(o.eq))return n.expression=this.parseExpression(),this.semicolon(),this.finishNode(n,"TSExportAssignment");if(this.eatContextual("as"))return this.expectContextual("namespace"),n.id=this.parseIdent(),this.semicolon(),this.finishNode(n,"TSNamespaceExportDeclaration");if(n.exportKind="value",this.isContextual("type")){let m=this.$2();if(m===ct||m===Nt)n.exportKind="type",this.next()}if(this.eat(o.star))return this.parseExportAllDeclaration(n,h);if(this.eat(o._default)){if(this.isContextual("interface")&&this.$15())n.declaration=this.$1n(this.startNode());else if(this.isContextual("abstract")&&this.$3()==="class")n.declaration=this.$1o(this.startNode(),"nullableID");else n.declaration=this.parseExportDefaultDeclaration();return this.finishNode(n,"ExportDefaultDeclaration")}let d=this.isContextual("declare"),l=this.$1l(!0);if(l||this.shouldParseExportStatement()){if(n.declaration=l??this.parseStatement(null),d||n.declaration.type==="TSInterfaceDeclaration"||n.declaration.type==="TSTypeAliasDeclaration")n.exportKind="type";return n.specifiers=[],n.source=null,this.finishNode(n,"ExportNamedDeclaration")}if(n.declaration=null,n.specifiers=this.parseExportSpecifiers(h),this.eatContextual("from"))n.source=this.$y(),this.$1s(n);else{for(let m of n.specifiers)if(this.checkUnreserved(m.local),this.checkLocalExport(m.local),m.local.type==="Literal")this.raise(m.local.start,"A string literal cannot be used as an exported binding without `from`.");n.source=null}return this.semicolon(),this.finishNode(n,"ExportNamedDeclaration")}parseFunction(n,h,d,l,m){let y=hⅇif(y)this.$i=n;super.parseFunction(n,h,d,l,m),this.$i=null;let x=!n.body;if(x)n.type="TSDeclareFunction";if(y&&n.id){if(x){if(this.$6&&this.currentScope().flags&Zt)this.declareName(n.id.name,Et,n.id.start);this.checkLValSimple(n.id,_e)}else if(!(h&Me))this.checkLValSimple(n.id,this.strict||n.generator||n.async?this.treatFunctionsAsVar?Re:X:Ve)}return n}parseFunctionParams(n){if(this.$1())n.typeParameters=this.$7();if(super.parseFunctionParams(n),this.type===o.colon)n.returnType=this.$4(!0)}parseFunctionBody(n,h,d,l){if(d&&this.type===o.colon)n.returnType=this.$4(!0);if(h||this.type===o.braceL){super.parseFunctionBody(n,h,d,l);return}this.semicolon(),this.exitScope()}parseMethod(n,h,d){let l=this.$o;this.$o=null;let m=super.parseMethod(n,h,d);if(!m.body)m.type="TSDeclareMethod";if(l)m.typeParameters=l;return m}parseBindingList(n,h,d,l){let m=l||this.$p;return this.$p=!1,super.parseBindingList(n,h,d,m)}$n(n){if(!n&&!this.$a())return!1;let h=this.$2();return h===Ue||h===ct||h===Nt||h===ie||h===je||h===Ct||h===Tt||h>=48&&h<=57||s(h)}parseAssignableListItem(n){let h=this.$11(),d=this.start,l=this.startLoc,m,y=!1,x=!1;if(n)while(this.type===o.name&&Ee.has(this.value)&&!this.containsEsc&&this.$n(!1)){if(this.value==="readonly")y=!0;else if(this.value==="override")x=!0;else m=this.value;this.next()}let v;if(this.type===o._this)v=this.startNode(),v.name="this",this.next(),this.finishNode(v,"Identifier");else v=this.parseBindingAtom();let C=this.type===o.eq?this.parseMaybeDefault(d,l,v):this.parseMaybeDefault(v.start,v.loc?.start,this.$g(v,!0));if(h.length>0)C.decorators=h;if(!m&&!y&&!x)return C;let A=this.startNodeAt(d,l);if(m)A.accessibility=m;if(y)A.readonly=!0;if(x)A.override=!0;return A.parameter=C,this.finishNode(A,"TSParameterProperty")}parseBindingListItem(n){if(n.type==="RestElement")this.$g(n,!0);return n}checkLValSimple(n,h,d){if(this.$i&&n===this.$i.id){this.$i=null;return}if(!h&&Jt.has(n.type))return this.checkLValSimple(n.expression,h,d);switch(n.type){case"TSParameterProperty":return this.checkLValInnerPattern(n.parameter,h,d);case"Identifier":if(n.name==="this")return}return super.checkLValSimple(n,h,d)}toAssignable(n,h,d){if(n&&!h&&Jt.has(n.type))return n;return super.toAssignable(n,h,d)}declareName(n,h,d){let l=this.currentScope();if(h&Et){this.$1u(l,n),l.$1v??=[],l.$1v.push(n);return}if(h===At||h===te){if(l.$12??=[],h===At&&l.$12.includes(n))this.raise(d,`type '${n}' has already been declared.`);l.$12.push(n),this.$1u(l,n);return}if(h&ne){if(l.$1w??=[],l.$1w.includes(n))return;super.declareName(n,X,d),l.$1w.push(n);return}super.declareName(n,h,d)}$1u(n,h){if(this.inModule&&n.flags&Zt)delete this.undefinedExports[h]}checkLocalExport(n){for(let h=this.scopeStack.length-1;h>=0;h--){let d=this.scopeStack[h];if(d.$12?.includes(n.name)||d.$1v?.includes(n.name))return}super.checkLocalExport(n)}checkExport(){}raiseRecoverable(n,h){if(h==="Duplicate constructor in the same class")return;super.raiseRecoverable(n,h)}$11(){let n=[];while(this.type===u)n.push(this.$1x());return n}$1r(n){let h=this.$b[this.$b.length-1];while(this.type===u)h.push(this.$1x());if(this.type===o._export){if(!n)this.unexpected()}else if(this.type!==o._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 n=this.startNode();this.next(),this.$b.push([]);let h=this.start,d=this.startLoc,l;if(this.type===o.parenL){if(this.next(),l=this.parseExpression(),this.expect(o.parenR),this.options.preserveParens){let y=this.startNodeAt(h,d);y.expression=l,l=this.finishNode(y,"ParenthesizedExpression")}}else{l=this.parseIdent(!1);while(this.eat(o.dot)){let y=this.startNodeAt(h,d);y.object=l,y.property=this.parseIdent(!0),y.computed=!1,l=this.finishNode(y,"MemberExpression")}}let m=this.$k()?this.$e():void 0;if(this.eat(o.parenL)){let y=this.startNodeAt(l.start,l.loc?.start);if(y.callee=l,y.arguments=this.parseExprList(o.parenR,!1,!1),m)y.typeArguments=m;l=this.finishNode(y,"CallExpression")}else if(m){let y=this.startNodeAt(l.start,l.loc?.start);y.expression=l,y.typeArguments=m,l=this.finishNode(y,"TSInstantiationExpression")}return n.expression=l,this.$b.pop(),this.finishNode(n,"Decorator")}shouldParseExportStatement(){return this.type===u||super.shouldParseExportStatement()}parseExprAtom(n,h,d){if(this.type===u)this.$1r(!1);return super.parseExprAtom(n,h,d)}parseProperty(n,h){if(n||this.type!==u)return super.parseProperty(n,h);let d=this.$11(),l=super.parseProperty(n,h);if(l.type==="SpreadElement")this.raise(l.start,"Decorators can't be used with SpreadElement");return l.decorators=d,l}parseClassId(n,h){let d=this.$b.length-1,l=this.$b[d];if(l.length>0)n.decorators=l,this.$l(n,l[0]),this.$b[d]=[];if(!this.isContextual("implements")||h===!0)super.parseClassId(n,h);if(this.$1())n.typeParameters=this.$7()}parseClassSuper(n){if(super.parseClassSuper(n),n.superClass&&this.$1())n.superTypeParameters=this.$e();if(this.eatContextual("implements"))n.implements=this.$9(()=>this.$1k())}parseClassElement(n){if(this.type===u){let x=this.$11();if(this.type===o.braceR)this.raise(this.start,"Decorators must be attached to a class element.");let v=this.parseClassElement(n);return v.decorators=x,this.$l(v,x[0]),v}if(this.eat(o.semi))return null;let h=this.startNode();while(this.type===o.name&&Te.has(this.value)&&!this.containsEsc&&this.$n(this.value==="static")){let x=this.value;if(this.next(),x==="static"&&this.type===o.braceL)return this.next(),this.parseClassStaticBlock(h),h;if(x==="public"||x==="private"||x==="protected")h.accessibility=x;else h[x]=!0}if(this.type===o.bracketL&&this.$1h())return this.$1i(h);h.static??=!1;let d="",l=!1,m=!1,y="method";if(this.eatContextual("async"))if((this.isClassElementNameStart()||this.type===o.star)&&!this.canInsertSemicolon())m=!0;else d="async";if(!d&&this.eat(o.star))l=!0;if(!d&&!m&&!l){let x=this.value;if(this.eatContextual("get")||this.eatContextual("set"))if(this.isClassElementNameStart())y=x;else d=x}if(d)h.computed=!1,h.key=this.startNodeAt(this.lastTokStart,this.lastTokStartLoc),h.key.name=d,this.finishNode(h.key,"Identifier");else this.parseClassElementName(h);if(this.eat(o.question))h.optional=!0;if(this.type===o.parenL||this.$1()||y!=="method"||l||m){let x=h.key,v=!h.static&&!h.computed&&(x.type==="Identifier"&&x.name==="constructor"||x.type==="Literal"&&x.value==="constructor");if(h.kind=v?"constructor":y,this.$1())h.typeParameters=this.$7();this.$p=v,this.parseClassMethod(h,l,m,v&&n)}else{if(!h.optional&&this.$s())this.next(),h.definite=!0;if(this.type===o.colon)h.typeAnnotation=this.$4();this.parseClassField(h)}return h}parseMaybeAssign(n,h,d){if(this.$k()){let l=this.$f(()=>{let m=this.$7(),y=super.parseMaybeAssign(n,h,d);if(y.type!=="ArrowFunctionExpression")return;return y.typeParameters=m,this.$l(y,m),y});if(l)return l}return super.parseMaybeAssign(n,h,d)}parseMaybeUnary(n,h,d,l){if(this.$k()){let m=this.startNode();return m.typeAnnotation=this.$9(()=>{this.next();let y=this.$0();if(!this.$c())this.unexpected();return this.next(),y}),m.expression=this.parseMaybeUnary(null,!1,!1,l),this.finishNode(m,"TSTypeAssertion")}return super.parseMaybeUnary(n,h,d,l)}parseMaybeConditional(n,h){let d=this.start,l=this.startLoc,m=this.parseExprOps(n,h);if(this.checkExpressionErrors(h))return m;if(this.type===o.question&&!(m.type==="ArrowFunctionExpression"&&m.start===d)&&!this.$2j()){this.next();let y=this.startNodeAt(d,l);return y.test=m,y.consequent=this.parseMaybeAssign(),this.expect(o.colon),y.alternate=this.parseMaybeAssign(n),this.finishNode(y,"ConditionalExpression")}return m}$2j(){let n=this.$d(),h=this.input.charCodeAt(n);if(h===ae||h===qe||h===De)return!0;return h===ut&&this.input.charCodeAt(n+1)!==ut}parseParenItem(n){return this.$g(n,!0)}$1y(){if(this.type!==o.colon)return!0;let n=this.$f(()=>{let h=this.$4(!0);return this.type===o.arrow&&!this.canInsertSemicolon()?h:void 0});if(!n)return!1;return this.$8=n,!0}shouldParseArrow(n){return this.$1y()&&super.shouldParseArrow(n)}shouldParseAsyncArrow(){return this.$1y()&&super.shouldParseAsyncArrow()}parseArrowExpression(n,h,d,l){if(this.$8)n.returnType=this.$8,this.$8=null;return super.parseArrowExpression(n,h,d,l)}parseExprList(n,h,d,l){if(!this.$q)return super.parseExprList(n,h,d,l);this.$q=!1;let m=[],y=!0;while(!this.eat(n)){if(y)y=!1;else if(this.expect(o.comma),h&&this.afterTrailingComma(n))break;if(this.type===o.ellipsis){let x=this.parseSpread(l);if(this.eat(o.question))x.optional=!0;if(this.type===o.colon)x.typeAnnotation=this.$4();m.push(x)}else m.push(this.parseMaybeAssign(!1,l,this.parseParenItem))}return m}parseSubscript(n,h,d,l,m,y,x){if(this.$s()&&!this.hasPrecedingLineBreak()){let C=this.startNodeAt(h,d);return this.exprAllowed=!1,this.next(),C.expression=n,this.finishNode(C,"TSNonNullExpression")}if(m&&this.$1()){let C=this.$f(()=>this.$2k(h,d,x));if(C)return C}let v=this.type===o.questionDot&&this.$2()===re;if(this.$1()||v||this.type===o.bitShift&&this.value==="<<"){let C=this.$f(()=>{if(v)this.next();this.$k();let A=this.$e();if(this.type===o.parenL&&!l)return A;if(this.type===o.backQuote)return v?void 0:A;if(v)return;if(this.$c()||this.type===o.bitShift||this.type.startsExpr&&this.type!==o.parenL&&!this.hasPrecedingLineBreak())return;return A});if(C){let A=this.startNodeAt(h,d);if(this.type===o.parenL&&!l){if(this.next(),A.callee=n,A.arguments=this.parseExprList(o.parenR,!0,!1),A.typeArguments=C,v)n.optional=!0;if(v||y)A.optional=v;return this.finishNode(A,"CallExpression")}if(this.type===o.backQuote)return A.tag=n,A.quasi=this.parseTemplate({isTagged:!0}),A.typeArguments=C,this.finishNode(A,"TaggedTemplateExpression");return A.expression=n,A.typeArguments=C,this.finishNode(A,"TSInstantiationExpression")}}if(m&&this.type===o.parenL)this.$q=!0;return super.parseSubscript(n,h,d,l,m,y,x)}$2k(n,h,d){let l=this.startNodeAt(n,h);if(l.typeParameters=this.$7(),this.expect(o.parenL),l.params=this.parseBindingList(o.parenR,!1,!0),this.type===o.colon)l.returnType=this.$4(!0);if(this.type!==o.arrow||this.canInsertSemicolon())return;return this.next(),this.parseArrowExpression(l,l.params,!0,d)}parseDynamicImport(n){if(this.next(),n.source=this.parseMaybeAssign(),this.eat(o.comma)&&this.type!==o.parenR)n.arguments=[this.parseExpression()];return this.expect(o.parenR),this.finishNode(n,"ImportExpression")}parseNew(){let n=super.parseNew();if(n.callee?.type!=="TSInstantiationExpression")return n;let h=this.startNodeAt(n.start,n.loc?.start);return h.callee=n.callee.expression,h.typeArguments=n.callee.typeArguments,h.arguments=n.arguments,this.finishNodeAt(h,"NewExpression",n.end,n.loc?.end)}parseExprOp(n,h,d,l,m){if(o._in.binop>l&&this.type===o.name&&(this.value==="as"||this.value==="satisfies")&&!this.containsEsc&&!this.hasPrecedingLineBreak()){let y=this.value==="satisfies",x=this.startNodeAt(h,d);return x.expression=n,x.typeAnnotation=this.$9(()=>{if(this.next(),!y&&this.type===o._const){let v=this.startNode();return v.typeName=this.parseIdent(!0),this.finishNode(v,"TSTypeReference")}return this.$0()}),this.finishNode(x,y?"TSSatisfiesExpression":"TSAsExpression"),this.parseExprOp(x,h,d,l,m)}return super.parseExprOp(n,h,d,l,m)}parseGetterSetter(n){n.kind=n.key.name,super.parseGetterSetter(n)}parsePropertyValue(n,h,d,l,m,y,x,v){if(!h&&this.$1()){if(this.$o=this.$7(),this.type!==o.parenL)this.unexpected();n.kind="init"}return super.parsePropertyValue(n,h,d,l,m,y,x,v)}}return p}
|
|
10
|
-
export{s,a,c,e,i,f};
|