@datapos/datapos-development 0.3.372 → 0.3.373

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.
@@ -1,10 +1,10 @@
1
- import { promises as ge } from "node:fs";
1
+ import { promises as xe } from "node:fs";
2
2
  import { nanoid as Vs } from "nanoid";
3
- import Mt from "node:path";
3
+ import Vt from "node:path";
4
4
  import { promisify as zs } from "node:util";
5
5
  import { exec as js, spawn as $s } from "node:child_process";
6
6
  import { CONNECTOR_SOURCE_OPERATIONS as Fs, CONNECTOR_DESTINATION_OPERATIONS as Bs } from "@datapos/datapos-shared";
7
- import { fileURLToPath as Pr, URL as Zs } from "node:url";
7
+ import { fileURLToPath as Tr, URL as Zs } from "node:url";
8
8
  function w(e, t, i) {
9
9
  function r(d, y) {
10
10
  if (d._zod || Object.defineProperty(d, "_zod", {
@@ -18,9 +18,9 @@ function w(e, t, i) {
18
18
  return;
19
19
  d._zod.traits.add(e), t(d, y);
20
20
  const o = h.prototype, k = Object.keys(o);
21
- for (let T = 0; T < k.length; T++) {
22
- const A = k[T];
23
- A in d || (d[A] = o[A].bind(d));
21
+ for (let P = 0; P < k.length; P++) {
22
+ const D = k[P];
23
+ D in d || (d[D] = o[D].bind(d));
24
24
  }
25
25
  }
26
26
  const n = i?.Parent ?? Object;
@@ -44,14 +44,14 @@ class st extends Error {
44
44
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
45
45
  }
46
46
  }
47
- class Cr extends Error {
47
+ class Pr extends Error {
48
48
  constructor(t) {
49
49
  super(`Encountered unidirectional transform during encode: ${t}`), this.name = "ZodEncodeError";
50
50
  }
51
51
  }
52
- const Ar = {};
52
+ const Cr = {};
53
53
  function Ue(e) {
54
- return Ar;
54
+ return Cr;
55
55
  }
56
56
  function Us(e) {
57
57
  const t = Object.values(e).filter((r) => typeof r == "number");
@@ -88,7 +88,7 @@ function qs(e, t) {
88
88
  return h % d / 10 ** u;
89
89
  }
90
90
  const Fi = Symbol("evaluating");
91
- function U(e, t, i) {
91
+ function Z(e, t, i) {
92
92
  let r;
93
93
  Object.defineProperty(e, t, {
94
94
  get() {
@@ -126,9 +126,9 @@ function Bi(e) {
126
126
  function Hs(e) {
127
127
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
128
128
  }
129
- const Er = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
129
+ const Ar = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
130
130
  };
131
- function Vt(e) {
131
+ function zt(e) {
132
132
  return typeof e == "object" && e !== null && !Array.isArray(e);
133
133
  }
134
134
  const Gs = bi(() => {
@@ -142,15 +142,15 @@ const Gs = bi(() => {
142
142
  }
143
143
  });
144
144
  function nt(e) {
145
- if (Vt(e) === !1)
145
+ if (zt(e) === !1)
146
146
  return !1;
147
147
  const t = e.constructor;
148
148
  if (t === void 0 || typeof t != "function")
149
149
  return !0;
150
150
  const i = t.prototype;
151
- return !(Vt(i) === !1 || Object.prototype.hasOwnProperty.call(i, "isPrototypeOf") === !1);
151
+ return !(zt(i) === !1 || Object.prototype.hasOwnProperty.call(i, "isPrototypeOf") === !1);
152
152
  }
153
- function Ir(e) {
153
+ function Er(e) {
154
154
  return nt(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
155
155
  }
156
156
  const Ws = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
@@ -161,7 +161,7 @@ function Ge(e, t, i) {
161
161
  const r = new e._zod.constr(t ?? e._zod.def);
162
162
  return (!t || i?.parent) && (r._zod.parent = e), r;
163
163
  }
164
- function R(e) {
164
+ function O(e) {
165
165
  const t = e;
166
166
  if (!t)
167
167
  return {};
@@ -320,13 +320,13 @@ function rt(e, t) {
320
320
  return (r = i).path ?? (r.path = []), i.path.unshift(e), i;
321
321
  });
322
322
  }
323
- function It(e) {
323
+ function Nt(e) {
324
324
  return typeof e == "string" ? e : e?.message;
325
325
  }
326
326
  function qe(e, t, i) {
327
327
  const r = { ...e, path: e.path ?? [] };
328
328
  if (!e.message) {
329
- const n = It(e.inst?._zod.def?.error?.(e)) ?? It(t?.error?.(e)) ?? It(i.customError?.(e)) ?? It(i.localeError?.(e)) ?? "Invalid input";
329
+ const n = Nt(e.inst?._zod.def?.error?.(e)) ?? Nt(t?.error?.(e)) ?? Nt(i.customError?.(e)) ?? Nt(i.localeError?.(e)) ?? "Invalid input";
330
330
  r.message = n;
331
331
  }
332
332
  return delete r.inst, delete r.continue, t?.reportInput || delete r.input, r;
@@ -343,7 +343,7 @@ function _t(...e) {
343
343
  inst: r
344
344
  } : { ...t };
345
345
  }
346
- const Nr = (e, t) => {
346
+ const Ir = (e, t) => {
347
347
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
348
348
  value: e._zod,
349
349
  enumerable: !1
@@ -354,7 +354,7 @@ const Nr = (e, t) => {
354
354
  value: () => e.message,
355
355
  enumerable: !1
356
356
  });
357
- }, Lr = w("$ZodError", Nr), Or = w("$ZodError", Nr, { Parent: Error });
357
+ }, Nr = w("$ZodError", Ir), Lr = w("$ZodError", Ir, { Parent: Error });
358
358
  function nn(e, t = (i) => i.message) {
359
359
  const i = {}, r = [];
360
360
  for (const n of e.issues)
@@ -388,7 +388,7 @@ const Si = (e) => (t, i, r, n) => {
388
388
  throw new st();
389
389
  if (h.issues.length) {
390
390
  const d = new (n?.Err ?? e)(h.issues.map((y) => qe(y, u, Ue())));
391
- throw Er(d, n?.callee), d;
391
+ throw Ar(d, n?.callee), d;
392
392
  }
393
393
  return h.value;
394
394
  }, Ti = (e) => async (t, i, r, n) => {
@@ -396,67 +396,67 @@ const Si = (e) => (t, i, r, n) => {
396
396
  let h = t._zod.run({ value: i, issues: [] }, u);
397
397
  if (h instanceof Promise && (h = await h), h.issues.length) {
398
398
  const d = new (n?.Err ?? e)(h.issues.map((y) => qe(y, u, Ue())));
399
- throw Er(d, n?.callee), d;
399
+ throw Ar(d, n?.callee), d;
400
400
  }
401
401
  return h.value;
402
- }, Ht = (e) => (t, i, r) => {
402
+ }, Gt = (e) => (t, i, r) => {
403
403
  const n = r ? { ...r, async: !1 } : { async: !1 }, u = t._zod.run({ value: i, issues: [] }, n);
404
404
  if (u instanceof Promise)
405
405
  throw new st();
406
406
  return u.issues.length ? {
407
407
  success: !1,
408
- error: new (e ?? Lr)(u.issues.map((h) => qe(h, n, Ue())))
408
+ error: new (e ?? Nr)(u.issues.map((h) => qe(h, n, Ue())))
409
409
  } : { success: !0, data: u.value };
410
- }, on = /* @__PURE__ */ Ht(Or), Gt = (e) => async (t, i, r) => {
410
+ }, on = /* @__PURE__ */ Gt(Lr), Wt = (e) => async (t, i, r) => {
411
411
  const n = r ? Object.assign(r, { async: !0 }) : { async: !0 };
412
412
  let u = t._zod.run({ value: i, issues: [] }, n);
413
413
  return u instanceof Promise && (u = await u), u.issues.length ? {
414
414
  success: !1,
415
415
  error: new e(u.issues.map((h) => qe(h, n, Ue())))
416
416
  } : { success: !0, data: u.value };
417
- }, un = /* @__PURE__ */ Gt(Or), cn = (e) => (t, i, r) => {
417
+ }, un = /* @__PURE__ */ Wt(Lr), cn = (e) => (t, i, r) => {
418
418
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
419
419
  return Si(e)(t, i, n);
420
420
  }, hn = (e) => (t, i, r) => Si(e)(t, i, r), ln = (e) => async (t, i, r) => {
421
421
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
422
422
  return Ti(e)(t, i, n);
423
423
  }, pn = (e) => async (t, i, r) => Ti(e)(t, i, r), fn = (e) => (t, i, r) => {
424
- const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
425
- return Ht(e)(t, i, n);
426
- }, dn = (e) => (t, i, r) => Ht(e)(t, i, r), mn = (e) => async (t, i, r) => {
427
424
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
428
425
  return Gt(e)(t, i, n);
429
- }, yn = (e) => async (t, i, r) => Gt(e)(t, i, r), vn = /^[cC][^\s-]{8,}$/, xn = /^[0-9a-z]+$/, gn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, bn = /^[0-9a-vA-V]{20}$/, _n = /^[A-Za-z0-9]{27}$/, wn = /^[a-zA-Z0-9_-]{21}$/, kn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Sn = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Zi = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Tn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Pn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
426
+ }, dn = (e) => (t, i, r) => Gt(e)(t, i, r), mn = (e) => async (t, i, r) => {
427
+ const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
428
+ return Wt(e)(t, i, n);
429
+ }, yn = (e) => async (t, i, r) => Wt(e)(t, i, r), vn = /^[cC][^\s-]{8,}$/, xn = /^[0-9a-z]+$/, gn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, bn = /^[0-9a-vA-V]{20}$/, _n = /^[A-Za-z0-9]{27}$/, wn = /^[a-zA-Z0-9_-]{21}$/, kn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Sn = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Zi = (e) => e ? new RegExp(`^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-${e}[0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12})$`) : /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, Tn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Pn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
430
430
  function Cn() {
431
431
  return new RegExp(Pn, "u");
432
432
  }
433
- const An = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, En = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, In = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Nn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Ln = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Rr = /^[A-Za-z0-9_-]*$/, On = /^\+(?:[0-9]){6,14}[0-9]$/, Dr = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Rn = /* @__PURE__ */ new RegExp(`^${Dr}$`);
434
- function Mr(e) {
433
+ const An = /^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/, En = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:))$/, In = /^((25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/([0-9]|[1-2][0-9]|3[0-2])$/, Nn = /^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|::|([0-9a-fA-F]{1,4})?::([0-9a-fA-F]{1,4}:?){0,6})\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/, Ln = /^$|^(?:[0-9a-zA-Z+/]{4})*(?:(?:[0-9a-zA-Z+/]{2}==)|(?:[0-9a-zA-Z+/]{3}=))?$/, Or = /^[A-Za-z0-9_-]*$/, On = /^\+(?:[0-9]){6,14}[0-9]$/, Rr = "(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))", Rn = /* @__PURE__ */ new RegExp(`^${Rr}$`);
434
+ function Dr(e) {
435
435
  const t = "(?:[01]\\d|2[0-3]):[0-5]\\d";
436
436
  return typeof e.precision == "number" ? e.precision === -1 ? `${t}` : e.precision === 0 ? `${t}:[0-5]\\d` : `${t}:[0-5]\\d\\.\\d{${e.precision}}` : `${t}(?::[0-5]\\d(?:\\.\\d+)?)?`;
437
437
  }
438
438
  function Dn(e) {
439
- return new RegExp(`^${Mr(e)}$`);
439
+ return new RegExp(`^${Dr(e)}$`);
440
440
  }
441
441
  function Mn(e) {
442
- const t = Mr({ precision: e.precision }), i = ["Z"];
442
+ const t = Dr({ precision: e.precision }), i = ["Z"];
443
443
  e.local && i.push(""), e.offset && i.push("([+-](?:[01]\\d|2[0-3]):[0-5]\\d)");
444
444
  const r = `${t}(?:${i.join("|")})`;
445
- return new RegExp(`^${Dr}T(?:${r})$`);
445
+ return new RegExp(`^${Rr}T(?:${r})$`);
446
446
  }
447
447
  const Vn = (e) => {
448
448
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
449
449
  return new RegExp(`^${t}$`);
450
- }, zn = /^-?\d+$/, jn = /^-?\d+(?:\.\d+)?/, $n = /^(?:true|false)$/i, Fn = /^[^A-Z]*$/, Bn = /^[^a-z]*$/, me = /* @__PURE__ */ w("$ZodCheck", (e, t) => {
450
+ }, zn = /^-?\d+$/, jn = /^-?\d+(?:\.\d+)?/, $n = /^(?:true|false)$/i, Fn = /^[^A-Z]*$/, Bn = /^[^a-z]*$/, de = /* @__PURE__ */ w("$ZodCheck", (e, t) => {
451
451
  var i;
452
452
  e._zod ?? (e._zod = {}), e._zod.def = t, (i = e._zod).onattach ?? (i.onattach = []);
453
- }), Vr = {
453
+ }), Mr = {
454
454
  number: "number",
455
455
  bigint: "bigint",
456
456
  object: "date"
457
- }, zr = /* @__PURE__ */ w("$ZodCheckLessThan", (e, t) => {
458
- me.init(e, t);
459
- const i = Vr[typeof t.value];
457
+ }, Vr = /* @__PURE__ */ w("$ZodCheckLessThan", (e, t) => {
458
+ de.init(e, t);
459
+ const i = Mr[typeof t.value];
460
460
  e._zod.onattach.push((r) => {
461
461
  const n = r._zod.bag, u = (t.inclusive ? n.maximum : n.exclusiveMaximum) ?? Number.POSITIVE_INFINITY;
462
462
  t.value < u && (t.inclusive ? n.maximum = t.value : n.exclusiveMaximum = t.value);
@@ -471,9 +471,9 @@ const Vn = (e) => {
471
471
  continue: !t.abort
472
472
  });
473
473
  };
474
- }), jr = /* @__PURE__ */ w("$ZodCheckGreaterThan", (e, t) => {
475
- me.init(e, t);
476
- const i = Vr[typeof t.value];
474
+ }), zr = /* @__PURE__ */ w("$ZodCheckGreaterThan", (e, t) => {
475
+ de.init(e, t);
476
+ const i = Mr[typeof t.value];
477
477
  e._zod.onattach.push((r) => {
478
478
  const n = r._zod.bag, u = (t.inclusive ? n.minimum : n.exclusiveMinimum) ?? Number.NEGATIVE_INFINITY;
479
479
  t.value > u && (t.inclusive ? n.minimum = t.value : n.exclusiveMinimum = t.value);
@@ -489,7 +489,7 @@ const Vn = (e) => {
489
489
  });
490
490
  };
491
491
  }), Zn = /* @__PURE__ */ w("$ZodCheckMultipleOf", (e, t) => {
492
- me.init(e, t), e._zod.onattach.push((i) => {
492
+ de.init(e, t), e._zod.onattach.push((i) => {
493
493
  var r;
494
494
  (r = i._zod.bag).multipleOf ?? (r.multipleOf = t.value);
495
495
  }), e._zod.check = (i) => {
@@ -505,7 +505,7 @@ const Vn = (e) => {
505
505
  });
506
506
  };
507
507
  }), Un = /* @__PURE__ */ w("$ZodCheckNumberFormat", (e, t) => {
508
- me.init(e, t), t.format = t.format || "float64";
508
+ de.init(e, t), t.format = t.format || "float64";
509
509
  const i = t.format?.includes("int"), r = i ? "int" : "number", [n, u] = Xs[t.format];
510
510
  e._zod.onattach.push((h) => {
511
511
  const d = h._zod.bag;
@@ -563,7 +563,7 @@ const Vn = (e) => {
563
563
  };
564
564
  }), qn = /* @__PURE__ */ w("$ZodCheckMaxLength", (e, t) => {
565
565
  var i;
566
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
566
+ de.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
567
567
  const n = r.value;
568
568
  return !_i(n) && n.length !== void 0;
569
569
  }), e._zod.onattach.push((r) => {
@@ -586,7 +586,7 @@ const Vn = (e) => {
586
586
  };
587
587
  }), Hn = /* @__PURE__ */ w("$ZodCheckMinLength", (e, t) => {
588
588
  var i;
589
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
589
+ de.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
590
590
  const n = r.value;
591
591
  return !_i(n) && n.length !== void 0;
592
592
  }), e._zod.onattach.push((r) => {
@@ -609,7 +609,7 @@ const Vn = (e) => {
609
609
  };
610
610
  }), Gn = /* @__PURE__ */ w("$ZodCheckLengthEquals", (e, t) => {
611
611
  var i;
612
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
612
+ de.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
613
613
  const n = r.value;
614
614
  return !_i(n) && n.length !== void 0;
615
615
  }), e._zod.onattach.push((r) => {
@@ -630,9 +630,9 @@ const Vn = (e) => {
630
630
  continue: !t.abort
631
631
  });
632
632
  };
633
- }), Wt = /* @__PURE__ */ w("$ZodCheckStringFormat", (e, t) => {
633
+ }), Kt = /* @__PURE__ */ w("$ZodCheckStringFormat", (e, t) => {
634
634
  var i, r;
635
- me.init(e, t), e._zod.onattach.push((n) => {
635
+ de.init(e, t), e._zod.onattach.push((n) => {
636
636
  const u = n._zod.bag;
637
637
  u.format = t.format, t.pattern && (u.patterns ?? (u.patterns = /* @__PURE__ */ new Set()), u.patterns.add(t.pattern));
638
638
  }), t.pattern ? (i = e._zod).check ?? (i.check = (n) => {
@@ -648,7 +648,7 @@ const Vn = (e) => {
648
648
  }) : (r = e._zod).check ?? (r.check = () => {
649
649
  });
650
650
  }), Wn = /* @__PURE__ */ w("$ZodCheckRegex", (e, t) => {
651
- Wt.init(e, t), e._zod.check = (i) => {
651
+ Kt.init(e, t), e._zod.check = (i) => {
652
652
  t.pattern.lastIndex = 0, !t.pattern.test(i.value) && i.issues.push({
653
653
  origin: "string",
654
654
  code: "invalid_format",
@@ -660,11 +660,11 @@ const Vn = (e) => {
660
660
  });
661
661
  };
662
662
  }), Kn = /* @__PURE__ */ w("$ZodCheckLowerCase", (e, t) => {
663
- t.pattern ?? (t.pattern = Fn), Wt.init(e, t);
663
+ t.pattern ?? (t.pattern = Fn), Kt.init(e, t);
664
664
  }), Xn = /* @__PURE__ */ w("$ZodCheckUpperCase", (e, t) => {
665
- t.pattern ?? (t.pattern = Bn), Wt.init(e, t);
665
+ t.pattern ?? (t.pattern = Bn), Kt.init(e, t);
666
666
  }), Jn = /* @__PURE__ */ w("$ZodCheckIncludes", (e, t) => {
667
- me.init(e, t);
667
+ de.init(e, t);
668
668
  const i = at(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${i}` : i);
669
669
  t.pattern = r, e._zod.onattach.push((n) => {
670
670
  const u = n._zod.bag;
@@ -681,7 +681,7 @@ const Vn = (e) => {
681
681
  });
682
682
  };
683
683
  }), Yn = /* @__PURE__ */ w("$ZodCheckStartsWith", (e, t) => {
684
- me.init(e, t);
684
+ de.init(e, t);
685
685
  const i = new RegExp(`^${at(t.prefix)}.*`);
686
686
  t.pattern ?? (t.pattern = i), e._zod.onattach.push((r) => {
687
687
  const n = r._zod.bag;
@@ -698,7 +698,7 @@ const Vn = (e) => {
698
698
  });
699
699
  };
700
700
  }), Qn = /* @__PURE__ */ w("$ZodCheckEndsWith", (e, t) => {
701
- me.init(e, t);
701
+ de.init(e, t);
702
702
  const i = new RegExp(`.*${at(t.suffix)}$`);
703
703
  t.pattern ?? (t.pattern = i), e._zod.onattach.push((r) => {
704
704
  const n = r._zod.bag;
@@ -715,7 +715,7 @@ const Vn = (e) => {
715
715
  });
716
716
  };
717
717
  }), ea = /* @__PURE__ */ w("$ZodCheckOverwrite", (e, t) => {
718
- me.init(e, t), e._zod.check = (i) => {
718
+ de.init(e, t), e._zod.check = (i) => {
719
719
  i.value = t.tx(i.value);
720
720
  };
721
721
  });
@@ -761,23 +761,23 @@ const ia = {
761
761
  else {
762
762
  const n = (h, d, y) => {
763
763
  let o = it(h), k;
764
- for (const T of d) {
765
- if (T._zod.def.when) {
766
- if (!T._zod.def.when(h))
764
+ for (const P of d) {
765
+ if (P._zod.def.when) {
766
+ if (!P._zod.def.when(h))
767
767
  continue;
768
768
  } else if (o)
769
769
  continue;
770
- const A = h.issues.length, $ = T._zod.check(h);
771
- if ($ instanceof Promise && y?.async === !1)
770
+ const D = h.issues.length, B = P._zod.check(h);
771
+ if (B instanceof Promise && y?.async === !1)
772
772
  throw new st();
773
- if (k || $ instanceof Promise)
773
+ if (k || B instanceof Promise)
774
774
  k = (k ?? Promise.resolve()).then(async () => {
775
- await $, h.issues.length !== A && (o || (o = it(h, A)));
775
+ await B, h.issues.length !== D && (o || (o = it(h, D)));
776
776
  });
777
777
  else {
778
- if (h.issues.length === A)
778
+ if (h.issues.length === D)
779
779
  continue;
780
- o || (o = it(h, A));
780
+ o || (o = it(h, D));
781
781
  }
782
782
  }
783
783
  return k ? k.then(() => h) : h;
@@ -835,7 +835,7 @@ const ia = {
835
835
  }), i;
836
836
  };
837
837
  }), W = /* @__PURE__ */ w("$ZodStringFormat", (e, t) => {
838
- Wt.init(e, t), Pi.init(e, t);
838
+ Kt.init(e, t), Pi.init(e, t);
839
839
  }), ra = /* @__PURE__ */ w("$ZodGUID", (e, t) => {
840
840
  t.pattern ?? (t.pattern = Sn), W.init(e, t);
841
841
  }), sa = /* @__PURE__ */ w("$ZodUUID", (e, t) => {
@@ -956,7 +956,7 @@ const ia = {
956
956
  }
957
957
  };
958
958
  });
959
- function $r(e) {
959
+ function jr(e) {
960
960
  if (e === "")
961
961
  return !0;
962
962
  if (e.length % 4 !== 0)
@@ -969,7 +969,7 @@ function $r(e) {
969
969
  }
970
970
  const wa = /* @__PURE__ */ w("$ZodBase64", (e, t) => {
971
971
  t.pattern ?? (t.pattern = Ln), W.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (i) => {
972
- $r(i.value) || i.issues.push({
972
+ jr(i.value) || i.issues.push({
973
973
  code: "invalid_format",
974
974
  format: "base64",
975
975
  input: i.value,
@@ -979,13 +979,13 @@ const wa = /* @__PURE__ */ w("$ZodBase64", (e, t) => {
979
979
  };
980
980
  });
981
981
  function ka(e) {
982
- if (!Rr.test(e))
982
+ if (!Or.test(e))
983
983
  return !1;
984
984
  const t = e.replace(/[-_]/g, (r) => r === "-" ? "+" : "/"), i = t.padEnd(Math.ceil(t.length / 4) * 4, "=");
985
- return $r(i);
985
+ return jr(i);
986
986
  }
987
987
  const Sa = /* @__PURE__ */ w("$ZodBase64URL", (e, t) => {
988
- t.pattern ?? (t.pattern = Rr), W.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (i) => {
988
+ t.pattern ?? (t.pattern = Or), W.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (i) => {
989
989
  ka(i.value) || i.issues.push({
990
990
  code: "invalid_format",
991
991
  format: "base64url",
@@ -1021,7 +1021,7 @@ const Ca = /* @__PURE__ */ w("$ZodJWT", (e, t) => {
1021
1021
  continue: !t.abort
1022
1022
  });
1023
1023
  };
1024
- }), Fr = /* @__PURE__ */ w("$ZodNumber", (e, t) => {
1024
+ }), $r = /* @__PURE__ */ w("$ZodNumber", (e, t) => {
1025
1025
  Y.init(e, t), e._zod.pattern = e._zod.bag.pattern ?? jn, e._zod.parse = (i, r) => {
1026
1026
  if (t.coerce)
1027
1027
  try {
@@ -1041,7 +1041,7 @@ const Ca = /* @__PURE__ */ w("$ZodJWT", (e, t) => {
1041
1041
  }), i;
1042
1042
  };
1043
1043
  }), Aa = /* @__PURE__ */ w("$ZodNumberFormat", (e, t) => {
1044
- Un.init(e, t), Fr.init(e, t);
1044
+ Un.init(e, t), $r.init(e, t);
1045
1045
  }), Ea = /* @__PURE__ */ w("$ZodBoolean", (e, t) => {
1046
1046
  Y.init(e, t), e._zod.pattern = $n, e._zod.parse = (i, r) => {
1047
1047
  if (t.coerce)
@@ -1092,10 +1092,10 @@ const La = /* @__PURE__ */ w("$ZodArray", (e, t) => {
1092
1092
  return u.length ? Promise.all(u).then(() => i) : i;
1093
1093
  };
1094
1094
  });
1095
- function zt(e, t, i, r) {
1095
+ function jt(e, t, i, r) {
1096
1096
  e.issues.length && t.issues.push(...rt(i, e.issues)), e.value === void 0 ? i in r && (t.value[i] = void 0) : t.value[i] = e.value;
1097
1097
  }
1098
- function Br(e) {
1098
+ function Fr(e) {
1099
1099
  const t = Object.keys(e.shape);
1100
1100
  for (const r of t)
1101
1101
  if (!e.shape?.[r]?._zod?.traits?.has("$ZodType"))
@@ -1109,7 +1109,7 @@ function Br(e) {
1109
1109
  optionalKeys: new Set(i)
1110
1110
  };
1111
1111
  }
1112
- function Zr(e, t, i, r, n, u) {
1112
+ function Br(e, t, i, r, n, u) {
1113
1113
  const h = [], d = n.keySet, y = n.catchall._zod, o = y.def.type;
1114
1114
  for (const k in t) {
1115
1115
  if (d.has(k))
@@ -1118,8 +1118,8 @@ function Zr(e, t, i, r, n, u) {
1118
1118
  h.push(k);
1119
1119
  continue;
1120
1120
  }
1121
- const T = y.run({ value: t[k], issues: [] }, r);
1122
- T instanceof Promise ? e.push(T.then((A) => zt(A, i, k, t))) : zt(T, i, k, t);
1121
+ const P = y.run({ value: t[k], issues: [] }, r);
1122
+ P instanceof Promise ? e.push(P.then((D) => jt(D, i, k, t))) : jt(P, i, k, t);
1123
1123
  }
1124
1124
  return h.length && i.issues.push({
1125
1125
  code: "unrecognized_keys",
@@ -1140,20 +1140,20 @@ const Oa = /* @__PURE__ */ w("$ZodObject", (e, t) => {
1140
1140
  }
1141
1141
  });
1142
1142
  }
1143
- const r = bi(() => Br(t));
1144
- U(e._zod, "propValues", () => {
1143
+ const r = bi(() => Fr(t));
1144
+ Z(e._zod, "propValues", () => {
1145
1145
  const d = t.shape, y = {};
1146
1146
  for (const o in d) {
1147
1147
  const k = d[o]._zod;
1148
1148
  if (k.values) {
1149
1149
  y[o] ?? (y[o] = /* @__PURE__ */ new Set());
1150
- for (const T of k.values)
1151
- y[o].add(T);
1150
+ for (const P of k.values)
1151
+ y[o].add(P);
1152
1152
  }
1153
1153
  }
1154
1154
  return y;
1155
1155
  });
1156
- const n = Vt, u = t.catchall;
1156
+ const n = zt, u = t.catchall;
1157
1157
  let h;
1158
1158
  e._zod.parse = (d, y) => {
1159
1159
  h ?? (h = r.value);
@@ -1166,63 +1166,63 @@ const Oa = /* @__PURE__ */ w("$ZodObject", (e, t) => {
1166
1166
  inst: e
1167
1167
  }), d;
1168
1168
  d.value = {};
1169
- const k = [], T = h.shape;
1170
- for (const A of h.keys) {
1171
- const Z = T[A]._zod.run({ value: o[A], issues: [] }, y);
1172
- Z instanceof Promise ? k.push(Z.then((le) => zt(le, d, A, o))) : zt(Z, d, A, o);
1169
+ const k = [], P = h.shape;
1170
+ for (const D of h.keys) {
1171
+ const U = P[D]._zod.run({ value: o[D], issues: [] }, y);
1172
+ U instanceof Promise ? k.push(U.then((Ee) => jt(Ee, d, D, o))) : jt(U, d, D, o);
1173
1173
  }
1174
- return u ? Zr(k, o, d, y, r.value, e) : k.length ? Promise.all(k).then(() => d) : d;
1174
+ return u ? Br(k, o, d, y, r.value, e) : k.length ? Promise.all(k).then(() => d) : d;
1175
1175
  };
1176
1176
  }), Ra = /* @__PURE__ */ w("$ZodObjectJIT", (e, t) => {
1177
1177
  Oa.init(e, t);
1178
- const i = e._zod.parse, r = bi(() => Br(t)), n = (A) => {
1179
- const $ = new ta(["shape", "payload", "ctx"]), Z = r.value, le = (Ae) => {
1180
- const _e = Bi(Ae);
1181
- return `shape[${_e}]._zod.run({ value: input[${_e}], issues: [] }, ctx)`;
1178
+ const i = e._zod.parse, r = bi(() => Fr(t)), n = (D) => {
1179
+ const B = new ta(["shape", "payload", "ctx"]), U = r.value, Ee = (Ce) => {
1180
+ const be = Bi(Ce);
1181
+ return `shape[${be}]._zod.run({ value: input[${be}], issues: [] }, ctx)`;
1182
1182
  };
1183
- $.write("const input = payload.value;");
1184
- const D = /* @__PURE__ */ Object.create(null);
1183
+ B.write("const input = payload.value;");
1184
+ const R = /* @__PURE__ */ Object.create(null);
1185
1185
  let se = 0;
1186
- for (const Ae of Z.keys)
1187
- D[Ae] = `key_${se++}`;
1188
- $.write("const newResult = {};");
1189
- for (const Ae of Z.keys) {
1190
- const _e = D[Ae], Ke = Bi(Ae);
1191
- $.write(`const ${_e} = ${le(Ae)};`), $.write(`
1192
- if (${_e}.issues.length) {
1193
- payload.issues = payload.issues.concat(${_e}.issues.map(iss => ({
1186
+ for (const Ce of U.keys)
1187
+ R[Ce] = `key_${se++}`;
1188
+ B.write("const newResult = {};");
1189
+ for (const Ce of U.keys) {
1190
+ const be = R[Ce], Ke = Bi(Ce);
1191
+ B.write(`const ${be} = ${Ee(Ce)};`), B.write(`
1192
+ if (${be}.issues.length) {
1193
+ payload.issues = payload.issues.concat(${be}.issues.map(iss => ({
1194
1194
  ...iss,
1195
1195
  path: iss.path ? [${Ke}, ...iss.path] : [${Ke}]
1196
1196
  })));
1197
1197
  }
1198
1198
 
1199
1199
 
1200
- if (${_e}.value === undefined) {
1200
+ if (${be}.value === undefined) {
1201
1201
  if (${Ke} in input) {
1202
1202
  newResult[${Ke}] = undefined;
1203
1203
  }
1204
1204
  } else {
1205
- newResult[${Ke}] = ${_e}.value;
1205
+ newResult[${Ke}] = ${be}.value;
1206
1206
  }
1207
1207
 
1208
1208
  `);
1209
1209
  }
1210
- $.write("payload.value = newResult;"), $.write("return payload;");
1211
- const dt = $.compile();
1212
- return (Ae, _e) => dt(A, Ae, _e);
1210
+ B.write("payload.value = newResult;"), B.write("return payload;");
1211
+ const dt = B.compile();
1212
+ return (Ce, be) => dt(D, Ce, be);
1213
1213
  };
1214
1214
  let u;
1215
- const h = Vt, d = !Ar.jitless, o = d && Gs.value, k = t.catchall;
1216
- let T;
1217
- e._zod.parse = (A, $) => {
1218
- T ?? (T = r.value);
1219
- const Z = A.value;
1220
- return h(Z) ? d && o && $?.async === !1 && $.jitless !== !0 ? (u || (u = n(t.shape)), A = u(A, $), k ? Zr([], Z, A, $, T, e) : A) : i(A, $) : (A.issues.push({
1215
+ const h = zt, d = !Cr.jitless, o = d && Gs.value, k = t.catchall;
1216
+ let P;
1217
+ e._zod.parse = (D, B) => {
1218
+ P ?? (P = r.value);
1219
+ const U = D.value;
1220
+ return h(U) ? d && o && B?.async === !1 && B.jitless !== !0 ? (u || (u = n(t.shape)), D = u(D, B), k ? Br([], U, D, B, P, e) : D) : i(D, B) : (D.issues.push({
1221
1221
  expected: "object",
1222
1222
  code: "invalid_type",
1223
- input: Z,
1223
+ input: U,
1224
1224
  inst: e
1225
- }), A);
1225
+ }), D);
1226
1226
  };
1227
1227
  });
1228
1228
  function qi(e, t, i, r) {
@@ -1238,10 +1238,10 @@ function qi(e, t, i, r) {
1238
1238
  }), t);
1239
1239
  }
1240
1240
  const Da = /* @__PURE__ */ w("$ZodUnion", (e, t) => {
1241
- Y.init(e, t), U(e._zod, "optin", () => t.options.some((n) => n._zod.optin === "optional") ? "optional" : void 0), U(e._zod, "optout", () => t.options.some((n) => n._zod.optout === "optional") ? "optional" : void 0), U(e._zod, "values", () => {
1241
+ Y.init(e, t), Z(e._zod, "optin", () => t.options.some((n) => n._zod.optin === "optional") ? "optional" : void 0), Z(e._zod, "optout", () => t.options.some((n) => n._zod.optout === "optional") ? "optional" : void 0), Z(e._zod, "values", () => {
1242
1242
  if (t.options.every((n) => n._zod.values))
1243
1243
  return new Set(t.options.flatMap((n) => Array.from(n._zod.values)));
1244
- }), U(e._zod, "pattern", () => {
1244
+ }), Z(e._zod, "pattern", () => {
1245
1245
  if (t.options.every((n) => n._zod.pattern)) {
1246
1246
  const n = t.options.map((u) => u._zod.pattern);
1247
1247
  return new RegExp(`^(${n.map((u) => wi(u.source)).join("|")})$`);
@@ -1335,8 +1335,8 @@ const Va = /* @__PURE__ */ w("$ZodRecord", (e, t) => {
1335
1335
  if (typeof o == "string" || typeof o == "number" || typeof o == "symbol") {
1336
1336
  d.add(typeof o == "number" ? o.toString() : o);
1337
1337
  const k = t.valueType._zod.run({ value: n[o], issues: [] }, r);
1338
- k instanceof Promise ? u.push(k.then((T) => {
1339
- T.issues.length && i.issues.push(...rt(o, T.issues)), i.value[o] = T.value;
1338
+ k instanceof Promise ? u.push(k.then((P) => {
1339
+ P.issues.length && i.issues.push(...rt(o, P.issues)), i.value[o] = P.value;
1340
1340
  })) : (k.issues.length && i.issues.push(...rt(o, k.issues)), i.value[o] = k.value);
1341
1341
  }
1342
1342
  let y;
@@ -1403,7 +1403,7 @@ const Va = /* @__PURE__ */ w("$ZodRecord", (e, t) => {
1403
1403
  }), $a = /* @__PURE__ */ w("$ZodTransform", (e, t) => {
1404
1404
  Y.init(e, t), e._zod.parse = (i, r) => {
1405
1405
  if (r.direction === "backward")
1406
- throw new Cr(e.constructor.name);
1406
+ throw new Pr(e.constructor.name);
1407
1407
  const n = t.transform(i.value, i);
1408
1408
  if (r.async)
1409
1409
  return (n instanceof Promise ? n : Promise.resolve(n)).then((h) => (i.value = h, i));
@@ -1416,7 +1416,7 @@ function Gi(e, t) {
1416
1416
  return e.issues.length && t === void 0 ? { issues: [], value: void 0 } : e;
1417
1417
  }
1418
1418
  const Fa = /* @__PURE__ */ w("$ZodOptional", (e, t) => {
1419
- Y.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", U(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), U(e._zod, "pattern", () => {
1419
+ Y.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", Z(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), Z(e._zod, "pattern", () => {
1420
1420
  const i = t.innerType._zod.pattern;
1421
1421
  return i ? new RegExp(`^(${wi(i.source)})?$`) : void 0;
1422
1422
  }), e._zod.parse = (i, r) => {
@@ -1427,12 +1427,12 @@ const Fa = /* @__PURE__ */ w("$ZodOptional", (e, t) => {
1427
1427
  return i.value === void 0 ? i : t.innerType._zod.run(i, r);
1428
1428
  };
1429
1429
  }), Ba = /* @__PURE__ */ w("$ZodNullable", (e, t) => {
1430
- Y.init(e, t), U(e._zod, "optin", () => t.innerType._zod.optin), U(e._zod, "optout", () => t.innerType._zod.optout), U(e._zod, "pattern", () => {
1430
+ Y.init(e, t), Z(e._zod, "optin", () => t.innerType._zod.optin), Z(e._zod, "optout", () => t.innerType._zod.optout), Z(e._zod, "pattern", () => {
1431
1431
  const i = t.innerType._zod.pattern;
1432
1432
  return i ? new RegExp(`^(${wi(i.source)}|null)$`) : void 0;
1433
- }), U(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (i, r) => i.value === null ? i : t.innerType._zod.run(i, r);
1433
+ }), Z(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, null]) : void 0), e._zod.parse = (i, r) => i.value === null ? i : t.innerType._zod.run(i, r);
1434
1434
  }), Za = /* @__PURE__ */ w("$ZodDefault", (e, t) => {
1435
- Y.init(e, t), e._zod.optin = "optional", U(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => {
1435
+ Y.init(e, t), e._zod.optin = "optional", Z(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => {
1436
1436
  if (r.direction === "backward")
1437
1437
  return t.innerType._zod.run(i, r);
1438
1438
  if (i.value === void 0)
@@ -1445,9 +1445,9 @@ function Wi(e, t) {
1445
1445
  return e.value === void 0 && (e.value = t.defaultValue), e;
1446
1446
  }
1447
1447
  const Ua = /* @__PURE__ */ w("$ZodPrefault", (e, t) => {
1448
- Y.init(e, t), e._zod.optin = "optional", U(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => (r.direction === "backward" || i.value === void 0 && (i.value = t.defaultValue), t.innerType._zod.run(i, r));
1448
+ Y.init(e, t), e._zod.optin = "optional", Z(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => (r.direction === "backward" || i.value === void 0 && (i.value = t.defaultValue), t.innerType._zod.run(i, r));
1449
1449
  }), qa = /* @__PURE__ */ w("$ZodNonOptional", (e, t) => {
1450
- Y.init(e, t), U(e._zod, "values", () => {
1450
+ Y.init(e, t), Z(e._zod, "values", () => {
1451
1451
  const i = t.innerType._zod.values;
1452
1452
  return i ? new Set([...i].filter((r) => r !== void 0)) : void 0;
1453
1453
  }), e._zod.parse = (i, r) => {
@@ -1464,7 +1464,7 @@ function Ki(e, t) {
1464
1464
  }), e;
1465
1465
  }
1466
1466
  const Ha = /* @__PURE__ */ w("$ZodCatch", (e, t) => {
1467
- Y.init(e, t), U(e._zod, "optin", () => t.innerType._zod.optin), U(e._zod, "optout", () => t.innerType._zod.optout), U(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => {
1467
+ Y.init(e, t), Z(e._zod, "optin", () => t.innerType._zod.optin), Z(e._zod, "optout", () => t.innerType._zod.optout), Z(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => {
1468
1468
  if (r.direction === "backward")
1469
1469
  return t.innerType._zod.run(i, r);
1470
1470
  const n = t.innerType._zod.run(i, r);
@@ -1483,20 +1483,20 @@ const Ha = /* @__PURE__ */ w("$ZodCatch", (e, t) => {
1483
1483
  }), i.issues = []), i);
1484
1484
  };
1485
1485
  }), Ga = /* @__PURE__ */ w("$ZodPipe", (e, t) => {
1486
- Y.init(e, t), U(e._zod, "values", () => t.in._zod.values), U(e._zod, "optin", () => t.in._zod.optin), U(e._zod, "optout", () => t.out._zod.optout), U(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (i, r) => {
1486
+ Y.init(e, t), Z(e._zod, "values", () => t.in._zod.values), Z(e._zod, "optin", () => t.in._zod.optin), Z(e._zod, "optout", () => t.out._zod.optout), Z(e._zod, "propValues", () => t.in._zod.propValues), e._zod.parse = (i, r) => {
1487
1487
  if (r.direction === "backward") {
1488
1488
  const u = t.out._zod.run(i, r);
1489
- return u instanceof Promise ? u.then((h) => Nt(h, t.in, r)) : Nt(u, t.in, r);
1489
+ return u instanceof Promise ? u.then((h) => Lt(h, t.in, r)) : Lt(u, t.in, r);
1490
1490
  }
1491
1491
  const n = t.in._zod.run(i, r);
1492
- return n instanceof Promise ? n.then((u) => Nt(u, t.out, r)) : Nt(n, t.out, r);
1492
+ return n instanceof Promise ? n.then((u) => Lt(u, t.out, r)) : Lt(n, t.out, r);
1493
1493
  };
1494
1494
  });
1495
- function Nt(e, t, i) {
1495
+ function Lt(e, t, i) {
1496
1496
  return e.issues.length ? (e.aborted = !0, e) : t._zod.run({ value: e.value, issues: e.issues }, i);
1497
1497
  }
1498
1498
  const Wa = /* @__PURE__ */ w("$ZodReadonly", (e, t) => {
1499
- Y.init(e, t), U(e._zod, "propValues", () => t.innerType._zod.propValues), U(e._zod, "values", () => t.innerType._zod.values), U(e._zod, "optin", () => t.innerType?._zod?.optin), U(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (i, r) => {
1499
+ Y.init(e, t), Z(e._zod, "propValues", () => t.innerType._zod.propValues), Z(e._zod, "values", () => t.innerType._zod.values), Z(e._zod, "optin", () => t.innerType?._zod?.optin), Z(e._zod, "optout", () => t.innerType?._zod?.optout), e._zod.parse = (i, r) => {
1500
1500
  if (r.direction === "backward")
1501
1501
  return t.innerType._zod.run(i, r);
1502
1502
  const n = t.innerType._zod.run(i, r);
@@ -1507,7 +1507,7 @@ function Xi(e) {
1507
1507
  return e.value = Object.freeze(e.value), e;
1508
1508
  }
1509
1509
  const Ka = /* @__PURE__ */ w("$ZodCustom", (e, t) => {
1510
- me.init(e, t), Y.init(e, t), e._zod.parse = (i, r) => i, e._zod.check = (i) => {
1510
+ de.init(e, t), Y.init(e, t), e._zod.parse = (i, r) => i, e._zod.check = (i) => {
1511
1511
  const r = i.value, n = t.fn(r);
1512
1512
  if (n instanceof Promise)
1513
1513
  return n.then((u) => Ji(u, i, r, e));
@@ -1568,11 +1568,11 @@ function Ja() {
1568
1568
  return new Xa();
1569
1569
  }
1570
1570
  (Yi = globalThis).__zod_globalRegistry ?? (Yi.__zod_globalRegistry = Ja());
1571
- const Lt = globalThis.__zod_globalRegistry;
1571
+ const Ot = globalThis.__zod_globalRegistry;
1572
1572
  function Ya(e, t) {
1573
1573
  return new e({
1574
1574
  type: "string",
1575
- ...R(t)
1575
+ ...O(t)
1576
1576
  });
1577
1577
  }
1578
1578
  function Qa(e, t) {
@@ -1581,7 +1581,7 @@ function Qa(e, t) {
1581
1581
  format: "email",
1582
1582
  check: "string_format",
1583
1583
  abort: !1,
1584
- ...R(t)
1584
+ ...O(t)
1585
1585
  });
1586
1586
  }
1587
1587
  function Qi(e, t) {
@@ -1590,7 +1590,7 @@ function Qi(e, t) {
1590
1590
  format: "guid",
1591
1591
  check: "string_format",
1592
1592
  abort: !1,
1593
- ...R(t)
1593
+ ...O(t)
1594
1594
  });
1595
1595
  }
1596
1596
  function eo(e, t) {
@@ -1599,7 +1599,7 @@ function eo(e, t) {
1599
1599
  format: "uuid",
1600
1600
  check: "string_format",
1601
1601
  abort: !1,
1602
- ...R(t)
1602
+ ...O(t)
1603
1603
  });
1604
1604
  }
1605
1605
  function to(e, t) {
@@ -1609,7 +1609,7 @@ function to(e, t) {
1609
1609
  check: "string_format",
1610
1610
  abort: !1,
1611
1611
  version: "v4",
1612
- ...R(t)
1612
+ ...O(t)
1613
1613
  });
1614
1614
  }
1615
1615
  function io(e, t) {
@@ -1619,7 +1619,7 @@ function io(e, t) {
1619
1619
  check: "string_format",
1620
1620
  abort: !1,
1621
1621
  version: "v6",
1622
- ...R(t)
1622
+ ...O(t)
1623
1623
  });
1624
1624
  }
1625
1625
  function ro(e, t) {
@@ -1629,7 +1629,7 @@ function ro(e, t) {
1629
1629
  check: "string_format",
1630
1630
  abort: !1,
1631
1631
  version: "v7",
1632
- ...R(t)
1632
+ ...O(t)
1633
1633
  });
1634
1634
  }
1635
1635
  function so(e, t) {
@@ -1638,7 +1638,7 @@ function so(e, t) {
1638
1638
  format: "url",
1639
1639
  check: "string_format",
1640
1640
  abort: !1,
1641
- ...R(t)
1641
+ ...O(t)
1642
1642
  });
1643
1643
  }
1644
1644
  function no(e, t) {
@@ -1647,7 +1647,7 @@ function no(e, t) {
1647
1647
  format: "emoji",
1648
1648
  check: "string_format",
1649
1649
  abort: !1,
1650
- ...R(t)
1650
+ ...O(t)
1651
1651
  });
1652
1652
  }
1653
1653
  function ao(e, t) {
@@ -1656,7 +1656,7 @@ function ao(e, t) {
1656
1656
  format: "nanoid",
1657
1657
  check: "string_format",
1658
1658
  abort: !1,
1659
- ...R(t)
1659
+ ...O(t)
1660
1660
  });
1661
1661
  }
1662
1662
  function oo(e, t) {
@@ -1665,7 +1665,7 @@ function oo(e, t) {
1665
1665
  format: "cuid",
1666
1666
  check: "string_format",
1667
1667
  abort: !1,
1668
- ...R(t)
1668
+ ...O(t)
1669
1669
  });
1670
1670
  }
1671
1671
  function uo(e, t) {
@@ -1674,7 +1674,7 @@ function uo(e, t) {
1674
1674
  format: "cuid2",
1675
1675
  check: "string_format",
1676
1676
  abort: !1,
1677
- ...R(t)
1677
+ ...O(t)
1678
1678
  });
1679
1679
  }
1680
1680
  function co(e, t) {
@@ -1683,7 +1683,7 @@ function co(e, t) {
1683
1683
  format: "ulid",
1684
1684
  check: "string_format",
1685
1685
  abort: !1,
1686
- ...R(t)
1686
+ ...O(t)
1687
1687
  });
1688
1688
  }
1689
1689
  function ho(e, t) {
@@ -1692,7 +1692,7 @@ function ho(e, t) {
1692
1692
  format: "xid",
1693
1693
  check: "string_format",
1694
1694
  abort: !1,
1695
- ...R(t)
1695
+ ...O(t)
1696
1696
  });
1697
1697
  }
1698
1698
  function lo(e, t) {
@@ -1701,7 +1701,7 @@ function lo(e, t) {
1701
1701
  format: "ksuid",
1702
1702
  check: "string_format",
1703
1703
  abort: !1,
1704
- ...R(t)
1704
+ ...O(t)
1705
1705
  });
1706
1706
  }
1707
1707
  function po(e, t) {
@@ -1710,7 +1710,7 @@ function po(e, t) {
1710
1710
  format: "ipv4",
1711
1711
  check: "string_format",
1712
1712
  abort: !1,
1713
- ...R(t)
1713
+ ...O(t)
1714
1714
  });
1715
1715
  }
1716
1716
  function fo(e, t) {
@@ -1719,7 +1719,7 @@ function fo(e, t) {
1719
1719
  format: "ipv6",
1720
1720
  check: "string_format",
1721
1721
  abort: !1,
1722
- ...R(t)
1722
+ ...O(t)
1723
1723
  });
1724
1724
  }
1725
1725
  function mo(e, t) {
@@ -1728,7 +1728,7 @@ function mo(e, t) {
1728
1728
  format: "cidrv4",
1729
1729
  check: "string_format",
1730
1730
  abort: !1,
1731
- ...R(t)
1731
+ ...O(t)
1732
1732
  });
1733
1733
  }
1734
1734
  function yo(e, t) {
@@ -1737,7 +1737,7 @@ function yo(e, t) {
1737
1737
  format: "cidrv6",
1738
1738
  check: "string_format",
1739
1739
  abort: !1,
1740
- ...R(t)
1740
+ ...O(t)
1741
1741
  });
1742
1742
  }
1743
1743
  function vo(e, t) {
@@ -1746,7 +1746,7 @@ function vo(e, t) {
1746
1746
  format: "base64",
1747
1747
  check: "string_format",
1748
1748
  abort: !1,
1749
- ...R(t)
1749
+ ...O(t)
1750
1750
  });
1751
1751
  }
1752
1752
  function xo(e, t) {
@@ -1755,7 +1755,7 @@ function xo(e, t) {
1755
1755
  format: "base64url",
1756
1756
  check: "string_format",
1757
1757
  abort: !1,
1758
- ...R(t)
1758
+ ...O(t)
1759
1759
  });
1760
1760
  }
1761
1761
  function go(e, t) {
@@ -1764,7 +1764,7 @@ function go(e, t) {
1764
1764
  format: "e164",
1765
1765
  check: "string_format",
1766
1766
  abort: !1,
1767
- ...R(t)
1767
+ ...O(t)
1768
1768
  });
1769
1769
  }
1770
1770
  function bo(e, t) {
@@ -1773,7 +1773,7 @@ function bo(e, t) {
1773
1773
  format: "jwt",
1774
1774
  check: "string_format",
1775
1775
  abort: !1,
1776
- ...R(t)
1776
+ ...O(t)
1777
1777
  });
1778
1778
  }
1779
1779
  function _o(e, t) {
@@ -1784,7 +1784,7 @@ function _o(e, t) {
1784
1784
  offset: !1,
1785
1785
  local: !1,
1786
1786
  precision: null,
1787
- ...R(t)
1787
+ ...O(t)
1788
1788
  });
1789
1789
  }
1790
1790
  function wo(e, t) {
@@ -1792,7 +1792,7 @@ function wo(e, t) {
1792
1792
  type: "string",
1793
1793
  format: "date",
1794
1794
  check: "string_format",
1795
- ...R(t)
1795
+ ...O(t)
1796
1796
  });
1797
1797
  }
1798
1798
  function ko(e, t) {
@@ -1801,7 +1801,7 @@ function ko(e, t) {
1801
1801
  format: "time",
1802
1802
  check: "string_format",
1803
1803
  precision: null,
1804
- ...R(t)
1804
+ ...O(t)
1805
1805
  });
1806
1806
  }
1807
1807
  function So(e, t) {
@@ -1809,14 +1809,14 @@ function So(e, t) {
1809
1809
  type: "string",
1810
1810
  format: "duration",
1811
1811
  check: "string_format",
1812
- ...R(t)
1812
+ ...O(t)
1813
1813
  });
1814
1814
  }
1815
1815
  function To(e, t) {
1816
1816
  return new e({
1817
1817
  type: "number",
1818
1818
  checks: [],
1819
- ...R(t)
1819
+ ...O(t)
1820
1820
  });
1821
1821
  }
1822
1822
  function Po(e, t) {
@@ -1825,13 +1825,13 @@ function Po(e, t) {
1825
1825
  check: "number_format",
1826
1826
  abort: !1,
1827
1827
  format: "safeint",
1828
- ...R(t)
1828
+ ...O(t)
1829
1829
  });
1830
1830
  }
1831
1831
  function Co(e, t) {
1832
1832
  return new e({
1833
1833
  type: "boolean",
1834
- ...R(t)
1834
+ ...O(t)
1835
1835
  });
1836
1836
  }
1837
1837
  function Ao(e) {
@@ -1842,37 +1842,37 @@ function Ao(e) {
1842
1842
  function Eo(e, t) {
1843
1843
  return new e({
1844
1844
  type: "never",
1845
- ...R(t)
1845
+ ...O(t)
1846
1846
  });
1847
1847
  }
1848
1848
  function er(e, t) {
1849
- return new zr({
1849
+ return new Vr({
1850
1850
  check: "less_than",
1851
- ...R(t),
1851
+ ...O(t),
1852
1852
  value: e,
1853
1853
  inclusive: !1
1854
1854
  });
1855
1855
  }
1856
1856
  function ni(e, t) {
1857
- return new zr({
1857
+ return new Vr({
1858
1858
  check: "less_than",
1859
- ...R(t),
1859
+ ...O(t),
1860
1860
  value: e,
1861
1861
  inclusive: !0
1862
1862
  });
1863
1863
  }
1864
1864
  function tr(e, t) {
1865
- return new jr({
1865
+ return new zr({
1866
1866
  check: "greater_than",
1867
- ...R(t),
1867
+ ...O(t),
1868
1868
  value: e,
1869
1869
  inclusive: !1
1870
1870
  });
1871
1871
  }
1872
1872
  function ai(e, t) {
1873
- return new jr({
1873
+ return new zr({
1874
1874
  check: "greater_than",
1875
- ...R(t),
1875
+ ...O(t),
1876
1876
  value: e,
1877
1877
  inclusive: !0
1878
1878
  });
@@ -1880,28 +1880,28 @@ function ai(e, t) {
1880
1880
  function ir(e, t) {
1881
1881
  return new Zn({
1882
1882
  check: "multiple_of",
1883
- ...R(t),
1883
+ ...O(t),
1884
1884
  value: e
1885
1885
  });
1886
1886
  }
1887
- function Ur(e, t) {
1887
+ function Zr(e, t) {
1888
1888
  return new qn({
1889
1889
  check: "max_length",
1890
- ...R(t),
1890
+ ...O(t),
1891
1891
  maximum: e
1892
1892
  });
1893
1893
  }
1894
- function jt(e, t) {
1894
+ function $t(e, t) {
1895
1895
  return new Hn({
1896
1896
  check: "min_length",
1897
- ...R(t),
1897
+ ...O(t),
1898
1898
  minimum: e
1899
1899
  });
1900
1900
  }
1901
- function qr(e, t) {
1901
+ function Ur(e, t) {
1902
1902
  return new Gn({
1903
1903
  check: "length_equals",
1904
- ...R(t),
1904
+ ...O(t),
1905
1905
  length: e
1906
1906
  });
1907
1907
  }
@@ -1909,7 +1909,7 @@ function Io(e, t) {
1909
1909
  return new Wn({
1910
1910
  check: "string_format",
1911
1911
  format: "regex",
1912
- ...R(t),
1912
+ ...O(t),
1913
1913
  pattern: e
1914
1914
  });
1915
1915
  }
@@ -1917,21 +1917,21 @@ function No(e) {
1917
1917
  return new Kn({
1918
1918
  check: "string_format",
1919
1919
  format: "lowercase",
1920
- ...R(e)
1920
+ ...O(e)
1921
1921
  });
1922
1922
  }
1923
1923
  function Lo(e) {
1924
1924
  return new Xn({
1925
1925
  check: "string_format",
1926
1926
  format: "uppercase",
1927
- ...R(e)
1927
+ ...O(e)
1928
1928
  });
1929
1929
  }
1930
1930
  function Oo(e, t) {
1931
1931
  return new Jn({
1932
1932
  check: "string_format",
1933
1933
  format: "includes",
1934
- ...R(t),
1934
+ ...O(t),
1935
1935
  includes: e
1936
1936
  });
1937
1937
  }
@@ -1939,7 +1939,7 @@ function Ro(e, t) {
1939
1939
  return new Yn({
1940
1940
  check: "string_format",
1941
1941
  format: "starts_with",
1942
- ...R(t),
1942
+ ...O(t),
1943
1943
  prefix: e
1944
1944
  });
1945
1945
  }
@@ -1947,7 +1947,7 @@ function Do(e, t) {
1947
1947
  return new Qn({
1948
1948
  check: "string_format",
1949
1949
  format: "ends_with",
1950
- ...R(t),
1950
+ ...O(t),
1951
1951
  suffix: e
1952
1952
  });
1953
1953
  }
@@ -1979,7 +1979,7 @@ function Fo(e, t, i) {
1979
1979
  // get element() {
1980
1980
  // return element;
1981
1981
  // },
1982
- ...R(i)
1982
+ ...O(i)
1983
1983
  });
1984
1984
  }
1985
1985
  function Bo(e, t, i) {
@@ -1987,7 +1987,7 @@ function Bo(e, t, i) {
1987
1987
  type: "custom",
1988
1988
  check: "custom",
1989
1989
  fn: t,
1990
- ...R(i)
1990
+ ...O(i)
1991
1991
  });
1992
1992
  }
1993
1993
  function Zo(e) {
@@ -2002,9 +2002,9 @@ function Zo(e) {
2002
2002
  return t;
2003
2003
  }
2004
2004
  function Uo(e, t) {
2005
- const i = new me({
2005
+ const i = new de({
2006
2006
  check: "custom",
2007
- ...R(t)
2007
+ ...O(t)
2008
2008
  });
2009
2009
  return i._zod.check = e, i;
2010
2010
  }
@@ -2033,7 +2033,7 @@ function Yo(e) {
2033
2033
  return So(Jo, e);
2034
2034
  }
2035
2035
  const Qo = (e, t) => {
2036
- Lr.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2036
+ Nr.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2037
2037
  format: {
2038
2038
  value: (i) => an(e, i)
2039
2039
  // enumerable: false,
@@ -2061,43 +2061,43 @@ const Qo = (e, t) => {
2061
2061
  // enumerable: false,
2062
2062
  }
2063
2063
  });
2064
- }, Pe = w("ZodError", Qo, {
2064
+ }, Te = w("ZodError", Qo, {
2065
2065
  Parent: Error
2066
- }), eu = /* @__PURE__ */ Si(Pe), tu = /* @__PURE__ */ Ti(Pe), iu = /* @__PURE__ */ Ht(Pe), ru = /* @__PURE__ */ Gt(Pe), su = /* @__PURE__ */ cn(Pe), nu = /* @__PURE__ */ hn(Pe), au = /* @__PURE__ */ ln(Pe), ou = /* @__PURE__ */ pn(Pe), uu = /* @__PURE__ */ fn(Pe), cu = /* @__PURE__ */ dn(Pe), hu = /* @__PURE__ */ mn(Pe), lu = /* @__PURE__ */ yn(Pe), ee = /* @__PURE__ */ w("ZodType", (e, t) => (Y.init(e, t), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...i) => e.clone(Ye(t, {
2066
+ }), eu = /* @__PURE__ */ Si(Te), tu = /* @__PURE__ */ Ti(Te), iu = /* @__PURE__ */ Gt(Te), ru = /* @__PURE__ */ Wt(Te), su = /* @__PURE__ */ cn(Te), nu = /* @__PURE__ */ hn(Te), au = /* @__PURE__ */ ln(Te), ou = /* @__PURE__ */ pn(Te), uu = /* @__PURE__ */ fn(Te), cu = /* @__PURE__ */ dn(Te), hu = /* @__PURE__ */ mn(Te), lu = /* @__PURE__ */ yn(Te), ee = /* @__PURE__ */ w("ZodType", (e, t) => (Y.init(e, t), e.def = t, e.type = t.type, Object.defineProperty(e, "_def", { value: t }), e.check = (...i) => e.clone(Ye(t, {
2067
2067
  checks: [
2068
2068
  ...t.checks ?? [],
2069
2069
  ...i.map((r) => typeof r == "function" ? { _zod: { check: r, def: { check: "custom" }, onattach: [] } } : r)
2070
2070
  ]
2071
2071
  })), e.clone = (i, r) => Ge(e, i, r), e.brand = () => e, e.register = ((i, r) => (i.add(e, r), e)), e.parse = (i, r) => eu(e, i, r, { callee: e.parse }), e.safeParse = (i, r) => iu(e, i, r), e.parseAsync = async (i, r) => tu(e, i, r, { callee: e.parseAsync }), e.safeParseAsync = async (i, r) => ru(e, i, r), e.spa = e.safeParseAsync, e.encode = (i, r) => su(e, i, r), e.decode = (i, r) => nu(e, i, r), e.encodeAsync = async (i, r) => au(e, i, r), e.decodeAsync = async (i, r) => ou(e, i, r), e.safeEncode = (i, r) => uu(e, i, r), e.safeDecode = (i, r) => cu(e, i, r), e.safeEncodeAsync = async (i, r) => hu(e, i, r), e.safeDecodeAsync = async (i, r) => lu(e, i, r), e.refine = (i, r) => e.check(rc(i, r)), e.superRefine = (i) => e.check(sc(i)), e.overwrite = (i) => e.check(ht(i)), e.optional = () => ar(e), e.nullable = () => or(e), e.nullish = () => ar(or(e)), e.nonoptional = (i) => Xu(e, i), e.array = () => He(e), e.or = (i) => ae([e, i]), e.and = (i) => $u(e, i), e.transform = (i) => ur(e, Uu(i)), e.default = (i) => Gu(e, i), e.prefault = (i) => Ku(e, i), e.catch = (i) => Yu(e, i), e.pipe = (i) => ur(e, i), e.readonly = () => tc(e), e.describe = (i) => {
2072
2072
  const r = e.clone();
2073
- return Lt.add(r, { description: i }), r;
2073
+ return Ot.add(r, { description: i }), r;
2074
2074
  }, Object.defineProperty(e, "description", {
2075
2075
  get() {
2076
- return Lt.get(e)?.description;
2076
+ return Ot.get(e)?.description;
2077
2077
  },
2078
2078
  configurable: !0
2079
2079
  }), e.meta = (...i) => {
2080
2080
  if (i.length === 0)
2081
- return Lt.get(e);
2081
+ return Ot.get(e);
2082
2082
  const r = e.clone();
2083
- return Lt.add(r, i[0]), r;
2084
- }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Hr = /* @__PURE__ */ w("_ZodString", (e, t) => {
2083
+ return Ot.add(r, i[0]), r;
2084
+ }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), qr = /* @__PURE__ */ w("_ZodString", (e, t) => {
2085
2085
  Pi.init(e, t), ee.init(e, t);
2086
2086
  const i = e._zod.bag;
2087
- e.format = i.format ?? null, e.minLength = i.minimum ?? null, e.maxLength = i.maximum ?? null, e.regex = (...r) => e.check(Io(...r)), e.includes = (...r) => e.check(Oo(...r)), e.startsWith = (...r) => e.check(Ro(...r)), e.endsWith = (...r) => e.check(Do(...r)), e.min = (...r) => e.check(jt(...r)), e.max = (...r) => e.check(Ur(...r)), e.length = (...r) => e.check(qr(...r)), e.nonempty = (...r) => e.check(jt(1, ...r)), e.lowercase = (r) => e.check(No(r)), e.uppercase = (r) => e.check(Lo(r)), e.trim = () => e.check(Vo()), e.normalize = (...r) => e.check(Mo(...r)), e.toLowerCase = () => e.check(zo()), e.toUpperCase = () => e.check(jo()), e.slugify = () => e.check($o());
2087
+ e.format = i.format ?? null, e.minLength = i.minimum ?? null, e.maxLength = i.maximum ?? null, e.regex = (...r) => e.check(Io(...r)), e.includes = (...r) => e.check(Oo(...r)), e.startsWith = (...r) => e.check(Ro(...r)), e.endsWith = (...r) => e.check(Do(...r)), e.min = (...r) => e.check($t(...r)), e.max = (...r) => e.check(Zr(...r)), e.length = (...r) => e.check(Ur(...r)), e.nonempty = (...r) => e.check($t(1, ...r)), e.lowercase = (r) => e.check(No(r)), e.uppercase = (r) => e.check(Lo(r)), e.trim = () => e.check(Vo()), e.normalize = (...r) => e.check(Mo(...r)), e.toLowerCase = () => e.check(zo()), e.toUpperCase = () => e.check(jo()), e.slugify = () => e.check($o());
2088
2088
  }), pu = /* @__PURE__ */ w("ZodString", (e, t) => {
2089
- Pi.init(e, t), Hr.init(e, t), e.email = (i) => e.check(Qa(fu, i)), e.url = (i) => e.check(so(du, i)), e.jwt = (i) => e.check(bo(Eu, i)), e.emoji = (i) => e.check(no(mu, i)), e.guid = (i) => e.check(Qi(rr, i)), e.uuid = (i) => e.check(eo(Ot, i)), e.uuidv4 = (i) => e.check(to(Ot, i)), e.uuidv6 = (i) => e.check(io(Ot, i)), e.uuidv7 = (i) => e.check(ro(Ot, i)), e.nanoid = (i) => e.check(ao(yu, i)), e.guid = (i) => e.check(Qi(rr, i)), e.cuid = (i) => e.check(oo(vu, i)), e.cuid2 = (i) => e.check(uo(xu, i)), e.ulid = (i) => e.check(co(gu, i)), e.base64 = (i) => e.check(vo(Pu, i)), e.base64url = (i) => e.check(xo(Cu, i)), e.xid = (i) => e.check(ho(bu, i)), e.ksuid = (i) => e.check(lo(_u, i)), e.ipv4 = (i) => e.check(po(wu, i)), e.ipv6 = (i) => e.check(fo(ku, i)), e.cidrv4 = (i) => e.check(mo(Su, i)), e.cidrv6 = (i) => e.check(yo(Tu, i)), e.e164 = (i) => e.check(go(Au, i)), e.datetime = (i) => e.check(Ho(i)), e.date = (i) => e.check(Wo(i)), e.time = (i) => e.check(Xo(i)), e.duration = (i) => e.check(Yo(i));
2089
+ Pi.init(e, t), qr.init(e, t), e.email = (i) => e.check(Qa(fu, i)), e.url = (i) => e.check(so(du, i)), e.jwt = (i) => e.check(bo(Eu, i)), e.emoji = (i) => e.check(no(mu, i)), e.guid = (i) => e.check(Qi(rr, i)), e.uuid = (i) => e.check(eo(Rt, i)), e.uuidv4 = (i) => e.check(to(Rt, i)), e.uuidv6 = (i) => e.check(io(Rt, i)), e.uuidv7 = (i) => e.check(ro(Rt, i)), e.nanoid = (i) => e.check(ao(yu, i)), e.guid = (i) => e.check(Qi(rr, i)), e.cuid = (i) => e.check(oo(vu, i)), e.cuid2 = (i) => e.check(uo(xu, i)), e.ulid = (i) => e.check(co(gu, i)), e.base64 = (i) => e.check(vo(Pu, i)), e.base64url = (i) => e.check(xo(Cu, i)), e.xid = (i) => e.check(ho(bu, i)), e.ksuid = (i) => e.check(lo(_u, i)), e.ipv4 = (i) => e.check(po(wu, i)), e.ipv6 = (i) => e.check(fo(ku, i)), e.cidrv4 = (i) => e.check(mo(Su, i)), e.cidrv6 = (i) => e.check(yo(Tu, i)), e.e164 = (i) => e.check(go(Au, i)), e.datetime = (i) => e.check(Ho(i)), e.date = (i) => e.check(Wo(i)), e.time = (i) => e.check(Xo(i)), e.duration = (i) => e.check(Yo(i));
2090
2090
  });
2091
- function O(e) {
2091
+ function L(e) {
2092
2092
  return Ya(pu, e);
2093
2093
  }
2094
2094
  const Q = /* @__PURE__ */ w("ZodStringFormat", (e, t) => {
2095
- W.init(e, t), Hr.init(e, t);
2095
+ W.init(e, t), qr.init(e, t);
2096
2096
  }), fu = /* @__PURE__ */ w("ZodEmail", (e, t) => {
2097
2097
  na.init(e, t), Q.init(e, t);
2098
2098
  }), rr = /* @__PURE__ */ w("ZodGUID", (e, t) => {
2099
2099
  ra.init(e, t), Q.init(e, t);
2100
- }), Ot = /* @__PURE__ */ w("ZodUUID", (e, t) => {
2100
+ }), Rt = /* @__PURE__ */ w("ZodUUID", (e, t) => {
2101
2101
  sa.init(e, t), Q.init(e, t);
2102
2102
  }), du = /* @__PURE__ */ w("ZodURL", (e, t) => {
2103
2103
  aa.init(e, t), Q.init(e, t);
@@ -2131,16 +2131,16 @@ const Q = /* @__PURE__ */ w("ZodStringFormat", (e, t) => {
2131
2131
  Ta.init(e, t), Q.init(e, t);
2132
2132
  }), Eu = /* @__PURE__ */ w("ZodJWT", (e, t) => {
2133
2133
  Ca.init(e, t), Q.init(e, t);
2134
- }), Gr = /* @__PURE__ */ w("ZodNumber", (e, t) => {
2135
- Fr.init(e, t), ee.init(e, t), e.gt = (r, n) => e.check(tr(r, n)), e.gte = (r, n) => e.check(ai(r, n)), e.min = (r, n) => e.check(ai(r, n)), e.lt = (r, n) => e.check(er(r, n)), e.lte = (r, n) => e.check(ni(r, n)), e.max = (r, n) => e.check(ni(r, n)), e.int = (r) => e.check(sr(r)), e.safe = (r) => e.check(sr(r)), e.positive = (r) => e.check(tr(0, r)), e.nonnegative = (r) => e.check(ai(0, r)), e.negative = (r) => e.check(er(0, r)), e.nonpositive = (r) => e.check(ni(0, r)), e.multipleOf = (r, n) => e.check(ir(r, n)), e.step = (r, n) => e.check(ir(r, n)), e.finite = () => e;
2134
+ }), Hr = /* @__PURE__ */ w("ZodNumber", (e, t) => {
2135
+ $r.init(e, t), ee.init(e, t), e.gt = (r, n) => e.check(tr(r, n)), e.gte = (r, n) => e.check(ai(r, n)), e.min = (r, n) => e.check(ai(r, n)), e.lt = (r, n) => e.check(er(r, n)), e.lte = (r, n) => e.check(ni(r, n)), e.max = (r, n) => e.check(ni(r, n)), e.int = (r) => e.check(sr(r)), e.safe = (r) => e.check(sr(r)), e.positive = (r) => e.check(tr(0, r)), e.nonnegative = (r) => e.check(ai(0, r)), e.negative = (r) => e.check(er(0, r)), e.nonpositive = (r) => e.check(ni(0, r)), e.multipleOf = (r, n) => e.check(ir(r, n)), e.step = (r, n) => e.check(ir(r, n)), e.finite = () => e;
2136
2136
  const i = e._zod.bag;
2137
2137
  e.minValue = Math.max(i.minimum ?? Number.NEGATIVE_INFINITY, i.exclusiveMinimum ?? Number.NEGATIVE_INFINITY) ?? null, e.maxValue = Math.min(i.maximum ?? Number.POSITIVE_INFINITY, i.exclusiveMaximum ?? Number.POSITIVE_INFINITY) ?? null, e.isInt = (i.format ?? "").includes("int") || Number.isSafeInteger(i.multipleOf ?? 0.5), e.isFinite = !0, e.format = i.format ?? null;
2138
2138
  });
2139
2139
  function De(e) {
2140
- return To(Gr, e);
2140
+ return To(Hr, e);
2141
2141
  }
2142
2142
  const Iu = /* @__PURE__ */ w("ZodNumberFormat", (e, t) => {
2143
- Aa.init(e, t), Gr.init(e, t);
2143
+ Aa.init(e, t), Hr.init(e, t);
2144
2144
  });
2145
2145
  function sr(e) {
2146
2146
  return Po(Iu, e);
@@ -2164,19 +2164,19 @@ function Du(e) {
2164
2164
  return Eo(Ru, e);
2165
2165
  }
2166
2166
  const Mu = /* @__PURE__ */ w("ZodArray", (e, t) => {
2167
- La.init(e, t), ee.init(e, t), e.element = t.element, e.min = (i, r) => e.check(jt(i, r)), e.nonempty = (i) => e.check(jt(1, i)), e.max = (i, r) => e.check(Ur(i, r)), e.length = (i, r) => e.check(qr(i, r)), e.unwrap = () => e.element;
2167
+ La.init(e, t), ee.init(e, t), e.element = t.element, e.min = (i, r) => e.check($t(i, r)), e.nonempty = (i) => e.check($t(1, i)), e.max = (i, r) => e.check(Zr(i, r)), e.length = (i, r) => e.check(Ur(i, r)), e.unwrap = () => e.element;
2168
2168
  });
2169
2169
  function He(e, t) {
2170
2170
  return Fo(Mu, e, t);
2171
2171
  }
2172
2172
  const Vu = /* @__PURE__ */ w("ZodObject", (e, t) => {
2173
- Ra.init(e, t), ee.init(e, t), U(e, "shape", () => t.shape), e.keyof = () => Kt(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: nr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: nr() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Du() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (i) => Qs(e, i), e.safeExtend = (i) => en(e, i), e.merge = (i) => tn(e, i), e.pick = (i) => Js(e, i), e.omit = (i) => Ys(e, i), e.partial = (...i) => rn(Wr, e, i[0]), e.required = (...i) => sn(Kr, e, i[0]);
2173
+ Ra.init(e, t), ee.init(e, t), Z(e, "shape", () => t.shape), e.keyof = () => Xt(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: nr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: nr() }), e.strict = () => e.clone({ ...e._zod.def, catchall: Du() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (i) => Qs(e, i), e.safeExtend = (i) => en(e, i), e.merge = (i) => tn(e, i), e.pick = (i) => Js(e, i), e.omit = (i) => Ys(e, i), e.partial = (...i) => rn(Gr, e, i[0]), e.required = (...i) => sn(Wr, e, i[0]);
2174
2174
  });
2175
2175
  function Ne(e, t) {
2176
2176
  const i = {
2177
2177
  type: "object",
2178
2178
  shape: e ?? {},
2179
- ...R(t)
2179
+ ...O(t)
2180
2180
  };
2181
2181
  return new Vu(i);
2182
2182
  }
@@ -2187,7 +2187,7 @@ function ae(e, t) {
2187
2187
  return new zu({
2188
2188
  type: "union",
2189
2189
  options: e,
2190
- ...R(t)
2190
+ ...O(t)
2191
2191
  });
2192
2192
  }
2193
2193
  const ju = /* @__PURE__ */ w("ZodIntersection", (e, t) => {
@@ -2203,12 +2203,12 @@ function $u(e, t) {
2203
2203
  const Fu = /* @__PURE__ */ w("ZodRecord", (e, t) => {
2204
2204
  Va.init(e, t), ee.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
2205
2205
  });
2206
- function be(e, t, i) {
2206
+ function ge(e, t, i) {
2207
2207
  return new Fu({
2208
2208
  type: "record",
2209
2209
  keyType: e,
2210
2210
  valueType: t,
2211
- ...R(i)
2211
+ ...O(i)
2212
2212
  });
2213
2213
  }
2214
2214
  const di = /* @__PURE__ */ w("ZodEnum", (e, t) => {
@@ -2224,7 +2224,7 @@ const di = /* @__PURE__ */ w("ZodEnum", (e, t) => {
2224
2224
  return new di({
2225
2225
  ...t,
2226
2226
  checks: [],
2227
- ...R(n),
2227
+ ...O(n),
2228
2228
  entries: u
2229
2229
  });
2230
2230
  }, e.exclude = (r, n) => {
@@ -2237,17 +2237,17 @@ const di = /* @__PURE__ */ w("ZodEnum", (e, t) => {
2237
2237
  return new di({
2238
2238
  ...t,
2239
2239
  checks: [],
2240
- ...R(n),
2240
+ ...O(n),
2241
2241
  entries: u
2242
2242
  });
2243
2243
  };
2244
2244
  });
2245
- function Kt(e, t) {
2245
+ function Xt(e, t) {
2246
2246
  const i = Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e;
2247
2247
  return new di({
2248
2248
  type: "enum",
2249
2249
  entries: i,
2250
- ...R(t)
2250
+ ...O(t)
2251
2251
  });
2252
2252
  }
2253
2253
  const Bu = /* @__PURE__ */ w("ZodLiteral", (e, t) => {
@@ -2263,13 +2263,13 @@ function b(e, t) {
2263
2263
  return new Bu({
2264
2264
  type: "literal",
2265
2265
  values: Array.isArray(e) ? e : [e],
2266
- ...R(t)
2266
+ ...O(t)
2267
2267
  });
2268
2268
  }
2269
2269
  const Zu = /* @__PURE__ */ w("ZodTransform", (e, t) => {
2270
2270
  $a.init(e, t), ee.init(e, t), e._zod.parse = (i, r) => {
2271
2271
  if (r.direction === "backward")
2272
- throw new Cr(e.constructor.name);
2272
+ throw new Pr(e.constructor.name);
2273
2273
  i.addIssue = (u) => {
2274
2274
  if (typeof u == "string")
2275
2275
  i.issues.push(_t(u, i.value, t));
@@ -2288,11 +2288,11 @@ function Uu(e) {
2288
2288
  transform: e
2289
2289
  });
2290
2290
  }
2291
- const Wr = /* @__PURE__ */ w("ZodOptional", (e, t) => {
2291
+ const Gr = /* @__PURE__ */ w("ZodOptional", (e, t) => {
2292
2292
  Fa.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2293
2293
  });
2294
2294
  function ar(e) {
2295
- return new Wr({
2295
+ return new Gr({
2296
2296
  type: "optional",
2297
2297
  innerType: e
2298
2298
  });
@@ -2314,7 +2314,7 @@ function Gu(e, t) {
2314
2314
  type: "default",
2315
2315
  innerType: e,
2316
2316
  get defaultValue() {
2317
- return typeof t == "function" ? t() : Ir(t);
2317
+ return typeof t == "function" ? t() : Er(t);
2318
2318
  }
2319
2319
  });
2320
2320
  }
@@ -2326,18 +2326,18 @@ function Ku(e, t) {
2326
2326
  type: "prefault",
2327
2327
  innerType: e,
2328
2328
  get defaultValue() {
2329
- return typeof t == "function" ? t() : Ir(t);
2329
+ return typeof t == "function" ? t() : Er(t);
2330
2330
  }
2331
2331
  });
2332
2332
  }
2333
- const Kr = /* @__PURE__ */ w("ZodNonOptional", (e, t) => {
2333
+ const Wr = /* @__PURE__ */ w("ZodNonOptional", (e, t) => {
2334
2334
  qa.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2335
2335
  });
2336
2336
  function Xu(e, t) {
2337
- return new Kr({
2337
+ return new Wr({
2338
2338
  type: "nonoptional",
2339
2339
  innerType: e,
2340
- ...R(t)
2340
+ ...O(t)
2341
2341
  });
2342
2342
  }
2343
2343
  const Ju = /* @__PURE__ */ w("ZodCatch", (e, t) => {
@@ -2379,7 +2379,7 @@ function rc(e, t = {}) {
2379
2379
  function sc(e) {
2380
2380
  return Zo(e);
2381
2381
  }
2382
- const nc = ["amber", "green", "red", "other"], ac = Kt(nc), oc = ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"], uc = Kt(oc), cc = [
2382
+ const nc = ["amber", "green", "red", "other"], ac = Xt(nc), oc = ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"], uc = Xt(oc), cc = [
2383
2383
  "app",
2384
2384
  "connector",
2385
2385
  "connectorConnection",
@@ -2403,32 +2403,32 @@ const nc = ["amber", "green", "red", "other"], ac = Kt(nc), oc = ["alpha", "beta
2403
2403
  "presenter",
2404
2404
  "presenterPresentation",
2405
2405
  "tool"
2406
- ], hc = Kt(cc), lc = ae([b("en-au"), b("en-gb"), b("en-us"), b("es-es")]), pc = be(lc, O()), fc = Ne({
2407
- id: O(),
2406
+ ], hc = Xt(cc), lc = ae([b("en-au"), b("en-gb"), b("en-us"), b("es-es")]), pc = ge(lc, L()), fc = Ne({
2407
+ id: L(),
2408
2408
  color: ac,
2409
- label: O()
2409
+ label: L()
2410
2410
  }), dc = Ne({
2411
- id: O(),
2412
- label: be(O(), O()),
2413
- description: be(O(), O()),
2411
+ id: L(),
2412
+ label: ge(L(), L()),
2413
+ description: ge(L(), L()),
2414
2414
  firstCreatedAt: De().optional(),
2415
- icon: O().optional(),
2416
- iconDark: O().optional(),
2415
+ icon: L().optional(),
2416
+ iconDark: L().optional(),
2417
2417
  lastUpdatedAt: De().optional(),
2418
2418
  status: fc.nullable().optional(),
2419
2419
  statusId: uc,
2420
2420
  typeId: hc
2421
2421
  }), mc = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), yc = Ne({
2422
- id: O(),
2423
- label: O()
2422
+ id: L(),
2423
+ label: L()
2424
2424
  }), vc = Ne({
2425
2425
  activeConnectionCount: De().optional(),
2426
2426
  canDescribe: Lu().optional(),
2427
- id: O().optional(),
2427
+ id: L().optional(),
2428
2428
  authMethodId: ae([b("apiKey"), b("disabled"), b("oAuth2"), b("none")]),
2429
2429
  label: pc.optional(),
2430
2430
  maxConnectionCount: De().optional(),
2431
- params: He(be(O(), O())).optional()
2431
+ params: He(ge(L(), L())).optional()
2432
2432
  }), xc = ae([b("application"), b("curatedDataset"), b("database"), b("fileStore")]), gc = ae([
2433
2433
  b("abortOperation"),
2434
2434
  b("authenticateConnection"),
@@ -2444,17 +2444,17 @@ const nc = ["amber", "green", "red", "other"], ac = Kt(nc), oc = ["alpha", "beta
2444
2444
  b("upsertRecords")
2445
2445
  ]), bc = ae([b("bidirectional"), b("destination"), b("source"), b("unknown")]), _c = dc.extend({
2446
2446
  typeId: mc,
2447
- version: O()
2447
+ version: L()
2448
2448
  }), wc = _c.extend({
2449
2449
  category: yc.optional(),
2450
2450
  categoryId: xc,
2451
- implementations: be(O(), vc),
2451
+ implementations: ge(L(), vc),
2452
2452
  operations: He(gc),
2453
2453
  typeId: b("connector"),
2454
2454
  usageId: bc,
2455
- vendorAccountURL: O().nullable().optional(),
2456
- vendorDocumentationURL: O().nullable().optional(),
2457
- vendorHomeURL: O().nullable().optional()
2455
+ vendorAccountURL: L().nullable().optional(),
2456
+ vendorDocumentationURL: L().nullable().optional(),
2457
+ vendorHomeURL: L().nullable().optional()
2458
2458
  }), kc = ae([b("amber"), b("green"), b("red"), b("other")]), Sc = ae([
2459
2459
  b("alpha"),
2460
2460
  b("beta"),
@@ -2490,32 +2490,32 @@ const nc = ["amber", "green", "red", "other"], ac = Kt(nc), oc = ["alpha", "beta
2490
2490
  b("presenterPresentation"),
2491
2491
  b("tool")
2492
2492
  ]), cr = De(), Pc = Ne({
2493
- id: O(),
2493
+ id: L(),
2494
2494
  color: kc,
2495
- label: O()
2495
+ label: L()
2496
2496
  }), Cc = Ne({
2497
- id: O(),
2498
- label: be(O(), O()),
2499
- description: be(O(), O()),
2500
- icon: O().optional(),
2501
- iconDark: O().optional(),
2497
+ id: L(),
2498
+ label: ge(L(), L()),
2499
+ description: ge(L(), L()),
2500
+ icon: L().optional(),
2501
+ iconDark: L().optional(),
2502
2502
  order: De(),
2503
- path: O()
2504
- }), Xr = Ne({
2505
- id: O(),
2506
- label: be(O(), O()),
2507
- description: be(O(), O()),
2503
+ path: L()
2504
+ }), Kr = Ne({
2505
+ id: L(),
2506
+ label: ge(L(), L()),
2507
+ description: ge(L(), L()),
2508
2508
  firstCreatedAt: cr.optional(),
2509
- icon: O().optional(),
2510
- iconDark: O().optional(),
2509
+ icon: L().optional(),
2510
+ iconDark: L().optional(),
2511
2511
  lastUpdatedAt: cr.optional(),
2512
2512
  status: Pc.optional(),
2513
2513
  statusId: Sc,
2514
2514
  typeId: Tc
2515
- }), Ac = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), Ec = Xr.extend({
2515
+ }), Ac = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), Ec = Kr.extend({
2516
2516
  typeId: Ac,
2517
- version: O()
2518
- }), Ic = Xr.extend({
2517
+ version: L()
2518
+ }), Ic = Kr.extend({
2519
2519
  modelRefs: He(Cc),
2520
2520
  order: De()
2521
2521
  }), Nc = b("list"), Lc = Ec.extend({
@@ -2557,37 +2557,37 @@ const nc = ["amber", "green", "red", "other"], ac = Kt(nc), oc = ["alpha", "beta
2557
2557
  b("presenterPresentation"),
2558
2558
  b("tool")
2559
2559
  ]), hr = De(), Mc = Ne({
2560
- id: O(),
2560
+ id: L(),
2561
2561
  color: Oc,
2562
- label: O()
2562
+ label: L()
2563
2563
  }), Vc = Ne({
2564
- id: O(),
2565
- label: be(O(), O()),
2566
- description: be(O(), O()),
2567
- icon: O().optional(),
2568
- iconDark: O().optional(),
2564
+ id: L(),
2565
+ label: ge(L(), L()),
2566
+ description: ge(L(), L()),
2567
+ icon: L().optional(),
2568
+ iconDark: L().optional(),
2569
2569
  order: De(),
2570
- path: O()
2570
+ path: L()
2571
2571
  }), zc = Ne({
2572
- id: O(),
2573
- label: be(O(), O()),
2574
- description: be(O(), O()),
2572
+ id: L(),
2573
+ label: ge(L(), L()),
2574
+ description: ge(L(), L()),
2575
2575
  firstCreatedAt: hr.optional(),
2576
- icon: O().optional(),
2577
- iconDark: O().optional(),
2576
+ icon: L().optional(),
2577
+ iconDark: L().optional(),
2578
2578
  lastUpdatedAt: hr.optional(),
2579
2579
  status: Mc.optional(),
2580
2580
  statusId: Rc,
2581
2581
  typeId: Dc
2582
2582
  }), jc = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), $c = zc.extend({
2583
2583
  typeId: jc,
2584
- version: O()
2584
+ version: L()
2585
2585
  }), Fc = ae([b("list"), b("render"), b("setColorMode")]), Bc = $c.extend({
2586
2586
  presentations: He(Vc),
2587
2587
  operations: He(Fc),
2588
2588
  typeId: b("presenter")
2589
2589
  });
2590
- var Zc = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Jr = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 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, 229, 29, 3, 0, 496, 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], Uc = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Yr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", oi = {
2590
+ var Zc = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166, 1, 574, 3, 9, 9, 7, 9, 32, 4, 318, 1, 80, 3, 71, 10, 50, 3, 123, 2, 54, 14, 32, 10, 3, 1, 11, 3, 46, 10, 8, 0, 46, 9, 7, 2, 37, 13, 2, 9, 6, 1, 45, 0, 13, 2, 49, 13, 9, 3, 2, 11, 83, 11, 7, 0, 3, 0, 158, 11, 6, 9, 7, 3, 56, 1, 2, 6, 3, 1, 3, 2, 10, 0, 11, 1, 3, 6, 4, 4, 68, 8, 2, 0, 3, 0, 2, 3, 2, 4, 2, 0, 15, 1, 83, 17, 10, 9, 5, 0, 82, 19, 13, 9, 214, 6, 3, 8, 28, 1, 83, 16, 16, 9, 82, 12, 9, 9, 7, 19, 58, 14, 5, 9, 243, 14, 166, 9, 71, 5, 2, 1, 3, 3, 2, 0, 2, 1, 13, 9, 120, 6, 3, 6, 4, 0, 29, 9, 41, 6, 2, 3, 9, 0, 10, 10, 47, 15, 343, 9, 54, 7, 2, 7, 17, 9, 57, 21, 2, 13, 123, 5, 4, 0, 2, 1, 2, 6, 2, 0, 9, 9, 49, 4, 2, 1, 2, 4, 9, 9, 330, 3, 10, 1, 2, 0, 49, 6, 4, 4, 14, 10, 5350, 0, 7, 14, 11465, 27, 2343, 9, 87, 9, 39, 4, 60, 6, 26, 9, 535, 9, 470, 0, 2, 54, 8, 3, 82, 0, 12, 1, 19628, 1, 4178, 9, 519, 45, 3, 22, 543, 4, 4, 5, 9, 7, 3, 6, 31, 3, 149, 2, 1418, 49, 513, 54, 5, 49, 9, 0, 15, 0, 23, 4, 2, 14, 1361, 6, 2, 16, 3, 6, 2, 1, 2, 4, 101, 0, 161, 6, 10, 9, 357, 0, 62, 13, 499, 13, 245, 1, 2, 9, 726, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Xr = [0, 11, 2, 25, 2, 18, 2, 1, 2, 14, 3, 13, 35, 122, 70, 52, 268, 28, 4, 48, 48, 31, 14, 29, 6, 37, 11, 29, 3, 35, 5, 7, 2, 4, 43, 157, 19, 35, 5, 35, 5, 39, 9, 51, 13, 10, 2, 14, 2, 6, 2, 1, 2, 10, 2, 14, 2, 6, 2, 1, 4, 51, 13, 310, 10, 21, 11, 7, 25, 5, 2, 41, 2, 8, 70, 5, 3, 0, 2, 43, 2, 1, 4, 0, 3, 22, 11, 22, 10, 30, 66, 18, 2, 1, 11, 21, 11, 25, 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, 39, 27, 10, 22, 251, 41, 7, 1, 17, 2, 60, 28, 11, 0, 9, 21, 43, 17, 47, 20, 28, 22, 13, 52, 58, 1, 3, 0, 14, 44, 33, 24, 27, 35, 30, 0, 3, 0, 9, 34, 4, 0, 13, 47, 15, 3, 22, 0, 2, 0, 36, 17, 2, 24, 20, 1, 64, 6, 2, 0, 2, 3, 2, 14, 2, 9, 8, 46, 39, 7, 3, 1, 3, 21, 2, 6, 2, 1, 2, 4, 4, 0, 19, 0, 13, 4, 31, 9, 2, 0, 3, 0, 2, 37, 2, 0, 26, 0, 2, 0, 45, 52, 19, 3, 21, 2, 31, 47, 21, 1, 2, 0, 185, 46, 42, 3, 37, 47, 21, 0, 60, 42, 14, 0, 72, 26, 38, 6, 186, 43, 117, 63, 32, 7, 3, 0, 3, 7, 2, 1, 2, 23, 16, 0, 2, 0, 95, 7, 3, 38, 17, 0, 2, 0, 29, 0, 11, 39, 8, 0, 22, 0, 12, 45, 20, 0, 19, 72, 200, 32, 32, 8, 2, 36, 18, 0, 50, 29, 113, 6, 2, 1, 2, 37, 22, 0, 26, 5, 2, 1, 2, 31, 15, 0, 328, 18, 16, 0, 2, 12, 2, 33, 125, 0, 80, 921, 103, 110, 18, 195, 2637, 96, 16, 1071, 18, 5, 26, 3994, 6, 582, 6842, 29, 1763, 568, 8, 30, 18, 78, 18, 29, 19, 47, 17, 3, 32, 20, 6, 18, 433, 44, 212, 63, 129, 74, 6, 0, 67, 12, 65, 1, 2, 0, 29, 6135, 9, 1237, 42, 9, 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, 229, 29, 3, 0, 496, 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], Uc = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Jr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", oi = {
2591
2591
  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",
2592
2592
  5: "class enum extends super const export import",
2593
2593
  6: "enum",
@@ -2597,7 +2597,7 @@ var Zc = [509, 0, 227, 0, 150, 4, 294, 9, 1368, 2, 2, 1, 6, 3, 41, 2, 5, 0, 166,
2597
2597
  5: ui,
2598
2598
  "5module": ui + " export import",
2599
2599
  6: ui + " const class extends export import super"
2600
- }, Hc = /^in(stanceof)?$/, Gc = new RegExp("[" + Yr + "]"), Wc = new RegExp("[" + Yr + Uc + "]");
2600
+ }, Hc = /^in(stanceof)?$/, Gc = new RegExp("[" + Jr + "]"), Wc = new RegExp("[" + Jr + Uc + "]");
2601
2601
  function mi(e, t) {
2602
2602
  for (var i = 65536, r = 0; r < t.length; r += 2) {
2603
2603
  if (i += t[r], i > e)
@@ -2607,28 +2607,28 @@ function mi(e, t) {
2607
2607
  }
2608
2608
  return !1;
2609
2609
  }
2610
- function Ee(e, t) {
2611
- return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Gc.test(String.fromCharCode(e)) : t === !1 ? !1 : mi(e, Jr);
2610
+ function Ae(e, t) {
2611
+ return e < 65 ? e === 36 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Gc.test(String.fromCharCode(e)) : t === !1 ? !1 : mi(e, Xr);
2612
2612
  }
2613
2613
  function Me(e, t) {
2614
- return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Wc.test(String.fromCharCode(e)) : t === !1 ? !1 : mi(e, Jr) || mi(e, Zc);
2614
+ return e < 48 ? e === 36 : e < 58 ? !0 : e < 65 ? !1 : e < 91 ? !0 : e < 97 ? e === 95 : e < 123 ? !0 : e <= 65535 ? e >= 170 && Wc.test(String.fromCharCode(e)) : t === !1 ? !1 : mi(e, Xr) || mi(e, Zc);
2615
2615
  }
2616
2616
  var z = function(t, i) {
2617
2617
  i === void 0 && (i = {}), this.label = t, this.keyword = i.keyword, this.beforeExpr = !!i.beforeExpr, this.startsExpr = !!i.startsExpr, this.isLoop = !!i.isLoop, this.isAssign = !!i.isAssign, this.prefix = !!i.prefix, this.postfix = !!i.postfix, this.binop = i.binop || null, this.updateContext = null;
2618
2618
  };
2619
- function we(e, t) {
2619
+ function _e(e, t) {
2620
2620
  return new z(e, { beforeExpr: !0, binop: t });
2621
2621
  }
2622
- var ke = { beforeExpr: !0 }, fe = { startsExpr: !0 }, ot = {};
2623
- function F(e, t) {
2622
+ var we = { beforeExpr: !0 }, pe = { startsExpr: !0 }, ot = {};
2623
+ function $(e, t) {
2624
2624
  return t === void 0 && (t = {}), t.keyword = e, ot[e] = new z(e, t);
2625
2625
  }
2626
2626
  var l = {
2627
- num: new z("num", fe),
2628
- regexp: new z("regexp", fe),
2629
- string: new z("string", fe),
2630
- name: new z("name", fe),
2631
- privateId: new z("privateId", fe),
2627
+ num: new z("num", pe),
2628
+ regexp: new z("regexp", pe),
2629
+ string: new z("string", pe),
2630
+ name: new z("name", pe),
2631
+ privateId: new z("privateId", pe),
2632
2632
  eof: new z("eof"),
2633
2633
  // Punctuation token types.
2634
2634
  bracketL: new z("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -2637,17 +2637,17 @@ var l = {
2637
2637
  braceR: new z("}"),
2638
2638
  parenL: new z("(", { beforeExpr: !0, startsExpr: !0 }),
2639
2639
  parenR: new z(")"),
2640
- comma: new z(",", ke),
2641
- semi: new z(";", ke),
2642
- colon: new z(":", ke),
2640
+ comma: new z(",", we),
2641
+ semi: new z(";", we),
2642
+ colon: new z(":", we),
2643
2643
  dot: new z("."),
2644
- question: new z("?", ke),
2644
+ question: new z("?", we),
2645
2645
  questionDot: new z("?."),
2646
- arrow: new z("=>", ke),
2646
+ arrow: new z("=>", we),
2647
2647
  template: new z("template"),
2648
2648
  invalidTemplate: new z("invalidTemplate"),
2649
- ellipsis: new z("...", ke),
2650
- backQuote: new z("`", fe),
2649
+ ellipsis: new z("...", we),
2650
+ backQuote: new z("`", pe),
2651
2651
  dollarBraceL: new z("${", { beforeExpr: !0, startsExpr: !0 }),
2652
2652
  // Operators. These carry several kinds of properties to help the
2653
2653
  // parser use them properly (the presence of these properties is
@@ -2666,61 +2666,61 @@ var l = {
2666
2666
  assign: new z("_=", { beforeExpr: !0, isAssign: !0 }),
2667
2667
  incDec: new z("++/--", { prefix: !0, postfix: !0, startsExpr: !0 }),
2668
2668
  prefix: new z("!/~", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2669
- logicalOR: we("||", 1),
2670
- logicalAND: we("&&", 2),
2671
- bitwiseOR: we("|", 3),
2672
- bitwiseXOR: we("^", 4),
2673
- bitwiseAND: we("&", 5),
2674
- equality: we("==/!=/===/!==", 6),
2675
- relational: we("</>/<=/>=", 7),
2676
- bitShift: we("<</>>/>>>", 8),
2669
+ logicalOR: _e("||", 1),
2670
+ logicalAND: _e("&&", 2),
2671
+ bitwiseOR: _e("|", 3),
2672
+ bitwiseXOR: _e("^", 4),
2673
+ bitwiseAND: _e("&", 5),
2674
+ equality: _e("==/!=/===/!==", 6),
2675
+ relational: _e("</>/<=/>=", 7),
2676
+ bitShift: _e("<</>>/>>>", 8),
2677
2677
  plusMin: new z("+/-", { beforeExpr: !0, binop: 9, prefix: !0, startsExpr: !0 }),
2678
- modulo: we("%", 10),
2679
- star: we("*", 10),
2680
- slash: we("/", 10),
2678
+ modulo: _e("%", 10),
2679
+ star: _e("*", 10),
2680
+ slash: _e("/", 10),
2681
2681
  starstar: new z("**", { beforeExpr: !0 }),
2682
- coalesce: we("??", 1),
2682
+ coalesce: _e("??", 1),
2683
2683
  // Keyword token types.
2684
- _break: F("break"),
2685
- _case: F("case", ke),
2686
- _catch: F("catch"),
2687
- _continue: F("continue"),
2688
- _debugger: F("debugger"),
2689
- _default: F("default", ke),
2690
- _do: F("do", { isLoop: !0, beforeExpr: !0 }),
2691
- _else: F("else", ke),
2692
- _finally: F("finally"),
2693
- _for: F("for", { isLoop: !0 }),
2694
- _function: F("function", fe),
2695
- _if: F("if"),
2696
- _return: F("return", ke),
2697
- _switch: F("switch"),
2698
- _throw: F("throw", ke),
2699
- _try: F("try"),
2700
- _var: F("var"),
2701
- _const: F("const"),
2702
- _while: F("while", { isLoop: !0 }),
2703
- _with: F("with"),
2704
- _new: F("new", { beforeExpr: !0, startsExpr: !0 }),
2705
- _this: F("this", fe),
2706
- _super: F("super", fe),
2707
- _class: F("class", fe),
2708
- _extends: F("extends", ke),
2709
- _export: F("export"),
2710
- _import: F("import", fe),
2711
- _null: F("null", fe),
2712
- _true: F("true", fe),
2713
- _false: F("false", fe),
2714
- _in: F("in", { beforeExpr: !0, binop: 7 }),
2715
- _instanceof: F("instanceof", { beforeExpr: !0, binop: 7 }),
2716
- _typeof: F("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2717
- _void: F("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2718
- _delete: F("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2719
- }, ce = /\r\n?|\n|\u2028|\u2029/, Qr = new RegExp(ce.source, "g");
2684
+ _break: $("break"),
2685
+ _case: $("case", we),
2686
+ _catch: $("catch"),
2687
+ _continue: $("continue"),
2688
+ _debugger: $("debugger"),
2689
+ _default: $("default", we),
2690
+ _do: $("do", { isLoop: !0, beforeExpr: !0 }),
2691
+ _else: $("else", we),
2692
+ _finally: $("finally"),
2693
+ _for: $("for", { isLoop: !0 }),
2694
+ _function: $("function", pe),
2695
+ _if: $("if"),
2696
+ _return: $("return", we),
2697
+ _switch: $("switch"),
2698
+ _throw: $("throw", we),
2699
+ _try: $("try"),
2700
+ _var: $("var"),
2701
+ _const: $("const"),
2702
+ _while: $("while", { isLoop: !0 }),
2703
+ _with: $("with"),
2704
+ _new: $("new", { beforeExpr: !0, startsExpr: !0 }),
2705
+ _this: $("this", pe),
2706
+ _super: $("super", pe),
2707
+ _class: $("class", pe),
2708
+ _extends: $("extends", we),
2709
+ _export: $("export"),
2710
+ _import: $("import", pe),
2711
+ _null: $("null", pe),
2712
+ _true: $("true", pe),
2713
+ _false: $("false", pe),
2714
+ _in: $("in", { beforeExpr: !0, binop: 7 }),
2715
+ _instanceof: $("instanceof", { beforeExpr: !0, binop: 7 }),
2716
+ _typeof: $("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2717
+ _void: $("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2718
+ _delete: $("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2719
+ }, ce = /\r\n?|\n|\u2028|\u2029/, Yr = new RegExp(ce.source, "g");
2720
2720
  function Qe(e) {
2721
2721
  return e === 10 || e === 13 || e === 8232 || e === 8233;
2722
2722
  }
2723
- function es(e, t, i) {
2723
+ function Qr(e, t, i) {
2724
2724
  i === void 0 && (i = e.length);
2725
2725
  for (var r = t; r < i; r++) {
2726
2726
  var n = e.charCodeAt(r);
@@ -2729,7 +2729,7 @@ function es(e, t, i) {
2729
2729
  }
2730
2730
  return -1;
2731
2731
  }
2732
- var Ci = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, ne = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ts = Object.prototype, Kc = ts.hasOwnProperty, Xc = ts.toString, lt = Object.hasOwn || (function(e, t) {
2732
+ var Ci = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, ne = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, es = Object.prototype, Kc = es.hasOwnProperty, Xc = es.toString, lt = Object.hasOwn || (function(e, t) {
2733
2733
  return Kc.call(e, t);
2734
2734
  }), lr = Array.isArray || (function(e) {
2735
2735
  return Xc.call(e) === "[object Array]";
@@ -2746,18 +2746,18 @@ var Jc = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\u
2746
2746
  ut.prototype.offset = function(t) {
2747
2747
  return new ut(this.line, this.column + t);
2748
2748
  };
2749
- var kt = function(t, i, r) {
2749
+ var St = function(t, i, r) {
2750
2750
  this.start = i, this.end = r, t.sourceFile !== null && (this.source = t.sourceFile);
2751
2751
  };
2752
2752
  function Ai(e, t) {
2753
2753
  for (var i = 1, r = 0; ; ) {
2754
- var n = es(e, r, t);
2754
+ var n = Qr(e, r, t);
2755
2755
  if (n < 0)
2756
2756
  return new ut(i, t - r);
2757
2757
  ++i, r = n;
2758
2758
  }
2759
2759
  }
2760
- var $t = {
2760
+ var Ft = {
2761
2761
  // `ecmaVersion` indicates the ECMAScript version to parse. Must be
2762
2762
  // either 3, 5, 6 (or 2015), 7 (2016), 8 (2017), 9 (2018), 10
2763
2763
  // (2019), 11 (2020), 12 (2021), 13 (2022), 14 (2023), or `"latest"`
@@ -2856,8 +2856,8 @@ var $t = {
2856
2856
  }, fr = !1;
2857
2857
  function Yc(e) {
2858
2858
  var t = {};
2859
- for (var i in $t)
2860
- t[i] = e && lt(e, i) ? e[i] : $t[i];
2859
+ for (var i in Ft)
2860
+ t[i] = e && lt(e, i) ? e[i] : Ft[i];
2861
2861
  if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!fr && typeof console == "object" && console.warn && (fr = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
2862
2862
  Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion = 11) : t.ecmaVersion >= 2015 && (t.ecmaVersion -= 2009), t.allowReserved == null && (t.allowReserved = t.ecmaVersion < 5), (!e || e.allowHashBang == null) && (t.allowHashBang = t.ecmaVersion >= 14), lr(t.onToken)) {
2863
2863
  var r = t.onToken;
@@ -2875,14 +2875,14 @@ function Qc(e, t) {
2875
2875
  start: n,
2876
2876
  end: u
2877
2877
  };
2878
- e.locations && (y.loc = new kt(this, h, d)), e.ranges && (y.range = [n, u]), t.push(y);
2878
+ e.locations && (y.loc = new St(this, h, d)), e.ranges && (y.range = [n, u]), t.push(y);
2879
2879
  };
2880
2880
  }
2881
- var wt = 1, pt = 2, Ei = 4, is = 8, Ii = 16, rs = 32, Xt = 64, ss = 128, et = 256, St = 512, Jt = wt | pt | et;
2881
+ var wt = 1, pt = 2, Ei = 4, ts = 8, Ii = 16, is = 32, Jt = 64, rs = 128, et = 256, Tt = 512, Yt = wt | pt | et;
2882
2882
  function Ni(e, t) {
2883
- return pt | (e ? Ei : 0) | (t ? is : 0);
2883
+ return pt | (e ? Ei : 0) | (t ? ts : 0);
2884
2884
  }
2885
- var Ft = 0, Li = 1, je = 2, ns = 3, as = 4, os = 5, J = function(t, i, r) {
2885
+ var Bt = 0, Li = 1, je = 2, ss = 3, ns = 4, as = 5, J = function(t, i, r) {
2886
2886
  this.options = t = Yc(t), this.sourceFile = t.sourceFile, this.keywords = Ze(qc[t.ecmaVersion >= 6 ? 6 : t.sourceType === "module" ? "5module" : 5]);
2887
2887
  var n = "";
2888
2888
  t.allowReserved !== !0 && (n = oi[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (n += " await")), this.reservedWords = Ze(n);
@@ -2898,7 +2898,7 @@ Le.inFunction.get = function() {
2898
2898
  return (this.currentVarScope().flags & pt) > 0;
2899
2899
  };
2900
2900
  Le.inGenerator.get = function() {
2901
- return (this.currentVarScope().flags & is) > 0;
2901
+ return (this.currentVarScope().flags & ts) > 0;
2902
2902
  };
2903
2903
  Le.inAsync.get = function() {
2904
2904
  return (this.currentVarScope().flags & Ei) > 0;
@@ -2906,7 +2906,7 @@ Le.inAsync.get = function() {
2906
2906
  Le.canAwait.get = function() {
2907
2907
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
2908
2908
  var t = this.scopeStack[e], i = t.flags;
2909
- if (i & (et | St))
2909
+ if (i & (et | Tt))
2910
2910
  return !1;
2911
2911
  if (i & pt)
2912
2912
  return (i & Ei) > 0;
@@ -2915,10 +2915,10 @@ Le.canAwait.get = function() {
2915
2915
  };
2916
2916
  Le.allowSuper.get = function() {
2917
2917
  var e = this.currentThisScope(), t = e.flags;
2918
- return (t & Xt) > 0 || this.options.allowSuperOutsideMethod;
2918
+ return (t & Jt) > 0 || this.options.allowSuperOutsideMethod;
2919
2919
  };
2920
2920
  Le.allowDirectSuper.get = function() {
2921
- return (this.currentThisScope().flags & ss) > 0;
2921
+ return (this.currentThisScope().flags & rs) > 0;
2922
2922
  };
2923
2923
  Le.treatFunctionsAsVar.get = function() {
2924
2924
  return this.treatFunctionsAsVarInScope(this.currentScope());
@@ -2926,7 +2926,7 @@ Le.treatFunctionsAsVar.get = function() {
2926
2926
  Le.allowNewDotTarget.get = function() {
2927
2927
  for (var e = this.scopeStack.length - 1; e >= 0; e--) {
2928
2928
  var t = this.scopeStack[e], i = t.flags;
2929
- if (i & (et | St) || i & pt && !(i & Ii))
2929
+ if (i & (et | Tt) || i & pt && !(i & Ii))
2930
2930
  return !0;
2931
2931
  }
2932
2932
  return !1;
@@ -3000,7 +3000,7 @@ he.expect = function(e) {
3000
3000
  he.unexpected = function(e) {
3001
3001
  this.raise(e ?? this.start, "Unexpected token");
3002
3002
  };
3003
- var Yt = function() {
3003
+ var Qt = function() {
3004
3004
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3005
3005
  };
3006
3006
  he.checkPatternErrors = function(e, t) {
@@ -3024,8 +3024,8 @@ he.checkYieldAwaitInDefaultParams = function() {
3024
3024
  he.isSimpleAssignTarget = function(e) {
3025
3025
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
3026
3026
  };
3027
- var I = J.prototype;
3028
- I.parseTopLevel = function(e) {
3027
+ var E = J.prototype;
3028
+ E.parseTopLevel = function(e) {
3029
3029
  var t = /* @__PURE__ */ Object.create(null);
3030
3030
  for (e.body || (e.body = []); this.type !== l.eof; ) {
3031
3031
  var i = this.parseStatement(null, !0, t);
@@ -3039,7 +3039,7 @@ I.parseTopLevel = function(e) {
3039
3039
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
3040
3040
  };
3041
3041
  var Oi = { kind: "loop" }, th = { kind: "switch" };
3042
- I.isLet = function(e) {
3042
+ E.isLet = function(e) {
3043
3043
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
3044
3044
  return !1;
3045
3045
  ne.lastIndex = this.pos;
@@ -3050,7 +3050,7 @@ I.isLet = function(e) {
3050
3050
  return !1;
3051
3051
  if (r === 123 || r > 55295 && r < 56320)
3052
3052
  return !0;
3053
- if (Ee(r, !0)) {
3053
+ if (Ae(r, !0)) {
3054
3054
  for (var n = i + 1; Me(r = this.input.charCodeAt(n), !0); )
3055
3055
  ++n;
3056
3056
  if (r === 92 || r > 55295 && r < 56320)
@@ -3061,14 +3061,14 @@ I.isLet = function(e) {
3061
3061
  }
3062
3062
  return !1;
3063
3063
  };
3064
- I.isAsyncFunction = function() {
3064
+ E.isAsyncFunction = function() {
3065
3065
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
3066
3066
  return !1;
3067
3067
  ne.lastIndex = this.pos;
3068
3068
  var e = ne.exec(this.input), t = this.pos + e[0].length, i;
3069
3069
  return !ce.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Me(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
3070
3070
  };
3071
- I.isUsingKeyword = function(e, t) {
3071
+ E.isUsingKeyword = function(e, t) {
3072
3072
  if (this.options.ecmaVersion < 17 || !this.isContextual(e ? "await" : "using"))
3073
3073
  return !1;
3074
3074
  ne.lastIndex = this.pos;
@@ -3090,15 +3090,15 @@ I.isUsingKeyword = function(e, t) {
3090
3090
  return !1;
3091
3091
  }
3092
3092
  var o = this.input.charCodeAt(r);
3093
- return Ee(o, !0) || o === 92;
3093
+ return Ae(o, !0) || o === 92;
3094
3094
  };
3095
- I.isAwaitUsing = function(e) {
3095
+ E.isAwaitUsing = function(e) {
3096
3096
  return this.isUsingKeyword(!0, e);
3097
3097
  };
3098
- I.isUsing = function(e) {
3098
+ E.isUsing = function(e) {
3099
3099
  return this.isUsingKeyword(!1, e);
3100
3100
  };
3101
- I.parseStatement = function(e, t, i) {
3101
+ E.parseStatement = function(e, t, i) {
3102
3102
  var r = this.type, n = this.startNode(), u;
3103
3103
  switch (this.isLet(e) && (r = l._var, u = "let"), r) {
3104
3104
  case l._break:
@@ -3155,11 +3155,11 @@ I.parseStatement = function(e, t, i) {
3155
3155
  var o = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
3156
3156
  if (o)
3157
3157
  return t && this.options.sourceType === "script" && this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script`"), o === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(n, !1, o), this.semicolon(), this.finishNode(n, "VariableDeclaration");
3158
- var k = this.value, T = this.parseExpression();
3159
- return r === l.name && T.type === "Identifier" && this.eat(l.colon) ? this.parseLabeledStatement(n, k, T, e) : this.parseExpressionStatement(n, T);
3158
+ var k = this.value, P = this.parseExpression();
3159
+ return r === l.name && P.type === "Identifier" && this.eat(l.colon) ? this.parseLabeledStatement(n, k, P, e) : this.parseExpressionStatement(n, P);
3160
3160
  }
3161
3161
  };
3162
- I.parseBreakContinueStatement = function(e, t) {
3162
+ E.parseBreakContinueStatement = function(e, t) {
3163
3163
  var i = t === "break";
3164
3164
  this.next(), this.eat(l.semi) || this.insertSemicolon() ? e.label = null : this.type !== l.name ? this.unexpected() : (e.label = this.parseIdent(), this.semicolon());
3165
3165
  for (var r = 0; r < this.labels.length; ++r) {
@@ -3169,13 +3169,13 @@ I.parseBreakContinueStatement = function(e, t) {
3169
3169
  }
3170
3170
  return r === this.labels.length && this.raise(e.start, "Unsyntactic " + t), this.finishNode(e, i ? "BreakStatement" : "ContinueStatement");
3171
3171
  };
3172
- I.parseDebuggerStatement = function(e) {
3172
+ E.parseDebuggerStatement = function(e) {
3173
3173
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
3174
3174
  };
3175
- I.parseDoStatement = function(e) {
3175
+ E.parseDoStatement = function(e) {
3176
3176
  return this.next(), this.labels.push(Oi), e.body = this.parseStatement("do"), this.labels.pop(), this.expect(l._while), e.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(l.semi) : this.semicolon(), this.finishNode(e, "DoWhileStatement");
3177
3177
  };
3178
- I.parseForStatement = function(e) {
3178
+ E.parseForStatement = function(e) {
3179
3179
  this.next();
3180
3180
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
3181
3181
  if (this.labels.push(Oi), this.enterScope(0), this.expect(l.parenL), this.type === l.semi)
@@ -3190,22 +3190,22 @@ I.parseForStatement = function(e) {
3190
3190
  var y = this.startNode();
3191
3191
  return this.next(), d === "await using" && this.next(), this.parseVar(y, !0, d), this.finishNode(y, "VariableDeclaration"), this.parseForAfterInit(e, y, t);
3192
3192
  }
3193
- var o = this.containsEsc, k = new Yt(), T = this.start, A = t > -1 ? this.parseExprSubscripts(k, "await") : this.parseExpression(!0, k);
3194
- return this.type === l._in || (h = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === l._in && this.unexpected(t), e.await = !0) : h && this.options.ecmaVersion >= 8 && (A.start === T && !o && A.type === "Identifier" && A.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), u && h && this.raise(A.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(A, !1, k), this.checkLValPattern(A), this.parseForIn(e, A)) : (this.checkExpressionErrors(k, !0), t > -1 && this.unexpected(t), this.parseFor(e, A));
3193
+ var o = this.containsEsc, k = new Qt(), P = this.start, D = t > -1 ? this.parseExprSubscripts(k, "await") : this.parseExpression(!0, k);
3194
+ return this.type === l._in || (h = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === l._in && this.unexpected(t), e.await = !0) : h && this.options.ecmaVersion >= 8 && (D.start === P && !o && D.type === "Identifier" && D.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), u && h && this.raise(D.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(D, !1, k), this.checkLValPattern(D), this.parseForIn(e, D)) : (this.checkExpressionErrors(k, !0), t > -1 && this.unexpected(t), this.parseFor(e, D));
3195
3195
  };
3196
- I.parseForAfterInit = function(e, t, i) {
3196
+ E.parseForAfterInit = function(e, t, i) {
3197
3197
  return (this.type === l._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === l._in ? i > -1 && this.unexpected(i) : e.await = i > -1), this.parseForIn(e, t)) : (i > -1 && this.unexpected(i), this.parseFor(e, t));
3198
3198
  };
3199
- I.parseFunctionStatement = function(e, t, i) {
3199
+ E.parseFunctionStatement = function(e, t, i) {
3200
3200
  return this.next(), this.parseFunction(e, gt | (i ? 0 : yi), !1, t);
3201
3201
  };
3202
- I.parseIfStatement = function(e) {
3202
+ E.parseIfStatement = function(e) {
3203
3203
  return this.next(), e.test = this.parseParenExpression(), e.consequent = this.parseStatement("if"), e.alternate = this.eat(l._else) ? this.parseStatement("if") : null, this.finishNode(e, "IfStatement");
3204
3204
  };
3205
- I.parseReturnStatement = function(e) {
3205
+ E.parseReturnStatement = function(e) {
3206
3206
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(l.semi) || this.insertSemicolon() ? e.argument = null : (e.argument = this.parseExpression(), this.semicolon()), this.finishNode(e, "ReturnStatement");
3207
3207
  };
3208
- I.parseSwitchStatement = function(e) {
3208
+ E.parseSwitchStatement = function(e) {
3209
3209
  this.next(), e.discriminant = this.parseParenExpression(), e.cases = [], this.expect(l.braceL), this.labels.push(th), this.enterScope(0);
3210
3210
  for (var t, i = !1; this.type !== l.braceR; )
3211
3211
  if (this.type === l._case || this.type === l._default) {
@@ -3215,34 +3215,34 @@ I.parseSwitchStatement = function(e) {
3215
3215
  t || this.unexpected(), t.consequent.push(this.parseStatement(null));
3216
3216
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
3217
3217
  };
3218
- I.parseThrowStatement = function(e) {
3218
+ E.parseThrowStatement = function(e) {
3219
3219
  return this.next(), ce.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e.argument = this.parseExpression(), this.semicolon(), this.finishNode(e, "ThrowStatement");
3220
3220
  };
3221
3221
  var ih = [];
3222
- I.parseCatchClauseParam = function() {
3222
+ E.parseCatchClauseParam = function() {
3223
3223
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
3224
- return this.enterScope(t ? rs : 0), this.checkLValPattern(e, t ? as : je), this.expect(l.parenR), e;
3224
+ return this.enterScope(t ? is : 0), this.checkLValPattern(e, t ? ns : je), this.expect(l.parenR), e;
3225
3225
  };
3226
- I.parseTryStatement = function(e) {
3226
+ E.parseTryStatement = function(e) {
3227
3227
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === l._catch) {
3228
3228
  var t = this.startNode();
3229
3229
  this.next(), this.eat(l.parenL) ? t.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), t.param = null, this.enterScope(0)), t.body = this.parseBlock(!1), this.exitScope(), e.handler = this.finishNode(t, "CatchClause");
3230
3230
  }
3231
3231
  return e.finalizer = this.eat(l._finally) ? this.parseBlock() : null, !e.handler && !e.finalizer && this.raise(e.start, "Missing catch or finally clause"), this.finishNode(e, "TryStatement");
3232
3232
  };
3233
- I.parseVarStatement = function(e, t, i) {
3233
+ E.parseVarStatement = function(e, t, i) {
3234
3234
  return this.next(), this.parseVar(e, !1, t, i), this.semicolon(), this.finishNode(e, "VariableDeclaration");
3235
3235
  };
3236
- I.parseWhileStatement = function(e) {
3236
+ E.parseWhileStatement = function(e) {
3237
3237
  return this.next(), e.test = this.parseParenExpression(), this.labels.push(Oi), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
3238
3238
  };
3239
- I.parseWithStatement = function(e) {
3239
+ E.parseWithStatement = function(e) {
3240
3240
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), e.object = this.parseParenExpression(), e.body = this.parseStatement("with"), this.finishNode(e, "WithStatement");
3241
3241
  };
3242
- I.parseEmptyStatement = function(e) {
3242
+ E.parseEmptyStatement = function(e) {
3243
3243
  return this.next(), this.finishNode(e, "EmptyStatement");
3244
3244
  };
3245
- I.parseLabeledStatement = function(e, t, i, r) {
3245
+ E.parseLabeledStatement = function(e, t, i, r) {
3246
3246
  for (var n = 0, u = this.labels; n < u.length; n += 1) {
3247
3247
  var h = u[n];
3248
3248
  h.name === t && this.raise(i.start, "Label '" + t + "' is already declared");
@@ -3256,27 +3256,27 @@ I.parseLabeledStatement = function(e, t, i, r) {
3256
3256
  }
3257
3257
  return this.labels.push({ name: t, kind: d, statementStart: this.start }), e.body = this.parseStatement(r ? r.indexOf("label") === -1 ? r + "label" : r : "label"), this.labels.pop(), e.label = i, this.finishNode(e, "LabeledStatement");
3258
3258
  };
3259
- I.parseExpressionStatement = function(e, t) {
3259
+ E.parseExpressionStatement = function(e, t) {
3260
3260
  return e.expression = t, this.semicolon(), this.finishNode(e, "ExpressionStatement");
3261
3261
  };
3262
- I.parseBlock = function(e, t, i) {
3262
+ E.parseBlock = function(e, t, i) {
3263
3263
  for (e === void 0 && (e = !0), t === void 0 && (t = this.startNode()), t.body = [], this.expect(l.braceL), e && this.enterScope(0); this.type !== l.braceR; ) {
3264
3264
  var r = this.parseStatement(null);
3265
3265
  t.body.push(r);
3266
3266
  }
3267
3267
  return i && (this.strict = !1), this.next(), e && this.exitScope(), this.finishNode(t, "BlockStatement");
3268
3268
  };
3269
- I.parseFor = function(e, t) {
3269
+ E.parseFor = function(e, t) {
3270
3270
  return e.init = t, this.expect(l.semi), e.test = this.type === l.semi ? null : this.parseExpression(), this.expect(l.semi), e.update = this.type === l.parenR ? null : this.parseExpression(), this.expect(l.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, "ForStatement");
3271
3271
  };
3272
- I.parseForIn = function(e, t) {
3272
+ E.parseForIn = function(e, t) {
3273
3273
  var i = this.type === l._in;
3274
3274
  return this.next(), t.type === "VariableDeclaration" && t.declarations[0].init != null && (!i || this.options.ecmaVersion < 8 || this.strict || t.kind !== "var" || t.declarations[0].id.type !== "Identifier") && this.raise(
3275
3275
  t.start,
3276
3276
  (i ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"
3277
3277
  ), e.left = t, e.right = i ? this.parseExpression() : this.parseMaybeAssign(), this.expect(l.parenR), e.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(e, i ? "ForInStatement" : "ForOfStatement");
3278
3278
  };
3279
- I.parseVar = function(e, t, i, r) {
3279
+ E.parseVar = function(e, t, i, r) {
3280
3280
  for (e.declarations = [], e.kind = i; ; ) {
3281
3281
  var n = this.startNode();
3282
3282
  if (this.parseVarId(n, i), this.eat(l.eq) ? n.init = this.parseMaybeAssign(t) : !r && i === "const" && !(this.type === l._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !r && (i === "using" || i === "await using") && this.options.ecmaVersion >= 17 && this.type !== l._in && !this.isContextual("of") ? this.raise(this.lastTokEnd, "Missing initializer in " + i + " declaration") : !r && n.id.type !== "Identifier" && !(t && (this.type === l._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : n.init = null, e.declarations.push(this.finishNode(n, "VariableDeclarator")), !this.eat(l.comma))
@@ -3284,19 +3284,19 @@ I.parseVar = function(e, t, i, r) {
3284
3284
  }
3285
3285
  return e;
3286
3286
  };
3287
- I.parseVarId = function(e, t) {
3287
+ E.parseVarId = function(e, t) {
3288
3288
  e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Li : je, !1);
3289
3289
  };
3290
- var gt = 1, yi = 2, us = 4;
3291
- I.parseFunction = function(e, t, i, r, n) {
3292
- this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === l.star && t & yi && this.unexpected(), e.generator = this.eat(l.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & gt && (e.id = t & us && this.type !== l.name ? null : this.parseIdent(), e.id && !(t & yi) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Li : je : ns));
3290
+ var gt = 1, yi = 2, os = 4;
3291
+ E.parseFunction = function(e, t, i, r, n) {
3292
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === l.star && t & yi && this.unexpected(), e.generator = this.eat(l.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & gt && (e.id = t & os && this.type !== l.name ? null : this.parseIdent(), e.id && !(t & yi) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Li : je : ss));
3293
3293
  var u = this.yieldPos, h = this.awaitPos, d = this.awaitIdentPos;
3294
3294
  return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ni(e.async, e.generator)), t & gt || (e.id = this.type === l.name ? this.parseIdent() : null), this.parseFunctionParams(e), this.parseFunctionBody(e, i, !1, n), this.yieldPos = u, this.awaitPos = h, this.awaitIdentPos = d, this.finishNode(e, t & gt ? "FunctionDeclaration" : "FunctionExpression");
3295
3295
  };
3296
- I.parseFunctionParams = function(e) {
3296
+ E.parseFunctionParams = function(e) {
3297
3297
  this.expect(l.parenL), e.params = this.parseBindingList(l.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
3298
3298
  };
3299
- I.parseClass = function(e, t) {
3299
+ E.parseClass = function(e, t) {
3300
3300
  this.next();
3301
3301
  var i = this.strict;
3302
3302
  this.strict = !0, this.parseClassId(e, t), this.parseClassSuper(e);
@@ -3307,7 +3307,7 @@ I.parseClass = function(e, t) {
3307
3307
  }
3308
3308
  return this.strict = i, this.next(), e.body = this.finishNode(n, "ClassBody"), this.exitClassBody(), this.finishNode(e, t ? "ClassDeclaration" : "ClassExpression");
3309
3309
  };
3310
- I.parseClassElement = function(e) {
3310
+ E.parseClassElement = function(e) {
3311
3311
  if (this.eat(l.semi))
3312
3312
  return null;
3313
3313
  var t = this.options.ecmaVersion, i = this.startNode(), r = "", n = !1, u = !1, h = "method", d = !1;
@@ -3321,47 +3321,47 @@ I.parseClassElement = function(e) {
3321
3321
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? h = y : r = y);
3322
3322
  }
3323
3323
  if (r ? (i.computed = !1, i.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), i.key.name = r, this.finishNode(i.key, "Identifier")) : this.parseClassElementName(i), t < 13 || this.type === l.parenL || h !== "method" || n || u) {
3324
- var o = !i.static && Bt(i, "constructor"), k = o && e;
3324
+ var o = !i.static && Zt(i, "constructor"), k = o && e;
3325
3325
  o && h !== "method" && this.raise(i.key.start, "Constructor can't have get/set modifier"), i.kind = o ? "constructor" : h, this.parseClassMethod(i, n, u, k);
3326
3326
  } else
3327
3327
  this.parseClassField(i);
3328
3328
  return i;
3329
3329
  };
3330
- I.isClassElementNameStart = function() {
3330
+ E.isClassElementNameStart = function() {
3331
3331
  return this.type === l.name || this.type === l.privateId || this.type === l.num || this.type === l.string || this.type === l.bracketL || this.type.keyword;
3332
3332
  };
3333
- I.parseClassElementName = function(e) {
3333
+ E.parseClassElementName = function(e) {
3334
3334
  this.type === l.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), e.computed = !1, e.key = this.parsePrivateIdent()) : this.parsePropertyName(e);
3335
3335
  };
3336
- I.parseClassMethod = function(e, t, i, r) {
3336
+ E.parseClassMethod = function(e, t, i, r) {
3337
3337
  var n = e.key;
3338
- e.kind === "constructor" ? (t && this.raise(n.start, "Constructor can't be a generator"), i && this.raise(n.start, "Constructor can't be an async method")) : e.static && Bt(e, "prototype") && this.raise(n.start, "Classes may not have a static property named prototype");
3338
+ e.kind === "constructor" ? (t && this.raise(n.start, "Constructor can't be a generator"), i && this.raise(n.start, "Constructor can't be an async method")) : e.static && Zt(e, "prototype") && this.raise(n.start, "Classes may not have a static property named prototype");
3339
3339
  var u = e.value = this.parseMethod(t, i, r);
3340
3340
  return e.kind === "get" && u.params.length !== 0 && this.raiseRecoverable(u.start, "getter should have no params"), e.kind === "set" && u.params.length !== 1 && this.raiseRecoverable(u.start, "setter should have exactly one param"), e.kind === "set" && u.params[0].type === "RestElement" && this.raiseRecoverable(u.params[0].start, "Setter cannot use rest params"), this.finishNode(e, "MethodDefinition");
3341
3341
  };
3342
- I.parseClassField = function(e) {
3343
- return Bt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Bt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(l.eq) ? (this.enterScope(St | Xt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3342
+ E.parseClassField = function(e) {
3343
+ return Zt(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Zt(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(l.eq) ? (this.enterScope(Tt | Jt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3344
3344
  };
3345
- I.parseClassStaticBlock = function(e) {
3345
+ E.parseClassStaticBlock = function(e) {
3346
3346
  e.body = [];
3347
3347
  var t = this.labels;
3348
- for (this.labels = [], this.enterScope(et | Xt); this.type !== l.braceR; ) {
3348
+ for (this.labels = [], this.enterScope(et | Jt); this.type !== l.braceR; ) {
3349
3349
  var i = this.parseStatement(null);
3350
3350
  e.body.push(i);
3351
3351
  }
3352
3352
  return this.next(), this.exitScope(), this.labels = t, this.finishNode(e, "StaticBlock");
3353
3353
  };
3354
- I.parseClassId = function(e, t) {
3354
+ E.parseClassId = function(e, t) {
3355
3355
  this.type === l.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, je, !1)) : (t === !0 && this.unexpected(), e.id = null);
3356
3356
  };
3357
- I.parseClassSuper = function(e) {
3357
+ E.parseClassSuper = function(e) {
3358
3358
  e.superClass = this.eat(l._extends) ? this.parseExprSubscripts(null, !1) : null;
3359
3359
  };
3360
- I.enterClassBody = function() {
3360
+ E.enterClassBody = function() {
3361
3361
  var e = { declared: /* @__PURE__ */ Object.create(null), used: [] };
3362
3362
  return this.privateNameStack.push(e), e.declared;
3363
3363
  };
3364
- I.exitClassBody = function() {
3364
+ E.exitClassBody = function() {
3365
3365
  var e = this.privateNameStack.pop(), t = e.declared, i = e.used;
3366
3366
  if (this.options.checkPrivateFields)
3367
3367
  for (var r = this.privateNameStack.length, n = r === 0 ? null : this.privateNameStack[r - 1], u = 0; u < i.length; ++u) {
@@ -3373,14 +3373,14 @@ function rh(e, t) {
3373
3373
  var i = t.key.name, r = e[i], n = "true";
3374
3374
  return t.type === "MethodDefinition" && (t.kind === "get" || t.kind === "set") && (n = (t.static ? "s" : "i") + t.kind), r === "iget" && n === "iset" || r === "iset" && n === "iget" || r === "sget" && n === "sset" || r === "sset" && n === "sget" ? (e[i] = "true", !1) : r ? !0 : (e[i] = n, !1);
3375
3375
  }
3376
- function Bt(e, t) {
3376
+ function Zt(e, t) {
3377
3377
  var i = e.computed, r = e.key;
3378
3378
  return !i && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
3379
3379
  }
3380
- I.parseExportAllDeclaration = function(e, t) {
3380
+ E.parseExportAllDeclaration = function(e, t) {
3381
3381
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (e.exported = this.parseModuleExportName(), this.checkExport(t, e.exported, this.lastTokStart)) : e.exported = null), this.expectContextual("from"), this.type !== l.string && this.unexpected(), e.source = this.parseExprAtom(), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ExportAllDeclaration");
3382
3382
  };
3383
- I.parseExport = function(e, t) {
3383
+ E.parseExport = function(e, t) {
3384
3384
  if (this.next(), this.eat(l.star))
3385
3385
  return this.parseExportAllDeclaration(e, t);
3386
3386
  if (this.eat(l._default))
@@ -3401,14 +3401,14 @@ I.parseExport = function(e, t) {
3401
3401
  }
3402
3402
  return this.finishNode(e, "ExportNamedDeclaration");
3403
3403
  };
3404
- I.parseExportDeclaration = function(e) {
3404
+ E.parseExportDeclaration = function(e) {
3405
3405
  return this.parseStatement(null);
3406
3406
  };
3407
- I.parseExportDefaultDeclaration = function() {
3407
+ E.parseExportDefaultDeclaration = function() {
3408
3408
  var e;
3409
3409
  if (this.type === l._function || (e = this.isAsyncFunction())) {
3410
3410
  var t = this.startNode();
3411
- return this.next(), e && this.next(), this.parseFunction(t, gt | us, !1, e);
3411
+ return this.next(), e && this.next(), this.parseFunction(t, gt | os, !1, e);
3412
3412
  } else if (this.type === l._class) {
3413
3413
  var i = this.startNode();
3414
3414
  return this.parseClass(i, "nullableID");
@@ -3417,10 +3417,10 @@ I.parseExportDefaultDeclaration = function() {
3417
3417
  return this.semicolon(), r;
3418
3418
  }
3419
3419
  };
3420
- I.checkExport = function(e, t, i) {
3420
+ E.checkExport = function(e, t, i) {
3421
3421
  e && (typeof t != "string" && (t = t.type === "Identifier" ? t.name : t.value), lt(e, t) && this.raiseRecoverable(i, "Duplicate export '" + t + "'"), e[t] = !0);
3422
3422
  };
3423
- I.checkPatternExport = function(e, t) {
3423
+ E.checkPatternExport = function(e, t) {
3424
3424
  var i = t.type;
3425
3425
  if (i === "Identifier")
3426
3426
  this.checkExport(e, t, t.start);
@@ -3436,17 +3436,17 @@ I.checkPatternExport = function(e, t) {
3436
3436
  }
3437
3437
  else i === "Property" ? this.checkPatternExport(e, t.value) : i === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : i === "RestElement" && this.checkPatternExport(e, t.argument);
3438
3438
  };
3439
- I.checkVariableExport = function(e, t) {
3439
+ E.checkVariableExport = function(e, t) {
3440
3440
  if (e)
3441
3441
  for (var i = 0, r = t; i < r.length; i += 1) {
3442
3442
  var n = r[i];
3443
3443
  this.checkPatternExport(e, n.id);
3444
3444
  }
3445
3445
  };
3446
- I.shouldParseExportStatement = function() {
3446
+ E.shouldParseExportStatement = function() {
3447
3447
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
3448
3448
  };
3449
- I.parseExportSpecifier = function(e) {
3449
+ E.parseExportSpecifier = function(e) {
3450
3450
  var t = this.startNode();
3451
3451
  return t.local = this.parseModuleExportName(), t.exported = this.eatContextual("as") ? this.parseModuleExportName() : t.local, this.checkExport(
3452
3452
  e,
@@ -3454,7 +3454,7 @@ I.parseExportSpecifier = function(e) {
3454
3454
  t.exported.start
3455
3455
  ), this.finishNode(t, "ExportSpecifier");
3456
3456
  };
3457
- I.parseExportSpecifiers = function(e) {
3457
+ E.parseExportSpecifiers = function(e) {
3458
3458
  var t = [], i = !0;
3459
3459
  for (this.expect(l.braceL); !this.eat(l.braceR); ) {
3460
3460
  if (i)
@@ -3465,22 +3465,22 @@ I.parseExportSpecifiers = function(e) {
3465
3465
  }
3466
3466
  return t;
3467
3467
  };
3468
- I.parseImport = function(e) {
3468
+ E.parseImport = function(e) {
3469
3469
  return this.next(), this.type === l.string ? (e.specifiers = ih, e.source = this.parseExprAtom()) : (e.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e.source = this.type === l.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e, "ImportDeclaration");
3470
3470
  };
3471
- I.parseImportSpecifier = function() {
3471
+ E.parseImportSpecifier = function() {
3472
3472
  var e = this.startNode();
3473
3473
  return e.imported = this.parseModuleExportName(), this.eatContextual("as") ? e.local = this.parseIdent() : (this.checkUnreserved(e.imported), e.local = e.imported), this.checkLValSimple(e.local, je), this.finishNode(e, "ImportSpecifier");
3474
3474
  };
3475
- I.parseImportDefaultSpecifier = function() {
3475
+ E.parseImportDefaultSpecifier = function() {
3476
3476
  var e = this.startNode();
3477
3477
  return e.local = this.parseIdent(), this.checkLValSimple(e.local, je), this.finishNode(e, "ImportDefaultSpecifier");
3478
3478
  };
3479
- I.parseImportNamespaceSpecifier = function() {
3479
+ E.parseImportNamespaceSpecifier = function() {
3480
3480
  var e = this.startNode();
3481
3481
  return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, je), this.finishNode(e, "ImportNamespaceSpecifier");
3482
3482
  };
3483
- I.parseImportSpecifiers = function() {
3483
+ E.parseImportSpecifiers = function() {
3484
3484
  var e = [], t = !0;
3485
3485
  if (this.type === l.name && (e.push(this.parseImportDefaultSpecifier()), !this.eat(l.comma)))
3486
3486
  return e;
@@ -3495,7 +3495,7 @@ I.parseImportSpecifiers = function() {
3495
3495
  }
3496
3496
  return e;
3497
3497
  };
3498
- I.parseWithClause = function() {
3498
+ E.parseWithClause = function() {
3499
3499
  var e = [];
3500
3500
  if (!this.eat(l._with))
3501
3501
  return e;
@@ -3510,27 +3510,27 @@ I.parseWithClause = function() {
3510
3510
  }
3511
3511
  return e;
3512
3512
  };
3513
- I.parseImportAttribute = function() {
3513
+ E.parseImportAttribute = function() {
3514
3514
  var e = this.startNode();
3515
3515
  return e.key = this.type === l.string ? this.parseExprAtom() : this.parseIdent(this.options.allowReserved !== "never"), this.expect(l.colon), this.type !== l.string && this.unexpected(), e.value = this.parseExprAtom(), this.finishNode(e, "ImportAttribute");
3516
3516
  };
3517
- I.parseModuleExportName = function() {
3517
+ E.parseModuleExportName = function() {
3518
3518
  if (this.options.ecmaVersion >= 13 && this.type === l.string) {
3519
3519
  var e = this.parseLiteral(this.value);
3520
3520
  return Jc.test(e.value) && this.raise(e.start, "An export name cannot include a lone surrogate."), e;
3521
3521
  }
3522
3522
  return this.parseIdent(!0);
3523
3523
  };
3524
- I.adaptDirectivePrologue = function(e) {
3524
+ E.adaptDirectivePrologue = function(e) {
3525
3525
  for (var t = 0; t < e.length && this.isDirectiveCandidate(e[t]); ++t)
3526
3526
  e[t].directive = e[t].expression.raw.slice(1, -1);
3527
3527
  };
3528
- I.isDirectiveCandidate = function(e) {
3528
+ E.isDirectiveCandidate = function(e) {
3529
3529
  return this.options.ecmaVersion >= 5 && e.type === "ExpressionStatement" && e.expression.type === "Literal" && typeof e.expression.value == "string" && // Reject parenthesized strings.
3530
3530
  (this.input[e.start] === '"' || this.input[e.start] === "'");
3531
3531
  };
3532
- var Ce = J.prototype;
3533
- Ce.toAssignable = function(e, t, i) {
3532
+ var Pe = J.prototype;
3533
+ Pe.toAssignable = function(e, t, i) {
3534
3534
  if (this.options.ecmaVersion >= 6 && e)
3535
3535
  switch (e.type) {
3536
3536
  case "Identifier":
@@ -3575,7 +3575,7 @@ Ce.toAssignable = function(e, t, i) {
3575
3575
  else i && this.checkPatternErrors(i, !0);
3576
3576
  return e;
3577
3577
  };
3578
- Ce.toAssignableList = function(e, t) {
3578
+ Pe.toAssignableList = function(e, t) {
3579
3579
  for (var i = e.length, r = 0; r < i; r++) {
3580
3580
  var n = e[r];
3581
3581
  n && this.toAssignable(n, t);
@@ -3586,15 +3586,15 @@ Ce.toAssignableList = function(e, t) {
3586
3586
  }
3587
3587
  return e;
3588
3588
  };
3589
- Ce.parseSpread = function(e) {
3589
+ Pe.parseSpread = function(e) {
3590
3590
  var t = this.startNode();
3591
3591
  return this.next(), t.argument = this.parseMaybeAssign(!1, e), this.finishNode(t, "SpreadElement");
3592
3592
  };
3593
- Ce.parseRestBinding = function() {
3593
+ Pe.parseRestBinding = function() {
3594
3594
  var e = this.startNode();
3595
3595
  return this.next(), this.options.ecmaVersion === 6 && this.type !== l.name && this.unexpected(), e.argument = this.parseBindingAtom(), this.finishNode(e, "RestElement");
3596
3596
  };
3597
- Ce.parseBindingAtom = function() {
3597
+ Pe.parseBindingAtom = function() {
3598
3598
  if (this.options.ecmaVersion >= 6)
3599
3599
  switch (this.type) {
3600
3600
  case l.bracketL:
@@ -3605,7 +3605,7 @@ Ce.parseBindingAtom = function() {
3605
3605
  }
3606
3606
  return this.parseIdent();
3607
3607
  };
3608
- Ce.parseBindingList = function(e, t, i, r) {
3608
+ Pe.parseBindingList = function(e, t, i, r) {
3609
3609
  for (var n = [], u = !0; !this.eat(e); )
3610
3610
  if (u ? u = !1 : this.expect(l.comma), t && this.type === l.comma)
3611
3611
  n.push(null);
@@ -3621,25 +3621,25 @@ Ce.parseBindingList = function(e, t, i, r) {
3621
3621
  }
3622
3622
  return n;
3623
3623
  };
3624
- Ce.parseAssignableListItem = function(e) {
3624
+ Pe.parseAssignableListItem = function(e) {
3625
3625
  var t = this.parseMaybeDefault(this.start, this.startLoc);
3626
3626
  return this.parseBindingListItem(t), t;
3627
3627
  };
3628
- Ce.parseBindingListItem = function(e) {
3628
+ Pe.parseBindingListItem = function(e) {
3629
3629
  return e;
3630
3630
  };
3631
- Ce.parseMaybeDefault = function(e, t, i) {
3631
+ Pe.parseMaybeDefault = function(e, t, i) {
3632
3632
  if (i = i || this.parseBindingAtom(), this.options.ecmaVersion < 6 || !this.eat(l.eq))
3633
3633
  return i;
3634
3634
  var r = this.startNodeAt(e, t);
3635
3635
  return r.left = i, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
3636
3636
  };
3637
- Ce.checkLValSimple = function(e, t, i) {
3638
- t === void 0 && (t = Ft);
3639
- var r = t !== Ft;
3637
+ Pe.checkLValSimple = function(e, t, i) {
3638
+ t === void 0 && (t = Bt);
3639
+ var r = t !== Bt;
3640
3640
  switch (e.type) {
3641
3641
  case "Identifier":
3642
- this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === je && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (lt(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== os && this.declareName(e.name, t, e.start));
3642
+ this.strict && this.reservedWordsStrictBind.test(e.name) && this.raiseRecoverable(e.start, (r ? "Binding " : "Assigning to ") + e.name + " in strict mode"), r && (t === je && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (lt(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== as && this.declareName(e.name, t, e.start));
3643
3643
  break;
3644
3644
  case "ChainExpression":
3645
3645
  this.raiseRecoverable(e.start, "Optional chaining cannot appear in left-hand side");
@@ -3653,8 +3653,8 @@ Ce.checkLValSimple = function(e, t, i) {
3653
3653
  this.raise(e.start, (r ? "Binding" : "Assigning to") + " rvalue");
3654
3654
  }
3655
3655
  };
3656
- Ce.checkLValPattern = function(e, t, i) {
3657
- switch (t === void 0 && (t = Ft), e.type) {
3656
+ Pe.checkLValPattern = function(e, t, i) {
3657
+ switch (t === void 0 && (t = Bt), e.type) {
3658
3658
  case "ObjectPattern":
3659
3659
  for (var r = 0, n = e.properties; r < n.length; r += 1) {
3660
3660
  var u = n[r];
@@ -3671,8 +3671,8 @@ Ce.checkLValPattern = function(e, t, i) {
3671
3671
  this.checkLValSimple(e, t, i);
3672
3672
  }
3673
3673
  };
3674
- Ce.checkLValInnerPattern = function(e, t, i) {
3675
- switch (t === void 0 && (t = Ft), e.type) {
3674
+ Pe.checkLValInnerPattern = function(e, t, i) {
3675
+ switch (t === void 0 && (t = Bt), e.type) {
3676
3676
  case "Property":
3677
3677
  this.checkLValInnerPattern(e.value, t, i);
3678
3678
  break;
@@ -3817,7 +3817,7 @@ M.parseMaybeAssign = function(e, t, i) {
3817
3817
  this.exprAllowed = !1;
3818
3818
  }
3819
3819
  var r = !1, n = -1, u = -1, h = -1;
3820
- t ? (n = t.parenthesizedAssign, u = t.trailingComma, h = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Yt(), r = !0);
3820
+ t ? (n = t.parenthesizedAssign, u = t.trailingComma, h = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Qt(), r = !0);
3821
3821
  var d = this.start, y = this.startLoc;
3822
3822
  (this.type === l.parenL || this.type === l.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
3823
3823
  var o = this.parseMaybeConditional(e, t);
@@ -3849,8 +3849,8 @@ M.parseExprOp = function(e, t, i, r, n) {
3849
3849
  d && (u = l.logicalAND.binop);
3850
3850
  var y = this.value;
3851
3851
  this.next();
3852
- var o = this.start, k = this.startLoc, T = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, n), o, k, u, n), A = this.buildBinary(t, i, e, T, y, h || d);
3853
- return (h && this.type === l.coalesce || d && (this.type === l.logicalOR || this.type === l.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(A, t, i, r, n);
3852
+ var o = this.start, k = this.startLoc, P = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, n), o, k, u, n), D = this.buildBinary(t, i, e, P, y, h || d);
3853
+ return (h && this.type === l.coalesce || d && (this.type === l.logicalOR || this.type === l.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(D, t, i, r, n);
3854
3854
  }
3855
3855
  return e;
3856
3856
  };
@@ -3865,7 +3865,7 @@ M.parseMaybeUnary = function(e, t, i, r) {
3865
3865
  h = this.parseAwait(r), t = !0;
3866
3866
  else if (this.type.prefix) {
3867
3867
  var d = this.startNode(), y = this.type === l.incDec;
3868
- d.operator = this.value, d.prefix = !0, this.next(), d.argument = this.parseMaybeUnary(null, !0, y, r), this.checkExpressionErrors(e, !0), y ? this.checkLValSimple(d.argument) : this.strict && d.operator === "delete" && cs(d.argument) ? this.raiseRecoverable(d.start, "Deleting local variable in strict mode") : d.operator === "delete" && vi(d.argument) ? this.raiseRecoverable(d.start, "Private fields can not be deleted") : t = !0, h = this.finishNode(d, y ? "UpdateExpression" : "UnaryExpression");
3868
+ d.operator = this.value, d.prefix = !0, this.next(), d.argument = this.parseMaybeUnary(null, !0, y, r), this.checkExpressionErrors(e, !0), y ? this.checkLValSimple(d.argument) : this.strict && d.operator === "delete" && us(d.argument) ? this.raiseRecoverable(d.start, "Deleting local variable in strict mode") : d.operator === "delete" && vi(d.argument) ? this.raiseRecoverable(d.start, "Private fields can not be deleted") : t = !0, h = this.finishNode(d, y ? "UpdateExpression" : "UnaryExpression");
3869
3869
  } else if (!t && this.type === l.privateId)
3870
3870
  (r || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), h = this.parsePrivateIdent(), this.type !== l._in && this.unexpected();
3871
3871
  else {
@@ -3884,8 +3884,8 @@ M.parseMaybeUnary = function(e, t, i, r) {
3884
3884
  else
3885
3885
  return h;
3886
3886
  };
3887
- function cs(e) {
3888
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && cs(e.expression);
3887
+ function us(e) {
3888
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && us(e.expression);
3889
3889
  }
3890
3890
  function vi(e) {
3891
3891
  return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && vi(e.expression) || e.type === "ParenthesizedExpression" && vi(e.expression);
@@ -3924,14 +3924,14 @@ M.parseSubscript = function(e, t, i, r, n, u, h) {
3924
3924
  var k = this.startNodeAt(t, i);
3925
3925
  k.object = e, o ? (k.property = this.parseExpression(), this.expect(l.bracketR)) : this.type === l.privateId && e.type !== "Super" ? k.property = this.parsePrivateIdent() : k.property = this.parseIdent(this.options.allowReserved !== "never"), k.computed = !!o, d && (k.optional = y), e = this.finishNode(k, "MemberExpression");
3926
3926
  } else if (!r && this.eat(l.parenL)) {
3927
- var T = new Yt(), A = this.yieldPos, $ = this.awaitPos, Z = this.awaitIdentPos;
3927
+ var P = new Qt(), D = this.yieldPos, B = this.awaitPos, U = this.awaitIdentPos;
3928
3928
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3929
- var le = this.parseExprList(l.parenR, this.options.ecmaVersion >= 8, !1, T);
3929
+ var Ee = this.parseExprList(l.parenR, this.options.ecmaVersion >= 8, !1, P);
3930
3930
  if (n && !y && this.shouldParseAsyncArrow())
3931
- return this.checkPatternErrors(T, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = A, this.awaitPos = $, this.awaitIdentPos = Z, this.parseSubscriptAsyncArrow(t, i, le, h);
3932
- this.checkExpressionErrors(T, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = $ || this.awaitPos, this.awaitIdentPos = Z || this.awaitIdentPos;
3933
- var D = this.startNodeAt(t, i);
3934
- D.callee = e, D.arguments = le, d && (D.optional = y), e = this.finishNode(D, "CallExpression");
3931
+ return this.checkPatternErrors(P, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = D, this.awaitPos = B, this.awaitIdentPos = U, this.parseSubscriptAsyncArrow(t, i, Ee, h);
3932
+ this.checkExpressionErrors(P, !0), this.yieldPos = D || this.yieldPos, this.awaitPos = B || this.awaitPos, this.awaitIdentPos = U || this.awaitIdentPos;
3933
+ var R = this.startNodeAt(t, i);
3934
+ R.callee = e, R.arguments = Ee, d && (R.optional = y), e = this.finishNode(R, "CallExpression");
3935
3935
  } else if (this.type === l.backQuote) {
3936
3936
  (y || u) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
3937
3937
  var se = this.startNodeAt(t, i);
@@ -3969,8 +3969,8 @@ M.parseExprAtom = function(e, t, i) {
3969
3969
  case l._false:
3970
3970
  return r = this.startNode(), r.value = this.type === l._null ? null : this.type === l._true, r.raw = this.type.keyword, this.next(), this.finishNode(r, "Literal");
3971
3971
  case l.parenL:
3972
- var k = this.start, T = this.parseParenAndDistinguishExpression(n, t);
3973
- return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(T) && (e.parenthesizedAssign = k), e.parenthesizedBind < 0 && (e.parenthesizedBind = k)), T;
3972
+ var k = this.start, P = this.parseParenAndDistinguishExpression(n, t);
3973
+ return e && (e.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(P) && (e.parenthesizedAssign = k), e.parenthesizedBind < 0 && (e.parenthesizedBind = k)), P;
3974
3974
  case l.bracketL:
3975
3975
  return r = this.startNode(), this.next(), r.elements = this.parseExprList(l.bracketR, !0, !0, e), this.finishNode(r, "ArrayExpression");
3976
3976
  case l.braceL:
@@ -4032,23 +4032,23 @@ M.parseParenAndDistinguishExpression = function(e, t) {
4032
4032
  var i = this.start, r = this.startLoc, n, u = this.options.ecmaVersion >= 8;
4033
4033
  if (this.options.ecmaVersion >= 6) {
4034
4034
  this.next();
4035
- var h = this.start, d = this.startLoc, y = [], o = !0, k = !1, T = new Yt(), A = this.yieldPos, $ = this.awaitPos, Z;
4035
+ var h = this.start, d = this.startLoc, y = [], o = !0, k = !1, P = new Qt(), D = this.yieldPos, B = this.awaitPos, U;
4036
4036
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== l.parenR; )
4037
4037
  if (o ? o = !1 : this.expect(l.comma), u && this.afterTrailingComma(l.parenR, !0)) {
4038
4038
  k = !0;
4039
4039
  break;
4040
4040
  } else if (this.type === l.ellipsis) {
4041
- Z = this.start, y.push(this.parseParenItem(this.parseRestBinding())), this.type === l.comma && this.raiseRecoverable(
4041
+ U = this.start, y.push(this.parseParenItem(this.parseRestBinding())), this.type === l.comma && this.raiseRecoverable(
4042
4042
  this.start,
4043
4043
  "Comma is not permitted after the rest element"
4044
4044
  );
4045
4045
  break;
4046
4046
  } else
4047
- y.push(this.parseMaybeAssign(!1, T, this.parseParenItem));
4048
- var le = this.lastTokEnd, D = this.lastTokEndLoc;
4047
+ y.push(this.parseMaybeAssign(!1, P, this.parseParenItem));
4048
+ var Ee = this.lastTokEnd, R = this.lastTokEndLoc;
4049
4049
  if (this.expect(l.parenR), e && this.shouldParseArrow(y) && this.eat(l.arrow))
4050
- return this.checkPatternErrors(T, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = A, this.awaitPos = $, this.parseParenArrowList(i, r, y, t);
4051
- (!y.length || k) && this.unexpected(this.lastTokStart), Z && this.unexpected(Z), this.checkExpressionErrors(T, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = $ || this.awaitPos, y.length > 1 ? (n = this.startNodeAt(h, d), n.expressions = y, this.finishNodeAt(n, "SequenceExpression", le, D)) : n = y[0];
4050
+ return this.checkPatternErrors(P, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = D, this.awaitPos = B, this.parseParenArrowList(i, r, y, t);
4051
+ (!y.length || k) && this.unexpected(this.lastTokStart), U && this.unexpected(U), this.checkExpressionErrors(P, !0), this.yieldPos = D || this.yieldPos, this.awaitPos = B || this.awaitPos, y.length > 1 ? (n = this.startNodeAt(h, d), n.expressions = y, this.finishNodeAt(n, "SequenceExpression", Ee, R)) : n = y[0];
4052
4052
  } else
4053
4053
  n = this.parseParenExpression();
4054
4054
  if (this.options.preserveParens) {
@@ -4148,7 +4148,7 @@ M.initFunction = function(e) {
4148
4148
  };
4149
4149
  M.parseMethod = function(e, t, i) {
4150
4150
  var r = this.startNode(), n = this.yieldPos, u = this.awaitPos, h = this.awaitIdentPos;
4151
- return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ni(t, r.generator) | Xt | (i ? ss : 0)), this.expect(l.parenL), r.params = this.parseBindingList(l.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = n, this.awaitPos = u, this.awaitIdentPos = h, this.finishNode(r, "FunctionExpression");
4151
+ return this.initFunction(r), this.options.ecmaVersion >= 6 && (r.generator = e), this.options.ecmaVersion >= 8 && (r.async = !!t), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ni(t, r.generator) | Jt | (i ? rs : 0)), this.expect(l.parenL), r.params = this.parseBindingList(l.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(r, !1, !0, !1), this.yieldPos = n, this.awaitPos = u, this.awaitIdentPos = h, this.finishNode(r, "FunctionExpression");
4152
4152
  };
4153
4153
  M.parseArrowExpression = function(e, t, i, r) {
4154
4154
  var n = this.yieldPos, u = this.awaitPos, h = this.awaitIdentPos;
@@ -4162,7 +4162,7 @@ M.parseFunctionBody = function(e, t, i, r) {
4162
4162
  var d = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
4163
4163
  (!u || d) && (h = this.strictDirective(this.end), h && d && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
4164
4164
  var y = this.labels;
4165
- this.labels = [], h && (this.strict = !0), this.checkParams(e, !u && !h && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, os), e.body = this.parseBlock(!1, void 0, h && !u), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = y;
4165
+ this.labels = [], h && (this.strict = !0), this.checkParams(e, !u && !h && !t && !i && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, as), e.body = this.parseBlock(!1, void 0, h && !u), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = y;
4166
4166
  }
4167
4167
  this.exitScope();
4168
4168
  };
@@ -4193,7 +4193,7 @@ M.parseExprList = function(e, t, i, r) {
4193
4193
  };
4194
4194
  M.checkUnreserved = function(e) {
4195
4195
  var t = e.start, i = e.end, r = e.name;
4196
- if (this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Jt) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
4196
+ if (this.inGenerator && r === "yield" && this.raiseRecoverable(t, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use 'await' as identifier inside an async function"), !(this.currentThisScope().flags & Yt) && r === "arguments" && this.raiseRecoverable(t, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (r === "arguments" || r === "await") && this.raise(t, "Cannot use " + r + " in class static initialization block"), this.keywords.test(r) && this.raise(t, "Unexpected keyword '" + r + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(t, i).indexOf("\\") !== -1)) {
4197
4197
  var n = this.strict ? this.reservedWordsStrict : this.reservedWords;
4198
4198
  n.test(r) && (!this.inAsync && r === "await" && this.raiseRecoverable(t, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t, "The keyword '" + r + "' is reserved"));
4199
4199
  }
@@ -4220,15 +4220,15 @@ M.parseAwait = function(e) {
4220
4220
  var t = this.startNode();
4221
4221
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
4222
4222
  };
4223
- var Zt = J.prototype;
4224
- Zt.raise = function(e, t) {
4223
+ var Ut = J.prototype;
4224
+ Ut.raise = function(e, t) {
4225
4225
  var i = Ai(this.input, e);
4226
4226
  t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
4227
4227
  var r = new SyntaxError(t);
4228
4228
  throw r.pos = e, r.loc = i, r.raisedAt = this.pos, r;
4229
4229
  };
4230
- Zt.raiseRecoverable = Zt.raise;
4231
- Zt.curPosition = function() {
4230
+ Ut.raiseRecoverable = Ut.raise;
4231
+ Ut.curPosition = function() {
4232
4232
  if (this.options.locations)
4233
4233
  return new ut(this.curLine, this.pos - this.lineStart);
4234
4234
  };
@@ -4249,20 +4249,20 @@ We.declareName = function(e, t, i) {
4249
4249
  if (t === je) {
4250
4250
  var n = this.currentScope();
4251
4251
  r = n.lexical.indexOf(e) > -1 || n.functions.indexOf(e) > -1 || n.var.indexOf(e) > -1, n.lexical.push(e), this.inModule && n.flags & wt && delete this.undefinedExports[e];
4252
- } else if (t === as) {
4252
+ } else if (t === ns) {
4253
4253
  var u = this.currentScope();
4254
4254
  u.lexical.push(e);
4255
- } else if (t === ns) {
4255
+ } else if (t === ss) {
4256
4256
  var h = this.currentScope();
4257
4257
  this.treatFunctionsAsVar ? r = h.lexical.indexOf(e) > -1 : r = h.lexical.indexOf(e) > -1 || h.var.indexOf(e) > -1, h.functions.push(e);
4258
4258
  } else
4259
4259
  for (var d = this.scopeStack.length - 1; d >= 0; --d) {
4260
4260
  var y = this.scopeStack[d];
4261
- if (y.lexical.indexOf(e) > -1 && !(y.flags & rs && y.lexical[0] === e) || !this.treatFunctionsAsVarInScope(y) && y.functions.indexOf(e) > -1) {
4261
+ if (y.lexical.indexOf(e) > -1 && !(y.flags & is && y.lexical[0] === e) || !this.treatFunctionsAsVarInScope(y) && y.functions.indexOf(e) > -1) {
4262
4262
  r = !0;
4263
4263
  break;
4264
4264
  }
4265
- if (y.var.push(e), this.inModule && y.flags & wt && delete this.undefinedExports[e], y.flags & Jt)
4265
+ if (y.var.push(e), this.inModule && y.flags & wt && delete this.undefinedExports[e], y.flags & Yt)
4266
4266
  break;
4267
4267
  }
4268
4268
  r && this.raiseRecoverable(i, "Identifier '" + e + "' has already been declared");
@@ -4276,47 +4276,47 @@ We.currentScope = function() {
4276
4276
  We.currentVarScope = function() {
4277
4277
  for (var e = this.scopeStack.length - 1; ; e--) {
4278
4278
  var t = this.scopeStack[e];
4279
- if (t.flags & (Jt | St | et))
4279
+ if (t.flags & (Yt | Tt | et))
4280
4280
  return t;
4281
4281
  }
4282
4282
  };
4283
4283
  We.currentThisScope = function() {
4284
4284
  for (var e = this.scopeStack.length - 1; ; e--) {
4285
4285
  var t = this.scopeStack[e];
4286
- if (t.flags & (Jt | St | et) && !(t.flags & Ii))
4286
+ if (t.flags & (Yt | Tt | et) && !(t.flags & Ii))
4287
4287
  return t;
4288
4288
  }
4289
4289
  };
4290
- var Tt = function(t, i, r) {
4291
- this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new kt(t, r)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
4292
- }, Pt = J.prototype;
4293
- Pt.startNode = function() {
4294
- return new Tt(this, this.start, this.startLoc);
4290
+ var Pt = function(t, i, r) {
4291
+ this.type = "", this.start = i, this.end = 0, t.options.locations && (this.loc = new St(t, r)), t.options.directSourceFile && (this.sourceFile = t.options.directSourceFile), t.options.ranges && (this.range = [i, 0]);
4292
+ }, Ct = J.prototype;
4293
+ Ct.startNode = function() {
4294
+ return new Pt(this, this.start, this.startLoc);
4295
4295
  };
4296
- Pt.startNodeAt = function(e, t) {
4297
- return new Tt(this, e, t);
4296
+ Ct.startNodeAt = function(e, t) {
4297
+ return new Pt(this, e, t);
4298
4298
  };
4299
- function hs(e, t, i, r) {
4299
+ function cs(e, t, i, r) {
4300
4300
  return e.type = t, e.end = i, this.options.locations && (e.loc.end = r), this.options.ranges && (e.range[1] = i), e;
4301
4301
  }
4302
- Pt.finishNode = function(e, t) {
4303
- return hs.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4302
+ Ct.finishNode = function(e, t) {
4303
+ return cs.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4304
4304
  };
4305
- Pt.finishNodeAt = function(e, t, i, r) {
4306
- return hs.call(this, e, t, i, r);
4305
+ Ct.finishNodeAt = function(e, t, i, r) {
4306
+ return cs.call(this, e, t, i, r);
4307
4307
  };
4308
- Pt.copyNode = function(e) {
4309
- var t = new Tt(this, e.start, this.startLoc);
4308
+ Ct.copyNode = function(e) {
4309
+ var t = new Pt(this, e.start, this.startLoc);
4310
4310
  for (var i in e)
4311
4311
  t[i] = e[i];
4312
4312
  return t;
4313
4313
  };
4314
- var ah = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", ls = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", ps = ls + " Extended_Pictographic", fs = ps, ds = fs + " EBase EComp EMod EPres ExtPict", ms = ds, oh = ms, uh = {
4315
- 9: ls,
4316
- 10: ps,
4317
- 11: fs,
4318
- 12: ds,
4319
- 13: ms,
4314
+ var ah = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai Krai Nag_Mundari Nagm Ol_Onal Onao Sunu Sunuwar Todhri Todr Tulu_Tigalari Tutg Unknown Zzzz", hs = "ASCII ASCII_Hex_Digit AHex Alphabetic Alpha Any Assigned Bidi_Control Bidi_C Bidi_Mirrored Bidi_M Case_Ignorable CI Cased Changes_When_Casefolded CWCF Changes_When_Casemapped CWCM Changes_When_Lowercased CWL Changes_When_NFKC_Casefolded CWKCF Changes_When_Titlecased CWT Changes_When_Uppercased CWU Dash Default_Ignorable_Code_Point DI Deprecated Dep Diacritic Dia Emoji Emoji_Component Emoji_Modifier Emoji_Modifier_Base Emoji_Presentation Extender Ext Grapheme_Base Gr_Base Grapheme_Extend Gr_Ext Hex_Digit Hex IDS_Binary_Operator IDSB IDS_Trinary_Operator IDST ID_Continue IDC ID_Start IDS Ideographic Ideo Join_Control Join_C Logical_Order_Exception LOE Lowercase Lower Math Noncharacter_Code_Point NChar Pattern_Syntax Pat_Syn Pattern_White_Space Pat_WS Quotation_Mark QMark Radical Regional_Indicator RI Sentence_Terminal STerm Soft_Dotted SD Terminal_Punctuation Term Unified_Ideograph UIdeo Uppercase Upper Variation_Selector VS White_Space space XID_Continue XIDC XID_Start XIDS", ls = hs + " Extended_Pictographic", ps = ls, fs = ps + " EBase EComp EMod EPres ExtPict", ds = fs, oh = ds, uh = {
4315
+ 9: hs,
4316
+ 10: ls,
4317
+ 11: ps,
4318
+ 12: fs,
4319
+ 13: ds,
4320
4320
  14: oh
4321
4321
  }, ch = "Basic_Emoji Emoji_Keycap_Sequence RGI_Emoji_Modifier_Sequence RGI_Emoji_Flag_Sequence RGI_Emoji_Tag_Sequence RGI_Emoji_ZWJ_Sequence RGI_Emoji", hh = {
4322
4322
  9: "",
@@ -4325,16 +4325,16 @@ var ah = "Gara Garay Gukh Gurung_Khema Hrkt Katakana_Or_Hiragana Kawi Kirat_Rai
4325
4325
  12: "",
4326
4326
  13: "",
4327
4327
  14: ch
4328
- }, dr = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", ys = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", vs = ys + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", xs = vs + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", gs = xs + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", bs = gs + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", lh = bs + " " + ah, ph = {
4329
- 9: ys,
4330
- 10: vs,
4331
- 11: xs,
4332
- 12: gs,
4333
- 13: bs,
4328
+ }, dr = "Cased_Letter LC Close_Punctuation Pe Connector_Punctuation Pc Control Cc cntrl Currency_Symbol Sc Dash_Punctuation Pd Decimal_Number Nd digit Enclosing_Mark Me Final_Punctuation Pf Format Cf Initial_Punctuation Pi Letter L Letter_Number Nl Line_Separator Zl Lowercase_Letter Ll Mark M Combining_Mark Math_Symbol Sm Modifier_Letter Lm Modifier_Symbol Sk Nonspacing_Mark Mn Number N Open_Punctuation Ps Other C Other_Letter Lo Other_Number No Other_Punctuation Po Other_Symbol So Paragraph_Separator Zp Private_Use Co Punctuation P punct Separator Z Space_Separator Zs Spacing_Mark Mc Surrogate Cs Symbol S Titlecase_Letter Lt Unassigned Cn Uppercase_Letter Lu", ms = "Adlam Adlm Ahom Anatolian_Hieroglyphs Hluw Arabic Arab Armenian Armn Avestan Avst Balinese Bali Bamum Bamu Bassa_Vah Bass Batak Batk Bengali Beng Bhaiksuki Bhks Bopomofo Bopo Brahmi Brah Braille Brai Buginese Bugi Buhid Buhd Canadian_Aboriginal Cans Carian Cari Caucasian_Albanian Aghb Chakma Cakm Cham Cham Cherokee Cher Common Zyyy Coptic Copt Qaac Cuneiform Xsux Cypriot Cprt Cyrillic Cyrl Deseret Dsrt Devanagari Deva Duployan Dupl Egyptian_Hieroglyphs Egyp Elbasan Elba Ethiopic Ethi Georgian Geor Glagolitic Glag Gothic Goth Grantha Gran Greek Grek Gujarati Gujr Gurmukhi Guru Han Hani Hangul Hang Hanunoo Hano Hatran Hatr Hebrew Hebr Hiragana Hira Imperial_Aramaic Armi Inherited Zinh Qaai Inscriptional_Pahlavi Phli Inscriptional_Parthian Prti Javanese Java Kaithi Kthi Kannada Knda Katakana Kana Kayah_Li Kali Kharoshthi Khar Khmer Khmr Khojki Khoj Khudawadi Sind Lao Laoo Latin Latn Lepcha Lepc Limbu Limb Linear_A Lina Linear_B Linb Lisu Lisu Lycian Lyci Lydian Lydi Mahajani Mahj Malayalam Mlym Mandaic Mand Manichaean Mani Marchen Marc Masaram_Gondi Gonm Meetei_Mayek Mtei Mende_Kikakui Mend Meroitic_Cursive Merc Meroitic_Hieroglyphs Mero Miao Plrd Modi Mongolian Mong Mro Mroo Multani Mult Myanmar Mymr Nabataean Nbat New_Tai_Lue Talu Newa Newa Nko Nkoo Nushu Nshu Ogham Ogam Ol_Chiki Olck Old_Hungarian Hung Old_Italic Ital Old_North_Arabian Narb Old_Permic Perm Old_Persian Xpeo Old_South_Arabian Sarb Old_Turkic Orkh Oriya Orya Osage Osge Osmanya Osma Pahawh_Hmong Hmng Palmyrene Palm Pau_Cin_Hau Pauc Phags_Pa Phag Phoenician Phnx Psalter_Pahlavi Phlp Rejang Rjng Runic Runr Samaritan Samr Saurashtra Saur Sharada Shrd Shavian Shaw Siddham Sidd SignWriting Sgnw Sinhala Sinh Sora_Sompeng Sora Soyombo Soyo Sundanese Sund Syloti_Nagri Sylo Syriac Syrc Tagalog Tglg Tagbanwa Tagb Tai_Le Tale Tai_Tham Lana Tai_Viet Tavt Takri Takr Tamil Taml Tangut Tang Telugu Telu Thaana Thaa Thai Thai Tibetan Tibt Tifinagh Tfng Tirhuta Tirh Ugaritic Ugar Vai Vaii Warang_Citi Wara Yi Yiii Zanabazar_Square Zanb", ys = ms + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", vs = ys + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", xs = vs + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", gs = xs + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", lh = gs + " " + ah, ph = {
4329
+ 9: ms,
4330
+ 10: ys,
4331
+ 11: vs,
4332
+ 12: xs,
4333
+ 13: gs,
4334
4334
  14: lh
4335
- }, _s = {};
4335
+ }, bs = {};
4336
4336
  function fh(e) {
4337
- var t = _s[e] = {
4337
+ var t = bs[e] = {
4338
4338
  binary: Ze(uh[e] + " " + dr),
4339
4339
  binaryOfStrings: Ze(hh[e]),
4340
4340
  nonBinary: {
@@ -4348,21 +4348,21 @@ for (var ci = 0, mr = [9, 10, 11, 12, 13, 14]; ci < mr.length; ci += 1) {
4348
4348
  var dh = mr[ci];
4349
4349
  fh(dh);
4350
4350
  }
4351
- var C = J.prototype, Ut = function(t, i) {
4351
+ var C = J.prototype, qt = function(t, i) {
4352
4352
  this.parent = t, this.base = i || this;
4353
4353
  };
4354
- Ut.prototype.separatedFrom = function(t) {
4354
+ qt.prototype.separatedFrom = function(t) {
4355
4355
  for (var i = this; i; i = i.parent)
4356
4356
  for (var r = t; r; r = r.parent)
4357
4357
  if (i.base === r.base && i !== r)
4358
4358
  return !0;
4359
4359
  return !1;
4360
4360
  };
4361
- Ut.prototype.sibling = function() {
4362
- return new Ut(this.parent, this.base);
4361
+ qt.prototype.sibling = function() {
4362
+ return new qt(this.parent, this.base);
4363
4363
  };
4364
4364
  var Oe = function(t) {
4365
- this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = _s[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
4365
+ this.parser = t, this.validFlags = "gim" + (t.options.ecmaVersion >= 6 ? "uy" : "") + (t.options.ecmaVersion >= 9 ? "s" : "") + (t.options.ecmaVersion >= 13 ? "d" : "") + (t.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = bs[t.options.ecmaVersion >= 14 ? 14 : t.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
4366
4366
  };
4367
4367
  Oe.prototype.reset = function(t, i, r) {
4368
4368
  var n = r.indexOf("v") !== -1, u = r.indexOf("u") !== -1;
@@ -4445,7 +4445,7 @@ C.regexp_pattern = function(e) {
4445
4445
  };
4446
4446
  C.regexp_disjunction = function(e) {
4447
4447
  var t = this.options.ecmaVersion >= 16;
4448
- for (t && (e.branchID = new Ut(e.branchID, null)), this.regexp_alternative(e); e.eat(
4448
+ for (t && (e.branchID = new qt(e.branchID, null)), this.regexp_alternative(e); e.eat(
4449
4449
  124
4450
4450
  /* | */
4451
4451
  ); )
@@ -4645,13 +4645,13 @@ C.regexp_eatInvalidBracedQuantifier = function(e) {
4645
4645
  };
4646
4646
  C.regexp_eatSyntaxCharacter = function(e) {
4647
4647
  var t = e.current();
4648
- return ws(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4648
+ return _s(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4649
4649
  };
4650
- function ws(e) {
4650
+ function _s(e) {
4651
4651
  return e === 36 || e >= 40 && e <= 43 || e === 46 || e === 63 || e >= 91 && e <= 94 || e >= 123 && e <= 125;
4652
4652
  }
4653
4653
  C.regexp_eatPatternCharacters = function(e) {
4654
- for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !ws(i); )
4654
+ for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !_s(i); )
4655
4655
  e.advance();
4656
4656
  return e.pos !== t;
4657
4657
  };
@@ -4704,7 +4704,7 @@ C.regexp_eatRegExpIdentifierStart = function(e) {
4704
4704
  return e.advance(i), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (r = e.lastIntValue), vh(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
4705
4705
  };
4706
4706
  function vh(e) {
4707
- return Ee(e, !0) || e === 36 || e === 95;
4707
+ return Ae(e, !0) || e === 36 || e === 95;
4708
4708
  }
4709
4709
  C.regexp_eatRegExpIdentifierPart = function(e) {
4710
4710
  var t = e.pos, i = this.options.ecmaVersion >= 11, r = e.current(i);
@@ -4755,7 +4755,7 @@ C.regexp_eatCControlLetter = function(e) {
4755
4755
  return !1;
4756
4756
  };
4757
4757
  C.regexp_eatZero = function(e) {
4758
- return e.current() === 48 && !Qt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
4758
+ return e.current() === 48 && !ei(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
4759
4759
  };
4760
4760
  C.regexp_eatControlEscape = function(e) {
4761
4761
  var t = e.current();
@@ -4763,9 +4763,9 @@ C.regexp_eatControlEscape = function(e) {
4763
4763
  };
4764
4764
  C.regexp_eatControlLetter = function(e) {
4765
4765
  var t = e.current();
4766
- return ks(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4766
+ return ws(t) ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
4767
4767
  };
4768
- function ks(e) {
4768
+ function ws(e) {
4769
4769
  return e >= 65 && e <= 90 || e >= 97 && e <= 122;
4770
4770
  }
4771
4771
  C.regexp_eatRegExpUnicodeEscapeSequence = function(e, t) {
@@ -4829,7 +4829,7 @@ C.regexp_eatDecimalEscape = function(e) {
4829
4829
  }
4830
4830
  return !1;
4831
4831
  };
4832
- var Ss = 0, ze = 1, Se = 2;
4832
+ var ks = 0, ze = 1, ke = 2;
4833
4833
  C.regexp_eatCharacterClassEscape = function(e) {
4834
4834
  var t = e.current();
4835
4835
  if (bh(t))
@@ -4845,10 +4845,10 @@ C.regexp_eatCharacterClassEscape = function(e) {
4845
4845
  125
4846
4846
  /* } */
4847
4847
  ))
4848
- return i && r === Se && e.raise("Invalid property name"), r;
4848
+ return i && r === ke && e.raise("Invalid property name"), r;
4849
4849
  e.raise("Invalid property name");
4850
4850
  }
4851
- return Ss;
4851
+ return ks;
4852
4852
  };
4853
4853
  function bh(e) {
4854
4854
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
@@ -4869,7 +4869,7 @@ C.regexp_eatUnicodePropertyValueExpression = function(e) {
4869
4869
  var n = e.lastStringValue;
4870
4870
  return this.regexp_validateUnicodePropertyNameOrValue(e, n);
4871
4871
  }
4872
- return Ss;
4872
+ return ks;
4873
4873
  };
4874
4874
  C.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
4875
4875
  lt(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
@@ -4878,17 +4878,17 @@ C.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4878
4878
  if (e.unicodeProperties.binary.test(t))
4879
4879
  return ze;
4880
4880
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t))
4881
- return Se;
4881
+ return ke;
4882
4882
  e.raise("Invalid property name");
4883
4883
  };
4884
4884
  C.regexp_eatUnicodePropertyName = function(e) {
4885
4885
  var t = 0;
4886
- for (e.lastStringValue = ""; Ts(t = e.current()); )
4886
+ for (e.lastStringValue = ""; Ss(t = e.current()); )
4887
4887
  e.lastStringValue += Ve(t), e.advance();
4888
4888
  return e.lastStringValue !== "";
4889
4889
  };
4890
- function Ts(e) {
4891
- return ks(e) || e === 95;
4890
+ function Ss(e) {
4891
+ return ws(e) || e === 95;
4892
4892
  }
4893
4893
  C.regexp_eatUnicodePropertyValue = function(e) {
4894
4894
  var t = 0;
@@ -4897,7 +4897,7 @@ C.regexp_eatUnicodePropertyValue = function(e) {
4897
4897
  return e.lastStringValue !== "";
4898
4898
  };
4899
4899
  function _h(e) {
4900
- return Ts(e) || Qt(e);
4900
+ return Ss(e) || ei(e);
4901
4901
  }
4902
4902
  C.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4903
4903
  return this.regexp_eatUnicodePropertyValue(e);
@@ -4914,7 +4914,7 @@ C.regexp_eatCharacterClass = function(e) {
4914
4914
  return e.eat(
4915
4915
  93
4916
4916
  /* ] */
4917
- ) || e.raise("Unterminated character class"), t && i === Se && e.raise("Negated character class may contain strings"), !0;
4917
+ ) || e.raise("Unterminated character class"), t && i === ke && e.raise("Negated character class may contain strings"), !0;
4918
4918
  }
4919
4919
  return !1;
4920
4920
  };
@@ -4943,7 +4943,7 @@ C.regexp_eatClassAtom = function(e) {
4943
4943
  return !0;
4944
4944
  if (e.switchU) {
4945
4945
  var i = e.current();
4946
- (i === 99 || As(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4946
+ (i === 99 || Cs(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4947
4947
  }
4948
4948
  e.pos = t;
4949
4949
  }
@@ -4975,13 +4975,13 @@ C.regexp_eatClassEscape = function(e) {
4975
4975
  C.regexp_classSetExpression = function(e) {
4976
4976
  var t = ze, i;
4977
4977
  if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
4978
- i === Se && (t = Se);
4978
+ i === ke && (t = ke);
4979
4979
  for (var r = e.pos; e.eatChars(
4980
4980
  [38, 38]
4981
4981
  /* && */
4982
4982
  ); ) {
4983
4983
  if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
4984
- i !== Se && (t = ze);
4984
+ i !== ke && (t = ze);
4985
4985
  continue;
4986
4986
  }
4987
4987
  e.raise("Invalid character in character class");
@@ -5001,7 +5001,7 @@ C.regexp_classSetExpression = function(e) {
5001
5001
  if (!this.regexp_eatClassSetRange(e)) {
5002
5002
  if (i = this.regexp_eatClassSetOperand(e), !i)
5003
5003
  return t;
5004
- i === Se && (t = Se);
5004
+ i === ke && (t = ke);
5005
5005
  }
5006
5006
  };
5007
5007
  C.regexp_eatClassSetRange = function(e) {
@@ -5036,7 +5036,7 @@ C.regexp_eatNestedClass = function(e) {
5036
5036
  93
5037
5037
  /* ] */
5038
5038
  ))
5039
- return i && r === Se && e.raise("Negated character class may contain strings"), r;
5039
+ return i && r === ke && e.raise("Negated character class may contain strings"), r;
5040
5040
  e.pos = t;
5041
5041
  }
5042
5042
  if (e.eat(
@@ -5077,13 +5077,13 @@ C.regexp_classStringDisjunctionContents = function(e) {
5077
5077
  124
5078
5078
  /* | */
5079
5079
  ); )
5080
- this.regexp_classString(e) === Se && (t = Se);
5080
+ this.regexp_classString(e) === ke && (t = ke);
5081
5081
  return t;
5082
5082
  };
5083
5083
  C.regexp_classString = function(e) {
5084
5084
  for (var t = 0; this.regexp_eatClassSetCharacter(e); )
5085
5085
  t++;
5086
- return t === 1 ? ze : Se;
5086
+ return t === 1 ? ze : ke;
5087
5087
  };
5088
5088
  C.regexp_eatClassSetCharacter = function(e) {
5089
5089
  var t = e.pos;
@@ -5113,7 +5113,7 @@ function Sh(e) {
5113
5113
  }
5114
5114
  C.regexp_eatClassControlLetter = function(e) {
5115
5115
  var t = e.current();
5116
- return Qt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
5116
+ return ei(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
5117
5117
  };
5118
5118
  C.regexp_eatHexEscapeSequence = function(e) {
5119
5119
  var t = e.pos;
@@ -5129,23 +5129,23 @@ C.regexp_eatHexEscapeSequence = function(e) {
5129
5129
  };
5130
5130
  C.regexp_eatDecimalDigits = function(e) {
5131
5131
  var t = e.pos, i = 0;
5132
- for (e.lastIntValue = 0; Qt(i = e.current()); )
5132
+ for (e.lastIntValue = 0; ei(i = e.current()); )
5133
5133
  e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
5134
5134
  return e.pos !== t;
5135
5135
  };
5136
- function Qt(e) {
5136
+ function ei(e) {
5137
5137
  return e >= 48 && e <= 57;
5138
5138
  }
5139
5139
  C.regexp_eatHexDigits = function(e) {
5140
5140
  var t = e.pos, i = 0;
5141
- for (e.lastIntValue = 0; Ps(i = e.current()); )
5142
- e.lastIntValue = 16 * e.lastIntValue + Cs(i), e.advance();
5141
+ for (e.lastIntValue = 0; Ts(i = e.current()); )
5142
+ e.lastIntValue = 16 * e.lastIntValue + Ps(i), e.advance();
5143
5143
  return e.pos !== t;
5144
5144
  };
5145
- function Ps(e) {
5145
+ function Ts(e) {
5146
5146
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
5147
5147
  }
5148
- function Cs(e) {
5148
+ function Ps(e) {
5149
5149
  return e >= 65 && e <= 70 ? 10 + (e - 65) : e >= 97 && e <= 102 ? 10 + (e - 97) : e - 48;
5150
5150
  }
5151
5151
  C.regexp_eatLegacyOctalEscapeSequence = function(e) {
@@ -5162,9 +5162,9 @@ C.regexp_eatLegacyOctalEscapeSequence = function(e) {
5162
5162
  };
5163
5163
  C.regexp_eatOctalDigit = function(e) {
5164
5164
  var t = e.current();
5165
- return As(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
5165
+ return Cs(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
5166
5166
  };
5167
- function As(e) {
5167
+ function Cs(e) {
5168
5168
  return e >= 48 && e <= 55;
5169
5169
  }
5170
5170
  C.regexp_eatFixedHexDigits = function(e, t) {
@@ -5172,20 +5172,20 @@ C.regexp_eatFixedHexDigits = function(e, t) {
5172
5172
  e.lastIntValue = 0;
5173
5173
  for (var r = 0; r < t; ++r) {
5174
5174
  var n = e.current();
5175
- if (!Ps(n))
5175
+ if (!Ts(n))
5176
5176
  return e.pos = i, !1;
5177
- e.lastIntValue = 16 * e.lastIntValue + Cs(n), e.advance();
5177
+ e.lastIntValue = 16 * e.lastIntValue + Ps(n), e.advance();
5178
5178
  }
5179
5179
  return !0;
5180
5180
  };
5181
- var ei = function(t) {
5182
- this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new kt(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
5181
+ var ti = function(t) {
5182
+ this.type = t.type, this.value = t.value, this.start = t.start, this.end = t.end, t.options.locations && (this.loc = new St(t, t.startLoc, t.endLoc)), t.options.ranges && (this.range = [t.start, t.end]);
5183
5183
  }, j = J.prototype;
5184
5184
  j.next = function(e) {
5185
- !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ei(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
5185
+ !e && this.type.keyword && this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword " + this.type.keyword), this.options.onToken && this.options.onToken(new ti(this)), this.lastTokEnd = this.end, this.lastTokStart = this.start, this.lastTokEndLoc = this.endLoc, this.lastTokStartLoc = this.startLoc, this.nextToken();
5186
5186
  };
5187
5187
  j.getToken = function() {
5188
- return this.next(), new ei(this);
5188
+ return this.next(), new ti(this);
5189
5189
  };
5190
5190
  typeof Symbol < "u" && (j[Symbol.iterator] = function() {
5191
5191
  var e = this;
@@ -5208,7 +5208,7 @@ j.nextToken = function() {
5208
5208
  this.readToken(this.fullCharCodeAtPos());
5209
5209
  };
5210
5210
  j.readToken = function(e) {
5211
- return Ee(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
5211
+ return Ae(e, this.options.ecmaVersion >= 6) || e === 92 ? this.readWord() : this.getTokenFromCode(e);
5212
5212
  };
5213
5213
  j.fullCharCodeAtPos = function() {
5214
5214
  var e = this.input.charCodeAt(this.pos);
@@ -5220,7 +5220,7 @@ j.fullCharCodeAtPos = function() {
5220
5220
  j.skipBlockComment = function() {
5221
5221
  var e = this.options.onComment && this.curPosition(), t = this.pos, i = this.input.indexOf("*/", this.pos += 2);
5222
5222
  if (i === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = i + 2, this.options.locations)
5223
- for (var r = void 0, n = t; (r = es(this.input, n, this.pos)) > -1; )
5223
+ for (var r = void 0, n = t; (r = Qr(this.input, n, this.pos)) > -1; )
5224
5224
  ++this.curLine, n = this.lineStart = r;
5225
5225
  this.options.onComment && this.options.onComment(
5226
5226
  !0,
@@ -5348,7 +5348,7 @@ j.readToken_question = function() {
5348
5348
  };
5349
5349
  j.readToken_numberSign = function() {
5350
5350
  var e = this.options.ecmaVersion, t = 35;
5351
- if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), Ee(t, !0) || t === 92))
5351
+ if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), Ae(t, !0) || t === 92))
5352
5352
  return this.finishToken(l.privateId, this.readWord1());
5353
5353
  this.raise(this.pos, "Unexpected character '" + Ve(t) + "'");
5354
5354
  };
@@ -5475,28 +5475,28 @@ j.readRegexp = function() {
5475
5475
  };
5476
5476
  j.readInt = function(e, t, i) {
5477
5477
  for (var r = this.options.ecmaVersion >= 12 && t === void 0, n = i && this.input.charCodeAt(this.pos) === 48, u = this.pos, h = 0, d = 0, y = 0, o = t ?? 1 / 0; y < o; ++y, ++this.pos) {
5478
- var k = this.input.charCodeAt(this.pos), T = void 0;
5478
+ var k = this.input.charCodeAt(this.pos), P = void 0;
5479
5479
  if (r && k === 95) {
5480
5480
  n && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), d === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), y === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), d = k;
5481
5481
  continue;
5482
5482
  }
5483
- if (k >= 97 ? T = k - 97 + 10 : k >= 65 ? T = k - 65 + 10 : k >= 48 && k <= 57 ? T = k - 48 : T = 1 / 0, T >= e)
5483
+ if (k >= 97 ? P = k - 97 + 10 : k >= 65 ? P = k - 65 + 10 : k >= 48 && k <= 57 ? P = k - 48 : P = 1 / 0, P >= e)
5484
5484
  break;
5485
- d = k, h = h * e + T;
5485
+ d = k, h = h * e + P;
5486
5486
  }
5487
5487
  return r && d === 95 && this.raiseRecoverable(this.pos - 1, "Numeric separator is not allowed at the last of digits"), this.pos === u || t != null && this.pos - u !== t ? null : h;
5488
5488
  };
5489
5489
  function Th(e, t) {
5490
5490
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
5491
5491
  }
5492
- function Es(e) {
5492
+ function As(e) {
5493
5493
  return typeof BigInt != "function" ? null : BigInt(e.replace(/_/g, ""));
5494
5494
  }
5495
5495
  j.readRadixNumber = function(e) {
5496
5496
  var t = this.pos;
5497
5497
  this.pos += 2;
5498
5498
  var i = this.readInt(e);
5499
- return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = Es(this.input.slice(t, this.pos)), ++this.pos) : Ee(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(l.num, i);
5499
+ return i == null && this.raise(this.start + 2, "Expected number in radix " + e), this.options.ecmaVersion >= 11 && this.input.charCodeAt(this.pos) === 110 ? (i = As(this.input.slice(t, this.pos)), ++this.pos) : Ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(l.num, i);
5500
5500
  };
5501
5501
  j.readNumber = function(e) {
5502
5502
  var t = this.pos;
@@ -5505,10 +5505,10 @@ j.readNumber = function(e) {
5505
5505
  i && this.strict && this.raise(t, "Invalid number");
5506
5506
  var r = this.input.charCodeAt(this.pos);
5507
5507
  if (!i && !e && this.options.ecmaVersion >= 11 && r === 110) {
5508
- var n = Es(this.input.slice(t, this.pos));
5509
- return ++this.pos, Ee(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(l.num, n);
5508
+ var n = As(this.input.slice(t, this.pos));
5509
+ return ++this.pos, Ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(l.num, n);
5510
5510
  }
5511
- i && /[89]/.test(this.input.slice(t, this.pos)) && (i = !1), r === 46 && !i && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !i && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), Ee(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
5511
+ i && /[89]/.test(this.input.slice(t, this.pos)) && (i = !1), r === 46 && !i && (++this.pos, this.readInt(10), r = this.input.charCodeAt(this.pos)), (r === 69 || r === 101) && !i && (r = this.input.charCodeAt(++this.pos), (r === 43 || r === 45) && ++this.pos, this.readInt(10) === null && this.raise(t, "Invalid number")), Ae(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
5512
5512
  var u = Th(this.input.slice(t, this.pos), i);
5513
5513
  return this.finishToken(l.num, u);
5514
5514
  };
@@ -5532,13 +5532,13 @@ j.readString = function(e) {
5532
5532
  }
5533
5533
  return t += this.input.slice(i, this.pos++), this.finishToken(l.string, t);
5534
5534
  };
5535
- var Is = {};
5535
+ var Es = {};
5536
5536
  j.tryReadTemplateToken = function() {
5537
5537
  this.inTemplateElement = !0;
5538
5538
  try {
5539
5539
  this.readTmplToken();
5540
5540
  } catch (e) {
5541
- if (e === Is)
5541
+ if (e === Es)
5542
5542
  this.readInvalidTemplateToken();
5543
5543
  else
5544
5544
  throw e;
@@ -5547,7 +5547,7 @@ j.tryReadTemplateToken = function() {
5547
5547
  };
5548
5548
  j.invalidStringToken = function(e, t) {
5549
5549
  if (this.inTemplateElement && this.options.ecmaVersion >= 9)
5550
- throw Is;
5550
+ throw Es;
5551
5551
  this.raise(e, t);
5552
5552
  };
5553
5553
  j.readTmplToken = function() {
@@ -5671,7 +5671,7 @@ j.readWord1 = function() {
5671
5671
  var u = this.pos;
5672
5672
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
5673
5673
  var h = this.readCodePoint();
5674
- (t ? Ee : Me)(h, r) || this.invalidStringToken(u, "Invalid Unicode escape"), e += Ve(h), i = this.pos;
5674
+ (t ? Ae : Me)(h, r) || this.invalidStringToken(u, "Invalid Unicode escape"), e += Ve(h), i = this.pos;
5675
5675
  } else
5676
5676
  break;
5677
5677
  t = !1;
@@ -5682,26 +5682,26 @@ j.readWord = function() {
5682
5682
  var e = this.readWord1(), t = l.name;
5683
5683
  return this.keywords.test(e) && (t = ot[e]), this.finishToken(t, e);
5684
5684
  };
5685
- var Ns = "8.15.0";
5685
+ var Is = "8.15.0";
5686
5686
  J.acorn = {
5687
5687
  Parser: J,
5688
- version: Ns,
5689
- defaultOptions: $t,
5688
+ version: Is,
5689
+ defaultOptions: Ft,
5690
5690
  Position: ut,
5691
- SourceLocation: kt,
5691
+ SourceLocation: St,
5692
5692
  getLineInfo: Ai,
5693
- Node: Tt,
5693
+ Node: Pt,
5694
5694
  TokenType: z,
5695
5695
  tokTypes: l,
5696
5696
  keywordTypes: ot,
5697
5697
  TokContext: ue,
5698
5698
  tokContexts: H,
5699
5699
  isIdentifierChar: Me,
5700
- isIdentifierStart: Ee,
5701
- Token: ei,
5700
+ isIdentifierStart: Ae,
5701
+ Token: ti,
5702
5702
  isNewLine: Qe,
5703
5703
  lineBreak: ce,
5704
- lineBreakG: Qr,
5704
+ lineBreakG: Yr,
5705
5705
  nonASCIIwhitespace: Ci
5706
5706
  };
5707
5707
  function Ph(e, t) {
@@ -5715,28 +5715,28 @@ function Ah(e, t) {
5715
5715
  }
5716
5716
  const Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5717
5717
  __proto__: null,
5718
- Node: Tt,
5718
+ Node: Pt,
5719
5719
  Parser: J,
5720
5720
  Position: ut,
5721
- SourceLocation: kt,
5721
+ SourceLocation: St,
5722
5722
  TokContext: ue,
5723
- Token: ei,
5723
+ Token: ti,
5724
5724
  TokenType: z,
5725
- defaultOptions: $t,
5725
+ defaultOptions: Ft,
5726
5726
  getLineInfo: Ai,
5727
5727
  isIdentifierChar: Me,
5728
- isIdentifierStart: Ee,
5728
+ isIdentifierStart: Ae,
5729
5729
  isNewLine: Qe,
5730
5730
  keywordTypes: ot,
5731
5731
  lineBreak: ce,
5732
- lineBreakG: Qr,
5732
+ lineBreakG: Yr,
5733
5733
  nonASCIIwhitespace: Ci,
5734
5734
  parse: Ph,
5735
5735
  parseExpressionAt: Ch,
5736
5736
  tokContexts: H,
5737
5737
  tokTypes: l,
5738
5738
  tokenizer: Ah,
5739
- version: Ns
5739
+ version: Is
5740
5740
  }, Symbol.toStringTag, { value: "Module" }));
5741
5741
  function yr(e, t) {
5742
5742
  for (var i = 0; i < t.length; i++) {
@@ -5754,16 +5754,16 @@ function yr(e, t) {
5754
5754
  }
5755
5755
  var n;
5756
5756
  }
5757
- function qt() {
5758
- return qt = Object.assign ? Object.assign.bind() : function(e) {
5757
+ function Ht() {
5758
+ return Ht = Object.assign ? Object.assign.bind() : function(e) {
5759
5759
  for (var t = 1; t < arguments.length; t++) {
5760
5760
  var i = arguments[t];
5761
5761
  for (var r in i) Object.prototype.hasOwnProperty.call(i, r) && (e[r] = i[r]);
5762
5762
  }
5763
5763
  return e;
5764
- }, qt.apply(this, arguments);
5764
+ }, Ht.apply(this, arguments);
5765
5765
  }
5766
- function Rt(e, t) {
5766
+ function Dt(e, t) {
5767
5767
  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, xi(e, t);
5768
5768
  }
5769
5769
  function xi(e, t) {
@@ -5795,21 +5795,21 @@ function xr(e, t) {
5795
5795
  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
5796
5796
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
5797
5797
  }
5798
- var ve = !0;
5799
- function xe(e, t) {
5798
+ var ye = !0;
5799
+ function ve(e, t) {
5800
5800
  return t === void 0 && (t = {}), new z("name", t);
5801
5801
  }
5802
5802
  var Ih = /* @__PURE__ */ new WeakMap();
5803
5803
  function Nh(e) {
5804
5804
  var t = Ih.get(e.Parser.acorn || e);
5805
5805
  if (!t) {
5806
- var i = { assert: xe(0, { startsExpr: ve }), asserts: xe(0, { startsExpr: ve }), global: xe(0, { startsExpr: ve }), keyof: xe(0, { startsExpr: ve }), readonly: xe(0, { startsExpr: ve }), unique: xe(0, { startsExpr: ve }), abstract: xe(0, { startsExpr: ve }), declare: xe(0, { startsExpr: ve }), enum: xe(0, { startsExpr: ve }), module: xe(0, { startsExpr: ve }), namespace: xe(0, { startsExpr: ve }), interface: xe(0, { startsExpr: ve }), type: xe(0, { startsExpr: ve }) }, r = { at: new z("@"), jsxName: new z("jsxName"), jsxText: new z("jsxText", { beforeExpr: !0 }), jsxTagStart: new z("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new z("jsxTagEnd") }, n = { tc_oTag: new ue("<tag", !1, !1), tc_cTag: new ue("</tag", !1, !1), tc_expr: new ue("<tag>...</tag>", !0, !0) }, u = new RegExp("^(?:" + Object.keys(i).join("|") + ")$");
5806
+ var i = { assert: ve(0, { startsExpr: ye }), asserts: ve(0, { startsExpr: ye }), global: ve(0, { startsExpr: ye }), keyof: ve(0, { startsExpr: ye }), readonly: ve(0, { startsExpr: ye }), unique: ve(0, { startsExpr: ye }), abstract: ve(0, { startsExpr: ye }), declare: ve(0, { startsExpr: ye }), enum: ve(0, { startsExpr: ye }), module: ve(0, { startsExpr: ye }), namespace: ve(0, { startsExpr: ye }), interface: ve(0, { startsExpr: ye }), type: ve(0, { startsExpr: ye }) }, r = { at: new z("@"), jsxName: new z("jsxName"), jsxText: new z("jsxText", { beforeExpr: !0 }), jsxTagStart: new z("jsxTagStart", { startsExpr: !0 }), jsxTagEnd: new z("jsxTagEnd") }, n = { tc_oTag: new ue("<tag", !1, !1), tc_cTag: new ue("</tag", !1, !1), tc_expr: new ue("<tag>...</tag>", !0, !0) }, u = new RegExp("^(?:" + Object.keys(i).join("|") + ")$");
5807
5807
  r.jsxTagStart.updateContext = function() {
5808
5808
  this.context.push(n.tc_expr), this.context.push(n.tc_oTag), this.exprAllowed = !1;
5809
5809
  }, r.jsxTagEnd.updateContext = function(h) {
5810
5810
  var d = this.context.pop();
5811
5811
  d === n.tc_oTag && h === l.slash || d === n.tc_cTag ? (this.context.pop(), this.exprAllowed = this.curContext() === n.tc_expr) : this.exprAllowed = !0;
5812
- }, t = { tokTypes: qt({}, i, r), tokContexts: qt({}, n), keywordsRegExp: u, tokenIsLiteralPropertyName: function(h) {
5812
+ }, t = { tokTypes: Ht({}, i, r), tokContexts: Ht({}, n), keywordsRegExp: u, tokenIsLiteralPropertyName: function(h) {
5813
5813
  return [l.name, l.string, l.num].concat(Object.values(ot), Object.values(i)).includes(h);
5814
5814
  }, tokenIsKeywordOrIdentifier: function(h) {
5815
5815
  return [l.name].concat(Object.values(ot), Object.values(i)).includes(h);
@@ -5836,7 +5836,7 @@ function br(e, t) {
5836
5836
  var i = e.key;
5837
5837
  return !e.computed && (i.type === "Identifier" && i.name === t || i.type === "Literal" && i.value === t);
5838
5838
  }
5839
- var N = { AbstractMethodHasImplementation: function(e) {
5839
+ var I = { AbstractMethodHasImplementation: function(e) {
5840
5840
  return "Method '" + e.methodName + "' cannot have an implementation because it is marked abstract.";
5841
5841
  }, AbstractPropertyHasInitializer: function(e) {
5842
5842
  return "Property '" + e.propertyName + "' cannot have an initializer because it is marked abstract.";
@@ -5893,10 +5893,10 @@ function li(e, t) {
5893
5893
  function jh(e) {
5894
5894
  if (e.type !== "MemberExpression") return !1;
5895
5895
  var t = e.property;
5896
- return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && Ls(e.object);
5896
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && Ns(e.object);
5897
5897
  }
5898
- function Ls(e) {
5899
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Ls(e.object);
5898
+ function Ns(e) {
5899
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Ns(e.object);
5900
5900
  }
5901
5901
  function wr(e) {
5902
5902
  return e === "private" || e === "public" || e === "protected";
@@ -5904,28 +5904,28 @@ function wr(e) {
5904
5904
  function $h(e) {
5905
5905
  var t = {}, i = t.dts, r = i !== void 0 && i, n = t.allowSatisfies, u = n !== void 0 && n;
5906
5906
  return function(h) {
5907
- var d = h.acorn || Eh, y = Nh(d), o = d.tokTypes, k = d.keywordTypes, T = d.isIdentifierStart, A = d.lineBreak, $ = d.isNewLine, Z = d.tokContexts, le = d.isIdentifierChar, D = y.tokTypes, se = y.tokContexts, dt = y.keywordsRegExp, Ae = y.tokenIsLiteralPropertyName, _e = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Rs = y.tokenIsTSTypeOperator;
5908
- function Ds(P, pe, oe) {
5909
- oe === void 0 && (oe = P.length);
5910
- for (var te = pe; te < oe; te++) {
5911
- var B = P.charCodeAt(te);
5912
- if ($(B)) return te < oe - 1 && B === 13 && P.charCodeAt(te + 1) === 10 ? te + 2 : te + 1;
5907
+ var d = h.acorn || Eh, y = Nh(d), o = d.tokTypes, k = d.keywordTypes, P = d.isIdentifierStart, D = d.lineBreak, B = d.isNewLine, U = d.tokContexts, Ee = d.isIdentifierChar, R = y.tokTypes, se = y.tokContexts, dt = y.keywordsRegExp, Ce = y.tokenIsLiteralPropertyName, be = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, At = y.tokenIsKeywordOrIdentifier, Rs = y.tokenIsTSTypeOperator;
5908
+ function Ds(T, le, oe) {
5909
+ oe === void 0 && (oe = T.length);
5910
+ for (var te = le; te < oe; te++) {
5911
+ var F = T.charCodeAt(te);
5912
+ if (B(F)) return te < oe - 1 && F === 13 && T.charCodeAt(te + 1) === 10 ? te + 2 : te + 1;
5913
5913
  }
5914
5914
  return -1;
5915
5915
  }
5916
- h = (function(P, pe, oe) {
5917
- var te = oe.tokTypes, B = pe.tokTypes;
5916
+ h = (function(T, le, oe) {
5917
+ var te = oe.tokTypes, F = le.tokTypes;
5918
5918
  return (function(f) {
5919
5919
  function s() {
5920
5920
  return f.apply(this, arguments) || this;
5921
5921
  }
5922
- Rt(s, f);
5922
+ Dt(s, f);
5923
5923
  var a = s.prototype;
5924
5924
  return a.takeDecorators = function(c) {
5925
5925
  var p = this.decoratorStack[this.decoratorStack.length - 1];
5926
5926
  p.length && (c.decorators = p, this.resetStartLocationFromNode(c, p[0]), this.decoratorStack[this.decoratorStack.length - 1] = []);
5927
5927
  }, a.parseDecorators = function(c) {
5928
- for (var p = this.decoratorStack[this.decoratorStack.length - 1]; this.match(B.at); ) {
5928
+ for (var p = this.decoratorStack[this.decoratorStack.length - 1]; this.match(F.at); ) {
5929
5929
  var m = this.parseDecorator();
5930
5930
  p.push(m);
5931
5931
  }
@@ -5952,14 +5952,14 @@ function $h(e) {
5952
5952
  }
5953
5953
  return c;
5954
5954
  }, s;
5955
- })(P);
5956
- })(h, y, d), h = (function(P, pe, oe, te) {
5957
- var B = P.tokTypes, f = pe.tokTypes, s = P.isNewLine, a = P.isIdentifierChar, c = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
5955
+ })(T);
5956
+ })(h, y, d), h = (function(T, le, oe, te) {
5957
+ var F = T.tokTypes, f = le.tokTypes, s = T.isNewLine, a = T.isIdentifierChar, c = Object.assign({ allowNamespaces: !0, allowNamespacedObjects: !0 }, {});
5958
5958
  return (function(p) {
5959
5959
  function m() {
5960
5960
  return p.apply(this, arguments) || this;
5961
5961
  }
5962
- Rt(m, p);
5962
+ Dt(m, p);
5963
5963
  var v = m.prototype;
5964
5964
  return v.jsx_readToken = function() {
5965
5965
  for (var x = "", g = this.pos; ; ) {
@@ -5991,18 +5991,18 @@ function $h(e) {
5991
5991
  if (S === x) break;
5992
5992
  S === 38 ? (g += this.input.slice(_, this.pos), g += this.jsx_readEntity(), _ = this.pos) : s(S) ? (g += this.input.slice(_, this.pos), g += this.jsx_readNewLine(!1), _ = this.pos) : ++this.pos;
5993
5993
  }
5994
- return g += this.input.slice(_, this.pos++), this.finishToken(B.string, g);
5994
+ return g += this.input.slice(_, this.pos++), this.finishToken(F.string, g);
5995
5995
  }, v.jsx_readEntity = function() {
5996
5996
  var x, g = "", _ = 0, S = this.input[this.pos];
5997
5997
  S !== "&" && this.raise(this.pos, "Entity must start with an ampersand");
5998
- for (var L = ++this.pos; this.pos < this.input.length && _++ < 10; ) {
5998
+ for (var N = ++this.pos; this.pos < this.input.length && _++ < 10; ) {
5999
5999
  if ((S = this.input[this.pos++]) === ";") {
6000
6000
  g[0] === "#" ? g[1] === "x" ? (g = g.substr(2), Dh.test(g) && (x = String.fromCharCode(parseInt(g, 16)))) : (g = g.substr(1), Mh.test(g) && (x = String.fromCharCode(parseInt(g, 10)))) : x = Rh[g];
6001
6001
  break;
6002
6002
  }
6003
6003
  g += S;
6004
6004
  }
6005
- return x || (this.pos = L, "&");
6005
+ return x || (this.pos = N, "&");
6006
6006
  }, v.jsx_readWord = function() {
6007
6007
  var x, g = this.pos;
6008
6008
  do
@@ -6014,24 +6014,24 @@ function $h(e) {
6014
6014
  return this.type === f.jsxName ? x.name = this.value : this.type.keyword ? x.name = this.type.keyword : this.unexpected(), this.next(), this.finishNode(x, "JSXIdentifier");
6015
6015
  }, v.jsx_parseNamespacedName = function() {
6016
6016
  var x = this.start, g = this.startLoc, _ = this.jsx_parseIdentifier();
6017
- if (!c.allowNamespaces || !this.eat(B.colon)) return _;
6017
+ if (!c.allowNamespaces || !this.eat(F.colon)) return _;
6018
6018
  var S = this.startNodeAt(x, g);
6019
6019
  return S.namespace = _, S.name = this.jsx_parseIdentifier(), this.finishNode(S, "JSXNamespacedName");
6020
6020
  }, v.jsx_parseElementName = function() {
6021
6021
  if (this.type === f.jsxTagEnd) return "";
6022
6022
  var x = this.start, g = this.startLoc, _ = this.jsx_parseNamespacedName();
6023
- for (this.type !== B.dot || _.type !== "JSXNamespacedName" || c.allowNamespacedObjects || this.unexpected(); this.eat(B.dot); ) {
6023
+ for (this.type !== F.dot || _.type !== "JSXNamespacedName" || c.allowNamespacedObjects || this.unexpected(); this.eat(F.dot); ) {
6024
6024
  var S = this.startNodeAt(x, g);
6025
6025
  S.object = _, S.property = this.jsx_parseIdentifier(), _ = this.finishNode(S, "JSXMemberExpression");
6026
6026
  }
6027
6027
  return _;
6028
6028
  }, v.jsx_parseAttributeValue = function() {
6029
6029
  switch (this.type) {
6030
- case B.braceL:
6030
+ case F.braceL:
6031
6031
  var x = this.jsx_parseExpressionContainer();
6032
6032
  return x.expression.type === "JSXEmptyExpression" && this.raise(x.start, "JSX attributes must only be assigned a non-empty expression"), x;
6033
6033
  case f.jsxTagStart:
6034
- case B.string:
6034
+ case F.string:
6035
6035
  return this.parseExprAtom();
6036
6036
  default:
6037
6037
  this.raise(this.start, "JSX value should be either an expression or a quoted JSX text");
@@ -6041,25 +6041,25 @@ function $h(e) {
6041
6041
  return this.finishNodeAt(x, "JSXEmptyExpression", this.start, this.startLoc);
6042
6042
  }, v.jsx_parseExpressionContainer = function() {
6043
6043
  var x = this.startNode();
6044
- return this.next(), x.expression = this.type === B.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(B.braceR), this.finishNode(x, "JSXExpressionContainer");
6044
+ return this.next(), x.expression = this.type === F.braceR ? this.jsx_parseEmptyExpression() : this.parseExpression(), this.expect(F.braceR), this.finishNode(x, "JSXExpressionContainer");
6045
6045
  }, v.jsx_parseAttribute = function() {
6046
6046
  var x = this.startNode();
6047
- return this.eat(B.braceL) ? (this.expect(B.ellipsis), x.argument = this.parseMaybeAssign(), this.expect(B.braceR), this.finishNode(x, "JSXSpreadAttribute")) : (x.name = this.jsx_parseNamespacedName(), x.value = this.eat(B.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(x, "JSXAttribute"));
6047
+ return this.eat(F.braceL) ? (this.expect(F.ellipsis), x.argument = this.parseMaybeAssign(), this.expect(F.braceR), this.finishNode(x, "JSXSpreadAttribute")) : (x.name = this.jsx_parseNamespacedName(), x.value = this.eat(F.eq) ? this.jsx_parseAttributeValue() : null, this.finishNode(x, "JSXAttribute"));
6048
6048
  }, v.jsx_parseOpeningElementAt = function(x, g) {
6049
6049
  var _ = this.startNodeAt(x, g);
6050
6050
  _.attributes = [];
6051
6051
  var S = this.jsx_parseElementName();
6052
- for (S && (_.name = S); this.type !== B.slash && this.type !== f.jsxTagEnd; ) _.attributes.push(this.jsx_parseAttribute());
6053
- return _.selfClosing = this.eat(B.slash), this.expect(f.jsxTagEnd), this.finishNode(_, S ? "JSXOpeningElement" : "JSXOpeningFragment");
6052
+ for (S && (_.name = S); this.type !== F.slash && this.type !== f.jsxTagEnd; ) _.attributes.push(this.jsx_parseAttribute());
6053
+ return _.selfClosing = this.eat(F.slash), this.expect(f.jsxTagEnd), this.finishNode(_, S ? "JSXOpeningElement" : "JSXOpeningFragment");
6054
6054
  }, v.jsx_parseClosingElementAt = function(x, g) {
6055
6055
  var _ = this.startNodeAt(x, g), S = this.jsx_parseElementName();
6056
6056
  return S && (_.name = S), this.expect(f.jsxTagEnd), this.finishNode(_, S ? "JSXClosingElement" : "JSXClosingFragment");
6057
6057
  }, v.jsx_parseElementAt = function(x, g) {
6058
- var _ = this.startNodeAt(x, g), S = [], L = this.jsx_parseOpeningElementAt(x, g), V = null;
6059
- if (!L.selfClosing) {
6058
+ var _ = this.startNodeAt(x, g), S = [], N = this.jsx_parseOpeningElementAt(x, g), V = null;
6059
+ if (!N.selfClosing) {
6060
6060
  e: for (; ; ) switch (this.type) {
6061
6061
  case f.jsxTagStart:
6062
- if (x = this.start, g = this.startLoc, this.next(), this.eat(B.slash)) {
6062
+ if (x = this.start, g = this.startLoc, this.next(), this.eat(F.slash)) {
6063
6063
  V = this.jsx_parseClosingElementAt(x, g);
6064
6064
  break e;
6065
6065
  }
@@ -6068,16 +6068,16 @@ function $h(e) {
6068
6068
  case f.jsxText:
6069
6069
  S.push(this.parseExprAtom());
6070
6070
  break;
6071
- case B.braceL:
6071
+ case F.braceL:
6072
6072
  S.push(this.jsx_parseExpressionContainer());
6073
6073
  break;
6074
6074
  default:
6075
6075
  this.unexpected();
6076
6076
  }
6077
- bt(V.name) !== bt(L.name) && this.raise(V.start, "Expected corresponding JSX closing tag for <" + bt(L.name) + ">");
6077
+ bt(V.name) !== bt(N.name) && this.raise(V.start, "Expected corresponding JSX closing tag for <" + bt(N.name) + ">");
6078
6078
  }
6079
- var E = L.name ? "Element" : "Fragment";
6080
- return _["opening" + E] = L, _["closing" + E] = V, _.children = S, this.type === B.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(_, "JSX" + E);
6079
+ var A = N.name ? "Element" : "Fragment";
6080
+ return _["opening" + A] = N, _["closing" + A] = V, _.children = S, this.type === F.relational && this.value === "<" && this.raise(this.start, "Adjacent JSX elements must be wrapped in an enclosing tag"), this.finishNode(_, "JSX" + A);
6081
6081
  }, v.jsx_parseText = function() {
6082
6082
  var x = this.parseLiteral(this.value);
6083
6083
  return x.type = "JSXText", x;
@@ -6086,65 +6086,65 @@ function $h(e) {
6086
6086
  return this.next(), this.jsx_parseElementAt(x, g);
6087
6087
  }, m;
6088
6088
  })(oe);
6089
- })(d, y, h), h = (function(P, pe, oe) {
6090
- var te = pe.tokTypes, B = oe.tokTypes;
6089
+ })(d, y, h), h = (function(T, le, oe) {
6090
+ var te = le.tokTypes, F = oe.tokTypes;
6091
6091
  return (function(f) {
6092
6092
  function s() {
6093
6093
  return f.apply(this, arguments) || this;
6094
6094
  }
6095
- Rt(s, f);
6095
+ Dt(s, f);
6096
6096
  var a = s.prototype;
6097
6097
  return a.parseMaybeImportAttributes = function(c) {
6098
- if (this.type === B._with || this.type === te.assert) {
6098
+ if (this.type === F._with || this.type === te.assert) {
6099
6099
  this.next();
6100
6100
  var p = this.parseImportAttributes();
6101
6101
  p && (c.attributes = p);
6102
6102
  }
6103
6103
  }, a.parseImportAttributes = function() {
6104
- this.expect(B.braceL);
6104
+ this.expect(F.braceL);
6105
6105
  var c = this.parseWithEntries();
6106
- return this.expect(B.braceR), c;
6106
+ return this.expect(F.braceR), c;
6107
6107
  }, a.parseWithEntries = function() {
6108
6108
  var c = [], p = /* @__PURE__ */ new Set();
6109
6109
  do {
6110
- if (this.type === B.braceR) break;
6110
+ if (this.type === F.braceR) break;
6111
6111
  var m, v = this.startNode();
6112
- m = this.type === B.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), v.key = m, p.has(v.key.name) && this.raise(this.pos, "Duplicated key in attributes"), p.add(v.key.name), this.type !== B.string && this.raise(this.pos, "Only string is supported as an attribute value"), v.value = this.parseLiteral(this.value), c.push(this.finishNode(v, "ImportAttribute"));
6113
- } while (this.eat(B.comma));
6112
+ m = this.type === F.string ? this.parseLiteral(this.value) : this.parseIdent(!0), this.next(), v.key = m, p.has(v.key.name) && this.raise(this.pos, "Duplicated key in attributes"), p.add(v.key.name), this.type !== F.string && this.raise(this.pos, "Only string is supported as an attribute value"), v.value = this.parseLiteral(this.value), c.push(this.finishNode(v, "ImportAttribute"));
6113
+ } while (this.eat(F.comma));
6114
6114
  return c;
6115
6115
  }, s;
6116
- })(P);
6116
+ })(T);
6117
6117
  })(h, y, d);
6118
- var Ms = /* @__PURE__ */ (function(P) {
6119
- function pe(s, a, c) {
6118
+ var Ms = /* @__PURE__ */ (function(T) {
6119
+ function le(s, a, c) {
6120
6120
  var p;
6121
- return (p = P.call(this, s, a, c) || this).preValue = null, p.preToken = null, p.isLookahead = !1, p.isAmbientContext = !1, p.inAbstractClass = !1, p.inType = !1, p.inDisallowConditionalTypesContext = !1, p.maybeInArrowParameters = !1, p.shouldParseArrowReturnType = void 0, p.shouldParseAsyncArrowReturnType = void 0, p.decoratorStack = [[]], p.importsStack = [[]], p.importOrExportOuterKind = void 0, p.tsParseConstModifier = p.tsParseModifiers.bind((function(m) {
6121
+ return (p = T.call(this, s, a, c) || this).preValue = null, p.preToken = null, p.isLookahead = !1, p.isAmbientContext = !1, p.inAbstractClass = !1, p.inType = !1, p.inDisallowConditionalTypesContext = !1, p.maybeInArrowParameters = !1, p.shouldParseArrowReturnType = void 0, p.shouldParseAsyncArrowReturnType = void 0, p.decoratorStack = [[]], p.importsStack = [[]], p.importOrExportOuterKind = void 0, p.tsParseConstModifier = p.tsParseModifiers.bind((function(m) {
6122
6122
  if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6123
6123
  return m;
6124
- })(p), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: N.InvalidModifierOnTypeParameterPositions }), p;
6124
+ })(p), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: I.InvalidModifierOnTypeParameterPositions }), p;
6125
6125
  }
6126
- Rt(pe, P);
6127
- var oe, te, B, f = pe.prototype;
6126
+ Dt(le, T);
6127
+ var oe, te, F, f = le.prototype;
6128
6128
  return f.getTokenFromCodeInType = function(s) {
6129
- return s === 62 || s === 60 ? this.finishOp(o.relational, 1) : P.prototype.getTokenFromCode.call(this, s);
6129
+ return s === 62 || s === 60 ? this.finishOp(o.relational, 1) : T.prototype.getTokenFromCode.call(this, s);
6130
6130
  }, f.readToken = function(s) {
6131
6131
  if (!this.inType) {
6132
6132
  var a = this.curContext();
6133
6133
  if (a === se.tc_expr) return this.jsx_readToken();
6134
6134
  if (a === se.tc_oTag || a === se.tc_cTag) {
6135
- if (T(s)) return this.jsx_readWord();
6136
- if (s == 62) return ++this.pos, this.finishToken(D.jsxTagEnd);
6135
+ if (P(s)) return this.jsx_readWord();
6136
+ if (s == 62) return ++this.pos, this.finishToken(R.jsxTagEnd);
6137
6137
  if ((s === 34 || s === 39) && a == se.tc_oTag) return this.jsx_readString(s);
6138
6138
  }
6139
- if (s === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(D.jsxTagStart);
6139
+ if (s === 60 && this.exprAllowed && this.input.charCodeAt(this.pos + 1) !== 33) return ++this.pos, this.finishToken(R.jsxTagStart);
6140
6140
  }
6141
- return P.prototype.readToken.call(this, s);
6141
+ return T.prototype.readToken.call(this, s);
6142
6142
  }, f.getTokenFromCode = function(s) {
6143
- return this.inType ? this.getTokenFromCodeInType(s) : s === 64 ? (++this.pos, this.finishToken(D.at)) : P.prototype.getTokenFromCode.call(this, s);
6143
+ return this.inType ? this.getTokenFromCodeInType(s) : s === 64 ? (++this.pos, this.finishToken(R.at)) : T.prototype.getTokenFromCode.call(this, s);
6144
6144
  }, f.isAbstractClass = function() {
6145
- return this.ts_isContextual(D.abstract) && this.lookahead().type === o._class;
6145
+ return this.ts_isContextual(R.abstract) && this.lookahead().type === o._class;
6146
6146
  }, f.finishNode = function(s, a) {
6147
- return s.type !== "" && s.end !== 0 ? s : P.prototype.finishNode.call(this, s, a);
6147
+ return s.type !== "" && s.end !== 0 ? s : T.prototype.finishNode.call(this, s, a);
6148
6148
  }, f.tryParse = function(s, a) {
6149
6149
  a === void 0 && (a = this.cloneCurLookaheadState());
6150
6150
  var c = { node: null };
@@ -6169,7 +6169,7 @@ function $h(e) {
6169
6169
  }, f.resetEndLocation = function(s, a) {
6170
6170
  a === void 0 && (a = this.lastTokEndLoc), s.end = a.column, s.loc.end = a, this.options.ranges && (s.range[1] = a.column);
6171
6171
  }, f.startNodeAtNode = function(s) {
6172
- return P.prototype.startNodeAt.call(this, s.start, s.loc.start);
6172
+ return T.prototype.startNodeAt.call(this, s.start, s.loc.start);
6173
6173
  }, f.nextTokenStart = function() {
6174
6174
  return this.nextTokenStartSince(this.pos);
6175
6175
  }, f.tsHasSomeModifiers = function(s, a) {
@@ -6181,7 +6181,7 @@ function $h(e) {
6181
6181
  }, f.tsCheckForInvalidTypeCasts = function(s) {
6182
6182
  var a = this;
6183
6183
  s.forEach(function(c) {
6184
- c?.type === "TSTypeCastExpression" && a.raise(c.typeAnnotation.start, N.UnexpectedTypeAnnotation);
6184
+ c?.type === "TSTypeCastExpression" && a.raise(c.typeAnnotation.start, I.UnexpectedTypeAnnotation);
6185
6185
  });
6186
6186
  }, f.atPossibleAsyncArrow = function(s) {
6187
6187
  return s.type === "Identifier" && s.name === "async" && this.lastTokEndLoc.column === s.end && !this.canInsertSemicolon() && s.end - s.start == 5 && s.start === this.potentialArrowAt;
@@ -6196,9 +6196,9 @@ function $h(e) {
6196
6196
  this.maybeInArrowParameters = !0;
6197
6197
  var v = this.tsTryParseAndCatch(function() {
6198
6198
  var x = p.startNodeAt(s, a);
6199
- return x.typeParameters = p.tsParseTypeParameters(), P.prototype.parseFunctionParams.call(p, x), x.returnType = p.tsTryParseTypeOrTypePredicateAnnotation(), p.expect(o.arrow), x;
6199
+ return x.typeParameters = p.tsParseTypeParameters(), T.prototype.parseFunctionParams.call(p, x), x.returnType = p.tsTryParseTypeOrTypePredicateAnnotation(), p.expect(o.arrow), x;
6200
6200
  });
6201
- if (this.maybeInArrowParameters = m, v) return P.prototype.parseArrowExpression.call(this, v, null, !0, c);
6201
+ if (this.maybeInArrowParameters = m, v) return T.prototype.parseArrowExpression.call(this, v, null, !0, c);
6202
6202
  }
6203
6203
  }, f.tsParseTypeArgumentsInExpression = function() {
6204
6204
  if (this.reScan_lt() === o.relational) return this.tsParseTypeArguments();
@@ -6216,11 +6216,11 @@ function $h(e) {
6216
6216
  var c = s + a.length;
6217
6217
  if (this.input.slice(s, c) === a) {
6218
6218
  var p = this.input.charCodeAt(c);
6219
- return !(le(p) || (64512 & p) == 55296);
6219
+ return !(Ee(p) || (64512 & p) == 55296);
6220
6220
  }
6221
6221
  return !1;
6222
6222
  }, f.isAbstractConstructorSignature = function() {
6223
- return this.ts_isContextual(D.abstract) && this.lookahead().type === o._new;
6223
+ return this.ts_isContextual(R.abstract) && this.lookahead().type === o._new;
6224
6224
  }, f.nextTokenStartSince = function(s) {
6225
6225
  return hi.lastIndex = s, hi.test(this.input) ? hi.lastIndex : s;
6226
6226
  }, f.lookaheadCharCode = function() {
@@ -6251,7 +6251,7 @@ function $h(e) {
6251
6251
  return this.setLookaheadState(a), p;
6252
6252
  }, f.readWord = function() {
6253
6253
  var s = this.readWord1(), a = o.name;
6254
- return this.keywords.test(s) ? a = k[s] : new RegExp(dt).test(s) && (a = D[s]), this.finishToken(a, s);
6254
+ return this.keywords.test(s) ? a = k[s] : new RegExp(dt).test(s) && (a = R[s]), this.finishToken(a, s);
6255
6255
  }, f.skipBlockComment = function() {
6256
6256
  var s;
6257
6257
  this.isLookahead || (s = this.options.onComment && this.curPosition());
@@ -6261,7 +6261,7 @@ function $h(e) {
6261
6261
  }, f.skipLineComment = function(s) {
6262
6262
  var a, c = this.pos;
6263
6263
  this.isLookahead || (a = this.options.onComment && this.curPosition());
6264
- for (var p = this.input.charCodeAt(this.pos += s); this.pos < this.input.length && !$(p); ) p = this.input.charCodeAt(++this.pos);
6264
+ for (var p = this.input.charCodeAt(this.pos += s); this.pos < this.input.length && !B(p); ) p = this.input.charCodeAt(++this.pos);
6265
6265
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(c + s, this.pos), c, this.pos, a, this.curPosition());
6266
6266
  }, f.finishToken = function(s, a) {
6267
6267
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
@@ -6270,7 +6270,7 @@ function $h(e) {
6270
6270
  }, f.resetStartLocation = function(s, a, c) {
6271
6271
  s.start = a, s.loc.start = c, this.options.ranges && (s.range[0] = a);
6272
6272
  }, f.isLineTerminator = function() {
6273
- return this.eat(o.semi) || P.prototype.canInsertSemicolon.call(this);
6273
+ return this.eat(o.semi) || T.prototype.canInsertSemicolon.call(this);
6274
6274
  }, f.hasFollowingLineBreak = function() {
6275
6275
  return gr.lastIndex = this.end, gr.test(this.input);
6276
6276
  }, f.addExtra = function(s, a, c, p) {
@@ -6279,9 +6279,9 @@ function $h(e) {
6279
6279
  p ? m[a] = c : Object.defineProperty(m, a, { enumerable: p, value: c });
6280
6280
  }
6281
6281
  }, f.isLiteralPropertyName = function() {
6282
- return Ae(this.type);
6282
+ return Ce(this.type);
6283
6283
  }, f.hasPrecedingLineBreak = function() {
6284
- return A.test(this.input.slice(this.lastTokEndLoc.index, this.start));
6284
+ return D.test(this.input.slice(this.lastTokEndLoc.index, this.start));
6285
6285
  }, f.createIdentifier = function(s, a) {
6286
6286
  return s.name = a, this.finishNode(s, "Identifier");
6287
6287
  }, f.resetStartLocationFromNode = function(s, a) {
@@ -6300,7 +6300,7 @@ function $h(e) {
6300
6300
  }, f.isContextualWithState = function(s, a) {
6301
6301
  return a.type === o.name && a.value === s && !a.containsEsc;
6302
6302
  }, f.tsIsStartOfMappedType = function() {
6303
- return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(D.readonly) : (this.ts_isContextual(D.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
6303
+ return this.next(), this.eat(o.plusMin) ? this.ts_isContextual(R.readonly) : (this.ts_isContextual(R.readonly) && this.next(), !!this.match(o.bracketL) && (this.next(), !!this.tsIsIdentifier() && (this.next(), this.match(o._in))));
6304
6304
  }, f.tsInDisallowConditionalTypesContext = function(s) {
6305
6305
  var a = this.inDisallowConditionalTypesContext;
6306
6306
  this.inDisallowConditionalTypesContext = !0;
@@ -6323,7 +6323,7 @@ function $h(e) {
6323
6323
  return !1;
6324
6324
  }, f.ts_eatContextualWithState = function(s, a, c) {
6325
6325
  if (dt.test(s)) {
6326
- if (this.ts_isContextualWithState(c, D[s])) {
6326
+ if (this.ts_isContextualWithState(c, R[s])) {
6327
6327
  for (var p = 0; p < a; p++) this.next();
6328
6328
  return !0;
6329
6329
  }
@@ -6335,7 +6335,7 @@ function $h(e) {
6335
6335
  }, f.canHaveLeadingDecorator = function() {
6336
6336
  return this.match(o._class);
6337
6337
  }, f.eatContextual = function(s) {
6338
- return dt.test(s) ? !!this.ts_isContextual(D[s]) && (this.next(), !0) : P.prototype.eatContextual.call(this, s);
6338
+ return dt.test(s) ? !!this.ts_isContextual(R[s]) && (this.next(), !0) : T.prototype.eatContextual.call(this, s);
6339
6339
  }, f.tsIsExternalModuleReference = function() {
6340
6340
  return this.isContextual("require") && this.lookaheadCharCode() === 40;
6341
6341
  }, f.tsParseExternalModuleReference = function() {
@@ -6355,13 +6355,13 @@ function $h(e) {
6355
6355
  return a === void 0 && (a = {}), a.const && (s.const = !0), a.declare && (s.declare = !0), this.expectContextual("enum"), s.id = this.parseIdent(), this.checkLValSimple(s.id), this.expect(o.braceL), s.members = this.tsParseDelimitedList("EnumMembers", this.tsParseEnumMember.bind(this)), this.expect(o.braceR), this.finishNode(s, "TSEnumDeclaration");
6356
6356
  }, f.tsParseModuleBlock = function() {
6357
6357
  var s = this.startNode();
6358
- for (P.prototype.enterScope.call(this, 512), this.expect(o.braceL), s.body = []; this.type !== o.braceR; ) {
6358
+ for (T.prototype.enterScope.call(this, 512), this.expect(o.braceL), s.body = []; this.type !== o.braceR; ) {
6359
6359
  var a = this.parseStatement(null, !0);
6360
6360
  s.body.push(a);
6361
6361
  }
6362
- return this.next(), P.prototype.exitScope.call(this), this.finishNode(s, "TSModuleBlock");
6362
+ return this.next(), T.prototype.exitScope.call(this), this.finishNode(s, "TSModuleBlock");
6363
6363
  }, f.tsParseAmbientExternalModuleDeclaration = function(s) {
6364
- return this.ts_isContextual(D.global) ? (s.global = !0, s.id = this.parseIdent()) : this.match(o.string) ? s.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (P.prototype.enterScope.call(this, vt), s.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this)) : P.prototype.semicolon.call(this), this.finishNode(s, "TSModuleDeclaration");
6364
+ return this.ts_isContextual(R.global) ? (s.global = !0, s.id = this.parseIdent()) : this.match(o.string) ? s.id = this.parseLiteral(this.value) : this.unexpected(), this.match(o.braceL) ? (T.prototype.enterScope.call(this, vt), s.body = this.tsParseModuleBlock(), T.prototype.exitScope.call(this)) : T.prototype.semicolon.call(this), this.finishNode(s, "TSModuleDeclaration");
6365
6365
  }, f.tsTryParseDeclare = function(s) {
6366
6366
  var a = this;
6367
6367
  if (!this.isLineTerminator()) {
@@ -6369,10 +6369,10 @@ function $h(e) {
6369
6369
  return this.isContextual("let") && (p = o._var, c = "let"), this.tsInAmbientContext(function() {
6370
6370
  if (p === o._function) return s.declare = !0, a.parseFunctionStatement(s, !1, !0);
6371
6371
  if (p === o._class) return s.declare = !0, a.parseClass(s, !0);
6372
- if (p === D.enum) return a.tsParseEnumDeclaration(s, { declare: !0 });
6373
- if (p === D.global) return a.tsParseAmbientExternalModuleDeclaration(s);
6372
+ if (p === R.enum) return a.tsParseEnumDeclaration(s, { declare: !0 });
6373
+ if (p === R.global) return a.tsParseAmbientExternalModuleDeclaration(s);
6374
6374
  if (p === o._const || p === o._var) return a.match(o._const) && a.isLookaheadContextual("enum") ? (a.expect(o._const), a.tsParseEnumDeclaration(s, { const: !0, declare: !0 })) : (s.declare = !0, a.parseVarStatement(s, c || a.value, !0));
6375
- if (p === D.interface) {
6375
+ if (p === R.interface) {
6376
6376
  var m = a.tsParseInterfaceDeclaration(s, { declare: !0 });
6377
6377
  if (m) return m;
6378
6378
  }
@@ -6461,11 +6461,11 @@ function $h(e) {
6461
6461
  }
6462
6462
  }, f.tsParseBindingListForSignature = function() {
6463
6463
  var s = this;
6464
- return P.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(a) {
6465
- return a.type !== "Identifier" && a.type !== "RestElement" && a.type !== "ObjectPattern" && a.type !== "ArrayPattern" && s.raise(a.start, N.UnsupportedSignatureParameterKind(a.type)), a;
6464
+ return T.prototype.parseBindingList.call(this, o.parenR, !0, !0).map(function(a) {
6465
+ return a.type !== "Identifier" && a.type !== "RestElement" && a.type !== "ObjectPattern" && a.type !== "ArrayPattern" && s.raise(a.start, I.UnsupportedSignatureParameterKind(a.type)), a;
6466
6466
  });
6467
6467
  }, f.tsParseTypePredicateAsserts = function() {
6468
- if (this.type !== D.asserts) return !1;
6468
+ if (this.type !== R.asserts) return !1;
6469
6469
  var s = this.containsEsc;
6470
6470
  return this.next(), !(!q(this.type) && !this.match(o._this) || (s && this.raise(this.lastTokStart, "Escape sequence in keyword asserts"), 0));
6471
6471
  }, f.tsParseThisTypeNode = function() {
@@ -6508,7 +6508,7 @@ function $h(e) {
6508
6508
  if (this.lookahead().type !== o._const) return null;
6509
6509
  this.next();
6510
6510
  var s = this.tsParseTypeReference();
6511
- return s.typeParameters && this.raise(s.typeName.start, N.CannotFindName({ name: "const" })), s;
6511
+ return s.typeParameters && this.raise(s.typeName.start, I.CannotFindName({ name: "const" })), s;
6512
6512
  }, f.tsParseFunctionOrConstructorType = function(s, a) {
6513
6513
  var c = this, p = this.startNode();
6514
6514
  return s === "TSConstructorType" && (p.abstract = !!a, a && this.next(), this.next()), this.tsInAllowConditionalTypesContext(function() {
@@ -6526,7 +6526,7 @@ function $h(e) {
6526
6526
  case "TSArrayType":
6527
6527
  return;
6528
6528
  default:
6529
- this.raise(s.start, N.UnexpectedReadonly);
6529
+ this.raise(s.start, I.UnexpectedReadonly);
6530
6530
  }
6531
6531
  }, f.tsParseTypeOperator = function() {
6532
6532
  var s = this.startNode(), a = this.value;
@@ -6561,7 +6561,7 @@ function $h(e) {
6561
6561
  })(), this.finishNode(a, "TSLiteralType");
6562
6562
  }, f.tsParseImportType = function() {
6563
6563
  var s = this.startNode();
6564
- return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, N.UnsupportedImportTypeArgument), s.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (s.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (s.typeParameters = this.tsParseTypeArguments()), this.finishNode(s, "TSImportType");
6564
+ return this.expect(o._import), this.expect(o.parenL), this.match(o.string) || this.raise(this.start, I.UnsupportedImportTypeArgument), s.argument = this.parseExprAtom(), this.expect(o.parenR), this.eat(o.dot) && (s.qualifier = this.tsParseEntityName()), this.tsMatchLeftRelational() && (s.typeParameters = this.tsParseTypeArguments()), this.finishNode(s, "TSImportType");
6565
6565
  }, f.tsParseTypeQuery = function() {
6566
6566
  var s = this.startNode();
6567
6567
  return this.expect(o._typeof), s.exprName = this.match(o._import) ? this.tsParseImportType() : this.tsParseEntityName(), !this.hasPrecedingLineBreak() && this.tsMatchLeftRelational() && (s.typeParameters = this.tsParseTypeArguments()), this.finishNode(s, "TSTypeQuery");
@@ -6578,7 +6578,7 @@ function $h(e) {
6578
6578
  var s = this.startLoc, a = this.start, c = this.eat(o.ellipsis), p = this.tsParseType(), m = this.eat(o.question);
6579
6579
  if (this.eat(o.colon)) {
6580
6580
  var v = this.startNodeAtNode(p);
6581
- v.optional = m, p.type !== "TSTypeReference" || p.typeParameters || p.typeName.type !== "Identifier" ? (this.raise(p.start, N.InvalidTupleMemberLabel), v.label = p) : v.label = p.typeName, v.elementType = this.tsParseType(), p = this.finishNode(v, "TSNamedTupleMember");
6581
+ v.optional = m, p.type !== "TSTypeReference" || p.typeParameters || p.typeName.type !== "Identifier" ? (this.raise(p.start, I.InvalidTupleMemberLabel), v.label = p) : v.label = p.typeName, v.elementType = this.tsParseType(), p = this.finishNode(v, "TSNamedTupleMember");
6582
6582
  } else if (m) {
6583
6583
  var x = this.startNodeAtNode(p);
6584
6584
  x.typeAnnotation = p, p = this.finishNode(x, "TSOptionalType");
@@ -6594,11 +6594,11 @@ function $h(e) {
6594
6594
  var c = !1, p = null;
6595
6595
  return a.elementTypes.forEach(function(m) {
6596
6596
  var v = m.type;
6597
- !c || v === "TSRestType" || v === "TSOptionalType" || v === "TSNamedTupleMember" && m.optional || s.raise(m.start, N.OptionalTypeBeforeRequired), c || (c = v === "TSNamedTupleMember" && m.optional || v === "TSOptionalType");
6597
+ !c || v === "TSRestType" || v === "TSOptionalType" || v === "TSNamedTupleMember" && m.optional || s.raise(m.start, I.OptionalTypeBeforeRequired), c || (c = v === "TSNamedTupleMember" && m.optional || v === "TSOptionalType");
6598
6598
  var x = v;
6599
6599
  v === "TSRestType" && (x = (m = m.typeAnnotation).type);
6600
6600
  var g = x === "TSNamedTupleMember";
6601
- p != null || (p = g), p !== g && s.raise(m.start, N.MixedLabeledAndUnlabeledElements);
6601
+ p != null || (p = g), p !== g && s.raise(m.start, I.MixedLabeledAndUnlabeledElements);
6602
6602
  }), this.finishNode(a, "TSTupleType");
6603
6603
  }, f.tsParseTemplateLiteralType = function() {
6604
6604
  var s = this.startNode();
@@ -6730,7 +6730,7 @@ function $h(e) {
6730
6730
  return c && (s.typeAnnotation = c), this.tsParseTypeMemberSemicolon(), this.finishNode(s, "TSIndexSignature");
6731
6731
  }
6732
6732
  }, f.tsParseNoneModifiers = function(s) {
6733
- this.tsParseModifiers({ modified: s, allowedModifiers: [], disallowedModifiers: ["in", "out"], errorTemplate: N.InvalidModifierOnTypeParameterPositions });
6733
+ this.tsParseModifiers({ modified: s, allowedModifiers: [], disallowedModifiers: ["in", "out"], errorTemplate: I.InvalidModifierOnTypeParameterPositions });
6734
6734
  }, f.tsParseTypeParameter = function(s) {
6735
6735
  s === void 0 && (s = this.tsParseNoneModifiers.bind(this));
6736
6736
  var a = this.startNode();
@@ -6739,7 +6739,7 @@ function $h(e) {
6739
6739
  var a = this.startNode();
6740
6740
  this.tsMatchLeftRelational() || this.matchJsx("jsxTagStart") ? this.next() : this.unexpected();
6741
6741
  var c = { value: -1 };
6742
- return a.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, s), !1, !0, c), a.params.length === 0 && this.raise(this.start, N.EmptyTypeParameters), c.value !== -1 && this.addExtra(a, "trailingComma", c.value), this.finishNode(a, "TSTypeParameterDeclaration");
6742
+ return a.params = this.tsParseBracketedList("TypeParametersOrArguments", this.tsParseTypeParameter.bind(this, s), !1, !0, c), a.params.length === 0 && this.raise(this.start, I.EmptyTypeParameters), c.value !== -1 && this.addExtra(a, "trailingComma", c.value), this.finishNode(a, "TSTypeParameterDeclaration");
6743
6743
  }, f.tsTryParseTypeParameters = function(s) {
6744
6744
  if (this.tsMatchLeftRelational()) return this.tsParseTypeParameters(s);
6745
6745
  }, f.tsTryParse = function(s) {
@@ -6763,31 +6763,31 @@ function $h(e) {
6763
6763
  a[v] = c[v];
6764
6764
  }
6765
6765
  }, f.tsParseModifiers = function(s) {
6766
- for (var a = this, c = s.modified, p = s.allowedModifiers, m = s.disallowedModifiers, v = s.stopOnStartOfClassStaticBlock, x = s.errorTemplate, g = x === void 0 ? N.InvalidModifierOnTypeMember : x, _ = {}, S = function(K, G, X, ie) {
6767
- G === X && c[ie] && a.raise(K.column, N.InvalidModifiersOrder({ orderedModifiers: [X, ie] }));
6768
- }, L = function(K, G, X, ie) {
6769
- (c[X] && G === ie || c[ie] && G === X) && a.raise(K.column, N.IncompatibleModifiers({ modifiers: [X, ie] }));
6766
+ for (var a = this, c = s.modified, p = s.allowedModifiers, m = s.disallowedModifiers, v = s.stopOnStartOfClassStaticBlock, x = s.errorTemplate, g = x === void 0 ? I.InvalidModifierOnTypeMember : x, _ = {}, S = function(K, G, X, ie) {
6767
+ G === X && c[ie] && a.raise(K.column, I.InvalidModifiersOrder({ orderedModifiers: [X, ie] }));
6768
+ }, N = function(K, G, X, ie) {
6769
+ (c[X] && G === ie || c[ie] && G === X) && a.raise(K.column, I.IncompatibleModifiers({ modifiers: [X, ie] }));
6770
6770
  }; ; ) {
6771
- var V = this.startLoc, E = this.tsParseModifier(p.concat(m ?? []), v);
6772
- if (!E) break;
6773
- wr(E) ? c.accessibility ? this.raise(this.start, N.DuplicateAccessibilityModifier()) : (S(V, E, E, "override"), S(V, E, E, "static"), S(V, E, E, "readonly"), S(V, E, E, "accessor"), _.accessibility = E, c.accessibility = E) : zh(E) ? c[E] ? this.raise(this.start, N.DuplicateModifier({ modifier: E })) : (S(V, E, "in", "out"), _[E] = E, c[E] = !0) : Vh(E) ? c[E] ? this.raise(this.start, N.DuplicateModifier({ modifier: E })) : (L(V, E, "accessor", "readonly"), L(V, E, "accessor", "static"), L(V, E, "accessor", "override"), _[E] = E, c[E] = !0) : Object.hasOwnProperty.call(c, E) ? this.raise(this.start, N.DuplicateModifier({ modifier: E })) : (S(V, E, "static", "readonly"), S(V, E, "static", "override"), S(V, E, "override", "readonly"), S(V, E, "abstract", "override"), L(V, E, "declare", "override"), L(V, E, "static", "abstract"), _[E] = E, c[E] = !0), m != null && m.includes(E) && this.raise(this.start, g);
6771
+ var V = this.startLoc, A = this.tsParseModifier(p.concat(m ?? []), v);
6772
+ if (!A) break;
6773
+ wr(A) ? c.accessibility ? this.raise(this.start, I.DuplicateAccessibilityModifier()) : (S(V, A, A, "override"), S(V, A, A, "static"), S(V, A, A, "readonly"), S(V, A, A, "accessor"), _.accessibility = A, c.accessibility = A) : zh(A) ? c[A] ? this.raise(this.start, I.DuplicateModifier({ modifier: A })) : (S(V, A, "in", "out"), _[A] = A, c[A] = !0) : Vh(A) ? c[A] ? this.raise(this.start, I.DuplicateModifier({ modifier: A })) : (N(V, A, "accessor", "readonly"), N(V, A, "accessor", "static"), N(V, A, "accessor", "override"), _[A] = A, c[A] = !0) : Object.hasOwnProperty.call(c, A) ? this.raise(this.start, I.DuplicateModifier({ modifier: A })) : (S(V, A, "static", "readonly"), S(V, A, "static", "override"), S(V, A, "override", "readonly"), S(V, A, "abstract", "override"), N(V, A, "declare", "override"), N(V, A, "static", "abstract"), _[A] = A, c[A] = !0), m != null && m.includes(A) && this.raise(this.start, g);
6774
6774
  }
6775
6775
  return _;
6776
6776
  }, f.tsParseInOutModifiers = function(s) {
6777
- this.tsParseModifiers({ modified: s, allowedModifiers: ["in", "out"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: N.InvalidModifierOnTypeParameter });
6777
+ this.tsParseModifiers({ modified: s, allowedModifiers: ["in", "out"], disallowedModifiers: ["public", "private", "protected", "readonly", "declare", "abstract", "override"], errorTemplate: I.InvalidModifierOnTypeParameter });
6778
6778
  }, f.tsParseTypeArguments = function() {
6779
6779
  var s = this, a = this.startNode();
6780
6780
  return a.params = this.tsInType(function() {
6781
6781
  return s.tsInNoContext(function() {
6782
6782
  return s.expect(o.relational), s.tsParseDelimitedList("TypeParametersOrArguments", s.tsParseType.bind(s));
6783
6783
  });
6784
- }), a.params.length === 0 && this.raise(this.start, N.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(a, "TSTypeParameterInstantiation");
6784
+ }), a.params.length === 0 && this.raise(this.start, I.EmptyTypeArguments), this.exprAllowed = !1, this.expect(o.relational), this.finishNode(a, "TSTypeParameterInstantiation");
6785
6785
  }, f.tsParseHeritageClause = function(s) {
6786
6786
  var a = this, c = this.start, p = this.tsParseDelimitedList("HeritageClauseElement", function() {
6787
6787
  var m = a.startNode();
6788
6788
  return m.expression = a.tsParseEntityName(), a.tsMatchLeftRelational() && (m.typeParameters = a.tsParseTypeArguments()), a.finishNode(m, "TSExpressionWithTypeArguments");
6789
6789
  });
6790
- return p.length || this.raise(c, N.EmptyHeritageClauseType({ token: s })), p;
6790
+ return p.length || this.raise(c, I.EmptyHeritageClauseType({ token: s })), p;
6791
6791
  }, f.tsParseTypeMemberSemicolon = function() {
6792
6792
  this.eat(o.comma) || this.isLineTerminator() || this.expect(o.semi);
6793
6793
  }, f.tsTryParseAndCatch = function(s) {
@@ -6801,18 +6801,18 @@ function $h(e) {
6801
6801
  this.eat(o.question) && (s.optional = !0);
6802
6802
  var c = s;
6803
6803
  if (this.match(o.parenL) || this.tsMatchLeftRelational()) {
6804
- a && this.raise(s.start, N.ReadonlyForMethodSignature);
6804
+ a && this.raise(s.start, I.ReadonlyForMethodSignature);
6805
6805
  var p = c;
6806
- p.kind && this.tsMatchLeftRelational() && this.raise(this.start, N.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, p), this.tsParseTypeMemberSemicolon();
6806
+ p.kind && this.tsMatchLeftRelational() && this.raise(this.start, I.AccesorCannotHaveTypeParameters), this.tsFillSignature(o.colon, p), this.tsParseTypeMemberSemicolon();
6807
6807
  var m = "parameters", v = "typeAnnotation";
6808
- if (p.kind === "get") p[m].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(p[m][0]) && this.raise(this.start, N.AccesorCannotDeclareThisParameter));
6808
+ if (p.kind === "get") p[m].length > 0 && (this.raise(this.start, "A 'get' accesor must not have any formal parameters."), this.isThisParam(p[m][0]) && this.raise(this.start, I.AccesorCannotDeclareThisParameter));
6809
6809
  else if (p.kind === "set") {
6810
6810
  if (p[m].length !== 1) this.raise(this.start, "A 'get' accesor must not have any formal parameters.");
6811
6811
  else {
6812
6812
  var x = p[m][0];
6813
- this.isThisParam(x) && this.raise(this.start, N.AccesorCannotDeclareThisParameter), x.type === "Identifier" && x.optional && this.raise(this.start, N.SetAccesorCannotHaveOptionalParameter), x.type === "RestElement" && this.raise(this.start, N.SetAccesorCannotHaveRestParameter);
6813
+ this.isThisParam(x) && this.raise(this.start, I.AccesorCannotDeclareThisParameter), x.type === "Identifier" && x.optional && this.raise(this.start, I.SetAccesorCannotHaveOptionalParameter), x.type === "RestElement" && this.raise(this.start, I.SetAccesorCannotHaveRestParameter);
6814
6814
  }
6815
- p[v] && this.raise(p[v].start, N.SetAccesorCannotHaveReturnType);
6815
+ p[v] && this.raise(p[v].start, I.SetAccesorCannotHaveReturnType);
6816
6816
  } else p.kind = "method";
6817
6817
  return this.finishNode(p, "TSMethodSignature");
6818
6818
  }
@@ -6837,12 +6837,12 @@ function $h(e) {
6837
6837
  return this.expect(o.braceR), s;
6838
6838
  }, f.tsParseInterfaceDeclaration = function(s, a) {
6839
6839
  if (a === void 0 && (a = {}), this.hasFollowingLineBreak()) return null;
6840
- this.expectContextual("interface"), a.declare && (s.declare = !0), q(this.type) ? (s.id = this.parseIdent(), this.checkLValSimple(s.id, 7)) : (s.id = null, this.raise(this.start, N.MissingInterfaceName)), s.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (s.extends = this.tsParseHeritageClause("extends"));
6840
+ this.expectContextual("interface"), a.declare && (s.declare = !0), q(this.type) ? (s.id = this.parseIdent(), this.checkLValSimple(s.id, 7)) : (s.id = null, this.raise(this.start, I.MissingInterfaceName)), s.typeParameters = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this)), this.eat(o._extends) && (s.extends = this.tsParseHeritageClause("extends"));
6841
6841
  var c = this.startNode();
6842
6842
  return c.body = this.tsInType(this.tsParseObjectTypeMembers.bind(this)), s.body = this.finishNode(c, "TSInterfaceBody"), this.finishNode(s, "TSInterfaceDeclaration");
6843
6843
  }, f.tsParseAbstractDeclaration = function(s) {
6844
6844
  if (this.match(o._class)) return s.abstract = !0, this.parseClass(s, !0);
6845
- if (this.ts_isContextual(D.interface)) {
6845
+ if (this.ts_isContextual(R.interface)) {
6846
6846
  if (!this.hasFollowingLineBreak()) return s.abstract = !0, this.tsParseInterfaceDeclaration(s);
6847
6847
  } else this.unexpected(s.start);
6848
6848
  }, f.tsIsDeclarationStart = function() {
@@ -6855,9 +6855,9 @@ function $h(e) {
6855
6855
  break;
6856
6856
  case "global":
6857
6857
  if (this.match(o.braceL)) {
6858
- P.prototype.enterScope.call(this, vt);
6858
+ T.prototype.enterScope.call(this, vt);
6859
6859
  var p = s;
6860
- return p.global = !0, p.id = a, p.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this), this.finishNode(p, "TSModuleDeclaration");
6860
+ return p.global = !0, p.id = a, p.body = this.tsParseModuleBlock(), T.prototype.exitScope.call(this), this.finishNode(p, "TSModuleDeclaration");
6861
6861
  }
6862
6862
  break;
6863
6863
  default:
@@ -6869,7 +6869,7 @@ function $h(e) {
6869
6869
  var s = this.type, a = this.isAsyncFunction(), c = this.isLet();
6870
6870
  if (q(s)) {
6871
6871
  if (a && !this.containsEsc || c) return !1;
6872
- if ((s === D.type || s === D.interface) && !this.containsEsc) {
6872
+ if ((s === R.type || s === R.interface) && !this.containsEsc) {
6873
6873
  var p = this.lookahead();
6874
6874
  if (q(p.type) && !this.isContextualWithState("from", p) || p.type === o.braceL) return !1;
6875
6875
  }
@@ -6895,14 +6895,14 @@ function $h(e) {
6895
6895
  if (a === void 0 && (a = !1), s.id = this.parseIdent(), a || this.checkLValSimple(s.id, 8), this.eat(o.dot)) {
6896
6896
  var c = this.startNode();
6897
6897
  this.tsParseModuleOrNamespaceDeclaration(c, !0), s.body = c;
6898
- } else P.prototype.enterScope.call(this, vt), s.body = this.tsParseModuleBlock(), P.prototype.exitScope.call(this);
6898
+ } else T.prototype.enterScope.call(this, vt), s.body = this.tsParseModuleBlock(), T.prototype.exitScope.call(this);
6899
6899
  return this.finishNode(s, "TSModuleDeclaration");
6900
6900
  }, f.checkLValSimple = function(s, a, c) {
6901
- return a === void 0 && (a = 0), P.prototype.checkLValSimple.call(this, s, a, c);
6901
+ return a === void 0 && (a = 0), T.prototype.checkLValSimple.call(this, s, a, c);
6902
6902
  }, f.tsParseTypeAliasDeclaration = function(s) {
6903
6903
  var a = this;
6904
6904
  return s.id = this.parseIdent(), this.checkLValSimple(s.id, 6), s.typeAnnotation = this.tsInType(function() {
6905
- if (s.typeParameters = a.tsTryParseTypeParameters(a.tsParseInOutModifiers.bind(a)), a.expect(o.eq), a.ts_isContextual(D.interface) && a.lookahead().type !== o.dot) {
6905
+ if (s.typeParameters = a.tsTryParseTypeParameters(a.tsParseInOutModifiers.bind(a)), a.expect(o.eq), a.ts_isContextual(R.interface) && a.lookahead().type !== o.dot) {
6906
6906
  var c = a.startNode();
6907
6907
  return a.next(), a.finishNode(c, "TSIntrinsicKeyword");
6908
6908
  }
@@ -6928,15 +6928,15 @@ function $h(e) {
6928
6928
  }, f.tsTryParseExportDeclaration = function() {
6929
6929
  return this.tsParseDeclaration(this.startNode(), this.value, !0);
6930
6930
  }, f.tsParseImportEqualsDeclaration = function(s, a) {
6931
- s.isExport = a || !1, s.id = this.parseIdent(), this.checkLValSimple(s.id, 2), P.prototype.expect.call(this, o.eq);
6931
+ s.isExport = a || !1, s.id = this.parseIdent(), this.checkLValSimple(s.id, 2), T.prototype.expect.call(this, o.eq);
6932
6932
  var c = this.tsParseModuleReference();
6933
- return s.importKind === "type" && c.type !== "TSExternalModuleReference" && this.raise(c.start, N.ImportAliasHasImportType), s.moduleReference = c, P.prototype.semicolon.call(this), this.finishNode(s, "TSImportEqualsDeclaration");
6933
+ return s.importKind === "type" && c.type !== "TSExternalModuleReference" && this.raise(c.start, I.ImportAliasHasImportType), s.moduleReference = c, T.prototype.semicolon.call(this), this.finishNode(s, "TSImportEqualsDeclaration");
6934
6934
  }, f.isExportDefaultSpecifier = function() {
6935
6935
  if (this.tsIsDeclarationStart()) return !1;
6936
6936
  var s = this.type;
6937
6937
  if (q(s)) {
6938
6938
  if (this.isContextual("async") || this.isContextual("let")) return !1;
6939
- if ((s === D.type || s === D.interface) && !this.containsEsc) {
6939
+ if ((s === R.type || s === R.interface) && !this.containsEsc) {
6940
6940
  var a = this.lookahead();
6941
6941
  if (q(a.type) && !this.isContextualWithState("from", a) || a.type === o.braceL) return !1;
6942
6942
  }
@@ -6963,7 +6963,7 @@ function $h(e) {
6963
6963
  }, f.parseFunctionBody = function(s, a, c, p, m) {
6964
6964
  a === void 0 && (a = !1), c === void 0 && (c = !1), p === void 0 && (p = !1), this.match(o.colon) && (s.returnType = this.tsParseTypeOrTypePredicateAnnotation(o.colon));
6965
6965
  var v = m != null && m.isFunctionDeclaration ? "TSDeclareFunction" : m != null && m.isClassMethod ? "TSDeclareMethod" : void 0;
6966
- return v && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(s, v) : v === "TSDeclareFunction" && this.isAmbientContext && (this.raise(s.start, N.DeclareFunctionHasImplementation), s.declare) ? (P.prototype.parseFunctionBody.call(this, s, a, c, !1), this.finishNode(s, v)) : (P.prototype.parseFunctionBody.call(this, s, a, c, p), s);
6966
+ return v && !this.match(o.braceL) && this.isLineTerminator() ? this.finishNode(s, v) : v === "TSDeclareFunction" && this.isAmbientContext && (this.raise(s.start, I.DeclareFunctionHasImplementation), s.declare) ? (T.prototype.parseFunctionBody.call(this, s, a, c, !1), this.finishNode(s, v)) : (T.prototype.parseFunctionBody.call(this, s, a, c, p), s);
6967
6967
  }, f.parseNew = function() {
6968
6968
  var s;
6969
6969
  this.containsEsc && this.raiseRecoverable(this.start, "Escape sequence in keyword new");
@@ -6985,7 +6985,7 @@ function $h(e) {
6985
6985
  var g = this.tsTryNextParseConstantContext();
6986
6986
  return x.typeAnnotation = g || this.tsNextThenParseType(), this.finishNode(x, v), this.reScan_lt_gt(), this.parseExprOp(x, a, c, p, m);
6987
6987
  }
6988
- return P.prototype.parseExprOp.call(this, s, a, c, p, m);
6988
+ return T.prototype.parseExprOp.call(this, s, a, c, p, m);
6989
6989
  }, f.parseImportSpecifiers = function() {
6990
6990
  var s = [], a = !0;
6991
6991
  if (y.tokenIsIdentifier(this.type) && (s.push(this.parseImportDefaultSpecifier()), !this.eat(o.comma))) return s;
@@ -7006,17 +7006,17 @@ function $h(e) {
7006
7006
  return this.importOrExportOuterKind = "value", p;
7007
7007
  }
7008
7008
  }
7009
- return this.next(), this.type === o.string ? (s.specifiers = [], s.source = this.parseExprAtom()) : (s.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), s.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(s), this.semicolon(), this.finishNode(s, "ImportDeclaration"), this.importOrExportOuterKind = "value", s.importKind === "type" && s.specifiers.length > 1 && s.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(s.start, N.TypeImportCannotSpecifyDefaultAndNamed), s;
7009
+ return this.next(), this.type === o.string ? (s.specifiers = [], s.source = this.parseExprAtom()) : (s.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), s.source = this.type === o.string ? this.parseExprAtom() : this.unexpected()), this.parseMaybeImportAttributes(s), this.semicolon(), this.finishNode(s, "ImportDeclaration"), this.importOrExportOuterKind = "value", s.importKind === "type" && s.specifiers.length > 1 && s.specifiers[0].type === "ImportDefaultSpecifier" && this.raise(s.start, I.TypeImportCannotSpecifyDefaultAndNamed), s;
7010
7010
  }, f.parseExportDefaultDeclaration = function() {
7011
7011
  if (this.isAbstractClass()) {
7012
7012
  var s = this.startNode();
7013
7013
  return this.next(), s.abstract = !0, this.parseClass(s, !0);
7014
7014
  }
7015
- if (this.match(D.interface)) {
7015
+ if (this.match(R.interface)) {
7016
7016
  var a = this.tsParseInterfaceDeclaration(this.startNode());
7017
7017
  if (a) return a;
7018
7018
  }
7019
- return P.prototype.parseExportDefaultDeclaration.call(this);
7019
+ return T.prototype.parseExportDefaultDeclaration.call(this);
7020
7020
  }, f.parseExportAllDeclaration = function(s, a) {
7021
7021
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (s.exported = this.parseModuleExportName(), this.checkExport(a, s.exported, this.lastTokStart)) : s.exported = null), this.expectContextual("from"), this.type !== o.string && this.unexpected(), s.source = this.parseExprAtom(), this.parseMaybeImportAttributes(s), this.semicolon(), this.finishNode(s, "ExportAllDeclaration");
7022
7022
  }, f.parseDynamicImport = function(s) {
@@ -7032,7 +7032,7 @@ function $h(e) {
7032
7032
  }, f.parseExport = function(s, a) {
7033
7033
  var c = this.lookahead();
7034
7034
  if (this.ts_eatWithState(o._import, 2, c)) {
7035
- this.ts_isContextual(D.type) && this.lookaheadCharCode() !== 61 ? (s.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (s.importKind = "value", this.importOrExportOuterKind = "value");
7035
+ this.ts_isContextual(R.type) && this.lookaheadCharCode() !== 61 ? (s.importKind = "type", this.importOrExportOuterKind = "type", this.next()) : (s.importKind = "value", this.importOrExportOuterKind = "value");
7036
7036
  var p = this.tsParseImportEqualsDeclaration(s, !0);
7037
7037
  return this.importOrExportOuterKind = void 0, p;
7038
7038
  }
@@ -7044,7 +7044,7 @@ function $h(e) {
7044
7044
  var v = s;
7045
7045
  return this.expectContextual("namespace"), v.id = this.parseIdent(), this.semicolon(), this.importOrExportOuterKind = void 0, this.finishNode(v, "TSNamespaceExportDeclaration");
7046
7046
  }
7047
- if (this.ts_isContextualWithState(c, D.type) && this.lookahead(2).type === o.braceL ? (this.next(), this.importOrExportOuterKind = "type", s.exportKind = "type") : (this.importOrExportOuterKind = "value", s.exportKind = "value"), this.next(), this.eat(o.star)) return this.parseExportAllDeclaration(s, a);
7047
+ if (this.ts_isContextualWithState(c, R.type) && this.lookahead(2).type === o.braceL ? (this.next(), this.importOrExportOuterKind = "type", s.exportKind = "type") : (this.importOrExportOuterKind = "value", s.exportKind = "value"), this.next(), this.eat(o.star)) return this.parseExportAllDeclaration(s, a);
7048
7048
  if (this.eat(o._default)) return this.checkExport(a, "default", this.lastTokStart), s.declaration = this.parseExportDefaultDeclaration(), this.finishNode(s, "ExportDefaultDeclaration");
7049
7049
  if (this.shouldParseExportStatement()) s.declaration = this.parseExportDeclaration(s), s.declaration.type === "VariableDeclaration" ? this.checkVariableExport(a, s.declaration.declarations) : this.checkExport(a, s.declaration.id, s.declaration.id.start), s.specifiers = [], s.source = null;
7050
7050
  else {
@@ -7062,8 +7062,8 @@ function $h(e) {
7062
7062
  }, f.checkExport = function(s, a, c) {
7063
7063
  s && (typeof a != "string" && (a = a.type === "Identifier" ? a.name : a.value), s[a] = !0);
7064
7064
  }, f.parseMaybeDefault = function(s, a, c) {
7065
- var p = P.prototype.parseMaybeDefault.call(this, s, a, c);
7066
- return p.type === "AssignmentPattern" && p.typeAnnotation && p.right.start < p.typeAnnotation.start && this.raise(p.typeAnnotation.start, N.TypeAnnotationAfterAssign), p;
7065
+ var p = T.prototype.parseMaybeDefault.call(this, s, a, c);
7066
+ return p.type === "AssignmentPattern" && p.typeAnnotation && p.right.start < p.typeAnnotation.start && this.raise(p.typeAnnotation.start, I.TypeAnnotationAfterAssign), p;
7067
7067
  }, f.typeCastToParameter = function(s) {
7068
7068
  return s.expression.typeAnnotation = s.typeAnnotation, this.resetEndLocation(s.expression, s.typeAnnotation.end), s.expression;
7069
7069
  }, f.toAssignableList = function(s, a) {
@@ -7071,22 +7071,22 @@ function $h(e) {
7071
7071
  var p = s[c];
7072
7072
  p?.type === "TSTypeCastExpression" && (s[c] = this.typeCastToParameter(p));
7073
7073
  }
7074
- return P.prototype.toAssignableList.call(this, s, a);
7074
+ return T.prototype.toAssignableList.call(this, s, a);
7075
7075
  }, f.reportReservedArrowTypeParam = function(s) {
7076
7076
  }, f.parseExprAtom = function(s, a, c) {
7077
- if (this.type === D.jsxText) return this.jsx_parseText();
7078
- if (this.type === D.jsxTagStart) return this.jsx_parseElement();
7079
- if (this.type === D.at) return this.parseDecorators(), this.parseExprAtom();
7077
+ if (this.type === R.jsxText) return this.jsx_parseText();
7078
+ if (this.type === R.jsxTagStart) return this.jsx_parseElement();
7079
+ if (this.type === R.at) return this.parseDecorators(), this.parseExprAtom();
7080
7080
  if (q(this.type)) {
7081
7081
  var p = this.potentialArrowAt === this.start, m = this.start, v = this.startLoc, x = this.containsEsc, g = this.parseIdent(!1);
7082
- if (this.options.ecmaVersion >= 8 && !x && g.name === "async" && !this.canInsertSemicolon() && this.eat(o._function)) return this.overrideContext(Z.f_expr), this.parseFunction(this.startNodeAt(m, v), 0, !1, !0, a);
7082
+ if (this.options.ecmaVersion >= 8 && !x && g.name === "async" && !this.canInsertSemicolon() && this.eat(o._function)) return this.overrideContext(U.f_expr), this.parseFunction(this.startNodeAt(m, v), 0, !1, !0, a);
7083
7083
  if (p && !this.canInsertSemicolon()) {
7084
7084
  if (this.eat(o.arrow)) return this.parseArrowExpression(this.startNodeAt(m, v), [g], !1, a);
7085
7085
  if (this.options.ecmaVersion >= 8 && g.name === "async" && this.type === o.name && !x && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc)) return g = this.parseIdent(!1), !this.canInsertSemicolon() && this.eat(o.arrow) || this.unexpected(), this.parseArrowExpression(this.startNodeAt(m, v), [g], !0, a);
7086
7086
  }
7087
7087
  return g;
7088
7088
  }
7089
- return P.prototype.parseExprAtom.call(this, s, a, c);
7089
+ return T.prototype.parseExprAtom.call(this, s, a, c);
7090
7090
  }, f.parseExprAtomDefault = function() {
7091
7091
  if (q(this.type)) {
7092
7092
  var s = this.potentialArrowAt === this.start, a = this.containsEsc, c = this.parseIdent();
@@ -7106,37 +7106,37 @@ function $h(e) {
7106
7106
  this.unexpected();
7107
7107
  }, f.parseIdentNode = function() {
7108
7108
  var s = this.startNode();
7109
- return Ct(this.type) ? (s.name = this.value, s) : P.prototype.parseIdentNode.call(this);
7109
+ return At(this.type) ? (s.name = this.value, s) : T.prototype.parseIdentNode.call(this);
7110
7110
  }, f.parseVarStatement = function(s, a, c) {
7111
7111
  c === void 0 && (c = !1);
7112
7112
  var p = this.isAmbientContext;
7113
- this.next(), P.prototype.parseVar.call(this, s, !1, a, c || p), this.semicolon();
7113
+ this.next(), T.prototype.parseVar.call(this, s, !1, a, c || p), this.semicolon();
7114
7114
  var m = this.finishNode(s, "VariableDeclaration");
7115
7115
  if (!p) return m;
7116
7116
  for (var v, x = xr(m.declarations); !(v = x()).done; ) {
7117
7117
  var g = v.value, _ = g.init;
7118
- _ && (a !== "const" || g.id.typeAnnotation ? this.raise(_.start, N.InitializerNotAllowedInAmbientContext) : _.type !== "StringLiteral" && _.type !== "BooleanLiteral" && _.type !== "NumericLiteral" && _.type !== "BigIntLiteral" && (_.type !== "TemplateLiteral" || _.expressions.length > 0) && !jh(_) && this.raise(_.start, N.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
7118
+ _ && (a !== "const" || g.id.typeAnnotation ? this.raise(_.start, I.InitializerNotAllowedInAmbientContext) : _.type !== "StringLiteral" && _.type !== "BooleanLiteral" && _.type !== "NumericLiteral" && _.type !== "BigIntLiteral" && (_.type !== "TemplateLiteral" || _.expressions.length > 0) && !jh(_) && this.raise(_.start, I.ConstInitiailizerMustBeStringOrNumericLiteralOrLiteralEnumReference));
7119
7119
  }
7120
7120
  return m;
7121
7121
  }, f.parseStatement = function(s, a, c) {
7122
- if (this.match(D.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
7122
+ if (this.match(R.at) && this.parseDecorators(!0), this.match(o._const) && this.isLookaheadContextual("enum")) {
7123
7123
  var p = this.startNode();
7124
7124
  return this.expect(o._const), this.tsParseEnumDeclaration(p, { const: !0 });
7125
7125
  }
7126
- if (this.ts_isContextual(D.enum)) return this.tsParseEnumDeclaration(this.startNode());
7127
- if (this.ts_isContextual(D.interface)) {
7126
+ if (this.ts_isContextual(R.enum)) return this.tsParseEnumDeclaration(this.startNode());
7127
+ if (this.ts_isContextual(R.interface)) {
7128
7128
  var m = this.tsParseInterfaceDeclaration(this.startNode());
7129
7129
  if (m) return m;
7130
7130
  }
7131
- return P.prototype.parseStatement.call(this, s, a, c);
7131
+ return T.prototype.parseStatement.call(this, s, a, c);
7132
7132
  }, f.parseAccessModifier = function() {
7133
7133
  return this.tsParseModifier(["public", "protected", "private"]);
7134
7134
  }, f.parsePostMemberNameModifiers = function(s) {
7135
- this.eat(o.question) && (s.optional = !0), s.readonly && this.match(o.parenL) && this.raise(s.start, N.ClassMethodHasReadonly), s.declare && this.match(o.parenL) && this.raise(s.start, N.ClassMethodHasDeclare);
7135
+ this.eat(o.question) && (s.optional = !0), s.readonly && this.match(o.parenL) && this.raise(s.start, I.ClassMethodHasReadonly), s.declare && this.match(o.parenL) && this.raise(s.start, I.ClassMethodHasDeclare);
7136
7136
  }, f.parseExpressionStatement = function(s, a) {
7137
- return (a.type === "Identifier" ? this.tsParseExpressionStatement(s, a) : void 0) || P.prototype.parseExpressionStatement.call(this, s, a);
7137
+ return (a.type === "Identifier" ? this.tsParseExpressionStatement(s, a) : void 0) || T.prototype.parseExpressionStatement.call(this, s, a);
7138
7138
  }, f.shouldParseExportStatement = function() {
7139
- return !!this.tsIsDeclarationStart() || !!this.match(D.at) || P.prototype.shouldParseExportStatement.call(this);
7139
+ return !!this.tsIsDeclarationStart() || !!this.match(R.at) || T.prototype.shouldParseExportStatement.call(this);
7140
7140
  }, f.parseConditional = function(s, a, c, p, m) {
7141
7141
  if (this.eat(o.question)) {
7142
7142
  var v = this.startNodeAt(a, c);
@@ -7153,23 +7153,23 @@ function $h(e) {
7153
7153
  return x.node ? (x.error && this.setLookaheadState(x.failState), x.node) : (x.error && this.setOptionalParametersError(a, x.error), v);
7154
7154
  }, f.parseParenItem = function(s) {
7155
7155
  var a = this.start, c = this.startLoc;
7156
- if (s = P.prototype.parseParenItem.call(this, s), this.eat(o.question) && (s.optional = !0, this.resetEndLocation(s)), this.match(o.colon)) {
7156
+ if (s = T.prototype.parseParenItem.call(this, s), this.eat(o.question) && (s.optional = !0, this.resetEndLocation(s)), this.match(o.colon)) {
7157
7157
  var p = this.startNodeAt(a, c);
7158
7158
  return p.expression = s, p.typeAnnotation = this.tsParseTypeAnnotation(), this.finishNode(p, "TSTypeCastExpression");
7159
7159
  }
7160
7160
  return s;
7161
7161
  }, f.parseExportDeclaration = function(s) {
7162
7162
  var a = this;
7163
- if (!this.isAmbientContext && this.ts_isContextual(D.declare)) return this.tsInAmbientContext(function() {
7163
+ if (!this.isAmbientContext && this.ts_isContextual(R.declare)) return this.tsInAmbientContext(function() {
7164
7164
  return a.parseExportDeclaration(s);
7165
7165
  });
7166
7166
  var c = this.start, p = this.startLoc, m = this.eatContextual("declare");
7167
- !m || !this.ts_isContextual(D.declare) && this.shouldParseExportStatement() || this.raise(this.start, N.ExpectedAmbientAfterExportDeclare);
7167
+ !m || !this.ts_isContextual(R.declare) && this.shouldParseExportStatement() || this.raise(this.start, I.ExpectedAmbientAfterExportDeclare);
7168
7168
  var v = q(this.type) && this.tsTryParseExportDeclaration() || this.parseStatement(null);
7169
7169
  return v ? ((v.type === "TSInterfaceDeclaration" || v.type === "TSTypeAliasDeclaration" || m) && (s.exportKind = "type"), m && (this.resetStartLocation(v, c, p), v.declare = !0), v) : null;
7170
7170
  }, f.parseClassId = function(s, a) {
7171
7171
  if (a || !this.isContextual("implements")) {
7172
- P.prototype.parseClassId.call(this, s, a);
7172
+ T.prototype.parseClassId.call(this, s, a);
7173
7173
  var c = this.tsTryParseTypeParameters(this.tsParseInOutModifiers.bind(this));
7174
7174
  c && (s.typeParameters = c);
7175
7175
  }
@@ -7178,33 +7178,33 @@ function $h(e) {
7178
7178
  var a = this.tsTryParseTypeAnnotation();
7179
7179
  a && (s.typeAnnotation = a);
7180
7180
  }, f.parseClassField = function(s) {
7181
- if (s.key.type === "PrivateIdentifier") s.abstract && this.raise(s.start, N.PrivateElementHasAbstract), s.accessibility && this.raise(s.start, N.PrivateElementHasAccessibility({ modifier: s.accessibility })), this.parseClassPropertyAnnotation(s);
7182
- else if (this.parseClassPropertyAnnotation(s), this.isAmbientContext && (!s.readonly || s.typeAnnotation) && this.match(o.eq) && this.raise(this.start, N.DeclareClassFieldHasInitializer), s.abstract && this.match(o.eq)) {
7181
+ if (s.key.type === "PrivateIdentifier") s.abstract && this.raise(s.start, I.PrivateElementHasAbstract), s.accessibility && this.raise(s.start, I.PrivateElementHasAccessibility({ modifier: s.accessibility })), this.parseClassPropertyAnnotation(s);
7182
+ else if (this.parseClassPropertyAnnotation(s), this.isAmbientContext && (!s.readonly || s.typeAnnotation) && this.match(o.eq) && this.raise(this.start, I.DeclareClassFieldHasInitializer), s.abstract && this.match(o.eq)) {
7183
7183
  var a = s.key;
7184
- this.raise(this.start, N.AbstractPropertyHasInitializer({ propertyName: a.type !== "Identifier" || s.computed ? "[" + this.input.slice(a.start, a.end) + "]" : a.name }));
7184
+ this.raise(this.start, I.AbstractPropertyHasInitializer({ propertyName: a.type !== "Identifier" || s.computed ? "[" + this.input.slice(a.start, a.end) + "]" : a.name }));
7185
7185
  }
7186
- return P.prototype.parseClassField.call(this, s);
7186
+ return T.prototype.parseClassField.call(this, s);
7187
7187
  }, f.parseClassMethod = function(s, a, c, p) {
7188
7188
  var m = s.kind === "constructor", v = s.key.type === "PrivateIdentifier", x = this.tsTryParseTypeParameters();
7189
- v ? (x && (s.typeParameters = x), s.accessibility && this.raise(s.start, N.PrivateMethodsHasAccessibility({ modifier: s.accessibility }))) : x && m && this.raise(x.start, N.ConstructorHasTypeParameters);
7189
+ v ? (x && (s.typeParameters = x), s.accessibility && this.raise(s.start, I.PrivateMethodsHasAccessibility({ modifier: s.accessibility }))) : x && m && this.raise(x.start, I.ConstructorHasTypeParameters);
7190
7190
  var g = s.declare, _ = s.kind;
7191
- !(g !== void 0 && g) || _ !== "get" && _ !== "set" || this.raise(s.start, N.DeclareAccessor({ kind: _ })), x && (s.typeParameters = x);
7191
+ !(g !== void 0 && g) || _ !== "get" && _ !== "set" || this.raise(s.start, I.DeclareAccessor({ kind: _ })), x && (s.typeParameters = x);
7192
7192
  var S = s.key;
7193
7193
  s.kind === "constructor" ? (a && this.raise(S.start, "Constructor can't be a generator"), c && this.raise(S.start, "Constructor can't be an async method")) : s.static && br(s, "prototype") && this.raise(S.start, "Classes may not have a static property named prototype");
7194
- var L = s.value = this.parseMethod(a, c, p, !0, s);
7195
- return s.kind === "get" && L.params.length !== 0 && this.raiseRecoverable(L.start, "getter should have no params"), s.kind === "set" && L.params.length !== 1 && this.raiseRecoverable(L.start, "setter should have exactly one param"), s.kind === "set" && L.params[0].type === "RestElement" && this.raiseRecoverable(L.params[0].start, "Setter cannot use rest params"), this.finishNode(s, "MethodDefinition");
7194
+ var N = s.value = this.parseMethod(a, c, p, !0, s);
7195
+ return s.kind === "get" && N.params.length !== 0 && this.raiseRecoverable(N.start, "getter should have no params"), s.kind === "set" && N.params.length !== 1 && this.raiseRecoverable(N.start, "setter should have exactly one param"), s.kind === "set" && N.params[0].type === "RestElement" && this.raiseRecoverable(N.params[0].start, "Setter cannot use rest params"), this.finishNode(s, "MethodDefinition");
7196
7196
  }, f.isClassMethod = function() {
7197
7197
  return this.match(o.relational);
7198
7198
  }, f.parseClassElement = function(s) {
7199
7199
  var a = this;
7200
7200
  if (this.eat(o.semi)) return null;
7201
- var c, p = this.options.ecmaVersion, m = this.startNode(), v = "", x = !1, g = !1, _ = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], L = this.tsParseModifiers({ modified: m, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: N.InvalidModifierOnTypeParameterPositions });
7202
- c = !!L.static;
7201
+ var c, p = this.options.ecmaVersion, m = this.startNode(), v = "", x = !1, g = !1, _ = "method", S = ["declare", "private", "public", "protected", "accessor", "override", "abstract", "readonly", "static"], N = this.tsParseModifiers({ modified: m, allowedModifiers: S, disallowedModifiers: ["in", "out"], stopOnStartOfClassStaticBlock: !0, errorTemplate: I.InvalidModifierOnTypeParameterPositions });
7202
+ c = !!N.static;
7203
7203
  var V = function() {
7204
7204
  if (!a.tsIsStartOfStaticBlocks()) {
7205
- var E = a.tsTryParseIndexSignature(m);
7206
- if (E) return m.abstract && a.raise(m.start, N.IndexSignatureHasAbstract), m.accessibility && a.raise(m.start, N.IndexSignatureHasAccessibility({ modifier: m.accessibility })), m.declare && a.raise(m.start, N.IndexSignatureHasDeclare), m.override && a.raise(m.start, N.IndexSignatureHasOverride), E;
7207
- if (!a.inAbstractClass && m.abstract && a.raise(m.start, N.NonAbstractClassHasAbstractMethod), m.override && s && a.raise(m.start, N.OverrideNotInSubClass), m.static = c, c && (a.isClassElementNameStart() || a.type === o.star || (v = "static")), !v && p >= 8 && a.eatContextual("async") && (!a.isClassElementNameStart() && a.type !== o.star || a.canInsertSemicolon() ? v = "async" : g = !0), !v && (p >= 9 || !g) && a.eat(o.star) && (x = !0), !v && !g && !x) {
7205
+ var A = a.tsTryParseIndexSignature(m);
7206
+ if (A) return m.abstract && a.raise(m.start, I.IndexSignatureHasAbstract), m.accessibility && a.raise(m.start, I.IndexSignatureHasAccessibility({ modifier: m.accessibility })), m.declare && a.raise(m.start, I.IndexSignatureHasDeclare), m.override && a.raise(m.start, I.IndexSignatureHasOverride), A;
7207
+ if (!a.inAbstractClass && m.abstract && a.raise(m.start, I.NonAbstractClassHasAbstractMethod), m.override && s && a.raise(m.start, I.OverrideNotInSubClass), m.static = c, c && (a.isClassElementNameStart() || a.type === o.star || (v = "static")), !v && p >= 8 && a.eatContextual("async") && (!a.isClassElementNameStart() && a.type !== o.star || a.canInsertSemicolon() ? v = "async" : g = !0), !v && (p >= 9 || !g) && a.eat(o.star) && (x = !0), !v && !g && !x) {
7208
7208
  var K = a.value;
7209
7209
  (a.eatContextual("get") || a.eatContextual("set")) && (a.isClassElementNameStart() ? _ = K : v = K);
7210
7210
  }
@@ -7214,18 +7214,18 @@ function $h(e) {
7214
7214
  } else a.parseClassField(m);
7215
7215
  return m;
7216
7216
  }
7217
- if (a.next(), a.next(), a.tsHasSomeModifiers(m, S) && a.raise(a.start, N.StaticBlockCannotHaveModifier), p >= 13) return P.prototype.parseClassStaticBlock.call(a, m), m;
7217
+ if (a.next(), a.next(), a.tsHasSomeModifiers(m, S) && a.raise(a.start, I.StaticBlockCannotHaveModifier), p >= 13) return T.prototype.parseClassStaticBlock.call(a, m), m;
7218
7218
  };
7219
7219
  return m.declare ? this.tsInAmbientContext(V) : V(), m;
7220
7220
  }, f.isClassElementNameStart = function() {
7221
- return !!this.tsIsIdentifier() || P.prototype.isClassElementNameStart.call(this);
7221
+ return !!this.tsIsIdentifier() || T.prototype.isClassElementNameStart.call(this);
7222
7222
  }, f.parseClassSuper = function(s) {
7223
- P.prototype.parseClassSuper.call(this, s), s.superClass && (this.tsMatchLeftRelational() || this.match(o.bitShift)) && (s.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual("implements") && (s.implements = this.tsParseHeritageClause("implements"));
7223
+ T.prototype.parseClassSuper.call(this, s), s.superClass && (this.tsMatchLeftRelational() || this.match(o.bitShift)) && (s.superTypeParameters = this.tsParseTypeArgumentsInExpression()), this.eatContextual("implements") && (s.implements = this.tsParseHeritageClause("implements"));
7224
7224
  }, f.parseFunctionParams = function(s) {
7225
7225
  var a = this.tsTryParseTypeParameters();
7226
- a && (s.typeParameters = a), P.prototype.parseFunctionParams.call(this, s);
7226
+ a && (s.typeParameters = a), T.prototype.parseFunctionParams.call(this, s);
7227
7227
  }, f.parseVarId = function(s, a) {
7228
- P.prototype.parseVarId.call(this, s, a), s.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.value === "!" && this.eat(o.prefix) && (s.definite = !0);
7228
+ T.prototype.parseVarId.call(this, s, a), s.id.type === "Identifier" && !this.hasPrecedingLineBreak() && this.value === "!" && this.eat(o.prefix) && (s.definite = !0);
7229
7229
  var c = this.tsTryParseTypeAnnotation();
7230
7230
  c && (s.id.typeAnnotation = c, this.resetEndLocation(s.id));
7231
7231
  }, f.parseArrowExpression = function(s, a, c, p) {
@@ -7245,54 +7245,54 @@ function $h(e) {
7245
7245
  (this.type === o.parenL || q(this.type)) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = s === "await");
7246
7246
  var S = this.parseMaybeConditional(s, a);
7247
7247
  if (c && (S = c.call(this, S, g, _)), this.type.isAssign) {
7248
- var L = this.startNodeAt(g, _);
7249
- return L.operator = this.value, this.type === o.eq && (S = this.toAssignable(S, !0, a)), p || (a.parenthesizedAssign = a.trailingComma = a.doubleProto = -1), a.shorthandAssign >= S.start && (a.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(S) : this.checkLValSimple(S), L.left = S, this.next(), L.right = this.parseMaybeAssign(s), x > -1 && (a.doubleProto = x), this.finishNode(L, "AssignmentExpression");
7248
+ var N = this.startNodeAt(g, _);
7249
+ return N.operator = this.value, this.type === o.eq && (S = this.toAssignable(S, !0, a)), p || (a.parenthesizedAssign = a.trailingComma = a.doubleProto = -1), a.shorthandAssign >= S.start && (a.shorthandAssign = -1), this.type === o.eq ? this.checkLValPattern(S) : this.checkLValSimple(S), N.left = S, this.next(), N.right = this.parseMaybeAssign(s), x > -1 && (a.doubleProto = x), this.finishNode(N, "AssignmentExpression");
7250
7250
  }
7251
7251
  return p && this.checkExpressionErrors(a, !0), m > -1 && (a.parenthesizedAssign = m), v > -1 && (a.trailingComma = v), S;
7252
7252
  }, f.parseMaybeAssign = function(s, a, c) {
7253
- var p, m, v, x, g, _, S, L, V, E, K, G = this;
7253
+ var p, m, v, x, g, _, S, N, V, A, K, G = this;
7254
7254
  if (this.matchJsx("jsxTagStart") || this.tsMatchLeftRelational()) {
7255
- if (L = this.cloneCurLookaheadState(), !(V = this.tryParse(function() {
7255
+ if (N = this.cloneCurLookaheadState(), !(V = this.tryParse(function() {
7256
7256
  return G.parseMaybeAssignOrigin(s, a, c);
7257
- }, L)).error) return V.node;
7257
+ }, N)).error) return V.node;
7258
7258
  var X = this.context, ie = X[X.length - 1];
7259
7259
  ie === y.tokContexts.tc_oTag && X[X.length - 2] === y.tokContexts.tc_expr ? (X.pop(), X.pop()) : ie !== y.tokContexts.tc_oTag && ie !== y.tokContexts.tc_expr || X.pop();
7260
7260
  }
7261
7261
  if (!((p = V) != null && p.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(s, a, c);
7262
- L && !this.compareLookaheadState(L, this.getCurLookaheadState()) || (L = this.cloneCurLookaheadState());
7263
- var ye = this.tryParse(function(Fe) {
7262
+ N && !this.compareLookaheadState(N, this.getCurLookaheadState()) || (N = this.cloneCurLookaheadState());
7263
+ var me = this.tryParse(function(Fe) {
7264
7264
  var mt, yt;
7265
7265
  K = G.tsParseTypeParameters();
7266
7266
  var Be = G.parseMaybeAssignOrigin(s, a, c);
7267
7267
  return (Be.type !== "ArrowFunctionExpression" || (mt = Be.extra) != null && mt.parenthesized) && Fe(), ((yt = K) == null ? void 0 : yt.params.length) !== 0 && G.resetStartLocationFromNode(Be, K), Be.typeParameters = K, Be;
7268
- }, L);
7269
- if (!ye.error && !ye.aborted) return K && this.reportReservedArrowTypeParam(K), ye.node;
7270
- if (!V && (_r(!0), !(E = this.tryParse(function() {
7268
+ }, N);
7269
+ if (!me.error && !me.aborted) return K && this.reportReservedArrowTypeParam(K), me.node;
7270
+ if (!V && (_r(!0), !(A = this.tryParse(function() {
7271
7271
  return G.parseMaybeAssignOrigin(s, a, c);
7272
- }, L)).error)) return E.node;
7272
+ }, N)).error)) return A.node;
7273
7273
  if ((m = V) != null && m.node) return this.setLookaheadState(V.failState), V.node;
7274
- if (ye.node) return this.setLookaheadState(ye.failState), K && this.reportReservedArrowTypeParam(K), ye.node;
7275
- if ((v = E) != null && v.node) return this.setLookaheadState(E.failState), E.node;
7276
- throw (x = V) != null && x.thrown ? V.error : ye.thrown ? ye.error : (g = E) != null && g.thrown ? E.error : ((_ = V) == null ? void 0 : _.error) || ye.error || ((S = E) == null ? void 0 : S.error);
7274
+ if (me.node) return this.setLookaheadState(me.failState), K && this.reportReservedArrowTypeParam(K), me.node;
7275
+ if ((v = A) != null && v.node) return this.setLookaheadState(A.failState), A.node;
7276
+ throw (x = V) != null && x.thrown ? V.error : me.thrown ? me.error : (g = A) != null && g.thrown ? A.error : ((_ = V) == null ? void 0 : _.error) || me.error || ((S = A) == null ? void 0 : S.error);
7277
7277
  }, f.parseAssignableListItem = function(s) {
7278
- for (var a = []; this.match(D.at); ) a.push(this.parseDecorator());
7278
+ for (var a = []; this.match(R.at); ) a.push(this.parseDecorator());
7279
7279
  var c, p = this.start, m = this.startLoc, v = !1, x = !1;
7280
7280
  if (s !== void 0) {
7281
7281
  var g = {};
7282
- this.tsParseModifiers({ modified: g, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), c = g.accessibility, x = g.override, v = g.readonly, s === !1 && (c || v || x) && this.raise(m.start, N.UnexpectedParameterModifier);
7282
+ this.tsParseModifiers({ modified: g, allowedModifiers: ["public", "private", "protected", "override", "readonly"] }), c = g.accessibility, x = g.override, v = g.readonly, s === !1 && (c || v || x) && this.raise(m.start, I.UnexpectedParameterModifier);
7283
7283
  }
7284
7284
  var _ = this.parseMaybeDefault(p, m);
7285
7285
  this.parseBindingListItem(_);
7286
7286
  var S = this.parseMaybeDefault(_.start, _.loc, _);
7287
7287
  if (a.length && (S.decorators = a), c || v || x) {
7288
- var L = this.startNodeAt(p, m);
7289
- return c && (L.accessibility = c), v && (L.readonly = v), x && (L.override = x), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(L.start, N.UnsupportedParameterPropertyKind), L.parameter = S, this.finishNode(L, "TSParameterProperty");
7288
+ var N = this.startNodeAt(p, m);
7289
+ return c && (N.accessibility = c), v && (N.readonly = v), x && (N.override = x), S.type !== "Identifier" && S.type !== "AssignmentPattern" && this.raise(N.start, I.UnsupportedParameterPropertyKind), N.parameter = S, this.finishNode(N, "TSParameterProperty");
7290
7290
  }
7291
7291
  return S;
7292
7292
  }, f.checkLValInnerPattern = function(s, a, c) {
7293
- a === void 0 && (a = 0), s.type === "TSParameterProperty" ? this.checkLValInnerPattern(s.parameter, a, c) : P.prototype.checkLValInnerPattern.call(this, s, a, c);
7293
+ a === void 0 && (a = 0), s.type === "TSParameterProperty" ? this.checkLValInnerPattern(s.parameter, a, c) : T.prototype.checkLValInnerPattern.call(this, s, a, c);
7294
7294
  }, f.parseBindingListItem = function(s) {
7295
- this.eat(o.question) && (s.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(s.start, N.PatternIsOptional), s.optional = !0);
7295
+ this.eat(o.question) && (s.type === "Identifier" || this.isAmbientContext || this.inType || this.raise(s.start, I.PatternIsOptional), s.optional = !0);
7296
7296
  var a = this.tsTryParseTypeAnnotation();
7297
7297
  return a && (s.typeAnnotation = a), this.resetEndLocation(s), s;
7298
7298
  }, f.isAssignable = function(s, a) {
@@ -7339,15 +7339,15 @@ function $h(e) {
7339
7339
  case "TSSatisfiesExpression":
7340
7340
  case "TSNonNullExpression":
7341
7341
  case "TSTypeAssertion":
7342
- return a || this.raise(s.start, N.UnexpectedTypeCastInParameter), this.toAssignable(s.expression, a, c);
7342
+ return a || this.raise(s.start, I.UnexpectedTypeCastInParameter), this.toAssignable(s.expression, a, c);
7343
7343
  case "MemberExpression":
7344
7344
  break;
7345
7345
  case "AssignmentExpression":
7346
- return a || s.left.type !== "TSTypeCastExpression" || (s.left = this.typeCastToParameter(s.left)), P.prototype.toAssignable.call(this, s, a, c);
7346
+ return a || s.left.type !== "TSTypeCastExpression" || (s.left = this.typeCastToParameter(s.left)), T.prototype.toAssignable.call(this, s, a, c);
7347
7347
  case "TSTypeCastExpression":
7348
7348
  return this.typeCastToParameter(s);
7349
7349
  default:
7350
- return P.prototype.toAssignable.call(this, s, a, c);
7350
+ return T.prototype.toAssignable.call(this, s, a, c);
7351
7351
  }
7352
7352
  return s;
7353
7353
  }, f.toAssignableParenthesizedExpression = function(s, a, c) {
@@ -7359,11 +7359,11 @@ function $h(e) {
7359
7359
  case "ParenthesizedExpression":
7360
7360
  return this.toAssignable(s.expression, a, c);
7361
7361
  default:
7362
- return P.prototype.toAssignable.call(this, s, a, c);
7362
+ return T.prototype.toAssignable.call(this, s, a, c);
7363
7363
  }
7364
7364
  }, f.curPosition = function() {
7365
7365
  if (this.options.locations) {
7366
- var s = P.prototype.curPosition.call(this);
7366
+ var s = T.prototype.curPosition.call(this);
7367
7367
  return Object.defineProperty(s, "offset", { get: function() {
7368
7368
  return function(a) {
7369
7369
  var c = new d.Position(this.line, this.column + a);
@@ -7372,7 +7372,7 @@ function $h(e) {
7372
7372
  } }), s.index = this.pos, s;
7373
7373
  }
7374
7374
  }, f.parseBindingAtom = function() {
7375
- return this.type === o._this ? this.parseIdent(!0) : P.prototype.parseBindingAtom.call(this);
7375
+ return this.type === o._this ? this.parseIdent(!0) : T.prototype.parseBindingAtom.call(this);
7376
7376
  }, f.shouldParseArrow = function(s) {
7377
7377
  var a, c = this;
7378
7378
  if (a = this.match(o.colon) ? s.every(function(m) {
@@ -7397,21 +7397,21 @@ function $h(e) {
7397
7397
  if (this.options.ecmaVersion >= 6) {
7398
7398
  var x = this.maybeInArrowParameters;
7399
7399
  this.maybeInArrowParameters = !0, this.next();
7400
- var g, _ = this.start, S = this.startLoc, L = [], V = !0, E = !1, K = new xt(), G = this.yieldPos, X = this.awaitPos;
7400
+ var g, _ = this.start, S = this.startLoc, N = [], V = !0, A = !1, K = new xt(), G = this.yieldPos, X = this.awaitPos;
7401
7401
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== o.parenR; ) {
7402
7402
  if (V ? V = !1 : this.expect(o.comma), v && this.afterTrailingComma(o.parenR, !0)) {
7403
- E = !0;
7403
+ A = !0;
7404
7404
  break;
7405
7405
  }
7406
7406
  if (this.type === o.ellipsis) {
7407
- g = this.start, L.push(this.parseParenItem(this.parseRestBinding())), this.type === o.comma && this.raise(this.start, "Comma is not permitted after the rest element");
7407
+ g = this.start, N.push(this.parseParenItem(this.parseRestBinding())), this.type === o.comma && this.raise(this.start, "Comma is not permitted after the rest element");
7408
7408
  break;
7409
7409
  }
7410
- L.push(this.parseMaybeAssign(a, K, this.parseParenItem));
7410
+ N.push(this.parseMaybeAssign(a, K, this.parseParenItem));
7411
7411
  }
7412
- var ie = this.lastTokEnd, ye = this.lastTokEndLoc;
7413
- if (this.expect(o.parenR), this.maybeInArrowParameters = x, s && this.shouldParseArrow(L) && this.eat(o.arrow)) return this.checkPatternErrors(K, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = G, this.awaitPos = X, this.parseParenArrowList(p, m, L, a);
7414
- L.length && !E || this.unexpected(this.lastTokStart), g && this.unexpected(g), this.checkExpressionErrors(K, !0), this.yieldPos = G || this.yieldPos, this.awaitPos = X || this.awaitPos, L.length > 1 ? ((c = this.startNodeAt(_, S)).expressions = L, this.finishNodeAt(c, "SequenceExpression", ie, ye)) : c = L[0];
7412
+ var ie = this.lastTokEnd, me = this.lastTokEndLoc;
7413
+ if (this.expect(o.parenR), this.maybeInArrowParameters = x, s && this.shouldParseArrow(N) && this.eat(o.arrow)) return this.checkPatternErrors(K, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = G, this.awaitPos = X, this.parseParenArrowList(p, m, N, a);
7414
+ N.length && !A || this.unexpected(this.lastTokStart), g && this.unexpected(g), this.checkExpressionErrors(K, !0), this.yieldPos = G || this.yieldPos, this.awaitPos = X || this.awaitPos, N.length > 1 ? ((c = this.startNodeAt(_, S)).expressions = N, this.finishNodeAt(c, "SequenceExpression", ie, me)) : c = N[0];
7415
7415
  } else c = this.parseParenExpression();
7416
7416
  if (this.options.preserveParens) {
7417
7417
  var Fe = this.startNodeAt(p, m);
@@ -7447,35 +7447,35 @@ function $h(e) {
7447
7447
  var S = this.startNodeAt(a, c);
7448
7448
  return S.expression = s, s = this.finishNode(S, "TSNonNullExpression");
7449
7449
  }
7450
- var L = !1;
7450
+ var N = !1;
7451
7451
  if (this.match(o.questionDot) && this.lookaheadCharCode() === 60) {
7452
7452
  if (p) return s;
7453
- s.optional = !0, _ = L = !0, this.next();
7453
+ s.optional = !0, _ = N = !0, this.next();
7454
7454
  }
7455
7455
  if (this.tsMatchLeftRelational() || this.match(o.bitShift)) {
7456
- var V, E = this.tsTryParseAndCatch(function() {
7456
+ var V, A = this.tsTryParseAndCatch(function() {
7457
7457
  if (!p && g.atPossibleAsyncArrow(s)) {
7458
7458
  var Vi = g.tsTryParseGenericAsyncArrowFunction(a, c, x);
7459
7459
  if (Vi) return s = Vi;
7460
7460
  }
7461
- var Et = g.tsParseTypeArgumentsInExpression();
7462
- if (!Et) return s;
7463
- if (L && !g.match(o.parenL)) return V = g.curPosition(), s;
7464
- if (_e(g.type) || g.type === o.backQuote) {
7461
+ var It = g.tsParseTypeArgumentsInExpression();
7462
+ if (!It) return s;
7463
+ if (N && !g.match(o.parenL)) return V = g.curPosition(), s;
7464
+ if (be(g.type) || g.type === o.backQuote) {
7465
7465
  var zi = g.parseTaggedTemplateExpression(s, a, c, _);
7466
- return zi.typeParameters = Et, zi;
7466
+ return zi.typeParameters = It, zi;
7467
7467
  }
7468
7468
  if (!p && g.eat(o.parenL)) {
7469
7469
  var ji = new xt(), tt = g.startNodeAt(a, c);
7470
- return tt.callee = s, tt.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, ji), g.tsCheckForInvalidTypeCasts(tt.arguments), tt.typeParameters = Et, _ && (tt.optional = L), g.checkExpressionErrors(ji, !0), s = g.finishNode(tt, "CallExpression");
7470
+ return tt.callee = s, tt.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, ji), g.tsCheckForInvalidTypeCasts(tt.arguments), tt.typeParameters = It, _ && (tt.optional = N), g.checkExpressionErrors(ji, !0), s = g.finishNode(tt, "CallExpression");
7471
7471
  }
7472
7472
  var ri = g.type;
7473
7473
  if (!(g.tsMatchRightRelational() || ri === o.bitShift || ri !== o.parenL && ($i = ri, !!$i.startsExpr) && !g.hasPrecedingLineBreak())) {
7474
7474
  var $i, si = g.startNodeAt(a, c);
7475
- return si.expression = s, si.typeParameters = Et, g.finishNode(si, "TSInstantiationExpression");
7475
+ return si.expression = s, si.typeParameters = It, g.finishNode(si, "TSInstantiationExpression");
7476
7476
  }
7477
7477
  });
7478
- if (V && this.unexpected(V), E) return E.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, N.InvalidPropertyAccessAfterInstantiationExpression), s = E;
7478
+ if (V && this.unexpected(V), A) return A.type === "TSInstantiationExpression" && (this.match(o.dot) || this.match(o.questionDot) && this.lookaheadCharCode() !== 40) && this.raise(this.start, I.InvalidPropertyAccessAfterInstantiationExpression), s = A;
7479
7479
  }
7480
7480
  var K = this.options.ecmaVersion >= 11, G = K && this.eat(o.questionDot);
7481
7481
  p && G && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
@@ -7484,7 +7484,7 @@ function $h(e) {
7484
7484
  var ie = this.startNodeAt(a, c);
7485
7485
  ie.object = s, X ? (ie.property = this.parseExpression(), this.expect(o.bracketR)) : ie.property = this.type === o.privateId && s.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), ie.computed = !!X, K && (ie.optional = G), s = this.finishNode(ie, "MemberExpression");
7486
7486
  } else if (!p && this.eat(o.parenL)) {
7487
- var ye = this.maybeInArrowParameters;
7487
+ var me = this.maybeInArrowParameters;
7488
7488
  this.maybeInArrowParameters = !0;
7489
7489
  var Fe = new xt(), mt = this.yieldPos, yt = this.awaitPos, Be = this.awaitIdentPos;
7490
7490
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
@@ -7492,10 +7492,10 @@ function $h(e) {
7492
7492
  if (m && !G && this.shouldParseAsyncArrow()) this.checkPatternErrors(Fe, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = mt, this.awaitPos = yt, this.awaitIdentPos = Be, s = this.parseSubscriptAsyncArrow(a, c, Mi, x);
7493
7493
  else {
7494
7494
  this.checkExpressionErrors(Fe, !0), this.yieldPos = mt || this.yieldPos, this.awaitPos = yt || this.awaitPos, this.awaitIdentPos = Be || this.awaitIdentPos;
7495
- var At = this.startNodeAt(a, c);
7496
- At.callee = s, At.arguments = Mi, K && (At.optional = G), s = this.finishNode(At, "CallExpression");
7495
+ var Et = this.startNodeAt(a, c);
7496
+ Et.callee = s, Et.arguments = Mi, K && (Et.optional = G), s = this.finishNode(Et, "CallExpression");
7497
7497
  }
7498
- this.maybeInArrowParameters = ye;
7498
+ this.maybeInArrowParameters = me;
7499
7499
  } else if (this.type === o.backQuote) {
7500
7500
  (G || _) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
7501
7501
  var ii = this.startNodeAt(a, c);
@@ -7509,11 +7509,11 @@ function $h(e) {
7509
7509
  }, f.parseProperty = function(s, a) {
7510
7510
  if (!s) {
7511
7511
  var c = [];
7512
- if (this.match(D.at)) for (; this.match(D.at); ) c.push(this.parseDecorator());
7513
- var p = P.prototype.parseProperty.call(this, s, a);
7512
+ if (this.match(R.at)) for (; this.match(R.at); ) c.push(this.parseDecorator());
7513
+ var p = T.prototype.parseProperty.call(this, s, a);
7514
7514
  return p.type === "SpreadElement" && c.length && this.raise(p.start, "Decorators can't be used with SpreadElement"), c.length && (p.decorators = c, c = []), p;
7515
7515
  }
7516
- return P.prototype.parseProperty.call(this, s, a);
7516
+ return T.prototype.parseProperty.call(this, s, a);
7517
7517
  }, f.parseCatchClauseParam = function() {
7518
7518
  var s = this.parseBindingAtom(), a = s.type === "Identifier";
7519
7519
  this.enterScope(a ? 32 : 0), this.checkLValPattern(s, a ? 4 : 2);
@@ -7529,7 +7529,7 @@ function $h(e) {
7529
7529
  var m = this.enterClassBody(), v = this.startNode(), x = !1;
7530
7530
  v.body = [];
7531
7531
  var g = [];
7532
- for (this.expect(o.braceL); this.type !== o.braceR; ) if (this.match(D.at)) g.push(this.parseDecorator());
7532
+ for (this.expect(o.braceL); this.type !== o.braceR; ) if (this.match(R.at)) g.push(this.parseDecorator());
7533
7533
  else {
7534
7534
  var _ = this.parseClassElement(s.superClass !== null);
7535
7535
  g.length && (_.decorators = g, this.resetStartLocationFromNode(_, g[0]), g = []), _ && (v.body.push(_), _.type === "MethodDefinition" && _.kind === "constructor" && _.value.type === "FunctionExpression" ? (x && this.raiseRecoverable(_.start, "Duplicate constructor in the same class"), x = !0, _.decorators && _.decorators.length > 0 && this.raise(_.start, "Decorators can't be used with a constructor. Did you mean '@dec class { ... }'?")) : _.key && _.key.type === "PrivateIdentifier" && Oh(m, _) && this.raiseRecoverable(_.key.start, "Identifier '#" + _.key.name + "' has already been declared"));
@@ -7545,46 +7545,46 @@ function $h(e) {
7545
7545
  var v = this.startNode(), x = this.yieldPos, g = this.awaitPos, _ = this.awaitIdentPos;
7546
7546
  if (this.initFunction(v), this.options.ecmaVersion >= 6 && (v.generator = s), this.options.ecmaVersion >= 8 && (v.async = !!a), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(64 | li(a, v.generator) | (c ? 128 : 0)), this.expect(o.parenL), v.params = this.parseClassFunctionParams(), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(v, !1, !0, !1, { isClassMethod: p }), this.yieldPos = x, this.awaitPos = g, this.awaitIdentPos = _, m && m.abstract && v.body) {
7547
7547
  var S = m.key;
7548
- this.raise(m.start, N.AbstractMethodHasImplementation({ methodName: S.type !== "Identifier" || m.computed ? "[" + this.input.slice(S.start, S.end) + "]" : S.name }));
7548
+ this.raise(m.start, I.AbstractMethodHasImplementation({ methodName: S.type !== "Identifier" || m.computed ? "[" + this.input.slice(S.start, S.end) + "]" : S.name }));
7549
7549
  }
7550
7550
  return this.finishNode(v, "FunctionExpression");
7551
- }, pe.parse = function(s, a) {
7551
+ }, le.parse = function(s, a) {
7552
7552
  if (a.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
7553
7553
  a.locations = !0;
7554
7554
  var c = new this(a, s);
7555
7555
  return r && (c.isAmbientContext = !0), c.parse();
7556
- }, pe.parseExpressionAt = function(s, a, c) {
7556
+ }, le.parseExpressionAt = function(s, a, c) {
7557
7557
  if (c.locations === !1) throw new Error("You have to enable options.locations while using acorn-typescript");
7558
7558
  c.locations = !0;
7559
7559
  var p = new this(c, s, a);
7560
7560
  return r && (p.isAmbientContext = !0), p.nextToken(), p.parseExpression();
7561
7561
  }, f.parseImportSpecifier = function() {
7562
- if (this.ts_isContextual(D.type)) {
7562
+ if (this.ts_isContextual(R.type)) {
7563
7563
  var s = this.startNode();
7564
7564
  return s.imported = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(s, !0, this.importOrExportOuterKind === "type"), this.finishNode(s, "ImportSpecifier");
7565
7565
  }
7566
- var a = P.prototype.parseImportSpecifier.call(this);
7566
+ var a = T.prototype.parseImportSpecifier.call(this);
7567
7567
  return a.importKind = "value", a;
7568
7568
  }, f.parseExportSpecifier = function(s) {
7569
- var a = this.ts_isContextual(D.type);
7569
+ var a = this.ts_isContextual(R.type);
7570
7570
  if (!this.match(o.string) && a) {
7571
7571
  var c = this.startNode();
7572
7572
  return c.local = this.parseModuleExportName(), this.parseTypeOnlyImportExportSpecifier(c, !1, this.importOrExportOuterKind === "type"), this.finishNode(c, "ExportSpecifier"), this.checkExport(s, c.exported, c.exported.start), c;
7573
7573
  }
7574
- var p = P.prototype.parseExportSpecifier.call(this, s);
7574
+ var p = T.prototype.parseExportSpecifier.call(this, s);
7575
7575
  return p.exportKind = "value", p;
7576
7576
  }, f.parseTypeOnlyImportExportSpecifier = function(s, a, c) {
7577
7577
  var p, m = a ? "imported" : "local", v = a ? "local" : "exported", x = s[m], g = !1, _ = !0, S = x.start;
7578
7578
  if (this.isContextual("as")) {
7579
- var L = this.parseIdent();
7579
+ var N = this.parseIdent();
7580
7580
  if (this.isContextual("as")) {
7581
7581
  var V = this.parseIdent();
7582
- Ct(this.type) ? (g = !0, x = L, p = a ? this.parseIdent() : this.parseModuleExportName(), _ = !1) : (p = V, _ = !1);
7583
- } else Ct(this.type) ? (_ = !1, p = a ? this.parseIdent() : this.parseModuleExportName()) : (g = !0, x = L);
7584
- } else Ct(this.type) && (g = !0, a ? (x = P.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(x)) : x = this.parseModuleExportName());
7585
- g && c && this.raise(S, a ? N.TypeModifierIsUsedInTypeImports : N.TypeModifierIsUsedInTypeExports), s[m] = x, s[v] = p, s[a ? "importKind" : "exportKind"] = g ? "type" : "value", _ && this.eatContextual("as") && (s[v] = a ? this.parseIdent() : this.parseModuleExportName()), s[v] || (s[v] = this.copyNode(s[m])), a && this.checkLValSimple(s[v], 2);
7582
+ At(this.type) ? (g = !0, x = N, p = a ? this.parseIdent() : this.parseModuleExportName(), _ = !1) : (p = V, _ = !1);
7583
+ } else At(this.type) ? (_ = !1, p = a ? this.parseIdent() : this.parseModuleExportName()) : (g = !0, x = N);
7584
+ } else At(this.type) && (g = !0, a ? (x = T.prototype.parseIdent.call(this, !0), this.isContextual("as") || this.checkUnreserved(x)) : x = this.parseModuleExportName());
7585
+ g && c && this.raise(S, a ? I.TypeModifierIsUsedInTypeImports : I.TypeModifierIsUsedInTypeExports), s[m] = x, s[v] = p, s[a ? "importKind" : "exportKind"] = g ? "type" : "value", _ && this.eatContextual("as") && (s[v] = a ? this.parseIdent() : this.parseModuleExportName()), s[v] || (s[v] = this.copyNode(s[m])), a && this.checkLValSimple(s[v], 2);
7586
7586
  }, f.raiseCommonCheck = function(s, a, c) {
7587
- return a === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : P.prototype.raise.call(this, s, a) : c ? P.prototype.raiseRecoverable.call(this, s, a) : P.prototype.raise.call(this, s, a);
7587
+ return a === "Comma is not permitted after the rest element" ? this.isAmbientContext && this.match(o.comma) && this.lookaheadCharCode() === 41 ? void this.next() : T.prototype.raise.call(this, s, a) : c ? T.prototype.raiseRecoverable.call(this, s, a) : T.prototype.raise.call(this, s, a);
7588
7588
  }, f.raiseRecoverable = function(s, a) {
7589
7589
  return this.raiseCommonCheck(s, a, !0);
7590
7590
  }, f.raise = function(s, a) {
@@ -7593,9 +7593,9 @@ function $h(e) {
7593
7593
  var a = this.type;
7594
7594
  if (a == o.braceL) {
7595
7595
  var c = this.curContext();
7596
- c == se.tc_oTag ? this.context.push(Z.b_expr) : c == se.tc_expr ? this.context.push(Z.b_tmpl) : P.prototype.updateContext.call(this, s), this.exprAllowed = !0;
7596
+ c == se.tc_oTag ? this.context.push(U.b_expr) : c == se.tc_expr ? this.context.push(U.b_tmpl) : T.prototype.updateContext.call(this, s), this.exprAllowed = !0;
7597
7597
  } else {
7598
- if (a !== o.slash || s !== D.jsxTagStart) return P.prototype.updateContext.call(this, s);
7598
+ if (a !== o.slash || s !== R.jsxTagStart) return T.prototype.updateContext.call(this, s);
7599
7599
  this.context.length -= 2, this.context.push(se.tc_cTag), this.exprAllowed = !1;
7600
7600
  }
7601
7601
  }, f.jsx_parseOpeningElementAt = function(s, a) {
@@ -7606,14 +7606,14 @@ function $h(e) {
7606
7606
  });
7607
7607
  v && (p.typeParameters = v);
7608
7608
  }
7609
- for (p.attributes = []; this.type !== o.slash && this.type !== D.jsxTagEnd; ) p.attributes.push(this.jsx_parseAttribute());
7610
- return p.selfClosing = this.eat(o.slash), this.expect(D.jsxTagEnd), this.finishNode(p, m ? "JSXOpeningElement" : "JSXOpeningFragment");
7609
+ for (p.attributes = []; this.type !== o.slash && this.type !== R.jsxTagEnd; ) p.attributes.push(this.jsx_parseAttribute());
7610
+ return p.selfClosing = this.eat(o.slash), this.expect(R.jsxTagEnd), this.finishNode(p, m ? "JSXOpeningElement" : "JSXOpeningFragment");
7611
7611
  }, f.enterScope = function(s) {
7612
- s === vt && this.importsStack.push([]), P.prototype.enterScope.call(this, s);
7613
- var a = P.prototype.currentScope.call(this);
7612
+ s === vt && this.importsStack.push([]), T.prototype.enterScope.call(this, s);
7613
+ var a = T.prototype.currentScope.call(this);
7614
7614
  a.types = [], a.enums = [], a.constEnums = [], a.classes = [], a.exportOnlyBindings = [];
7615
7615
  }, f.exitScope = function() {
7616
- P.prototype.currentScope.call(this).flags === vt && this.importsStack.pop(), P.prototype.exitScope.call(this);
7616
+ T.prototype.currentScope.call(this).flags === vt && this.importsStack.pop(), T.prototype.exitScope.call(this);
7617
7617
  }, f.hasImport = function(s, a) {
7618
7618
  var c = this.importsStack.length;
7619
7619
  if (this.importsStack[c - 1].indexOf(s) > -1) return !0;
@@ -7624,14 +7624,14 @@ function $h(e) {
7624
7624
  }, f.maybeExportDefined = function(s, a) {
7625
7625
  this.inModule && 1 & s.flags && this.undefinedExports.delete(a);
7626
7626
  }, f.isRedeclaredInScope = function(s, a, c) {
7627
- return !!(0 & c) && (2 & c ? s.lexical.indexOf(a) > -1 || s.functions.indexOf(a) > -1 || s.var.indexOf(a) > -1 : 3 & c ? s.lexical.indexOf(a) > -1 || !P.prototype.treatFunctionsAsVarInScope.call(this, s) && s.var.indexOf(a) > -1 : s.lexical.indexOf(a) > -1 && !(32 & s.flags && s.lexical[0] === a) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(a) > -1);
7627
+ return !!(0 & c) && (2 & c ? s.lexical.indexOf(a) > -1 || s.functions.indexOf(a) > -1 || s.var.indexOf(a) > -1 : 3 & c ? s.lexical.indexOf(a) > -1 || !T.prototype.treatFunctionsAsVarInScope.call(this, s) && s.var.indexOf(a) > -1 : s.lexical.indexOf(a) > -1 && !(32 & s.flags && s.lexical[0] === a) || !this.treatFunctionsAsVarInScope(s) && s.functions.indexOf(a) > -1);
7628
7628
  }, f.checkRedeclarationInScope = function(s, a, c, p) {
7629
7629
  this.isRedeclaredInScope(s, a, c) && this.raise(p, "Identifier '" + a + "' has already been declared.");
7630
7630
  }, f.declareName = function(s, a, c) {
7631
7631
  if (4096 & a) return this.hasImport(s, !0) && this.raise(c, "Identifier '" + s + "' has already been declared."), void this.importsStack[this.importsStack.length - 1].push(s);
7632
7632
  var p = this.currentScope();
7633
7633
  if (1024 & a) return this.maybeExportDefined(p, s), void p.exportOnlyBindings.push(s);
7634
- P.prototype.declareName.call(this, s, a, c), 0 & a && (0 & a || (this.checkRedeclarationInScope(p, s, a, c), this.maybeExportDefined(p, s)), p.types.push(s)), 256 & a && p.enums.push(s), 512 & a && p.constEnums.push(s), 128 & a && p.classes.push(s);
7634
+ T.prototype.declareName.call(this, s, a, c), 0 & a && (0 & a || (this.checkRedeclarationInScope(p, s, a, c), this.maybeExportDefined(p, s)), p.types.push(s)), 256 & a && p.enums.push(s), 512 & a && p.constEnums.push(s), 128 & a && p.classes.push(s);
7635
7635
  }, f.checkLocalExport = function(s) {
7636
7636
  var a = s.name;
7637
7637
  if (!this.hasImport(a)) {
@@ -7639,13 +7639,13 @@ function $h(e) {
7639
7639
  var p = this.scopeStack[c];
7640
7640
  if (p.types.indexOf(a) > -1 || p.exportOnlyBindings.indexOf(a) > -1) return;
7641
7641
  }
7642
- P.prototype.checkLocalExport.call(this, s);
7642
+ T.prototype.checkLocalExport.call(this, s);
7643
7643
  }
7644
- }, oe = pe, B = [{ key: "acornTypeScript", get: function() {
7644
+ }, oe = le, F = [{ key: "acornTypeScript", get: function() {
7645
7645
  return y;
7646
7646
  } }], (te = [{ key: "acornTypeScript", get: function() {
7647
7647
  return y;
7648
- } }]) && yr(oe.prototype, te), B && yr(oe, B), Object.defineProperty(oe, "prototype", { writable: !1 }), pe;
7648
+ } }]) && yr(oe.prototype, te), F && yr(oe, F), Object.defineProperty(oe, "prototype", { writable: !1 }), le;
7649
7649
  })(h);
7650
7650
  return Ms;
7651
7651
  };
@@ -7654,16 +7654,16 @@ const Fh = zs(js);
7654
7654
  async function Bh(e) {
7655
7655
  let t;
7656
7656
  try {
7657
- t = await ge.readdir(e, { withFileTypes: !0 });
7657
+ t = await xe.readdir(e, { withFileTypes: !0 });
7658
7658
  } catch (i) {
7659
7659
  if (i.code === "ENOENT") return;
7660
7660
  throw i;
7661
7661
  }
7662
7662
  await Promise.all(
7663
7663
  t.map(async (i) => {
7664
- const r = Mt.join(e, i.name);
7664
+ const r = Vt.join(e, i.name);
7665
7665
  try {
7666
- await ge.rm(r, { recursive: !0, force: !0 });
7666
+ await xe.rm(r, { recursive: !0, force: !0 });
7667
7667
  } catch (n) {
7668
7668
  if (n.code !== "ENOENT") throw n;
7669
7669
  }
@@ -7684,14 +7684,14 @@ function Ri(e) {
7684
7684
  d && d !== "constructor" && u.accessibility !== "private" && r.push(d);
7685
7685
  }), r;
7686
7686
  }
7687
- async function Te(e, t, i = [], r) {
7687
+ async function Se(e, t, i = [], r) {
7688
7688
  const n = `${t} ${i.join(" ")}`;
7689
7689
  e !== void 0 && re(`${e} - exec(${n})`);
7690
7690
  const { stdout: u, stderr: h } = await Fh(n);
7691
- r === void 0 ? u.trim() && console.log(u.trim()) : await ge.writeFile(r, u.trim(), "utf8"), h.trim() && console.error(h.trim());
7691
+ r === void 0 ? u.trim() && console.log(u.trim()) : await xe.writeFile(r, u.trim(), "utf8"), h.trim() && console.error(h.trim());
7692
7692
  }
7693
7693
  async function Zh(e, t) {
7694
- return ge.readdir(e, t);
7694
+ return xe.readdir(e, t);
7695
7695
  }
7696
7696
  async function Di() {
7697
7697
  re("Load environment variables"), (await import("dotenv")).config();
@@ -7711,15 +7711,15 @@ function re(e) {
7711
7711
  ${e}
7712
7712
  `);
7713
7713
  }
7714
- async function de(e) {
7715
- return JSON.parse(await ge.readFile(e, "utf8"));
7714
+ async function fe(e) {
7715
+ return JSON.parse(await xe.readFile(e, "utf8"));
7716
7716
  }
7717
7717
  async function Xe(e) {
7718
- return await ge.readFile(e, "utf8");
7718
+ return await xe.readFile(e, "utf8");
7719
7719
  }
7720
7720
  async function Uh(e) {
7721
7721
  try {
7722
- await ge.unlink(e);
7722
+ await xe.unlink(e);
7723
7723
  } catch (t) {
7724
7724
  if (t.code !== "ENOENT") throw t;
7725
7725
  }
@@ -7731,11 +7731,18 @@ async function Ie(e, t, i = [], r = !1) {
7731
7731
  });
7732
7732
  });
7733
7733
  }
7734
+ function Ls(e, t, i, r) {
7735
+ const n = e.indexOf(i), u = e.indexOf(r);
7736
+ if (n === -1 || u === -1) throw new Error(`Markers ${i}-${r} not found in content.`);
7737
+ return `${e.slice(0, Math.max(0, n + i.length))}
7738
+ ${t}
7739
+ ${e.slice(Math.max(0, u))}`;
7740
+ }
7734
7741
  async function ct(e, t) {
7735
- await ge.writeFile(e, JSON.stringify(t, void 0, 4), "utf8");
7742
+ await xe.writeFile(e, JSON.stringify(t, void 0, 4), "utf8");
7736
7743
  }
7737
- async function ti(e, t) {
7738
- await ge.writeFile(e, t, "utf8");
7744
+ async function kt(e, t) {
7745
+ await xe.writeFile(e, t, "utf8");
7739
7746
  }
7740
7747
  function gi(e, t) {
7741
7748
  t(e);
@@ -7751,7 +7758,7 @@ function gi(e, t) {
7751
7758
  }
7752
7759
  }
7753
7760
  async function qh() {
7754
- const e = await de("config.json"), t = {
7761
+ const e = await fe("config.json"), t = {
7755
7762
  body: JSON.stringify(e),
7756
7763
  headers: { "Content-Type": "application/json" },
7757
7764
  method: "PUT"
@@ -7773,8 +7780,8 @@ async function Sr(e, t) {
7773
7780
  for (const d of h) {
7774
7781
  const y = `${n}/${d.name}`, o = u ? `${u}/${d.name}` : d.name;
7775
7782
  if (d.isDirectory()) continue;
7776
- const k = `${t}_${i}/${o}`.replaceAll("\\", "/"), T = d.name.endsWith(".css") ? "text/css" : "application/octet-stream", A = d.name.endsWith(".js") ? "application/javascript" : T;
7777
- console.info(`⚙️ Uploading '${o}' → '${k}'...`), await Te(void 0, `wrangler r2 object put "${k}" --file="${y}" --content-type ${A} --jurisdiction=eu --remote`);
7783
+ const k = `${t}_${i}/${o}`.replaceAll("\\", "/"), P = d.name.endsWith(".css") ? "text/css" : "application/octet-stream", D = d.name.endsWith(".js") ? "application/javascript" : P;
7784
+ console.info(`⚙️ Uploading '${o}' → '${k}'...`), await Se(void 0, `wrangler r2 object put "${k}" --file="${y}" --content-type ${D} --jurisdiction=eu --remote`);
7778
7785
  }
7779
7786
  }
7780
7787
  await r("dist");
@@ -7801,7 +7808,7 @@ async function yl() {
7801
7808
  async function vl() {
7802
7809
  try {
7803
7810
  Re("Release Project"), await Di();
7804
- const e = await de("package.json"), t = await de("config.json");
7811
+ const e = await fe("package.json"), t = await fe("config.json");
7805
7812
  await Os("1️⃣", e);
7806
7813
  const i = Hh.find((r) => t.id.startsWith(r.idPrefix));
7807
7814
  if (!i) throw new Error(`Failed to locate module type configuration for identifier '${t.id}'.`);
@@ -7818,7 +7825,7 @@ async function vl() {
7818
7825
  default:
7819
7826
  await Gh("2️⃣", e);
7820
7827
  }
7821
- if (await Ie("3️⃣ Bundle project", "vite", ["build"]), await Te("4️⃣ Stage changes", "git", ["add", "."]), await Te("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Te("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), i.typeId === "app")
7828
+ if (await Ie("3️⃣ Bundle project", "vite", ["build"]), await Se("4️⃣ Stage changes", "git", ["add", "."]), await Se("5️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Se("6️⃣ Push changes", "git", ["push", "origin", "main:main"]), i.typeId === "app")
7822
7829
  re("7️⃣ Register module"), await qh();
7823
7830
  else if (i.typeId === "engine")
7824
7831
  re("7️⃣ Register module"), await kr(t), await Sr(e, `datapos-engine-eu/${i.uploadGroupName}`);
@@ -7832,7 +7839,7 @@ async function vl() {
7832
7839
  if (i.publish) {
7833
7840
  const r = ".npmrc";
7834
7841
  try {
7835
- await ti(r, `registry=https://registry.npmjs.org/
7842
+ await kt(r, `registry=https://registry.npmjs.org/
7836
7843
  //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Ie("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
7837
7844
  } finally {
7838
7845
  await Uh(r);
@@ -7847,8 +7854,8 @@ async function vl() {
7847
7854
  async function xl() {
7848
7855
  try {
7849
7856
  Re("Synchronise Project with GitHub");
7850
- const e = await de("package.json");
7851
- re("Bump project version"), await Os("1️⃣", e), await Te("2️⃣ Stage changes", "git", ["add", "."]), await Te("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Te("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), $e(`Project version '${e.version}' synchronised with GitHub.`);
7857
+ const e = await fe("package.json");
7858
+ re("Bump project version"), await Os("1️⃣", e), await Se("2️⃣ Stage changes", "git", ["add", "."]), await Se("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await Se("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), $e(`Project version '${e.version}' synchronised with GitHub.`);
7852
7859
  } catch (e) {
7853
7860
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
7854
7861
  }
@@ -7864,12 +7871,12 @@ function gl() {
7864
7871
  }
7865
7872
  async function Gh(e, t) {
7866
7873
  re(`${e} Build project configuration`);
7867
- const i = await de("config.json");
7874
+ const i = await fe("config.json");
7868
7875
  t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), await ct("config.json", i);
7869
7876
  }
7870
7877
  async function Wh(e, t) {
7871
7878
  re(`${e} Build connector project configuration`);
7872
- const [i, r] = await Promise.all([de("config.json"), Xe("src/index.ts")]), n = wc.safeParse(i);
7879
+ const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = wc.safeParse(i);
7873
7880
  if (!n.success) {
7874
7881
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7875
7882
  return;
@@ -7879,7 +7886,7 @@ async function Wh(e, t) {
7879
7886
  }
7880
7887
  async function Kh(e, t) {
7881
7888
  re(`${e} Build context project configuration`);
7882
- const [i, r] = await Promise.all([de("config.json"), Xe("src/index.ts")]), n = Lc.safeParse(i);
7889
+ const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = Lc.safeParse(i);
7883
7890
  if (!n.success) {
7884
7891
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7885
7892
  return;
@@ -7889,7 +7896,7 @@ async function Kh(e, t) {
7889
7896
  }
7890
7897
  async function Xh(e, t) {
7891
7898
  re(`${e} Build presenter project configuration`);
7892
- const [i, r] = await Promise.all([de("config.json"), Xe("src/index.ts")]), n = Bc.safeParse(i);
7899
+ const [i, r] = await Promise.all([fe("config.json"), Xe("src/index.ts")]), n = Bc.safeParse(i);
7893
7900
  if (!n.success) {
7894
7901
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7895
7902
  return;
@@ -7922,8 +7929,8 @@ const Yh = {
7922
7929
  async function bl() {
7923
7930
  try {
7924
7931
  Re("Audit Dependencies"), await Di();
7925
- const e = await de("package.json");
7926
- console.log(1111, process.env.OWASP_NVD_API_KEY), await Ie("1️⃣", "owasp-dependency-check", [
7932
+ const e = await fe("package.json");
7933
+ await Ie("1️⃣", "owasp-dependency-check", [
7927
7934
  "--out",
7928
7935
  "dependency-check-reports",
7929
7936
  "--project",
@@ -7939,23 +7946,18 @@ async function bl() {
7939
7946
  }
7940
7947
  async function tl(e) {
7941
7948
  re(`${e} Insert OWASP Badge(s) into 'README.md'`);
7942
- const t = await de("dependency-check-reports/dependency-check-report.json"), i = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
7949
+ const t = await fe("dependency-check-reports/dependency-check-report.json"), i = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
7943
7950
  for (const h of t.dependencies)
7944
7951
  if (h.vulnerabilities != null)
7945
7952
  for (const d of h.vulnerabilities) {
7946
7953
  const y = d.severity?.toLowerCase() ?? "unknown";
7947
7954
  y in i ? i[y]++ : i.unknown++;
7948
7955
  }
7949
- const r = await rl(i), n = await Xe("./README.md"), u = il(n, r.join(" "), Qh, el);
7950
- await ti("README.md", u), console.info("OWASP audit badge(s) inserted into 'README.md'");
7951
- }
7952
- function il(e, t, i, r) {
7953
- const n = e.indexOf(i), u = e.indexOf(r);
7954
- if (n === -1 || u === -1) throw new Error(`Markers ${i}-${r} not found in content.`);
7955
- return e.slice(0, Math.max(0, n + i.length)) + t + e.slice(Math.max(0, u));
7956
+ const r = await il(i), n = await Xe("./README.md"), u = Ls(n, r.join(" "), Qh, el);
7957
+ await kt("README.md", u), console.info("OWASP audit badge(s) inserted into 'README.md'");
7956
7958
  }
7957
- async function rl(e) {
7958
- const t = await de("config.json"), i = [];
7959
+ async function il(e) {
7960
+ const t = await fe("config.json"), i = [];
7959
7961
  if (Object.values(e).reduce((n, u) => n + u, 0) === 0)
7960
7962
  console.info("No vulnerabilities found."), i.push(`[![OWASP](https://img.shields.io/badge/OWASP-passed-4CAF50)](https://data-positioning.github.io/${t.id}/dependency-check-reports/dependency-check-report.html)`);
7961
7963
  else
@@ -7974,22 +7976,22 @@ async function _l() {
7974
7976
  console.error("❌ Error checking dependencies.", e), process.exit(1);
7975
7977
  }
7976
7978
  }
7977
- const Tr = "<!-- DEPENDENCY_LICENSES_START -->", sl = "<!-- DEPENDENCY_LICENSES_END -->";
7979
+ const rl = "<!-- DEPENDENCY_LICENSES_START -->", sl = "<!-- DEPENDENCY_LICENSES_END -->";
7978
7980
  async function wl(e = [], t = !0) {
7979
7981
  try {
7980
7982
  Re("Document Dependencies"), await Di();
7981
- const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Pr(new Zs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7982
- await Te(
7983
+ const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Tr(new Zs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7984
+ await Se(
7983
7985
  "1️⃣ Generate 'licenses.json' file",
7984
7986
  "license-report",
7985
7987
  ["--config", `'${r}'`, "--only=prod,peer", "--output=json"],
7986
7988
  "licenses/licenses.json"
7987
- ), await Te("2️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "licenses/licenses.json", "--output=table", ...i]), t ? (await Te(
7989
+ ), await Se("2️⃣ Check 'licenses.json' file", "license-report-check", ["--source", "licenses/licenses.json", "--output=table", ...i]), t ? (await Se(
7988
7990
  "3️⃣ Generate 'licenseTree.json' file",
7989
7991
  "license-report-recursive",
7990
7992
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
7991
7993
  "licenses/licenseTree.json"
7992
- ), await Te("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...i])) : (re("3️⃣ Skip 'licenses/licenseTree.json' file generate"), re("4️⃣ Skip 'licenses/licenseTree.json' file check")), await Bh("licenses/downloads"), await Te("5️⃣ Download license files", "license-downloader", [
7994
+ ), await Se("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...i])) : (re("3️⃣ Skip 'licenses/licenseTree.json' file generate"), re("4️⃣ Skip 'licenses/licenseTree.json' file check")), await Bh("licenses/downloads"), await Se("5️⃣ Download license files", "license-downloader", [
7993
7995
  "--source",
7994
7996
  "licenses/licenses.json",
7995
7997
  "--licDir",
@@ -8004,43 +8006,36 @@ async function wl(e = [], t = !0) {
8004
8006
  }
8005
8007
  async function nl(e, t) {
8006
8008
  re(`${e} Insert licenses into 'README.md'`);
8007
- const i = await Xe("./README.md"), r = i.indexOf(Tr), n = i.indexOf(sl);
8008
- if (r === -1 || n === -1) {
8009
- console.error("❌ No dependency license markers found in 'README.md'.");
8010
- return;
8011
- }
8012
- const u = await de("licenses/licenses.json"), h = await de("licenses/downloads/licenses.ext.json");
8013
- let d = [];
8014
- t && (d = await de("licenses/licenseTree.json"));
8015
- const y = [
8009
+ const i = await fe("licenses/licenses.json"), r = await fe("licenses/downloads/licenses.ext.json");
8010
+ let n = [];
8011
+ t && (n = await fe("licenses/licenseTree.json"));
8012
+ const u = [
8016
8013
  ...(() => {
8017
- const T = /* @__PURE__ */ new Map();
8018
- for (const A of u)
8019
- T.set(A.name, { ...A });
8020
- for (const A of h) {
8021
- const $ = T.get(A.name);
8022
- T.set(A.name, $ ? { ...$, ...A } : { ...A });
8014
+ const o = /* @__PURE__ */ new Map();
8015
+ for (const k of i)
8016
+ o.set(k.name, { ...k });
8017
+ for (const k of r) {
8018
+ const P = o.get(k.name);
8019
+ o.set(k.name, P ? { ...P, ...k } : { ...k });
8023
8020
  }
8024
- for (const A of d) {
8025
- const $ = T.get(A.name);
8026
- $ && T.set(A.name, { ...$, dependencyCount: A.requires?.length ?? 0 });
8021
+ for (const k of n) {
8022
+ const P = o.get(k.name);
8023
+ P && o.set(k.name, { ...P, dependencyCount: k.requires?.length ?? 0 });
8027
8024
  }
8028
- return T.values();
8025
+ return o.values();
8029
8026
  })()
8030
8027
  ];
8031
- let o = `|Name|Type|Installed|Latest|Latest Released|Deps|Document|
8028
+ let h = `|Name|Type|Installed|Latest|Latest Released|Deps|Document|
8032
8029
  |:-|:-|:-:|:-:|:-|-:|:-|
8033
8030
  `;
8034
- for (const T of y) {
8035
- const A = T.installedVersion === T.remoteVersion ? T.installedVersion : `${T.installedVersion} ⚠️`, $ = T.latestRemoteModified ? al(T.latestRemoteModified.split("T")[0]) : "n/a", Z = T.dependencyCount != null && T.dependencyCount >= 0 ? T.dependencyCount : "n/a";
8036
- let le;
8037
- T.licenseFileLink == null || T.licenseFileLink == "" ? le = "⚠️ No license file" : le = `[${T.licenseFileLink.slice(Math.max(0, T.licenseFileLink.lastIndexOf("/") + 1))}](${T.licenseFileLink})`, o += `|${T.name}|${T.licenseType}|${A}|${T.remoteVersion}|${$}|${Z}|${le}|
8031
+ for (const o of u) {
8032
+ const k = o.installedVersion === o.remoteVersion ? o.installedVersion : `${o.installedVersion} ⚠️`, P = o.latestRemoteModified ? al(o.latestRemoteModified.split("T")[0]) : "n/a", D = o.dependencyCount != null && o.dependencyCount >= 0 ? o.dependencyCount : "n/a";
8033
+ let B;
8034
+ o.licenseFileLink == null || o.licenseFileLink == "" ? B = "⚠️ No license file" : B = `[${o.licenseFileLink.slice(Math.max(0, o.licenseFileLink.lastIndexOf("/") + 1))}](${o.licenseFileLink})`, h += `|${o.name}|${o.licenseType}|${k}|${o.remoteVersion}|${P}|${D}|${B}|
8038
8035
  `;
8039
8036
  }
8040
- const k = `${i.slice(0, Math.max(0, r + Tr.length))}
8041
- ${o}
8042
- ${i.slice(Math.max(0, n))}`;
8043
- await ti("README.md", k);
8037
+ const d = await Xe("./README.md"), y = Ls(d, h, rl, sl);
8038
+ await kt("README.md", y), console.info("OWASP audit badge(s) inserted into 'README.md'"), await kt("README.md", y);
8044
8039
  }
8045
8040
  function al(e) {
8046
8041
  if (e == null || e === "") return "n/a";
@@ -8078,11 +8073,11 @@ async function Tl(e = []) {
8078
8073
  }
8079
8074
  }
8080
8075
  async function ul(e) {
8081
- const t = Mt.dirname(Pr(import.meta.url));
8082
- await Dt(t, "../", ".editorconfig"), await Dt(t, "../", ".gitattributes"), await Dt(t, "../", ".markdownlint.json"), await Dt(t, "../", "LICENSE");
8076
+ const t = Vt.dirname(Tr(import.meta.url));
8077
+ await Mt(t, "../", ".editorconfig"), await Mt(t, "../", ".gitattributes"), await Mt(t, "../", ".markdownlint.json"), await Mt(t, "../", "LICENSE");
8083
8078
  }
8084
- async function Dt(e, t, i) {
8085
- const r = Mt.resolve(e, `${t}${i}`), n = await Xe(r), u = Mt.resolve(process.cwd(), i);
8079
+ async function Mt(e, t, i) {
8080
+ const r = Vt.resolve(e, `${t}${i}`), n = await Xe(r), u = Vt.resolve(process.cwd(), i);
8086
8081
  let h;
8087
8082
  try {
8088
8083
  h = await Xe(u);
@@ -8093,7 +8088,7 @@ async function Dt(e, t, i) {
8093
8088
  console.info(`ℹ️ File '${i}' is already up to date.`);
8094
8089
  return;
8095
8090
  }
8096
- await ti(u, n), console.info(`ℹ️ File '${i}' synchronised.`);
8091
+ await kt(u, n), console.info(`ℹ️ File '${i}' synchronised.`);
8097
8092
  }
8098
8093
  async function Pl(e) {
8099
8094
  try {
@@ -8106,13 +8101,13 @@ async function Pl(e) {
8106
8101
  for (const y of u) {
8107
8102
  const o = `${n}/${y}`;
8108
8103
  try {
8109
- const k = await ge.stat(o);
8104
+ const k = await xe.stat(o);
8110
8105
  if (k.isDirectory()) {
8111
- const T = await ge.readdir(o), A = { childCount: T.length, name: y, typeId: "folder" };
8112
- h.push(A), await i(o, T);
8106
+ const P = await xe.readdir(o), D = { childCount: P.length, name: y, typeId: "folder" };
8107
+ h.push(D), await i(o, P);
8113
8108
  } else {
8114
- const T = { id: Vs(), lastModifiedAt: k.mtimeMs, name: y, size: k.size, typeId: "object" };
8115
- h.push(T);
8109
+ const P = { id: Vs(), lastModifiedAt: k.mtimeMs, name: y, size: k.size, typeId: "object" };
8110
+ h.push(P);
8116
8111
  }
8117
8112
  } catch (k) {
8118
8113
  throw new Error(`Unable to get information for '${y}' in 'buildPublicDirectoryIndex'. ${String(k)}`);
@@ -8123,8 +8118,8 @@ async function Pl(e) {
8123
8118
  return k === 0 ? y.name.localeCompare(o.name) : k;
8124
8119
  });
8125
8120
  }
8126
- const r = await ge.readdir(`public/${e}`);
8127
- await i(`public/${e}`, r), await ge.writeFile(`./public/${e}Index.json`, JSON.stringify(t), "utf8"), console.info("✅ Public directory index built.");
8121
+ const r = await xe.readdir(`public/${e}`);
8122
+ await i(`public/${e}`, r), await xe.writeFile(`./public/${e}Index.json`, JSON.stringify(t), "utf8"), console.info("✅ Public directory index built.");
8128
8123
  } catch (t) {
8129
8124
  console.error("❌ Error building public directory index.", t);
8130
8125
  }