@datapos/datapos-development 0.3.345 → 0.3.347

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,7 +1,7 @@
1
- import { promises as ge } from "node:fs";
2
- import { nanoid as Ds } from "nanoid";
3
- import Ms from "node:path";
4
- import { fileURLToPath as Vs, URL as zs } from "node:url";
1
+ import { promises as ae } from "node:fs";
2
+ import { nanoid as Vs } from "nanoid";
3
+ import Dt from "node:path";
4
+ import { fileURLToPath as Pr, URL as zs } from "node:url";
5
5
  import { promisify as js } from "node:util";
6
6
  import { exec as Fs, spawn as $s } from "node:child_process";
7
7
  import { CONNECTOR_SOURCE_OPERATIONS as Bs, CONNECTOR_DESTINATION_OPERATIONS as Zs } from "@datapos/datapos-shared";
@@ -44,23 +44,23 @@ class rt extends Error {
44
44
  super("Encountered Promise during synchronous parse. Use .parseAsync() instead.");
45
45
  }
46
46
  }
47
- class Tr extends Error {
47
+ class Cr extends Error {
48
48
  constructor(t) {
49
49
  super(`Encountered unidirectional transform during encode: ${t}`), this.name = "ZodEncodeError";
50
50
  }
51
51
  }
52
- const Pr = {};
52
+ const Ar = {};
53
53
  function Ue(e) {
54
- return Pr;
54
+ return Ar;
55
55
  }
56
56
  function Us(e) {
57
57
  const t = Object.values(e).filter((r) => typeof r == "number");
58
58
  return Object.entries(e).filter(([r, n]) => t.indexOf(+r) === -1).map(([r, n]) => n);
59
59
  }
60
- function ci(e, t) {
60
+ function hi(e, t) {
61
61
  return typeof t == "bigint" ? t.toString() : t;
62
62
  }
63
- function vi(e) {
63
+ function xi(e) {
64
64
  return {
65
65
  get value() {
66
66
  {
@@ -70,10 +70,10 @@ function vi(e) {
70
70
  }
71
71
  };
72
72
  }
73
- function xi(e) {
73
+ function gi(e) {
74
74
  return e == null;
75
75
  }
76
- function gi(e) {
76
+ function bi(e) {
77
77
  const t = e.startsWith("^") ? 1 : 0, i = e.endsWith("$") ? e.length - 1 : e.length;
78
78
  return e.slice(t, i);
79
79
  }
@@ -87,13 +87,13 @@ function qs(e, t) {
87
87
  const u = i > n ? i : n, h = Number.parseInt(e.toFixed(u).replace(".", "")), d = Number.parseInt(t.toFixed(u).replace(".", ""));
88
88
  return h % d / 10 ** u;
89
89
  }
90
- const ji = Symbol("evaluating");
90
+ const Fi = Symbol("evaluating");
91
91
  function U(e, t, i) {
92
92
  let r;
93
93
  Object.defineProperty(e, t, {
94
94
  get() {
95
- if (r !== ji)
96
- return r === void 0 && (r = ji, r = i()), r;
95
+ if (r !== Fi)
96
+ return r === void 0 && (r = Fi, r = i()), r;
97
97
  },
98
98
  set(n) {
99
99
  Object.defineProperty(e, t, {
@@ -120,18 +120,18 @@ function Je(...e) {
120
120
  }
121
121
  return Object.defineProperties({}, t);
122
122
  }
123
- function Fi(e) {
123
+ function $i(e) {
124
124
  return JSON.stringify(e);
125
125
  }
126
126
  function Hs(e) {
127
127
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
128
128
  }
129
- const Cr = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
129
+ const Er = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {
130
130
  };
131
- function Dt(e) {
131
+ function Mt(e) {
132
132
  return typeof e == "object" && e !== null && !Array.isArray(e);
133
133
  }
134
- const Gs = vi(() => {
134
+ const Gs = xi(() => {
135
135
  if (typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare"))
136
136
  return !1;
137
137
  try {
@@ -142,15 +142,15 @@ const Gs = vi(() => {
142
142
  }
143
143
  });
144
144
  function st(e) {
145
- if (Dt(e) === !1)
145
+ if (Mt(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 !(Dt(i) === !1 || Object.prototype.hasOwnProperty.call(i, "isPrototypeOf") === !1);
151
+ return !(Mt(i) === !1 || Object.prototype.hasOwnProperty.call(i, "isPrototypeOf") === !1);
152
152
  }
153
- function Ar(e) {
153
+ function Ir(e) {
154
154
  return st(e) ? { ...e } : Array.isArray(e) ? [...e] : e;
155
155
  }
156
156
  const Ws = /* @__PURE__ */ new Set(["string", "number", "symbol"]);
@@ -331,7 +331,7 @@ function qe(e, t, i) {
331
331
  }
332
332
  return delete r.inst, delete r.continue, t?.reportInput || delete r.input, r;
333
333
  }
334
- function bi(e) {
334
+ function _i(e) {
335
335
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
336
336
  }
337
337
  function bt(...e) {
@@ -343,18 +343,18 @@ function bt(...e) {
343
343
  inst: r
344
344
  } : { ...t };
345
345
  }
346
- const Er = (e, t) => {
346
+ const Nr = (e, t) => {
347
347
  e.name = "$ZodError", Object.defineProperty(e, "_zod", {
348
348
  value: e._zod,
349
349
  enumerable: !1
350
350
  }), Object.defineProperty(e, "issues", {
351
351
  value: t,
352
352
  enumerable: !1
353
- }), e.message = JSON.stringify(t, ci, 2), Object.defineProperty(e, "toString", {
353
+ }), e.message = JSON.stringify(t, hi, 2), Object.defineProperty(e, "toString", {
354
354
  value: () => e.message,
355
355
  enumerable: !1
356
356
  });
357
- }, Ir = k("$ZodError", Er), Nr = k("$ZodError", Er, { Parent: Error });
357
+ }, Lr = k("$ZodError", Nr), Or = k("$ZodError", Nr, { Parent: Error });
358
358
  function nn(e, t = (i) => i.message) {
359
359
  const i = {}, r = [];
360
360
  for (const n of e.issues)
@@ -382,81 +382,81 @@ function an(e, t = (i) => i.message) {
382
382
  };
383
383
  return r(e), i;
384
384
  }
385
- const _i = (e) => (t, i, r, n) => {
385
+ const ki = (e) => (t, i, r, n) => {
386
386
  const u = r ? Object.assign(r, { async: !1 }) : { async: !1 }, h = t._zod.run({ value: i, issues: [] }, u);
387
387
  if (h instanceof Promise)
388
388
  throw new rt();
389
389
  if (h.issues.length) {
390
390
  const d = new (n?.Err ?? e)(h.issues.map((y) => qe(y, u, Ue())));
391
- throw Cr(d, n?.callee), d;
391
+ throw Er(d, n?.callee), d;
392
392
  }
393
393
  return h.value;
394
- }, ki = (e) => async (t, i, r, n) => {
394
+ }, wi = (e) => async (t, i, r, n) => {
395
395
  const u = r ? Object.assign(r, { async: !0 }) : { async: !0 };
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 Cr(d, n?.callee), d;
399
+ throw Er(d, n?.callee), d;
400
400
  }
401
401
  return h.value;
402
- }, Ut = (e) => (t, i, r) => {
402
+ }, qt = (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 rt();
406
406
  return u.issues.length ? {
407
407
  success: !1,
408
- error: new (e ?? Ir)(u.issues.map((h) => qe(h, n, Ue())))
408
+ error: new (e ?? Lr)(u.issues.map((h) => qe(h, n, Ue())))
409
409
  } : { success: !0, data: u.value };
410
- }, on = /* @__PURE__ */ Ut(Nr), qt = (e) => async (t, i, r) => {
410
+ }, on = /* @__PURE__ */ qt(Or), Ht = (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__ */ qt(Nr), cn = (e) => (t, i, r) => {
418
- const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
419
- return _i(e)(t, i, n);
420
- }, hn = (e) => (t, i, r) => _i(e)(t, i, r), ln = (e) => async (t, i, r) => {
417
+ }, un = /* @__PURE__ */ Ht(Or), cn = (e) => (t, i, r) => {
421
418
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
422
419
  return ki(e)(t, i, n);
423
- }, pn = (e) => async (t, i, r) => ki(e)(t, i, r), fn = (e) => (t, i, r) => {
420
+ }, hn = (e) => (t, i, r) => ki(e)(t, i, r), ln = (e) => async (t, i, r) => {
424
421
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
425
- return Ut(e)(t, i, n);
426
- }, dn = (e) => (t, i, r) => Ut(e)(t, i, r), mn = (e) => async (t, i, r) => {
422
+ return wi(e)(t, i, n);
423
+ }, pn = (e) => async (t, i, r) => wi(e)(t, i, r), fn = (e) => (t, i, r) => {
427
424
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
428
425
  return qt(e)(t, i, n);
429
- }, yn = (e) => async (t, i, r) => qt(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}$/, kn = /^[a-zA-Z0-9_-]{21}$/, wn = /^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})$/, $i = (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) => qt(e)(t, i, r), mn = (e) => async (t, i, r) => {
427
+ const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
428
+ return Ht(e)(t, i, n);
429
+ }, yn = (e) => async (t, i, r) => Ht(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}$/, kn = /^[a-zA-Z0-9_-]{21}$/, wn = /^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})$/, Bi = (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}=))?$/, Lr = /^[A-Za-z0-9_-]*$/, On = /^\+(?:[0-9]){6,14}[0-9]$/, Or = "(?:(?:\\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(`^${Or}$`);
434
- function Rr(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}=))?$/, 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) {
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(`^${Rr(e)}$`);
439
+ return new RegExp(`^${Mr(e)}$`);
440
440
  }
441
441
  function Mn(e) {
442
- const t = Rr({ precision: e.precision }), i = ["Z"];
442
+ const t = Mr({ 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(`^${Or}T(?:${r})$`);
445
+ return new RegExp(`^${Dr}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+)?/, Fn = /^(?:true|false)$/i, $n = /^[^A-Z]*$/, Bn = /^[^a-z]*$/, me = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
450
+ }, zn = /^-?\d+$/, jn = /^-?\d+(?:\.\d+)?/, Fn = /^(?:true|false)$/i, $n = /^[^A-Z]*$/, Bn = /^[^a-z]*$/, ye = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
451
451
  var i;
452
452
  e._zod ?? (e._zod = {}), e._zod.def = t, (i = e._zod).onattach ?? (i.onattach = []);
453
- }), Dr = {
453
+ }), Vr = {
454
454
  number: "number",
455
455
  bigint: "bigint",
456
456
  object: "date"
457
- }, Mr = /* @__PURE__ */ k("$ZodCheckLessThan", (e, t) => {
458
- me.init(e, t);
459
- const i = Dr[typeof t.value];
457
+ }, zr = /* @__PURE__ */ k("$ZodCheckLessThan", (e, t) => {
458
+ ye.init(e, t);
459
+ const i = Vr[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
- }), Vr = /* @__PURE__ */ k("$ZodCheckGreaterThan", (e, t) => {
475
- me.init(e, t);
476
- const i = Dr[typeof t.value];
474
+ }), jr = /* @__PURE__ */ k("$ZodCheckGreaterThan", (e, t) => {
475
+ ye.init(e, t);
476
+ const i = Vr[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__ */ k("$ZodCheckMultipleOf", (e, t) => {
492
- me.init(e, t), e._zod.onattach.push((i) => {
492
+ ye.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__ */ k("$ZodCheckNumberFormat", (e, t) => {
508
- me.init(e, t), t.format = t.format || "float64";
508
+ ye.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,9 +563,9 @@ const Vn = (e) => {
563
563
  };
564
564
  }), qn = /* @__PURE__ */ k("$ZodCheckMaxLength", (e, t) => {
565
565
  var i;
566
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
566
+ ye.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
567
567
  const n = r.value;
568
- return !xi(n) && n.length !== void 0;
568
+ return !gi(n) && n.length !== void 0;
569
569
  }), e._zod.onattach.push((r) => {
570
570
  const n = r._zod.bag.maximum ?? Number.POSITIVE_INFINITY;
571
571
  t.maximum < n && (r._zod.bag.maximum = t.maximum);
@@ -573,7 +573,7 @@ const Vn = (e) => {
573
573
  const n = r.value;
574
574
  if (n.length <= t.maximum)
575
575
  return;
576
- const h = bi(n);
576
+ const h = _i(n);
577
577
  r.issues.push({
578
578
  origin: h,
579
579
  code: "too_big",
@@ -586,9 +586,9 @@ const Vn = (e) => {
586
586
  };
587
587
  }), Hn = /* @__PURE__ */ k("$ZodCheckMinLength", (e, t) => {
588
588
  var i;
589
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
589
+ ye.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
590
590
  const n = r.value;
591
- return !xi(n) && n.length !== void 0;
591
+ return !gi(n) && n.length !== void 0;
592
592
  }), e._zod.onattach.push((r) => {
593
593
  const n = r._zod.bag.minimum ?? Number.NEGATIVE_INFINITY;
594
594
  t.minimum > n && (r._zod.bag.minimum = t.minimum);
@@ -596,7 +596,7 @@ const Vn = (e) => {
596
596
  const n = r.value;
597
597
  if (n.length >= t.minimum)
598
598
  return;
599
- const h = bi(n);
599
+ const h = _i(n);
600
600
  r.issues.push({
601
601
  origin: h,
602
602
  code: "too_small",
@@ -609,9 +609,9 @@ const Vn = (e) => {
609
609
  };
610
610
  }), Gn = /* @__PURE__ */ k("$ZodCheckLengthEquals", (e, t) => {
611
611
  var i;
612
- me.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
612
+ ye.init(e, t), (i = e._zod.def).when ?? (i.when = (r) => {
613
613
  const n = r.value;
614
- return !xi(n) && n.length !== void 0;
614
+ return !gi(n) && n.length !== void 0;
615
615
  }), e._zod.onattach.push((r) => {
616
616
  const n = r._zod.bag;
617
617
  n.minimum = t.length, n.maximum = t.length, n.length = t.length;
@@ -619,7 +619,7 @@ const Vn = (e) => {
619
619
  const n = r.value, u = n.length;
620
620
  if (u === t.length)
621
621
  return;
622
- const h = bi(n), d = u > t.length;
622
+ const h = _i(n), d = u > t.length;
623
623
  r.issues.push({
624
624
  origin: h,
625
625
  ...d ? { code: "too_big", maximum: t.length } : { code: "too_small", minimum: t.length },
@@ -630,9 +630,9 @@ const Vn = (e) => {
630
630
  continue: !t.abort
631
631
  });
632
632
  };
633
- }), Ht = /* @__PURE__ */ k("$ZodCheckStringFormat", (e, t) => {
633
+ }), Gt = /* @__PURE__ */ k("$ZodCheckStringFormat", (e, t) => {
634
634
  var i, r;
635
- me.init(e, t), e._zod.onattach.push((n) => {
635
+ ye.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__ */ k("$ZodCheckRegex", (e, t) => {
651
- Ht.init(e, t), e._zod.check = (i) => {
651
+ Gt.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__ */ k("$ZodCheckLowerCase", (e, t) => {
663
- t.pattern ?? (t.pattern = $n), Ht.init(e, t);
663
+ t.pattern ?? (t.pattern = $n), Gt.init(e, t);
664
664
  }), Xn = /* @__PURE__ */ k("$ZodCheckUpperCase", (e, t) => {
665
- t.pattern ?? (t.pattern = Bn), Ht.init(e, t);
665
+ t.pattern ?? (t.pattern = Bn), Gt.init(e, t);
666
666
  }), Jn = /* @__PURE__ */ k("$ZodCheckIncludes", (e, t) => {
667
- me.init(e, t);
667
+ ye.init(e, t);
668
668
  const i = nt(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__ */ k("$ZodCheckStartsWith", (e, t) => {
684
- me.init(e, t);
684
+ ye.init(e, t);
685
685
  const i = new RegExp(`^${nt(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__ */ k("$ZodCheckEndsWith", (e, t) => {
701
- me.init(e, t);
701
+ ye.init(e, t);
702
702
  const i = new RegExp(`.*${nt(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__ */ k("$ZodCheckOverwrite", (e, t) => {
718
- me.init(e, t), e._zod.check = (i) => {
718
+ ye.init(e, t), e._zod.check = (i) => {
719
719
  i.value = t.tx(i.value);
720
720
  };
721
721
  });
@@ -820,7 +820,7 @@ const ia = {
820
820
  vendor: "zod",
821
821
  version: 1
822
822
  };
823
- }), wi = /* @__PURE__ */ k("$ZodString", (e, t) => {
823
+ }), Si = /* @__PURE__ */ k("$ZodString", (e, t) => {
824
824
  Y.init(e, t), e._zod.pattern = [...e?._zod.bag?.patterns ?? []].pop() ?? Vn(e._zod.bag), e._zod.parse = (i, r) => {
825
825
  if (t.coerce)
826
826
  try {
@@ -835,7 +835,7 @@ const ia = {
835
835
  }), i;
836
836
  };
837
837
  }), W = /* @__PURE__ */ k("$ZodStringFormat", (e, t) => {
838
- Ht.init(e, t), wi.init(e, t);
838
+ Gt.init(e, t), Si.init(e, t);
839
839
  }), ra = /* @__PURE__ */ k("$ZodGUID", (e, t) => {
840
840
  t.pattern ?? (t.pattern = Sn), W.init(e, t);
841
841
  }), sa = /* @__PURE__ */ k("$ZodUUID", (e, t) => {
@@ -852,9 +852,9 @@ const ia = {
852
852
  }[t.version];
853
853
  if (r === void 0)
854
854
  throw new Error(`Invalid UUID version: "${t.version}"`);
855
- t.pattern ?? (t.pattern = $i(r));
855
+ t.pattern ?? (t.pattern = Bi(r));
856
856
  } else
857
- t.pattern ?? (t.pattern = $i());
857
+ t.pattern ?? (t.pattern = Bi());
858
858
  W.init(e, t);
859
859
  }), na = /* @__PURE__ */ k("$ZodEmail", (e, t) => {
860
860
  t.pattern ?? (t.pattern = Tn), W.init(e, t);
@@ -956,7 +956,7 @@ const ia = {
956
956
  }
957
957
  };
958
958
  });
959
- function zr(e) {
959
+ function Fr(e) {
960
960
  if (e === "")
961
961
  return !0;
962
962
  if (e.length % 4 !== 0)
@@ -969,7 +969,7 @@ function zr(e) {
969
969
  }
970
970
  const ka = /* @__PURE__ */ k("$ZodBase64", (e, t) => {
971
971
  t.pattern ?? (t.pattern = Ln), W.init(e, t), e._zod.bag.contentEncoding = "base64", e._zod.check = (i) => {
972
- zr(i.value) || i.issues.push({
972
+ Fr(i.value) || i.issues.push({
973
973
  code: "invalid_format",
974
974
  format: "base64",
975
975
  input: i.value,
@@ -979,13 +979,13 @@ const ka = /* @__PURE__ */ k("$ZodBase64", (e, t) => {
979
979
  };
980
980
  });
981
981
  function wa(e) {
982
- if (!Lr.test(e))
982
+ if (!Rr.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 zr(i);
985
+ return Fr(i);
986
986
  }
987
987
  const Sa = /* @__PURE__ */ k("$ZodBase64URL", (e, t) => {
988
- t.pattern ?? (t.pattern = Lr), W.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (i) => {
988
+ t.pattern ?? (t.pattern = Rr), W.init(e, t), e._zod.bag.contentEncoding = "base64url", e._zod.check = (i) => {
989
989
  wa(i.value) || i.issues.push({
990
990
  code: "invalid_format",
991
991
  format: "base64url",
@@ -1021,7 +1021,7 @@ const Ca = /* @__PURE__ */ k("$ZodJWT", (e, t) => {
1021
1021
  continue: !t.abort
1022
1022
  });
1023
1023
  };
1024
- }), jr = /* @__PURE__ */ k("$ZodNumber", (e, t) => {
1024
+ }), $r = /* @__PURE__ */ k("$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__ */ k("$ZodJWT", (e, t) => {
1041
1041
  }), i;
1042
1042
  };
1043
1043
  }), Aa = /* @__PURE__ */ k("$ZodNumberFormat", (e, t) => {
1044
- Un.init(e, t), jr.init(e, t);
1044
+ Un.init(e, t), $r.init(e, t);
1045
1045
  }), Ea = /* @__PURE__ */ k("$ZodBoolean", (e, t) => {
1046
1046
  Y.init(e, t), e._zod.pattern = Fn, e._zod.parse = (i, r) => {
1047
1047
  if (t.coerce)
@@ -1067,7 +1067,7 @@ const Ca = /* @__PURE__ */ k("$ZodJWT", (e, t) => {
1067
1067
  inst: e
1068
1068
  }), i);
1069
1069
  });
1070
- function Bi(e, t, i) {
1070
+ function Zi(e, t, i) {
1071
1071
  e.issues.length && t.issues.push(...it(i, e.issues)), t.value[i] = e.value;
1072
1072
  }
1073
1073
  const La = /* @__PURE__ */ k("$ZodArray", (e, t) => {
@@ -1087,15 +1087,15 @@ const La = /* @__PURE__ */ k("$ZodArray", (e, t) => {
1087
1087
  value: d,
1088
1088
  issues: []
1089
1089
  }, r);
1090
- y instanceof Promise ? u.push(y.then((o) => Bi(o, i, h))) : Bi(y, i, h);
1090
+ y instanceof Promise ? u.push(y.then((o) => Zi(o, i, h))) : Zi(y, i, h);
1091
1091
  }
1092
1092
  return u.length ? Promise.all(u).then(() => i) : i;
1093
1093
  };
1094
1094
  });
1095
- function Mt(e, t, i, r) {
1095
+ function Vt(e, t, i, r) {
1096
1096
  e.issues.length && t.issues.push(...it(i, e.issues)), e.value === void 0 ? i in r && (t.value[i] = void 0) : t.value[i] = e.value;
1097
1097
  }
1098
- function Fr(e) {
1098
+ function Br(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 Fr(e) {
1109
1109
  optionalKeys: new Set(i)
1110
1110
  };
1111
1111
  }
1112
- function $r(e, t, i, r, n, u) {
1112
+ function Zr(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 w in t) {
1115
1115
  if (d.has(w))
@@ -1119,7 +1119,7 @@ function $r(e, t, i, r, n, u) {
1119
1119
  continue;
1120
1120
  }
1121
1121
  const S = y.run({ value: t[w], issues: [] }, r);
1122
- S instanceof Promise ? e.push(S.then((A) => Mt(A, i, w, t))) : Mt(S, i, w, t);
1122
+ S instanceof Promise ? e.push(S.then((A) => Vt(A, i, w, t))) : Vt(S, i, w, t);
1123
1123
  }
1124
1124
  return h.length && i.issues.push({
1125
1125
  code: "unrecognized_keys",
@@ -1140,7 +1140,7 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1140
1140
  }
1141
1141
  });
1142
1142
  }
1143
- const r = vi(() => Fr(t));
1143
+ const r = xi(() => Br(t));
1144
1144
  U(e._zod, "propValues", () => {
1145
1145
  const d = t.shape, y = {};
1146
1146
  for (const o in d) {
@@ -1153,7 +1153,7 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1153
1153
  }
1154
1154
  return y;
1155
1155
  });
1156
- const n = Dt, u = t.catchall;
1156
+ const n = Mt, u = t.catchall;
1157
1157
  let h;
1158
1158
  e._zod.parse = (d, y) => {
1159
1159
  h ?? (h = r.value);
@@ -1169,15 +1169,15 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1169
1169
  const w = [], S = h.shape;
1170
1170
  for (const A of h.keys) {
1171
1171
  const Z = S[A]._zod.run({ value: o[A], issues: [] }, y);
1172
- Z instanceof Promise ? w.push(Z.then((le) => Mt(le, d, A, o))) : Mt(Z, d, A, o);
1172
+ Z instanceof Promise ? w.push(Z.then((pe) => Vt(pe, d, A, o))) : Vt(Z, d, A, o);
1173
1173
  }
1174
- return u ? $r(w, o, d, y, r.value, e) : w.length ? Promise.all(w).then(() => d) : d;
1174
+ return u ? Zr(w, o, d, y, r.value, e) : w.length ? Promise.all(w).then(() => d) : d;
1175
1175
  };
1176
1176
  }), Ra = /* @__PURE__ */ k("$ZodObjectJIT", (e, t) => {
1177
1177
  Oa.init(e, t);
1178
- const i = e._zod.parse, r = vi(() => Fr(t)), n = (A) => {
1179
- const F = new ta(["shape", "payload", "ctx"]), Z = r.value, le = (Ae) => {
1180
- const _e = Fi(Ae);
1178
+ const i = e._zod.parse, r = xi(() => Br(t)), n = (A) => {
1179
+ const F = new ta(["shape", "payload", "ctx"]), Z = r.value, pe = (Ae) => {
1180
+ const _e = $i(Ae);
1181
1181
  return `shape[${_e}]._zod.run({ value: input[${_e}], issues: [] }, ctx)`;
1182
1182
  };
1183
1183
  F.write("const input = payload.value;");
@@ -1187,8 +1187,8 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1187
1187
  D[Ae] = `key_${se++}`;
1188
1188
  F.write("const newResult = {};");
1189
1189
  for (const Ae of Z.keys) {
1190
- const _e = D[Ae], Ke = Fi(Ae);
1191
- F.write(`const ${_e} = ${le(Ae)};`), F.write(`
1190
+ const _e = D[Ae], Ke = $i(Ae);
1191
+ F.write(`const ${_e} = ${pe(Ae)};`), F.write(`
1192
1192
  if (${_e}.issues.length) {
1193
1193
  payload.issues = payload.issues.concat(${_e}.issues.map(iss => ({
1194
1194
  ...iss,
@@ -1212,12 +1212,12 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1212
1212
  return (Ae, _e) => ft(A, Ae, _e);
1213
1213
  };
1214
1214
  let u;
1215
- const h = Dt, d = !Pr.jitless, o = d && Gs.value, w = t.catchall;
1215
+ const h = Mt, d = !Ar.jitless, o = d && Gs.value, w = t.catchall;
1216
1216
  let S;
1217
1217
  e._zod.parse = (A, F) => {
1218
1218
  S ?? (S = r.value);
1219
1219
  const Z = A.value;
1220
- return h(Z) ? d && o && F?.async === !1 && F.jitless !== !0 ? (u || (u = n(t.shape)), A = u(A, F), w ? $r([], Z, A, F, S, e) : A) : i(A, F) : (A.issues.push({
1220
+ return h(Z) ? d && o && F?.async === !1 && F.jitless !== !0 ? (u || (u = n(t.shape)), A = u(A, F), w ? Zr([], Z, A, F, S, e) : A) : i(A, F) : (A.issues.push({
1221
1221
  expected: "object",
1222
1222
  code: "invalid_type",
1223
1223
  input: Z,
@@ -1225,7 +1225,7 @@ const Oa = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1225
1225
  }), A);
1226
1226
  };
1227
1227
  });
1228
- function Zi(e, t, i, r) {
1228
+ function Ui(e, t, i, r) {
1229
1229
  for (const u of e)
1230
1230
  if (u.issues.length === 0)
1231
1231
  return t.value = u.value, t;
@@ -1244,7 +1244,7 @@ const Da = /* @__PURE__ */ k("$ZodUnion", (e, t) => {
1244
1244
  }), U(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
- return new RegExp(`^(${n.map((u) => gi(u.source)).join("|")})$`);
1247
+ return new RegExp(`^(${n.map((u) => bi(u.source)).join("|")})$`);
1248
1248
  }
1249
1249
  });
1250
1250
  const i = t.options.length === 1, r = t.options[0]._zod.run;
@@ -1266,15 +1266,15 @@ const Da = /* @__PURE__ */ k("$ZodUnion", (e, t) => {
1266
1266
  d.push(o);
1267
1267
  }
1268
1268
  }
1269
- return h ? Promise.all(d).then((y) => Zi(y, n, e, u)) : Zi(d, n, e, u);
1269
+ return h ? Promise.all(d).then((y) => Ui(y, n, e, u)) : Ui(d, n, e, u);
1270
1270
  };
1271
1271
  }), Ma = /* @__PURE__ */ k("$ZodIntersection", (e, t) => {
1272
1272
  Y.init(e, t), e._zod.parse = (i, r) => {
1273
1273
  const n = i.value, u = t.left._zod.run({ value: n, issues: [] }, r), h = t.right._zod.run({ value: n, issues: [] }, r);
1274
- return u instanceof Promise || h instanceof Promise ? Promise.all([u, h]).then(([y, o]) => Ui(i, y, o)) : Ui(i, u, h);
1274
+ return u instanceof Promise || h instanceof Promise ? Promise.all([u, h]).then(([y, o]) => qi(i, y, o)) : qi(i, u, h);
1275
1275
  };
1276
1276
  });
1277
- function hi(e, t) {
1277
+ function li(e, t) {
1278
1278
  if (e === t)
1279
1279
  return { valid: !0, data: e };
1280
1280
  if (e instanceof Date && t instanceof Date && +e == +t)
@@ -1282,7 +1282,7 @@ function hi(e, t) {
1282
1282
  if (st(e) && st(t)) {
1283
1283
  const i = Object.keys(t), r = Object.keys(e).filter((u) => i.indexOf(u) !== -1), n = { ...e, ...t };
1284
1284
  for (const u of r) {
1285
- const h = hi(e[u], t[u]);
1285
+ const h = li(e[u], t[u]);
1286
1286
  if (!h.valid)
1287
1287
  return {
1288
1288
  valid: !1,
@@ -1297,7 +1297,7 @@ function hi(e, t) {
1297
1297
  return { valid: !1, mergeErrorPath: [] };
1298
1298
  const i = [];
1299
1299
  for (let r = 0; r < e.length; r++) {
1300
- const n = e[r], u = t[r], h = hi(n, u);
1300
+ const n = e[r], u = t[r], h = li(n, u);
1301
1301
  if (!h.valid)
1302
1302
  return {
1303
1303
  valid: !1,
@@ -1309,10 +1309,10 @@ function hi(e, t) {
1309
1309
  }
1310
1310
  return { valid: !1, mergeErrorPath: [] };
1311
1311
  }
1312
- function Ui(e, t, i) {
1312
+ function qi(e, t, i) {
1313
1313
  if (t.issues.length && e.issues.push(...t.issues), i.issues.length && e.issues.push(...i.issues), tt(e))
1314
1314
  return e;
1315
- const r = hi(t.value, i.value);
1315
+ const r = li(t.value, i.value);
1316
1316
  if (!r.valid)
1317
1317
  throw new Error(`Unmergable intersection. Error path: ${JSON.stringify(r.mergeErrorPath)}`);
1318
1318
  return e.value = r.data, e;
@@ -1403,7 +1403,7 @@ const Va = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1403
1403
  }), Fa = /* @__PURE__ */ k("$ZodTransform", (e, t) => {
1404
1404
  Y.init(e, t), e._zod.parse = (i, r) => {
1405
1405
  if (r.direction === "backward")
1406
- throw new Tr(e.constructor.name);
1406
+ throw new Cr(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));
@@ -1412,24 +1412,24 @@ const Va = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1412
1412
  return i.value = n, i;
1413
1413
  };
1414
1414
  });
1415
- function qi(e, t) {
1415
+ function Hi(e, t) {
1416
1416
  return e.issues.length && t === void 0 ? { issues: [], value: void 0 } : e;
1417
1417
  }
1418
1418
  const $a = /* @__PURE__ */ k("$ZodOptional", (e, t) => {
1419
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", () => {
1420
1420
  const i = t.innerType._zod.pattern;
1421
- return i ? new RegExp(`^(${gi(i.source)})?$`) : void 0;
1421
+ return i ? new RegExp(`^(${bi(i.source)})?$`) : void 0;
1422
1422
  }), e._zod.parse = (i, r) => {
1423
1423
  if (t.innerType._zod.optin === "optional") {
1424
1424
  const n = t.innerType._zod.run(i, r);
1425
- return n instanceof Promise ? n.then((u) => qi(u, i.value)) : qi(n, i.value);
1425
+ return n instanceof Promise ? n.then((u) => Hi(u, i.value)) : Hi(n, i.value);
1426
1426
  }
1427
1427
  return i.value === void 0 ? i : t.innerType._zod.run(i, r);
1428
1428
  };
1429
1429
  }), Ba = /* @__PURE__ */ k("$ZodNullable", (e, t) => {
1430
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", () => {
1431
1431
  const i = t.innerType._zod.pattern;
1432
- return i ? new RegExp(`^(${gi(i.source)}|null)$`) : void 0;
1432
+ return i ? new RegExp(`^(${bi(i.source)}|null)$`) : void 0;
1433
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);
1434
1434
  }), Za = /* @__PURE__ */ k("$ZodDefault", (e, t) => {
1435
1435
  Y.init(e, t), e._zod.optin = "optional", U(e._zod, "values", () => t.innerType._zod.values), e._zod.parse = (i, r) => {
@@ -1438,10 +1438,10 @@ const $a = /* @__PURE__ */ k("$ZodOptional", (e, t) => {
1438
1438
  if (i.value === void 0)
1439
1439
  return i.value = t.defaultValue, i;
1440
1440
  const n = t.innerType._zod.run(i, r);
1441
- return n instanceof Promise ? n.then((u) => Hi(u, t)) : Hi(n, t);
1441
+ return n instanceof Promise ? n.then((u) => Gi(u, t)) : Gi(n, t);
1442
1442
  };
1443
1443
  });
1444
- function Hi(e, t) {
1444
+ function Gi(e, t) {
1445
1445
  return e.value === void 0 && (e.value = t.defaultValue), e;
1446
1446
  }
1447
1447
  const Ua = /* @__PURE__ */ k("$ZodPrefault", (e, t) => {
@@ -1452,10 +1452,10 @@ const Ua = /* @__PURE__ */ k("$ZodPrefault", (e, t) => {
1452
1452
  return i ? new Set([...i].filter((r) => r !== void 0)) : void 0;
1453
1453
  }), e._zod.parse = (i, r) => {
1454
1454
  const n = t.innerType._zod.run(i, r);
1455
- return n instanceof Promise ? n.then((u) => Gi(u, e)) : Gi(n, e);
1455
+ return n instanceof Promise ? n.then((u) => Wi(u, e)) : Wi(n, e);
1456
1456
  };
1457
1457
  });
1458
- function Gi(e, t) {
1458
+ function Wi(e, t) {
1459
1459
  return !e.issues.length && e.value === void 0 && e.issues.push({
1460
1460
  code: "invalid_type",
1461
1461
  expected: "nonoptional",
@@ -1500,21 +1500,21 @@ const Wa = /* @__PURE__ */ k("$ZodReadonly", (e, t) => {
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);
1503
- return n instanceof Promise ? n.then(Wi) : Wi(n);
1503
+ return n instanceof Promise ? n.then(Ki) : Ki(n);
1504
1504
  };
1505
1505
  });
1506
- function Wi(e) {
1506
+ function Ki(e) {
1507
1507
  return e.value = Object.freeze(e.value), e;
1508
1508
  }
1509
1509
  const Ka = /* @__PURE__ */ k("$ZodCustom", (e, t) => {
1510
- me.init(e, t), Y.init(e, t), e._zod.parse = (i, r) => i, e._zod.check = (i) => {
1510
+ ye.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
- return n.then((u) => Ki(u, i, r, e));
1514
- Ki(n, i, r, e);
1513
+ return n.then((u) => Xi(u, i, r, e));
1514
+ Xi(n, i, r, e);
1515
1515
  };
1516
1516
  });
1517
- function Ki(e, t, i, r) {
1517
+ function Xi(e, t, i, r) {
1518
1518
  if (!e) {
1519
1519
  const n = {
1520
1520
  code: "custom",
@@ -1529,7 +1529,7 @@ function Ki(e, t, i, r) {
1529
1529
  r._zod.def.params && (n.params = r._zod.def.params), t.issues.push(bt(n));
1530
1530
  }
1531
1531
  }
1532
- var Xi;
1532
+ var Ji;
1533
1533
  class Xa {
1534
1534
  constructor() {
1535
1535
  this._map = /* @__PURE__ */ new WeakMap(), this._idmap = /* @__PURE__ */ new Map();
@@ -1567,7 +1567,7 @@ class Xa {
1567
1567
  function Ja() {
1568
1568
  return new Xa();
1569
1569
  }
1570
- (Xi = globalThis).__zod_globalRegistry ?? (Xi.__zod_globalRegistry = Ja());
1570
+ (Ji = globalThis).__zod_globalRegistry ?? (Ji.__zod_globalRegistry = Ja());
1571
1571
  const Lt = globalThis.__zod_globalRegistry;
1572
1572
  function Ya(e, t) {
1573
1573
  return new e({
@@ -1584,7 +1584,7 @@ function Qa(e, t) {
1584
1584
  ...R(t)
1585
1585
  });
1586
1586
  }
1587
- function Ji(e, t) {
1587
+ function Yi(e, t) {
1588
1588
  return new e({
1589
1589
  type: "string",
1590
1590
  format: "guid",
@@ -1845,60 +1845,60 @@ function Eo(e, t) {
1845
1845
  ...R(t)
1846
1846
  });
1847
1847
  }
1848
- function Yi(e, t) {
1849
- return new Mr({
1848
+ function Qi(e, t) {
1849
+ return new zr({
1850
1850
  check: "less_than",
1851
1851
  ...R(t),
1852
1852
  value: e,
1853
1853
  inclusive: !1
1854
1854
  });
1855
1855
  }
1856
- function ii(e, t) {
1857
- return new Mr({
1856
+ function ri(e, t) {
1857
+ return new zr({
1858
1858
  check: "less_than",
1859
1859
  ...R(t),
1860
1860
  value: e,
1861
1861
  inclusive: !0
1862
1862
  });
1863
1863
  }
1864
- function Qi(e, t) {
1865
- return new Vr({
1864
+ function er(e, t) {
1865
+ return new jr({
1866
1866
  check: "greater_than",
1867
1867
  ...R(t),
1868
1868
  value: e,
1869
1869
  inclusive: !1
1870
1870
  });
1871
1871
  }
1872
- function ri(e, t) {
1873
- return new Vr({
1872
+ function si(e, t) {
1873
+ return new jr({
1874
1874
  check: "greater_than",
1875
1875
  ...R(t),
1876
1876
  value: e,
1877
1877
  inclusive: !0
1878
1878
  });
1879
1879
  }
1880
- function er(e, t) {
1880
+ function tr(e, t) {
1881
1881
  return new Zn({
1882
1882
  check: "multiple_of",
1883
1883
  ...R(t),
1884
1884
  value: e
1885
1885
  });
1886
1886
  }
1887
- function Br(e, t) {
1887
+ function Ur(e, t) {
1888
1888
  return new qn({
1889
1889
  check: "max_length",
1890
1890
  ...R(t),
1891
1891
  maximum: e
1892
1892
  });
1893
1893
  }
1894
- function Vt(e, t) {
1894
+ function zt(e, t) {
1895
1895
  return new Hn({
1896
1896
  check: "min_length",
1897
1897
  ...R(t),
1898
1898
  minimum: e
1899
1899
  });
1900
1900
  }
1901
- function Zr(e, t) {
1901
+ function qr(e, t) {
1902
1902
  return new Gn({
1903
1903
  check: "length_equals",
1904
1904
  ...R(t),
@@ -2002,7 +2002,7 @@ function Zo(e) {
2002
2002
  return t;
2003
2003
  }
2004
2004
  function Uo(e, t) {
2005
- const i = new me({
2005
+ const i = new ye({
2006
2006
  check: "custom",
2007
2007
  ...R(t)
2008
2008
  });
@@ -2033,7 +2033,7 @@ function Yo(e) {
2033
2033
  return So(Jo, e);
2034
2034
  }
2035
2035
  const Qo = (e, t) => {
2036
- Ir.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2036
+ Lr.init(e, t), e.name = "ZodError", Object.defineProperties(e, {
2037
2037
  format: {
2038
2038
  value: (i) => an(e, i)
2039
2039
  // enumerable: false,
@@ -2044,13 +2044,13 @@ const Qo = (e, t) => {
2044
2044
  },
2045
2045
  addIssue: {
2046
2046
  value: (i) => {
2047
- e.issues.push(i), e.message = JSON.stringify(e.issues, ci, 2);
2047
+ e.issues.push(i), e.message = JSON.stringify(e.issues, hi, 2);
2048
2048
  }
2049
2049
  // enumerable: false,
2050
2050
  },
2051
2051
  addIssues: {
2052
2052
  value: (i) => {
2053
- e.issues.push(...i), e.message = JSON.stringify(e.issues, ci, 2);
2053
+ e.issues.push(...i), e.message = JSON.stringify(e.issues, hi, 2);
2054
2054
  }
2055
2055
  // enumerable: false,
2056
2056
  },
@@ -2063,12 +2063,12 @@ const Qo = (e, t) => {
2063
2063
  });
2064
2064
  }, Pe = k("ZodError", Qo, {
2065
2065
  Parent: Error
2066
- }), eu = /* @__PURE__ */ _i(Pe), tu = /* @__PURE__ */ ki(Pe), iu = /* @__PURE__ */ Ut(Pe), ru = /* @__PURE__ */ qt(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__ */ k("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(Je(t, {
2066
+ }), eu = /* @__PURE__ */ ki(Pe), tu = /* @__PURE__ */ wi(Pe), iu = /* @__PURE__ */ qt(Pe), ru = /* @__PURE__ */ Ht(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__ */ k("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(Je(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
- })), 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(ct(i)), e.optional = () => sr(e), e.nullable = () => nr(e), e.nullish = () => sr(nr(e)), e.nonoptional = (i) => Xu(e, i), e.array = () => He(e), e.or = (i) => ae([e, i]), e.and = (i) => Fu(e, i), e.transform = (i) => ar(e, Uu(i)), e.default = (i) => Gu(e, i), e.prefault = (i) => Ku(e, i), e.catch = (i) => Yu(e, i), e.pipe = (i) => ar(e, i), e.readonly = () => tc(e), e.describe = (i) => {
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(ct(i)), e.optional = () => nr(e), e.nullable = () => ar(e), e.nullish = () => nr(ar(e)), e.nonoptional = (i) => Xu(e, i), e.array = () => He(e), e.or = (i) => oe([e, i]), e.and = (i) => Fu(e, i), e.transform = (i) => or(e, Uu(i)), e.default = (i) => Gu(e, i), e.prefault = (i) => Ku(e, i), e.catch = (i) => Yu(e, i), e.pipe = (i) => or(e, i), e.readonly = () => tc(e), e.describe = (i) => {
2072
2072
  const r = e.clone();
2073
2073
  return Lt.add(r, { description: i }), r;
2074
2074
  }, Object.defineProperty(e, "description", {
@@ -2081,21 +2081,21 @@ const Qo = (e, t) => {
2081
2081
  return Lt.get(e);
2082
2082
  const r = e.clone();
2083
2083
  return Lt.add(r, i[0]), r;
2084
- }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Ur = /* @__PURE__ */ k("_ZodString", (e, t) => {
2085
- wi.init(e, t), ee.init(e, t);
2084
+ }, e.isOptional = () => e.safeParse(void 0).success, e.isNullable = () => e.safeParse(null).success, e)), Hr = /* @__PURE__ */ k("_ZodString", (e, t) => {
2085
+ Si.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(Vt(...r)), e.max = (...r) => e.check(Br(...r)), e.length = (...r) => e.check(Zr(...r)), e.nonempty = (...r) => e.check(Vt(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(Fo());
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(zt(...r)), e.max = (...r) => e.check(Ur(...r)), e.length = (...r) => e.check(qr(...r)), e.nonempty = (...r) => e.check(zt(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(Fo());
2088
2088
  }), pu = /* @__PURE__ */ k("ZodString", (e, t) => {
2089
- wi.init(e, t), Ur.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(Ji(tr, 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(Ji(tr, 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(ku, i)), e.ipv6 = (i) => e.check(fo(wu, 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
+ Si.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(Yi(ir, 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(Yi(ir, 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(ku, i)), e.ipv6 = (i) => e.check(fo(wu, 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
2091
  function O(e) {
2092
2092
  return Ya(pu, e);
2093
2093
  }
2094
2094
  const Q = /* @__PURE__ */ k("ZodStringFormat", (e, t) => {
2095
- W.init(e, t), Ur.init(e, t);
2095
+ W.init(e, t), Hr.init(e, t);
2096
2096
  }), fu = /* @__PURE__ */ k("ZodEmail", (e, t) => {
2097
2097
  na.init(e, t), Q.init(e, t);
2098
- }), tr = /* @__PURE__ */ k("ZodGUID", (e, t) => {
2098
+ }), ir = /* @__PURE__ */ k("ZodGUID", (e, t) => {
2099
2099
  ra.init(e, t), Q.init(e, t);
2100
2100
  }), Ot = /* @__PURE__ */ k("ZodUUID", (e, t) => {
2101
2101
  sa.init(e, t), Q.init(e, t);
@@ -2131,18 +2131,18 @@ const Q = /* @__PURE__ */ k("ZodStringFormat", (e, t) => {
2131
2131
  Ta.init(e, t), Q.init(e, t);
2132
2132
  }), Eu = /* @__PURE__ */ k("ZodJWT", (e, t) => {
2133
2133
  Ca.init(e, t), Q.init(e, t);
2134
- }), qr = /* @__PURE__ */ k("ZodNumber", (e, t) => {
2135
- jr.init(e, t), ee.init(e, t), e.gt = (r, n) => e.check(Qi(r, n)), e.gte = (r, n) => e.check(ri(r, n)), e.min = (r, n) => e.check(ri(r, n)), e.lt = (r, n) => e.check(Yi(r, n)), e.lte = (r, n) => e.check(ii(r, n)), e.max = (r, n) => e.check(ii(r, n)), e.int = (r) => e.check(ir(r)), e.safe = (r) => e.check(ir(r)), e.positive = (r) => e.check(Qi(0, r)), e.nonnegative = (r) => e.check(ri(0, r)), e.negative = (r) => e.check(Yi(0, r)), e.nonpositive = (r) => e.check(ii(0, r)), e.multipleOf = (r, n) => e.check(er(r, n)), e.step = (r, n) => e.check(er(r, n)), e.finite = () => e;
2134
+ }), Gr = /* @__PURE__ */ k("ZodNumber", (e, t) => {
2135
+ $r.init(e, t), ee.init(e, t), e.gt = (r, n) => e.check(er(r, n)), e.gte = (r, n) => e.check(si(r, n)), e.min = (r, n) => e.check(si(r, n)), e.lt = (r, n) => e.check(Qi(r, n)), e.lte = (r, n) => e.check(ri(r, n)), e.max = (r, n) => e.check(ri(r, n)), e.int = (r) => e.check(rr(r)), e.safe = (r) => e.check(rr(r)), e.positive = (r) => e.check(er(0, r)), e.nonnegative = (r) => e.check(si(0, r)), e.negative = (r) => e.check(Qi(0, r)), e.nonpositive = (r) => e.check(ri(0, r)), e.multipleOf = (r, n) => e.check(tr(r, n)), e.step = (r, n) => e.check(tr(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
- function De(e) {
2140
- return To(qr, e);
2139
+ function Me(e) {
2140
+ return To(Gr, e);
2141
2141
  }
2142
2142
  const Iu = /* @__PURE__ */ k("ZodNumberFormat", (e, t) => {
2143
- Aa.init(e, t), qr.init(e, t);
2143
+ Aa.init(e, t), Gr.init(e, t);
2144
2144
  });
2145
- function ir(e) {
2145
+ function rr(e) {
2146
2146
  return Po(Iu, e);
2147
2147
  }
2148
2148
  const Nu = /* @__PURE__ */ k("ZodBoolean", (e, t) => {
@@ -2154,7 +2154,7 @@ function Lu(e) {
2154
2154
  const Ou = /* @__PURE__ */ k("ZodUnknown", (e, t) => {
2155
2155
  Ia.init(e, t), ee.init(e, t);
2156
2156
  });
2157
- function rr() {
2157
+ function sr() {
2158
2158
  return Ao(Ou);
2159
2159
  }
2160
2160
  const Ru = /* @__PURE__ */ k("ZodNever", (e, t) => {
@@ -2164,15 +2164,15 @@ function Du(e) {
2164
2164
  return Eo(Ru, e);
2165
2165
  }
2166
2166
  const Mu = /* @__PURE__ */ k("ZodArray", (e, t) => {
2167
- La.init(e, t), ee.init(e, t), e.element = t.element, e.min = (i, r) => e.check(Vt(i, r)), e.nonempty = (i) => e.check(Vt(1, i)), e.max = (i, r) => e.check(Br(i, r)), e.length = (i, r) => e.check(Zr(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(zt(i, r)), e.nonempty = (i) => e.check(zt(1, i)), e.max = (i, r) => e.check(Ur(i, r)), e.length = (i, r) => e.check(qr(i, r)), e.unwrap = () => e.element;
2168
2168
  });
2169
2169
  function He(e, t) {
2170
2170
  return $o(Mu, e, t);
2171
2171
  }
2172
2172
  const Vu = /* @__PURE__ */ k("ZodObject", (e, t) => {
2173
- Ra.init(e, t), ee.init(e, t), U(e, "shape", () => t.shape), e.keyof = () => Gt(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: rr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: rr() }), 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(Hr, e, i[0]), e.required = (...i) => sn(Gr, e, i[0]);
2173
+ Ra.init(e, t), ee.init(e, t), U(e, "shape", () => t.shape), e.keyof = () => Wt(Object.keys(e._zod.def.shape)), e.catchall = (i) => e.clone({ ...e._zod.def, catchall: i }), e.passthrough = () => e.clone({ ...e._zod.def, catchall: sr() }), e.loose = () => e.clone({ ...e._zod.def, catchall: sr() }), 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]);
2174
2174
  });
2175
- function Ne(e, t) {
2175
+ function Oe(e, t) {
2176
2176
  const i = {
2177
2177
  type: "object",
2178
2178
  shape: e ?? {},
@@ -2183,7 +2183,7 @@ function Ne(e, t) {
2183
2183
  const zu = /* @__PURE__ */ k("ZodUnion", (e, t) => {
2184
2184
  Da.init(e, t), ee.init(e, t), e.options = t.options;
2185
2185
  });
2186
- function ae(e, t) {
2186
+ function oe(e, t) {
2187
2187
  return new zu({
2188
2188
  type: "union",
2189
2189
  options: e,
@@ -2211,7 +2211,7 @@ function be(e, t, i) {
2211
2211
  ...R(i)
2212
2212
  });
2213
2213
  }
2214
- const li = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2214
+ const pi = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2215
2215
  za.init(e, t), ee.init(e, t), e.enum = t.entries, e.options = Object.values(t.entries);
2216
2216
  const i = new Set(Object.keys(t.entries));
2217
2217
  e.extract = (r, n) => {
@@ -2221,7 +2221,7 @@ const li = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2221
2221
  u[h] = t.entries[h];
2222
2222
  else
2223
2223
  throw new Error(`Key ${h} not found in enum`);
2224
- return new li({
2224
+ return new pi({
2225
2225
  ...t,
2226
2226
  checks: [],
2227
2227
  ...R(n),
@@ -2234,7 +2234,7 @@ const li = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2234
2234
  delete u[h];
2235
2235
  else
2236
2236
  throw new Error(`Key ${h} not found in enum`);
2237
- return new li({
2237
+ return new pi({
2238
2238
  ...t,
2239
2239
  checks: [],
2240
2240
  ...R(n),
@@ -2242,9 +2242,9 @@ const li = /* @__PURE__ */ k("ZodEnum", (e, t) => {
2242
2242
  });
2243
2243
  };
2244
2244
  });
2245
- function Gt(e, t) {
2245
+ function Wt(e, t) {
2246
2246
  const i = Array.isArray(e) ? Object.fromEntries(e.map((r) => [r, r])) : e;
2247
- return new li({
2247
+ return new pi({
2248
2248
  type: "enum",
2249
2249
  entries: i,
2250
2250
  ...R(t)
@@ -2269,7 +2269,7 @@ function b(e, t) {
2269
2269
  const Zu = /* @__PURE__ */ k("ZodTransform", (e, t) => {
2270
2270
  Fa.init(e, t), ee.init(e, t), e._zod.parse = (i, r) => {
2271
2271
  if (r.direction === "backward")
2272
- throw new Tr(e.constructor.name);
2272
+ throw new Cr(e.constructor.name);
2273
2273
  i.addIssue = (u) => {
2274
2274
  if (typeof u == "string")
2275
2275
  i.issues.push(bt(u, i.value, t));
@@ -2288,11 +2288,11 @@ function Uu(e) {
2288
2288
  transform: e
2289
2289
  });
2290
2290
  }
2291
- const Hr = /* @__PURE__ */ k("ZodOptional", (e, t) => {
2291
+ const Wr = /* @__PURE__ */ k("ZodOptional", (e, t) => {
2292
2292
  $a.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2293
2293
  });
2294
- function sr(e) {
2295
- return new Hr({
2294
+ function nr(e) {
2295
+ return new Wr({
2296
2296
  type: "optional",
2297
2297
  innerType: e
2298
2298
  });
@@ -2300,7 +2300,7 @@ function sr(e) {
2300
2300
  const qu = /* @__PURE__ */ k("ZodNullable", (e, t) => {
2301
2301
  Ba.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2302
2302
  });
2303
- function nr(e) {
2303
+ function ar(e) {
2304
2304
  return new qu({
2305
2305
  type: "nullable",
2306
2306
  innerType: e
@@ -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() : Ar(t);
2317
+ return typeof t == "function" ? t() : Ir(t);
2318
2318
  }
2319
2319
  });
2320
2320
  }
@@ -2326,15 +2326,15 @@ function Ku(e, t) {
2326
2326
  type: "prefault",
2327
2327
  innerType: e,
2328
2328
  get defaultValue() {
2329
- return typeof t == "function" ? t() : Ar(t);
2329
+ return typeof t == "function" ? t() : Ir(t);
2330
2330
  }
2331
2331
  });
2332
2332
  }
2333
- const Gr = /* @__PURE__ */ k("ZodNonOptional", (e, t) => {
2333
+ const Kr = /* @__PURE__ */ k("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 Gr({
2337
+ return new Kr({
2338
2338
  type: "nonoptional",
2339
2339
  innerType: e,
2340
2340
  ...R(t)
@@ -2353,7 +2353,7 @@ function Yu(e, t) {
2353
2353
  const Qu = /* @__PURE__ */ k("ZodPipe", (e, t) => {
2354
2354
  Ga.init(e, t), ee.init(e, t), e.in = t.in, e.out = t.out;
2355
2355
  });
2356
- function ar(e, t) {
2356
+ function or(e, t) {
2357
2357
  return new Qu({
2358
2358
  type: "pipe",
2359
2359
  in: e,
@@ -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 = Gt(nc), oc = ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"], uc = Gt(oc), cc = [
2382
+ const nc = ["amber", "green", "red", "other"], ac = Wt(nc), oc = ["alpha", "beta", "generalAvailability", "notApplicable", "preAlpha", "proposed", "releaseCandidate", "unavailable", "underReview"], uc = Wt(oc), cc = [
2383
2383
  "app",
2384
2384
  "connector",
2385
2385
  "connectorConnection",
@@ -2403,33 +2403,33 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2403
2403
  "presenter",
2404
2404
  "presenterPresentation",
2405
2405
  "tool"
2406
- ], hc = Gt(cc), lc = ae([b("en-au"), b("en-gb"), b("en-us"), b("es-es")]), pc = be(lc, O()), fc = Ne({
2406
+ ], hc = Wt(cc), lc = oe([b("en-au"), b("en-gb"), b("en-us"), b("es-es")]), pc = be(lc, O()), fc = Oe({
2407
2407
  id: O(),
2408
2408
  color: ac,
2409
2409
  label: O()
2410
- }), dc = Ne({
2410
+ }), dc = Oe({
2411
2411
  id: O(),
2412
2412
  label: be(O(), O()),
2413
2413
  description: be(O(), O()),
2414
- firstCreatedAt: De().optional(),
2414
+ firstCreatedAt: Me().optional(),
2415
2415
  icon: O().optional(),
2416
2416
  iconDark: O().optional(),
2417
- lastUpdatedAt: De().optional(),
2417
+ lastUpdatedAt: Me().optional(),
2418
2418
  status: fc.nullable().optional(),
2419
2419
  statusId: uc,
2420
2420
  typeId: hc
2421
- }), mc = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), yc = Ne({
2421
+ }), mc = oe([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), yc = Oe({
2422
2422
  id: O(),
2423
2423
  label: O()
2424
- }), vc = Ne({
2425
- activeConnectionCount: De().optional(),
2424
+ }), vc = Oe({
2425
+ activeConnectionCount: Me().optional(),
2426
2426
  canDescribe: Lu().optional(),
2427
2427
  id: O().optional(),
2428
- authMethodId: ae([b("apiKey"), b("disabled"), b("oAuth2"), b("none")]),
2428
+ authMethodId: oe([b("apiKey"), b("disabled"), b("oAuth2"), b("none")]),
2429
2429
  label: pc.optional(),
2430
- maxConnectionCount: De().optional(),
2430
+ maxConnectionCount: Me().optional(),
2431
2431
  params: He(be(O(), O())).optional()
2432
- }), xc = ae([b("application"), b("curatedDataset"), b("database"), b("fileStore")]), gc = ae([
2432
+ }), xc = oe([b("application"), b("curatedDataset"), b("database"), b("fileStore")]), gc = oe([
2433
2433
  b("abortOperation"),
2434
2434
  b("authenticateConnection"),
2435
2435
  b("createObject"),
@@ -2442,7 +2442,7 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2442
2442
  b("removeRecords"),
2443
2443
  b("retrieveRecords"),
2444
2444
  b("upsertRecords")
2445
- ]), bc = ae([b("bidirectional"), b("destination"), b("source"), b("unknown")]), _c = dc.extend({
2445
+ ]), bc = oe([b("bidirectional"), b("destination"), b("source"), b("unknown")]), _c = dc.extend({
2446
2446
  typeId: mc,
2447
2447
  version: O()
2448
2448
  }), kc = _c.extend({
@@ -2455,7 +2455,7 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2455
2455
  vendorAccountURL: O().nullable().optional(),
2456
2456
  vendorDocumentationURL: O().nullable().optional(),
2457
2457
  vendorHomeURL: O().nullable().optional()
2458
- }), wc = ae([b("amber"), b("green"), b("red"), b("other")]), Sc = ae([
2458
+ }), wc = oe([b("amber"), b("green"), b("red"), b("other")]), Sc = oe([
2459
2459
  b("alpha"),
2460
2460
  b("beta"),
2461
2461
  b("generalAvailability"),
@@ -2465,7 +2465,7 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2465
2465
  b("releaseCandidate"),
2466
2466
  b("unavailable"),
2467
2467
  b("underReview")
2468
- ]), Tc = ae([
2468
+ ]), Tc = oe([
2469
2469
  b("app"),
2470
2470
  b("connector"),
2471
2471
  b("connectorConnection"),
@@ -2489,40 +2489,40 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2489
2489
  b("presenter"),
2490
2490
  b("presenterPresentation"),
2491
2491
  b("tool")
2492
- ]), or = De(), Pc = Ne({
2492
+ ]), ur = Me(), Pc = Oe({
2493
2493
  id: O(),
2494
2494
  color: wc,
2495
2495
  label: O()
2496
- }), Cc = Ne({
2496
+ }), Cc = Oe({
2497
2497
  id: O(),
2498
2498
  label: be(O(), O()),
2499
2499
  description: be(O(), O()),
2500
2500
  icon: O().optional(),
2501
2501
  iconDark: O().optional(),
2502
- order: De(),
2502
+ order: Me(),
2503
2503
  path: O()
2504
- }), Wr = Ne({
2504
+ }), Xr = Oe({
2505
2505
  id: O(),
2506
2506
  label: be(O(), O()),
2507
2507
  description: be(O(), O()),
2508
- firstCreatedAt: or.optional(),
2508
+ firstCreatedAt: ur.optional(),
2509
2509
  icon: O().optional(),
2510
2510
  iconDark: O().optional(),
2511
- lastUpdatedAt: or.optional(),
2511
+ lastUpdatedAt: ur.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 = Wr.extend({
2515
+ }), Ac = oe([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), Ec = Xr.extend({
2516
2516
  typeId: Ac,
2517
2517
  version: O()
2518
- }), Ic = Wr.extend({
2518
+ }), Ic = Xr.extend({
2519
2519
  modelRefs: He(Cc),
2520
- order: De()
2520
+ order: Me()
2521
2521
  }), Nc = b("list"), Lc = Ec.extend({
2522
2522
  models: He(Ic),
2523
2523
  operations: He(Nc),
2524
2524
  typeId: b("context")
2525
- }), Oc = ae([b("amber"), b("green"), b("red"), b("other")]), Rc = ae([
2525
+ }), Oc = oe([b("amber"), b("green"), b("red"), b("other")]), Rc = oe([
2526
2526
  b("alpha"),
2527
2527
  b("beta"),
2528
2528
  b("generalAvailability"),
@@ -2532,7 +2532,7 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2532
2532
  b("releaseCandidate"),
2533
2533
  b("unavailable"),
2534
2534
  b("underReview")
2535
- ]), Dc = ae([
2535
+ ]), Dc = oe([
2536
2536
  b("app"),
2537
2537
  b("connector"),
2538
2538
  b("connectorConnection"),
@@ -2556,49 +2556,49 @@ const nc = ["amber", "green", "red", "other"], ac = Gt(nc), oc = ["alpha", "beta
2556
2556
  b("presenter"),
2557
2557
  b("presenterPresentation"),
2558
2558
  b("tool")
2559
- ]), ur = De(), Mc = Ne({
2559
+ ]), cr = Me(), Mc = Oe({
2560
2560
  id: O(),
2561
2561
  color: Oc,
2562
2562
  label: O()
2563
- }), Vc = Ne({
2563
+ }), Vc = Oe({
2564
2564
  id: O(),
2565
2565
  label: be(O(), O()),
2566
2566
  description: be(O(), O()),
2567
2567
  icon: O().optional(),
2568
2568
  iconDark: O().optional(),
2569
- order: De(),
2569
+ order: Me(),
2570
2570
  path: O()
2571
- }), zc = Ne({
2571
+ }), zc = Oe({
2572
2572
  id: O(),
2573
2573
  label: be(O(), O()),
2574
2574
  description: be(O(), O()),
2575
- firstCreatedAt: ur.optional(),
2575
+ firstCreatedAt: cr.optional(),
2576
2576
  icon: O().optional(),
2577
2577
  iconDark: O().optional(),
2578
- lastUpdatedAt: ur.optional(),
2578
+ lastUpdatedAt: cr.optional(),
2579
2579
  status: Mc.optional(),
2580
2580
  statusId: Rc,
2581
2581
  typeId: Dc
2582
- }), jc = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), Fc = zc.extend({
2582
+ }), jc = oe([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), Fc = zc.extend({
2583
2583
  typeId: jc,
2584
2584
  version: O()
2585
- }), $c = ae([b("list"), b("render"), b("setColorMode")]), Bc = Fc.extend({
2585
+ }), $c = oe([b("list"), b("render"), b("setColorMode")]), Bc = Fc.extend({
2586
2586
  presentations: He(Vc),
2587
2587
  operations: He($c),
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], Kr = [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_・", Xr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", si = {
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ヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", ni = {
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",
2594
2594
  strict: "implements interface let package private protected public static yield",
2595
2595
  strictBind: "eval arguments"
2596
- }, ni = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", qc = {
2597
- 5: ni,
2598
- "5module": ni + " export import",
2599
- 6: ni + " const class extends export import super"
2600
- }, Hc = /^in(stanceof)?$/, Gc = new RegExp("[" + Xr + "]"), Wc = new RegExp("[" + Xr + Uc + "]");
2601
- function pi(e, t) {
2596
+ }, ai = "break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this", qc = {
2597
+ 5: ai,
2598
+ "5module": ai + " export import",
2599
+ 6: ai + " const class extends export import super"
2600
+ }, Hc = /^in(stanceof)?$/, Gc = new RegExp("[" + Yr + "]"), Wc = new RegExp("[" + Yr + Uc + "]");
2601
+ function fi(e, t) {
2602
2602
  for (var i = 65536, r = 0; r < t.length; r += 2) {
2603
2603
  if (i += t[r], i > e)
2604
2604
  return !1;
@@ -2608,10 +2608,10 @@ function pi(e, t) {
2608
2608
  return !1;
2609
2609
  }
2610
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 : pi(e, Kr);
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 : fi(e, Jr);
2612
2612
  }
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 : pi(e, Kr) || pi(e, Zc);
2613
+ function Ve(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 : fi(e, Jr) || fi(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;
@@ -2619,16 +2619,16 @@ var z = function(t, i) {
2619
2619
  function ke(e, t) {
2620
2620
  return new z(e, { beforeExpr: !0, binop: t });
2621
2621
  }
2622
- var we = { beforeExpr: !0 }, fe = { startsExpr: !0 }, at = {};
2622
+ var we = { beforeExpr: !0 }, de = { startsExpr: !0 }, at = {};
2623
2623
  function $(e, t) {
2624
2624
  return t === void 0 && (t = {}), t.keyword = e, at[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", de),
2628
+ regexp: new z("regexp", de),
2629
+ string: new z("string", de),
2630
+ name: new z("name", de),
2631
+ privateId: new z("privateId", de),
2632
2632
  eof: new z("eof"),
2633
2633
  // Punctuation token types.
2634
2634
  bracketL: new z("[", { beforeExpr: !0, startsExpr: !0 }),
@@ -2647,7 +2647,7 @@ var l = {
2647
2647
  template: new z("template"),
2648
2648
  invalidTemplate: new z("invalidTemplate"),
2649
2649
  ellipsis: new z("...", we),
2650
- backQuote: new z("`", fe),
2650
+ backQuote: new z("`", de),
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
@@ -2691,7 +2691,7 @@ var l = {
2691
2691
  _else: $("else", we),
2692
2692
  _finally: $("finally"),
2693
2693
  _for: $("for", { isLoop: !0 }),
2694
- _function: $("function", fe),
2694
+ _function: $("function", de),
2695
2695
  _if: $("if"),
2696
2696
  _return: $("return", we),
2697
2697
  _switch: $("switch"),
@@ -2702,25 +2702,25 @@ var l = {
2702
2702
  _while: $("while", { isLoop: !0 }),
2703
2703
  _with: $("with"),
2704
2704
  _new: $("new", { beforeExpr: !0, startsExpr: !0 }),
2705
- _this: $("this", fe),
2706
- _super: $("super", fe),
2707
- _class: $("class", fe),
2705
+ _this: $("this", de),
2706
+ _super: $("super", de),
2707
+ _class: $("class", de),
2708
2708
  _extends: $("extends", we),
2709
2709
  _export: $("export"),
2710
- _import: $("import", fe),
2711
- _null: $("null", fe),
2712
- _true: $("true", fe),
2713
- _false: $("false", fe),
2710
+ _import: $("import", de),
2711
+ _null: $("null", de),
2712
+ _true: $("true", de),
2713
+ _false: $("false", de),
2714
2714
  _in: $("in", { beforeExpr: !0, binop: 7 }),
2715
2715
  _instanceof: $("instanceof", { beforeExpr: !0, binop: 7 }),
2716
2716
  _typeof: $("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2717
2717
  _void: $("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2718
2718
  _delete: $("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2719
- }, ce = /\r\n?|\n|\u2028|\u2029/, Jr = new RegExp(ce.source, "g");
2719
+ }, he = /\r\n?|\n|\u2028|\u2029/, Qr = new RegExp(he.source, "g");
2720
2720
  function Ye(e) {
2721
2721
  return e === 10 || e === 13 || e === 8232 || e === 8233;
2722
2722
  }
2723
- function Yr(e, t, i) {
2723
+ function es(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,15 +2729,15 @@ function Yr(e, t, i) {
2729
2729
  }
2730
2730
  return -1;
2731
2731
  }
2732
- var Si = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, ne = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, Qr = Object.prototype, Kc = Qr.hasOwnProperty, Xc = Qr.toString, ht = Object.hasOwn || (function(e, t) {
2732
+ var Ti = /[\u1680\u2000-\u200a\u202f\u205f\u3000\ufeff]/, ne = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g, ts = Object.prototype, Kc = ts.hasOwnProperty, Xc = ts.toString, ht = Object.hasOwn || (function(e, t) {
2733
2733
  return Kc.call(e, t);
2734
- }), cr = Array.isArray || (function(e) {
2734
+ }), hr = Array.isArray || (function(e) {
2735
2735
  return Xc.call(e) === "[object Array]";
2736
- }), hr = /* @__PURE__ */ Object.create(null);
2736
+ }), lr = /* @__PURE__ */ Object.create(null);
2737
2737
  function Ze(e) {
2738
- return hr[e] || (hr[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2738
+ return lr[e] || (lr[e] = new RegExp("^(?:" + e.replace(/ /g, "|") + ")$"));
2739
2739
  }
2740
- function Ve(e) {
2740
+ function ze(e) {
2741
2741
  return e <= 65535 ? String.fromCharCode(e) : (e -= 65536, String.fromCharCode((e >> 10) + 55296, (e & 1023) + 56320));
2742
2742
  }
2743
2743
  var Jc = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, ot = function(t, i) {
@@ -2749,15 +2749,15 @@ ot.prototype.offset = function(t) {
2749
2749
  var kt = function(t, i, r) {
2750
2750
  this.start = i, this.end = r, t.sourceFile !== null && (this.source = t.sourceFile);
2751
2751
  };
2752
- function Ti(e, t) {
2752
+ function Pi(e, t) {
2753
2753
  for (var i = 1, r = 0; ; ) {
2754
- var n = Yr(e, r, t);
2754
+ var n = es(e, r, t);
2755
2755
  if (n < 0)
2756
2756
  return new ot(i, t - r);
2757
2757
  ++i, r = n;
2758
2758
  }
2759
2759
  }
2760
- var zt = {
2760
+ var jt = {
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"`
@@ -2853,19 +2853,19 @@ var zt = {
2853
2853
  // When enabled, parenthesized expressions are represented by
2854
2854
  // (non-standard) ParenthesizedExpression nodes
2855
2855
  preserveParens: !1
2856
- }, lr = !1;
2856
+ }, pr = !1;
2857
2857
  function Yc(e) {
2858
2858
  var t = {};
2859
- for (var i in zt)
2860
- t[i] = e && ht(e, i) ? e[i] : zt[i];
2861
- if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!lr && typeof console == "object" && console.warn && (lr = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
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), cr(t.onToken)) {
2859
+ for (var i in jt)
2860
+ t[i] = e && ht(e, i) ? e[i] : jt[i];
2861
+ if (t.ecmaVersion === "latest" ? t.ecmaVersion = 1e8 : t.ecmaVersion == null ? (!pr && typeof console == "object" && console.warn && (pr = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
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), hr(t.onToken)) {
2863
2863
  var r = t.onToken;
2864
2864
  t.onToken = function(n) {
2865
2865
  return r.push(n);
2866
2866
  };
2867
2867
  }
2868
- return cr(t.onComment) && (t.onComment = Qc(t, t.onComment)), t;
2868
+ return hr(t.onComment) && (t.onComment = Qc(t, t.onComment)), t;
2869
2869
  }
2870
2870
  function Qc(e, t) {
2871
2871
  return function(i, r, n, u, h, d) {
@@ -2878,60 +2878,60 @@ function Qc(e, t) {
2878
2878
  e.locations && (y.loc = new kt(this, h, d)), e.ranges && (y.range = [n, u]), t.push(y);
2879
2879
  };
2880
2880
  }
2881
- var _t = 1, lt = 2, Pi = 4, es = 8, Ci = 16, ts = 32, Wt = 64, is = 128, Qe = 256, wt = 512, Kt = _t | lt | Qe;
2882
- function Ai(e, t) {
2883
- return lt | (e ? Pi : 0) | (t ? es : 0);
2881
+ var _t = 1, lt = 2, Ci = 4, is = 8, Ai = 16, rs = 32, Kt = 64, ss = 128, Qe = 256, wt = 512, Xt = _t | lt | Qe;
2882
+ function Ei(e, t) {
2883
+ return lt | (e ? Ci : 0) | (t ? is : 0);
2884
2884
  }
2885
- var jt = 0, Ei = 1, je = 2, rs = 3, ss = 4, ns = 5, J = function(t, i, r) {
2885
+ var Ft = 0, Ii = 1, Fe = 2, ns = 3, as = 4, os = 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
- t.allowReserved !== !0 && (n = si[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (n += " await")), this.reservedWords = Ze(n);
2889
- var u = (n ? n + " " : "") + si.strict;
2890
- this.reservedWordsStrict = Ze(u), this.reservedWordsStrictBind = Ze(u + " " + si.strictBind), this.input = String(i), this.containsEsc = !1, r ? (this.pos = r, this.lineStart = this.input.lastIndexOf(`
2891
- `, r - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(ce).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = l.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(_t), this.regexpState = null, this.privateNameStack = [];
2892
- }, Le = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
2888
+ t.allowReserved !== !0 && (n = ni[t.ecmaVersion >= 6 ? 6 : t.ecmaVersion === 5 ? 5 : 3], t.sourceType === "module" && (n += " await")), this.reservedWords = Ze(n);
2889
+ var u = (n ? n + " " : "") + ni.strict;
2890
+ this.reservedWordsStrict = Ze(u), this.reservedWordsStrictBind = Ze(u + " " + ni.strictBind), this.input = String(i), this.containsEsc = !1, r ? (this.pos = r, this.lineStart = this.input.lastIndexOf(`
2891
+ `, r - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(he).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = l.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = t.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && t.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(_t), this.regexpState = null, this.privateNameStack = [];
2892
+ }, Re = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
2893
2893
  J.prototype.parse = function() {
2894
2894
  var t = this.options.program || this.startNode();
2895
2895
  return this.nextToken(), this.parseTopLevel(t);
2896
2896
  };
2897
- Le.inFunction.get = function() {
2897
+ Re.inFunction.get = function() {
2898
2898
  return (this.currentVarScope().flags & lt) > 0;
2899
2899
  };
2900
- Le.inGenerator.get = function() {
2901
- return (this.currentVarScope().flags & es) > 0;
2900
+ Re.inGenerator.get = function() {
2901
+ return (this.currentVarScope().flags & is) > 0;
2902
2902
  };
2903
- Le.inAsync.get = function() {
2904
- return (this.currentVarScope().flags & Pi) > 0;
2903
+ Re.inAsync.get = function() {
2904
+ return (this.currentVarScope().flags & Ci) > 0;
2905
2905
  };
2906
- Le.canAwait.get = function() {
2906
+ Re.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
2909
  if (i & (Qe | wt))
2910
2910
  return !1;
2911
2911
  if (i & lt)
2912
- return (i & Pi) > 0;
2912
+ return (i & Ci) > 0;
2913
2913
  }
2914
2914
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
2915
2915
  };
2916
- Le.allowSuper.get = function() {
2916
+ Re.allowSuper.get = function() {
2917
2917
  var e = this.currentThisScope(), t = e.flags;
2918
- return (t & Wt) > 0 || this.options.allowSuperOutsideMethod;
2918
+ return (t & Kt) > 0 || this.options.allowSuperOutsideMethod;
2919
2919
  };
2920
- Le.allowDirectSuper.get = function() {
2921
- return (this.currentThisScope().flags & is) > 0;
2920
+ Re.allowDirectSuper.get = function() {
2921
+ return (this.currentThisScope().flags & ss) > 0;
2922
2922
  };
2923
- Le.treatFunctionsAsVar.get = function() {
2923
+ Re.treatFunctionsAsVar.get = function() {
2924
2924
  return this.treatFunctionsAsVarInScope(this.currentScope());
2925
2925
  };
2926
- Le.allowNewDotTarget.get = function() {
2926
+ Re.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 & (Qe | wt) || i & lt && !(i & Ci))
2929
+ if (i & (Qe | wt) || i & lt && !(i & Ai))
2930
2930
  return !0;
2931
2931
  }
2932
2932
  return !1;
2933
2933
  };
2934
- Le.inClassStaticBlock.get = function() {
2934
+ Re.inClassStaticBlock.get = function() {
2935
2935
  return (this.currentVarScope().flags & Qe) > 0;
2936
2936
  };
2937
2937
  J.extend = function() {
@@ -2950,9 +2950,9 @@ J.parseExpressionAt = function(t, i, r) {
2950
2950
  J.tokenizer = function(t, i) {
2951
2951
  return new this(i, t);
2952
2952
  };
2953
- Object.defineProperties(J.prototype, Le);
2954
- var he = J.prototype, eh = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
2955
- he.strictDirective = function(e) {
2953
+ Object.defineProperties(J.prototype, Re);
2954
+ var le = J.prototype, eh = /^(?:'((?:\\[^]|[^'\\])*?)'|"((?:\\[^]|[^"\\])*?)")/;
2955
+ le.strictDirective = function(e) {
2956
2956
  if (this.options.ecmaVersion < 5)
2957
2957
  return !1;
2958
2958
  for (; ; ) {
@@ -2963,54 +2963,54 @@ he.strictDirective = function(e) {
2963
2963
  if ((t[1] || t[2]) === "use strict") {
2964
2964
  ne.lastIndex = e + t[0].length;
2965
2965
  var i = ne.exec(this.input), r = i.index + i[0].length, n = this.input.charAt(r);
2966
- return n === ";" || n === "}" || ce.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(n) || n === "!" && this.input.charAt(r + 1) === "=");
2966
+ return n === ";" || n === "}" || he.test(i[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(n) || n === "!" && this.input.charAt(r + 1) === "=");
2967
2967
  }
2968
2968
  e += t[0].length, ne.lastIndex = e, e += ne.exec(this.input)[0].length, this.input[e] === ";" && e++;
2969
2969
  }
2970
2970
  };
2971
- he.eat = function(e) {
2971
+ le.eat = function(e) {
2972
2972
  return this.type === e ? (this.next(), !0) : !1;
2973
2973
  };
2974
- he.isContextual = function(e) {
2974
+ le.isContextual = function(e) {
2975
2975
  return this.type === l.name && this.value === e && !this.containsEsc;
2976
2976
  };
2977
- he.eatContextual = function(e) {
2977
+ le.eatContextual = function(e) {
2978
2978
  return this.isContextual(e) ? (this.next(), !0) : !1;
2979
2979
  };
2980
- he.expectContextual = function(e) {
2980
+ le.expectContextual = function(e) {
2981
2981
  this.eatContextual(e) || this.unexpected();
2982
2982
  };
2983
- he.canInsertSemicolon = function() {
2984
- return this.type === l.eof || this.type === l.braceR || ce.test(this.input.slice(this.lastTokEnd, this.start));
2983
+ le.canInsertSemicolon = function() {
2984
+ return this.type === l.eof || this.type === l.braceR || he.test(this.input.slice(this.lastTokEnd, this.start));
2985
2985
  };
2986
- he.insertSemicolon = function() {
2986
+ le.insertSemicolon = function() {
2987
2987
  if (this.canInsertSemicolon())
2988
2988
  return this.options.onInsertedSemicolon && this.options.onInsertedSemicolon(this.lastTokEnd, this.lastTokEndLoc), !0;
2989
2989
  };
2990
- he.semicolon = function() {
2990
+ le.semicolon = function() {
2991
2991
  !this.eat(l.semi) && !this.insertSemicolon() && this.unexpected();
2992
2992
  };
2993
- he.afterTrailingComma = function(e, t) {
2993
+ le.afterTrailingComma = function(e, t) {
2994
2994
  if (this.type === e)
2995
2995
  return this.options.onTrailingComma && this.options.onTrailingComma(this.lastTokStart, this.lastTokStartLoc), t || this.next(), !0;
2996
2996
  };
2997
- he.expect = function(e) {
2997
+ le.expect = function(e) {
2998
2998
  this.eat(e) || this.unexpected();
2999
2999
  };
3000
- he.unexpected = function(e) {
3000
+ le.unexpected = function(e) {
3001
3001
  this.raise(e ?? this.start, "Unexpected token");
3002
3002
  };
3003
- var Xt = function() {
3003
+ var Jt = function() {
3004
3004
  this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
3005
3005
  };
3006
- he.checkPatternErrors = function(e, t) {
3006
+ le.checkPatternErrors = function(e, t) {
3007
3007
  if (e) {
3008
3008
  e.trailingComma > -1 && this.raiseRecoverable(e.trailingComma, "Comma is not permitted after the rest element");
3009
3009
  var i = t ? e.parenthesizedAssign : e.parenthesizedBind;
3010
3010
  i > -1 && this.raiseRecoverable(i, t ? "Assigning to rvalue" : "Parenthesized pattern");
3011
3011
  }
3012
3012
  };
3013
- he.checkExpressionErrors = function(e, t) {
3013
+ le.checkExpressionErrors = function(e, t) {
3014
3014
  if (!e)
3015
3015
  return !1;
3016
3016
  var i = e.shorthandAssign, r = e.doubleProto;
@@ -3018,10 +3018,10 @@ he.checkExpressionErrors = function(e, t) {
3018
3018
  return i >= 0 || r >= 0;
3019
3019
  i >= 0 && this.raise(i, "Shorthand property assignments are valid only in destructuring patterns"), r >= 0 && this.raiseRecoverable(r, "Redefinition of __proto__ property");
3020
3020
  };
3021
- he.checkYieldAwaitInDefaultParams = function() {
3021
+ le.checkYieldAwaitInDefaultParams = function() {
3022
3022
  this.yieldPos && (!this.awaitPos || this.yieldPos < this.awaitPos) && this.raise(this.yieldPos, "Yield expression cannot be a default value"), this.awaitPos && this.raise(this.awaitPos, "Await expression cannot be a default value");
3023
3023
  };
3024
- he.isSimpleAssignTarget = function(e) {
3024
+ le.isSimpleAssignTarget = function(e) {
3025
3025
  return e.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(e.expression) : e.type === "Identifier" || e.type === "MemberExpression";
3026
3026
  };
3027
3027
  var I = J.prototype;
@@ -3038,7 +3038,7 @@ I.parseTopLevel = function(e) {
3038
3038
  }
3039
3039
  return this.adaptDirectivePrologue(e.body), this.next(), e.sourceType = this.options.sourceType, this.finishNode(e, "Program");
3040
3040
  };
3041
- var Ii = { kind: "loop" }, th = { kind: "switch" };
3041
+ var Ni = { kind: "loop" }, th = { kind: "switch" };
3042
3042
  I.isLet = function(e) {
3043
3043
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
3044
3044
  return !1;
@@ -3051,7 +3051,7 @@ I.isLet = function(e) {
3051
3051
  if (r === 123 || r > 55295 && r < 56320)
3052
3052
  return !0;
3053
3053
  if (Ee(r, !0)) {
3054
- for (var n = i + 1; Me(r = this.input.charCodeAt(n), !0); )
3054
+ for (var n = i + 1; Ve(r = this.input.charCodeAt(n), !0); )
3055
3055
  ++n;
3056
3056
  if (r === 92 || r > 55295 && r < 56320)
3057
3057
  return !0;
@@ -3066,27 +3066,27 @@ I.isAsyncFunction = function() {
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
- 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));
3069
+ return !he.test(this.input.slice(this.pos, t)) && this.input.slice(t, t + 8) === "function" && (t + 8 === this.input.length || !(Ve(i = this.input.charCodeAt(t + 8)) || i > 55295 && i < 56320));
3070
3070
  };
3071
3071
  I.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;
3075
3075
  var i = ne.exec(this.input), r = this.pos + i[0].length;
3076
- if (ce.test(this.input.slice(this.pos, r)))
3076
+ if (he.test(this.input.slice(this.pos, r)))
3077
3077
  return !1;
3078
3078
  if (e) {
3079
3079
  var n = r + 5, u;
3080
- if (this.input.slice(r, n) !== "using" || n === this.input.length || Me(u = this.input.charCodeAt(n)) || u > 55295 && u < 56320)
3080
+ if (this.input.slice(r, n) !== "using" || n === this.input.length || Ve(u = this.input.charCodeAt(n)) || u > 55295 && u < 56320)
3081
3081
  return !1;
3082
3082
  ne.lastIndex = n;
3083
3083
  var h = ne.exec(this.input);
3084
- if (h && ce.test(this.input.slice(n, n + h[0].length)))
3084
+ if (h && he.test(this.input.slice(n, n + h[0].length)))
3085
3085
  return !1;
3086
3086
  }
3087
3087
  if (t) {
3088
3088
  var d = r + 2, y;
3089
- if (this.input.slice(r, d) === "of" && (d === this.input.length || !Me(y = this.input.charCodeAt(d)) && !(y > 55295 && y < 56320)))
3089
+ if (this.input.slice(r, d) === "of" && (d === this.input.length || !Ve(y = this.input.charCodeAt(d)) && !(y > 55295 && y < 56320)))
3090
3090
  return !1;
3091
3091
  }
3092
3092
  var o = this.input.charCodeAt(r);
@@ -3173,12 +3173,12 @@ I.parseDebuggerStatement = function(e) {
3173
3173
  return this.next(), this.semicolon(), this.finishNode(e, "DebuggerStatement");
3174
3174
  };
3175
3175
  I.parseDoStatement = function(e) {
3176
- return this.next(), this.labels.push(Ii), 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");
3176
+ return this.next(), this.labels.push(Ni), 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
3178
  I.parseForStatement = function(e) {
3179
3179
  this.next();
3180
3180
  var t = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
3181
- if (this.labels.push(Ii), this.enterScope(0), this.expect(l.parenL), this.type === l.semi)
3181
+ if (this.labels.push(Ni), this.enterScope(0), this.expect(l.parenL), this.type === l.semi)
3182
3182
  return t > -1 && this.unexpected(t), this.parseFor(e, null);
3183
3183
  var i = this.isLet();
3184
3184
  if (this.type === l._var || this.type === l._const || i) {
@@ -3190,14 +3190,14 @@ 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, w = new Xt(), S = this.start, A = t > -1 ? this.parseExprSubscripts(w, "await") : this.parseExpression(!0, w);
3193
+ var o = this.containsEsc, w = new Jt(), S = this.start, A = t > -1 ? this.parseExprSubscripts(w, "await") : this.parseExpression(!0, w);
3194
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 === S && !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, w), this.checkLValPattern(A), this.parseForIn(e, A)) : (this.checkExpressionErrors(w, !0), t > -1 && this.unexpected(t), this.parseFor(e, A));
3195
3195
  };
3196
3196
  I.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
3199
  I.parseFunctionStatement = function(e, t, i) {
3200
- return this.next(), this.parseFunction(e, xt | (i ? 0 : fi), !1, t);
3200
+ return this.next(), this.parseFunction(e, xt | (i ? 0 : di), !1, t);
3201
3201
  };
3202
3202
  I.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");
@@ -3216,12 +3216,12 @@ I.parseSwitchStatement = function(e) {
3216
3216
  return this.exitScope(), t && this.finishNode(t, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(e, "SwitchStatement");
3217
3217
  };
3218
3218
  I.parseThrowStatement = function(e) {
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");
3219
+ return this.next(), he.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
3222
  I.parseCatchClauseParam = function() {
3223
3223
  var e = this.parseBindingAtom(), t = e.type === "Identifier";
3224
- return this.enterScope(t ? ts : 0), this.checkLValPattern(e, t ? ss : je), this.expect(l.parenR), e;
3224
+ return this.enterScope(t ? rs : 0), this.checkLValPattern(e, t ? as : Fe), this.expect(l.parenR), e;
3225
3225
  };
3226
3226
  I.parseTryStatement = function(e) {
3227
3227
  if (this.next(), e.block = this.parseBlock(), e.handler = null, this.type === l._catch) {
@@ -3234,7 +3234,7 @@ I.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
3236
  I.parseWhileStatement = function(e) {
3237
- return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ii), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
3237
+ return this.next(), e.test = this.parseParenExpression(), this.labels.push(Ni), e.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(e, "WhileStatement");
3238
3238
  };
3239
3239
  I.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");
@@ -3285,13 +3285,13 @@ I.parseVar = function(e, t, i, r) {
3285
3285
  return e;
3286
3286
  };
3287
3287
  I.parseVarId = function(e, t) {
3288
- e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ei : je, !1);
3288
+ e.id = t === "using" || t === "await using" ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e.id, t === "var" ? Ii : Fe, !1);
3289
3289
  };
3290
- var xt = 1, fi = 2, as = 4;
3290
+ var xt = 1, di = 2, us = 4;
3291
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 & fi && this.unexpected(), e.generator = this.eat(l.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & xt && (e.id = t & as && this.type !== l.name ? null : this.parseIdent(), e.id && !(t & fi) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ei : je : rs));
3292
+ this.initFunction(e), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !r) && (this.type === l.star && t & di && this.unexpected(), e.generator = this.eat(l.star)), this.options.ecmaVersion >= 8 && (e.async = !!r), t & xt && (e.id = t & us && this.type !== l.name ? null : this.parseIdent(), e.id && !(t & di) && this.checkLValSimple(e.id, this.strict || e.generator || e.async ? this.treatFunctionsAsVar ? Ii : Fe : ns));
3293
3293
  var u = this.yieldPos, h = this.awaitPos, d = this.awaitIdentPos;
3294
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ai(e.async, e.generator)), t & xt || (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 & xt ? "FunctionDeclaration" : "FunctionExpression");
3294
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(Ei(e.async, e.generator)), t & xt || (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 & xt ? "FunctionDeclaration" : "FunctionExpression");
3295
3295
  };
3296
3296
  I.parseFunctionParams = function(e) {
3297
3297
  this.expect(l.parenL), e.params = this.parseBindingList(l.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
@@ -3321,7 +3321,7 @@ 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 && Ft(i, "constructor"), w = o && e;
3324
+ var o = !i.static && $t(i, "constructor"), w = 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, w);
3326
3326
  } else
3327
3327
  this.parseClassField(i);
@@ -3335,24 +3335,24 @@ I.parseClassElementName = function(e) {
3335
3335
  };
3336
3336
  I.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 && Ft(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 && $t(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
3342
  I.parseClassField = function(e) {
3343
- return Ft(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && Ft(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(l.eq) ? (this.enterScope(wt | Wt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3343
+ return $t(e, "constructor") ? this.raise(e.key.start, "Classes can't have a field named 'constructor'") : e.static && $t(e, "prototype") && this.raise(e.key.start, "Classes can't have a static field named 'prototype'"), this.eat(l.eq) ? (this.enterScope(wt | Kt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3344
3344
  };
3345
3345
  I.parseClassStaticBlock = function(e) {
3346
3346
  e.body = [];
3347
3347
  var t = this.labels;
3348
- for (this.labels = [], this.enterScope(Qe | Wt); this.type !== l.braceR; ) {
3348
+ for (this.labels = [], this.enterScope(Qe | Kt); 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
3354
  I.parseClassId = function(e, t) {
3355
- this.type === l.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, je, !1)) : (t === !0 && this.unexpected(), e.id = null);
3355
+ this.type === l.name ? (e.id = this.parseIdent(), t && this.checkLValSimple(e.id, Fe, !1)) : (t === !0 && this.unexpected(), e.id = null);
3356
3356
  };
3357
3357
  I.parseClassSuper = function(e) {
3358
3358
  e.superClass = this.eat(l._extends) ? this.parseExprSubscripts(null, !1) : null;
@@ -3373,7 +3373,7 @@ 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 Ft(e, t) {
3376
+ function $t(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
  }
@@ -3408,7 +3408,7 @@ I.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, xt | as, !1, e);
3411
+ return this.next(), e && this.next(), this.parseFunction(t, xt | us, !1, e);
3412
3412
  } else if (this.type === l._class) {
3413
3413
  var i = this.startNode();
3414
3414
  return this.parseClass(i, "nullableID");
@@ -3470,15 +3470,15 @@ I.parseImport = function(e) {
3470
3470
  };
3471
3471
  I.parseImportSpecifier = function() {
3472
3472
  var e = this.startNode();
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");
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, Fe), this.finishNode(e, "ImportSpecifier");
3474
3474
  };
3475
3475
  I.parseImportDefaultSpecifier = function() {
3476
3476
  var e = this.startNode();
3477
- return e.local = this.parseIdent(), this.checkLValSimple(e.local, je), this.finishNode(e, "ImportDefaultSpecifier");
3477
+ return e.local = this.parseIdent(), this.checkLValSimple(e.local, Fe), this.finishNode(e, "ImportDefaultSpecifier");
3478
3478
  };
3479
3479
  I.parseImportNamespaceSpecifier = function() {
3480
3480
  var e = this.startNode();
3481
- return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, je), this.finishNode(e, "ImportNamespaceSpecifier");
3481
+ return this.next(), this.expectContextual("as"), e.local = this.parseIdent(), this.checkLValSimple(e.local, Fe), this.finishNode(e, "ImportNamespaceSpecifier");
3482
3482
  };
3483
3483
  I.parseImportSpecifiers = function() {
3484
3484
  var e = [], t = !0;
@@ -3635,11 +3635,11 @@ Ce.parseMaybeDefault = function(e, t, i) {
3635
3635
  return r.left = i, r.right = this.parseMaybeAssign(), this.finishNode(r, "AssignmentPattern");
3636
3636
  };
3637
3637
  Ce.checkLValSimple = function(e, t, i) {
3638
- t === void 0 && (t = jt);
3639
- var r = t !== jt;
3638
+ t === void 0 && (t = Ft);
3639
+ var r = t !== Ft;
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 && (ht(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== ns && 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 === Fe && e.name === "let" && this.raiseRecoverable(e.start, "let is disallowed as a lexically bound name"), i && (ht(i, e.name) && this.raiseRecoverable(e.start, "Argument name clash"), i[e.name] = !0), t !== os && 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");
@@ -3654,7 +3654,7 @@ Ce.checkLValSimple = function(e, t, i) {
3654
3654
  }
3655
3655
  };
3656
3656
  Ce.checkLValPattern = function(e, t, i) {
3657
- switch (t === void 0 && (t = jt), e.type) {
3657
+ switch (t === void 0 && (t = Ft), 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];
@@ -3672,7 +3672,7 @@ Ce.checkLValPattern = function(e, t, i) {
3672
3672
  }
3673
3673
  };
3674
3674
  Ce.checkLValInnerPattern = function(e, t, i) {
3675
- switch (t === void 0 && (t = jt), e.type) {
3675
+ switch (t === void 0 && (t = Ft), e.type) {
3676
3676
  case "Property":
3677
3677
  this.checkLValInnerPattern(e.value, t, i);
3678
3678
  break;
@@ -3686,21 +3686,21 @@ Ce.checkLValInnerPattern = function(e, t, i) {
3686
3686
  this.checkLValPattern(e, t, i);
3687
3687
  }
3688
3688
  };
3689
- var ue = function(t, i, r, n, u) {
3689
+ var ce = function(t, i, r, n, u) {
3690
3690
  this.token = t, this.isExpr = !!i, this.preserveSpace = !!r, this.override = n, this.generator = !!u;
3691
3691
  }, H = {
3692
- b_stat: new ue("{", !1),
3693
- b_expr: new ue("{", !0),
3694
- b_tmpl: new ue("${", !1),
3695
- p_stat: new ue("(", !1),
3696
- p_expr: new ue("(", !0),
3697
- q_tmpl: new ue("`", !0, !0, function(e) {
3692
+ b_stat: new ce("{", !1),
3693
+ b_expr: new ce("{", !0),
3694
+ b_tmpl: new ce("${", !1),
3695
+ p_stat: new ce("(", !1),
3696
+ p_expr: new ce("(", !0),
3697
+ q_tmpl: new ce("`", !0, !0, function(e) {
3698
3698
  return e.tryReadTemplateToken();
3699
3699
  }),
3700
- f_stat: new ue("function", !1),
3701
- f_expr: new ue("function", !0),
3702
- f_expr_gen: new ue("function", !0, !1, null, !0),
3703
- f_gen: new ue("function", !1, !1, null, !0)
3700
+ f_stat: new ce("function", !1),
3701
+ f_expr: new ce("function", !0),
3702
+ f_expr_gen: new ce("function", !0, !1, null, !0),
3703
+ f_gen: new ce("function", !1, !1, null, !0)
3704
3704
  }, pt = J.prototype;
3705
3705
  pt.initialContext = function() {
3706
3706
  return [H.b_stat];
@@ -3710,7 +3710,7 @@ pt.curContext = function() {
3710
3710
  };
3711
3711
  pt.braceIsBlock = function(e) {
3712
3712
  var t = this.curContext();
3713
- return t === H.f_expr || t === H.f_stat ? !0 : e === l.colon && (t === H.b_stat || t === H.b_expr) ? !t.isExpr : e === l._return || e === l.name && this.exprAllowed ? ce.test(this.input.slice(this.lastTokEnd, this.start)) : e === l._else || e === l.semi || e === l.eof || e === l.parenR || e === l.arrow ? !0 : e === l.braceL ? t === H.b_stat : e === l._var || e === l._const || e === l.name ? !1 : !this.exprAllowed;
3713
+ return t === H.f_expr || t === H.f_stat ? !0 : e === l.colon && (t === H.b_stat || t === H.b_expr) ? !t.isExpr : e === l._return || e === l.name && this.exprAllowed ? he.test(this.input.slice(this.lastTokEnd, this.start)) : e === l._else || e === l.semi || e === l.eof || e === l.parenR || e === l.arrow ? !0 : e === l.braceL ? t === H.b_stat : e === l._var || e === l._const || e === l.name ? !1 : !this.exprAllowed;
3714
3714
  };
3715
3715
  pt.inGeneratorContext = function() {
3716
3716
  for (var e = this.context.length - 1; e >= 1; e--) {
@@ -3748,7 +3748,7 @@ l.parenL.updateContext = function(e) {
3748
3748
  l.incDec.updateContext = function() {
3749
3749
  };
3750
3750
  l._function.updateContext = l._class.updateContext = function(e) {
3751
- e.beforeExpr && e !== l._else && !(e === l.semi && this.curContext() !== H.p_stat) && !(e === l._return && ce.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === l.colon || e === l.braceL) && this.curContext() === H.b_stat) ? this.context.push(H.f_expr) : this.context.push(H.f_stat), this.exprAllowed = !1;
3751
+ e.beforeExpr && e !== l._else && !(e === l.semi && this.curContext() !== H.p_stat) && !(e === l._return && he.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === l.colon || e === l.braceL) && this.curContext() === H.b_stat) ? this.context.push(H.f_expr) : this.context.push(H.f_stat), this.exprAllowed = !1;
3752
3752
  };
3753
3753
  l.colon.updateContext = function() {
3754
3754
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
@@ -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 Xt(), r = !0);
3820
+ t ? (n = t.parenthesizedAssign, u = t.trailingComma, h = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new Jt(), 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);
@@ -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" && os(d.argument) ? this.raiseRecoverable(d.start, "Deleting local variable in strict mode") : d.operator === "delete" && di(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" && cs(d.argument) ? this.raiseRecoverable(d.start, "Deleting local variable in strict mode") : d.operator === "delete" && mi(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,11 +3884,11 @@ M.parseMaybeUnary = function(e, t, i, r) {
3884
3884
  else
3885
3885
  return h;
3886
3886
  };
3887
- function os(e) {
3888
- return e.type === "Identifier" || e.type === "ParenthesizedExpression" && os(e.expression);
3887
+ function cs(e) {
3888
+ return e.type === "Identifier" || e.type === "ParenthesizedExpression" && cs(e.expression);
3889
3889
  }
3890
- function di(e) {
3891
- return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && di(e.expression) || e.type === "ParenthesizedExpression" && di(e.expression);
3890
+ function mi(e) {
3891
+ return e.type === "MemberExpression" && e.property.type === "PrivateIdentifier" || e.type === "ChainExpression" && mi(e.expression) || e.type === "ParenthesizedExpression" && mi(e.expression);
3892
3892
  }
3893
3893
  M.parseExprSubscripts = function(e, t) {
3894
3894
  var i = this.start, r = this.startLoc, n = this.parseExprAtom(e, t);
@@ -3924,14 +3924,14 @@ M.parseSubscript = function(e, t, i, r, n, u, h) {
3924
3924
  var w = this.startNodeAt(t, i);
3925
3925
  w.object = e, o ? (w.property = this.parseExpression(), this.expect(l.bracketR)) : this.type === l.privateId && e.type !== "Super" ? w.property = this.parsePrivateIdent() : w.property = this.parseIdent(this.options.allowReserved !== "never"), w.computed = !!o, d && (w.optional = y), e = this.finishNode(w, "MemberExpression");
3926
3926
  } else if (!r && this.eat(l.parenL)) {
3927
- var S = new Xt(), A = this.yieldPos, F = this.awaitPos, Z = this.awaitIdentPos;
3927
+ var S = new Jt(), A = this.yieldPos, F = this.awaitPos, Z = 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, S);
3929
+ var pe = this.parseExprList(l.parenR, this.options.ecmaVersion >= 8, !1, S);
3930
3930
  if (n && !y && this.shouldParseAsyncArrow())
3931
- return this.checkPatternErrors(S, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = A, this.awaitPos = F, this.awaitIdentPos = Z, this.parseSubscriptAsyncArrow(t, i, le, h);
3931
+ return this.checkPatternErrors(S, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = A, this.awaitPos = F, this.awaitIdentPos = Z, this.parseSubscriptAsyncArrow(t, i, pe, h);
3932
3932
  this.checkExpressionErrors(S, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = F || this.awaitPos, this.awaitIdentPos = Z || this.awaitIdentPos;
3933
3933
  var D = this.startNodeAt(t, i);
3934
- D.callee = e, D.arguments = le, d && (D.optional = y), e = this.finishNode(D, "CallExpression");
3934
+ D.callee = e, D.arguments = pe, d && (D.optional = y), e = this.finishNode(D, "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);
@@ -4032,7 +4032,7 @@ 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, w = !1, S = new Xt(), A = this.yieldPos, F = this.awaitPos, Z;
4035
+ var h = this.start, d = this.startLoc, y = [], o = !0, w = !1, S = new Jt(), A = this.yieldPos, F = this.awaitPos, Z;
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
  w = !0;
@@ -4045,10 +4045,10 @@ M.parseParenAndDistinguishExpression = function(e, t) {
4045
4045
  break;
4046
4046
  } else
4047
4047
  y.push(this.parseMaybeAssign(!1, S, this.parseParenItem));
4048
- var le = this.lastTokEnd, D = this.lastTokEndLoc;
4048
+ var pe = this.lastTokEnd, D = this.lastTokEndLoc;
4049
4049
  if (this.expect(l.parenR), e && this.shouldParseArrow(y) && this.eat(l.arrow))
4050
4050
  return this.checkPatternErrors(S, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = A, this.awaitPos = F, this.parseParenArrowList(i, r, y, t);
4051
- (!y.length || w) && this.unexpected(this.lastTokStart), Z && this.unexpected(Z), this.checkExpressionErrors(S, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = F || this.awaitPos, y.length > 1 ? (n = this.startNodeAt(h, d), n.expressions = y, this.finishNodeAt(n, "SequenceExpression", le, D)) : n = y[0];
4051
+ (!y.length || w) && this.unexpected(this.lastTokStart), Z && this.unexpected(Z), this.checkExpressionErrors(S, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = F || this.awaitPos, y.length > 1 ? (n = this.startNodeAt(h, d), n.expressions = y, this.finishNodeAt(n, "SequenceExpression", pe, D)) : n = y[0];
4052
4052
  } else
4053
4053
  n = this.parseParenExpression();
4054
4054
  if (this.options.preserveParens) {
@@ -4100,7 +4100,7 @@ M.parseTemplate = function(e) {
4100
4100
  return this.next(), this.finishNode(i, "TemplateLiteral");
4101
4101
  };
4102
4102
  M.isAsyncProp = function(e) {
4103
- return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === l.name || this.type === l.num || this.type === l.string || this.type === l.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === l.star) && !ce.test(this.input.slice(this.lastTokEnd, this.start));
4103
+ return !e.computed && e.key.type === "Identifier" && e.key.name === "async" && (this.type === l.name || this.type === l.num || this.type === l.string || this.type === l.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === l.star) && !he.test(this.input.slice(this.lastTokEnd, this.start));
4104
4104
  };
4105
4105
  M.parseObj = function(e, t) {
4106
4106
  var i = this.startNode(), r = !0, n = {};
@@ -4148,11 +4148,11 @@ 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(Ai(t, r.generator) | Wt | (i ? is : 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(Ei(t, r.generator) | Kt | (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");
4152
4152
  };
4153
4153
  M.parseArrowExpression = function(e, t, i, r) {
4154
4154
  var n = this.yieldPos, u = this.awaitPos, h = this.awaitIdentPos;
4155
- return this.enterScope(Ai(i, !1) | Ci), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = n, this.awaitPos = u, this.awaitIdentPos = h, this.finishNode(e, "ArrowFunctionExpression");
4155
+ return this.enterScope(Ei(i, !1) | Ai), this.initFunction(e), this.options.ecmaVersion >= 8 && (e.async = !!i), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, e.params = this.toAssignableList(t, !0), this.parseFunctionBody(e, !0, !1, r), this.yieldPos = n, this.awaitPos = u, this.awaitIdentPos = h, this.finishNode(e, "ArrowFunctionExpression");
4156
4156
  };
4157
4157
  M.parseFunctionBody = function(e, t, i, r) {
4158
4158
  var n = t && this.type !== l.braceL, u = this.strict, h = !1;
@@ -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, ns), 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, os), 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
  };
@@ -4177,7 +4177,7 @@ M.isSimpleParamList = function(e) {
4177
4177
  M.checkParams = function(e, t) {
4178
4178
  for (var i = /* @__PURE__ */ Object.create(null), r = 0, n = e.params; r < n.length; r += 1) {
4179
4179
  var u = n[r];
4180
- this.checkLValInnerPattern(u, Ei, t ? null : i);
4180
+ this.checkLValInnerPattern(u, Ii, t ? null : i);
4181
4181
  }
4182
4182
  };
4183
4183
  M.parseExprList = function(e, t, i, r) {
@@ -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 & Kt) && 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 & Xt) && 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 $t = J.prototype;
4224
- $t.raise = function(e, t) {
4225
- var i = Ti(this.input, e);
4223
+ var Bt = J.prototype;
4224
+ Bt.raise = function(e, t) {
4225
+ var i = Pi(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
- $t.raiseRecoverable = $t.raise;
4231
- $t.curPosition = function() {
4230
+ Bt.raiseRecoverable = Bt.raise;
4231
+ Bt.curPosition = function() {
4232
4232
  if (this.options.locations)
4233
4233
  return new ot(this.curLine, this.pos - this.lineStart);
4234
4234
  };
@@ -4246,23 +4246,23 @@ We.treatFunctionsAsVarInScope = function(e) {
4246
4246
  };
4247
4247
  We.declareName = function(e, t, i) {
4248
4248
  var r = !1;
4249
- if (t === je) {
4249
+ if (t === Fe) {
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 & _t && delete this.undefinedExports[e];
4252
- } else if (t === ss) {
4252
+ } else if (t === as) {
4253
4253
  var u = this.currentScope();
4254
4254
  u.lexical.push(e);
4255
- } else if (t === rs) {
4255
+ } else if (t === ns) {
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 & ts && y.lexical[0] === e) || !this.treatFunctionsAsVarInScope(y) && y.functions.indexOf(e) > -1) {
4261
+ if (y.lexical.indexOf(e) > -1 && !(y.flags & rs && 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 & _t && delete this.undefinedExports[e], y.flags & Kt)
4265
+ if (y.var.push(e), this.inModule && y.flags & _t && delete this.undefinedExports[e], y.flags & Xt)
4266
4266
  break;
4267
4267
  }
4268
4268
  r && this.raiseRecoverable(i, "Identifier '" + e + "' has already been declared");
@@ -4276,14 +4276,14 @@ 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 & (Kt | wt | Qe))
4279
+ if (t.flags & (Xt | wt | Qe))
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 & (Kt | wt | Qe) && !(t.flags & Ci))
4286
+ if (t.flags & (Xt | wt | Qe) && !(t.flags & Ai))
4287
4287
  return t;
4288
4288
  }
4289
4289
  };
@@ -4296,14 +4296,14 @@ Tt.startNode = function() {
4296
4296
  Tt.startNodeAt = function(e, t) {
4297
4297
  return new St(this, e, t);
4298
4298
  };
4299
- function us(e, t, i, r) {
4299
+ function hs(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
4302
  Tt.finishNode = function(e, t) {
4303
- return us.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4303
+ return hs.call(this, e, t, this.lastTokEnd, this.lastTokEndLoc);
4304
4304
  };
4305
4305
  Tt.finishNodeAt = function(e, t, i, r) {
4306
- return us.call(this, e, t, i, r);
4306
+ return hs.call(this, e, t, i, r);
4307
4307
  };
4308
4308
  Tt.copyNode = function(e) {
4309
4309
  var t = new St(this, e.start, this.startLoc);
@@ -4311,12 +4311,12 @@ Tt.copyNode = function(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", cs = "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", hs = cs + " Extended_Pictographic", ls = hs, ps = ls + " EBase EComp EMod EPres ExtPict", fs = ps, oh = fs, uh = {
4315
- 9: cs,
4316
- 10: hs,
4317
- 11: ls,
4318
- 12: ps,
4319
- 13: fs,
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,
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,53 +4325,53 @@ 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
- }, pr = "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", ds = "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", ms = ds + " Dogra Dogr Gunjala_Gondi Gong Hanifi_Rohingya Rohg Makasar Maka Medefaidrin Medf Old_Sogdian Sogo Sogdian Sogd", ys = ms + " Elymaic Elym Nandinagari Nand Nyiakeng_Puachue_Hmong Hmnp Wancho Wcho", vs = ys + " Chorasmian Chrs Diak Dives_Akuru Khitan_Small_Script Kits Yezi Yezidi", xs = vs + " Cypro_Minoan Cpmn Old_Uyghur Ougr Tangsa Tnsa Toto Vithkuqi Vith", lh = xs + " " + ah, ph = {
4329
- 9: ds,
4330
- 10: ms,
4331
- 11: ys,
4332
- 12: vs,
4333
- 13: xs,
4328
+ }, fr = "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,
4334
4334
  14: lh
4335
- }, gs = {};
4335
+ }, _s = {};
4336
4336
  function fh(e) {
4337
- var t = gs[e] = {
4338
- binary: Ze(uh[e] + " " + pr),
4337
+ var t = _s[e] = {
4338
+ binary: Ze(uh[e] + " " + fr),
4339
4339
  binaryOfStrings: Ze(hh[e]),
4340
4340
  nonBinary: {
4341
- General_Category: Ze(pr),
4341
+ General_Category: Ze(fr),
4342
4342
  Script: Ze(ph[e])
4343
4343
  }
4344
4344
  };
4345
4345
  t.nonBinary.Script_Extensions = t.nonBinary.Script, t.nonBinary.gc = t.nonBinary.General_Category, t.nonBinary.sc = t.nonBinary.Script, t.nonBinary.scx = t.nonBinary.Script_Extensions;
4346
4346
  }
4347
- for (var ai = 0, fr = [9, 10, 11, 12, 13, 14]; ai < fr.length; ai += 1) {
4348
- var dh = fr[ai];
4347
+ for (var oi = 0, dr = [9, 10, 11, 12, 13, 14]; oi < dr.length; oi += 1) {
4348
+ var dh = dr[oi];
4349
4349
  fh(dh);
4350
4350
  }
4351
- var C = J.prototype, Bt = function(t, i) {
4351
+ var C = J.prototype, Zt = function(t, i) {
4352
4352
  this.parent = t, this.base = i || this;
4353
4353
  };
4354
- Bt.prototype.separatedFrom = function(t) {
4354
+ Zt.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
- Bt.prototype.sibling = function() {
4362
- return new Bt(this.parent, this.base);
4361
+ Zt.prototype.sibling = function() {
4362
+ return new Zt(this.parent, this.base);
4363
4363
  };
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 = gs[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;
4364
+ var De = 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;
4366
4366
  };
4367
- Oe.prototype.reset = function(t, i, r) {
4367
+ De.prototype.reset = function(t, i, r) {
4368
4368
  var n = r.indexOf("v") !== -1, u = r.indexOf("u") !== -1;
4369
4369
  this.start = t | 0, this.source = i + "", this.flags = r, n && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = u && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = u && this.parser.options.ecmaVersion >= 9);
4370
4370
  };
4371
- Oe.prototype.raise = function(t) {
4371
+ De.prototype.raise = function(t) {
4372
4372
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + t);
4373
4373
  };
4374
- Oe.prototype.at = function(t, i) {
4374
+ De.prototype.at = function(t, i) {
4375
4375
  i === void 0 && (i = !1);
4376
4376
  var r = this.source, n = r.length;
4377
4377
  if (t >= n)
@@ -4382,7 +4382,7 @@ Oe.prototype.at = function(t, i) {
4382
4382
  var h = r.charCodeAt(t + 1);
4383
4383
  return h >= 56320 && h <= 57343 ? (u << 10) + h - 56613888 : u;
4384
4384
  };
4385
- Oe.prototype.nextIndex = function(t, i) {
4385
+ De.prototype.nextIndex = function(t, i) {
4386
4386
  i === void 0 && (i = !1);
4387
4387
  var r = this.source, n = r.length;
4388
4388
  if (t >= n)
@@ -4390,19 +4390,19 @@ Oe.prototype.nextIndex = function(t, i) {
4390
4390
  var u = r.charCodeAt(t), h;
4391
4391
  return !(i || this.switchU) || u <= 55295 || u >= 57344 || t + 1 >= n || (h = r.charCodeAt(t + 1)) < 56320 || h > 57343 ? t + 1 : t + 2;
4392
4392
  };
4393
- Oe.prototype.current = function(t) {
4393
+ De.prototype.current = function(t) {
4394
4394
  return t === void 0 && (t = !1), this.at(this.pos, t);
4395
4395
  };
4396
- Oe.prototype.lookahead = function(t) {
4396
+ De.prototype.lookahead = function(t) {
4397
4397
  return t === void 0 && (t = !1), this.at(this.nextIndex(this.pos, t), t);
4398
4398
  };
4399
- Oe.prototype.advance = function(t) {
4399
+ De.prototype.advance = function(t) {
4400
4400
  t === void 0 && (t = !1), this.pos = this.nextIndex(this.pos, t);
4401
4401
  };
4402
- Oe.prototype.eat = function(t, i) {
4402
+ De.prototype.eat = function(t, i) {
4403
4403
  return i === void 0 && (i = !1), this.current(i) === t ? (this.advance(i), !0) : !1;
4404
4404
  };
4405
- Oe.prototype.eatChars = function(t, i) {
4405
+ De.prototype.eatChars = function(t, i) {
4406
4406
  i === void 0 && (i = !1);
4407
4407
  for (var r = this.pos, n = 0, u = t; n < u.length; n += 1) {
4408
4408
  var h = u[n], d = this.at(r, i);
@@ -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 Bt(e.branchID, null)), this.regexp_alternative(e); e.eat(
4448
+ for (t && (e.branchID = new Zt(e.branchID, null)), this.regexp_alternative(e); e.eat(
4449
4449
  124
4450
4450
  /* | */
4451
4451
  ); )
@@ -4628,7 +4628,7 @@ C.regexp_eatCapturingGroup = function(e) {
4628
4628
  };
4629
4629
  C.regexp_eatModifiers = function(e) {
4630
4630
  for (var t = "", i = 0; (i = e.current()) !== -1 && yh(i); )
4631
- t += Ve(i), e.advance();
4631
+ t += ze(i), e.advance();
4632
4632
  return t;
4633
4633
  };
4634
4634
  function yh(e) {
@@ -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 bs(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4648
+ return ks(t) ? (e.lastIntValue = t, e.advance(), !0) : !1;
4649
4649
  };
4650
- function bs(e) {
4650
+ function ks(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 && !bs(i); )
4654
+ for (var t = e.pos, i = 0; (i = e.current()) !== -1 && !ks(i); )
4655
4655
  e.advance();
4656
4656
  return e.pos !== t;
4657
4657
  };
@@ -4693,8 +4693,8 @@ C.regexp_eatGroupName = function(e) {
4693
4693
  };
4694
4694
  C.regexp_eatRegExpIdentifierName = function(e) {
4695
4695
  if (e.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(e)) {
4696
- for (e.lastStringValue += Ve(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); )
4697
- e.lastStringValue += Ve(e.lastIntValue);
4696
+ for (e.lastStringValue += ze(e.lastIntValue); this.regexp_eatRegExpIdentifierPart(e); )
4697
+ e.lastStringValue += ze(e.lastIntValue);
4698
4698
  return !0;
4699
4699
  }
4700
4700
  return !1;
@@ -4711,7 +4711,7 @@ C.regexp_eatRegExpIdentifierPart = function(e) {
4711
4711
  return e.advance(i), r === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(e, i) && (r = e.lastIntValue), xh(r) ? (e.lastIntValue = r, !0) : (e.pos = t, !1);
4712
4712
  };
4713
4713
  function xh(e) {
4714
- return Me(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4714
+ return Ve(e, !0) || e === 36 || e === 95 || e === 8204 || e === 8205;
4715
4715
  }
4716
4716
  C.regexp_eatAtomEscape = function(e) {
4717
4717
  return this.regexp_eatBackReference(e) || this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e) || e.switchN && this.regexp_eatKGroupName(e) ? !0 : (e.switchU && (e.current() === 99 && e.raise("Invalid unicode escape"), e.raise("Invalid escape")), !1);
@@ -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 && !Jt(e.lookahead()) ? (e.lastIntValue = 0, e.advance(), !0) : !1;
4758
+ return e.current() === 48 && !Yt(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 _s(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 _s(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,11 +4829,11 @@ C.regexp_eatDecimalEscape = function(e) {
4829
4829
  }
4830
4830
  return !1;
4831
4831
  };
4832
- var ks = 0, ze = 1, Se = 2;
4832
+ var Ss = 0, je = 1, Se = 2;
4833
4833
  C.regexp_eatCharacterClassEscape = function(e) {
4834
4834
  var t = e.current();
4835
4835
  if (bh(t))
4836
- return e.lastIntValue = -1, e.advance(), ze;
4836
+ return e.lastIntValue = -1, e.advance(), je;
4837
4837
  var i = !1;
4838
4838
  if (e.switchU && this.options.ecmaVersion >= 9 && ((i = t === 80) || t === 112)) {
4839
4839
  e.lastIntValue = -1, e.advance();
@@ -4848,7 +4848,7 @@ C.regexp_eatCharacterClassEscape = function(e) {
4848
4848
  return i && r === Se && e.raise("Invalid property name"), r;
4849
4849
  e.raise("Invalid property name");
4850
4850
  }
4851
- return ks;
4851
+ return Ss;
4852
4852
  };
4853
4853
  function bh(e) {
4854
4854
  return e === 100 || e === 68 || e === 115 || e === 83 || e === 119 || e === 87;
@@ -4862,42 +4862,42 @@ C.regexp_eatUnicodePropertyValueExpression = function(e) {
4862
4862
  var i = e.lastStringValue;
4863
4863
  if (this.regexp_eatUnicodePropertyValue(e)) {
4864
4864
  var r = e.lastStringValue;
4865
- return this.regexp_validateUnicodePropertyNameAndValue(e, i, r), ze;
4865
+ return this.regexp_validateUnicodePropertyNameAndValue(e, i, r), je;
4866
4866
  }
4867
4867
  }
4868
4868
  if (e.pos = t, this.regexp_eatLoneUnicodePropertyNameOrValue(e)) {
4869
4869
  var n = e.lastStringValue;
4870
4870
  return this.regexp_validateUnicodePropertyNameOrValue(e, n);
4871
4871
  }
4872
- return ks;
4872
+ return Ss;
4873
4873
  };
4874
4874
  C.regexp_validateUnicodePropertyNameAndValue = function(e, t, i) {
4875
4875
  ht(e.unicodeProperties.nonBinary, t) || e.raise("Invalid property name"), e.unicodeProperties.nonBinary[t].test(i) || e.raise("Invalid property value");
4876
4876
  };
4877
4877
  C.regexp_validateUnicodePropertyNameOrValue = function(e, t) {
4878
4878
  if (e.unicodeProperties.binary.test(t))
4879
- return ze;
4879
+ return je;
4880
4880
  if (e.switchV && e.unicodeProperties.binaryOfStrings.test(t))
4881
4881
  return Se;
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 = ""; ws(t = e.current()); )
4887
- e.lastStringValue += Ve(t), e.advance();
4886
+ for (e.lastStringValue = ""; Ts(t = e.current()); )
4887
+ e.lastStringValue += ze(t), e.advance();
4888
4888
  return e.lastStringValue !== "";
4889
4889
  };
4890
- function ws(e) {
4891
- return _s(e) || e === 95;
4890
+ function Ts(e) {
4891
+ return ws(e) || e === 95;
4892
4892
  }
4893
4893
  C.regexp_eatUnicodePropertyValue = function(e) {
4894
4894
  var t = 0;
4895
4895
  for (e.lastStringValue = ""; _h(t = e.current()); )
4896
- e.lastStringValue += Ve(t), e.advance();
4896
+ e.lastStringValue += ze(t), e.advance();
4897
4897
  return e.lastStringValue !== "";
4898
4898
  };
4899
4899
  function _h(e) {
4900
- return ws(e) || Jt(e);
4900
+ return Ts(e) || Yt(e);
4901
4901
  }
4902
4902
  C.regexp_eatLoneUnicodePropertyNameOrValue = function(e) {
4903
4903
  return this.regexp_eatUnicodePropertyValue(e);
@@ -4919,7 +4919,7 @@ C.regexp_eatCharacterClass = function(e) {
4919
4919
  return !1;
4920
4920
  };
4921
4921
  C.regexp_classContents = function(e) {
4922
- return e.current() === 93 ? ze : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), ze);
4922
+ return e.current() === 93 ? je : e.switchV ? this.regexp_classSetExpression(e) : (this.regexp_nonEmptyClassRanges(e), je);
4923
4923
  };
4924
4924
  C.regexp_nonEmptyClassRanges = function(e) {
4925
4925
  for (; this.regexp_eatClassAtom(e); ) {
@@ -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 || Ps(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4946
+ (i === 99 || As(i)) && e.raise("Invalid class escape"), e.raise("Invalid escape");
4947
4947
  }
4948
4948
  e.pos = t;
4949
4949
  }
@@ -4973,7 +4973,7 @@ C.regexp_eatClassEscape = function(e) {
4973
4973
  return this.regexp_eatCharacterClassEscape(e) || this.regexp_eatCharacterEscape(e);
4974
4974
  };
4975
4975
  C.regexp_classSetExpression = function(e) {
4976
- var t = ze, i;
4976
+ var t = je, i;
4977
4977
  if (!this.regexp_eatClassSetRange(e)) if (i = this.regexp_eatClassSetOperand(e)) {
4978
4978
  i === Se && (t = Se);
4979
4979
  for (var r = e.pos; e.eatChars(
@@ -4981,7 +4981,7 @@ C.regexp_classSetExpression = function(e) {
4981
4981
  /* && */
4982
4982
  ); ) {
4983
4983
  if (e.current() !== 38 && (i = this.regexp_eatClassSetOperand(e))) {
4984
- i !== Se && (t = ze);
4984
+ i !== Se && (t = je);
4985
4985
  continue;
4986
4986
  }
4987
4987
  e.raise("Invalid character in character class");
@@ -5020,7 +5020,7 @@ C.regexp_eatClassSetRange = function(e) {
5020
5020
  return !1;
5021
5021
  };
5022
5022
  C.regexp_eatClassSetOperand = function(e) {
5023
- return this.regexp_eatClassSetCharacter(e) ? ze : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
5023
+ return this.regexp_eatClassSetCharacter(e) ? je : this.regexp_eatClassStringDisjunction(e) || this.regexp_eatNestedClass(e);
5024
5024
  };
5025
5025
  C.regexp_eatNestedClass = function(e) {
5026
5026
  var t = e.pos;
@@ -5083,7 +5083,7 @@ C.regexp_classStringDisjunctionContents = function(e) {
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 ? je : Se;
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 Jt(t) || t === 95 ? (e.lastIntValue = t % 32, e.advance(), !0) : !1;
5116
+ return Yt(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; Jt(i = e.current()); )
5132
+ for (e.lastIntValue = 0; Yt(i = e.current()); )
5133
5133
  e.lastIntValue = 10 * e.lastIntValue + (i - 48), e.advance();
5134
5134
  return e.pos !== t;
5135
5135
  };
5136
- function Jt(e) {
5136
+ function Yt(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; Ss(i = e.current()); )
5142
- e.lastIntValue = 16 * e.lastIntValue + Ts(i), e.advance();
5141
+ for (e.lastIntValue = 0; Ps(i = e.current()); )
5142
+ e.lastIntValue = 16 * e.lastIntValue + Cs(i), e.advance();
5143
5143
  return e.pos !== t;
5144
5144
  };
5145
- function Ss(e) {
5145
+ function Ps(e) {
5146
5146
  return e >= 48 && e <= 57 || e >= 65 && e <= 70 || e >= 97 && e <= 102;
5147
5147
  }
5148
- function Ts(e) {
5148
+ function Cs(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 Ps(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
5165
+ return As(t) ? (e.lastIntValue = t - 48, e.advance(), !0) : (e.lastIntValue = 0, !1);
5166
5166
  };
5167
- function Ps(e) {
5167
+ function As(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 (!Ss(n))
5175
+ if (!Ps(n))
5176
5176
  return e.pos = i, !1;
5177
- e.lastIntValue = 16 * e.lastIntValue + Ts(n), e.advance();
5177
+ e.lastIntValue = 16 * e.lastIntValue + Cs(n), e.advance();
5178
5178
  }
5179
5179
  return !0;
5180
5180
  };
5181
- var Yt = function(t) {
5181
+ var Qt = function(t) {
5182
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]);
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 Yt(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 Qt(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 Yt(this);
5188
+ return this.next(), new Qt(this);
5189
5189
  };
5190
5190
  typeof Symbol < "u" && (j[Symbol.iterator] = function() {
5191
5191
  var e = this;
@@ -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 = Yr(this.input, n, this.pos)) > -1; )
5223
+ for (var r = void 0, n = t; (r = es(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,
@@ -5271,7 +5271,7 @@ j.skipSpace = function() {
5271
5271
  }
5272
5272
  break;
5273
5273
  default:
5274
- if (e > 8 && e < 14 || e >= 5760 && Si.test(String.fromCharCode(e)))
5274
+ if (e > 8 && e < 14 || e >= 5760 && Ti.test(String.fromCharCode(e)))
5275
5275
  ++this.pos;
5276
5276
  else
5277
5277
  break e;
@@ -5316,7 +5316,7 @@ j.readToken_caret = function() {
5316
5316
  };
5317
5317
  j.readToken_plus_min = function(e) {
5318
5318
  var t = this.input.charCodeAt(this.pos + 1);
5319
- return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || ce.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(l.incDec, 2) : t === 61 ? this.finishOp(l.assign, 2) : this.finishOp(l.plusMin, 1);
5319
+ return t === e ? t === 45 && !this.inModule && this.input.charCodeAt(this.pos + 2) === 62 && (this.lastTokEnd === 0 || he.test(this.input.slice(this.lastTokEnd, this.pos))) ? (this.skipLineComment(3), this.skipSpace(), this.nextToken()) : this.finishOp(l.incDec, 2) : t === 61 ? this.finishOp(l.assign, 2) : this.finishOp(l.plusMin, 1);
5320
5320
  };
5321
5321
  j.readToken_lt_gt = function(e) {
5322
5322
  var t = this.input.charCodeAt(this.pos + 1), i = 1;
@@ -5350,7 +5350,7 @@ j.readToken_numberSign = function() {
5350
5350
  var e = this.options.ecmaVersion, t = 35;
5351
5351
  if (e >= 13 && (++this.pos, t = this.fullCharCodeAtPos(), Ee(t, !0) || t === 92))
5352
5352
  return this.finishToken(l.privateId, this.readWord1());
5353
- this.raise(this.pos, "Unexpected character '" + Ve(t) + "'");
5353
+ this.raise(this.pos, "Unexpected character '" + ze(t) + "'");
5354
5354
  };
5355
5355
  j.getTokenFromCode = function(e) {
5356
5356
  switch (e) {
@@ -5437,7 +5437,7 @@ j.getTokenFromCode = function(e) {
5437
5437
  case 35:
5438
5438
  return this.readToken_numberSign();
5439
5439
  }
5440
- this.raise(this.pos, "Unexpected character '" + Ve(e) + "'");
5440
+ this.raise(this.pos, "Unexpected character '" + ze(e) + "'");
5441
5441
  };
5442
5442
  j.finishOp = function(e, t) {
5443
5443
  var i = this.input.slice(this.pos, this.pos + t);
@@ -5447,7 +5447,7 @@ j.readRegexp = function() {
5447
5447
  for (var e, t, i = this.pos; ; ) {
5448
5448
  this.pos >= this.input.length && this.raise(i, "Unterminated regular expression");
5449
5449
  var r = this.input.charAt(this.pos);
5450
- if (ce.test(r) && this.raise(i, "Unterminated regular expression"), e)
5450
+ if (he.test(r) && this.raise(i, "Unterminated regular expression"), e)
5451
5451
  e = !1;
5452
5452
  else {
5453
5453
  if (r === "[")
@@ -5464,7 +5464,7 @@ j.readRegexp = function() {
5464
5464
  ++this.pos;
5465
5465
  var u = this.pos, h = this.readWord1();
5466
5466
  this.containsEsc && this.unexpected(u);
5467
- var d = this.regexpState || (this.regexpState = new Oe(this));
5467
+ var d = this.regexpState || (this.regexpState = new De(this));
5468
5468
  d.reset(i, n, h), this.validateRegExpFlags(d), this.validateRegExpPattern(d);
5469
5469
  var y = null;
5470
5470
  try {
@@ -5489,14 +5489,14 @@ j.readInt = function(e, t, i) {
5489
5489
  function Th(e, t) {
5490
5490
  return t ? parseInt(e, 8) : parseFloat(e.replace(/_/g, ""));
5491
5491
  }
5492
- function Cs(e) {
5492
+ function Es(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 = Cs(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 = 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);
5500
5500
  };
5501
5501
  j.readNumber = function(e) {
5502
5502
  var t = this.pos;
@@ -5505,7 +5505,7 @@ 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 = Cs(this.input.slice(t, this.pos));
5508
+ var n = Es(this.input.slice(t, this.pos));
5509
5509
  return ++this.pos, Ee(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(l.num, n);
5510
5510
  }
5511
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");
@@ -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 As = {};
5535
+ var Is = {};
5536
5536
  j.tryReadTemplateToken = function() {
5537
5537
  this.inTemplateElement = !0;
5538
5538
  try {
5539
5539
  this.readTmplToken();
5540
5540
  } catch (e) {
5541
- if (e === As)
5541
+ if (e === Is)
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 As;
5550
+ throw Is;
5551
5551
  this.raise(e, t);
5552
5552
  };
5553
5553
  j.readTmplToken = function() {
@@ -5614,7 +5614,7 @@ j.readEscapedChar = function(e) {
5614
5614
  return String.fromCharCode(this.readHexChar(2));
5615
5615
  // 'x'
5616
5616
  case 117:
5617
- return Ve(this.readCodePoint());
5617
+ return ze(this.readCodePoint());
5618
5618
  // 'u'
5619
5619
  case 116:
5620
5620
  return " ";
@@ -5664,14 +5664,14 @@ j.readWord1 = function() {
5664
5664
  this.containsEsc = !1;
5665
5665
  for (var e = "", t = !0, i = this.pos, r = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
5666
5666
  var n = this.fullCharCodeAtPos();
5667
- if (Me(n, r))
5667
+ if (Ve(n, r))
5668
5668
  this.pos += n <= 65535 ? 1 : 2;
5669
5669
  else if (n === 92) {
5670
5670
  this.containsEsc = !0, e += this.input.slice(i, this.pos);
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 ? Ee : Ve)(h, r) || this.invalidStringToken(u, "Invalid Unicode escape"), e += ze(h), i = this.pos;
5675
5675
  } else
5676
5676
  break;
5677
5677
  t = !1;
@@ -5682,27 +5682,27 @@ j.readWord = function() {
5682
5682
  var e = this.readWord1(), t = l.name;
5683
5683
  return this.keywords.test(e) && (t = at[e]), this.finishToken(t, e);
5684
5684
  };
5685
- var Es = "8.15.0";
5685
+ var Ns = "8.15.0";
5686
5686
  J.acorn = {
5687
5687
  Parser: J,
5688
- version: Es,
5689
- defaultOptions: zt,
5688
+ version: Ns,
5689
+ defaultOptions: jt,
5690
5690
  Position: ot,
5691
5691
  SourceLocation: kt,
5692
- getLineInfo: Ti,
5692
+ getLineInfo: Pi,
5693
5693
  Node: St,
5694
5694
  TokenType: z,
5695
5695
  tokTypes: l,
5696
5696
  keywordTypes: at,
5697
- TokContext: ue,
5697
+ TokContext: ce,
5698
5698
  tokContexts: H,
5699
- isIdentifierChar: Me,
5699
+ isIdentifierChar: Ve,
5700
5700
  isIdentifierStart: Ee,
5701
- Token: Yt,
5701
+ Token: Qt,
5702
5702
  isNewLine: Ye,
5703
- lineBreak: ce,
5704
- lineBreakG: Jr,
5705
- nonASCIIwhitespace: Si
5703
+ lineBreak: he,
5704
+ lineBreakG: Qr,
5705
+ nonASCIIwhitespace: Ti
5706
5706
  };
5707
5707
  function Ph(e, t) {
5708
5708
  return J.parse(e, t);
@@ -5719,26 +5719,26 @@ const Eh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5719
5719
  Parser: J,
5720
5720
  Position: ot,
5721
5721
  SourceLocation: kt,
5722
- TokContext: ue,
5723
- Token: Yt,
5722
+ TokContext: ce,
5723
+ Token: Qt,
5724
5724
  TokenType: z,
5725
- defaultOptions: zt,
5726
- getLineInfo: Ti,
5727
- isIdentifierChar: Me,
5725
+ defaultOptions: jt,
5726
+ getLineInfo: Pi,
5727
+ isIdentifierChar: Ve,
5728
5728
  isIdentifierStart: Ee,
5729
5729
  isNewLine: Ye,
5730
5730
  keywordTypes: at,
5731
- lineBreak: ce,
5732
- lineBreakG: Jr,
5733
- nonASCIIwhitespace: Si,
5731
+ lineBreak: he,
5732
+ lineBreakG: Qr,
5733
+ nonASCIIwhitespace: Ti,
5734
5734
  parse: Ph,
5735
5735
  parseExpressionAt: Ch,
5736
5736
  tokContexts: H,
5737
5737
  tokTypes: l,
5738
5738
  tokenizer: Ah,
5739
- version: Es
5739
+ version: Ns
5740
5740
  }, Symbol.toStringTag, { value: "Module" }));
5741
- function dr(e, t) {
5741
+ function mr(e, t) {
5742
5742
  for (var i = 0; i < t.length; i++) {
5743
5743
  var r = t[i];
5744
5744
  r.enumerable = r.enumerable || !1, r.configurable = !0, "value" in r && (r.writable = !0), Object.defineProperty(e, typeof (n = (function(u, h) {
@@ -5754,36 +5754,36 @@ function dr(e, t) {
5754
5754
  }
5755
5755
  var n;
5756
5756
  }
5757
- function Zt() {
5758
- return Zt = Object.assign ? Object.assign.bind() : function(e) {
5757
+ function Ut() {
5758
+ return Ut = 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
- }, Zt.apply(this, arguments);
5764
+ }, Ut.apply(this, arguments);
5765
5765
  }
5766
5766
  function Rt(e, t) {
5767
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, mi(e, t);
5767
+ e.prototype = Object.create(t.prototype), e.prototype.constructor = e, yi(e, t);
5768
5768
  }
5769
- function mi(e, t) {
5770
- return mi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
5769
+ function yi(e, t) {
5770
+ return yi = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, r) {
5771
5771
  return i.__proto__ = r, i;
5772
- }, mi(e, t);
5772
+ }, yi(e, t);
5773
5773
  }
5774
- function mr(e, t) {
5774
+ function yr(e, t) {
5775
5775
  (t == null || t > e.length) && (t = e.length);
5776
5776
  for (var i = 0, r = new Array(t); i < t; i++) r[i] = e[i];
5777
5777
  return r;
5778
5778
  }
5779
- function yr(e, t) {
5779
+ function vr(e, t) {
5780
5780
  var i = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
5781
5781
  if (i) return (i = i.call(e)).next.bind(i);
5782
5782
  if (Array.isArray(e) || (i = (function(n, u) {
5783
5783
  if (n) {
5784
- if (typeof n == "string") return mr(n, u);
5784
+ if (typeof n == "string") return yr(n, u);
5785
5785
  var h = Object.prototype.toString.call(n).slice(8, -1);
5786
- return h === "Object" && n.constructor && (h = n.constructor.name), h === "Map" || h === "Set" ? Array.from(n) : h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h) ? mr(n, u) : void 0;
5786
+ return h === "Object" && n.constructor && (h = n.constructor.name), h === "Map" || h === "Set" ? Array.from(n) : h === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h) ? yr(n, u) : void 0;
5787
5787
  }
5788
5788
  })(e)) || t) {
5789
5789
  i && (e = i);
@@ -5795,21 +5795,21 @@ function yr(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 xe = !0;
5799
+ function ge(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: ge(0, { startsExpr: xe }), asserts: ge(0, { startsExpr: xe }), global: ge(0, { startsExpr: xe }), keyof: ge(0, { startsExpr: xe }), readonly: ge(0, { startsExpr: xe }), unique: ge(0, { startsExpr: xe }), abstract: ge(0, { startsExpr: xe }), declare: ge(0, { startsExpr: xe }), enum: ge(0, { startsExpr: xe }), module: ge(0, { startsExpr: xe }), namespace: ge(0, { startsExpr: xe }), interface: ge(0, { startsExpr: xe }), type: ge(0, { startsExpr: xe }) }, 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 ce("<tag", !1, !1), tc_cTag: new ce("</tag", !1, !1), tc_expr: new ce("<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: Zt({}, i, r), tokContexts: Zt({}, n), keywordsRegExp: u, tokenIsLiteralPropertyName: function(h) {
5812
+ }, t = { tokTypes: Ut({}, i, r), tokContexts: Ut({}, n), keywordsRegExp: u, tokenIsLiteralPropertyName: function(h) {
5813
5813
  return [l.name, l.string, l.num].concat(Object.values(at), Object.values(i)).includes(h);
5814
5814
  }, tokenIsKeywordOrIdentifier: function(h) {
5815
5815
  return [l.name].concat(Object.values(at), Object.values(i)).includes(h);
@@ -5825,14 +5825,14 @@ function Nh(e) {
5825
5825
  }
5826
5826
  return t;
5827
5827
  }
5828
- var yt = 1024, Lh = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), vr = new RegExp("(?=(" + Lh.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), vt = function() {
5828
+ var yt = 1024, Lh = new RegExp("(?:[^\\S\\n\\r\\u2028\\u2029]|\\/\\/.*|\\/\\*.*?\\*\\/)*", "y"), xr = new RegExp("(?=(" + Lh.source + "))\\1" + /(?=[\n\r\u2028\u2029]|\/\*(?!.*?\*\/)|$)/.source, "y"), vt = function() {
5829
5829
  this.shorthandAssign = void 0, this.trailingComma = void 0, this.parenthesizedAssign = void 0, this.parenthesizedBind = void 0, this.doubleProto = void 0, this.shorthandAssign = this.trailingComma = this.parenthesizedAssign = this.parenthesizedBind = this.doubleProto = -1;
5830
5830
  };
5831
5831
  function Oh(e, t) {
5832
5832
  var i = t.key.name, r = e[i], n = "true";
5833
5833
  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 || (e[i] = n, !1);
5834
5834
  }
5835
- function xr(e, t) {
5835
+ function gr(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
  }
@@ -5877,8 +5877,8 @@ var N = { AbstractMethodHasImplementation: function(e) {
5877
5877
  function gt(e) {
5878
5878
  return e && (e.type === "JSXIdentifier" ? e.name : e.type === "JSXNamespacedName" ? e.namespace.name + ":" + e.name.name : e.type === "JSXMemberExpression" ? gt(e.object) + "." + gt(e.property) : void 0);
5879
5879
  }
5880
- var oi = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
5881
- function gr(e) {
5880
+ var ui = /(?:\s|\/\/.*|\/\*[^]*?\*\/)*/g;
5881
+ function br(e) {
5882
5882
  if (!e) throw new Error("Assert fail");
5883
5883
  }
5884
5884
  function Vh(e) {
@@ -5887,34 +5887,34 @@ function Vh(e) {
5887
5887
  function zh(e) {
5888
5888
  return e === "in" || e === "out";
5889
5889
  }
5890
- function ui(e, t) {
5890
+ function ci(e, t) {
5891
5891
  return 2 | (e ? 4 : 0) | (t ? 8 : 0);
5892
5892
  }
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)) && Is(e.object);
5896
+ return (!e.computed || !(t.type !== "TemplateLiteral" || t.expressions.length > 0)) && Ls(e.object);
5897
5897
  }
5898
- function Is(e) {
5899
- return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Is(e.object);
5898
+ function Ls(e) {
5899
+ return e.type === "Identifier" || e.type === "MemberExpression" && !e.computed && Ls(e.object);
5900
5900
  }
5901
- function br(e) {
5901
+ function _r(e) {
5902
5902
  return e === "private" || e === "public" || e === "protected";
5903
5903
  }
5904
5904
  function Fh(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, w = d.keywordTypes, S = d.isIdentifierStart, A = d.lineBreak, F = d.isNewLine, Z = d.tokContexts, le = d.isIdentifierChar, D = y.tokTypes, se = y.tokContexts, ft = y.keywordsRegExp, Ae = y.tokenIsLiteralPropertyName, _e = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Ls = y.tokenIsTSTypeOperator;
5908
- function Os(P, pe, oe) {
5909
- oe === void 0 && (oe = P.length);
5910
- for (var te = pe; te < oe; te++) {
5907
+ var d = h.acorn || Eh, y = Nh(d), o = d.tokTypes, w = d.keywordTypes, S = d.isIdentifierStart, A = d.lineBreak, F = d.isNewLine, Z = d.tokContexts, pe = d.isIdentifierChar, D = y.tokTypes, se = y.tokContexts, ft = y.keywordsRegExp, Ae = y.tokenIsLiteralPropertyName, _e = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Rs = y.tokenIsTSTypeOperator;
5908
+ function Ds(P, fe, ue) {
5909
+ ue === void 0 && (ue = P.length);
5910
+ for (var te = fe; te < ue; te++) {
5911
5911
  var B = P.charCodeAt(te);
5912
- if (F(B)) return te < oe - 1 && B === 13 && P.charCodeAt(te + 1) === 10 ? te + 2 : te + 1;
5912
+ if (F(B)) return te < ue - 1 && B === 13 && P.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(P, fe, ue) {
5917
+ var te = ue.tokTypes, B = fe.tokTypes;
5918
5918
  return (function(f) {
5919
5919
  function s() {
5920
5920
  return f.apply(this, arguments) || this;
@@ -5953,8 +5953,8 @@ function Fh(e) {
5953
5953
  return c;
5954
5954
  }, s;
5955
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 }, {});
5956
+ })(h, y, d), h = (function(P, fe, ue, te) {
5957
+ var B = P.tokTypes, f = fe.tokTypes, s = P.isNewLine, a = P.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;
@@ -6085,9 +6085,9 @@ function Fh(e) {
6085
6085
  var x = this.start, g = this.startLoc;
6086
6086
  return this.next(), this.jsx_parseElementAt(x, g);
6087
6087
  }, m;
6088
- })(oe);
6089
- })(d, y, h), h = (function(P, pe, oe) {
6090
- var te = pe.tokTypes, B = oe.tokTypes;
6088
+ })(ue);
6089
+ })(d, y, h), h = (function(P, fe, ue) {
6090
+ var te = fe.tokTypes, B = ue.tokTypes;
6091
6091
  return (function(f) {
6092
6092
  function s() {
6093
6093
  return f.apply(this, arguments) || this;
@@ -6115,16 +6115,16 @@ function Fh(e) {
6115
6115
  }, s;
6116
6116
  })(P);
6117
6117
  })(h, y, d);
6118
- var Rs = /* @__PURE__ */ (function(P) {
6119
- function pe(s, a, c) {
6118
+ var Ms = /* @__PURE__ */ (function(P) {
6119
+ function fe(s, a, c) {
6120
6120
  var p;
6121
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) {
6122
6122
  if (m === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6123
6123
  return m;
6124
6124
  })(p), { allowedModifiers: ["const"], disallowedModifiers: ["in", "out"], errorTemplate: N.InvalidModifierOnTypeParameterPositions }), p;
6125
6125
  }
6126
- Rt(pe, P);
6127
- var oe, te, B, f = pe.prototype;
6126
+ Rt(fe, P);
6127
+ var ue, te, B, f = fe.prototype;
6128
6128
  return f.getTokenFromCodeInType = function(s) {
6129
6129
  return s === 62 || s === 60 ? this.finishOp(o.relational, 1) : P.prototype.getTokenFromCode.call(this, s);
6130
6130
  }, f.readToken = function(s) {
@@ -6174,7 +6174,7 @@ function Fh(e) {
6174
6174
  return this.nextTokenStartSince(this.pos);
6175
6175
  }, f.tsHasSomeModifiers = function(s, a) {
6176
6176
  return a.some(function(c) {
6177
- return br(c) ? s.accessibility === c : !!s[c];
6177
+ return _r(c) ? s.accessibility === c : !!s[c];
6178
6178
  });
6179
6179
  }, f.tsIsStartOfStaticBlocks = function() {
6180
6180
  return this.isContextual("static") && this.lookaheadCharCode() === 123;
@@ -6216,13 +6216,13 @@ function Fh(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 !(pe(p) || (64512 & p) == 55296);
6220
6220
  }
6221
6221
  return !1;
6222
6222
  }, f.isAbstractConstructorSignature = function() {
6223
6223
  return this.ts_isContextual(D.abstract) && this.lookahead().type === o._new;
6224
6224
  }, f.nextTokenStartSince = function(s) {
6225
- return oi.lastIndex = s, oi.test(this.input) ? oi.lastIndex : s;
6225
+ return ui.lastIndex = s, ui.test(this.input) ? ui.lastIndex : s;
6226
6226
  }, f.lookaheadCharCode = function() {
6227
6227
  return this.input.charCodeAt(this.nextTokenStart());
6228
6228
  }, f.compareLookaheadState = function(s, a) {
@@ -6256,7 +6256,7 @@ function Fh(e) {
6256
6256
  var s;
6257
6257
  this.isLookahead || (s = this.options.onComment && this.curPosition());
6258
6258
  var a = this.pos, c = this.input.indexOf("*/", this.pos += 2);
6259
- if (c === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = c + 2, this.options.locations) for (var p, m = a; (p = Os(this.input, m, this.pos)) > -1; ) ++this.curLine, m = this.lineStart = p;
6259
+ if (c === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = c + 2, this.options.locations) for (var p, m = a; (p = Ds(this.input, m, this.pos)) > -1; ) ++this.curLine, m = this.lineStart = p;
6260
6260
  this.isLookahead || this.options.onComment && this.options.onComment(!0, this.input.slice(a + 2, c), a, this.pos, s, this.curPosition());
6261
6261
  }, f.skipLineComment = function(s) {
6262
6262
  var a, c = this.pos;
@@ -6272,7 +6272,7 @@ function Fh(e) {
6272
6272
  }, f.isLineTerminator = function() {
6273
6273
  return this.eat(o.semi) || P.prototype.canInsertSemicolon.call(this);
6274
6274
  }, f.hasFollowingLineBreak = function() {
6275
- return vr.lastIndex = this.end, vr.test(this.input);
6275
+ return xr.lastIndex = this.end, xr.test(this.input);
6276
6276
  }, f.addExtra = function(s, a, c, p) {
6277
6277
  if (p === void 0 && (p = !0), s) {
6278
6278
  var m = s.extra = s.extra || {};
@@ -6689,7 +6689,7 @@ function Fh(e) {
6689
6689
  return s;
6690
6690
  }, f.tsParseTypeOperatorOrHigher = function() {
6691
6691
  var s = this;
6692
- return Ls(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
6692
+ return Rs(this.type) && !this.containsEsc ? this.tsParseTypeOperator() : this.isContextual("infer") ? this.tsParseInferType() : this.tsInAllowConditionalTypesContext(function() {
6693
6693
  return s.tsParseArrayTypeOrHigher();
6694
6694
  });
6695
6695
  }, f.tsParseIntersectionTypeOrHigher = function() {
@@ -6700,7 +6700,7 @@ function Fh(e) {
6700
6700
  return this.tsIsStartOfFunctionType() ? this.tsParseFunctionOrConstructorType("TSFunctionType") : this.match(o._new) ? this.tsParseFunctionOrConstructorType("TSConstructorType") : this.isAbstractConstructorSignature() ? this.tsParseFunctionOrConstructorType("TSConstructorType", !0) : this.tsParseUnionTypeOrHigher();
6701
6701
  }, f.tsParseType = function() {
6702
6702
  var s = this;
6703
- gr(this.inType);
6703
+ br(this.inType);
6704
6704
  var a = this.tsParseNonConditionalType();
6705
6705
  if (this.inDisallowConditionalTypesContext || this.hasPrecedingLineBreak() || !this.eat(o._extends)) return a;
6706
6706
  var c = this.startNodeAtNode(a);
@@ -6763,14 +6763,14 @@ function Fh(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, _ = {}, T = 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 ? N.InvalidModifierOnTypeMember : x, _ = {}, T = function(K, G, X, re) {
6767
+ G === X && c[re] && a.raise(K.column, N.InvalidModifiersOrder({ orderedModifiers: [X, re] }));
6768
+ }, L = function(K, G, X, re) {
6769
+ (c[X] && G === re || c[re] && G === X) && a.raise(K.column, N.IncompatibleModifiers({ modifiers: [X, re] }));
6770
6770
  }; ; ) {
6771
6771
  var V = this.startLoc, E = this.tsParseModifier(p.concat(m ?? []), v);
6772
6772
  if (!E) break;
6773
- br(E) ? c.accessibility ? this.raise(this.start, N.DuplicateAccessibilityModifier()) : (T(V, E, E, "override"), T(V, E, E, "static"), T(V, E, E, "readonly"), T(V, E, E, "accessor"), _.accessibility = E, c.accessibility = E) : zh(E) ? c[E] ? this.raise(this.start, N.DuplicateModifier({ modifier: E })) : (T(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 })) : (T(V, E, "static", "readonly"), T(V, E, "static", "override"), T(V, E, "override", "readonly"), T(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);
6773
+ _r(E) ? c.accessibility ? this.raise(this.start, N.DuplicateAccessibilityModifier()) : (T(V, E, E, "override"), T(V, E, E, "static"), T(V, E, E, "readonly"), T(V, E, E, "accessor"), _.accessibility = E, c.accessibility = E) : zh(E) ? c[E] ? this.raise(this.start, N.DuplicateModifier({ modifier: E })) : (T(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 })) : (T(V, E, "static", "readonly"), T(V, E, "static", "override"), T(V, E, "override", "readonly"), T(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);
6774
6774
  }
6775
6775
  return _;
6776
6776
  }, f.tsParseInOutModifiers = function(s) {
@@ -6957,7 +6957,7 @@ function Fh(e) {
6957
6957
  }, f.parseFunction = function(s, a, c, p, m) {
6958
6958
  this.initFunction(s), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !p) && (this.type === o.star && 2 & a && this.unexpected(), s.generator = this.eat(o.star)), this.options.ecmaVersion >= 8 && (s.async = !!p), 1 & a && (s.id = 4 & a && this.type !== o.name ? null : this.parseIdent());
6959
6959
  var v = this.yieldPos, x = this.awaitPos, g = this.awaitIdentPos, _ = this.maybeInArrowParameters;
6960
- this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(ui(s.async, s.generator)), 1 & a || (s.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(s);
6960
+ this.maybeInArrowParameters = !1, this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(ci(s.async, s.generator)), 1 & a || (s.id = this.type === o.name ? this.parseIdent() : null), this.parseFunctionParams(s);
6961
6961
  var T = 1 & a;
6962
6962
  return this.parseFunctionBody(s, c, !1, m, { isFunctionDeclaration: T }), this.yieldPos = v, this.awaitPos = x, this.awaitIdentPos = g, 1 & a && s.id && !(2 & a) && this.checkLValSimple(s.id, s.body ? this.strict || s.generator || s.async ? this.treatFunctionsAsVar ? 1 : 2 : 3 : 0), this.maybeInArrowParameters = _, this.finishNode(s, T ? "FunctionDeclaration" : "FunctionExpression");
6963
6963
  }, f.parseFunctionBody = function(s, a, c, p, m) {
@@ -7050,7 +7050,7 @@ function Fh(e) {
7050
7050
  else {
7051
7051
  if (s.declaration = null, s.specifiers = this.parseExportSpecifiers(a), this.eatContextual("from")) this.type !== o.string && this.unexpected(), s.source = this.parseExprAtom(), this.parseMaybeImportAttributes(s);
7052
7052
  else {
7053
- for (var x, g = yr(s.specifiers); !(x = g()).done; ) {
7053
+ for (var x, g = vr(s.specifiers); !(x = g()).done; ) {
7054
7054
  var _ = x.value;
7055
7055
  this.checkUnreserved(_.local), this.checkLocalExport(_.local), _.local.type === "Literal" && this.raise(_.local.start, "A string literal cannot be used as an exported binding without `from`.");
7056
7056
  }
@@ -7113,7 +7113,7 @@ function Fh(e) {
7113
7113
  this.next(), P.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
- for (var v, x = yr(m.declarations); !(v = x()).done; ) {
7116
+ for (var v, x = vr(m.declarations); !(v = x()).done; ) {
7117
7117
  var g = v.value, _ = g.init;
7118
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));
7119
7119
  }
@@ -7190,7 +7190,7 @@ function Fh(e) {
7190
7190
  var g = s.declare, _ = s.kind;
7191
7191
  !(g !== void 0 && g) || _ !== "get" && _ !== "set" || this.raise(s.start, N.DeclareAccessor({ kind: _ })), x && (s.typeParameters = x);
7192
7192
  var T = s.key;
7193
- s.kind === "constructor" ? (a && this.raise(T.start, "Constructor can't be a generator"), c && this.raise(T.start, "Constructor can't be an async method")) : s.static && xr(s, "prototype") && this.raise(T.start, "Classes may not have a static property named prototype");
7193
+ s.kind === "constructor" ? (a && this.raise(T.start, "Constructor can't be a generator"), c && this.raise(T.start, "Constructor can't be an async method")) : s.static && gr(s, "prototype") && this.raise(T.start, "Classes may not have a static property named prototype");
7194
7194
  var L = s.value = this.parseMethod(a, c, p, !0, s);
7195
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");
7196
7196
  }, f.isClassMethod = function() {
@@ -7209,7 +7209,7 @@ function Fh(e) {
7209
7209
  (a.eatContextual("get") || a.eatContextual("set")) && (a.isClassElementNameStart() ? _ = K : v = K);
7210
7210
  }
7211
7211
  if (v ? (m.computed = !1, m.key = a.startNodeAt(a.lastTokStart, a.lastTokStartLoc), m.key.name = v, a.finishNode(m.key, "Identifier")) : a.parseClassElementName(m), a.parsePostMemberNameModifiers(m), a.isClassMethod() || p < 13 || a.type === o.parenL || _ !== "method" || x || g) {
7212
- var G = !m.static && xr(m, "constructor"), X = G && s;
7212
+ var G = !m.static && gr(m, "constructor"), X = G && s;
7213
7213
  G && _ !== "method" && a.raise(m.key.start, "Constructor can't have get/set modifier"), m.kind = G ? "constructor" : _, a.parseClassMethod(m, x, g, X);
7214
7214
  } else a.parseClassField(m);
7215
7215
  return m;
@@ -7231,7 +7231,7 @@ function Fh(e) {
7231
7231
  }, f.parseArrowExpression = function(s, a, c, p) {
7232
7232
  this.match(o.colon) && (s.returnType = this.tsParseTypeAnnotation());
7233
7233
  var m = this.yieldPos, v = this.awaitPos, x = this.awaitIdentPos;
7234
- this.enterScope(16 | ui(c, !1)), this.initFunction(s);
7234
+ this.enterScope(16 | ci(c, !1)), this.initFunction(s);
7235
7235
  var g = this.maybeInArrowParameters;
7236
7236
  return this.options.ecmaVersion >= 8 && (s.async = !!c), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.maybeInArrowParameters = !0, s.params = this.toAssignableList(a, !0), this.maybeInArrowParameters = !1, this.parseFunctionBody(s, !0, !1, p), this.yieldPos = m, this.awaitPos = v, this.awaitIdentPos = x, this.maybeInArrowParameters = g, this.finishNode(s, "ArrowFunctionExpression");
7237
7237
  }, f.parseMaybeAssignOrigin = function(s, a, c) {
@@ -7255,25 +7255,25 @@ function Fh(e) {
7255
7255
  if (L = this.cloneCurLookaheadState(), !(V = this.tryParse(function() {
7256
7256
  return G.parseMaybeAssignOrigin(s, a, c);
7257
7257
  }, L)).error) return V.node;
7258
- var X = this.context, ie = X[X.length - 1];
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();
7258
+ var X = this.context, re = X[X.length - 1];
7259
+ re === y.tokContexts.tc_oTag && X[X.length - 2] === y.tokContexts.tc_expr ? (X.pop(), X.pop()) : re !== y.tokContexts.tc_oTag && re !== 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
7262
  L && !this.compareLookaheadState(L, this.getCurLookaheadState()) || (L = this.cloneCurLookaheadState());
7263
- var ye = this.tryParse(function($e) {
7263
+ var ve = this.tryParse(function($e) {
7264
7264
  var dt, mt;
7265
7265
  K = G.tsParseTypeParameters();
7266
7266
  var Be = G.parseMaybeAssignOrigin(s, a, c);
7267
7267
  return (Be.type !== "ArrowFunctionExpression" || (dt = Be.extra) != null && dt.parenthesized) && $e(), ((mt = K) == null ? void 0 : mt.params.length) !== 0 && G.resetStartLocationFromNode(Be, K), Be.typeParameters = K, Be;
7268
7268
  }, L);
7269
- if (!ye.error && !ye.aborted) return K && this.reportReservedArrowTypeParam(K), ye.node;
7270
- if (!V && (gr(!0), !(E = this.tryParse(function() {
7269
+ if (!ve.error && !ve.aborted) return K && this.reportReservedArrowTypeParam(K), ve.node;
7270
+ if (!V && (br(!0), !(E = this.tryParse(function() {
7271
7271
  return G.parseMaybeAssignOrigin(s, a, c);
7272
7272
  }, L)).error)) return E.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;
7274
+ if (ve.node) return this.setLookaheadState(ve.failState), K && this.reportReservedArrowTypeParam(K), ve.node;
7275
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 || ((T = E) == null ? void 0 : T.error);
7276
+ throw (x = V) != null && x.thrown ? V.error : ve.thrown ? ve.error : (g = E) != null && g.thrown ? E.error : ((_ = V) == null ? void 0 : _.error) || ve.error || ((T = E) == null ? void 0 : T.error);
7277
7277
  }, f.parseAssignableListItem = function(s) {
7278
7278
  for (var a = []; this.match(D.at); ) a.push(this.parseDecorator());
7279
7279
  var c, p = this.start, m = this.startLoc, v = !1, x = !1;
@@ -7409,9 +7409,9 @@ function Fh(e) {
7409
7409
  }
7410
7410
  L.push(this.parseMaybeAssign(a, K, this.parseParenItem));
7411
7411
  }
7412
- var ie = this.lastTokEnd, ye = this.lastTokEndLoc;
7412
+ var re = this.lastTokEnd, ve = this.lastTokEndLoc;
7413
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(_, T)).expressions = L, this.finishNodeAt(c, "SequenceExpression", ie, ye)) : c = L[0];
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(_, T)).expressions = L, this.finishNodeAt(c, "SequenceExpression", re, ve)) : c = L[0];
7415
7415
  } else c = this.parseParenExpression();
7416
7416
  if (this.options.preserveParens) {
7417
7417
  var $e = this.startNodeAt(p, m);
@@ -7455,24 +7455,24 @@ function Fh(e) {
7455
7455
  if (this.tsMatchLeftRelational() || this.match(o.bitShift)) {
7456
7456
  var V, E = this.tsTryParseAndCatch(function() {
7457
7457
  if (!p && g.atPossibleAsyncArrow(s)) {
7458
- var Di = g.tsTryParseGenericAsyncArrowFunction(a, c, x);
7459
- if (Di) return s = Di;
7458
+ var Mi = g.tsTryParseGenericAsyncArrowFunction(a, c, x);
7459
+ if (Mi) return s = Mi;
7460
7460
  }
7461
7461
  var Et = g.tsParseTypeArgumentsInExpression();
7462
7462
  if (!Et) return s;
7463
7463
  if (L && !g.match(o.parenL)) return V = g.curPosition(), s;
7464
7464
  if (_e(g.type) || g.type === o.backQuote) {
7465
- var Mi = g.parseTaggedTemplateExpression(s, a, c, _);
7466
- return Mi.typeParameters = Et, Mi;
7465
+ var Vi = g.parseTaggedTemplateExpression(s, a, c, _);
7466
+ return Vi.typeParameters = Et, Vi;
7467
7467
  }
7468
7468
  if (!p && g.eat(o.parenL)) {
7469
- var Vi = new vt(), et = g.startNodeAt(a, c);
7470
- return et.callee = s, et.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, Vi), g.tsCheckForInvalidTypeCasts(et.arguments), et.typeParameters = Et, _ && (et.optional = L), g.checkExpressionErrors(Vi, !0), s = g.finishNode(et, "CallExpression");
7469
+ var zi = new vt(), et = g.startNodeAt(a, c);
7470
+ return et.callee = s, et.arguments = g.parseExprList(o.parenR, g.options.ecmaVersion >= 8, !1, zi), g.tsCheckForInvalidTypeCasts(et.arguments), et.typeParameters = Et, _ && (et.optional = L), g.checkExpressionErrors(zi, !0), s = g.finishNode(et, "CallExpression");
7471
7471
  }
7472
- var ei = g.type;
7473
- if (!(g.tsMatchRightRelational() || ei === o.bitShift || ei !== o.parenL && (zi = ei, !!zi.startsExpr) && !g.hasPrecedingLineBreak())) {
7474
- var zi, ti = g.startNodeAt(a, c);
7475
- return ti.expression = s, ti.typeParameters = Et, g.finishNode(ti, "TSInstantiationExpression");
7472
+ var ti = g.type;
7473
+ if (!(g.tsMatchRightRelational() || ti === o.bitShift || ti !== o.parenL && (ji = ti, !!ji.startsExpr) && !g.hasPrecedingLineBreak())) {
7474
+ var ji, ii = g.startNodeAt(a, c);
7475
+ return ii.expression = s, ii.typeParameters = Et, g.finishNode(ii, "TSInstantiationExpression");
7476
7476
  }
7477
7477
  });
7478
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;
@@ -7481,25 +7481,25 @@ function Fh(e) {
7481
7481
  p && G && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
7482
7482
  var X = this.eat(o.bracketL);
7483
7483
  if (X || G && this.type !== o.parenL && this.type !== o.backQuote || this.eat(o.dot)) {
7484
- var ie = this.startNodeAt(a, c);
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");
7484
+ var re = this.startNodeAt(a, c);
7485
+ re.object = s, X ? (re.property = this.parseExpression(), this.expect(o.bracketR)) : re.property = this.type === o.privateId && s.type !== "Super" ? this.parsePrivateIdent() : this.parseIdent(this.options.allowReserved !== "never"), re.computed = !!X, K && (re.optional = G), s = this.finishNode(re, "MemberExpression");
7486
7486
  } else if (!p && this.eat(o.parenL)) {
7487
- var ye = this.maybeInArrowParameters;
7487
+ var ve = this.maybeInArrowParameters;
7488
7488
  this.maybeInArrowParameters = !0;
7489
7489
  var $e = new vt(), dt = this.yieldPos, mt = this.awaitPos, Be = this.awaitIdentPos;
7490
7490
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
7491
- var Ri = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, $e);
7492
- if (m && !G && this.shouldParseAsyncArrow()) this.checkPatternErrors($e, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = dt, this.awaitPos = mt, this.awaitIdentPos = Be, s = this.parseSubscriptAsyncArrow(a, c, Ri, x);
7491
+ var Di = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, $e);
7492
+ if (m && !G && this.shouldParseAsyncArrow()) this.checkPatternErrors($e, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = dt, this.awaitPos = mt, this.awaitIdentPos = Be, s = this.parseSubscriptAsyncArrow(a, c, Di, x);
7493
7493
  else {
7494
7494
  this.checkExpressionErrors($e, !0), this.yieldPos = dt || this.yieldPos, this.awaitPos = mt || this.awaitPos, this.awaitIdentPos = Be || this.awaitIdentPos;
7495
7495
  var At = this.startNodeAt(a, c);
7496
- At.callee = s, At.arguments = Ri, K && (At.optional = G), s = this.finishNode(At, "CallExpression");
7496
+ At.callee = s, At.arguments = Di, K && (At.optional = G), s = this.finishNode(At, "CallExpression");
7497
7497
  }
7498
- this.maybeInArrowParameters = ye;
7498
+ this.maybeInArrowParameters = ve;
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
- var Qt = this.startNodeAt(a, c);
7502
- Qt.tag = s, Qt.quasi = this.parseTemplate({ isTagged: !0 }), s = this.finishNode(Qt, "TaggedTemplateExpression");
7501
+ var ei = this.startNodeAt(a, c);
7502
+ ei.tag = s, ei.quasi = this.parseTemplate({ isTagged: !0 }), s = this.finishNode(ei, "TaggedTemplateExpression");
7503
7503
  }
7504
7504
  return s;
7505
7505
  }, f.parseGetterSetter = function(s) {
@@ -7543,17 +7543,17 @@ function Fh(e) {
7543
7543
  return s && (a.typeParameters = s), a;
7544
7544
  }, f.parseMethod = function(s, a, c, p, m) {
7545
7545
  var v = this.startNode(), x = this.yieldPos, g = this.awaitPos, _ = this.awaitIdentPos;
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 | ui(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) {
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 | ci(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 T = m.key;
7548
7548
  this.raise(m.start, N.AbstractMethodHasImplementation({ methodName: T.type !== "Identifier" || m.computed ? "[" + this.input.slice(T.start, T.end) + "]" : T.name }));
7549
7549
  }
7550
7550
  return this.finishNode(v, "FunctionExpression");
7551
- }, pe.parse = function(s, a) {
7551
+ }, fe.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
+ }, fe.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);
@@ -7641,42 +7641,42 @@ function Fh(e) {
7641
7641
  }
7642
7642
  P.prototype.checkLocalExport.call(this, s);
7643
7643
  }
7644
- }, oe = pe, B = [{ key: "acornTypeScript", get: function() {
7644
+ }, ue = fe, B = [{ key: "acornTypeScript", get: function() {
7645
7645
  return y;
7646
7646
  } }], (te = [{ key: "acornTypeScript", get: function() {
7647
7647
  return y;
7648
- } }]) && dr(oe.prototype, te), B && dr(oe, B), Object.defineProperty(oe, "prototype", { writable: !1 }), pe;
7648
+ } }]) && mr(ue.prototype, te), B && mr(ue, B), Object.defineProperty(ue, "prototype", { writable: !1 }), fe;
7649
7649
  })(h);
7650
- return Rs;
7650
+ return Ms;
7651
7651
  };
7652
7652
  }
7653
7653
  const $h = js(Fs);
7654
7654
  async function Bh(e) {
7655
7655
  let t;
7656
7656
  try {
7657
- t = await ge.readdir(e, { withFileTypes: !0 });
7657
+ t = await ae.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 = Ms.join(e, i.name);
7664
+ const r = Dt.join(e, i.name);
7665
7665
  try {
7666
- await ge.rm(r, { recursive: !0, force: !0 });
7666
+ await ae.rm(r, { recursive: !0, force: !0 });
7667
7667
  } catch (n) {
7668
7668
  if (n.code !== "ENOENT") throw n;
7669
7669
  }
7670
7670
  })
7671
7671
  );
7672
7672
  }
7673
- function Ni(e) {
7673
+ function Li(e) {
7674
7674
  const i = J.extend(Fh()).parse(e, {
7675
7675
  ecmaVersion: "latest",
7676
7676
  sourceType: "module",
7677
7677
  locations: !0
7678
7678
  }), r = [];
7679
- return yi(i, (n) => {
7679
+ return vi(i, (n) => {
7680
7680
  if (n.type !== "MethodDefinition") return;
7681
7681
  const u = n, h = u.key;
7682
7682
  if (h.type !== "Identifier") return;
@@ -7686,58 +7686,69 @@ function Ni(e) {
7686
7686
  }
7687
7687
  async function Te(e, t, i = [], r) {
7688
7688
  const n = `${t} ${i.join(" ")}`;
7689
- e !== void 0 && re(`${e} - exec(${n})`);
7689
+ e !== void 0 && ie(`${e} - exec(${n})`);
7690
7690
  const { stdout: u, stderr: h } = await $h(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 ae.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 ae.readdir(e, t);
7695
7695
  }
7696
- async function Li() {
7697
- re("Load environment variables"), (await import("dotenv")).config();
7696
+ async function Oi() {
7697
+ ie("Load environment variables"), (await import("dotenv")).config();
7698
7698
  }
7699
- function Re(e) {
7699
+ function Ne(e) {
7700
7700
  const t = "\x1B[36m", i = "\x1B[0m", r = "─".repeat(Math.max(e.length + 60, 60));
7701
7701
  console.info(`
7702
7702
  ${t}${r}`), console.info(`▶️ ${e}`), console.info(`${r}${i}`);
7703
7703
  }
7704
- function Fe(e) {
7704
+ function Ie(e) {
7705
7705
  console.info(`
7706
7706
  ✅ ${e}
7707
7707
  `);
7708
7708
  }
7709
- function re(e) {
7709
+ function ie(e) {
7710
7710
  console.info(`
7711
7711
  ${e}
7712
7712
  `);
7713
7713
  }
7714
- async function de(e) {
7715
- return JSON.parse(await ge.readFile(e, "utf8"));
7714
+ async function me(e) {
7715
+ return JSON.parse(await ae.readFile(e, "utf8"));
7716
7716
  }
7717
7717
  async function Pt(e) {
7718
- return await ge.readFile(e, "utf8");
7718
+ return await ae.readFile(e, "utf8");
7719
7719
  }
7720
7720
  async function Uh(e) {
7721
7721
  try {
7722
- await ge.unlink(e);
7722
+ await ae.unlink(e);
7723
7723
  } catch (t) {
7724
7724
  if (t.code !== "ENOENT") throw t;
7725
7725
  }
7726
7726
  }
7727
- async function Ie(e, t, i = [], r = !1) {
7728
- return re(`${e} - spawn(${t} ${i.join(" ")})`), new Promise((n, u) => {
7727
+ async function Le(e, t, i = [], r = !1) {
7728
+ return ie(`${e} - spawn(${t} ${i.join(" ")})`), new Promise((n, u) => {
7729
7729
  $s(t, i, { stdio: "inherit" }).on("close", (d) => {
7730
7730
  d === 0 || r ? n() : u(new Error(`${t} exited with code ${d}`));
7731
7731
  });
7732
7732
  });
7733
7733
  }
7734
+ async function fl() {
7735
+ Ne("Synchronise .editorconfig");
7736
+ const e = Dt.dirname(Pr(import.meta.url)), t = Dt.resolve(e, "../../.editorconfig"), i = Dt.resolve(process.cwd(), ".editorconfig");
7737
+ ie(`Template: ${t}`), ie(`Destination: ${i}`);
7738
+ const r = await ae.readFile(t, "utf8");
7739
+ if (await ae.readFile(i, "utf8") === r) {
7740
+ Ie(".editorconfig already up to date.");
7741
+ return;
7742
+ }
7743
+ await ae.writeFile(i, r, "utf8"), Ie(".editorconfig synchronised.");
7744
+ }
7734
7745
  async function ut(e, t) {
7735
- await ge.writeFile(e, JSON.stringify(t, void 0, 4), "utf8");
7746
+ await ae.writeFile(e, JSON.stringify(t, void 0, 4), "utf8");
7736
7747
  }
7737
- async function Oi(e, t) {
7738
- await ge.writeFile(e, t, "utf8");
7748
+ async function Ri(e, t) {
7749
+ await ae.writeFile(e, t, "utf8");
7739
7750
  }
7740
- function yi(e, t) {
7751
+ function vi(e, t) {
7741
7752
  t(e);
7742
7753
  for (const [i, r] of Object.entries(e)) {
7743
7754
  if (["loc", "range", "start", "end", "comments"].includes(i)) continue;
@@ -7745,20 +7756,20 @@ function yi(e, t) {
7745
7756
  if (Array.isArray(n))
7746
7757
  for (const u of n) {
7747
7758
  const h = u;
7748
- h && typeof h.type == "string" && yi(h, t);
7759
+ h && typeof h.type == "string" && vi(h, t);
7749
7760
  }
7750
- else n && typeof n == "object" && typeof n.type == "string" && yi(n, t);
7761
+ else n && typeof n == "object" && typeof n.type == "string" && vi(n, t);
7751
7762
  }
7752
7763
  }
7753
7764
  async function qh() {
7754
- const e = await de("config.json"), t = {
7765
+ const e = await me("config.json"), t = {
7755
7766
  body: JSON.stringify(e),
7756
7767
  headers: { "Content-Type": "application/json" },
7757
7768
  method: "PUT"
7758
7769
  }, i = await fetch(`https://api.datapos.app/states/${e.id}`, t);
7759
7770
  if (!i.ok) throw new Error(await i.text());
7760
7771
  }
7761
- async function _r(e) {
7772
+ async function kr(e) {
7762
7773
  const t = e.id, i = {
7763
7774
  body: JSON.stringify(e),
7764
7775
  headers: { "Content-Type": "application/json" },
@@ -7766,7 +7777,7 @@ async function _r(e) {
7766
7777
  }, r = await fetch(`https://api.datapos.app/states/${t}`, i);
7767
7778
  if (!r.ok) throw new Error(await r.text());
7768
7779
  }
7769
- async function kr(e, t) {
7780
+ async function wr(e, t) {
7770
7781
  const i = `v${e.version}`;
7771
7782
  async function r(n, u = "") {
7772
7783
  const h = await Zh(n, { withFileTypes: !0 });
@@ -7791,18 +7802,18 @@ const Hh = [
7791
7802
  { idPrefix: "datapos-shared", typeId: "shared", publish: !0, uploadGroupName: void 0 },
7792
7803
  { idPrefix: "datapos-tool", typeId: "tool", publish: !0, uploadGroupName: "tools" }
7793
7804
  ];
7794
- async function fl() {
7805
+ async function dl() {
7795
7806
  try {
7796
- Re("Build Project"), await Ie("1️⃣ Bundle project", "vite", ["build"]), Fe("Project built.");
7807
+ Ne("Build Project"), await Le("1️⃣ Bundle project", "vite", ["build"]), Ie("Project built.");
7797
7808
  } catch (e) {
7798
7809
  console.error("❌ Error building project.", e), process.exit(1);
7799
7810
  }
7800
7811
  }
7801
- async function dl() {
7812
+ async function ml() {
7802
7813
  try {
7803
- Re("Release Project"), await Li();
7804
- const e = await de("package.json"), t = await de("config.json");
7805
- await Ns("1️⃣", e);
7814
+ Ne("Release Project"), await Oi();
7815
+ const e = await me("package.json"), t = await me("config.json");
7816
+ await Os("1️⃣", e);
7806
7817
  const i = Hh.find((r) => t.id.startsWith(r.idPrefix));
7807
7818
  if (!i) throw new Error(`Failed to locate module type configuration for identifier '${t.id}'.`);
7808
7819
  switch (i.typeId) {
@@ -7818,44 +7829,44 @@ async function dl() {
7818
7829
  default:
7819
7830
  await Gh("2️⃣", e);
7820
7831
  }
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")
7822
- re("7️⃣ Register module"), await qh();
7832
+ if (await Le("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")
7833
+ ie("7️⃣ Register module"), await qh();
7823
7834
  else if (i.typeId === "engine")
7824
- re("7️⃣ Register module"), await _r(t), await kr(e, `datapos-engine-eu/${i.uploadGroupName}`);
7835
+ ie("7️⃣ Register module"), await kr(t), await wr(e, `datapos-engine-eu/${i.uploadGroupName}`);
7825
7836
  else if (i.uploadGroupName === void 0)
7826
- re("7️⃣ Registration NOT required.");
7837
+ ie("7️⃣ Registration NOT required.");
7827
7838
  else {
7828
- re("7️⃣ Register module"), await _r(t);
7839
+ ie("7️⃣ Register module"), await kr(t);
7829
7840
  const r = t.id.split("-").slice(2).join("-");
7830
- await kr(e, `datapos-engine-eu/${i.uploadGroupName}/${r}`);
7841
+ await wr(e, `datapos-engine-eu/${i.uploadGroupName}/${r}`);
7831
7842
  }
7832
7843
  if (i.publish) {
7833
7844
  const r = ".npmrc";
7834
7845
  try {
7835
- await Oi(r, `registry=https://registry.npmjs.org/
7836
- //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Ie("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
7846
+ await Ri(r, `registry=https://registry.npmjs.org/
7847
+ //registry.npmjs.org/:_authToken=${process.env.NPM_TOKEN ?? ""}`), await Le("8️⃣ Publish to npm", "npm", ["publish", "--access", "public"]);
7837
7848
  } finally {
7838
7849
  await Uh(r);
7839
7850
  }
7840
7851
  } else
7841
- re(`8️⃣ Publishing NOT required for package with type identifier of '${i.typeId}'.`);
7842
- Fe(`Project version '${e.version}' released.`);
7852
+ ie(`8️⃣ Publishing NOT required for package with type identifier of '${i.typeId}'.`);
7853
+ Ie(`Project version '${e.version}' released.`);
7843
7854
  } catch (e) {
7844
7855
  console.error("❌ Error releasing project.", e), process.exit(1);
7845
7856
  }
7846
7857
  }
7847
- async function ml() {
7858
+ async function yl() {
7848
7859
  try {
7849
- Re("Synchronise Project with GitHub");
7850
- const e = await de("package.json");
7851
- re("Bump project version"), await Ns("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"]), Fe(`Project version '${e.version}' synchronised with GitHub.`);
7860
+ Ne("Synchronise Project with GitHub");
7861
+ const e = await me("package.json");
7862
+ ie("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"]), Ie(`Project version '${e.version}' synchronised with GitHub.`);
7852
7863
  } catch (e) {
7853
7864
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
7854
7865
  }
7855
7866
  }
7856
- function yl() {
7867
+ function vl() {
7857
7868
  try {
7858
- Re("Test Project"), console.log(`
7869
+ Ne("Test Project"), console.log(`
7859
7870
  ❌ Test project is not implemented. No 'vitest' command.
7860
7871
  `);
7861
7872
  } catch (e) {
@@ -7863,42 +7874,42 @@ function yl() {
7863
7874
  }
7864
7875
  }
7865
7876
  async function Gh(e, t) {
7866
- re(`${e} Build project configuration`);
7867
- const i = await de("config.json");
7877
+ ie(`${e} Build project configuration`);
7878
+ const i = await me("config.json");
7868
7879
  t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), await ut("config.json", i);
7869
7880
  }
7870
7881
  async function Wh(e, t) {
7871
- re(`${e} Build connector project configuration`);
7872
- const [i, r] = await Promise.all([de("config.json"), Pt("src/index.ts")]), n = kc.safeParse(i);
7882
+ ie(`${e} Build connector project configuration`);
7883
+ const [i, r] = await Promise.all([me("config.json"), Pt("src/index.ts")]), n = kc.safeParse(i);
7873
7884
  if (!n.success) {
7874
7885
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7875
7886
  return;
7876
7887
  }
7877
- const u = Ni(r), h = Jh(u);
7888
+ const u = Li(r), h = Jh(u);
7878
7889
  u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), h === "unknown" ? console.warn("⚠️ No usage identified.") : console.info(`ℹ️ Supports '${h}' usage.`), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, i.usageId = h, await ut("config.json", i);
7879
7890
  }
7880
7891
  async function Kh(e, t) {
7881
- re(`${e} Build context project configuration`);
7882
- const [i, r] = await Promise.all([de("config.json"), Pt("src/index.ts")]), n = Lc.safeParse(i);
7892
+ ie(`${e} Build context project configuration`);
7893
+ const [i, r] = await Promise.all([me("config.json"), Pt("src/index.ts")]), n = Lc.safeParse(i);
7883
7894
  if (!n.success) {
7884
7895
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7885
7896
  return;
7886
7897
  }
7887
- const u = Ni(r);
7898
+ const u = Li(r);
7888
7899
  u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, await ut("config.json", i);
7889
7900
  }
7890
7901
  async function Xh(e, t) {
7891
- re(`${e} Build presenter project configuration`);
7892
- const [i, r] = await Promise.all([de("config.json"), Pt("src/index.ts")]), n = Bc.safeParse(i);
7902
+ ie(`${e} Build presenter project configuration`);
7903
+ const [i, r] = await Promise.all([me("config.json"), Pt("src/index.ts")]), n = Bc.safeParse(i);
7893
7904
  if (!n.success) {
7894
7905
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7895
7906
  return;
7896
7907
  }
7897
- const u = Ni(r);
7908
+ const u = Li(r);
7898
7909
  u.length > 0 ? (console.info(`ℹ️ Implements ${u.length} operations:`), console.table(u)) : console.warn("⚠️ Implements no operations."), t.name != null && (i.id = t.name.replace("@datapos/", "").replace("@data-positioning/", "")), t.version != null && (i.version = t.version), i.operations = u, await ut("config.json", i);
7899
7910
  }
7900
- async function Ns(e, t, i = "./") {
7901
- if (re(`${e} Bump project version`), t.version == null)
7911
+ async function Os(e, t, i = "./") {
7912
+ if (ie(`${e} Bump project version`), t.version == null)
7902
7913
  t.version = "0.0.001", console.warn(`⚠️ Project version initialised to '${t.version}'.`), await ut(`${i}package.json`, t);
7903
7914
  else {
7904
7915
  const r = t.version, n = t.version.split(".");
@@ -7918,12 +7929,12 @@ const Yh = {
7918
7929
  low: { color: "6D8C31", label: "low" },
7919
7930
  unknown: { color: "616161", label: "unknown" }
7920
7931
  // See sample badges in ~/tests/sampleBadges.md. Also included 'info' colouring.
7921
- }, wr = "<!-- OWASP_BADGES_START -->", Qh = "<!-- OWASP_BADGES_END -->";
7922
- async function vl() {
7932
+ }, Sr = "<!-- OWASP_BADGES_START -->", Qh = "<!-- OWASP_BADGES_END -->";
7933
+ async function xl() {
7923
7934
  try {
7924
- Re("Audit Dependencies"), await Li();
7925
- const e = await de("package.json");
7926
- console.log(1111, process.env.OWASP_NVD_API_KEY), await Ie("1️⃣", "owasp-dependency-check", [
7935
+ Ne("Audit Dependencies"), await Oi();
7936
+ const e = await me("package.json");
7937
+ console.log(1111, process.env.OWASP_NVD_API_KEY), await Le("1️⃣", "owasp-dependency-check", [
7927
7938
  "--out",
7928
7939
  "dependency-check-reports",
7929
7940
  "--project",
@@ -7932,30 +7943,30 @@ async function vl() {
7932
7943
  "--nodePackageSkipDevDependencies",
7933
7944
  "--nvdApiKey",
7934
7945
  process.env.OWASP_NVD_API_KEY ?? ""
7935
- ]), await el("2️⃣"), await Ie("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Fe("Dependencies audited.");
7946
+ ]), await el("2️⃣"), await Le("3️⃣ Check using 'npm audit'", "npm", ["audit"]), Ie("Dependencies audited.");
7936
7947
  } catch (e) {
7937
7948
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
7938
7949
  }
7939
7950
  }
7940
7951
  async function el(e) {
7941
- 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 };
7952
+ ie(`${e} Insert OWASP Badge(s) into 'README.md'`);
7953
+ const t = await me("dependency-check-reports/dependency-check-report.json"), i = { critical: 0, high: 0, moderate: 0, low: 0, unknown: 0 };
7943
7954
  for (const o of t.dependencies)
7944
7955
  if (o.vulnerabilities != null)
7945
7956
  for (const w of o.vulnerabilities) {
7946
7957
  const S = w.severity?.toLowerCase() ?? "unknown";
7947
7958
  S in i ? i[S]++ : i.unknown++;
7948
7959
  }
7949
- const r = await tl(i), n = await Pt("./README.md"), u = n.indexOf(wr), h = n.indexOf(Qh);
7960
+ const r = await tl(i), n = await Pt("./README.md"), u = n.indexOf(Sr), h = n.indexOf(Qh);
7950
7961
  if (u === -1 || h === -1) {
7951
7962
  console.error("❌ No OWASP badge markers found in 'README.md'.");
7952
7963
  return;
7953
7964
  }
7954
- const d = r.join(" "), y = n.slice(0, Math.max(0, u + wr.length)) + d + n.slice(Math.max(0, h));
7955
- await Oi("README.md", y), console.info("OWASP audit badge(s) inserted into 'README.md'");
7965
+ const d = r.join(" "), y = n.slice(0, Math.max(0, u + Sr.length)) + d + n.slice(Math.max(0, h));
7966
+ await Ri("README.md", y), console.info("OWASP audit badge(s) inserted into 'README.md'");
7956
7967
  }
7957
7968
  async function tl(e) {
7958
- const t = await de("config.json"), i = [];
7969
+ const t = await me("config.json"), i = [];
7959
7970
  if (Object.values(e).reduce((n, u) => n + u, 0) === 0)
7960
7971
  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
7972
  else
@@ -7967,18 +7978,18 @@ async function tl(e) {
7967
7978
  }
7968
7979
  return i;
7969
7980
  }
7970
- async function xl() {
7981
+ async function gl() {
7971
7982
  try {
7972
- Re("Check Dependencies"), await Ie("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Ie("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), Fe("Dependencies checked.");
7983
+ Ne("Check Dependencies"), await Le("1️⃣ Check using 'npm outdated'", "npm", ["outdated"], !0), await Le("2️⃣ Check using 'npm-check-updates'", "npm-check-updates", ["-i"]), Ie("Dependencies checked.");
7973
7984
  } catch (e) {
7974
7985
  console.error("❌ Error checking dependencies.", e), process.exit(1);
7975
7986
  }
7976
7987
  }
7977
- const Sr = "<!-- DEPENDENCY_LICENSES_START -->", il = "<!-- DEPENDENCY_LICENSES_END -->";
7978
- async function gl(e = [], t = !0) {
7988
+ const Tr = "<!-- DEPENDENCY_LICENSES_START -->", il = "<!-- DEPENDENCY_LICENSES_END -->";
7989
+ async function bl(e = [], t = !0) {
7979
7990
  try {
7980
- Re("Document Dependencies"), await Li();
7981
- const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Vs(new zs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7991
+ Ne("Document Dependencies"), await Oi();
7992
+ const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Pr(new zs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7982
7993
  await Te(
7983
7994
  "1️⃣ Generate 'licenses.json' file",
7984
7995
  "license-report",
@@ -7989,7 +8000,7 @@ async function gl(e = [], t = !0) {
7989
8000
  "license-report-recursive",
7990
8001
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
7991
8002
  "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", [
8003
+ ), await Te("4️⃣ Check 'licenseTree.json' file", "license-report-check", ["--source", "licenses/licenseTree.json", "--output=table", ...i])) : (ie("3️⃣ Skip 'licenses/licenseTree.json' file generate"), ie("4️⃣ Skip 'licenses/licenseTree.json' file check")), await Bh("licenses/downloads"), await Te("5️⃣ Download license files", "license-downloader", [
7993
8004
  "--source",
7994
8005
  "licenses/licenses.json",
7995
8006
  "--licDir",
@@ -7997,21 +8008,21 @@ async function gl(e = [], t = !0) {
7997
8008
  "--githubToken.tokenEnvVar",
7998
8009
  "GITHUB_TOKEN",
7999
8010
  "--download"
8000
- ]), await rl("6️⃣", t), Fe("Dependencies documented.");
8011
+ ]), await rl("6️⃣", t), Ie("Dependencies documented.");
8001
8012
  } catch (i) {
8002
8013
  console.error("❌ Error documenting dependencies.", i), process.exit(1);
8003
8014
  }
8004
8015
  }
8005
8016
  async function rl(e, t) {
8006
- re(`${e} Insert licenses into 'README.md'`);
8007
- const i = await Pt("./README.md"), r = i.indexOf(Sr), n = i.indexOf(il);
8017
+ ie(`${e} Insert licenses into 'README.md'`);
8018
+ const i = await Pt("./README.md"), r = i.indexOf(Tr), n = i.indexOf(il);
8008
8019
  if (r === -1 || n === -1) {
8009
8020
  console.error("❌ No dependency license markers found in 'README.md'.");
8010
8021
  return;
8011
8022
  }
8012
- const u = await de("licenses/licenses.json"), h = await de("licenses/downloads/licenses.ext.json");
8023
+ const u = await me("licenses/licenses.json"), h = await me("licenses/downloads/licenses.ext.json");
8013
8024
  let d = [];
8014
- t && (d = await de("licenses/licenseTree.json"));
8025
+ t && (d = await me("licenses/licenseTree.json"));
8015
8026
  const y = [
8016
8027
  ...(() => {
8017
8028
  const S = /* @__PURE__ */ new Map();
@@ -8033,14 +8044,14 @@ async function rl(e, t) {
8033
8044
  `;
8034
8045
  for (const S of y) {
8035
8046
  const A = S.installedVersion === S.remoteVersion ? S.installedVersion : `${S.installedVersion} ⚠️`, F = S.latestRemoteModified ? sl(S.latestRemoteModified.split("T")[0]) : "n/a", Z = S.dependencyCount != null && S.dependencyCount >= 0 ? S.dependencyCount : "n/a";
8036
- let le;
8037
- S.licenseFileLink == null || S.licenseFileLink == "" ? le = "⚠️ No license file" : le = `[${S.licenseFileLink.slice(Math.max(0, S.licenseFileLink.lastIndexOf("/") + 1))}](${S.licenseFileLink})`, o += `|${S.name}|${S.licenseType}|${A}|${S.remoteVersion}|${F}|${Z}|${le}|
8047
+ let pe;
8048
+ S.licenseFileLink == null || S.licenseFileLink == "" ? pe = "⚠️ No license file" : pe = `[${S.licenseFileLink.slice(Math.max(0, S.licenseFileLink.lastIndexOf("/") + 1))}](${S.licenseFileLink})`, o += `|${S.name}|${S.licenseType}|${A}|${S.remoteVersion}|${F}|${Z}|${pe}|
8038
8049
  `;
8039
8050
  }
8040
- const w = `${i.slice(0, Math.max(0, r + Sr.length))}
8051
+ const w = `${i.slice(0, Math.max(0, r + Tr.length))}
8041
8052
  ${o}
8042
8053
  ${i.slice(Math.max(0, n))}`;
8043
- await Oi("README.md", w);
8054
+ await Ri("README.md", w);
8044
8055
  }
8045
8056
  function sl(e) {
8046
8057
  if (e == null || e === "") return "n/a";
@@ -8050,34 +8061,34 @@ function sl(e) {
8050
8061
  let n = (r.getFullYear() - i.getFullYear()) * 12 + (r.getMonth() - i.getMonth());
8051
8062
  return r.getDate() < i.getDate() && (n -= 1), n === 0 ? `this month: ${t}` : n === 1 ? `1 month ago: ${t}` : n <= 6 ? `${n} months ago: ${t}` : n <= 12 ? `${n} months ago: ${t} ⚠️` : `${n} months ago: ${t}❗`;
8052
8063
  }
8053
- async function bl() {
8064
+ async function _l() {
8054
8065
  try {
8055
- Re("Format Code"), await Ie("1️⃣ Format", "prettier", ["--write", "src/"]), Fe("Code formatted.");
8066
+ Ne("Format Code"), await Le("1️⃣ Format", "prettier", ["--write", "src/"]), Ie("Code formatted.");
8056
8067
  } catch (e) {
8057
8068
  console.error("❌ Error formatting code.", e), process.exit(1);
8058
8069
  }
8059
8070
  }
8060
- async function _l() {
8071
+ async function kl() {
8061
8072
  try {
8062
- Re("Lint Code"), await Ie("1️⃣ Lint", "eslint", []), Fe("Code linted.");
8073
+ Ne("Lint Code"), await Le("1️⃣ Lint", "eslint", []), Ie("Code linted.");
8063
8074
  } catch (e) {
8064
8075
  console.error("❌ Error linting code.", e), process.exit(1);
8065
8076
  }
8066
8077
  }
8067
8078
  const nl = ["1️⃣", "2️⃣", "3️⃣", "4️⃣", "5️⃣", "6️⃣", "7️⃣", "8️⃣", "9️⃣"];
8068
- async function kl(e = []) {
8079
+ async function wl(e = []) {
8069
8080
  try {
8070
- Re("Update '@datapos/datapos' Dependencies");
8081
+ Ne("Update '@datapos/datapos' Dependencies");
8071
8082
  for (const [t, i] of e.entries()) {
8072
8083
  const r = nl.at(t) ?? "🔢";
8073
- await Ie(`${r} Update '${i}'`, "npm", ["install", `@datapos/datapos-${i}@latest`]);
8084
+ await Le(`${r} Update '${i}'`, "npm", ["install", `@datapos/datapos-${i}@latest`]);
8074
8085
  }
8075
- Fe("'@datapos/datapos' dependencies updated.");
8086
+ Ie("'@datapos/datapos' dependencies updated.");
8076
8087
  } catch (t) {
8077
8088
  console.error("❌ Error updating '@datapos/datapos' dependencies.", t), process.exit(1);
8078
8089
  }
8079
8090
  }
8080
- async function wl(e) {
8091
+ async function Sl(e) {
8081
8092
  try {
8082
8093
  console.info(`🚀 Building public directory index for identifier '${e}'...`);
8083
8094
  const t = {};
@@ -8088,12 +8099,12 @@ async function wl(e) {
8088
8099
  for (const y of u) {
8089
8100
  const o = `${n}/${y}`;
8090
8101
  try {
8091
- const w = await ge.stat(o);
8102
+ const w = await ae.stat(o);
8092
8103
  if (w.isDirectory()) {
8093
- const S = await ge.readdir(o), A = { childCount: S.length, name: y, typeId: "folder" };
8104
+ const S = await ae.readdir(o), A = { childCount: S.length, name: y, typeId: "folder" };
8094
8105
  h.push(A), await i(o, S);
8095
8106
  } else {
8096
- const S = { id: Ds(), lastModifiedAt: w.mtimeMs, name: y, size: w.size, typeId: "object" };
8107
+ const S = { id: Vs(), lastModifiedAt: w.mtimeMs, name: y, size: w.size, typeId: "object" };
8097
8108
  h.push(S);
8098
8109
  }
8099
8110
  } catch (w) {
@@ -8105,23 +8116,24 @@ async function wl(e) {
8105
8116
  return w === 0 ? y.name.localeCompare(o.name) : w;
8106
8117
  });
8107
8118
  }
8108
- const r = await ge.readdir(`public/${e}`);
8109
- await i(`public/${e}`, r), await ge.writeFile(`./public/${e}Index.json`, JSON.stringify(t), "utf8"), console.info("✅ Public directory index built.");
8119
+ const r = await ae.readdir(`public/${e}`);
8120
+ await i(`public/${e}`, r), await ae.writeFile(`./public/${e}Index.json`, JSON.stringify(t), "utf8"), console.info("✅ Public directory index built.");
8110
8121
  } catch (t) {
8111
8122
  console.error("❌ Error building public directory index.", t);
8112
8123
  }
8113
8124
  }
8114
8125
  export {
8115
- vl as auditDependencies,
8116
- wl as buildDirectoryIndex,
8117
- fl as buildProject,
8118
- xl as checkDependencies,
8119
- gl as documentDependencies,
8120
- bl as formatCode,
8121
- _l as lintCode,
8122
- dl as releaseProject,
8123
- ml as syncProjectWithGitHub,
8124
- yl as testProject,
8125
- kl as updateDataPosDependencies
8126
+ xl as auditDependencies,
8127
+ Sl as buildDirectoryIndex,
8128
+ dl as buildProject,
8129
+ gl as checkDependencies,
8130
+ bl as documentDependencies,
8131
+ _l as formatCode,
8132
+ kl as lintCode,
8133
+ ml as releaseProject,
8134
+ fl as syncEditorConfig,
8135
+ yl as syncProjectWithGitHub,
8136
+ vl as testProject,
8137
+ wl as updateDataPosDependencies
8126
8138
  };
8127
8139
  //# sourceMappingURL=datapos-development.es.js.map