UNPKG

@gitlab/ui

Version:
804 lines (803 loc) • 9.83 MB
#!/usr/bin/env node import { createRequire as __gl__createRequire } from 'node:module'; const require = __gl__createRequire(import.meta.url); var __create = Object.create; var __defProp = Object.defineProperty; var __getOwnPropDesc = Object.getOwnPropertyDescriptor; var __getOwnPropNames = Object.getOwnPropertyNames; var __getProtoOf = Object.getPrototypeOf; var __hasOwnProp = Object.prototype.hasOwnProperty; var __require = /* @__PURE__ */ ((x7) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x7, { get: (a3, b6) => (typeof require !== "undefined" ? require : a3)[b6] }) : x7)(function(x7) { if (typeof require !== "undefined") return require.apply(this, arguments); throw Error('Dynamic require of "' + x7 + '" is not supported'); }); var __esm = (fn6, res) => function __init() { return fn6 && (res = (0, fn6[__getOwnPropNames(fn6)[0]])(fn6 = 0)), res; }; var __commonJS = (cb, mod) => function __require3() { return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports; }; var __export = (target, all) => { for (var name in all) __defProp(target, name, { get: all[name], enumerable: true }); }; var __copyProps = (to4, from, except, desc) => { if (from && typeof from === "object" || typeof from === "function") { for (let key2 of __getOwnPropNames(from)) if (!__hasOwnProp.call(to4, key2) && key2 !== except) __defProp(to4, key2, { get: () => from[key2], enumerable: !(desc = __getOwnPropDesc(from, key2)) || desc.enumerable }); } return to4; }; var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps( // If the importer is in node compatibility mode or this is not an ESM // file that has been converted to a CommonJS file using a Babel- // compatible transform (i.e. "__esModule" has not been set), then set // "default" to the CommonJS "module.exports" for node compatibility. isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod )); // node_modules/prettier/plugins/acorn.mjs var acorn_exports = {}; __export(acorn_exports, { default: () => ya, parsers: () => Hs }); function Ve(e3, t13) { for (var i3 = 65536, s3 = 0; s3 < t13.length; s3 += 2) { if (i3 += t13[s3], i3 > e3) return false; if (i3 += t13[s3 + 1], i3 >= e3) return true; } return false; } function U(e3, t13) { return e3 < 65 ? e3 === 36 : e3 < 91 ? true : e3 < 97 ? e3 === 95 : e3 < 123 ? true : e3 <= 65535 ? e3 >= 170 && Ei.test(String.fromCharCode(e3)) : t13 === false ? false : Ve(e3, nt); } function z(e3, t13) { return e3 < 48 ? e3 === 36 : e3 < 58 ? true : e3 < 65 ? false : e3 < 91 ? true : e3 < 97 ? e3 === 95 : e3 < 123 ? true : e3 <= 65535 ? e3 >= 170 && Ai.test(String.fromCharCode(e3)) : t13 === false ? false : Ve(e3, nt) || Ve(e3, _i); } function I(e3, t13) { return new S(e3, { beforeExpr: true, binop: t13 }); } function b(e3, t13) { return t13 === void 0 && (t13 = {}), t13.keyword = e3, Oe[e3] = new S(e3, t13); } function Q(e3) { return e3 === 10 || e3 === 13 || e3 === 8232 || e3 === 8233; } function ut(e3, t13, i3) { i3 === void 0 && (i3 = e3.length); for (var s3 = t13; s3 < i3; s3++) { var r3 = e3.charCodeAt(s3); if (Q(r3)) return s3 < i3 - 1 && r3 === 13 && e3.charCodeAt(s3 + 1) === 10 ? s3 + 2 : s3 + 1; } return -1; } function G(e3) { return it[e3] || (it[e3] = new RegExp("^(?:" + e3.replace(/ /g, "|") + ")$")); } function K(e3) { return e3 <= 65535 ? String.fromCharCode(e3) : (e3 -= 65536, String.fromCharCode((e3 >> 10) + 55296, (e3 & 1023) + 56320)); } function ct(e3, t13) { for (var i3 = 1, s3 = 0; ; ) { var r3 = ut(e3, s3, t13); if (r3 < 0) return new te(i3, t13 - s3); ++i3, s3 = r3; } } function Li(e3) { var t13 = {}; for (var i3 in Le) t13[i3] = e3 && se(e3, i3) ? e3[i3] : Le[i3]; if (t13.ecmaVersion === "latest" ? t13.ecmaVersion = 1e8 : t13.ecmaVersion == null ? (!st && typeof console == "object" && console.warn && (st = true, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required. Defaulting to 2020, but this will stop working in the future.`)), t13.ecmaVersion = 11) : t13.ecmaVersion >= 2015 && (t13.ecmaVersion -= 2009), t13.allowReserved == null && (t13.allowReserved = t13.ecmaVersion < 5), (!e3 || e3.allowHashBang == null) && (t13.allowHashBang = t13.ecmaVersion >= 14), tt(t13.onToken)) { var s3 = t13.onToken; t13.onToken = function(r3) { return s3.push(r3); }; } return tt(t13.onComment) && (t13.onComment = Ri(t13, t13.onComment)), t13; } function Ri(e3, t13) { return function(i3, s3, r3, n, o3, u) { var p4 = { type: i3 ? "Block" : "Line", value: s3, start: r3, end: n }; e3.locations && (p4.loc = new me(this, o3, u)), e3.ranges && (p4.range = [r3, n]), t13.push(p4); }; } function Me(e3, t13) { return Y | (e3 ? Be : 0) | (t13 ? lt : 0); } function Fi(e3, t13) { var i3 = t13.key.name, s3 = e3[i3], r3 = "true"; return t13.type === "MethodDefinition" && (t13.kind === "get" || t13.kind === "set") && (r3 = (t13.static ? "s" : "i") + t13.kind), s3 === "iget" && r3 === "iset" || s3 === "iset" && r3 === "iget" || s3 === "sget" && r3 === "sset" || s3 === "sset" && r3 === "sget" ? (e3[i3] = "true", false) : s3 ? true : (e3[i3] = r3, false); } function fe(e3, t13) { var i3 = e3.computed, s3 = e3.key; return !i3 && (s3.type === "Identifier" && s3.name === t13 || s3.type === "Literal" && s3.value === t13); } function bt(e3) { return e3.type === "MemberExpression" && e3.property.type === "PrivateIdentifier" || e3.type === "ChainExpression" && bt(e3.expression); } function St(e3, t13, i3, s3) { return e3.type = t13, e3.end = i3, this.options.locations && (e3.loc.end = s3), this.options.ranges && (e3.range[1] = i3), e3; } function Xi(e3) { var t13 = Vt[e3] = { binary: G(qi[e3] + " " + rt), binaryOfStrings: G(Gi[e3]), nonBinary: { General_Category: G(rt), Script: G(Wi[e3]) } }; t13.nonBinary.Script_Extensions = t13.nonBinary.Script, t13.nonBinary.gc = t13.nonBinary.General_Category, t13.nonBinary.sc = t13.nonBinary.Script, t13.nonBinary.scx = t13.nonBinary.Script_Extensions; } function Lt(e3) { return e3 === 36 || e3 >= 40 && e3 <= 43 || e3 === 46 || e3 === 63 || e3 >= 91 && e3 <= 94 || e3 >= 123 && e3 <= 125; } function Hi(e3) { return U(e3, true) || e3 === 36 || e3 === 95; } function zi(e3) { return z(e3, true) || e3 === 36 || e3 === 95 || e3 === 8204 || e3 === 8205; } function Rt(e3) { return e3 >= 65 && e3 <= 90 || e3 >= 97 && e3 <= 122; } function Qi(e3) { return e3 >= 0 && e3 <= 1114111; } function Yi(e3) { return e3 === 100 || e3 === 68 || e3 === 115 || e3 === 83 || e3 === 119 || e3 === 87; } function Bt(e3) { return Rt(e3) || e3 === 95; } function $i(e3) { return Bt(e3) || ge(e3); } function Zi(e3) { return e3 === 33 || e3 >= 35 && e3 <= 38 || e3 >= 42 && e3 <= 44 || e3 === 46 || e3 >= 58 && e3 <= 64 || e3 === 94 || e3 === 96 || e3 === 126; } function es(e3) { return e3 === 40 || e3 === 41 || e3 === 45 || e3 === 47 || e3 >= 91 && e3 <= 93 || e3 >= 123 && e3 <= 125; } function ts(e3) { return e3 === 33 || e3 === 35 || e3 === 37 || e3 === 38 || e3 === 44 || e3 === 45 || e3 >= 58 && e3 <= 62 || e3 === 64 || e3 === 96 || e3 === 126; } function ge(e3) { return e3 >= 48 && e3 <= 57; } function Dt(e3) { return e3 >= 48 && e3 <= 57 || e3 >= 65 && e3 <= 70 || e3 >= 97 && e3 <= 102; } function Ft(e3) { return e3 >= 65 && e3 <= 70 ? 10 + (e3 - 65) : e3 >= 97 && e3 <= 102 ? 10 + (e3 - 97) : e3 - 48; } function Mt(e3) { return e3 >= 48 && e3 <= 55; } function is(e3, t13) { return t13 ? parseInt(e3, 8) : parseFloat(e3.replace(/_/g, "")); } function jt(e3) { return typeof BigInt != "function" ? null : BigInt(e3.replace(/_/g, "")); } function ps(e3, t13) { let i3 = new SyntaxError(e3 + " (" + t13.loc.start.line + ":" + t13.loc.start.column + ")"); return Object.assign(i3, t13); } function hs(e3) { let t13 = []; for (let i3 of e3) try { return i3(); } catch (s3) { t13.push(s3); } throw Object.assign(new Error("All combinations failed"), { errors: t13 }); } function ls(e3) { return Array.isArray(e3) && e3.length > 0; } function P(e3) { var s3, r3, n; let t13 = ((s3 = e3.range) == null ? void 0 : s3[0]) ?? e3.start, i3 = (n = ((r3 = e3.declaration) == null ? void 0 : r3.decorators) ?? e3.decorators) == null ? void 0 : n[0]; return i3 ? Math.min(P(i3), t13) : t13; } function j(e3) { var t13; return ((t13 = e3.range) == null ? void 0 : t13[1]) ?? e3.end; } function fs(e3) { let t13 = new Set(e3); return (i3) => t13.has(i3 == null ? void 0 : i3.type); } function ms(e3) { let t13 = `*${e3.value}*`.split(` `); return t13.length > 1 && t13.every((i3) => i3.trimStart()[0] === "*"); } function xs(e3) { return oe(e3) && e3.value[0] === "*" && /@(?:type|satisfies)\b/.test(e3.value); } function pe(e3) { if (ue !== null && typeof ue.property) { let t13 = ue; return ue = pe.prototype = null, t13; } return ue = pe.prototype = e3 ?? /* @__PURE__ */ Object.create(null), new pe(); } function Xe(e3) { return pe(e3); } function gs(e3, t13 = "type") { Xe(e3); function i3(s3) { let r3 = s3[t13], n = e3[r3]; if (!Array.isArray(n)) throw Object.assign(new Error(`Missing visitor keys for '${r3}'.`), { node: s3 }); return n; } return i3; } function He(e3, t13) { if (!(e3 !== null && typeof e3 == "object")) return e3; if (Array.isArray(e3)) { for (let s3 = 0; s3 < e3.length; s3++) e3[s3] = He(e3[s3], t13); return e3; } let i3 = Yt(e3); for (let s3 = 0; s3 < i3.length; s3++) e3[i3[s3]] = He(e3[i3[s3]], t13); return t13(e3) || e3; } function bs(e3, t13) { let { parser: i3, text: s3 } = t13; if (e3.type === "File" && e3.program.interpreter) { let { program: { interpreter: r3 }, comments: n } = e3; delete e3.program.interpreter, n.unshift(r3); } if (i3 === "babel") { let r3 = /* @__PURE__ */ new Set(); e3 = Se(e3, (n) => { var o3; (o3 = n.leadingComments) != null && o3.some(Ht) && r3.add(P(n)); }), e3 = Se(e3, (n) => { if (n.type === "ParenthesizedExpression") { let { expression: o3 } = n; if (o3.type === "TypeCastExpression") return o3.range = [...n.range], o3; let u = P(n); if (!r3.has(u)) return o3.extra = { ...o3.extra, parenthesized: true }, o3; } }); } if (e3 = Se(e3, (r3) => { var n; switch (r3.type) { case "LogicalExpression": if ($t(r3)) return ze(r3); break; case "VariableDeclaration": { let o3 = Ke(false, r3.declarations, -1); o3 != null && o3.init && s3[j(o3)] !== ";" && (r3.range = [P(r3), j(o3)]); break; } case "TSParenthesizedType": return r3.typeAnnotation; case "TSTypeParameter": if (typeof r3.name == "string") { let o3 = P(r3); r3.name = { type: "Identifier", name: r3.name, range: [o3, o3 + r3.name.length] }; } break; case "TopicReference": e3.extra = { ...e3.extra, __isUsingHackPipeline: true }; break; case "ExportAllDeclaration": if (i3 === "meriyah" && ((n = r3.exported) == null ? void 0 : n.type) === "Identifier") { let { exported: o3 } = r3, u = s3.slice(P(o3), j(o3)); (u.startsWith('"') || u.startsWith("'")) && (r3.exported = { ...r3.exported, type: "Literal", value: r3.exported.name, raw: u }); } break; case "TSUnionType": case "TSIntersectionType": if (r3.types.length === 1) return r3.types[0]; break; } }), Wt(e3.comments)) { let r3 = Ke(false, e3.comments, -1); for (let n = e3.comments.length - 2; n >= 0; n--) { let o3 = e3.comments[n]; j(o3) === P(r3) && oe(o3) && oe(r3) && We(o3) && We(r3) && (e3.comments.splice(n + 1, 1), o3.value += "*//*" + r3.value, o3.range = [P(o3), j(r3)]), r3 = o3; } } return e3.type === "Program" && (e3.range = [0, s3.length]), e3; } function $t(e3) { return e3.type === "LogicalExpression" && e3.right.type === "LogicalExpression" && e3.operator === e3.right.operator; } function ze(e3) { return $t(e3) ? ze({ type: "LogicalExpression", operator: e3.operator, left: ze({ type: "LogicalExpression", operator: e3.operator, left: e3.left, right: e3.right.left, range: [P(e3.left), j(e3.right.left)] }), right: e3.right.right, range: [P(e3), j(e3)] }) : e3; } function Is(e3) { if (!e3.startsWith("#!")) return ""; let t13 = e3.indexOf(` `); return t13 === -1 ? e3 : e3.slice(0, t13); } function Ns(e3) { let t13 = ni(e3); t13 && (e3 = e3.slice(t13.length + 1)); let i3 = (0, Z.extract)(e3), { pragmas: s3, comments: r3 } = (0, Z.parseWithComments)(i3); return { shebang: t13, text: e3, pragmas: s3, comments: r3 }; } function oi(e3) { let { pragmas: t13 } = Ns(e3); return Object.prototype.hasOwnProperty.call(t13, "prettier") || Object.prototype.hasOwnProperty.call(t13, "format"); } function Vs(e3) { return e3 = typeof e3 == "function" ? { parse: e3 } : e3, { astFormat: "estree", hasPragma: oi, locStart: P, locEnd: j, ...e3 }; } function Ls(e3) { let { filepath: t13 } = e3; if (t13) { if (t13 = t13.toLowerCase(), t13.endsWith(".cjs")) return "script"; if (t13.endsWith(".mjs")) return "module"; } } function Os(e3) { let { message: t13, loc: i3 } = e3; if (!i3) return e3; let { line: s3, column: r3 } = i3; return ve(t13.replace(/ \(\d+:\d+\)$/, ""), { loc: { start: { line: s3, column: r3 + 1 } }, cause: e3 }); } function Ds(e3, t13) { let i3 = Bs(), s3 = [], r3 = [], n = i3.parse(e3, { ...Rs, sourceType: t13, allowImportExportEverywhere: t13 === "module", onComment: s3, onToken: r3 }); return n.comments = s3, n.tokens = r3, n; } function Fs(e3, t13 = {}) { let i3 = Te(t13), s3 = (i3 ? [i3] : ["module", "script"]).map((n) => () => Ds(e3, n)), r3; try { r3 = be(s3); } catch ({ errors: [n] }) { throw Os(n); } return Ce(r3, { text: e3 }); } function Ms(e3, t13) { let i3 = e3[0], s3 = e3[e3.length - 1], r3 = { type: w.Template, value: t13.slice(i3.start, s3.end) }; return i3.loc && (r3.loc = { start: i3.loc.start, end: s3.loc.end }), i3.range && (r3.start = i3.range[0], r3.end = s3.range[1], r3.range = [r3.start, r3.end]), r3; } function Qe(e3, t13) { this._acornTokTypes = e3, this._tokens = [], this._curlyBrace = null, this._code = t13; } function js() { return Ye[Ye.length - 1]; } function Us(e3 = 5) { let t13 = e3 === "latest" ? js() : e3; if (typeof t13 != "number") throw new Error(`ecmaVersion must be a number or "latest". Received value of type ${typeof e3} instead.`); if (t13 >= 2015 && (t13 -= 2009), !Ye.includes(t13)) throw new Error("Invalid ecmaVersion."); return t13; } function qs(e3 = "script") { if (e3 === "script" || e3 === "module") return e3; if (e3 === "commonjs") return "script"; throw new Error("Invalid sourceType."); } function li(e3) { let t13 = Us(e3.ecmaVersion), i3 = qs(e3.sourceType), s3 = e3.range === true, r3 = e3.loc === true; if (t13 !== 3 && e3.allowReserved) throw new Error("`allowReserved` is only supported when ecmaVersion is 3"); if (typeof e3.allowReserved < "u" && typeof e3.allowReserved != "boolean") throw new Error("`allowReserved`, when present, must be `true` or `false`"); let n = t13 === 3 ? e3.allowReserved || "never" : false, o3 = e3.ecmaFeatures || {}, u = e3.sourceType === "commonjs" || !!o3.globalReturn; if (i3 === "module" && t13 < 6) throw new Error("sourceType 'module' is not supported when ecmaVersion < 2015. Consider adding `{ ecmaVersion: 2015 }` to the parser options."); return Object.assign({}, e3, { ecmaVersion: t13, sourceType: i3, ranges: s3, locations: r3, allowReserved: n, allowReturnOutsideFunction: u }); } function Js(e3, t13, i3, s3, r3, n, o3) { let u; e3 ? u = "Block" : o3.slice(i3, i3 + 2) === "#!" ? u = "Hashbang" : u = "Line"; let p4 = { type: u, value: t13 }; return typeof i3 == "number" && (p4.start = i3, p4.end = s3, p4.range = [i3, s3]), typeof r3 == "object" && (p4.loc = { start: r3, end: n }), p4; } function di(e3, t13) { let i3 = Gs.get(t13); return new i3(t13, e3).parse(); } function Ws(e3) { let { message: t13, lineNumber: i3, column: s3 } = e3; return typeof i3 != "number" ? e3 : ve(t13, { loc: { start: { line: i3, column: s3 } }, cause: e3 }); } function Xs(e3, t13 = {}) { let i3 = Te(t13), s3 = (i3 ? [i3] : ["module", "script"]).map((n) => () => di(e3, { ...Ks, sourceType: n })), r3; try { r3 = be(s3); } catch ({ errors: [n] }) { throw Ws(n); } return Ce(r3, { text: e3 }); } var xi, we, yi, gi, vi, bi, Ee, Si, Ci, Ae, Jt, Ge, ai, et, _i, nt, Ti, ot, Pe, Ie, ki, wi, Ei, Ai, S, N, A, Oe, a, R, Pi, pt, V, ht, Ii, Ni, se, tt, it, Vi, te, me, Le, st, ie, Y, Be, lt, ft, dt, De, mt, re, Fe, le, je, J, xt, yt, gt, T, F, k, Oi, xe, f, Ue, Bi, Di, ee, Re, vt, O, D, _, $, y, Mi, de, W, ji, ye, ae, Ct, _t, Tt, kt, wt, Ui, qi, Ji, Gi, rt, Et, At, Pt, It, Nt, Ki, Wi, Vt, at2, ce, Ne, c, M, Ot, q, L, qe, v, Ut, ss, pi, ve, be, cs, Ke, Wt, Xt, ds, oe, We, Ht, ue, ys, zt, Qt, vs, Yt, Se, Ce, Z, ni, _e, Te, Rs, ui2, Bs, hi, fi, w, ci, Ye, H, $e, Ze, Gs, Ks, mi, Hs, ya; var init_acorn = __esm({ "node_modules/prettier/plugins/acorn.mjs"() { xi = Object.create; we = Object.defineProperty; yi = Object.getOwnPropertyDescriptor; gi = Object.getOwnPropertyNames; vi = Object.getPrototypeOf; bi = Object.prototype.hasOwnProperty; Ee = (e3, t13) => () => (t13 || e3((t13 = { exports: {} }).exports, t13), t13.exports); Si = (e3, t13) => { for (var i3 in t13) we(e3, i3, { get: t13[i3], enumerable: true }); }; Ci = (e3, t13, i3, s3) => { if (t13 && typeof t13 == "object" || typeof t13 == "function") for (let r3 of gi(t13)) !bi.call(e3, r3) && r3 !== i3 && we(e3, r3, { get: () => t13[r3], enumerable: !(s3 = yi(t13, r3)) || s3.enumerable }); return e3; }; Ae = (e3, t13, i3) => (i3 = e3 != null ? xi(vi(e3)) : {}, Ci(t13 || !e3 || !e3.__esModule ? we(i3, "default", { value: e3, enumerable: true }) : i3, e3)); Jt = Ee((Qs7, qt6) => { qt6.exports = {}; }); Ge = Ee((Ys6, Je9) => { "use strict"; var as5 = Jt(), ns5 = /^[\da-fA-F]+$/, os7 = /^\d+$/, Gt6 = /* @__PURE__ */ new WeakMap(); function Kt6(e3) { e3 = e3.Parser.acorn || e3; let t13 = Gt6.get(e3); if (!t13) { let i3 = e3.tokTypes, s3 = e3.TokContext, r3 = e3.TokenType, n = new s3("<tag", false), o3 = new s3("</tag", false), u = new s3("<tag>...</tag>", true, true), p4 = { tc_oTag: n, tc_cTag: o3, tc_expr: u }, l3 = { jsxName: new r3("jsxName"), jsxText: new r3("jsxText", { beforeExpr: true }), jsxTagStart: new r3("jsxTagStart", { startsExpr: true }), jsxTagEnd: new r3("jsxTagEnd") }; l3.jsxTagStart.updateContext = function() { this.context.push(u), this.context.push(n), this.exprAllowed = false; }, l3.jsxTagEnd.updateContext = function(x7) { let C4 = this.context.pop(); C4 === n && x7 === i3.slash || C4 === o3 ? (this.context.pop(), this.exprAllowed = this.curContext() === u) : this.exprAllowed = true; }, t13 = { tokContexts: p4, tokTypes: l3 }, Gt6.set(e3, t13); } return t13; } function ne9(e3) { if (!e3) return e3; if (e3.type === "JSXIdentifier") return e3.name; if (e3.type === "JSXNamespacedName") return e3.namespace.name + ":" + e3.name.name; if (e3.type === "JSXMemberExpression") return ne9(e3.object) + "." + ne9(e3.property); } Je9.exports = function(e3) { return e3 = e3 || {}, function(t13) { return us7({ allowNamespaces: e3.allowNamespaces !== false, allowNamespacedObjects: !!e3.allowNamespacedObjects }, t13); }; }; Object.defineProperty(Je9.exports, "tokTypes", { get: function() { return Kt6(void 0).tokTypes; }, configurable: true, enumerable: true }); function us7(e3, t13) { let i3 = t13.acorn || void 0, s3 = Kt6(i3), r3 = i3.tokTypes, n = s3.tokTypes, o3 = i3.tokContexts, u = s3.tokContexts.tc_oTag, p4 = s3.tokContexts.tc_cTag, l3 = s3.tokContexts.tc_expr, x7 = i3.isNewLine, C4 = i3.isIdentifierStart, B7 = i3.isIdentifierChar; return class extends t13 { static get acornJsx() { return s3; } jsx_readToken() { let h4 = "", d3 = this.pos; for (; ; ) { this.pos >= this.input.length && this.raise(this.start, "Unterminated JSX contents"); let m3 = this.input.charCodeAt(this.pos); switch (m3) { case 60: case 123: return this.pos === this.start ? m3 === 60 && this.exprAllowed ? (++this.pos, this.finishToken(n.jsxTagStart)) : this.getTokenFromCode(m3) : (h4 += this.input.slice(d3, this.pos), this.finishToken(n.jsxText, h4)); case 38: h4 += this.input.slice(d3, this.pos), h4 += this.jsx_readEntity(), d3 = this.pos; break; case 62: case 125: this.raise(this.pos, "Unexpected token `" + this.input[this.pos] + "`. Did you mean `" + (m3 === 62 ? "&gt;" : "&rbrace;") + '` or `{"' + this.input[this.pos] + '"}`?'); default: x7(m3) ? (h4 += this.input.slice(d3, this.pos), h4 += this.jsx_readNewLine(true), d3 = this.pos) : ++this.pos; } } } jsx_readNewLine(h4) { let d3 = this.input.charCodeAt(this.pos), m3; return ++this.pos, d3 === 13 && this.input.charCodeAt(this.pos) === 10 ? (++this.pos, m3 = h4 ? ` ` : `\r `) : m3 = String.fromCharCode(d3), this.options.locations && (++this.curLine, this.lineStart = this.pos), m3; } jsx_readString(h4) { let d3 = "", m3 = ++this.pos; for (; ; ) { this.pos >= this.input.length && this.raise(this.start, "Unterminated string constant"); let g3 = this.input.charCodeAt(this.pos); if (g3 === h4) break; g3 === 38 ? (d3 += this.input.slice(m3, this.pos), d3 += this.jsx_readEntity(), m3 = this.pos) : x7(g3) ? (d3 += this.input.slice(m3, this.pos), d3 += this.jsx_readNewLine(false), m3 = this.pos) : ++this.pos; } return d3 += this.input.slice(m3, this.pos++), this.finishToken(r3.string, d3); } jsx_readEntity() { let h4 = "", d3 = 0, m3, g3 = this.input[this.pos]; g3 !== "&" && this.raise(this.pos, "Entity must start with an ampersand"); let E6 = ++this.pos; for (; this.pos < this.input.length && d3++ < 10; ) { if (g3 = this.input[this.pos++], g3 === ";") { h4[0] === "#" ? h4[1] === "x" ? (h4 = h4.substr(2), ns5.test(h4) && (m3 = String.fromCharCode(parseInt(h4, 16)))) : (h4 = h4.substr(1), os7.test(h4) && (m3 = String.fromCharCode(parseInt(h4, 10)))) : m3 = as5[h4]; break; } h4 += g3; } return m3 || (this.pos = E6, "&"); } jsx_readWord() { let h4, d3 = this.pos; do h4 = this.input.charCodeAt(++this.pos); while (B7(h4) || h4 === 45); return this.finishToken(n.jsxName, this.input.slice(d3, this.pos)); } jsx_parseIdentifier() { let h4 = this.startNode(); return this.type === n.jsxName ? h4.name = this.value : this.type.keyword ? h4.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(h4, "JSXIdentifier"); } jsx_parseNamespacedName() { let h4 = this.start, d3 = this.startLoc, m3 = this.jsx_parseIdentifier(); if (!e3.allowNamespaces || !this.eat(r3.colon)) return m3; var g3 = this.startNodeAt(h4, d3); return g3.namespace = m3, g3.name = this.jsx_parseIdentifier(), this.finishNode(g3, "JSXNamespacedName"); } jsx_parseElementName() { if (this.type === n.jsxTagEnd) return ""; let h4 = this.start, d3 = this.startLoc, m3 = this.jsx_parseNamespacedName(); for (this.type === r3.dot && m3.type === "JSXNamespacedName" && !e3.allowNamespacedObjects && this.unexpected(); this.eat(r3.dot); ) { let g3 = this.startNodeAt(h4, d3); g3.object = m3, g3.property = this.jsx_parseIdentifier(), m3 = this.finishNode(g3, "JSXMemberExpression"); } return m3; } jsx_parseAttributeValue() { switch (this.type) { case r3.braceL: let h4 = this.jsx_parseExpressionContainer(); return h4.expression.type === "JSXEmptyExpression" && this.raise(h4.start, "JSX attributes must only be assigned a non-empty expression"), h4; case n.jsxTagStart: case r3.string: return this.parseExprAtom(); default: this.raise(this.start, "JSX value should be either an expression or a quoted JSX text"); } } jsx_parseEmptyExpression() { let h4 = this.startNodeAt(this.lastTokEnd, this.lastTokEndLoc); return this.finishNodeAt(h4, "JSXEmptyExpression", this.start, this.startLoc); } jsx_parseExpressionContainer() { let h4 = this.startNode(); return this.next(), h4.expression = this.type === r3.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(r3.braceR), this.finishNode(h4, "JSXExpressionContainer"); } jsx_parseAttribute() { let h4 = this.startNode(); return this.eat(r3.braceL) ? (this.expect(r3.ellipsis), h4.argument = this.parseMaybeAssign(), this.expect(r3.braceR), this.finishNode(h4, "JSXSpreadAttribute")) : (h4.name = this.jsx_parseNamespacedName(), h4.value = this.eat(r3.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(h4, "JSXAttribute")); } jsx_parseOpeningElementAt(h4, d3) { let m3 = this.startNodeAt(h4, d3); m3.attributes = []; let g3 = this.jsx_parseElementName(); for (g3 && (m3.name = g3); this.type !== r3.slash && this.type !== n.jsxTagEnd; ) m3.attributes.push(this.jsx_parseAttribute()); return m3.selfClosing = this.eat(r3.slash), this.expect(n.jsxTagEnd), this.finishNode(m3, g3 ? "JSXOpeningElement" : "JSXOpeningFragment"); } jsx_parseClosingElementAt(h4, d3) { let m3 = this.startNodeAt(h4, d3), g3 = this.jsx_parseElementName(); return g3 && (m3.name = g3), this.expect(n.jsxTagEnd), this.finishNode(m3, g3 ? "JSXClosingElement" : "JSXClosingFragment"); } jsx_parseElementAt(h4, d3) { let m3 = this.startNodeAt(h4, d3), g3 = [], E6 = this.jsx_parseOpeningElementAt(h4, d3), he9 = null; if (!E6.selfClosing) { e: for (; ; ) switch (this.type) { case n.jsxTagStart: if (h4 = this.start, d3 = this.startLoc, this.next(), this.eat(r3.slash)) { he9 = this.jsx_parseClosingElementAt(h4, d3); break e; } g3.push(this.jsx_parseElementAt(h4, d3)); break; case n.jsxText: g3.push(this.parseExprAtom()); break; case r3.braceL: g3.push(this.jsx_parseExpressionContainer()); break; default: this.unexpected(); } ne9(he9.name) !== ne9(E6.name) && this.raise(he9.start, "Expected corresponding JSX closing tag for <" + ne9(E6.name) + ">"); } let ke9 = E6.name ? "Element" : "Fragment"; return m3["opening" + ke9] = E6, m3["closing" + ke9] = he9, m3.children = g3, this.type === r3.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(m3, "JSX" + ke9); } jsx_parseText() { let h4 = this.parseLiteral(this.value); return h4.type = "JSXText", h4; } jsx_parseElement() { let h4 = this.start, d3 = this.startLoc; return this.next(), this.jsx_parseElementAt(h4, d3); } parseExprAtom(h4) { return this.type === n.jsxText ? this.jsx_parseText() : this.type === n.jsxTagStart ? this.jsx_parseElement() : super.parseExprAtom(h4); } readToken(h4) { let d3 = this.curContext(); if (d3 === l3) return this.jsx_readToken(); if (d3 === u || d3 === p4) { if (C4(h4)) return this.jsx_readWord(); if (h4 == 62) return ++this.pos, this.finishToken(n.jsxTagEnd); if ((h4 === 34 || h4 === 39) && d3 == u) return this.jsx_readString(h4); } return h4 === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33 ? (++this.pos, this.finishToken(n.jsxTagStart)) : super.readToken(h4); } updateContext(h4) { if (this.type == r3.braceL) { var d3 = this.curContext(); d3 == u ? this.context.push(o3.b_expr) : d3 == l3 ? this.context.push(o3.b_tmpl) : super.updateContext(h4), this.exprAllowed = true; } else if (this.type === r3.slash && h4 === n.jsxTagStart) this.context.length -= 2, this.context.push(p4), this.exprAllowed = false; else return super.updateContext(h4); } }; } }); ai = Ee((X8) => { "use strict"; Object.defineProperty(X8, "__esModule", { value: true }); X8.extract = ws6; X8.parse = As7; X8.parseWithComments = ri4; X8.print = Ps6; X8.strip = Es5; var Ss9 = /\*\/$/, Cs6 = /^\/\*\*?/, ii6 = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/, _s7 = /(^|\s+)\/\/([^\r\n]*)/g, Zt5 = /^(\r?\n)+/, Ts10 = /(?:^|\r?\n) *(@[^\r\n]*?) *\r?\n *(?![^@\r\n]*\/\/[^]*)([^@\r\n\s][^@\r\n]+?) *\r?\n/g, ei5 = /(?:^|\r?\n) *@(\S+) *([^\r\n]*)/g, ks6 = /(\r?\n|^) *\* ?/g, si6 = []; function ws6(e3) { let t13 = e3.match(ii6); return t13 ? t13[0].trimLeft() : ""; } function Es5(e3) { let t13 = e3.match(ii6); return t13 && t13[0] ? e3.substring(t13[0].length) : e3; } function As7(e3) { return ri4(e3).pragmas; } function ri4(e3) { let t13 = ` `; e3 = e3.replace(Cs6, "").replace(Ss9, "").replace(ks6, "$1"); let i3 = ""; for (; i3 !== e3; ) i3 = e3, e3 = e3.replace(Ts10, `${t13}$1 $2${t13}`); e3 = e3.replace(Zt5, "").trimRight(); let s3 = /* @__PURE__ */ Object.create(null), r3 = e3.replace(ei5, "").replace(Zt5, "").trimRight(), n; for (; n = ei5.exec(e3); ) { let o3 = n[2].replace(_s7, ""); typeof s3[n[1]] == "string" || Array.isArray(s3[n[1]]) ? s3[n[1]] = si6.concat(s3[n[1]], o3) : s3[n[1]] = o3; } return { comments: r3, pragmas: s3 }; } function Ps6({ comments: e3 = "", pragmas: t13 = {} }) { let i3 = ` `, s3 = "/**", r3 = " *", n = " */", o3 = Object.keys(t13), u = o3.flatMap((l3) => ti5(l3, t13[l3])).map((l3) => `${r3} ${l3}${i3}`).join(""); if (!e3) { if (o3.length === 0) return ""; if (o3.length === 1 && !Array.isArray(t13[o3[0]])) { let l3 = t13[o3[0]]; return `${s3} ${ti5(o3[0], l3)[0]}${n}`; } } let p4 = e3.split(i3).map((l3) => `${r3} ${l3}`).join(i3) + i3; return s3 + i3 + (e3 ? p4 : "") + (e3 && o3.length ? r3 + i3 : "") + u + n; } function ti5(e3, t13) { return si6.concat(t13).map((i3) => `@${e3} ${i3}`.trim()); } }); et = {}; Si(et, { parsers: () => Hs }); _i = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 370, 1, 81, 2, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 193, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 84, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 406, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 9, 5351, 0, 7, 14, 13835, 9, 87, 9, 39, 4, 60, 6, 26, 9, 1014, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4706, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 983, 6, 110, 6, 6, 9, 4759, 9, 787719, 239]; nt = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 68, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 71, 55, 7, 1, 65, 0, 16, 3, 2, 2, 2, 28, 43, 28, 4, 28, 36, 7, 2, 27, 28, 53, 11, 21, 11, 18, 14, 17, 111, 72, 56, 50, 14, 50, 14, 35, 349, 41, 7, 1, 79, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 159, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 264, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 4026, 582, 8634, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 689, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 43, 8, 8936, 3, 2, 6, 2, 1, 2, 290, 16, 0, 30, 2, 3, 0, 15, 3, 9, 395, 2309, 106, 6, 12, 4, 8, 8, 9, 5991, 84, 2, 70, 2, 1, 3, 0, 3, 1, 3, 3, 2, 11, 2, 0, 2, 6, 2, 64, 2, 3, 3, 7, 2, 6, 2, 27, 2, 3, 2, 4, 2, 0, 4, 6, 2, 339, 3, 24, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 30, 2, 24, 2, 7, 1845, 30, 7, 5, 262, 61, 147, 44, 11, 6, 17, 0, 322, 29, 19, 43, 485, 27, 757, 6, 2, 3, 2, 1, 2, 14, 2, 196, 60, 67, 8, 0, 1205, 3, 2, 26, 2, 1, 2, 0, 3, 0, 2, 9, 2, 3, 2, 0, 2, 0, 7, 0, 5, 0, 2, 0, 2, 0, 2, 2, 2, 1, 2, 0, 3, 0, 2, 0, 2, 0, 2, 0, 2, 0, 2, 1, 2, 0, 3, 3, 2, 6, 2, 3, 2, 3, 2, 0, 2, 9, 2, 16, 6, 2, 2, 4, 2, 16, 4421, 42719, 33, 4153, 7, 221, 3, 5761, 15, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 4191]; Ti = "\u200C\u200D\xB7\u0300-\u036F\u0387\u0483-\u0487\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u0669\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u06F0-\u06F9\u0711\u0730-\u074A\u07A6-\u07B0\u07C0-\u07C9\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u0898-\u089F\u08CA-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0966-\u096F\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09E6-\u09EF\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A66-\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AE6-\u0AEF\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B55-\u0B57\u0B62\u0B63\u0B66-\u0B6F\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0BE6-\u0BEF\u0C00-\u0C04\u0C3C\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C66-\u0C6F\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0CE6-\u0CEF\u0CF3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D66-\u0D6F\u0D81-\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0E50-\u0E59\u0EB1\u0EB4-\u0EBC\u0EC8-\u0ECE\u0ED0-\u0ED9\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1040-\u1049\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F-\u109D\u135D-\u135F\u1369-\u1371\u1712-\u1715\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u17E0-\u17E9\u180B-\u180D\u180F-\u1819\u18A9\u1920-\u192B\u1930-\u193B\u1946-\u194F\u19D0-\u19DA\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AB0-\u1ABD\u1ABF-\u1ACE\u1B00-\u1B04\u1B34-\u1B44\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BB0-\u1BB9\u1BE6-\u1BF3\u1C24-\u1C37\u1C40-\u1C49\u1C50-\u1C59\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DFF\u200C\u200D\u203F\u2040\u2054\u20D0-\u20DC\u20E1\u20E5-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\u30FB\uA620-\uA629\uA66F\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA82C\uA880\uA881\uA8B4-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F1\uA8FF-\uA909\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9D0-\uA9D9\uA9E5\uA9F0-\uA9F9\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA50-\uAA59\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uABF0-\uABF9\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFF10-\uFF19\uFF3F\uFF65"; ot = "\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2118-\u211D\u2124\u2126\u2128\u212A-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2160-\u2188\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309B-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC"; Pe = { 3: "abstract boolean byte char class double enum export extends final float goto implements import int interface long native package private protected public short static super synchronized throws transient volatile", 5: "class enum extends super const export import", 6: "enum", strict: "implements interface let package private protected public static yield", strictBind: "eval arguments" }; Ie = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"; ki = { 5: Ie, "5module": Ie + " export import", 6: Ie + " const class extends export import super" }; wi = /^in(stanceof)?$/; Ei = new RegExp("[" + ot + "]"); Ai = new RegExp("[" + ot + Ti + "]"); S = function(t13, i3) { i3 === void 0 && (i3 = {}), this.label = t13, this.keyword = i3.keyword, this.beforeExpr = !!i3.beforeExpr, this.startsExpr = !!i3.startsExpr, this.isLoop = !!i3.isLoop, this.isAssign = !!i3.isAssign, this.prefix = !!i3.prefix, this.postfix = !!i3.postfix, this.binop = i3.binop || null, this.updateContext = null; }; N = { beforeExpr: true }; A = { startsExpr: true }; Oe = {}; a = { num: new S("num", A), regexp: new S("regexp", A), string: new S("string", A), name: new S("name", A), privateId: new S("privateId", A), eof: new S("eof"), bracketL: new S("[", { beforeExpr: true, startsExpr: true }), bracketR: new S("]"), braceL: new S("{", { beforeExpr: true, startsExpr: true }), braceR: new S("}"), parenL: new S("(", { beforeExpr: true, startsExpr: true }), parenR: new S(")"), comma: new S(",", N), semi: new S(";", N), colon: new S(":", N), dot: new S("."), question: new S("?", N), questionDot: new S("?."), arrow: new S("=>", N), template: new S("template"), invalidTemplate: new S("invalidTemplate"), ellipsis: new S("...", N), backQuote: new S("`", A), dollarBraceL: new S("${", { beforeExpr: true, startsExpr: true }), eq: new S("=", { beforeExpr: true, isAssign: true }), assign: new S("_=", { beforeExpr: true, isAssign: true }), incDec: new S("++/--", { prefix: true, postfix: true, startsExpr: true }), prefix: new S("!/~", { beforeExpr: true, prefix: true, startsExpr: true }), logicalOR: I("||", 1), logicalAND: I("&&", 2), bitwiseOR: I("|", 3), bitwiseXOR: I("^", 4), bitwiseAND: I("&", 5), equality: I("==/!=/===/!==", 6), relational: I("</>/<=/>=", 7), bitShift: I("<</>>/>>>", 8), plusMin: new S("+/-", { beforeExpr: true, binop: 9, prefix: true, startsExpr: true }), modulo: I("%", 10), star: I("*", 10), slash: I("/", 10), starstar: new S("**", { beforeExpr: true }), coalesce: I("??", 1), _break: b("break"), _case: b("case", N), _catch: b("catch"), _continue: b("continue"), _debugger: b("debugger"), _default: b("default", N), _do: b("do", { isLoop: true, beforeExpr: true }), _else: b("else", N), _finally: b("finally"), _for: b("for", { isLoop: true }), _function: b("function", A), _if: b("if"), _return: b("return", N), _switch: b("switch"), _throw: b("throw", N), _try: b("try"), _var: b("var"), _const: b("const"), _while: b("while", { isLoop: true }), _with: b("with"), _new: b("new", { beforeExpr: true, startsExpr: true }), _this: b("this", A), _super: b("super", A), _class: b("class", A), _extends: b("extends", N), _export: b("export"), _import: b("import", A), _null: b("null", A), _true: b("true", A), _false: b("false", A), _in: b("in", { beforeExpr: true, binop: 7 }), _instanceof: b("instanceof", { beforeExpr: true, binop: 7 }), _typeof: b("typeof", { beforeExpr: true, prefix: true, startsExpr: true }), _void: b("void", { beforeExpr: true, prefix: true, startsExpr: true }), _delete: b("delete", { beforeExpr: true, prefix: true, startsExpr: true }) }; R = /\r\n?|\n|\u2028|\u2029/; Pi = new RegExp(R.source, "g"); pt = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/; V = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g; ht = Object.prototype; Ii = ht.hasOwnProperty; Ni = ht.toString; se = Object.hasOwn || function(e3, t13) { return Ii.call(e3, t13); }; tt = Array.isArray || function(e3) { return Ni.call(e3) === "[object Array]"; }; it = /* @__PURE__ */ Object.create(null); Vi = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/; te = function(t13, i3) { this.line = t13, this.column = i3; }; te.prototype.offset = function(t13) { return new te(this.line, this.column + t13); }; me = function(t13, i3, s3) { this.start = i3, this.end = s3, t13.sourceFile !== null && (this.source = t13.sourceFile); }; Le = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: null, allowSuperOutsideMethod: null, allowHashBang: false, checkPrivateFields: true, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }; st = false; ie = 1; Y = 2; Be = 4; lt = 8; ft = 16; dt = 32; De = 64; mt = 128; re = 256; Fe = ie | Y | re; le = 0; je = 1; J = 2; xt = 3; yt = 4; gt = 5; T = function(t13, i3, s3) { this.options = t13 = Li(t13), this.sourceFile = t13.sourceFile, this.keywords = G(ki[t13.ecmaVersion >= 6 ? 6 : t13.sourceType === "module" ? "5module" : 5]); var r3 = ""; t13.allowReserved !== true && (r3 = Pe[t13.ecmaVersion >= 6 ? 6 : t13.ecmaVersion === 5 ? 5 : 3], t13.sourceType === "module" && (r3 += " await")), this.reservedWords = G(r3); var n = (r3 ? r3 + " " : "") + Pe.strict; this.reservedWordsStrict = G(n), this.reservedWordsStrictBind = G(n + " " + Pe.strictBind), this.input = String(i3), this.containsEsc = false, s3 ? (this.pos = s3, this.lineStart = this.input.lastIndexOf(` `, s3 - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(R).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = a.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = true, this.inModule = t13.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = false, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t13.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(ie), this.regexpState = null, this.privateNameStack = []; }; F = { inFunction: { configurable: true }, inGenerator: { configurable: true }, inAsync: { configurable: true }, canAwait: { configurable: true }, allowSuper: { configurable: true }, allowDirectSuper: { configurable: true }, treatFunctionsAsVar: { configurable: true }, allowNewDotTarget: { configurable: true }, inClassStaticBlock: { configurable: true } }; T.prototype.parse