@vuebro/runtime 1.4.0 → 1.4.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/dist/assets/{loader-sfc.esm-browser.prod-2.4.0.js → loader-sfc.esm-browser.prod-2.4.1.js}
RENAMED
|
@@ -462,9 +462,9 @@ function Tv() {
|
|
|
462
462
|
return function k(_, I) {
|
|
463
463
|
const R = new SyntaxError();
|
|
464
464
|
return R.code = r, R.reasonCode = a, R.loc = _, R.pos = _.index, R.syntaxPlugin = u, b && (R.missingPlugin = I.missingPlugin), g(R, "clone", function(M = {}) {
|
|
465
|
-
var
|
|
466
|
-
const { line:
|
|
467
|
-
return k(new t(
|
|
465
|
+
var J;
|
|
466
|
+
const { line: ne, column: ve, index: de } = (J = M.loc) != null ? J : _;
|
|
467
|
+
return k(new t(ne, ve, de), Object.assign({}, I, M.details));
|
|
468
468
|
}), g(R, "details", I), Object.defineProperty(R, "message", { configurable: !0, get() {
|
|
469
469
|
const M = `${P(I)} (${_.line}:${_.column})`;
|
|
470
470
|
return this.message = M, M;
|
|
@@ -495,43 +495,43 @@ function Tv() {
|
|
|
495
495
|
}
|
|
496
496
|
const O = { brace: new A("{"), j_oTag: new A("<tag"), j_cTag: new A("</tag"), j_expr: new A("<tag>...</tag>", !0) };
|
|
497
497
|
O.template = new A("`", !0);
|
|
498
|
-
const
|
|
498
|
+
const D = !0, N = !0, j = !0, U = !0, K = !0;
|
|
499
499
|
class W {
|
|
500
500
|
constructor(r, a = {}) {
|
|
501
501
|
this.label = void 0, this.keyword = void 0, this.beforeExpr = void 0, this.startsExpr = void 0, this.rightAssociative = void 0, this.isLoop = void 0, this.isAssign = void 0, this.prefix = void 0, this.postfix = void 0, this.binop = void 0, this.label = r, this.keyword = a.keyword, this.beforeExpr = !!a.beforeExpr, this.startsExpr = !!a.startsExpr, this.rightAssociative = !!a.rightAssociative, this.isLoop = !!a.isLoop, this.isAssign = !!a.isAssign, this.prefix = !!a.prefix, this.postfix = !!a.postfix, this.binop = a.binop != null ? a.binop : null, this.updateContext = null;
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
|
-
const
|
|
505
|
-
function
|
|
504
|
+
const V = /* @__PURE__ */ new Map();
|
|
505
|
+
function F(P, r = {}) {
|
|
506
506
|
r.keyword = P;
|
|
507
507
|
const a = $(P, r);
|
|
508
|
-
return
|
|
508
|
+
return V.set(P, a), a;
|
|
509
509
|
}
|
|
510
510
|
function q(P, r) {
|
|
511
|
-
return $(P, { beforeExpr:
|
|
511
|
+
return $(P, { beforeExpr: D, binop: r });
|
|
512
512
|
}
|
|
513
513
|
let G = -1;
|
|
514
|
-
const ee = [],
|
|
514
|
+
const ee = [], ae = [], be = [], Q = [], le = [], X = [];
|
|
515
515
|
function $(P, r = {}) {
|
|
516
516
|
var a, u, b, k;
|
|
517
|
-
return ++G,
|
|
517
|
+
return ++G, ae.push(P), be.push((a = r.binop) != null ? a : -1), Q.push((u = r.beforeExpr) != null && u), le.push((b = r.startsExpr) != null && b), X.push((k = r.prefix) != null && k), ee.push(new W(P, r)), G;
|
|
518
518
|
}
|
|
519
519
|
function oe(P, r = {}) {
|
|
520
520
|
var a, u, b, k;
|
|
521
|
-
return ++G,
|
|
521
|
+
return ++G, V.set(P, G), ae.push(P), be.push((a = r.binop) != null ? a : -1), Q.push((u = r.beforeExpr) != null && u), le.push((b = r.startsExpr) != null && b), X.push((k = r.prefix) != null && k), ee.push(new W("name", r)), G;
|
|
522
522
|
}
|
|
523
|
-
const Y = { bracketL: $("[", { beforeExpr:
|
|
524
|
-
function
|
|
523
|
+
const Y = { bracketL: $("[", { beforeExpr: D, startsExpr: N }), bracketHashL: $("#[", { beforeExpr: D, startsExpr: N }), bracketBarL: $("[|", { beforeExpr: D, startsExpr: N }), bracketR: $("]"), bracketBarR: $("|]"), braceL: $("{", { beforeExpr: D, startsExpr: N }), braceBarL: $("{|", { beforeExpr: D, startsExpr: N }), braceHashL: $("#{", { beforeExpr: D, startsExpr: N }), braceR: $("}"), braceBarR: $("|}"), parenL: $("(", { beforeExpr: D, startsExpr: N }), parenR: $(")"), comma: $(",", { beforeExpr: D }), semi: $(";", { beforeExpr: D }), colon: $(":", { beforeExpr: D }), doubleColon: $("::", { beforeExpr: D }), dot: $("."), question: $("?", { beforeExpr: D }), questionDot: $("?."), arrow: $("=>", { beforeExpr: D }), template: $("template"), ellipsis: $("...", { beforeExpr: D }), backQuote: $("`", { startsExpr: N }), dollarBraceL: $("${", { beforeExpr: D, startsExpr: N }), templateTail: $("...`", { startsExpr: N }), templateNonTail: $("...${", { beforeExpr: D, startsExpr: N }), at: $("@"), hash: $("#", { startsExpr: N }), interpreterDirective: $("#!..."), eq: $("=", { beforeExpr: D, isAssign: U }), assign: $("_=", { beforeExpr: D, isAssign: U }), slashAssign: $("_=", { beforeExpr: D, isAssign: U }), xorAssign: $("_=", { beforeExpr: D, isAssign: U }), moduloAssign: $("_=", { beforeExpr: D, isAssign: U }), incDec: $("++/--", { prefix: K, postfix: !0, startsExpr: N }), bang: $("!", { beforeExpr: D, prefix: K, startsExpr: N }), tilde: $("~", { beforeExpr: D, prefix: K, startsExpr: N }), doubleCaret: $("^^", { startsExpr: N }), doubleAt: $("@@", { startsExpr: N }), pipeline: q("|>", 0), nullishCoalescing: q("??", 1), logicalOR: q("||", 1), logicalAND: q("&&", 2), bitwiseOR: q("|", 3), bitwiseXOR: q("^", 4), bitwiseAND: q("&", 5), equality: q("==/!=/===/!==", 6), lt: q("</>/<=/>=", 7), gt: q("</>/<=/>=", 7), relational: q("</>/<=/>=", 7), bitShift: q("<</>>/>>>", 8), bitShiftL: q("<</>>/>>>", 8), bitShiftR: q("<</>>/>>>", 8), plusMin: $("+/-", { beforeExpr: D, binop: 9, prefix: K, startsExpr: N }), modulo: $("%", { binop: 10, startsExpr: N }), star: $("*", { binop: 10 }), slash: q("/", 10), exponent: $("**", { beforeExpr: D, binop: 11, rightAssociative: !0 }), _in: F("in", { beforeExpr: D, binop: 7 }), _instanceof: F("instanceof", { beforeExpr: D, binop: 7 }), _break: F("break"), _case: F("case", { beforeExpr: D }), _catch: F("catch"), _continue: F("continue"), _debugger: F("debugger"), _default: F("default", { beforeExpr: D }), _else: F("else", { beforeExpr: D }), _finally: F("finally"), _function: F("function", { startsExpr: N }), _if: F("if"), _return: F("return", { beforeExpr: D }), _switch: F("switch"), _throw: F("throw", { beforeExpr: D, prefix: K, startsExpr: N }), _try: F("try"), _var: F("var"), _const: F("const"), _with: F("with"), _new: F("new", { beforeExpr: D, startsExpr: N }), _this: F("this", { startsExpr: N }), _super: F("super", { startsExpr: N }), _class: F("class", { startsExpr: N }), _extends: F("extends", { beforeExpr: D }), _export: F("export"), _import: F("import", { startsExpr: N }), _null: F("null", { startsExpr: N }), _true: F("true", { startsExpr: N }), _false: F("false", { startsExpr: N }), _typeof: F("typeof", { beforeExpr: D, prefix: K, startsExpr: N }), _void: F("void", { beforeExpr: D, prefix: K, startsExpr: N }), _delete: F("delete", { beforeExpr: D, prefix: K, startsExpr: N }), _do: F("do", { isLoop: j, beforeExpr: D }), _for: F("for", { isLoop: j }), _while: F("while", { isLoop: j }), _as: oe("as", { startsExpr: N }), _assert: oe("assert", { startsExpr: N }), _async: oe("async", { startsExpr: N }), _await: oe("await", { startsExpr: N }), _defer: oe("defer", { startsExpr: N }), _from: oe("from", { startsExpr: N }), _get: oe("get", { startsExpr: N }), _let: oe("let", { startsExpr: N }), _meta: oe("meta", { startsExpr: N }), _of: oe("of", { startsExpr: N }), _sent: oe("sent", { startsExpr: N }), _set: oe("set", { startsExpr: N }), _source: oe("source", { startsExpr: N }), _static: oe("static", { startsExpr: N }), _using: oe("using", { startsExpr: N }), _yield: oe("yield", { startsExpr: N }), _asserts: oe("asserts", { startsExpr: N }), _checks: oe("checks", { startsExpr: N }), _exports: oe("exports", { startsExpr: N }), _global: oe("global", { startsExpr: N }), _implements: oe("implements", { startsExpr: N }), _intrinsic: oe("intrinsic", { startsExpr: N }), _infer: oe("infer", { startsExpr: N }), _is: oe("is", { startsExpr: N }), _mixins: oe("mixins", { startsExpr: N }), _proto: oe("proto", { startsExpr: N }), _require: oe("require", { startsExpr: N }), _satisfies: oe("satisfies", { startsExpr: N }), _keyof: oe("keyof", { startsExpr: N }), _readonly: oe("readonly", { startsExpr: N }), _unique: oe("unique", { startsExpr: N }), _abstract: oe("abstract", { startsExpr: N }), _declare: oe("declare", { startsExpr: N }), _enum: oe("enum", { startsExpr: N }), _module: oe("module", { startsExpr: N }), _namespace: oe("namespace", { startsExpr: N }), _interface: oe("interface", { startsExpr: N }), _type: oe("type", { startsExpr: N }), _opaque: oe("opaque", { startsExpr: N }), name: $("name", { startsExpr: N }), placeholder: $("%%", { startsExpr: N }), string: $("string", { startsExpr: N }), num: $("num", { startsExpr: N }), bigint: $("bigint", { startsExpr: N }), decimal: $("decimal", { startsExpr: N }), regexp: $("regexp", { startsExpr: N }), privateName: $("#name", { startsExpr: N }), eof: $("eof"), jsxName: $("jsxName"), jsxText: $("jsxText", { beforeExpr: D }), jsxTagStart: $("jsxTagStart", { startsExpr: N }), jsxTagEnd: $("jsxTagEnd") };
|
|
524
|
+
function se(P) {
|
|
525
525
|
return P >= 93 && P <= 133;
|
|
526
526
|
}
|
|
527
527
|
function z(P) {
|
|
528
528
|
return P >= 58 && P <= 133;
|
|
529
529
|
}
|
|
530
|
-
function
|
|
530
|
+
function ie(P) {
|
|
531
531
|
return P >= 58 && P <= 137;
|
|
532
532
|
}
|
|
533
|
-
function
|
|
534
|
-
return
|
|
533
|
+
function ce(P) {
|
|
534
|
+
return le[P];
|
|
535
535
|
}
|
|
536
536
|
function ge(P) {
|
|
537
537
|
return P >= 129 && P <= 131;
|
|
@@ -543,7 +543,7 @@ function Tv() {
|
|
|
543
543
|
return P === 34;
|
|
544
544
|
}
|
|
545
545
|
function me(P) {
|
|
546
|
-
return
|
|
546
|
+
return ae[P];
|
|
547
547
|
}
|
|
548
548
|
function Le(P) {
|
|
549
549
|
return be[P];
|
|
@@ -1086,26 +1086,26 @@ function Tv() {
|
|
|
1086
1086
|
const e1 = { decBinOct: /* @__PURE__ */ new Set([46, 66, 69, 79, 95, 98, 101, 111]), hex: /* @__PURE__ */ new Set([46, 88, 95, 120]) }, Ni = { bin: (P) => P === 48 || P === 49, oct: (P) => P >= 48 && P <= 55, dec: (P) => P >= 48 && P <= 57, hex: (P) => P >= 48 && P <= 57 || P >= 65 && P <= 70 || P >= 97 && P <= 102 };
|
|
1087
1087
|
function t1(P, r, a, u, b, k) {
|
|
1088
1088
|
const _ = a, I = u, R = b;
|
|
1089
|
-
let M = "",
|
|
1089
|
+
let M = "", J = null, ne = a;
|
|
1090
1090
|
const { length: ve } = r;
|
|
1091
1091
|
for (; ; ) {
|
|
1092
1092
|
if (a >= ve) {
|
|
1093
|
-
k.unterminated(_, I, R), M += r.slice(
|
|
1093
|
+
k.unterminated(_, I, R), M += r.slice(ne, a);
|
|
1094
1094
|
break;
|
|
1095
1095
|
}
|
|
1096
1096
|
const de = r.charCodeAt(a);
|
|
1097
1097
|
if (ET(P, de, r, a)) {
|
|
1098
|
-
M += r.slice(
|
|
1098
|
+
M += r.slice(ne, a);
|
|
1099
1099
|
break;
|
|
1100
1100
|
}
|
|
1101
1101
|
if (de === 92) {
|
|
1102
|
-
M += r.slice(
|
|
1102
|
+
M += r.slice(ne, a);
|
|
1103
1103
|
const Pe = _T(r, a, u, b, P === "template", k);
|
|
1104
|
-
Pe.ch !== null ||
|
|
1105
|
-
} else de === 8232 || de === 8233 ? (++b, u = ++a) : de === 10 || de === 13 ? P === "template" ? (M += r.slice(
|
|
1106
|
-
`, ++a, de === 13 && r.charCodeAt(a) === 10 && ++a, ++b,
|
|
1104
|
+
Pe.ch !== null || J ? M += Pe.ch : J = { pos: a, lineStart: u, curLine: b }, { pos: a, lineStart: u, curLine: b } = Pe, ne = a;
|
|
1105
|
+
} else de === 8232 || de === 8233 ? (++b, u = ++a) : de === 10 || de === 13 ? P === "template" ? (M += r.slice(ne, a) + `
|
|
1106
|
+
`, ++a, de === 13 && r.charCodeAt(a) === 10 && ++a, ++b, ne = u = a) : k.unterminated(_, I, R) : ++a;
|
|
1107
1107
|
}
|
|
1108
|
-
return { pos: a, str: M, firstInvalidLoc:
|
|
1108
|
+
return { pos: a, str: M, firstInvalidLoc: J, lineStart: u, curLine: b, containsInvalid: !!J };
|
|
1109
1109
|
}
|
|
1110
1110
|
function ET(P, r, a, u) {
|
|
1111
1111
|
return P === "template" ? r === 96 || r === 36 && a.charCodeAt(u + 1) === 123 : r === (P === "double" ? 34 : 39);
|
|
@@ -1150,14 +1150,14 @@ function Tv() {
|
|
|
1150
1150
|
default:
|
|
1151
1151
|
if (R >= 48 && R <= 55) {
|
|
1152
1152
|
const M = r - 1;
|
|
1153
|
-
let
|
|
1154
|
-
|
|
1153
|
+
let J = /^[0-7]+/.exec(P.slice(M, r + 2))[0], ne = parseInt(J, 8);
|
|
1154
|
+
ne > 255 && (J = J.slice(0, -1), ne = parseInt(J, 8)), r += J.length - 1;
|
|
1155
1155
|
const ve = P.charCodeAt(r);
|
|
1156
|
-
if (
|
|
1156
|
+
if (J !== "0" || ve === 56 || ve === 57) {
|
|
1157
1157
|
if (b) return I(null);
|
|
1158
1158
|
k.strictNumericEscape(M, a, u);
|
|
1159
1159
|
}
|
|
1160
|
-
return I(String.fromCharCode(
|
|
1160
|
+
return I(String.fromCharCode(ne));
|
|
1161
1161
|
}
|
|
1162
1162
|
return I(String.fromCharCode(R));
|
|
1163
1163
|
}
|
|
@@ -1168,7 +1168,7 @@ function Tv() {
|
|
|
1168
1168
|
return { n: M, pos: r } = r1(P, r, a, u, 16, b, k, !1, I, !_), M === null && (_ ? I.invalidEscapeSequence(R, a, u) : r = R - 1), { code: M, pos: r };
|
|
1169
1169
|
}
|
|
1170
1170
|
function r1(P, r, a, u, b, k, _, I, R, M) {
|
|
1171
|
-
const
|
|
1171
|
+
const J = r, ne = b === 16 ? e1.hex : e1.decBinOct, ve = b === 16 ? Ni.hex : b === 10 ? Ni.dec : b === 8 ? Ni.oct : Ni.bin;
|
|
1172
1172
|
let de = !1, Pe = 0;
|
|
1173
1173
|
for (let rt = 0, Ke = k ?? 1 / 0; rt < Ke; ++rt) {
|
|
1174
1174
|
const Ne = P.charCodeAt(r);
|
|
@@ -1176,7 +1176,7 @@ function Tv() {
|
|
|
1176
1176
|
if (Ne === 95 && I !== "bail") {
|
|
1177
1177
|
const En = P.charCodeAt(r - 1), dc = P.charCodeAt(r + 1);
|
|
1178
1178
|
if (I) {
|
|
1179
|
-
if (Number.isNaN(dc) || !ve(dc) ||
|
|
1179
|
+
if (Number.isNaN(dc) || !ve(dc) || ne.has(En) || ne.has(dc)) {
|
|
1180
1180
|
if (M) return { n: null, pos: r };
|
|
1181
1181
|
R.unexpectedNumericSeparator(r, a, u);
|
|
1182
1182
|
}
|
|
@@ -1197,7 +1197,7 @@ function Tv() {
|
|
|
1197
1197
|
}
|
|
1198
1198
|
++r, Pe = Pe * b + it;
|
|
1199
1199
|
}
|
|
1200
|
-
return r ===
|
|
1200
|
+
return r === J || k != null && r - J !== k || de ? { n: null, pos: r } : { n: Pe, pos: r };
|
|
1201
1201
|
}
|
|
1202
1202
|
function s1(P, r, a, u, b, k) {
|
|
1203
1203
|
let _;
|
|
@@ -1565,13 +1565,13 @@ function Tv() {
|
|
|
1565
1565
|
let I = "";
|
|
1566
1566
|
const R = () => n(r, k + 2 - a);
|
|
1567
1567
|
for (; k < this.length; ) {
|
|
1568
|
-
const M = this.codePointAtPos(k),
|
|
1569
|
-
if (PT.has(M)) M === 118 ? I.includes("u") && this.raise(T.IncompatibleRegExpUVFlags, R()) : M === 117 && I.includes("v") && this.raise(T.IncompatibleRegExpUVFlags, R()), I.includes(
|
|
1568
|
+
const M = this.codePointAtPos(k), J = String.fromCharCode(M);
|
|
1569
|
+
if (PT.has(M)) M === 118 ? I.includes("u") && this.raise(T.IncompatibleRegExpUVFlags, R()) : M === 117 && I.includes("v") && this.raise(T.IncompatibleRegExpUVFlags, R()), I.includes(J) && this.raise(T.DuplicateRegExpFlags, R());
|
|
1570
1570
|
else {
|
|
1571
1571
|
if (!Ar(M) && M !== 92) break;
|
|
1572
1572
|
this.raise(T.MalformedRegExpFlags, R());
|
|
1573
1573
|
}
|
|
1574
|
-
++k, I +=
|
|
1574
|
+
++k, I += J;
|
|
1575
1575
|
}
|
|
1576
1576
|
this.state.pos = k, this.finishToken(138, { pattern: _, flags: I });
|
|
1577
1577
|
}
|
|
@@ -1611,13 +1611,13 @@ function Tv() {
|
|
|
1611
1611
|
let M = this.input.charCodeAt(this.state.pos);
|
|
1612
1612
|
if (M !== 46 || I || (++this.state.pos, this.readInt(10), b = !0, M = this.input.charCodeAt(this.state.pos)), M !== 69 && M !== 101 || I || (M = this.input.charCodeAt(++this.state.pos), M !== 43 && M !== 45 || ++this.state.pos, this.readInt(10) === null && this.raise(T.InvalidOrMissingExponent, u), b = !0, _ = !0, M = this.input.charCodeAt(this.state.pos)), M === 110 && ((b || R) && this.raise(T.InvalidBigIntLiteral, u), ++this.state.pos, k = !0), M === 109) {
|
|
1613
1613
|
this.expectPlugin("decimal", this.state.curPosition()), (_ || R) && this.raise(T.InvalidDecimal, u), ++this.state.pos;
|
|
1614
|
-
var
|
|
1614
|
+
var J = !0;
|
|
1615
1615
|
}
|
|
1616
1616
|
if (Jt(this.codePointAtPos(this.state.pos))) throw this.raise(T.NumberIdentifier, this.state.curPosition());
|
|
1617
|
-
const
|
|
1618
|
-
if (k) return void this.finishToken(136,
|
|
1619
|
-
if (
|
|
1620
|
-
const ve = I ? parseInt(
|
|
1617
|
+
const ne = this.input.slice(a, this.state.pos).replace(/[_mn]/g, "");
|
|
1618
|
+
if (k) return void this.finishToken(136, ne);
|
|
1619
|
+
if (J) return void this.finishToken(137, ne);
|
|
1620
|
+
const ve = I ? parseInt(ne, 8) : parseFloat(ne);
|
|
1621
1621
|
this.finishToken(135, ve);
|
|
1622
1622
|
}
|
|
1623
1623
|
readCodePoint(r) {
|
|
@@ -1665,7 +1665,7 @@ function Tv() {
|
|
|
1665
1665
|
return a + this.input.slice(b, this.state.pos);
|
|
1666
1666
|
}
|
|
1667
1667
|
readWord(r) {
|
|
1668
|
-
const a = this.readWord1(r), u =
|
|
1668
|
+
const a = this.readWord1(r), u = V.get(a);
|
|
1669
1669
|
u !== void 0 ? this.finishToken(u, me(u)) : this.finishToken(132, a);
|
|
1670
1670
|
}
|
|
1671
1671
|
checkKeywordEscapes() {
|
|
@@ -1880,7 +1880,7 @@ function Tv() {
|
|
|
1880
1880
|
u != null && this.raise(T.InvalidCoverInitializedName, u), b != null && this.raise(T.DuplicateProto, b), k != null && this.raise(T.UnexpectedPrivateField, k), _ != null && this.unexpected(_), I != null && this.raise(T.InvalidCoverDiscardElement, I);
|
|
1881
1881
|
}
|
|
1882
1882
|
isLiteralPropertyName() {
|
|
1883
|
-
return
|
|
1883
|
+
return ie(this.state.type);
|
|
1884
1884
|
}
|
|
1885
1885
|
isPrivateName(r) {
|
|
1886
1886
|
return r.type === "PrivateName";
|
|
@@ -2002,8 +2002,8 @@ function Tv() {
|
|
|
2002
2002
|
this.castNodeTo(r, "ObjectPattern");
|
|
2003
2003
|
for (let I = 0, R = r.properties.length, M = R - 1; I < R; I++) {
|
|
2004
2004
|
var _;
|
|
2005
|
-
const
|
|
2006
|
-
this.toAssignableObjectExpressionProp(
|
|
2005
|
+
const J = r.properties[I], ne = I === M;
|
|
2006
|
+
this.toAssignableObjectExpressionProp(J, ne, a), ne && J.type === "RestElement" && (_ = r.extra) != null && _.trailingCommaLoc && this.raise(T.RestTrailingComma, r.extra.trailingCommaLoc);
|
|
2007
2007
|
}
|
|
2008
2008
|
break;
|
|
2009
2009
|
case "ObjectProperty": {
|
|
@@ -2175,16 +2175,16 @@ function Tv() {
|
|
|
2175
2175
|
var R;
|
|
2176
2176
|
const M = r.type;
|
|
2177
2177
|
if (this.isObjectMethod(r)) return;
|
|
2178
|
-
const
|
|
2179
|
-
if (
|
|
2178
|
+
const J = this.isOptionalMemberExpression(r);
|
|
2179
|
+
if (J || M === "MemberExpression") return J && (this.expectPlugin("optionalChainingAssign", r.loc.start), a.type !== "AssignmentExpression" && this.raise(T.InvalidLhsOptionalChaining, r, { ancestor: a })), void (u !== 64 && this.raise(T.InvalidPropertyBindingPattern, r));
|
|
2180
2180
|
if (M === "Identifier") {
|
|
2181
2181
|
this.checkIdentifier(r, u, k);
|
|
2182
2182
|
const { name: Ne } = r;
|
|
2183
2183
|
return void (b && (b.has(Ne) ? this.raise(T.ParamDupe, r) : b.add(Ne)));
|
|
2184
2184
|
}
|
|
2185
2185
|
M === "VoidPattern" && a.type === "CatchClause" && this.raise(T.VoidPatternCatchClauseParam, r);
|
|
2186
|
-
const
|
|
2187
|
-
I || (I =
|
|
2186
|
+
const ne = lc(r);
|
|
2187
|
+
I || (I = ne.type === "CallExpression" && (ne.callee.type === "Import" || ne.callee.type === "Super"));
|
|
2188
2188
|
const ve = this.isValidLVal(M, I, !(_ || (R = r.extra) != null && R.parenthesized) && a.type === "AssignmentExpression", u);
|
|
2189
2189
|
if (ve === !0) return;
|
|
2190
2190
|
if (ve === !1) {
|
|
@@ -2365,8 +2365,8 @@ function Tv() {
|
|
|
2365
2365
|
R.kind = r.kind, R = super.parseMethod(R, a, u, b, k, _, I), delete R.kind;
|
|
2366
2366
|
const { typeParameters: M } = r;
|
|
2367
2367
|
M && (delete r.typeParameters, R.typeParameters = M, this.resetStartLocationFromNode(R, M));
|
|
2368
|
-
const
|
|
2369
|
-
return r.value =
|
|
2368
|
+
const J = this.castNodeTo(R, "FunctionExpression");
|
|
2369
|
+
return r.value = J, _ === "ClassPrivateMethod" && (r.computed = !1), _ === "ObjectMethod" ? (r.kind === "method" && (r.kind = "init"), r.shorthand = !1, this.finishNode(r, "Property")) : this.finishNode(r, "MethodDefinition");
|
|
2370
2370
|
}
|
|
2371
2371
|
nameIsConstructor(r) {
|
|
2372
2372
|
return r.type === "Literal" ? r.value === "constructor" : super.nameIsConstructor(r);
|
|
@@ -2876,7 +2876,7 @@ function Tv() {
|
|
|
2876
2876
|
const I = this.startNode();
|
|
2877
2877
|
let R, M;
|
|
2878
2878
|
I.callProperties = [], I.properties = [], I.indexers = [], I.internalSlots = [];
|
|
2879
|
-
let
|
|
2879
|
+
let J = !1;
|
|
2880
2880
|
for (a && this.match(6) ? (this.expect(6), R = 9, M = !0) : (this.expect(5), R = 8, M = !1), I.exact = M; !this.match(R); ) {
|
|
2881
2881
|
let ve = !1, de = null, Pe = null;
|
|
2882
2882
|
const rt = this.startNode();
|
|
@@ -2893,15 +2893,15 @@ function Tv() {
|
|
|
2893
2893
|
else if (this.match(10) || this.match(47)) de != null && this.unexpected(de), Ke && this.unexpected(Ke.loc.start), I.callProperties.push(this.flowParseObjectTypeCallProperty(rt, ve));
|
|
2894
2894
|
else {
|
|
2895
2895
|
let Ne = "init";
|
|
2896
|
-
(this.isContextual(99) || this.isContextual(104)) &&
|
|
2896
|
+
(this.isContextual(99) || this.isContextual(104)) && ie(this.lookahead().type) && (Ne = this.state.value, this.next());
|
|
2897
2897
|
const it = this.flowParseObjectTypeProperty(rt, ve, de, Ke, Ne, u, k ?? !M);
|
|
2898
|
-
it === null ? (
|
|
2898
|
+
it === null ? (J = !0, Pe = this.state.lastTokStartLoc) : I.properties.push(it);
|
|
2899
2899
|
}
|
|
2900
2900
|
this.flowObjectTypeSemicolon(), !Pe || this.match(8) || this.match(9) || this.raise(ke.UnexpectedExplicitInexactInObject, Pe);
|
|
2901
2901
|
}
|
|
2902
|
-
this.expect(R), u && (I.inexact =
|
|
2903
|
-
const
|
|
2904
|
-
return this.state.inType = _,
|
|
2902
|
+
this.expect(R), u && (I.inexact = J);
|
|
2903
|
+
const ne = this.finishNode(I, "ObjectTypeAnnotation");
|
|
2904
|
+
return this.state.inType = _, ne;
|
|
2905
2905
|
}
|
|
2906
2906
|
flowParseObjectTypeProperty(r, a, u, b, k, _, I) {
|
|
2907
2907
|
if (this.eat(21))
|
|
@@ -2993,7 +2993,7 @@ function Tv() {
|
|
|
2993
2993
|
}
|
|
2994
2994
|
case 10: {
|
|
2995
2995
|
const I = this.startNode();
|
|
2996
|
-
if (this.next(), !this.match(11) && !this.match(21)) if (
|
|
2996
|
+
if (this.next(), !this.match(11) && !this.match(21)) if (se(this.state.type) || this.match(78)) {
|
|
2997
2997
|
const R = this.lookahead().type;
|
|
2998
2998
|
k = R !== 17 && R !== 14;
|
|
2999
2999
|
} else k = !0;
|
|
@@ -3034,7 +3034,7 @@ function Tv() {
|
|
|
3034
3034
|
const I = me(this.state.type);
|
|
3035
3035
|
return this.next(), super.createIdentifier(a, I);
|
|
3036
3036
|
}
|
|
3037
|
-
if (
|
|
3037
|
+
if (se(this.state.type)) return this.isContextual(129) ? this.flowParseInterfaceType() : this.flowIdentToTypeAnnotation(r, a, this.parseIdentifier());
|
|
3038
3038
|
}
|
|
3039
3039
|
throw this.unexpected();
|
|
3040
3040
|
}
|
|
@@ -3127,8 +3127,8 @@ function Tv() {
|
|
|
3127
3127
|
parseExpressionStatement(r, a, u) {
|
|
3128
3128
|
if (a.type === "Identifier") {
|
|
3129
3129
|
if (a.name === "declare") {
|
|
3130
|
-
if (this.match(80) ||
|
|
3131
|
-
} else if (
|
|
3130
|
+
if (this.match(80) || se(this.state.type) || this.match(68) || this.match(74) || this.match(82)) return this.flowParseDeclare(r);
|
|
3131
|
+
} else if (se(this.state.type)) {
|
|
3132
3132
|
if (a.name === "interface") return this.flowParseInterface(r);
|
|
3133
3133
|
if (a.name === "type") return this.flowParseTypeAlias(r);
|
|
3134
3134
|
if (a.name === "opaque") return this.flowParseOpaqueType(r, !1);
|
|
@@ -3154,20 +3154,20 @@ function Tv() {
|
|
|
3154
3154
|
parseConditional(r, a, u) {
|
|
3155
3155
|
if (!this.match(17)) return r;
|
|
3156
3156
|
if (this.state.maybeInArrowParameters) {
|
|
3157
|
-
const
|
|
3158
|
-
if (
|
|
3157
|
+
const ne = this.lookaheadCharCode();
|
|
3158
|
+
if (ne === 44 || ne === 61 || ne === 58 || ne === 41) return this.setOptionalParametersError(u), r;
|
|
3159
3159
|
}
|
|
3160
3160
|
this.expect(17);
|
|
3161
3161
|
const b = this.state.clone(), k = this.state.noArrowAt, _ = this.startNodeAt(a);
|
|
3162
|
-
let { consequent: I, failed: R } = this.tryParseConditionalConsequent(), [M,
|
|
3163
|
-
if (R ||
|
|
3164
|
-
const
|
|
3165
|
-
if (
|
|
3166
|
-
this.state = b, this.state.noArrowAt =
|
|
3167
|
-
for (let ve = 0; ve <
|
|
3168
|
-
({ consequent: I, failed: R } = this.tryParseConditionalConsequent()), [M,
|
|
3162
|
+
let { consequent: I, failed: R } = this.tryParseConditionalConsequent(), [M, J] = this.getArrowLikeExpressions(I);
|
|
3163
|
+
if (R || J.length > 0) {
|
|
3164
|
+
const ne = [...k];
|
|
3165
|
+
if (J.length > 0) {
|
|
3166
|
+
this.state = b, this.state.noArrowAt = ne;
|
|
3167
|
+
for (let ve = 0; ve < J.length; ve++) ne.push(J[ve].start);
|
|
3168
|
+
({ consequent: I, failed: R } = this.tryParseConditionalConsequent()), [M, J] = this.getArrowLikeExpressions(I);
|
|
3169
3169
|
}
|
|
3170
|
-
R && M.length > 1 && this.raise(ke.AmbiguousConditionalArrow, b.startLoc), R && M.length === 1 && (this.state = b,
|
|
3170
|
+
R && M.length > 1 && this.raise(ke.AmbiguousConditionalArrow, b.startLoc), R && M.length === 1 && (this.state = b, ne.push(M[0].start), this.state.noArrowAt = ne, { consequent: I, failed: R } = this.tryParseConditionalConsequent());
|
|
3171
3171
|
}
|
|
3172
3172
|
return this.getArrowLikeExpressions(I, !0), this.state.noArrowAt = k, this.expect(14), _.test = r, _.consequent = I, _.alternate = this.forwardNoArrowParamsConversionAt(_, () => this.parseMaybeAssign(void 0, void 0)), this.finishNode(_, "ConditionalExpression");
|
|
3173
3173
|
}
|
|
@@ -3377,8 +3377,8 @@ function Tv() {
|
|
|
3377
3377
|
_.type === "Identifier" && (_.name === "type" ? I = "type" : _.name === "typeof" && (I = "typeof"));
|
|
3378
3378
|
let R = !1;
|
|
3379
3379
|
if (this.isContextual(93) && !this.isLookaheadContextual("as")) {
|
|
3380
|
-
const
|
|
3381
|
-
I === null || z(this.state.type) ? (r.imported = _, r.importKind = null, r.local = this.parseIdentifier()) : (r.imported =
|
|
3380
|
+
const J = this.parseIdentifier(!0);
|
|
3381
|
+
I === null || z(this.state.type) ? (r.imported = _, r.importKind = null, r.local = this.parseIdentifier()) : (r.imported = J, r.importKind = I, r.local = this.cloneIdentifier(J));
|
|
3382
3382
|
} else {
|
|
3383
3383
|
if (I !== null && z(this.state.type)) r.imported = this.parseIdentifier(!0), r.importKind = I;
|
|
3384
3384
|
else {
|
|
@@ -3422,24 +3422,24 @@ function Tv() {
|
|
|
3422
3422
|
var _, I;
|
|
3423
3423
|
let R;
|
|
3424
3424
|
k = k || this.state.clone();
|
|
3425
|
-
const M = this.tryParse((
|
|
3425
|
+
const M = this.tryParse((ne) => {
|
|
3426
3426
|
var ve;
|
|
3427
3427
|
R = this.flowParseTypeParameterDeclaration();
|
|
3428
3428
|
const de = this.forwardNoArrowParamsConversionAt(R, () => {
|
|
3429
3429
|
const rt = super.parseMaybeAssign(r, a);
|
|
3430
3430
|
return this.resetStartLocationFromNode(rt, R), rt;
|
|
3431
3431
|
});
|
|
3432
|
-
(ve = de.extra) != null && ve.parenthesized &&
|
|
3432
|
+
(ve = de.extra) != null && ve.parenthesized && ne();
|
|
3433
3433
|
const Pe = this.maybeUnwrapTypeCastExpression(de);
|
|
3434
|
-
return Pe.type !== "ArrowFunctionExpression" &&
|
|
3434
|
+
return Pe.type !== "ArrowFunctionExpression" && ne(), Pe.typeParameters = R, this.resetStartLocationFromNode(Pe, R), de;
|
|
3435
3435
|
}, k);
|
|
3436
|
-
let
|
|
3436
|
+
let J = null;
|
|
3437
3437
|
if (M.node && this.maybeUnwrapTypeCastExpression(M.node).type === "ArrowFunctionExpression") {
|
|
3438
3438
|
if (!M.error && !M.aborted) return M.node.async && this.raise(ke.UnexpectedTypeParameterBeforeAsyncArrowFunction, R), M.node;
|
|
3439
|
-
|
|
3439
|
+
J = M.node;
|
|
3440
3440
|
}
|
|
3441
3441
|
if ((_ = b) != null && _.node) return this.state = b.failState, b.node;
|
|
3442
|
-
if (
|
|
3442
|
+
if (J) return this.state = M.failState, J;
|
|
3443
3443
|
throw (I = b) != null && I.thrown ? b.error : M.thrown ? M.error : this.raise(ke.UnexpectedTokenAfterTypeParameter, R);
|
|
3444
3444
|
}
|
|
3445
3445
|
return super.parseMaybeAssign(r, a);
|
|
@@ -3595,26 +3595,26 @@ function Tv() {
|
|
|
3595
3595
|
const _ = this.startNode(), { id: I, init: R } = this.flowEnumMemberRaw(), M = I.name;
|
|
3596
3596
|
if (M === "") continue;
|
|
3597
3597
|
/^[a-z]/.test(M) && this.raise(ke.EnumInvalidMemberName, I, { memberName: M, suggestion: M[0].toUpperCase() + M.slice(1), enumName: r }), u.has(M) && this.raise(ke.EnumDuplicateMemberName, I, { memberName: M, enumName: r }), u.add(M);
|
|
3598
|
-
const
|
|
3598
|
+
const J = { enumName: r, explicitType: a, memberName: M };
|
|
3599
3599
|
switch (_.id = I, R.type) {
|
|
3600
3600
|
case "boolean":
|
|
3601
|
-
this.flowEnumCheckExplicitTypeMismatch(R.loc,
|
|
3601
|
+
this.flowEnumCheckExplicitTypeMismatch(R.loc, J, "boolean"), _.init = R.value, b.booleanMembers.push(this.finishNode(_, "EnumBooleanMember"));
|
|
3602
3602
|
break;
|
|
3603
3603
|
case "number":
|
|
3604
|
-
this.flowEnumCheckExplicitTypeMismatch(R.loc,
|
|
3604
|
+
this.flowEnumCheckExplicitTypeMismatch(R.loc, J, "number"), _.init = R.value, b.numberMembers.push(this.finishNode(_, "EnumNumberMember"));
|
|
3605
3605
|
break;
|
|
3606
3606
|
case "string":
|
|
3607
|
-
this.flowEnumCheckExplicitTypeMismatch(R.loc,
|
|
3607
|
+
this.flowEnumCheckExplicitTypeMismatch(R.loc, J, "string"), _.init = R.value, b.stringMembers.push(this.finishNode(_, "EnumStringMember"));
|
|
3608
3608
|
break;
|
|
3609
3609
|
case "invalid":
|
|
3610
|
-
throw this.flowEnumErrorInvalidMemberInitializer(R.loc,
|
|
3610
|
+
throw this.flowEnumErrorInvalidMemberInitializer(R.loc, J);
|
|
3611
3611
|
case "none":
|
|
3612
3612
|
switch (a) {
|
|
3613
3613
|
case "boolean":
|
|
3614
|
-
this.flowEnumErrorBooleanMemberNotInitialized(R.loc,
|
|
3614
|
+
this.flowEnumErrorBooleanMemberNotInitialized(R.loc, J);
|
|
3615
3615
|
break;
|
|
3616
3616
|
case "number":
|
|
3617
|
-
this.flowEnumErrorNumberMemberNotInitialized(R.loc,
|
|
3617
|
+
this.flowEnumErrorNumberMemberNotInitialized(R.loc, J);
|
|
3618
3618
|
break;
|
|
3619
3619
|
default:
|
|
3620
3620
|
b.defaultedMembers.push(this.finishNode(_, "EnumDefaultedMember"));
|
|
@@ -3636,7 +3636,7 @@ function Tv() {
|
|
|
3636
3636
|
}
|
|
3637
3637
|
flowEnumParseExplicitType({ enumName: r }) {
|
|
3638
3638
|
if (!this.eatContextual(102)) return null;
|
|
3639
|
-
if (!
|
|
3639
|
+
if (!se(this.state.type)) throw this.raise(ke.EnumInvalidExplicitTypeUnknownSupplied, this.state.startLoc, { enumName: r });
|
|
3640
3640
|
const { value: a } = this.state;
|
|
3641
3641
|
return this.next(), a !== "boolean" && a !== "number" && a !== "string" && a !== "symbol" && this.raise(ke.EnumInvalidExplicitType, this.state.startLoc, { enumName: r, invalidEnumType: a }), a;
|
|
3642
3642
|
}
|
|
@@ -3656,14 +3656,14 @@ function Tv() {
|
|
|
3656
3656
|
default: {
|
|
3657
3657
|
const R = () => (r.members = [], this.expect(8), this.finishNode(r, "EnumStringBody"));
|
|
3658
3658
|
r.explicitType = !1;
|
|
3659
|
-
const M = _.booleanMembers.length,
|
|
3660
|
-
if (M ||
|
|
3661
|
-
if (M ||
|
|
3662
|
-
if (!
|
|
3659
|
+
const M = _.booleanMembers.length, J = _.numberMembers.length, ne = _.stringMembers.length, ve = _.defaultedMembers.length;
|
|
3660
|
+
if (M || J || ne || ve) {
|
|
3661
|
+
if (M || J) {
|
|
3662
|
+
if (!J && !ne && M >= ve) {
|
|
3663
3663
|
for (const de of _.defaultedMembers) this.flowEnumErrorBooleanMemberNotInitialized(de.loc.start, { enumName: u, memberName: de.id.name });
|
|
3664
3664
|
return r.members = _.booleanMembers, this.expect(8), this.finishNode(r, "EnumBooleanBody");
|
|
3665
3665
|
}
|
|
3666
|
-
if (!M && !
|
|
3666
|
+
if (!M && !ne && J >= ve) {
|
|
3667
3667
|
for (const de of _.defaultedMembers) this.flowEnumErrorNumberMemberNotInitialized(de.loc.start, { enumName: u, memberName: de.id.name });
|
|
3668
3668
|
return r.members = _.numberMembers, this.expect(8), this.finishNode(r, "EnumNumberBody");
|
|
3669
3669
|
}
|
|
@@ -3709,7 +3709,7 @@ function Tv() {
|
|
|
3709
3709
|
return TT;
|
|
3710
3710
|
}
|
|
3711
3711
|
tsIsIdentifier() {
|
|
3712
|
-
return
|
|
3712
|
+
return se(this.state.type);
|
|
3713
3713
|
}
|
|
3714
3714
|
tsTokenCanFollowModifier() {
|
|
3715
3715
|
return this.match(0) || this.match(5) || this.match(55) || this.match(21) || this.match(139) || this.isLiteralPropertyName();
|
|
@@ -3721,7 +3721,7 @@ function Tv() {
|
|
|
3721
3721
|
return this.match(106) ? (this.next(), this.tsTokenCanFollowModifier()) : this.tsNextTokenOnSameLineAndCanFollowModifier();
|
|
3722
3722
|
}
|
|
3723
3723
|
tsParseModifier(r, a, u) {
|
|
3724
|
-
if (!
|
|
3724
|
+
if (!se(this.state.type) && this.state.type !== 58 && this.state.type !== 75) return;
|
|
3725
3725
|
const b = this.state.value;
|
|
3726
3726
|
if (r.includes(b)) {
|
|
3727
3727
|
if (u && this.match(106) || a && this.tsIsStartOfStaticBlocks()) return;
|
|
@@ -3729,10 +3729,10 @@ function Tv() {
|
|
|
3729
3729
|
}
|
|
3730
3730
|
}
|
|
3731
3731
|
tsParseModifiers({ allowedModifiers: r, disallowedModifiers: a, stopOnStartOfClassStaticBlock: u, errorTemplate: b = ye.InvalidModifierOnTypeMember }, k) {
|
|
3732
|
-
const _ = (R, M,
|
|
3733
|
-
M ===
|
|
3734
|
-
}, I = (R, M,
|
|
3735
|
-
(k[
|
|
3732
|
+
const _ = (R, M, J, ne) => {
|
|
3733
|
+
M === J && k[ne] && this.raise(ye.InvalidModifiersOrder, R, { orderedModifiers: [J, ne] });
|
|
3734
|
+
}, I = (R, M, J, ne) => {
|
|
3735
|
+
(k[J] && M === ne || k[ne] && M === J) && this.raise(ye.IncompatibleModifiers, R, { modifiers: [J, ne] });
|
|
3736
3736
|
};
|
|
3737
3737
|
for (; ; ) {
|
|
3738
3738
|
const { startLoc: R } = this.state, M = this.tsParseModifier(r.concat(a ?? []), u, k.static);
|
|
@@ -3798,7 +3798,7 @@ function Tv() {
|
|
|
3798
3798
|
const r = this.startNode(), a = [];
|
|
3799
3799
|
for (this.expect(5); !this.match(8); ) {
|
|
3800
3800
|
const u = this.state.type;
|
|
3801
|
-
|
|
3801
|
+
se(u) || u === 134 ? a.push(super.parsePropertyDefinition(null)) : this.unexpected(), this.eat(12);
|
|
3802
3802
|
}
|
|
3803
3803
|
return r.properties = a, this.next(), this.finishNode(r, "ObjectExpression");
|
|
3804
3804
|
}
|
|
@@ -3865,7 +3865,7 @@ function Tv() {
|
|
|
3865
3865
|
return this.tsFillSignature(14, a), this.tsParseTypeMemberSemicolon(), this.finishNode(a, r);
|
|
3866
3866
|
}
|
|
3867
3867
|
tsIsUnambiguouslyIndexSignature() {
|
|
3868
|
-
return this.next(), !!
|
|
3868
|
+
return this.next(), !!se(this.state.type) && (this.next(), this.match(14));
|
|
3869
3869
|
}
|
|
3870
3870
|
tsTryParseIndexSignature(r) {
|
|
3871
3871
|
if (!this.match(0) || !this.tsLookAhead(this.tsIsUnambiguouslyIndexSignature.bind(this))) return;
|
|
@@ -3945,8 +3945,8 @@ function Tv() {
|
|
|
3945
3945
|
if (R === 58) b = !0, _ = !1, k = this.parseIdentifier(!0), this.expect(14), I = this.tsParseType();
|
|
3946
3946
|
else if (R === 63) {
|
|
3947
3947
|
_ = !0;
|
|
3948
|
-
const M = this.state.value,
|
|
3949
|
-
this.lookaheadCharCode() === 58 ? (b = !0, k = this.createIdentifier(this.startNodeAt(u), M), this.expect(17), this.expect(14), I = this.tsParseType()) : (b = !1, I =
|
|
3948
|
+
const M = this.state.value, J = this.tsParseNonArrayType();
|
|
3949
|
+
this.lookaheadCharCode() === 58 ? (b = !0, k = this.createIdentifier(this.startNodeAt(u), M), this.expect(17), this.expect(14), I = this.tsParseType()) : (b = !1, I = J, this.expect(17));
|
|
3950
3950
|
} else I = this.tsParseType(), _ = this.eat(17), b = this.eat(14);
|
|
3951
3951
|
if (b) {
|
|
3952
3952
|
let M;
|
|
@@ -4028,7 +4028,7 @@ function Tv() {
|
|
|
4028
4028
|
return this.tsParseTemplateLiteralType();
|
|
4029
4029
|
default: {
|
|
4030
4030
|
const { type: r } = this.state;
|
|
4031
|
-
if (
|
|
4031
|
+
if (se(r) || r === 88 || r === 84) {
|
|
4032
4032
|
const a = r === 88 ? "TSVoidKeyword" : r === 84 ? "TSNullKeyword" : (function(u) {
|
|
4033
4033
|
switch (u) {
|
|
4034
4034
|
case "any":
|
|
@@ -4123,7 +4123,7 @@ function Tv() {
|
|
|
4123
4123
|
return !!this.match(47) || this.match(10) && this.tsLookAhead(this.tsIsUnambiguouslyStartOfFunctionType.bind(this));
|
|
4124
4124
|
}
|
|
4125
4125
|
tsSkipParameterStart() {
|
|
4126
|
-
if (
|
|
4126
|
+
if (se(this.state.type) || this.match(78)) return this.next(), !0;
|
|
4127
4127
|
if (this.match(5)) {
|
|
4128
4128
|
const { errors: r } = this.state, a = r.length;
|
|
4129
4129
|
try {
|
|
@@ -4177,7 +4177,7 @@ function Tv() {
|
|
|
4177
4177
|
tsParseTypePredicateAsserts() {
|
|
4178
4178
|
if (this.state.type !== 109) return !1;
|
|
4179
4179
|
const r = this.state.containsEsc;
|
|
4180
|
-
return this.next(), !(!
|
|
4180
|
+
return this.next(), !(!se(this.state.type) && !this.match(78)) && (r && this.raise(T.InvalidEscapedReservedWord, this.state.lastTokStartLoc, { reservedWord: "asserts" }), !0);
|
|
4181
4181
|
}
|
|
4182
4182
|
tsParseTypeAnnotation(r = !0, a = this.startNode()) {
|
|
4183
4183
|
return this.tsInType(() => {
|
|
@@ -4213,7 +4213,7 @@ function Tv() {
|
|
|
4213
4213
|
}
|
|
4214
4214
|
tsParseInterfaceDeclaration(r, a = {}) {
|
|
4215
4215
|
if (this.hasFollowingLineBreak()) return null;
|
|
4216
|
-
this.expectContextual(129), a.declare && (r.declare = !0),
|
|
4216
|
+
this.expectContextual(129), a.declare && (r.declare = !0), se(this.state.type) ? (r.id = this.parseIdentifier(), this.checkIdentifier(r.id, 130)) : (r.id = null, this.raise(ye.MissingInterfaceName, this.state.startLoc)), r.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutConstModifiers), this.eat(81) && (r.extends = this.tsParseHeritageClause("extends"));
|
|
4217
4217
|
const u = this.startNode();
|
|
4218
4218
|
return u.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), r.body = this.finishNode(u, "TSInterfaceBody"), this.finishNode(r, "TSInterfaceDeclaration");
|
|
4219
4219
|
}
|
|
@@ -4356,7 +4356,7 @@ function Tv() {
|
|
|
4356
4356
|
if (u) return u;
|
|
4357
4357
|
}
|
|
4358
4358
|
default:
|
|
4359
|
-
if (
|
|
4359
|
+
if (se(a)) return this.tsParseDeclaration(r, this.state.type, !0, null);
|
|
4360
4360
|
}
|
|
4361
4361
|
});
|
|
4362
4362
|
}
|
|
@@ -4366,19 +4366,19 @@ function Tv() {
|
|
|
4366
4366
|
tsParseDeclaration(r, a, u, b) {
|
|
4367
4367
|
switch (a) {
|
|
4368
4368
|
case 124:
|
|
4369
|
-
if (this.tsCheckLineTerminator(u) && (this.match(80) ||
|
|
4369
|
+
if (this.tsCheckLineTerminator(u) && (this.match(80) || se(this.state.type))) return this.tsParseAbstractDeclaration(r, b);
|
|
4370
4370
|
break;
|
|
4371
4371
|
case 127:
|
|
4372
4372
|
if (this.tsCheckLineTerminator(u)) {
|
|
4373
4373
|
if (this.match(134)) return this.tsParseAmbientExternalModuleDeclaration(r);
|
|
4374
|
-
if (
|
|
4374
|
+
if (se(this.state.type)) return r.kind = "module", this.tsParseModuleOrNamespaceDeclaration(r);
|
|
4375
4375
|
}
|
|
4376
4376
|
break;
|
|
4377
4377
|
case 128:
|
|
4378
|
-
if (this.tsCheckLineTerminator(u) &&
|
|
4378
|
+
if (this.tsCheckLineTerminator(u) && se(this.state.type)) return r.kind = "namespace", this.tsParseModuleOrNamespaceDeclaration(r);
|
|
4379
4379
|
break;
|
|
4380
4380
|
case 130:
|
|
4381
|
-
if (this.tsCheckLineTerminator(u) &&
|
|
4381
|
+
if (this.tsCheckLineTerminator(u) && se(this.state.type)) return this.tsParseTypeAliasDeclaration(r);
|
|
4382
4382
|
}
|
|
4383
4383
|
}
|
|
4384
4384
|
tsCheckLineTerminator(r) {
|
|
@@ -4417,8 +4417,8 @@ function Tv() {
|
|
|
4417
4417
|
2 & r && this.parseFunctionParamType(R);
|
|
4418
4418
|
const M = this.parseMaybeDefault(R.loc.start, R);
|
|
4419
4419
|
if (k || I || _) {
|
|
4420
|
-
const
|
|
4421
|
-
return a.length && (
|
|
4420
|
+
const J = this.startNodeAt(u);
|
|
4421
|
+
return a.length && (J.decorators = a), k && (J.accessibility = k), I && (J.readonly = I), _ && (J.override = _), M.type !== "Identifier" && M.type !== "AssignmentPattern" && this.raise(ye.UnsupportedParameterPropertyKind, J), J.parameter = M, this.finishNode(J, "TSParameterProperty");
|
|
4422
4422
|
}
|
|
4423
4423
|
return a.length && (R.decorators = a), M;
|
|
4424
4424
|
}
|
|
@@ -4466,24 +4466,24 @@ function Tv() {
|
|
|
4466
4466
|
let _;
|
|
4467
4467
|
const I = this.tsTryParseAndCatch(() => {
|
|
4468
4468
|
if (!u && this.atPossibleAsyncArrow(r)) {
|
|
4469
|
-
const
|
|
4470
|
-
if (
|
|
4469
|
+
const ne = this.tsTryParseGenericAsyncArrowFunction(a);
|
|
4470
|
+
if (ne) return b.stop = !0, ne;
|
|
4471
4471
|
}
|
|
4472
4472
|
const R = this.tsParseTypeArgumentsInExpression();
|
|
4473
4473
|
if (!R) return;
|
|
4474
4474
|
if (k && !this.match(10)) return void (_ = this.state.curPosition());
|
|
4475
4475
|
if (qe(this.state.type)) {
|
|
4476
|
-
const
|
|
4477
|
-
return
|
|
4476
|
+
const ne = super.parseTaggedTemplateExpression(r, a, b);
|
|
4477
|
+
return ne.typeParameters = R, ne;
|
|
4478
4478
|
}
|
|
4479
4479
|
if (!u && this.eat(10)) {
|
|
4480
|
-
const
|
|
4481
|
-
return
|
|
4480
|
+
const ne = this.startNodeAt(a);
|
|
4481
|
+
return ne.callee = r, ne.arguments = this.parseCallExpressionArguments(), this.tsCheckForInvalidTypeCasts(ne.arguments), ne.typeParameters = R, b.optionalChainMember && (ne.optional = k), this.finishCallExpression(ne, b.optionalChainMember);
|
|
4482
4482
|
}
|
|
4483
4483
|
const M = this.state.type;
|
|
4484
|
-
if (M === 48 || M === 52 || M !== 10 &&
|
|
4485
|
-
const
|
|
4486
|
-
return
|
|
4484
|
+
if (M === 48 || M === 52 || M !== 10 && ce(M) && !this.hasPrecedingLineBreak()) return;
|
|
4485
|
+
const J = this.startNodeAt(a);
|
|
4486
|
+
return J.expression = r, J.typeParameters = R, this.finishNode(J, "TSInstantiationExpression");
|
|
4487
4487
|
});
|
|
4488
4488
|
if (_ && this.unexpected(_, 10), I) return I.type === "TSInstantiationExpression" && ((this.match(16) || this.match(18) && this.lookaheadCharCode() !== 40) && this.raise(ye.InvalidPropertyAccessAfterInstantiationExpression, this.state.startLoc), this.match(16) || this.match(18) || (I.expression = super.stopParseSubscript(r, b))), I;
|
|
4489
4489
|
}
|
|
@@ -4525,7 +4525,7 @@ function Tv() {
|
|
|
4525
4525
|
parseImport(r) {
|
|
4526
4526
|
if (this.match(134)) return r.importKind = "value", super.parseImport(r);
|
|
4527
4527
|
let a;
|
|
4528
|
-
if (
|
|
4528
|
+
if (se(this.state.type) && this.lookaheadCharCode() === 61) return r.importKind = "value", this.tsParseImportEqualsDeclaration(r);
|
|
4529
4529
|
if (this.isContextual(130)) {
|
|
4530
4530
|
const u = this.parseMaybeImportPhase(r, !1);
|
|
4531
4531
|
if (this.lookaheadCharCode() === 61) return this.tsParseImportEqualsDeclaration(r, u);
|
|
@@ -4669,7 +4669,7 @@ function Tv() {
|
|
|
4669
4669
|
if (!this.state.isAmbientContext && this.isContextual(125)) return this.tsInAmbientContext(() => this.parseExportDeclaration(r));
|
|
4670
4670
|
const a = this.state.startLoc, u = this.eatContextual(125);
|
|
4671
4671
|
if (u && (this.isContextual(125) || !this.shouldParseExportDeclaration())) throw this.raise(ye.ExpectedAmbientAfterExportDeclare, this.state.startLoc);
|
|
4672
|
-
const b =
|
|
4672
|
+
const b = se(this.state.type) && this.tsTryParseExportDeclaration() || super.parseExportDeclaration(r);
|
|
4673
4673
|
return b ? ((b.type === "TSInterfaceDeclaration" || b.type === "TSTypeAliasDeclaration" || u) && (r.exportKind = "type"), u && b.type !== "TSImportEqualsDeclaration" && (this.resetStartLocation(b, a), b.declare = !0), b) : null;
|
|
4674
4674
|
}
|
|
4675
4675
|
parseClassId(r, a, u, b) {
|
|
@@ -4730,7 +4730,7 @@ function Tv() {
|
|
|
4730
4730
|
}
|
|
4731
4731
|
parseMaybeAssign(r, a) {
|
|
4732
4732
|
var u, b, k, _, I;
|
|
4733
|
-
let R, M,
|
|
4733
|
+
let R, M, J, ne;
|
|
4734
4734
|
if (this.hasPlugin("jsx") && (this.match(143) || this.match(47))) {
|
|
4735
4735
|
if (R = this.state.clone(), M = this.tryParse(() => super.parseMaybeAssign(r, a), R), !M.error) return M.node;
|
|
4736
4736
|
const { context: de } = this.state, Pe = de[de.length - 1];
|
|
@@ -4740,16 +4740,16 @@ function Tv() {
|
|
|
4740
4740
|
R && R !== this.state || (R = this.state.clone());
|
|
4741
4741
|
const ve = this.tryParse((de) => {
|
|
4742
4742
|
var Pe, rt;
|
|
4743
|
-
|
|
4743
|
+
ne = this.tsParseTypeParameters(this.tsParseConstModifier);
|
|
4744
4744
|
const Ke = super.parseMaybeAssign(r, a);
|
|
4745
|
-
return (Ke.type !== "ArrowFunctionExpression" || (Pe = Ke.extra) != null && Pe.parenthesized) && de(), ((rt =
|
|
4745
|
+
return (Ke.type !== "ArrowFunctionExpression" || (Pe = Ke.extra) != null && Pe.parenthesized) && de(), ((rt = ne) == null ? void 0 : rt.params.length) !== 0 && this.resetStartLocationFromNode(Ke, ne), Ke.typeParameters = ne, Ke;
|
|
4746
4746
|
}, R);
|
|
4747
|
-
if (!ve.error && !ve.aborted) return
|
|
4748
|
-
if (!M && (o1(!this.hasPlugin("jsx")),
|
|
4747
|
+
if (!ve.error && !ve.aborted) return ne && this.reportReservedArrowTypeParam(ne), ve.node;
|
|
4748
|
+
if (!M && (o1(!this.hasPlugin("jsx")), J = this.tryParse(() => super.parseMaybeAssign(r, a), R), !J.error)) return J.node;
|
|
4749
4749
|
if ((b = M) != null && b.node) return this.state = M.failState, M.node;
|
|
4750
|
-
if (ve.node) return this.state = ve.failState,
|
|
4751
|
-
if ((k =
|
|
4752
|
-
throw ((_ = M) == null ? void 0 : _.error) || ve.error || ((I =
|
|
4750
|
+
if (ve.node) return this.state = ve.failState, ne && this.reportReservedArrowTypeParam(ne), ve.node;
|
|
4751
|
+
if ((k = J) != null && k.node) return this.state = J.failState, J.node;
|
|
4752
|
+
throw ((_ = M) == null ? void 0 : _.error) || ve.error || ((I = J) == null ? void 0 : I.error);
|
|
4753
4753
|
}
|
|
4754
4754
|
reportReservedArrowTypeParam(r) {
|
|
4755
4755
|
var a;
|
|
@@ -4967,15 +4967,15 @@ function Tv() {
|
|
|
4967
4967
|
parseTypeOnlyImportExportSpecifier(r, a, u) {
|
|
4968
4968
|
const b = a ? "imported" : "local", k = a ? "local" : "exported";
|
|
4969
4969
|
let _, I = r[b], R = !1, M = !0;
|
|
4970
|
-
const
|
|
4970
|
+
const J = I.loc.start;
|
|
4971
4971
|
if (this.isContextual(93)) {
|
|
4972
|
-
const
|
|
4972
|
+
const ne = this.parseIdentifier();
|
|
4973
4973
|
if (this.isContextual(93)) {
|
|
4974
4974
|
const ve = this.parseIdentifier();
|
|
4975
|
-
z(this.state.type) ? (R = !0, I =
|
|
4976
|
-
} else z(this.state.type) ? (M = !1, _ = a ? this.parseIdentifier() : this.parseModuleExportName()) : (R = !0, I =
|
|
4975
|
+
z(this.state.type) ? (R = !0, I = ne, _ = a ? this.parseIdentifier() : this.parseModuleExportName(), M = !1) : (_ = ve, M = !1);
|
|
4976
|
+
} else z(this.state.type) ? (M = !1, _ = a ? this.parseIdentifier() : this.parseModuleExportName()) : (R = !0, I = ne);
|
|
4977
4977
|
} else z(this.state.type) && (R = !0, a ? (I = this.parseIdentifier(!0), this.isContextual(93) || this.checkReservedWord(I.name, I.loc.start, !0, !0)) : I = this.parseModuleExportName());
|
|
4978
|
-
R && u && this.raise(a ? ye.TypeModifierIsUsedInTypeImports : ye.TypeModifierIsUsedInTypeExports,
|
|
4978
|
+
R && u && this.raise(a ? ye.TypeModifierIsUsedInTypeImports : ye.TypeModifierIsUsedInTypeExports, J), r[b] = I, r[k] = _, r[a ? "importKind" : "exportKind"] = R ? "type" : "value", M && this.eatContextual(93) && (r[k] = a ? this.parseIdentifier() : this.parseModuleExportName()), r[k] || (r[k] = this.cloneIdentifier(r[b])), a && this.checkIdentifier(r[k], R ? 4098 : 4096);
|
|
4979
4979
|
}
|
|
4980
4980
|
fillOptionalPropertiesForTSESLint(r) {
|
|
4981
4981
|
switch (r.type) {
|
|
@@ -5060,7 +5060,7 @@ function Tv() {
|
|
|
5060
5060
|
parseV8Intrinsic() {
|
|
5061
5061
|
if (this.match(54)) {
|
|
5062
5062
|
const r = this.state.startLoc, a = this.startNode();
|
|
5063
|
-
if (this.next(),
|
|
5063
|
+
if (this.next(), se(this.state.type)) {
|
|
5064
5064
|
const u = this.parseIdentifierName(), b = this.createIdentifier(a, u);
|
|
5065
5065
|
if (this.castNodeTo(b, "V8IntrinsicIdentifier"), this.match(10)) return b;
|
|
5066
5066
|
}
|
|
@@ -5231,21 +5231,21 @@ function Tv() {
|
|
|
5231
5231
|
let k;
|
|
5232
5232
|
r ? k = !1 : (r = new Li(), k = !0);
|
|
5233
5233
|
const { type: _ } = this.state;
|
|
5234
|
-
(_ === 10 ||
|
|
5234
|
+
(_ === 10 || se(_)) && (this.state.potentialArrowAt = this.state.start);
|
|
5235
5235
|
let I = this.parseMaybeConditional(r);
|
|
5236
5236
|
if (a && (I = a.call(this, I, u)), (R = this.state.type) >= 29 && R <= 33) {
|
|
5237
|
-
const M = this.startNodeAt(u),
|
|
5238
|
-
if (M.operator =
|
|
5237
|
+
const M = this.startNodeAt(u), J = this.state.value;
|
|
5238
|
+
if (M.operator = J, this.match(29)) {
|
|
5239
5239
|
this.toAssignable(I, !0), M.left = I;
|
|
5240
|
-
const
|
|
5241
|
-
r.doubleProtoLoc != null && r.doubleProtoLoc.index >=
|
|
5240
|
+
const ne = u.index;
|
|
5241
|
+
r.doubleProtoLoc != null && r.doubleProtoLoc.index >= ne && (r.doubleProtoLoc = null), r.shorthandAssignLoc != null && r.shorthandAssignLoc.index >= ne && (r.shorthandAssignLoc = null), r.privateKeyLoc != null && r.privateKeyLoc.index >= ne && (this.checkDestructuringPrivate(r), r.privateKeyLoc = null), r.voidPatternLoc != null && r.voidPatternLoc.index >= ne && (r.voidPatternLoc = null);
|
|
5242
5242
|
} else M.left = I;
|
|
5243
|
-
return this.next(), M.right = this.parseMaybeAssign(), this.checkLVal(I, this.finishNode(M, "AssignmentExpression"), void 0, void 0, void 0, void 0,
|
|
5243
|
+
return this.next(), M.right = this.parseMaybeAssign(), this.checkLVal(I, this.finishNode(M, "AssignmentExpression"), void 0, void 0, void 0, void 0, J === "||=" || J === "&&=" || J === "??="), M;
|
|
5244
5244
|
}
|
|
5245
5245
|
var R;
|
|
5246
5246
|
if (k && this.checkExpressionErrors(r, !0), b) {
|
|
5247
5247
|
const { type: M } = this.state;
|
|
5248
|
-
if ((this.hasPlugin("v8intrinsic") ?
|
|
5248
|
+
if ((this.hasPlugin("v8intrinsic") ? ce(M) : ce(M) && !this.match(54)) && !this.isAmbiguousPrefixOrIdentifier()) return this.raiseOverwrite(T.YieldNotInGeneratorFunction, u), this.parseYield(u);
|
|
5249
5249
|
}
|
|
5250
5250
|
return I;
|
|
5251
5251
|
}
|
|
@@ -5285,9 +5285,9 @@ function Tv() {
|
|
|
5285
5285
|
const R = b === 41 || b === 42, M = b === 40;
|
|
5286
5286
|
if (M && (_ = Le(42)), this.next(), b === 39 && this.hasPlugin(["pipelineOperator", { proposal: "minimal" }]) && this.state.type === 96 && this.prodParam.hasAwait) throw this.raise(T.UnexpectedAwaitAfterPipelineBody, this.state.startLoc);
|
|
5287
5287
|
I.right = this.parseExprOpRightExpr(b, _);
|
|
5288
|
-
const
|
|
5289
|
-
if (M && (
|
|
5290
|
-
return this.parseExprOp(
|
|
5288
|
+
const J = this.finishNode(I, R || M ? "LogicalExpression" : "BinaryExpression"), ne = this.state.type;
|
|
5289
|
+
if (M && (ne === 41 || ne === 42) || R && ne === 40) throw this.raise(T.MixingCoalesceWithLogical, this.state.startLoc);
|
|
5290
|
+
return this.parseExprOp(J, a, u);
|
|
5291
5291
|
}
|
|
5292
5292
|
}
|
|
5293
5293
|
var k;
|
|
@@ -5329,12 +5329,12 @@ function Tv() {
|
|
|
5329
5329
|
return a || this.checkExponentialAfterUnary(M), M;
|
|
5330
5330
|
}
|
|
5331
5331
|
const k = this.match(34), _ = this.startNode();
|
|
5332
|
-
if (I = this.state.type,
|
|
5332
|
+
if (I = this.state.type, X[I]) {
|
|
5333
5333
|
_.operator = this.state.value, _.prefix = !0, this.match(72) && this.expectPlugin("throwExpressions");
|
|
5334
5334
|
const M = this.match(89);
|
|
5335
5335
|
if (this.next(), _.argument = this.parseMaybeUnary(null, !0), this.checkExpressionErrors(r, !0), this.state.strict && M) {
|
|
5336
|
-
const
|
|
5337
|
-
|
|
5336
|
+
const J = _.argument;
|
|
5337
|
+
J.type === "Identifier" ? this.raise(T.StrictDelete, _) : this.hasPropertyAsPrivateName(J) && this.raise(T.DeletePrivateField, _);
|
|
5338
5338
|
}
|
|
5339
5339
|
if (!k) return a || this.checkExponentialAfterUnary(_), this.finishNode(_, "UnaryExpression");
|
|
5340
5340
|
}
|
|
@@ -5342,7 +5342,7 @@ function Tv() {
|
|
|
5342
5342
|
const R = this.parseUpdate(_, k, r);
|
|
5343
5343
|
if (b) {
|
|
5344
5344
|
const { type: M } = this.state;
|
|
5345
|
-
if ((this.hasPlugin("v8intrinsic") ?
|
|
5345
|
+
if ((this.hasPlugin("v8intrinsic") ? ce(M) : ce(M) && !this.match(54)) && !this.isAmbiguousPrefixOrIdentifier()) return this.raiseOverwrite(T.AwaitNotInAsyncContext, u), this.parseAwait(u);
|
|
5346
5346
|
}
|
|
5347
5347
|
return R;
|
|
5348
5348
|
}
|
|
@@ -5405,8 +5405,8 @@ function Tv() {
|
|
|
5405
5405
|
I.callee = r;
|
|
5406
5406
|
const { maybeAsyncArrow: R, optionalChainMember: M } = u;
|
|
5407
5407
|
R && (this.expressionScope.enter(new n1(2)), _ = new Li()), M && (I.optional = b), I.arguments = b ? this.parseCallExpressionArguments() : this.parseCallExpressionArguments(r.type !== "Super", I, _);
|
|
5408
|
-
let
|
|
5409
|
-
return R && this.shouldParseAsyncArrow() && !b ? (u.stop = !0, this.checkDestructuringPrivate(_), this.expressionScope.validateAsPattern(), this.expressionScope.exit(),
|
|
5408
|
+
let J = this.finishCallExpression(I, M);
|
|
5409
|
+
return R && this.shouldParseAsyncArrow() && !b ? (u.stop = !0, this.checkDestructuringPrivate(_), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), J = this.parseAsyncArrowFromCallExpression(this.startNodeAt(a), J)) : (R && (this.checkExpressionErrors(_, !0), this.expressionScope.exit()), this.toReferencedArguments(J)), this.state.maybeInArrowParameters = k, J;
|
|
5410
5410
|
}
|
|
5411
5411
|
toReferencedArguments(r, a) {
|
|
5412
5412
|
this.toReferencedListDeep(r.arguments, a);
|
|
@@ -5524,13 +5524,13 @@ function Tv() {
|
|
|
5524
5524
|
if (b === 137) return this.parseDecimalLiteral(this.state.value);
|
|
5525
5525
|
if (b === 2 || b === 1) return this.parseArrayLike(this.state.type === 2 ? 4 : 3, !0);
|
|
5526
5526
|
if (b === 6 || b === 7) return this.parseObjectLike(this.state.type === 6 ? 9 : 8, !1, !0);
|
|
5527
|
-
if (
|
|
5527
|
+
if (se(b)) {
|
|
5528
5528
|
if (this.isContextual(127) && this.lookaheadInLineCharCode() === 123) return this.parseModuleExpression();
|
|
5529
5529
|
const k = this.state.potentialArrowAt === this.state.start, _ = this.state.containsEsc, I = this.parseIdentifier();
|
|
5530
5530
|
if (!_ && I.name === "async" && !this.canInsertSemicolon()) {
|
|
5531
5531
|
const { type: R } = this.state;
|
|
5532
5532
|
if (R === 68) return this.resetPreviousNodeTrailingComments(I), this.next(), this.parseAsyncFunctionExpression(this.startNodeAtNode(I));
|
|
5533
|
-
if (
|
|
5533
|
+
if (se(R)) return this.lookaheadCharCode() === 61 ? this.parseAsyncArrowUnaryFunction(this.startNodeAtNode(I)) : I;
|
|
5534
5534
|
if (R === 90) return this.resetPreviousNodeTrailingComments(I), this.parseDo(this.startNodeAtNode(I), !0);
|
|
5535
5535
|
}
|
|
5536
5536
|
return k && this.match(19) && !this.canInsertSemicolon() ? (this.next(), this.parseArrowExpression(this.startNodeAtNode(I), [I], !1)) : I;
|
|
@@ -5640,11 +5640,11 @@ function Tv() {
|
|
|
5640
5640
|
const b = this.state.maybeInArrowParameters, k = this.state.inFSharpPipelineDirectBody;
|
|
5641
5641
|
this.state.maybeInArrowParameters = !0, this.state.inFSharpPipelineDirectBody = !1;
|
|
5642
5642
|
const _ = this.state.startLoc, I = [], R = new Li();
|
|
5643
|
-
let M,
|
|
5643
|
+
let M, J, ne = !0;
|
|
5644
5644
|
for (; !this.match(11); ) {
|
|
5645
|
-
if (
|
|
5645
|
+
if (ne) ne = !1;
|
|
5646
5646
|
else if (this.expect(12, R.optionalParametersLoc === null ? null : R.optionalParametersLoc), this.match(11)) {
|
|
5647
|
-
|
|
5647
|
+
J = this.state.startLoc;
|
|
5648
5648
|
break;
|
|
5649
5649
|
}
|
|
5650
5650
|
if (this.match(21)) {
|
|
@@ -5655,7 +5655,7 @@ function Tv() {
|
|
|
5655
5655
|
const ve = this.state.lastTokEndLoc;
|
|
5656
5656
|
this.expect(11), this.state.maybeInArrowParameters = b, this.state.inFSharpPipelineDirectBody = k;
|
|
5657
5657
|
let de = this.startNodeAt(a);
|
|
5658
|
-
return r && this.shouldParseArrow(I) && (de = this.parseArrow(de)) ? (this.checkDestructuringPrivate(R), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), this.parseArrowExpression(de, I, !1), de) : (this.expressionScope.exit(), I.length || this.unexpected(this.state.lastTokStartLoc),
|
|
5658
|
+
return r && this.shouldParseArrow(I) && (de = this.parseArrow(de)) ? (this.checkDestructuringPrivate(R), this.expressionScope.validateAsPattern(), this.expressionScope.exit(), this.parseArrowExpression(de, I, !1), de) : (this.expressionScope.exit(), I.length || this.unexpected(this.state.lastTokStartLoc), J && this.unexpected(J), M && this.unexpected(M), this.checkExpressionErrors(R, !0), this.toReferencedListDeep(I, !0), I.length > 1 ? (u = this.startNodeAt(_), u.expressions = I, this.finishNode(u, "SequenceExpression"), this.resetEndLocation(u, ve)) : u = I[0], this.wrapParenthesis(a, u));
|
|
5659
5659
|
}
|
|
5660
5660
|
wrapParenthesis(r, a) {
|
|
5661
5661
|
if (!(1024 & this.optionFlags)) return this.addExtra(a, "parenthesized", !0), this.addExtra(a, "parenStart", r.index), this.takeSurroundingComments(a, r.index, this.state.lastTokEndLoc.index), a;
|
|
@@ -5695,11 +5695,11 @@ function Tv() {
|
|
|
5695
5695
|
parseTemplateElement(r) {
|
|
5696
5696
|
const { start: a, startLoc: u, end: b, value: k } = this.state, _ = a + 1, I = this.startNodeAt(n(u, 1));
|
|
5697
5697
|
k === null && (r || this.raise(T.InvalidEscapeSequenceTemplate, n(this.state.firstInvalidTemplateEscapePos, 1)));
|
|
5698
|
-
const R = this.match(24), M = R ? -1 : -2,
|
|
5699
|
-
I.value = { raw: this.input.slice(_,
|
|
5698
|
+
const R = this.match(24), M = R ? -1 : -2, J = b + M;
|
|
5699
|
+
I.value = { raw: this.input.slice(_, J).replace(/\r\n?/g, `
|
|
5700
5700
|
`), cooked: k === null ? null : k.slice(1, M) }, I.tail = R, this.next();
|
|
5701
|
-
const
|
|
5702
|
-
return this.resetEndLocation(
|
|
5701
|
+
const ne = this.finishNode(I, "TemplateElement");
|
|
5702
|
+
return this.resetEndLocation(ne, n(this.state.lastTokEndLoc, M)), ne;
|
|
5703
5703
|
}
|
|
5704
5704
|
parseTemplate(r) {
|
|
5705
5705
|
const a = this.startNode();
|
|
@@ -5723,8 +5723,8 @@ function Tv() {
|
|
|
5723
5723
|
this.addTrailingCommaExtraToNode(R);
|
|
5724
5724
|
break;
|
|
5725
5725
|
}
|
|
5726
|
-
let
|
|
5727
|
-
a ?
|
|
5726
|
+
let J;
|
|
5727
|
+
a ? J = this.parseBindingProperty() : (J = this.parsePropertyDefinition(b), _ = this.checkProto(J, u, _, b)), u && !this.isObjectProperty(J) && J.type !== "SpreadElement" && this.raise(T.InvalidRecordProperty, J), J.shorthand && this.addExtra(J, "shorthand", !0), R.properties.push(J);
|
|
5728
5728
|
}
|
|
5729
5729
|
this.next(), this.state.inFSharpPipelineDirectBody = k;
|
|
5730
5730
|
let M = "ObjectExpression";
|
|
@@ -5747,8 +5747,8 @@ function Tv() {
|
|
|
5747
5747
|
this.parsePropertyNamePrefixOperator(u);
|
|
5748
5748
|
const R = this.state.containsEsc;
|
|
5749
5749
|
if (this.parsePropertyName(u, r), !I && !R && this.maybeAsyncOrAccessorProp(u)) {
|
|
5750
|
-
const { key: M } = u,
|
|
5751
|
-
|
|
5750
|
+
const { key: M } = u, J = M.name;
|
|
5751
|
+
J !== "async" || this.hasPrecedingLineBreak() || (k = !0, this.resetPreviousNodeTrailingComments(M), I = this.eat(55), this.parsePropertyName(u)), J !== "get" && J !== "set" || (_ = !0, this.resetPreviousNodeTrailingComments(M), u.kind = J, this.match(55) && (I = !0, this.raise(T.AccessorIsGenerator, this.state.curPosition(), { kind: J }), this.next()), this.parsePropertyName(u));
|
|
5752
5752
|
}
|
|
5753
5753
|
return this.parseObjPropValue(u, b, I, k, !1, _, r);
|
|
5754
5754
|
}
|
|
@@ -6112,14 +6112,14 @@ function Tv() {
|
|
|
6112
6112
|
const I = u[_], { type: R } = I;
|
|
6113
6113
|
if (typeof R == "number") {
|
|
6114
6114
|
if (R === 139) {
|
|
6115
|
-
const { loc: M, start:
|
|
6116
|
-
u.splice(_, 1, new $r({ type: Me(27), value: "#", start:
|
|
6115
|
+
const { loc: M, start: J, value: ne, end: ve } = I, de = J + 1, Pe = n(M.start, 1);
|
|
6116
|
+
u.splice(_, 1, new $r({ type: Me(27), value: "#", start: J, end: de, startLoc: M.start, endLoc: Pe }), new $r({ type: Me(132), value: ne, start: de, end: ve, startLoc: Pe, endLoc: M.end })), _++;
|
|
6117
6117
|
continue;
|
|
6118
6118
|
}
|
|
6119
6119
|
if (qe(R)) {
|
|
6120
|
-
const { loc: M, start:
|
|
6120
|
+
const { loc: M, start: J, value: ne, end: ve } = I, de = J + 1, Pe = n(M.start, 1);
|
|
6121
6121
|
let rt, Ke, Ne, it, En;
|
|
6122
|
-
rt = b.charCodeAt(
|
|
6122
|
+
rt = b.charCodeAt(J - k) === 96 ? new $r({ type: Me(22), value: "`", start: J, end: de, startLoc: M.start, endLoc: Pe }) : new $r({ type: Me(8), value: "}", start: J, end: de, startLoc: M.start, endLoc: Pe }), R === 24 ? (Ne = ve - 1, it = n(M.end, -1), Ke = ne === null ? null : ne.slice(1, -1), En = new $r({ type: Me(22), value: "`", start: Ne, end: ve, startLoc: it, endLoc: M.end })) : (Ne = ve - 2, it = n(M.end, -2), Ke = ne === null ? null : ne.slice(1, -2), En = new $r({ type: Me(23), value: "${", start: Ne, end: ve, startLoc: it, endLoc: M.end })), u.splice(_, 1, rt, new $r({ type: Me(20), value: Ke, start: de, end: Ne, startLoc: Pe, endLoc: it }), En), _ += 2;
|
|
6123
6123
|
continue;
|
|
6124
6124
|
}
|
|
6125
6125
|
I.type = Me(R);
|
|
@@ -6251,15 +6251,15 @@ function Tv() {
|
|
|
6251
6251
|
return this.allowsUsing() ? k || this.raise(T.UnexpectedLexicalDeclaration, this.state.startLoc) : this.raise(T.UnexpectedUsingDeclaration, this.state.startLoc), this.parseVarStatement(b, "using");
|
|
6252
6252
|
case 100: {
|
|
6253
6253
|
if (this.state.containsEsc) break;
|
|
6254
|
-
const
|
|
6255
|
-
if (
|
|
6254
|
+
const J = this.nextTokenStart(), ne = this.codePointAtPos(J);
|
|
6255
|
+
if (ne !== 91 && (!k && this.hasFollowingLineBreak() || !this.chStartsBindingIdentifier(ne, J) && ne !== 123))
|
|
6256
6256
|
break;
|
|
6257
6257
|
}
|
|
6258
6258
|
case 75:
|
|
6259
6259
|
k || this.raise(T.UnexpectedLexicalDeclaration, this.state.startLoc);
|
|
6260
6260
|
case 74: {
|
|
6261
|
-
const
|
|
6262
|
-
return this.parseVarStatement(b,
|
|
6261
|
+
const J = this.state.value;
|
|
6262
|
+
return this.parseVarStatement(b, J);
|
|
6263
6263
|
}
|
|
6264
6264
|
case 92:
|
|
6265
6265
|
return this.parseWhileStatement(b);
|
|
@@ -6270,18 +6270,18 @@ function Tv() {
|
|
|
6270
6270
|
case 13:
|
|
6271
6271
|
return this.parseEmptyStatement(b);
|
|
6272
6272
|
case 83: {
|
|
6273
|
-
const
|
|
6274
|
-
if (
|
|
6273
|
+
const J = this.lookaheadCharCode();
|
|
6274
|
+
if (J === 40 || J === 46) break;
|
|
6275
6275
|
}
|
|
6276
6276
|
case 82: {
|
|
6277
|
-
let
|
|
6278
|
-
return 8 & this.optionFlags || I || this.raise(T.UnexpectedImportExport, this.state.startLoc), this.next(),
|
|
6277
|
+
let J;
|
|
6278
|
+
return 8 & this.optionFlags || I || this.raise(T.UnexpectedImportExport, this.state.startLoc), this.next(), J = u === 83 ? this.parseImport(b) : this.parseExport(b, a), this.assertModuleNodeAllowed(J), J;
|
|
6279
6279
|
}
|
|
6280
6280
|
default:
|
|
6281
6281
|
if (this.isAsyncFunction()) return k || this.raise(T.AsyncFunctionInSingleStatementContext, this.state.startLoc), this.next(), this.parseFunctionStatement(b, !0, !k && _);
|
|
6282
6282
|
}
|
|
6283
6283
|
const R = this.state.value, M = this.parseExpression();
|
|
6284
|
-
return
|
|
6284
|
+
return se(u) && M.type === "Identifier" && this.eat(14) ? this.parseLabeledStatement(b, R, M, r) : this.parseExpressionStatement(b, M, a);
|
|
6285
6285
|
}
|
|
6286
6286
|
assertModuleNodeAllowed(r) {
|
|
6287
6287
|
8 & this.optionFlags || this.inModule || this.raise(T.ImportOutsideModule, r);
|
|
@@ -6365,12 +6365,12 @@ function Tv() {
|
|
|
6365
6365
|
if (this.isContextual(96) && this.recordAwaitIfAllowed() && (a = this.state.startLoc, this.next()), this.scope.enter(0), this.expect(10), this.match(13)) return a !== null && this.unexpected(a), this.parseFor(r, null);
|
|
6366
6366
|
const u = this.isContextual(100);
|
|
6367
6367
|
{
|
|
6368
|
-
const R = this.isAwaitUsing(), M = R || this.isForUsing(),
|
|
6369
|
-
if (this.match(74) || this.match(75) ||
|
|
6370
|
-
const
|
|
6368
|
+
const R = this.isAwaitUsing(), M = R || this.isForUsing(), J = u && this.hasFollowingBindingAtom() || M;
|
|
6369
|
+
if (this.match(74) || this.match(75) || J) {
|
|
6370
|
+
const ne = this.startNode();
|
|
6371
6371
|
let ve;
|
|
6372
|
-
R ? (ve = "await using", this.recordAwaitIfAllowed() || this.raise(T.AwaitUsingNotInAsyncContext, this.state.startLoc), this.next()) : ve = this.state.value, this.next(), this.parseVar(
|
|
6373
|
-
const de = this.finishNode(
|
|
6372
|
+
R ? (ve = "await using", this.recordAwaitIfAllowed() || this.raise(T.AwaitUsingNotInAsyncContext, this.state.startLoc), this.next()) : ve = this.state.value, this.next(), this.parseVar(ne, !0, ve);
|
|
6373
|
+
const de = this.finishNode(ne, "VariableDeclaration"), Pe = this.match(58);
|
|
6374
6374
|
return Pe && M && this.raise(T.ForInUsing, de), (Pe || this.isContextual(102)) && de.declarations.length === 1 ? this.parseForIn(r, de, a) : (a !== null && this.unexpected(a), this.parseFor(r, de));
|
|
6375
6375
|
}
|
|
6376
6376
|
}
|
|
@@ -6460,8 +6460,8 @@ function Tv() {
|
|
|
6460
6460
|
const M = u ? this.parseModuleItem() : this.parseStatementListItem();
|
|
6461
6461
|
if (a && !R) {
|
|
6462
6462
|
if (this.isValidDirective(M)) {
|
|
6463
|
-
const
|
|
6464
|
-
a.push(
|
|
6463
|
+
const J = this.stmtToDirective(M);
|
|
6464
|
+
a.push(J), I || J.value.value !== "use strict" || (I = !0, this.setStrict(!0));
|
|
6465
6465
|
continue;
|
|
6466
6466
|
}
|
|
6467
6467
|
R = !0, this.state.strictErrors.clear();
|
|
@@ -6501,7 +6501,7 @@ function Tv() {
|
|
|
6501
6501
|
}), this.prodParam.exit(), this.scope.exit(), b && !u && this.registerFunctionStatementId(r), this.state.maybeInArrowParameters = I, r;
|
|
6502
6502
|
}
|
|
6503
6503
|
parseFunctionId(r) {
|
|
6504
|
-
return r ||
|
|
6504
|
+
return r || se(this.state.type) ? this.parseIdentifier() : null;
|
|
6505
6505
|
}
|
|
6506
6506
|
parseFunctionParams(r, a) {
|
|
6507
6507
|
this.expect(10), this.expressionScope.enter(new Oi(3)), r.params = this.parseBindingList(11, 41, 2 | (a ? 4 : 0)), this.expressionScope.exit();
|
|
@@ -6568,15 +6568,15 @@ function Tv() {
|
|
|
6568
6568
|
this.parseClassMemberWithIsStatic(r, a, u, b);
|
|
6569
6569
|
}
|
|
6570
6570
|
parseClassMemberWithIsStatic(r, a, u, b) {
|
|
6571
|
-
const k = a, _ = a, I = a, R = a, M = a,
|
|
6571
|
+
const k = a, _ = a, I = a, R = a, M = a, J = k, ne = k;
|
|
6572
6572
|
if (a.static = b, this.parsePropertyNamePrefixOperator(a), this.eat(55)) {
|
|
6573
|
-
|
|
6573
|
+
J.kind = "method";
|
|
6574
6574
|
const Ne = this.match(139);
|
|
6575
|
-
return this.parseClassElementName(
|
|
6575
|
+
return this.parseClassElementName(J), this.parsePostMemberNameModifiers(J), Ne ? void this.pushClassPrivateMethod(r, _, !0, !1) : (this.isNonstaticConstructor(k) && this.raise(T.ConstructorIsGenerator, k.key), void this.pushClassMethod(r, k, !0, !1, !1, !1));
|
|
6576
6576
|
}
|
|
6577
|
-
const ve = !this.state.containsEsc &&
|
|
6578
|
-
if (this.parsePostMemberNameModifiers(
|
|
6579
|
-
if (
|
|
6577
|
+
const ve = !this.state.containsEsc && se(this.state.type), de = this.parseClassElementName(a), Pe = ve ? de.name : null, rt = this.isPrivateName(de), Ke = this.state.startLoc;
|
|
6578
|
+
if (this.parsePostMemberNameModifiers(ne), this.isClassMethod()) {
|
|
6579
|
+
if (J.kind = "method", rt) return void this.pushClassPrivateMethod(r, _, !1, !1);
|
|
6580
6580
|
const Ne = this.isNonstaticConstructor(k);
|
|
6581
6581
|
let it = !1;
|
|
6582
6582
|
Ne && (k.kind = "constructor", u.hadConstructor && !this.hasPlugin("typescript") && this.raise(T.DuplicateConstructor, de), Ne && this.hasPlugin("typescript") && a.override && this.raise(T.OverrideOnConstructor, de), u.hadConstructor = !0, it = u.hadSuperClass), this.pushClassMethod(r, k, !1, !1, Ne, it);
|
|
@@ -6588,16 +6588,16 @@ function Tv() {
|
|
|
6588
6588
|
this.parseClassElementName(I), this.pushClassAccessorProperty(r, M, Ne);
|
|
6589
6589
|
}
|
|
6590
6590
|
else {
|
|
6591
|
-
this.resetPreviousNodeTrailingComments(de),
|
|
6591
|
+
this.resetPreviousNodeTrailingComments(de), J.kind = Pe;
|
|
6592
6592
|
const Ne = this.match(139);
|
|
6593
6593
|
this.parseClassElementName(k), Ne ? this.pushClassPrivateMethod(r, _, !1, !1) : (this.isNonstaticConstructor(k) && this.raise(T.ConstructorIsAccessor, k.key), this.pushClassMethod(r, k, !1, !1, !1, !1)), this.checkGetterSetterParams(k);
|
|
6594
6594
|
}
|
|
6595
6595
|
else {
|
|
6596
6596
|
this.resetPreviousNodeTrailingComments(de);
|
|
6597
6597
|
const Ne = this.eat(55);
|
|
6598
|
-
|
|
6598
|
+
ne.optional && this.unexpected(Ke), J.kind = "method";
|
|
6599
6599
|
const it = this.match(139);
|
|
6600
|
-
this.parseClassElementName(
|
|
6600
|
+
this.parseClassElementName(J), this.parsePostMemberNameModifiers(ne), it ? this.pushClassPrivateMethod(r, _, Ne, !0) : (this.isNonstaticConstructor(k) && this.raise(T.ConstructorIsAsync, k.key), this.pushClassMethod(r, k, Ne, !0, !1, !1));
|
|
6601
6601
|
}
|
|
6602
6602
|
}
|
|
6603
6603
|
parseClassElementName(r) {
|
|
@@ -6656,7 +6656,7 @@ function Tv() {
|
|
|
6656
6656
|
this.scope.enter(592), this.expressionScope.enter(i1()), this.prodParam.enter(0), r.value = this.eat(29) ? this.parseMaybeAssignAllowIn() : null, this.expressionScope.exit(), this.prodParam.exit(), this.scope.exit();
|
|
6657
6657
|
}
|
|
6658
6658
|
parseClassId(r, a, u, b = 8331) {
|
|
6659
|
-
if (
|
|
6659
|
+
if (se(this.state.type)) r.id = this.parseIdentifier(), a && this.declareNameFromIdentifier(r.id, b);
|
|
6660
6660
|
else {
|
|
6661
6661
|
if (!u && a) throw this.raise(T.MissingClassName, this.state.startLoc);
|
|
6662
6662
|
r.id = null;
|
|
@@ -6671,13 +6671,13 @@ function Tv() {
|
|
|
6671
6671
|
if (b && this.unexpected(), a) throw this.raise(T.UnsupportedDecoratorExport, r);
|
|
6672
6672
|
return this.parseExportFrom(r, !0), this.sawUnambiguousESM = !0, this.finishNode(r, "ExportAllDeclaration");
|
|
6673
6673
|
}
|
|
6674
|
-
const
|
|
6675
|
-
let
|
|
6676
|
-
if (b && k && !_ && !
|
|
6677
|
-
if (
|
|
6674
|
+
const J = this.maybeParseExportNamedSpecifiers(r);
|
|
6675
|
+
let ne;
|
|
6676
|
+
if (b && k && !_ && !J && this.unexpected(null, 5), I && R && this.unexpected(null, 98), M || J) {
|
|
6677
|
+
if (ne = !1, a) throw this.raise(T.UnsupportedDecoratorExport, r);
|
|
6678
6678
|
this.parseExportFrom(r, M);
|
|
6679
|
-
} else
|
|
6680
|
-
if (M ||
|
|
6679
|
+
} else ne = this.maybeParseExportDeclaration(r);
|
|
6680
|
+
if (M || J || ne) {
|
|
6681
6681
|
var ve;
|
|
6682
6682
|
const de = r;
|
|
6683
6683
|
if (this.checkExport(de, !0, !1, !!de.source), ((ve = de.declaration) == null ? void 0 : ve.type) === "ClassDeclaration") this.maybeTakeDecorators(a, de.declaration, de);
|
|
@@ -6744,7 +6744,7 @@ function Tv() {
|
|
|
6744
6744
|
}
|
|
6745
6745
|
isExportDefaultSpecifier() {
|
|
6746
6746
|
const { type: r } = this.state;
|
|
6747
|
-
if (
|
|
6747
|
+
if (se(r)) {
|
|
6748
6748
|
if (r === 95 && !this.state.containsEsc || r === 100) return !1;
|
|
6749
6749
|
if ((r === 130 || r === 129) && !this.state.containsEsc) {
|
|
6750
6750
|
const b = this.nextTokenStart(), k = this.input.charCodeAt(b);
|
|
@@ -6752,7 +6752,7 @@ function Tv() {
|
|
|
6752
6752
|
}
|
|
6753
6753
|
} else if (!this.match(65)) return !1;
|
|
6754
6754
|
const a = this.nextTokenStart(), u = this.isUnparsedContextual(a, "from");
|
|
6755
|
-
if (this.input.charCodeAt(a) === 44 ||
|
|
6755
|
+
if (this.input.charCodeAt(a) === 44 || se(this.state.type) && u) return !0;
|
|
6756
6756
|
if (this.match(65) && u) {
|
|
6757
6757
|
const b = this.input.charCodeAt(this.nextTokenStartSince(a + 4));
|
|
6758
6758
|
return b === 34 || b === 39;
|
|
@@ -6778,8 +6778,8 @@ function Tv() {
|
|
|
6778
6778
|
} else if ((k = r.specifiers) != null && k.length) for (const I of r.specifiers) {
|
|
6779
6779
|
const { exported: R } = I, M = R.type === "Identifier" ? R.name : R.value;
|
|
6780
6780
|
if (this.checkDuplicateExports(I, M), !b && I.local) {
|
|
6781
|
-
const { local:
|
|
6782
|
-
|
|
6781
|
+
const { local: J } = I;
|
|
6782
|
+
J.type !== "Identifier" ? this.raise(T.ExportBindingIsString, I, { localName: J.value, exportName: M }) : (this.checkReservedWord(J.name, J.loc.start, !0, !1), this.scope.checkLocalExport(J));
|
|
6783
6783
|
}
|
|
6784
6784
|
}
|
|
6785
6785
|
else if (r.declaration) {
|
|
@@ -6859,7 +6859,7 @@ function Tv() {
|
|
|
6859
6859
|
}
|
|
6860
6860
|
isPrecedingIdImportPhase(r) {
|
|
6861
6861
|
const { type: a } = this.state;
|
|
6862
|
-
return
|
|
6862
|
+
return se(a) ? a !== 98 || this.lookaheadCharCode() === 102 : a !== 12;
|
|
6863
6863
|
}
|
|
6864
6864
|
parseImport(r) {
|
|
6865
6865
|
return this.match(134) ? this.parseImportSourceAndAttributes(r) : this.parseImportSpecifiersAndAfter(r, this.parseMaybeImportPhase(r, !1));
|
|
@@ -7017,7 +7017,7 @@ function Tv() {
|
|
|
7017
7017
|
if (b.has("v8intrinsic")) throw new Error("Cannot combine v8intrinsic plugin and Hack-style pipes.");
|
|
7018
7018
|
const R = b.get("pipelineOperator").topicToken;
|
|
7019
7019
|
if (!u1.includes(R)) {
|
|
7020
|
-
const M = u1.map((
|
|
7020
|
+
const M = u1.map((J) => `"${J}"`).join(", ");
|
|
7021
7021
|
throw new Error(`"pipelineOperator" in "proposal": "hack" mode also requires a "topicToken" option whose value must be one of: ${M}.`);
|
|
7022
7022
|
}
|
|
7023
7023
|
var _;
|
|
@@ -8156,15 +8156,15 @@ function jy(e) {
|
|
|
8156
8156
|
const t = e.codegenNode;
|
|
8157
8157
|
if (t.type === 13) return t.props;
|
|
8158
8158
|
}
|
|
8159
|
-
function vi(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !1, hmr: i = !1, cacheHandlers: o = !1, nodeTransforms: c = [], directiveTransforms: l = {}, transformHoist: p = null, isBuiltInComponent: d = fc, isCustomElement: f = fc, expressionPlugins: m = [], scopeId: x = null, slotted: g = !0, ssr: y = !1, inSSR: v = !1, ssrCssVars: T = "", bindingMetadata: w = HT, inline: E = !1, isTS: C = !1, onError: A = oh, onWarn: O = by, compatConfig:
|
|
8160
|
-
const N = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), j = { filename: t, selfName: N && Zr(Ft(N[1])), prefixIdentifiers: s, hoistStatic: n, hmr: i, cacheHandlers: o, nodeTransforms: c, directiveTransforms: l, transformHoist: p, isBuiltInComponent: d, isCustomElement: f, expressionPlugins: m, scopeId: x, slotted: g, ssr: y, inSSR: v, ssrCssVars: T, bindingMetadata: w, inline: E, isTS: C, onError: A, onWarn: O, compatConfig:
|
|
8161
|
-
const
|
|
8162
|
-
return j.helpers.set(W,
|
|
8159
|
+
function vi(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !1, hmr: i = !1, cacheHandlers: o = !1, nodeTransforms: c = [], directiveTransforms: l = {}, transformHoist: p = null, isBuiltInComponent: d = fc, isCustomElement: f = fc, expressionPlugins: m = [], scopeId: x = null, slotted: g = !0, ssr: y = !1, inSSR: v = !1, ssrCssVars: T = "", bindingMetadata: w = HT, inline: E = !1, isTS: C = !1, onError: A = oh, onWarn: O = by, compatConfig: D }) {
|
|
8160
|
+
const N = t.replace(/\?.*$/, "").match(/([^/\\]+)\.\w+$/), j = { filename: t, selfName: N && Zr(Ft(N[1])), prefixIdentifiers: s, hoistStatic: n, hmr: i, cacheHandlers: o, nodeTransforms: c, directiveTransforms: l, transformHoist: p, isBuiltInComponent: d, isCustomElement: f, expressionPlugins: m, scopeId: x, slotted: g, ssr: y, inSSR: v, ssrCssVars: T, bindingMetadata: w, inline: E, isTS: C, onError: A, onWarn: O, compatConfig: D, root: e, helpers: /* @__PURE__ */ new Map(), components: /* @__PURE__ */ new Set(), directives: /* @__PURE__ */ new Set(), hoists: [], imports: [], cached: [], constantCache: /* @__PURE__ */ new WeakMap(), temps: 0, identifiers: /* @__PURE__ */ Object.create(null), scopes: { vFor: 0, vSlot: 0, vPre: 0, vOnce: 0 }, parent: null, grandParent: null, currentNode: e, childIndex: 0, inVOnce: !1, helper(W) {
|
|
8161
|
+
const V = j.helpers.get(W) || 0;
|
|
8162
|
+
return j.helpers.set(W, V + 1), W;
|
|
8163
8163
|
}, removeHelper(W) {
|
|
8164
|
-
const
|
|
8165
|
-
if (
|
|
8166
|
-
const
|
|
8167
|
-
|
|
8164
|
+
const V = j.helpers.get(W);
|
|
8165
|
+
if (V) {
|
|
8166
|
+
const F = V - 1;
|
|
8167
|
+
F ? j.helpers.set(W, F) : j.helpers.delete(W);
|
|
8168
8168
|
}
|
|
8169
8169
|
}, helperString: (W) => `_${Dt[j.helper(W)]}`, replaceNode(W) {
|
|
8170
8170
|
if (!j.currentNode) throw new Error("Node being replaced is already removed.");
|
|
@@ -8172,26 +8172,26 @@ function vi(e, { filename: t = "", prefixIdentifiers: s = !1, hoistStatic: n = !
|
|
|
8172
8172
|
j.parent.children[j.childIndex] = j.currentNode = W;
|
|
8173
8173
|
}, removeNode(W) {
|
|
8174
8174
|
if (!j.parent) throw new Error("Cannot remove root node.");
|
|
8175
|
-
const
|
|
8176
|
-
if (
|
|
8177
|
-
W && W !== j.currentNode ? j.childIndex >
|
|
8175
|
+
const V = j.parent.children, F = W ? V.indexOf(W) : j.currentNode ? j.childIndex : -1;
|
|
8176
|
+
if (F < 0) throw new Error("node being removed is not a child of current parent");
|
|
8177
|
+
W && W !== j.currentNode ? j.childIndex > F && (j.childIndex--, j.onNodeRemoved()) : (j.currentNode = null, j.onNodeRemoved()), j.parent.children.splice(F, 1);
|
|
8178
8178
|
}, onNodeRemoved: fc, addIdentifiers(W) {
|
|
8179
8179
|
De(W) ? U(W) : W.identifiers ? W.identifiers.forEach(U) : W.type === 4 && U(W.content);
|
|
8180
8180
|
}, removeIdentifiers(W) {
|
|
8181
|
-
De(W) ?
|
|
8181
|
+
De(W) ? K(W) : W.identifiers ? W.identifiers.forEach(K) : W.type === 4 && K(W.content);
|
|
8182
8182
|
}, hoist(W) {
|
|
8183
8183
|
De(W) && (W = ue(W)), j.hoists.push(W);
|
|
8184
|
-
const
|
|
8185
|
-
return
|
|
8186
|
-
}, cache(W,
|
|
8187
|
-
const q = dy(j.cached.length, W,
|
|
8184
|
+
const V = ue(`_hoisted_${j.hoists.length}`, !1, W.loc, 2);
|
|
8185
|
+
return V.hoisted = W, V;
|
|
8186
|
+
}, cache(W, V = !1, F = !1) {
|
|
8187
|
+
const q = dy(j.cached.length, W, V, F);
|
|
8188
8188
|
return j.cached.push(q), q;
|
|
8189
8189
|
} };
|
|
8190
8190
|
function U(W) {
|
|
8191
|
-
const { identifiers:
|
|
8192
|
-
|
|
8191
|
+
const { identifiers: V } = j;
|
|
8192
|
+
V[W] === void 0 && (V[W] = 0), V[W]++;
|
|
8193
8193
|
}
|
|
8194
|
-
function
|
|
8194
|
+
function K(W) {
|
|
8195
8195
|
j.identifiers[W]--;
|
|
8196
8196
|
}
|
|
8197
8197
|
return j;
|
|
@@ -8637,7 +8637,7 @@ function Bv() {
|
|
|
8637
8637
|
default:
|
|
8638
8638
|
throw new Error("Unknown order of iteration.");
|
|
8639
8639
|
}
|
|
8640
|
-
for (var T = this.sourceRoot, w = m.bind(v), E = this._names, C = this._sources, A = this._sourceMapURL, O = 0,
|
|
8640
|
+
for (var T = this.sourceRoot, w = m.bind(v), E = this._names, C = this._sources, A = this._sourceMapURL, O = 0, D = y.length; O < D; O++) {
|
|
8641
8641
|
var N = y[O], j = N.source === null ? null : C.at(N.source);
|
|
8642
8642
|
j !== null && (j = e.computeSourceURL(T, j, A)), w({ source: j, generatedLine: N.generatedLine, generatedColumn: N.generatedColumn, originalLine: N.originalLine, originalColumn: N.originalColumn, name: N.name === null ? null : E.at(N.name) });
|
|
8643
8643
|
}
|
|
@@ -8662,8 +8662,8 @@ function Bv() {
|
|
|
8662
8662
|
return e.computeSourceURL(g.sourceRoot, N, x);
|
|
8663
8663
|
});
|
|
8664
8664
|
for (var T = m._mappings.toArray().slice(), w = g.__generatedMappings = [], E = g.__originalMappings = [], C = 0, A = T.length; C < A; C++) {
|
|
8665
|
-
var O = T[C],
|
|
8666
|
-
|
|
8665
|
+
var O = T[C], D = new l();
|
|
8666
|
+
D.generatedLine = O.generatedLine, D.generatedColumn = O.generatedColumn, O.source && (D.source = v.indexOf(O.source), D.originalLine = O.originalLine, D.originalColumn = O.originalColumn, O.name && (D.name = y.indexOf(O.name)), E.push(D)), w.push(D);
|
|
8667
8667
|
}
|
|
8668
8668
|
return i(g.__originalMappings, e.compareByOriginalPositions), g;
|
|
8669
8669
|
}, c.prototype._version = 3, Object.defineProperty(c.prototype, "sources", { get: function() {
|
|
@@ -8697,24 +8697,24 @@ function Bv() {
|
|
|
8697
8697
|
});
|
|
8698
8698
|
}
|
|
8699
8699
|
return c.prototype._parseMappings = function(m, x) {
|
|
8700
|
-
var g, y, v, T, w = 1, E = 0, C = 0, A = 0, O = 0,
|
|
8701
|
-
let
|
|
8702
|
-
for (; j < N; ) if (m.charAt(j) === ";") w++, j++, E = 0, d(W,
|
|
8700
|
+
var g, y, v, T, w = 1, E = 0, C = 0, A = 0, O = 0, D = 0, N = m.length, j = 0, U = {}, K = [], W = [];
|
|
8701
|
+
let V = 0;
|
|
8702
|
+
for (; j < N; ) if (m.charAt(j) === ";") w++, j++, E = 0, d(W, V), V = W.length;
|
|
8703
8703
|
else if (m.charAt(j) === ",") j++;
|
|
8704
8704
|
else {
|
|
8705
8705
|
for ((g = new l()).generatedLine = w, v = j; v < N && !this._charIsMappingSeparator(m, v); v++) ;
|
|
8706
8706
|
for (m.slice(j, v), y = []; j < v; ) n.decode(m, j, U), T = U.value, j = U.rest, y.push(T);
|
|
8707
8707
|
if (y.length === 2) throw new Error("Found a source, but no line and column");
|
|
8708
8708
|
if (y.length === 3) throw new Error("Found a source and line, but no column");
|
|
8709
|
-
if (g.generatedColumn = E + y[0], E = g.generatedColumn, y.length > 1 && (g.source = O + y[1], O += y[1], g.originalLine = C + y[2], C = g.originalLine, g.originalLine += 1, g.originalColumn = A + y[3], A = g.originalColumn, y.length > 4 && (g.name =
|
|
8709
|
+
if (g.generatedColumn = E + y[0], E = g.generatedColumn, y.length > 1 && (g.source = O + y[1], O += y[1], g.originalLine = C + y[2], C = g.originalLine, g.originalLine += 1, g.originalColumn = A + y[3], A = g.originalColumn, y.length > 4 && (g.name = D + y[4], D += y[4])), W.push(g), typeof g.originalLine == "number") {
|
|
8710
8710
|
let q = g.source;
|
|
8711
|
-
for (;
|
|
8712
|
-
|
|
8711
|
+
for (; K.length <= q; ) K.push(null);
|
|
8712
|
+
K[q] === null && (K[q] = []), K[q].push(g);
|
|
8713
8713
|
}
|
|
8714
8714
|
}
|
|
8715
|
-
d(W,
|
|
8716
|
-
for (var
|
|
8717
|
-
this.__originalMappings = [].concat(...
|
|
8715
|
+
d(W, V), this.__generatedMappings = W;
|
|
8716
|
+
for (var F = 0; F < K.length; F++) K[F] != null && i(K[F], e.compareByOriginalPositionsNoSource);
|
|
8717
|
+
this.__originalMappings = [].concat(...K);
|
|
8718
8718
|
}, c.prototype._findMapping = function(m, x, g, y, v, T) {
|
|
8719
8719
|
if (m[g] <= 0) throw new TypeError("Line must be greater than or equal to 1, got " + m[g]);
|
|
8720
8720
|
if (m[y] < 0) throw new TypeError("Column must be greater than or equal to 0, got " + m[y]);
|
|
@@ -8938,28 +8938,28 @@ function xh(e, t = {}) {
|
|
|
8938
8938
|
const s = B1(e, t);
|
|
8939
8939
|
t.onContextCreated && t.onContextCreated(s);
|
|
8940
8940
|
const { mode: n, push: i, prefixIdentifiers: o, indent: c, deindent: l, newline: p, scopeId: d, ssr: f } = s, m = Array.from(e.helpers), x = m.length > 0, g = !o && n !== "module", y = !!t.inline, v = y ? B1(e, t) : s;
|
|
8941
|
-
n === "module" ? (function(C, A, O,
|
|
8942
|
-
const { push: N, newline: j, optimizeImports: U, runtimeModuleName:
|
|
8941
|
+
n === "module" ? (function(C, A, O, D) {
|
|
8942
|
+
const { push: N, newline: j, optimizeImports: U, runtimeModuleName: K, ssrRuntimeModuleName: W } = A;
|
|
8943
8943
|
if (C.helpers.size) {
|
|
8944
|
-
const
|
|
8945
|
-
U ? (N(`import { ${
|
|
8944
|
+
const V = Array.from(C.helpers);
|
|
8945
|
+
U ? (N(`import { ${V.map((F) => Dt[F]).join(", ")} } from ${JSON.stringify(K)}
|
|
8946
8946
|
`, -1), N(`
|
|
8947
8947
|
// Binding optimization for webpack code-split
|
|
8948
|
-
const ${
|
|
8949
|
-
`, -1)) : N(`import { ${
|
|
8948
|
+
const ${V.map((F) => `_${Dt[F]} = ${Dt[F]}`).join(", ")}
|
|
8949
|
+
`, -1)) : N(`import { ${V.map((F) => `${Dt[F]} as _${Dt[F]}`).join(", ")} } from ${JSON.stringify(K)}
|
|
8950
8950
|
`, -1);
|
|
8951
8951
|
}
|
|
8952
|
-
C.ssrHelpers && C.ssrHelpers.length && N(`import { ${C.ssrHelpers.map((
|
|
8953
|
-
`, -1), C.imports.length && ((function(
|
|
8954
|
-
|
|
8955
|
-
|
|
8952
|
+
C.ssrHelpers && C.ssrHelpers.length && N(`import { ${C.ssrHelpers.map((V) => `${Dt[V]} as _${Dt[V]}`).join(", ")} } from "${W}"
|
|
8953
|
+
`, -1), C.imports.length && ((function(V, F) {
|
|
8954
|
+
V.length && V.forEach((q) => {
|
|
8955
|
+
F.push("import "), Qe(q.exp, F), F.push(` from '${q.path}'`), F.newline();
|
|
8956
8956
|
});
|
|
8957
|
-
})(C.imports, A), j()), $1(C.hoists, A), j(),
|
|
8957
|
+
})(C.imports, A), j()), $1(C.hoists, A), j(), D || N("export ");
|
|
8958
8958
|
})(e, v, 0, y) : (function(C, A) {
|
|
8959
|
-
const { ssr: O, prefixIdentifiers:
|
|
8960
|
-
|
|
8961
|
-
`, -1) : (N(`const _Vue = ${
|
|
8962
|
-
`, -1), C.hoists.length && N(`const { ${[yi, la, mn, pa, ha].filter((q) =>
|
|
8959
|
+
const { ssr: O, prefixIdentifiers: D, push: N, newline: j, runtimeModuleName: U, runtimeGlobalName: K, ssrRuntimeModuleName: W } = A, V = O ? `require(${JSON.stringify(U)})` : K, F = Array.from(C.helpers);
|
|
8960
|
+
F.length > 0 && (D ? N(`const { ${F.map($i).join(", ")} } = ${V}
|
|
8961
|
+
`, -1) : (N(`const _Vue = ${V}
|
|
8962
|
+
`, -1), C.hoists.length && N(`const { ${[yi, la, mn, pa, ha].filter((q) => F.includes(q)).map($i).join(", ")} } = _Vue
|
|
8963
8963
|
`, -1))), C.ssrHelpers && C.ssrHelpers.length && N(`const { ${C.ssrHelpers.map($i).join(", ")} } = require("${W}")
|
|
8964
8964
|
`, -1), $1(C.hoists, A), j(), N("return ");
|
|
8965
8965
|
})(e, v);
|
|
@@ -9182,24 +9182,24 @@ function yt(e, t, s = !1, n = !1, i = Object.create(t.identifiers)) {
|
|
|
9182
9182
|
const { inline: o, bindingMetadata: c } = t, l = (v, T, w) => {
|
|
9183
9183
|
const E = Jp(c, v) && c[v];
|
|
9184
9184
|
if (o) {
|
|
9185
|
-
const C = T && T.type === "AssignmentExpression" && T.left === w, A = T && T.type === "UpdateExpression" && T.argument === w, O = T && ri(T, m),
|
|
9185
|
+
const C = T && T.type === "AssignmentExpression" && T.left === w, A = T && T.type === "UpdateExpression" && T.argument === w, O = T && ri(T, m), D = T && Ty(m), N = (j) => {
|
|
9186
9186
|
const U = `${t.helperString(on)}(${j})`;
|
|
9187
|
-
return
|
|
9187
|
+
return D ? `(${U})` : U;
|
|
9188
9188
|
};
|
|
9189
9189
|
if (V1(E) || E === "setup-reactive-const" || i[v]) return v;
|
|
9190
9190
|
if (E === "setup-ref") return `${v}.value`;
|
|
9191
9191
|
if (E === "setup-maybe-ref") return C || A || O ? `${v}.value` : N(v);
|
|
9192
9192
|
if (E === "setup-let") {
|
|
9193
9193
|
if (C) {
|
|
9194
|
-
const { right: j, operator: U } = T,
|
|
9194
|
+
const { right: j, operator: U } = T, K = Na(yt(ue(p.slice(j.start - 1, j.end - 1), !1), t, !1, !1, x));
|
|
9195
9195
|
return `${t.helperString(ti)}(${v})${t.isTS ? ` //@ts-ignore
|
|
9196
|
-
` : ""} ? ${v}.value ${U} ${
|
|
9196
|
+
` : ""} ? ${v}.value ${U} ${K} : ${v}`;
|
|
9197
9197
|
}
|
|
9198
9198
|
if (A) {
|
|
9199
9199
|
w.start = T.start, w.end = T.end;
|
|
9200
|
-
const { prefix: j, operator: U } = T,
|
|
9200
|
+
const { prefix: j, operator: U } = T, K = j ? U : "", W = j ? "" : U;
|
|
9201
9201
|
return `${t.helperString(ti)}(${v})${t.isTS ? ` //@ts-ignore
|
|
9202
|
-
` : ""} ? ${
|
|
9202
|
+
` : ""} ? ${K}${v}.value${W} : ${K}${v}${W}`;
|
|
9203
9203
|
}
|
|
9204
9204
|
return O ? v : N(v);
|
|
9205
9205
|
}
|
|
@@ -9434,24 +9434,24 @@ function Un(e, t, s = Wv) {
|
|
|
9434
9434
|
break;
|
|
9435
9435
|
}
|
|
9436
9436
|
d = !0;
|
|
9437
|
-
const { children: C, loc: A } = w, { arg: O = ue("default", !0), exp:
|
|
9437
|
+
const { children: C, loc: A } = w, { arg: O = ue("default", !0), exp: D, loc: N } = E;
|
|
9438
9438
|
let j;
|
|
9439
9439
|
St(O) ? j = O ? O.content : "default" : l = !0;
|
|
9440
|
-
const U = st(w, "for"),
|
|
9441
|
-
let W,
|
|
9442
|
-
if (W = st(w, "if")) l = !0, c.push(cr(W.exp, qi(O,
|
|
9443
|
-
else if (
|
|
9444
|
-
let
|
|
9445
|
-
for (; q-- && (
|
|
9446
|
-
if (
|
|
9440
|
+
const U = st(w, "for"), K = s(D, U, C, A);
|
|
9441
|
+
let W, V;
|
|
9442
|
+
if (W = st(w, "if")) l = !0, c.push(cr(W.exp, qi(O, K, g++), G1));
|
|
9443
|
+
else if (V = st(w, /^else(?:-if)?$/, !0)) {
|
|
9444
|
+
let F, q = T;
|
|
9445
|
+
for (; q-- && (F = n[q], Ca(F)); ) ;
|
|
9446
|
+
if (F && cn(F) && st(F, /^(?:else-)?if$/)) {
|
|
9447
9447
|
let G = c[c.length - 1];
|
|
9448
9448
|
for (; G.alternate.type === 19; ) G = G.alternate;
|
|
9449
|
-
G.alternate =
|
|
9450
|
-
} else t.onError($e(30,
|
|
9449
|
+
G.alternate = V.exp ? cr(V.exp, qi(O, K, g++), G1) : qi(O, K, g++);
|
|
9450
|
+
} else t.onError($e(30, V.loc));
|
|
9451
9451
|
} else if (U) {
|
|
9452
9452
|
l = !0;
|
|
9453
|
-
const
|
|
9454
|
-
|
|
9453
|
+
const F = U.forParseResult;
|
|
9454
|
+
F ? (Sh(F, t), c.push(Ee(t.helper(fa), [F.source, Xt(ii(F), qi(O, K), !0)]))) : t.onError($e(32, U.loc));
|
|
9455
9455
|
} else {
|
|
9456
9456
|
if (j) {
|
|
9457
9457
|
if (x.has(j)) {
|
|
@@ -9460,7 +9460,7 @@ function Un(e, t, s = Wv) {
|
|
|
9460
9460
|
}
|
|
9461
9461
|
x.add(j), j === "default" && (f = !0);
|
|
9462
9462
|
}
|
|
9463
|
-
o.push(Ve(O,
|
|
9463
|
+
o.push(Ve(O, K));
|
|
9464
9464
|
}
|
|
9465
9465
|
}
|
|
9466
9466
|
if (!p) {
|
|
@@ -9553,57 +9553,57 @@ function hn(e, t, s = e.props, n, i, o = !1) {
|
|
|
9553
9553
|
let d = [];
|
|
9554
9554
|
const f = [], m = [], x = p.length > 0;
|
|
9555
9555
|
let g = !1, y = 0, v = !1, T = !1, w = !1, E = !1, C = !1, A = !1;
|
|
9556
|
-
const O = [],
|
|
9557
|
-
d.length && (f.push(jt(X1(d), l)), d = []),
|
|
9556
|
+
const O = [], D = (K) => {
|
|
9557
|
+
d.length && (f.push(jt(X1(d), l)), d = []), K && f.push(K);
|
|
9558
9558
|
}, N = () => {
|
|
9559
9559
|
t.scopes.vFor > 0 && d.push(Ve(ue("ref_for", !0), ue("true")));
|
|
9560
|
-
}, j = ({ key:
|
|
9561
|
-
if (St(
|
|
9562
|
-
const
|
|
9563
|
-
if (!
|
|
9564
|
-
|
|
9560
|
+
}, j = ({ key: K, value: W }) => {
|
|
9561
|
+
if (St(K)) {
|
|
9562
|
+
const V = K.content, F = Qg(V);
|
|
9563
|
+
if (!F || n && !i || V.toLowerCase() === "onclick" || V === "onUpdate:modelValue" || g1(V) || (E = !0), F && g1(V) && (A = !0), F && W.type === 14 && (W = W.arguments[0]), W.type === 20 || (W.type === 4 || W.type === 8) && Bt(W, t) > 0) return;
|
|
9564
|
+
V === "ref" ? v = !0 : V === "class" ? T = !0 : V === "style" ? w = !0 : V === "key" || O.includes(V) || O.push(V), !n || V !== "class" && V !== "style" || O.includes(V) || O.push(V);
|
|
9565
9565
|
} else C = !0;
|
|
9566
9566
|
};
|
|
9567
|
-
for (let
|
|
9568
|
-
const W = s[
|
|
9567
|
+
for (let K = 0; K < s.length; K++) {
|
|
9568
|
+
const W = s[K];
|
|
9569
9569
|
if (W.type === 6) {
|
|
9570
|
-
const { loc:
|
|
9570
|
+
const { loc: V, name: F, nameLoc: q, value: G } = W;
|
|
9571
9571
|
let ee = !0;
|
|
9572
|
-
if (
|
|
9573
|
-
const
|
|
9574
|
-
|
|
9572
|
+
if (F === "ref" && (v = !0, N(), G && t.inline)) {
|
|
9573
|
+
const ae = t.bindingMetadata[G.content];
|
|
9574
|
+
ae !== "setup-let" && ae !== "setup-ref" && ae !== "setup-maybe-ref" || (ee = !1, d.push(Ve(ue("ref_key", !0), ue(G.content, !0, G.loc))));
|
|
9575
9575
|
}
|
|
9576
|
-
if (
|
|
9577
|
-
d.push(Ve(ue(
|
|
9576
|
+
if (F === "is" && (pp(c) || G && G.content.startsWith("vue:"))) continue;
|
|
9577
|
+
d.push(Ve(ue(F, !0, q), ue(G ? G.content : "", ee, G ? G.loc : V)));
|
|
9578
9578
|
} else {
|
|
9579
|
-
const { name:
|
|
9580
|
-
if (
|
|
9579
|
+
const { name: V, arg: F, exp: q, loc: G, modifiers: ee } = W, ae = V === "bind", be = V === "on";
|
|
9580
|
+
if (V === "slot") {
|
|
9581
9581
|
n || t.onError($e(40, G));
|
|
9582
9582
|
continue;
|
|
9583
9583
|
}
|
|
9584
|
-
if (
|
|
9585
|
-
if ((
|
|
9586
|
-
C = !0, q ?
|
|
9584
|
+
if (V === "once" || V === "memo" || V === "is" || ae && Tr(F, "is") && pp(c) || be && o) continue;
|
|
9585
|
+
if ((ae && Tr(F, "key") || be && x && Tr(F, "vue:before-update")) && (g = !0), ae && Tr(F, "ref") && N(), !F && (ae || be)) {
|
|
9586
|
+
C = !0, q ? ae ? (N(), D(), f.push(q)) : D({ type: 14, loc: G, callee: t.helper(ya), arguments: n ? [q] : [q, "true"] }) : t.onError($e(ae ? 34 : 35, G));
|
|
9587
9587
|
continue;
|
|
9588
9588
|
}
|
|
9589
|
-
|
|
9590
|
-
const Q = t.directiveTransforms[
|
|
9589
|
+
ae && ee.some((le) => le.content === "prop") && (y |= 32);
|
|
9590
|
+
const Q = t.directiveTransforms[V];
|
|
9591
9591
|
if (Q) {
|
|
9592
|
-
const { props:
|
|
9593
|
-
!o &&
|
|
9594
|
-
} else Yp(
|
|
9592
|
+
const { props: le, needRuntime: X } = Q(W, e, t);
|
|
9593
|
+
!o && le.forEach(j), be && F && !St(F) ? D(jt(le, l)) : d.push(...le), X && (m.push(W), ns(X) && Hy.set(W, X));
|
|
9594
|
+
} else Yp(V) || (m.push(W), x && (g = !0));
|
|
9595
9595
|
}
|
|
9596
9596
|
}
|
|
9597
9597
|
let U;
|
|
9598
|
-
if (f.length ? (
|
|
9598
|
+
if (f.length ? (D(), U = f.length > 1 ? Ee(t.helper(_s), f, l) : f[0]) : d.length && (U = jt(X1(d), l)), C ? y |= 16 : (T && !n && (y |= 2), w && !n && (y |= 4), O.length && (y |= 8), E && (y |= 32)), g || y !== 0 && y !== 32 || !(v || A || m.length > 0) || (y |= 512), !t.inSSR && U) switch (U.type) {
|
|
9599
9599
|
case 15:
|
|
9600
|
-
let
|
|
9600
|
+
let K = -1, W = -1, V = !1;
|
|
9601
9601
|
for (let G = 0; G < U.properties.length; G++) {
|
|
9602
9602
|
const ee = U.properties[G].key;
|
|
9603
|
-
St(ee) ? ee.content === "class" ?
|
|
9603
|
+
St(ee) ? ee.content === "class" ? K = G : ee.content === "style" && (W = G) : ee.isHandlerKey || (V = !0);
|
|
9604
9604
|
}
|
|
9605
|
-
const
|
|
9606
|
-
|
|
9605
|
+
const F = U.properties[K], q = U.properties[W];
|
|
9606
|
+
V ? U = Ee(t.helper(nn), [U]) : (F && !St(F.value) && (F.value = Ee(t.helper(ma), [F.value])), q && (w || q.value.type === 4 && q.value.content.trim()[0] === "[" || q.value.type === 17) && (q.value = Ee(t.helper(ga), [q.value])));
|
|
9607
9607
|
break;
|
|
9608
9608
|
case 14:
|
|
9609
9609
|
break;
|
|
@@ -10284,8 +10284,8 @@ function ox(e, t = {}) {
|
|
|
10284
10284
|
else {
|
|
10285
10285
|
const O = x.template = Hi(w, e, !1);
|
|
10286
10286
|
if (O.attrs.src || (O.ast = Os(w.children, e)), O.attrs.functional) {
|
|
10287
|
-
const
|
|
10288
|
-
|
|
10287
|
+
const D = new SyntaxError("<template functional> is no longer supported in Vue 3, since functional components no longer have significant performance difference from stateful ones. Just use a normal <template> instead.");
|
|
10288
|
+
D.loc = w.props.find((N) => N.type === 6 && N.name === "functional").loc, g.push(D);
|
|
10289
10289
|
}
|
|
10290
10290
|
}
|
|
10291
10291
|
break;
|
|
@@ -10313,9 +10313,9 @@ function ox(e, t = {}) {
|
|
|
10313
10313
|
if (!x.template || x.template.lang !== "pug" && x.template.lang !== "jade" || ([x.template.content, y] = (function(w) {
|
|
10314
10314
|
const E = w.split(`
|
|
10315
10315
|
`), C = E.reduce(function(A, O) {
|
|
10316
|
-
var
|
|
10316
|
+
var D, N;
|
|
10317
10317
|
if (O.trim() === "") return A;
|
|
10318
|
-
const j = ((N = (
|
|
10318
|
+
const j = ((N = (D = O.match(/^\s*/)) == null ? void 0 : D[0]) == null ? void 0 : N.length) || 0;
|
|
10319
10319
|
return Math.min(j, A);
|
|
10320
10320
|
}, 1 / 0);
|
|
10321
10321
|
return C === 0 ? [w, C] : [E.map(function(A) {
|
|
@@ -10324,14 +10324,14 @@ function ox(e, t = {}) {
|
|
|
10324
10324
|
`), C];
|
|
10325
10325
|
})(x.template.content)), o) {
|
|
10326
10326
|
const w = (E, C = 0) => {
|
|
10327
|
-
E && !E.src && (E.map = (function(A, O,
|
|
10328
|
-
const
|
|
10329
|
-
return
|
|
10327
|
+
E && !E.src && (E.map = (function(A, O, D, N, j, U) {
|
|
10328
|
+
const K = new ks.SourceMapGenerator({ file: A.replace(/\\/g, "/"), sourceRoot: N.replace(/\\/g, "/") });
|
|
10329
|
+
return K.setSourceContent(A, O), K._sources.add(A), D.split(ax).forEach((W, V) => {
|
|
10330
10330
|
if (!_S.test(W)) {
|
|
10331
|
-
const
|
|
10332
|
-
for (let G = 0; G < W.length; G++) /\s/.test(W[G]) ||
|
|
10331
|
+
const F = V + 1 + j, q = V + 1;
|
|
10332
|
+
for (let G = 0; G < W.length; G++) /\s/.test(W[G]) || K._mappings.add({ originalLine: F, originalColumn: G + U, generatedLine: q, generatedColumn: G, source: A, name: null });
|
|
10333
10333
|
}
|
|
10334
|
-
}),
|
|
10334
|
+
}), K.toJSON();
|
|
10335
10335
|
})(c, e, E.content, l, p && E.type !== "template" ? 0 : E.loc.start.line - 1, C));
|
|
10336
10336
|
};
|
|
10337
10337
|
w(x.template, y), w(x.script), x.styles.forEach((E) => w(E)), x.customBlocks.forEach((E) => w(E));
|
|
@@ -10342,9 +10342,9 @@ function ox(e, t = {}) {
|
|
|
10342
10342
|
let A;
|
|
10343
10343
|
const O = C.content.replace(/\/\*([\s\S]*?)\*\/|\/\/.*/g, "");
|
|
10344
10344
|
for (; A = fo.exec(O); ) {
|
|
10345
|
-
const
|
|
10345
|
+
const D = A.index + A[0].length, N = Jy(O, D);
|
|
10346
10346
|
if (N !== null) {
|
|
10347
|
-
const j = Ky(O.slice(
|
|
10347
|
+
const j = Ky(O.slice(D, N));
|
|
10348
10348
|
E.includes(j) || E.push(j);
|
|
10349
10349
|
}
|
|
10350
10350
|
}
|
|
@@ -10474,8 +10474,8 @@ function MS(e) {
|
|
|
10474
10474
|
return NS.test(t) ? "xn--" + (function(s) {
|
|
10475
10475
|
var n, i, o, c, l, p, d, f, m, x, g, y, v, T, w, E = [];
|
|
10476
10476
|
for (s = (function(C) {
|
|
10477
|
-
for (var A, O,
|
|
10478
|
-
return
|
|
10477
|
+
for (var A, O, D = [], N = 0, j = C.length; N < j; ) (A = C.charCodeAt(N++)) >= 55296 && A <= 56319 && N < j ? (64512 & (O = C.charCodeAt(N++))) == 56320 ? D.push(((1023 & A) << 10) + (1023 & O) + 65536) : (D.push(A), N--) : D.push(A);
|
|
10478
|
+
return D;
|
|
10479
10479
|
})(s), y = s.length, n = 128, i = 0, l = 72, p = 0; p < y; ++p) (g = s[p]) < 128 && E.push(Ec(g));
|
|
10480
10480
|
for (o = c = E.length, c && E.push("-"); o < y; ) {
|
|
10481
10481
|
for (d = wc, p = 0; p < y; ++p) (g = s[p]) >= n && g < d && (d = g);
|
|
@@ -11476,24 +11476,24 @@ function Lx(e, t, s, n) {
|
|
|
11476
11476
|
for (d = 0, m = A.length; d < m; d++) {
|
|
11477
11477
|
var O = A[d];
|
|
11478
11478
|
if (O && !O.match(Pd)) {
|
|
11479
|
-
for (var
|
|
11480
|
-
if (!
|
|
11481
|
-
var U = A.slice(0, d),
|
|
11482
|
-
W && (U.push(W[1]),
|
|
11479
|
+
for (var D = "", N = 0, j = O.length; N < j; N++) O.charCodeAt(N) > 127 ? D += "x" : D += O[N];
|
|
11480
|
+
if (!D.match(Pd)) {
|
|
11481
|
+
var U = A.slice(0, d), K = A.slice(d + 1), W = O.match(fk);
|
|
11482
|
+
W && (U.push(W[1]), K.unshift(W[2])), K.length && (l = "/" + K.join(".") + l), e.hostname = U.join(".");
|
|
11483
11483
|
break;
|
|
11484
11484
|
}
|
|
11485
11485
|
}
|
|
11486
11486
|
}
|
|
11487
11487
|
}
|
|
11488
11488
|
e.hostname.length > dk ? e.hostname = "" : e.hostname = e.hostname.toLowerCase(), C || (e.hostname = MS(e.hostname)), x = e.port ? ":" + e.port : "";
|
|
11489
|
-
var
|
|
11490
|
-
e.host =
|
|
11489
|
+
var V = e.hostname || "";
|
|
11490
|
+
e.host = V + x, e.href += e.host, C && (e.hostname = e.hostname.substr(1, e.hostname.length - 2), l[0] !== "/" && (l = "/" + l));
|
|
11491
11491
|
}
|
|
11492
11492
|
if (!mk[y]) for (d = 0, m = gp.length; d < m; d++) {
|
|
11493
|
-
var
|
|
11494
|
-
if (l.indexOf(
|
|
11495
|
-
var q = encodeURIComponent(
|
|
11496
|
-
q ===
|
|
11493
|
+
var F = gp[d];
|
|
11494
|
+
if (l.indexOf(F) !== -1) {
|
|
11495
|
+
var q = encodeURIComponent(F);
|
|
11496
|
+
q === F && (q = escape(F)), l = l.split(F).join(q);
|
|
11497
11497
|
}
|
|
11498
11498
|
}
|
|
11499
11499
|
var G = l.indexOf("#");
|
|
@@ -11501,8 +11501,8 @@ function Lx(e, t, s, n) {
|
|
|
11501
11501
|
var ee = l.indexOf("?");
|
|
11502
11502
|
if (ee !== -1 ? (e.search = l.substr(ee), e.query = l.substr(ee + 1), s && (e.query = wd(e.query)), l = l.slice(0, ee)) : s && (e.search = "", e.query = {}), l && (e.pathname = l), Zs[y] && e.hostname && !e.pathname && (e.pathname = "/"), e.pathname || e.search) {
|
|
11503
11503
|
x = e.pathname || "";
|
|
11504
|
-
var
|
|
11505
|
-
e.path = x +
|
|
11504
|
+
var ae = e.search || "";
|
|
11505
|
+
e.path = x + ae;
|
|
11506
11506
|
}
|
|
11507
11507
|
return e.href = tu(e), e;
|
|
11508
11508
|
}
|
|
@@ -11596,11 +11596,11 @@ zt.prototype.parse = function(e, t, s) {
|
|
|
11596
11596
|
else if (s.length) A || (A = []), A.pop(), A = A.concat(s), n.search = e.search, n.query = e.query;
|
|
11597
11597
|
else if (!Jh(e.search)) return O && (n.hostname = n.host = A.shift(), (v = !!(n.host && n.host.indexOf("@") > 0) && n.host.split("@")) && (n.auth = v.shift(), n.host = n.hostname = v.shift())), n.search = e.search, n.query = e.query, Lr(n.pathname) && Lr(n.search) || (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.href = n.format(), n;
|
|
11598
11598
|
if (!A.length) return n.pathname = null, n.search ? n.path = "/" + n.search : n.path = null, n.href = n.format(), n;
|
|
11599
|
-
for (var
|
|
11599
|
+
for (var D = A.slice(-1)[0], N = (n.host || e.host || A.length > 1) && (D === "." || D === "..") || D === "", j = 0, U = A.length; U >= 0; U--) (D = A[U]) === "." ? A.splice(U, 1) : D === ".." ? (A.splice(U, 1), j++) : j && (A.splice(U, 1), j--);
|
|
11600
11600
|
if (!E && !C) for (; j--; j) A.unshift("..");
|
|
11601
11601
|
!E || A[0] === "" || A[0] && A[0].charAt(0) === "/" || A.unshift(""), N && A.join("/").substr(-1) !== "/" && A.push("");
|
|
11602
|
-
var
|
|
11603
|
-
return O && (n.hostname = n.host =
|
|
11602
|
+
var K = A[0] === "" || A[0] && A[0].charAt(0) === "/";
|
|
11603
|
+
return O && (n.hostname = n.host = K ? "" : A.length ? A.shift() : "", (v = !!(n.host && n.host.indexOf("@") > 0) && n.host.split("@")) && (n.auth = v.shift(), n.host = n.hostname = v.shift())), (E = E || n.host && A.length) && !K && A.unshift(""), A.length ? n.pathname = A.join("/") : (n.pathname = null, n.path = null), Lr(n.pathname) && Lr(n.search) || (n.path = (n.pathname ? n.pathname : "") + (n.search ? n.search : "")), n.auth = e.auth || n.auth, n.slashes = n.slashes || e.slashes, n.href = n.format(), n;
|
|
11604
11604
|
}, zt.prototype.parseHost = function() {
|
|
11605
11605
|
return jx(this);
|
|
11606
11606
|
};
|
|
@@ -11893,14 +11893,14 @@ const ib = /* @__PURE__ */ new WeakMap(), ob = Symbol(), ab = /* @__PURE__ */ ne
|
|
|
11893
11893
|
o.children.length && Un(o, t, (d, f, m) => (i.push((function(x, g, y, v) {
|
|
11894
11894
|
const T = cb.get(v.root), w = (C = gs({}, T), A = { nodeTransforms: [...Xk, ...T.nodeTransforms || []], directiveTransforms: gs(gs({}, Kk), T.directiveTransforms || {}) }, Uk(C, $k(A))), E = [];
|
|
11895
11895
|
var C, A;
|
|
11896
|
-
return x && E.push({ type: 7, name: "slot", exp: x, arg: void 0, modifiers: [], loc: tt }), g && E.push(wr({}, g)), (function(
|
|
11897
|
-
const U = Os([
|
|
11898
|
-
|
|
11899
|
-
|
|
11896
|
+
return x && E.push({ type: 7, name: "slot", exp: x, arg: void 0, modifiers: [], loc: tt }), g && E.push(wr({}, g)), (function(D, N, j) {
|
|
11897
|
+
const U = Os([D]), K = vi(U, N);
|
|
11898
|
+
K.ssr = !1, K.scopes = gs({}, j.scopes), K.identifiers = gs({}, j.identifiers), K.imports = j.imports, pn(U, K), ["helpers", "components", "directives"].forEach((W) => {
|
|
11899
|
+
K[W].forEach((V, F) => {
|
|
11900
11900
|
if (W === "helpers") {
|
|
11901
|
-
const q = j.helpers.get(
|
|
11902
|
-
q === void 0 ? j.helpers.set(
|
|
11903
|
-
} else j[W].add(
|
|
11901
|
+
const q = j.helpers.get(F);
|
|
11902
|
+
q === void 0 ? j.helpers.set(F, V) : j.helpers.set(F, V + q);
|
|
11903
|
+
} else j[W].add(V);
|
|
11904
11904
|
});
|
|
11905
11905
|
});
|
|
11906
11906
|
})({ type: 1, ns: 0, tag: "template", tagType: 3, props: E, children: y, loc: tt, codegenNode: void 0 }, w, v), my(y);
|
|
@@ -12176,43 +12176,43 @@ function Vd({ filename: e, id: t, scoped: s, slotted: n, inMap: i, source: o, as
|
|
|
12176
12176
|
let v = [];
|
|
12177
12177
|
if (is(x)) {
|
|
12178
12178
|
const U = wk(x);
|
|
12179
|
-
v = [(T = U, (
|
|
12179
|
+
v = [(T = U, (K, W) => Id(K, W, T)), Pk(U)];
|
|
12180
12180
|
} else x !== !1 && (v = [Id, $x]);
|
|
12181
12181
|
var T;
|
|
12182
12182
|
l && !p && zn("compileTemplate is called with `ssr: true` but no corresponding `cssVars` option."), t || (zn("compileTemplate now requires the `id` option."), t = "");
|
|
12183
12183
|
const w = t.replace(/^data-v-/, ""), E = `data-v-${w}`, C = l ? iw : fp;
|
|
12184
12184
|
if ((f = f || C) !== C && (c = void 0), c?.transformed) {
|
|
12185
|
-
const U = (l ? fp : f).parse(c.source, Ep(Go({ prefixIdentifiers: !0 }, m), { parseMode: "sfc", onError: (
|
|
12185
|
+
const U = (l ? fp : f).parse(c.source, Ep(Go({ prefixIdentifiers: !0 }, m), { parseMode: "sfc", onError: (K) => g.push(K) })).children.find((K) => K.type === 1 && K.tag === "template");
|
|
12186
12186
|
c = Os(U.children, c.source);
|
|
12187
12187
|
}
|
|
12188
|
-
let { code: A, ast: O, preamble:
|
|
12189
|
-
i && !c && (N && (N = (function(U,
|
|
12190
|
-
if (!U) return
|
|
12191
|
-
if (!
|
|
12192
|
-
const W = new ks.SourceMapConsumer(U),
|
|
12193
|
-
|
|
12188
|
+
let { code: A, ast: O, preamble: D, map: N } = f.compile(c || o, Ep(Go({ mode: "module", prefixIdentifiers: !0, hoistStatic: !0, cacheHandlers: !0, ssrCssVars: l && p && p.length ? Gy(p, w, d, !0) : "", scopeId: s ? E : void 0, slotted: n, sourceMap: !0 }, m), { hmr: !d, nodeTransforms: v.concat(m.nodeTransforms || []), filename: e, onError: (U) => g.push(U), onWarn: (U) => y.push(U) }));
|
|
12189
|
+
i && !c && (N && (N = (function(U, K) {
|
|
12190
|
+
if (!U) return K;
|
|
12191
|
+
if (!K) return U;
|
|
12192
|
+
const W = new ks.SourceMapConsumer(U), V = new ks.SourceMapConsumer(K), F = new ks.SourceMapGenerator();
|
|
12193
|
+
V.eachMapping((G) => {
|
|
12194
12194
|
if (G.originalLine == null) return;
|
|
12195
12195
|
const ee = W.originalPositionFor({ line: G.originalLine, column: G.originalColumn });
|
|
12196
|
-
ee.source != null &&
|
|
12196
|
+
ee.source != null && F.addMapping({ generated: { line: G.generatedLine, column: G.generatedColumn }, original: { line: ee.line, column: G.originalColumn }, source: ee.source, name: ee.name });
|
|
12197
12197
|
});
|
|
12198
|
-
const q =
|
|
12198
|
+
const q = F;
|
|
12199
12199
|
return W.sources.forEach((G) => {
|
|
12200
12200
|
q._sources.add(G);
|
|
12201
12201
|
const ee = W.sourceContentFor(G);
|
|
12202
|
-
ee != null &&
|
|
12202
|
+
ee != null && F.setSourceContent(G, ee);
|
|
12203
12203
|
}), q._sourceRoot = U.sourceRoot, q._file = U.file, q.toJSON();
|
|
12204
|
-
})(i, N)), g.length && (function(U,
|
|
12205
|
-
const
|
|
12204
|
+
})(i, N)), g.length && (function(U, K, W) {
|
|
12205
|
+
const V = W.sourcesContent[0], F = V.indexOf(K), q = V.slice(0, F).split(/\r?\n/).length - 1;
|
|
12206
12206
|
U.forEach((G) => {
|
|
12207
|
-
G.loc && (G.loc.start.line += q, G.loc.start.offset +=
|
|
12207
|
+
G.loc && (G.loc.start.line += q, G.loc.start.offset += F, G.loc.end !== G.loc.start && (G.loc.end.line += q, G.loc.end.offset += F));
|
|
12208
12208
|
});
|
|
12209
12209
|
})(g, o, i));
|
|
12210
12210
|
const j = y.map((U) => {
|
|
12211
|
-
let
|
|
12212
|
-
return U.loc && (
|
|
12213
|
-
${gi(c?.source || o, U.loc.start.offset, U.loc.end.offset)}`),
|
|
12211
|
+
let K = U.message;
|
|
12212
|
+
return U.loc && (K += `
|
|
12213
|
+
${gi(c?.source || o, U.loc.start.offset, U.loc.end.offset)}`), K;
|
|
12214
12214
|
});
|
|
12215
|
-
return { code: A, ast: O, preamble:
|
|
12215
|
+
return { code: A, ast: O, preamble: D, source: o, errors: g, tips: j, map: N };
|
|
12216
12216
|
}
|
|
12217
12217
|
var Hd, Mc, zd, Wd, Gd, Dc, Xd, Fc, Kd, jc, Jd, Ji = { exports: {} };
|
|
12218
12218
|
function hb() {
|
|
@@ -12236,31 +12236,31 @@ function hb() {
|
|
|
12236
12236
|
function ub() {
|
|
12237
12237
|
if (zd) return Mc;
|
|
12238
12238
|
zd = 1;
|
|
12239
|
-
const e = 39, t = 34, s = 92, n = 47, i = 10, o = 32, c = 12, l = 9, p = 13, d = 91, f = 93, m = 40, x = 41, g = 123, y = 125, v = 59, T = 42, w = 58, E = 64, C = /[\t\n\f\r "#'()/;[\\\]{}]/g, A = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, O = /.[\r\n"'(/\\]/,
|
|
12239
|
+
const e = 39, t = 34, s = 92, n = 47, i = 10, o = 32, c = 12, l = 9, p = 13, d = 91, f = 93, m = 40, x = 41, g = 123, y = 125, v = 59, T = 42, w = 58, E = 64, C = /[\t\n\f\r "#'()/;[\\\]{}]/g, A = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, O = /.[\r\n"'(/\\]/, D = /[\da-f]/i;
|
|
12240
12240
|
return Mc = function(N, j = {}) {
|
|
12241
|
-
let U,
|
|
12242
|
-
function
|
|
12241
|
+
let U, K, W, V, F, q, G, ee, ae, be, Q = N.css.valueOf(), le = j.ignoreErrors, X = Q.length, $ = 0, oe = [], Y = [];
|
|
12242
|
+
function se(z) {
|
|
12243
12243
|
throw N.error("Unclosed " + z, $);
|
|
12244
12244
|
}
|
|
12245
12245
|
return { back: function(z) {
|
|
12246
12246
|
Y.push(z);
|
|
12247
12247
|
}, endOfFile: function() {
|
|
12248
|
-
return Y.length === 0 && $ >=
|
|
12248
|
+
return Y.length === 0 && $ >= X;
|
|
12249
12249
|
}, nextToken: function(z) {
|
|
12250
12250
|
if (Y.length) return Y.pop();
|
|
12251
|
-
if ($ >=
|
|
12252
|
-
let
|
|
12251
|
+
if ($ >= X) return;
|
|
12252
|
+
let ie = !!z && z.ignoreUnclosed;
|
|
12253
12253
|
switch (U = Q.charCodeAt($), U) {
|
|
12254
12254
|
case i:
|
|
12255
12255
|
case o:
|
|
12256
12256
|
case l:
|
|
12257
12257
|
case p:
|
|
12258
12258
|
case c:
|
|
12259
|
-
|
|
12259
|
+
V = $;
|
|
12260
12260
|
do
|
|
12261
|
-
|
|
12261
|
+
V += 1, U = Q.charCodeAt(V);
|
|
12262
12262
|
while (U === o || U === i || U === l || U === p || U === c);
|
|
12263
|
-
q = ["space", Q.slice($,
|
|
12263
|
+
q = ["space", Q.slice($, V)], $ = V - 1;
|
|
12264
12264
|
break;
|
|
12265
12265
|
case d:
|
|
12266
12266
|
case f:
|
|
@@ -12269,54 +12269,54 @@ function ub() {
|
|
|
12269
12269
|
case w:
|
|
12270
12270
|
case v:
|
|
12271
12271
|
case x: {
|
|
12272
|
-
let
|
|
12273
|
-
q = [
|
|
12272
|
+
let ce = String.fromCharCode(U);
|
|
12273
|
+
q = [ce, ce, $];
|
|
12274
12274
|
break;
|
|
12275
12275
|
}
|
|
12276
12276
|
case m:
|
|
12277
|
-
if (be = oe.length ? oe.pop()[1] : "",
|
|
12278
|
-
|
|
12277
|
+
if (be = oe.length ? oe.pop()[1] : "", ae = Q.charCodeAt($ + 1), be === "url" && ae !== e && ae !== t && ae !== o && ae !== i && ae !== l && ae !== c && ae !== p) {
|
|
12278
|
+
V = $;
|
|
12279
12279
|
do {
|
|
12280
|
-
if (G = !1,
|
|
12281
|
-
if (
|
|
12282
|
-
|
|
12280
|
+
if (G = !1, V = Q.indexOf(")", V + 1), V === -1) {
|
|
12281
|
+
if (le || ie) {
|
|
12282
|
+
V = $;
|
|
12283
12283
|
break;
|
|
12284
12284
|
}
|
|
12285
|
-
|
|
12285
|
+
se("bracket");
|
|
12286
12286
|
}
|
|
12287
|
-
for (ee =
|
|
12287
|
+
for (ee = V; Q.charCodeAt(ee - 1) === s; ) ee -= 1, G = !G;
|
|
12288
12288
|
} while (G);
|
|
12289
|
-
q = ["brackets", Q.slice($,
|
|
12290
|
-
} else
|
|
12289
|
+
q = ["brackets", Q.slice($, V + 1), $, V], $ = V;
|
|
12290
|
+
} else V = Q.indexOf(")", $ + 1), K = Q.slice($, V + 1), V === -1 || O.test(K) ? q = ["(", "(", $] : (q = ["brackets", K, $, V], $ = V);
|
|
12291
12291
|
break;
|
|
12292
12292
|
case e:
|
|
12293
12293
|
case t:
|
|
12294
|
-
|
|
12294
|
+
F = U === e ? "'" : '"', V = $;
|
|
12295
12295
|
do {
|
|
12296
|
-
if (G = !1,
|
|
12297
|
-
if (
|
|
12298
|
-
|
|
12296
|
+
if (G = !1, V = Q.indexOf(F, V + 1), V === -1) {
|
|
12297
|
+
if (le || ie) {
|
|
12298
|
+
V = $ + 1;
|
|
12299
12299
|
break;
|
|
12300
12300
|
}
|
|
12301
|
-
|
|
12301
|
+
se("string");
|
|
12302
12302
|
}
|
|
12303
|
-
for (ee =
|
|
12303
|
+
for (ee = V; Q.charCodeAt(ee - 1) === s; ) ee -= 1, G = !G;
|
|
12304
12304
|
} while (G);
|
|
12305
|
-
q = ["string", Q.slice($,
|
|
12305
|
+
q = ["string", Q.slice($, V + 1), $, V], $ = V;
|
|
12306
12306
|
break;
|
|
12307
12307
|
case E:
|
|
12308
|
-
C.lastIndex = $ + 1, C.test(Q),
|
|
12308
|
+
C.lastIndex = $ + 1, C.test(Q), V = C.lastIndex === 0 ? Q.length - 1 : C.lastIndex - 2, q = ["at-word", Q.slice($, V + 1), $, V], $ = V;
|
|
12309
12309
|
break;
|
|
12310
12310
|
case s:
|
|
12311
|
-
for (
|
|
12312
|
-
if (U = Q.charCodeAt(
|
|
12313
|
-
for (;
|
|
12314
|
-
Q.charCodeAt(
|
|
12311
|
+
for (V = $, W = !0; Q.charCodeAt(V + 1) === s; ) V += 1, W = !W;
|
|
12312
|
+
if (U = Q.charCodeAt(V + 1), W && U !== n && U !== o && U !== i && U !== l && U !== p && U !== c && (V += 1, D.test(Q.charAt(V)))) {
|
|
12313
|
+
for (; D.test(Q.charAt(V + 1)); ) V += 1;
|
|
12314
|
+
Q.charCodeAt(V + 1) === o && (V += 1);
|
|
12315
12315
|
}
|
|
12316
|
-
q = ["word", Q.slice($,
|
|
12316
|
+
q = ["word", Q.slice($, V + 1), $, V], $ = V;
|
|
12317
12317
|
break;
|
|
12318
12318
|
default:
|
|
12319
|
-
U === n && Q.charCodeAt($ + 1) === T ? (
|
|
12319
|
+
U === n && Q.charCodeAt($ + 1) === T ? (V = Q.indexOf("*/", $ + 2) + 1, V === 0 && (le || ie ? V = Q.length : se("comment")), q = ["comment", Q.slice($, V + 1), $, V], $ = V) : (A.lastIndex = $ + 1, A.test(Q), V = A.lastIndex === 0 ? Q.length - 1 : A.lastIndex - 2, q = ["word", Q.slice($, V + 1), $, V], oe.push(q), $ = V);
|
|
12320
12320
|
}
|
|
12321
12321
|
return $++, q;
|
|
12322
12322
|
}, position: function() {
|
|
@@ -12378,9 +12378,9 @@ function iu() {
|
|
|
12378
12378
|
let v = f + 1 + y, T = " " + (" " + v).slice(-x) + " | ";
|
|
12379
12379
|
if (v === this.line) {
|
|
12380
12380
|
if (g.length > 160) {
|
|
12381
|
-
let E = 20, C = Math.max(0, this.column - E), A = Math.max(this.column + E, this.endColumn + E), O = g.slice(C, A),
|
|
12381
|
+
let E = 20, C = Math.max(0, this.column - E), A = Math.max(this.column + E, this.endColumn + E), O = g.slice(C, A), D = c(T.replace(/\d/g, " ")) + g.slice(0, Math.min(this.column - 1, E - 1)).replace(/[^\t]/g, " ");
|
|
12382
12382
|
return l(">") + c(T) + p(O) + `
|
|
12383
|
-
` +
|
|
12383
|
+
` + D + l("^");
|
|
12384
12384
|
}
|
|
12385
12385
|
let w = c(T.replace(/\d/g, " ")) + g.slice(0, this.column - 1).replace(/[^\t]/g, " ");
|
|
12386
12386
|
return l(">") + c(T) + p(g) + `
|
|
@@ -13090,27 +13090,27 @@ function qa() {
|
|
|
13090
13090
|
this.file || (this.id = "<input css " + e(6) + ">"), this.map && (this.map.file = this.from);
|
|
13091
13091
|
}
|
|
13092
13092
|
error(T, w, E, C = {}) {
|
|
13093
|
-
let A, O,
|
|
13093
|
+
let A, O, D, N, j;
|
|
13094
13094
|
if (w && typeof w == "object") {
|
|
13095
|
-
let
|
|
13096
|
-
if (typeof
|
|
13097
|
-
N =
|
|
13098
|
-
let
|
|
13099
|
-
w =
|
|
13100
|
-
} else w =
|
|
13095
|
+
let K = w, W = E;
|
|
13096
|
+
if (typeof K.offset == "number") {
|
|
13097
|
+
N = K.offset;
|
|
13098
|
+
let V = this.fromOffset(N);
|
|
13099
|
+
w = V.line, E = V.col;
|
|
13100
|
+
} else w = K.line, E = K.column, N = this.fromLineAndColumn(w, E);
|
|
13101
13101
|
if (typeof W.offset == "number") {
|
|
13102
|
-
|
|
13103
|
-
let
|
|
13104
|
-
O =
|
|
13105
|
-
} else O = W.line, A = W.column,
|
|
13102
|
+
D = W.offset;
|
|
13103
|
+
let V = this.fromOffset(D);
|
|
13104
|
+
O = V.line, A = V.col;
|
|
13105
|
+
} else O = W.line, A = W.column, D = this.fromLineAndColumn(W.line, W.column);
|
|
13106
13106
|
} else if (E) N = this.fromLineAndColumn(w, E);
|
|
13107
13107
|
else {
|
|
13108
13108
|
N = w;
|
|
13109
|
-
let
|
|
13110
|
-
w =
|
|
13109
|
+
let K = this.fromOffset(N);
|
|
13110
|
+
w = K.line, E = K.col;
|
|
13111
13111
|
}
|
|
13112
13112
|
let U = this.origin(w, E, O, A);
|
|
13113
|
-
return j = U ? new l(T, U.endLine === void 0 ? U.line : { column: U.column, line: U.line }, U.endLine === void 0 ? U.column : { column: U.endColumn, line: U.endLine }, U.source, U.file, C.plugin) : new l(T, O === void 0 ? w : { column: E, line: w }, O === void 0 ? E : { column: A, line: O }, this.css, this.file, C.plugin), j.input = { column: E, endColumn: A, endLine: O, endOffset:
|
|
13113
|
+
return j = U ? new l(T, U.endLine === void 0 ? U.line : { column: U.column, line: U.line }, U.endLine === void 0 ? U.column : { column: U.endColumn, line: U.endLine }, U.source, U.file, C.plugin) : new l(T, O === void 0 ? w : { column: E, line: w }, O === void 0 ? E : { column: A, line: O }, this.css, this.file, C.plugin), j.input = { column: E, endColumn: A, endLine: O, endOffset: D, line: w, offset: N, source: this.css }, this.file && (c && (j.input.url = c(this.file).toString()), j.input.file = this.file), j;
|
|
13114
13114
|
}
|
|
13115
13115
|
fromLineAndColumn(T, w) {
|
|
13116
13116
|
return g(this)[T - 1] + w - 1;
|
|
@@ -13136,15 +13136,15 @@ function qa() {
|
|
|
13136
13136
|
}
|
|
13137
13137
|
origin(T, w, E, C) {
|
|
13138
13138
|
if (!this.map) return !1;
|
|
13139
|
-
let A, O,
|
|
13139
|
+
let A, O, D = this.map.consumer(), N = D.originalPositionFor({ column: w, line: T });
|
|
13140
13140
|
if (!N.source) return !1;
|
|
13141
|
-
typeof E == "number" && (A =
|
|
13141
|
+
typeof E == "number" && (A = D.originalPositionFor({ column: C, line: E })), O = t(N.source) ? c(N.source) : new URL(N.source, this.map.consumer().sourceRoot || c(this.map.mapFile));
|
|
13142
13142
|
let j = { column: N.column, endColumn: A && A.column, endLine: A && A.line, line: N.line, url: O.toString() };
|
|
13143
13143
|
if (O.protocol === "file:") {
|
|
13144
13144
|
if (!o) throw new Error("file: protocol is not available in this PostCSS build");
|
|
13145
13145
|
j.file = o(O);
|
|
13146
13146
|
}
|
|
13147
|
-
let U =
|
|
13147
|
+
let U = D.sourceContentFor(N.source);
|
|
13148
13148
|
return U && (j.source = U), j;
|
|
13149
13149
|
}
|
|
13150
13150
|
toJSON() {
|
|
@@ -13741,21 +13741,21 @@ function vb() {
|
|
|
13741
13741
|
get [Symbol.toStringTag]() {
|
|
13742
13742
|
return "LazyResult";
|
|
13743
13743
|
}
|
|
13744
|
-
constructor(A, O,
|
|
13744
|
+
constructor(A, O, D) {
|
|
13745
13745
|
let N;
|
|
13746
|
-
if (this.stringified = !1, this.processed = !1, typeof O != "object" || O === null || O.type !== "root" && O.type !== "document") if (O instanceof E || O instanceof i) N = T(O.root), O.map && (
|
|
13746
|
+
if (this.stringified = !1, this.processed = !1, typeof O != "object" || O === null || O.type !== "root" && O.type !== "document") if (O instanceof E || O instanceof i) N = T(O.root), O.map && (D.map === void 0 && (D.map = {}), D.map.inline || (D.map.inline = !1), D.map.prev = O.map);
|
|
13747
13747
|
else {
|
|
13748
13748
|
let j = n;
|
|
13749
|
-
|
|
13749
|
+
D.syntax && (j = D.syntax.parse), D.parser && (j = D.parser), j.parse && (j = j.parse);
|
|
13750
13750
|
try {
|
|
13751
|
-
N = j(O,
|
|
13751
|
+
N = j(O, D);
|
|
13752
13752
|
} catch (U) {
|
|
13753
13753
|
this.processed = !0, this.error = U;
|
|
13754
13754
|
}
|
|
13755
13755
|
N && !N[p] && e.rebuild(N);
|
|
13756
13756
|
}
|
|
13757
13757
|
else N = T(O);
|
|
13758
|
-
this.result = new i(A, N,
|
|
13758
|
+
this.result = new i(A, N, D), this.helpers = { ...w, postcss: w, result: this.result }, this.plugins = this.processor.plugins.map((j) => typeof j == "object" && j.prepare ? { ...j, ...j.prepare(this.result) } : j);
|
|
13759
13759
|
}
|
|
13760
13760
|
async() {
|
|
13761
13761
|
return this.error ? Promise.reject(this.error) : this.processed ? Promise.resolve(this.result) : (this.processing || (this.processing = this.runAsync()), this.processing);
|
|
@@ -13770,14 +13770,14 @@ function vb() {
|
|
|
13770
13770
|
throw new Error("Use process(css).then(cb) to work with async plugins");
|
|
13771
13771
|
}
|
|
13772
13772
|
handleError(A, O) {
|
|
13773
|
-
let
|
|
13773
|
+
let D = this.result.lastPlugin;
|
|
13774
13774
|
try {
|
|
13775
13775
|
if (O && O.addToError(A), this.error = A, A.name !== "CssSyntaxError" || A.plugin) {
|
|
13776
|
-
if (
|
|
13777
|
-
let N =
|
|
13778
|
-
(
|
|
13776
|
+
if (D.postcssVersion && qt.env.NODE_ENV !== "production") {
|
|
13777
|
+
let N = D.postcssPlugin, j = D.postcssVersion, U = this.result.processor.version, K = j.split("."), W = U.split(".");
|
|
13778
|
+
(K[0] !== W[0] || parseInt(K[1]) > parseInt(W[1])) && console.error("Unknown error from PostCSS plugin. Your current PostCSS version is " + U + ", but " + N + " uses " + j + ". Perhaps this is the source of the error below.");
|
|
13779
13779
|
}
|
|
13780
|
-
} else A.plugin =
|
|
13780
|
+
} else A.plugin = D.postcssPlugin, A.setMessage();
|
|
13781
13781
|
} catch (N) {
|
|
13782
13782
|
console && console.error && console.error(N);
|
|
13783
13783
|
}
|
|
@@ -13785,22 +13785,22 @@ function vb() {
|
|
|
13785
13785
|
}
|
|
13786
13786
|
prepareVisitors() {
|
|
13787
13787
|
this.listeners = {};
|
|
13788
|
-
let A = (O,
|
|
13789
|
-
this.listeners[
|
|
13788
|
+
let A = (O, D, N) => {
|
|
13789
|
+
this.listeners[D] || (this.listeners[D] = []), this.listeners[D].push([O, N]);
|
|
13790
13790
|
};
|
|
13791
|
-
for (let O of this.plugins) if (typeof O == "object") for (let
|
|
13792
|
-
if (!m[
|
|
13793
|
-
if (!x[
|
|
13794
|
-
else typeof O[
|
|
13791
|
+
for (let O of this.plugins) if (typeof O == "object") for (let D in O) {
|
|
13792
|
+
if (!m[D] && /^[A-Z]/.test(D)) throw new Error(`Unknown event ${D} in ${O.postcssPlugin}. Try to update PostCSS (${this.processor.version} now).`);
|
|
13793
|
+
if (!x[D]) if (typeof O[D] == "object") for (let N in O[D]) A(O, N === "*" ? D : D + "-" + N.toLowerCase(), O[D][N]);
|
|
13794
|
+
else typeof O[D] == "function" && A(O, D, O[D]);
|
|
13795
13795
|
}
|
|
13796
13796
|
this.hasListener = Object.keys(this.listeners).length > 0;
|
|
13797
13797
|
}
|
|
13798
13798
|
async runAsync() {
|
|
13799
13799
|
this.plugin = 0;
|
|
13800
13800
|
for (let A = 0; A < this.plugins.length; A++) {
|
|
13801
|
-
let O = this.plugins[A],
|
|
13802
|
-
if (g(
|
|
13803
|
-
await
|
|
13801
|
+
let O = this.plugins[A], D = this.runOnRoot(O);
|
|
13802
|
+
if (g(D)) try {
|
|
13803
|
+
await D;
|
|
13804
13804
|
} catch (N) {
|
|
13805
13805
|
throw this.handleError(N);
|
|
13806
13806
|
}
|
|
@@ -13811,22 +13811,22 @@ function vb() {
|
|
|
13811
13811
|
A[l] = !0;
|
|
13812
13812
|
let O = [v(A)];
|
|
13813
13813
|
for (; O.length > 0; ) {
|
|
13814
|
-
let
|
|
13815
|
-
if (g(
|
|
13816
|
-
await
|
|
13814
|
+
let D = this.visitTick(O);
|
|
13815
|
+
if (g(D)) try {
|
|
13816
|
+
await D;
|
|
13817
13817
|
} catch (N) {
|
|
13818
13818
|
let j = O[O.length - 1].node;
|
|
13819
13819
|
throw this.handleError(N, j);
|
|
13820
13820
|
}
|
|
13821
13821
|
}
|
|
13822
13822
|
}
|
|
13823
|
-
if (this.listeners.OnceExit) for (let [O,
|
|
13823
|
+
if (this.listeners.OnceExit) for (let [O, D] of this.listeners.OnceExit) {
|
|
13824
13824
|
this.result.lastPlugin = O;
|
|
13825
13825
|
try {
|
|
13826
13826
|
if (A.type === "document") {
|
|
13827
|
-
let N = A.nodes.map((j) =>
|
|
13827
|
+
let N = A.nodes.map((j) => D(j, this.helpers));
|
|
13828
13828
|
await Promise.all(N);
|
|
13829
|
-
} else await
|
|
13829
|
+
} else await D(A, this.helpers);
|
|
13830
13830
|
} catch (N) {
|
|
13831
13831
|
throw this.handleError(N);
|
|
13832
13832
|
}
|
|
@@ -13839,7 +13839,7 @@ function vb() {
|
|
|
13839
13839
|
try {
|
|
13840
13840
|
if (typeof A == "object" && A.Once) {
|
|
13841
13841
|
if (this.result.root.type === "document") {
|
|
13842
|
-
let O = this.result.root.nodes.map((
|
|
13842
|
+
let O = this.result.root.nodes.map((D) => A.Once(D, this.helpers));
|
|
13843
13843
|
return g(O[0]) ? Promise.all(O) : O;
|
|
13844
13844
|
}
|
|
13845
13845
|
return A.Once(this.result.root, this.helpers);
|
|
@@ -13855,8 +13855,8 @@ function vb() {
|
|
|
13855
13855
|
this.stringified = !0, this.sync();
|
|
13856
13856
|
let A = this.result.opts, O = c;
|
|
13857
13857
|
A.syntax && (O = A.syntax.stringify), A.stringifier && (O = A.stringifier), O.stringify && (O = O.stringify);
|
|
13858
|
-
let
|
|
13859
|
-
return this.result.css =
|
|
13858
|
+
let D = new s(O, this.result.root, this.result.opts).generate();
|
|
13859
|
+
return this.result.css = D[0], this.result.map = D[1], this.result;
|
|
13860
13860
|
}
|
|
13861
13861
|
sync() {
|
|
13862
13862
|
if (this.error) throw this.error;
|
|
@@ -13879,9 +13879,9 @@ function vb() {
|
|
|
13879
13879
|
return this.css;
|
|
13880
13880
|
}
|
|
13881
13881
|
visitSync(A, O) {
|
|
13882
|
-
for (let [
|
|
13882
|
+
for (let [D, N] of A) {
|
|
13883
13883
|
let j;
|
|
13884
|
-
this.result.lastPlugin =
|
|
13884
|
+
this.result.lastPlugin = D;
|
|
13885
13885
|
try {
|
|
13886
13886
|
j = N(O, this.helpers);
|
|
13887
13887
|
} catch (U) {
|
|
@@ -13892,26 +13892,26 @@ function vb() {
|
|
|
13892
13892
|
}
|
|
13893
13893
|
}
|
|
13894
13894
|
visitTick(A) {
|
|
13895
|
-
let O = A[A.length - 1], { node:
|
|
13896
|
-
if (
|
|
13895
|
+
let O = A[A.length - 1], { node: D, visitors: N } = O;
|
|
13896
|
+
if (D.type !== "root" && D.type !== "document" && !D.parent) return void A.pop();
|
|
13897
13897
|
if (N.length > 0 && O.visitorIndex < N.length) {
|
|
13898
|
-
let [U,
|
|
13898
|
+
let [U, K] = N[O.visitorIndex];
|
|
13899
13899
|
O.visitorIndex += 1, O.visitorIndex === N.length && (O.visitors = [], O.visitorIndex = 0), this.result.lastPlugin = U;
|
|
13900
13900
|
try {
|
|
13901
|
-
return
|
|
13901
|
+
return K(D.toProxy(), this.helpers);
|
|
13902
13902
|
} catch (W) {
|
|
13903
|
-
throw this.handleError(W,
|
|
13903
|
+
throw this.handleError(W, D);
|
|
13904
13904
|
}
|
|
13905
13905
|
}
|
|
13906
13906
|
if (O.iterator !== 0) {
|
|
13907
|
-
let U,
|
|
13908
|
-
for (; U =
|
|
13909
|
-
O.iterator = 0, delete
|
|
13907
|
+
let U, K = O.iterator;
|
|
13908
|
+
for (; U = D.nodes[D.indexes[K]]; ) if (D.indexes[K] += 1, !U[l]) return U[l] = !0, void A.push(v(U));
|
|
13909
|
+
O.iterator = 0, delete D.indexes[K];
|
|
13910
13910
|
}
|
|
13911
13911
|
let j = O.events;
|
|
13912
13912
|
for (; O.eventIndex < j.length; ) {
|
|
13913
13913
|
let U = j[O.eventIndex];
|
|
13914
|
-
if (O.eventIndex += 1, U === 0) return void (
|
|
13914
|
+
if (O.eventIndex += 1, U === 0) return void (D.nodes && D.nodes.length && (D[l] = !0, O.iterator = D.getIterator()));
|
|
13915
13915
|
if (this.listeners[U]) return void (O.visitors = this.listeners[U]);
|
|
13916
13916
|
}
|
|
13917
13917
|
A.pop();
|
|
@@ -13919,11 +13919,11 @@ function vb() {
|
|
|
13919
13919
|
walkSync(A) {
|
|
13920
13920
|
A[l] = !0;
|
|
13921
13921
|
let O = y(A);
|
|
13922
|
-
for (let
|
|
13922
|
+
for (let D of O) if (D === 0) A.nodes && A.each((N) => {
|
|
13923
13923
|
N[l] || this.walkSync(N);
|
|
13924
13924
|
});
|
|
13925
13925
|
else {
|
|
13926
|
-
let N = this.listeners[
|
|
13926
|
+
let N = this.listeners[D];
|
|
13927
13927
|
if (N && this.visitSync(N, A.toProxy())) return;
|
|
13928
13928
|
}
|
|
13929
13929
|
}
|
|
@@ -14048,16 +14048,16 @@ function bw() {
|
|
|
14048
14048
|
return C.length === 1 && Array.isArray(C[0]) && (C = C[0]), new x(C);
|
|
14049
14049
|
}
|
|
14050
14050
|
return E.plugin = function(C, A) {
|
|
14051
|
-
let O,
|
|
14051
|
+
let O, D = !1;
|
|
14052
14052
|
function N(...j) {
|
|
14053
|
-
console && console.warn && !
|
|
14053
|
+
console && console.warn && !D && (D = !0, console.warn(C + `: postcss.plugin was deprecated. Migration guide:
|
|
14054
14054
|
https://evilmartians.com/chronicles/postcss-8-plugin-migration`), qt.env.LANG && qt.env.LANG.startsWith("cn") && console.warn(C + `: 里面 postcss.plugin 被弃用. 迁移指南:
|
|
14055
14055
|
https://www.w3ctech.com/topic/2226`));
|
|
14056
14056
|
let U = A(...j);
|
|
14057
14057
|
return U.postcssPlugin = C, U.postcssVersion = new x().version, U;
|
|
14058
14058
|
}
|
|
14059
|
-
return Object.defineProperty(N, "postcss", { get: () => (O || (O = N()), O) }), N.process = function(j, U,
|
|
14060
|
-
return E([N(
|
|
14059
|
+
return Object.defineProperty(N, "postcss", { get: () => (O || (O = N()), O) }), N.process = function(j, U, K) {
|
|
14060
|
+
return E([N(K)]).process(j, U);
|
|
14061
14061
|
}, N;
|
|
14062
14062
|
}, E.stringify = T, E.parse = m, E.fromJSON = c, E.list = d, E.comment = (C) => new t(C), E.atRule = (C) => new e(C), E.decl = (C) => new i(C), E.rule = (C) => new v(C), E.root = (C) => new y(C), E.document = (C) => new o(C), E.CssSyntaxError = n, E.Declaration = i, E.Container = s, E.Processor = x, E.Document = o, E.Comment = t, E.Warning = w, E.AtRule = e, E.Result = g, E.Input = l, E.Rule = v, E.Root = y, E.Node = f, p.registerPostcss(E), al = E, E.default = E, al;
|
|
14063
14063
|
}
|
|
@@ -14329,13 +14329,13 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14329
14329
|
}, v.insertAfter = function(T, w) {
|
|
14330
14330
|
var E;
|
|
14331
14331
|
w.parent = this;
|
|
14332
|
-
for (var C, A = this.index(T), O = [],
|
|
14332
|
+
for (var C, A = this.index(T), O = [], D = 2; D < arguments.length; D++) O.push(arguments[D]);
|
|
14333
14333
|
for (var N in (E = this.nodes).splice.apply(E, [A + 1, 0, w].concat(O)), w.parent = this, this.indexes) A < (C = this.indexes[N]) && (this.indexes[N] = C + arguments.length - 1);
|
|
14334
14334
|
return this;
|
|
14335
14335
|
}, v.insertBefore = function(T, w) {
|
|
14336
14336
|
var E;
|
|
14337
14337
|
w.parent = this;
|
|
14338
|
-
for (var C, A = this.index(T), O = [],
|
|
14338
|
+
for (var C, A = this.index(T), O = [], D = 2; D < arguments.length; D++) O.push(arguments[D]);
|
|
14339
14339
|
for (var N in (E = this.nodes).splice.apply(E, [A, 0, w].concat(O)), w.parent = this, this.indexes) (C = this.indexes[N]) >= A && (this.indexes[N] = C + arguments.length - 1);
|
|
14340
14340
|
return this;
|
|
14341
14341
|
}, v._findChildAtPosition = function(T, w) {
|
|
@@ -14410,8 +14410,8 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
14410
14410
|
}, v.split = function(T) {
|
|
14411
14411
|
var w = this, E = [];
|
|
14412
14412
|
return this.reduce(function(C, A, O) {
|
|
14413
|
-
var
|
|
14414
|
-
return E.push(A),
|
|
14413
|
+
var D = T.call(w, A);
|
|
14414
|
+
return E.push(A), D ? (C.push(E), E = []) : O === w.length - 1 && C.push(E), C;
|
|
14415
14415
|
}, []);
|
|
14416
14416
|
}, v.map = function(T) {
|
|
14417
14417
|
return this.nodes.map(T);
|
|
@@ -14741,9 +14741,9 @@ function Ob() {
|
|
|
14741
14741
|
return E && E.__esModule ? E : { default: E };
|
|
14742
14742
|
}
|
|
14743
14743
|
function l(E, C, A) {
|
|
14744
|
-
return C && (function(O,
|
|
14745
|
-
for (var N = 0; N <
|
|
14746
|
-
var j =
|
|
14744
|
+
return C && (function(O, D) {
|
|
14745
|
+
for (var N = 0; N < D.length; N++) {
|
|
14746
|
+
var j = D[N];
|
|
14747
14747
|
j.enumerable = j.enumerable || !1, j.configurable = !0, "value" in j && (j.writable = !0), Object.defineProperty(O, j.key, j);
|
|
14748
14748
|
}
|
|
14749
14749
|
})(E.prototype, C), Object.defineProperty(E, "prototype", { writable: !1 }), E;
|
|
@@ -14758,8 +14758,8 @@ function Ob() {
|
|
|
14758
14758
|
}, "Assigning attr.quoted is deprecated and has no effect. Assign to attr.quoteMark instead."), g = d(function() {
|
|
14759
14759
|
}, "Constructing an Attribute selector with a value without specifying quoteMark is deprecated. Note: The value should be unescaped now.");
|
|
14760
14760
|
function y(E) {
|
|
14761
|
-
var C = !1, A = null, O = E,
|
|
14762
|
-
return
|
|
14761
|
+
var C = !1, A = null, O = E, D = O.match(f);
|
|
14762
|
+
return D && (A = D[1], O = D[2]), (O = (0, n.default)(O)) !== E && (C = !0), { deprecatedUsage: C, unescaped: O, quoteMark: A };
|
|
14763
14763
|
}
|
|
14764
14764
|
var v = (function(E) {
|
|
14765
14765
|
var C, A;
|
|
@@ -14768,8 +14768,8 @@ function Ob() {
|
|
|
14768
14768
|
return N === void 0 && (N = {}), j = E.call(this, (function(U) {
|
|
14769
14769
|
if (U.quoteMark !== void 0 || U.value === void 0) return U;
|
|
14770
14770
|
g();
|
|
14771
|
-
var
|
|
14772
|
-
return U.raws || (U.raws = {}), U.raws.value === void 0 && (U.raws.value = U.value), U.value =
|
|
14771
|
+
var K = y(U.value), W = K.quoteMark, V = K.unescaped;
|
|
14772
|
+
return U.raws || (U.raws = {}), U.raws.value === void 0 && (U.raws.value = U.value), U.value = V, U.quoteMark = W, U;
|
|
14773
14773
|
})(N)) || this, j.type = o.ATTRIBUTE, j.raws = j.raws || {}, Object.defineProperty(j.raws, "unquoted", { get: d(function() {
|
|
14774
14774
|
return j.value;
|
|
14775
14775
|
}, "attr.raws.unquoted is deprecated. Call attr.value instead."), set: d(function() {
|
|
@@ -14777,64 +14777,64 @@ function Ob() {
|
|
|
14777
14777
|
}, "Setting attr.raws.unquoted is deprecated and has no effect. attr.value is unescaped by default now.") }), j._constructed = !0, j;
|
|
14778
14778
|
}
|
|
14779
14779
|
A = E, (C = O).prototype = Object.create(A.prototype), C.prototype.constructor = C, p(C, A);
|
|
14780
|
-
var
|
|
14781
|
-
return
|
|
14780
|
+
var D = O.prototype;
|
|
14781
|
+
return D.getQuotedValue = function(N) {
|
|
14782
14782
|
N === void 0 && (N = {});
|
|
14783
14783
|
var j = this._determineQuoteMark(N), U = T[j];
|
|
14784
14784
|
return (0, s.default)(this._value, U);
|
|
14785
|
-
},
|
|
14785
|
+
}, D._determineQuoteMark = function(N) {
|
|
14786
14786
|
return N.smart ? this.smartQuoteMark(N) : this.preferredQuoteMark(N);
|
|
14787
|
-
},
|
|
14787
|
+
}, D.setValue = function(N, j) {
|
|
14788
14788
|
j === void 0 && (j = {}), this._value = N, this._quoteMark = this._determineQuoteMark(j), this._syncRawValue();
|
|
14789
|
-
},
|
|
14790
|
-
var j = this.value, U = j.replace(/[^']/g, "").length,
|
|
14791
|
-
if (U +
|
|
14789
|
+
}, D.smartQuoteMark = function(N) {
|
|
14790
|
+
var j = this.value, U = j.replace(/[^']/g, "").length, K = j.replace(/[^"]/g, "").length;
|
|
14791
|
+
if (U + K === 0) {
|
|
14792
14792
|
var W = (0, s.default)(j, { isIdentifier: !0 });
|
|
14793
14793
|
if (W === j) return O.NO_QUOTE;
|
|
14794
|
-
var
|
|
14795
|
-
if (
|
|
14796
|
-
var
|
|
14797
|
-
if ((0, s.default)(j, q).length < W.length) return
|
|
14794
|
+
var V = this.preferredQuoteMark(N);
|
|
14795
|
+
if (V === O.NO_QUOTE) {
|
|
14796
|
+
var F = this.quoteMark || N.quoteMark || O.DOUBLE_QUOTE, q = T[F];
|
|
14797
|
+
if ((0, s.default)(j, q).length < W.length) return F;
|
|
14798
14798
|
}
|
|
14799
|
-
return
|
|
14799
|
+
return V;
|
|
14800
14800
|
}
|
|
14801
|
-
return
|
|
14802
|
-
},
|
|
14801
|
+
return K === U ? this.preferredQuoteMark(N) : K < U ? O.DOUBLE_QUOTE : O.SINGLE_QUOTE;
|
|
14802
|
+
}, D.preferredQuoteMark = function(N) {
|
|
14803
14803
|
var j = N.preferCurrentQuoteMark ? this.quoteMark : N.quoteMark;
|
|
14804
14804
|
return j === void 0 && (j = N.preferCurrentQuoteMark ? N.quoteMark : this.quoteMark), j === void 0 && (j = O.DOUBLE_QUOTE), j;
|
|
14805
|
-
},
|
|
14805
|
+
}, D._syncRawValue = function() {
|
|
14806
14806
|
var N = (0, s.default)(this._value, T[this.quoteMark]);
|
|
14807
14807
|
N === this._value ? this.raws && delete this.raws.value : this.raws.value = N;
|
|
14808
|
-
},
|
|
14808
|
+
}, D._handleEscapes = function(N, j) {
|
|
14809
14809
|
if (this._constructed) {
|
|
14810
14810
|
var U = (0, s.default)(j, { isIdentifier: !0 });
|
|
14811
14811
|
U !== j ? this.raws[N] = U : delete this.raws[N];
|
|
14812
14812
|
}
|
|
14813
|
-
},
|
|
14813
|
+
}, D._spacesFor = function(N) {
|
|
14814
14814
|
var j = this.spaces[N] || {}, U = this.raws.spaces && this.raws.spaces[N] || {};
|
|
14815
14815
|
return Object.assign({ before: "", after: "" }, j, U);
|
|
14816
|
-
},
|
|
14816
|
+
}, D._stringFor = function(N, j, U) {
|
|
14817
14817
|
j === void 0 && (j = N), U === void 0 && (U = w);
|
|
14818
|
-
var
|
|
14819
|
-
return U(this.stringifyProperty(N),
|
|
14820
|
-
},
|
|
14818
|
+
var K = this._spacesFor(j);
|
|
14819
|
+
return U(this.stringifyProperty(N), K);
|
|
14820
|
+
}, D.offsetOf = function(N) {
|
|
14821
14821
|
var j = 1, U = this._spacesFor("attribute");
|
|
14822
14822
|
if (j += U.before.length, N === "namespace" || N === "ns") return this.namespace ? j : -1;
|
|
14823
14823
|
if (N === "attributeNS" || (j += this.namespaceString.length, this.namespace && (j += 1), N === "attribute")) return j;
|
|
14824
14824
|
j += this.stringifyProperty("attribute").length, j += U.after.length;
|
|
14825
|
-
var
|
|
14826
|
-
j +=
|
|
14825
|
+
var K = this._spacesFor("operator");
|
|
14826
|
+
j += K.before.length;
|
|
14827
14827
|
var W = this.stringifyProperty("operator");
|
|
14828
14828
|
if (N === "operator") return W ? j : -1;
|
|
14829
|
-
j += W.length, j +=
|
|
14830
|
-
var
|
|
14831
|
-
j +=
|
|
14832
|
-
var
|
|
14833
|
-
return N === "value" ?
|
|
14834
|
-
},
|
|
14829
|
+
j += W.length, j += K.after.length;
|
|
14830
|
+
var V = this._spacesFor("value");
|
|
14831
|
+
j += V.before.length;
|
|
14832
|
+
var F = this.stringifyProperty("value");
|
|
14833
|
+
return N === "value" ? F ? j : -1 : (j += F.length, j += V.after.length, j += this._spacesFor("insensitive").before.length, N === "insensitive" && this.insensitive ? j : -1);
|
|
14834
|
+
}, D.toString = function() {
|
|
14835
14835
|
var N = this, j = [this.rawSpaceBefore, "["];
|
|
14836
|
-
return j.push(this._stringFor("qualifiedAttribute", "attribute")), this.operator && (this.value || this.value === "") && (j.push(this._stringFor("operator")), j.push(this._stringFor("value")), j.push(this._stringFor("insensitiveFlag", "insensitive", function(U,
|
|
14837
|
-
return !(U.length > 0) || N.quoted ||
|
|
14836
|
+
return j.push(this._stringFor("qualifiedAttribute", "attribute")), this.operator && (this.value || this.value === "") && (j.push(this._stringFor("operator")), j.push(this._stringFor("value")), j.push(this._stringFor("insensitiveFlag", "insensitive", function(U, K) {
|
|
14837
|
+
return !(U.length > 0) || N.quoted || K.before.length !== 0 || N.spaces.value && N.spaces.value.after || (K.before = " "), w(U, K);
|
|
14838
14838
|
}))), j.push("]"), j.push(this.rawSpaceAfter), j.join("");
|
|
14839
14839
|
}, l(O, [{ key: "quoted", get: function() {
|
|
14840
14840
|
var N = this.quoteMark;
|
|
@@ -14853,9 +14853,9 @@ function Ob() {
|
|
|
14853
14853
|
return this._value;
|
|
14854
14854
|
}, set: function(N) {
|
|
14855
14855
|
if (this._constructed) {
|
|
14856
|
-
var j = y(N), U = j.deprecatedUsage,
|
|
14857
|
-
if (U && m(),
|
|
14858
|
-
this._value =
|
|
14856
|
+
var j = y(N), U = j.deprecatedUsage, K = j.unescaped, W = j.quoteMark;
|
|
14857
|
+
if (U && m(), K === this._value && W === this._quoteMark) return;
|
|
14858
|
+
this._value = K, this._quoteMark = W, this._syncRawValue();
|
|
14859
14859
|
} else this._value = N;
|
|
14860
14860
|
} }, { key: "insensitive", get: function() {
|
|
14861
14861
|
return this._insensitive;
|
|
@@ -14953,13 +14953,13 @@ function Db() {
|
|
|
14953
14953
|
function _w() {
|
|
14954
14954
|
return Yf || (Yf = 1, (function(e) {
|
|
14955
14955
|
e.__esModule = !0, e.FIELDS = void 0, e.default = function(x) {
|
|
14956
|
-
var g, y, v, T, w, E, C, A, O,
|
|
14957
|
-
function ee(
|
|
14958
|
-
if (!x.safe) throw x.error("Unclosed " +
|
|
14959
|
-
A = (
|
|
14956
|
+
var g, y, v, T, w, E, C, A, O, D, N, j, U = [], K = x.css.valueOf(), W = K.length, V = -1, F = 1, q = 0, G = 0;
|
|
14957
|
+
function ee(ae, be) {
|
|
14958
|
+
if (!x.safe) throw x.error("Unclosed " + ae, F, q - V, q);
|
|
14959
|
+
A = (K += be).length - 1;
|
|
14960
14960
|
}
|
|
14961
14961
|
for (; q < W; ) {
|
|
14962
|
-
switch ((g =
|
|
14962
|
+
switch ((g = K.charCodeAt(q)) === n.newline && (V = q, F += 1), g) {
|
|
14963
14963
|
case n.space:
|
|
14964
14964
|
case n.tab:
|
|
14965
14965
|
case n.newline:
|
|
@@ -14967,9 +14967,9 @@ function _w() {
|
|
|
14967
14967
|
case n.feed:
|
|
14968
14968
|
A = q;
|
|
14969
14969
|
do
|
|
14970
|
-
A += 1, (g =
|
|
14970
|
+
A += 1, (g = K.charCodeAt(A)) === n.newline && (V = A, F += 1);
|
|
14971
14971
|
while (g === n.space || g === n.newline || g === n.tab || g === n.cr || g === n.feed);
|
|
14972
|
-
j = n.space, v =
|
|
14972
|
+
j = n.space, v = F, y = A - V - 1, G = A;
|
|
14973
14973
|
break;
|
|
14974
14974
|
case n.plus:
|
|
14975
14975
|
case n.greaterThan:
|
|
@@ -14977,9 +14977,9 @@ function _w() {
|
|
|
14977
14977
|
case n.pipe:
|
|
14978
14978
|
A = q;
|
|
14979
14979
|
do
|
|
14980
|
-
A += 1, g =
|
|
14980
|
+
A += 1, g = K.charCodeAt(A);
|
|
14981
14981
|
while (g === n.plus || g === n.greaterThan || g === n.tilde || g === n.pipe);
|
|
14982
|
-
j = n.combinator, v =
|
|
14982
|
+
j = n.combinator, v = F, y = q - V, G = A;
|
|
14983
14983
|
break;
|
|
14984
14984
|
case n.asterisk:
|
|
14985
14985
|
case n.ampersand:
|
|
@@ -14994,21 +14994,21 @@ function _w() {
|
|
|
14994
14994
|
case n.semicolon:
|
|
14995
14995
|
case n.openParenthesis:
|
|
14996
14996
|
case n.closeParenthesis:
|
|
14997
|
-
j = g, v =
|
|
14997
|
+
j = g, v = F, y = q - V, G = (A = q) + 1;
|
|
14998
14998
|
break;
|
|
14999
14999
|
case n.singleQuote:
|
|
15000
15000
|
case n.doubleQuote:
|
|
15001
15001
|
N = g === n.singleQuote ? "'" : '"', A = q;
|
|
15002
15002
|
do
|
|
15003
|
-
for (T = !1, (A =
|
|
15003
|
+
for (T = !1, (A = K.indexOf(N, A + 1)) === -1 && ee("quote", N), w = A; K.charCodeAt(w - 1) === n.backslash; ) w -= 1, T = !T;
|
|
15004
15004
|
while (T);
|
|
15005
|
-
j = n.str, v =
|
|
15005
|
+
j = n.str, v = F, y = q - V, G = A + 1;
|
|
15006
15006
|
break;
|
|
15007
15007
|
default:
|
|
15008
|
-
g === n.slash &&
|
|
15009
|
-
`)).length - 1) > 0 ? (O =
|
|
15008
|
+
g === n.slash && K.charCodeAt(q + 1) === n.asterisk ? ((A = K.indexOf("*/", q + 2) + 1) === 0 && ee("comment", "*/"), (E = (C = K.slice(q, A + 1).split(`
|
|
15009
|
+
`)).length - 1) > 0 ? (O = F + E, D = A - C[E].length) : (O = F, D = V), j = n.comment, F = O, v = O, y = A - D) : g === n.slash ? (j = g, v = F, y = q - V, G = (A = q) + 1) : (A = f(K, q), j = n.word, v = F, y = A - V), G = A + 1;
|
|
15010
15010
|
}
|
|
15011
|
-
U.push([j,
|
|
15011
|
+
U.push([j, F, q - V, v, y, q, G]), D && (V = D, D = null), q = G;
|
|
15012
15012
|
}
|
|
15013
15013
|
return U;
|
|
15014
15014
|
};
|
|
@@ -15057,201 +15057,201 @@ function _w() {
|
|
|
15057
15057
|
function Pw() {
|
|
15058
15058
|
return Qf || (Qf = 1, (function(e, t) {
|
|
15059
15059
|
t.__esModule = !0, t.default = void 0;
|
|
15060
|
-
var s, n, i = N(wb()), o = N(Eb()), c = N(_b()), l = N(Pb()), p = N(Ab()), d = N(Cb()), f = N(Ib()), m = N(Nb()), x =
|
|
15060
|
+
var s, n, i = N(wb()), o = N(Eb()), c = N(_b()), l = N(Pb()), p = N(Ab()), d = N(Cb()), f = N(Ib()), m = N(Nb()), x = D(Ob()), g = N(Lb()), y = N(Rb()), v = N(Mb()), T = N(Ew()), w = D(_w()), E = D(Db()), C = D(It()), A = Va();
|
|
15061
15061
|
function O(Q) {
|
|
15062
15062
|
if (typeof WeakMap != "function") return null;
|
|
15063
|
-
var
|
|
15063
|
+
var le = /* @__PURE__ */ new WeakMap(), X = /* @__PURE__ */ new WeakMap();
|
|
15064
15064
|
return (O = function($) {
|
|
15065
|
-
return $ ?
|
|
15065
|
+
return $ ? X : le;
|
|
15066
15066
|
})(Q);
|
|
15067
15067
|
}
|
|
15068
|
-
function
|
|
15068
|
+
function D(Q, le) {
|
|
15069
15069
|
if (Q && Q.__esModule) return Q;
|
|
15070
15070
|
if (Q === null || typeof Q != "object" && typeof Q != "function") return { default: Q };
|
|
15071
|
-
var
|
|
15072
|
-
if (
|
|
15071
|
+
var X = O(le);
|
|
15072
|
+
if (X && X.has(Q)) return X.get(Q);
|
|
15073
15073
|
var $ = {}, oe = Object.defineProperty && Object.getOwnPropertyDescriptor;
|
|
15074
15074
|
for (var Y in Q) if (Y !== "default" && Object.prototype.hasOwnProperty.call(Q, Y)) {
|
|
15075
|
-
var
|
|
15076
|
-
|
|
15075
|
+
var se = oe ? Object.getOwnPropertyDescriptor(Q, Y) : null;
|
|
15076
|
+
se && (se.get || se.set) ? Object.defineProperty($, Y, se) : $[Y] = Q[Y];
|
|
15077
15077
|
}
|
|
15078
|
-
return $.default = Q,
|
|
15078
|
+
return $.default = Q, X && X.set(Q, $), $;
|
|
15079
15079
|
}
|
|
15080
15080
|
function N(Q) {
|
|
15081
15081
|
return Q && Q.__esModule ? Q : { default: Q };
|
|
15082
15082
|
}
|
|
15083
|
-
function j(Q,
|
|
15084
|
-
return
|
|
15083
|
+
function j(Q, le, X) {
|
|
15084
|
+
return le && (function($, oe) {
|
|
15085
15085
|
for (var Y = 0; Y < oe.length; Y++) {
|
|
15086
|
-
var
|
|
15087
|
-
|
|
15086
|
+
var se = oe[Y];
|
|
15087
|
+
se.enumerable = se.enumerable || !1, se.configurable = !0, "value" in se && (se.writable = !0), Object.defineProperty($, se.key, se);
|
|
15088
15088
|
}
|
|
15089
|
-
})(Q.prototype,
|
|
15089
|
+
})(Q.prototype, le), Object.defineProperty(Q, "prototype", { writable: !1 }), Q;
|
|
15090
15090
|
}
|
|
15091
|
-
var U = ((s = {})[E.space] = !0, s[E.cr] = !0, s[E.feed] = !0, s[E.newline] = !0, s[E.tab] = !0, s),
|
|
15091
|
+
var U = ((s = {})[E.space] = !0, s[E.cr] = !0, s[E.feed] = !0, s[E.newline] = !0, s[E.tab] = !0, s), K = Object.assign({}, U, ((n = {})[E.comment] = !0, n));
|
|
15092
15092
|
function W(Q) {
|
|
15093
15093
|
return { line: Q[w.FIELDS.START_LINE], column: Q[w.FIELDS.START_COL] };
|
|
15094
15094
|
}
|
|
15095
|
-
function
|
|
15095
|
+
function V(Q) {
|
|
15096
15096
|
return { line: Q[w.FIELDS.END_LINE], column: Q[w.FIELDS.END_COL] };
|
|
15097
15097
|
}
|
|
15098
|
-
function
|
|
15099
|
-
return { start: { line: Q, column:
|
|
15098
|
+
function F(Q, le, X, $) {
|
|
15099
|
+
return { start: { line: Q, column: le }, end: { line: X, column: $ } };
|
|
15100
15100
|
}
|
|
15101
15101
|
function q(Q) {
|
|
15102
|
-
return
|
|
15102
|
+
return F(Q[w.FIELDS.START_LINE], Q[w.FIELDS.START_COL], Q[w.FIELDS.END_LINE], Q[w.FIELDS.END_COL]);
|
|
15103
15103
|
}
|
|
15104
|
-
function G(Q,
|
|
15105
|
-
if (Q) return
|
|
15104
|
+
function G(Q, le) {
|
|
15105
|
+
if (Q) return F(Q[w.FIELDS.START_LINE], Q[w.FIELDS.START_COL], le[w.FIELDS.END_LINE], le[w.FIELDS.END_COL]);
|
|
15106
15106
|
}
|
|
15107
|
-
function ee(Q,
|
|
15108
|
-
var
|
|
15109
|
-
if (typeof
|
|
15107
|
+
function ee(Q, le) {
|
|
15108
|
+
var X = Q[le];
|
|
15109
|
+
if (typeof X == "string") return X.indexOf("\\") !== -1 && ((0, A.ensureObject)(Q, "raws"), Q[le] = (0, A.unesc)(X), Q.raws[le] === void 0 && (Q.raws[le] = X)), Q;
|
|
15110
15110
|
}
|
|
15111
|
-
function
|
|
15112
|
-
for (var
|
|
15111
|
+
function ae(Q, le) {
|
|
15112
|
+
for (var X = -1, $ = []; (X = Q.indexOf(le, X + 1)) !== -1; ) $.push(X);
|
|
15113
15113
|
return $;
|
|
15114
15114
|
}
|
|
15115
15115
|
var be = (function() {
|
|
15116
|
-
function Q(
|
|
15117
|
-
$ === void 0 && ($ = {}), this.rule =
|
|
15116
|
+
function Q(X, $) {
|
|
15117
|
+
$ === void 0 && ($ = {}), this.rule = X, this.options = Object.assign({ lossy: !1, safe: !1 }, $), this.position = 0, this.css = typeof this.rule == "string" ? this.rule : this.rule.selector, this.tokens = (0, w.default)({ css: this.css, error: this._errorGenerator(), safe: this.options.safe });
|
|
15118
15118
|
var oe = G(this.tokens[0], this.tokens[this.tokens.length - 1]);
|
|
15119
15119
|
this.root = new i.default({ source: oe }), this.root.errorGenerator = this._errorGenerator();
|
|
15120
15120
|
var Y = new o.default({ source: { start: { line: 1, column: 1 } }, sourceIndex: 0 });
|
|
15121
15121
|
this.root.append(Y), this.current = Y, this.loop();
|
|
15122
15122
|
}
|
|
15123
|
-
var
|
|
15124
|
-
return
|
|
15125
|
-
var
|
|
15123
|
+
var le = Q.prototype;
|
|
15124
|
+
return le._errorGenerator = function() {
|
|
15125
|
+
var X = this;
|
|
15126
15126
|
return function($, oe) {
|
|
15127
|
-
return typeof
|
|
15127
|
+
return typeof X.rule == "string" ? new Error($) : X.rule.error($, oe);
|
|
15128
15128
|
};
|
|
15129
|
-
},
|
|
15130
|
-
var
|
|
15131
|
-
for (this.position++; this.position < this.tokens.length && this.currToken[w.FIELDS.TYPE] !== E.closeSquare; )
|
|
15129
|
+
}, le.attribute = function() {
|
|
15130
|
+
var X = [], $ = this.currToken;
|
|
15131
|
+
for (this.position++; this.position < this.tokens.length && this.currToken[w.FIELDS.TYPE] !== E.closeSquare; ) X.push(this.currToken), this.position++;
|
|
15132
15132
|
if (this.currToken[w.FIELDS.TYPE] !== E.closeSquare) return this.expected("closing square bracket", this.currToken[w.FIELDS.START_POS]);
|
|
15133
|
-
var oe =
|
|
15134
|
-
if (oe === 1 && !~[E.word].indexOf(
|
|
15135
|
-
for (var
|
|
15136
|
-
var we =
|
|
15133
|
+
var oe = X.length, Y = { source: F($[1], $[2], this.currToken[3], this.currToken[4]), sourceIndex: $[w.FIELDS.START_POS] };
|
|
15134
|
+
if (oe === 1 && !~[E.word].indexOf(X[0][w.FIELDS.TYPE])) return this.expected("attribute", X[0][w.FIELDS.START_POS]);
|
|
15135
|
+
for (var se = 0, z = "", ie = "", ce = null, ge = !1; se < oe; ) {
|
|
15136
|
+
var we = X[se], fe = this.content(we), me = X[se + 1];
|
|
15137
15137
|
switch (we[w.FIELDS.TYPE]) {
|
|
15138
15138
|
case E.space:
|
|
15139
15139
|
if (ge = !0, this.options.lossy) break;
|
|
15140
|
-
if (
|
|
15141
|
-
(0, A.ensureObject)(Y, "spaces",
|
|
15142
|
-
var Le = Y.spaces[
|
|
15143
|
-
Y.spaces[
|
|
15144
|
-
var qe = (0, A.getProp)(Y, "raws", "spaces",
|
|
15145
|
-
qe && (Y.raws.spaces[
|
|
15146
|
-
} else z += fe,
|
|
15140
|
+
if (ce) {
|
|
15141
|
+
(0, A.ensureObject)(Y, "spaces", ce);
|
|
15142
|
+
var Le = Y.spaces[ce].after || "";
|
|
15143
|
+
Y.spaces[ce].after = Le + fe;
|
|
15144
|
+
var qe = (0, A.getProp)(Y, "raws", "spaces", ce, "after") || null;
|
|
15145
|
+
qe && (Y.raws.spaces[ce].after = qe + fe);
|
|
15146
|
+
} else z += fe, ie += fe;
|
|
15147
15147
|
break;
|
|
15148
15148
|
case E.asterisk:
|
|
15149
|
-
me[w.FIELDS.TYPE] === E.equals ? (Y.operator = fe,
|
|
15149
|
+
me[w.FIELDS.TYPE] === E.equals ? (Y.operator = fe, ce = "operator") : (!Y.namespace || ce === "namespace" && !ge) && me && (z && ((0, A.ensureObject)(Y, "spaces", "attribute"), Y.spaces.attribute.before = z, z = ""), ie && ((0, A.ensureObject)(Y, "raws", "spaces", "attribute"), Y.raws.spaces.attribute.before = z, ie = ""), Y.namespace = (Y.namespace || "") + fe, (0, A.getProp)(Y, "raws", "namespace") && (Y.raws.namespace += fe), ce = "namespace"), ge = !1;
|
|
15150
15150
|
break;
|
|
15151
15151
|
case E.dollar:
|
|
15152
|
-
if (
|
|
15152
|
+
if (ce === "value") {
|
|
15153
15153
|
var Me = (0, A.getProp)(Y, "raws", "value");
|
|
15154
15154
|
Y.value += "$", Me && (Y.raws.value = Me + "$");
|
|
15155
15155
|
break;
|
|
15156
15156
|
}
|
|
15157
15157
|
case E.caret:
|
|
15158
|
-
me[w.FIELDS.TYPE] === E.equals && (Y.operator = fe,
|
|
15158
|
+
me[w.FIELDS.TYPE] === E.equals && (Y.operator = fe, ce = "operator"), ge = !1;
|
|
15159
15159
|
break;
|
|
15160
15160
|
case E.combinator:
|
|
15161
|
-
if (fe === "~" && me[w.FIELDS.TYPE] === E.equals && (Y.operator = fe,
|
|
15161
|
+
if (fe === "~" && me[w.FIELDS.TYPE] === E.equals && (Y.operator = fe, ce = "operator"), fe !== "|") {
|
|
15162
15162
|
ge = !1;
|
|
15163
15163
|
break;
|
|
15164
15164
|
}
|
|
15165
|
-
me[w.FIELDS.TYPE] === E.equals ? (Y.operator = fe,
|
|
15165
|
+
me[w.FIELDS.TYPE] === E.equals ? (Y.operator = fe, ce = "operator") : Y.namespace || Y.attribute || (Y.namespace = !0), ge = !1;
|
|
15166
15166
|
break;
|
|
15167
15167
|
case E.word:
|
|
15168
|
-
if (me && this.content(me) === "|" &&
|
|
15169
|
-
else if (!Y.attribute ||
|
|
15170
|
-
z && ((0, A.ensureObject)(Y, "spaces", "attribute"), Y.spaces.attribute.before = z, z = ""),
|
|
15171
|
-
else if (!Y.value && Y.value !== "" ||
|
|
15168
|
+
if (me && this.content(me) === "|" && X[se + 2] && X[se + 2][w.FIELDS.TYPE] !== E.equals && !Y.operator && !Y.namespace) Y.namespace = fe, ce = "namespace";
|
|
15169
|
+
else if (!Y.attribute || ce === "attribute" && !ge)
|
|
15170
|
+
z && ((0, A.ensureObject)(Y, "spaces", "attribute"), Y.spaces.attribute.before = z, z = ""), ie && ((0, A.ensureObject)(Y, "raws", "spaces", "attribute"), Y.raws.spaces.attribute.before = ie, ie = ""), Y.attribute = (Y.attribute || "") + fe, (0, A.getProp)(Y, "raws", "attribute") && (Y.raws.attribute += fe), ce = "attribute";
|
|
15171
|
+
else if (!Y.value && Y.value !== "" || ce === "value" && !ge && !Y.quoteMark) {
|
|
15172
15172
|
var ct = (0, A.unesc)(fe), wt = (0, A.getProp)(Y, "raws", "value") || "", rr = Y.value || "";
|
|
15173
|
-
Y.value = rr + ct, Y.quoteMark = null, (ct !== fe || wt) && ((0, A.ensureObject)(Y, "raws"), Y.raws.value = (wt || rr) + fe),
|
|
15173
|
+
Y.value = rr + ct, Y.quoteMark = null, (ct !== fe || wt) && ((0, A.ensureObject)(Y, "raws"), Y.raws.value = (wt || rr) + fe), ce = "value";
|
|
15174
15174
|
} else {
|
|
15175
15175
|
var dr = fe === "i" || fe === "I";
|
|
15176
|
-
!Y.value && Y.value !== "" || !Y.quoteMark && !ge ? (Y.value || Y.value === "") && (
|
|
15176
|
+
!Y.value && Y.value !== "" || !Y.quoteMark && !ge ? (Y.value || Y.value === "") && (ce = "value", Y.value += fe, Y.raws.value && (Y.raws.value += fe)) : (Y.insensitive = dr, dr && fe !== "I" || ((0, A.ensureObject)(Y, "raws"), Y.raws.insensitiveFlag = fe), ce = "insensitive", z && ((0, A.ensureObject)(Y, "spaces", "insensitive"), Y.spaces.insensitive.before = z, z = ""), ie && ((0, A.ensureObject)(Y, "raws", "spaces", "insensitive"), Y.raws.spaces.insensitive.before = ie, ie = ""));
|
|
15177
15177
|
}
|
|
15178
15178
|
ge = !1;
|
|
15179
15179
|
break;
|
|
15180
15180
|
case E.str:
|
|
15181
15181
|
if (!Y.attribute || !Y.operator) return this.error("Expected an attribute followed by an operator preceding the string.", { index: we[w.FIELDS.START_POS] });
|
|
15182
15182
|
var cs = (0, x.unescapeValue)(fe), vn = cs.unescaped, Br = cs.quoteMark;
|
|
15183
|
-
Y.value = vn, Y.quoteMark = Br,
|
|
15183
|
+
Y.value = vn, Y.quoteMark = Br, ce = "value", (0, A.ensureObject)(Y, "raws"), Y.raws.value = fe, ge = !1;
|
|
15184
15184
|
break;
|
|
15185
15185
|
case E.equals:
|
|
15186
15186
|
if (!Y.attribute) return this.expected("attribute", we[w.FIELDS.START_POS], fe);
|
|
15187
15187
|
if (Y.value) return this.error('Unexpected "=" found; an operator was already defined.', { index: we[w.FIELDS.START_POS] });
|
|
15188
|
-
Y.operator = Y.operator ? Y.operator + fe : fe,
|
|
15188
|
+
Y.operator = Y.operator ? Y.operator + fe : fe, ce = "operator", ge = !1;
|
|
15189
15189
|
break;
|
|
15190
15190
|
case E.comment:
|
|
15191
|
-
if (
|
|
15192
|
-
var Jt = (0, A.getProp)(Y, "spaces",
|
|
15193
|
-
(0, A.ensureObject)(Y, "raws", "spaces",
|
|
15191
|
+
if (ce) if (ge || me && me[w.FIELDS.TYPE] === E.space || ce === "insensitive") {
|
|
15192
|
+
var Jt = (0, A.getProp)(Y, "spaces", ce, "after") || "", Ar = (0, A.getProp)(Y, "raws", "spaces", ce, "after") || Jt;
|
|
15193
|
+
(0, A.ensureObject)(Y, "raws", "spaces", ce), Y.raws.spaces[ce].after = Ar + fe;
|
|
15194
15194
|
} else {
|
|
15195
|
-
var ec = Y[
|
|
15196
|
-
(0, A.ensureObject)(Y, "raws"), Y.raws[
|
|
15195
|
+
var ec = Y[ce] || "", tc = (0, A.getProp)(Y, "raws", ce) || ec;
|
|
15196
|
+
(0, A.ensureObject)(Y, "raws"), Y.raws[ce] = tc + fe;
|
|
15197
15197
|
}
|
|
15198
|
-
else
|
|
15198
|
+
else ie += fe;
|
|
15199
15199
|
break;
|
|
15200
15200
|
default:
|
|
15201
15201
|
return this.error('Unexpected "' + fe + '" found.', { index: we[w.FIELDS.START_POS] });
|
|
15202
15202
|
}
|
|
15203
|
-
|
|
15203
|
+
se++;
|
|
15204
15204
|
}
|
|
15205
15205
|
ee(Y, "attribute"), ee(Y, "namespace"), this.newNode(new x.default(Y)), this.position++;
|
|
15206
|
-
},
|
|
15207
|
-
|
|
15208
|
-
var $ = this.position, oe = [], Y = "",
|
|
15206
|
+
}, le.parseWhitespaceEquivalentTokens = function(X) {
|
|
15207
|
+
X < 0 && (X = this.tokens.length);
|
|
15208
|
+
var $ = this.position, oe = [], Y = "", se = void 0;
|
|
15209
15209
|
do
|
|
15210
15210
|
if (U[this.currToken[w.FIELDS.TYPE]]) this.options.lossy || (Y += this.content());
|
|
15211
15211
|
else if (this.currToken[w.FIELDS.TYPE] === E.comment) {
|
|
15212
15212
|
var z = {};
|
|
15213
|
-
Y && (z.before = Y, Y = ""),
|
|
15213
|
+
Y && (z.before = Y, Y = ""), se = new l.default({ value: this.content(), source: q(this.currToken), sourceIndex: this.currToken[w.FIELDS.START_POS], spaces: z }), oe.push(se);
|
|
15214
15214
|
}
|
|
15215
|
-
while (++this.position <
|
|
15215
|
+
while (++this.position < X);
|
|
15216
15216
|
if (Y) {
|
|
15217
|
-
if (
|
|
15217
|
+
if (se) se.spaces.after = Y;
|
|
15218
15218
|
else if (!this.options.lossy) {
|
|
15219
|
-
var
|
|
15220
|
-
oe.push(new f.default({ value: "", source:
|
|
15219
|
+
var ie = this.tokens[$], ce = this.tokens[this.position - 1];
|
|
15220
|
+
oe.push(new f.default({ value: "", source: F(ie[w.FIELDS.START_LINE], ie[w.FIELDS.START_COL], ce[w.FIELDS.END_LINE], ce[w.FIELDS.END_COL]), sourceIndex: ie[w.FIELDS.START_POS], spaces: { before: Y, after: "" } }));
|
|
15221
15221
|
}
|
|
15222
15222
|
}
|
|
15223
15223
|
return oe;
|
|
15224
|
-
},
|
|
15224
|
+
}, le.convertWhitespaceNodesToSpace = function(X, $) {
|
|
15225
15225
|
var oe = this;
|
|
15226
15226
|
$ === void 0 && ($ = !1);
|
|
15227
|
-
var Y = "",
|
|
15228
|
-
return
|
|
15229
|
-
var
|
|
15230
|
-
Y +=
|
|
15231
|
-
}),
|
|
15232
|
-
},
|
|
15233
|
-
return
|
|
15234
|
-
},
|
|
15227
|
+
var Y = "", se = "";
|
|
15228
|
+
return X.forEach(function(z) {
|
|
15229
|
+
var ie = oe.lossySpace(z.spaces.before, $), ce = oe.lossySpace(z.rawSpaceBefore, $);
|
|
15230
|
+
Y += ie + oe.lossySpace(z.spaces.after, $ && ie.length === 0), se += ie + z.value + oe.lossySpace(z.rawSpaceAfter, $ && ce.length === 0);
|
|
15231
|
+
}), se === Y && (se = void 0), { space: Y, rawSpace: se };
|
|
15232
|
+
}, le.isNamedCombinator = function(X) {
|
|
15233
|
+
return X === void 0 && (X = this.position), this.tokens[X + 0] && this.tokens[X + 0][w.FIELDS.TYPE] === E.slash && this.tokens[X + 1] && this.tokens[X + 1][w.FIELDS.TYPE] === E.word && this.tokens[X + 2] && this.tokens[X + 2][w.FIELDS.TYPE] === E.slash;
|
|
15234
|
+
}, le.namedCombinator = function() {
|
|
15235
15235
|
if (this.isNamedCombinator()) {
|
|
15236
|
-
var
|
|
15237
|
-
$ !==
|
|
15238
|
-
var Y = new y.default({ value: "/" + $ + "/", source:
|
|
15236
|
+
var X = this.content(this.tokens[this.position + 1]), $ = (0, A.unesc)(X).toLowerCase(), oe = {};
|
|
15237
|
+
$ !== X && (oe.value = "/" + X + "/");
|
|
15238
|
+
var Y = new y.default({ value: "/" + $ + "/", source: F(this.currToken[w.FIELDS.START_LINE], this.currToken[w.FIELDS.START_COL], this.tokens[this.position + 2][w.FIELDS.END_LINE], this.tokens[this.position + 2][w.FIELDS.END_COL]), sourceIndex: this.currToken[w.FIELDS.START_POS], raws: oe });
|
|
15239
15239
|
return this.position = this.position + 3, Y;
|
|
15240
15240
|
}
|
|
15241
15241
|
this.unexpected();
|
|
15242
|
-
},
|
|
15243
|
-
var
|
|
15242
|
+
}, le.combinator = function() {
|
|
15243
|
+
var X = this;
|
|
15244
15244
|
if (this.content() === "|") return this.namespace();
|
|
15245
15245
|
var $ = this.locateNextMeaningfulToken(this.position);
|
|
15246
15246
|
if (!($ < 0 || this.tokens[$][w.FIELDS.TYPE] === E.comma || this.tokens[$][w.FIELDS.TYPE] === E.closeParenthesis)) {
|
|
15247
|
-
var oe, Y = this.currToken,
|
|
15248
|
-
if ($ > this.position && (
|
|
15249
|
-
if (
|
|
15250
|
-
var z = this.convertWhitespaceNodesToSpace(
|
|
15251
|
-
oe.spaces.before =
|
|
15247
|
+
var oe, Y = this.currToken, se = void 0;
|
|
15248
|
+
if ($ > this.position && (se = this.parseWhitespaceEquivalentTokens($)), this.isNamedCombinator() ? oe = this.namedCombinator() : this.currToken[w.FIELDS.TYPE] === E.combinator ? (oe = new y.default({ value: this.content(), source: q(this.currToken), sourceIndex: this.currToken[w.FIELDS.START_POS] }), this.position++) : U[this.currToken[w.FIELDS.TYPE]] || se || this.unexpected(), oe) {
|
|
15249
|
+
if (se) {
|
|
15250
|
+
var z = this.convertWhitespaceNodesToSpace(se), ie = z.space, ce = z.rawSpace;
|
|
15251
|
+
oe.spaces.before = ie, oe.rawSpaceBefore = ce;
|
|
15252
15252
|
}
|
|
15253
15253
|
} else {
|
|
15254
|
-
var ge = this.convertWhitespaceNodesToSpace(
|
|
15254
|
+
var ge = this.convertWhitespaceNodesToSpace(se, !0), we = ge.space, fe = ge.rawSpace;
|
|
15255
15255
|
fe || (fe = we);
|
|
15256
15256
|
var me = {}, Le = { spaces: {} };
|
|
15257
15257
|
we.endsWith(" ") && fe.endsWith(" ") ? (me.before = we.slice(0, we.length - 1), Le.spaces.before = fe.slice(0, fe.length - 1)) : we.startsWith(" ") && fe.startsWith(" ") ? (me.after = we.slice(1), Le.spaces.after = fe.slice(1)) : Le.value = fe, oe = new y.default({ value: " ", source: G(Y, this.tokens[this.position - 1]), sourceIndex: Y[w.FIELDS.START_POS], spaces: me, raws: Le });
|
|
@@ -15265,81 +15265,81 @@ function Pw() {
|
|
|
15265
15265
|
var ct = this.convertWhitespaceNodesToSpace(qe), wt = ct.space, rr = ct.rawSpace;
|
|
15266
15266
|
rr !== void 0 && (Me.rawSpaceAfter += rr), Me.spaces.after += wt;
|
|
15267
15267
|
} else qe.forEach(function(dr) {
|
|
15268
|
-
return
|
|
15268
|
+
return X.newNode(dr);
|
|
15269
15269
|
});
|
|
15270
15270
|
}
|
|
15271
|
-
},
|
|
15271
|
+
}, le.comma = function() {
|
|
15272
15272
|
if (this.position === this.tokens.length - 1) return this.root.trailingComma = !0, void this.position++;
|
|
15273
15273
|
this.current._inferEndPosition();
|
|
15274
|
-
var
|
|
15275
|
-
this.current.parent.append(
|
|
15276
|
-
},
|
|
15277
|
-
var
|
|
15278
|
-
this.newNode(new l.default({ value: this.content(), source: q(
|
|
15279
|
-
},
|
|
15280
|
-
throw this.root.error(
|
|
15281
|
-
},
|
|
15274
|
+
var X = new o.default({ source: { start: W(this.tokens[this.position + 1]) }, sourceIndex: this.tokens[this.position + 1][w.FIELDS.START_POS] });
|
|
15275
|
+
this.current.parent.append(X), this.current = X, this.position++;
|
|
15276
|
+
}, le.comment = function() {
|
|
15277
|
+
var X = this.currToken;
|
|
15278
|
+
this.newNode(new l.default({ value: this.content(), source: q(X), sourceIndex: X[w.FIELDS.START_POS] })), this.position++;
|
|
15279
|
+
}, le.error = function(X, $) {
|
|
15280
|
+
throw this.root.error(X, $);
|
|
15281
|
+
}, le.missingBackslash = function() {
|
|
15282
15282
|
return this.error("Expected a backslash preceding the semicolon.", { index: this.currToken[w.FIELDS.START_POS] });
|
|
15283
|
-
},
|
|
15283
|
+
}, le.missingParenthesis = function() {
|
|
15284
15284
|
return this.expected("opening parenthesis", this.currToken[w.FIELDS.START_POS]);
|
|
15285
|
-
},
|
|
15285
|
+
}, le.missingSquareBracket = function() {
|
|
15286
15286
|
return this.expected("opening square bracket", this.currToken[w.FIELDS.START_POS]);
|
|
15287
|
-
},
|
|
15287
|
+
}, le.unexpected = function() {
|
|
15288
15288
|
return this.error("Unexpected '" + this.content() + "'. Escaping special characters with \\ may help.", this.currToken[w.FIELDS.START_POS]);
|
|
15289
|
-
},
|
|
15289
|
+
}, le.unexpectedPipe = function() {
|
|
15290
15290
|
return this.error("Unexpected '|'.", this.currToken[w.FIELDS.START_POS]);
|
|
15291
|
-
},
|
|
15292
|
-
var
|
|
15293
|
-
return this.nextToken[w.FIELDS.TYPE] === E.word ? (this.position++, this.word(
|
|
15294
|
-
},
|
|
15291
|
+
}, le.namespace = function() {
|
|
15292
|
+
var X = this.prevToken && this.content(this.prevToken) || !0;
|
|
15293
|
+
return this.nextToken[w.FIELDS.TYPE] === E.word ? (this.position++, this.word(X)) : this.nextToken[w.FIELDS.TYPE] === E.asterisk ? (this.position++, this.universal(X)) : void this.unexpectedPipe();
|
|
15294
|
+
}, le.nesting = function() {
|
|
15295
15295
|
if (this.nextToken && this.content(this.nextToken) === "|") return void this.position++;
|
|
15296
|
-
var
|
|
15297
|
-
this.newNode(new v.default({ value: this.content(), source: q(
|
|
15298
|
-
},
|
|
15299
|
-
var
|
|
15300
|
-
if (this.position++,
|
|
15296
|
+
var X = this.currToken;
|
|
15297
|
+
this.newNode(new v.default({ value: this.content(), source: q(X), sourceIndex: X[w.FIELDS.START_POS] })), this.position++;
|
|
15298
|
+
}, le.parentheses = function() {
|
|
15299
|
+
var X = this.current.last, $ = 1;
|
|
15300
|
+
if (this.position++, X && X.type === C.PSEUDO) {
|
|
15301
15301
|
var oe = new o.default({ source: { start: W(this.tokens[this.position]) }, sourceIndex: this.tokens[this.position][w.FIELDS.START_POS] }), Y = this.current;
|
|
15302
|
-
for (
|
|
15302
|
+
for (X.append(oe), this.current = oe; this.position < this.tokens.length && $; ) this.currToken[w.FIELDS.TYPE] === E.openParenthesis && $++, this.currToken[w.FIELDS.TYPE] === E.closeParenthesis && $--, $ ? this.parse() : (this.current.source.end = V(this.currToken), this.current.parent.source.end = V(this.currToken), this.position++);
|
|
15303
15303
|
this.current = Y;
|
|
15304
15304
|
} else {
|
|
15305
|
-
for (var
|
|
15306
|
-
|
|
15305
|
+
for (var se, z = this.currToken, ie = "("; this.position < this.tokens.length && $; ) this.currToken[w.FIELDS.TYPE] === E.openParenthesis && $++, this.currToken[w.FIELDS.TYPE] === E.closeParenthesis && $--, se = this.currToken, ie += this.parseParenthesisToken(this.currToken), this.position++;
|
|
15306
|
+
X ? X.appendToPropertyAndEscape("value", ie, ie) : this.newNode(new f.default({ value: ie, source: F(z[w.FIELDS.START_LINE], z[w.FIELDS.START_COL], se[w.FIELDS.END_LINE], se[w.FIELDS.END_COL]), sourceIndex: z[w.FIELDS.START_POS] }));
|
|
15307
15307
|
}
|
|
15308
15308
|
if ($) return this.expected("closing parenthesis", this.currToken[w.FIELDS.START_POS]);
|
|
15309
|
-
},
|
|
15310
|
-
for (var
|
|
15311
|
-
return this.currToken ? this.currToken[w.FIELDS.TYPE] !== E.word ? this.expected(["pseudo-class", "pseudo-element"], this.currToken[w.FIELDS.START_POS]) : void this.splitWord(!1, function(Y,
|
|
15312
|
-
$ += Y,
|
|
15309
|
+
}, le.pseudo = function() {
|
|
15310
|
+
for (var X = this, $ = "", oe = this.currToken; this.currToken && this.currToken[w.FIELDS.TYPE] === E.colon; ) $ += this.content(), this.position++;
|
|
15311
|
+
return this.currToken ? this.currToken[w.FIELDS.TYPE] !== E.word ? this.expected(["pseudo-class", "pseudo-element"], this.currToken[w.FIELDS.START_POS]) : void this.splitWord(!1, function(Y, se) {
|
|
15312
|
+
$ += Y, X.newNode(new m.default({ value: $, source: G(oe, X.currToken), sourceIndex: oe[w.FIELDS.START_POS] })), se > 1 && X.nextToken && X.nextToken[w.FIELDS.TYPE] === E.openParenthesis && X.error("Misplaced parenthesis.", { index: X.nextToken[w.FIELDS.START_POS] });
|
|
15313
15313
|
}) : this.expected(["pseudo-class", "pseudo-element"], this.position - 1);
|
|
15314
|
-
},
|
|
15315
|
-
var
|
|
15314
|
+
}, le.space = function() {
|
|
15315
|
+
var X = this.content();
|
|
15316
15316
|
this.position === 0 || this.prevToken[w.FIELDS.TYPE] === E.comma || this.prevToken[w.FIELDS.TYPE] === E.openParenthesis || this.current.nodes.every(function($) {
|
|
15317
15317
|
return $.type === "comment";
|
|
15318
|
-
}) ? (this.spaces = this.optionalSpace(
|
|
15319
|
-
},
|
|
15320
|
-
var
|
|
15321
|
-
this.newNode(new f.default({ value: this.content(), source: q(
|
|
15322
|
-
},
|
|
15318
|
+
}) ? (this.spaces = this.optionalSpace(X), this.position++) : this.position === this.tokens.length - 1 || this.nextToken[w.FIELDS.TYPE] === E.comma || this.nextToken[w.FIELDS.TYPE] === E.closeParenthesis ? (this.current.last.spaces.after = this.optionalSpace(X), this.position++) : this.combinator();
|
|
15319
|
+
}, le.string = function() {
|
|
15320
|
+
var X = this.currToken;
|
|
15321
|
+
this.newNode(new f.default({ value: this.content(), source: q(X), sourceIndex: X[w.FIELDS.START_POS] })), this.position++;
|
|
15322
|
+
}, le.universal = function(X) {
|
|
15323
15323
|
var $ = this.nextToken;
|
|
15324
15324
|
if ($ && this.content($) === "|") return this.position++, this.namespace();
|
|
15325
15325
|
var oe = this.currToken;
|
|
15326
|
-
this.newNode(new g.default({ value: this.content(), source: q(oe), sourceIndex: oe[w.FIELDS.START_POS] }),
|
|
15327
|
-
},
|
|
15328
|
-
for (var oe = this, Y = this.nextToken,
|
|
15326
|
+
this.newNode(new g.default({ value: this.content(), source: q(oe), sourceIndex: oe[w.FIELDS.START_POS] }), X), this.position++;
|
|
15327
|
+
}, le.splitWord = function(X, $) {
|
|
15328
|
+
for (var oe = this, Y = this.nextToken, se = this.content(); Y && ~[E.dollar, E.caret, E.equals, E.word].indexOf(Y[w.FIELDS.TYPE]); ) {
|
|
15329
15329
|
this.position++;
|
|
15330
15330
|
var z = this.content();
|
|
15331
|
-
if (
|
|
15332
|
-
var
|
|
15333
|
-
|
|
15331
|
+
if (se += z, z.lastIndexOf("\\") === z.length - 1) {
|
|
15332
|
+
var ie = this.nextToken;
|
|
15333
|
+
ie && ie[w.FIELDS.TYPE] === E.space && (se += this.requiredSpace(this.content(ie)), this.position++);
|
|
15334
15334
|
}
|
|
15335
15335
|
Y = this.nextToken;
|
|
15336
15336
|
}
|
|
15337
|
-
var
|
|
15338
|
-
var Le =
|
|
15337
|
+
var ce = ae(se, ".").filter(function(me) {
|
|
15338
|
+
var Le = se[me - 1] === "\\", qe = /^\d+\.\d+%$/.test(se);
|
|
15339
15339
|
return !Le && !qe;
|
|
15340
|
-
}), ge =
|
|
15341
|
-
return
|
|
15342
|
-
}), we =
|
|
15340
|
+
}), ge = ae(se, "#").filter(function(me) {
|
|
15341
|
+
return se[me - 1] !== "\\";
|
|
15342
|
+
}), we = ae(se, "#{");
|
|
15343
15343
|
we.length && (ge = ge.filter(function(me) {
|
|
15344
15344
|
return !~we.indexOf(me);
|
|
15345
15345
|
}));
|
|
@@ -15348,12 +15348,12 @@ function Pw() {
|
|
|
15348
15348
|
return me.filter(function(Le, qe) {
|
|
15349
15349
|
return qe === me.indexOf(Le);
|
|
15350
15350
|
});
|
|
15351
|
-
})([0].concat(
|
|
15351
|
+
})([0].concat(ce, ge)));
|
|
15352
15352
|
fe.forEach(function(me, Le) {
|
|
15353
|
-
var qe, Me = fe[Le + 1] ||
|
|
15353
|
+
var qe, Me = fe[Le + 1] || se.length, ct = se.slice(me, Me);
|
|
15354
15354
|
if (Le === 0 && $) return $.call(oe, ct, fe.length);
|
|
15355
|
-
var wt = oe.currToken, rr = wt[w.FIELDS.START_POS] + fe[Le], dr =
|
|
15356
|
-
if (~
|
|
15355
|
+
var wt = oe.currToken, rr = wt[w.FIELDS.START_POS] + fe[Le], dr = F(wt[1], wt[2] + me, wt[3], wt[2] + (Me - 1));
|
|
15356
|
+
if (~ce.indexOf(me)) {
|
|
15357
15357
|
var cs = { value: ct.slice(1), source: dr, sourceIndex: rr };
|
|
15358
15358
|
qe = new c.default(ee(cs, "value"));
|
|
15359
15359
|
} else if (~ge.indexOf(me)) {
|
|
@@ -15363,15 +15363,15 @@ function Pw() {
|
|
|
15363
15363
|
var Br = { value: ct, source: dr, sourceIndex: rr };
|
|
15364
15364
|
ee(Br, "value"), qe = new d.default(Br);
|
|
15365
15365
|
}
|
|
15366
|
-
oe.newNode(qe,
|
|
15366
|
+
oe.newNode(qe, X), X = null;
|
|
15367
15367
|
}), this.position++;
|
|
15368
|
-
},
|
|
15368
|
+
}, le.word = function(X) {
|
|
15369
15369
|
var $ = this.nextToken;
|
|
15370
|
-
return $ && this.content($) === "|" ? (this.position++, this.namespace()) : this.splitWord(
|
|
15371
|
-
},
|
|
15370
|
+
return $ && this.content($) === "|" ? (this.position++, this.namespace()) : this.splitWord(X);
|
|
15371
|
+
}, le.loop = function() {
|
|
15372
15372
|
for (; this.position < this.tokens.length; ) this.parse(!0);
|
|
15373
15373
|
return this.current._inferEndPosition(), this.root;
|
|
15374
|
-
},
|
|
15374
|
+
}, le.parse = function(X) {
|
|
15375
15375
|
switch (this.currToken[w.FIELDS.TYPE]) {
|
|
15376
15376
|
case E.space:
|
|
15377
15377
|
this.space();
|
|
@@ -15383,7 +15383,7 @@ function Pw() {
|
|
|
15383
15383
|
this.parentheses();
|
|
15384
15384
|
break;
|
|
15385
15385
|
case E.closeParenthesis:
|
|
15386
|
-
|
|
15386
|
+
X && this.missingParenthesis();
|
|
15387
15387
|
break;
|
|
15388
15388
|
case E.openSquare:
|
|
15389
15389
|
this.attribute();
|
|
@@ -15420,30 +15420,30 @@ function Pw() {
|
|
|
15420
15420
|
default:
|
|
15421
15421
|
this.unexpected();
|
|
15422
15422
|
}
|
|
15423
|
-
},
|
|
15424
|
-
if (Array.isArray(
|
|
15425
|
-
var Y =
|
|
15426
|
-
|
|
15423
|
+
}, le.expected = function(X, $, oe) {
|
|
15424
|
+
if (Array.isArray(X)) {
|
|
15425
|
+
var Y = X.pop();
|
|
15426
|
+
X = X.join(", ") + " or " + Y;
|
|
15427
15427
|
}
|
|
15428
|
-
var
|
|
15429
|
-
return oe ? this.error("Expected " +
|
|
15430
|
-
},
|
|
15431
|
-
return this.options.lossy ? " " :
|
|
15432
|
-
},
|
|
15433
|
-
return this.options.lossy ? "" :
|
|
15434
|
-
},
|
|
15435
|
-
return this.options.lossy ? $ ? " " : "" :
|
|
15436
|
-
},
|
|
15437
|
-
var $ = this.content(
|
|
15438
|
-
return
|
|
15439
|
-
},
|
|
15440
|
-
return $ && (/^ +$/.test($) && (this.options.lossy || (this.spaces = (this.spaces || "") + $), $ = !0),
|
|
15441
|
-
},
|
|
15442
|
-
return
|
|
15443
|
-
},
|
|
15444
|
-
|
|
15445
|
-
for (var $ =
|
|
15446
|
-
if (!
|
|
15428
|
+
var se = /^[aeiou]/.test(X[0]) ? "an" : "a";
|
|
15429
|
+
return oe ? this.error("Expected " + se + " " + X + ', found "' + oe + '" instead.', { index: $ }) : this.error("Expected " + se + " " + X + ".", { index: $ });
|
|
15430
|
+
}, le.requiredSpace = function(X) {
|
|
15431
|
+
return this.options.lossy ? " " : X;
|
|
15432
|
+
}, le.optionalSpace = function(X) {
|
|
15433
|
+
return this.options.lossy ? "" : X;
|
|
15434
|
+
}, le.lossySpace = function(X, $) {
|
|
15435
|
+
return this.options.lossy ? $ ? " " : "" : X;
|
|
15436
|
+
}, le.parseParenthesisToken = function(X) {
|
|
15437
|
+
var $ = this.content(X);
|
|
15438
|
+
return X[w.FIELDS.TYPE] === E.space ? this.requiredSpace($) : $;
|
|
15439
|
+
}, le.newNode = function(X, $) {
|
|
15440
|
+
return $ && (/^ +$/.test($) && (this.options.lossy || (this.spaces = (this.spaces || "") + $), $ = !0), X.namespace = $, ee(X, "namespace")), this.spaces && (X.spaces.before = this.spaces, this.spaces = ""), this.current.append(X);
|
|
15441
|
+
}, le.content = function(X) {
|
|
15442
|
+
return X === void 0 && (X = this.currToken), this.css.slice(X[w.FIELDS.START_POS], X[w.FIELDS.END_POS]);
|
|
15443
|
+
}, le.locateNextMeaningfulToken = function(X) {
|
|
15444
|
+
X === void 0 && (X = this.position + 1);
|
|
15445
|
+
for (var $ = X; $ < this.tokens.length; ) {
|
|
15446
|
+
if (!K[this.tokens[$][w.FIELDS.TYPE]]) return $;
|
|
15447
15447
|
$++;
|
|
15448
15448
|
}
|
|
15449
15449
|
return -1;
|
|
@@ -16122,10 +16122,10 @@ function Bw() {
|
|
|
16122
16122
|
}, c.prototype._version = 3, Object.defineProperty(c.prototype, "sources", { get: function() {
|
|
16123
16123
|
return this._absoluteSources.slice();
|
|
16124
16124
|
} }), c.prototype._parseMappings = function(d, f) {
|
|
16125
|
-
for (var m, x, g, y, v, T = 1, w = 0, E = 0, C = 0, A = 0, O = 0,
|
|
16125
|
+
for (var m, x, g, y, v, T = 1, w = 0, E = 0, C = 0, A = 0, O = 0, D = d.length, N = 0, j = {}, U = {}, K = [], W = []; N < D; ) if (d.charAt(N) === ";") T++, N++, w = 0;
|
|
16126
16126
|
else if (d.charAt(N) === ",") N++;
|
|
16127
16127
|
else {
|
|
16128
|
-
for ((m = new l()).generatedLine = T, y = N; y <
|
|
16128
|
+
for ((m = new l()).generatedLine = T, y = N; y < D && !this._charIsMappingSeparator(d, y); y++) ;
|
|
16129
16129
|
if (g = j[x = d.slice(N, y)]) N += x.length;
|
|
16130
16130
|
else {
|
|
16131
16131
|
for (g = []; N < y; ) n.decode(d, N, U), v = U.value, N = U.rest, g.push(v);
|
|
@@ -16133,9 +16133,9 @@ function Bw() {
|
|
|
16133
16133
|
if (g.length === 3) throw new Error("Found a source and line, but no column");
|
|
16134
16134
|
j[x] = g;
|
|
16135
16135
|
}
|
|
16136
|
-
m.generatedColumn = w + g[0], w = m.generatedColumn, g.length > 1 && (m.source = A + g[1], A += g[1], m.originalLine = E + g[2], E = m.originalLine, m.originalLine += 1, m.originalColumn = C + g[3], C = m.originalColumn, g.length > 4 && (m.name = O + g[4], O += g[4])), W.push(m), typeof m.originalLine == "number" &&
|
|
16136
|
+
m.generatedColumn = w + g[0], w = m.generatedColumn, g.length > 1 && (m.source = A + g[1], A += g[1], m.originalLine = E + g[2], E = m.originalLine, m.originalLine += 1, m.originalColumn = C + g[3], C = m.originalColumn, g.length > 4 && (m.name = O + g[4], O += g[4])), W.push(m), typeof m.originalLine == "number" && K.push(m);
|
|
16137
16137
|
}
|
|
16138
|
-
i(W, e.compareByGeneratedPositionsDeflated), this.__generatedMappings = W, i(
|
|
16138
|
+
i(W, e.compareByGeneratedPositionsDeflated), this.__generatedMappings = W, i(K, e.compareByOriginalPositions), this.__originalMappings = K;
|
|
16139
16139
|
}, c.prototype._findMapping = function(d, f, m, x, g, y) {
|
|
16140
16140
|
if (d[m] <= 0) throw new TypeError("Line must be greater than or equal to 1, got " + d[m]);
|
|
16141
16141
|
if (d[x] < 0) throw new TypeError("Column must be greater than or equal to 0, got " + d[x]);
|
|
@@ -16395,30 +16395,30 @@ var Kw = Object.defineProperty, Jw = Object.defineProperties, Yw = Object.getOwn
|
|
|
16395
16395
|
}, Nm = (e, t) => Jw(e, Yw(t));
|
|
16396
16396
|
function eE(e) {
|
|
16397
16397
|
return (function(t) {
|
|
16398
|
-
const { filename: s, id: n, scoped: i = !1, trim: o = !0, isProd: c = !1, modules: l = !1, modulesOptions: p = {}, preprocessLang: d, postcssOptions: f, postcssPlugins: m } = t, x = d && Xw[d], g = x && (function(W,
|
|
16398
|
+
const { filename: s, id: n, scoped: i = !1, trim: o = !0, isProd: c = !1, modules: l = !1, modulesOptions: p = {}, preprocessLang: d, postcssOptions: f, postcssPlugins: m } = t, x = d && Xw[d], g = x && (function(W, V) {
|
|
16399
16399
|
if (!W.preprocessCustomRequire) throw new Error("[@vue/compiler-sfc] Style preprocessing in the browser build must provide the `preprocessCustomRequire` option to return the in-browser version of the preprocessor.");
|
|
16400
|
-
return
|
|
16400
|
+
return V(W.source, W.inMap || W.map, Ml({ filename: W.filename }, W.preprocessOptions), W.preprocessCustomRequire);
|
|
16401
16401
|
})(t, x), y = g ? g.map : t.inMap || t.map, v = g ? g.code : t.source, T = n.replace(/^data-v-/, ""), w = `data-v-${T}`, E = (m || []).slice();
|
|
16402
16402
|
E.unshift(Yy({ id: T, isProd: c })), o && E.push(Sb()), i && E.push(Fb(w));
|
|
16403
16403
|
let C;
|
|
16404
16404
|
if (l) throw new Error("[@vue/compiler-sfc] `modules` option is not supported in the browser build.");
|
|
16405
16405
|
const A = Nm(Ml({}, f), { to: s, from: s });
|
|
16406
16406
|
y && (A.map = { inline: !1, annotation: !1, prev: y });
|
|
16407
|
-
let O,
|
|
16407
|
+
let O, D, N;
|
|
16408
16408
|
const j = new Set(g ? g.dependencies : []);
|
|
16409
16409
|
j.delete(s);
|
|
16410
16410
|
const U = [];
|
|
16411
16411
|
g && g.errors.length && U.push(...g.errors);
|
|
16412
|
-
const
|
|
16413
|
-
|
|
16412
|
+
const K = (W) => (W.forEach((V) => {
|
|
16413
|
+
V.type === "dependency" && j.add(V.file);
|
|
16414
16414
|
}), j);
|
|
16415
16415
|
try {
|
|
16416
|
-
if (O = Je(E).process(v, A), t.isAsync) return O.then((W) => ({ code: W.css || "", map: W.map && W.map.toJSON(), errors: U, modules: C, rawResult: W, dependencies:
|
|
16417
|
-
|
|
16416
|
+
if (O = Je(E).process(v, A), t.isAsync) return O.then((W) => ({ code: W.css || "", map: W.map && W.map.toJSON(), errors: U, modules: C, rawResult: W, dependencies: K(W.messages) })).catch((W) => ({ code: "", map: void 0, errors: [...U, W], rawResult: void 0, dependencies: j }));
|
|
16417
|
+
K(O.messages), D = O.css, N = O.map;
|
|
16418
16418
|
} catch (W) {
|
|
16419
16419
|
U.push(W);
|
|
16420
16420
|
}
|
|
16421
|
-
return { code:
|
|
16421
|
+
return { code: D || "", map: N && N.toJSON(), errors: U, rawResult: O, dependencies: j };
|
|
16422
16422
|
})(Nm(Ml({}, e), { isAsync: !0 }));
|
|
16423
16423
|
}
|
|
16424
16424
|
const Zt = "Unknown";
|
|
@@ -17265,27 +17265,27 @@ Note: both in 3.2 or with the ignore, the properties in the base type are treate
|
|
|
17265
17265
|
const C = _t(y, v.typeParameters.params[0], w, E);
|
|
17266
17266
|
switch (T) {
|
|
17267
17267
|
case "Partial": {
|
|
17268
|
-
const
|
|
17268
|
+
const D = { props: {}, calls: C.calls };
|
|
17269
17269
|
return Object.keys(C.props).forEach((N) => {
|
|
17270
|
-
|
|
17271
|
-
}),
|
|
17270
|
+
D.props[N] = To(bo({}, C.props[N]), { optional: !0 });
|
|
17271
|
+
}), D;
|
|
17272
17272
|
}
|
|
17273
17273
|
case "Required": {
|
|
17274
|
-
const
|
|
17274
|
+
const D = { props: {}, calls: C.calls };
|
|
17275
17275
|
return Object.keys(C.props).forEach((N) => {
|
|
17276
|
-
|
|
17277
|
-
}),
|
|
17276
|
+
D.props[N] = To(bo({}, C.props[N]), { optional: !1 });
|
|
17277
|
+
}), D;
|
|
17278
17278
|
}
|
|
17279
17279
|
case "Readonly":
|
|
17280
17280
|
return C;
|
|
17281
17281
|
case "Pick": {
|
|
17282
|
-
const
|
|
17283
|
-
for (const j of
|
|
17282
|
+
const D = or(y, v.typeParameters.params[1], w, E), N = { props: {}, calls: C.calls };
|
|
17283
|
+
for (const j of D) N.props[j] = C.props[j];
|
|
17284
17284
|
return N;
|
|
17285
17285
|
}
|
|
17286
17286
|
case "Omit":
|
|
17287
17287
|
const A = or(y, v.typeParameters.params[1], w, E), O = { props: {}, calls: C.calls };
|
|
17288
|
-
for (const
|
|
17288
|
+
for (const D in C.props) A.includes(D) || (O.props[D] = C.props[D]);
|
|
17289
17289
|
return O;
|
|
17290
17290
|
}
|
|
17291
17291
|
})(c, l, x, p, d);
|
|
@@ -17507,10 +17507,10 @@ function e0(e, t, s = !1) {
|
|
|
17507
17507
|
const { descriptor: { script: T, scriptSetup: w } } = ox(d);
|
|
17508
17508
|
if (!T && !w) return [];
|
|
17509
17509
|
const E = T ? T.loc.start.offset : 1 / 0, C = w ? w.loc.start.offset : 1 / 0, A = E < C ? T : w, O = E < C ? w : T;
|
|
17510
|
-
let
|
|
17511
|
-
O && (
|
|
17510
|
+
let D = " ".repeat(Math.min(E, C)) + A.content;
|
|
17511
|
+
O && (D += " ".repeat(O.loc.start.offset - T.loc.end.offset) + O.content);
|
|
17512
17512
|
const N = T?.lang || w?.lang;
|
|
17513
|
-
return lr.parse(
|
|
17513
|
+
return lr.parse(D, { plugins: xo(N, m), sourceType: "module" }).program.body;
|
|
17514
17514
|
}
|
|
17515
17515
|
return [];
|
|
17516
17516
|
})(t, o, i, e.options.babelParserPlugins), l = new yu(t, o, 0, t0(c));
|
|
@@ -18133,79 +18133,79 @@ function VE(e, t) {
|
|
|
18133
18133
|
if (x && !g) return c;
|
|
18134
18134
|
const y = new Fm(e, t), v = /* @__PURE__ */ Object.create(null), T = /* @__PURE__ */ Object.create(null);
|
|
18135
18135
|
let w, E = !1, C = !1;
|
|
18136
|
-
const A = y.startOffset, O = y.endOffset,
|
|
18136
|
+
const A = y.startOffset, O = y.endOffset, D = o && o.loc.start.offset, N = o && o.loc.end.offset;
|
|
18137
18137
|
function j(z) {
|
|
18138
|
-
const
|
|
18139
|
-
let
|
|
18140
|
-
for (z.trailingComments && z.trailingComments.length > 0 && (
|
|
18141
|
-
y.s.move(
|
|
18138
|
+
const ie = z.start + A;
|
|
18139
|
+
let ce = z.end + A;
|
|
18140
|
+
for (z.trailingComments && z.trailingComments.length > 0 && (ce = z.trailingComments[z.trailingComments.length - 1].end + A); ce <= l.length && /\s/.test(l.charAt(ce)); ) ce++;
|
|
18141
|
+
y.s.move(ie, ce, 0);
|
|
18142
18142
|
}
|
|
18143
|
-
function U(z,
|
|
18143
|
+
function U(z, ie, ce, ge, we, fe) {
|
|
18144
18144
|
let me = fe;
|
|
18145
|
-
fe && y.isTS && e.template && !e.template.src && !e.template.lang && (me = nx(
|
|
18145
|
+
fe && y.isTS && e.template && !e.template.src && !e.template.lang && (me = nx(ie, e)), y.userImports[ie] = { isType: ge, imported: ce, local: ie, source: z, isFromSetup: we, isUsedInTemplate: me };
|
|
18146
18146
|
}
|
|
18147
|
-
function
|
|
18148
|
-
z && ka(z, (
|
|
18149
|
-
const ge = T[
|
|
18150
|
-
ge && ge !== "literal-const" && y.error(`\`${
|
|
18147
|
+
function K(z, ie) {
|
|
18148
|
+
z && ka(z, (ce) => {
|
|
18149
|
+
const ge = T[ce.name];
|
|
18150
|
+
ge && ge !== "literal-const" && y.error(`\`${ie}()\` in <script setup> cannot reference locally declared variables because it will be hoisted outside of the setup() function. If your component options require initialization in the module scope, use a separate normal <script> to export the options instead.`, ce);
|
|
18151
18151
|
});
|
|
18152
18152
|
}
|
|
18153
|
-
const W = y.scriptAst,
|
|
18153
|
+
const W = y.scriptAst, V = y.scriptSetupAst;
|
|
18154
18154
|
if (W) {
|
|
18155
|
-
for (const z of W.body) if (z.type === "ImportDeclaration") for (const
|
|
18156
|
-
const
|
|
18157
|
-
U(z.source.value,
|
|
18155
|
+
for (const z of W.body) if (z.type === "ImportDeclaration") for (const ie of z.specifiers) {
|
|
18156
|
+
const ce = Pp(ie);
|
|
18157
|
+
U(z.source.value, ie.local.name, ce, z.importKind === "type" || ie.type === "ImportSpecifier" && ie.importKind === "type", !1, !t.inlineTemplate);
|
|
18158
18158
|
}
|
|
18159
18159
|
}
|
|
18160
|
-
for (const z of
|
|
18160
|
+
for (const z of V.body) if (z.type === "ImportDeclaration") {
|
|
18161
18161
|
j(z);
|
|
18162
|
-
let
|
|
18163
|
-
const
|
|
18164
|
-
const we = ge >
|
|
18165
|
-
|
|
18162
|
+
let ie = 0;
|
|
18163
|
+
const ce = (ge) => {
|
|
18164
|
+
const we = ge > ie;
|
|
18165
|
+
ie++;
|
|
18166
18166
|
const fe = z.specifiers[ge], me = z.specifiers[ge + 1];
|
|
18167
18167
|
y.s.remove(we ? z.specifiers[ge - 1].end + A : fe.start + A, me && !we ? me.start + A : fe.end + A);
|
|
18168
18168
|
};
|
|
18169
18169
|
for (let ge = 0; ge < z.specifiers.length; ge++) {
|
|
18170
18170
|
const we = z.specifiers[ge], fe = we.local.name, me = Pp(we), Le = z.source.value, qe = y.userImports[fe];
|
|
18171
|
-
Le === "vue" && qE.includes(me) ? (fe === me ? zn(`\`${me}\` is a compiler macro and no longer needs to be imported.`) : y.error(`\`${me}\` is a compiler macro and cannot be aliased to a different name.`, we),
|
|
18171
|
+
Le === "vue" && qE.includes(me) ? (fe === me ? zn(`\`${me}\` is a compiler macro and no longer needs to be imported.`) : y.error(`\`${me}\` is a compiler macro and cannot be aliased to a different name.`, we), ce(ge)) : qe ? qe.source === Le && qe.imported === me ? ce(ge) : y.error("different imports aliased to same local name.", we) : U(Le, fe, me, z.importKind === "type" || we.type === "ImportSpecifier" && we.importKind === "type", !0, !t.inlineTemplate);
|
|
18172
18172
|
}
|
|
18173
|
-
z.specifiers.length &&
|
|
18173
|
+
z.specifiers.length && ie === z.specifiers.length && y.s.remove(z.start + A, z.end + A);
|
|
18174
18174
|
}
|
|
18175
|
-
const
|
|
18175
|
+
const F = {};
|
|
18176
18176
|
for (const z in y.userImports) {
|
|
18177
|
-
const { source:
|
|
18178
|
-
|
|
18177
|
+
const { source: ie, imported: ce, local: ge } = y.userImports[z];
|
|
18178
|
+
ie === "vue" && (F[ce] = ge);
|
|
18179
18179
|
}
|
|
18180
18180
|
if (o && W) {
|
|
18181
18181
|
for (const z of W.body) if (z.type === "ExportDefaultDeclaration") {
|
|
18182
|
-
let
|
|
18183
|
-
if (w = z, w.declaration.type === "ObjectExpression" ?
|
|
18184
|
-
const
|
|
18185
|
-
y.s.overwrite(
|
|
18182
|
+
let ie;
|
|
18183
|
+
if (w = z, w.declaration.type === "ObjectExpression" ? ie = w.declaration.properties : w.declaration.type === "CallExpression" && w.declaration.arguments[0] && w.declaration.arguments[0].type === "ObjectExpression" && (ie = w.declaration.arguments[0].properties), ie) for (const we of ie) we.type === "ObjectProperty" && we.key.type === "Identifier" && we.key.name === "name" && (y.hasDefaultExportName = !0), we.type !== "ObjectMethod" && we.type !== "ObjectProperty" || we.key.type !== "Identifier" || we.key.name !== "render" || (y.hasDefaultExportRender = !0);
|
|
18184
|
+
const ce = z.start + D, ge = z.declaration.start + D;
|
|
18185
|
+
y.s.overwrite(ce, ge, `const ${Gs} = `);
|
|
18186
18186
|
} else if (z.type === "ExportNamedDeclaration") {
|
|
18187
|
-
const
|
|
18188
|
-
|
|
18187
|
+
const ie = z.specifiers.find((ce) => ce.exported.type === "Identifier" && ce.exported.name === "default");
|
|
18188
|
+
ie && (w = z, z.specifiers.length > 1 ? y.s.remove(ie.start + D, ie.end + D) : y.s.remove(z.start + D, z.end + D), z.source ? y.s.prepend(`import { ${ie.local.name} as ${Gs} } from '${z.source.value}'
|
|
18189
18189
|
`) : y.s.appendLeft(N, `
|
|
18190
|
-
const ${Gs} = ${
|
|
18191
|
-
`)), z.declaration && Bl("script", z.declaration, v,
|
|
18192
|
-
} else z.type !== "VariableDeclaration" && z.type !== "FunctionDeclaration" && z.type !== "ClassDeclaration" && z.type !== "TSEnumDeclaration" || z.declare || Bl("script", z, v,
|
|
18193
|
-
|
|
18194
|
-
`), y.s.move(
|
|
18190
|
+
const ${Gs} = ${ie.local.name}
|
|
18191
|
+
`)), z.declaration && Bl("script", z.declaration, v, F, d);
|
|
18192
|
+
} else z.type !== "VariableDeclaration" && z.type !== "FunctionDeclaration" && z.type !== "ClassDeclaration" && z.type !== "TSEnumDeclaration" || z.declare || Bl("script", z, v, F, d);
|
|
18193
|
+
D > A && (/\n$/.test(o.content.trim()) || y.s.appendLeft(N, `
|
|
18194
|
+
`), y.s.move(D, N, 0));
|
|
18195
18195
|
}
|
|
18196
|
-
for (const z of
|
|
18196
|
+
for (const z of V.body) {
|
|
18197
18197
|
if (z.type === "ExpressionStatement") {
|
|
18198
|
-
const
|
|
18199
|
-
if (Op(y,
|
|
18200
|
-
else if (ME(y,
|
|
18201
|
-
const ge =
|
|
18198
|
+
const ce = Kt(z.expression);
|
|
18199
|
+
if (Op(y, ce) || Ym(y, ce) || eg(y, ce) || Zm(y, ce)) y.s.remove(z.start + A, z.end + A);
|
|
18200
|
+
else if (ME(y, ce)) {
|
|
18201
|
+
const ge = ce.callee;
|
|
18202
18202
|
y.s.overwrite(ge.start + A, ge.end + A, "__expose");
|
|
18203
|
-
} else Jm(y,
|
|
18203
|
+
} else Jm(y, ce);
|
|
18204
18204
|
}
|
|
18205
18205
|
if (z.type === "VariableDeclaration" && !z.declare) {
|
|
18206
|
-
const
|
|
18207
|
-
let ge, we =
|
|
18208
|
-
for (let fe = 0; fe <
|
|
18206
|
+
const ce = z.declarations.length;
|
|
18207
|
+
let ge, we = ce;
|
|
18208
|
+
for (let fe = 0; fe < ce; fe++) {
|
|
18209
18209
|
const me = z.declarations[fe], Le = me.init && Kt(me.init);
|
|
18210
18210
|
if (Le) {
|
|
18211
18211
|
eg(y, Le) && y.error(`${mr}() has no returning value, it cannot be assigned.`, z);
|
|
@@ -18215,31 +18215,31 @@ const ${Gs} = ${ae.local.name}
|
|
|
18215
18215
|
if (!Me && (Zm(y, Le, me.id) || Jm(y, Le, me.id)), qe && !y.propsDestructureRestId && y.propsDestructureDecl) if (we === 1) y.s.remove(z.start + A, z.end + A);
|
|
18216
18216
|
else {
|
|
18217
18217
|
let ct = me.start + A, wt = me.end + A;
|
|
18218
|
-
fe ===
|
|
18218
|
+
fe === ce - 1 ? ct = z.declarations[ge].end + A : wt = z.declarations[fe + 1].start + A, y.s.remove(ct, wt), we--;
|
|
18219
18219
|
}
|
|
18220
18220
|
else Me ? y.s.overwrite(A + Le.start, A + Le.end, "__emit") : ge = fe;
|
|
18221
18221
|
}
|
|
18222
18222
|
}
|
|
18223
18223
|
}
|
|
18224
|
-
let
|
|
18225
|
-
if (z.type !== "VariableDeclaration" && z.type !== "FunctionDeclaration" && z.type !== "ClassDeclaration" && z.type !== "TSEnumDeclaration" || z.declare || (
|
|
18226
|
-
const
|
|
18224
|
+
let ie = !1;
|
|
18225
|
+
if (z.type !== "VariableDeclaration" && z.type !== "FunctionDeclaration" && z.type !== "ClassDeclaration" && z.type !== "TSEnumDeclaration" || z.declare || (ie = Bl("scriptSetup", z, T, F, d, !!y.propsDestructureDecl)), d && ie && j(z), z.type === "VariableDeclaration" && !z.declare || z.type.endsWith("Statement")) {
|
|
18226
|
+
const ce = [V.body];
|
|
18227
18227
|
ch(z, { enter(ge, we) {
|
|
18228
|
-
if (Xr(ge) && this.skip(), ge.type === "BlockStatement" &&
|
|
18228
|
+
if (Xr(ge) && this.skip(), ge.type === "BlockStatement" && ce.push(ge.body), ge.type === "AwaitExpression") {
|
|
18229
18229
|
E = !0;
|
|
18230
|
-
const fe =
|
|
18230
|
+
const fe = ce[ce.length - 1].some((me, Le) => (ce.length === 1 || Le > 0) && me.type === "ExpressionStatement" && me.start === ge.start);
|
|
18231
18231
|
DE(y, ge, fe, we.type === "ExpressionStatement");
|
|
18232
18232
|
}
|
|
18233
18233
|
}, exit(ge) {
|
|
18234
|
-
ge.type === "BlockStatement" &&
|
|
18234
|
+
ge.type === "BlockStatement" && ce.pop();
|
|
18235
18235
|
} });
|
|
18236
18236
|
}
|
|
18237
18237
|
(z.type === "ExportNamedDeclaration" && z.exportKind !== "type" || z.type === "ExportAllDeclaration" || z.type === "ExportDefaultDeclaration") && y.error("<script setup> cannot contain ES module exports. If you are using a previous version of <script setup>, please consult the updated RFC at https://github.com/vuejs/rfcs/pull/227.", z), y.isTS && (z.type.startsWith("TS") || z.type === "ExportNamedDeclaration" && z.exportKind === "type" || z.type === "VariableDeclaration" && z.declare) && z.type !== "TSEnumDeclaration" && j(z);
|
|
18238
18238
|
}
|
|
18239
|
-
y.propsDestructureDecl && LE(y,
|
|
18240
|
-
for (const { runtimeOptionNodes: z } of Object.values(y.modelDecls)) for (const
|
|
18241
|
-
o ? A <
|
|
18242
|
-
for (const [z, { isType:
|
|
18239
|
+
y.propsDestructureDecl && LE(y, F), K(y.propsRuntimeDecl, vt), K(y.propsRuntimeDefaults, vt), K(y.propsDestructureDecl, vt), K(y.emitsRuntimeDecl, ws), K(y.optionsRuntimeDecl, mr);
|
|
18240
|
+
for (const { runtimeOptionNodes: z } of Object.values(y.modelDecls)) for (const ie of z) K(ie, Ga);
|
|
18241
|
+
o ? A < D ? (y.s.remove(0, A), y.s.remove(O, D), y.s.remove(N, l.length)) : (y.s.remove(0, D), y.s.remove(N, A), y.s.remove(O, l.length)) : (y.s.remove(0, A), y.s.remove(O, l.length)), W && Object.assign(y.bindingMetadata, Xb(W.body));
|
|
18242
|
+
for (const [z, { isType: ie, imported: ce, source: ge }] of Object.entries(y.userImports)) ie || (y.bindingMetadata[z] = ce === "*" || ce === "default" && ge.endsWith(".vue") || ge === "vue" ? "setup-const" : "setup-maybe-ref");
|
|
18243
18243
|
for (const z in v) y.bindingMetadata[z] = v[z];
|
|
18244
18244
|
for (const z in T) y.bindingMetadata[z] = T[z];
|
|
18245
18245
|
e.cssVars.length && !((s = t.templateOptions) != null && s.ssr) && (y.helperImports.add(Fo), y.helperImports.add("unref"), y.s.prependLeft(A, `
|
|
@@ -18253,22 +18253,22 @@ let __temp${z}, __restore${z}
|
|
|
18253
18253
|
`);
|
|
18254
18254
|
}
|
|
18255
18255
|
const G = y.hasDefineExposeCall || !t.inlineTemplate ? ["expose: __expose"] : [];
|
|
18256
|
-
let ee,
|
|
18256
|
+
let ee, ae;
|
|
18257
18257
|
y.emitDecl && G.push("emit: __emit"), G.length && (q += `, { ${G.join(", ")} }`);
|
|
18258
18258
|
const be = NE(y);
|
|
18259
18259
|
if (!t.inlineTemplate || !e.template && y.hasDefaultExportRender) {
|
|
18260
18260
|
const z = On(On({}, v), T);
|
|
18261
|
-
for (const
|
|
18262
|
-
|
|
18263
|
-
for (const
|
|
18264
|
-
const
|
|
18265
|
-
|
|
18266
|
-
} else
|
|
18267
|
-
else
|
|
18268
|
-
|
|
18261
|
+
for (const ie in y.userImports) !y.userImports[ie].isType && y.userImports[ie].isUsedInTemplate && (z[ie] = !0);
|
|
18262
|
+
ae = "{ ";
|
|
18263
|
+
for (const ie in z) if (z[ie] !== !0 || y.userImports[ie].source === "vue" || y.userImports[ie].source.endsWith(".vue")) if (y.bindingMetadata[ie] === "setup-let") {
|
|
18264
|
+
const ce = ie === "v" ? "_v" : "v";
|
|
18265
|
+
ae += `get ${ie}() { return ${ie} }, set ${ie}(${ce}) { ${ie} = ${ce} }, `;
|
|
18266
|
+
} else ae += `${ie}, `;
|
|
18267
|
+
else ae += `get ${ie}() { return ${ie} }, `;
|
|
18268
|
+
ae = ae.replace(/, $/, "") + " }";
|
|
18269
18269
|
} else if (e.template && !e.template.src) {
|
|
18270
18270
|
t.templateOptions && t.templateOptions.ssr && (C = !0);
|
|
18271
|
-
const { code: z, ast:
|
|
18271
|
+
const { code: z, ast: ie, preamble: ce, tips: ge, errors: we, map: fe } = pb(jl(On({ filename: p, ast: e.template.ast, source: e.template.content, inMap: e.template.map }, t.templateOptions), { id: f, scoped: e.styles.some((Le) => Le.scoped), isProd: t.isProd, ssrCssVars: e.cssVars, compilerOptions: jl(On({}, t.templateOptions && t.templateOptions.compilerOptions), { inline: !0, isTS: y.isTS, bindingMetadata: y.bindingMetadata }) }));
|
|
18272
18272
|
ee = fe, ge.length && ge.forEach(zn);
|
|
18273
18273
|
const me = we[0];
|
|
18274
18274
|
if (typeof me == "string") throw new Error(me);
|
|
@@ -18277,32 +18277,32 @@ let __temp${z}, __restore${z}
|
|
|
18277
18277
|
` + e.filename + `
|
|
18278
18278
|
` + gi(l, me.loc.start.offset, me.loc.end.offset) + `
|
|
18279
18279
|
`), me;
|
|
18280
|
-
|
|
18281
|
-
} else
|
|
18280
|
+
ce && y.s.prepend(ce), ie && ie.helpers.has(on) && y.helperImports.delete("unref"), ae = z;
|
|
18281
|
+
} else ae = "() => {}";
|
|
18282
18282
|
t.inlineTemplate ? y.s.appendRight(O, `
|
|
18283
|
-
return ${
|
|
18283
|
+
return ${ae}
|
|
18284
18284
|
}
|
|
18285
18285
|
|
|
18286
18286
|
`) : y.s.appendRight(O, `
|
|
18287
|
-
const __returned__ = ${
|
|
18287
|
+
const __returned__ = ${ae}
|
|
18288
18288
|
Object.defineProperty(__returned__, '__isScriptSetup', { enumerable: false, value: true })
|
|
18289
18289
|
return __returned__
|
|
18290
18290
|
}
|
|
18291
18291
|
|
|
18292
18292
|
`);
|
|
18293
18293
|
const Q = t.genDefaultAs ? `const ${t.genDefaultAs} =` : "export default";
|
|
18294
|
-
let
|
|
18294
|
+
let le = "";
|
|
18295
18295
|
if (!y.hasDefaultExportName && p && p !== ix) {
|
|
18296
18296
|
const z = p.match(/([^/\\]+)\.\w+$/);
|
|
18297
|
-
z && (
|
|
18297
|
+
z && (le += `
|
|
18298
18298
|
__name: '${z[1]}',`);
|
|
18299
18299
|
}
|
|
18300
|
-
C && (
|
|
18301
|
-
__ssrInlineRender: true,`), be && (
|
|
18300
|
+
C && (le += `
|
|
18301
|
+
__ssrInlineRender: true,`), be && (le += `
|
|
18302
18302
|
props: ${be},`);
|
|
18303
|
-
const
|
|
18304
|
-
|
|
18305
|
-
emits: ${
|
|
18303
|
+
const X = RE(y);
|
|
18304
|
+
X && (le += `
|
|
18305
|
+
emits: ${X},`);
|
|
18306
18306
|
let $ = "";
|
|
18307
18307
|
y.optionsRuntimeDecl && ($ = c.content.slice(y.optionsRuntimeDecl.start, y.optionsRuntimeDecl.end).trim());
|
|
18308
18308
|
const oe = y.hasDefineExposeCall || t.inlineTemplate ? "" : ` __expose();
|
|
@@ -18312,26 +18312,26 @@ return __returned__
|
|
|
18312
18312
|
...${Gs},` : "") + ($ ? `
|
|
18313
18313
|
...${$},` : "");
|
|
18314
18314
|
y.s.prependLeft(A, `
|
|
18315
|
-
${Q} /*@__PURE__*/${y.helper("defineComponent")}({${z}${
|
|
18315
|
+
${Q} /*@__PURE__*/${y.helper("defineComponent")}({${z}${le}
|
|
18316
18316
|
${E ? "async " : ""}setup(${q}) {
|
|
18317
18317
|
${oe}`), y.s.appendRight(O, "})");
|
|
18318
18318
|
} else w || $ ? (y.s.prependLeft(A, `
|
|
18319
|
-
${Q} /*@__PURE__*/Object.assign(${w ? `${Gs}, ` : ""}${$ ? `${$}, ` : ""}{${
|
|
18319
|
+
${Q} /*@__PURE__*/Object.assign(${w ? `${Gs}, ` : ""}${$ ? `${$}, ` : ""}{${le}
|
|
18320
18320
|
${E ? "async " : ""}setup(${q}) {
|
|
18321
18321
|
${oe}`), y.s.appendRight(O, "})")) : (y.s.prependLeft(A, `
|
|
18322
|
-
${Q} {${
|
|
18322
|
+
${Q} {${le}
|
|
18323
18323
|
${E ? "async " : ""}setup(${q}) {
|
|
18324
18324
|
${oe}`), y.s.appendRight(O, "}"));
|
|
18325
18325
|
if (y.helperImports.size > 0) {
|
|
18326
|
-
const z = (i = (n = t.templateOptions) == null ? void 0 : n.compilerOptions) == null ? void 0 : i.runtimeModuleName,
|
|
18327
|
-
y.s.prepend(`import { ${[...y.helperImports].map((
|
|
18326
|
+
const z = (i = (n = t.templateOptions) == null ? void 0 : n.compilerOptions) == null ? void 0 : i.runtimeModuleName, ie = z ? JSON.stringify(z) : "'vue'";
|
|
18327
|
+
y.s.prepend(`import { ${[...y.helperImports].map((ce) => `${ce} as _${ce}`).join(", ")} } from ${ie}
|
|
18328
18328
|
`);
|
|
18329
18329
|
}
|
|
18330
18330
|
const Y = y.s.toString();
|
|
18331
|
-
let
|
|
18332
|
-
if (ee &&
|
|
18333
|
-
const z = Y.indexOf(
|
|
18334
|
-
|
|
18331
|
+
let se = t.sourceMap !== !1 ? y.s.generateMap({ source: p, hires: !0, includeContent: !0 }) : void 0;
|
|
18332
|
+
if (ee && se) {
|
|
18333
|
+
const z = Y.indexOf(ae);
|
|
18334
|
+
se = (function(ie, ce, ge) {
|
|
18335
18335
|
const we = new ks.SourceMapGenerator(), fe = (me, Le = 0) => {
|
|
18336
18336
|
const qe = new ks.SourceMapConsumer(me);
|
|
18337
18337
|
qe.sources.forEach((Me) => {
|
|
@@ -18342,10 +18342,10 @@ ${oe}`), y.s.appendRight(O, "}"));
|
|
|
18342
18342
|
Me.originalLine != null && we.addMapping({ generated: { line: Me.generatedLine + Le, column: Me.generatedColumn }, original: { line: Me.originalLine, column: Me.originalColumn }, source: Me.source, name: Me.name });
|
|
18343
18343
|
});
|
|
18344
18344
|
};
|
|
18345
|
-
return fe(
|
|
18346
|
-
})(
|
|
18345
|
+
return fe(ie), fe(ce, ge), we._sourceRoot = ie.sourceRoot, we._file = ie.file, we.toJSON();
|
|
18346
|
+
})(se, ee, Y.slice(0, z).split(/\r?\n/).length - 1);
|
|
18347
18347
|
}
|
|
18348
|
-
return jl(On({}, c), { bindings: y.bindingMetadata, imports: y.userImports, content: Y, map:
|
|
18348
|
+
return jl(On({}, c), { bindings: y.bindingMetadata, imports: y.userImports, content: Y, map: se, scriptAst: W?.body, scriptSetupAst: V?.body, deps: y.deps ? [...y.deps] : void 0 });
|
|
18349
18349
|
}
|
|
18350
18350
|
function rn(e, t, s) {
|
|
18351
18351
|
e[t.name] = s;
|
|
@@ -18887,7 +18887,7 @@ const A_ = /* @__PURE__ */ new Set([408, 409, 425, 429, 500, 502, 503, 504]), C_
|
|
|
18887
18887
|
};
|
|
18888
18888
|
return l.raw = c, l.native = (...p) => s(...p), l.create = (p = {}, d = {}) => e({ ...t, ...d, defaults: { ...t.defaults, ...d.defaults, ...p } }), l;
|
|
18889
18889
|
})({ fetch: to.fetch ? (...e) => to.fetch(...e) : () => Promise.reject(new Error("[ofetch] global.fetch is not supported!")), Headers: to.Headers, AbortController: to.AbortController });
|
|
18890
|
-
var B, h,
|
|
18890
|
+
var B, h, H;
|
|
18891
18891
|
(function(e) {
|
|
18892
18892
|
e[e.NONE = 0] = "NONE", e[e._abstract = 1] = "_abstract", e[e._accessor = 2] = "_accessor", e[e._as = 3] = "_as", e[e._assert = 4] = "_assert", e[e._asserts = 5] = "_asserts", e[e._async = 6] = "_async", e[e._await = 7] = "_await", e[e._checks = 8] = "_checks", e[e._constructor = 9] = "_constructor", e[e._declare = 10] = "_declare", e[e._enum = 11] = "_enum", e[e._exports = 12] = "_exports", e[e._from = 13] = "_from", e[e._get = 14] = "_get", e[e._global = 15] = "_global", e[e._implements = 16] = "_implements", e[e._infer = 17] = "_infer", e[e._interface = 18] = "_interface", e[e._is = 19] = "_is", e[e._keyof = 20] = "_keyof", e[e._mixins = 21] = "_mixins", e[e._module = 22] = "_module", e[e._namespace = 23] = "_namespace", e[e._of = 24] = "_of", e[e._opaque = 25] = "_opaque", e[e._out = 26] = "_out", e[e._override = 27] = "_override", e[e._private = 28] = "_private", e[e._protected = 29] = "_protected", e[e._proto = 30] = "_proto", e[e._public = 31] = "_public", e[e._readonly = 32] = "_readonly", e[e._require = 33] = "_require", e[e._satisfies = 34] = "_satisfies", e[e._set = 35] = "_set", e[e._static = 36] = "_static", e[e._symbol = 37] = "_symbol", e[e._type = 38] = "_type", e[e._unique = 39] = "_unique", e[e._using = 40] = "_using";
|
|
18893
18893
|
})(B || (B = {})), (function(e) {
|
|
@@ -18961,7 +18961,7 @@ function O_(e) {
|
|
|
18961
18961
|
if ("pos" in e) {
|
|
18962
18962
|
const t = (function(s) {
|
|
18963
18963
|
let n = 1, i = 1;
|
|
18964
|
-
for (let o = 0; o < s; o++) he.charCodeAt(o) ===
|
|
18964
|
+
for (let o = 0; o < s; o++) he.charCodeAt(o) === H.lineFeed ? (n++, i = 1) : i++;
|
|
18965
18965
|
return new L_(n, i);
|
|
18966
18966
|
})(e.pos);
|
|
18967
18967
|
e.message += ` (${t.line}:${t.column})`, e.loc = t;
|
|
@@ -18970,7 +18970,7 @@ function O_(e) {
|
|
|
18970
18970
|
}
|
|
18971
18971
|
(function(e) {
|
|
18972
18972
|
e[e.backSpace = 8] = "backSpace", e[e.lineFeed = 10] = "lineFeed", e[e.tab = 9] = "tab", e[e.carriageReturn = 13] = "carriageReturn", e[e.shiftOut = 14] = "shiftOut", e[e.space = 32] = "space", e[e.exclamationMark = 33] = "exclamationMark", e[e.quotationMark = 34] = "quotationMark", e[e.numberSign = 35] = "numberSign", e[e.dollarSign = 36] = "dollarSign", e[e.percentSign = 37] = "percentSign", e[e.ampersand = 38] = "ampersand", e[e.apostrophe = 39] = "apostrophe", e[e.leftParenthesis = 40] = "leftParenthesis", e[e.rightParenthesis = 41] = "rightParenthesis", e[e.asterisk = 42] = "asterisk", e[e.plusSign = 43] = "plusSign", e[e.comma = 44] = "comma", e[e.dash = 45] = "dash", e[e.dot = 46] = "dot", e[e.slash = 47] = "slash", e[e.digit0 = 48] = "digit0", e[e.digit1 = 49] = "digit1", e[e.digit2 = 50] = "digit2", e[e.digit3 = 51] = "digit3", e[e.digit4 = 52] = "digit4", e[e.digit5 = 53] = "digit5", e[e.digit6 = 54] = "digit6", e[e.digit7 = 55] = "digit7", e[e.digit8 = 56] = "digit8", e[e.digit9 = 57] = "digit9", e[e.colon = 58] = "colon", e[e.semicolon = 59] = "semicolon", e[e.lessThan = 60] = "lessThan", e[e.equalsTo = 61] = "equalsTo", e[e.greaterThan = 62] = "greaterThan", e[e.questionMark = 63] = "questionMark", e[e.atSign = 64] = "atSign", e[e.uppercaseA = 65] = "uppercaseA", e[e.uppercaseB = 66] = "uppercaseB", e[e.uppercaseC = 67] = "uppercaseC", e[e.uppercaseD = 68] = "uppercaseD", e[e.uppercaseE = 69] = "uppercaseE", e[e.uppercaseF = 70] = "uppercaseF", e[e.uppercaseG = 71] = "uppercaseG", e[e.uppercaseH = 72] = "uppercaseH", e[e.uppercaseI = 73] = "uppercaseI", e[e.uppercaseJ = 74] = "uppercaseJ", e[e.uppercaseK = 75] = "uppercaseK", e[e.uppercaseL = 76] = "uppercaseL", e[e.uppercaseM = 77] = "uppercaseM", e[e.uppercaseN = 78] = "uppercaseN", e[e.uppercaseO = 79] = "uppercaseO", e[e.uppercaseP = 80] = "uppercaseP", e[e.uppercaseQ = 81] = "uppercaseQ", e[e.uppercaseR = 82] = "uppercaseR", e[e.uppercaseS = 83] = "uppercaseS", e[e.uppercaseT = 84] = "uppercaseT", e[e.uppercaseU = 85] = "uppercaseU", e[e.uppercaseV = 86] = "uppercaseV", e[e.uppercaseW = 87] = "uppercaseW", e[e.uppercaseX = 88] = "uppercaseX", e[e.uppercaseY = 89] = "uppercaseY", e[e.uppercaseZ = 90] = "uppercaseZ", e[e.leftSquareBracket = 91] = "leftSquareBracket", e[e.backslash = 92] = "backslash", e[e.rightSquareBracket = 93] = "rightSquareBracket", e[e.caret = 94] = "caret", e[e.underscore = 95] = "underscore", e[e.graveAccent = 96] = "graveAccent", e[e.lowercaseA = 97] = "lowercaseA", e[e.lowercaseB = 98] = "lowercaseB", e[e.lowercaseC = 99] = "lowercaseC", e[e.lowercaseD = 100] = "lowercaseD", e[e.lowercaseE = 101] = "lowercaseE", e[e.lowercaseF = 102] = "lowercaseF", e[e.lowercaseG = 103] = "lowercaseG", e[e.lowercaseH = 104] = "lowercaseH", e[e.lowercaseI = 105] = "lowercaseI", e[e.lowercaseJ = 106] = "lowercaseJ", e[e.lowercaseK = 107] = "lowercaseK", e[e.lowercaseL = 108] = "lowercaseL", e[e.lowercaseM = 109] = "lowercaseM", e[e.lowercaseN = 110] = "lowercaseN", e[e.lowercaseO = 111] = "lowercaseO", e[e.lowercaseP = 112] = "lowercaseP", e[e.lowercaseQ = 113] = "lowercaseQ", e[e.lowercaseR = 114] = "lowercaseR", e[e.lowercaseS = 115] = "lowercaseS", e[e.lowercaseT = 116] = "lowercaseT", e[e.lowercaseU = 117] = "lowercaseU", e[e.lowercaseV = 118] = "lowercaseV", e[e.lowercaseW = 119] = "lowercaseW", e[e.lowercaseX = 120] = "lowercaseX", e[e.lowercaseY = 121] = "lowercaseY", e[e.lowercaseZ = 122] = "lowercaseZ", e[e.leftCurlyBrace = 123] = "leftCurlyBrace", e[e.verticalBar = 124] = "verticalBar", e[e.rightCurlyBrace = 125] = "rightCurlyBrace", e[e.tilde = 126] = "tilde", e[e.nonBreakingSpace = 160] = "nonBreakingSpace", e[e.oghamSpaceMark = 5760] = "oghamSpaceMark", e[e.lineSeparator = 8232] = "lineSeparator", e[e.paragraphSeparator = 8233] = "paragraphSeparator";
|
|
18973
|
-
})(
|
|
18973
|
+
})(H || (H = {}));
|
|
18974
18974
|
class L_ {
|
|
18975
18975
|
constructor(t, s) {
|
|
18976
18976
|
this.line = t, this.column = s;
|
|
@@ -18999,7 +18999,7 @@ function Rt() {
|
|
|
18999
18999
|
const e = S.tokens[S.tokens.length - 1];
|
|
19000
19000
|
for (let t = e ? e.end : 0; t < S.start; t++) {
|
|
19001
19001
|
const s = he.charCodeAt(t);
|
|
19002
|
-
if (s ===
|
|
19002
|
+
if (s === H.lineFeed || s === H.carriageReturn || s === 8232 || s === 8233) return !0;
|
|
19003
19003
|
}
|
|
19004
19004
|
return !1;
|
|
19005
19005
|
}
|
|
@@ -19007,7 +19007,7 @@ function p0() {
|
|
|
19007
19007
|
const e = _u();
|
|
19008
19008
|
for (let t = S.end; t < e; t++) {
|
|
19009
19009
|
const s = he.charCodeAt(t);
|
|
19010
|
-
if (s ===
|
|
19010
|
+
if (s === H.lineFeed || s === H.carriageReturn || s === 8232 || s === 8233) return !0;
|
|
19011
19011
|
}
|
|
19012
19012
|
return !1;
|
|
19013
19013
|
}
|
|
@@ -19255,7 +19255,7 @@ function Ae(e = "Unexpected token", t = S.start) {
|
|
|
19255
19255
|
const s = new SyntaxError(e);
|
|
19256
19256
|
s.pos = t, S.error = s, S.pos = he.length, Oe(h.eof);
|
|
19257
19257
|
}
|
|
19258
|
-
const h0 = [9, 11, 12,
|
|
19258
|
+
const h0 = [9, 11, 12, H.space, H.nonBreakingSpace, H.oghamSpaceMark, 8192, 8193, 8194, 8195, 8196, 8197, 8198, 8199, 8200, 8201, 8202, 8239, 8287, 12288, 65279], ug = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, u0 = new Uint8Array(65536);
|
|
19259
19259
|
for (const e of h0) u0[e] = 1;
|
|
19260
19260
|
function M_(e) {
|
|
19261
19261
|
if (e < 48) return e === 36;
|
|
@@ -19273,7 +19273,7 @@ for (let e = 128; e < 65536; e++) pr[e] = 1;
|
|
|
19273
19273
|
for (const e of h0) pr[e] = 0;
|
|
19274
19274
|
pr[8232] = 0, pr[8233] = 0;
|
|
19275
19275
|
const _i = pr.slice();
|
|
19276
|
-
for (let e =
|
|
19276
|
+
for (let e = H.digit0; e <= H.digit9; e++) _i[e] = 0;
|
|
19277
19277
|
const dg = new Int32Array([-1, 27, 783, 918, 1755, 2376, 2862, 3483, -1, 3699, -1, 4617, 4752, 4833, 5130, 5508, 5940, -1, 6480, 6939, 7749, 8181, 8451, 8613, -1, 8829, -1, -1, -1, 54, 243, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 432, -1, -1, -1, 675, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 81, -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, -1, 108, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 135, -1, -1, -1, -1, -1, -1, -1, -1, -1, 162, -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, -1, -1, 189, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 216, -1, -1, -1, -1, -1, -1, B._abstract << 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, -1, -1, -1, -1, 270, -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, -1, -1, 297, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 324, -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, 351, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 378, -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, -1, -1, -1, 405, -1, -1, -1, -1, -1, -1, -1, -1, B._accessor << 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, -1, B._as << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 459, -1, -1, -1, -1, -1, 594, -1, -1, -1, -1, -1, -1, 486, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 513, -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, -1, -1, 540, -1, -1, -1, -1, -1, -1, B._assert << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 567, -1, -1, -1, -1, -1, -1, -1, B._asserts << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 621, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 648, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._async << 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, -1, -1, 702, -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, -1, -1, -1, -1, -1, -1, -1, -1, 729, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 756, -1, -1, -1, -1, -1, -1, B._await << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 810, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 837, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 864, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 891, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._break << 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, -1, -1, 945, -1, -1, -1, -1, -1, -1, 1107, -1, -1, -1, 1242, -1, -1, 1350, -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, -1, -1, -1, -1, 972, 1026, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 999, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._case << 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, -1, -1, -1, -1, 1053, -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, -1, -1, -1, -1, -1, 1080, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._catch << 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, -1, -1, -1, -1, -1, -1, 1134, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1161, -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, -1, -1, -1, -1, -1, -1, -1, -1, 1188, -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, -1, -1, -1, -1, -1, -1, -1, -1, 1215, -1, -1, -1, -1, -1, -1, -1, B._checks << 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, -1, -1, 1269, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1296, -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, 1323, -1, -1, -1, -1, -1, -1, -1, 1 + (h._class << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1377, -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, -1, -1, -1, -1, -1, 1404, 1620, -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, 1431, -1, -1, -1, -1, -1, -1, 1 + (h._const << 1), -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1458, -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, -1, -1, -1, 1485, -1, -1, -1, -1, -1, -1, -1, -1, 1512, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1539, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1566, -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, -1, -1, -1, 1593, -1, -1, -1, -1, -1, -1, -1, -1, B._constructor << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1647, -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, -1, -1, -1, -1, -1, 1674, -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, -1, -1, -1, -1, -1, -1, -1, 1701, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1728, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._continue << 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, -1, -1, -1, -1, -1, -1, 1782, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2349, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1809, 1971, -1, -1, 2106, -1, -1, -1, -1, -1, 2241, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1836, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1863, -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, 1890, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1917, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1944, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._debugger << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1998, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2025, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2052, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2079, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._declare << 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, -1, -1, 2133, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2160, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2187, -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, -1, -1, -1, -1, -1, -1, -1, -1, 2214, -1, -1, -1, -1, -1, -1, 1 + (h._default << 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, -1, -1, -1, -1, -1, -1, 2268, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2295, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2322, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._delete << 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, -1, 1 + (h._do << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2403, -1, 2484, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2565, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2430, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2457, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._else << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2511, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2538, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._enum << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2592, -1, -1, -1, 2727, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2619, -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, -1, -1, -1, 2646, -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, -1, -1, 2673, -1, -1, -1, -1, -1, -1, 1 + (h._export << 1), -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2700, -1, -1, -1, -1, -1, -1, -1, B._exports << 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, -1, -1, -1, -1, -1, -1, 2754, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2781, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2808, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2835, -1, -1, -1, -1, -1, -1, -1, 1 + (h._extends << 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, -1, -1, 2889, -1, -1, -1, -1, -1, -1, -1, 2997, -1, -1, -1, -1, -1, 3159, -1, -1, 3213, -1, -1, 3294, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2916, -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, -1, -1, -1, -1, -1, -1, -1, 2943, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2970, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._false << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3024, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3051, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3078, -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, 3105, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3132, -1, 1 + (h._finally << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3186, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._for << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3240, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3267, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._from << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3321, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3348, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3375, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3402, -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, -1, -1, -1, -1, -1, -1, 3429, -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, 3456, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._function << 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, -1, -1, -1, -1, -1, -1, 3510, -1, -1, -1, -1, -1, -1, 3564, -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, -1, -1, -1, -1, -1, -1, -1, -1, 3537, -1, -1, -1, -1, -1, -1, B._get << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3591, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3618, -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, 3645, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3672, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._global << 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, -1, -1, -1, -1, -1, -1, -1, 3726, -1, -1, -1, -1, -1, -1, 3753, 4077, -1, -1, -1, -1, 4590, -1, -1, -1, -1, -1, -1, -1, 1 + (h._if << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3780, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3807, -1, -1, 3996, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3834, -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, -1, -1, -1, -1, -1, -1, -1, -1, 3861, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3888, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3915, -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, -1, -1, -1, -1, -1, -1, 3942, -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, 3969, -1, -1, -1, -1, -1, -1, -1, B._implements << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4023, -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, -1, -1, 4050, -1, -1, -1, -1, -1, -1, 1 + (h._import << 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, -1, 1 + (h._in << 1), -1, -1, -1, -1, -1, 4104, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4185, 4401, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4131, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4158, -1, -1, -1, -1, -1, -1, -1, -1, B._infer << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4212, -1, -1, -1, -1, -1, -1, -1, 4239, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4266, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4293, -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, -1, -1, 4320, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4347, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4374, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._instanceof << 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, -1, -1, -1, -1, -1, -1, 4428, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4455, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4482, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4509, -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, -1, -1, 4536, -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, -1, -1, 4563, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._interface << 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, -1, B._is << 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, -1, -1, -1, -1, -1, -1, 4644, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4671, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4698, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4725, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._keyof << 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, -1, -1, -1, -1, -1, -1, 4779, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4806, -1, -1, -1, -1, -1, -1, 1 + (h._let << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4860, -1, -1, -1, -1, -1, 4995, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4887, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 4914, -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, -1, -1, -1, -1, -1, 4941, -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, -1, -1, -1, -1, -1, 4968, -1, -1, -1, -1, -1, -1, -1, B._mixins << 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, -1, -1, -1, -1, -1, 5022, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5049, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5076, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5103, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._module << 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, -1, -1, 5157, -1, -1, -1, 5373, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5427, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5184, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5211, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5238, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5265, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5292, -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, -1, -1, 5319, -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, -1, -1, 5346, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._namespace << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5400, -1, -1, -1, 1 + (h._new << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5454, -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, 5481, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._null << 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, -1, -1, -1, -1, -1, -1, -1, 5535, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5562, -1, -1, -1, -1, 5697, 5751, -1, -1, -1, -1, B._of << 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, -1, -1, 5589, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5616, -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, -1, -1, -1, -1, 5643, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5670, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._opaque << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5724, -1, -1, -1, -1, -1, -1, B._out << 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, -1, -1, -1, -1, -1, -1, 5778, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5805, -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, 5832, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5859, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5886, -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, -1, 5913, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._override << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5967, -1, -1, 6345, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 5994, -1, -1, -1, -1, -1, 6129, -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, -1, -1, -1, -1, -1, -1, -1, 6021, -1, -1, -1, -1, -1, 6048, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6075, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6102, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._private << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6156, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6183, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6318, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6210, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6237, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6264, -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, 6291, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._protected << 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, -1, B._proto << 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, -1, -1, -1, 6372, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6399, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6426, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6453, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._public << 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, -1, -1, -1, -1, -1, -1, 6507, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6534, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6696, -1, -1, 6831, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6561, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6588, -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, 6615, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6642, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6669, -1, B._readonly << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6723, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6750, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6777, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6804, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._require << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6858, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6885, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6912, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._return << 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, -1, -1, 6966, -1, -1, -1, 7182, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7236, 7371, -1, 7479, -1, 7614, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6993, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7020, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7047, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7074, -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, -1, -1, -1, 7101, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7128, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7155, -1, -1, -1, -1, -1, -1, -1, B._satisfies << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7209, -1, -1, -1, -1, -1, -1, B._set << 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, -1, -1, 7263, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7290, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7317, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7344, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._static << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7398, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7425, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7452, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._super << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7506, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7533, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7560, -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, -1, -1, -1, -1, -1, 7587, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._switch << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7641, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7668, -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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7695, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7722, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._symbol << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7776, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7938, -1, -1, -1, -1, -1, -1, 8046, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7803, -1, -1, -1, -1, -1, -1, -1, -1, 7857, -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, -1, 7830, -1, -1, -1, -1, -1, -1, -1, 1 + (h._this << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7884, -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, -1, -1, -1, -1, -1, -1, -1, -1, 7911, -1, -1, -1, 1 + (h._throw << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 7965, -1, -1, -1, 8019, -1, -1, -1, -1, -1, -1, 7992, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._true << 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, -1, 1 + (h._try << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8073, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8100, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._type << 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8127, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8154, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._typeof << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8208, -1, -1, -1, -1, 8343, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8235, -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, -1, -1, -1, -1, -1, -1, -1, -1, 8262, -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, -1, -1, -1, -1, 8289, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8316, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._unique << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8370, -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, -1, -1, -1, -1, -1, 8397, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8424, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, B._using << 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, -1, -1, 8478, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8532, -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, -1, -1, -1, 8505, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._var << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8559, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8586, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._void << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8640, 8748, -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, 8667, -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, -1, -1, -1, 8694, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8721, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._while << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8775, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8802, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._with << 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, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8856, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8883, -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, -1, -1, -1, -1, -1, -1, -1, 8910, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 8937, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 1 + (h._yield << 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, -1]);
|
|
19278
19278
|
var Se, ar;
|
|
19279
19279
|
function d0(e) {
|
|
@@ -19317,8 +19317,8 @@ function Kr() {
|
|
|
19317
19317
|
for (; ; ) {
|
|
19318
19318
|
if (S.pos >= he.length) return void Ae("Unterminated template");
|
|
19319
19319
|
const e = he.charCodeAt(S.pos);
|
|
19320
|
-
if (e ===
|
|
19321
|
-
e ===
|
|
19320
|
+
if (e === H.graveAccent || e === H.dollarSign && he.charCodeAt(S.pos + 1) === H.leftCurlyBrace) return S.pos === S.start && L(h.template) ? e === H.dollarSign ? (S.pos += 2, void Oe(h.dollarBraceL)) : (++S.pos, void Oe(h.backQuote)) : void Oe(h.template);
|
|
19321
|
+
e === H.backslash && S.pos++, S.pos++;
|
|
19322
19322
|
}
|
|
19323
19323
|
})();
|
|
19324
19324
|
}
|
|
@@ -19331,10 +19331,10 @@ function U_() {
|
|
|
19331
19331
|
const n = he.charCodeAt(S.pos);
|
|
19332
19332
|
if (t) t = !1;
|
|
19333
19333
|
else {
|
|
19334
|
-
if (n ===
|
|
19335
|
-
else if (n ===
|
|
19336
|
-
else if (n ===
|
|
19337
|
-
t = n ===
|
|
19334
|
+
if (n === H.leftSquareBracket) s = !0;
|
|
19335
|
+
else if (n === H.rightSquareBracket && s) s = !1;
|
|
19336
|
+
else if (n === H.slash && !s) break;
|
|
19337
|
+
t = n === H.backslash;
|
|
19338
19338
|
}
|
|
19339
19339
|
++S.pos;
|
|
19340
19340
|
}
|
|
@@ -19343,9 +19343,9 @@ function U_() {
|
|
|
19343
19343
|
const n = he.charCodeAt(S.pos);
|
|
19344
19344
|
if (pr[n]) S.pos++;
|
|
19345
19345
|
else {
|
|
19346
|
-
if (n !==
|
|
19347
|
-
if (S.pos += 2, he.charCodeAt(S.pos) ===
|
|
19348
|
-
for (; S.pos < he.length && he.charCodeAt(S.pos) !==
|
|
19346
|
+
if (n !== H.backslash) break;
|
|
19347
|
+
if (S.pos += 2, he.charCodeAt(S.pos) === H.leftCurlyBrace) {
|
|
19348
|
+
for (; S.pos < he.length && he.charCodeAt(S.pos) !== H.rightCurlyBrace; ) S.pos++;
|
|
19349
19349
|
S.pos++;
|
|
19350
19350
|
}
|
|
19351
19351
|
}
|
|
@@ -19403,10 +19403,10 @@ function x0() {
|
|
|
19403
19403
|
return t.length >= 2 && t[t.length - 1].start >= he.length && t[t.length - 2].start >= he.length && Ae("Unexpectedly reached the end of input."), void Oe(h.eof);
|
|
19404
19404
|
}
|
|
19405
19405
|
var e;
|
|
19406
|
-
e = he.charCodeAt(S.pos), _i[e] || e ===
|
|
19406
|
+
e = he.charCodeAt(S.pos), _i[e] || e === H.backslash || e === H.atSign && he.charCodeAt(S.pos + 1) === H.atSign ? (function() {
|
|
19407
19407
|
let t = 0, s = 0, n = S.pos;
|
|
19408
|
-
for (; n < he.length && (s = he.charCodeAt(n), !(s <
|
|
19409
|
-
const o = dg[t + (s -
|
|
19408
|
+
for (; n < he.length && (s = he.charCodeAt(n), !(s < H.lowercaseA || s > H.lowercaseZ)); ) {
|
|
19409
|
+
const o = dg[t + (s - H.lowercaseA) + 1];
|
|
19410
19410
|
if (o === -1) break;
|
|
19411
19411
|
t = o, n++;
|
|
19412
19412
|
}
|
|
@@ -19415,13 +19415,13 @@ function x0() {
|
|
|
19415
19415
|
for (; n < he.length; ) {
|
|
19416
19416
|
const o = he.charCodeAt(n);
|
|
19417
19417
|
if (pr[o]) n++;
|
|
19418
|
-
else if (o ===
|
|
19419
|
-
if (n += 2, he.charCodeAt(n) ===
|
|
19420
|
-
for (; n < he.length && he.charCodeAt(n) !==
|
|
19418
|
+
else if (o === H.backslash) {
|
|
19419
|
+
if (n += 2, he.charCodeAt(n) === H.leftCurlyBrace) {
|
|
19420
|
+
for (; n < he.length && he.charCodeAt(n) !== H.rightCurlyBrace; ) n++;
|
|
19421
19421
|
n++;
|
|
19422
19422
|
}
|
|
19423
19423
|
} else {
|
|
19424
|
-
if (o !==
|
|
19424
|
+
if (o !== H.atSign || he.charCodeAt(n + 1) !== H.atSign) break;
|
|
19425
19425
|
n += 2;
|
|
19426
19426
|
}
|
|
19427
19427
|
}
|
|
@@ -19429,30 +19429,30 @@ function x0() {
|
|
|
19429
19429
|
})() : k0(e);
|
|
19430
19430
|
}
|
|
19431
19431
|
function q_() {
|
|
19432
|
-
for (; he.charCodeAt(S.pos) !==
|
|
19432
|
+
for (; he.charCodeAt(S.pos) !== H.asterisk || he.charCodeAt(S.pos + 1) !== H.slash; ) if (S.pos++, S.pos > he.length) return void Ae("Unterminated comment", S.pos - 2);
|
|
19433
19433
|
S.pos += 2;
|
|
19434
19434
|
}
|
|
19435
19435
|
function b0(e) {
|
|
19436
19436
|
let t = he.charCodeAt(S.pos += e);
|
|
19437
|
-
if (S.pos < he.length) for (; t !==
|
|
19437
|
+
if (S.pos < he.length) for (; t !== H.lineFeed && t !== H.carriageReturn && t !== H.lineSeparator && t !== H.paragraphSeparator && ++S.pos < he.length; ) t = he.charCodeAt(S.pos);
|
|
19438
19438
|
}
|
|
19439
19439
|
function T0() {
|
|
19440
19440
|
for (; S.pos < he.length; ) {
|
|
19441
19441
|
const e = he.charCodeAt(S.pos);
|
|
19442
19442
|
switch (e) {
|
|
19443
|
-
case
|
|
19444
|
-
he.charCodeAt(S.pos + 1) ===
|
|
19445
|
-
case
|
|
19446
|
-
case
|
|
19447
|
-
case
|
|
19443
|
+
case H.carriageReturn:
|
|
19444
|
+
he.charCodeAt(S.pos + 1) === H.lineFeed && ++S.pos;
|
|
19445
|
+
case H.lineFeed:
|
|
19446
|
+
case H.lineSeparator:
|
|
19447
|
+
case H.paragraphSeparator:
|
|
19448
19448
|
++S.pos;
|
|
19449
19449
|
break;
|
|
19450
|
-
case
|
|
19450
|
+
case H.slash:
|
|
19451
19451
|
switch (he.charCodeAt(S.pos + 1)) {
|
|
19452
|
-
case
|
|
19452
|
+
case H.asterisk:
|
|
19453
19453
|
S.pos += 2, q_();
|
|
19454
19454
|
break;
|
|
19455
|
-
case
|
|
19455
|
+
case H.slash:
|
|
19456
19456
|
b0(2);
|
|
19457
19457
|
break;
|
|
19458
19458
|
default:
|
|
@@ -19471,128 +19471,128 @@ function Oe(e, t = B.NONE) {
|
|
|
19471
19471
|
function v0() {
|
|
19472
19472
|
if (S.isType) return void Ue(h.greaterThan, 1);
|
|
19473
19473
|
const e = he.charCodeAt(S.pos + 1);
|
|
19474
|
-
if (e ===
|
|
19475
|
-
const t = he.charCodeAt(S.pos + 2) ===
|
|
19476
|
-
return he.charCodeAt(S.pos + t) ===
|
|
19474
|
+
if (e === H.greaterThan) {
|
|
19475
|
+
const t = he.charCodeAt(S.pos + 2) === H.greaterThan ? 3 : 2;
|
|
19476
|
+
return he.charCodeAt(S.pos + t) === H.equalsTo ? void Ue(h.assign, t + 1) : void Ue(h.bitShiftR, t);
|
|
19477
19477
|
}
|
|
19478
|
-
e ===
|
|
19478
|
+
e === H.equalsTo ? Ue(h.relationalOrEqual, 2) : Ue(h.greaterThan, 1);
|
|
19479
19479
|
}
|
|
19480
19480
|
function S0() {
|
|
19481
19481
|
S.type === h.greaterThan && (S.pos -= 1, v0());
|
|
19482
19482
|
}
|
|
19483
19483
|
function k0(e) {
|
|
19484
19484
|
switch (e) {
|
|
19485
|
-
case
|
|
19485
|
+
case H.numberSign:
|
|
19486
19486
|
return ++S.pos, void Oe(h.hash);
|
|
19487
|
-
case
|
|
19487
|
+
case H.dot:
|
|
19488
19488
|
return void (function() {
|
|
19489
19489
|
const t = he.charCodeAt(S.pos + 1);
|
|
19490
|
-
t >=
|
|
19490
|
+
t >= H.digit0 && t <= H.digit9 ? fg(!0) : t === H.dot && he.charCodeAt(S.pos + 2) === H.dot ? (S.pos += 3, Oe(h.ellipsis)) : (++S.pos, Oe(h.dot));
|
|
19491
19491
|
})();
|
|
19492
|
-
case
|
|
19492
|
+
case H.leftParenthesis:
|
|
19493
19493
|
return ++S.pos, void Oe(h.parenL);
|
|
19494
|
-
case
|
|
19494
|
+
case H.rightParenthesis:
|
|
19495
19495
|
return ++S.pos, void Oe(h.parenR);
|
|
19496
|
-
case
|
|
19496
|
+
case H.semicolon:
|
|
19497
19497
|
return ++S.pos, void Oe(h.semi);
|
|
19498
|
-
case
|
|
19498
|
+
case H.comma:
|
|
19499
19499
|
return ++S.pos, void Oe(h.comma);
|
|
19500
|
-
case
|
|
19500
|
+
case H.leftSquareBracket:
|
|
19501
19501
|
return ++S.pos, void Oe(h.bracketL);
|
|
19502
|
-
case
|
|
19502
|
+
case H.rightSquareBracket:
|
|
19503
19503
|
return ++S.pos, void Oe(h.bracketR);
|
|
19504
|
-
case
|
|
19505
|
-
return void (je && he.charCodeAt(S.pos + 1) ===
|
|
19506
|
-
case
|
|
19504
|
+
case H.leftCurlyBrace:
|
|
19505
|
+
return void (je && he.charCodeAt(S.pos + 1) === H.verticalBar ? Ue(h.braceBarL, 2) : (++S.pos, Oe(h.braceL)));
|
|
19506
|
+
case H.rightCurlyBrace:
|
|
19507
19507
|
return ++S.pos, void Oe(h.braceR);
|
|
19508
|
-
case
|
|
19509
|
-
return void (he.charCodeAt(S.pos + 1) ===
|
|
19510
|
-
case
|
|
19508
|
+
case H.colon:
|
|
19509
|
+
return void (he.charCodeAt(S.pos + 1) === H.colon ? Ue(h.doubleColon, 2) : (++S.pos, Oe(h.colon)));
|
|
19510
|
+
case H.questionMark:
|
|
19511
19511
|
return void (function() {
|
|
19512
19512
|
const t = he.charCodeAt(S.pos + 1), s = he.charCodeAt(S.pos + 2);
|
|
19513
|
-
t !==
|
|
19513
|
+
t !== H.questionMark || je && S.isType ? t !== H.dot || s >= H.digit0 && s <= H.digit9 ? (++S.pos, Oe(h.question)) : (S.pos += 2, Oe(h.questionDot)) : s === H.equalsTo ? Ue(h.assign, 3) : Ue(h.nullishCoalescing, 2);
|
|
19514
19514
|
})();
|
|
19515
|
-
case
|
|
19515
|
+
case H.atSign:
|
|
19516
19516
|
return ++S.pos, void Oe(h.at);
|
|
19517
|
-
case
|
|
19517
|
+
case H.graveAccent:
|
|
19518
19518
|
return ++S.pos, void Oe(h.backQuote);
|
|
19519
|
-
case
|
|
19519
|
+
case H.digit0: {
|
|
19520
19520
|
const t = he.charCodeAt(S.pos + 1);
|
|
19521
|
-
if (t ===
|
|
19521
|
+
if (t === H.lowercaseX || t === H.uppercaseX || t === H.lowercaseO || t === H.uppercaseO || t === H.lowercaseB || t === H.uppercaseB) return void (function() {
|
|
19522
19522
|
for (S.pos += 2; ; ) {
|
|
19523
19523
|
const n = he.charCodeAt(S.pos);
|
|
19524
|
-
if (!(n >=
|
|
19524
|
+
if (!(n >= H.digit0 && n <= H.digit9 || n >= H.lowercaseA && n <= H.lowercaseF || n >= H.uppercaseA && n <= H.uppercaseF || n === H.underscore)) break;
|
|
19525
19525
|
S.pos++;
|
|
19526
19526
|
}
|
|
19527
|
-
he.charCodeAt(S.pos) ===
|
|
19527
|
+
he.charCodeAt(S.pos) === H.lowercaseN ? (++S.pos, Oe(h.bigint)) : Oe(h.num);
|
|
19528
19528
|
})();
|
|
19529
19529
|
}
|
|
19530
|
-
case
|
|
19531
|
-
case
|
|
19532
|
-
case
|
|
19533
|
-
case
|
|
19534
|
-
case
|
|
19535
|
-
case
|
|
19536
|
-
case
|
|
19537
|
-
case
|
|
19538
|
-
case
|
|
19530
|
+
case H.digit1:
|
|
19531
|
+
case H.digit2:
|
|
19532
|
+
case H.digit3:
|
|
19533
|
+
case H.digit4:
|
|
19534
|
+
case H.digit5:
|
|
19535
|
+
case H.digit6:
|
|
19536
|
+
case H.digit7:
|
|
19537
|
+
case H.digit8:
|
|
19538
|
+
case H.digit9:
|
|
19539
19539
|
return void fg(!1);
|
|
19540
|
-
case
|
|
19541
|
-
case
|
|
19540
|
+
case H.quotationMark:
|
|
19541
|
+
case H.apostrophe:
|
|
19542
19542
|
return void (function(t) {
|
|
19543
19543
|
for (S.pos++; ; ) {
|
|
19544
19544
|
if (S.pos >= he.length) return void Ae("Unterminated string constant");
|
|
19545
19545
|
const s = he.charCodeAt(S.pos);
|
|
19546
|
-
if (s ===
|
|
19546
|
+
if (s === H.backslash) S.pos++;
|
|
19547
19547
|
else if (s === t) break;
|
|
19548
19548
|
S.pos++;
|
|
19549
19549
|
}
|
|
19550
19550
|
S.pos++, Oe(h.string);
|
|
19551
19551
|
})(e);
|
|
19552
|
-
case
|
|
19553
|
-
return void (he.charCodeAt(S.pos + 1) ===
|
|
19554
|
-
case
|
|
19555
|
-
case
|
|
19552
|
+
case H.slash:
|
|
19553
|
+
return void (he.charCodeAt(S.pos + 1) === H.equalsTo ? Ue(h.assign, 2) : Ue(h.slash, 1));
|
|
19554
|
+
case H.percentSign:
|
|
19555
|
+
case H.asterisk:
|
|
19556
19556
|
return void (function(t) {
|
|
19557
|
-
let s = t ===
|
|
19558
|
-
t ===
|
|
19557
|
+
let s = t === H.asterisk ? h.star : h.modulo, n = 1, i = he.charCodeAt(S.pos + 1);
|
|
19558
|
+
t === H.asterisk && i === H.asterisk && (n++, i = he.charCodeAt(S.pos + 2), s = h.exponent), i === H.equalsTo && he.charCodeAt(S.pos + 2) !== H.greaterThan && (n++, s = h.assign), Ue(s, n);
|
|
19559
19559
|
})(e);
|
|
19560
|
-
case
|
|
19561
|
-
case
|
|
19560
|
+
case H.verticalBar:
|
|
19561
|
+
case H.ampersand:
|
|
19562
19562
|
return void (function(t) {
|
|
19563
19563
|
const s = he.charCodeAt(S.pos + 1);
|
|
19564
19564
|
if (s !== t) {
|
|
19565
|
-
if (t ===
|
|
19566
|
-
if (s ===
|
|
19567
|
-
if (s ===
|
|
19565
|
+
if (t === H.verticalBar) {
|
|
19566
|
+
if (s === H.greaterThan) return void Ue(h.pipeline, 2);
|
|
19567
|
+
if (s === H.rightCurlyBrace && je) return void Ue(h.braceBarR, 2);
|
|
19568
19568
|
}
|
|
19569
|
-
s !==
|
|
19570
|
-
} else he.charCodeAt(S.pos + 2) ===
|
|
19569
|
+
s !== H.equalsTo ? Ue(t === H.verticalBar ? h.bitwiseOR : h.bitwiseAND, 1) : Ue(h.assign, 2);
|
|
19570
|
+
} else he.charCodeAt(S.pos + 2) === H.equalsTo ? Ue(h.assign, 3) : Ue(t === H.verticalBar ? h.logicalOR : h.logicalAND, 2);
|
|
19571
19571
|
})(e);
|
|
19572
|
-
case
|
|
19573
|
-
return void (he.charCodeAt(S.pos + 1) ===
|
|
19574
|
-
case
|
|
19575
|
-
case
|
|
19572
|
+
case H.caret:
|
|
19573
|
+
return void (he.charCodeAt(S.pos + 1) === H.equalsTo ? Ue(h.assign, 2) : Ue(h.bitwiseXOR, 1));
|
|
19574
|
+
case H.plusSign:
|
|
19575
|
+
case H.dash:
|
|
19576
19576
|
return void (function(t) {
|
|
19577
19577
|
const s = he.charCodeAt(S.pos + 1);
|
|
19578
|
-
s !== t ? s ===
|
|
19578
|
+
s !== t ? s === H.equalsTo ? Ue(h.assign, 2) : t === H.plusSign ? Ue(h.plus, 1) : Ue(h.minus, 1) : Ue(h.preIncDec, 2);
|
|
19579
19579
|
})(e);
|
|
19580
|
-
case
|
|
19580
|
+
case H.lessThan:
|
|
19581
19581
|
return void (function() {
|
|
19582
19582
|
const t = he.charCodeAt(S.pos + 1);
|
|
19583
|
-
if (t ===
|
|
19584
|
-
t ===
|
|
19583
|
+
if (t === H.lessThan) return he.charCodeAt(S.pos + 2) === H.equalsTo ? void Ue(h.assign, 3) : void (S.isType ? Ue(h.lessThan, 1) : Ue(h.bitShiftL, 2));
|
|
19584
|
+
t === H.equalsTo ? Ue(h.relationalOrEqual, 2) : Ue(h.lessThan, 1);
|
|
19585
19585
|
})();
|
|
19586
|
-
case
|
|
19586
|
+
case H.greaterThan:
|
|
19587
19587
|
return void v0();
|
|
19588
|
-
case
|
|
19589
|
-
case
|
|
19588
|
+
case H.equalsTo:
|
|
19589
|
+
case H.exclamationMark:
|
|
19590
19590
|
return void (function(t) {
|
|
19591
19591
|
const s = he.charCodeAt(S.pos + 1);
|
|
19592
|
-
if (s !==
|
|
19593
|
-
Ue(h.equality, he.charCodeAt(S.pos + 2) ===
|
|
19592
|
+
if (s !== H.equalsTo) return t === H.equalsTo && s === H.greaterThan ? (S.pos += 2, void Oe(h.arrow)) : void Ue(t === H.equalsTo ? h.eq : h.bang, 1);
|
|
19593
|
+
Ue(h.equality, he.charCodeAt(S.pos + 2) === H.equalsTo ? 3 : 2);
|
|
19594
19594
|
})(e);
|
|
19595
|
-
case
|
|
19595
|
+
case H.tilde:
|
|
19596
19596
|
return void Ue(h.tilde, 1);
|
|
19597
19597
|
}
|
|
19598
19598
|
Ae(`Unexpected character '${String.fromCharCode(e)}'`, S.pos);
|
|
@@ -19603,7 +19603,7 @@ function Ue(e, t) {
|
|
|
19603
19603
|
function zl() {
|
|
19604
19604
|
for (; ; ) {
|
|
19605
19605
|
const e = he.charCodeAt(S.pos);
|
|
19606
|
-
if (!(e >=
|
|
19606
|
+
if (!(e >= H.digit0 && e <= H.digit9 || e === H.underscore)) break;
|
|
19607
19607
|
S.pos++;
|
|
19608
19608
|
}
|
|
19609
19609
|
}
|
|
@@ -19611,7 +19611,7 @@ function fg(e) {
|
|
|
19611
19611
|
let t = !1, s = !1;
|
|
19612
19612
|
e || zl();
|
|
19613
19613
|
let n = he.charCodeAt(S.pos);
|
|
19614
|
-
n ===
|
|
19614
|
+
n === H.dot && (++S.pos, zl(), n = he.charCodeAt(S.pos)), n !== H.uppercaseE && n !== H.lowercaseE || (n = he.charCodeAt(++S.pos), n !== H.plusSign && n !== H.dash || ++S.pos, zl(), n = he.charCodeAt(S.pos)), n === H.lowercaseN ? (++S.pos, t = !0) : n === H.lowercaseM && (++S.pos, s = !0), Oe(t ? h.bigint : s ? h.decimal : h.num);
|
|
19615
19615
|
}
|
|
19616
19616
|
function hi(e, t = e.currentIndex()) {
|
|
19617
19617
|
let s = t + 1;
|
|
@@ -19853,7 +19853,7 @@ class xs extends hr {
|
|
|
19853
19853
|
}
|
|
19854
19854
|
function E0(e) {
|
|
19855
19855
|
const t = e.charCodeAt(0);
|
|
19856
|
-
return t >=
|
|
19856
|
+
return t >= H.lowercaseA && t <= H.lowercaseZ;
|
|
19857
19857
|
}
|
|
19858
19858
|
function gg(e) {
|
|
19859
19859
|
let t = 0, s = 0;
|
|
@@ -19883,10 +19883,10 @@ function yg(e, t) {
|
|
|
19883
19883
|
return s ? { entity: s, newI: o } : { entity: "&", newI: t };
|
|
19884
19884
|
}
|
|
19885
19885
|
function H_(e) {
|
|
19886
|
-
return e >=
|
|
19886
|
+
return e >= H.digit0 && e <= H.digit9;
|
|
19887
19887
|
}
|
|
19888
19888
|
function z_(e) {
|
|
19889
|
-
return e >=
|
|
19889
|
+
return e >= H.digit0 && e <= H.digit9 || e >= H.lowercaseA && e <= H.lowercaseF || e >= H.uppercaseA && e <= H.uppercaseF;
|
|
19890
19890
|
}
|
|
19891
19891
|
function _0(e, t) {
|
|
19892
19892
|
const s = w0(t), n = /* @__PURE__ */ new Set();
|
|
@@ -20123,8 +20123,8 @@ bg || (bg = 1, Q_.exports = /* @__PURE__ */ (function() {
|
|
|
20123
20123
|
const w = s.exec(T), E = w[2];
|
|
20124
20124
|
return f("file:", "", w[1] || "", "", o(E) ? E : "/" + E, w[3] || "", w[4] || "");
|
|
20125
20125
|
}
|
|
20126
|
-
function f(T, w, E, C, A, O,
|
|
20127
|
-
return { scheme: T, user: w, host: E, port: C, path: A, query: O, hash:
|
|
20126
|
+
function f(T, w, E, C, A, O, D) {
|
|
20127
|
+
return { scheme: T, user: w, host: E, port: C, path: A, query: O, hash: D, type: 7 };
|
|
20128
20128
|
}
|
|
20129
20129
|
function m(T) {
|
|
20130
20130
|
if (i(T)) {
|
|
@@ -20150,21 +20150,21 @@ bg || (bg = 1, Q_.exports = /* @__PURE__ */ (function() {
|
|
|
20150
20150
|
}
|
|
20151
20151
|
function y(T, w) {
|
|
20152
20152
|
const E = w <= 4, C = T.path.split("/");
|
|
20153
|
-
let A = 1, O = 0,
|
|
20153
|
+
let A = 1, O = 0, D = !1;
|
|
20154
20154
|
for (let j = 1; j < C.length; j++) {
|
|
20155
20155
|
const U = C[j];
|
|
20156
|
-
U ? (
|
|
20156
|
+
U ? (D = !1, U !== "." && (U !== ".." ? (C[A++] = U, O++) : O ? (D = !0, O--, A--) : E && (C[A++] = U))) : D = !0;
|
|
20157
20157
|
}
|
|
20158
20158
|
let N = "";
|
|
20159
20159
|
for (let j = 1; j < A; j++) N += "/" + C[j];
|
|
20160
|
-
(!N ||
|
|
20160
|
+
(!N || D && !N.endsWith("/..")) && (N += "/"), T.path = N;
|
|
20161
20161
|
}
|
|
20162
20162
|
function v(T, w) {
|
|
20163
20163
|
if (!T && !w) return "";
|
|
20164
20164
|
const E = m(T);
|
|
20165
20165
|
let C = E.type;
|
|
20166
20166
|
if (w && C !== 7) {
|
|
20167
|
-
const O = m(w),
|
|
20167
|
+
const O = m(w), D = O.type;
|
|
20168
20168
|
switch (C) {
|
|
20169
20169
|
case 1:
|
|
20170
20170
|
E.hash = O.hash;
|
|
@@ -20178,7 +20178,7 @@ bg || (bg = 1, Q_.exports = /* @__PURE__ */ (function() {
|
|
|
20178
20178
|
case 6:
|
|
20179
20179
|
E.scheme = O.scheme;
|
|
20180
20180
|
}
|
|
20181
|
-
|
|
20181
|
+
D > C && (C = D);
|
|
20182
20182
|
}
|
|
20183
20183
|
y(E, C);
|
|
20184
20184
|
const A = E.query + E.hash;
|
|
@@ -20212,7 +20212,7 @@ var Wl = class {
|
|
|
20212
20212
|
return N[j];
|
|
20213
20213
|
})(v, f), A = (function(N, j) {
|
|
20214
20214
|
let U = N.length;
|
|
20215
|
-
for (let
|
|
20215
|
+
for (let K = U - 1; K >= 0 && !(j >= N[K][0]); U = K--)
|
|
20216
20216
|
;
|
|
20217
20217
|
return U;
|
|
20218
20218
|
})(C, m);
|
|
@@ -20221,18 +20221,18 @@ var Wl = class {
|
|
|
20221
20221
|
return j === 0 ? !0 : N[j - 1].length === 1;
|
|
20222
20222
|
})(C, A) ? void 0 : Tg(C, A, [m]);
|
|
20223
20223
|
const O = (function(N, j) {
|
|
20224
|
-
const U = (function(
|
|
20225
|
-
return
|
|
20224
|
+
const U = (function(F, q) {
|
|
20225
|
+
return F._indexes[q];
|
|
20226
20226
|
})(N, j);
|
|
20227
20227
|
if (U !== void 0) return U;
|
|
20228
|
-
const { array:
|
|
20229
|
-
return W[j] =
|
|
20230
|
-
})(T, x),
|
|
20231
|
-
if (O === w.length && (w[O] = null), !(function(N, j, U,
|
|
20228
|
+
const { array: K, _indexes: W } = N, V = K.push(j);
|
|
20229
|
+
return W[j] = V - 1;
|
|
20230
|
+
})(T, x), D = -1;
|
|
20231
|
+
if (O === w.length && (w[O] = null), !(function(N, j, U, K, W, V) {
|
|
20232
20232
|
if (j === 0) return !1;
|
|
20233
|
-
const
|
|
20234
|
-
return
|
|
20235
|
-
})(C, A, O, g, y,
|
|
20233
|
+
const F = N[j - 1];
|
|
20234
|
+
return F.length !== 1 && U === F[1] && K === F[2] && W === F[3] && V === (F.length === 5 ? F[4] : -1);
|
|
20235
|
+
})(C, A, O, g, y, D))
|
|
20236
20236
|
return Tg(C, A, [m, O, g, y]);
|
|
20237
20237
|
})(0, e, t, s, n, i, o);
|
|
20238
20238
|
function Tg(e, t, s) {
|
|
@@ -20243,7 +20243,7 @@ function eP({ code: e, mappings: t }, s, n, i, o) {
|
|
|
20243
20243
|
const c = (function(v, T) {
|
|
20244
20244
|
const w = new Array(T.length);
|
|
20245
20245
|
let E = 0, C = T[E].start, A = 0;
|
|
20246
|
-
for (let O = 0; O < v.length; O++) O === C && (w[E] = C - A, E++, C = T[E].start), v.charCodeAt(O) ===
|
|
20246
|
+
for (let O = 0; O < v.length; O++) O === C && (w[E] = C - A, E++, C = T[E].start), v.charCodeAt(O) === H.lineFeed && (A = O + 1);
|
|
20247
20247
|
return w;
|
|
20248
20248
|
})(i, o), l = new Z_({ file: n.compiledFilename });
|
|
20249
20249
|
let p = 0, d = t[0];
|
|
@@ -20255,17 +20255,17 @@ function eP({ code: e, mappings: t }, s, n, i, o) {
|
|
|
20255
20255
|
const T = d - m, w = c[p];
|
|
20256
20256
|
for (Gl(l, f, T, s, f, w); (d === v || d === void 0) && p < t.length - 1; ) p++, d = t[p];
|
|
20257
20257
|
}
|
|
20258
|
-
e.charCodeAt(v) ===
|
|
20258
|
+
e.charCodeAt(v) === H.lineFeed && (f++, m = v + 1, d !== m && Gl(l, f, 0, s, f, 0));
|
|
20259
20259
|
}
|
|
20260
20260
|
const { sourceRoot: x, sourcesContent: g, ...y } = (function(v) {
|
|
20261
20261
|
const T = (function(w) {
|
|
20262
|
-
const { _mappings: E, _sources: C, _sourcesContent: A, _names: O, _ignoreList:
|
|
20262
|
+
const { _mappings: E, _sources: C, _sourcesContent: A, _names: O, _ignoreList: D } = w;
|
|
20263
20263
|
return (function(N) {
|
|
20264
20264
|
const { length: j } = N;
|
|
20265
20265
|
let U = j;
|
|
20266
|
-
for (let
|
|
20266
|
+
for (let K = U - 1; K >= 0 && !(N[K].length > 0); U = K, K--) ;
|
|
20267
20267
|
U < j && (N.length = U);
|
|
20268
|
-
})(E), { version: 3, file: w.file || void 0, names: O.array, sourceRoot: w.sourceRoot || void 0, sources: C.array, sourcesContent: A, mappings: E, ignoreList:
|
|
20268
|
+
})(E), { version: 3, file: w.file || void 0, names: O.array, sourceRoot: w.sourceRoot || void 0, sources: C.array, sourcesContent: A, mappings: E, ignoreList: D.array };
|
|
20269
20269
|
})(v);
|
|
20270
20270
|
return Object.assign({}, T, { mappings: Y_(T.mappings) });
|
|
20271
20271
|
})(l);
|
|
@@ -20545,349 +20545,349 @@ function Mp() {
|
|
|
20545
20545
|
}
|
|
20546
20546
|
function _g() {
|
|
20547
20547
|
return wg || (wg = 1, (function(e) {
|
|
20548
|
-
var t, s = no && no.__extends || (t = function(
|
|
20548
|
+
var t, s = no && no.__extends || (t = function(F, q) {
|
|
20549
20549
|
return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(G, ee) {
|
|
20550
20550
|
G.__proto__ = ee;
|
|
20551
20551
|
} || function(G, ee) {
|
|
20552
|
-
for (var
|
|
20553
|
-
}, t(
|
|
20554
|
-
}, function(
|
|
20552
|
+
for (var ae in ee) ee.hasOwnProperty(ae) && (G[ae] = ee[ae]);
|
|
20553
|
+
}, t(F, q);
|
|
20554
|
+
}, function(F, q) {
|
|
20555
20555
|
function G() {
|
|
20556
|
-
this.constructor =
|
|
20556
|
+
this.constructor = F;
|
|
20557
20557
|
}
|
|
20558
|
-
t(
|
|
20558
|
+
t(F, q), F.prototype = q === null ? Object.create(q) : (G.prototype = q.prototype, new G());
|
|
20559
20559
|
});
|
|
20560
20560
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.basicTypes = e.BasicType = e.TParamList = e.TParam = e.param = e.TFunc = e.func = e.TProp = e.TOptional = e.opt = e.TIface = e.iface = e.TEnumLiteral = e.enumlit = e.TEnumType = e.enumtype = e.TIntersection = e.intersection = e.TUnion = e.union = e.TTuple = e.tuple = e.TArray = e.array = e.TLiteral = e.lit = e.TName = e.name = e.TType = void 0;
|
|
20561
20561
|
var n = Mp(), i = function() {
|
|
20562
20562
|
};
|
|
20563
|
-
function o(
|
|
20564
|
-
return typeof
|
|
20563
|
+
function o(F) {
|
|
20564
|
+
return typeof F == "string" ? l(F) : F;
|
|
20565
20565
|
}
|
|
20566
|
-
function c(
|
|
20567
|
-
var G =
|
|
20566
|
+
function c(F, q) {
|
|
20567
|
+
var G = F[q];
|
|
20568
20568
|
if (!G) throw new Error("Unknown type " + q);
|
|
20569
20569
|
return G;
|
|
20570
20570
|
}
|
|
20571
|
-
function l(
|
|
20572
|
-
return new p(
|
|
20571
|
+
function l(F) {
|
|
20572
|
+
return new p(F);
|
|
20573
20573
|
}
|
|
20574
20574
|
e.TType = i, e.name = l;
|
|
20575
|
-
var p = (function(
|
|
20575
|
+
var p = (function(F) {
|
|
20576
20576
|
function q(G) {
|
|
20577
|
-
var ee =
|
|
20577
|
+
var ee = F.call(this) || this;
|
|
20578
20578
|
return ee.name = G, ee._failMsg = "is not a " + G, ee;
|
|
20579
20579
|
}
|
|
20580
|
-
return s(q,
|
|
20581
|
-
var be = this, Q = c(G, this.name),
|
|
20582
|
-
return Q instanceof N || Q instanceof q ?
|
|
20583
|
-
return !!
|
|
20580
|
+
return s(q, F), q.prototype.getChecker = function(G, ee, ae) {
|
|
20581
|
+
var be = this, Q = c(G, this.name), le = Q.getChecker(G, ee, ae);
|
|
20582
|
+
return Q instanceof N || Q instanceof q ? le : function(X, $) {
|
|
20583
|
+
return !!le(X, $) || $.fail(null, be._failMsg, 0);
|
|
20584
20584
|
};
|
|
20585
20585
|
}, q;
|
|
20586
20586
|
})(i);
|
|
20587
|
-
e.TName = p, e.lit = function(
|
|
20588
|
-
return new d(
|
|
20587
|
+
e.TName = p, e.lit = function(F) {
|
|
20588
|
+
return new d(F);
|
|
20589
20589
|
};
|
|
20590
|
-
var d = (function(
|
|
20590
|
+
var d = (function(F) {
|
|
20591
20591
|
function q(G) {
|
|
20592
|
-
var ee =
|
|
20592
|
+
var ee = F.call(this) || this;
|
|
20593
20593
|
return ee.value = G, ee.name = JSON.stringify(G), ee._failMsg = "is not " + ee.name, ee;
|
|
20594
20594
|
}
|
|
20595
|
-
return s(q,
|
|
20596
|
-
var
|
|
20595
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20596
|
+
var ae = this;
|
|
20597
20597
|
return function(be, Q) {
|
|
20598
|
-
return be ===
|
|
20598
|
+
return be === ae.value || Q.fail(null, ae._failMsg, -1);
|
|
20599
20599
|
};
|
|
20600
20600
|
}, q;
|
|
20601
20601
|
})(i);
|
|
20602
|
-
e.TLiteral = d, e.array = function(
|
|
20603
|
-
return new f(o(
|
|
20602
|
+
e.TLiteral = d, e.array = function(F) {
|
|
20603
|
+
return new f(o(F));
|
|
20604
20604
|
};
|
|
20605
|
-
var f = (function(
|
|
20605
|
+
var f = (function(F) {
|
|
20606
20606
|
function q(G) {
|
|
20607
|
-
var ee =
|
|
20607
|
+
var ee = F.call(this) || this;
|
|
20608
20608
|
return ee.ttype = G, ee;
|
|
20609
20609
|
}
|
|
20610
|
-
return s(q,
|
|
20611
|
-
var
|
|
20610
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20611
|
+
var ae = this.ttype.getChecker(G, ee);
|
|
20612
20612
|
return function(be, Q) {
|
|
20613
20613
|
if (!Array.isArray(be)) return Q.fail(null, "is not an array", 0);
|
|
20614
|
-
for (var
|
|
20615
|
-
if (!
|
|
20614
|
+
for (var le = 0; le < be.length; le++)
|
|
20615
|
+
if (!ae(be[le], Q)) return Q.fail(le, null, 1);
|
|
20616
20616
|
return !0;
|
|
20617
20617
|
};
|
|
20618
20618
|
}, q;
|
|
20619
20619
|
})(i);
|
|
20620
20620
|
e.TArray = f, e.tuple = function() {
|
|
20621
|
-
for (var
|
|
20622
|
-
return new m(
|
|
20621
|
+
for (var F = [], q = 0; q < arguments.length; q++) F[q] = arguments[q];
|
|
20622
|
+
return new m(F.map(function(G) {
|
|
20623
20623
|
return o(G);
|
|
20624
20624
|
}));
|
|
20625
20625
|
};
|
|
20626
|
-
var m = (function(
|
|
20626
|
+
var m = (function(F) {
|
|
20627
20627
|
function q(G) {
|
|
20628
|
-
var ee =
|
|
20628
|
+
var ee = F.call(this) || this;
|
|
20629
20629
|
return ee.ttypes = G, ee;
|
|
20630
20630
|
}
|
|
20631
|
-
return s(q,
|
|
20632
|
-
var
|
|
20631
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20632
|
+
var ae = this.ttypes.map(function(Q) {
|
|
20633
20633
|
return Q.getChecker(G, ee);
|
|
20634
|
-
}), be = function(Q,
|
|
20635
|
-
if (!Array.isArray(Q)) return
|
|
20636
|
-
for (var
|
|
20637
|
-
if (!
|
|
20634
|
+
}), be = function(Q, le) {
|
|
20635
|
+
if (!Array.isArray(Q)) return le.fail(null, "is not an array", 0);
|
|
20636
|
+
for (var X = 0; X < ae.length; X++)
|
|
20637
|
+
if (!ae[X](Q[X], le)) return le.fail(X, null, 1);
|
|
20638
20638
|
return !0;
|
|
20639
20639
|
};
|
|
20640
|
-
return ee ? function(Q,
|
|
20641
|
-
return !!be(Q,
|
|
20640
|
+
return ee ? function(Q, le) {
|
|
20641
|
+
return !!be(Q, le) && (Q.length <= ae.length || le.fail(ae.length, "is extraneous", 2));
|
|
20642
20642
|
} : be;
|
|
20643
20643
|
}, q;
|
|
20644
20644
|
})(i);
|
|
20645
20645
|
e.TTuple = m, e.union = function() {
|
|
20646
|
-
for (var
|
|
20647
|
-
return new x(
|
|
20646
|
+
for (var F = [], q = 0; q < arguments.length; q++) F[q] = arguments[q];
|
|
20647
|
+
return new x(F.map(function(G) {
|
|
20648
20648
|
return o(G);
|
|
20649
20649
|
}));
|
|
20650
20650
|
};
|
|
20651
|
-
var x = (function(
|
|
20651
|
+
var x = (function(F) {
|
|
20652
20652
|
function q(G) {
|
|
20653
|
-
var ee =
|
|
20653
|
+
var ee = F.call(this) || this;
|
|
20654
20654
|
ee.ttypes = G;
|
|
20655
|
-
var
|
|
20655
|
+
var ae = G.map(function(Q) {
|
|
20656
20656
|
return Q instanceof p || Q instanceof d ? Q.name : null;
|
|
20657
20657
|
}).filter(function(Q) {
|
|
20658
20658
|
return Q;
|
|
20659
|
-
}), be = G.length -
|
|
20660
|
-
return
|
|
20659
|
+
}), be = G.length - ae.length;
|
|
20660
|
+
return ae.length ? (be > 0 && ae.push(be + " more"), ee._failMsg = "is none of " + ae.join(", ")) : ee._failMsg = "is none of " + be + " types", ee;
|
|
20661
20661
|
}
|
|
20662
|
-
return s(q,
|
|
20663
|
-
var
|
|
20662
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20663
|
+
var ae = this, be = this.ttypes.map(function(Q) {
|
|
20664
20664
|
return Q.getChecker(G, ee);
|
|
20665
20665
|
});
|
|
20666
|
-
return function(Q,
|
|
20667
|
-
for (var
|
|
20668
|
-
if (be[$](Q,
|
|
20669
|
-
return
|
|
20666
|
+
return function(Q, le) {
|
|
20667
|
+
for (var X = le.unionResolver(), $ = 0; $ < be.length; $++)
|
|
20668
|
+
if (be[$](Q, X.createContext())) return !0;
|
|
20669
|
+
return le.resolveUnion(X), le.fail(null, ae._failMsg, 0);
|
|
20670
20670
|
};
|
|
20671
20671
|
}, q;
|
|
20672
20672
|
})(i);
|
|
20673
20673
|
e.TUnion = x, e.intersection = function() {
|
|
20674
|
-
for (var
|
|
20675
|
-
return new g(
|
|
20674
|
+
for (var F = [], q = 0; q < arguments.length; q++) F[q] = arguments[q];
|
|
20675
|
+
return new g(F.map(function(G) {
|
|
20676
20676
|
return o(G);
|
|
20677
20677
|
}));
|
|
20678
20678
|
};
|
|
20679
|
-
var g = (function(
|
|
20679
|
+
var g = (function(F) {
|
|
20680
20680
|
function q(G) {
|
|
20681
|
-
var ee =
|
|
20681
|
+
var ee = F.call(this) || this;
|
|
20682
20682
|
return ee.ttypes = G, ee;
|
|
20683
20683
|
}
|
|
20684
|
-
return s(q,
|
|
20685
|
-
var
|
|
20686
|
-
return Q.getChecker(G, ee,
|
|
20684
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20685
|
+
var ae = /* @__PURE__ */ new Set(), be = this.ttypes.map(function(Q) {
|
|
20686
|
+
return Q.getChecker(G, ee, ae);
|
|
20687
20687
|
});
|
|
20688
|
-
return function(Q,
|
|
20689
|
-
return !!be.every(function(
|
|
20690
|
-
return
|
|
20691
|
-
}) ||
|
|
20688
|
+
return function(Q, le) {
|
|
20689
|
+
return !!be.every(function(X) {
|
|
20690
|
+
return X(Q, le);
|
|
20691
|
+
}) || le.fail(null, null, 0);
|
|
20692
20692
|
};
|
|
20693
20693
|
}, q;
|
|
20694
20694
|
})(i);
|
|
20695
|
-
e.TIntersection = g, e.enumtype = function(
|
|
20696
|
-
return new y(
|
|
20695
|
+
e.TIntersection = g, e.enumtype = function(F) {
|
|
20696
|
+
return new y(F);
|
|
20697
20697
|
};
|
|
20698
|
-
var y = (function(
|
|
20698
|
+
var y = (function(F) {
|
|
20699
20699
|
function q(G) {
|
|
20700
|
-
var ee =
|
|
20701
|
-
return ee.members = G, ee.validValues = /* @__PURE__ */ new Set(), ee._failMsg = "is not a valid enum value", ee.validValues = new Set(Object.keys(G).map(function(
|
|
20702
|
-
return G[
|
|
20700
|
+
var ee = F.call(this) || this;
|
|
20701
|
+
return ee.members = G, ee.validValues = /* @__PURE__ */ new Set(), ee._failMsg = "is not a valid enum value", ee.validValues = new Set(Object.keys(G).map(function(ae) {
|
|
20702
|
+
return G[ae];
|
|
20703
20703
|
})), ee;
|
|
20704
20704
|
}
|
|
20705
|
-
return s(q,
|
|
20706
|
-
var
|
|
20705
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20706
|
+
var ae = this;
|
|
20707
20707
|
return function(be, Q) {
|
|
20708
|
-
return !!
|
|
20708
|
+
return !!ae.validValues.has(be) || Q.fail(null, ae._failMsg, 0);
|
|
20709
20709
|
};
|
|
20710
20710
|
}, q;
|
|
20711
20711
|
})(i);
|
|
20712
|
-
e.TEnumType = y, e.enumlit = function(
|
|
20713
|
-
return new v(
|
|
20712
|
+
e.TEnumType = y, e.enumlit = function(F, q) {
|
|
20713
|
+
return new v(F, q);
|
|
20714
20714
|
};
|
|
20715
|
-
var v = (function(
|
|
20715
|
+
var v = (function(F) {
|
|
20716
20716
|
function q(G, ee) {
|
|
20717
|
-
var
|
|
20718
|
-
return
|
|
20717
|
+
var ae = F.call(this) || this;
|
|
20718
|
+
return ae.enumName = G, ae.prop = ee, ae._failMsg = "is not " + G + "." + ee, ae;
|
|
20719
20719
|
}
|
|
20720
|
-
return s(q,
|
|
20721
|
-
var
|
|
20720
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20721
|
+
var ae = this, be = c(G, this.enumName);
|
|
20722
20722
|
if (!(be instanceof y)) throw new Error("Type " + this.enumName + " used in enumlit is not an enum type");
|
|
20723
20723
|
var Q = be.members[this.prop];
|
|
20724
20724
|
if (!be.members.hasOwnProperty(this.prop)) throw new Error("Unknown value " + this.enumName + "." + this.prop + " used in enumlit");
|
|
20725
|
-
return function(
|
|
20726
|
-
return
|
|
20725
|
+
return function(le, X) {
|
|
20726
|
+
return le === Q || X.fail(null, ae._failMsg, -1);
|
|
20727
20727
|
};
|
|
20728
20728
|
}, q;
|
|
20729
20729
|
})(i);
|
|
20730
|
-
function T(
|
|
20731
|
-
return Object.keys(
|
|
20730
|
+
function T(F) {
|
|
20731
|
+
return Object.keys(F).map(function(q) {
|
|
20732
20732
|
return (function(G, ee) {
|
|
20733
20733
|
return ee instanceof E ? new C(G, ee.ttype, !0) : new C(G, o(ee), !1);
|
|
20734
|
-
})(q,
|
|
20734
|
+
})(q, F[q]);
|
|
20735
20735
|
});
|
|
20736
20736
|
}
|
|
20737
|
-
e.TEnumLiteral = v, e.iface = function(
|
|
20738
|
-
return new w(
|
|
20737
|
+
e.TEnumLiteral = v, e.iface = function(F, q) {
|
|
20738
|
+
return new w(F, T(q));
|
|
20739
20739
|
};
|
|
20740
|
-
var w = (function(
|
|
20740
|
+
var w = (function(F) {
|
|
20741
20741
|
function q(G, ee) {
|
|
20742
|
-
var
|
|
20743
|
-
return
|
|
20742
|
+
var ae = F.call(this) || this;
|
|
20743
|
+
return ae.bases = G, ae.props = ee, ae.propSet = new Set(ee.map(function(be) {
|
|
20744
20744
|
return be.name;
|
|
20745
|
-
})),
|
|
20746
|
-
}
|
|
20747
|
-
return s(q,
|
|
20748
|
-
var be = this, Q = this.bases.map(function(
|
|
20749
|
-
return c(G,
|
|
20750
|
-
}),
|
|
20751
|
-
return
|
|
20752
|
-
}),
|
|
20753
|
-
return !
|
|
20754
|
-
}), oe = function(
|
|
20755
|
-
if (typeof
|
|
20756
|
-
for (var
|
|
20757
|
-
for (
|
|
20758
|
-
var
|
|
20745
|
+
})), ae;
|
|
20746
|
+
}
|
|
20747
|
+
return s(q, F), q.prototype.getChecker = function(G, ee, ae) {
|
|
20748
|
+
var be = this, Q = this.bases.map(function(se) {
|
|
20749
|
+
return c(G, se).getChecker(G, ee);
|
|
20750
|
+
}), le = this.props.map(function(se) {
|
|
20751
|
+
return se.ttype.getChecker(G, ee);
|
|
20752
|
+
}), X = new n.NoopContext(), $ = this.props.map(function(se, z) {
|
|
20753
|
+
return !se.isOpt && !le[z](void 0, X);
|
|
20754
|
+
}), oe = function(se, z) {
|
|
20755
|
+
if (typeof se != "object" || se === null) return z.fail(null, "is not an object", 0);
|
|
20756
|
+
for (var ie = 0; ie < Q.length; ie++) if (!Q[ie](se, z)) return !1;
|
|
20757
|
+
for (ie = 0; ie < le.length; ie++) {
|
|
20758
|
+
var ce = be.props[ie].name, ge = se[ce];
|
|
20759
20759
|
if (ge === void 0) {
|
|
20760
|
-
if ($[
|
|
20761
|
-
} else if (!
|
|
20760
|
+
if ($[ie]) return z.fail(ce, "is missing", 1);
|
|
20761
|
+
} else if (!le[ie](ge, z)) return z.fail(ce, null, 1);
|
|
20762
20762
|
}
|
|
20763
20763
|
return !0;
|
|
20764
20764
|
};
|
|
20765
20765
|
if (!ee) return oe;
|
|
20766
20766
|
var Y = this.propSet;
|
|
20767
|
-
return
|
|
20768
|
-
return
|
|
20769
|
-
}), Y =
|
|
20770
|
-
if (!oe(
|
|
20771
|
-
for (var
|
|
20767
|
+
return ae && (this.propSet.forEach(function(se) {
|
|
20768
|
+
return ae.add(se);
|
|
20769
|
+
}), Y = ae), function(se, z) {
|
|
20770
|
+
if (!oe(se, z)) return !1;
|
|
20771
|
+
for (var ie in se) if (!Y.has(ie)) return z.fail(ie, "is extraneous", 2);
|
|
20772
20772
|
return !0;
|
|
20773
20773
|
};
|
|
20774
20774
|
}, q;
|
|
20775
20775
|
})(i);
|
|
20776
|
-
e.TIface = w, e.opt = function(
|
|
20777
|
-
return new E(o(
|
|
20776
|
+
e.TIface = w, e.opt = function(F) {
|
|
20777
|
+
return new E(o(F));
|
|
20778
20778
|
};
|
|
20779
|
-
var E = (function(
|
|
20779
|
+
var E = (function(F) {
|
|
20780
20780
|
function q(G) {
|
|
20781
|
-
var ee =
|
|
20781
|
+
var ee = F.call(this) || this;
|
|
20782
20782
|
return ee.ttype = G, ee;
|
|
20783
20783
|
}
|
|
20784
|
-
return s(q,
|
|
20785
|
-
var
|
|
20784
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20785
|
+
var ae = this.ttype.getChecker(G, ee);
|
|
20786
20786
|
return function(be, Q) {
|
|
20787
|
-
return be === void 0 ||
|
|
20787
|
+
return be === void 0 || ae(be, Q);
|
|
20788
20788
|
};
|
|
20789
20789
|
}, q;
|
|
20790
20790
|
})(i);
|
|
20791
20791
|
e.TOptional = E;
|
|
20792
|
-
var C = function(
|
|
20793
|
-
this.name =
|
|
20792
|
+
var C = function(F, q, G) {
|
|
20793
|
+
this.name = F, this.ttype = q, this.isOpt = G;
|
|
20794
20794
|
};
|
|
20795
|
-
e.TProp = C, e.func = function(
|
|
20795
|
+
e.TProp = C, e.func = function(F) {
|
|
20796
20796
|
for (var q = [], G = 1; G < arguments.length; G++) q[G - 1] = arguments[G];
|
|
20797
|
-
return new A(new
|
|
20797
|
+
return new A(new D(q), o(F));
|
|
20798
20798
|
};
|
|
20799
|
-
var A = (function(
|
|
20799
|
+
var A = (function(F) {
|
|
20800
20800
|
function q(G, ee) {
|
|
20801
|
-
var
|
|
20802
|
-
return
|
|
20801
|
+
var ae = F.call(this) || this;
|
|
20802
|
+
return ae.paramList = G, ae.result = ee, ae;
|
|
20803
20803
|
}
|
|
20804
|
-
return s(q,
|
|
20805
|
-
return function(
|
|
20806
|
-
return typeof
|
|
20804
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20805
|
+
return function(ae, be) {
|
|
20806
|
+
return typeof ae == "function" || be.fail(null, "is not a function", 0);
|
|
20807
20807
|
};
|
|
20808
20808
|
}, q;
|
|
20809
20809
|
})(i);
|
|
20810
|
-
e.TFunc = A, e.param = function(
|
|
20811
|
-
return new O(
|
|
20810
|
+
e.TFunc = A, e.param = function(F, q, G) {
|
|
20811
|
+
return new O(F, o(q), !!G);
|
|
20812
20812
|
};
|
|
20813
|
-
var O = function(
|
|
20814
|
-
this.name =
|
|
20813
|
+
var O = function(F, q, G) {
|
|
20814
|
+
this.name = F, this.ttype = q, this.isOpt = G;
|
|
20815
20815
|
};
|
|
20816
20816
|
e.TParam = O;
|
|
20817
|
-
var
|
|
20817
|
+
var D = (function(F) {
|
|
20818
20818
|
function q(G) {
|
|
20819
|
-
var ee =
|
|
20819
|
+
var ee = F.call(this) || this;
|
|
20820
20820
|
return ee.params = G, ee;
|
|
20821
20821
|
}
|
|
20822
|
-
return s(q,
|
|
20823
|
-
var
|
|
20822
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20823
|
+
var ae = this, be = this.params.map(function($) {
|
|
20824
20824
|
return $.ttype.getChecker(G, ee);
|
|
20825
|
-
}), Q = new n.NoopContext(),
|
|
20825
|
+
}), Q = new n.NoopContext(), le = this.params.map(function($, oe) {
|
|
20826
20826
|
return !$.isOpt && !be[oe](void 0, Q);
|
|
20827
|
-
}),
|
|
20827
|
+
}), X = function($, oe) {
|
|
20828
20828
|
if (!Array.isArray($)) return oe.fail(null, "is not an array", 0);
|
|
20829
20829
|
for (var Y = 0; Y < be.length; Y++) {
|
|
20830
|
-
var
|
|
20830
|
+
var se = ae.params[Y];
|
|
20831
20831
|
if ($[Y] === void 0) {
|
|
20832
|
-
if (
|
|
20833
|
-
} else if (!be[Y]($[Y], oe)) return oe.fail(
|
|
20832
|
+
if (le[Y]) return oe.fail(se.name, "is missing", 1);
|
|
20833
|
+
} else if (!be[Y]($[Y], oe)) return oe.fail(se.name, null, 1);
|
|
20834
20834
|
}
|
|
20835
20835
|
return !0;
|
|
20836
20836
|
};
|
|
20837
20837
|
return ee ? function($, oe) {
|
|
20838
|
-
return !!
|
|
20839
|
-
} :
|
|
20838
|
+
return !!X($, oe) && ($.length <= be.length || oe.fail(be.length, "is extraneous", 2));
|
|
20839
|
+
} : X;
|
|
20840
20840
|
}, q;
|
|
20841
20841
|
})(i);
|
|
20842
|
-
e.TParamList =
|
|
20843
|
-
var N = (function(
|
|
20842
|
+
e.TParamList = D;
|
|
20843
|
+
var N = (function(F) {
|
|
20844
20844
|
function q(G, ee) {
|
|
20845
|
-
var
|
|
20846
|
-
return
|
|
20845
|
+
var ae = F.call(this) || this;
|
|
20846
|
+
return ae.validator = G, ae.message = ee, ae;
|
|
20847
20847
|
}
|
|
20848
|
-
return s(q,
|
|
20849
|
-
var
|
|
20848
|
+
return s(q, F), q.prototype.getChecker = function(G, ee) {
|
|
20849
|
+
var ae = this;
|
|
20850
20850
|
return function(be, Q) {
|
|
20851
|
-
return !!
|
|
20851
|
+
return !!ae.validator(be) || Q.fail(null, ae.message, 0);
|
|
20852
20852
|
};
|
|
20853
20853
|
}, q;
|
|
20854
20854
|
})(i);
|
|
20855
|
-
e.BasicType = N, e.basicTypes = { any: new N(function(
|
|
20855
|
+
e.BasicType = N, e.basicTypes = { any: new N(function(F) {
|
|
20856
20856
|
return !0;
|
|
20857
|
-
}, "is invalid"), number: new N(function(
|
|
20858
|
-
return typeof
|
|
20859
|
-
}, "is not a number"), object: new N(function(
|
|
20860
|
-
return typeof
|
|
20861
|
-
}, "is not an object"), boolean: new N(function(
|
|
20862
|
-
return typeof
|
|
20863
|
-
}, "is not a boolean"), string: new N(function(
|
|
20864
|
-
return typeof
|
|
20865
|
-
}, "is not a string"), symbol: new N(function(
|
|
20866
|
-
return typeof
|
|
20867
|
-
}, "is not a symbol"), void: new N(function(
|
|
20868
|
-
return
|
|
20869
|
-
}, "is not void"), undefined: new N(function(
|
|
20870
|
-
return
|
|
20871
|
-
}, "is not undefined"), null: new N(function(
|
|
20872
|
-
return
|
|
20873
|
-
}, "is not null"), never: new N(function(
|
|
20857
|
+
}, "is invalid"), number: new N(function(F) {
|
|
20858
|
+
return typeof F == "number";
|
|
20859
|
+
}, "is not a number"), object: new N(function(F) {
|
|
20860
|
+
return typeof F == "object" && F;
|
|
20861
|
+
}, "is not an object"), boolean: new N(function(F) {
|
|
20862
|
+
return typeof F == "boolean";
|
|
20863
|
+
}, "is not a boolean"), string: new N(function(F) {
|
|
20864
|
+
return typeof F == "string";
|
|
20865
|
+
}, "is not a string"), symbol: new N(function(F) {
|
|
20866
|
+
return typeof F == "symbol";
|
|
20867
|
+
}, "is not a symbol"), void: new N(function(F) {
|
|
20868
|
+
return F == null;
|
|
20869
|
+
}, "is not void"), undefined: new N(function(F) {
|
|
20870
|
+
return F === void 0;
|
|
20871
|
+
}, "is not undefined"), null: new N(function(F) {
|
|
20872
|
+
return F === null;
|
|
20873
|
+
}, "is not null"), never: new N(function(F) {
|
|
20874
20874
|
return !1;
|
|
20875
20875
|
}, "is unexpected"), Date: new N(U("[object Date]"), "is not a Date"), RegExp: new N(U("[object RegExp]"), "is not a RegExp") };
|
|
20876
20876
|
var j = Object.prototype.toString;
|
|
20877
|
-
function U(
|
|
20877
|
+
function U(F) {
|
|
20878
20878
|
return function(q) {
|
|
20879
|
-
return typeof q == "object" && q && j.call(q) ===
|
|
20879
|
+
return typeof q == "object" && q && j.call(q) === F;
|
|
20880
20880
|
};
|
|
20881
20881
|
}
|
|
20882
|
-
typeof Buffer < "u" && (e.basicTypes.Buffer = new N(function(
|
|
20883
|
-
return Buffer.isBuffer(
|
|
20882
|
+
typeof Buffer < "u" && (e.basicTypes.Buffer = new N(function(F) {
|
|
20883
|
+
return Buffer.isBuffer(F);
|
|
20884
20884
|
}, "is not a Buffer"));
|
|
20885
|
-
for (var
|
|
20886
|
-
e.basicTypes[
|
|
20887
|
-
return q instanceof
|
|
20888
|
-
}, "is not a " +
|
|
20889
|
-
}, W = 0,
|
|
20890
|
-
|
|
20885
|
+
for (var K = function(F) {
|
|
20886
|
+
e.basicTypes[F.name] = new N(function(q) {
|
|
20887
|
+
return q instanceof F;
|
|
20888
|
+
}, "is not a " + F.name);
|
|
20889
|
+
}, W = 0, V = [Int8Array, Uint8Array, Uint8ClampedArray, Int16Array, Uint16Array, Int32Array, Uint32Array, Float32Array, Float64Array, ArrayBuffer]; W < V.length; W++)
|
|
20890
|
+
K(V[W]);
|
|
20891
20891
|
})(no)), no;
|
|
20892
20892
|
}
|
|
20893
20893
|
var He = (Eg || (Eg = 1, (function(e) {
|
|
@@ -21471,7 +21471,7 @@ function j0() {
|
|
|
21471
21471
|
for (; L(h.dot); ) t = !0, tr(), $p();
|
|
21472
21472
|
if (!t) {
|
|
21473
21473
|
const s = S.tokens[e], n = he.charCodeAt(s.start);
|
|
21474
|
-
n >=
|
|
21474
|
+
n >= H.lowercaseA && n <= H.lowercaseZ && (s.identifierRole = null);
|
|
21475
21475
|
}
|
|
21476
21476
|
}
|
|
21477
21477
|
function yP() {
|
|
@@ -21500,7 +21500,7 @@ function bP(e) {
|
|
|
21500
21500
|
}
|
|
21501
21501
|
})();
|
|
21502
21502
|
let t = !1;
|
|
21503
|
-
for (; !L(h.slash) && !L(h.jsxTagEnd) && !S.error; ) Z(h.braceL) ? (t = !0, te(h.ellipsis), xt(), tr()) : (t && S.end - S.start === 3 && he.charCodeAt(S.start) ===
|
|
21503
|
+
for (; !L(h.slash) && !L(h.jsxTagEnd) && !S.error; ) Z(h.braceL) ? (t = !0, te(h.ellipsis), xt(), tr()) : (t && S.end - S.start === 3 && he.charCodeAt(S.start) === H.lowercaseK && he.charCodeAt(S.start + 1) === H.lowercaseE && he.charCodeAt(S.start + 2) === H.lowercaseY && (S.tokens[e].jsxRole = ar.KeyAfterPropSpread), F0(Se.ObjectKey), L(h.eq) && (tr(), yP()));
|
|
21504
21504
|
const s = L(h.slash);
|
|
21505
21505
|
return s && tr(), s;
|
|
21506
21506
|
}
|
|
@@ -21540,10 +21540,10 @@ function tr() {
|
|
|
21540
21540
|
do {
|
|
21541
21541
|
if (S.pos > he.length) return void Ae("Unexpectedly reached the end of input.");
|
|
21542
21542
|
t = he.charCodeAt(++S.pos);
|
|
21543
|
-
} while (pr[t] || t ===
|
|
21543
|
+
} while (pr[t] || t === H.dash);
|
|
21544
21544
|
Oe(h.jsxName);
|
|
21545
21545
|
})();
|
|
21546
|
-
else if (e ===
|
|
21546
|
+
else if (e === H.quotationMark || e === H.apostrophe) (function(t) {
|
|
21547
21547
|
for (S.pos++; ; ) {
|
|
21548
21548
|
if (S.pos >= he.length) return void Ae("Unterminated string constant");
|
|
21549
21549
|
if (he.charCodeAt(S.pos) === t) {
|
|
@@ -21555,25 +21555,25 @@ function tr() {
|
|
|
21555
21555
|
Oe(h.string);
|
|
21556
21556
|
})(e);
|
|
21557
21557
|
else switch (++S.pos, e) {
|
|
21558
|
-
case
|
|
21558
|
+
case H.greaterThan:
|
|
21559
21559
|
Oe(h.jsxTagEnd);
|
|
21560
21560
|
break;
|
|
21561
|
-
case
|
|
21561
|
+
case H.lessThan:
|
|
21562
21562
|
Oe(h.jsxTagStart);
|
|
21563
21563
|
break;
|
|
21564
|
-
case
|
|
21564
|
+
case H.slash:
|
|
21565
21565
|
Oe(h.slash);
|
|
21566
21566
|
break;
|
|
21567
|
-
case
|
|
21567
|
+
case H.equalsTo:
|
|
21568
21568
|
Oe(h.eq);
|
|
21569
21569
|
break;
|
|
21570
|
-
case
|
|
21570
|
+
case H.leftCurlyBrace:
|
|
21571
21571
|
Oe(h.braceL);
|
|
21572
21572
|
break;
|
|
21573
|
-
case
|
|
21573
|
+
case H.dot:
|
|
21574
21574
|
Oe(h.dot);
|
|
21575
21575
|
break;
|
|
21576
|
-
case
|
|
21576
|
+
case H.colon:
|
|
21577
21577
|
Oe(h.colon);
|
|
21578
21578
|
break;
|
|
21579
21579
|
default:
|
|
@@ -21586,8 +21586,8 @@ function Vs() {
|
|
|
21586
21586
|
for (; ; ) {
|
|
21587
21587
|
if (S.pos >= he.length) return void Ae("Unterminated JSX contents");
|
|
21588
21588
|
const s = he.charCodeAt(S.pos);
|
|
21589
|
-
if (s ===
|
|
21590
|
-
s ===
|
|
21589
|
+
if (s === H.lessThan || s === H.leftCurlyBrace) return S.pos === S.start ? s === H.lessThan ? (S.pos++, void Oe(h.jsxTagStart)) : void k0(s) : void Oe(e && !t ? h.jsxEmptyText : h.jsxText);
|
|
21590
|
+
s === H.lineFeed ? e = !0 : s !== H.space && s !== H.carriageReturn && s !== H.tab && (t = !0), S.pos++;
|
|
21591
21591
|
}
|
|
21592
21592
|
})();
|
|
21593
21593
|
}
|
|
@@ -21656,7 +21656,7 @@ function di() {
|
|
|
21656
21656
|
const e = Ie(1);
|
|
21657
21657
|
et(), te(h.greaterThan), Ce(e), di();
|
|
21658
21658
|
})(), !1;
|
|
21659
|
-
if (Te(B._module) && y0() ===
|
|
21659
|
+
if (Te(B._module) && y0() === H.leftCurlyBrace && !p0()) return nt(B._module), te(h.braceL), Za(h.braceR), !1;
|
|
21660
21660
|
if (S.type & h.IS_PREFIX) return re(), di(), !1;
|
|
21661
21661
|
if ($0()) return !0;
|
|
21662
21662
|
for (; S.type & h.IS_POSTFIX && !Gt(); ) S.type === h.preIncDec && (S.type = h.postIncDec), re();
|
|
@@ -21806,7 +21806,7 @@ function as() {
|
|
|
21806
21806
|
return re(), qp(), !1;
|
|
21807
21807
|
case h.hash: {
|
|
21808
21808
|
const t = y0();
|
|
21809
|
-
return _i[t] || t ===
|
|
21809
|
+
return _i[t] || t === H.backslash ? na() : re(), !1;
|
|
21810
21810
|
}
|
|
21811
21811
|
default:
|
|
21812
21812
|
return Ae(), !1;
|
|
@@ -22472,7 +22472,7 @@ function Z0() {
|
|
|
22472
22472
|
if (s.type === h.comma) return !0;
|
|
22473
22473
|
if (n) {
|
|
22474
22474
|
const i = he.charCodeAt(g0(t + 4));
|
|
22475
|
-
return i ===
|
|
22475
|
+
return i === H.quotationMark || i === H.apostrophe;
|
|
22476
22476
|
}
|
|
22477
22477
|
return !1;
|
|
22478
22478
|
})() ? (_e(), L(h.comma) && Ze() === h.star ? (te(h.comma), te(h.star), nt(B._as), _e()) : eT(), Kn()) : Z(h._default) ? (function() {
|
|
@@ -22586,7 +22586,7 @@ function rT() {
|
|
|
22586
22586
|
(L(h._with) || Te(B._assert) && !Rt()) && (re(), Fu(!1, !1));
|
|
22587
22587
|
}
|
|
22588
22588
|
function jP() {
|
|
22589
|
-
return S.pos === 0 && he.charCodeAt(0) ===
|
|
22589
|
+
return S.pos === 0 && he.charCodeAt(0) === H.numberSign && he.charCodeAt(1) === H.exclamationMark && b0(2), x0(), (function() {
|
|
22590
22590
|
if (Za(h.eof), S.scopes.push(new _r(0, S.tokens.length, !0)), S.scopeDepth !== 0) throw new Error(`Invalid scope depth at end of file: ${S.scopeDepth}`);
|
|
22591
22591
|
return new BP(S.tokens, S.scopes);
|
|
22592
22592
|
})();
|
|
@@ -23686,9 +23686,9 @@ function Jg(e, t) {
|
|
|
23686
23686
|
})(t);
|
|
23687
23687
|
try {
|
|
23688
23688
|
const s = (function(o, c) {
|
|
23689
|
-
const l = c.transforms.includes("jsx"), p = c.transforms.includes("typescript"), d = c.transforms.includes("flow"), f = c.disableESTransforms === !0, m = (function(C, A, O,
|
|
23690
|
-
if (
|
|
23691
|
-
R_(C, A, O,
|
|
23689
|
+
const l = c.transforms.includes("jsx"), p = c.transforms.includes("typescript"), d = c.transforms.includes("flow"), f = c.disableESTransforms === !0, m = (function(C, A, O, D) {
|
|
23690
|
+
if (D && O) throw new Error("Cannot combine flow and typescript plugins.");
|
|
23691
|
+
R_(C, A, O, D);
|
|
23692
23692
|
const N = jP();
|
|
23693
23693
|
if (S.error) throw O_(S.error);
|
|
23694
23694
|
return N;
|
|
@@ -23757,24 +23757,24 @@ const ZP = async (e) => {
|
|
|
23757
23757
|
}
|
|
23758
23758
|
}, eA = async (e, { parseOptions: t, scriptOptions: { templateOptions: { compilerOptions: { expressionPlugins: s, ...n } = {}, ...i } = {}, ...o } = {}, styleOptions: c } = {}) => {
|
|
23759
23759
|
let l = "";
|
|
23760
|
-
const p = [], { descriptor:
|
|
23761
|
-
const
|
|
23762
|
-
if (
|
|
23760
|
+
const p = QE(e), d = [], { descriptor: f, errors: m } = ox(e || "<template></template>", { filename: `${p}.vue`, ...t }), { filename: x, script: g, scriptSetup: y, slotted: v, styles: T, template: w } = f, E = `data-v-${p}`, C = new Set([g, y].filter((X) => X !== null).flatMap(({ lang: X = "js" }) => [.../[jt]sx$/.test(X) ? ["jsx"] : [], .../tsx?$/.test(X) ? ["typescript"] : []])), A = { expressionPlugins: [.../* @__PURE__ */ new Set([...s ?? [], ...C])], filename: x, scopeId: E, slotted: v, ...n }, O = { compilerOptions: A, filename: x, id: E, scoped: T.some(({ scoped: X }) => X), slotted: v, ...i }, D = { id: E, templateOptions: O, ...o }, N = document.getElementById(E) instanceof HTMLStyleElement ? Promise.resolve([]) : Promise.all(T.map(async ({ content: X, module: $, scoped: oe = !1, src: Y }) => {
|
|
23761
|
+
const se = !!$;
|
|
23762
|
+
if (se && !l) return l = "<style module> is not supported in the playground.", "";
|
|
23763
23763
|
{
|
|
23764
|
-
const { code:
|
|
23765
|
-
return
|
|
23766
|
-
}
|
|
23767
|
-
})),
|
|
23768
|
-
|
|
23769
|
-
const { code:
|
|
23770
|
-
[...
|
|
23771
|
-
const [
|
|
23764
|
+
const { code: z, errors: ie } = await eE({ filename: x, id: E, modules: se, scoped: oe, source: Y ? await ZP(Y) ?? "" : X, ...c });
|
|
23765
|
+
return d.push(...ie), z;
|
|
23766
|
+
}
|
|
23767
|
+
})), j = { jsxRuntime: "preserve", transforms: [...C] }, { ast: U, content: K = "" } = w ?? {}, { bindings: W, content: V, warnings: F } = g || y ? VE(f, D) : {};
|
|
23768
|
+
W && (A.bindingMetadata = W);
|
|
23769
|
+
const { code: q, errors: G, tips: ee } = !w || y && D.inlineTemplate ? {} : pb({ ...U, filename: x, id: E, source: K, ...O });
|
|
23770
|
+
[...m, ...G ?? [], ...d].forEach(vo.error), [...F ?? [], ...l ? [l] : []].forEach(vo.warn), [...ee ?? []].forEach(vo.info);
|
|
23771
|
+
const [ae, be, Q] = await Promise.all([N, V ? Yg(C.size ? Jg(V, j).code : V) : Promise.resolve(void 0), q ? Yg(C.size ? Jg(q, j).code : q) : Promise.resolve(void 0)]), le = ae.join(`
|
|
23772
23772
|
`).trim();
|
|
23773
|
-
if (
|
|
23774
|
-
const
|
|
23775
|
-
|
|
23773
|
+
if (le) {
|
|
23774
|
+
const X = document.createElement("style");
|
|
23775
|
+
X.id = E, X.textContent = le, document.head.appendChild(X);
|
|
23776
23776
|
}
|
|
23777
|
-
return { __scopeId:
|
|
23777
|
+
return { __scopeId: E, ...be?.default, ...Q };
|
|
23778
23778
|
};
|
|
23779
23779
|
export {
|
|
23780
23780
|
eA as default
|