lingo.dev 0.63.2 → 0.70.1
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/LICENSE.md +201 -0
- package/bin/cli.mjs +3 -1
- package/build/acorn-7GKKTQAZ.mjs +3047 -0
- package/build/acorn-C2XWIPGO.cjs +3047 -0
- package/build/angular-5ISIBFBY.mjs +2794 -0
- package/build/angular-XQHAJDB2.cjs +2794 -0
- package/build/api-7PZYRHW3.mjs +5 -0
- package/build/api-C35FHFLD.cjs +7 -0
- package/build/babel-DSN33ILH.cjs +6946 -0
- package/build/babel-ZNMMF5TX.mjs +6946 -0
- package/build/chunk-2AI774XU.cjs +130086 -0
- package/build/chunk-DAMIL4EZ.mjs +4533 -0
- package/build/chunk-HEBXNMVQ.mjs +48 -0
- package/build/chunk-IKCNLHD5.cjs +4533 -0
- package/build/chunk-L5BCMCQE.cjs +48 -0
- package/build/chunk-MUWDGJF2.mjs +962 -0
- package/build/chunk-XFD3AFWA.mjs +130086 -0
- package/build/chunk-ZXT7SLL5.cjs +962 -0
- package/build/cli.cjs +134752 -0
- package/build/cli.d.cts +3 -0
- package/build/cli.d.ts +3 -0
- package/build/cli.mjs +134745 -0
- package/build/estree-2CSK435T.mjs +4374 -0
- package/build/estree-N7T576SJ.cjs +4374 -0
- package/build/flow-IBTCTNRO.mjs +26897 -0
- package/build/flow-Y3OXWML5.cjs +26897 -0
- package/build/glimmer-FCD5RY7E.mjs +2847 -0
- package/build/glimmer-N5YT5DMK.cjs +2847 -0
- package/build/graphql-4DMZI42L.mjs +1247 -0
- package/build/graphql-GV4OMB3Z.cjs +1247 -0
- package/build/html-RNXFERLB.mjs +2716 -0
- package/build/html-XMA5LP2U.cjs +2716 -0
- package/build/markdown-6BIFNHAV.mjs +3484 -0
- package/build/markdown-LUUZAIEE.cjs +3484 -0
- package/build/meriyah-IV6VMAUC.mjs +2474 -0
- package/build/meriyah-XSJDPEN3.cjs +2474 -0
- package/build/postcss-PDIS5YQZ.cjs +5057 -0
- package/build/postcss-SDQEBDMO.mjs +5057 -0
- package/build/sdk.cjs +8 -0
- package/build/sdk.d.cts +1 -0
- package/build/sdk.d.ts +1 -0
- package/build/sdk.mjs +8 -0
- package/build/spec.cjs +47 -0
- package/build/spec.d.cts +1 -0
- package/build/spec.d.ts +1 -0
- package/build/spec.mjs +47 -0
- package/build/typescript-TT5RRHSS.cjs +13104 -0
- package/build/typescript-U5HXARXA.mjs +13104 -0
- package/build/yaml-6ITWGIVF.cjs +4223 -0
- package/build/yaml-DDDZYPIN.mjs +4223 -0
- package/package.json +32 -8
- package/readme.md +5 -16
- package/build/react-next.cjs +0 -2
- package/build/react-next.d.cts +0 -1
- package/build/react-next.d.ts +0 -1
- package/build/react-next.mjs +0 -2
- package/build/react.cjs +0 -2
- package/build/react.d.cts +0 -2
- package/build/react.d.ts +0 -2
- package/build/react.mjs +0 -2
- package/content/banner.png +0 -0
|
@@ -0,0 +1,2474 @@
|
|
|
1
|
+
import "./chunk-HEBXNMVQ.mjs";
|
|
2
|
+
|
|
3
|
+
// ../node_modules/.pnpm/prettier@3.4.2/node_modules/prettier/plugins/meriyah.mjs
|
|
4
|
+
var Ne = Object.defineProperty;
|
|
5
|
+
var In = (n, e) => {
|
|
6
|
+
for (var u in e) Ne(n, u, { get: e[u], enumerable: true });
|
|
7
|
+
};
|
|
8
|
+
var Bn = {};
|
|
9
|
+
In(Bn, { parsers: () => wn });
|
|
10
|
+
var wn = {};
|
|
11
|
+
In(wn, { meriyah: () => K1 });
|
|
12
|
+
var Ve = (n, e, u, t) => {
|
|
13
|
+
if (!(n && e == null)) return e.replaceAll ? e.replaceAll(u, t) : u.global ? e.replace(u, t) : e.split(u).join(t);
|
|
14
|
+
};
|
|
15
|
+
var i2 = Ve;
|
|
16
|
+
var Oe = { 0: "Unexpected token", 30: "Unexpected token: '%0'", 1: "Octal escape sequences are not allowed in strict mode", 2: "Octal escape sequences are not allowed in template strings", 3: "\\8 and \\9 are not allowed in template strings", 4: "Private identifier #%0 is not defined", 5: "Illegal Unicode escape sequence", 6: "Invalid code point %0", 7: "Invalid hexadecimal escape sequence", 9: "Octal literals are not allowed in strict mode", 8: "Decimal integer literals with a leading zero are forbidden in strict mode", 10: "Expected number in radix %0", 151: "Invalid left-hand side assignment to a destructible right-hand side", 11: "Non-number found after exponent indicator", 12: "Invalid BigIntLiteral", 13: "No identifiers allowed directly after numeric literal", 14: "Escapes \\8 or \\9 are not syntactically valid escapes", 15: "Escapes \\8 or \\9 are not allowed in strict mode", 16: "Unterminated string literal", 17: "Unterminated template literal", 18: "Multiline comment was not closed properly", 19: "The identifier contained dynamic unicode escape that was not closed", 20: "Illegal character '%0'", 21: "Missing hexadecimal digits", 22: "Invalid implicit octal", 23: "Invalid line break in string literal", 24: "Only unicode escapes are legal in identifier names", 25: "Expected '%0'", 26: "Invalid left-hand side in assignment", 27: "Invalid left-hand side in async arrow", 28: 'Calls to super must be in the "constructor" method of a class expression or class declaration that has a superclass', 29: "Member access on super must be in a method", 31: "Await expression not allowed in formal parameter", 32: "Yield expression not allowed in formal parameter", 95: "Unexpected token: 'escaped keyword'", 33: "Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses", 123: "Async functions can only be declared at the top level or inside a block", 34: "Unterminated regular expression", 35: "Unexpected regular expression flag", 36: "Duplicate regular expression flag '%0'", 37: "%0 functions must have exactly %1 argument%2", 38: "Setter function argument must not be a rest parameter", 39: "%0 declaration must have a name in this context", 40: "Function name may not contain any reserved words or be eval or arguments in strict mode", 41: "The rest operator is missing an argument", 42: "A getter cannot be a generator", 43: "A setter cannot be a generator", 44: "A computed property name must be followed by a colon or paren", 134: "Object literal keys that are strings or numbers must be a method or have a colon", 46: "Found `* async x(){}` but this should be `async * x(){}`", 45: "Getters and setters can not be generators", 47: "'%0' can not be generator method", 48: "No line break is allowed after '=>'", 49: "The left-hand side of the arrow can only be destructed through assignment", 50: "The binding declaration is not destructible", 51: "Async arrow can not be followed by new expression", 52: "Classes may not have a static property named 'prototype'", 53: "Class constructor may not be a %0", 54: "Duplicate constructor method in class", 55: "Invalid increment/decrement operand", 56: "Invalid use of `new` keyword on an increment/decrement expression", 57: "`=>` is an invalid assignment target", 58: "Rest element may not have a trailing comma", 59: "Missing initializer in %0 declaration", 60: "'for-%0' loop head declarations can not have an initializer", 61: "Invalid left-hand side in for-%0 loop: Must have a single binding", 62: "Invalid shorthand property initializer", 63: "Property name __proto__ appears more than once in object literal", 64: "Let is disallowed as a lexically bound name", 65: "Invalid use of '%0' inside new expression", 66: "Illegal 'use strict' directive in function with non-simple parameter list", 67: 'Identifier "let" disallowed as left-hand side expression in strict mode', 68: "Illegal continue statement", 69: "Illegal break statement", 70: "Cannot have `let[...]` as a var name in strict mode", 71: "Invalid destructuring assignment target", 72: "Rest parameter may not have a default initializer", 73: "The rest argument must the be last parameter", 74: "Invalid rest argument", 76: "In strict mode code, functions can only be declared at top level or inside a block", 77: "In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement", 78: "Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement", 79: "Class declaration can't appear in single-statement context", 80: "Invalid left-hand side in for-%0", 81: "Invalid assignment in for-%0", 82: "for await (... of ...) is only valid in async functions and async generators", 83: "The first token after the template expression should be a continuation of the template", 85: "`let` declaration not allowed here and `let` cannot be a regular var name in strict mode", 84: "`let \n [` is a restricted production at the start of a statement", 86: "Catch clause requires exactly one parameter, not more (and no trailing comma)", 87: "Catch clause parameter does not support default values", 88: "Missing catch or finally after try", 89: "More than one default clause in switch statement", 90: "Illegal newline after throw", 91: "Strict mode code may not include a with statement", 92: "Illegal return statement", 93: "The left hand side of the for-header binding declaration is not destructible", 94: "new.target only allowed within functions or static blocks", 96: "'#' not followed by identifier", 102: "Invalid keyword", 101: "Can not use 'let' as a class name", 100: "'A lexical declaration can't define a 'let' binding", 99: "Can not use `let` as variable name in strict mode", 97: "'%0' may not be used as an identifier in this context", 98: "Await is only valid in async functions", 103: "The %0 keyword can only be used with the module goal", 104: "Unicode codepoint must not be greater than 0x10FFFF", 105: "%0 source must be string", 106: "Only a identifier or string can be used to indicate alias", 107: "Only '*' or '{...}' can be imported after default", 108: "Trailing decorator may be followed by method", 109: "Decorators can't be used with a constructor", 110: "Can not use `await` as identifier in module or async func", 111: "Can not use `await` as identifier in module", 112: "HTML comments are only allowed with web compatibility (Annex B)", 113: "The identifier 'let' must not be in expression position in strict mode", 114: "Cannot assign to `eval` and `arguments` in strict mode", 115: "The left-hand side of a for-of loop may not start with 'let'", 116: "Block body arrows can not be immediately invoked without a group", 117: "Block body arrows can not be immediately accessed without a group", 118: "Unexpected strict mode reserved word", 119: "Unexpected eval or arguments in strict mode", 120: "Decorators must not be followed by a semicolon", 121: "Calling delete on expression not allowed in strict mode", 122: "Pattern can not have a tail", 124: "Can not have a `yield` expression on the left side of a ternary", 125: "An arrow function can not have a postfix update operator", 126: "Invalid object literal key character after generator star", 127: "Private fields can not be deleted", 129: "Classes may not have a field called constructor", 128: "Classes may not have a private element named constructor", 130: "A class field initializer or static block may not contain arguments", 131: "Generators can only be declared at the top level or inside a block", 132: "Async methods are a restricted production and cannot have a newline following it", 133: "Unexpected character after object literal property name", 135: "Invalid key token", 136: "Label '%0' has already been declared", 137: "continue statement must be nested within an iteration statement", 138: "Undefined label '%0'", 139: "Trailing comma is disallowed inside import(...) arguments", 140: "Invalid binding in JSON import", 141: "import() requires exactly one argument", 142: "Cannot use new with import(...)", 143: "... is not allowed in import()", 144: "Expected '=>'", 145: "Duplicate binding '%0'", 146: "Duplicate private identifier #%0", 147: "Cannot export a duplicate name '%0'", 150: "Duplicate %0 for-binding", 148: "Exported binding '%0' needs to refer to a top-level declared variable", 149: "Unexpected private field", 153: "Numeric separators are not allowed at the end of numeric literals", 152: "Only one underscore is allowed as numeric separator", 154: "JSX value should be either an expression or a quoted JSX text", 155: "Expected corresponding JSX closing tag for %0", 156: "Adjacent JSX elements must be wrapped in an enclosing tag", 157: "JSX attributes must only be assigned a non-empty 'expression'", 158: "'%0' has already been declared", 159: "'%0' shadowed a catch clause binding", 160: "Dot property must be an identifier", 161: "Encountered invalid input after spread/rest argument", 162: "Catch without try", 163: "Finally without try", 164: "Expected corresponding closing tag for JSX fragment", 165: "Coalescing and logical operators used together in the same expression must be disambiguated with parentheses", 166: "Invalid tagged template on optional chain", 167: "Invalid optional chain from super property", 168: "Invalid optional chain from new expression", 169: 'Cannot use "import.meta" outside a module', 170: "Leading decorators must be attached to a class declaration", 171: "An export name cannot include a lone surrogate, found %0", 172: "A string literal cannot be used as an exported binding without `from`", 173: "Private fields can't be accessed on super", 174: "The only valid meta property for import is 'import.meta'", 175: "'import.meta' must not contain escaped characters", 176: 'cannot use "await" as identifier inside an async function', 177: 'cannot use "await" in static blocks' };
|
|
17
|
+
var m2 = class extends SyntaxError {
|
|
18
|
+
constructor(e, u, t, o, i, l, f, ...d) {
|
|
19
|
+
let g = "[" + u + ":" + t + "-" + i + ":" + l + "]: " + Oe[f].replace(/%(\d+)/g, (m, y) => d[y]);
|
|
20
|
+
super(`${g}`), this.start = e, this.end = o, this.range = [e, o], this.loc = { start: { line: u, column: t }, end: { line: i, column: l } }, this.description = g;
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
function c(n, e, ...u) {
|
|
24
|
+
throw new m2(n.tokenIndex, n.tokenLine, n.tokenColumn, n.index, n.line, n.column, e, ...u);
|
|
25
|
+
}
|
|
26
|
+
function z2(n) {
|
|
27
|
+
throw new m2(n.tokenIndex, n.tokenLine, n.tokenColumn, n.index, n.line, n.column, n.type, ...n.params);
|
|
28
|
+
}
|
|
29
|
+
function $(n, e, u, t, o, i, l, ...f) {
|
|
30
|
+
throw new m2(n, e, u, t, o, i, l, ...f);
|
|
31
|
+
}
|
|
32
|
+
function h2(n, e, u, t, o, i, l) {
|
|
33
|
+
throw new m2(n, e, u, t, o, i, l);
|
|
34
|
+
}
|
|
35
|
+
function Re(n) {
|
|
36
|
+
return (On[(n >>> 5) + 0] >>> n & 31 & 1) !== 0;
|
|
37
|
+
}
|
|
38
|
+
function Vn(n) {
|
|
39
|
+
return (On[(n >>> 5) + 34816] >>> n & 31 & 1) !== 0;
|
|
40
|
+
}
|
|
41
|
+
var On = ((n, e) => {
|
|
42
|
+
let u = new Uint32Array(104448), t = 0, o = 0;
|
|
43
|
+
for (; t < 3822; ) {
|
|
44
|
+
let i = n[t++];
|
|
45
|
+
if (i < 0) o -= i;
|
|
46
|
+
else {
|
|
47
|
+
let l = n[t++];
|
|
48
|
+
i & 2 && (l = e[l]), i & 1 ? u.fill(l, o, o += n[t++]) : u[o++] = l;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
return u;
|
|
52
|
+
})([-1, 2, 26, 2, 27, 2, 5, -1, 0, 77595648, 3, 44, 2, 3, 0, 14, 2, 63, 2, 64, 3, 0, 3, 0, 3168796671, 0, 4294956992, 2, 1, 2, 0, 2, 41, 3, 0, 4, 0, 4294966523, 3, 0, 4, 2, 16, 2, 65, 2, 0, 0, 4294836735, 0, 3221225471, 0, 4294901942, 2, 66, 0, 134152192, 3, 0, 2, 0, 4294951935, 3, 0, 2, 0, 2683305983, 0, 2684354047, 2, 18, 2, 0, 0, 4294961151, 3, 0, 2, 2, 19, 2, 0, 0, 608174079, 2, 0, 2, 60, 2, 7, 2, 6, 0, 4286611199, 3, 0, 2, 2, 1, 3, 0, 3, 0, 4294901711, 2, 40, 0, 4089839103, 0, 2961209759, 0, 1342439375, 0, 4294543342, 0, 3547201023, 0, 1577204103, 0, 4194240, 0, 4294688750, 2, 2, 0, 80831, 0, 4261478351, 0, 4294549486, 2, 2, 0, 2967484831, 0, 196559, 0, 3594373100, 0, 3288319768, 0, 8469959, 2, 203, 2, 3, 0, 4093640191, 0, 660618719, 0, 65487, 0, 4294828015, 0, 4092591615, 0, 1616920031, 0, 982991, 2, 3, 2, 0, 0, 2163244511, 0, 4227923919, 0, 4236247022, 2, 71, 0, 4284449919, 0, 851904, 2, 4, 2, 12, 0, 67076095, -1, 2, 72, 0, 1073741743, 0, 4093607775, -1, 0, 50331649, 0, 3265266687, 2, 33, 0, 4294844415, 0, 4278190047, 2, 20, 2, 137, -1, 3, 0, 2, 2, 23, 2, 0, 2, 10, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 74, 2, 0, 2, 75, 2, 76, 2, 77, 2, 0, 2, 78, 2, 0, 2, 11, 0, 261632, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 79, 2, 5, 3, 0, 2, 2, 80, 0, 2151677951, 2, 29, 2, 9, 0, 909311, 3, 0, 2, 0, 814743551, 2, 49, 0, 67090432, 3, 0, 2, 2, 42, 2, 0, 2, 6, 2, 0, 2, 30, 2, 8, 0, 268374015, 2, 110, 2, 51, 2, 0, 2, 81, 0, 134153215, -1, 2, 7, 2, 0, 2, 8, 0, 2684354559, 0, 67044351, 0, 3221160064, 2, 17, -1, 3, 0, 2, 2, 53, 0, 1046528, 3, 0, 3, 2, 9, 2, 0, 2, 54, 0, 4294960127, 2, 10, 2, 6, 2, 11, 0, 4294377472, 2, 12, 3, 0, 16, 2, 13, 2, 0, 2, 82, 2, 10, 2, 0, 2, 83, 2, 84, 2, 85, 2, 210, 2, 55, 0, 1048577, 2, 86, 2, 14, -1, 2, 14, 0, 131042, 2, 87, 2, 88, 2, 89, 2, 0, 2, 34, -83, 3, 0, 7, 0, 1046559, 2, 0, 2, 15, 2, 0, 0, 2147516671, 2, 21, 3, 90, 2, 2, 0, -16, 2, 91, 0, 524222462, 2, 4, 2, 0, 0, 4269801471, 2, 4, 3, 0, 2, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 73, -1, 2, 18, 2, 10, 3, 0, 8, 2, 93, 2, 133, 2, 0, 0, 3220242431, 3, 0, 3, 2, 19, 2, 94, 2, 95, 3, 0, 2, 2, 96, 2, 0, 2, 97, 2, 46, 2, 0, 0, 4351, 2, 0, 2, 9, 3, 0, 2, 0, 67043391, 0, 3909091327, 2, 0, 2, 24, 2, 9, 2, 20, 3, 0, 2, 0, 67076097, 2, 8, 2, 0, 2, 21, 0, 67059711, 0, 4236247039, 3, 0, 2, 0, 939524103, 0, 8191999, 2, 101, 2, 102, 2, 22, 2, 23, 3, 0, 3, 0, 67057663, 3, 0, 349, 2, 103, 2, 104, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 3774349439, 2, 105, 2, 106, 3, 0, 2, 2, 19, 2, 107, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 47, 2, 0, 2, 31, 2, 108, 2, 25, 0, 1638399, 2, 183, 2, 109, 3, 0, 3, 2, 20, 2, 26, 2, 27, 2, 5, 2, 28, 2, 0, 2, 8, 2, 111, -1, 2, 112, 2, 113, 2, 114, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -3, 2, 163, -4, 2, 20, 2, 0, 2, 36, 0, 1, 2, 0, 2, 67, 2, 6, 2, 12, 2, 10, 2, 0, 2, 115, -1, 3, 0, 4, 2, 10, 2, 23, 2, 116, 2, 7, 2, 0, 2, 117, 2, 0, 2, 118, 2, 119, 2, 120, 2, 0, 2, 9, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 121, 2, 122, -2, 2, 123, 2, 124, 2, 30, 2, 21, 2, 8, -2, 2, 125, 2, 30, 2, 32, -2, 2, 0, 2, 39, -2, 0, 4277137519, 0, 2269118463, -1, 3, 20, 2, -1, 2, 33, 2, 38, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 48, 2, 0, 0, 4294950463, 2, 37, -7, 2, 0, 0, 203775, 2, 57, 2, 167, 2, 20, 2, 43, 2, 36, 2, 18, 2, 37, 2, 18, 2, 126, 2, 21, 3, 0, 2, 2, 38, 0, 2151677888, 2, 0, 2, 12, 0, 4294901764, 2, 144, 2, 0, 2, 58, 2, 56, 0, 5242879, 3, 0, 2, 0, 402644511, -1, 2, 128, 2, 39, 0, 3, -1, 2, 129, 2, 130, 2, 0, 0, 67045375, 2, 40, 0, 4226678271, 0, 3766565279, 0, 2039759, 2, 132, 2, 41, 0, 1046437, 0, 6, 3, 0, 2, 0, 3288270847, 0, 3, 3, 0, 2, 0, 67043519, -5, 2, 0, 0, 4282384383, 0, 1056964609, -1, 3, 0, 2, 0, 67043345, -1, 2, 0, 2, 42, 2, 23, 2, 50, 2, 11, 2, 61, 2, 38, -5, 2, 0, 2, 12, -3, 3, 0, 2, 0, 2147484671, 2, 134, 0, 4190109695, 2, 52, -2, 2, 135, 0, 4244635647, 0, 27, 2, 0, 2, 8, 2, 43, 2, 0, 2, 68, 2, 18, 2, 0, 2, 42, -6, 2, 0, 2, 45, 2, 59, 2, 44, 2, 45, 2, 46, 2, 47, 0, 8388351, -2, 2, 136, 0, 3028287487, 2, 48, 2, 138, 0, 33259519, 2, 49, -9, 2, 21, 0, 4294836223, 0, 3355443199, 0, 134152199, -2, 2, 69, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 50, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 2, 30, 3, 0, 124, 2, 12, 3, 0, 18, 2, 38, -213, 2, 0, 2, 32, -54, 3, 0, 17, 2, 42, 2, 8, 2, 23, 2, 0, 2, 8, 2, 23, 2, 51, 2, 0, 2, 21, 2, 52, 2, 139, 2, 25, -13, 2, 0, 2, 53, -6, 3, 0, 2, -4, 3, 0, 2, 0, 4294936575, 2, 0, 0, 4294934783, -2, 0, 196635, 3, 0, 191, 2, 54, 3, 0, 38, 2, 30, 2, 55, 2, 34, -278, 2, 140, 3, 0, 9, 2, 141, 2, 142, 2, 56, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 143, 0, 1677656575, -130, 2, 26, -16, 2, 0, 2, 24, 2, 38, -16, 0, 4161266656, 0, 4071, 2, 205, -4, 2, 57, -13, 3, 0, 2, 2, 58, 2, 0, 2, 145, 2, 146, 2, 62, 2, 0, 2, 147, 2, 148, 2, 149, 3, 0, 10, 2, 150, 2, 151, 2, 22, 3, 58, 2, 3, 152, 2, 3, 59, 2, 0, 4294954999, 2, 0, -16, 2, 0, 2, 92, 2, 0, 0, 2105343, 0, 4160749584, 2, 177, -34, 2, 8, 2, 154, -6, 0, 4194303871, 0, 4294903771, 2, 0, 2, 60, 2, 100, -3, 2, 0, 0, 1073684479, 0, 17407, -9, 2, 18, 2, 17, 2, 0, 2, 32, -14, 2, 18, 2, 32, -6, 2, 18, 2, 12, -15, 2, 155, 3, 0, 6, 0, 8323103, -1, 3, 0, 2, 2, 61, -37, 2, 62, 2, 156, 2, 157, 2, 158, 2, 159, 2, 160, -105, 2, 26, -32, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 161, 3, 0, 233, 2, 162, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -22250, 3, 0, 7, 2, 25, -6130, 3, 5, 2, -1, 0, 69207040, 3, 44, 2, 3, 0, 14, 2, 63, 2, 64, -3, 0, 3168731136, 0, 4294956864, 2, 1, 2, 0, 2, 41, 3, 0, 4, 0, 4294966275, 3, 0, 4, 2, 16, 2, 65, 2, 0, 2, 34, -1, 2, 18, 2, 66, -1, 2, 0, 0, 2047, 0, 4294885376, 3, 0, 2, 0, 3145727, 0, 2617294944, 0, 4294770688, 2, 25, 2, 67, 3, 0, 2, 0, 131135, 2, 98, 0, 70256639, 0, 71303167, 0, 272, 2, 42, 2, 6, 0, 32511, 2, 0, 2, 49, -1, 2, 99, 2, 68, 0, 4278255616, 0, 4294836227, 0, 4294549473, 0, 600178175, 0, 2952806400, 0, 268632067, 0, 4294543328, 0, 57540095, 0, 1577058304, 0, 1835008, 0, 4294688736, 2, 70, 2, 69, 0, 33554435, 2, 131, 2, 70, 2, 164, 0, 131075, 0, 3594373096, 0, 67094296, 2, 69, -1, 0, 4294828e3, 0, 603979263, 0, 654311424, 0, 3, 0, 4294828001, 0, 602930687, 2, 171, 0, 393219, 0, 4294828016, 0, 671088639, 0, 2154840064, 0, 4227858435, 0, 4236247008, 2, 71, 2, 38, -1, 2, 4, 0, 917503, 2, 38, -1, 2, 72, 0, 537788335, 0, 4026531935, -1, 0, 1, -1, 2, 33, 2, 73, 0, 7936, -3, 2, 0, 0, 2147485695, 0, 1010761728, 0, 4292984930, 0, 16387, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 74, 2, 0, 2, 75, 2, 76, 2, 77, 2, 0, 2, 78, 2, 0, 2, 12, -1, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 79, 2, 5, 3, 0, 2, 2, 80, 0, 2147745791, 3, 19, 2, 0, 122879, 2, 0, 2, 9, 0, 276824064, -2, 3, 0, 2, 2, 42, 2, 0, 0, 4294903295, 2, 0, 2, 30, 2, 8, -1, 2, 18, 2, 51, 2, 0, 2, 81, 2, 49, -1, 2, 21, 2, 0, 2, 29, -2, 0, 128, -2, 2, 28, 2, 9, 0, 8160, -1, 2, 127, 0, 4227907585, 2, 0, 2, 37, 2, 0, 2, 50, 2, 184, 2, 10, 2, 6, 2, 11, -1, 0, 74440192, 3, 0, 6, -2, 3, 0, 8, 2, 13, 2, 0, 2, 82, 2, 10, 2, 0, 2, 83, 2, 84, 2, 85, -3, 2, 86, 2, 14, -3, 2, 87, 2, 88, 2, 89, 2, 0, 2, 34, -83, 3, 0, 7, 0, 817183, 2, 0, 2, 15, 2, 0, 0, 33023, 2, 21, 3, 90, 2, -17, 2, 91, 0, 524157950, 2, 4, 2, 0, 2, 92, 2, 4, 2, 0, 2, 22, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 73, -1, 2, 18, 2, 10, 3, 0, 8, 2, 93, 0, 3072, 2, 0, 0, 2147516415, 2, 10, 3, 0, 2, 2, 25, 2, 94, 2, 95, 3, 0, 2, 2, 96, 2, 0, 2, 97, 2, 46, 0, 4294965179, 0, 7, 2, 0, 2, 9, 2, 95, 2, 9, -1, 0, 1761345536, 2, 98, 0, 4294901823, 2, 38, 2, 20, 2, 99, 2, 35, 2, 100, 0, 2080440287, 2, 0, 2, 34, 2, 153, 0, 3296722943, 2, 0, 0, 1046675455, 0, 939524101, 0, 1837055, 2, 101, 2, 102, 2, 22, 2, 23, 3, 0, 3, 0, 7, 3, 0, 349, 2, 103, 2, 104, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 2700607615, 2, 105, 2, 106, 3, 0, 2, 2, 19, 2, 107, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 47, 2, 0, 2, 31, 2, 108, -3, 2, 109, 3, 0, 3, 2, 20, -1, 3, 5, 2, 2, 110, 2, 0, 2, 8, 2, 111, -1, 2, 112, 2, 113, 2, 114, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -8, 2, 20, 2, 0, 2, 36, -1, 2, 0, 2, 67, 2, 6, 2, 30, 2, 10, 2, 0, 2, 115, -1, 3, 0, 4, 2, 10, 2, 18, 2, 116, 2, 7, 2, 0, 2, 117, 2, 0, 2, 118, 2, 119, 2, 120, 2, 0, 2, 9, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 121, 2, 122, -2, 2, 123, 2, 124, 2, 30, 2, 21, 2, 8, -2, 2, 125, 2, 30, 2, 32, -2, 2, 0, 2, 39, -2, 0, 4277075969, 2, 30, -1, 3, 20, 2, -1, 2, 33, 2, 126, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 50, 2, 98, 0, 4294934591, 2, 37, -7, 2, 0, 0, 197631, 2, 57, -1, 2, 20, 2, 43, 2, 37, 2, 18, 0, 3, 2, 18, 2, 126, 2, 21, 2, 127, 2, 54, -1, 0, 2490368, 2, 127, 2, 25, 2, 18, 2, 34, 2, 127, 2, 38, 0, 4294901904, 0, 4718591, 2, 127, 2, 35, 0, 335544350, -1, 2, 128, 0, 2147487743, 0, 1, -1, 2, 129, 2, 130, 2, 8, -1, 2, 131, 2, 70, 0, 3758161920, 0, 3, 2, 132, 0, 12582911, 0, 655360, -1, 2, 0, 2, 29, 0, 2147485568, 0, 3, 2, 0, 2, 25, 0, 176, -5, 2, 0, 2, 17, 2, 192, -1, 2, 0, 2, 25, 2, 209, -1, 2, 0, 0, 16779263, -2, 2, 12, -1, 2, 38, -5, 2, 0, 2, 133, -3, 3, 0, 2, 2, 55, 2, 134, 0, 2147549183, 0, 2, -2, 2, 135, 2, 36, 0, 10, 0, 4294965249, 0, 67633151, 0, 4026597376, 2, 0, 0, 536871935, 2, 18, 2, 0, 2, 42, -6, 2, 0, 0, 1, 2, 59, 2, 17, 0, 1, 2, 46, 2, 25, -3, 2, 136, 2, 36, 2, 137, 2, 138, 0, 16778239, -10, 2, 35, 0, 4294836212, 2, 9, -3, 2, 69, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 50, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 0, 126, 3, 0, 124, 2, 12, 3, 0, 18, 2, 38, -213, 2, 10, -55, 3, 0, 17, 2, 42, 2, 8, 2, 18, 2, 0, 2, 8, 2, 18, 2, 60, 2, 0, 2, 25, 2, 50, 2, 139, 2, 25, -13, 2, 0, 2, 73, -6, 3, 0, 2, -4, 3, 0, 2, 0, 67583, -1, 2, 107, -2, 0, 11, 3, 0, 191, 2, 54, 3, 0, 38, 2, 30, 2, 55, 2, 34, -278, 2, 140, 3, 0, 9, 2, 141, 2, 142, 2, 56, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 143, 2, 144, -187, 3, 0, 2, 2, 58, 2, 0, 2, 145, 2, 146, 2, 62, 2, 0, 2, 147, 2, 148, 2, 149, 3, 0, 10, 2, 150, 2, 151, 2, 22, 3, 58, 2, 3, 152, 2, 3, 59, 2, 2, 153, -57, 2, 8, 2, 154, -7, 2, 18, 2, 0, 2, 60, -4, 2, 0, 0, 1065361407, 0, 16384, -9, 2, 18, 2, 60, 2, 0, 2, 133, -14, 2, 18, 2, 133, -6, 2, 18, 0, 81919, -15, 2, 155, 3, 0, 6, 2, 126, -1, 3, 0, 2, 0, 2063, -37, 2, 62, 2, 156, 2, 157, 2, 158, 2, 159, 2, 160, -138, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 161, 3, 0, 233, 2, 162, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -28386, 2, 0, 0, 1, -1, 2, 55, 2, 0, 0, 8193, -21, 2, 201, 0, 10255, 0, 4, -11, 2, 69, 2, 182, -1, 0, 71680, -1, 2, 174, 0, 4292900864, 0, 268435519, -5, 2, 163, -1, 2, 173, -1, 0, 6144, -2, 2, 46, -1, 2, 168, -1, 0, 2147532800, 2, 164, 2, 170, 0, 8355840, -2, 0, 4, -4, 2, 198, 0, 205128192, 0, 1333757536, 0, 2147483696, 0, 423953, 0, 747766272, 0, 2717763192, 0, 4286578751, 0, 278545, 2, 165, 0, 4294886464, 0, 33292336, 0, 417809, 2, 165, 0, 1327482464, 0, 4278190128, 0, 700594195, 0, 1006647527, 0, 4286497336, 0, 4160749631, 2, 166, 0, 201327104, 0, 3634348576, 0, 8323120, 2, 166, 0, 202375680, 0, 2678047264, 0, 4293984304, 2, 166, -1, 0, 983584, 0, 48, 0, 58720273, 0, 3489923072, 0, 10517376, 0, 4293066815, 0, 1, 2, 213, 2, 167, 2, 0, 0, 2089, 0, 3221225552, 0, 201359520, 2, 0, -2, 0, 256, 0, 122880, 0, 16777216, 2, 163, 0, 4160757760, 2, 0, -6, 2, 179, -11, 0, 3263218176, -1, 0, 49664, 0, 2160197632, 0, 8388802, -1, 0, 12713984, -1, 2, 168, 2, 186, 2, 187, -2, 2, 175, -20, 0, 3758096385, -2, 2, 169, 2, 195, 2, 94, 2, 180, 0, 4294057984, -2, 2, 176, 2, 172, 0, 4227874816, -2, 2, 169, -1, 2, 170, -1, 2, 181, 2, 55, 0, 4026593280, 0, 14, 0, 4292919296, -1, 2, 178, 0, 939588608, -1, 0, 805306368, -1, 2, 55, 2, 171, 2, 172, 2, 173, 2, 211, 2, 0, -2, 0, 8192, -4, 0, 267386880, -1, 0, 117440512, 0, 7168, -1, 2, 170, 2, 168, 2, 174, 2, 188, -16, 2, 175, -1, 0, 1426112704, 2, 176, -1, 2, 196, 0, 271581216, 0, 2149777408, 2, 25, 2, 174, 2, 55, 0, 851967, 2, 189, -1, 2, 177, 2, 190, -4, 2, 178, -20, 2, 98, 2, 208, -56, 0, 3145728, 2, 191, -10, 0, 32505856, -1, 2, 179, -1, 0, 2147385088, 2, 94, 1, 2155905152, 2, -3, 2, 176, 2, 0, 0, 67108864, -2, 2, 180, -6, 2, 181, 2, 25, 0, 1, -1, 0, 1, -1, 2, 182, -3, 2, 126, 2, 69, -2, 2, 100, -2, 0, 32704, 2, 55, -915, 2, 183, -1, 2, 207, -10, 2, 194, -5, 2, 185, -6, 0, 3759456256, 2, 19, -1, 2, 184, -1, 2, 185, -2, 0, 4227874752, -3, 0, 2146435072, 2, 186, -2, 0, 1006649344, 2, 55, -1, 2, 94, 0, 201375744, -3, 0, 134217720, 2, 94, 0, 4286677377, 0, 32896, -1, 2, 178, -3, 0, 4227907584, -349, 0, 65520, 0, 1920, 2, 167, 3, 0, 264, -11, 2, 173, -2, 2, 187, 2, 0, 0, 520617856, 0, 2692743168, 0, 36, -3, 0, 524280, -13, 2, 193, -1, 0, 4294934272, 2, 25, 2, 187, -1, 2, 215, 0, 2158720, -3, 2, 186, 0, 1, -4, 2, 55, 0, 3808625411, 0, 3489628288, 0, 4096, 0, 1207959680, 0, 3221274624, 2, 0, -3, 2, 188, 0, 120, 0, 7340032, -2, 2, 189, 2, 4, 2, 25, 2, 176, 3, 0, 4, 2, 186, -1, 2, 190, 2, 167, -1, 0, 8176, 2, 170, 2, 188, 0, 1073741824, -1, 0, 4290773232, 2, 0, -4, 2, 176, 2, 197, 0, 15728640, 2, 167, -1, 2, 174, -1, 0, 134250480, 0, 4720640, 0, 3825467396, -1, 2, 180, -9, 2, 94, 2, 181, 0, 4294967040, 2, 137, 0, 4160880640, 3, 0, 2, 0, 704, 0, 1849688064, 2, 191, -1, 2, 55, 0, 4294901887, 2, 0, 0, 130547712, 0, 1879048192, 2, 212, 3, 0, 2, -1, 2, 192, 2, 193, -1, 0, 17829776, 0, 2025848832, 0, 4261477888, -2, 2, 0, -1, 0, 4286580608, -1, 0, 29360128, 2, 200, 0, 16252928, 0, 3791388672, 2, 130, 3, 0, 2, -2, 2, 206, 2, 0, -1, 2, 107, -1, 0, 66584576, -1, 2, 199, -1, 0, 448, 0, 4294918080, 3, 0, 6, 2, 55, -1, 0, 4294755328, 0, 4294967267, 2, 7, -1, 2, 174, 2, 187, 2, 25, 2, 98, 2, 25, 2, 194, 2, 94, -2, 0, 245760, 2, 195, -1, 2, 163, 2, 202, 0, 4227923456, -1, 2, 196, 2, 174, 2, 94, -3, 0, 4292870145, 0, 262144, -1, 2, 95, 2, 0, 0, 1073758848, 2, 197, -1, 0, 4227921920, 2, 198, 0, 68289024, 0, 528402016, 0, 4292927536, 0, 46080, 2, 191, 0, 4265609306, 0, 4294967289, -2, 0, 268435456, 2, 95, -2, 2, 199, 3, 0, 5, -1, 2, 200, 2, 176, 2, 0, -2, 0, 4227923936, 2, 67, -1, 2, 187, 2, 197, 2, 99, 2, 168, 2, 178, 2, 204, 3, 0, 5, -1, 2, 167, 3, 0, 3, -2, 0, 2146959360, 0, 9440640, 0, 104857600, 0, 4227923840, 3, 0, 2, 0, 768, 2, 201, 2, 28, -2, 2, 174, -2, 2, 202, -1, 2, 169, 2, 98, 3, 0, 5, -1, 0, 4227923964, 0, 512, 0, 8388608, 2, 203, 2, 183, 2, 193, 0, 4286578944, 3, 0, 2, 0, 1152, 0, 1266679808, 2, 199, 0, 576, 0, 4261707776, 2, 98, 3, 0, 9, 2, 169, 0, 131072, 0, 939524096, 2, 188, 3, 0, 2, 2, 16, -1, 0, 2147221504, -28, 2, 187, 3, 0, 3, -3, 0, 4292902912, -6, 2, 99, 3, 0, 81, 2, 25, -2, 2, 107, -33, 2, 18, 2, 181, -124, 2, 188, -18, 2, 204, 3, 0, 213, -1, 2, 187, 3, 0, 54, -17, 2, 169, 2, 55, 2, 205, -1, 2, 55, 2, 197, 0, 4290822144, -2, 0, 67174336, 0, 520093700, 2, 18, 3, 0, 13, -1, 2, 187, 3, 0, 6, -2, 2, 188, 3, 0, 3, -2, 0, 30720, -1, 0, 32512, 3, 0, 2, 0, 4294770656, -191, 2, 185, -38, 2, 181, 2, 8, 2, 206, 3, 0, 278, 0, 2417033215, -9, 0, 4294705144, 0, 4292411391, 0, 65295, -11, 2, 167, 3, 0, 72, -3, 0, 3758159872, 0, 201391616, 3, 0, 123, -7, 2, 187, -13, 2, 180, 3, 0, 2, -1, 2, 173, 2, 207, -3, 2, 99, 2, 0, -7, 2, 181, -1, 0, 384, -1, 0, 133693440, -3, 2, 208, -2, 2, 110, 3, 0, 3, 3, 180, 2, -2, 2, 94, 2, 169, 3, 0, 4, -2, 2, 196, -1, 2, 163, 0, 335552923, 2, 209, -1, 0, 538974272, 0, 2214592512, 0, 132e3, -10, 0, 192, -8, 2, 210, -21, 0, 134213632, 2, 162, 3, 0, 34, 2, 55, 0, 4294965279, 3, 0, 6, 0, 100663424, 0, 63524, -1, 2, 214, 2, 152, 3, 0, 3, -1, 0, 3221282816, 0, 4294917120, 3, 0, 9, 2, 25, 2, 211, -1, 2, 212, 3, 0, 14, 2, 25, 2, 187, 3, 0, 6, 2, 25, 2, 213, 3, 0, 15, 0, 2147520640, -6, 0, 4286578784, 2, 0, -2, 0, 1006694400, 3, 0, 24, 2, 36, -1, 0, 4292870144, 3, 0, 2, 0, 1, 2, 176, 3, 0, 6, 2, 209, 0, 4110942569, 0, 1432950139, 0, 2701658217, 0, 4026532864, 0, 4026532881, 2, 0, 2, 47, 3, 0, 8, -1, 2, 178, -2, 2, 180, 0, 98304, 0, 65537, 2, 181, -5, 2, 214, 2, 0, 2, 37, 2, 202, 2, 167, 0, 4294770176, 2, 110, 3, 0, 4, -30, 2, 192, 0, 3758153728, -3, 0, 125829120, -2, 2, 187, 0, 4294897664, 2, 178, -1, 2, 199, -1, 2, 174, 0, 4026580992, 2, 95, 2, 0, -10, 2, 180, 0, 3758145536, 0, 31744, -1, 0, 1610628992, 0, 4261477376, -4, 2, 215, -2, 2, 187, 3, 0, 32, -1335, 2, 0, -129, 2, 187, -6, 2, 176, -180, 0, 65532, -233, 2, 177, -18, 2, 176, 3, 0, 77, -16, 2, 176, 3, 0, 47, -154, 2, 170, -130, 2, 18, 3, 0, 22250, -7, 2, 18, 3, 0, 6128], [4294967295, 4294967291, 4092460543, 4294828031, 4294967294, 134217726, 4294903807, 268435455, 2147483647, 1048575, 1073741823, 3892314111, 134217727, 1061158911, 536805376, 4294910143, 4294901759, 32767, 4294901760, 262143, 536870911, 8388607, 4160749567, 4294902783, 4294918143, 65535, 67043328, 2281701374, 4294967264, 2097151, 4194303, 255, 67108863, 4294967039, 511, 524287, 131071, 63, 127, 3238002687, 4294549487, 4290772991, 33554431, 4294901888, 4286578687, 67043329, 4294705152, 4294770687, 67043583, 1023, 15, 2047999, 67043343, 67051519, 16777215, 2147483648, 4294902e3, 28, 4292870143, 4294966783, 16383, 67047423, 4294967279, 262083, 20511, 41943039, 493567, 4294959104, 603979775, 65536, 602799615, 805044223, 4294965206, 8191, 1031749119, 4294917631, 2134769663, 4286578493, 4282253311, 4294942719, 33540095, 4294905855, 2868854591, 1608515583, 265232348, 534519807, 2147614720, 1060109444, 4093640016, 17376, 2139062143, 224, 4169138175, 4294909951, 4286578688, 4294967292, 4294965759, 535511039, 4294966272, 4294967280, 32768, 8289918, 4294934399, 4294901775, 4294965375, 1602223615, 4294967259, 4294443008, 268369920, 4292804608, 4294967232, 486341884, 4294963199, 3087007615, 1073692671, 4128527, 4279238655, 4294902015, 4160684047, 4290246655, 469499899, 4294967231, 134086655, 4294966591, 2445279231, 3670015, 31, 4294967288, 4294705151, 3221208447, 4294902271, 4294549472, 4294921215, 4095, 4285526655, 4294966527, 4294966143, 64, 4294966719, 3774873592, 1877934080, 262151, 2555904, 536807423, 67043839, 3758096383, 3959414372, 3755993023, 2080374783, 4294835295, 4294967103, 4160749565, 4294934527, 4087, 2016, 2147446655, 184024726, 2862017156, 1593309078, 268434431, 268434414, 4294901763, 4294901761, 536870912, 2952790016, 202506752, 139264, 4026531840, 402653184, 4261412864, 63488, 1610612736, 4227922944, 49152, 65280, 3233808384, 3221225472, 65534, 61440, 57152, 4293918720, 4290772992, 25165824, 57344, 4227915776, 4278190080, 3758096384, 4227858432, 4160749568, 3758129152, 4294836224, 4194304, 251658240, 196608, 4294963200, 2143289344, 2097152, 64512, 417808, 4227923712, 12582912, 50331648, 65528, 65472, 4294967168, 15360, 4294966784, 65408, 4294965248, 16, 12288, 4294934528, 2080374784, 2013265920, 4294950912, 524288]);
|
|
53
|
+
function A(n) {
|
|
54
|
+
return n.column++, n.currentChar = n.source.charCodeAt(++n.index);
|
|
55
|
+
}
|
|
56
|
+
function un(n) {
|
|
57
|
+
let e = n.currentChar;
|
|
58
|
+
if ((e & 64512) !== 55296) return 0;
|
|
59
|
+
let u = n.source.charCodeAt(n.index + 1);
|
|
60
|
+
return (u & 64512) !== 56320 ? 0 : 65536 + ((e & 1023) << 10) + (u & 1023);
|
|
61
|
+
}
|
|
62
|
+
function tn(n, e) {
|
|
63
|
+
n.currentChar = n.source.charCodeAt(++n.index), n.flags |= 1, e & 4 || (n.column = 0, n.line++);
|
|
64
|
+
}
|
|
65
|
+
function k2(n) {
|
|
66
|
+
n.flags |= 1, n.currentChar = n.source.charCodeAt(++n.index), n.column = 0, n.line++;
|
|
67
|
+
}
|
|
68
|
+
function Ue(n) {
|
|
69
|
+
return n === 160 || n === 65279 || n === 133 || n === 5760 || n >= 8192 && n <= 8203 || n === 8239 || n === 8287 || n === 12288 || n === 8201 || n === 65519;
|
|
70
|
+
}
|
|
71
|
+
function W(n) {
|
|
72
|
+
return n < 65 ? n - 48 : n - 65 + 10 & 15;
|
|
73
|
+
}
|
|
74
|
+
function Me(n) {
|
|
75
|
+
switch (n) {
|
|
76
|
+
case 134283266:
|
|
77
|
+
return "NumericLiteral";
|
|
78
|
+
case 134283267:
|
|
79
|
+
return "StringLiteral";
|
|
80
|
+
case 86021:
|
|
81
|
+
case 86022:
|
|
82
|
+
return "BooleanLiteral";
|
|
83
|
+
case 86023:
|
|
84
|
+
return "NullLiteral";
|
|
85
|
+
case 65540:
|
|
86
|
+
return "RegularExpression";
|
|
87
|
+
case 67174408:
|
|
88
|
+
case 67174409:
|
|
89
|
+
case 131:
|
|
90
|
+
return "TemplateLiteral";
|
|
91
|
+
default:
|
|
92
|
+
return (n & 143360) === 143360 ? "Identifier" : (n & 4096) === 4096 ? "Keyword" : "Punctuator";
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
var N = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1032, 0, 0, 2056, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 8192, 0, 3, 0, 0, 8192, 0, 0, 0, 256, 0, 33024, 0, 0, 242, 242, 114, 114, 114, 114, 114, 114, 594, 594, 0, 0, 16384, 0, 0, 0, 0, 67, 67, 67, 67, 67, 67, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 0, 1, 0, 0, 4099, 0, 71, 71, 71, 71, 71, 71, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 16384, 0, 0, 0, 0];
|
|
96
|
+
var Je = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
|
|
97
|
+
var Rn = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0];
|
|
98
|
+
function M2(n) {
|
|
99
|
+
return n <= 127 ? Je[n] > 0 : Vn(n);
|
|
100
|
+
}
|
|
101
|
+
function V2(n) {
|
|
102
|
+
return n <= 127 ? Rn[n] > 0 : Re(n) || n === 8204 || n === 8205;
|
|
103
|
+
}
|
|
104
|
+
var Un = ["SingleLine", "MultiLine", "HTMLOpen", "HTMLClose", "HashbangComment"];
|
|
105
|
+
function je(n) {
|
|
106
|
+
let { source: e } = n;
|
|
107
|
+
n.currentChar === 35 && e.charCodeAt(n.index + 1) === 33 && (A(n), A(n), on(n, e, 0, 4, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
108
|
+
}
|
|
109
|
+
function Ln(n, e, u, t, o, i, l, f) {
|
|
110
|
+
return t & 512 && c(n, 0), on(n, e, u, o, i, l, f);
|
|
111
|
+
}
|
|
112
|
+
function on(n, e, u, t, o, i, l) {
|
|
113
|
+
let { index: f } = n;
|
|
114
|
+
for (n.tokenIndex = n.index, n.tokenLine = n.line, n.tokenColumn = n.column; n.index < n.end; ) {
|
|
115
|
+
if (N[n.currentChar] & 8) {
|
|
116
|
+
let d = n.currentChar === 13;
|
|
117
|
+
k2(n), d && n.index < n.end && n.currentChar === 10 && (n.currentChar = e.charCodeAt(++n.index));
|
|
118
|
+
break;
|
|
119
|
+
} else if ((n.currentChar ^ 8232) <= 1) {
|
|
120
|
+
k2(n);
|
|
121
|
+
break;
|
|
122
|
+
}
|
|
123
|
+
A(n), n.tokenIndex = n.index, n.tokenLine = n.line, n.tokenColumn = n.column;
|
|
124
|
+
}
|
|
125
|
+
if (n.onComment) {
|
|
126
|
+
let d = { start: { line: i, column: l }, end: { line: n.tokenLine, column: n.tokenColumn } };
|
|
127
|
+
n.onComment(Un[t & 255], e.slice(f, n.tokenIndex), o, n.tokenIndex, d);
|
|
128
|
+
}
|
|
129
|
+
return u | 1;
|
|
130
|
+
}
|
|
131
|
+
function Xe(n, e, u) {
|
|
132
|
+
let { index: t } = n;
|
|
133
|
+
for (; n.index < n.end; ) if (n.currentChar < 43) {
|
|
134
|
+
let o = false;
|
|
135
|
+
for (; n.currentChar === 42; ) if (o || (u &= -5, o = true), A(n) === 47) {
|
|
136
|
+
if (A(n), n.onComment) {
|
|
137
|
+
let i = { start: { line: n.tokenLine, column: n.tokenColumn }, end: { line: n.line, column: n.column } };
|
|
138
|
+
n.onComment(Un[1], e.slice(t, n.index - 2), t - 2, n.index, i);
|
|
139
|
+
}
|
|
140
|
+
return n.tokenIndex = n.index, n.tokenLine = n.line, n.tokenColumn = n.column, u;
|
|
141
|
+
}
|
|
142
|
+
if (o) continue;
|
|
143
|
+
N[n.currentChar] & 8 ? n.currentChar === 13 ? (u |= 5, k2(n)) : (tn(n, u), u = u & -5 | 1) : A(n);
|
|
144
|
+
} else (n.currentChar ^ 8232) <= 1 ? (u = u & -5 | 1, k2(n)) : (u &= -5, A(n));
|
|
145
|
+
c(n, 18);
|
|
146
|
+
}
|
|
147
|
+
var o2;
|
|
148
|
+
(function(n) {
|
|
149
|
+
n[n.Empty = 0] = "Empty", n[n.Escape = 1] = "Escape", n[n.Class = 2] = "Class";
|
|
150
|
+
})(o2 || (o2 = {}));
|
|
151
|
+
var X;
|
|
152
|
+
(function(n) {
|
|
153
|
+
n[n.Empty = 0] = "Empty", n[n.IgnoreCase = 1] = "IgnoreCase", n[n.Global = 2] = "Global", n[n.Multiline = 4] = "Multiline", n[n.Unicode = 16] = "Unicode", n[n.Sticky = 8] = "Sticky", n[n.DotAll = 32] = "DotAll", n[n.Indices = 64] = "Indices", n[n.UnicodeSets = 128] = "UnicodeSets";
|
|
154
|
+
})(X || (X = {}));
|
|
155
|
+
function He(n, e) {
|
|
156
|
+
let u = n.index, t = o2.Empty;
|
|
157
|
+
n: for (; ; ) {
|
|
158
|
+
let m = n.currentChar;
|
|
159
|
+
if (A(n), t & o2.Escape) t &= ~o2.Escape;
|
|
160
|
+
else switch (m) {
|
|
161
|
+
case 47:
|
|
162
|
+
if (t) break;
|
|
163
|
+
break n;
|
|
164
|
+
case 92:
|
|
165
|
+
t |= o2.Escape;
|
|
166
|
+
break;
|
|
167
|
+
case 91:
|
|
168
|
+
t |= o2.Class;
|
|
169
|
+
break;
|
|
170
|
+
case 93:
|
|
171
|
+
t &= o2.Escape;
|
|
172
|
+
break;
|
|
173
|
+
}
|
|
174
|
+
if ((m === 13 || m === 10 || m === 8232 || m === 8233) && c(n, 34), n.index >= n.source.length) return c(n, 34);
|
|
175
|
+
}
|
|
176
|
+
let o = n.index - 1, i = X.Empty, l = n.currentChar, { index: f } = n;
|
|
177
|
+
for (; V2(l); ) {
|
|
178
|
+
switch (l) {
|
|
179
|
+
case 103:
|
|
180
|
+
i & X.Global && c(n, 36, "g"), i |= X.Global;
|
|
181
|
+
break;
|
|
182
|
+
case 105:
|
|
183
|
+
i & X.IgnoreCase && c(n, 36, "i"), i |= X.IgnoreCase;
|
|
184
|
+
break;
|
|
185
|
+
case 109:
|
|
186
|
+
i & X.Multiline && c(n, 36, "m"), i |= X.Multiline;
|
|
187
|
+
break;
|
|
188
|
+
case 117:
|
|
189
|
+
i & X.Unicode && c(n, 36, "u"), i & X.UnicodeSets && c(n, 36, "vu"), i |= X.Unicode;
|
|
190
|
+
break;
|
|
191
|
+
case 118:
|
|
192
|
+
i & X.Unicode && c(n, 36, "uv"), i & X.UnicodeSets && c(n, 36, "v"), i |= X.UnicodeSets;
|
|
193
|
+
break;
|
|
194
|
+
case 121:
|
|
195
|
+
i & X.Sticky && c(n, 36, "y"), i |= X.Sticky;
|
|
196
|
+
break;
|
|
197
|
+
case 115:
|
|
198
|
+
i & X.DotAll && c(n, 36, "s"), i |= X.DotAll;
|
|
199
|
+
break;
|
|
200
|
+
case 100:
|
|
201
|
+
i & X.Indices && c(n, 36, "d"), i |= X.Indices;
|
|
202
|
+
break;
|
|
203
|
+
default:
|
|
204
|
+
c(n, 35);
|
|
205
|
+
}
|
|
206
|
+
l = A(n);
|
|
207
|
+
}
|
|
208
|
+
let d = n.source.slice(f, n.index), g = n.source.slice(u, o);
|
|
209
|
+
return n.tokenRegExp = { pattern: g, flags: d }, e & 128 && (n.tokenRaw = n.source.slice(n.tokenIndex, n.index)), n.tokenValue = ze(n, g, d), 65540;
|
|
210
|
+
}
|
|
211
|
+
function ze(n, e, u) {
|
|
212
|
+
try {
|
|
213
|
+
return new RegExp(e, u);
|
|
214
|
+
} catch {
|
|
215
|
+
try {
|
|
216
|
+
return new RegExp(e, u), null;
|
|
217
|
+
} catch {
|
|
218
|
+
c(n, 34);
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function Ke(n, e, u) {
|
|
223
|
+
let { index: t } = n, o = "", i = A(n), l = n.index;
|
|
224
|
+
for (; !(N[i] & 8); ) {
|
|
225
|
+
if (i === u) return o += n.source.slice(l, n.index), A(n), e & 128 && (n.tokenRaw = n.source.slice(t, n.index)), n.tokenValue = o, 134283267;
|
|
226
|
+
if ((i & 8) === 8 && i === 92) {
|
|
227
|
+
if (o += n.source.slice(l, n.index), i = A(n), i < 127 || i === 8232 || i === 8233) {
|
|
228
|
+
let f = Mn(n, e, i);
|
|
229
|
+
f >= 0 ? o += String.fromCodePoint(f) : Jn(n, f, 0);
|
|
230
|
+
} else o += String.fromCodePoint(i);
|
|
231
|
+
l = n.index + 1;
|
|
232
|
+
}
|
|
233
|
+
n.index >= n.end && c(n, 16), i = A(n);
|
|
234
|
+
}
|
|
235
|
+
c(n, 16);
|
|
236
|
+
}
|
|
237
|
+
function Mn(n, e, u, t = 0) {
|
|
238
|
+
switch (u) {
|
|
239
|
+
case 98:
|
|
240
|
+
return 8;
|
|
241
|
+
case 102:
|
|
242
|
+
return 12;
|
|
243
|
+
case 114:
|
|
244
|
+
return 13;
|
|
245
|
+
case 110:
|
|
246
|
+
return 10;
|
|
247
|
+
case 116:
|
|
248
|
+
return 9;
|
|
249
|
+
case 118:
|
|
250
|
+
return 11;
|
|
251
|
+
case 13:
|
|
252
|
+
if (n.index < n.end) {
|
|
253
|
+
let o = n.source.charCodeAt(n.index + 1);
|
|
254
|
+
o === 10 && (n.index = n.index + 1, n.currentChar = o);
|
|
255
|
+
}
|
|
256
|
+
case 10:
|
|
257
|
+
case 8232:
|
|
258
|
+
case 8233:
|
|
259
|
+
return n.column = -1, n.line++, -1;
|
|
260
|
+
case 48:
|
|
261
|
+
case 49:
|
|
262
|
+
case 50:
|
|
263
|
+
case 51: {
|
|
264
|
+
let o = u - 48, i = n.index + 1, l = n.column + 1;
|
|
265
|
+
if (i < n.end) {
|
|
266
|
+
let f = n.source.charCodeAt(i);
|
|
267
|
+
if (N[f] & 32) {
|
|
268
|
+
if (e & 256 || t) return -2;
|
|
269
|
+
if (n.currentChar = f, o = o << 3 | f - 48, i++, l++, i < n.end) {
|
|
270
|
+
let d = n.source.charCodeAt(i);
|
|
271
|
+
N[d] & 32 && (n.currentChar = d, o = o << 3 | d - 48, i++, l++);
|
|
272
|
+
}
|
|
273
|
+
n.flags |= 64;
|
|
274
|
+
} else if (o !== 0 || N[f] & 512) {
|
|
275
|
+
if (e & 256 || t) return -2;
|
|
276
|
+
n.flags |= 64;
|
|
277
|
+
}
|
|
278
|
+
n.index = i - 1, n.column = l - 1;
|
|
279
|
+
}
|
|
280
|
+
return o;
|
|
281
|
+
}
|
|
282
|
+
case 52:
|
|
283
|
+
case 53:
|
|
284
|
+
case 54:
|
|
285
|
+
case 55: {
|
|
286
|
+
if (t || e & 256) return -2;
|
|
287
|
+
let o = u - 48, i = n.index + 1, l = n.column + 1;
|
|
288
|
+
if (i < n.end) {
|
|
289
|
+
let f = n.source.charCodeAt(i);
|
|
290
|
+
N[f] & 32 && (o = o << 3 | f - 48, n.currentChar = f, n.index = i, n.column = l);
|
|
291
|
+
}
|
|
292
|
+
return n.flags |= 64, o;
|
|
293
|
+
}
|
|
294
|
+
case 120: {
|
|
295
|
+
let o = A(n);
|
|
296
|
+
if (!(N[o] & 64)) return -4;
|
|
297
|
+
let i = W(o), l = A(n);
|
|
298
|
+
if (!(N[l] & 64)) return -4;
|
|
299
|
+
let f = W(l);
|
|
300
|
+
return i << 4 | f;
|
|
301
|
+
}
|
|
302
|
+
case 117: {
|
|
303
|
+
let o = A(n);
|
|
304
|
+
if (n.currentChar === 123) {
|
|
305
|
+
let i = 0;
|
|
306
|
+
for (; N[A(n)] & 64; ) if (i = i << 4 | W(n.currentChar), i > 1114111) return -5;
|
|
307
|
+
return n.currentChar < 1 || n.currentChar !== 125 ? -4 : i;
|
|
308
|
+
} else {
|
|
309
|
+
if (!(N[o] & 64)) return -4;
|
|
310
|
+
let i = n.source.charCodeAt(n.index + 1);
|
|
311
|
+
if (!(N[i] & 64)) return -4;
|
|
312
|
+
let l = n.source.charCodeAt(n.index + 2);
|
|
313
|
+
if (!(N[l] & 64)) return -4;
|
|
314
|
+
let f = n.source.charCodeAt(n.index + 3);
|
|
315
|
+
return N[f] & 64 ? (n.index += 3, n.column += 3, n.currentChar = n.source.charCodeAt(n.index), W(o) << 12 | W(i) << 8 | W(l) << 4 | W(f)) : -4;
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
case 56:
|
|
319
|
+
case 57:
|
|
320
|
+
if (t || !(e & 64) || e & 256) return -3;
|
|
321
|
+
n.flags |= 4096;
|
|
322
|
+
default:
|
|
323
|
+
return u;
|
|
324
|
+
}
|
|
325
|
+
}
|
|
326
|
+
function Jn(n, e, u) {
|
|
327
|
+
switch (e) {
|
|
328
|
+
case -1:
|
|
329
|
+
return;
|
|
330
|
+
case -2:
|
|
331
|
+
c(n, u ? 2 : 1);
|
|
332
|
+
case -3:
|
|
333
|
+
c(n, u ? 3 : 14);
|
|
334
|
+
case -4:
|
|
335
|
+
c(n, 7);
|
|
336
|
+
case -5:
|
|
337
|
+
c(n, 104);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
function jn(n, e) {
|
|
341
|
+
let { index: u } = n, t = 67174409, o = "", i = A(n);
|
|
342
|
+
for (; i !== 96; ) {
|
|
343
|
+
if (i === 36 && n.source.charCodeAt(n.index + 1) === 123) {
|
|
344
|
+
A(n), t = 67174408;
|
|
345
|
+
break;
|
|
346
|
+
} else if (i === 92) if (i = A(n), i > 126) o += String.fromCodePoint(i);
|
|
347
|
+
else {
|
|
348
|
+
let { index: l, line: f, column: d } = n, g = Mn(n, e | 256, i, 1);
|
|
349
|
+
if (g >= 0) o += String.fromCodePoint(g);
|
|
350
|
+
else if (g !== -1 && e & 16384) {
|
|
351
|
+
n.index = l, n.line = f, n.column = d, o = null, i = $e(n, i), i < 0 && (t = 67174408);
|
|
352
|
+
break;
|
|
353
|
+
} else Jn(n, g, 1);
|
|
354
|
+
}
|
|
355
|
+
else n.index < n.end && (i === 13 && n.source.charCodeAt(n.index) === 10 && (o += String.fromCodePoint(i), n.currentChar = n.source.charCodeAt(++n.index)), ((i & 83) < 3 && i === 10 || (i ^ 8232) <= 1) && (n.column = -1, n.line++), o += String.fromCodePoint(i));
|
|
356
|
+
n.index >= n.end && c(n, 17), i = A(n);
|
|
357
|
+
}
|
|
358
|
+
return A(n), n.tokenValue = o, n.tokenRaw = n.source.slice(u + 1, n.index - (t === 67174409 ? 1 : 2)), t;
|
|
359
|
+
}
|
|
360
|
+
function $e(n, e) {
|
|
361
|
+
for (; e !== 96; ) {
|
|
362
|
+
switch (e) {
|
|
363
|
+
case 36: {
|
|
364
|
+
let u = n.index + 1;
|
|
365
|
+
if (u < n.end && n.source.charCodeAt(u) === 123) return n.index = u, n.column++, -e;
|
|
366
|
+
break;
|
|
367
|
+
}
|
|
368
|
+
case 10:
|
|
369
|
+
case 8232:
|
|
370
|
+
case 8233:
|
|
371
|
+
n.column = -1, n.line++;
|
|
372
|
+
}
|
|
373
|
+
n.index >= n.end && c(n, 17), e = A(n);
|
|
374
|
+
}
|
|
375
|
+
return e;
|
|
376
|
+
}
|
|
377
|
+
function We(n, e) {
|
|
378
|
+
return n.index >= n.end && c(n, 0), n.index--, n.column--, jn(n, e);
|
|
379
|
+
}
|
|
380
|
+
function Fn(n, e, u) {
|
|
381
|
+
let t = n.currentChar, o = 0, i = 9, l = u & 64 ? 0 : 1, f = 0, d = 0;
|
|
382
|
+
if (u & 64) o = "." + v2(n, t), t = n.currentChar, t === 110 && c(n, 12);
|
|
383
|
+
else {
|
|
384
|
+
if (t === 48) if (t = A(n), (t | 32) === 120) {
|
|
385
|
+
for (u = 136, t = A(n); N[t] & 4160; ) {
|
|
386
|
+
if (t === 95) {
|
|
387
|
+
d || c(n, 152), d = 0, t = A(n);
|
|
388
|
+
continue;
|
|
389
|
+
}
|
|
390
|
+
d = 1, o = o * 16 + W(t), f++, t = A(n);
|
|
391
|
+
}
|
|
392
|
+
(f === 0 || !d) && c(n, f === 0 ? 21 : 153);
|
|
393
|
+
} else if ((t | 32) === 111) {
|
|
394
|
+
for (u = 132, t = A(n); N[t] & 4128; ) {
|
|
395
|
+
if (t === 95) {
|
|
396
|
+
d || c(n, 152), d = 0, t = A(n);
|
|
397
|
+
continue;
|
|
398
|
+
}
|
|
399
|
+
d = 1, o = o * 8 + (t - 48), f++, t = A(n);
|
|
400
|
+
}
|
|
401
|
+
(f === 0 || !d) && c(n, f === 0 ? 0 : 153);
|
|
402
|
+
} else if ((t | 32) === 98) {
|
|
403
|
+
for (u = 130, t = A(n); N[t] & 4224; ) {
|
|
404
|
+
if (t === 95) {
|
|
405
|
+
d || c(n, 152), d = 0, t = A(n);
|
|
406
|
+
continue;
|
|
407
|
+
}
|
|
408
|
+
d = 1, o = o * 2 + (t - 48), f++, t = A(n);
|
|
409
|
+
}
|
|
410
|
+
(f === 0 || !d) && c(n, f === 0 ? 0 : 153);
|
|
411
|
+
} else if (N[t] & 32) for (e & 256 && c(n, 1), u = 1; N[t] & 16; ) {
|
|
412
|
+
if (N[t] & 512) {
|
|
413
|
+
u = 32, l = 0;
|
|
414
|
+
break;
|
|
415
|
+
}
|
|
416
|
+
o = o * 8 + (t - 48), t = A(n);
|
|
417
|
+
}
|
|
418
|
+
else N[t] & 512 ? (e & 256 && c(n, 1), n.flags |= 64, u = 32) : t === 95 && c(n, 0);
|
|
419
|
+
if (u & 48) {
|
|
420
|
+
if (l) {
|
|
421
|
+
for (; i >= 0 && N[t] & 4112; ) {
|
|
422
|
+
if (t === 95) {
|
|
423
|
+
t = A(n), (t === 95 || u & 32) && h2(n.index, n.line, n.column, n.index + 1, n.line, n.column, 152), d = 1;
|
|
424
|
+
continue;
|
|
425
|
+
}
|
|
426
|
+
d = 0, o = 10 * o + (t - 48), t = A(n), --i;
|
|
427
|
+
}
|
|
428
|
+
if (d && h2(n.index, n.line, n.column, n.index + 1, n.line, n.column, 153), i >= 0 && !M2(t) && t !== 46) return n.tokenValue = o, e & 128 && (n.tokenRaw = n.source.slice(n.tokenIndex, n.index)), 134283266;
|
|
429
|
+
}
|
|
430
|
+
o += v2(n, t), t = n.currentChar, t === 46 && (A(n) === 95 && c(n, 0), u = 64, o += "." + v2(n, n.currentChar), t = n.currentChar);
|
|
431
|
+
}
|
|
432
|
+
}
|
|
433
|
+
let g = n.index, m = 0;
|
|
434
|
+
if (t === 110 && u & 128) m = 1, t = A(n);
|
|
435
|
+
else if ((t | 32) === 101) {
|
|
436
|
+
t = A(n), N[t] & 256 && (t = A(n));
|
|
437
|
+
let { index: y } = n;
|
|
438
|
+
N[t] & 16 || c(n, 11), o += n.source.substring(g, y) + v2(n, t), t = n.currentChar;
|
|
439
|
+
}
|
|
440
|
+
return (n.index < n.end && N[t] & 16 || M2(t)) && c(n, 13), m ? (n.tokenRaw = n.source.slice(n.tokenIndex, n.index), n.tokenValue = BigInt(i2(false, n.tokenRaw.slice(0, -1), "_", "")), 134283388) : (n.tokenValue = u & 15 ? o : u & 32 ? parseFloat(n.source.substring(n.tokenIndex, n.index)) : +o, e & 128 && (n.tokenRaw = n.source.slice(n.tokenIndex, n.index)), 134283266);
|
|
441
|
+
}
|
|
442
|
+
function v2(n, e) {
|
|
443
|
+
let u = 0, t = n.index, o = "";
|
|
444
|
+
for (; N[e] & 4112; ) {
|
|
445
|
+
if (e === 95) {
|
|
446
|
+
let { index: i } = n;
|
|
447
|
+
e = A(n), e === 95 && h2(n.index, n.line, n.column, n.index + 1, n.line, n.column, 152), u = 1, o += n.source.substring(t, i), t = n.index;
|
|
448
|
+
continue;
|
|
449
|
+
}
|
|
450
|
+
u = 0, e = A(n);
|
|
451
|
+
}
|
|
452
|
+
return u && h2(n.index, n.line, n.column, n.index + 1, n.line, n.column, 153), o + n.source.substring(t, n.index);
|
|
453
|
+
}
|
|
454
|
+
var V = ["end of source", "identifier", "number", "string", "regular expression", "false", "true", "null", "template continuation", "template tail", "=>", "(", "{", ".", "...", "}", ")", ";", ",", "[", "]", ":", "?", "'", '"', "++", "--", "=", "<<=", ">>=", ">>>=", "**=", "+=", "-=", "*=", "/=", "%=", "^=", "|=", "&=", "||=", "&&=", "??=", "typeof", "delete", "void", "!", "~", "+", "-", "in", "instanceof", "*", "%", "/", "**", "&&", "||", "===", "!==", "==", "!=", "<=", ">=", "<", ">", "<<", ">>", ">>>", "&", "|", "^", "var", "let", "const", "break", "case", "catch", "class", "continue", "debugger", "default", "do", "else", "export", "extends", "finally", "for", "function", "if", "import", "new", "return", "super", "switch", "this", "throw", "try", "while", "with", "implements", "interface", "package", "private", "protected", "public", "static", "yield", "as", "async", "await", "constructor", "get", "set", "accessor", "from", "of", "enum", "eval", "arguments", "escaped keyword", "escaped future reserved keyword", "reserved if strict", "#", "BigIntLiteral", "??", "?.", "WhiteSpace", "Illegal", "LineTerminator", "PrivateField", "Template", "@", "target", "meta", "LineFeed", "Escaped", "JSXText"];
|
|
455
|
+
var Xn = Object.create(null, { this: { value: 86111 }, function: { value: 86104 }, if: { value: 20569 }, return: { value: 20572 }, var: { value: 86088 }, else: { value: 20563 }, for: { value: 20567 }, new: { value: 86107 }, in: { value: 8673330 }, typeof: { value: 16863275 }, while: { value: 20578 }, case: { value: 20556 }, break: { value: 20555 }, try: { value: 20577 }, catch: { value: 20557 }, delete: { value: 16863276 }, throw: { value: 86112 }, switch: { value: 86110 }, continue: { value: 20559 }, default: { value: 20561 }, instanceof: { value: 8411187 }, do: { value: 20562 }, void: { value: 16863277 }, finally: { value: 20566 }, async: { value: 209005 }, await: { value: 209006 }, class: { value: 86094 }, const: { value: 86090 }, constructor: { value: 12399 }, debugger: { value: 20560 }, export: { value: 20564 }, extends: { value: 20565 }, false: { value: 86021 }, from: { value: 12403 }, get: { value: 12400 }, implements: { value: 36964 }, import: { value: 86106 }, interface: { value: 36965 }, let: { value: 241737 }, null: { value: 86023 }, of: { value: 274548 }, package: { value: 36966 }, private: { value: 36967 }, protected: { value: 36968 }, public: { value: 36969 }, set: { value: 12401 }, static: { value: 36970 }, super: { value: 86109 }, true: { value: 86022 }, with: { value: 20579 }, yield: { value: 241771 }, enum: { value: 86133 }, eval: { value: 537079926 }, as: { value: 77932 }, arguments: { value: 537079927 }, target: { value: 209029 }, meta: { value: 209030 }, accessor: { value: 12402 } });
|
|
456
|
+
function qn(n, e, u) {
|
|
457
|
+
for (; Rn[A(n)]; ) ;
|
|
458
|
+
return n.tokenValue = n.source.slice(n.tokenIndex, n.index), n.currentChar !== 92 && n.currentChar <= 126 ? Xn[n.tokenValue] || 208897 : ln(n, e, 0, u);
|
|
459
|
+
}
|
|
460
|
+
function _e(n, e) {
|
|
461
|
+
let u = Hn(n);
|
|
462
|
+
return M2(u) || c(n, 5), n.tokenValue = String.fromCodePoint(u), ln(n, e, 1, N[u] & 4);
|
|
463
|
+
}
|
|
464
|
+
function ln(n, e, u, t) {
|
|
465
|
+
let o = n.index;
|
|
466
|
+
for (; n.index < n.end; ) if (n.currentChar === 92) {
|
|
467
|
+
n.tokenValue += n.source.slice(o, n.index), u = 1;
|
|
468
|
+
let l = Hn(n);
|
|
469
|
+
V2(l) || c(n, 5), t = t && N[l] & 4, n.tokenValue += String.fromCodePoint(l), o = n.index;
|
|
470
|
+
} else {
|
|
471
|
+
let l = un(n);
|
|
472
|
+
if (l > 0) V2(l) || c(n, 20, String.fromCodePoint(l)), n.currentChar = l, n.index++, n.column++;
|
|
473
|
+
else if (!V2(n.currentChar)) break;
|
|
474
|
+
A(n);
|
|
475
|
+
}
|
|
476
|
+
n.index <= n.end && (n.tokenValue += n.source.slice(o, n.index));
|
|
477
|
+
let { length: i } = n.tokenValue;
|
|
478
|
+
if (t && i >= 2 && i <= 11) {
|
|
479
|
+
let l = Xn[n.tokenValue];
|
|
480
|
+
return l === void 0 ? 208897 | (u ? -2147483648 : 0) : u ? l === 209006 ? e & 524800 ? -2147483528 : l | -2147483648 : e & 256 ? l === 36970 || (l & 36864) === 36864 ? -2147483527 : (l & 20480) === 20480 ? e & 67108864 && !(e & 2048) ? l | -2147483648 : -2147483528 : -2147274630 : e & 67108864 && !(e & 2048) && (l & 20480) === 20480 ? l | -2147483648 : l === 241771 ? e & 67108864 ? -2147274630 : e & 262144 ? -2147483528 : l | -2147483648 : l === 209005 ? -2147274630 : (l & 36864) === 36864 ? l | 12288 | -2147483648 : -2147483528 : l;
|
|
481
|
+
}
|
|
482
|
+
return 208897 | (u ? -2147483648 : 0);
|
|
483
|
+
}
|
|
484
|
+
function Ye(n) {
|
|
485
|
+
let e = A(n);
|
|
486
|
+
if (e === 92) return 130;
|
|
487
|
+
let u = un(n);
|
|
488
|
+
return u && (e = u), M2(e) || c(n, 96), 130;
|
|
489
|
+
}
|
|
490
|
+
function Hn(n) {
|
|
491
|
+
return n.source.charCodeAt(n.index + 1) !== 117 && c(n, 5), n.currentChar = n.source.charCodeAt(n.index += 2), Qe(n);
|
|
492
|
+
}
|
|
493
|
+
function Qe(n) {
|
|
494
|
+
let e = 0, u = n.currentChar;
|
|
495
|
+
if (u === 123) {
|
|
496
|
+
let l = n.index - 2;
|
|
497
|
+
for (; N[A(n)] & 64; ) e = e << 4 | W(n.currentChar), e > 1114111 && h2(l, n.line, n.column, n.index, n.line, n.column, 104);
|
|
498
|
+
return n.currentChar !== 125 && h2(l, n.line, n.column, n.index, n.line, n.column, 7), A(n), e;
|
|
499
|
+
}
|
|
500
|
+
N[u] & 64 || c(n, 7);
|
|
501
|
+
let t = n.source.charCodeAt(n.index + 1);
|
|
502
|
+
N[t] & 64 || c(n, 7);
|
|
503
|
+
let o = n.source.charCodeAt(n.index + 2);
|
|
504
|
+
N[o] & 64 || c(n, 7);
|
|
505
|
+
let i = n.source.charCodeAt(n.index + 3);
|
|
506
|
+
return N[i] & 64 || c(n, 7), e = W(u) << 12 | W(t) << 8 | W(o) << 4 | W(i), n.currentChar = n.source.charCodeAt(n.index += 4), e;
|
|
507
|
+
}
|
|
508
|
+
var Ze = [128, 128, 128, 128, 128, 128, 128, 128, 128, 127, 135, 127, 127, 129, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 128, 127, 16842798, 134283267, 130, 208897, 8391477, 8390213, 134283267, 67174411, 16, 8391476, 25233968, 18, 25233969, 67108877, 8457014, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 134283266, 21, 1074790417, 8456256, 1077936155, 8390721, 22, 132, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 208897, 69271571, 136, 20, 8389959, 208897, 131, 4096, 4096, 4096, 4096, 4096, 4096, 4096, 208897, 4096, 208897, 208897, 4096, 208897, 4096, 208897, 4096, 208897, 4096, 4096, 4096, 208897, 4096, 4096, 208897, 4096, 4096, 2162700, 8389702, 1074790415, 16842799, 128];
|
|
509
|
+
function b(n, e) {
|
|
510
|
+
n.flags = (n.flags | 1) ^ 1, n.startIndex = n.index, n.startColumn = n.column, n.startLine = n.line, n.setToken(zn(n, e, 0));
|
|
511
|
+
}
|
|
512
|
+
function zn(n, e, u) {
|
|
513
|
+
let t = n.index === 0, { source: o } = n, i = n.index, l = n.line, f = n.column;
|
|
514
|
+
for (; n.index < n.end; ) {
|
|
515
|
+
n.tokenIndex = n.index, n.tokenColumn = n.column, n.tokenLine = n.line;
|
|
516
|
+
let d = n.currentChar;
|
|
517
|
+
if (d <= 126) {
|
|
518
|
+
let g = Ze[d];
|
|
519
|
+
switch (g) {
|
|
520
|
+
case 67174411:
|
|
521
|
+
case 16:
|
|
522
|
+
case 2162700:
|
|
523
|
+
case 1074790415:
|
|
524
|
+
case 69271571:
|
|
525
|
+
case 20:
|
|
526
|
+
case 21:
|
|
527
|
+
case 1074790417:
|
|
528
|
+
case 18:
|
|
529
|
+
case 16842799:
|
|
530
|
+
case 132:
|
|
531
|
+
case 128:
|
|
532
|
+
return A(n), g;
|
|
533
|
+
case 208897:
|
|
534
|
+
return qn(n, e, 0);
|
|
535
|
+
case 4096:
|
|
536
|
+
return qn(n, e, 1);
|
|
537
|
+
case 134283266:
|
|
538
|
+
return Fn(n, e, 144);
|
|
539
|
+
case 134283267:
|
|
540
|
+
return Ke(n, e, d);
|
|
541
|
+
case 131:
|
|
542
|
+
return jn(n, e);
|
|
543
|
+
case 136:
|
|
544
|
+
return _e(n, e);
|
|
545
|
+
case 130:
|
|
546
|
+
return Ye(n);
|
|
547
|
+
case 127:
|
|
548
|
+
A(n);
|
|
549
|
+
break;
|
|
550
|
+
case 129:
|
|
551
|
+
u |= 5, k2(n);
|
|
552
|
+
break;
|
|
553
|
+
case 135:
|
|
554
|
+
tn(n, u), u = u & -5 | 1;
|
|
555
|
+
break;
|
|
556
|
+
case 8456256: {
|
|
557
|
+
let m = A(n);
|
|
558
|
+
if (n.index < n.end) {
|
|
559
|
+
if (m === 60) return n.index < n.end && A(n) === 61 ? (A(n), 4194332) : 8390978;
|
|
560
|
+
if (m === 61) return A(n), 8390718;
|
|
561
|
+
if (m === 33) {
|
|
562
|
+
let y = n.index + 1;
|
|
563
|
+
if (y + 1 < n.end && o.charCodeAt(y) === 45 && o.charCodeAt(y + 1) == 45) {
|
|
564
|
+
n.column += 3, n.currentChar = o.charCodeAt(n.index += 3), u = Ln(n, o, u, e, 2, n.tokenIndex, n.tokenLine, n.tokenColumn), i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn;
|
|
565
|
+
continue;
|
|
566
|
+
}
|
|
567
|
+
return 8456256;
|
|
568
|
+
}
|
|
569
|
+
}
|
|
570
|
+
return 8456256;
|
|
571
|
+
}
|
|
572
|
+
case 1077936155: {
|
|
573
|
+
A(n);
|
|
574
|
+
let m = n.currentChar;
|
|
575
|
+
return m === 61 ? A(n) === 61 ? (A(n), 8390458) : 8390460 : m === 62 ? (A(n), 10) : 1077936155;
|
|
576
|
+
}
|
|
577
|
+
case 16842798:
|
|
578
|
+
return A(n) !== 61 ? 16842798 : A(n) !== 61 ? 8390461 : (A(n), 8390459);
|
|
579
|
+
case 8391477:
|
|
580
|
+
return A(n) !== 61 ? 8391477 : (A(n), 4194340);
|
|
581
|
+
case 8391476: {
|
|
582
|
+
if (A(n), n.index >= n.end) return 8391476;
|
|
583
|
+
let m = n.currentChar;
|
|
584
|
+
return m === 61 ? (A(n), 4194338) : m !== 42 ? 8391476 : A(n) !== 61 ? 8391735 : (A(n), 4194335);
|
|
585
|
+
}
|
|
586
|
+
case 8389959:
|
|
587
|
+
return A(n) !== 61 ? 8389959 : (A(n), 4194341);
|
|
588
|
+
case 25233968: {
|
|
589
|
+
A(n);
|
|
590
|
+
let m = n.currentChar;
|
|
591
|
+
return m === 43 ? (A(n), 33619993) : m === 61 ? (A(n), 4194336) : 25233968;
|
|
592
|
+
}
|
|
593
|
+
case 25233969: {
|
|
594
|
+
A(n);
|
|
595
|
+
let m = n.currentChar;
|
|
596
|
+
if (m === 45) {
|
|
597
|
+
if (A(n), (u & 1 || t) && n.currentChar === 62) {
|
|
598
|
+
e & 64 || c(n, 112), A(n), u = Ln(n, o, u, e, 3, i, l, f), i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn;
|
|
599
|
+
continue;
|
|
600
|
+
}
|
|
601
|
+
return 33619994;
|
|
602
|
+
}
|
|
603
|
+
return m === 61 ? (A(n), 4194337) : 25233969;
|
|
604
|
+
}
|
|
605
|
+
case 8457014: {
|
|
606
|
+
if (A(n), n.index < n.end) {
|
|
607
|
+
let m = n.currentChar;
|
|
608
|
+
if (m === 47) {
|
|
609
|
+
A(n), u = on(n, o, u, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn;
|
|
610
|
+
continue;
|
|
611
|
+
}
|
|
612
|
+
if (m === 42) {
|
|
613
|
+
A(n), u = Xe(n, o, u), i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn;
|
|
614
|
+
continue;
|
|
615
|
+
}
|
|
616
|
+
if (e & 8192) return He(n, e);
|
|
617
|
+
if (m === 61) return A(n), 4259875;
|
|
618
|
+
}
|
|
619
|
+
return 8457014;
|
|
620
|
+
}
|
|
621
|
+
case 67108877: {
|
|
622
|
+
let m = A(n);
|
|
623
|
+
if (m >= 48 && m <= 57) return Fn(n, e, 80);
|
|
624
|
+
if (m === 46) {
|
|
625
|
+
let y = n.index + 1;
|
|
626
|
+
if (y < n.end && o.charCodeAt(y) === 46) return n.column += 2, n.currentChar = o.charCodeAt(n.index += 2), 14;
|
|
627
|
+
}
|
|
628
|
+
return 67108877;
|
|
629
|
+
}
|
|
630
|
+
case 8389702: {
|
|
631
|
+
A(n);
|
|
632
|
+
let m = n.currentChar;
|
|
633
|
+
return m === 124 ? (A(n), n.currentChar === 61 ? (A(n), 4194344) : 8913465) : m === 61 ? (A(n), 4194342) : 8389702;
|
|
634
|
+
}
|
|
635
|
+
case 8390721: {
|
|
636
|
+
A(n);
|
|
637
|
+
let m = n.currentChar;
|
|
638
|
+
if (m === 61) return A(n), 8390719;
|
|
639
|
+
if (m !== 62) return 8390721;
|
|
640
|
+
if (A(n), n.index < n.end) {
|
|
641
|
+
let y = n.currentChar;
|
|
642
|
+
if (y === 62) return A(n) === 61 ? (A(n), 4194334) : 8390980;
|
|
643
|
+
if (y === 61) return A(n), 4194333;
|
|
644
|
+
}
|
|
645
|
+
return 8390979;
|
|
646
|
+
}
|
|
647
|
+
case 8390213: {
|
|
648
|
+
A(n);
|
|
649
|
+
let m = n.currentChar;
|
|
650
|
+
return m === 38 ? (A(n), n.currentChar === 61 ? (A(n), 4194345) : 8913720) : m === 61 ? (A(n), 4194343) : 8390213;
|
|
651
|
+
}
|
|
652
|
+
case 22: {
|
|
653
|
+
let m = A(n);
|
|
654
|
+
if (m === 63) return A(n), n.currentChar === 61 ? (A(n), 4194346) : 276824445;
|
|
655
|
+
if (m === 46) {
|
|
656
|
+
let y = n.index + 1;
|
|
657
|
+
if (y < n.end && (m = o.charCodeAt(y), !(m >= 48 && m <= 57))) return A(n), 67108990;
|
|
658
|
+
}
|
|
659
|
+
return 22;
|
|
660
|
+
}
|
|
661
|
+
}
|
|
662
|
+
} else {
|
|
663
|
+
if ((d ^ 8232) <= 1) {
|
|
664
|
+
u = u & -5 | 1, k2(n);
|
|
665
|
+
continue;
|
|
666
|
+
}
|
|
667
|
+
let g = un(n);
|
|
668
|
+
if (g > 0 && (d = g), Vn(d)) return n.tokenValue = "", ln(n, e, 0, 0);
|
|
669
|
+
if (Ue(d)) {
|
|
670
|
+
A(n);
|
|
671
|
+
continue;
|
|
672
|
+
}
|
|
673
|
+
c(n, 20, String.fromCodePoint(d));
|
|
674
|
+
}
|
|
675
|
+
}
|
|
676
|
+
return 1048576;
|
|
677
|
+
}
|
|
678
|
+
function Ge(n, e) {
|
|
679
|
+
return n.startIndex = n.tokenIndex = n.index, n.startColumn = n.tokenColumn = n.column, n.startLine = n.tokenLine = n.line, n.setToken(N[n.currentChar] & 8192 ? xe(n, e) : zn(n, e, 0)), n.getToken();
|
|
680
|
+
}
|
|
681
|
+
function xe(n, e) {
|
|
682
|
+
let u = n.currentChar, t = A(n), o = n.index;
|
|
683
|
+
for (; t !== u; ) n.index >= n.end && c(n, 16), t = A(n);
|
|
684
|
+
return t !== u && c(n, 16), n.tokenValue = n.source.slice(o, n.index), A(n), e & 128 && (n.tokenRaw = n.source.slice(n.tokenIndex, n.index)), 134283267;
|
|
685
|
+
}
|
|
686
|
+
function w2(n, e) {
|
|
687
|
+
if (n.startIndex = n.tokenIndex = n.index, n.startColumn = n.tokenColumn = n.column, n.startLine = n.tokenLine = n.line, n.index >= n.end) {
|
|
688
|
+
n.setToken(1048576);
|
|
689
|
+
return;
|
|
690
|
+
}
|
|
691
|
+
if (n.currentChar === 60) {
|
|
692
|
+
A(n), n.setToken(8456256);
|
|
693
|
+
return;
|
|
694
|
+
}
|
|
695
|
+
if (n.currentChar === 123) {
|
|
696
|
+
A(n), n.setToken(2162700);
|
|
697
|
+
return;
|
|
698
|
+
}
|
|
699
|
+
let u = 0;
|
|
700
|
+
for (; n.index < n.end; ) {
|
|
701
|
+
let o = N[n.source.charCodeAt(n.index)];
|
|
702
|
+
if (o & 1024 ? (u |= 5, k2(n)) : o & 2048 ? (tn(n, u), u = u & -5 | 1) : A(n), N[n.currentChar] & 16384) break;
|
|
703
|
+
}
|
|
704
|
+
n.tokenIndex === n.index && c(n, 0);
|
|
705
|
+
let t = n.source.slice(n.tokenIndex, n.index);
|
|
706
|
+
e & 128 && (n.tokenRaw = t), n.tokenValue = t, n.setToken(137);
|
|
707
|
+
}
|
|
708
|
+
function x2(n) {
|
|
709
|
+
if ((n.getToken() & 143360) === 143360) {
|
|
710
|
+
let { index: e } = n, u = n.currentChar;
|
|
711
|
+
for (; N[u] & 32770; ) u = A(n);
|
|
712
|
+
n.tokenValue += n.source.slice(e, n.index);
|
|
713
|
+
}
|
|
714
|
+
return n.setToken(208897, true), n.getToken();
|
|
715
|
+
}
|
|
716
|
+
function K(n, e) {
|
|
717
|
+
var u;
|
|
718
|
+
!(n.flags & 1) && (n.getToken() & 1048576) !== 1048576 && c(n, 30, V[n.getToken() & 255]), P(n, e, 1074790417) || (u = n.onInsertedSemicolon) == null || u.call(n, n.startIndex);
|
|
719
|
+
}
|
|
720
|
+
function Kn(n, e, u, t) {
|
|
721
|
+
return e - u < 13 && t === "use strict" && ((n.getToken() & 1048576) === 1048576 || n.flags & 1) ? 1 : 0;
|
|
722
|
+
}
|
|
723
|
+
function fn(n, e, u) {
|
|
724
|
+
return n.getToken() !== u ? 0 : (b(n, e), 1);
|
|
725
|
+
}
|
|
726
|
+
function P(n, e, u) {
|
|
727
|
+
return n.getToken() !== u ? false : (b(n, e), true);
|
|
728
|
+
}
|
|
729
|
+
function C(n, e, u) {
|
|
730
|
+
n.getToken() !== u && c(n, 25, V[u & 255]), b(n, e);
|
|
731
|
+
}
|
|
732
|
+
function r(n, e) {
|
|
733
|
+
switch (e.type) {
|
|
734
|
+
case "ArrayExpression": {
|
|
735
|
+
e.type = "ArrayPattern";
|
|
736
|
+
let { elements: u } = e;
|
|
737
|
+
for (let t = 0, o = u.length; t < o; ++t) {
|
|
738
|
+
let i = u[t];
|
|
739
|
+
i && r(n, i);
|
|
740
|
+
}
|
|
741
|
+
return;
|
|
742
|
+
}
|
|
743
|
+
case "ObjectExpression": {
|
|
744
|
+
e.type = "ObjectPattern";
|
|
745
|
+
let { properties: u } = e;
|
|
746
|
+
for (let t = 0, o = u.length; t < o; ++t) r(n, u[t]);
|
|
747
|
+
return;
|
|
748
|
+
}
|
|
749
|
+
case "AssignmentExpression":
|
|
750
|
+
e.type = "AssignmentPattern", e.operator !== "=" && c(n, 71), delete e.operator, r(n, e.left);
|
|
751
|
+
return;
|
|
752
|
+
case "Property":
|
|
753
|
+
r(n, e.value);
|
|
754
|
+
return;
|
|
755
|
+
case "SpreadElement":
|
|
756
|
+
e.type = "RestElement", r(n, e.argument);
|
|
757
|
+
}
|
|
758
|
+
}
|
|
759
|
+
function J2(n, e, u, t, o) {
|
|
760
|
+
e & 256 && ((t & 36864) === 36864 && c(n, 118), !o && (t & 537079808) === 537079808 && c(n, 119)), ((t & 20480) === 20480 || t === -2147483528) && c(n, 102), u & 24 && (t & 255) === 73 && c(n, 100), e & 524800 && t === 209006 && c(n, 110), e & 262400 && t === 241771 && c(n, 97, "yield");
|
|
761
|
+
}
|
|
762
|
+
function $n(n, e, u) {
|
|
763
|
+
e & 256 && ((u & 36864) === 36864 && c(n, 118), (u & 537079808) === 537079808 && c(n, 119), u === -2147483527 && c(n, 95), u === -2147483528 && c(n, 95)), (u & 20480) === 20480 && c(n, 102), e & 524800 && u === 209006 && c(n, 110), e & 262400 && u === 241771 && c(n, 97, "yield");
|
|
764
|
+
}
|
|
765
|
+
function Wn(n, e, u) {
|
|
766
|
+
return u === 209006 && (e & 524800 && c(n, 110), n.destructible |= 128), u === 241771 && e & 262144 && c(n, 97, "yield"), (u & 20480) === 20480 || (u & 36864) === 36864 || u == -2147483527;
|
|
767
|
+
}
|
|
768
|
+
function re(n) {
|
|
769
|
+
return n.property ? n.property.type === "PrivateIdentifier" : false;
|
|
770
|
+
}
|
|
771
|
+
function _n(n, e, u, t) {
|
|
772
|
+
for (; e; ) {
|
|
773
|
+
if (e["$" + u]) return t && c(n, 137), 1;
|
|
774
|
+
t && e.loop && (t = 0), e = e.$;
|
|
775
|
+
}
|
|
776
|
+
return 0;
|
|
777
|
+
}
|
|
778
|
+
function pe(n, e, u) {
|
|
779
|
+
let t = e;
|
|
780
|
+
for (; t; ) t["$" + u] && c(n, 136, u), t = t.$;
|
|
781
|
+
e["$" + u] = 1;
|
|
782
|
+
}
|
|
783
|
+
function s(n, e, u, t, o, i) {
|
|
784
|
+
return e & 2 && (i.start = u, i.end = n.startIndex, i.range = [u, n.startIndex]), e & 4 && (i.loc = { start: { line: t, column: o }, end: { line: n.startLine, column: n.startColumn } }, n.sourceFile && (i.loc.source = n.sourceFile)), i;
|
|
785
|
+
}
|
|
786
|
+
function j2(n) {
|
|
787
|
+
switch (n.type) {
|
|
788
|
+
case "JSXIdentifier":
|
|
789
|
+
return n.name;
|
|
790
|
+
case "JSXNamespacedName":
|
|
791
|
+
return n.namespace + ":" + n.name;
|
|
792
|
+
case "JSXMemberExpression":
|
|
793
|
+
return j2(n.object) + "." + j2(n.property);
|
|
794
|
+
}
|
|
795
|
+
}
|
|
796
|
+
function K2(n, e, u) {
|
|
797
|
+
let t = j(a2(), 1024);
|
|
798
|
+
return g2(n, e, t, u, 1, 0), t;
|
|
799
|
+
}
|
|
800
|
+
function r2(n, e, ...u) {
|
|
801
|
+
let { index: t, line: o, column: i, tokenIndex: l, tokenLine: f, tokenColumn: d } = n;
|
|
802
|
+
return { type: e, params: u, index: t, line: o, column: i, tokenIndex: l, tokenLine: f, tokenColumn: d };
|
|
803
|
+
}
|
|
804
|
+
function a2() {
|
|
805
|
+
return { parent: void 0, type: 2 };
|
|
806
|
+
}
|
|
807
|
+
function j(n, e) {
|
|
808
|
+
return { parent: n, type: e, scopeError: void 0 };
|
|
809
|
+
}
|
|
810
|
+
function nu(n) {
|
|
811
|
+
return { parent: n, refs: /* @__PURE__ */ Object.create(null) };
|
|
812
|
+
}
|
|
813
|
+
function n2(n, e, u, t, o, i) {
|
|
814
|
+
o & 4 ? Yn(n, e, u, t, o) : g2(n, e, u, t, o, i), i & 64 && l2(n, t);
|
|
815
|
+
}
|
|
816
|
+
function g2(n, e, u, t, o, i) {
|
|
817
|
+
let l = u["#" + t];
|
|
818
|
+
l && !(l & 2) && (o & 1 ? u.scopeError = r2(n, 145, t) : e & 64 && !(e & 256) && i & 2 && l === 64 && o === 64 || c(n, 145, t)), u.type & 128 && u.parent["#" + t] && !(u.parent["#" + t] & 2) && c(n, 145, t), u.type & 1024 && l && !(l & 2) && o & 1 && (u.scopeError = r2(n, 145, t)), u.type & 64 && u.parent["#" + t] & 768 && c(n, 159, t), u["#" + t] = o;
|
|
819
|
+
}
|
|
820
|
+
function Yn(n, e, u, t, o) {
|
|
821
|
+
let i = u;
|
|
822
|
+
for (; i && !(i.type & 256); ) {
|
|
823
|
+
let l = i["#" + t];
|
|
824
|
+
l & 248 && (e & 64 && !(e & 256) && (o & 128 && l & 68 || l & 128 && o & 68) || c(n, 145, t)), i === u && l & 1 && o & 1 && (i.scopeError = r2(n, 145, t)), (l & 256 || l & 512 && !(e & 64)) && c(n, 145, t), i["#" + t] = o, i = i.parent;
|
|
825
|
+
}
|
|
826
|
+
}
|
|
827
|
+
function eu(n, e, u, t) {
|
|
828
|
+
let o = t & 800;
|
|
829
|
+
o & 768 || (o |= 768);
|
|
830
|
+
let i = e["#" + u];
|
|
831
|
+
i !== void 0 && ((i & 32) !== (o & 32) || i & o & 768) && c(n, 146, u), e["#" + u] = i ? i | o : o;
|
|
832
|
+
}
|
|
833
|
+
function uu(n, e, u) {
|
|
834
|
+
var t;
|
|
835
|
+
(t = e.refs)[u] ?? (t[u] = []), e.refs[u].push({ index: n.tokenIndex, line: n.tokenLine, column: n.tokenColumn });
|
|
836
|
+
}
|
|
837
|
+
function Qn(n, e) {
|
|
838
|
+
return e["#" + n] ? 1 : e.parent ? Qn(n, e.parent) : 0;
|
|
839
|
+
}
|
|
840
|
+
function tu(n) {
|
|
841
|
+
for (let e in n.refs) if (!Qn(e, n)) {
|
|
842
|
+
let { index: u, line: t, column: o } = n.refs[e][0];
|
|
843
|
+
throw new m2(u, t, o, u + e.length, t, o + e.length, 4, e);
|
|
844
|
+
}
|
|
845
|
+
}
|
|
846
|
+
function l2(n, e) {
|
|
847
|
+
n.exportedNames !== void 0 && e !== "" && (n.exportedNames["#" + e] && c(n, 147, e), n.exportedNames["#" + e] = 1);
|
|
848
|
+
}
|
|
849
|
+
function iu(n, e) {
|
|
850
|
+
n.exportedBindings !== void 0 && e !== "" && (n.exportedBindings["#" + e] = 1);
|
|
851
|
+
}
|
|
852
|
+
function ou(n, e) {
|
|
853
|
+
return function(u, t, o, i, l) {
|
|
854
|
+
let f = { type: u, value: t };
|
|
855
|
+
n & 2 && (f.start = o, f.end = i, f.range = [o, i]), n & 4 && (f.loc = l), e.push(f);
|
|
856
|
+
};
|
|
857
|
+
}
|
|
858
|
+
function lu(n, e) {
|
|
859
|
+
return function(u, t, o, i) {
|
|
860
|
+
let l = { token: u };
|
|
861
|
+
n & 2 && (l.start = t, l.end = o, l.range = [t, o]), n & 4 && (l.loc = i), e.push(l);
|
|
862
|
+
};
|
|
863
|
+
}
|
|
864
|
+
function B2(n, e) {
|
|
865
|
+
return n & 262400 ? n & 512 && e === 209006 || n & 262144 && e === 241771 ? false : (e & 12288) === 12288 : (e & 12288) === 12288 || (e & 36864) === 36864;
|
|
866
|
+
}
|
|
867
|
+
function $2(n, e, u) {
|
|
868
|
+
(u & 537079808) === 537079808 && (e & 256 && c(n, 119), n.flags |= 512), B2(e, u) || c(n, 0);
|
|
869
|
+
}
|
|
870
|
+
function fu(n, e, u, t, o) {
|
|
871
|
+
let i = 1048576, l = null;
|
|
872
|
+
return { source: n, flags: 0, index: 0, line: 1, column: 0, startIndex: 0, end: n.length, tokenIndex: 0, startColumn: 0, tokenColumn: 0, tokenLine: 1, startLine: 1, sourceFile: e, tokenValue: "", getToken() {
|
|
873
|
+
return i;
|
|
874
|
+
}, setToken(f, d = false) {
|
|
875
|
+
if (t) if (f !== 1048576) {
|
|
876
|
+
let g = { start: { line: this.tokenLine, column: this.tokenColumn }, end: { line: this.line, column: this.column } };
|
|
877
|
+
!d && l && t(...l), l = [Me(f), this.tokenIndex, this.index, g];
|
|
878
|
+
} else l && (t(...l), l = null);
|
|
879
|
+
return i = f;
|
|
880
|
+
}, tokenRaw: "", tokenRegExp: void 0, currentChar: n.charCodeAt(0), exportedNames: [], exportedBindings: [], assignable: 1, destructible: 0, onComment: u, onToken: t, onInsertedSemicolon: o, leadingDecorators: [] };
|
|
881
|
+
}
|
|
882
|
+
function du(n, e, u) {
|
|
883
|
+
let t = "", o, i, l;
|
|
884
|
+
e != null && (e.module && (u |= 768), e.next && (u |= 1), e.loc && (u |= 4), e.ranges && (u |= 2), e.uniqueKeyInPattern && (u |= 134217728), e.lexical && (u |= 16), e.webcompat && (u |= 64), e.globalReturn && (u |= 1048576), e.raw && (u |= 128), e.preserveParens && (u |= 32), e.impliedStrict && (u |= 256), e.jsx && (u |= 8), e.source && (t = e.source), e.onComment != null && (o = Array.isArray(e.onComment) ? ou(u, e.onComment) : e.onComment), e.onInsertedSemicolon != null && (i = e.onInsertedSemicolon), e.onToken != null && (l = Array.isArray(e.onToken) ? lu(u, e.onToken) : e.onToken));
|
|
885
|
+
let f = fu(n, t, o, l, i);
|
|
886
|
+
je(f);
|
|
887
|
+
let d = u & 16 ? a2() : void 0, g = [], m = "script";
|
|
888
|
+
if (u & 512) {
|
|
889
|
+
if (m = "module", g = cu(f, u | 2048, d), d) for (let a in f.exportedBindings) a[0] === "#" && !d[a] && c(f, 148, a.slice(1));
|
|
890
|
+
} else g = gu(f, u | 2048, d);
|
|
891
|
+
let y = { type: "Program", sourceType: m, body: g };
|
|
892
|
+
return u & 2 && (y.start = 0, y.end = n.length, y.range = [0, n.length]), u & 4 && (y.loc = { start: { line: 1, column: 0 }, end: { line: f.line, column: f.column } }, f.sourceFile && (y.loc.source = t)), y;
|
|
893
|
+
}
|
|
894
|
+
function gu(n, e, u) {
|
|
895
|
+
b(n, e | 8192 | 67108864);
|
|
896
|
+
let t = [];
|
|
897
|
+
for (; n.getToken() === 134283267; ) {
|
|
898
|
+
let { index: o, tokenIndex: i, tokenValue: l, tokenLine: f, tokenColumn: d } = n, g = n.getToken(), m = H(n, e);
|
|
899
|
+
Kn(n, o, i, l) && (e |= 256, n.flags & 64 && $(n.tokenIndex, n.tokenLine, n.tokenColumn, n.index, n.line, n.column, 9), n.flags & 4096 && $(n.tokenIndex, n.tokenLine, n.tokenColumn, n.index, n.line, n.column, 15)), t.push(gn(n, e, m, g, i, f, d));
|
|
900
|
+
}
|
|
901
|
+
for (; n.getToken() !== 1048576; ) t.push(I2(n, e, u, void 0, 4, {}));
|
|
902
|
+
return t;
|
|
903
|
+
}
|
|
904
|
+
function cu(n, e, u) {
|
|
905
|
+
b(n, e | 8192);
|
|
906
|
+
let t = [];
|
|
907
|
+
for (; n.getToken() === 134283267; ) {
|
|
908
|
+
let { tokenIndex: o, tokenLine: i, tokenColumn: l } = n, f = n.getToken();
|
|
909
|
+
t.push(gn(n, e, H(n, e), f, o, i, l));
|
|
910
|
+
}
|
|
911
|
+
for (; n.getToken() !== 1048576; ) t.push(mu(n, e, u));
|
|
912
|
+
return t;
|
|
913
|
+
}
|
|
914
|
+
function mu(n, e, u) {
|
|
915
|
+
n.leadingDecorators = Y2(n, e, void 0);
|
|
916
|
+
let t;
|
|
917
|
+
switch (n.getToken()) {
|
|
918
|
+
case 20564:
|
|
919
|
+
t = vu(n, e, u);
|
|
920
|
+
break;
|
|
921
|
+
case 86106:
|
|
922
|
+
t = Su(n, e, u);
|
|
923
|
+
break;
|
|
924
|
+
default:
|
|
925
|
+
t = I2(n, e, u, void 0, 4, {});
|
|
926
|
+
}
|
|
927
|
+
return n.leadingDecorators.length && c(n, 170), t;
|
|
928
|
+
}
|
|
929
|
+
function I2(n, e, u, t, o, i) {
|
|
930
|
+
let l = n.tokenIndex, f = n.tokenLine, d = n.tokenColumn;
|
|
931
|
+
switch (n.getToken()) {
|
|
932
|
+
case 86104:
|
|
933
|
+
return d2(n, e, u, t, o, 1, 0, 0, l, f, d);
|
|
934
|
+
case 132:
|
|
935
|
+
case 86094:
|
|
936
|
+
return en(n, e, u, t, 0, l, f, d);
|
|
937
|
+
case 86090:
|
|
938
|
+
return p2(n, e, u, t, 16, 0, l, f, d);
|
|
939
|
+
case 241737:
|
|
940
|
+
return Fu(n, e, u, t, o, l, f, d);
|
|
941
|
+
case 20564:
|
|
942
|
+
c(n, 103, "export");
|
|
943
|
+
case 86106:
|
|
944
|
+
switch (b(n, e), n.getToken()) {
|
|
945
|
+
case 67174411:
|
|
946
|
+
return pn(n, e, t, l, f, d);
|
|
947
|
+
case 67108877:
|
|
948
|
+
return rn(n, e, l, f, d);
|
|
949
|
+
default:
|
|
950
|
+
c(n, 103, "import");
|
|
951
|
+
}
|
|
952
|
+
case 209005:
|
|
953
|
+
return Zn(n, e, u, t, o, i, 1, l, f, d);
|
|
954
|
+
default:
|
|
955
|
+
return L2(n, e, u, t, o, i, 1, l, f, d);
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
function L2(n, e, u, t, o, i, l, f, d, g) {
|
|
959
|
+
switch (n.getToken()) {
|
|
960
|
+
case 86088:
|
|
961
|
+
return Gn(n, e, u, t, 0, f, d, g);
|
|
962
|
+
case 20572:
|
|
963
|
+
return au(n, e, t, f, d, g);
|
|
964
|
+
case 20569:
|
|
965
|
+
return hu(n, e, u, t, i, f, d, g);
|
|
966
|
+
case 20567:
|
|
967
|
+
return qu(n, e, u, t, i, f, d, g);
|
|
968
|
+
case 20562:
|
|
969
|
+
return Lu(n, e, u, t, i, f, d, g);
|
|
970
|
+
case 20578:
|
|
971
|
+
return bu(n, e, u, t, i, f, d, g);
|
|
972
|
+
case 86110:
|
|
973
|
+
return Au(n, e, u, t, i, f, d, g);
|
|
974
|
+
case 1074790417:
|
|
975
|
+
return yu(n, e, f, d, g);
|
|
976
|
+
case 2162700:
|
|
977
|
+
return E2(n, e, u && j(u, 2), t, i, f, d, g);
|
|
978
|
+
case 86112:
|
|
979
|
+
return su(n, e, t, f, d, g);
|
|
980
|
+
case 20555:
|
|
981
|
+
return Tu(n, e, i, f, d, g);
|
|
982
|
+
case 20559:
|
|
983
|
+
return Du(n, e, i, f, d, g);
|
|
984
|
+
case 20577:
|
|
985
|
+
return wu(n, e, u, t, i, f, d, g);
|
|
986
|
+
case 20579:
|
|
987
|
+
return Cu(n, e, u, t, i, f, d, g);
|
|
988
|
+
case 20560:
|
|
989
|
+
return Eu(n, e, f, d, g);
|
|
990
|
+
case 209005:
|
|
991
|
+
return Zn(n, e, u, t, o, i, 0, f, d, g);
|
|
992
|
+
case 20557:
|
|
993
|
+
c(n, 162);
|
|
994
|
+
case 20566:
|
|
995
|
+
c(n, 163);
|
|
996
|
+
case 86104:
|
|
997
|
+
c(n, e & 256 ? 76 : e & 64 ? 77 : 78);
|
|
998
|
+
case 86094:
|
|
999
|
+
c(n, 79);
|
|
1000
|
+
default:
|
|
1001
|
+
return ku(n, e, u, t, o, i, l, f, d, g);
|
|
1002
|
+
}
|
|
1003
|
+
}
|
|
1004
|
+
function ku(n, e, u, t, o, i, l, f, d, g) {
|
|
1005
|
+
let { tokenValue: m } = n, y = n.getToken(), a;
|
|
1006
|
+
switch (y) {
|
|
1007
|
+
case 241737:
|
|
1008
|
+
a = R(n, e), e & 256 && c(n, 85), n.getToken() === 69271571 && c(n, 84);
|
|
1009
|
+
break;
|
|
1010
|
+
default:
|
|
1011
|
+
a = _(n, e, t, 2, 0, 1, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1012
|
+
}
|
|
1013
|
+
return y & 143360 && n.getToken() === 21 ? dn(n, e, u, t, o, i, m, a, y, l, f, d, g) : (a = O(n, e, t, a, 0, 0, f, d, g), a = J(n, e, t, 0, 0, f, d, g, a), n.getToken() === 18 && (a = e2(n, e, t, 0, f, d, g, a)), A2(n, e, a, f, d, g));
|
|
1014
|
+
}
|
|
1015
|
+
function E2(n, e, u, t, o, i, l, f) {
|
|
1016
|
+
let d = [];
|
|
1017
|
+
for (C(n, e | 8192, 2162700); n.getToken() !== 1074790415; ) d.push(I2(n, e, u, t, 2, { $: o }));
|
|
1018
|
+
return C(n, e | 8192, 1074790415), s(n, e, i, l, f, { type: "BlockStatement", body: d });
|
|
1019
|
+
}
|
|
1020
|
+
function au(n, e, u, t, o, i) {
|
|
1021
|
+
e & 1048576 || c(n, 92), b(n, e | 8192);
|
|
1022
|
+
let l = n.flags & 1 || n.getToken() & 1048576 ? null : z(n, e, u, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1023
|
+
return K(n, e | 8192), s(n, e, t, o, i, { type: "ReturnStatement", argument: l });
|
|
1024
|
+
}
|
|
1025
|
+
function A2(n, e, u, t, o, i) {
|
|
1026
|
+
return K(n, e | 8192), s(n, e, t, o, i, { type: "ExpressionStatement", expression: u });
|
|
1027
|
+
}
|
|
1028
|
+
function dn(n, e, u, t, o, i, l, f, d, g, m, y, a) {
|
|
1029
|
+
J2(n, e, 0, d, 1), pe(n, i, l), b(n, e | 8192);
|
|
1030
|
+
let k = g && !(e & 256) && e & 64 && n.getToken() === 86104 ? d2(n, e, j(u, 2), t, o, 0, 0, 0, n.tokenIndex, n.tokenLine, n.tokenColumn) : L2(n, e, u, t, o, i, g, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1031
|
+
return s(n, e, m, y, a, { type: "LabeledStatement", label: f, body: k });
|
|
1032
|
+
}
|
|
1033
|
+
function Zn(n, e, u, t, o, i, l, f, d, g) {
|
|
1034
|
+
let { tokenValue: m } = n, y = n.getToken(), a = R(n, e);
|
|
1035
|
+
if (n.getToken() === 21) return dn(n, e, u, t, o, i, m, a, y, 1, f, d, g);
|
|
1036
|
+
let k = n.flags & 1;
|
|
1037
|
+
if (!k) {
|
|
1038
|
+
if (n.getToken() === 86104) return l || c(n, 123), d2(n, e, u, t, o, 1, 0, 1, f, d, g);
|
|
1039
|
+
if (B2(e, n.getToken())) return a = le(n, e, t, 1, f, d, g), n.getToken() === 18 && (a = e2(n, e, t, 0, f, d, g, a)), A2(n, e, a, f, d, g);
|
|
1040
|
+
}
|
|
1041
|
+
return n.getToken() === 67174411 ? a = sn(n, e, t, a, 1, 1, 0, k, f, d, g) : (n.getToken() === 10 && ($2(n, e, y), (y & 36864) === 36864 && (n.flags |= 256), a = _2(n, e | 524288, t, n.tokenValue, a, 0, 1, 0, f, d, g)), n.assignable = 1), a = O(n, e, t, a, 0, 0, f, d, g), a = J(n, e, t, 0, 0, f, d, g, a), n.assignable = 1, n.getToken() === 18 && (a = e2(n, e, t, 0, f, d, g, a)), A2(n, e, a, f, d, g);
|
|
1042
|
+
}
|
|
1043
|
+
function gn(n, e, u, t, o, i, l) {
|
|
1044
|
+
let f = n.startIndex;
|
|
1045
|
+
return t !== 1074790417 && (n.assignable = 2, u = O(n, e, void 0, u, 0, 0, o, i, l), n.getToken() !== 1074790417 && (u = J(n, e, void 0, 0, 0, o, i, l, u), n.getToken() === 18 && (u = e2(n, e, void 0, 0, o, i, l, u))), K(n, e | 8192)), u.type === "Literal" && typeof u.value == "string" ? s(n, e, o, i, l, { type: "ExpressionStatement", expression: u, directive: n.source.slice(o + 1, f - 1) }) : s(n, e, o, i, l, { type: "ExpressionStatement", expression: u });
|
|
1046
|
+
}
|
|
1047
|
+
function yu(n, e, u, t, o) {
|
|
1048
|
+
return b(n, e | 8192), s(n, e, u, t, o, { type: "EmptyStatement" });
|
|
1049
|
+
}
|
|
1050
|
+
function su(n, e, u, t, o, i) {
|
|
1051
|
+
b(n, e | 8192), n.flags & 1 && c(n, 90);
|
|
1052
|
+
let l = z(n, e, u, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1053
|
+
return K(n, e | 8192), s(n, e, t, o, i, { type: "ThrowStatement", argument: l });
|
|
1054
|
+
}
|
|
1055
|
+
function hu(n, e, u, t, o, i, l, f) {
|
|
1056
|
+
b(n, e), C(n, e | 8192, 67174411), n.assignable = 1;
|
|
1057
|
+
let d = z(n, e, t, 0, 1, n.tokenIndex, n.line, n.tokenColumn);
|
|
1058
|
+
C(n, e | 8192, 16);
|
|
1059
|
+
let g = Sn(n, e, u, t, o, n.tokenIndex, n.tokenLine, n.tokenColumn), m = null;
|
|
1060
|
+
return n.getToken() === 20563 && (b(n, e | 8192), m = Sn(n, e, u, t, o, n.tokenIndex, n.tokenLine, n.tokenColumn)), s(n, e, i, l, f, { type: "IfStatement", test: d, consequent: g, alternate: m });
|
|
1061
|
+
}
|
|
1062
|
+
function Sn(n, e, u, t, o, i, l, f) {
|
|
1063
|
+
return e & 256 || !(e & 64) || n.getToken() !== 86104 ? L2(n, e, u, t, 0, { $: o }, 0, n.tokenIndex, n.tokenLine, n.tokenColumn) : d2(n, e, j(u, 2), t, 0, 0, 0, 0, i, l, f);
|
|
1064
|
+
}
|
|
1065
|
+
function Au(n, e, u, t, o, i, l, f) {
|
|
1066
|
+
b(n, e), C(n, e | 8192, 67174411);
|
|
1067
|
+
let d = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1068
|
+
C(n, e, 16), C(n, e, 2162700);
|
|
1069
|
+
let g = [], m = 0;
|
|
1070
|
+
for (u && (u = j(u, 8)); n.getToken() !== 1074790415; ) {
|
|
1071
|
+
let { tokenIndex: y, tokenLine: a, tokenColumn: k } = n, h = null, T = [];
|
|
1072
|
+
for (P(n, e | 8192, 20556) ? h = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn) : (C(n, e | 8192, 20561), m && c(n, 89), m = 1), C(n, e | 8192, 21); n.getToken() !== 20556 && n.getToken() !== 1074790415 && n.getToken() !== 20561; ) T.push(I2(n, e | 1024, u, t, 2, { $: o }));
|
|
1073
|
+
g.push(s(n, e, y, a, k, { type: "SwitchCase", test: h, consequent: T }));
|
|
1074
|
+
}
|
|
1075
|
+
return C(n, e | 8192, 1074790415), s(n, e, i, l, f, { type: "SwitchStatement", discriminant: d, cases: g });
|
|
1076
|
+
}
|
|
1077
|
+
function bu(n, e, u, t, o, i, l, f) {
|
|
1078
|
+
b(n, e), C(n, e | 8192, 67174411);
|
|
1079
|
+
let d = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1080
|
+
C(n, e | 8192, 16);
|
|
1081
|
+
let g = C2(n, e, u, t, o);
|
|
1082
|
+
return s(n, e, i, l, f, { type: "WhileStatement", test: d, body: g });
|
|
1083
|
+
}
|
|
1084
|
+
function C2(n, e, u, t, o) {
|
|
1085
|
+
return L2(n, (e | 33554432) ^ 33554432 | 32768, u, t, 0, { loop: 1, $: o }, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1086
|
+
}
|
|
1087
|
+
function Du(n, e, u, t, o, i) {
|
|
1088
|
+
e & 32768 || c(n, 68), b(n, e);
|
|
1089
|
+
let l = null;
|
|
1090
|
+
if (!(n.flags & 1) && n.getToken() & 143360) {
|
|
1091
|
+
let { tokenValue: f } = n;
|
|
1092
|
+
l = R(n, e | 8192), _n(n, u, f, 1) || c(n, 138, f);
|
|
1093
|
+
}
|
|
1094
|
+
return K(n, e | 8192), s(n, e, t, o, i, { type: "ContinueStatement", label: l });
|
|
1095
|
+
}
|
|
1096
|
+
function Tu(n, e, u, t, o, i) {
|
|
1097
|
+
b(n, e | 8192);
|
|
1098
|
+
let l = null;
|
|
1099
|
+
if (!(n.flags & 1) && n.getToken() & 143360) {
|
|
1100
|
+
let { tokenValue: f } = n;
|
|
1101
|
+
l = R(n, e | 8192), _n(n, u, f, 0) || c(n, 138, f);
|
|
1102
|
+
} else e & 33792 || c(n, 69);
|
|
1103
|
+
return K(n, e | 8192), s(n, e, t, o, i, { type: "BreakStatement", label: l });
|
|
1104
|
+
}
|
|
1105
|
+
function Cu(n, e, u, t, o, i, l, f) {
|
|
1106
|
+
b(n, e), e & 256 && c(n, 91), C(n, e | 8192, 67174411);
|
|
1107
|
+
let d = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1108
|
+
C(n, e | 8192, 16);
|
|
1109
|
+
let g = L2(n, e, u, t, 2, o, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1110
|
+
return s(n, e, i, l, f, { type: "WithStatement", object: d, body: g });
|
|
1111
|
+
}
|
|
1112
|
+
function Eu(n, e, u, t, o) {
|
|
1113
|
+
return b(n, e | 8192), K(n, e | 8192), s(n, e, u, t, o, { type: "DebuggerStatement" });
|
|
1114
|
+
}
|
|
1115
|
+
function wu(n, e, u, t, o, i, l, f) {
|
|
1116
|
+
b(n, e | 8192);
|
|
1117
|
+
let d = u ? j(u, 32) : void 0, g = E2(n, e, d, t, { $: o }, n.tokenIndex, n.tokenLine, n.tokenColumn), { tokenIndex: m, tokenLine: y, tokenColumn: a } = n, k = P(n, e | 8192, 20557) ? Bu(n, e, u, t, o, m, y, a) : null, h = null;
|
|
1118
|
+
if (n.getToken() === 20566) {
|
|
1119
|
+
b(n, e | 8192);
|
|
1120
|
+
let T = d ? j(u, 4) : void 0;
|
|
1121
|
+
h = E2(n, e, T, t, { $: o }, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1122
|
+
}
|
|
1123
|
+
return !k && !h && c(n, 88), s(n, e, i, l, f, { type: "TryStatement", block: g, handler: k, finalizer: h });
|
|
1124
|
+
}
|
|
1125
|
+
function Bu(n, e, u, t, o, i, l, f) {
|
|
1126
|
+
let d = null, g = u;
|
|
1127
|
+
P(n, e, 67174411) && (u && (u = j(u, 4)), d = ge(n, e, u, t, (n.getToken() & 2097152) === 2097152 ? 256 : 512, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), n.getToken() === 18 ? c(n, 86) : n.getToken() === 1077936155 && c(n, 87), C(n, e | 8192, 16)), u && (g = j(u, 64));
|
|
1128
|
+
let m = E2(n, e, g, t, { $: o }, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1129
|
+
return s(n, e, i, l, f, { type: "CatchClause", param: d, body: m });
|
|
1130
|
+
}
|
|
1131
|
+
function Iu(n, e, u, t, o, i, l) {
|
|
1132
|
+
u && (u = j(u, 2));
|
|
1133
|
+
let f = 1475584;
|
|
1134
|
+
e = (e | f) ^ f | 65536 | 524288 | 268435456 | 16777216;
|
|
1135
|
+
let { body: d } = E2(n, e, u, t, {}, o, i, l);
|
|
1136
|
+
return s(n, e, o, i, l, { type: "StaticBlock", body: d });
|
|
1137
|
+
}
|
|
1138
|
+
function Lu(n, e, u, t, o, i, l, f) {
|
|
1139
|
+
b(n, e | 8192);
|
|
1140
|
+
let d = C2(n, e, u, t, o);
|
|
1141
|
+
C(n, e, 20578), C(n, e | 8192, 67174411);
|
|
1142
|
+
let g = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1143
|
+
return C(n, e | 8192, 16), P(n, e | 8192, 1074790417), s(n, e, i, l, f, { type: "DoWhileStatement", body: d, test: g });
|
|
1144
|
+
}
|
|
1145
|
+
function Fu(n, e, u, t, o, i, l, f) {
|
|
1146
|
+
let { tokenValue: d } = n, g = n.getToken(), m = R(n, e);
|
|
1147
|
+
if (n.getToken() & 2240512) {
|
|
1148
|
+
let y = s2(n, e, u, t, 8, 0);
|
|
1149
|
+
return K(n, e | 8192), s(n, e, i, l, f, { type: "VariableDeclaration", kind: "let", declarations: y });
|
|
1150
|
+
}
|
|
1151
|
+
if (n.assignable = 1, e & 256 && c(n, 85), n.getToken() === 21) return dn(n, e, u, t, o, {}, d, m, g, 0, i, l, f);
|
|
1152
|
+
if (n.getToken() === 10) {
|
|
1153
|
+
let y;
|
|
1154
|
+
e & 16 && (y = K2(n, e, d)), n.flags = (n.flags | 128) ^ 128, m = F2(n, e, y, t, [m], 0, i, l, f);
|
|
1155
|
+
} else m = O(n, e, t, m, 0, 0, i, l, f), m = J(n, e, t, 0, 0, i, l, f, m);
|
|
1156
|
+
return n.getToken() === 18 && (m = e2(n, e, t, 0, i, l, f, m)), A2(n, e, m, i, l, f);
|
|
1157
|
+
}
|
|
1158
|
+
function p2(n, e, u, t, o, i, l, f, d) {
|
|
1159
|
+
b(n, e);
|
|
1160
|
+
let g = s2(n, e, u, t, o, i);
|
|
1161
|
+
return K(n, e | 8192), s(n, e, l, f, d, { type: "VariableDeclaration", kind: o & 8 ? "let" : "const", declarations: g });
|
|
1162
|
+
}
|
|
1163
|
+
function Gn(n, e, u, t, o, i, l, f) {
|
|
1164
|
+
b(n, e);
|
|
1165
|
+
let d = s2(n, e, u, t, 4, o);
|
|
1166
|
+
return K(n, e | 8192), s(n, e, i, l, f, { type: "VariableDeclaration", kind: "var", declarations: d });
|
|
1167
|
+
}
|
|
1168
|
+
function s2(n, e, u, t, o, i) {
|
|
1169
|
+
let l = 1, f = [Pn(n, e, u, t, o, i)];
|
|
1170
|
+
for (; P(n, e, 18); ) l++, f.push(Pn(n, e, u, t, o, i));
|
|
1171
|
+
return l > 1 && i & 32 && n.getToken() & 262144 && c(n, 61, V[n.getToken() & 255]), f;
|
|
1172
|
+
}
|
|
1173
|
+
function Pn(n, e, u, t, o, i) {
|
|
1174
|
+
let { tokenIndex: l, tokenLine: f, tokenColumn: d } = n, g = n.getToken(), m = null, y = ge(n, e, u, t, o, i, l, f, d);
|
|
1175
|
+
return n.getToken() === 1077936155 ? (b(n, e | 8192), m = M(n, e, t, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), (i & 32 || !(g & 2097152)) && (n.getToken() === 274548 || n.getToken() === 8673330 && (g & 2097152 || !(o & 4) || e & 256)) && $(l, f, d, n.index, n.line, n.column, 60, n.getToken() === 274548 ? "of" : "in")) : (o & 16 || (g & 2097152) > 0) && (n.getToken() & 262144) !== 262144 && c(n, 59, o & 16 ? "const" : "destructuring"), s(n, e, l, f, d, { type: "VariableDeclarator", id: y, init: m });
|
|
1176
|
+
}
|
|
1177
|
+
function qu(n, e, u, t, o, i, l, f) {
|
|
1178
|
+
b(n, e);
|
|
1179
|
+
let d = ((e & 524288) > 0 || (e & 512) > 0 && (e & 2048) > 0) && P(n, e, 209006);
|
|
1180
|
+
C(n, e | 8192, 67174411), u && (u = j(u, 1));
|
|
1181
|
+
let g = null, m = null, y = 0, a = null, k = n.getToken() === 86088 || n.getToken() === 241737 || n.getToken() === 86090, h, { tokenIndex: T, tokenLine: E, tokenColumn: w } = n, I = n.getToken();
|
|
1182
|
+
if (k ? I === 241737 ? (a = R(n, e), n.getToken() & 2240512 ? (n.getToken() === 8673330 ? e & 256 && c(n, 67) : a = s(n, e, T, E, w, { type: "VariableDeclaration", kind: "let", declarations: s2(n, e | 33554432, u, t, 8, 32) }), n.assignable = 1) : e & 256 ? c(n, 67) : (k = false, n.assignable = 1, a = O(n, e, t, a, 0, 0, T, E, w), n.getToken() === 274548 && c(n, 115))) : (b(n, e), a = s(n, e, T, E, w, I === 86088 ? { type: "VariableDeclaration", kind: "var", declarations: s2(n, e | 33554432, u, t, 4, 32) } : { type: "VariableDeclaration", kind: "const", declarations: s2(n, e | 33554432, u, t, 16, 32) }), n.assignable = 1) : I === 1074790417 ? d && c(n, 82) : (I & 2097152) === 2097152 ? (a = I === 2162700 ? Z(n, e, void 0, t, 1, 0, 0, 2, 32, T, E, w) : Q(n, e, void 0, t, 1, 0, 0, 2, 32, T, E, w), y = n.destructible, y & 64 && c(n, 63), n.assignable = y & 16 ? 2 : 1, a = O(n, e | 33554432, t, a, 0, 0, n.tokenIndex, n.tokenLine, n.tokenColumn)) : a = Y(n, e | 33554432, t, 1, 0, 1, T, E, w), (n.getToken() & 262144) === 262144) {
|
|
1183
|
+
if (n.getToken() === 274548) {
|
|
1184
|
+
n.assignable & 2 && c(n, 80, d ? "await" : "of"), r(n, a), b(n, e | 8192), h = M(n, e, t, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), C(n, e | 8192, 16);
|
|
1185
|
+
let q = C2(n, e, u, t, o);
|
|
1186
|
+
return s(n, e, i, l, f, { type: "ForOfStatement", left: a, right: h, body: q, await: d });
|
|
1187
|
+
}
|
|
1188
|
+
n.assignable & 2 && c(n, 80, "in"), r(n, a), b(n, e | 8192), d && c(n, 82), h = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn), C(n, e | 8192, 16);
|
|
1189
|
+
let F = C2(n, e, u, t, o);
|
|
1190
|
+
return s(n, e, i, l, f, { type: "ForInStatement", body: F, left: a, right: h });
|
|
1191
|
+
}
|
|
1192
|
+
d && c(n, 82), k || (y & 8 && n.getToken() !== 1077936155 && c(n, 80, "loop"), a = J(n, e | 33554432, t, 0, 0, T, E, w, a)), n.getToken() === 18 && (a = e2(n, e, t, 0, n.tokenIndex, n.tokenLine, n.tokenColumn, a)), C(n, e | 8192, 1074790417), n.getToken() !== 1074790417 && (g = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn)), C(n, e | 8192, 1074790417), n.getToken() !== 16 && (m = z(n, e, t, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn)), C(n, e | 8192, 16);
|
|
1193
|
+
let v = C2(n, e, u, t, o);
|
|
1194
|
+
return s(n, e, i, l, f, { type: "ForStatement", init: a, test: g, update: m, body: v });
|
|
1195
|
+
}
|
|
1196
|
+
function xn(n, e, u) {
|
|
1197
|
+
return B2(e, n.getToken()) || c(n, 118), (n.getToken() & 537079808) === 537079808 && c(n, 119), u && g2(n, e, u, n.tokenValue, 8, 0), R(n, e);
|
|
1198
|
+
}
|
|
1199
|
+
function Su(n, e, u) {
|
|
1200
|
+
let t = n.tokenIndex, o = n.tokenLine, i = n.tokenColumn;
|
|
1201
|
+
b(n, e);
|
|
1202
|
+
let l = null, { tokenIndex: f, tokenLine: d, tokenColumn: g } = n, m = [];
|
|
1203
|
+
if (n.getToken() === 134283267) l = H(n, e);
|
|
1204
|
+
else {
|
|
1205
|
+
if (n.getToken() & 143360) {
|
|
1206
|
+
let a = xn(n, e, u);
|
|
1207
|
+
if (m = [s(n, e, f, d, g, { type: "ImportDefaultSpecifier", local: a })], P(n, e, 18)) switch (n.getToken()) {
|
|
1208
|
+
case 8391476:
|
|
1209
|
+
m.push(vn(n, e, u));
|
|
1210
|
+
break;
|
|
1211
|
+
case 2162700:
|
|
1212
|
+
Nn(n, e, u, m);
|
|
1213
|
+
break;
|
|
1214
|
+
default:
|
|
1215
|
+
c(n, 107);
|
|
1216
|
+
}
|
|
1217
|
+
} else switch (n.getToken()) {
|
|
1218
|
+
case 8391476:
|
|
1219
|
+
m = [vn(n, e, u)];
|
|
1220
|
+
break;
|
|
1221
|
+
case 2162700:
|
|
1222
|
+
Nn(n, e, u, m);
|
|
1223
|
+
break;
|
|
1224
|
+
case 67174411:
|
|
1225
|
+
return pn(n, e, void 0, t, o, i);
|
|
1226
|
+
case 67108877:
|
|
1227
|
+
return rn(n, e, t, o, i);
|
|
1228
|
+
default:
|
|
1229
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1230
|
+
}
|
|
1231
|
+
l = Pu(n, e);
|
|
1232
|
+
}
|
|
1233
|
+
let y = { type: "ImportDeclaration", specifiers: m, source: l };
|
|
1234
|
+
return e & 1 && (y.attributes = nn(n, e, m)), K(n, e | 8192), s(n, e, t, o, i, y);
|
|
1235
|
+
}
|
|
1236
|
+
function vn(n, e, u) {
|
|
1237
|
+
let { tokenIndex: t, tokenLine: o, tokenColumn: i } = n;
|
|
1238
|
+
return b(n, e), C(n, e, 77932), (n.getToken() & 134217728) === 134217728 && $(t, o, i, n.index, n.line, n.column, 30, V[n.getToken() & 255]), s(n, e, t, o, i, { type: "ImportNamespaceSpecifier", local: xn(n, e, u) });
|
|
1239
|
+
}
|
|
1240
|
+
function Pu(n, e) {
|
|
1241
|
+
return C(n, e, 12403), n.getToken() !== 134283267 && c(n, 105, "Import"), H(n, e);
|
|
1242
|
+
}
|
|
1243
|
+
function Nn(n, e, u, t) {
|
|
1244
|
+
for (b(n, e); n.getToken() & 143360 || n.getToken() === 134283267; ) {
|
|
1245
|
+
let { tokenValue: o, tokenIndex: i, tokenLine: l, tokenColumn: f } = n, d = n.getToken(), g = O2(n, e), m;
|
|
1246
|
+
P(n, e, 77932) ? ((n.getToken() & 134217728) === 134217728 || n.getToken() === 18 ? c(n, 106) : J2(n, e, 16, n.getToken(), 0), o = n.tokenValue, m = R(n, e)) : g.type === "Identifier" ? (J2(n, e, 16, d, 0), m = g) : c(n, 25, V[108]), u && g2(n, e, u, o, 8, 0), t.push(s(n, e, i, l, f, { type: "ImportSpecifier", local: m, imported: g })), n.getToken() !== 1074790415 && C(n, e, 18);
|
|
1247
|
+
}
|
|
1248
|
+
return C(n, e, 1074790415), t;
|
|
1249
|
+
}
|
|
1250
|
+
function rn(n, e, u, t, o) {
|
|
1251
|
+
let i = ne(n, e, s(n, e, u, t, o, { type: "Identifier", name: "import" }), u, t, o);
|
|
1252
|
+
return i = O(n, e, void 0, i, 0, 0, u, t, o), i = J(n, e, void 0, 0, 0, u, t, o, i), n.getToken() === 18 && (i = e2(n, e, void 0, 0, u, t, o, i)), A2(n, e, i, u, t, o);
|
|
1253
|
+
}
|
|
1254
|
+
function pn(n, e, u, t, o, i) {
|
|
1255
|
+
let l = ee(n, e, u, 0, t, o, i);
|
|
1256
|
+
return l = O(n, e, u, l, 0, 0, t, o, i), n.getToken() === 18 && (l = e2(n, e, u, 0, t, o, i, l)), A2(n, e, l, t, o, i);
|
|
1257
|
+
}
|
|
1258
|
+
function vu(n, e, u) {
|
|
1259
|
+
let t = n.tokenIndex, o = n.tokenLine, i = n.tokenColumn;
|
|
1260
|
+
b(n, e | 8192);
|
|
1261
|
+
let l = [], f = null, d = null, g = null, m;
|
|
1262
|
+
if (P(n, e | 8192, 20561)) {
|
|
1263
|
+
switch (n.getToken()) {
|
|
1264
|
+
case 86104: {
|
|
1265
|
+
f = d2(n, e, u, void 0, 4, 1, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1266
|
+
break;
|
|
1267
|
+
}
|
|
1268
|
+
case 132:
|
|
1269
|
+
case 86094:
|
|
1270
|
+
f = en(n, e, u, void 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1271
|
+
break;
|
|
1272
|
+
case 209005: {
|
|
1273
|
+
let { tokenIndex: a, tokenLine: k, tokenColumn: h } = n;
|
|
1274
|
+
f = R(n, e);
|
|
1275
|
+
let { flags: T } = n;
|
|
1276
|
+
T & 1 || (n.getToken() === 86104 ? f = d2(n, e, u, void 0, 4, 1, 1, 1, a, k, h) : n.getToken() === 67174411 ? (f = sn(n, e, void 0, f, 1, 1, 0, T, a, k, h), f = O(n, e, void 0, f, 0, 0, a, k, h), f = J(n, e, void 0, 0, 0, a, k, h, f)) : n.getToken() & 143360 && (u && (u = K2(n, e, n.tokenValue)), f = R(n, e), f = F2(n, e, u, void 0, [f], 1, a, k, h)));
|
|
1277
|
+
break;
|
|
1278
|
+
}
|
|
1279
|
+
default:
|
|
1280
|
+
f = M(n, e, void 0, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), K(n, e | 8192);
|
|
1281
|
+
}
|
|
1282
|
+
return u && l2(n, "default"), s(n, e, t, o, i, { type: "ExportDefaultDeclaration", declaration: f });
|
|
1283
|
+
}
|
|
1284
|
+
switch (n.getToken()) {
|
|
1285
|
+
case 8391476: {
|
|
1286
|
+
b(n, e);
|
|
1287
|
+
let a = null;
|
|
1288
|
+
P(n, e, 77932) && (u && l2(n, n.tokenValue), a = O2(n, e)), C(n, e, 12403), n.getToken() !== 134283267 && c(n, 105, "Export"), d = H(n, e);
|
|
1289
|
+
let h = { type: "ExportAllDeclaration", source: d, exported: a };
|
|
1290
|
+
return e & 1 && (h.attributes = nn(n, e)), K(n, e | 8192), s(n, e, t, o, i, h);
|
|
1291
|
+
}
|
|
1292
|
+
case 2162700: {
|
|
1293
|
+
b(n, e);
|
|
1294
|
+
let a = [], k = [], h = 0;
|
|
1295
|
+
for (; n.getToken() & 143360 || n.getToken() === 134283267; ) {
|
|
1296
|
+
let { tokenIndex: T, tokenValue: E, tokenLine: w, tokenColumn: I } = n, v = O2(n, e);
|
|
1297
|
+
v.type === "Literal" && (h = 1);
|
|
1298
|
+
let F;
|
|
1299
|
+
n.getToken() === 77932 ? (b(n, e), !(n.getToken() & 143360) && n.getToken() !== 134283267 && c(n, 106), u && (a.push(n.tokenValue), k.push(E)), F = O2(n, e)) : (u && (a.push(n.tokenValue), k.push(n.tokenValue)), F = v), l.push(s(n, e, T, w, I, { type: "ExportSpecifier", local: v, exported: F })), n.getToken() !== 1074790415 && C(n, e, 18);
|
|
1300
|
+
}
|
|
1301
|
+
C(n, e, 1074790415), P(n, e, 12403) ? (n.getToken() !== 134283267 && c(n, 105, "Export"), d = H(n, e), e & 1 && (g = nn(n, e, l)), u && a.forEach((T) => l2(n, T))) : (h && c(n, 172), u && (a.forEach((T) => l2(n, T)), k.forEach((T) => iu(n, T)))), K(n, e | 8192);
|
|
1302
|
+
break;
|
|
1303
|
+
}
|
|
1304
|
+
case 86094:
|
|
1305
|
+
f = en(n, e, u, void 0, 2, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1306
|
+
break;
|
|
1307
|
+
case 86104:
|
|
1308
|
+
f = d2(n, e, u, void 0, 4, 1, 2, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1309
|
+
break;
|
|
1310
|
+
case 241737:
|
|
1311
|
+
f = p2(n, e, u, void 0, 8, 64, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1312
|
+
break;
|
|
1313
|
+
case 86090:
|
|
1314
|
+
f = p2(n, e, u, void 0, 16, 64, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1315
|
+
break;
|
|
1316
|
+
case 86088:
|
|
1317
|
+
f = Gn(n, e, u, void 0, 64, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1318
|
+
break;
|
|
1319
|
+
case 209005: {
|
|
1320
|
+
let { tokenIndex: a, tokenLine: k, tokenColumn: h } = n;
|
|
1321
|
+
if (b(n, e), !(n.flags & 1) && n.getToken() === 86104) {
|
|
1322
|
+
f = d2(n, e, u, void 0, 4, 1, 2, 1, a, k, h), u && (m = f.id ? f.id.name : "", l2(n, m));
|
|
1323
|
+
break;
|
|
1324
|
+
}
|
|
1325
|
+
}
|
|
1326
|
+
default:
|
|
1327
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1328
|
+
}
|
|
1329
|
+
let y = { type: "ExportNamedDeclaration", declaration: f, specifiers: l, source: d };
|
|
1330
|
+
return g && (y.attributes = g), s(n, e, t, o, i, y);
|
|
1331
|
+
}
|
|
1332
|
+
function M(n, e, u, t, o, i, l, f) {
|
|
1333
|
+
let d = _(n, e, u, 2, 0, t, o, 1, i, l, f);
|
|
1334
|
+
return d = O(n, e, u, d, o, 0, i, l, f), J(n, e, u, o, 0, i, l, f, d);
|
|
1335
|
+
}
|
|
1336
|
+
function e2(n, e, u, t, o, i, l, f) {
|
|
1337
|
+
let d = [f];
|
|
1338
|
+
for (; P(n, e | 8192, 18); ) d.push(M(n, e, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
1339
|
+
return s(n, e, o, i, l, { type: "SequenceExpression", expressions: d });
|
|
1340
|
+
}
|
|
1341
|
+
function z(n, e, u, t, o, i, l, f) {
|
|
1342
|
+
let d = M(n, e, u, o, t, i, l, f);
|
|
1343
|
+
return n.getToken() === 18 ? e2(n, e, u, t, i, l, f, d) : d;
|
|
1344
|
+
}
|
|
1345
|
+
function J(n, e, u, t, o, i, l, f, d) {
|
|
1346
|
+
let g = n.getToken();
|
|
1347
|
+
if ((g & 4194304) === 4194304) {
|
|
1348
|
+
n.assignable & 2 && c(n, 26), (!o && g === 1077936155 && d.type === "ArrayExpression" || d.type === "ObjectExpression") && r(n, d), b(n, e | 8192);
|
|
1349
|
+
let m = M(n, e, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1350
|
+
return n.assignable = 2, s(n, e, i, l, f, o ? { type: "AssignmentPattern", left: d, right: m } : { type: "AssignmentExpression", left: d, operator: V[g & 255], right: m });
|
|
1351
|
+
}
|
|
1352
|
+
return (g & 8388608) === 8388608 && (d = f2(n, e, u, t, i, l, f, 4, g, d)), P(n, e | 8192, 22) && (d = c2(n, e, u, d, i, l, f)), d;
|
|
1353
|
+
}
|
|
1354
|
+
function N2(n, e, u, t, o, i, l, f, d) {
|
|
1355
|
+
let g = n.getToken();
|
|
1356
|
+
b(n, e | 8192);
|
|
1357
|
+
let m = M(n, e, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1358
|
+
return d = s(n, e, i, l, f, o ? { type: "AssignmentPattern", left: d, right: m } : { type: "AssignmentExpression", left: d, operator: V[g & 255], right: m }), n.assignable = 2, d;
|
|
1359
|
+
}
|
|
1360
|
+
function c2(n, e, u, t, o, i, l) {
|
|
1361
|
+
let f = M(n, (e | 33554432) ^ 33554432, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1362
|
+
C(n, e | 8192, 21), n.assignable = 1;
|
|
1363
|
+
let d = M(n, e, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1364
|
+
return n.assignable = 2, s(n, e, o, i, l, { type: "ConditionalExpression", test: t, consequent: f, alternate: d });
|
|
1365
|
+
}
|
|
1366
|
+
function f2(n, e, u, t, o, i, l, f, d, g) {
|
|
1367
|
+
let m = -((e & 33554432) > 0) & 8673330, y, a;
|
|
1368
|
+
for (n.assignable = 2; n.getToken() & 8388608 && (y = n.getToken(), a = y & 3840, (y & 524288 && d & 268435456 || d & 524288 && y & 268435456) && c(n, 165), !(a + ((y === 8391735) << 8) - ((m === y) << 12) <= f)); ) b(n, e | 8192), g = s(n, e, o, i, l, { type: y & 524288 || y & 268435456 ? "LogicalExpression" : "BinaryExpression", left: g, right: f2(n, e, u, t, n.tokenIndex, n.tokenLine, n.tokenColumn, a, y, Y(n, e, u, 0, t, 1, n.tokenIndex, n.tokenLine, n.tokenColumn)), operator: V[y & 255] });
|
|
1369
|
+
return n.getToken() === 1077936155 && c(n, 26), g;
|
|
1370
|
+
}
|
|
1371
|
+
function Nu(n, e, u, t, o, i, l, f) {
|
|
1372
|
+
t || c(n, 0);
|
|
1373
|
+
let d = n.getToken();
|
|
1374
|
+
b(n, e | 8192);
|
|
1375
|
+
let g = Y(n, e, u, 0, f, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1376
|
+
return n.getToken() === 8391735 && c(n, 33), e & 256 && d === 16863276 && (g.type === "Identifier" ? c(n, 121) : re(g) && c(n, 127)), n.assignable = 2, s(n, e, o, i, l, { type: "UnaryExpression", operator: V[d & 255], argument: g, prefix: true });
|
|
1377
|
+
}
|
|
1378
|
+
function Vu(n, e, u, t, o, i, l, f, d, g) {
|
|
1379
|
+
let m = n.getToken(), y = R(n, e), { flags: a } = n;
|
|
1380
|
+
if (!(a & 1)) {
|
|
1381
|
+
if (n.getToken() === 86104) return te(n, e, u, 1, t, f, d, g);
|
|
1382
|
+
if (B2(e, n.getToken())) return o || c(n, 0), (n.getToken() & 36864) === 36864 && (n.flags |= 256), le(n, e, u, i, f, d, g);
|
|
1383
|
+
}
|
|
1384
|
+
return !l && n.getToken() === 67174411 ? sn(n, e, u, y, i, 1, 0, a, f, d, g) : n.getToken() === 10 ? ($2(n, e, m), l && c(n, 51), (m & 36864) === 36864 && (n.flags |= 256), _2(n, e, u, n.tokenValue, y, l, i, 0, f, d, g)) : (n.assignable = 1, y);
|
|
1385
|
+
}
|
|
1386
|
+
function Ou(n, e, u, t, o, i, l, f) {
|
|
1387
|
+
if (t && (n.destructible |= 256), e & 262144) {
|
|
1388
|
+
b(n, e | 8192), e & 2097152 && c(n, 32), o || c(n, 26), n.getToken() === 22 && c(n, 124);
|
|
1389
|
+
let d = null, g = false;
|
|
1390
|
+
return n.flags & 1 ? n.getToken() === 8391476 && c(n, 30, V[n.getToken() & 255]) : (g = P(n, e | 8192, 8391476), (n.getToken() & 77824 || g) && (d = M(n, e, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn))), n.assignable = 2, s(n, e, i, l, f, { type: "YieldExpression", argument: d, delegate: g });
|
|
1391
|
+
}
|
|
1392
|
+
return e & 256 && c(n, 97, "yield"), yn(n, e, u, i, l, f);
|
|
1393
|
+
}
|
|
1394
|
+
function Ru(n, e, u, t, o, i, l, f) {
|
|
1395
|
+
o && (n.destructible |= 128), e & 268435456 && c(n, 177);
|
|
1396
|
+
let d = yn(n, e, u, i, l, f);
|
|
1397
|
+
if (d.type === "ArrowFunctionExpression" || (n.getToken() & 65536) === 0) return e & 524288 && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 176), e & 512 && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 110), e & 2097152 && e & 524288 && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 110), d;
|
|
1398
|
+
if (e & 2097152 && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 31), e & 524288 || e & 512 && e & 2048) {
|
|
1399
|
+
t && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 0);
|
|
1400
|
+
let m = Y(n, e, u, 0, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1401
|
+
return n.getToken() === 8391735 && c(n, 33), n.assignable = 2, s(n, e, i, l, f, { type: "AwaitExpression", argument: m });
|
|
1402
|
+
}
|
|
1403
|
+
return e & 512 && $(i, l, f, n.startIndex, n.startLine, n.startColumn, 98), d;
|
|
1404
|
+
}
|
|
1405
|
+
function W2(n, e, u, t, o, i, l) {
|
|
1406
|
+
let { tokenIndex: f, tokenLine: d, tokenColumn: g } = n;
|
|
1407
|
+
C(n, e | 8192, 2162700);
|
|
1408
|
+
let m = [];
|
|
1409
|
+
if (n.getToken() !== 1074790415) {
|
|
1410
|
+
for (; n.getToken() === 134283267; ) {
|
|
1411
|
+
let { index: y, tokenIndex: a, tokenValue: k } = n, h = n.getToken(), T = H(n, e);
|
|
1412
|
+
Kn(n, y, a, k) && (e |= 256, n.flags & 128 && $(a, d, g, n.index, n.line, n.column, 66), n.flags & 64 && $(a, d, g, n.index, n.line, n.column, 9), n.flags & 4096 && $(a, d, g, n.index, n.line, n.column, 15), l && z2(l)), m.push(gn(n, e, T, h, a, n.tokenLine, n.tokenColumn));
|
|
1413
|
+
}
|
|
1414
|
+
e & 256 && (i && ((i & 537079808) === 537079808 && c(n, 119), (i & 36864) === 36864 && c(n, 40)), n.flags & 512 && c(n, 119), n.flags & 256 && c(n, 118));
|
|
1415
|
+
}
|
|
1416
|
+
for (n.flags = (n.flags | 512 | 256 | 64 | 4096) ^ 4928, n.destructible = (n.destructible | 256) ^ 256; n.getToken() !== 1074790415; ) m.push(I2(n, e, u, t, 4, {}));
|
|
1417
|
+
return C(n, o & 24 ? e | 8192 : e, 1074790415), n.flags &= -4289, n.getToken() === 1077936155 && c(n, 26), s(n, e, f, d, g, { type: "BlockStatement", body: m });
|
|
1418
|
+
}
|
|
1419
|
+
function Uu(n, e, u, t, o) {
|
|
1420
|
+
switch (b(n, e), n.getToken()) {
|
|
1421
|
+
case 67108990:
|
|
1422
|
+
c(n, 167);
|
|
1423
|
+
case 67174411: {
|
|
1424
|
+
e & 131072 || c(n, 28), n.assignable = 2;
|
|
1425
|
+
break;
|
|
1426
|
+
}
|
|
1427
|
+
case 69271571:
|
|
1428
|
+
case 67108877: {
|
|
1429
|
+
e & 65536 || c(n, 29), n.assignable = 1;
|
|
1430
|
+
break;
|
|
1431
|
+
}
|
|
1432
|
+
default:
|
|
1433
|
+
c(n, 30, "super");
|
|
1434
|
+
}
|
|
1435
|
+
return s(n, e, u, t, o, { type: "Super" });
|
|
1436
|
+
}
|
|
1437
|
+
function Y(n, e, u, t, o, i, l, f, d) {
|
|
1438
|
+
let g = _(n, e, u, 2, 0, t, o, i, l, f, d);
|
|
1439
|
+
return O(n, e, u, g, o, 0, l, f, d);
|
|
1440
|
+
}
|
|
1441
|
+
function Mu(n, e, u, t, o, i) {
|
|
1442
|
+
n.assignable & 2 && c(n, 55);
|
|
1443
|
+
let l = n.getToken();
|
|
1444
|
+
return b(n, e), n.assignable = 2, s(n, e, t, o, i, { type: "UpdateExpression", argument: u, operator: V[l & 255], prefix: false });
|
|
1445
|
+
}
|
|
1446
|
+
function O(n, e, u, t, o, i, l, f, d) {
|
|
1447
|
+
if ((n.getToken() & 33619968) === 33619968 && !(n.flags & 1)) t = Mu(n, e, t, l, f, d);
|
|
1448
|
+
else if ((n.getToken() & 67108864) === 67108864) {
|
|
1449
|
+
switch (e = (e | 33554432) ^ 33554432, n.getToken()) {
|
|
1450
|
+
case 67108877: {
|
|
1451
|
+
b(n, (e | 67108864 | 2048) ^ 2048), e & 4096 && n.getToken() === 130 && n.tokenValue === "super" && c(n, 173), n.assignable = 1;
|
|
1452
|
+
let g = cn(n, e | 16384, u);
|
|
1453
|
+
t = s(n, e, l, f, d, { type: "MemberExpression", object: t, computed: false, property: g });
|
|
1454
|
+
break;
|
|
1455
|
+
}
|
|
1456
|
+
case 69271571: {
|
|
1457
|
+
let g = false;
|
|
1458
|
+
(n.flags & 2048) === 2048 && (g = true, n.flags = (n.flags | 2048) ^ 2048), b(n, e | 8192);
|
|
1459
|
+
let { tokenIndex: m, tokenLine: y, tokenColumn: a } = n, k = z(n, e, u, o, 1, m, y, a);
|
|
1460
|
+
C(n, e, 20), n.assignable = 1, t = s(n, e, l, f, d, { type: "MemberExpression", object: t, computed: true, property: k }), g && (n.flags |= 2048);
|
|
1461
|
+
break;
|
|
1462
|
+
}
|
|
1463
|
+
case 67174411: {
|
|
1464
|
+
if ((n.flags & 1024) === 1024) return n.flags = (n.flags | 1024) ^ 1024, t;
|
|
1465
|
+
let g = false;
|
|
1466
|
+
(n.flags & 2048) === 2048 && (g = true, n.flags = (n.flags | 2048) ^ 2048);
|
|
1467
|
+
let m = an(n, e, u, o);
|
|
1468
|
+
n.assignable = 2, t = s(n, e, l, f, d, { type: "CallExpression", callee: t, arguments: m }), g && (n.flags |= 2048);
|
|
1469
|
+
break;
|
|
1470
|
+
}
|
|
1471
|
+
case 67108990: {
|
|
1472
|
+
b(n, (e | 67108864 | 2048) ^ 2048), n.flags |= 2048, n.assignable = 2, t = Ju(n, e, u, t, l, f, d);
|
|
1473
|
+
break;
|
|
1474
|
+
}
|
|
1475
|
+
default:
|
|
1476
|
+
(n.flags & 2048) === 2048 && c(n, 166), n.assignable = 2, t = s(n, e, l, f, d, { type: "TaggedTemplateExpression", tag: t, quasi: n.getToken() === 67174408 ? kn(n, e | 16384, u) : mn(n, e, n.tokenIndex, n.tokenLine, n.tokenColumn) });
|
|
1477
|
+
}
|
|
1478
|
+
t = O(n, e, u, t, 0, 1, l, f, d);
|
|
1479
|
+
}
|
|
1480
|
+
return i === 0 && (n.flags & 2048) === 2048 && (n.flags = (n.flags | 2048) ^ 2048, t = s(n, e, l, f, d, { type: "ChainExpression", expression: t })), t;
|
|
1481
|
+
}
|
|
1482
|
+
function Ju(n, e, u, t, o, i, l) {
|
|
1483
|
+
let f = false, d;
|
|
1484
|
+
if ((n.getToken() === 69271571 || n.getToken() === 67174411) && (n.flags & 2048) === 2048 && (f = true, n.flags = (n.flags | 2048) ^ 2048), n.getToken() === 69271571) {
|
|
1485
|
+
b(n, e | 8192);
|
|
1486
|
+
let { tokenIndex: g, tokenLine: m, tokenColumn: y } = n, a = z(n, e, u, 0, 1, g, m, y);
|
|
1487
|
+
C(n, e, 20), n.assignable = 2, d = s(n, e, o, i, l, { type: "MemberExpression", object: t, computed: true, optional: true, property: a });
|
|
1488
|
+
} else if (n.getToken() === 67174411) {
|
|
1489
|
+
let g = an(n, e, u, 0);
|
|
1490
|
+
n.assignable = 2, d = s(n, e, o, i, l, { type: "CallExpression", callee: t, arguments: g, optional: true });
|
|
1491
|
+
} else {
|
|
1492
|
+
let g = cn(n, e, u);
|
|
1493
|
+
n.assignable = 2, d = s(n, e, o, i, l, { type: "MemberExpression", object: t, computed: false, optional: true, property: g });
|
|
1494
|
+
}
|
|
1495
|
+
return f && (n.flags |= 2048), d;
|
|
1496
|
+
}
|
|
1497
|
+
function cn(n, e, u) {
|
|
1498
|
+
return !(n.getToken() & 143360) && n.getToken() !== -2147483528 && n.getToken() !== -2147483527 && n.getToken() !== 130 && c(n, 160), n.getToken() === 130 ? H2(n, e, u, 0, n.tokenIndex, n.tokenLine, n.tokenColumn) : R(n, e);
|
|
1499
|
+
}
|
|
1500
|
+
function ju(n, e, u, t, o, i, l, f) {
|
|
1501
|
+
t && c(n, 56), o || c(n, 0);
|
|
1502
|
+
let d = n.getToken();
|
|
1503
|
+
b(n, e | 8192);
|
|
1504
|
+
let g = Y(n, e, u, 0, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1505
|
+
return n.assignable & 2 && c(n, 55), n.assignable = 2, s(n, e, i, l, f, { type: "UpdateExpression", argument: g, operator: V[d & 255], prefix: true });
|
|
1506
|
+
}
|
|
1507
|
+
function _(n, e, u, t, o, i, l, f, d, g, m) {
|
|
1508
|
+
if ((n.getToken() & 143360) === 143360) {
|
|
1509
|
+
switch (n.getToken()) {
|
|
1510
|
+
case 209006:
|
|
1511
|
+
return Ru(n, e, u, o, l, d, g, m);
|
|
1512
|
+
case 241771:
|
|
1513
|
+
return Ou(n, e, u, l, i, d, g, m);
|
|
1514
|
+
case 209005:
|
|
1515
|
+
return Vu(n, e, u, l, f, i, o, d, g, m);
|
|
1516
|
+
}
|
|
1517
|
+
let { tokenValue: y } = n, a = n.getToken(), k = R(n, e | 16384);
|
|
1518
|
+
return n.getToken() === 10 ? (f || c(n, 0), $2(n, e, a), (a & 36864) === 36864 && (n.flags |= 256), _2(n, e, u, y, k, o, i, 0, d, g, m)) : (e & 4096 && !(e & 8388608) && !(e & 2097152) && n.tokenValue === "arguments" && c(n, 130), (a & 255) === 73 && (e & 256 && c(n, 113), t & 24 && c(n, 100)), n.assignable = e & 256 && (a & 537079808) === 537079808 ? 2 : 1, k);
|
|
1519
|
+
}
|
|
1520
|
+
if ((n.getToken() & 134217728) === 134217728) return H(n, e);
|
|
1521
|
+
switch (n.getToken()) {
|
|
1522
|
+
case 33619993:
|
|
1523
|
+
case 33619994:
|
|
1524
|
+
return ju(n, e, u, o, f, d, g, m);
|
|
1525
|
+
case 16863276:
|
|
1526
|
+
case 16842798:
|
|
1527
|
+
case 16842799:
|
|
1528
|
+
case 25233968:
|
|
1529
|
+
case 25233969:
|
|
1530
|
+
case 16863275:
|
|
1531
|
+
case 16863277:
|
|
1532
|
+
return Nu(n, e, u, f, d, g, m, l);
|
|
1533
|
+
case 86104:
|
|
1534
|
+
return te(n, e, u, 0, l, d, g, m);
|
|
1535
|
+
case 2162700:
|
|
1536
|
+
return Qu(n, e, u, i ? 0 : 1, l, d, g, m);
|
|
1537
|
+
case 69271571:
|
|
1538
|
+
return Yu(n, e, u, i ? 0 : 1, l, d, g, m);
|
|
1539
|
+
case 67174411:
|
|
1540
|
+
return Gu(n, e | 16384, u, i, 1, 0, d, g, m);
|
|
1541
|
+
case 86021:
|
|
1542
|
+
case 86022:
|
|
1543
|
+
case 86023:
|
|
1544
|
+
return Wu(n, e, d, g, m);
|
|
1545
|
+
case 86111:
|
|
1546
|
+
return _u(n, e);
|
|
1547
|
+
case 65540:
|
|
1548
|
+
return pu(n, e, d, g, m);
|
|
1549
|
+
case 132:
|
|
1550
|
+
case 86094:
|
|
1551
|
+
return n1(n, e, u, l, d, g, m);
|
|
1552
|
+
case 86109:
|
|
1553
|
+
return Uu(n, e, d, g, m);
|
|
1554
|
+
case 67174409:
|
|
1555
|
+
return mn(n, e, d, g, m);
|
|
1556
|
+
case 67174408:
|
|
1557
|
+
return kn(n, e, u);
|
|
1558
|
+
case 86107:
|
|
1559
|
+
return xu(n, e, u, l, d, g, m);
|
|
1560
|
+
case 134283388:
|
|
1561
|
+
return ue(n, e, d, g, m);
|
|
1562
|
+
case 130:
|
|
1563
|
+
return H2(n, e, u, 0, d, g, m);
|
|
1564
|
+
case 86106:
|
|
1565
|
+
return Xu(n, e, u, o, l, d, g, m);
|
|
1566
|
+
case 8456256:
|
|
1567
|
+
if (e & 8) return Q2(n, e, u, 0, d, g, m);
|
|
1568
|
+
default:
|
|
1569
|
+
if (B2(e, n.getToken())) return yn(n, e, u, d, g, m);
|
|
1570
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1571
|
+
}
|
|
1572
|
+
}
|
|
1573
|
+
function Xu(n, e, u, t, o, i, l, f) {
|
|
1574
|
+
let d = R(n, e);
|
|
1575
|
+
return n.getToken() === 67108877 ? ne(n, e, d, i, l, f) : (t && c(n, 142), d = ee(n, e, u, o, i, l, f), n.assignable = 2, O(n, e, u, d, o, 0, i, l, f));
|
|
1576
|
+
}
|
|
1577
|
+
function ne(n, e, u, t, o, i) {
|
|
1578
|
+
e & 512 || c(n, 169), b(n, e);
|
|
1579
|
+
let l = n.getToken();
|
|
1580
|
+
return l !== 209030 && n.tokenValue !== "meta" ? c(n, 174) : l & -2147483648 && c(n, 175), n.assignable = 2, s(n, e, t, o, i, { type: "MetaProperty", meta: u, property: R(n, e) });
|
|
1581
|
+
}
|
|
1582
|
+
function ee(n, e, u, t, o, i, l) {
|
|
1583
|
+
C(n, e | 8192, 67174411), n.getToken() === 14 && c(n, 143);
|
|
1584
|
+
let d = { type: "ImportExpression", source: M(n, e, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn) };
|
|
1585
|
+
if (e & 1) {
|
|
1586
|
+
let g = null;
|
|
1587
|
+
if (n.getToken() === 18 && (C(n, e, 18), n.getToken() !== 16)) {
|
|
1588
|
+
let m = (e | 33554432) ^ 33554432;
|
|
1589
|
+
g = M(n, m, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1590
|
+
}
|
|
1591
|
+
d.options = g, P(n, e, 18);
|
|
1592
|
+
}
|
|
1593
|
+
return C(n, e, 16), s(n, e, o, i, l, d);
|
|
1594
|
+
}
|
|
1595
|
+
function nn(n, e, u = null) {
|
|
1596
|
+
if (!P(n, e, 20579)) return [];
|
|
1597
|
+
C(n, e, 2162700);
|
|
1598
|
+
let t = [], o = /* @__PURE__ */ new Set();
|
|
1599
|
+
for (; n.getToken() !== 1074790415; ) {
|
|
1600
|
+
let i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn, d = zu(n, e);
|
|
1601
|
+
C(n, e, 21);
|
|
1602
|
+
let g = Hu(n, e), m = d.type === "Literal" ? d.value : d.name;
|
|
1603
|
+
m === "type" && g.value === "json" && (u === null || u.length === 1 && (u[0].type === "ImportDefaultSpecifier" || u[0].type === "ImportNamespaceSpecifier" || u[0].type === "ImportSpecifier" && u[0].imported.type === "Identifier" && u[0].imported.name === "default" || u[0].type === "ExportSpecifier" && u[0].local.type === "Identifier" && u[0].local.name === "default") || c(n, 140)), o.has(m) && c(n, 145, `${m}`), o.add(m), t.push(s(n, e, i, l, f, { type: "ImportAttribute", key: d, value: g })), n.getToken() !== 1074790415 && C(n, e, 18);
|
|
1604
|
+
}
|
|
1605
|
+
return C(n, e, 1074790415), t;
|
|
1606
|
+
}
|
|
1607
|
+
function Hu(n, e) {
|
|
1608
|
+
if (n.getToken() === 134283267) return H(n, e);
|
|
1609
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1610
|
+
}
|
|
1611
|
+
function zu(n, e) {
|
|
1612
|
+
if (n.getToken() === 134283267) return H(n, e);
|
|
1613
|
+
if (n.getToken() & 143360) return R(n, e);
|
|
1614
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1615
|
+
}
|
|
1616
|
+
function Ku(n, e) {
|
|
1617
|
+
let u = e.length;
|
|
1618
|
+
for (let t = 0; t < u; t++) {
|
|
1619
|
+
let o = e.charCodeAt(t);
|
|
1620
|
+
(o & 64512) === 55296 && (o > 56319 || ++t >= u || (e.charCodeAt(t) & 64512) !== 56320) && c(n, 171, JSON.stringify(e.charAt(t--)));
|
|
1621
|
+
}
|
|
1622
|
+
}
|
|
1623
|
+
function O2(n, e) {
|
|
1624
|
+
if (n.getToken() === 134283267) return Ku(n, n.tokenValue), H(n, e);
|
|
1625
|
+
if (n.getToken() & 143360) return R(n, e);
|
|
1626
|
+
c(n, 30, V[n.getToken() & 255]);
|
|
1627
|
+
}
|
|
1628
|
+
function ue(n, e, u, t, o) {
|
|
1629
|
+
let { tokenRaw: i, tokenValue: l } = n;
|
|
1630
|
+
return b(n, e), n.assignable = 2, s(n, e, u, t, o, e & 128 ? { type: "Literal", value: l, bigint: i.slice(0, -1), raw: i } : { type: "Literal", value: l, bigint: i.slice(0, -1) });
|
|
1631
|
+
}
|
|
1632
|
+
function mn(n, e, u, t, o) {
|
|
1633
|
+
n.assignable = 2;
|
|
1634
|
+
let { tokenValue: i, tokenRaw: l, tokenIndex: f, tokenLine: d, tokenColumn: g } = n;
|
|
1635
|
+
C(n, e, 67174409);
|
|
1636
|
+
let m = [R2(n, e, i, l, f, d, g, true)];
|
|
1637
|
+
return s(n, e, u, t, o, { type: "TemplateLiteral", expressions: [], quasis: m });
|
|
1638
|
+
}
|
|
1639
|
+
function kn(n, e, u) {
|
|
1640
|
+
e = (e | 33554432) ^ 33554432;
|
|
1641
|
+
let { tokenValue: t, tokenRaw: o, tokenIndex: i, tokenLine: l, tokenColumn: f } = n;
|
|
1642
|
+
C(n, e & -16385 | 8192, 67174408);
|
|
1643
|
+
let d = [R2(n, e, t, o, i, l, f, false)], g = [z(n, e & -16385, u, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn)];
|
|
1644
|
+
for (n.getToken() !== 1074790415 && c(n, 83); n.setToken(We(n, e), true) !== 67174409; ) {
|
|
1645
|
+
let { tokenValue: m, tokenRaw: y, tokenIndex: a, tokenLine: k, tokenColumn: h } = n;
|
|
1646
|
+
C(n, e & -16385 | 8192, 67174408), d.push(R2(n, e, m, y, a, k, h, false)), g.push(z(n, e, u, 0, 1, n.tokenIndex, n.tokenLine, n.tokenColumn)), n.getToken() !== 1074790415 && c(n, 83);
|
|
1647
|
+
}
|
|
1648
|
+
{
|
|
1649
|
+
let { tokenValue: m, tokenRaw: y, tokenIndex: a, tokenLine: k, tokenColumn: h } = n;
|
|
1650
|
+
C(n, e, 67174409), d.push(R2(n, e, m, y, a, k, h, true));
|
|
1651
|
+
}
|
|
1652
|
+
return s(n, e, i, l, f, { type: "TemplateLiteral", expressions: g, quasis: d });
|
|
1653
|
+
}
|
|
1654
|
+
function R2(n, e, u, t, o, i, l, f) {
|
|
1655
|
+
let d = s(n, e, o, i, l, { type: "TemplateElement", value: { cooked: u, raw: t }, tail: f }), g = f ? 1 : 2;
|
|
1656
|
+
return e & 2 && (d.start += 1, d.range[0] += 1, d.end -= g, d.range[1] -= g), e & 4 && (d.loc.start.column += 1, d.loc.end.column -= g), d;
|
|
1657
|
+
}
|
|
1658
|
+
function $u(n, e, u, t, o, i) {
|
|
1659
|
+
e = (e | 33554432) ^ 33554432, C(n, e | 8192, 14);
|
|
1660
|
+
let l = M(n, e, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1661
|
+
return n.assignable = 1, s(n, e, t, o, i, { type: "SpreadElement", argument: l });
|
|
1662
|
+
}
|
|
1663
|
+
function an(n, e, u, t) {
|
|
1664
|
+
b(n, e | 8192);
|
|
1665
|
+
let o = [];
|
|
1666
|
+
if (n.getToken() === 16) return b(n, e | 16384), o;
|
|
1667
|
+
for (; n.getToken() !== 16 && (n.getToken() === 14 ? o.push($u(n, e, u, n.tokenIndex, n.tokenLine, n.tokenColumn)) : o.push(M(n, e, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn)), !(n.getToken() !== 18 || (b(n, e | 8192), n.getToken() === 16))); ) ;
|
|
1668
|
+
return C(n, e | 16384, 16), o;
|
|
1669
|
+
}
|
|
1670
|
+
function R(n, e) {
|
|
1671
|
+
let { tokenValue: u, tokenIndex: t, tokenLine: o, tokenColumn: i } = n, l = u === "await" && (n.getToken() & -2147483648) === 0;
|
|
1672
|
+
return b(n, e | (l ? 8192 : 0)), s(n, e, t, o, i, { type: "Identifier", name: u });
|
|
1673
|
+
}
|
|
1674
|
+
function H(n, e) {
|
|
1675
|
+
let { tokenValue: u, tokenRaw: t, tokenIndex: o, tokenLine: i, tokenColumn: l } = n;
|
|
1676
|
+
return n.getToken() === 134283388 ? ue(n, e, o, i, l) : (b(n, e), n.assignable = 2, s(n, e, o, i, l, e & 128 ? { type: "Literal", value: u, raw: t } : { type: "Literal", value: u }));
|
|
1677
|
+
}
|
|
1678
|
+
function Wu(n, e, u, t, o) {
|
|
1679
|
+
let i = V[n.getToken() & 255], l = n.getToken() === 86023 ? null : i === "true";
|
|
1680
|
+
return b(n, e), n.assignable = 2, s(n, e, u, t, o, e & 128 ? { type: "Literal", value: l, raw: i } : { type: "Literal", value: l });
|
|
1681
|
+
}
|
|
1682
|
+
function _u(n, e) {
|
|
1683
|
+
let { tokenIndex: u, tokenLine: t, tokenColumn: o } = n;
|
|
1684
|
+
return b(n, e), n.assignable = 2, s(n, e, u, t, o, { type: "ThisExpression" });
|
|
1685
|
+
}
|
|
1686
|
+
function d2(n, e, u, t, o, i, l, f, d, g, m) {
|
|
1687
|
+
b(n, e | 8192);
|
|
1688
|
+
let y = i ? fn(n, e, 8391476) : 0, a = null, k, h = u ? a2() : void 0;
|
|
1689
|
+
if (n.getToken() === 67174411) l & 1 || c(n, 39, "Function");
|
|
1690
|
+
else {
|
|
1691
|
+
let v = o & 4 && (!(e & 2048) || !(e & 512)) ? 4 : 64 | (f ? 1024 : 0) | (y ? 1024 : 0);
|
|
1692
|
+
$n(n, e, n.getToken()), u && (v & 4 ? Yn(n, e, u, n.tokenValue, v) : g2(n, e, u, n.tokenValue, v, o), h = j(h, 256), l && l & 2 && l2(n, n.tokenValue)), k = n.getToken(), n.getToken() & 143360 ? a = R(n, e) : c(n, 30, V[n.getToken() & 255]);
|
|
1693
|
+
}
|
|
1694
|
+
let T = 7274496;
|
|
1695
|
+
e = (e | T) ^ T | 16777216 | (f ? 524288 : 0) | (y ? 262144 : 0) | (y ? 0 : 67108864), u && (h = j(h, 512));
|
|
1696
|
+
let E = oe(n, (e | 2097152) & -268435457, h, t, 0, 1), w = 268471296, I = W2(n, (e | w) ^ w | 8388608 | 1048576, u ? j(h, 128) : h, t, 8, k, h == null ? void 0 : h.scopeError);
|
|
1697
|
+
return s(n, e, d, g, m, { type: "FunctionDeclaration", id: a, params: E, body: I, async: f === 1, generator: y === 1 });
|
|
1698
|
+
}
|
|
1699
|
+
function te(n, e, u, t, o, i, l, f) {
|
|
1700
|
+
b(n, e | 8192);
|
|
1701
|
+
let d = fn(n, e, 8391476), g = (t ? 524288 : 0) | (d ? 262144 : 0), m = null, y, a = e & 16 ? a2() : void 0, k = 275709952;
|
|
1702
|
+
n.getToken() & 143360 && ($n(n, (e | k) ^ k | g, n.getToken()), a && (a = j(a, 256)), y = n.getToken(), m = R(n, e)), e = (e | k) ^ k | 16777216 | g | (d ? 0 : 67108864), a && (a = j(a, 512));
|
|
1703
|
+
let h = oe(n, (e | 2097152) & -268435457, a, u, o, 1), T = W2(n, e & -33594369 | 8388608 | 1048576, a && j(a, 128), u, 0, y, a == null ? void 0 : a.scopeError);
|
|
1704
|
+
return n.assignable = 2, s(n, e, i, l, f, { type: "FunctionExpression", id: m, params: h, body: T, async: t === 1, generator: d === 1 });
|
|
1705
|
+
}
|
|
1706
|
+
function Yu(n, e, u, t, o, i, l, f) {
|
|
1707
|
+
let d = Q(n, e, void 0, u, t, o, 0, 2, 0, i, l, f);
|
|
1708
|
+
return n.destructible & 64 && c(n, 63), n.destructible & 8 && c(n, 62), d;
|
|
1709
|
+
}
|
|
1710
|
+
function Q(n, e, u, t, o, i, l, f, d, g, m, y) {
|
|
1711
|
+
b(n, e | 8192);
|
|
1712
|
+
let a = [], k = 0;
|
|
1713
|
+
for (e = (e | 33554432) ^ 33554432; n.getToken() !== 20; ) if (P(n, e | 8192, 18)) a.push(null);
|
|
1714
|
+
else {
|
|
1715
|
+
let T, { tokenIndex: E, tokenLine: w, tokenColumn: I, tokenValue: v } = n, F = n.getToken();
|
|
1716
|
+
if (F & 143360) if (T = _(n, e, t, f, 0, 1, i, 1, E, w, I), n.getToken() === 1077936155) {
|
|
1717
|
+
n.assignable & 2 && c(n, 26), b(n, e | 8192), u && n2(n, e, u, v, f, d);
|
|
1718
|
+
let q = M(n, e, t, 1, i, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1719
|
+
T = s(n, e, E, w, I, l ? { type: "AssignmentPattern", left: T, right: q } : { type: "AssignmentExpression", operator: "=", left: T, right: q }), k |= n.destructible & 256 ? 256 : 0 | n.destructible & 128 ? 128 : 0;
|
|
1720
|
+
} else n.getToken() === 18 || n.getToken() === 20 ? (n.assignable & 2 ? k |= 16 : u && n2(n, e, u, v, f, d), k |= n.destructible & 256 ? 256 : 0 | n.destructible & 128 ? 128 : 0) : (k |= f & 1 ? 32 : f & 2 ? 0 : 16, T = O(n, e, t, T, i, 0, E, w, I), n.getToken() !== 18 && n.getToken() !== 20 ? (n.getToken() !== 1077936155 && (k |= 16), T = J(n, e, t, i, l, E, w, I, T)) : n.getToken() !== 1077936155 && (k |= n.assignable & 2 ? 16 : 32));
|
|
1721
|
+
else F & 2097152 ? (T = n.getToken() === 2162700 ? Z(n, e, u, t, 0, i, l, f, d, E, w, I) : Q(n, e, u, t, 0, i, l, f, d, E, w, I), k |= n.destructible, n.assignable = n.destructible & 16 ? 2 : 1, n.getToken() === 18 || n.getToken() === 20 ? n.assignable & 2 && (k |= 16) : n.destructible & 8 ? c(n, 71) : (T = O(n, e, t, T, i, 0, E, w, I), k = n.assignable & 2 ? 16 : 0, n.getToken() !== 18 && n.getToken() !== 20 ? T = J(n, e, t, i, l, E, w, I, T) : n.getToken() !== 1077936155 && (k |= n.assignable & 2 ? 16 : 32))) : F === 14 ? (T = b2(n, e, u, t, 20, f, d, 0, i, l, E, w, I), k |= n.destructible, n.getToken() !== 18 && n.getToken() !== 20 && c(n, 30, V[n.getToken() & 255])) : (T = Y(n, e, t, 1, 0, 1, E, w, I), n.getToken() !== 18 && n.getToken() !== 20 ? (T = J(n, e, t, i, l, E, w, I, T), !(f & 3) && F === 67174411 && (k |= 16)) : n.assignable & 2 ? k |= 16 : F === 67174411 && (k |= n.assignable & 1 && f & 3 ? 32 : 16));
|
|
1722
|
+
if (a.push(T), P(n, e | 8192, 18)) {
|
|
1723
|
+
if (n.getToken() === 20) break;
|
|
1724
|
+
} else break;
|
|
1725
|
+
}
|
|
1726
|
+
C(n, e, 20);
|
|
1727
|
+
let h = s(n, e, g, m, y, { type: l ? "ArrayPattern" : "ArrayExpression", elements: a });
|
|
1728
|
+
return !o && n.getToken() & 4194304 ? ie(n, e, t, k, i, l, g, m, y, h) : (n.destructible = k, h);
|
|
1729
|
+
}
|
|
1730
|
+
function ie(n, e, u, t, o, i, l, f, d, g) {
|
|
1731
|
+
n.getToken() !== 1077936155 && c(n, 26), b(n, e | 8192), t & 16 && c(n, 26), i || r(n, g);
|
|
1732
|
+
let { tokenIndex: m, tokenLine: y, tokenColumn: a } = n, k = M(n, e, u, 1, o, m, y, a);
|
|
1733
|
+
return n.destructible = (t | 64 | 8) ^ 72 | (n.destructible & 128 ? 128 : 0) | (n.destructible & 256 ? 256 : 0), s(n, e, l, f, d, i ? { type: "AssignmentPattern", left: g, right: k } : { type: "AssignmentExpression", left: g, operator: "=", right: k });
|
|
1734
|
+
}
|
|
1735
|
+
function b2(n, e, u, t, o, i, l, f, d, g, m, y, a) {
|
|
1736
|
+
b(n, e | 8192);
|
|
1737
|
+
let k = null, h = 0, { tokenValue: T, tokenIndex: E, tokenLine: w, tokenColumn: I } = n, v = n.getToken();
|
|
1738
|
+
if (v & 143360) n.assignable = 1, k = _(n, e, t, i, 0, 1, d, 1, E, w, I), v = n.getToken(), k = O(n, e, t, k, d, 0, E, w, I), n.getToken() !== 18 && n.getToken() !== o && (n.assignable & 2 && n.getToken() === 1077936155 && c(n, 71), h |= 16, k = J(n, e, t, d, g, E, w, I, k)), n.assignable & 2 ? h |= 16 : v === o || v === 18 ? u && n2(n, e, u, T, i, l) : h |= 32, h |= n.destructible & 128 ? 128 : 0;
|
|
1739
|
+
else if (v === o) c(n, 41);
|
|
1740
|
+
else if (v & 2097152) k = n.getToken() === 2162700 ? Z(n, e, u, t, 1, d, g, i, l, E, w, I) : Q(n, e, u, t, 1, d, g, i, l, E, w, I), v = n.getToken(), v !== 1077936155 && v !== o && v !== 18 ? (n.destructible & 8 && c(n, 71), k = O(n, e, t, k, d, 0, E, w, I), h |= n.assignable & 2 ? 16 : 0, (n.getToken() & 4194304) === 4194304 ? (n.getToken() !== 1077936155 && (h |= 16), k = J(n, e, t, d, g, E, w, I, k)) : ((n.getToken() & 8388608) === 8388608 && (k = f2(n, e, t, 1, E, w, I, 4, v, k)), P(n, e | 8192, 22) && (k = c2(n, e, t, k, E, w, I)), h |= n.assignable & 2 ? 16 : 32)) : h |= o === 1074790415 && v !== 1077936155 ? 16 : n.destructible;
|
|
1741
|
+
else {
|
|
1742
|
+
h |= 32, k = Y(n, e, t, 1, d, 1, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1743
|
+
let { tokenIndex: F, tokenLine: q, tokenColumn: U } = n, D = n.getToken();
|
|
1744
|
+
return D === 1077936155 ? (n.assignable & 2 && c(n, 26), k = J(n, e, t, d, g, F, q, U, k), h |= 16) : (D === 18 ? h |= 16 : D !== o && (k = J(n, e, t, d, g, F, q, U, k)), h |= n.assignable & 1 ? 32 : 16), n.destructible = h, n.getToken() !== o && n.getToken() !== 18 && c(n, 161), s(n, e, m, y, a, { type: g ? "RestElement" : "SpreadElement", argument: k });
|
|
1745
|
+
}
|
|
1746
|
+
if (n.getToken() !== o) if (i & 1 && (h |= f ? 16 : 32), P(n, e | 8192, 1077936155)) {
|
|
1747
|
+
h & 16 && c(n, 26), r(n, k);
|
|
1748
|
+
let F = M(n, e, t, 1, d, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1749
|
+
k = s(n, e, E, w, I, g ? { type: "AssignmentPattern", left: k, right: F } : { type: "AssignmentExpression", left: k, operator: "=", right: F }), h = 16;
|
|
1750
|
+
} else h |= 16;
|
|
1751
|
+
return n.destructible = h, s(n, e, m, y, a, { type: g ? "RestElement" : "SpreadElement", argument: k });
|
|
1752
|
+
}
|
|
1753
|
+
function x(n, e, u, t, o, i, l, f) {
|
|
1754
|
+
var a;
|
|
1755
|
+
let d = 2883584 | (t & 64 ? 0 : 4325376);
|
|
1756
|
+
e = (e | d) ^ d | (t & 8 ? 262144 : 0) | (t & 16 ? 524288 : 0) | (t & 64 ? 4194304 : 0) | 65536 | 8388608 | 16777216;
|
|
1757
|
+
let g = e & 16 ? j(a2(), 512) : void 0, m = Zu(n, (e | 2097152) & -268435457, g, u, t, 1, o);
|
|
1758
|
+
g && (g = j(g, 128));
|
|
1759
|
+
let y = W2(n, e & -301992961 | 8388608 | 1048576, g, u, 0, void 0, (a = g == null ? void 0 : g.parent) == null ? void 0 : a.scopeError);
|
|
1760
|
+
return s(n, e, i, l, f, { type: "FunctionExpression", params: m, body: y, async: (t & 16) > 0, generator: (t & 8) > 0, id: null });
|
|
1761
|
+
}
|
|
1762
|
+
function Qu(n, e, u, t, o, i, l, f) {
|
|
1763
|
+
let d = Z(n, e, void 0, u, t, o, 0, 2, 0, i, l, f);
|
|
1764
|
+
return n.destructible & 64 && c(n, 63), n.destructible & 8 && c(n, 62), d;
|
|
1765
|
+
}
|
|
1766
|
+
function Z(n, e, u, t, o, i, l, f, d, g, m, y) {
|
|
1767
|
+
b(n, e);
|
|
1768
|
+
let a = [], k = 0, h = 0;
|
|
1769
|
+
for (e = (e | 33554432) ^ 33554432; n.getToken() !== 1074790415; ) {
|
|
1770
|
+
let { tokenValue: E, tokenLine: w, tokenColumn: I, tokenIndex: v } = n, F = n.getToken();
|
|
1771
|
+
if (F === 14) a.push(b2(n, e, u, t, 1074790415, f, d, 0, i, l, v, w, I));
|
|
1772
|
+
else {
|
|
1773
|
+
let q = 0, U = null, D;
|
|
1774
|
+
if (n.getToken() & 143360 || n.getToken() === -2147483528 || n.getToken() === -2147483527) if (n.getToken() === -2147483527 && (k |= 16), U = R(n, e), n.getToken() === 18 || n.getToken() === 1074790415 || n.getToken() === 1077936155) if (q |= 4, e & 256 && (F & 537079808) === 537079808 ? k |= 16 : J2(n, e, f, F, 0), u && n2(n, e, u, E, f, d), P(n, e | 8192, 1077936155)) {
|
|
1775
|
+
k |= 8;
|
|
1776
|
+
let B = M(n, e, t, 1, i, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1777
|
+
k |= n.destructible & 256 ? 256 : 0 | n.destructible & 128 ? 128 : 0, D = s(n, e, v, w, I, { type: "AssignmentPattern", left: e & 134217728 ? Object.assign({}, U) : U, right: B });
|
|
1778
|
+
} else k |= (F === 209006 ? 128 : 0) | (F === -2147483528 ? 16 : 0), D = e & 134217728 ? Object.assign({}, U) : U;
|
|
1779
|
+
else if (P(n, e | 8192, 21)) {
|
|
1780
|
+
let { tokenIndex: B, tokenLine: L, tokenColumn: S } = n;
|
|
1781
|
+
if (E === "__proto__" && h++, n.getToken() & 143360) {
|
|
1782
|
+
let D2 = n.getToken(), t2 = n.tokenValue;
|
|
1783
|
+
D = _(n, e, t, f, 0, 1, i, 1, B, L, S);
|
|
1784
|
+
let p = n.getToken();
|
|
1785
|
+
D = O(n, e, t, D, i, 0, B, L, S), n.getToken() === 18 || n.getToken() === 1074790415 ? p === 1077936155 || p === 1074790415 || p === 18 ? (k |= n.destructible & 128 ? 128 : 0, n.assignable & 2 ? k |= 16 : u && (D2 & 143360) === 143360 && n2(n, e, u, t2, f, d)) : k |= n.assignable & 1 ? 32 : 16 : (n.getToken() & 4194304) === 4194304 ? (n.assignable & 2 ? k |= 16 : p !== 1077936155 ? k |= 32 : u && n2(n, e, u, t2, f, d), D = J(n, e, t, i, l, B, L, S, D)) : (k |= 16, (n.getToken() & 8388608) === 8388608 && (D = f2(n, e, t, 1, B, L, S, 4, p, D)), P(n, e | 8192, 22) && (D = c2(n, e, t, D, B, L, S)));
|
|
1786
|
+
} else (n.getToken() & 2097152) === 2097152 ? (D = n.getToken() === 69271571 ? Q(n, e, u, t, 0, i, l, f, d, B, L, S) : Z(n, e, u, t, 0, i, l, f, d, B, L, S), k = n.destructible, n.assignable = k & 16 ? 2 : 1, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : n.destructible & 8 ? c(n, 71) : (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 2 ? 16 : 0, (n.getToken() & 4194304) === 4194304 ? D = N2(n, e, t, i, l, B, L, S, D) : ((n.getToken() & 8388608) === 8388608 && (D = f2(n, e, t, 1, B, L, S, 4, F, D)), P(n, e | 8192, 22) && (D = c2(n, e, t, D, B, L, S)), k |= n.assignable & 2 ? 16 : 32))) : (D = Y(n, e, t, 1, i, 1, B, L, S), k |= n.assignable & 1 ? 32 : 16, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 2 ? 16 : 0, n.getToken() !== 18 && F !== 1074790415 && (n.getToken() !== 1077936155 && (k |= 16), D = J(n, e, t, i, l, B, L, S, D))));
|
|
1787
|
+
} else n.getToken() === 69271571 ? (k |= 16, F === 209005 && (q |= 16), q |= (F === 12400 ? 256 : F === 12401 ? 512 : 1) | 2, U = y2(n, e, t, i), k |= n.assignable, D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : n.getToken() & 143360 ? (k |= 16, F === -2147483528 && c(n, 95), F === 209005 ? (n.flags & 1 && c(n, 132), q |= 17) : F === 12400 ? q |= 256 : F === 12401 ? q |= 512 : c(n, 0), U = R(n, e), D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : n.getToken() === 67174411 ? (k |= 16, q |= 1, D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : n.getToken() === 8391476 ? (k |= 16, F === 12400 ? c(n, 42) : F === 12401 ? c(n, 43) : F !== 209005 && c(n, 30, V[52]), b(n, e), q |= 9 | (F === 209005 ? 16 : 0), n.getToken() & 143360 ? U = R(n, e) : (n.getToken() & 134217728) === 134217728 ? U = H(n, e) : n.getToken() === 69271571 ? (q |= 2, U = y2(n, e, t, i), k |= n.assignable) : c(n, 30, V[n.getToken() & 255]), D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : (n.getToken() & 134217728) === 134217728 ? (F === 209005 && (q |= 16), q |= F === 12400 ? 256 : F === 12401 ? 512 : 1, k |= 16, U = H(n, e), D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : c(n, 133);
|
|
1788
|
+
else if ((n.getToken() & 134217728) === 134217728) if (U = H(n, e), n.getToken() === 21) {
|
|
1789
|
+
C(n, e | 8192, 21);
|
|
1790
|
+
let { tokenIndex: B, tokenLine: L, tokenColumn: S } = n;
|
|
1791
|
+
if (E === "__proto__" && h++, n.getToken() & 143360) {
|
|
1792
|
+
D = _(n, e, t, f, 0, 1, i, 1, B, L, S);
|
|
1793
|
+
let { tokenValue: D2 } = n, t2 = n.getToken();
|
|
1794
|
+
D = O(n, e, t, D, i, 0, B, L, S), n.getToken() === 18 || n.getToken() === 1074790415 ? t2 === 1077936155 || t2 === 1074790415 || t2 === 18 ? n.assignable & 2 ? k |= 16 : u && n2(n, e, u, D2, f, d) : k |= n.assignable & 1 ? 32 : 16 : n.getToken() === 1077936155 ? (n.assignable & 2 && (k |= 16), D = J(n, e, t, i, l, B, L, S, D)) : (k |= 16, D = J(n, e, t, i, l, B, L, S, D));
|
|
1795
|
+
} else (n.getToken() & 2097152) === 2097152 ? (D = n.getToken() === 69271571 ? Q(n, e, u, t, 0, i, l, f, d, B, L, S) : Z(n, e, u, t, 0, i, l, f, d, B, L, S), k = n.destructible, n.assignable = k & 16 ? 2 : 1, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : (n.destructible & 8) !== 8 && (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 2 ? 16 : 0, (n.getToken() & 4194304) === 4194304 ? D = N2(n, e, t, i, l, B, L, S, D) : ((n.getToken() & 8388608) === 8388608 && (D = f2(n, e, t, 1, B, L, S, 4, F, D)), P(n, e | 8192, 22) && (D = c2(n, e, t, D, B, L, S)), k |= n.assignable & 2 ? 16 : 32))) : (D = Y(n, e, t, 1, 0, 1, B, L, S), k |= n.assignable & 1 ? 32 : 16, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 1 ? 0 : 16, n.getToken() !== 18 && n.getToken() !== 1074790415 && (n.getToken() !== 1077936155 && (k |= 16), D = J(n, e, t, i, l, B, L, S, D))));
|
|
1796
|
+
} else n.getToken() === 67174411 ? (q |= 1, D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn), k = n.assignable | 16) : c(n, 134);
|
|
1797
|
+
else if (n.getToken() === 69271571) if (U = y2(n, e, t, i), k |= n.destructible & 256 ? 256 : 0, q |= 2, n.getToken() === 21) {
|
|
1798
|
+
b(n, e | 8192);
|
|
1799
|
+
let { tokenIndex: B, tokenLine: L, tokenColumn: S, tokenValue: D2 } = n, t2 = n.getToken();
|
|
1800
|
+
if (n.getToken() & 143360) {
|
|
1801
|
+
D = _(n, e, t, f, 0, 1, i, 1, B, L, S);
|
|
1802
|
+
let p = n.getToken();
|
|
1803
|
+
D = O(n, e, t, D, i, 0, B, L, S), (n.getToken() & 4194304) === 4194304 ? (k |= n.assignable & 2 ? 16 : p === 1077936155 ? 0 : 32, D = N2(n, e, t, i, l, B, L, S, D)) : n.getToken() === 18 || n.getToken() === 1074790415 ? p === 1077936155 || p === 1074790415 || p === 18 ? n.assignable & 2 ? k |= 16 : u && (t2 & 143360) === 143360 && n2(n, e, u, D2, f, d) : k |= n.assignable & 1 ? 32 : 16 : (k |= 16, D = J(n, e, t, i, l, B, L, S, D));
|
|
1804
|
+
} else (n.getToken() & 2097152) === 2097152 ? (D = n.getToken() === 69271571 ? Q(n, e, u, t, 0, i, l, f, d, B, L, S) : Z(n, e, u, t, 0, i, l, f, d, B, L, S), k = n.destructible, n.assignable = k & 16 ? 2 : 1, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : k & 8 ? c(n, 62) : (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 2 ? k | 16 : 0, (n.getToken() & 4194304) === 4194304 ? (n.getToken() !== 1077936155 && (k |= 16), D = N2(n, e, t, i, l, B, L, S, D)) : ((n.getToken() & 8388608) === 8388608 && (D = f2(n, e, t, 1, B, L, S, 4, F, D)), P(n, e | 8192, 22) && (D = c2(n, e, t, D, B, L, S)), k |= n.assignable & 2 ? 16 : 32))) : (D = Y(n, e, t, 1, 0, 1, B, L, S), k |= n.assignable & 1 ? 32 : 16, n.getToken() === 18 || n.getToken() === 1074790415 ? n.assignable & 2 && (k |= 16) : (D = O(n, e, t, D, i, 0, B, L, S), k = n.assignable & 1 ? 0 : 16, n.getToken() !== 18 && n.getToken() !== 1074790415 && (n.getToken() !== 1077936155 && (k |= 16), D = J(n, e, t, i, l, B, L, S, D))));
|
|
1805
|
+
} else n.getToken() === 67174411 ? (q |= 1, D = x(n, e, t, q, i, n.tokenIndex, w, I), k = 16) : c(n, 44);
|
|
1806
|
+
else if (F === 8391476) if (C(n, e | 8192, 8391476), q |= 8, n.getToken() & 143360) {
|
|
1807
|
+
let B = n.getToken();
|
|
1808
|
+
U = R(n, e), q |= 1, n.getToken() === 67174411 ? (k |= 16, D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : $(n.tokenIndex, n.tokenLine, n.tokenColumn, n.index, n.line, n.column, B === 209005 ? 46 : B === 12400 || n.getToken() === 12401 ? 45 : 47, V[B & 255]);
|
|
1809
|
+
} else (n.getToken() & 134217728) === 134217728 ? (k |= 16, U = H(n, e), q |= 1, D = x(n, e, t, q, i, v, w, I)) : n.getToken() === 69271571 ? (k |= 16, q |= 3, U = y2(n, e, t, i), D = x(n, e, t, q, i, n.tokenIndex, n.tokenLine, n.tokenColumn)) : c(n, 126);
|
|
1810
|
+
else c(n, 30, V[F & 255]);
|
|
1811
|
+
k |= n.destructible & 128 ? 128 : 0, n.destructible = k, a.push(s(n, e, v, w, I, { type: "Property", key: U, value: D, kind: q & 768 ? q & 512 ? "set" : "get" : "init", computed: (q & 2) > 0, method: (q & 1) > 0, shorthand: (q & 4) > 0 }));
|
|
1812
|
+
}
|
|
1813
|
+
if (k |= n.destructible, n.getToken() !== 18) break;
|
|
1814
|
+
b(n, e);
|
|
1815
|
+
}
|
|
1816
|
+
C(n, e, 1074790415), h > 1 && (k |= 64);
|
|
1817
|
+
let T = s(n, e, g, m, y, { type: l ? "ObjectPattern" : "ObjectExpression", properties: a });
|
|
1818
|
+
return !o && n.getToken() & 4194304 ? ie(n, e, t, k, i, l, g, m, y, T) : (n.destructible = k, T);
|
|
1819
|
+
}
|
|
1820
|
+
function Zu(n, e, u, t, o, i, l) {
|
|
1821
|
+
C(n, e, 67174411);
|
|
1822
|
+
let f = [];
|
|
1823
|
+
if (n.flags = (n.flags | 128) ^ 128, n.getToken() === 16) return o & 512 && c(n, 37, "Setter", "one", ""), b(n, e), f;
|
|
1824
|
+
o & 256 && c(n, 37, "Getter", "no", "s"), o & 512 && n.getToken() === 14 && c(n, 38), e = (e | 33554432) ^ 33554432;
|
|
1825
|
+
let d = 0, g = 0;
|
|
1826
|
+
for (; n.getToken() !== 18; ) {
|
|
1827
|
+
let m = null, { tokenIndex: y, tokenLine: a, tokenColumn: k } = n;
|
|
1828
|
+
if (n.getToken() & 143360 ? (e & 256 || ((n.getToken() & 36864) === 36864 && (n.flags |= 256), (n.getToken() & 537079808) === 537079808 && (n.flags |= 512)), m = hn(n, e, u, o | 1, 0, y, a, k)) : (n.getToken() === 2162700 ? m = Z(n, e, u, t, 1, l, 1, i, 0, y, a, k) : n.getToken() === 69271571 ? m = Q(n, e, u, t, 1, l, 1, i, 0, y, a, k) : n.getToken() === 14 && (m = b2(n, e, u, t, 16, i, 0, 0, l, 1, y, a, k)), g = 1, n.destructible & 48 && c(n, 50)), n.getToken() === 1077936155) {
|
|
1829
|
+
b(n, e | 8192), g = 1;
|
|
1830
|
+
let h = M(n, e, t, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1831
|
+
m = s(n, e, y, a, k, { type: "AssignmentPattern", left: m, right: h });
|
|
1832
|
+
}
|
|
1833
|
+
if (d++, f.push(m), !P(n, e, 18) || n.getToken() === 16) break;
|
|
1834
|
+
}
|
|
1835
|
+
return o & 512 && d !== 1 && c(n, 37, "Setter", "one", ""), u && u.scopeError && z2(u.scopeError), g && (n.flags |= 128), C(n, e, 16), f;
|
|
1836
|
+
}
|
|
1837
|
+
function y2(n, e, u, t) {
|
|
1838
|
+
b(n, e | 8192);
|
|
1839
|
+
let o = M(n, (e | 33554432) ^ 33554432, u, 1, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1840
|
+
return C(n, e, 20), o;
|
|
1841
|
+
}
|
|
1842
|
+
function Gu(n, e, u, t, o, i, l, f, d) {
|
|
1843
|
+
n.flags = (n.flags | 128) ^ 128;
|
|
1844
|
+
let { tokenIndex: g, tokenLine: m, tokenColumn: y } = n;
|
|
1845
|
+
b(n, e | 8192 | 67108864);
|
|
1846
|
+
let a = e & 16 ? j(a2(), 1024) : void 0;
|
|
1847
|
+
if (e = (e | 33554432) ^ 33554432, P(n, e, 16)) return X2(n, e, a, u, [], t, 0, l, f, d);
|
|
1848
|
+
let k = 0;
|
|
1849
|
+
n.destructible &= -385;
|
|
1850
|
+
let h, T = [], E = 0, w = 0, I = 0, { tokenIndex: v, tokenLine: F, tokenColumn: q } = n;
|
|
1851
|
+
for (n.assignable = 1; n.getToken() !== 16; ) {
|
|
1852
|
+
let { tokenIndex: U, tokenLine: D, tokenColumn: B } = n, L = n.getToken();
|
|
1853
|
+
if (L & 143360) a && g2(n, e, a, n.tokenValue, 1, 0), (L & 537079808) === 537079808 ? w = 1 : (L & 36864) === 36864 && (I = 1), h = _(n, e, u, o, 0, 1, 1, 1, U, D, B), n.getToken() === 16 || n.getToken() === 18 ? n.assignable & 2 && (k |= 16, w = 1) : (n.getToken() === 1077936155 ? w = 1 : k |= 16, h = O(n, e, u, h, 1, 0, U, D, B), n.getToken() !== 16 && n.getToken() !== 18 && (h = J(n, e, u, 1, 0, U, D, B, h)));
|
|
1854
|
+
else if ((L & 2097152) === 2097152) h = L === 2162700 ? Z(n, e | 67108864, a, u, 0, 1, 0, o, i, U, D, B) : Q(n, e | 67108864, a, u, 0, 1, 0, o, i, U, D, B), k |= n.destructible, w = 1, n.assignable = 2, n.getToken() !== 16 && n.getToken() !== 18 && (k & 8 && c(n, 122), h = O(n, e, u, h, 0, 0, U, D, B), k |= 16, n.getToken() !== 16 && n.getToken() !== 18 && (h = J(n, e, u, 0, 0, U, D, B, h)));
|
|
1855
|
+
else if (L === 14) {
|
|
1856
|
+
h = b2(n, e, a, u, 16, o, i, 0, 1, 0, U, D, B), n.destructible & 16 && c(n, 74), w = 1, E && (n.getToken() === 16 || n.getToken() === 18) && T.push(h), k |= 8;
|
|
1857
|
+
break;
|
|
1858
|
+
} else {
|
|
1859
|
+
if (k |= 16, h = M(n, e, u, 1, 1, U, D, B), E && (n.getToken() === 16 || n.getToken() === 18) && T.push(h), n.getToken() === 18 && (E || (E = 1, T = [h])), E) {
|
|
1860
|
+
for (; P(n, e | 8192, 18); ) T.push(M(n, e, u, 1, 1, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
1861
|
+
n.assignable = 2, h = s(n, e, v, F, q, { type: "SequenceExpression", expressions: T });
|
|
1862
|
+
}
|
|
1863
|
+
return C(n, e, 16), n.destructible = k, h;
|
|
1864
|
+
}
|
|
1865
|
+
if (E && (n.getToken() === 16 || n.getToken() === 18) && T.push(h), !P(n, e | 8192, 18)) break;
|
|
1866
|
+
if (E || (E = 1, T = [h]), n.getToken() === 16) {
|
|
1867
|
+
k |= 8;
|
|
1868
|
+
break;
|
|
1869
|
+
}
|
|
1870
|
+
}
|
|
1871
|
+
return E && (n.assignable = 2, h = s(n, e, v, F, q, { type: "SequenceExpression", expressions: T })), C(n, e, 16), k & 16 && k & 8 && c(n, 151), k |= n.destructible & 256 ? 256 : 0 | n.destructible & 128 ? 128 : 0, n.getToken() === 10 ? (k & 48 && c(n, 49), e & 524800 && k & 128 && c(n, 31), e & 262400 && k & 256 && c(n, 32), w && (n.flags |= 128), I && (n.flags |= 256), X2(n, e, a, u, E ? T : [h], t, 0, l, f, d)) : (k & 64 && c(n, 63), k & 8 && c(n, 144), n.destructible = (n.destructible | 256) ^ 256 | k, e & 32 ? s(n, e, g, m, y, { type: "ParenthesizedExpression", expression: h }) : h);
|
|
1872
|
+
}
|
|
1873
|
+
function yn(n, e, u, t, o, i) {
|
|
1874
|
+
let { tokenValue: l } = n, f = 0, d = 0;
|
|
1875
|
+
(n.getToken() & 537079808) === 537079808 ? f = 1 : (n.getToken() & 36864) === 36864 && (d = 1);
|
|
1876
|
+
let g = R(n, e);
|
|
1877
|
+
if (n.assignable = 1, n.getToken() === 10) {
|
|
1878
|
+
let m;
|
|
1879
|
+
return e & 16 && (m = K2(n, e, l)), f && (n.flags |= 128), d && (n.flags |= 256), F2(n, e, m, u, [g], 0, t, o, i);
|
|
1880
|
+
}
|
|
1881
|
+
return g;
|
|
1882
|
+
}
|
|
1883
|
+
function _2(n, e, u, t, o, i, l, f, d, g, m) {
|
|
1884
|
+
l || c(n, 57), i && c(n, 51), n.flags &= -129;
|
|
1885
|
+
let y = e & 16 ? K2(n, e, t) : void 0;
|
|
1886
|
+
return F2(n, e, y, u, [o], f, d, g, m);
|
|
1887
|
+
}
|
|
1888
|
+
function X2(n, e, u, t, o, i, l, f, d, g) {
|
|
1889
|
+
i || c(n, 57);
|
|
1890
|
+
for (let m = 0; m < o.length; ++m) r(n, o[m]);
|
|
1891
|
+
return F2(n, e, u, t, o, l, f, d, g);
|
|
1892
|
+
}
|
|
1893
|
+
function F2(n, e, u, t, o, i, l, f, d) {
|
|
1894
|
+
n.flags & 1 && c(n, 48), C(n, e | 8192, 10);
|
|
1895
|
+
let g = 271319040;
|
|
1896
|
+
e = (e | g) ^ g | (i ? 524288 : 0);
|
|
1897
|
+
let m = n.getToken() !== 2162700, y;
|
|
1898
|
+
if (u && u.scopeError && z2(u.scopeError), m) n.flags = (n.flags | 512 | 256 | 64 | 4096) ^ 4928, y = M(n, e, t, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1899
|
+
else {
|
|
1900
|
+
u && (u = j(u, 128));
|
|
1901
|
+
let a = 33557504;
|
|
1902
|
+
switch (y = W2(n, (e | a) ^ a | 1048576, u, t, 16, void 0, void 0), n.getToken()) {
|
|
1903
|
+
case 69271571:
|
|
1904
|
+
n.flags & 1 || c(n, 116);
|
|
1905
|
+
break;
|
|
1906
|
+
case 67108877:
|
|
1907
|
+
case 67174409:
|
|
1908
|
+
case 22:
|
|
1909
|
+
c(n, 117);
|
|
1910
|
+
case 67174411:
|
|
1911
|
+
n.flags & 1 || c(n, 116), n.flags |= 1024;
|
|
1912
|
+
break;
|
|
1913
|
+
}
|
|
1914
|
+
(n.getToken() & 8388608) === 8388608 && !(n.flags & 1) && c(n, 30, V[n.getToken() & 255]), (n.getToken() & 33619968) === 33619968 && c(n, 125);
|
|
1915
|
+
}
|
|
1916
|
+
return n.assignable = 2, s(n, e, l, f, d, { type: "ArrowFunctionExpression", params: o, body: y, async: i === 1, expression: m });
|
|
1917
|
+
}
|
|
1918
|
+
function oe(n, e, u, t, o, i) {
|
|
1919
|
+
C(n, e, 67174411), n.flags = (n.flags | 128) ^ 128;
|
|
1920
|
+
let l = [];
|
|
1921
|
+
if (P(n, e, 16)) return l;
|
|
1922
|
+
e = (e | 33554432) ^ 33554432;
|
|
1923
|
+
let f = 0;
|
|
1924
|
+
for (; n.getToken() !== 18; ) {
|
|
1925
|
+
let d, { tokenIndex: g, tokenLine: m, tokenColumn: y } = n, a = n.getToken();
|
|
1926
|
+
if (a & 143360 ? (e & 256 || ((a & 36864) === 36864 && (n.flags |= 256), (a & 537079808) === 537079808 && (n.flags |= 512)), d = hn(n, e, u, i | 1, 0, g, m, y)) : (a === 2162700 ? d = Z(n, e, u, t, 1, o, 1, i, 0, g, m, y) : a === 69271571 ? d = Q(n, e, u, t, 1, o, 1, i, 0, g, m, y) : a === 14 ? d = b2(n, e, u, t, 16, i, 0, 0, o, 1, g, m, y) : c(n, 30, V[a & 255]), f = 1, n.destructible & 48 && c(n, 50)), n.getToken() === 1077936155) {
|
|
1927
|
+
b(n, e | 8192), f = 1;
|
|
1928
|
+
let k = M(n, e, t, 1, o, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
1929
|
+
d = s(n, e, g, m, y, { type: "AssignmentPattern", left: d, right: k });
|
|
1930
|
+
}
|
|
1931
|
+
if (l.push(d), !P(n, e, 18) || n.getToken() === 16) break;
|
|
1932
|
+
}
|
|
1933
|
+
return f && (n.flags |= 128), u && (f || e & 256) && u.scopeError && z2(u.scopeError), C(n, e, 16), l;
|
|
1934
|
+
}
|
|
1935
|
+
function U2(n, e, u, t, o, i, l, f) {
|
|
1936
|
+
let d = n.getToken();
|
|
1937
|
+
if (d & 67108864) {
|
|
1938
|
+
if (d === 67108877) {
|
|
1939
|
+
b(n, e | 67108864), n.assignable = 1;
|
|
1940
|
+
let g = cn(n, e, u);
|
|
1941
|
+
return U2(n, e, u, s(n, e, i, l, f, { type: "MemberExpression", object: t, computed: false, property: g }), 0, i, l, f);
|
|
1942
|
+
} else if (d === 69271571) {
|
|
1943
|
+
b(n, e | 8192);
|
|
1944
|
+
let { tokenIndex: g, tokenLine: m, tokenColumn: y } = n, a = z(n, e, u, o, 1, g, m, y);
|
|
1945
|
+
return C(n, e, 20), n.assignable = 1, U2(n, e, u, s(n, e, i, l, f, { type: "MemberExpression", object: t, computed: true, property: a }), 0, i, l, f);
|
|
1946
|
+
} else if (d === 67174408 || d === 67174409) return n.assignable = 2, U2(n, e, u, s(n, e, i, l, f, { type: "TaggedTemplateExpression", tag: t, quasi: n.getToken() === 67174408 ? kn(n, e | 16384, u) : mn(n, e | 16384, n.tokenIndex, n.tokenLine, n.tokenColumn) }), 0, i, l, f);
|
|
1947
|
+
}
|
|
1948
|
+
return t;
|
|
1949
|
+
}
|
|
1950
|
+
function xu(n, e, u, t, o, i, l) {
|
|
1951
|
+
let f = R(n, e | 8192), { tokenIndex: d, tokenLine: g, tokenColumn: m } = n;
|
|
1952
|
+
if (P(n, e, 67108877)) {
|
|
1953
|
+
if (e & 16777216 && n.getToken() === 209029) return n.assignable = 2, ru(n, e, f, o, i, l);
|
|
1954
|
+
c(n, 94);
|
|
1955
|
+
}
|
|
1956
|
+
n.assignable = 2, (n.getToken() & 16842752) === 16842752 && c(n, 65, V[n.getToken() & 255]);
|
|
1957
|
+
let y = _(n, e, u, 2, 1, 0, t, 1, d, g, m);
|
|
1958
|
+
e = (e | 33554432) ^ 33554432, n.getToken() === 67108990 && c(n, 168);
|
|
1959
|
+
let a = U2(n, e, u, y, t, d, g, m);
|
|
1960
|
+
return n.assignable = 2, s(n, e, o, i, l, { type: "NewExpression", callee: a, arguments: n.getToken() === 67174411 ? an(n, e, u, t) : [] });
|
|
1961
|
+
}
|
|
1962
|
+
function ru(n, e, u, t, o, i) {
|
|
1963
|
+
let l = R(n, e);
|
|
1964
|
+
return s(n, e, t, o, i, { type: "MetaProperty", meta: u, property: l });
|
|
1965
|
+
}
|
|
1966
|
+
function le(n, e, u, t, o, i, l) {
|
|
1967
|
+
return n.getToken() === 209006 && c(n, 31), e & 262400 && n.getToken() === 241771 && c(n, 32), $2(n, e, n.getToken()), (n.getToken() & 36864) === 36864 && (n.flags |= 256), _2(n, e & -268435457 | 524288, u, n.tokenValue, R(n, e), 0, t, 1, o, i, l);
|
|
1968
|
+
}
|
|
1969
|
+
function sn(n, e, u, t, o, i, l, f, d, g, m) {
|
|
1970
|
+
b(n, e | 8192);
|
|
1971
|
+
let y = e & 16 ? j(a2(), 1024) : void 0;
|
|
1972
|
+
if (e = (e | 33554432) ^ 33554432, P(n, e, 16)) return n.getToken() === 10 ? (f & 1 && c(n, 48), X2(n, e, y, u, [], o, 1, d, g, m)) : s(n, e, d, g, m, { type: "CallExpression", callee: t, arguments: [] });
|
|
1973
|
+
let a = 0, k = null, h = 0;
|
|
1974
|
+
n.destructible = (n.destructible | 256 | 128) ^ 384;
|
|
1975
|
+
let T = [];
|
|
1976
|
+
for (; n.getToken() !== 16; ) {
|
|
1977
|
+
let { tokenIndex: E, tokenLine: w, tokenColumn: I } = n, v = n.getToken();
|
|
1978
|
+
if (v & 143360) y && g2(n, e, y, n.tokenValue, i, 0), (v & 537079808) === 537079808 ? n.flags |= 512 : (v & 36864) === 36864 && (n.flags |= 256), k = _(n, e, u, i, 0, 1, 1, 1, E, w, I), n.getToken() === 16 || n.getToken() === 18 ? n.assignable & 2 && (a |= 16, h = 1) : (n.getToken() === 1077936155 ? h = 1 : a |= 16, k = O(n, e, u, k, 1, 0, E, w, I), n.getToken() !== 16 && n.getToken() !== 18 && (k = J(n, e, u, 1, 0, E, w, I, k)));
|
|
1979
|
+
else if (v & 2097152) k = v === 2162700 ? Z(n, e, y, u, 0, 1, 0, i, l, E, w, I) : Q(n, e, y, u, 0, 1, 0, i, l, E, w, I), a |= n.destructible, h = 1, n.getToken() !== 16 && n.getToken() !== 18 && (a & 8 && c(n, 122), k = O(n, e, u, k, 0, 0, E, w, I), a |= 16, (n.getToken() & 8388608) === 8388608 && (k = f2(n, e, u, 1, d, g, m, 4, v, k)), P(n, e | 8192, 22) && (k = c2(n, e, u, k, d, g, m)));
|
|
1980
|
+
else if (v === 14) k = b2(n, e, y, u, 16, i, l, 1, 1, 0, E, w, I), a |= (n.getToken() === 16 ? 0 : 16) | n.destructible, h = 1;
|
|
1981
|
+
else {
|
|
1982
|
+
for (k = M(n, e, u, 1, 0, E, w, I), a = n.assignable, T.push(k); P(n, e | 8192, 18); ) T.push(M(n, e, u, 1, 0, E, w, I));
|
|
1983
|
+
return a |= n.assignable, C(n, e, 16), n.destructible = a | 16, n.assignable = 2, s(n, e, d, g, m, { type: "CallExpression", callee: t, arguments: T });
|
|
1984
|
+
}
|
|
1985
|
+
if (T.push(k), !P(n, e | 8192, 18)) break;
|
|
1986
|
+
}
|
|
1987
|
+
return C(n, e, 16), a |= n.destructible & 256 ? 256 : 0 | n.destructible & 128 ? 128 : 0, n.getToken() === 10 ? (a & 48 && c(n, 27), (n.flags & 1 || f & 1) && c(n, 48), a & 128 && c(n, 31), e & 262400 && a & 256 && c(n, 32), h && (n.flags |= 128), X2(n, e | 524288, y, u, T, o, 1, d, g, m)) : (a & 64 && c(n, 63), a & 8 && c(n, 62), n.assignable = 2, s(n, e, d, g, m, { type: "CallExpression", callee: t, arguments: T }));
|
|
1988
|
+
}
|
|
1989
|
+
function pu(n, e, u, t, o) {
|
|
1990
|
+
let { tokenRaw: i, tokenRegExp: l, tokenValue: f } = n;
|
|
1991
|
+
return b(n, e), n.assignable = 2, e & 128 ? s(n, e, u, t, o, { type: "Literal", value: f, regex: l, raw: i }) : s(n, e, u, t, o, { type: "Literal", value: f, regex: l });
|
|
1992
|
+
}
|
|
1993
|
+
function en(n, e, u, t, o, i, l, f) {
|
|
1994
|
+
let d = Y2(n, e, t);
|
|
1995
|
+
d.length && (i = n.tokenIndex, l = n.tokenLine, f = n.tokenColumn), n.leadingDecorators.length && (n.leadingDecorators.push(...d), d = n.leadingDecorators, n.leadingDecorators = []), e = (e | 4194304 | 256) ^ 4194304, b(n, e);
|
|
1996
|
+
let g = null, m = null, { tokenValue: y } = n;
|
|
1997
|
+
n.getToken() & 4096 && n.getToken() !== 20565 ? (Wn(n, e, n.getToken()) && c(n, 118), (n.getToken() & 537079808) === 537079808 && c(n, 119), u && (g2(n, e, u, y, 32, 0), o && o & 2 && l2(n, y)), g = R(n, e)) : o & 1 || c(n, 39, "Class");
|
|
1998
|
+
let a = e;
|
|
1999
|
+
P(n, e | 8192, 20565) ? (m = Y(n, e, t, 0, 0, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), a |= 131072) : a = (a | 131072) ^ 131072;
|
|
2000
|
+
let k = fe(n, a, e, u, t, 2, 8, 0);
|
|
2001
|
+
return s(n, e, i, l, f, { type: "ClassDeclaration", id: g, superClass: m, body: k, ...e & 1 ? { decorators: d } : null });
|
|
2002
|
+
}
|
|
2003
|
+
function n1(n, e, u, t, o, i, l) {
|
|
2004
|
+
let f = null, d = null, g = Y2(n, e, u);
|
|
2005
|
+
g.length && (o = n.tokenIndex, i = n.tokenLine, l = n.tokenColumn), e = (e | 256 | 4194304) ^ 4194304, b(n, e), n.getToken() & 4096 && n.getToken() !== 20565 && (Wn(n, e, n.getToken()) && c(n, 118), (n.getToken() & 537079808) === 537079808 && c(n, 119), f = R(n, e));
|
|
2006
|
+
let m = e;
|
|
2007
|
+
P(n, e | 8192, 20565) ? (d = Y(n, e, u, 0, t, 0, n.tokenIndex, n.tokenLine, n.tokenColumn), m |= 131072) : m = (m | 131072) ^ 131072;
|
|
2008
|
+
let y = fe(n, m, e, void 0, u, 2, 0, t);
|
|
2009
|
+
return n.assignable = 2, s(n, e, o, i, l, { type: "ClassExpression", id: f, superClass: d, body: y, ...e & 1 ? { decorators: g } : null });
|
|
2010
|
+
}
|
|
2011
|
+
function Y2(n, e, u) {
|
|
2012
|
+
let t = [];
|
|
2013
|
+
if (e & 1) for (; n.getToken() === 132; ) t.push(e1(n, e, u, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
2014
|
+
return t;
|
|
2015
|
+
}
|
|
2016
|
+
function e1(n, e, u, t, o, i) {
|
|
2017
|
+
b(n, e | 8192);
|
|
2018
|
+
let l = _(n, e, u, 2, 0, 1, 0, 1, t, o, i);
|
|
2019
|
+
return l = O(n, e, u, l, 0, 0, t, o, i), s(n, e, t, o, i, { type: "Decorator", expression: l });
|
|
2020
|
+
}
|
|
2021
|
+
function fe(n, e, u, t, o, i, l, f) {
|
|
2022
|
+
let { tokenIndex: d, tokenLine: g, tokenColumn: m } = n, y = e & 16 ? nu(o) : void 0;
|
|
2023
|
+
C(n, e | 8192, 2162700);
|
|
2024
|
+
let a = 301989888;
|
|
2025
|
+
e = (e | a) ^ a;
|
|
2026
|
+
let k = n.flags & 32;
|
|
2027
|
+
n.flags = (n.flags | 32) ^ 32;
|
|
2028
|
+
let h = [], T;
|
|
2029
|
+
for (; n.getToken() !== 1074790415; ) {
|
|
2030
|
+
let E = 0;
|
|
2031
|
+
if (T = Y2(n, e, y), E = T.length, E > 0 && n.tokenValue === "constructor" && c(n, 109), n.getToken() === 1074790415 && c(n, 108), P(n, e, 1074790417)) {
|
|
2032
|
+
E > 0 && c(n, 120);
|
|
2033
|
+
continue;
|
|
2034
|
+
}
|
|
2035
|
+
h.push(de(n, e, t, y, u, i, T, 0, f, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
2036
|
+
}
|
|
2037
|
+
return C(n, l & 8 ? e | 8192 : e, 1074790415), y && tu(y), n.flags = n.flags & -33 | k, s(n, e, d, g, m, { type: "ClassBody", body: h });
|
|
2038
|
+
}
|
|
2039
|
+
function de(n, e, u, t, o, i, l, f, d, g, m, y) {
|
|
2040
|
+
let a = f ? 32 : 0, k = null, { tokenIndex: h, tokenLine: T, tokenColumn: E } = n, w = n.getToken();
|
|
2041
|
+
if (w & 176128 || w === -2147483528) switch (k = R(n, e), w) {
|
|
2042
|
+
case 36970:
|
|
2043
|
+
if (!f && n.getToken() !== 67174411 && (n.getToken() & 1048576) !== 1048576 && n.getToken() !== 1077936155) return de(n, e, u, t, o, i, l, 1, d, g, m, y);
|
|
2044
|
+
break;
|
|
2045
|
+
case 209005:
|
|
2046
|
+
if (n.getToken() !== 67174411 && !(n.flags & 1)) {
|
|
2047
|
+
if ((n.getToken() & 1073741824) === 1073741824) return T2(n, e, t, k, a, l, h, T, E);
|
|
2048
|
+
a |= 16 | (fn(n, e, 8391476) ? 8 : 0);
|
|
2049
|
+
}
|
|
2050
|
+
break;
|
|
2051
|
+
case 12400:
|
|
2052
|
+
if (n.getToken() !== 67174411) {
|
|
2053
|
+
if ((n.getToken() & 1073741824) === 1073741824) return T2(n, e, t, k, a, l, h, T, E);
|
|
2054
|
+
a |= 256;
|
|
2055
|
+
}
|
|
2056
|
+
break;
|
|
2057
|
+
case 12401:
|
|
2058
|
+
if (n.getToken() !== 67174411) {
|
|
2059
|
+
if ((n.getToken() & 1073741824) === 1073741824) return T2(n, e, t, k, a, l, h, T, E);
|
|
2060
|
+
a |= 512;
|
|
2061
|
+
}
|
|
2062
|
+
break;
|
|
2063
|
+
case 12402:
|
|
2064
|
+
if (n.getToken() !== 67174411 && !(n.flags & 1)) {
|
|
2065
|
+
if ((n.getToken() & 1073741824) === 1073741824) return T2(n, e, t, k, a, l, h, T, E);
|
|
2066
|
+
e & 1 && (a |= 1024);
|
|
2067
|
+
}
|
|
2068
|
+
break;
|
|
2069
|
+
}
|
|
2070
|
+
else if (w === 69271571) a |= 2, k = y2(n, o, t, d);
|
|
2071
|
+
else if ((w & 134217728) === 134217728) k = H(n, e);
|
|
2072
|
+
else if (w === 8391476) a |= 8, b(n, e);
|
|
2073
|
+
else if (n.getToken() === 130) a |= 8192, k = H2(n, e | 4096, t, 768, h, T, E);
|
|
2074
|
+
else if ((n.getToken() & 1073741824) === 1073741824) a |= 128;
|
|
2075
|
+
else {
|
|
2076
|
+
if (f && w === 2162700) return Iu(n, e | 4096, u, t, h, T, E);
|
|
2077
|
+
w === -2147483527 ? (k = R(n, e), n.getToken() !== 67174411 && c(n, 30, V[n.getToken() & 255])) : c(n, 30, V[n.getToken() & 255]);
|
|
2078
|
+
}
|
|
2079
|
+
if (a & 1816 && (n.getToken() & 143360 || n.getToken() === -2147483528 || n.getToken() === -2147483527 ? k = R(n, e) : (n.getToken() & 134217728) === 134217728 ? k = H(n, e) : n.getToken() === 69271571 ? (a |= 2, k = y2(n, e, t, 0)) : n.getToken() === 130 ? (a |= 8192, k = H2(n, e, t, a, h, T, E)) : c(n, 135)), a & 2 || (n.tokenValue === "constructor" ? ((n.getToken() & 1073741824) === 1073741824 ? c(n, 129) : !(a & 32) && n.getToken() === 67174411 && (a & 920 ? c(n, 53, "accessor") : e & 131072 || (n.flags & 32 ? c(n, 54) : n.flags |= 32)), a |= 64) : !(a & 8192) && a & 32 && n.tokenValue === "prototype" && c(n, 52)), a & 1024 || n.getToken() !== 67174411 && !(a & 768)) return T2(n, e, t, k, a, l, h, T, E);
|
|
2080
|
+
let I = x(n, e | 4096, t, a, d, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2081
|
+
return s(n, e, g, m, y, { type: "MethodDefinition", kind: !(a & 32) && a & 64 ? "constructor" : a & 256 ? "get" : a & 512 ? "set" : "method", static: (a & 32) > 0, computed: (a & 2) > 0, key: k, value: I, ...e & 1 ? { decorators: l } : null });
|
|
2082
|
+
}
|
|
2083
|
+
function H2(n, e, u, t, o, i, l) {
|
|
2084
|
+
b(n, e);
|
|
2085
|
+
let { tokenValue: f } = n;
|
|
2086
|
+
return f === "constructor" && c(n, 128), e & 16 && (u || c(n, 4, f), t ? eu(n, u, f, t) : uu(n, u, f)), b(n, e), s(n, e, o, i, l, { type: "PrivateIdentifier", name: f });
|
|
2087
|
+
}
|
|
2088
|
+
function T2(n, e, u, t, o, i, l, f, d) {
|
|
2089
|
+
let g = null;
|
|
2090
|
+
if (o & 8 && c(n, 0), n.getToken() === 1077936155) {
|
|
2091
|
+
b(n, e | 8192);
|
|
2092
|
+
let { tokenIndex: m, tokenLine: y, tokenColumn: a } = n;
|
|
2093
|
+
n.getToken() === 537079927 && c(n, 119);
|
|
2094
|
+
let k = 2883584 | (o & 64 ? 0 : 4325376);
|
|
2095
|
+
e = (e | k) ^ k | (o & 8 ? 262144 : 0) | (o & 16 ? 524288 : 0) | (o & 64 ? 4194304 : 0) | 65536 | 16777216, g = _(n, e | 4096, u, 2, 0, 1, 0, 1, m, y, a), ((n.getToken() & 1073741824) !== 1073741824 || (n.getToken() & 4194304) === 4194304) && (g = O(n, e | 4096, u, g, 0, 0, m, y, a), g = J(n, e | 4096, u, 0, 0, m, y, a, g));
|
|
2096
|
+
}
|
|
2097
|
+
return K(n, e), s(n, e, l, f, d, { type: o & 1024 ? "AccessorProperty" : "PropertyDefinition", key: t, value: g, static: (o & 32) > 0, computed: (o & 2) > 0, ...e & 1 ? { decorators: i } : null });
|
|
2098
|
+
}
|
|
2099
|
+
function ge(n, e, u, t, o, i, l, f, d) {
|
|
2100
|
+
if (n.getToken() & 143360 || !(e & 256) && n.getToken() === -2147483527) return hn(n, e, u, o, i, l, f, d);
|
|
2101
|
+
(n.getToken() & 2097152) !== 2097152 && c(n, 30, V[n.getToken() & 255]);
|
|
2102
|
+
let g = n.getToken() === 69271571 ? Q(n, e, u, t, 1, 0, 1, o, i, l, f, d) : Z(n, e, u, t, 1, 0, 1, o, i, l, f, d);
|
|
2103
|
+
return n.destructible & 16 && c(n, 50), n.destructible & 32 && c(n, 50), g;
|
|
2104
|
+
}
|
|
2105
|
+
function hn(n, e, u, t, o, i, l, f) {
|
|
2106
|
+
let { tokenValue: d } = n, g = n.getToken();
|
|
2107
|
+
return e & 256 && ((g & 537079808) === 537079808 ? c(n, 119) : ((g & 36864) === 36864 || g === -2147483527) && c(n, 118)), (g & 20480) === 20480 && c(n, 102), g === 241771 && (e & 262144 && c(n, 32), e & 512 && c(n, 111)), (g & 255) === 73 && t & 24 && c(n, 100), g === 209006 && (e & 524288 && c(n, 176), e & 512 && c(n, 110)), b(n, e), u && n2(n, e, u, d, t, o), s(n, e, i, l, f, { type: "Identifier", name: d });
|
|
2108
|
+
}
|
|
2109
|
+
function Q2(n, e, u, t, o, i, l) {
|
|
2110
|
+
if (t || C(n, e, 8456256), n.getToken() === 8390721) {
|
|
2111
|
+
let m = u1(n, e, o, i, l), [y, a] = l1(n, e, u, t);
|
|
2112
|
+
return s(n, e, o, i, l, { type: "JSXFragment", openingFragment: m, children: y, closingFragment: a });
|
|
2113
|
+
}
|
|
2114
|
+
n.getToken() === 8457014 && c(n, 30, V[n.getToken() & 255]);
|
|
2115
|
+
let f = null, d = [], g = g1(n, e, u, t, o, i, l);
|
|
2116
|
+
if (!g.selfClosing) {
|
|
2117
|
+
[d, f] = o1(n, e, u, t);
|
|
2118
|
+
let m = j2(f.name);
|
|
2119
|
+
j2(g.name) !== m && c(n, 155, m);
|
|
2120
|
+
}
|
|
2121
|
+
return s(n, e, o, i, l, { type: "JSXElement", children: d, openingElement: g, closingElement: f });
|
|
2122
|
+
}
|
|
2123
|
+
function u1(n, e, u, t, o) {
|
|
2124
|
+
return w2(n, e), s(n, e, u, t, o, { type: "JSXOpeningFragment" });
|
|
2125
|
+
}
|
|
2126
|
+
function t1(n, e, u, t, o, i) {
|
|
2127
|
+
C(n, e, 8457014);
|
|
2128
|
+
let l = me(n, e, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2129
|
+
return n.getToken() !== 8390721 && c(n, 25, V[65]), u ? w2(n, e) : b(n, e), s(n, e, t, o, i, { type: "JSXClosingElement", name: l });
|
|
2130
|
+
}
|
|
2131
|
+
function i1(n, e, u, t, o, i) {
|
|
2132
|
+
return C(n, e, 8457014), n.getToken() !== 8390721 && c(n, 25, V[65]), u ? w2(n, e) : b(n, e), s(n, e, t, o, i, { type: "JSXClosingFragment" });
|
|
2133
|
+
}
|
|
2134
|
+
function o1(n, e, u, t) {
|
|
2135
|
+
let o = [];
|
|
2136
|
+
for (; ; ) {
|
|
2137
|
+
let i = f1(n, e, u, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2138
|
+
if (i.type === "JSXClosingElement") return [o, i];
|
|
2139
|
+
o.push(i);
|
|
2140
|
+
}
|
|
2141
|
+
}
|
|
2142
|
+
function l1(n, e, u, t) {
|
|
2143
|
+
let o = [];
|
|
2144
|
+
for (; ; ) {
|
|
2145
|
+
let i = d1(n, e, u, t, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2146
|
+
if (i.type === "JSXClosingFragment") return [o, i];
|
|
2147
|
+
o.push(i);
|
|
2148
|
+
}
|
|
2149
|
+
}
|
|
2150
|
+
function f1(n, e, u, t, o, i, l) {
|
|
2151
|
+
if (n.getToken() === 137) return ce(n, e, o, i, l);
|
|
2152
|
+
if (n.getToken() === 2162700) return An(n, e, u, 1, 0, o, i, l);
|
|
2153
|
+
if (n.getToken() === 8456256) return b(n, e), n.getToken() === 8457014 ? t1(n, e, t, o, i, l) : Q2(n, e, u, 1, o, i, l);
|
|
2154
|
+
c(n, 0);
|
|
2155
|
+
}
|
|
2156
|
+
function d1(n, e, u, t, o, i, l) {
|
|
2157
|
+
if (n.getToken() === 137) return ce(n, e, o, i, l);
|
|
2158
|
+
if (n.getToken() === 2162700) return An(n, e, u, 1, 0, o, i, l);
|
|
2159
|
+
if (n.getToken() === 8456256) return b(n, e), n.getToken() === 8457014 ? i1(n, e, t, o, i, l) : Q2(n, e, u, 1, o, i, l);
|
|
2160
|
+
c(n, 0);
|
|
2161
|
+
}
|
|
2162
|
+
function ce(n, e, u, t, o) {
|
|
2163
|
+
b(n, e);
|
|
2164
|
+
let i = { type: "JSXText", value: n.tokenValue };
|
|
2165
|
+
return e & 128 && (i.raw = n.tokenRaw), s(n, e, u, t, o, i);
|
|
2166
|
+
}
|
|
2167
|
+
function g1(n, e, u, t, o, i, l) {
|
|
2168
|
+
(n.getToken() & 143360) !== 143360 && (n.getToken() & 4096) !== 4096 && c(n, 0);
|
|
2169
|
+
let f = me(n, e, n.tokenIndex, n.tokenLine, n.tokenColumn), d = m1(n, e, u), g = n.getToken() === 8457014;
|
|
2170
|
+
return g && C(n, e, 8457014), n.getToken() !== 8390721 && c(n, 25, V[65]), t || !g ? w2(n, e) : b(n, e), s(n, e, o, i, l, { type: "JSXOpeningElement", name: f, attributes: d, selfClosing: g });
|
|
2171
|
+
}
|
|
2172
|
+
function me(n, e, u, t, o) {
|
|
2173
|
+
x2(n);
|
|
2174
|
+
let i = Z2(n, e, u, t, o);
|
|
2175
|
+
if (n.getToken() === 21) return ke(n, e, i, u, t, o);
|
|
2176
|
+
for (; P(n, e, 67108877); ) x2(n), i = c1(n, e, i, u, t, o);
|
|
2177
|
+
return i;
|
|
2178
|
+
}
|
|
2179
|
+
function c1(n, e, u, t, o, i) {
|
|
2180
|
+
let l = Z2(n, e, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2181
|
+
return s(n, e, t, o, i, { type: "JSXMemberExpression", object: u, property: l });
|
|
2182
|
+
}
|
|
2183
|
+
function m1(n, e, u) {
|
|
2184
|
+
let t = [];
|
|
2185
|
+
for (; n.getToken() !== 8457014 && n.getToken() !== 8390721 && n.getToken() !== 1048576; ) t.push(a1(n, e, u, n.tokenIndex, n.tokenLine, n.tokenColumn));
|
|
2186
|
+
return t;
|
|
2187
|
+
}
|
|
2188
|
+
function k1(n, e, u, t, o, i) {
|
|
2189
|
+
b(n, e), C(n, e, 14);
|
|
2190
|
+
let l = M(n, e, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2191
|
+
return C(n, e, 1074790415), s(n, e, t, o, i, { type: "JSXSpreadAttribute", argument: l });
|
|
2192
|
+
}
|
|
2193
|
+
function a1(n, e, u, t, o, i) {
|
|
2194
|
+
if (n.getToken() === 2162700) return k1(n, e, u, t, o, i);
|
|
2195
|
+
x2(n);
|
|
2196
|
+
let l = null, f = Z2(n, e, t, o, i);
|
|
2197
|
+
if (n.getToken() === 21 && (f = ke(n, e, f, t, o, i)), n.getToken() === 1077936155) {
|
|
2198
|
+
let d = Ge(n, e), { tokenIndex: g, tokenLine: m, tokenColumn: y } = n;
|
|
2199
|
+
switch (d) {
|
|
2200
|
+
case 134283267:
|
|
2201
|
+
l = H(n, e);
|
|
2202
|
+
break;
|
|
2203
|
+
case 8456256:
|
|
2204
|
+
l = Q2(n, e, u, 0, g, m, y);
|
|
2205
|
+
break;
|
|
2206
|
+
case 2162700:
|
|
2207
|
+
l = An(n, e, u, 0, 1, g, m, y);
|
|
2208
|
+
break;
|
|
2209
|
+
default:
|
|
2210
|
+
c(n, 154);
|
|
2211
|
+
}
|
|
2212
|
+
}
|
|
2213
|
+
return s(n, e, t, o, i, { type: "JSXAttribute", value: l, name: f });
|
|
2214
|
+
}
|
|
2215
|
+
function ke(n, e, u, t, o, i) {
|
|
2216
|
+
C(n, e, 21);
|
|
2217
|
+
let l = Z2(n, e, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2218
|
+
return s(n, e, t, o, i, { type: "JSXNamespacedName", namespace: u, name: l });
|
|
2219
|
+
}
|
|
2220
|
+
function An(n, e, u, t, o, i, l, f) {
|
|
2221
|
+
b(n, e | 8192);
|
|
2222
|
+
let { tokenIndex: d, tokenLine: g, tokenColumn: m } = n;
|
|
2223
|
+
if (n.getToken() === 14) return y1(n, e, u, i, l, f);
|
|
2224
|
+
let y = null;
|
|
2225
|
+
return n.getToken() === 1074790415 ? (o && c(n, 157), y = s1(n, e, n.startIndex, n.startLine, n.startColumn)) : y = M(n, e, u, 1, 0, d, g, m), n.getToken() !== 1074790415 && c(n, 25, V[15]), t ? w2(n, e) : b(n, e), s(n, e, i, l, f, { type: "JSXExpressionContainer", expression: y });
|
|
2226
|
+
}
|
|
2227
|
+
function y1(n, e, u, t, o, i) {
|
|
2228
|
+
C(n, e, 14);
|
|
2229
|
+
let l = M(n, e, u, 1, 0, n.tokenIndex, n.tokenLine, n.tokenColumn);
|
|
2230
|
+
return C(n, e, 1074790415), s(n, e, t, o, i, { type: "JSXSpreadChild", expression: l });
|
|
2231
|
+
}
|
|
2232
|
+
function s1(n, e, u, t, o) {
|
|
2233
|
+
return n.startIndex = n.tokenIndex, n.startLine = n.tokenLine, n.startColumn = n.tokenColumn, s(n, e, u, t, o, { type: "JSXEmptyExpression" });
|
|
2234
|
+
}
|
|
2235
|
+
function Z2(n, e, u, t, o) {
|
|
2236
|
+
let { tokenValue: i } = n;
|
|
2237
|
+
return b(n, e), s(n, e, u, t, o, { type: "JSXIdentifier", name: i });
|
|
2238
|
+
}
|
|
2239
|
+
function ae(n, e) {
|
|
2240
|
+
return du(n, e, 0);
|
|
2241
|
+
}
|
|
2242
|
+
function h1(n, e) {
|
|
2243
|
+
let u = new SyntaxError(n + " (" + e.loc.start.line + ":" + e.loc.start.column + ")");
|
|
2244
|
+
return Object.assign(u, e);
|
|
2245
|
+
}
|
|
2246
|
+
var ye = h1;
|
|
2247
|
+
function A1(n) {
|
|
2248
|
+
let e = [];
|
|
2249
|
+
for (let u of n) try {
|
|
2250
|
+
return u();
|
|
2251
|
+
} catch (t) {
|
|
2252
|
+
e.push(t);
|
|
2253
|
+
}
|
|
2254
|
+
throw Object.assign(new Error("All combinations failed"), { errors: e });
|
|
2255
|
+
}
|
|
2256
|
+
var se = A1;
|
|
2257
|
+
var b1 = (n, e, u) => {
|
|
2258
|
+
if (!(n && e == null)) return Array.isArray(e) || typeof e == "string" ? e[u < 0 ? e.length + u : u] : e.at(u);
|
|
2259
|
+
};
|
|
2260
|
+
var bn = b1;
|
|
2261
|
+
function D1(n) {
|
|
2262
|
+
return Array.isArray(n) && n.length > 0;
|
|
2263
|
+
}
|
|
2264
|
+
var he = D1;
|
|
2265
|
+
function G(n) {
|
|
2266
|
+
var t, o, i;
|
|
2267
|
+
let e = ((t = n.range) == null ? void 0 : t[0]) ?? n.start, u = (i = ((o = n.declaration) == null ? void 0 : o.decorators) ?? n.decorators) == null ? void 0 : i[0];
|
|
2268
|
+
return u ? Math.min(G(u), e) : e;
|
|
2269
|
+
}
|
|
2270
|
+
function u2(n) {
|
|
2271
|
+
var e;
|
|
2272
|
+
return ((e = n.range) == null ? void 0 : e[1]) ?? n.end;
|
|
2273
|
+
}
|
|
2274
|
+
function T1(n) {
|
|
2275
|
+
let e = new Set(n);
|
|
2276
|
+
return (u) => e.has(u == null ? void 0 : u.type);
|
|
2277
|
+
}
|
|
2278
|
+
var Ae = T1;
|
|
2279
|
+
var C1 = Ae(["Block", "CommentBlock", "MultiLine"]);
|
|
2280
|
+
var q2 = C1;
|
|
2281
|
+
function E1(n) {
|
|
2282
|
+
let e = `*${n.value}*`.split(`
|
|
2283
|
+
`);
|
|
2284
|
+
return e.length > 1 && e.every((u) => u.trimStart()[0] === "*");
|
|
2285
|
+
}
|
|
2286
|
+
var Dn = E1;
|
|
2287
|
+
function w1(n) {
|
|
2288
|
+
return q2(n) && n.value[0] === "*" && /@(?:type|satisfies)\b/u.test(n.value);
|
|
2289
|
+
}
|
|
2290
|
+
var be = w1;
|
|
2291
|
+
var S2 = null;
|
|
2292
|
+
function P2(n) {
|
|
2293
|
+
if (S2 !== null && typeof S2.property) {
|
|
2294
|
+
let e = S2;
|
|
2295
|
+
return S2 = P2.prototype = null, e;
|
|
2296
|
+
}
|
|
2297
|
+
return S2 = P2.prototype = n ?? /* @__PURE__ */ Object.create(null), new P2();
|
|
2298
|
+
}
|
|
2299
|
+
var B1 = 10;
|
|
2300
|
+
for (let n = 0; n <= B1; n++) P2();
|
|
2301
|
+
function Tn(n) {
|
|
2302
|
+
return P2(n);
|
|
2303
|
+
}
|
|
2304
|
+
function I1(n, e = "type") {
|
|
2305
|
+
Tn(n);
|
|
2306
|
+
function u(t) {
|
|
2307
|
+
let o = t[e], i = n[o];
|
|
2308
|
+
if (!Array.isArray(i)) throw Object.assign(new Error(`Missing visitor keys for '${o}'.`), { node: t });
|
|
2309
|
+
return i;
|
|
2310
|
+
}
|
|
2311
|
+
return u;
|
|
2312
|
+
}
|
|
2313
|
+
var De = I1;
|
|
2314
|
+
var Te = { ArrayExpression: ["elements"], AssignmentExpression: ["left", "right"], BinaryExpression: ["left", "right"], InterpreterDirective: [], Directive: ["value"], DirectiveLiteral: [], BlockStatement: ["directives", "body"], BreakStatement: ["label"], CallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], CatchClause: ["param", "body"], ConditionalExpression: ["test", "consequent", "alternate"], ContinueStatement: ["label"], DebuggerStatement: [], DoWhileStatement: ["body", "test"], EmptyStatement: [], ExpressionStatement: ["expression"], File: ["program"], ForInStatement: ["left", "right", "body"], ForStatement: ["init", "test", "update", "body"], FunctionDeclaration: ["id", "typeParameters", "params", "returnType", "body", "predicate"], FunctionExpression: ["id", "typeParameters", "params", "returnType", "body"], Identifier: ["typeAnnotation", "decorators"], IfStatement: ["test", "consequent", "alternate"], LabeledStatement: ["label", "body"], StringLiteral: [], NumericLiteral: [], NullLiteral: [], BooleanLiteral: [], RegExpLiteral: [], LogicalExpression: ["left", "right"], MemberExpression: ["object", "property"], NewExpression: ["callee", "arguments", "typeParameters", "typeArguments"], Program: ["directives", "body"], ObjectExpression: ["properties"], ObjectMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], ObjectProperty: ["key", "value", "decorators"], RestElement: ["argument", "typeAnnotation", "decorators"], ReturnStatement: ["argument"], SequenceExpression: ["expressions"], ParenthesizedExpression: ["expression"], SwitchCase: ["test", "consequent"], SwitchStatement: ["discriminant", "cases"], ThisExpression: [], ThrowStatement: ["argument"], TryStatement: ["block", "handler", "finalizer"], UnaryExpression: ["argument"], UpdateExpression: ["argument"], VariableDeclaration: ["declarations"], VariableDeclarator: ["id", "init"], WhileStatement: ["test", "body"], WithStatement: ["object", "body"], AssignmentPattern: ["left", "right", "decorators", "typeAnnotation"], ArrayPattern: ["elements", "typeAnnotation", "decorators"], ArrowFunctionExpression: ["typeParameters", "params", "returnType", "body", "predicate"], ClassBody: ["body"], ClassExpression: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"], ClassDeclaration: ["decorators", "id", "typeParameters", "superClass", "superTypeParameters", "mixins", "implements", "body", "superTypeArguments"], ExportAllDeclaration: ["source", "attributes", "exported"], ExportDefaultDeclaration: ["declaration"], ExportNamedDeclaration: ["declaration", "specifiers", "source", "attributes"], ExportSpecifier: ["local", "exported"], ForOfStatement: ["left", "right", "body"], ImportDeclaration: ["specifiers", "source", "attributes"], ImportDefaultSpecifier: ["local"], ImportNamespaceSpecifier: ["local"], ImportSpecifier: ["imported", "local"], ImportExpression: ["source", "options"], MetaProperty: ["meta", "property"], ClassMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], ObjectPattern: ["properties", "typeAnnotation", "decorators"], SpreadElement: ["argument"], Super: [], TaggedTemplateExpression: ["tag", "typeParameters", "quasi", "typeArguments"], TemplateElement: [], TemplateLiteral: ["quasis", "expressions"], YieldExpression: ["argument"], AwaitExpression: ["argument"], BigIntLiteral: [], ExportNamespaceSpecifier: ["exported"], OptionalMemberExpression: ["object", "property"], OptionalCallExpression: ["callee", "arguments", "typeParameters", "typeArguments"], ClassProperty: ["decorators", "key", "typeAnnotation", "value", "variance"], ClassAccessorProperty: ["decorators", "key", "typeAnnotation", "value"], ClassPrivateProperty: ["decorators", "key", "typeAnnotation", "value", "variance"], ClassPrivateMethod: ["decorators", "key", "typeParameters", "params", "returnType", "body"], PrivateName: ["id"], StaticBlock: ["body"], AnyTypeAnnotation: [], ArrayTypeAnnotation: ["elementType"], BooleanTypeAnnotation: [], BooleanLiteralTypeAnnotation: [], NullLiteralTypeAnnotation: [], ClassImplements: ["id", "typeParameters"], DeclareClass: ["id", "typeParameters", "extends", "mixins", "implements", "body"], DeclareFunction: ["id", "predicate"], DeclareInterface: ["id", "typeParameters", "extends", "body"], DeclareModule: ["id", "body"], DeclareModuleExports: ["typeAnnotation"], DeclareTypeAlias: ["id", "typeParameters", "right"], DeclareOpaqueType: ["id", "typeParameters", "supertype"], DeclareVariable: ["id"], DeclareExportDeclaration: ["declaration", "specifiers", "source", "attributes"], DeclareExportAllDeclaration: ["source", "attributes"], DeclaredPredicate: ["value"], ExistsTypeAnnotation: [], FunctionTypeAnnotation: ["typeParameters", "params", "rest", "returnType", "this"], FunctionTypeParam: ["name", "typeAnnotation"], GenericTypeAnnotation: ["id", "typeParameters"], InferredPredicate: [], InterfaceExtends: ["id", "typeParameters"], InterfaceDeclaration: ["id", "typeParameters", "extends", "body"], InterfaceTypeAnnotation: ["extends", "body"], IntersectionTypeAnnotation: ["types"], MixedTypeAnnotation: [], EmptyTypeAnnotation: [], NullableTypeAnnotation: ["typeAnnotation"], NumberLiteralTypeAnnotation: [], NumberTypeAnnotation: [], ObjectTypeAnnotation: ["properties", "indexers", "callProperties", "internalSlots"], ObjectTypeInternalSlot: ["id", "value"], ObjectTypeCallProperty: ["value"], ObjectTypeIndexer: ["variance", "id", "key", "value"], ObjectTypeProperty: ["key", "value", "variance"], ObjectTypeSpreadProperty: ["argument"], OpaqueType: ["id", "typeParameters", "supertype", "impltype"], QualifiedTypeIdentifier: ["qualification", "id"], StringLiteralTypeAnnotation: [], StringTypeAnnotation: [], SymbolTypeAnnotation: [], ThisTypeAnnotation: [], TupleTypeAnnotation: ["types", "elementTypes"], TypeofTypeAnnotation: ["argument", "typeArguments"], TypeAlias: ["id", "typeParameters", "right"], TypeAnnotation: ["typeAnnotation"], TypeCastExpression: ["expression", "typeAnnotation"], TypeParameter: ["bound", "default", "variance"], TypeParameterDeclaration: ["params"], TypeParameterInstantiation: ["params"], UnionTypeAnnotation: ["types"], Variance: [], VoidTypeAnnotation: [], EnumDeclaration: ["id", "body"], EnumBooleanBody: ["members"], EnumNumberBody: ["members"], EnumStringBody: ["members"], EnumSymbolBody: ["members"], EnumBooleanMember: ["id", "init"], EnumNumberMember: ["id", "init"], EnumStringMember: ["id", "init"], EnumDefaultedMember: ["id"], IndexedAccessType: ["objectType", "indexType"], OptionalIndexedAccessType: ["objectType", "indexType"], JSXAttribute: ["name", "value"], JSXClosingElement: ["name"], JSXElement: ["openingElement", "children", "closingElement"], JSXEmptyExpression: [], JSXExpressionContainer: ["expression"], JSXSpreadChild: ["expression"], JSXIdentifier: [], JSXMemberExpression: ["object", "property"], JSXNamespacedName: ["namespace", "name"], JSXOpeningElement: ["name", "attributes", "typeArguments", "typeParameters"], JSXSpreadAttribute: ["argument"], JSXText: [], JSXFragment: ["openingFragment", "children", "closingFragment"], JSXOpeningFragment: [], JSXClosingFragment: [], Noop: [], Placeholder: [], V8IntrinsicIdentifier: [], ArgumentPlaceholder: [], BindExpression: ["object", "callee"], ImportAttribute: ["key", "value"], Decorator: ["expression"], DoExpression: ["body"], ExportDefaultSpecifier: ["exported"], RecordExpression: ["properties"], TupleExpression: ["elements"], ModuleExpression: ["body"], TopicReference: [], PipelineTopicExpression: ["expression"], PipelineBareFunction: ["callee"], PipelinePrimaryTopicReference: [], TSParameterProperty: ["parameter", "decorators"], TSDeclareFunction: ["id", "typeParameters", "params", "returnType", "body"], TSDeclareMethod: ["decorators", "key", "typeParameters", "params", "returnType"], TSQualifiedName: ["left", "right"], TSCallSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructSignatureDeclaration: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSPropertySignature: ["key", "typeAnnotation"], TSMethodSignature: ["key", "typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSIndexSignature: ["parameters", "typeAnnotation"], TSAnyKeyword: [], TSBooleanKeyword: [], TSBigIntKeyword: [], TSIntrinsicKeyword: [], TSNeverKeyword: [], TSNullKeyword: [], TSNumberKeyword: [], TSObjectKeyword: [], TSStringKeyword: [], TSSymbolKeyword: [], TSUndefinedKeyword: [], TSUnknownKeyword: [], TSVoidKeyword: [], TSThisType: [], TSFunctionType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSConstructorType: ["typeParameters", "parameters", "typeAnnotation", "params", "returnType"], TSTypeReference: ["typeName", "typeParameters", "typeArguments"], TSTypePredicate: ["parameterName", "typeAnnotation"], TSTypeQuery: ["exprName", "typeParameters", "typeArguments"], TSTypeLiteral: ["members"], TSArrayType: ["elementType"], TSTupleType: ["elementTypes"], TSOptionalType: ["typeAnnotation"], TSRestType: ["typeAnnotation"], TSNamedTupleMember: ["label", "elementType"], TSUnionType: ["types"], TSIntersectionType: ["types"], TSConditionalType: ["checkType", "extendsType", "trueType", "falseType"], TSInferType: ["typeParameter"], TSParenthesizedType: ["typeAnnotation"], TSTypeOperator: ["typeAnnotation"], TSIndexedAccessType: ["objectType", "indexType"], TSMappedType: ["typeParameter", "nameType", "typeAnnotation"], TSLiteralType: ["literal"], TSExpressionWithTypeArguments: ["expression", "typeParameters"], TSInterfaceDeclaration: ["id", "typeParameters", "extends", "body"], TSInterfaceBody: ["body"], TSTypeAliasDeclaration: ["id", "typeParameters", "typeAnnotation"], TSInstantiationExpression: ["expression", "typeParameters", "typeArguments"], TSAsExpression: ["expression", "typeAnnotation"], TSSatisfiesExpression: ["expression", "typeAnnotation"], TSTypeAssertion: ["typeAnnotation", "expression"], TSEnumDeclaration: ["id", "members"], TSEnumMember: ["id", "initializer"], TSModuleDeclaration: ["id", "body"], TSModuleBlock: ["body"], TSImportType: ["argument", "qualifier", "typeParameters", "typeArguments"], TSImportEqualsDeclaration: ["id", "moduleReference"], TSExternalModuleReference: ["expression"], TSNonNullExpression: ["expression"], TSExportAssignment: ["expression"], TSNamespaceExportDeclaration: ["id"], TSTypeAnnotation: ["typeAnnotation"], TSTypeParameterInstantiation: ["params"], TSTypeParameterDeclaration: ["params"], TSTypeParameter: ["constraint", "default", "name"], ChainExpression: ["expression"], ExperimentalRestProperty: ["argument"], ExperimentalSpreadProperty: ["argument"], Literal: [], MethodDefinition: ["decorators", "key", "value"], PrivateIdentifier: [], Property: ["key", "value"], PropertyDefinition: ["decorators", "key", "typeAnnotation", "value", "variance"], AccessorProperty: ["decorators", "key", "typeAnnotation", "value"], TSAbstractAccessorProperty: ["decorators", "key", "typeAnnotation"], TSAbstractKeyword: [], TSAbstractMethodDefinition: ["key", "value"], TSAbstractPropertyDefinition: ["decorators", "key", "typeAnnotation"], TSAsyncKeyword: [], TSClassImplements: ["expression", "typeArguments", "typeParameters"], TSDeclareKeyword: [], TSEmptyBodyFunctionExpression: ["id", "typeParameters", "params", "returnType"], TSEnumBody: ["members"], TSExportKeyword: [], TSInterfaceHeritage: ["expression", "typeArguments", "typeParameters"], TSPrivateKeyword: [], TSProtectedKeyword: [], TSPublicKeyword: [], TSReadonlyKeyword: [], TSStaticKeyword: [], TSTemplateLiteralType: ["quasis", "types"], AsConstExpression: ["expression"], AsExpression: ["expression", "typeAnnotation"], BigIntLiteralTypeAnnotation: [], BigIntTypeAnnotation: [], ComponentDeclaration: ["id", "params", "body", "typeParameters", "rendersType"], ComponentParameter: ["name", "local"], ComponentTypeAnnotation: ["params", "rest", "typeParameters", "rendersType"], ComponentTypeParameter: ["name", "typeAnnotation"], ConditionalTypeAnnotation: ["checkType", "extendsType", "trueType", "falseType"], DeclareComponent: ["id", "params", "rest", "typeParameters", "rendersType"], DeclareEnum: ["id", "body"], DeclareHook: ["id"], DeclareNamespace: ["id", "body"], EnumBigIntBody: ["members"], EnumBigIntMember: ["id", "init"], HookDeclaration: ["id", "params", "body", "typeParameters", "returnType"], HookTypeAnnotation: ["params", "returnType", "rest", "typeParameters"], InferTypeAnnotation: ["typeParameter"], KeyofTypeAnnotation: ["argument"], ObjectTypeMappedTypeProperty: ["keyTparam", "propType", "sourceType", "variance"], QualifiedTypeofIdentifier: ["qualification", "id"], TupleTypeLabeledElement: ["label", "elementType", "variance"], TupleTypeSpreadElement: ["label", "typeAnnotation"], TypeOperator: ["typeAnnotation"], TypePredicate: ["parameterName", "typeAnnotation", "asserts"], NGRoot: ["node"], NGPipeExpression: ["left", "right", "arguments"], NGChainedExpression: ["expressions"], NGEmptyExpression: [], NGMicrosyntax: ["body"], NGMicrosyntaxKey: [], NGMicrosyntaxExpression: ["expression", "alias"], NGMicrosyntaxKeyedExpression: ["key", "expression"], NGMicrosyntaxLet: ["key", "value"], NGMicrosyntaxAs: ["key", "alias"], JsExpressionRoot: ["node"], JsonRoot: ["node"], TSJSDocAllType: [], TSJSDocUnknownType: [], TSJSDocNullableType: ["typeAnnotation"], TSJSDocNonNullableType: ["typeAnnotation"], NeverTypeAnnotation: [], UndefinedTypeAnnotation: [], UnknownTypeAnnotation: [], SatisfiesExpression: ["expression", "typeAnnotation"] };
|
|
2315
|
+
var L1 = De(Te);
|
|
2316
|
+
var Ce = L1;
|
|
2317
|
+
function Cn(n, e) {
|
|
2318
|
+
if (!(n !== null && typeof n == "object")) return n;
|
|
2319
|
+
if (Array.isArray(n)) {
|
|
2320
|
+
for (let t = 0; t < n.length; t++) n[t] = Cn(n[t], e);
|
|
2321
|
+
return n;
|
|
2322
|
+
}
|
|
2323
|
+
let u = Ce(n);
|
|
2324
|
+
for (let t = 0; t < u.length; t++) n[u[t]] = Cn(n[u[t]], e);
|
|
2325
|
+
return e(n) || n;
|
|
2326
|
+
}
|
|
2327
|
+
var G2 = Cn;
|
|
2328
|
+
function F1(n, e) {
|
|
2329
|
+
let { parser: u, text: t } = e;
|
|
2330
|
+
if (n.type === "File" && n.program.interpreter) {
|
|
2331
|
+
let { program: { interpreter: o }, comments: i } = n;
|
|
2332
|
+
delete n.program.interpreter, i.unshift(o);
|
|
2333
|
+
}
|
|
2334
|
+
if (u === "babel") {
|
|
2335
|
+
let o = /* @__PURE__ */ new Set();
|
|
2336
|
+
n = G2(n, (i) => {
|
|
2337
|
+
var l;
|
|
2338
|
+
(l = i.leadingComments) != null && l.some(be) && o.add(G(i));
|
|
2339
|
+
}), n = G2(n, (i) => {
|
|
2340
|
+
if (i.type === "ParenthesizedExpression") {
|
|
2341
|
+
let { expression: l } = i;
|
|
2342
|
+
if (l.type === "TypeCastExpression") return l.range = [...i.range], l;
|
|
2343
|
+
let f = G(i);
|
|
2344
|
+
if (!o.has(f)) return l.extra = { ...l.extra, parenthesized: true }, l;
|
|
2345
|
+
}
|
|
2346
|
+
});
|
|
2347
|
+
}
|
|
2348
|
+
if (n = G2(n, (o) => {
|
|
2349
|
+
switch (o.type) {
|
|
2350
|
+
case "LogicalExpression":
|
|
2351
|
+
if (Ee(o)) return En(o);
|
|
2352
|
+
break;
|
|
2353
|
+
case "VariableDeclaration": {
|
|
2354
|
+
let i = bn(false, o.declarations, -1);
|
|
2355
|
+
i != null && i.init && t[u2(i)] !== ";" && (o.range = [G(o), u2(i)]);
|
|
2356
|
+
break;
|
|
2357
|
+
}
|
|
2358
|
+
case "TSParenthesizedType":
|
|
2359
|
+
return o.typeAnnotation;
|
|
2360
|
+
case "TSTypeParameter":
|
|
2361
|
+
if (typeof o.name == "string") {
|
|
2362
|
+
let i = G(o);
|
|
2363
|
+
o.name = { type: "Identifier", name: o.name, range: [i, i + o.name.length] };
|
|
2364
|
+
}
|
|
2365
|
+
break;
|
|
2366
|
+
case "TopicReference":
|
|
2367
|
+
n.extra = { ...n.extra, __isUsingHackPipeline: true };
|
|
2368
|
+
break;
|
|
2369
|
+
case "TSUnionType":
|
|
2370
|
+
case "TSIntersectionType":
|
|
2371
|
+
if (o.types.length === 1) return o.types[0];
|
|
2372
|
+
break;
|
|
2373
|
+
}
|
|
2374
|
+
}), he(n.comments)) {
|
|
2375
|
+
let o = bn(false, n.comments, -1);
|
|
2376
|
+
for (let i = n.comments.length - 2; i >= 0; i--) {
|
|
2377
|
+
let l = n.comments[i];
|
|
2378
|
+
u2(l) === G(o) && q2(l) && q2(o) && Dn(l) && Dn(o) && (n.comments.splice(i + 1, 1), l.value += "*//*" + o.value, l.range = [G(l), u2(o)]), o = l;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
return n.type === "Program" && (n.range = [0, t.length]), n;
|
|
2382
|
+
}
|
|
2383
|
+
function Ee(n) {
|
|
2384
|
+
return n.type === "LogicalExpression" && n.right.type === "LogicalExpression" && n.operator === n.right.operator;
|
|
2385
|
+
}
|
|
2386
|
+
function En(n) {
|
|
2387
|
+
return Ee(n) ? En({ type: "LogicalExpression", operator: n.operator, left: En({ type: "LogicalExpression", operator: n.operator, left: n.left, right: n.right.left, range: [G(n.left), u2(n.right.left)] }), right: n.right.right, range: [G(n), u2(n)] }) : n;
|
|
2388
|
+
}
|
|
2389
|
+
var we = F1;
|
|
2390
|
+
var q1 = /\*\/$/;
|
|
2391
|
+
var S1 = /^\/\*\*?/;
|
|
2392
|
+
var P1 = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
|
|
2393
|
+
var v1 = /(^|\s+)\/\/([^\n\r]*)/g;
|
|
2394
|
+
var Be = /^(\r?\n)+/;
|
|
2395
|
+
var N1 = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g;
|
|
2396
|
+
var Ie = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
|
|
2397
|
+
var V1 = /(\r?\n|^) *\* ?/g;
|
|
2398
|
+
var O1 = [];
|
|
2399
|
+
function Le(n) {
|
|
2400
|
+
let e = n.match(P1);
|
|
2401
|
+
return e ? e[0].trimStart() : "";
|
|
2402
|
+
}
|
|
2403
|
+
function Fe(n) {
|
|
2404
|
+
let e = `
|
|
2405
|
+
`;
|
|
2406
|
+
n = i2(false, n.replace(S1, "").replace(q1, ""), V1, "$1");
|
|
2407
|
+
let u = "";
|
|
2408
|
+
for (; u !== n; ) u = n, n = i2(false, n, N1, `${e}$1 $2${e}`);
|
|
2409
|
+
n = n.replace(Be, "").trimEnd();
|
|
2410
|
+
let t = /* @__PURE__ */ Object.create(null), o = i2(false, n, Ie, "").replace(Be, "").trimEnd(), i;
|
|
2411
|
+
for (; i = Ie.exec(n); ) {
|
|
2412
|
+
let l = i2(false, i[2], v1, "");
|
|
2413
|
+
if (typeof t[i[1]] == "string" || Array.isArray(t[i[1]])) {
|
|
2414
|
+
let f = t[i[1]];
|
|
2415
|
+
t[i[1]] = [...O1, ...Array.isArray(f) ? f : [f], l];
|
|
2416
|
+
} else t[i[1]] = l;
|
|
2417
|
+
}
|
|
2418
|
+
return { comments: o, pragmas: t };
|
|
2419
|
+
}
|
|
2420
|
+
function R1(n) {
|
|
2421
|
+
if (!n.startsWith("#!")) return "";
|
|
2422
|
+
let e = n.indexOf(`
|
|
2423
|
+
`);
|
|
2424
|
+
return e === -1 ? n : n.slice(0, e);
|
|
2425
|
+
}
|
|
2426
|
+
var qe = R1;
|
|
2427
|
+
function U1(n) {
|
|
2428
|
+
let e = qe(n);
|
|
2429
|
+
e && (n = n.slice(e.length + 1));
|
|
2430
|
+
let u = Le(n), { pragmas: t, comments: o } = Fe(u);
|
|
2431
|
+
return { shebang: e, text: n, pragmas: t, comments: o };
|
|
2432
|
+
}
|
|
2433
|
+
function Se(n) {
|
|
2434
|
+
let { pragmas: e } = U1(n);
|
|
2435
|
+
return Object.prototype.hasOwnProperty.call(e, "prettier") || Object.prototype.hasOwnProperty.call(e, "format");
|
|
2436
|
+
}
|
|
2437
|
+
function M1(n) {
|
|
2438
|
+
return n = typeof n == "function" ? { parse: n } : n, { astFormat: "estree", hasPragma: Se, locStart: G, locEnd: u2, ...n };
|
|
2439
|
+
}
|
|
2440
|
+
var Pe = M1;
|
|
2441
|
+
function J1(n) {
|
|
2442
|
+
let { filepath: e } = n;
|
|
2443
|
+
if (e) {
|
|
2444
|
+
if (e = e.toLowerCase(), e.endsWith(".cjs") || e.endsWith(".cts")) return "script";
|
|
2445
|
+
if (e.endsWith(".mjs") || e.endsWith(".mts")) return "module";
|
|
2446
|
+
}
|
|
2447
|
+
}
|
|
2448
|
+
var ve = J1;
|
|
2449
|
+
var j1 = { next: true, ranges: true, webcompat: true, loc: true, raw: true, directives: true, globalReturn: true, impliedStrict: false, preserveParens: false, lexical: false, jsx: true, uniqueKeyInPattern: false };
|
|
2450
|
+
function X1(n, e) {
|
|
2451
|
+
let u = [], t = [], o = ae(n, { ...j1, module: e === "module", onComment: u, onToken: t });
|
|
2452
|
+
return o.comments = u, o.tokens = t, o;
|
|
2453
|
+
}
|
|
2454
|
+
function H1(n) {
|
|
2455
|
+
let { message: e, loc: u } = n;
|
|
2456
|
+
if (!u) return n;
|
|
2457
|
+
let t = `[${[u.start, u.end].map(({ line: o, column: i }) => [o, i].join(":")).join("-")}]: `;
|
|
2458
|
+
return e.startsWith(t) && (e = e.slice(t.length)), ye(e, { loc: { start: { line: u.start.line, column: u.start.column + 1 }, end: { line: u.end.line, column: u.end.column + 1 } }, cause: n });
|
|
2459
|
+
}
|
|
2460
|
+
function z1(n, e = {}) {
|
|
2461
|
+
let u = ve(e), t = (u ? [u] : ["module", "script"]).map((i) => () => X1(n, i)), o;
|
|
2462
|
+
try {
|
|
2463
|
+
o = se(t);
|
|
2464
|
+
} catch ({ errors: [i] }) {
|
|
2465
|
+
throw H1(i);
|
|
2466
|
+
}
|
|
2467
|
+
return we(o, { parser: "meriyah", text: n });
|
|
2468
|
+
}
|
|
2469
|
+
var K1 = Pe(z1);
|
|
2470
|
+
var $0 = Bn;
|
|
2471
|
+
export {
|
|
2472
|
+
$0 as default,
|
|
2473
|
+
wn as parsers
|
|
2474
|
+
};
|