@datapos/datapos-development 0.3.323 → 0.3.326

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.
@@ -2,8 +2,8 @@ import { promises as Ae } from "node:fs";
2
2
  import { nanoid as Ds } from "nanoid";
3
3
  import { promisify as Ms } from "node:util";
4
4
  import { exec as Vs, spawn as zs } from "node:child_process";
5
- import { CONNECTOR_SOURCE_OPERATIONS as js, CONNECTOR_DESTINATION_OPERATIONS as Fs } from "@datapos/datapos-shared";
6
- import { fileURLToPath as $s, URL as Bs } from "node:url";
5
+ import { CONNECTOR_SOURCE_OPERATIONS as js, CONNECTOR_DESTINATION_OPERATIONS as $s } from "@datapos/datapos-shared";
6
+ import { fileURLToPath as Fs, URL as Bs } from "node:url";
7
7
  function k(e, t, i) {
8
8
  function r(d, y) {
9
9
  if (d._zod || Object.defineProperty(d, "_zod", {
@@ -119,7 +119,7 @@ function Je(...e) {
119
119
  }
120
120
  return Object.defineProperties({}, t);
121
121
  }
122
- function Fi(e) {
122
+ function $i(e) {
123
123
  return JSON.stringify(e);
124
124
  }
125
125
  function qs(e) {
@@ -425,7 +425,7 @@ const _i = (e) => (t, i, r, n) => {
425
425
  }, fn = (e) => (t, i, r) => Ut(e)(t, i, r), dn = (e) => async (t, i, r) => {
426
426
  const n = r ? Object.assign(r, { direction: "backward" }) : { direction: "backward" };
427
427
  return qt(e)(t, i, n);
428
- }, mn = (e) => async (t, i, r) => qt(e)(t, i, r), yn = /^[cC][^\s-]{8,}$/, vn = /^[0-9a-z]+$/, xn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, gn = /^[0-9a-vA-V]{20}$/, bn = /^[A-Za-z0-9]{27}$/, _n = /^[a-zA-Z0-9_-]{21}$/, kn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Sn = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, $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)$/, wn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Tn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
428
+ }, mn = (e) => async (t, i, r) => qt(e)(t, i, r), yn = /^[cC][^\s-]{8,}$/, vn = /^[0-9a-z]+$/, xn = /^[0-9A-HJKMNP-TV-Za-hjkmnp-tv-z]{26}$/, gn = /^[0-9a-vA-V]{20}$/, bn = /^[A-Za-z0-9]{27}$/, _n = /^[a-zA-Z0-9_-]{21}$/, kn = /^P(?:(\d+W)|(?!.*W)(?=\d|T\d)(\d+Y)?(\d+M)?(\d+D)?(T(?=\d)(\d+H)?(\d+M)?(\d+([.,]\d+)?S)?)?)$/, Sn = /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$/, Fi = (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)$/, wn = /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, Tn = "^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";
429
429
  function Pn() {
430
430
  return new RegExp(Tn, "u");
431
431
  }
@@ -446,7 +446,7 @@ function Dn(e) {
446
446
  const Mn = (e) => {
447
447
  const t = e ? `[\\s\\S]{${e?.minimum ?? 0},${e?.maximum ?? ""}}` : "[\\s\\S]*";
448
448
  return new RegExp(`^${t}$`);
449
- }, Vn = /^-?\d+$/, zn = /^-?\d+(?:\.\d+)?/, jn = /^(?:true|false)$/i, Fn = /^[^A-Z]*$/, $n = /^[^a-z]*$/, me = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
449
+ }, Vn = /^-?\d+$/, zn = /^-?\d+(?:\.\d+)?/, jn = /^(?:true|false)$/i, $n = /^[^A-Z]*$/, Fn = /^[^a-z]*$/, me = /* @__PURE__ */ k("$ZodCheck", (e, t) => {
450
450
  var i;
451
451
  e._zod ?? (e._zod = {}), e._zod.def = t, (i = e._zod).onattach ?? (i.onattach = []);
452
452
  }), Dr = {
@@ -659,9 +659,9 @@ const Mn = (e) => {
659
659
  });
660
660
  };
661
661
  }), Wn = /* @__PURE__ */ k("$ZodCheckLowerCase", (e, t) => {
662
- t.pattern ?? (t.pattern = Fn), Ht.init(e, t);
663
- }), Kn = /* @__PURE__ */ k("$ZodCheckUpperCase", (e, t) => {
664
662
  t.pattern ?? (t.pattern = $n), Ht.init(e, t);
663
+ }), Kn = /* @__PURE__ */ k("$ZodCheckUpperCase", (e, t) => {
664
+ t.pattern ?? (t.pattern = Fn), Ht.init(e, t);
665
665
  }), Xn = /* @__PURE__ */ k("$ZodCheckIncludes", (e, t) => {
666
666
  me.init(e, t);
667
667
  const i = nt(t.includes), r = new RegExp(typeof t.position == "number" ? `^.{${t.position}}${i}` : i);
@@ -766,12 +766,12 @@ const ta = {
766
766
  continue;
767
767
  } else if (o)
768
768
  continue;
769
- const A = h.issues.length, F = w._zod.check(h);
770
- if (F instanceof Promise && y?.async === !1)
769
+ const A = h.issues.length, $ = w._zod.check(h);
770
+ if ($ instanceof Promise && y?.async === !1)
771
771
  throw new rt();
772
- if (S || F instanceof Promise)
772
+ if (S || $ instanceof Promise)
773
773
  S = (S ?? Promise.resolve()).then(async () => {
774
- await F, h.issues.length !== A && (o || (o = tt(h, A)));
774
+ await $, h.issues.length !== A && (o || (o = tt(h, A)));
775
775
  });
776
776
  else {
777
777
  if (h.issues.length === A)
@@ -851,9 +851,9 @@ const ta = {
851
851
  }[t.version];
852
852
  if (r === void 0)
853
853
  throw new Error(`Invalid UUID version: "${t.version}"`);
854
- t.pattern ?? (t.pattern = $i(r));
854
+ t.pattern ?? (t.pattern = Fi(r));
855
855
  } else
856
- t.pattern ?? (t.pattern = $i());
856
+ t.pattern ?? (t.pattern = Fi());
857
857
  W.init(e, t);
858
858
  }), sa = /* @__PURE__ */ k("$ZodEmail", (e, t) => {
859
859
  t.pattern ?? (t.pattern = wn), W.init(e, t);
@@ -1094,7 +1094,7 @@ const Na = /* @__PURE__ */ k("$ZodArray", (e, t) => {
1094
1094
  function Mt(e, t, i, r) {
1095
1095
  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;
1096
1096
  }
1097
- function Fr(e) {
1097
+ function $r(e) {
1098
1098
  const t = Object.keys(e.shape);
1099
1099
  for (const r of t)
1100
1100
  if (!e.shape?.[r]?._zod?.traits?.has("$ZodType"))
@@ -1108,7 +1108,7 @@ function Fr(e) {
1108
1108
  optionalKeys: new Set(i)
1109
1109
  };
1110
1110
  }
1111
- function $r(e, t, i, r, n, u) {
1111
+ function Fr(e, t, i, r, n, u) {
1112
1112
  const h = [], d = n.keySet, y = n.catchall._zod, o = y.def.type;
1113
1113
  for (const S in t) {
1114
1114
  if (d.has(S))
@@ -1139,7 +1139,7 @@ const La = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1139
1139
  }
1140
1140
  });
1141
1141
  }
1142
- const r = vi(() => Fr(t));
1142
+ const r = vi(() => $r(t));
1143
1143
  U(e._zod, "propValues", () => {
1144
1144
  const d = t.shape, y = {};
1145
1145
  for (const o in d) {
@@ -1170,24 +1170,24 @@ const La = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1170
1170
  const Z = w[A]._zod.run({ value: o[A], issues: [] }, y);
1171
1171
  Z instanceof Promise ? S.push(Z.then((le) => Mt(le, d, A, o))) : Mt(Z, d, A, o);
1172
1172
  }
1173
- return u ? $r(S, o, d, y, r.value, e) : S.length ? Promise.all(S).then(() => d) : d;
1173
+ return u ? Fr(S, o, d, y, r.value, e) : S.length ? Promise.all(S).then(() => d) : d;
1174
1174
  };
1175
1175
  }), Oa = /* @__PURE__ */ k("$ZodObjectJIT", (e, t) => {
1176
1176
  La.init(e, t);
1177
- const i = e._zod.parse, r = vi(() => Fr(t)), n = (A) => {
1178
- const F = new ea(["shape", "payload", "ctx"]), Z = r.value, le = (Ce) => {
1179
- const be = Fi(Ce);
1177
+ const i = e._zod.parse, r = vi(() => $r(t)), n = (A) => {
1178
+ const $ = new ea(["shape", "payload", "ctx"]), Z = r.value, le = (Ce) => {
1179
+ const be = $i(Ce);
1180
1180
  return `shape[${be}]._zod.run({ value: input[${be}], issues: [] }, ctx)`;
1181
1181
  };
1182
- F.write("const input = payload.value;");
1182
+ $.write("const input = payload.value;");
1183
1183
  const D = /* @__PURE__ */ Object.create(null);
1184
1184
  let se = 0;
1185
1185
  for (const Ce of Z.keys)
1186
1186
  D[Ce] = `key_${se++}`;
1187
- F.write("const newResult = {};");
1187
+ $.write("const newResult = {};");
1188
1188
  for (const Ce of Z.keys) {
1189
- const be = D[Ce], Ke = Fi(Ce);
1190
- F.write(`const ${be} = ${le(Ce)};`), F.write(`
1189
+ const be = D[Ce], Ke = $i(Ce);
1190
+ $.write(`const ${be} = ${le(Ce)};`), $.write(`
1191
1191
  if (${be}.issues.length) {
1192
1192
  payload.issues = payload.issues.concat(${be}.issues.map(iss => ({
1193
1193
  ...iss,
@@ -1206,17 +1206,17 @@ const La = /* @__PURE__ */ k("$ZodObject", (e, t) => {
1206
1206
 
1207
1207
  `);
1208
1208
  }
1209
- F.write("payload.value = newResult;"), F.write("return payload;");
1210
- const ft = F.compile();
1209
+ $.write("payload.value = newResult;"), $.write("return payload;");
1210
+ const ft = $.compile();
1211
1211
  return (Ce, be) => ft(A, Ce, be);
1212
1212
  };
1213
1213
  let u;
1214
1214
  const h = Dt, d = !Pr.jitless, o = d && Hs.value, S = t.catchall;
1215
1215
  let w;
1216
- e._zod.parse = (A, F) => {
1216
+ e._zod.parse = (A, $) => {
1217
1217
  w ?? (w = r.value);
1218
1218
  const Z = A.value;
1219
- return h(Z) ? d && o && F?.async === !1 && F.jitless !== !0 ? (u || (u = n(t.shape)), A = u(A, F), S ? $r([], Z, A, F, w, e) : A) : i(A, F) : (A.issues.push({
1219
+ return h(Z) ? d && o && $?.async === !1 && $.jitless !== !0 ? (u || (u = n(t.shape)), A = u(A, $), S ? Fr([], Z, A, $, w, e) : A) : i(A, $) : (A.issues.push({
1220
1220
  expected: "object",
1221
1221
  code: "invalid_type",
1222
1222
  input: Z,
@@ -1414,7 +1414,7 @@ const Ma = /* @__PURE__ */ k("$ZodRecord", (e, t) => {
1414
1414
  function qi(e, t) {
1415
1415
  return e.issues.length && t === void 0 ? { issues: [], value: void 0 } : e;
1416
1416
  }
1417
- const Fa = /* @__PURE__ */ k("$ZodOptional", (e, t) => {
1417
+ const $a = /* @__PURE__ */ k("$ZodOptional", (e, t) => {
1418
1418
  Y.init(e, t), e._zod.optin = "optional", e._zod.optout = "optional", U(e._zod, "values", () => t.innerType._zod.values ? /* @__PURE__ */ new Set([...t.innerType._zod.values, void 0]) : void 0), U(e._zod, "pattern", () => {
1419
1419
  const i = t.innerType._zod.pattern;
1420
1420
  return i ? new RegExp(`^(${gi(i.source)})?$`) : void 0;
@@ -1425,7 +1425,7 @@ const Fa = /* @__PURE__ */ k("$ZodOptional", (e, t) => {
1425
1425
  }
1426
1426
  return i.value === void 0 ? i : t.innerType._zod.run(i, r);
1427
1427
  };
1428
- }), $a = /* @__PURE__ */ k("$ZodNullable", (e, t) => {
1428
+ }), Fa = /* @__PURE__ */ k("$ZodNullable", (e, t) => {
1429
1429
  Y.init(e, t), U(e._zod, "optin", () => t.innerType._zod.optin), U(e._zod, "optout", () => t.innerType._zod.optout), U(e._zod, "pattern", () => {
1430
1430
  const i = t.innerType._zod.pattern;
1431
1431
  return i ? new RegExp(`^(${gi(i.source)}|null)$`) : void 0;
@@ -1971,7 +1971,7 @@ function zo() {
1971
1971
  function jo() {
1972
1972
  return ct((e) => qs(e));
1973
1973
  }
1974
- function Fo(e, t, i) {
1974
+ function $o(e, t, i) {
1975
1975
  return new e({
1976
1976
  type: "array",
1977
1977
  element: t,
@@ -1981,7 +1981,7 @@ function Fo(e, t, i) {
1981
1981
  ...R(i)
1982
1982
  });
1983
1983
  }
1984
- function $o(e, t, i) {
1984
+ function Fo(e, t, i) {
1985
1985
  return new e({
1986
1986
  type: "custom",
1987
1987
  check: "custom",
@@ -2166,7 +2166,7 @@ const Du = /* @__PURE__ */ k("ZodArray", (e, t) => {
2166
2166
  Na.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
2167
  });
2168
2168
  function He(e, t) {
2169
- return Fo(Du, e, t);
2169
+ return $o(Du, e, t);
2170
2170
  }
2171
2171
  const Mu = /* @__PURE__ */ k("ZodObject", (e, t) => {
2172
2172
  Oa.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: Ru() }), e.strip = () => e.clone({ ...e._zod.def, catchall: void 0 }), e.extend = (i) => Ys(e, i), e.safeExtend = (i) => Qs(e, i), e.merge = (i) => en(e, i), e.pick = (i) => Xs(e, i), e.omit = (i) => Js(e, i), e.partial = (...i) => tn(Hr, e, i[0]), e.required = (...i) => rn(Gr, e, i[0]);
@@ -2199,11 +2199,11 @@ function ju(e, t) {
2199
2199
  right: t
2200
2200
  });
2201
2201
  }
2202
- const Fu = /* @__PURE__ */ k("ZodRecord", (e, t) => {
2202
+ const $u = /* @__PURE__ */ k("ZodRecord", (e, t) => {
2203
2203
  Ma.init(e, t), ee.init(e, t), e.keyType = t.keyType, e.valueType = t.valueType;
2204
2204
  });
2205
2205
  function ge(e, t, i) {
2206
- return new Fu({
2206
+ return new $u({
2207
2207
  type: "record",
2208
2208
  keyType: e,
2209
2209
  valueType: t,
@@ -2249,7 +2249,7 @@ function Gt(e, t) {
2249
2249
  ...R(t)
2250
2250
  });
2251
2251
  }
2252
- const $u = /* @__PURE__ */ k("ZodLiteral", (e, t) => {
2252
+ const Fu = /* @__PURE__ */ k("ZodLiteral", (e, t) => {
2253
2253
  za.init(e, t), ee.init(e, t), e.values = new Set(t.values), Object.defineProperty(e, "value", {
2254
2254
  get() {
2255
2255
  if (t.values.length > 1)
@@ -2259,7 +2259,7 @@ const $u = /* @__PURE__ */ k("ZodLiteral", (e, t) => {
2259
2259
  });
2260
2260
  });
2261
2261
  function b(e, t) {
2262
- return new $u({
2262
+ return new Fu({
2263
2263
  type: "literal",
2264
2264
  values: Array.isArray(e) ? e : [e],
2265
2265
  ...R(t)
@@ -2288,7 +2288,7 @@ function Zu(e) {
2288
2288
  });
2289
2289
  }
2290
2290
  const Hr = /* @__PURE__ */ k("ZodOptional", (e, t) => {
2291
- Fa.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2291
+ $a.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2292
2292
  });
2293
2293
  function sr(e) {
2294
2294
  return new Hr({
@@ -2297,7 +2297,7 @@ function sr(e) {
2297
2297
  });
2298
2298
  }
2299
2299
  const Uu = /* @__PURE__ */ k("ZodNullable", (e, t) => {
2300
- $a.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2300
+ Fa.init(e, t), ee.init(e, t), e.unwrap = () => e._zod.def.innerType;
2301
2301
  });
2302
2302
  function nr(e) {
2303
2303
  return new Uu({
@@ -2373,7 +2373,7 @@ const tc = /* @__PURE__ */ k("ZodCustom", (e, t) => {
2373
2373
  Wa.init(e, t), ee.init(e, t);
2374
2374
  });
2375
2375
  function ic(e, t = {}) {
2376
- return $o(tc, e, t);
2376
+ return Fo(tc, e, t);
2377
2377
  }
2378
2378
  function rc(e) {
2379
2379
  return Bo(e);
@@ -2581,9 +2581,9 @@ const sc = ["amber", "green", "red", "other"], nc = Gt(sc), ac = ["alpha", "beta
2581
2581
  }), zc = ae([b("app"), b("engine"), b("connector"), b("context"), b("presenter"), b("tool")]), jc = Vc.extend({
2582
2582
  typeId: zc,
2583
2583
  version: O()
2584
- }), Fc = ae([b("list"), b("render"), b("setColorMode")]), $c = jc.extend({
2584
+ }), $c = ae([b("list"), b("render"), b("setColorMode")]), Fc = jc.extend({
2585
2585
  presentations: He(Mc),
2586
- operations: He(Fc),
2586
+ operations: He($c),
2587
2587
  typeId: b("presenter")
2588
2588
  });
2589
2589
  var Bc = [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], Zc = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-ᫎᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", Xr = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-ࢎࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೝೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꟍꟐꟑꟓꟕ-Ƛꟲ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", si = {
@@ -2619,7 +2619,7 @@ function _e(e, t) {
2619
2619
  return new z(e, { beforeExpr: !0, binop: t });
2620
2620
  }
2621
2621
  var ke = { beforeExpr: !0 }, fe = { startsExpr: !0 }, at = {};
2622
- function $(e, t) {
2622
+ function F(e, t) {
2623
2623
  return t === void 0 && (t = {}), t.keyword = e, at[e] = new z(e, t);
2624
2624
  }
2625
2625
  var l = {
@@ -2680,41 +2680,41 @@ var l = {
2680
2680
  starstar: new z("**", { beforeExpr: !0 }),
2681
2681
  coalesce: _e("??", 1),
2682
2682
  // Keyword token types.
2683
- _break: $("break"),
2684
- _case: $("case", ke),
2685
- _catch: $("catch"),
2686
- _continue: $("continue"),
2687
- _debugger: $("debugger"),
2688
- _default: $("default", ke),
2689
- _do: $("do", { isLoop: !0, beforeExpr: !0 }),
2690
- _else: $("else", ke),
2691
- _finally: $("finally"),
2692
- _for: $("for", { isLoop: !0 }),
2693
- _function: $("function", fe),
2694
- _if: $("if"),
2695
- _return: $("return", ke),
2696
- _switch: $("switch"),
2697
- _throw: $("throw", ke),
2698
- _try: $("try"),
2699
- _var: $("var"),
2700
- _const: $("const"),
2701
- _while: $("while", { isLoop: !0 }),
2702
- _with: $("with"),
2703
- _new: $("new", { beforeExpr: !0, startsExpr: !0 }),
2704
- _this: $("this", fe),
2705
- _super: $("super", fe),
2706
- _class: $("class", fe),
2707
- _extends: $("extends", ke),
2708
- _export: $("export"),
2709
- _import: $("import", fe),
2710
- _null: $("null", fe),
2711
- _true: $("true", fe),
2712
- _false: $("false", fe),
2713
- _in: $("in", { beforeExpr: !0, binop: 7 }),
2714
- _instanceof: $("instanceof", { beforeExpr: !0, binop: 7 }),
2715
- _typeof: $("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2716
- _void: $("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2717
- _delete: $("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2683
+ _break: F("break"),
2684
+ _case: F("case", ke),
2685
+ _catch: F("catch"),
2686
+ _continue: F("continue"),
2687
+ _debugger: F("debugger"),
2688
+ _default: F("default", ke),
2689
+ _do: F("do", { isLoop: !0, beforeExpr: !0 }),
2690
+ _else: F("else", ke),
2691
+ _finally: F("finally"),
2692
+ _for: F("for", { isLoop: !0 }),
2693
+ _function: F("function", fe),
2694
+ _if: F("if"),
2695
+ _return: F("return", ke),
2696
+ _switch: F("switch"),
2697
+ _throw: F("throw", ke),
2698
+ _try: F("try"),
2699
+ _var: F("var"),
2700
+ _const: F("const"),
2701
+ _while: F("while", { isLoop: !0 }),
2702
+ _with: F("with"),
2703
+ _new: F("new", { beforeExpr: !0, startsExpr: !0 }),
2704
+ _this: F("this", fe),
2705
+ _super: F("super", fe),
2706
+ _class: F("class", fe),
2707
+ _extends: F("extends", ke),
2708
+ _export: F("export"),
2709
+ _import: F("import", fe),
2710
+ _null: F("null", fe),
2711
+ _true: F("true", fe),
2712
+ _false: F("false", fe),
2713
+ _in: F("in", { beforeExpr: !0, binop: 7 }),
2714
+ _instanceof: F("instanceof", { beforeExpr: !0, binop: 7 }),
2715
+ _typeof: F("typeof", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2716
+ _void: F("void", { beforeExpr: !0, prefix: !0, startsExpr: !0 }),
2717
+ _delete: F("delete", { beforeExpr: !0, prefix: !0, startsExpr: !0 })
2718
2718
  }, ce = /\r\n?|\n|\u2028|\u2029/, Jr = new RegExp(ce.source, "g");
2719
2719
  function Ye(e) {
2720
2720
  return e === 10 || e === 13 || e === 8232 || e === 8233;
@@ -3320,7 +3320,7 @@ I.parseClassElement = function(e) {
3320
3320
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? h = y : r = y);
3321
3321
  }
3322
3322
  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) {
3323
- var o = !i.static && Ft(i, "constructor"), S = o && e;
3323
+ var o = !i.static && $t(i, "constructor"), S = o && e;
3324
3324
  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, S);
3325
3325
  } else
3326
3326
  this.parseClassField(i);
@@ -3334,12 +3334,12 @@ I.parseClassElementName = function(e) {
3334
3334
  };
3335
3335
  I.parseClassMethod = function(e, t, i, r) {
3336
3336
  var n = e.key;
3337
- 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");
3337
+ 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");
3338
3338
  var u = e.value = this.parseMethod(t, i, r);
3339
3339
  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");
3340
3340
  };
3341
3341
  I.parseClassField = function(e) {
3342
- 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(St | Wt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3342
+ 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(St | Wt), e.value = this.parseMaybeAssign(), this.exitScope()) : e.value = null, this.semicolon(), this.finishNode(e, "PropertyDefinition");
3343
3343
  };
3344
3344
  I.parseClassStaticBlock = function(e) {
3345
3345
  e.body = [];
@@ -3372,7 +3372,7 @@ function ih(e, t) {
3372
3372
  var i = t.key.name, r = e[i], n = "true";
3373
3373
  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);
3374
3374
  }
3375
- function Ft(e, t) {
3375
+ function $t(e, t) {
3376
3376
  var i = e.computed, r = e.key;
3377
3377
  return !i && (r.type === "Identifier" && r.name === t || r.type === "Literal" && r.value === t);
3378
3378
  }
@@ -3923,12 +3923,12 @@ M.parseSubscript = function(e, t, i, r, n, u, h) {
3923
3923
  var S = this.startNodeAt(t, i);
3924
3924
  S.object = e, o ? (S.property = this.parseExpression(), this.expect(l.bracketR)) : this.type === l.privateId && e.type !== "Super" ? S.property = this.parsePrivateIdent() : S.property = this.parseIdent(this.options.allowReserved !== "never"), S.computed = !!o, d && (S.optional = y), e = this.finishNode(S, "MemberExpression");
3925
3925
  } else if (!r && this.eat(l.parenL)) {
3926
- var w = new Xt(), A = this.yieldPos, F = this.awaitPos, Z = this.awaitIdentPos;
3926
+ var w = new Xt(), A = this.yieldPos, $ = this.awaitPos, Z = this.awaitIdentPos;
3927
3927
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
3928
3928
  var le = this.parseExprList(l.parenR, this.options.ecmaVersion >= 8, !1, w);
3929
3929
  if (n && !y && this.shouldParseAsyncArrow())
3930
- return this.checkPatternErrors(w, !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
- this.checkExpressionErrors(w, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = F || this.awaitPos, this.awaitIdentPos = Z || this.awaitIdentPos;
3930
+ return this.checkPatternErrors(w, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = A, this.awaitPos = $, this.awaitIdentPos = Z, this.parseSubscriptAsyncArrow(t, i, le, h);
3931
+ this.checkExpressionErrors(w, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = $ || this.awaitPos, this.awaitIdentPos = Z || this.awaitIdentPos;
3932
3932
  var D = this.startNodeAt(t, i);
3933
3933
  D.callee = e, D.arguments = le, d && (D.optional = y), e = this.finishNode(D, "CallExpression");
3934
3934
  } else if (this.type === l.backQuote) {
@@ -4031,7 +4031,7 @@ M.parseParenAndDistinguishExpression = function(e, t) {
4031
4031
  var i = this.start, r = this.startLoc, n, u = this.options.ecmaVersion >= 8;
4032
4032
  if (this.options.ecmaVersion >= 6) {
4033
4033
  this.next();
4034
- var h = this.start, d = this.startLoc, y = [], o = !0, S = !1, w = new Xt(), A = this.yieldPos, F = this.awaitPos, Z;
4034
+ var h = this.start, d = this.startLoc, y = [], o = !0, S = !1, w = new Xt(), A = this.yieldPos, $ = this.awaitPos, Z;
4035
4035
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== l.parenR; )
4036
4036
  if (o ? o = !1 : this.expect(l.comma), u && this.afterTrailingComma(l.parenR, !0)) {
4037
4037
  S = !0;
@@ -4046,8 +4046,8 @@ M.parseParenAndDistinguishExpression = function(e, t) {
4046
4046
  y.push(this.parseMaybeAssign(!1, w, this.parseParenItem));
4047
4047
  var le = this.lastTokEnd, D = this.lastTokEndLoc;
4048
4048
  if (this.expect(l.parenR), e && this.shouldParseArrow(y) && this.eat(l.arrow))
4049
- return this.checkPatternErrors(w, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = A, this.awaitPos = F, this.parseParenArrowList(i, r, y, t);
4050
- (!y.length || S) && this.unexpected(this.lastTokStart), Z && this.unexpected(Z), this.checkExpressionErrors(w, !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];
4049
+ return this.checkPatternErrors(w, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = A, this.awaitPos = $, this.parseParenArrowList(i, r, y, t);
4050
+ (!y.length || S) && this.unexpected(this.lastTokStart), Z && this.unexpected(Z), this.checkExpressionErrors(w, !0), this.yieldPos = A || this.yieldPos, this.awaitPos = $ || this.awaitPos, y.length > 1 ? (n = this.startNodeAt(h, d), n.expressions = y, this.finishNodeAt(n, "SequenceExpression", le, D)) : n = y[0];
4051
4051
  } else
4052
4052
  n = this.parseParenExpression();
4053
4053
  if (this.options.preserveParens) {
@@ -4219,15 +4219,15 @@ M.parseAwait = function(e) {
4219
4219
  var t = this.startNode();
4220
4220
  return this.next(), t.argument = this.parseMaybeUnary(null, !0, !1, e), this.finishNode(t, "AwaitExpression");
4221
4221
  };
4222
- var $t = J.prototype;
4223
- $t.raise = function(e, t) {
4222
+ var Ft = J.prototype;
4223
+ Ft.raise = function(e, t) {
4224
4224
  var i = Ti(this.input, e);
4225
4225
  t += " (" + i.line + ":" + i.column + ")", this.sourceFile && (t += " in " + this.sourceFile);
4226
4226
  var r = new SyntaxError(t);
4227
4227
  throw r.pos = e, r.loc = i, r.raisedAt = this.pos, r;
4228
4228
  };
4229
- $t.raiseRecoverable = $t.raise;
4230
- $t.curPosition = function() {
4229
+ Ft.raiseRecoverable = Ft.raise;
4230
+ Ft.curPosition = function() {
4231
4231
  if (this.options.locations)
4232
4232
  return new ot(this.curLine, this.pos - this.lineStart);
4233
4233
  };
@@ -5903,12 +5903,12 @@ function br(e) {
5903
5903
  function jh(e) {
5904
5904
  var t = {}, i = t.dts, r = i !== void 0 && i, n = t.allowSatisfies, u = n !== void 0 && n;
5905
5905
  return function(h) {
5906
- var d = h.acorn || Ah, y = Ih(d), o = d.tokTypes, S = d.keywordTypes, w = d.isIdentifierStart, A = d.lineBreak, F = d.isNewLine, Z = d.tokContexts, le = d.isIdentifierChar, D = y.tokTypes, se = y.tokContexts, ft = y.keywordsRegExp, Ce = y.tokenIsLiteralPropertyName, be = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Ls = y.tokenIsTSTypeOperator;
5906
+ var d = h.acorn || Ah, y = Ih(d), o = d.tokTypes, S = d.keywordTypes, w = d.isIdentifierStart, A = d.lineBreak, $ = d.isNewLine, Z = d.tokContexts, le = d.isIdentifierChar, D = y.tokTypes, se = y.tokContexts, ft = y.keywordsRegExp, Ce = y.tokenIsLiteralPropertyName, be = y.tokenIsTemplate, Ke = y.tokenIsTSDeclarationStart, q = y.tokenIsIdentifier, Ct = y.tokenIsKeywordOrIdentifier, Ls = y.tokenIsTSTypeOperator;
5907
5907
  function Os(P, pe, oe) {
5908
5908
  oe === void 0 && (oe = P.length);
5909
5909
  for (var te = pe; te < oe; te++) {
5910
5910
  var B = P.charCodeAt(te);
5911
- if (F(B)) return te < oe - 1 && B === 13 && P.charCodeAt(te + 1) === 10 ? te + 2 : te + 1;
5911
+ if ($(B)) return te < oe - 1 && B === 13 && P.charCodeAt(te + 1) === 10 ? te + 2 : te + 1;
5912
5912
  }
5913
5913
  return -1;
5914
5914
  }
@@ -6260,7 +6260,7 @@ function jh(e) {
6260
6260
  }, f.skipLineComment = function(s) {
6261
6261
  var a, c = this.pos;
6262
6262
  this.isLookahead || (a = this.options.onComment && this.curPosition());
6263
- for (var p = this.input.charCodeAt(this.pos += s); this.pos < this.input.length && !F(p); ) p = this.input.charCodeAt(++this.pos);
6263
+ for (var p = this.input.charCodeAt(this.pos += s); this.pos < this.input.length && !$(p); ) p = this.input.charCodeAt(++this.pos);
6264
6264
  this.isLookahead || this.options.onComment && this.options.onComment(!1, this.input.slice(c + s, this.pos), c, this.pos, a, this.curPosition());
6265
6265
  }, f.finishToken = function(s, a) {
6266
6266
  this.preValue = this.value, this.preToken = this.type, this.end = this.pos, this.options.locations && (this.endLoc = this.curPosition());
@@ -7259,11 +7259,11 @@ function jh(e) {
7259
7259
  }
7260
7260
  if (!((p = V) != null && p.error || this.tsMatchLeftRelational())) return this.parseMaybeAssignOrigin(s, a, c);
7261
7261
  L && !this.compareLookaheadState(L, this.getCurLookaheadState()) || (L = this.cloneCurLookaheadState());
7262
- var ye = this.tryParse(function($e) {
7262
+ var ye = this.tryParse(function(Fe) {
7263
7263
  var dt, mt;
7264
7264
  K = G.tsParseTypeParameters();
7265
7265
  var Be = G.parseMaybeAssignOrigin(s, a, c);
7266
- 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;
7266
+ return (Be.type !== "ArrowFunctionExpression" || (dt = Be.extra) != null && dt.parenthesized) && Fe(), ((mt = K) == null ? void 0 : mt.params.length) !== 0 && G.resetStartLocationFromNode(Be, K), Be.typeParameters = K, Be;
7267
7267
  }, L);
7268
7268
  if (!ye.error && !ye.aborted) return K && this.reportReservedArrowTypeParam(K), ye.node;
7269
7269
  if (!V && (gr(!0), !(E = this.tryParse(function() {
@@ -7413,8 +7413,8 @@ function jh(e) {
7413
7413
  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
7414
  } else c = this.parseParenExpression();
7415
7415
  if (this.options.preserveParens) {
7416
- var $e = this.startNodeAt(p, m);
7417
- return $e.expression = c, this.finishNode($e, "ParenthesizedExpression");
7416
+ var Fe = this.startNodeAt(p, m);
7417
+ return Fe.expression = c, this.finishNode(Fe, "ParenthesizedExpression");
7418
7418
  }
7419
7419
  return c;
7420
7420
  }, f.parseTaggedTemplateExpression = function(s, a, c, p) {
@@ -7485,12 +7485,12 @@ function jh(e) {
7485
7485
  } else if (!p && this.eat(o.parenL)) {
7486
7486
  var ye = this.maybeInArrowParameters;
7487
7487
  this.maybeInArrowParameters = !0;
7488
- var $e = new vt(), dt = this.yieldPos, mt = this.awaitPos, Be = this.awaitIdentPos;
7488
+ var Fe = new vt(), dt = this.yieldPos, mt = this.awaitPos, Be = this.awaitIdentPos;
7489
7489
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
7490
- var Ri = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, $e);
7491
- 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);
7490
+ var Ri = this.parseExprList(o.parenR, this.options.ecmaVersion >= 8, !1, Fe);
7491
+ if (m && !G && this.shouldParseAsyncArrow()) this.checkPatternErrors(Fe, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = dt, this.awaitPos = mt, this.awaitIdentPos = Be, s = this.parseSubscriptAsyncArrow(a, c, Ri, x);
7492
7492
  else {
7493
- this.checkExpressionErrors($e, !0), this.yieldPos = dt || this.yieldPos, this.awaitPos = mt || this.awaitPos, this.awaitIdentPos = Be || this.awaitIdentPos;
7493
+ this.checkExpressionErrors(Fe, !0), this.yieldPos = dt || this.yieldPos, this.awaitPos = mt || this.awaitPos, this.awaitIdentPos = Be || this.awaitIdentPos;
7494
7494
  var At = this.startNodeAt(a, c);
7495
7495
  At.callee = s, At.arguments = Ri, K && (At.optional = G), s = this.finishNode(At, "CallExpression");
7496
7496
  }
@@ -7649,7 +7649,7 @@ function jh(e) {
7649
7649
  return Rs;
7650
7650
  };
7651
7651
  }
7652
- const Fh = Ms(Vs);
7652
+ const $h = Ms(Vs);
7653
7653
  function Ni(e) {
7654
7654
  const i = J.extend(jh()).parse(e, {
7655
7655
  ecmaVersion: "latest",
@@ -7667,10 +7667,10 @@ function Ni(e) {
7667
7667
  async function we(e, t, i = [], r) {
7668
7668
  const n = `${t} ${i.join(" ")}`;
7669
7669
  e !== void 0 && re(`${e} - exec(${n})`);
7670
- const { stdout: u, stderr: h } = await Fh(n);
7670
+ const { stdout: u, stderr: h } = await $h(n);
7671
7671
  r === void 0 ? u.trim() && console.log(u.trim()) : await Ae.writeFile(r, u.trim(), "utf8"), h.trim() && console.error(h.trim());
7672
7672
  }
7673
- async function $h(e, t) {
7673
+ async function Fh(e, t) {
7674
7674
  return Ae.readdir(e, t);
7675
7675
  }
7676
7676
  async function Li() {
@@ -7681,7 +7681,7 @@ function Re(e) {
7681
7681
  console.info(`
7682
7682
  ${t}${r}`), console.info(`▶️ ${e}`), console.info(`${r}${i}`);
7683
7683
  }
7684
- function Fe(e) {
7684
+ function $e(e) {
7685
7685
  console.info(`
7686
7686
  ✅ ${e}
7687
7687
  `);
@@ -7749,7 +7749,7 @@ async function _r(e) {
7749
7749
  async function kr(e, t) {
7750
7750
  const i = `v${e.version}`;
7751
7751
  async function r(n, u = "") {
7752
- const h = await $h(n, { withFileTypes: !0 });
7752
+ const h = await Fh(n, { withFileTypes: !0 });
7753
7753
  for (const d of h) {
7754
7754
  const y = `${n}/${d.name}`, o = u ? `${u}/${d.name}` : d.name;
7755
7755
  if (d.isDirectory()) continue;
@@ -7773,7 +7773,7 @@ const Uh = [
7773
7773
  ];
7774
7774
  async function hl() {
7775
7775
  try {
7776
- Re("Build Project"), await Ie("1️⃣ Bundle project", "vite", ["build"]), Fe("Project built.");
7776
+ Re("Build Project"), await Ie("1️⃣ Bundle project", "vite", ["build"]), $e("Project built.");
7777
7777
  } catch (e) {
7778
7778
  console.error("❌ Error building project.", e), process.exit(1);
7779
7779
  }
@@ -7819,7 +7819,7 @@ async function ll() {
7819
7819
  }
7820
7820
  } else
7821
7821
  re(`8️⃣ Publishing NOT required for package with type identifier of '${i.typeId}'.`);
7822
- Fe(`Project version '${e.version}' released.`);
7822
+ $e(`Project version '${e.version}' released.`);
7823
7823
  } catch (e) {
7824
7824
  console.error("❌ Error releasing project.", e), process.exit(1);
7825
7825
  }
@@ -7828,7 +7828,7 @@ async function pl() {
7828
7828
  try {
7829
7829
  Re("Synchronise Project with GitHub");
7830
7830
  const e = await de("package.json");
7831
- re("Bump project version"), await Ns("1️⃣", e), await we("2️⃣ Stage changes", "git", ["add", "."]), await we("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await we("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), Fe(`Project version '${e.version}' synchronised with GitHub.`);
7831
+ re("Bump project version"), await Ns("1️⃣", e), await we("2️⃣ Stage changes", "git", ["add", "."]), await we("3️⃣ Commit changes", "git", ["commit", "-m", `"v${e.version}"`]), await we("4️⃣ Push changes", "git", ["push", "origin", "main:main"]), $e(`Project version '${e.version}' synchronised with GitHub.`);
7832
7832
  } catch (e) {
7833
7833
  console.error("❌ Error synchronising project with GitHub.", e), process.exit(1);
7834
7834
  }
@@ -7869,7 +7869,7 @@ async function Gh(e, t) {
7869
7869
  }
7870
7870
  async function Wh(e, t) {
7871
7871
  re(`${e} Build presenter project configuration`);
7872
- const [i, r] = await Promise.all([de("config.json"), Pt("src/index.ts")]), n = $c.safeParse(i);
7872
+ const [i, r] = await Promise.all([de("config.json"), Pt("src/index.ts")]), n = Fc.safeParse(i);
7873
7873
  if (!n.success) {
7874
7874
  console.log("❌ Configuration is invalid:"), console.table(n.error.issues);
7875
7875
  return;
@@ -7888,7 +7888,7 @@ async function Ns(e, t, i = "./") {
7888
7888
  function Kh(e) {
7889
7889
  let t = !1, i = !1;
7890
7890
  for (const r of e)
7891
- js.includes(r) && (t = !0), Fs.includes(r) && (i = !0);
7891
+ js.includes(r) && (t = !0), $s.includes(r) && (i = !0);
7892
7892
  return t && i ? "bidirectional" : t ? "source" : i ? "destination" : "unknown";
7893
7893
  }
7894
7894
  const Xh = {
@@ -7912,7 +7912,7 @@ async function dl() {
7912
7912
  "--nodePackageSkipDevDependencies",
7913
7913
  "--nvdApiKey",
7914
7914
  process.env.OWASP_NVD_API_KEY ?? ""
7915
- ]), await Yh("2️⃣"), await Ie("3️⃣ Check using 'npm outdated'", "npm", ["audit"]), Fe("Dependencies audited.");
7915
+ ]), await Yh("2️⃣"), await Ie("3️⃣ Check using 'npm outdated'", "npm", ["audit"]), $e("Dependencies audited.");
7916
7916
  } catch (e) {
7917
7917
  console.error("❌ Error auditing dependencies.", e), process.exit(1);
7918
7918
  }
@@ -7949,7 +7949,7 @@ async function Qh(e) {
7949
7949
  }
7950
7950
  async function ml() {
7951
7951
  try {
7952
- 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.");
7952
+ 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"]), $e("Dependencies checked.");
7953
7953
  } catch (e) {
7954
7954
  console.error("❌ Error checking dependencies.", e), process.exit(1);
7955
7955
  }
@@ -7958,7 +7958,7 @@ const wr = "<!-- DEPENDENCY_LICENSES_START -->", el = "<!-- DEPENDENCY_LICENSES_
7958
7958
  async function yl(e = [], t = !0) {
7959
7959
  try {
7960
7960
  Re("Document Dependencies"), await Li();
7961
- const i = e.flatMap((n) => ["--allowed", n]), r = $s(new Bs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7961
+ const i = e.flatMap((n) => ["--allowed", `'${n}'`]), r = Fs(new Bs(import.meta.resolve("@datapos/datapos-development/license-report-config")));
7962
7962
  await we(
7963
7963
  "1️⃣ Generate 'licenses.json' file",
7964
7964
  "license-report",
@@ -7969,7 +7969,7 @@ async function yl(e = [], t = !0) {
7969
7969
  "license-report-recursive",
7970
7970
  ["--only=prod,peer", "--output=tree", "--recurse", "--department.value=n/a", "--licensePeriod.value=n/a", "--material.value=n/a", "--relatedTo.value=n/a"],
7971
7971
  "licenses/licenseTree.json"
7972
- ), await we("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 we("5️⃣ Download license files", "license-downloader", ["--source", "licenses/licenses.json", "--licDir", "licenses/downloads", "--download"]), await tl("6️⃣", t), Fe("Dependencies documented.");
7972
+ ), await we("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 we("5️⃣ Download license files", "license-downloader", ["--source", "licenses/licenses.json", "--licDir", "licenses/downloads", "--download"]), await tl("6️⃣", t), $e("Dependencies documented.");
7973
7973
  } catch (i) {
7974
7974
  console.error("❌ Error documenting dependencies.", i), process.exit(1);
7975
7975
  }
@@ -7990,12 +7990,12 @@ async function tl(e, t) {
7990
7990
  for (const A of u)
7991
7991
  w.set(A.name, { ...A });
7992
7992
  for (const A of h) {
7993
- const F = w.get(A.name);
7994
- w.set(A.name, F ? { ...F, ...A } : { ...A });
7993
+ const $ = w.get(A.name);
7994
+ w.set(A.name, $ ? { ...$, ...A } : { ...A });
7995
7995
  }
7996
7996
  for (const A of d) {
7997
- const F = w.get(A.name);
7998
- F && w.set(A.name, { ...F, dependencyCount: A.requires?.length ?? 0 });
7997
+ const $ = w.get(A.name);
7998
+ $ && w.set(A.name, { ...$, dependencyCount: A.requires?.length ?? 0 });
7999
7999
  }
8000
8000
  return w.values();
8001
8001
  })()
@@ -8004,9 +8004,9 @@ async function tl(e, t) {
8004
8004
  |:-|:-|:-:|:-:|:-|-:|:-|
8005
8005
  `;
8006
8006
  for (const w of y) {
8007
- const A = w.installedVersion === w.remoteVersion ? w.installedVersion : `${w.installedVersion} ⚠️`, F = w.latestRemoteModified ? il(w.latestRemoteModified.split("T")[0]) : "n/a", Z = w.dependencyCount != null && w.dependencyCount >= 0 ? w.dependencyCount : "n/a";
8007
+ const A = w.installedVersion === w.remoteVersion ? w.installedVersion : `${w.installedVersion} ⚠️`, $ = w.latestRemoteModified ? il(w.latestRemoteModified.split("T")[0]) : "n/a", Z = w.dependencyCount != null && w.dependencyCount >= 0 ? w.dependencyCount : "n/a";
8008
8008
  let le;
8009
- w.licenseFileLink == null || w.licenseFileLink == "" ? le = "⚠️ No license file" : le = `[${w.licenseFileLink.slice(Math.max(0, w.licenseFileLink.lastIndexOf("/") + 1))}](${w.licenseFileLink})`, o += `|${w.name}|${w.licenseType}|${A}|${w.remoteVersion}|${F}|${Z}|${le}|
8009
+ w.licenseFileLink == null || w.licenseFileLink == "" ? le = "⚠️ No license file" : le = `[${w.licenseFileLink.slice(Math.max(0, w.licenseFileLink.lastIndexOf("/") + 1))}](${w.licenseFileLink})`, o += `|${w.name}|${w.licenseType}|${A}|${w.remoteVersion}|${$}|${Z}|${le}|
8010
8010
  `;
8011
8011
  }
8012
8012
  const S = `${i.slice(0, Math.max(0, r + wr.length))}
@@ -8024,14 +8024,14 @@ function il(e) {
8024
8024
  }
8025
8025
  async function vl() {
8026
8026
  try {
8027
- Re("Format Code"), await Ie("1️⃣ Format", "prettier", ["--write", "src/"]), Fe("Code formatted.");
8027
+ Re("Format Code"), await Ie("1️⃣ Format", "prettier", ["--write", "src/"]), $e("Code formatted.");
8028
8028
  } catch (e) {
8029
8029
  console.error("❌ Error formatting code.", e), process.exit(1);
8030
8030
  }
8031
8031
  }
8032
8032
  async function xl() {
8033
8033
  try {
8034
- Re("Lint Code"), await Ie("1️⃣ Lint", "eslint", []), Fe("Code linted.");
8034
+ Re("Lint Code"), await Ie("1️⃣ Lint", "eslint", []), $e("Code linted.");
8035
8035
  } catch (e) {
8036
8036
  console.error("❌ Error linting code.", e), process.exit(1);
8037
8037
  }
@@ -8044,7 +8044,7 @@ async function gl(e = []) {
8044
8044
  const r = rl.at(t) ?? "🔢";
8045
8045
  await Ie(`${r} Update '${i}'`, "npm", ["install", `@datapos/datapos-${i}@latest`]);
8046
8046
  }
8047
- Fe("'@datapos/datapos' dependencies updated.");
8047
+ $e("'@datapos/datapos' dependencies updated.");
8048
8048
  } catch (t) {
8049
8049
  console.error("❌ Error updating '@datapos/datapos' dependencies.", t), process.exit(1);
8050
8050
  }