@illuma-ai/codeviz 1.0.4 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -19,16 +19,16 @@ function G1(e, t, r) {
19
19
  function X1(e, t) {
20
20
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
21
21
  if (r != null) {
22
- var s, i, o, c, u = [], f = !0, p = !1;
22
+ var s, i, o, c, u = [], p = !0, f = !1;
23
23
  try {
24
- if (o = (r = r.call(e)).next, t !== 0) for (; !(f = (s = o.call(r)).done) && (u.push(s.value), u.length !== t); f = !0) ;
24
+ if (o = (r = r.call(e)).next, t !== 0) for (; !(p = (s = o.call(r)).done) && (u.push(s.value), u.length !== t); p = !0) ;
25
25
  } catch (m) {
26
- p = !0, i = m;
26
+ f = !0, i = m;
27
27
  } finally {
28
28
  try {
29
- if (!f && r.return != null && (c = r.return(), Object(c) !== c)) return;
29
+ if (!p && r.return != null && (c = r.return(), Object(c) !== c)) return;
30
30
  } finally {
31
- if (p) throw i;
31
+ if (f) throw i;
32
32
  }
33
33
  }
34
34
  return u;
@@ -144,8 +144,8 @@ function Gr(e) {
144
144
  for (var r = this, s = arguments.length, i = new Array(s), o = 0; o < s; o++)
145
145
  i[o] = arguments[o];
146
146
  return i.length >= e.length ? e.apply(this, i) : function() {
147
- for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
148
- u[f] = arguments[f];
147
+ for (var c = arguments.length, u = new Array(c), p = 0; p < c; p++)
148
+ u[p] = arguments[p];
149
149
  return t.apply(r, [].concat(i, u));
150
150
  };
151
151
  };
@@ -204,15 +204,15 @@ function pc(e) {
204
204
  current: e
205
205
  }, s = Gr(mc)(r, t), i = Gr(dc)(r), o = Gr(kn.changes)(e), c = Gr(fc)(r);
206
206
  function u() {
207
- var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(m) {
207
+ var f = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : function(m) {
208
208
  return m;
209
209
  };
210
- return kn.selector(p), p(r.current);
210
+ return kn.selector(f), f(r.current);
211
211
  }
212
- function f(p) {
213
- nc(s, i, o, c)(p);
212
+ function p(f) {
213
+ nc(s, i, o, c)(f);
214
214
  }
215
- return [u, f];
215
+ return [u, p];
216
216
  }
217
217
  function fc(e, t) {
218
218
  return en(t) ? t(e.current) : t;
@@ -238,8 +238,8 @@ function kc(e) {
238
238
  for (var r = this, s = arguments.length, i = new Array(s), o = 0; o < s; o++)
239
239
  i[o] = arguments[o];
240
240
  return i.length >= e.length ? e.apply(this, i) : function() {
241
- for (var c = arguments.length, u = new Array(c), f = 0; f < c; f++)
242
- u[f] = arguments[f];
241
+ for (var c = arguments.length, u = new Array(c), p = 0; p < c; p++)
242
+ u[p] = arguments[p];
243
243
  return t.apply(r, [].concat(i, u));
244
244
  };
245
245
  };
@@ -429,7 +429,7 @@ function Wc(e, t, r, s) {
429
429
  function Sa(e, t) {
430
430
  return e.Uri.parse(t);
431
431
  }
432
- function Gc({ original: e, modified: t, language: r, originalLanguage: s, modifiedLanguage: i, originalModelPath: o, modifiedModelPath: c, keepCurrentOriginalModel: u = !1, keepCurrentModifiedModel: f = !1, theme: p = "light", loading: m = "Loading...", options: x = {}, height: _ = "100%", width: y = "100%", className: N, wrapperProps: O = {}, beforeMount: F = Yr, onMount: re = Yr }) {
432
+ function Gc({ original: e, modified: t, language: r, originalLanguage: s, modifiedLanguage: i, originalModelPath: o, modifiedModelPath: c, keepCurrentOriginalModel: u = !1, keepCurrentModifiedModel: p = !1, theme: f = "light", loading: m = "Loading...", options: x = {}, height: _ = "100%", width: y = "100%", className: N, wrapperProps: O = {}, beforeMount: F = Yr, onMount: re = Yr }) {
433
433
  let [T, D] = ze(!1), [R, q] = ze(!0), z = pe(null), W = pe(null), E = pe(null), U = pe(re), j = pe(F), oe = pe(!1);
434
434
  _a(() => {
435
435
  let H = va.init();
@@ -455,30 +455,30 @@ function Gc({ original: e, modified: t, language: r, originalLanguage: s, modifi
455
455
  W.current.editor.setModelLanguage(H, s || r || "text"), W.current.editor.setModelLanguage(ae, i || r || "text");
456
456
  }, [r, s, i], T), st(() => {
457
457
  var H;
458
- (H = W.current) == null || H.editor.setTheme(p);
459
- }, [p], T), st(() => {
458
+ (H = W.current) == null || H.editor.setTheme(f);
459
+ }, [f], T), st(() => {
460
460
  var H;
461
461
  (H = z.current) == null || H.updateOptions(x);
462
462
  }, [x], T);
463
- let Fe = Xe(() => {
464
- var Re;
463
+ let Oe = Xe(() => {
464
+ var Ae;
465
465
  if (!W.current) return;
466
466
  j.current(W.current);
467
467
  let H = Ir(W.current, e || "", s || r || "text", o || ""), ae = Ir(W.current, t || "", i || r || "text", c || "");
468
- (Re = z.current) == null || Re.setModel({ original: H, modified: ae });
468
+ (Ae = z.current) == null || Ae.setModel({ original: H, modified: ae });
469
469
  }, [r, t, i, e, s, o, c]), Ue = Xe(() => {
470
470
  var H;
471
- !oe.current && E.current && (z.current = W.current.editor.createDiffEditor(E.current, { automaticLayout: !0, ...x }), Fe(), (H = W.current) == null || H.editor.setTheme(p), D(!0), oe.current = !0);
472
- }, [x, p, Fe]);
471
+ !oe.current && E.current && (z.current = W.current.editor.createDiffEditor(E.current, { automaticLayout: !0, ...x }), Oe(), (H = W.current) == null || H.editor.setTheme(f), D(!0), oe.current = !0);
472
+ }, [x, f, Oe]);
473
473
  De(() => {
474
474
  T && U.current(z.current, W.current);
475
475
  }, [T]), De(() => {
476
476
  !R && !T && Ue();
477
477
  }, [R, T, Ue]);
478
478
  function je() {
479
- var ae, Re, fe, Se;
479
+ var ae, Ae, fe, Se;
480
480
  let H = (ae = z.current) == null ? void 0 : ae.getModel();
481
- u || ((Re = H == null ? void 0 : H.original) == null || Re.dispose()), f || ((fe = H == null ? void 0 : H.modified) == null || fe.dispose()), (Se = z.current) == null || Se.dispose();
481
+ u || ((Ae = H == null ? void 0 : H.original) == null || Ae.dispose()), p || ((fe = H == null ? void 0 : H.modified) == null || fe.dispose()), (Se = z.current) == null || Se.dispose();
482
482
  }
483
483
  return Cr.createElement(wa, { width: y, height: _, isEditorReady: T, loading: m, _ref: E, className: N, wrapperProps: O });
484
484
  }
@@ -491,8 +491,8 @@ function Yc(e) {
491
491
  }, [e]), t.current;
492
492
  }
493
493
  var Kc = Yc, bn = /* @__PURE__ */ new Map();
494
- function Qc({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: s, language: i, path: o, theme: c = "light", line: u, loading: f = "Loading...", options: p = {}, overrideServices: m = {}, saveViewState: x = !0, keepCurrentModel: _ = !1, width: y = "100%", height: N = "100%", className: O, wrapperProps: F = {}, beforeMount: re = Yr, onMount: T = Yr, onChange: D, onValidate: R = Yr }) {
495
- let [q, z] = ze(!1), [W, E] = ze(!0), U = pe(null), j = pe(null), oe = pe(null), Fe = pe(T), Ue = pe(re), je = pe(), H = pe(s), ae = Kc(o), Re = pe(!1), fe = pe(!1);
494
+ function Qc({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: s, language: i, path: o, theme: c = "light", line: u, loading: p = "Loading...", options: f = {}, overrideServices: m = {}, saveViewState: x = !0, keepCurrentModel: _ = !1, width: y = "100%", height: N = "100%", className: O, wrapperProps: F = {}, beforeMount: re = Yr, onMount: T = Yr, onChange: D, onValidate: R = Yr }) {
495
+ let [q, z] = ze(!1), [W, E] = ze(!0), U = pe(null), j = pe(null), oe = pe(null), Oe = pe(T), Ue = pe(re), je = pe(), H = pe(s), ae = Kc(o), Ae = pe(!1), fe = pe(!1);
496
496
  _a(() => {
497
497
  let J = va.init();
498
498
  return J.then((ie) => (U.current = ie) && E(!1)).catch((ie) => (ie == null ? void 0 : ie.type) !== "cancelation" && console.error("Monaco initialization: error:", ie)), () => j.current ? ye() : J.cancel();
@@ -502,8 +502,8 @@ function Qc({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: s, lan
502
502
  J !== ((ie = j.current) == null ? void 0 : ie.getModel()) && (x && bn.set(ae, (me = j.current) == null ? void 0 : me.saveViewState()), (Ge = j.current) == null || Ge.setModel(J), x && ((b = j.current) == null || b.restoreViewState(bn.get(o))));
503
503
  }, [o], q), st(() => {
504
504
  var J;
505
- (J = j.current) == null || J.updateOptions(p);
506
- }, [p], q), st(() => {
505
+ (J = j.current) == null || J.updateOptions(f);
506
+ }, [f], q), st(() => {
507
507
  !j.current || s === void 0 || (j.current.getOption(U.current.editor.EditorOption.readOnly) ? j.current.setValue(s) : s !== j.current.getValue() && (fe.current = !0, j.current.executeEdits("", [{ range: j.current.getModel().getFullModelRange(), text: s, forceMoveMarkers: !0 }]), j.current.pushUndoStop(), fe.current = !1));
508
508
  }, [s], q), st(() => {
509
509
  var ie, me;
@@ -518,14 +518,14 @@ function Qc({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: s, lan
518
518
  }, [c], q);
519
519
  let Se = Xe(() => {
520
520
  var J;
521
- if (!(!oe.current || !U.current) && !Re.current) {
521
+ if (!(!oe.current || !U.current) && !Ae.current) {
522
522
  Ue.current(U.current);
523
523
  let ie = o || r, me = Ir(U.current, s || e || "", t || i || "", ie || "");
524
- j.current = (J = U.current) == null ? void 0 : J.editor.create(oe.current, { model: me, automaticLayout: !0, ...p }, m), x && j.current.restoreViewState(bn.get(ie)), U.current.editor.setTheme(c), u !== void 0 && j.current.revealLine(u), z(!0), Re.current = !0;
524
+ j.current = (J = U.current) == null ? void 0 : J.editor.create(oe.current, { model: me, automaticLayout: !0, ...f }, m), x && j.current.restoreViewState(bn.get(ie)), U.current.editor.setTheme(c), u !== void 0 && j.current.revealLine(u), z(!0), Ae.current = !0;
525
525
  }
526
- }, [e, t, r, s, i, o, p, m, x, c, u]);
526
+ }, [e, t, r, s, i, o, f, m, x, c, u]);
527
527
  De(() => {
528
- q && Fe.current(j.current, U.current);
528
+ q && Oe.current(j.current, U.current);
529
529
  }, [q]), De(() => {
530
530
  !W && !q && Se();
531
531
  }, [W, q, Se]), H.current = s, De(() => {
@@ -554,7 +554,7 @@ function Qc({ defaultValue: e, defaultLanguage: t, defaultPath: r, value: s, lan
554
554
  var J, ie;
555
555
  (J = je.current) == null || J.dispose(), _ ? x && bn.set(o, j.current.saveViewState()) : (ie = j.current.getModel()) == null || ie.dispose(), j.current.dispose();
556
556
  }
557
- return Cr.createElement(wa, { width: y, height: N, isEditorReady: q, loading: f, _ref: oe, className: O, wrapperProps: F });
557
+ return Cr.createElement(wa, { width: y, height: N, isEditorReady: q, loading: p, _ref: oe, className: O, wrapperProps: F });
558
558
  }
559
559
  var Jc = Qc, Zc = Nt(Jc), el = Zc;
560
560
  const Ia = Nt(function({
@@ -627,9 +627,9 @@ const Ia = Nt(function({
627
627
  readOnly: o = !1,
628
628
  options: c,
629
629
  editorRef: u,
630
- baseCode: f
630
+ baseCode: p
631
631
  }) {
632
- const p = pe(null), m = pe([]), x = Xe((O) => {
632
+ const f = pe(null), m = pe([]), x = Xe((O) => {
633
633
  const F = O.languages.typescript.typescriptDefaults, re = O.languages.typescript.javascriptDefaults, T = {
634
634
  noSemanticValidation: !0,
635
635
  noSyntaxValidation: !0,
@@ -648,7 +648,7 @@ const Ia = Nt(function({
648
648
  F.setCompilerOptions(D), re.setCompilerOptions(D);
649
649
  }, []), _ = Xe(
650
650
  (O) => {
651
- p.current = O, u && (u.current = O), sl();
651
+ f.current = O, u && (u.current = O), sl();
652
652
  },
653
653
  [u]
654
654
  ), y = Xe(
@@ -658,17 +658,17 @@ const Ia = Nt(function({
658
658
  [s]
659
659
  );
660
660
  De(() => {
661
- const O = p.current;
662
- if (!O || f == null) {
661
+ const O = f.current;
662
+ if (!O || p == null) {
663
663
  O && m.current.length > 0 && (m.current = O.deltaDecorations(m.current, []));
664
664
  return;
665
665
  }
666
- const F = nl(f, t);
666
+ const F = nl(p, t);
667
667
  m.current = O.deltaDecorations(
668
668
  m.current,
669
669
  F
670
670
  );
671
- }, [f, t]);
671
+ }, [p, t]);
672
672
  const N = il(r);
673
673
  return /* @__PURE__ */ M("div", { style: al.container, children: /* @__PURE__ */ M(
674
674
  el,
@@ -825,11 +825,11 @@ var d;
825
825
  e[e._asserts = c] = "_asserts";
826
826
  const u = c + 1;
827
827
  e[e._async = u] = "_async";
828
- const f = u + 1;
829
- e[e._await = f] = "_await";
830
- const p = f + 1;
831
- e[e._checks = p] = "_checks";
832
- const m = p + 1;
828
+ const p = u + 1;
829
+ e[e._await = p] = "_await";
830
+ const f = p + 1;
831
+ e[e._checks = f] = "_checks";
832
+ const m = f + 1;
833
833
  e[e._constructor = m] = "_constructor";
834
834
  const x = m + 1;
835
835
  e[e._declare = x] = "_declare";
@@ -865,9 +865,9 @@ var d;
865
865
  e[e._opaque = j] = "_opaque";
866
866
  const oe = j + 1;
867
867
  e[e._out = oe] = "_out";
868
- const Fe = oe + 1;
869
- e[e._override = Fe] = "_override";
870
- const Ue = Fe + 1;
868
+ const Oe = oe + 1;
869
+ e[e._override = Oe] = "_override";
870
+ const Ue = Oe + 1;
871
871
  e[e._private = Ue] = "_private";
872
872
  const je = Ue + 1;
873
873
  e[e._protected = je] = "_protected";
@@ -875,9 +875,9 @@ var d;
875
875
  e[e._proto = H] = "_proto";
876
876
  const ae = H + 1;
877
877
  e[e._public = ae] = "_public";
878
- const Re = ae + 1;
879
- e[e._readonly = Re] = "_readonly";
880
- const fe = Re + 1;
878
+ const Ae = ae + 1;
879
+ e[e._readonly = Ae] = "_readonly";
880
+ const fe = Ae + 1;
881
881
  e[e._require = fe] = "_require";
882
882
  const Se = fe + 1;
883
883
  e[e._satisfies = Se] = "_satisfies";
@@ -909,10 +909,10 @@ var n;
909
909
  e[e.IS_POSTFIX = c] = "IS_POSTFIX";
910
910
  const u = 512;
911
911
  e[e.IS_EXPRESSION_START = u] = "IS_EXPRESSION_START";
912
- const f = 512;
913
- e[e.num = f] = "num";
914
- const p = 1536;
915
- e[e.bigint = p] = "bigint";
912
+ const p = 512;
913
+ e[e.num = p] = "num";
914
+ const f = 1536;
915
+ e[e.bigint = f] = "bigint";
916
916
  const m = 2560;
917
917
  e[e.decimal = m] = "decimal";
918
918
  const x = 3584;
@@ -949,8 +949,8 @@ var n;
949
949
  e[e.doubleColon = j] = "doubleColon";
950
950
  const oe = 19456;
951
951
  e[e.dot = oe] = "dot";
952
- const Fe = 20480;
953
- e[e.question = Fe] = "question";
952
+ const Oe = 20480;
953
+ e[e.question = Oe] = "question";
954
954
  const Ue = 21504;
955
955
  e[e.questionDot = Ue] = "questionDot";
956
956
  const je = 22528;
@@ -959,8 +959,8 @@ var n;
959
959
  e[e.template = H] = "template";
960
960
  const ae = 24576;
961
961
  e[e.ellipsis = ae] = "ellipsis";
962
- const Re = 25600;
963
- e[e.backQuote = Re] = "backQuote";
962
+ const Ae = 25600;
963
+ e[e.backQuote = Ae] = "backQuote";
964
964
  const fe = 27136;
965
965
  e[e.dollarBraceL = fe] = "dollarBraceL";
966
966
  const Se = 27648;
@@ -1003,8 +1003,8 @@ var n;
1003
1003
  e[e.relationalOrEqual = Ce] = "relationalOrEqual";
1004
1004
  const Ee = 47113;
1005
1005
  e[e.bitShiftL = Ee] = "bitShiftL";
1006
- const Oe = 48137;
1007
- e[e.bitShiftR = Oe] = "bitShiftR";
1006
+ const Me = 48137;
1007
+ e[e.bitShiftR = Me] = "bitShiftR";
1008
1008
  const Dt = 49802;
1009
1009
  e[e.plus = Dt] = "plus";
1010
1010
  const yt = 50826;
@@ -1071,8 +1071,8 @@ var n;
1071
1071
  e[e._const = zr] = "_const";
1072
1072
  const Y = 81936;
1073
1073
  e[e._while = Y] = "_while";
1074
- const Ae = 82960;
1075
- e[e._with = Ae] = "_with";
1074
+ const Pe = 82960;
1075
+ e[e._with = Pe] = "_with";
1076
1076
  const Ie = 84496;
1077
1077
  e[e._new = Ie] = "_new";
1078
1078
  const dt = 85520;
@@ -1374,8 +1374,8 @@ let Tt = class {
1374
1374
  }
1375
1375
  };
1376
1376
  class cl {
1377
- constructor(t, r, s, i, o, c, u, f, p, m, x, _, y) {
1378
- this.potentialArrowAt = t, this.noAnonFunctionType = r, this.inDisallowConditionalTypesContext = s, this.tokensLength = i, this.scopesLength = o, this.pos = c, this.type = u, this.contextualKeyword = f, this.start = p, this.end = m, this.isType = x, this.scopeDepth = _, this.error = y;
1377
+ constructor(t, r, s, i, o, c, u, p, f, m, x, _, y) {
1378
+ this.potentialArrowAt = t, this.noAnonFunctionType = r, this.inDisallowConditionalTypesContext = s, this.tokensLength = i, this.scopesLength = o, this.pos = c, this.type = u, this.contextualKeyword = p, this.start = f, this.end = m, this.isType = x, this.scopeDepth = _, this.error = y;
1379
1379
  }
1380
1380
  }
1381
1381
  class Ke {
@@ -1472,10 +1472,10 @@ var g;
1472
1472
  e[e.space = c] = "space";
1473
1473
  const u = 33;
1474
1474
  e[e.exclamationMark = u] = "exclamationMark";
1475
- const f = 34;
1476
- e[e.quotationMark = f] = "quotationMark";
1477
- const p = 35;
1478
- e[e.numberSign = p] = "numberSign";
1475
+ const p = 34;
1476
+ e[e.quotationMark = p] = "quotationMark";
1477
+ const f = 35;
1478
+ e[e.numberSign = f] = "numberSign";
1479
1479
  const m = 36;
1480
1480
  e[e.dollarSign = m] = "dollarSign";
1481
1481
  const x = 37;
@@ -1512,8 +1512,8 @@ var g;
1512
1512
  e[e.digit4 = j] = "digit4";
1513
1513
  const oe = 53;
1514
1514
  e[e.digit5 = oe] = "digit5";
1515
- const Fe = 54;
1516
- e[e.digit6 = Fe] = "digit6";
1515
+ const Oe = 54;
1516
+ e[e.digit6 = Oe] = "digit6";
1517
1517
  const Ue = 55;
1518
1518
  e[e.digit7 = Ue] = "digit7";
1519
1519
  const je = 56;
@@ -1522,8 +1522,8 @@ var g;
1522
1522
  e[e.digit9 = H] = "digit9";
1523
1523
  const ae = 58;
1524
1524
  e[e.colon = ae] = "colon";
1525
- const Re = 59;
1526
- e[e.semicolon = Re] = "semicolon";
1525
+ const Ae = 59;
1526
+ e[e.semicolon = Ae] = "semicolon";
1527
1527
  const fe = 60;
1528
1528
  e[e.lessThan = fe] = "lessThan";
1529
1529
  const Se = 61;
@@ -1566,8 +1566,8 @@ var g;
1566
1566
  e[e.uppercaseO = Ce] = "uppercaseO";
1567
1567
  const Ee = 80;
1568
1568
  e[e.uppercaseP = Ee] = "uppercaseP";
1569
- const Oe = 81;
1570
- e[e.uppercaseQ = Oe] = "uppercaseQ";
1569
+ const Me = 81;
1570
+ e[e.uppercaseQ = Me] = "uppercaseQ";
1571
1571
  const Dt = 82;
1572
1572
  e[e.uppercaseR = Dt] = "uppercaseR";
1573
1573
  const yt = 83;
@@ -1634,8 +1634,8 @@ var g;
1634
1634
  e[e.lowercaseQ = zr] = "lowercaseQ";
1635
1635
  const Y = 114;
1636
1636
  e[e.lowercaseR = Y] = "lowercaseR";
1637
- const Ae = 115;
1638
- e[e.lowercaseS = Ae] = "lowercaseS";
1637
+ const Pe = 115;
1638
+ e[e.lowercaseS = Pe] = "lowercaseS";
1639
1639
  const Ie = 116;
1640
1640
  e[e.lowercaseT = Ie] = "lowercaseT";
1641
1641
  const dt = 117;
@@ -1702,7 +1702,7 @@ function Qs(e) {
1702
1702
  function $e(e) {
1703
1703
  return a.contextualKeyword === e && k(n.name);
1704
1704
  }
1705
- function Me(e) {
1705
+ function Fe(e) {
1706
1706
  $e(e) || ee();
1707
1707
  }
1708
1708
  function it() {
@@ -11146,11 +11146,11 @@ var G;
11146
11146
  e[e.ObjectShorthandTopLevelDeclaration = c] = "ObjectShorthandTopLevelDeclaration";
11147
11147
  const u = c + 1;
11148
11148
  e[e.ObjectShorthandFunctionScopedDeclaration = u] = "ObjectShorthandFunctionScopedDeclaration";
11149
- const f = u + 1;
11150
- e[e.ObjectShorthandBlockScopedDeclaration = f] = "ObjectShorthandBlockScopedDeclaration";
11151
- const p = f + 1;
11152
- e[e.ObjectShorthand = p] = "ObjectShorthand";
11153
- const m = p + 1;
11149
+ const p = u + 1;
11150
+ e[e.ObjectShorthandBlockScopedDeclaration = p] = "ObjectShorthandBlockScopedDeclaration";
11151
+ const f = p + 1;
11152
+ e[e.ObjectShorthand = f] = "ObjectShorthand";
11153
+ const m = f + 1;
11154
11154
  e[e.ImportDeclaration = m] = "ImportDeclaration";
11155
11155
  const x = m + 1;
11156
11156
  e[e.ObjectKey = x] = "ObjectKey";
@@ -11236,7 +11236,7 @@ function La(e) {
11236
11236
  function h(e) {
11237
11237
  return a.type === e;
11238
11238
  }
11239
- function Ne() {
11239
+ function Le() {
11240
11240
  const e = a.snapshot();
11241
11241
  w();
11242
11242
  const t = a.type;
@@ -12253,8 +12253,8 @@ function jl(e) {
12253
12253
  r = "", s = !0;
12254
12254
  else {
12255
12255
  if (i && s && (t += " "), t += r, r = "", c === "&") {
12256
- const { entity: u, newI: f } = za(e, o + 1);
12257
- o = f - 1, t += u;
12256
+ const { entity: u, newI: p } = za(e, o + 1);
12257
+ o = p - 1, t += u;
12258
12258
  } else
12259
12259
  t += c;
12260
12260
  i = !0, s = !1;
@@ -12303,8 +12303,8 @@ function za(e, t) {
12303
12303
  for (u = o; o < e.length && Vl(e.charCodeAt(o)); )
12304
12304
  o++;
12305
12305
  if (e[o] === ";") {
12306
- const f = e.slice(u, o);
12307
- f && (o++, i = String.fromCodePoint(parseInt(f, c)));
12306
+ const p = e.slice(u, o);
12307
+ p && (o++, i = String.fromCodePoint(parseInt(p, c)));
12308
12308
  }
12309
12309
  } else
12310
12310
  for (; o < e.length && s++ < 10; ) {
@@ -12385,39 +12385,39 @@ class rr {
12385
12385
  namedImports: o,
12386
12386
  namedExports: c,
12387
12387
  exportStarNames: u,
12388
- hasStarExport: f
12388
+ hasStarExport: p
12389
12389
  } = r;
12390
- if (s.length === 0 && i.length === 0 && o.length === 0 && c.length === 0 && u.length === 0 && !f) {
12390
+ if (s.length === 0 && i.length === 0 && o.length === 0 && c.length === 0 && u.length === 0 && !p) {
12391
12391
  this.importsToReplace.set(t, `require('${t}');`);
12392
12392
  continue;
12393
12393
  }
12394
- const p = this.getFreeIdentifierForPath(t);
12394
+ const f = this.getFreeIdentifierForPath(t);
12395
12395
  let m;
12396
- this.enableLegacyTypeScriptModuleInterop ? m = p : m = i.length > 0 ? i[0] : this.getFreeIdentifierForPath(t);
12397
- let x = `var ${p} = require('${t}');`;
12396
+ this.enableLegacyTypeScriptModuleInterop ? m = f : m = i.length > 0 ? i[0] : this.getFreeIdentifierForPath(t);
12397
+ let x = `var ${f} = require('${t}');`;
12398
12398
  if (i.length > 0)
12399
12399
  for (const _ of i) {
12400
- const y = this.enableLegacyTypeScriptModuleInterop ? p : `${this.helperManager.getHelperName("interopRequireWildcard")}(${p})`;
12400
+ const y = this.enableLegacyTypeScriptModuleInterop ? f : `${this.helperManager.getHelperName("interopRequireWildcard")}(${f})`;
12401
12401
  x += ` var ${_} = ${y};`;
12402
12402
  }
12403
- else u.length > 0 && m !== p ? x += ` var ${m} = ${this.helperManager.getHelperName(
12403
+ else u.length > 0 && m !== f ? x += ` var ${m} = ${this.helperManager.getHelperName(
12404
12404
  "interopRequireWildcard"
12405
- )}(${p});` : s.length > 0 && m !== p && (x += ` var ${m} = ${this.helperManager.getHelperName(
12405
+ )}(${f});` : s.length > 0 && m !== f && (x += ` var ${m} = ${this.helperManager.getHelperName(
12406
12406
  "interopRequireDefault"
12407
- )}(${p});`);
12407
+ )}(${f});`);
12408
12408
  for (const { importedName: _, localName: y } of c)
12409
12409
  x += ` ${this.helperManager.getHelperName(
12410
12410
  "createNamedExportFrom"
12411
- )}(${p}, '${y}', '${_}');`;
12411
+ )}(${f}, '${y}', '${_}');`;
12412
12412
  for (const _ of u)
12413
12413
  x += ` exports.${_} = ${m};`;
12414
- f && (x += ` ${this.helperManager.getHelperName(
12414
+ p && (x += ` ${this.helperManager.getHelperName(
12415
12415
  "createStarExport"
12416
- )}(${p});`), this.importsToReplace.set(t, x);
12416
+ )}(${f});`), this.importsToReplace.set(t, x);
12417
12417
  for (const _ of s)
12418
12418
  this.identifierReplacements.set(_, `${m}.default`);
12419
12419
  for (const { importedName: _, localName: y } of o)
12420
- this.identifierReplacements.set(y, `${p}.${_}`);
12420
+ this.identifierReplacements.set(y, `${f}.${_}`);
12421
12421
  }
12422
12422
  }
12423
12423
  getFreeIdentifierForPath(t) {
@@ -12431,8 +12431,8 @@ class rr {
12431
12431
  if (this.tokens.matches1AtIndex(t, n.name) && (r.push(this.tokens.identifierNameAtIndex(t)), t++, this.tokens.matches1AtIndex(t, n.comma) && t++), this.tokens.matches1AtIndex(t, n.star) && (t += 2, s.push(this.tokens.identifierNameAtIndex(t)), t++), this.tokens.matches1AtIndex(t, n.braceL)) {
12432
12432
  const u = this.getNamedImports(t + 1);
12433
12433
  t = u.newIndex;
12434
- for (const f of u.namedImports)
12435
- f.importedName === "default" ? r.push(f.localName) : i.push(f);
12434
+ for (const p of u.namedImports)
12435
+ p.importedName === "default" ? r.push(p.localName) : i.push(p);
12436
12436
  }
12437
12437
  if (this.tokens.matchesContextualAtIndex(t, d._from) && t++, !this.tokens.matches1AtIndex(t, n.string))
12438
12438
  throw new Error("Expected string token at the end of import statement.");
@@ -12620,10 +12620,10 @@ function Wl(e) {
12620
12620
  for (let c = 0; c < e.length; c++) {
12621
12621
  const u = e[c];
12622
12622
  if (c > 0 && t.write(Ul), u.length === 0) continue;
12623
- let f = 0;
12624
- for (let p = 0; p < u.length; p++) {
12625
- const m = u[p];
12626
- p > 0 && t.write(ql), f = Hr(t, m[0], f), m.length !== 1 && (r = Hr(t, m[1], r), s = Hr(t, m[2], s), i = Hr(t, m[3], i), m.length !== 4 && (o = Hr(t, m[4], o)));
12623
+ let p = 0;
12624
+ for (let f = 0; f < u.length; f++) {
12625
+ const m = u[f];
12626
+ f > 0 && t.write(ql), p = Hr(t, m[0], p), m.length !== 1 && (r = Hr(t, m[1], r), s = Hr(t, m[2], s), i = Hr(t, m[3], i), m.length !== 4 && (o = Hr(t, m[4], o)));
12627
12627
  }
12628
12628
  }
12629
12629
  return t.flush();
@@ -12643,10 +12643,10 @@ var sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12643
12643
  function u(T) {
12644
12644
  return T.startsWith("/");
12645
12645
  }
12646
- function f(T) {
12646
+ function p(T) {
12647
12647
  return T.startsWith("file:");
12648
12648
  }
12649
- function p(T) {
12649
+ function f(T) {
12650
12650
  return /^[.?#]/.test(T);
12651
12651
  }
12652
12652
  function m(T) {
@@ -12678,7 +12678,7 @@ var sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12678
12678
  const R = m("http://foo.com" + T);
12679
12679
  return R.scheme = "", R.host = "", R.type = 5, R;
12680
12680
  }
12681
- if (f(T))
12681
+ if (p(T))
12682
12682
  return x(T);
12683
12683
  if (o(T))
12684
12684
  return m(T);
@@ -12746,7 +12746,7 @@ var sr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
12746
12746
  return z;
12747
12747
  case 4: {
12748
12748
  const W = R.path.slice(1);
12749
- return W ? p(D || T) && !p(W) ? "./" + W + z : W + z : z || ".";
12749
+ return W ? f(D || T) && !f(W) ? "./" + W + z : W + z : z || ".";
12750
12750
  }
12751
12751
  case 5:
12752
12752
  return R.path + z;
@@ -12816,14 +12816,14 @@ function nu(e) {
12816
12816
  mappings: Wl(t.mappings)
12817
12817
  });
12818
12818
  }
12819
- function su(e, t, r, s, i, o, c, u, f) {
12819
+ function su(e, t, r, s, i, o, c, u, p) {
12820
12820
  const {
12821
- _mappings: p,
12821
+ _mappings: f,
12822
12822
  _sources: m,
12823
12823
  _sourcesContent: x,
12824
12824
  _names: _
12825
12825
  // _originalScopes: originalScopes,
12826
- } = t, y = iu(p, r), N = au(y, s);
12826
+ } = t, y = iu(f, r), N = au(y, s);
12827
12827
  if (!i)
12828
12828
  return cu(y, N) ? void 0 : Xi(y, N, [s]);
12829
12829
  const O = Yl(m, i), F = Ga;
@@ -12869,18 +12869,18 @@ function lu(e, t, r, s, i, o) {
12869
12869
  }
12870
12870
  function uu({ code: e, mappings: t }, r, s, i, o) {
12871
12871
  const c = hu(i, o), u = new tu({ file: s.compiledFilename });
12872
- let f = 0, p = t[0];
12873
- for (; p === void 0 && f < t.length - 1; )
12874
- f++, p = t[f];
12872
+ let p = 0, f = t[0];
12873
+ for (; f === void 0 && p < t.length - 1; )
12874
+ p++, f = t[p];
12875
12875
  let m = 0, x = 0;
12876
- p !== x && ws(u, m, 0, r, m, 0);
12876
+ f !== x && ws(u, m, 0, r, m, 0);
12877
12877
  for (let O = 0; O < e.length; O++) {
12878
- if (O === p) {
12879
- const F = p - x, re = c[f];
12880
- for (ws(u, m, F, r, m, re); (p === O || p === void 0) && f < t.length - 1; )
12881
- f++, p = t[f];
12878
+ if (O === f) {
12879
+ const F = f - x, re = c[p];
12880
+ for (ws(u, m, F, r, m, re); (f === O || f === void 0) && p < t.length - 1; )
12881
+ p++, f = t[p];
12882
12882
  }
12883
- e.charCodeAt(O) === g.lineFeed && (m++, x = O + 1, p !== x && ws(u, m, 0, r, m, 0));
12883
+ e.charCodeAt(O) === g.lineFeed && (m++, x = O + 1, f !== x && ws(u, m, 0, r, m, 0));
12884
12884
  }
12885
12885
  const { sourceRoot: _, sourcesContent: y, ...N } = nu(u);
12886
12886
  return N;
@@ -13070,12 +13070,12 @@ function du(e, t, r) {
13070
13070
  if (gl(c))
13071
13071
  Ki(s[s.length - 1], e, u);
13072
13072
  else if (xl(c)) {
13073
- let f = s.length - 1;
13074
- for (; f > 0 && !s[f].isFunctionScope; )
13075
- f--;
13076
- if (f < 0)
13073
+ let p = s.length - 1;
13074
+ for (; p > 0 && !s[p].isFunctionScope; )
13075
+ p--;
13076
+ if (p < 0)
13077
13077
  throw new Error("Did not find parent function scope.");
13078
- Ki(s[f], e, u);
13078
+ Ki(s[p], e, u);
13079
13079
  }
13080
13080
  }
13081
13081
  }
@@ -13172,8 +13172,8 @@ var Ya = (
13172
13172
  return new ku();
13173
13173
  }, e.prototype.resolveUnion = function(t) {
13174
13174
  for (var r, s, i = t, o = null, c = 0, u = i.contexts; c < u.length; c++) {
13175
- var f = u[c];
13176
- (!o || f._score >= o._score) && (o = f);
13175
+ var p = u[c];
13176
+ (!o || p._score >= o._score) && (o = p);
13177
13177
  }
13178
13178
  o && o._score > 0 && ((r = this._propNames).push.apply(r, o._propNames), (s = this._messages).push.apply(s, o._messages));
13179
13179
  }, e.prototype.getError = function(t) {
@@ -13267,11 +13267,11 @@ var ku = (
13267
13267
  }(s)
13268
13268
  );
13269
13269
  e.TName = u;
13270
- function f(b) {
13271
- return new p(b);
13270
+ function p(b) {
13271
+ return new f(b);
13272
13272
  }
13273
- e.lit = f;
13274
- var p = (
13273
+ e.lit = p;
13274
+ var f = (
13275
13275
  /** @class */
13276
13276
  function(b) {
13277
13277
  t(S, b);
@@ -13287,7 +13287,7 @@ var ku = (
13287
13287
  }, S;
13288
13288
  }(s)
13289
13289
  );
13290
- e.TLiteral = p;
13290
+ e.TLiteral = f;
13291
13291
  function m(b) {
13292
13292
  return new x(i(b));
13293
13293
  }
@@ -13368,7 +13368,7 @@ var ku = (
13368
13368
  var I = b.call(this) || this;
13369
13369
  I.ttypes = C;
13370
13370
  var L = C.map(function(K) {
13371
- return K instanceof u || K instanceof p ? K.name : null;
13371
+ return K instanceof u || K instanceof f ? K.name : null;
13372
13372
  }).filter(function(K) {
13373
13373
  return K;
13374
13374
  }), X = C.length - L.length;
@@ -13475,7 +13475,7 @@ var ku = (
13475
13475
  });
13476
13476
  }
13477
13477
  function W(b, S) {
13478
- return S instanceof oe ? new Fe(b, S.ttype, !0) : new Fe(b, i(S), !1);
13478
+ return S instanceof oe ? new Oe(b, S.ttype, !0) : new Oe(b, i(S), !1);
13479
13479
  }
13480
13480
  function E(b, S) {
13481
13481
  return new U(b, z(S));
@@ -13501,16 +13501,16 @@ var ku = (
13501
13501
  }), Be = function(Ce, Ee) {
13502
13502
  if (typeof Ce != "object" || Ce === null)
13503
13503
  return Ee.fail(null, "is not an object", 0);
13504
- for (var Oe = 0; Oe < K.length; Oe++)
13505
- if (!K[Oe](Ce, Ee))
13504
+ for (var Me = 0; Me < K.length; Me++)
13505
+ if (!K[Me](Ce, Ee))
13506
13506
  return !1;
13507
- for (var Oe = 0; Oe < ce.length; Oe++) {
13508
- var Dt = X.props[Oe].name, yt = Ce[Dt];
13507
+ for (var Me = 0; Me < ce.length; Me++) {
13508
+ var Dt = X.props[Me].name, yt = Ce[Dt];
13509
13509
  if (yt === void 0) {
13510
- if (ge[Oe])
13510
+ if (ge[Me])
13511
13511
  return Ee.fail(Dt, "is missing", 1);
13512
13512
  } else {
13513
- var vt = ce[Oe](yt, Ee);
13513
+ var vt = ce[Me](yt, Ee);
13514
13514
  if (!vt)
13515
13515
  return Ee.fail(Dt, null, 1);
13516
13516
  }
@@ -13525,9 +13525,9 @@ var ku = (
13525
13525
  }), _e = L), function(Ce, Ee) {
13526
13526
  if (!Be(Ce, Ee))
13527
13527
  return !1;
13528
- for (var Oe in Ce)
13529
- if (!_e.has(Oe))
13530
- return Ee.fail(Oe, "is extraneous", 2);
13528
+ for (var Me in Ce)
13529
+ if (!_e.has(Me))
13530
+ return Ee.fail(Me, "is extraneous", 2);
13531
13531
  return !0;
13532
13532
  };
13533
13533
  }, S;
@@ -13555,7 +13555,7 @@ var ku = (
13555
13555
  }(s)
13556
13556
  );
13557
13557
  e.TOptional = oe;
13558
- var Fe = (
13558
+ var Oe = (
13559
13559
  /** @class */
13560
13560
  /* @__PURE__ */ function() {
13561
13561
  function b(S, C, I) {
@@ -13564,11 +13564,11 @@ var ku = (
13564
13564
  return b;
13565
13565
  }()
13566
13566
  );
13567
- e.TProp = Fe;
13567
+ e.TProp = Oe;
13568
13568
  function Ue(b) {
13569
13569
  for (var S = [], C = 1; C < arguments.length; C++)
13570
13570
  S[C - 1] = arguments[C];
13571
- return new je(new Re(S), i(b));
13571
+ return new je(new Ae(S), i(b));
13572
13572
  }
13573
13573
  e.func = Ue;
13574
13574
  var je = (
@@ -13601,7 +13601,7 @@ var ku = (
13601
13601
  }()
13602
13602
  );
13603
13603
  e.TParam = ae;
13604
- var Re = (
13604
+ var Ae = (
13605
13605
  /** @class */
13606
13606
  function(b) {
13607
13607
  t(S, b);
@@ -13636,7 +13636,7 @@ var ku = (
13636
13636
  }, S;
13637
13637
  }(s)
13638
13638
  );
13639
- e.TParamList = Re;
13639
+ e.TParamList = Ae;
13640
13640
  var fe = (
13641
13641
  /** @class */
13642
13642
  function(b) {
@@ -13718,9 +13718,9 @@ var ku = (
13718
13718
  })(Ms);
13719
13719
  (function(e) {
13720
13720
  var t = sr && sr.__spreadArrays || function() {
13721
- for (var f = 0, p = 0, m = arguments.length; p < m; p++) f += arguments[p].length;
13722
- for (var x = Array(f), _ = 0, p = 0; p < m; p++)
13723
- for (var y = arguments[p], N = 0, O = y.length; N < O; N++, _++)
13721
+ for (var p = 0, f = 0, m = arguments.length; f < m; f++) p += arguments[f].length;
13722
+ for (var x = Array(p), _ = 0, f = 0; f < m; f++)
13723
+ for (var y = arguments[f], N = 0, O = y.length; N < O; N++, _++)
13724
13724
  x[_] = y[N];
13725
13725
  return x;
13726
13726
  };
@@ -13788,9 +13788,9 @@ var ku = (
13788
13788
  return o.VError;
13789
13789
  } });
13790
13790
  function c() {
13791
- for (var f = [], p = 0; p < arguments.length; p++)
13792
- f[p] = arguments[p];
13793
- for (var m = Object.assign.apply(Object, t([{}, r.basicTypes], f)), x = {}, _ = 0, y = f; _ < y.length; _++)
13791
+ for (var p = [], f = 0; f < arguments.length; f++)
13792
+ p[f] = arguments[f];
13793
+ for (var m = Object.assign.apply(Object, t([{}, r.basicTypes], p)), x = {}, _ = 0, y = p; _ < y.length; _++)
13794
13794
  for (var N = y[_], O = 0, F = Object.keys(N); O < F.length; O++) {
13795
13795
  var re = F[O];
13796
13796
  x[re] = new u(m, N[re]);
@@ -13801,69 +13801,69 @@ var ku = (
13801
13801
  var u = (
13802
13802
  /** @class */
13803
13803
  function() {
13804
- function f(p, m, x) {
13805
- if (x === void 0 && (x = "value"), this.suite = p, this.ttype = m, this._path = x, this.props = /* @__PURE__ */ new Map(), m instanceof r.TIface)
13804
+ function p(f, m, x) {
13805
+ if (x === void 0 && (x = "value"), this.suite = f, this.ttype = m, this._path = x, this.props = /* @__PURE__ */ new Map(), m instanceof r.TIface)
13806
13806
  for (var _ = 0, y = m.props; _ < y.length; _++) {
13807
13807
  var N = y[_];
13808
13808
  this.props.set(N.name, N.ttype);
13809
13809
  }
13810
- this.checkerPlain = this.ttype.getChecker(p, !1), this.checkerStrict = this.ttype.getChecker(p, !0);
13810
+ this.checkerPlain = this.ttype.getChecker(f, !1), this.checkerStrict = this.ttype.getChecker(f, !0);
13811
13811
  }
13812
- return f.prototype.setReportedPath = function(p) {
13813
- this._path = p;
13814
- }, f.prototype.check = function(p) {
13815
- return this._doCheck(this.checkerPlain, p);
13816
- }, f.prototype.test = function(p) {
13817
- return this.checkerPlain(p, new s.NoopContext());
13818
- }, f.prototype.validate = function(p) {
13819
- return this._doValidate(this.checkerPlain, p);
13820
- }, f.prototype.strictCheck = function(p) {
13821
- return this._doCheck(this.checkerStrict, p);
13822
- }, f.prototype.strictTest = function(p) {
13823
- return this.checkerStrict(p, new s.NoopContext());
13824
- }, f.prototype.strictValidate = function(p) {
13825
- return this._doValidate(this.checkerStrict, p);
13826
- }, f.prototype.getProp = function(p) {
13827
- var m = this.props.get(p);
13812
+ return p.prototype.setReportedPath = function(f) {
13813
+ this._path = f;
13814
+ }, p.prototype.check = function(f) {
13815
+ return this._doCheck(this.checkerPlain, f);
13816
+ }, p.prototype.test = function(f) {
13817
+ return this.checkerPlain(f, new s.NoopContext());
13818
+ }, p.prototype.validate = function(f) {
13819
+ return this._doValidate(this.checkerPlain, f);
13820
+ }, p.prototype.strictCheck = function(f) {
13821
+ return this._doCheck(this.checkerStrict, f);
13822
+ }, p.prototype.strictTest = function(f) {
13823
+ return this.checkerStrict(f, new s.NoopContext());
13824
+ }, p.prototype.strictValidate = function(f) {
13825
+ return this._doValidate(this.checkerStrict, f);
13826
+ }, p.prototype.getProp = function(f) {
13827
+ var m = this.props.get(f);
13828
13828
  if (!m)
13829
- throw new Error("Type has no property " + p);
13830
- return new f(this.suite, m, this._path + "." + p);
13831
- }, f.prototype.methodArgs = function(p) {
13832
- var m = this._getMethod(p);
13833
- return new f(this.suite, m.paramList);
13834
- }, f.prototype.methodResult = function(p) {
13835
- var m = this._getMethod(p);
13836
- return new f(this.suite, m.result);
13837
- }, f.prototype.getArgs = function() {
13829
+ throw new Error("Type has no property " + f);
13830
+ return new p(this.suite, m, this._path + "." + f);
13831
+ }, p.prototype.methodArgs = function(f) {
13832
+ var m = this._getMethod(f);
13833
+ return new p(this.suite, m.paramList);
13834
+ }, p.prototype.methodResult = function(f) {
13835
+ var m = this._getMethod(f);
13836
+ return new p(this.suite, m.result);
13837
+ }, p.prototype.getArgs = function() {
13838
13838
  if (!(this.ttype instanceof r.TFunc))
13839
13839
  throw new Error("getArgs() applied to non-function");
13840
- return new f(this.suite, this.ttype.paramList);
13841
- }, f.prototype.getResult = function() {
13840
+ return new p(this.suite, this.ttype.paramList);
13841
+ }, p.prototype.getResult = function() {
13842
13842
  if (!(this.ttype instanceof r.TFunc))
13843
13843
  throw new Error("getResult() applied to non-function");
13844
- return new f(this.suite, this.ttype.result);
13845
- }, f.prototype.getType = function() {
13844
+ return new p(this.suite, this.ttype.result);
13845
+ }, p.prototype.getType = function() {
13846
13846
  return this.ttype;
13847
- }, f.prototype._doCheck = function(p, m) {
13847
+ }, p.prototype._doCheck = function(f, m) {
13848
13848
  var x = new s.NoopContext();
13849
- if (!p(m, x)) {
13849
+ if (!f(m, x)) {
13850
13850
  var _ = new s.DetailContext();
13851
- throw p(m, _), _.getError(this._path);
13851
+ throw f(m, _), _.getError(this._path);
13852
13852
  }
13853
- }, f.prototype._doValidate = function(p, m) {
13853
+ }, p.prototype._doValidate = function(f, m) {
13854
13854
  var x = new s.NoopContext();
13855
- if (p(m, x))
13855
+ if (f(m, x))
13856
13856
  return null;
13857
13857
  var _ = new s.DetailContext();
13858
- return p(m, _), _.getErrorDetail(this._path);
13859
- }, f.prototype._getMethod = function(p) {
13860
- var m = this.props.get(p);
13858
+ return f(m, _), _.getErrorDetail(this._path);
13859
+ }, p.prototype._getMethod = function(f) {
13860
+ var m = this.props.get(f);
13861
13861
  if (!m)
13862
- throw new Error("Type has no property " + p);
13862
+ throw new Error("Type has no property " + f);
13863
13863
  if (!(m instanceof r.TFunc))
13864
- throw new Error("Property " + p + " is not a method");
13864
+ throw new Error("Property " + f + " is not a method");
13865
13865
  return m;
13866
- }, f;
13866
+ }, p;
13867
13867
  }()
13868
13868
  );
13869
13869
  e.Checker = u;
@@ -14051,7 +14051,7 @@ function to() {
14051
14051
  function Nu() {
14052
14052
  k(n._const);
14053
14053
  const e = k(n._in), t = $e(d._out);
14054
- k(n._const), (e || t) && !h(n.name) ? a.tokens[a.tokens.length - 1].type = n.name : Q(), k(n._extends) && Le(), k(n.eq) && Le();
14054
+ k(n._const), (e || t) && !h(n.name) ? a.tokens[a.tokens.length - 1].type = n.name : Q(), k(n._extends) && Re(), k(n.eq) && Re();
14055
14055
  }
14056
14056
  function lr() {
14057
14057
  h(n.lessThan) && Xn();
@@ -14123,24 +14123,24 @@ function Fu() {
14123
14123
  return w(), k(n.plus) || k(n.minus) ? $(d._readonly) : ($(d._readonly) && w(), !h(n.bracketL) || (w(), !Fs()) ? !1 : (w(), h(n._in)));
14124
14124
  }
14125
14125
  function ju() {
14126
- Q(), v(n._in), Le();
14126
+ Q(), v(n._in), Re();
14127
14127
  }
14128
14128
  function Bu() {
14129
- v(n.braceL), h(n.plus) || h(n.minus) ? (w(), Me(d._readonly)) : $e(d._readonly), v(n.bracketL), ju(), $e(d._as) && Le(), v(n.bracketR), h(n.plus) || h(n.minus) ? (w(), v(n.question)) : k(n.question), Zu(), Te(), v(n.braceR);
14129
+ v(n.braceL), h(n.plus) || h(n.minus) ? (w(), Fe(d._readonly)) : $e(d._readonly), v(n.bracketL), ju(), $e(d._as) && Re(), v(n.bracketR), h(n.plus) || h(n.minus) ? (w(), v(n.question)) : k(n.question), Zu(), Te(), v(n.braceR);
14130
14130
  }
14131
14131
  function Vu() {
14132
14132
  for (v(n.bracketL); !k(n.bracketR) && !a.error; )
14133
14133
  $u(), k(n.comma);
14134
14134
  }
14135
14135
  function $u() {
14136
- k(n.ellipsis) ? Le() : (Le(), k(n.question)), k(n.colon) && Le();
14136
+ k(n.ellipsis) ? Re() : (Re(), k(n.question)), k(n.colon) && Re();
14137
14137
  }
14138
14138
  function qu() {
14139
- v(n.parenL), Le(), v(n.parenR);
14139
+ v(n.parenL), Re(), v(n.parenR);
14140
14140
  }
14141
14141
  function Uu() {
14142
14142
  for (zt(), zt(); !h(n.backQuote) && !a.error; )
14143
- v(n.dollarBraceL), Le(), zt(), zt();
14143
+ v(n.dollarBraceL), Re(), zt(), zt();
14144
14144
  w();
14145
14145
  }
14146
14146
  var Gt;
@@ -14152,7 +14152,7 @@ var Gt;
14152
14152
  e[e.TSAbstractConstructorType = s] = "TSAbstractConstructorType";
14153
14153
  })(Gt || (Gt = {}));
14154
14154
  function _s(e) {
14155
- e === Gt.TSAbstractConstructorType && Me(d._abstract), (e === Gt.TSConstructorType || e === Gt.TSAbstractConstructorType) && v(n._new);
14155
+ e === Gt.TSAbstractConstructorType && Fe(d._abstract), (e === Gt.TSConstructorType || e === Gt.TSAbstractConstructorType) && v(n._new);
14156
14156
  const t = a.inDisallowConditionalTypesContext;
14157
14157
  a.inDisallowConditionalTypesContext = !1, ni(n.arrow), a.inDisallowConditionalTypesContext = t;
14158
14158
  }
@@ -14209,14 +14209,14 @@ function zu() {
14209
14209
  }
14210
14210
  function Hu() {
14211
14211
  for (zu(); !Qe() && k(n.bracketL); )
14212
- k(n.bracketR) || (Le(), v(n.bracketR));
14212
+ k(n.bracketR) || (Re(), v(n.bracketR));
14213
14213
  }
14214
14214
  function Wu() {
14215
- if (Me(d._infer), Q(), h(n._extends)) {
14215
+ if (Fe(d._infer), Q(), h(n._extends)) {
14216
14216
  const e = a.snapshot();
14217
14217
  v(n._extends);
14218
14218
  const t = a.inDisallowConditionalTypesContext;
14219
- a.inDisallowConditionalTypesContext = !0, Le(), a.inDisallowConditionalTypesContext = t, (a.error || !a.inDisallowConditionalTypesContext && h(n.question)) && a.restoreFromSnapshot(e);
14219
+ a.inDisallowConditionalTypesContext = !0, Re(), a.inDisallowConditionalTypesContext = t, (a.error || !a.inDisallowConditionalTypesContext && h(n.question)) && a.restoreFromSnapshot(e);
14220
14220
  }
14221
14221
  }
14222
14222
  function js() {
@@ -14262,7 +14262,7 @@ function Qu() {
14262
14262
  }
14263
14263
  function nn(e) {
14264
14264
  const t = se(0);
14265
- v(e), eh() || Le(), ne(t);
14265
+ v(e), eh() || Re(), ne(t);
14266
14266
  }
14267
14267
  function Ju() {
14268
14268
  h(n.colon) && nn(n.colon);
@@ -14271,24 +14271,24 @@ function Tr() {
14271
14271
  h(n.colon) && fn();
14272
14272
  }
14273
14273
  function Zu() {
14274
- k(n.colon) && Le();
14274
+ k(n.colon) && Re();
14275
14275
  }
14276
14276
  function eh() {
14277
14277
  const e = a.snapshot();
14278
- return $(d._asserts) ? (w(), $e(d._is) ? (Le(), !0) : Fs() || h(n._this) ? (w(), $e(d._is) && Le(), !0) : (a.restoreFromSnapshot(e), !1)) : Fs() || h(n._this) ? (w(), $(d._is) && !Qe() ? (w(), Le(), !0) : (a.restoreFromSnapshot(e), !1)) : !1;
14278
+ return $(d._asserts) ? (w(), $e(d._is) ? (Re(), !0) : Fs() || h(n._this) ? (w(), $e(d._is) && Re(), !0) : (a.restoreFromSnapshot(e), !1)) : Fs() || h(n._this) ? (w(), $(d._is) && !Qe() ? (w(), Re(), !0) : (a.restoreFromSnapshot(e), !1)) : !1;
14279
14279
  }
14280
14280
  function fn() {
14281
14281
  const e = se(0);
14282
- v(n.colon), Le(), ne(e);
14282
+ v(n.colon), Re(), ne(e);
14283
14283
  }
14284
- function Le() {
14284
+ function Re() {
14285
14285
  if (ea(), a.inDisallowConditionalTypesContext || Qe() || !k(n._extends))
14286
14286
  return;
14287
14287
  const e = a.inDisallowConditionalTypesContext;
14288
- a.inDisallowConditionalTypesContext = !0, ea(), a.inDisallowConditionalTypesContext = e, v(n.question), Le(), v(n.colon), Le();
14288
+ a.inDisallowConditionalTypesContext = !0, ea(), a.inDisallowConditionalTypesContext = e, v(n.question), Re(), v(n.colon), Re();
14289
14289
  }
14290
14290
  function th() {
14291
- return $(d._abstract) && Ne() === n._new;
14291
+ return $(d._abstract) && Le() === n._new;
14292
14292
  }
14293
14293
  function ea() {
14294
14294
  if (Xu()) {
@@ -14306,14 +14306,14 @@ function ea() {
14306
14306
  }
14307
14307
  function rh() {
14308
14308
  const e = se(1);
14309
- Le(), v(n.greaterThan), ne(e), dn();
14309
+ Re(), v(n.greaterThan), ne(e), dn();
14310
14310
  }
14311
14311
  function nh() {
14312
14312
  if (k(n.jsxTagStart)) {
14313
14313
  a.tokens[a.tokens.length - 1].type = n.typeParameterStart;
14314
14314
  const e = se(1);
14315
14315
  for (; !h(n.greaterThan) && !a.error; )
14316
- Le(), k(n.comma);
14316
+ Re(), k(n.comma);
14317
14317
  ut(), ne(e);
14318
14318
  }
14319
14319
  }
@@ -14328,7 +14328,7 @@ function ih() {
14328
14328
  Qt(!1), lr(), k(n._extends) && so(), no();
14329
14329
  }
14330
14330
  function ah() {
14331
- Qt(!1), lr(), v(n.eq), Le(), Te();
14331
+ Qt(!1), lr(), v(n.eq), Re(), Te();
14332
14332
  }
14333
14333
  function oh() {
14334
14334
  if (h(n.string) ? Er() : Q(), k(n.eq)) {
@@ -14356,13 +14356,13 @@ function Vs() {
14356
14356
  Pn(), v(n.eq), lh(), Te();
14357
14357
  }
14358
14358
  function ch() {
14359
- return $(d._require) && Ne() === n.parenL;
14359
+ return $(d._require) && Le() === n.parenL;
14360
14360
  }
14361
14361
  function lh() {
14362
14362
  ch() ? uh() : pn();
14363
14363
  }
14364
14364
  function uh() {
14365
- Me(d._require), v(n.parenL), h(n.string) || ee(), Er(), v(n.parenR);
14365
+ Fe(d._require), v(n.parenL), h(n.string) || ee(), Er(), v(n.parenR);
14366
14366
  }
14367
14367
  function hh() {
14368
14368
  if (It())
@@ -14390,7 +14390,7 @@ function hh() {
14390
14390
  case n._const:
14391
14391
  if (h(n._const) && Qs(d._enum)) {
14392
14392
  const e = se(1);
14393
- return v(n._const), Me(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, si(), ne(e), !0;
14393
+ return v(n._const), Fe(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, si(), ne(e), !0;
14394
14394
  }
14395
14395
  case n._var:
14396
14396
  case n._let: {
@@ -14498,7 +14498,7 @@ function ai() {
14498
14498
  function Ar() {
14499
14499
  const e = se(0);
14500
14500
  for (v(n.lessThan); !h(n.greaterThan) && !a.error; )
14501
- Le(), k(n.comma);
14501
+ Re(), k(n.comma);
14502
14502
  e ? (v(n.greaterThan), ne(e)) : (ne(e), Ba(), v(n.greaterThan), a.tokens[a.tokens.length - 1].isType = !0);
14503
14503
  }
14504
14504
  function ao() {
@@ -14544,18 +14544,18 @@ function mh(e, t, r) {
14544
14544
  a.restoreFromSnapshot(s);
14545
14545
  else
14546
14546
  return;
14547
- } else !t && h(n.questionDot) && Ne() === n.lessThan && (w(), a.tokens[e].isOptionalChainStart = !0, a.tokens[a.tokens.length - 1].subscriptStartIndex = e, Ar(), v(n.parenL), Xt());
14547
+ } else !t && h(n.questionDot) && Le() === n.lessThan && (w(), a.tokens[e].isOptionalChainStart = !0, a.tokens[a.tokens.length - 1].subscriptStartIndex = e, Ar(), v(n.parenL), Xt());
14548
14548
  ci(e, t, r);
14549
14549
  }
14550
14550
  function gh() {
14551
14551
  if (k(n._import))
14552
- return $(d._type) && Ne() !== n.eq && Me(d._type), Vs(), !0;
14552
+ return $(d._type) && Le() !== n.eq && Fe(d._type), Vs(), !0;
14553
14553
  if (k(n.eq))
14554
14554
  return He(), Te(), !0;
14555
14555
  if ($e(d._as))
14556
- return Me(d._namespace), Q(), Te(), !0;
14556
+ return Fe(d._namespace), Q(), Te(), !0;
14557
14557
  if ($(d._type)) {
14558
- const e = Ne();
14558
+ const e = Le();
14559
14559
  (e === n.braceL || e === n.star) && w();
14560
14560
  }
14561
14561
  return !1;
@@ -14591,7 +14591,7 @@ function kh() {
14591
14591
  Q(), a.tokens[a.tokens.length - 3].identifierRole = G.ExportAccess, a.tokens[a.tokens.length - 4].isType = !0, a.tokens[a.tokens.length - 3].isType = !0, a.tokens[a.tokens.length - 2].isType = !0, a.tokens[a.tokens.length - 1].isType = !0;
14592
14592
  }
14593
14593
  function bh() {
14594
- if ($(d._abstract) && Ne() === n._class)
14594
+ if ($(d._abstract) && Le() === n._class)
14595
14595
  return a.type = n._abstract, w(), or(!0, !0), !0;
14596
14596
  if ($(d._interface)) {
14597
14597
  const e = se(2);
@@ -14603,7 +14603,7 @@ function yh() {
14603
14603
  if (a.type === n._const) {
14604
14604
  const e = hn();
14605
14605
  if (e.type === n.name && e.contextualKeyword === d._enum)
14606
- return v(n._const), Me(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, si(), !0;
14606
+ return v(n._const), Fe(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, si(), !0;
14607
14607
  }
14608
14608
  return !1;
14609
14609
  }
@@ -14880,7 +14880,7 @@ function Sr() {
14880
14880
  }
14881
14881
  function qh(e) {
14882
14882
  if (h(n.question)) {
14883
- const t = Ne();
14883
+ const t = Le();
14884
14884
  if (t === n.colon || t === n.comma || t === n.parenR)
14885
14885
  return;
14886
14886
  }
@@ -14925,7 +14925,7 @@ function Gh(e) {
14925
14925
  function _n(e, t, r) {
14926
14926
  if (le && (n._in & n.PRECEDENCE_MASK) > t && !Qe() && ($e(d._as) || $e(d._satisfies))) {
14927
14927
  const i = se(1);
14928
- Le(), ne(i), Ba(), _n(e, t, r);
14928
+ Re(), ne(i), Ba(), _n(e, t, r);
14929
14929
  return;
14930
14930
  }
14931
14931
  const s = a.type & n.PRECEDENCE_MASK;
@@ -14969,7 +14969,7 @@ function ci(e, t, r) {
14969
14969
  if (!t && k(n.doubleColon))
14970
14970
  li(), r.stop = !0, oi(e, t);
14971
14971
  else if (h(n.questionDot)) {
14972
- if (a.tokens[e].isOptionalChainStart = !0, t && Ne() === n.parenL) {
14972
+ if (a.tokens[e].isOptionalChainStart = !0, t && Le() === n.parenL) {
14973
14973
  r.stop = !0;
14974
14974
  return;
14975
14975
  }
@@ -15221,7 +15221,7 @@ function ap() {
15221
15221
  w(), !h(n.semi) && !it() && (k(n.star), We());
15222
15222
  }
15223
15223
  function op() {
15224
- Me(d._module), v(n.braceL), Jn(n.braceR);
15224
+ Fe(d._module), v(n.braceL), Jn(n.braceR);
15225
15225
  }
15226
15226
  function cp(e) {
15227
15227
  return (e.type === n.name || !!(e.type & n.IS_KEYWORD)) && e.contextualKeyword !== d._from;
@@ -15231,7 +15231,7 @@ function At(e) {
15231
15231
  v(e || n.colon), et(), ne(t);
15232
15232
  }
15233
15233
  function ra() {
15234
- v(n.modulo), Me(d._checks), k(n.parenL) && (He(), v(n.parenR));
15234
+ v(n.modulo), Fe(d._checks), k(n.parenL) && (He(), v(n.parenR));
15235
15235
  }
15236
15236
  function fi() {
15237
15237
  const e = se(0);
@@ -15268,7 +15268,7 @@ function fp() {
15268
15268
  $(d._opaque) ? No() : ee();
15269
15269
  }
15270
15270
  function dp() {
15271
- Me(d._exports), ur(), Te();
15271
+ Fe(d._exports), ur(), Te();
15272
15272
  }
15273
15273
  function mp() {
15274
15274
  w(), gi();
@@ -15311,7 +15311,7 @@ function gi() {
15311
15311
  Qn(), h(n.lessThan) && bt(), At(n.eq), Te();
15312
15312
  }
15313
15313
  function xi(e) {
15314
- Me(d._type), Qn(), h(n.lessThan) && bt(), h(n.colon) && At(n.colon), e || At(n.eq), Te();
15314
+ Fe(d._type), Qn(), h(n.lessThan) && bt(), h(n.colon) && At(n.colon), e || At(n.eq), Te();
15315
15315
  }
15316
15316
  function kp() {
15317
15317
  yi(), _o(), k(n.eq) && et();
@@ -15331,7 +15331,7 @@ function ir() {
15331
15331
  v(n.greaterThan), ne(e);
15332
15332
  }
15333
15333
  function bp() {
15334
- if (Me(d._interface), k(n._extends))
15334
+ if (Fe(d._interface), k(n._extends))
15335
15335
  do
15336
15336
  Sn();
15337
15337
  while (k(n.comma));
@@ -15341,7 +15341,7 @@ function ki() {
15341
15341
  h(n.num) || h(n.string) ? Ft() : Q();
15342
15342
  }
15343
15343
  function yp() {
15344
- Ne() === n.colon ? (ki(), At()) : et(), v(n.bracketR), At();
15344
+ Le() === n.colon ? (ki(), At()) : et(), v(n.bracketR), At();
15345
15345
  }
15346
15346
  function vp() {
15347
15347
  ki(), v(n.bracketR), v(n.bracketR), h(n.lessThan) || h(n.parenL) ? bi() : (k(n.question), At());
@@ -15358,11 +15358,11 @@ function Dn(e, t, r) {
15358
15358
  let s;
15359
15359
  for (t && h(n.braceBarL) ? (v(n.braceBarL), s = n.braceBarR) : (v(n.braceL), s = n.braceR); !h(s) && !a.error; ) {
15360
15360
  if (r && $(d._proto)) {
15361
- const i = Ne();
15361
+ const i = Le();
15362
15362
  i !== n.colon && i !== n.question && (w(), e = !1);
15363
15363
  }
15364
15364
  if (e && $(d._static)) {
15365
- const i = Ne();
15365
+ const i = Le();
15366
15366
  i !== n.colon && i !== n.question && w();
15367
15367
  }
15368
15368
  if (yi(), k(n.bracketL))
@@ -15371,7 +15371,7 @@ function Dn(e, t, r) {
15371
15371
  wp();
15372
15372
  else {
15373
15373
  if ($(d._get) || $(d._set)) {
15374
- const i = Ne();
15374
+ const i = Le();
15375
15375
  (i === n.name || i === n.string || i === n.num) && w();
15376
15376
  }
15377
15377
  _p();
@@ -15407,7 +15407,7 @@ function Ep() {
15407
15407
  v(n.bracketR);
15408
15408
  }
15409
15409
  function On() {
15410
- const e = Ne();
15410
+ const e = Le();
15411
15411
  e === n.colon || e === n.question ? (Q(), k(n.question), At()) : et();
15412
15412
  }
15413
15413
  function Hs() {
@@ -15442,12 +15442,12 @@ function vo() {
15442
15442
  case n.parenL:
15443
15443
  if (w(), !h(n.parenR) && !h(n.ellipsis))
15444
15444
  if (h(n.name)) {
15445
- const r = Ne();
15445
+ const r = Le();
15446
15446
  e = r !== n.question && r !== n.colon;
15447
15447
  } else
15448
15448
  e = !0;
15449
15449
  if (e)
15450
- if (a.noAnonFunctionType = !1, et(), a.noAnonFunctionType = t, a.noAnonFunctionType || !(h(n.comma) || h(n.parenR) && Ne() === n.arrow)) {
15450
+ if (a.noAnonFunctionType = !1, et(), a.noAnonFunctionType = t, a.noAnonFunctionType || !(h(n.comma) || h(n.parenR) && Le() === n.arrow)) {
15451
15451
  v(n.parenR);
15452
15452
  return;
15453
15453
  } else
@@ -15512,7 +15512,7 @@ function Pp(e) {
15512
15512
  h(n.colon) && fi(), mn(!1, e);
15513
15513
  }
15514
15514
  function Np(e, t, r) {
15515
- if (h(n.questionDot) && Ne() === n.lessThan) {
15515
+ if (h(n.questionDot) && Le() === n.lessThan) {
15516
15516
  if (t) {
15517
15517
  r.stop = !0;
15518
15518
  return;
@@ -15585,7 +15585,7 @@ function jp() {
15585
15585
  at(!0);
15586
15586
  }
15587
15587
  function Bp() {
15588
- return h(n.star) || $(d._type) && Ne() === n.star;
15588
+ return h(n.star) || $(d._type) && Le() === n.star;
15589
15589
  }
15590
15590
  function Vp() {
15591
15591
  if ($e(d._type)) {
@@ -15673,7 +15673,7 @@ function Jp() {
15673
15673
  return Pr(), qs() ? (an(e), !0) : !1;
15674
15674
  }
15675
15675
  function So() {
15676
- Me(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, Q(), Zp();
15676
+ Fe(d._enum), a.tokens[a.tokens.length - 1].type = n._enum, Q(), Zp();
15677
15677
  }
15678
15678
  function Zp() {
15679
15679
  $e(d._of) && w(), v(n.braceL), ef(), v(n.braceR);
@@ -15712,7 +15712,7 @@ function nf(e) {
15712
15712
  lf();
15713
15713
  return;
15714
15714
  case n._function:
15715
- if (Ne() === n.dot) break;
15715
+ if (Le() === n.dot) break;
15716
15716
  e || ee(), pf();
15717
15717
  return;
15718
15718
  case n._class:
@@ -15750,7 +15750,7 @@ function nf(e) {
15750
15750
  return;
15751
15751
  case n._export:
15752
15752
  case n._import: {
15753
- const i = Ne();
15753
+ const i = Le();
15754
15754
  if (i === n.parenL || i === n.dot)
15755
15755
  break;
15756
15756
  w(), t === n._import ? Ro() : No();
@@ -15766,11 +15766,11 @@ function nf(e) {
15766
15766
  a.restoreFromSnapshot(o);
15767
15767
  } else if (a.contextualKeyword === d._using && !Ea() && // Statements like `using[0]` and `using in foo` aren't actual using
15768
15768
  // declarations.
15769
- Ne() === n.name) {
15769
+ Le() === n.name) {
15770
15770
  In(!0);
15771
15771
  return;
15772
15772
  } else if (Io()) {
15773
- Me(d._await), In(!0);
15773
+ Fe(d._await), In(!0);
15774
15774
  return;
15775
15775
  }
15776
15776
  }
@@ -15840,7 +15840,7 @@ function hf() {
15840
15840
  }
15841
15841
  const t = Io();
15842
15842
  if (t || h(n._var) || h(n._let) || h(n._const) || uf()) {
15843
- if (t && Me(d._await), w(), To(!0, a.type !== n._var), h(n._in) || $(d._of)) {
15843
+ if (t && Fe(d._await), w(), To(!0, a.type !== n._var), h(n._in) || $(d._of)) {
15844
15844
  ia(e);
15845
15845
  return;
15846
15846
  }
@@ -16067,13 +16067,13 @@ function Tf() {
16067
16067
  }
16068
16068
  function No() {
16069
16069
  const e = a.tokens.length - 1;
16070
- le && gh() || (Lf() ? Rf() : Nf() ? (Q(), h(n.comma) && Ne() === n.star ? (v(n.comma), v(n.star), Me(d._as), Q()) : Lo(), on()) : k(n._default) ? Af() : Of() ? Pf() : (wi(), on()), a.tokens[e].rhsEndIndex = a.tokens.length);
16070
+ le && gh() || (Lf() ? Rf() : Nf() ? (Q(), h(n.comma) && Le() === n.star ? (v(n.comma), v(n.star), Fe(d._as), Q()) : Lo(), on()) : k(n._default) ? Af() : Of() ? Pf() : (wi(), on()), a.tokens[e].rhsEndIndex = a.tokens.length);
16071
16071
  }
16072
16072
  function Af() {
16073
16073
  if (le && bh() || ke && Dp())
16074
16074
  return;
16075
16075
  const e = a.start;
16076
- k(n._function) ? ar(e, !0, !0) : $(d._async) && Ne() === n._function ? ($e(d._async), k(n._function), ar(e, !0, !0)) : h(n._class) ? or(!0, !0) : h(n.at) ? (vi(), or(!0, !0)) : (We(), Te());
16076
+ k(n._function) ? ar(e, !0, !0) : $(d._async) && Le() === n._function ? ($e(d._async), k(n._function), ar(e, !0, !0)) : h(n._class) ? or(!0, !0) : h(n.at) ? (vi(), or(!0, !0)) : (We(), Te());
16077
16077
  }
16078
16078
  function Pf() {
16079
16079
  le ? _h() : ke ? jp() : at(!0);
@@ -16136,26 +16136,26 @@ function Mf() {
16136
16136
  }
16137
16137
  function Ff() {
16138
16138
  const e = a.snapshot();
16139
- return Me(d._module), $e(d._from) ? $(d._from) ? (a.restoreFromSnapshot(e), !0) : (a.restoreFromSnapshot(e), !1) : h(n.comma) ? (a.restoreFromSnapshot(e), !1) : (a.restoreFromSnapshot(e), !0);
16139
+ return Fe(d._module), $e(d._from) ? $(d._from) ? (a.restoreFromSnapshot(e), !0) : (a.restoreFromSnapshot(e), !1) : h(n.comma) ? (a.restoreFromSnapshot(e), !1) : (a.restoreFromSnapshot(e), !0);
16140
16140
  }
16141
16141
  function jf() {
16142
16142
  $(d._module) && Ff() && w();
16143
16143
  }
16144
16144
  function Ro() {
16145
- if (le && h(n.name) && Ne() === n.eq) {
16145
+ if (le && h(n.name) && Le() === n.eq) {
16146
16146
  Vs();
16147
16147
  return;
16148
16148
  }
16149
16149
  if (le && $(d._type)) {
16150
16150
  const e = hn();
16151
16151
  if (e.type === n.name && e.contextualKeyword !== d._from) {
16152
- if (Me(d._type), Ne() === n.eq) {
16152
+ if (Fe(d._type), Le() === n.eq) {
16153
16153
  Vs();
16154
16154
  return;
16155
16155
  }
16156
- } else (e.type === n.star || e.type === n.braceL) && Me(d._type);
16156
+ } else (e.type === n.star || e.type === n.braceL) && Fe(d._type);
16157
16157
  }
16158
- h(n.string) || (jf(), Vf(), Me(d._from)), Ft(), Do(), Te();
16158
+ h(n.string) || (jf(), Vf(), Fe(d._from)), Ft(), Do(), Te();
16159
16159
  }
16160
16160
  function Bf() {
16161
16161
  return h(n.name);
@@ -16168,7 +16168,7 @@ function Vf() {
16168
16168
  let e = !0;
16169
16169
  if (!(Bf() && (oa(), !k(n.comma)))) {
16170
16170
  if (h(n.star)) {
16171
- w(), Me(d._as), oa();
16171
+ w(), Fe(d._as), oa();
16172
16172
  return;
16173
16173
  }
16174
16174
  for (v(n.braceL); !k(n.braceR) && !a.error; ) {
@@ -16433,14 +16433,14 @@ class Kr {
16433
16433
  function Wf(e, t, r, s) {
16434
16434
  const i = t.snapshot(), o = Gf(t);
16435
16435
  let c = [];
16436
- const u = [], f = [];
16437
- let p = null;
16436
+ const u = [], p = [];
16437
+ let f = null;
16438
16438
  const m = [], x = [], _ = t.currentToken().contextId;
16439
16439
  if (_ == null)
16440
16440
  throw new Error("Expected non-null class context ID on class open-brace.");
16441
16441
  for (t.nextToken(); !t.matchesContextIdAndLabel(n.braceR, _); )
16442
16442
  if (t.matchesContextual(d._constructor) && !t.currentToken().isType)
16443
- ({ constructorInitializerStatements: c, constructorInsertPos: p } = ca(t));
16443
+ ({ constructorInitializerStatements: c, constructorInsertPos: f } = ca(t));
16444
16444
  else if (t.matches1(n.semi))
16445
16445
  s || x.push({ start: t.currentIndex(), end: t.currentIndex() + 1 }), t.nextToken();
16446
16446
  else if (t.currentToken().isType)
@@ -16459,7 +16459,7 @@ function Wf(e, t, r, s) {
16459
16459
  continue;
16460
16460
  }
16461
16461
  if (t.matchesContextual(d._constructor) && !t.currentToken().isType) {
16462
- ({ constructorInitializerStatements: c, constructorInsertPos: p } = ca(t));
16462
+ ({ constructorInitializerStatements: c, constructorInsertPos: f } = ca(t));
16463
16463
  continue;
16464
16464
  }
16465
16465
  const re = t.currentIndex();
@@ -16476,7 +16476,7 @@ function Wf(e, t, r, s) {
16476
16476
  for (t.nextToken(); t.currentIndex() < D; )
16477
16477
  e.processToken();
16478
16478
  let R;
16479
- N ? (R = r.claimFreeName("__initStatic"), f.push(R)) : (R = r.claimFreeName("__init"), u.push(R)), m.push({
16479
+ N ? (R = r.claimFreeName("__initStatic"), p.push(R)) : (R = r.claimFreeName("__init"), u.push(R)), m.push({
16480
16480
  initializerName: R,
16481
16481
  equalsIndex: T,
16482
16482
  start: re,
@@ -16489,15 +16489,15 @@ function Wf(e, t, r, s) {
16489
16489
  constructorInitializerStatements: c,
16490
16490
  instanceInitializerNames: [],
16491
16491
  staticInitializerNames: [],
16492
- constructorInsertPos: p,
16492
+ constructorInsertPos: f,
16493
16493
  fields: [],
16494
16494
  rangesToRemove: x
16495
16495
  } : {
16496
16496
  headerInfo: o,
16497
16497
  constructorInitializerStatements: c,
16498
16498
  instanceInitializerNames: u,
16499
- staticInitializerNames: f,
16500
- constructorInsertPos: p,
16499
+ staticInitializerNames: p,
16500
+ constructorInsertPos: f,
16501
16501
  fields: m,
16502
16502
  rangesToRemove: x
16503
16503
  };
@@ -16639,8 +16639,8 @@ class Qr extends kt {
16639
16639
  __init3() {
16640
16640
  this.hadDefaultExport = !1;
16641
16641
  }
16642
- constructor(t, r, s, i, o, c, u, f, p, m, x, _) {
16643
- super(), this.rootTransformer = t, this.tokens = r, this.importProcessor = s, this.nameManager = i, this.helperManager = o, this.reactHotLoaderTransformer = c, this.enableLegacyBabel5ModuleInterop = u, this.enableLegacyTypeScriptModuleInterop = f, this.isTypeScriptTransformEnabled = p, this.isFlowTransformEnabled = m, this.preserveDynamicImport = x, this.keepUnusedImports = _, Qr.prototype.__init.call(this), Qr.prototype.__init2.call(this), Qr.prototype.__init3.call(this), this.declarationInfo = p ? Fo(r) : Mo;
16642
+ constructor(t, r, s, i, o, c, u, p, f, m, x, _) {
16643
+ super(), this.rootTransformer = t, this.tokens = r, this.importProcessor = s, this.nameManager = i, this.helperManager = o, this.reactHotLoaderTransformer = c, this.enableLegacyBabel5ModuleInterop = u, this.enableLegacyTypeScriptModuleInterop = p, this.isTypeScriptTransformEnabled = f, this.isFlowTransformEnabled = m, this.preserveDynamicImport = x, this.keepUnusedImports = _, Qr.prototype.__init.call(this), Qr.prototype.__init2.call(this), Qr.prototype.__init3.call(this), this.declarationInfo = f ? Fo(r) : Mo;
16644
16644
  }
16645
16645
  getPrefixCode() {
16646
16646
  let t = "";
@@ -17057,8 +17057,8 @@ module.exports = exports.default;
17057
17057
  }
17058
17058
  }
17059
17059
  class Yf extends kt {
17060
- constructor(t, r, s, i, o, c, u, f) {
17061
- super(), this.tokens = t, this.nameManager = r, this.helperManager = s, this.reactHotLoaderTransformer = i, this.isTypeScriptTransformEnabled = o, this.isFlowTransformEnabled = c, this.keepUnusedImports = u, this.nonTypeIdentifiers = o && !u ? Ha(t, f) : /* @__PURE__ */ new Set(), this.declarationInfo = o && !u ? Fo(t) : Mo, this.injectCreateRequireForImportRequire = !!f.injectCreateRequireForImportRequire;
17060
+ constructor(t, r, s, i, o, c, u, p) {
17061
+ super(), this.tokens = t, this.nameManager = r, this.helperManager = s, this.reactHotLoaderTransformer = i, this.isTypeScriptTransformEnabled = o, this.isFlowTransformEnabled = c, this.keepUnusedImports = u, this.nonTypeIdentifiers = o && !u ? Ha(t, p) : /* @__PURE__ */ new Set(), this.declarationInfo = o && !u ? Fo(t) : Mo, this.injectCreateRequireForImportRequire = !!p.injectCreateRequireForImportRequire;
17062
17062
  }
17063
17063
  process() {
17064
17064
  if (this.tokens.matches3(n._import, n.name, n.eq))
@@ -17927,9 +17927,9 @@ class Fn {
17927
17927
  constructorInitializerStatements: o,
17928
17928
  fields: c,
17929
17929
  instanceInitializerNames: u,
17930
- rangesToRemove: f
17930
+ rangesToRemove: p
17931
17931
  } = t;
17932
- let p = 0, m = 0;
17932
+ let f = 0, m = 0;
17933
17933
  const x = this.tokens.currentToken().contextId;
17934
17934
  if (x == null)
17935
17935
  throw new Error("Expected non-null context ID on class.");
@@ -17952,13 +17952,13 @@ class Fn {
17952
17952
  this.tokens.appendCode(`constructor() { ${y}; }`);
17953
17953
  }
17954
17954
  for (; !this.tokens.matchesContextIdAndLabel(n.braceR, x); )
17955
- if (p < c.length && this.tokens.currentIndex() === c[p].start) {
17955
+ if (f < c.length && this.tokens.currentIndex() === c[f].start) {
17956
17956
  let y = !1;
17957
- for (this.tokens.matches1(n.bracketL) ? this.tokens.copyTokenWithPrefix(`${c[p].initializerName}() {this`) : this.tokens.matches1(n.string) || this.tokens.matches1(n.num) ? (this.tokens.copyTokenWithPrefix(`${c[p].initializerName}() {this[`), y = !0) : this.tokens.copyTokenWithPrefix(`${c[p].initializerName}() {this.`); this.tokens.currentIndex() < c[p].end; )
17958
- y && this.tokens.currentIndex() === c[p].equalsIndex && this.tokens.appendCode("]"), this.processToken();
17959
- this.tokens.appendCode("}"), p++;
17960
- } else if (m < f.length && this.tokens.currentIndex() >= f[m].start) {
17961
- for (this.tokens.currentIndex() < f[m].end && this.tokens.removeInitialToken(); this.tokens.currentIndex() < f[m].end; )
17957
+ for (this.tokens.matches1(n.bracketL) ? this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this`) : this.tokens.matches1(n.string) || this.tokens.matches1(n.num) ? (this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this[`), y = !0) : this.tokens.copyTokenWithPrefix(`${c[f].initializerName}() {this.`); this.tokens.currentIndex() < c[f].end; )
17958
+ y && this.tokens.currentIndex() === c[f].equalsIndex && this.tokens.appendCode("]"), this.processToken();
17959
+ this.tokens.appendCode("}"), f++;
17960
+ } else if (m < p.length && this.tokens.currentIndex() >= p[m].start) {
17961
+ for (this.tokens.currentIndex() < p[m].end && this.tokens.removeInitialToken(); this.tokens.currentIndex() < p[m].end; )
17962
17962
  this.tokens.removeToken();
17963
17963
  m++;
17964
17964
  } else this.tokens.currentIndex() === i ? (this.tokens.copyToken(), _ && this.tokens.appendCode(
@@ -18066,8 +18066,8 @@ var id = {};
18066
18066
  return null;
18067
18067
  for (var c = 0, u = this.offsets; u[c + 1] <= o; )
18068
18068
  c++;
18069
- var f = o - u[c];
18070
- return { line: c, column: f };
18069
+ var p = o - u[c];
18070
+ return { line: c, column: p };
18071
18071
  }, i.prototype.indexForLocation = function(o) {
18072
18072
  var c = o.line, u = o.column;
18073
18073
  return c < 0 || c >= this.offsets.length || u < 0 || u > this.lengthOfLine(c) ? null : this.offsets[c] + u;
@@ -18133,7 +18133,7 @@ function ld(e, t) {
18133
18133
  }
18134
18134
  }
18135
18135
  function ud(e, t) {
18136
- const r = t.transforms.includes("jsx"), s = t.transforms.includes("typescript"), i = t.transforms.includes("flow"), o = t.disableESTransforms === !0, c = zf(e, r, s, i), u = c.tokens, f = c.scopes, p = new Zs(e, u), m = new An(p), x = new Kr(
18136
+ const r = t.transforms.includes("jsx"), s = t.transforms.includes("typescript"), i = t.transforms.includes("flow"), o = t.disableESTransforms === !0, c = zf(e, r, s, i), u = c.tokens, p = c.scopes, f = new Zs(e, u), m = new An(f), x = new Kr(
18137
18137
  e,
18138
18138
  u,
18139
18139
  i,
@@ -18142,14 +18142,14 @@ function ud(e, t) {
18142
18142
  ), _ = !!t.enableLegacyTypeScriptModuleInterop;
18143
18143
  let y = null;
18144
18144
  return t.transforms.includes("imports") ? (y = new rr(
18145
- p,
18145
+ f,
18146
18146
  x,
18147
18147
  _,
18148
18148
  t,
18149
18149
  t.transforms.includes("typescript"),
18150
18150
  !!t.keepUnusedImports,
18151
18151
  m
18152
- ), y.preprocessTokens(), Yi(x, f, y.getGlobalNames()), t.transforms.includes("typescript") && !t.keepUnusedImports && y.pruneTypeOnlyImports()) : t.transforms.includes("typescript") && !t.keepUnusedImports && Yi(x, f, ad(x)), { tokenProcessor: x, scopes: f, nameManager: p, importProcessor: y, helperManager: m };
18152
+ ), y.preprocessTokens(), Yi(x, p, y.getGlobalNames()), t.transforms.includes("typescript") && !t.keepUnusedImports && y.pruneTypeOnlyImports()) : t.transforms.includes("typescript") && !t.keepUnusedImports && Yi(x, p, ad(x)), { tokenProcessor: x, scopes: p, nameManager: f, importProcessor: y, helperManager: m };
18153
18153
  }
18154
18154
  var hd = [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, 78, 5, 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, 199, 7, 137, 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, 55, 9, 266, 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, 233, 0, 3, 0, 8, 1, 6, 0, 475, 6, 110, 6, 6, 9, 4759, 9, 787719, 239], Vo = [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, 7, 25, 39, 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, 5, 57, 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, 24, 43, 261, 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, 33, 24, 3, 24, 45, 74, 6, 0, 67, 12, 65, 1, 2, 0, 15, 4, 10, 7381, 42, 31, 98, 114, 8702, 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, 208, 30, 2, 2, 2, 1, 2, 6, 3, 4, 10, 1, 225, 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, 4381, 3, 5773, 3, 7472, 16, 621, 2467, 541, 1507, 4938, 6, 8489], pd = "‌‍·̀-ͯ·҃-֑҇-ׇֽֿׁׂׅׄؐ-ًؚ-٩ٰۖ-ۜ۟-۪ۤۧۨ-ۭ۰-۹ܑܰ-݊ަ-ް߀-߉߫-߽߳ࠖ-࠙ࠛ-ࠣࠥ-ࠧࠩ-࡙࠭-࡛ࢗ-࢟࣊-ࣣ࣡-ःऺ-़ा-ॏ॑-ॗॢॣ०-९ঁ-ঃ়া-ৄেৈো-্ৗৢৣ০-৯৾ਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢૣ૦-૯ૺ-૿ଁ-ଃ଼ା-ୄେୈୋ-୍୕-ୗୢୣ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఀ-ఄ఼ా-ౄె-ైొ-్ౕౖౢౣ౦-౯ಁ-ಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢೣ೦-೯ೳഀ-ഃ഻഼ാ-ൄെ-ൈൊ-്ൗൢൣ൦-൯ඁ-ඃ්ා-ුූෘ-ෟ෦-෯ෲෳัิ-ฺ็-๎๐-๙ັິ-ຼ່-໎໐-໙༘༙༠-༩༹༵༷༾༿ཱ-྄྆྇ྍ-ྗྙ-ྼ࿆ါ-ှ၀-၉ၖ-ၙၞ-ၠၢ-ၤၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟፩-፱ᜒ-᜕ᜲ-᜴ᝒᝓᝲᝳ឴-៓៝០-៩᠋-᠍᠏-᠙ᢩᤠ-ᤫᤰ-᤻᥆-᥏᧐-᧚ᨗ-ᨛᩕ-ᩞ᩠-᩿᩼-᪉᪐-᪙᪰-᪽ᪿ-᫝᫠-᫫ᬀ-ᬄ᬴-᭄᭐-᭙᭫-᭳ᮀ-ᮂᮡ-ᮭ᮰-᮹᯦-᯳ᰤ-᰷᱀-᱉᱐-᱙᳐-᳔᳒-᳨᳭᳴᳷-᳹᷀-᷿‌‍‿⁀⁔⃐-⃥⃜⃡-⃰⳯-⵿⳱ⷠ-〪ⷿ-゙゚〯・꘠-꘩꙯ꙴ-꙽ꚞꚟ꛰꛱ꠂ꠆ꠋꠣ-ꠧ꠬ꢀꢁꢴ-ꣅ꣐-꣙꣠-꣱ꣿ-꤉ꤦ-꤭ꥇ-꥓ꦀ-ꦃ꦳-꧀꧐-꧙ꧥ꧰-꧹ꨩ-ꨶꩃꩌꩍ꩐-꩙ꩻ-ꩽꪰꪲ-ꪴꪷꪸꪾ꪿꫁ꫫ-ꫯꫵ꫶ꯣ-ꯪ꯬꯭꯰-꯹ﬞ︀-️︠-︯︳︴﹍-﹏0-9_・", $o = "ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽͿΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԯԱ-Ֆՙՠ-ֈא-תׯ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࡠ-ࡪࡰ-ࢇࢉ-࢏ࢠ-ࣉऄ-हऽॐक़-ॡॱ-ঀঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱৼਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡૹଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-హఽౘ-ౚ౜ౝౠౡಀಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽ೜-ೞೠೡೱೲഄ-ഌഎ-ഐഒ-ഺഽൎൔ-ൖൟ-ൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄຆ-ຊຌ-ຣລວ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏽᏸ-ᏽᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛸᜀ-ᜑᜟ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡸᢀ-ᢨᢪᢰ-ᣵᤀ-ᤞᥐ-ᥭᥰ-ᥴᦀ-ᦫᦰ-ᧉᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭌᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᲀ-ᲊᲐ-ᲺᲽ-Ჿᳩ-ᳬᳮ-ᳳᳵᳶᳺᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕ℘-ℝℤΩℨK-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞ々-〇〡-〩〱-〵〸-〼ぁ-ゖ゛-ゟァ-ヺー-ヿㄅ-ㄯㄱ-ㆎㆠ-ㆿㇰ-ㇿ㐀-䶿一-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚝꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-Ƛ꟱-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꣽꣾꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꧠ-ꧤꧦ-ꧯꧺ-ꧾꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꩾ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꬰ-ꭚꭜ-ꭩꭰ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ", Cs = {
18155
18155
  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",
@@ -18435,13 +18435,13 @@ Defaulting to 2020, but this will stop working in the future.`)), t.ecmaVersion
18435
18435
  }
18436
18436
  function vd(e, t) {
18437
18437
  return function(r, s, i, o, c, u) {
18438
- var f = {
18438
+ var p = {
18439
18439
  type: r ? "Block" : "Line",
18440
18440
  value: s,
18441
18441
  start: i,
18442
18442
  end: o
18443
18443
  };
18444
- e.locations && (f.loc = new Zn(this, c, u)), e.ranges && (f.range = [i, o]), t.push(f);
18444
+ e.locations && (p.loc = new Zn(this, c, u)), e.ranges && (p.range = [i, o]), t.push(p);
18445
18445
  };
18446
18446
  }
18447
18447
  var cr = 1, hr = 2, Ci = 4, Go = 8, Ei = 16, Xo = 32, es = 64, Yo = 128, pr = 256, gn = 512, Ko = 1024, ts = cr | hr | pr;
@@ -18664,14 +18664,14 @@ V.isUsingKeyword = function(e, t) {
18664
18664
  var u = this.fullCharCodeAt(s);
18665
18665
  if (!Pt(u) && u !== 92)
18666
18666
  return !1;
18667
- var f = s;
18667
+ var p = s;
18668
18668
  do
18669
18669
  s += u <= 65535 ? 1 : 2;
18670
18670
  while (Kt(u = this.fullCharCodeAt(s)));
18671
18671
  if (u === 92)
18672
18672
  return !0;
18673
- var p = this.input.slice(f, s);
18674
- return !(qo.test(p) || t && p === "of");
18673
+ var f = this.input.slice(p, s);
18674
+ return !(qo.test(f) || t && f === "of");
18675
18675
  };
18676
18676
  V.isAwaitUsing = function(e) {
18677
18677
  return this.isUsingKeyword(!0, e);
@@ -18720,17 +18720,17 @@ V.parseStatement = function(e, t, r) {
18720
18720
  case l._import:
18721
18721
  if (this.options.ecmaVersion > 10 && s === l._import) {
18722
18722
  Ye.lastIndex = this.pos;
18723
- var c = Ye.exec(this.input), u = this.pos + c[0].length, f = this.input.charCodeAt(u);
18724
- if (f === 40 || f === 46)
18723
+ var c = Ye.exec(this.input), u = this.pos + c[0].length, p = this.input.charCodeAt(u);
18724
+ if (p === 40 || p === 46)
18725
18725
  return this.parseExpressionStatement(i, this.parseExpression());
18726
18726
  }
18727
18727
  return this.options.allowImportExportEverywhere || (t || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), s === l._import ? this.parseImport(i) : this.parseExport(i, r);
18728
18728
  default:
18729
18729
  if (this.isAsyncFunction())
18730
18730
  return e && this.unexpected(), this.next(), this.parseFunctionStatement(i, !0, !e);
18731
- var p = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
18732
- if (p)
18733
- return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), p === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(i, !1, p), this.semicolon(), this.finishNode(i, "VariableDeclaration");
18731
+ var f = this.isAwaitUsing(!1) ? "await using" : this.isUsing(!1) ? "using" : null;
18732
+ if (f)
18733
+ return this.allowUsing || this.raise(this.start, "Using declaration cannot appear in the top level when source type is `script` or in the bare case statement"), f === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.next(), this.parseVar(i, !1, f), this.semicolon(), this.finishNode(i, "VariableDeclaration");
18734
18734
  var m = this.value, x = this.parseExpression();
18735
18735
  return s === l.name && x.type === "Identifier" && this.eat(l.colon) ? this.parseLabeledStatement(i, m, x, e) : this.parseExpressionStatement(i, x);
18736
18736
  }
@@ -18763,11 +18763,11 @@ V.parseForStatement = function(e) {
18763
18763
  }
18764
18764
  var o = this.isContextual("let"), c = !1, u = this.isUsing(!0) ? "using" : this.isAwaitUsing(!0) ? "await using" : null;
18765
18765
  if (u) {
18766
- var f = this.startNode();
18767
- return this.next(), u === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(f, !0, u), this.finishNode(f, "VariableDeclaration"), this.parseForAfterInit(e, f, t);
18766
+ var p = this.startNode();
18767
+ return this.next(), u === "await using" && (this.canAwait || this.raise(this.start, "Await using cannot appear outside of async function"), this.next()), this.parseVar(p, !0, u), this.finishNode(p, "VariableDeclaration"), this.parseForAfterInit(e, p, t);
18768
18768
  }
18769
- var p = this.containsEsc, m = new rs(), x = this.start, _ = t > -1 ? this.parseExprSubscripts(m, "await") : this.parseExpression(!0, m);
18770
- return this.type === l._in || (c = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === l._in && this.unexpected(t), e.await = !0) : c && this.options.ecmaVersion >= 8 && (_.start === x && !p && _.type === "Identifier" && _.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), o && c && this.raise(_.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(_, !1, m), this.checkLValPattern(_), this.parseForIn(e, _)) : (this.checkExpressionErrors(m, !0), t > -1 && this.unexpected(t), this.parseFor(e, _));
18769
+ var f = this.containsEsc, m = new rs(), x = this.start, _ = t > -1 ? this.parseExprSubscripts(m, "await") : this.parseExpression(!0, m);
18770
+ return this.type === l._in || (c = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (t > -1 ? (this.type === l._in && this.unexpected(t), e.await = !0) : c && this.options.ecmaVersion >= 8 && (_.start === x && !f && _.type === "Identifier" && _.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (e.await = !1)), o && c && this.raise(_.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(_, !1, m), this.checkLValPattern(_), this.parseForIn(e, _)) : (this.checkExpressionErrors(m, !0), t > -1 && this.unexpected(t), this.parseFor(e, _));
18771
18771
  };
18772
18772
  V.parseForAfterInit = function(e, t, r) {
18773
18773
  return (this.type === l._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && t.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === l._in ? r > -1 && this.unexpected(r) : e.await = r > -1), this.parseForIn(e, t)) : (r > -1 && this.unexpected(r), this.parseFor(e, t));
@@ -18823,10 +18823,10 @@ V.parseLabeledStatement = function(e, t, r, s) {
18823
18823
  var c = o[i];
18824
18824
  c.name === t && this.raise(r.start, "Label '" + t + "' is already declared");
18825
18825
  }
18826
- for (var u = this.type.isLoop ? "loop" : this.type === l._switch ? "switch" : null, f = this.labels.length - 1; f >= 0; f--) {
18827
- var p = this.labels[f];
18828
- if (p.statementStart === e.start)
18829
- p.statementStart = this.start, p.kind = u;
18826
+ for (var u = this.type.isLoop ? "loop" : this.type === l._switch ? "switch" : null, p = this.labels.length - 1; p >= 0; p--) {
18827
+ var f = this.labels[p];
18828
+ if (f.statementStart === e.start)
18829
+ f.statementStart = this.start, f.kind = u;
18830
18830
  else
18831
18831
  break;
18832
18832
  }
@@ -18893,12 +18893,12 @@ V.parseClassElement = function(e) {
18893
18893
  this.isClassElementNameStart() || this.type === l.star ? u = !0 : s = "static";
18894
18894
  }
18895
18895
  if (r.static = u, !s && t >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === l.star) && !this.canInsertSemicolon() ? o = !0 : s = "async"), !s && (t >= 9 || !o) && this.eat(l.star) && (i = !0), !s && !o && !i) {
18896
- var f = this.value;
18897
- (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? c = f : s = f);
18896
+ var p = this.value;
18897
+ (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? c = p : s = p);
18898
18898
  }
18899
18899
  if (s ? (r.computed = !1, r.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), r.key.name = s, this.finishNode(r.key, "Identifier")) : this.parseClassElementName(r), t < 13 || this.type === l.parenL || c !== "method" || i || o) {
18900
- var p = !r.static && Bn(r, "constructor"), m = p && e;
18901
- p && c !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = p ? "constructor" : c, this.parseClassMethod(r, i, o, m);
18900
+ var f = !r.static && Bn(r, "constructor"), m = f && e;
18901
+ f && c !== "method" && this.raise(r.key.start, "Constructor can't have get/set modifier"), r.kind = f ? "constructor" : c, this.parseClassMethod(r, i, o, m);
18902
18902
  } else
18903
18903
  this.parseClassField(r);
18904
18904
  return r;
@@ -19007,8 +19007,8 @@ V.checkPatternExport = function(e, t) {
19007
19007
  }
19008
19008
  else if (r === "ArrayPattern")
19009
19009
  for (var c = 0, u = t.elements; c < u.length; c += 1) {
19010
- var f = u[c];
19011
- f && this.checkPatternExport(e, f);
19010
+ var p = u[c];
19011
+ p && this.checkPatternExport(e, p);
19012
19012
  }
19013
19013
  else r === "Property" ? this.checkPatternExport(e, t.value) : r === "AssignmentPattern" ? this.checkPatternExport(e, t.left) : r === "RestElement" && this.checkPatternExport(e, t.argument);
19014
19014
  };
@@ -19239,8 +19239,8 @@ pt.checkLValPattern = function(e, t, r) {
19239
19239
  break;
19240
19240
  case "ArrayPattern":
19241
19241
  for (var c = 0, u = e.elements; c < u.length; c += 1) {
19242
- var f = u[c];
19243
- f && this.checkLValInnerPattern(f, t, r);
19242
+ var p = u[c];
19243
+ p && this.checkLValInnerPattern(p, t, r);
19244
19244
  }
19245
19245
  break;
19246
19246
  default:
@@ -19264,7 +19264,7 @@ pt.checkLValInnerPattern = function(e, t, r) {
19264
19264
  };
19265
19265
  var mt = function(t, r, s, i, o) {
19266
19266
  this.token = t, this.isExpr = !!r, this.preserveSpace = !!s, this.override = i, this.generator = !!o;
19267
- }, Pe = {
19267
+ }, Ne = {
19268
19268
  b_stat: new mt("{", !1),
19269
19269
  b_expr: new mt("{", !0),
19270
19270
  b_tmpl: new mt("${", !1),
@@ -19279,14 +19279,14 @@ var mt = function(t, r, s, i, o) {
19279
19279
  f_gen: new mt("function", !1, !1, null, !0)
19280
19280
  }, Rr = qe.prototype;
19281
19281
  Rr.initialContext = function() {
19282
- return [Pe.b_stat];
19282
+ return [Ne.b_stat];
19283
19283
  };
19284
19284
  Rr.curContext = function() {
19285
19285
  return this.context[this.context.length - 1];
19286
19286
  };
19287
19287
  Rr.braceIsBlock = function(e) {
19288
19288
  var t = this.curContext();
19289
- return t === Pe.f_expr || t === Pe.f_stat ? !0 : e === l.colon && (t === Pe.b_stat || t === Pe.b_expr) ? !t.isExpr : e === l._return || e === l.name && this.exprAllowed ? rt.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 === Pe.b_stat : e === l._var || e === l._const || e === l.name ? !1 : !this.exprAllowed;
19289
+ return t === Ne.f_expr || t === Ne.f_stat ? !0 : e === l.colon && (t === Ne.b_stat || t === Ne.b_expr) ? !t.isExpr : e === l._return || e === l.name && this.exprAllowed ? rt.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 === Ne.b_stat : e === l._var || e === l._const || e === l.name ? !1 : !this.exprAllowed;
19290
19290
  };
19291
19291
  Rr.inGeneratorContext = function() {
19292
19292
  for (var e = this.context.length - 1; e >= 1; e--) {
@@ -19309,33 +19309,33 @@ l.parenR.updateContext = l.braceR.updateContext = function() {
19309
19309
  return;
19310
19310
  }
19311
19311
  var e = this.context.pop();
19312
- e === Pe.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
19312
+ e === Ne.b_stat && this.curContext().token === "function" && (e = this.context.pop()), this.exprAllowed = !e.isExpr;
19313
19313
  };
19314
19314
  l.braceL.updateContext = function(e) {
19315
- this.context.push(this.braceIsBlock(e) ? Pe.b_stat : Pe.b_expr), this.exprAllowed = !0;
19315
+ this.context.push(this.braceIsBlock(e) ? Ne.b_stat : Ne.b_expr), this.exprAllowed = !0;
19316
19316
  };
19317
19317
  l.dollarBraceL.updateContext = function() {
19318
- this.context.push(Pe.b_tmpl), this.exprAllowed = !0;
19318
+ this.context.push(Ne.b_tmpl), this.exprAllowed = !0;
19319
19319
  };
19320
19320
  l.parenL.updateContext = function(e) {
19321
19321
  var t = e === l._if || e === l._for || e === l._with || e === l._while;
19322
- this.context.push(t ? Pe.p_stat : Pe.p_expr), this.exprAllowed = !0;
19322
+ this.context.push(t ? Ne.p_stat : Ne.p_expr), this.exprAllowed = !0;
19323
19323
  };
19324
19324
  l.incDec.updateContext = function() {
19325
19325
  };
19326
19326
  l._function.updateContext = l._class.updateContext = function(e) {
19327
- e.beforeExpr && e !== l._else && !(e === l.semi && this.curContext() !== Pe.p_stat) && !(e === l._return && rt.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === l.colon || e === l.braceL) && this.curContext() === Pe.b_stat) ? this.context.push(Pe.f_expr) : this.context.push(Pe.f_stat), this.exprAllowed = !1;
19327
+ e.beforeExpr && e !== l._else && !(e === l.semi && this.curContext() !== Ne.p_stat) && !(e === l._return && rt.test(this.input.slice(this.lastTokEnd, this.start))) && !((e === l.colon || e === l.braceL) && this.curContext() === Ne.b_stat) ? this.context.push(Ne.f_expr) : this.context.push(Ne.f_stat), this.exprAllowed = !1;
19328
19328
  };
19329
19329
  l.colon.updateContext = function() {
19330
19330
  this.curContext().token === "function" && this.context.pop(), this.exprAllowed = !0;
19331
19331
  };
19332
19332
  l.backQuote.updateContext = function() {
19333
- this.curContext() === Pe.q_tmpl ? this.context.pop() : this.context.push(Pe.q_tmpl), this.exprAllowed = !1;
19333
+ this.curContext() === Ne.q_tmpl ? this.context.pop() : this.context.push(Ne.q_tmpl), this.exprAllowed = !1;
19334
19334
  };
19335
19335
  l.star.updateContext = function(e) {
19336
19336
  if (e === l._function) {
19337
19337
  var t = this.context.length - 1;
19338
- this.context[t] === Pe.f_expr ? this.context[t] = Pe.f_expr_gen : this.context[t] = Pe.f_gen;
19338
+ this.context[t] === Ne.f_expr ? this.context[t] = Ne.f_expr_gen : this.context[t] = Ne.f_gen;
19339
19339
  }
19340
19340
  this.exprAllowed = !0;
19341
19341
  };
@@ -19394,15 +19394,15 @@ te.parseMaybeAssign = function(e, t, r) {
19394
19394
  }
19395
19395
  var s = !1, i = -1, o = -1, c = -1;
19396
19396
  t ? (i = t.parenthesizedAssign, o = t.trailingComma, c = t.doubleProto, t.parenthesizedAssign = t.trailingComma = -1) : (t = new rs(), s = !0);
19397
- var u = this.start, f = this.startLoc;
19397
+ var u = this.start, p = this.startLoc;
19398
19398
  (this.type === l.parenL || this.type === l.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = e === "await");
19399
- var p = this.parseMaybeConditional(e, t);
19400
- if (r && (p = r.call(this, p, u, f)), this.type.isAssign) {
19401
- var m = this.startNodeAt(u, f);
19402
- return m.operator = this.value, this.type === l.eq && (p = this.toAssignable(p, !1, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= p.start && (t.shorthandAssign = -1), this.type === l.eq ? this.checkLValPattern(p) : this.checkLValSimple(p), m.left = p, this.next(), m.right = this.parseMaybeAssign(e), c > -1 && (t.doubleProto = c), this.finishNode(m, "AssignmentExpression");
19399
+ var f = this.parseMaybeConditional(e, t);
19400
+ if (r && (f = r.call(this, f, u, p)), this.type.isAssign) {
19401
+ var m = this.startNodeAt(u, p);
19402
+ return m.operator = this.value, this.type === l.eq && (f = this.toAssignable(f, !1, t)), s || (t.parenthesizedAssign = t.trailingComma = t.doubleProto = -1), t.shorthandAssign >= f.start && (t.shorthandAssign = -1), this.type === l.eq ? this.checkLValPattern(f) : this.checkLValSimple(f), m.left = f, this.next(), m.right = this.parseMaybeAssign(e), c > -1 && (t.doubleProto = c), this.finishNode(m, "AssignmentExpression");
19403
19403
  } else
19404
19404
  s && this.checkExpressionErrors(t, !0);
19405
- return i > -1 && (t.parenthesizedAssign = i), o > -1 && (t.trailingComma = o), p;
19405
+ return i > -1 && (t.parenthesizedAssign = i), o > -1 && (t.trailingComma = o), f;
19406
19406
  };
19407
19407
  te.parseMaybeConditional = function(e, t) {
19408
19408
  var r = this.start, s = this.startLoc, i = this.parseExprOps(e, t);
@@ -19423,9 +19423,9 @@ te.parseExprOp = function(e, t, r, s, i) {
19423
19423
  if (o != null && (!i || this.type !== l._in) && o > s) {
19424
19424
  var c = this.type === l.logicalOR || this.type === l.logicalAND, u = this.type === l.coalesce;
19425
19425
  u && (o = l.logicalAND.binop);
19426
- var f = this.value;
19426
+ var p = this.value;
19427
19427
  this.next();
19428
- var p = this.start, m = this.startLoc, x = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), p, m, o, i), _ = this.buildBinary(t, r, e, x, f, c || u);
19428
+ var f = this.start, m = this.startLoc, x = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, i), f, m, o, i), _ = this.buildBinary(t, r, e, x, p, c || u);
19429
19429
  return (c && this.type === l.coalesce || u && (this.type === l.logicalOR || this.type === l.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(_, t, r, s, i);
19430
19430
  }
19431
19431
  return e;
@@ -19440,16 +19440,16 @@ te.parseMaybeUnary = function(e, t, r, s) {
19440
19440
  if (this.isContextual("await") && this.canAwait)
19441
19441
  c = this.parseAwait(s), t = !0;
19442
19442
  else if (this.type.prefix) {
19443
- var u = this.startNode(), f = this.type === l.incDec;
19444
- u.operator = this.value, u.prefix = !0, this.next(), u.argument = this.parseMaybeUnary(null, !0, f, s), this.checkExpressionErrors(e, !0), f ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && t1(u.argument) ? this.raiseRecoverable(u.start, "Deleting local variable in strict mode") : u.operator === "delete" && Ks(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be deleted") : t = !0, c = this.finishNode(u, f ? "UpdateExpression" : "UnaryExpression");
19443
+ var u = this.startNode(), p = this.type === l.incDec;
19444
+ u.operator = this.value, u.prefix = !0, this.next(), u.argument = this.parseMaybeUnary(null, !0, p, s), this.checkExpressionErrors(e, !0), p ? this.checkLValSimple(u.argument) : this.strict && u.operator === "delete" && t1(u.argument) ? this.raiseRecoverable(u.start, "Deleting local variable in strict mode") : u.operator === "delete" && Ks(u.argument) ? this.raiseRecoverable(u.start, "Private fields can not be deleted") : t = !0, c = this.finishNode(u, p ? "UpdateExpression" : "UnaryExpression");
19445
19445
  } else if (!t && this.type === l.privateId)
19446
19446
  (s || this.privateNameStack.length === 0) && this.options.checkPrivateFields && this.unexpected(), c = this.parsePrivateIdent(), this.type !== l._in && this.unexpected();
19447
19447
  else {
19448
19448
  if (c = this.parseExprSubscripts(e, s), this.checkExpressionErrors(e))
19449
19449
  return c;
19450
19450
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
19451
- var p = this.startNodeAt(i, o);
19452
- p.operator = this.value, p.prefix = !1, p.argument = c, this.checkLValSimple(c), this.next(), c = this.finishNode(p, "UpdateExpression");
19451
+ var f = this.startNodeAt(i, o);
19452
+ f.operator = this.value, f.prefix = !1, f.argument = c, this.checkLValSimple(c), this.next(), c = this.finishNode(f, "UpdateExpression");
19453
19453
  }
19454
19454
  }
19455
19455
  if (!r && this.eat(l.starstar))
@@ -19478,8 +19478,8 @@ te.parseSubscripts = function(e, t, r, s, i) {
19478
19478
  var u = this.parseSubscript(e, t, r, s, o, c, i);
19479
19479
  if (u.optional && (c = !0), u === e || u.type === "ArrowFunctionExpression") {
19480
19480
  if (c) {
19481
- var f = this.startNodeAt(t, r);
19482
- f.expression = u, u = this.finishNode(f, "ChainExpression");
19481
+ var p = this.startNodeAt(t, r);
19482
+ p.expression = u, u = this.finishNode(p, "ChainExpression");
19483
19483
  }
19484
19484
  return u;
19485
19485
  }
@@ -19493,23 +19493,23 @@ te.parseSubscriptAsyncArrow = function(e, t, r, s) {
19493
19493
  return this.parseArrowExpression(this.startNodeAt(e, t), r, !0, s);
19494
19494
  };
19495
19495
  te.parseSubscript = function(e, t, r, s, i, o, c) {
19496
- var u = this.options.ecmaVersion >= 11, f = u && this.eat(l.questionDot);
19497
- s && f && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
19498
- var p = this.eat(l.bracketL);
19499
- if (p || f && this.type !== l.parenL && this.type !== l.backQuote || this.eat(l.dot)) {
19496
+ var u = this.options.ecmaVersion >= 11, p = u && this.eat(l.questionDot);
19497
+ s && p && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
19498
+ var f = this.eat(l.bracketL);
19499
+ if (f || p && this.type !== l.parenL && this.type !== l.backQuote || this.eat(l.dot)) {
19500
19500
  var m = this.startNodeAt(t, r);
19501
- m.object = e, p ? (m.property = this.parseExpression(), this.expect(l.bracketR)) : this.type === l.privateId && e.type !== "Super" ? m.property = this.parsePrivateIdent() : m.property = this.parseIdent(this.options.allowReserved !== "never"), m.computed = !!p, u && (m.optional = f), e = this.finishNode(m, "MemberExpression");
19501
+ m.object = e, f ? (m.property = this.parseExpression(), this.expect(l.bracketR)) : this.type === l.privateId && e.type !== "Super" ? m.property = this.parsePrivateIdent() : m.property = this.parseIdent(this.options.allowReserved !== "never"), m.computed = !!f, u && (m.optional = p), e = this.finishNode(m, "MemberExpression");
19502
19502
  } else if (!s && this.eat(l.parenL)) {
19503
19503
  var x = new rs(), _ = this.yieldPos, y = this.awaitPos, N = this.awaitIdentPos;
19504
19504
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
19505
19505
  var O = this.parseExprList(l.parenR, this.options.ecmaVersion >= 8, !1, x);
19506
- if (i && !f && this.shouldParseAsyncArrow())
19506
+ if (i && !p && this.shouldParseAsyncArrow())
19507
19507
  return this.checkPatternErrors(x, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = _, this.awaitPos = y, this.awaitIdentPos = N, this.parseSubscriptAsyncArrow(t, r, O, c);
19508
19508
  this.checkExpressionErrors(x, !0), this.yieldPos = _ || this.yieldPos, this.awaitPos = y || this.awaitPos, this.awaitIdentPos = N || this.awaitIdentPos;
19509
19509
  var F = this.startNodeAt(t, r);
19510
- F.callee = e, F.arguments = O, u && (F.optional = f), e = this.finishNode(F, "CallExpression");
19510
+ F.callee = e, F.arguments = O, u && (F.optional = p), e = this.finishNode(F, "CallExpression");
19511
19511
  } else if (this.type === l.backQuote) {
19512
- (f || o) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
19512
+ (p || o) && this.raise(this.start, "Optional chaining cannot appear in the tag of tagged template expressions");
19513
19513
  var re = this.startNodeAt(t, r);
19514
19514
  re.tag = e, re.quasi = this.parseTemplate({ isTagged: !0 }), e = this.finishNode(re, "TaggedTemplateExpression");
19515
19515
  }
@@ -19524,19 +19524,19 @@ te.parseExprAtom = function(e, t, r) {
19524
19524
  case l._this:
19525
19525
  return s = this.startNode(), this.next(), this.finishNode(s, "ThisExpression");
19526
19526
  case l.name:
19527
- var o = this.start, c = this.startLoc, u = this.containsEsc, f = this.parseIdent(!1);
19528
- if (this.options.ecmaVersion >= 8 && !u && f.name === "async" && !this.canInsertSemicolon() && this.eat(l._function))
19529
- return this.overrideContext(Pe.f_expr), this.parseFunction(this.startNodeAt(o, c), 0, !1, !0, t);
19527
+ var o = this.start, c = this.startLoc, u = this.containsEsc, p = this.parseIdent(!1);
19528
+ if (this.options.ecmaVersion >= 8 && !u && p.name === "async" && !this.canInsertSemicolon() && this.eat(l._function))
19529
+ return this.overrideContext(Ne.f_expr), this.parseFunction(this.startNodeAt(o, c), 0, !1, !0, t);
19530
19530
  if (i && !this.canInsertSemicolon()) {
19531
19531
  if (this.eat(l.arrow))
19532
- return this.parseArrowExpression(this.startNodeAt(o, c), [f], !1, t);
19533
- if (this.options.ecmaVersion >= 8 && f.name === "async" && this.type === l.name && !u && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
19534
- return f = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(l.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(o, c), [f], !0, t);
19532
+ return this.parseArrowExpression(this.startNodeAt(o, c), [p], !1, t);
19533
+ if (this.options.ecmaVersion >= 8 && p.name === "async" && this.type === l.name && !u && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
19534
+ return p = this.parseIdent(!1), (this.canInsertSemicolon() || !this.eat(l.arrow)) && this.unexpected(), this.parseArrowExpression(this.startNodeAt(o, c), [p], !0, t);
19535
19535
  }
19536
- return f;
19536
+ return p;
19537
19537
  case l.regexp:
19538
- var p = this.value;
19539
- return s = this.parseLiteral(p.value), s.regex = { pattern: p.pattern, flags: p.flags }, s;
19538
+ var f = this.value;
19539
+ return s = this.parseLiteral(f.value), s.regex = { pattern: f.pattern, flags: f.flags }, s;
19540
19540
  case l.num:
19541
19541
  case l.string:
19542
19542
  return this.parseLiteral(this.value);
@@ -19550,7 +19550,7 @@ te.parseExprAtom = function(e, t, r) {
19550
19550
  case l.bracketL:
19551
19551
  return s = this.startNode(), this.next(), s.elements = this.parseExprList(l.bracketR, !0, !0, e), this.finishNode(s, "ArrayExpression");
19552
19552
  case l.braceL:
19553
- return this.overrideContext(Pe.b_expr), this.parseObj(!1, e);
19553
+ return this.overrideContext(Ne.b_expr), this.parseObj(!1, e);
19554
19554
  case l._function:
19555
19555
  return s = this.startNode(), this.next(), this.parseFunction(s, 0);
19556
19556
  case l._class:
@@ -19608,23 +19608,23 @@ te.parseParenAndDistinguishExpression = function(e, t) {
19608
19608
  var r = this.start, s = this.startLoc, i, o = this.options.ecmaVersion >= 8;
19609
19609
  if (this.options.ecmaVersion >= 6) {
19610
19610
  this.next();
19611
- var c = this.start, u = this.startLoc, f = [], p = !0, m = !1, x = new rs(), _ = this.yieldPos, y = this.awaitPos, N;
19611
+ var c = this.start, u = this.startLoc, p = [], f = !0, m = !1, x = new rs(), _ = this.yieldPos, y = this.awaitPos, N;
19612
19612
  for (this.yieldPos = 0, this.awaitPos = 0; this.type !== l.parenR; )
19613
- if (p ? p = !1 : this.expect(l.comma), o && this.afterTrailingComma(l.parenR, !0)) {
19613
+ if (f ? f = !1 : this.expect(l.comma), o && this.afterTrailingComma(l.parenR, !0)) {
19614
19614
  m = !0;
19615
19615
  break;
19616
19616
  } else if (this.type === l.ellipsis) {
19617
- N = this.start, f.push(this.parseParenItem(this.parseRestBinding())), this.type === l.comma && this.raiseRecoverable(
19617
+ N = this.start, p.push(this.parseParenItem(this.parseRestBinding())), this.type === l.comma && this.raiseRecoverable(
19618
19618
  this.start,
19619
19619
  "Comma is not permitted after the rest element"
19620
19620
  );
19621
19621
  break;
19622
19622
  } else
19623
- f.push(this.parseMaybeAssign(!1, x, this.parseParenItem));
19623
+ p.push(this.parseMaybeAssign(!1, x, this.parseParenItem));
19624
19624
  var O = this.lastTokEnd, F = this.lastTokEndLoc;
19625
- if (this.expect(l.parenR), e && this.shouldParseArrow(f) && this.eat(l.arrow))
19626
- return this.checkPatternErrors(x, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = _, this.awaitPos = y, this.parseParenArrowList(r, s, f, t);
19627
- (!f.length || m) && this.unexpected(this.lastTokStart), N && this.unexpected(N), this.checkExpressionErrors(x, !0), this.yieldPos = _ || this.yieldPos, this.awaitPos = y || this.awaitPos, f.length > 1 ? (i = this.startNodeAt(c, u), i.expressions = f, this.finishNodeAt(i, "SequenceExpression", O, F)) : i = f[0];
19625
+ if (this.expect(l.parenR), e && this.shouldParseArrow(p) && this.eat(l.arrow))
19626
+ return this.checkPatternErrors(x, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = _, this.awaitPos = y, this.parseParenArrowList(r, s, p, t);
19627
+ (!p.length || m) && this.unexpected(this.lastTokStart), N && this.unexpected(N), this.checkExpressionErrors(x, !0), this.yieldPos = _ || this.yieldPos, this.awaitPos = y || this.awaitPos, p.length > 1 ? (i = this.startNodeAt(c, u), i.expressions = p, this.finishNodeAt(i, "SequenceExpression", O, F)) : i = p[0];
19628
19628
  } else
19629
19629
  i = this.parseParenExpression();
19630
19630
  if (this.options.preserveParens) {
@@ -19737,8 +19737,8 @@ te.parseFunctionBody = function(e, t, r, s) {
19737
19737
  else {
19738
19738
  var u = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(e.params);
19739
19739
  (!o || u) && (c = this.strictDirective(this.end), c && u && this.raiseRecoverable(e.start, "Illegal 'use strict' directive in function with non-simple parameter list"));
19740
- var f = this.labels;
19741
- this.labels = [], c && (this.strict = !0), this.checkParams(e, !o && !c && !t && !r && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Zo), e.body = this.parseBlock(!1, void 0, c && !o), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = f;
19740
+ var p = this.labels;
19741
+ this.labels = [], c && (this.strict = !0), this.checkParams(e, !o && !c && !t && !r && this.isSimpleParamList(e.params)), this.strict && e.id && this.checkLValSimple(e.id, Zo), e.body = this.parseBlock(!1, void 0, c && !o), e.expression = !1, this.adaptDirectivePrologue(e.body.body), this.labels = p;
19742
19742
  }
19743
19743
  this.exitScope();
19744
19744
  };
@@ -19833,12 +19833,12 @@ Jt.declareName = function(e, t, r) {
19833
19833
  this.treatFunctionsAsVar ? s = c.lexical.indexOf(e) > -1 : s = c.lexical.indexOf(e) > -1 || c.var.indexOf(e) > -1, c.functions.push(e);
19834
19834
  } else
19835
19835
  for (var u = this.scopeStack.length - 1; u >= 0; --u) {
19836
- var f = this.scopeStack[u];
19837
- if (f.lexical.indexOf(e) > -1 && !(f.flags & Xo && f.lexical[0] === e) || !this.treatFunctionsAsVarInScope(f) && f.functions.indexOf(e) > -1) {
19836
+ var p = this.scopeStack[u];
19837
+ if (p.lexical.indexOf(e) > -1 && !(p.flags & Xo && p.lexical[0] === e) || !this.treatFunctionsAsVarInScope(p) && p.functions.indexOf(e) > -1) {
19838
19838
  s = !0;
19839
19839
  break;
19840
19840
  }
19841
- if (f.var.push(e), this.inModule && f.flags & cr && delete this.undefinedExports[e], f.flags & ts)
19841
+ if (p.var.push(e), this.inModule && p.flags & cr && delete this.undefinedExports[e], p.flags & ts)
19842
19842
  break;
19843
19843
  }
19844
19844
  s && this.raiseRecoverable(r, "Identifier '" + e + "' has already been declared");
@@ -20166,8 +20166,8 @@ B.regexp_eatUncapturingGroup = function(e) {
20166
20166
  var c = this.regexp_eatModifiers(e);
20167
20167
  !r && !c && e.current() === 58 && e.raise("Invalid regular expression modifiers");
20168
20168
  for (var u = 0; u < c.length; u++) {
20169
- var f = c.charAt(u);
20170
- (c.indexOf(f, u + 1) > -1 || r.indexOf(f) > -1) && e.raise("Duplicate regular expression modifiers");
20169
+ var p = c.charAt(u);
20170
+ (c.indexOf(p, u + 1) > -1 || r.indexOf(p) > -1) && e.raise("Duplicate regular expression modifiers");
20171
20171
  }
20172
20172
  }
20173
20173
  }
@@ -21035,18 +21035,18 @@ ue.readRegexp = function() {
21035
21035
  this.containsEsc && this.unexpected(o);
21036
21036
  var u = this.regexpState || (this.regexpState = new Lt(this));
21037
21037
  u.reset(r, i, c), this.validateRegExpFlags(u), this.validateRegExpPattern(u);
21038
- var f = null;
21038
+ var p = null;
21039
21039
  try {
21040
- f = new RegExp(i, c);
21040
+ p = new RegExp(i, c);
21041
21041
  } catch {
21042
21042
  }
21043
- return this.finishToken(l.regexp, { pattern: i, flags: c, value: f });
21043
+ return this.finishToken(l.regexp, { pattern: i, flags: c, value: p });
21044
21044
  };
21045
21045
  ue.readInt = function(e, t, r) {
21046
- for (var s = this.options.ecmaVersion >= 12 && t === void 0, i = r && this.input.charCodeAt(this.pos) === 48, o = this.pos, c = 0, u = 0, f = 0, p = t ?? 1 / 0; f < p; ++f, ++this.pos) {
21046
+ for (var s = this.options.ecmaVersion >= 12 && t === void 0, i = r && this.input.charCodeAt(this.pos) === 48, o = this.pos, c = 0, u = 0, p = 0, f = t ?? 1 / 0; p < f; ++p, ++this.pos) {
21047
21047
  var m = this.input.charCodeAt(this.pos), x = void 0;
21048
21048
  if (s && m === 95) {
21049
- i && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), f === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), u = m;
21049
+ i && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), u === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), p === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), u = m;
21050
21050
  continue;
21051
21051
  }
21052
21052
  if (m >= 97 ? x = m - 97 + 10 : m >= 65 ? x = m - 65 + 10 : m >= 48 && m <= 57 ? x = m - 48 : x = 1 / 0, x >= e)
@@ -21253,7 +21253,7 @@ qe.acorn = {
21253
21253
  tokTypes: l,
21254
21254
  keywordTypes: Ii,
21255
21255
  TokContext: mt,
21256
- tokContexts: Pe,
21256
+ tokContexts: Ne,
21257
21257
  isIdentifierChar: Kt,
21258
21258
  isIdentifierStart: Pt,
21259
21259
  Token: Ni,
@@ -21266,16 +21266,16 @@ function _1(e, t) {
21266
21266
  return qe.parse(e, t);
21267
21267
  }
21268
21268
  function As(e, t, r, s, i) {
21269
- r || (r = P), function o(c, u, f) {
21270
- var p = f || c.type;
21271
- S1(r, p, c, u, o), t[p] && t[p](c, u);
21269
+ r || (r = P), function o(c, u, p) {
21270
+ var f = p || c.type;
21271
+ S1(r, f, c, u, o), t[f] && t[f](c, u);
21272
21272
  }(e, s, i);
21273
21273
  }
21274
21274
  function Yd(e, t, r, s, i) {
21275
21275
  var o = [];
21276
- r || (r = P), function c(u, f, p) {
21277
- var m = p || u.type, x = u !== o[o.length - 1];
21278
- x && o.push(u), S1(r, m, u, f, c), t[m] && t[m](u, f || o, o), x && o.pop();
21276
+ r || (r = P), function c(u, p, f) {
21277
+ var m = f || u.type, x = u !== o[o.length - 1];
21278
+ x && o.push(u), S1(r, m, u, p, c), t[m] && t[m](u, p || o, o), x && o.pop();
21279
21279
  }(e, s, i);
21280
21280
  }
21281
21281
  function Li(e, t, r) {
@@ -21416,8 +21416,8 @@ P.TemplateLiteral = function(e, t, r) {
21416
21416
  r(o, t);
21417
21417
  }
21418
21418
  for (var c = 0, u = e.expressions; c < u.length; c += 1) {
21419
- var f = u[c];
21420
- r(f, t, "Expression");
21419
+ var p = u[c];
21420
+ r(p, t, "Expression");
21421
21421
  }
21422
21422
  };
21423
21423
  P.TemplateElement = fr;
@@ -21467,8 +21467,8 @@ P.ImportDeclaration = function(e, t, r) {
21467
21467
  }
21468
21468
  if (r(e.source, t, "Expression"), e.attributes)
21469
21469
  for (var c = 0, u = e.attributes; c < u.length; c += 1) {
21470
- var f = u[c];
21471
- r(f, t);
21470
+ var p = u[c];
21471
+ r(p, t);
21472
21472
  }
21473
21473
  };
21474
21474
  P.ImportExpression = function(e, t, r) {
@@ -21604,7 +21604,9 @@ const I1 = /* @__PURE__ */ new Set([
21604
21604
  "DetailCard",
21605
21605
  "StepWizard",
21606
21606
  "Logo",
21607
- "Avatar"
21607
+ "Avatar",
21608
+ // Preamble-provided utilities (auto-injected, agent should NOT re-declare)
21609
+ "cn"
21608
21610
  ]);
21609
21611
  function Kd(e) {
21610
21612
  const t = new Set(I1), r = /import\s*\{([^}]+)\}\s*from\s*['"][^'"]+['"]/g;
@@ -21628,12 +21630,12 @@ function Kd(e) {
21628
21630
  const u = /function\s+(\w+)/g;
21629
21631
  for (; s = u.exec(e); )
21630
21632
  t.add(s[1]);
21631
- const f = /class\s+(\w+)/g;
21632
- for (; s = f.exec(e); )
21633
- t.add(s[1]);
21634
- const p = /enum\s+(\w+)/g;
21633
+ const p = /class\s+(\w+)/g;
21635
21634
  for (; s = p.exec(e); )
21636
21635
  t.add(s[1]);
21636
+ const f = /enum\s+(\w+)/g;
21637
+ for (; s = f.exec(e); )
21638
+ t.add(s[1]);
21637
21639
  const m = /(?:type|interface)\s+(\w+)/g;
21638
21640
  for (; s = m.exec(e); )
21639
21641
  t.add(s[1]);
@@ -21711,15 +21713,15 @@ function Qd(e, t) {
21711
21713
  s.has(u) || o.has(u);
21712
21714
  }
21713
21715
  }), Yd(r, {
21714
- Identifier(c, u, f) {
21716
+ Identifier(c, u, p) {
21715
21717
  var y, N;
21716
- const p = c.name;
21717
- if (s.has(p) || o.has(p)) return;
21718
- const m = f[f.length - 2];
21718
+ const f = c.name;
21719
+ if (s.has(f) || o.has(f)) return;
21720
+ const m = p[p.length - 2];
21719
21721
  if (!m || m.type === "MemberExpression" && m.property === c && !m.computed || m.type === "Property" && m.key === c && !m.computed || m.type === "ImportSpecifier" || m.type === "ImportDefaultSpecifier" || m.type === "ImportNamespaceSpecifier" || m.type === "VariableDeclarator" && m.id === c || m.type === "FunctionDeclaration" && m.id === c || m.type === "ClassDeclaration" && m.id === c || m.type === "LabeledStatement" && m.label === c || (m.type === "BreakStatement" || m.type === "ContinueStatement") && m.label === c || m.type === "MethodDefinition" && m.key === c || m.type === "JSXAttribute" && m.name === c || m.type === "JSXOpeningElement" && m.name === c || m.type === "JSXClosingElement" && m.name === c) return;
21720
- o.add(p);
21722
+ o.add(f);
21721
21723
  const x = ((N = (y = c.loc) == null ? void 0 : y.start) == null ? void 0 : N.line) ?? 1, _ = Math.min(x, t);
21722
- i.push({ name: p, line: _ });
21724
+ i.push({ name: f, line: _ });
21723
21725
  }
21724
21726
  }), i;
21725
21727
  }
@@ -21754,20 +21756,20 @@ function qn(e, t) {
21754
21756
  `), s = [];
21755
21757
  let i = null, o = null, c = 0;
21756
21758
  if (t > 0 && t <= r.length) {
21757
- const f = r[t - 1].match(/^(\s*)/);
21758
- c = f ? f[1].length : 0;
21759
+ const p = r[t - 1].match(/^(\s*)/);
21760
+ c = p ? p[1].length : 0;
21759
21761
  }
21760
21762
  for (let u = Math.min(t - 1, r.length - 1); u >= 0; u--) {
21761
- const f = r[u];
21763
+ const p = r[u];
21762
21764
  if (!i) {
21763
- const p = f.match(/^(\s*)(export\s+default\s+)?function\s+(\w+)/);
21764
- p && (i = { name: p[3], line: u + 1 });
21765
- const m = f.match(/^(\s*)(export\s+default\s+)?const\s+(\w+)\s*=\s*(\([^)]*\)|[^=])*=>/);
21765
+ const f = p.match(/^(\s*)(export\s+default\s+)?function\s+(\w+)/);
21766
+ f && (i = { name: f[3], line: u + 1 });
21767
+ const m = p.match(/^(\s*)(export\s+default\s+)?const\s+(\w+)\s*=\s*(\([^)]*\)|[^=])*=>/);
21766
21768
  m && (i = { name: m[3], line: u + 1 });
21767
21769
  }
21768
21770
  if (!o) {
21769
- const p = f.match(/activePage\s*===\s*['"](\w+)['"]/);
21770
- p && (o = { page: p[1], line: u + 1 });
21771
+ const f = p.match(/activePage\s*===\s*['"](\w+)['"]/);
21772
+ f && (o = { page: f[1], line: u + 1 });
21771
21773
  }
21772
21774
  if (i && o) break;
21773
21775
  }
@@ -21807,10 +21809,10 @@ function Ri(e, t = {}) {
21807
21809
  var m;
21808
21810
  const { filename: r = "App.tsx", isTypeScript: s, isJSX: i } = t, o = ((m = r.split(".").pop()) == null ? void 0 : m.toLowerCase()) ?? "", c = [];
21809
21811
  (s ?? (o === "tsx" || o === "ts")) && c.push("typescript"), (i ?? (o === "tsx" || o === "jsx")) && c.push("jsx");
21810
- const u = [], f = Jd(e);
21811
- let p = "";
21812
+ const u = [], p = Jd(e);
21813
+ let f = "";
21812
21814
  try {
21813
- p = ld(e, {
21815
+ f = ld(e, {
21814
21816
  transforms: c,
21815
21817
  jsxRuntime: "automatic",
21816
21818
  production: !1,
@@ -21818,10 +21820,10 @@ function Ri(e, t = {}) {
21818
21820
  }).code;
21819
21821
  } catch (x) {
21820
21822
  const _ = em(x, e);
21821
- return u.push(_), { code: "", error: _, errors: u, sections: f };
21823
+ return u.push(_), { code: "", error: _, errors: u, sections: p };
21822
21824
  }
21823
21825
  try {
21824
- _1(p, { ecmaVersion: "latest", sourceType: "module" });
21826
+ _1(f, { ecmaVersion: "latest", sourceType: "module" });
21825
21827
  } catch (x) {
21826
21828
  const _ = (x.message || "").toLowerCase();
21827
21829
  if (_.includes("export") || _.includes("import")) {
@@ -21851,7 +21853,7 @@ function Ri(e, t = {}) {
21851
21853
  }
21852
21854
  if (o === "tsx" || o === "jsx" || o === "ts" || o === "js") {
21853
21855
  const x = e.split(`
21854
- `).length, _ = Qd(p, x);
21856
+ `).length, _ = Qd(f, x);
21855
21857
  for (const { name: y, line: N } of _)
21856
21858
  u.some((O) => O.message.includes(`"${y}"`)) || u.push({
21857
21859
  id: `scope-${++Zr}`,
@@ -21865,22 +21867,22 @@ function Ri(e, t = {}) {
21865
21867
  });
21866
21868
  }
21867
21869
  return {
21868
- code: p,
21870
+ code: f,
21869
21871
  error: u.length > 0 ? u[0] : null,
21870
21872
  errors: u,
21871
- sections: f
21873
+ sections: p
21872
21874
  };
21873
21875
  }
21874
21876
  function Zd(e, t, r) {
21875
21877
  const s = e.message || "Module validation failed";
21876
21878
  let i, o;
21877
21879
  e.loc && (i = e.loc.line, o = e.loc.column + 1);
21878
- const c = i ? Un(t, i) : void 0, u = i ? qn(t, i) : void 0, f = s.replace(/\s*\(\d+:\d+\)\s*$/, "");
21880
+ const c = i ? Un(t, i) : void 0, u = i ? qn(t, i) : void 0, p = s.replace(/\s*\(\d+:\d+\)\s*$/, "");
21879
21881
  return {
21880
21882
  id: `module-${++Zr}`,
21881
21883
  category: "transpilation",
21882
21884
  severity: "error",
21883
- message: f,
21885
+ message: p,
21884
21886
  line: i,
21885
21887
  column: o,
21886
21888
  sourceContext: c,
@@ -21889,28 +21891,28 @@ function Zd(e, t, r) {
21889
21891
  };
21890
21892
  }
21891
21893
  function em(e, t) {
21892
- var p, m;
21894
+ var f, m;
21893
21895
  const r = e.message || "Transpilation failed";
21894
21896
  let s, i;
21895
21897
  const o = r.match(/\((\d+):(\d+)\)/);
21896
21898
  if (o && (s = parseInt(o[1], 10), i = parseInt(o[2], 10)), !s && typeof e.pos == "number") {
21897
21899
  const x = t.substring(0, e.pos).split(`
21898
21900
  `);
21899
- s = x.length, i = (((p = x[x.length - 1]) == null ? void 0 : p.length) ?? 0) + 1;
21901
+ s = x.length, i = (((f = x[x.length - 1]) == null ? void 0 : f.length) ?? 0) + 1;
21900
21902
  }
21901
21903
  const c = s ? Un(t, s) : void 0, u = s ? qn(t, s) : void 0;
21902
- let f = "";
21904
+ let p = "";
21903
21905
  if (s && (r.includes("Unexpected token") || r.includes("Unterminated"))) {
21904
21906
  const x = t.split(`
21905
21907
  `).length, _ = tm(t), y = ((m = t.split(`
21906
21908
  `).reverse().find((F) => F.trim())) == null ? void 0 : m.trim()) ?? "", N = /^[}\])\s;]*$/.test(y) || y.endsWith("};");
21907
21909
  if (x > 20 && _ >= 2 && !N)
21908
- f = ` — FILE APPEARS TRUNCATED (${_} unclosed brackets/tags at end of file). The code was cut off mid-generation. Do NOT try to fix syntax — instead, use content_tool edit to add the missing closing code from where it was cut off.`;
21910
+ p = ` — FILE APPEARS TRUNCATED (${_} unclosed brackets/tags at end of file). The code was cut off mid-generation. Do NOT try to fix syntax — instead, use content_tool edit to add the missing closing code from where it was cut off.`;
21909
21911
  else {
21910
21912
  const F = rm(t);
21911
21913
  if (F) {
21912
21914
  const re = F.char === "{" ? "brace" : F.char === "(" ? "parenthesis" : "bracket";
21913
- f = ` — likely caused by unclosed '${F.char}' (${re}) on line ${F.line}. Read lines ${Math.max(1, F.line - 2)}–${F.line + 10} to find where the closing '${F.char === "{" ? "}" : F.char === "(" ? ")" : "]"}' is missing, then add it with content_tool edit.`;
21915
+ p = ` — likely caused by unclosed '${F.char}' (${re}) on line ${F.line}. Read lines ${Math.max(1, F.line - 2)}–${F.line + 10} to find where the closing '${F.char === "{" ? "}" : F.char === "(" ? ")" : "]"}' is missing, then add it with content_tool edit.`;
21914
21916
  }
21915
21917
  }
21916
21918
  }
@@ -21918,7 +21920,7 @@ function em(e, t) {
21918
21920
  id: `transpile-${++Zr}`,
21919
21921
  category: "transpilation",
21920
21922
  severity: "error",
21921
- message: nm(r) + f,
21923
+ message: nm(r) + p,
21922
21924
  line: s,
21923
21925
  column: i,
21924
21926
  sourceContext: c,
@@ -21928,22 +21930,22 @@ function em(e, t) {
21928
21930
  }
21929
21931
  function tm(e) {
21930
21932
  const t = { "(": ")", "[": "]", "{": "}" }, r = /* @__PURE__ */ new Set([")", "]", "}"]), s = [];
21931
- let i = !1, o = "", c = !1, u = !1, f = !1;
21932
- for (let p = 0; p < e.length; p++) {
21933
- const m = e[p], x = e[p + 1];
21933
+ let i = !1, o = "", c = !1, u = !1, p = !1;
21934
+ for (let f = 0; f < e.length; f++) {
21935
+ const m = e[f], x = e[f + 1];
21934
21936
  if (m === `
21935
21937
  `) {
21936
21938
  u = !1;
21937
21939
  continue;
21938
21940
  }
21939
21941
  if (!u) {
21940
- if (f) {
21941
- m === "*" && x === "/" && (f = !1, p++);
21942
+ if (p) {
21943
+ m === "*" && x === "/" && (p = !1, f++);
21942
21944
  continue;
21943
21945
  }
21944
21946
  if (i) {
21945
21947
  if (m === "\\") {
21946
- p++;
21948
+ f++;
21947
21949
  continue;
21948
21950
  }
21949
21951
  m === o && (i = !1);
@@ -21951,18 +21953,18 @@ function tm(e) {
21951
21953
  }
21952
21954
  if (c) {
21953
21955
  if (m === "\\") {
21954
- p++;
21956
+ f++;
21955
21957
  continue;
21956
21958
  }
21957
21959
  m === "`" && (c = !1);
21958
21960
  continue;
21959
21961
  }
21960
21962
  if (m === "/" && x === "/") {
21961
- u = !0, p++;
21963
+ u = !0, f++;
21962
21964
  continue;
21963
21965
  }
21964
21966
  if (m === "/" && x === "*") {
21965
- f = !0, p++;
21967
+ p = !0, f++;
21966
21968
  continue;
21967
21969
  }
21968
21970
  if (m === "'" || m === '"') {
@@ -21980,17 +21982,17 @@ function tm(e) {
21980
21982
  }
21981
21983
  function rm(e, t) {
21982
21984
  const r = { "(": ")", "[": "]", "{": "}" }, s = { ")": "(", "]": "[", "}": "{" }, i = [];
21983
- let o = !1, c = "", u = !1, f = !1, p = !1, m = 1, x = null;
21985
+ let o = !1, c = "", u = !1, p = !1, f = !1, m = 1, x = null;
21984
21986
  for (let _ = 0; _ < e.length; _++) {
21985
21987
  const y = e[_], N = e[_ + 1];
21986
21988
  if (y === `
21987
21989
  `) {
21988
- m++, f = !1;
21990
+ m++, p = !1;
21989
21991
  continue;
21990
21992
  }
21991
- if (!f) {
21992
- if (p) {
21993
- y === "*" && N === "/" && (p = !1, _++);
21993
+ if (!p) {
21994
+ if (f) {
21995
+ y === "*" && N === "/" && (f = !1, _++);
21994
21996
  continue;
21995
21997
  }
21996
21998
  if (o) {
@@ -22010,11 +22012,11 @@ function rm(e, t) {
22010
22012
  continue;
22011
22013
  }
22012
22014
  if (y === "/" && N === "/") {
22013
- f = !0, _++;
22015
+ p = !0, _++;
22014
22016
  continue;
22015
22017
  }
22016
22018
  if (y === "/" && N === "*") {
22017
- p = !0, _++;
22019
+ f = !0, _++;
22018
22020
  continue;
22019
22021
  }
22020
22022
  if (y === "'" || y === '"') {
@@ -22041,15 +22043,15 @@ function Mm(e) {
22041
22043
  }
22042
22044
  const sm = "https://esm.sh";
22043
22045
  function C1(e = {}) {
22044
- var f, p;
22046
+ var p, f;
22045
22047
  const t = e.cdnBase || sm, r = "18.2.0", s = "?external=react,react-dom", i = {
22046
- // ── Core React (single instance) ────────────────────────────────
22047
- react: `${t}/react@${r}`,
22048
- "react/": `${t}/react@${r}/`,
22049
- "react-dom": `${t}/react-dom@${r}`,
22050
- "react-dom/": `${t}/react-dom@${r}/`,
22051
- "react/jsx-runtime": `${t}/react@${r}/jsx-runtime`,
22052
- "react/jsx-dev-runtime": `${t}/react@${r}/jsx-dev-runtime`,
22048
+ // ── Core React (single instance) — ?dev for full error messages ──
22049
+ react: `${t}/react@${r}?dev`,
22050
+ "react/": `${t}/react@${r}&dev/`,
22051
+ "react-dom": `${t}/react-dom@${r}?dev`,
22052
+ "react-dom/": `${t}/react-dom@${r}&dev/`,
22053
+ "react/jsx-runtime": `${t}/react@${r}/jsx-runtime?dev`,
22054
+ "react/jsx-dev-runtime": `${t}/react@${r}/jsx-dev-runtime?dev`,
22053
22055
  // ── Styling & CSS utilities ─────────────────────────────────────
22054
22056
  "class-variance-authority": `${t}/class-variance-authority@0.7.1`,
22055
22057
  clsx: `${t}/clsx@2.1.1`,
@@ -22202,20 +22204,20 @@ function C1(e = {}) {
22202
22204
  i[m] = `${t}/${m}@${x}${s}`;
22203
22205
  const c = {
22204
22206
  ...i,
22205
- ...((f = e.overrides) == null ? void 0 : f.imports) || {}
22207
+ ...((p = e.overrides) == null ? void 0 : p.imports) || {}
22206
22208
  }, u = {
22207
- react: `${t}/react@${r}`,
22208
- "react/": `${t}/react@${r}/`,
22209
- "react-dom": `${t}/react-dom@${r}`,
22210
- "react-dom/": `${t}/react-dom@${r}/`,
22211
- "react/jsx-runtime": `${t}/react@${r}/jsx-runtime`,
22212
- "react/jsx-dev-runtime": `${t}/react@${r}/jsx-dev-runtime`
22209
+ react: `${t}/react@${r}?dev`,
22210
+ "react/": `${t}/react@${r}&dev/`,
22211
+ "react-dom": `${t}/react-dom@${r}?dev`,
22212
+ "react-dom/": `${t}/react-dom@${r}&dev/`,
22213
+ "react/jsx-runtime": `${t}/react@${r}/jsx-runtime?dev`,
22214
+ "react/jsx-dev-runtime": `${t}/react@${r}/jsx-dev-runtime?dev`
22213
22215
  };
22214
22216
  return {
22215
22217
  imports: c,
22216
22218
  scopes: {
22217
22219
  [`${t}/`]: u,
22218
- ...((p = e.overrides) == null ? void 0 : p.scopes) || {}
22220
+ ...((f = e.overrides) == null ? void 0 : f.scopes) || {}
22219
22221
  }
22220
22222
  };
22221
22223
  }
@@ -23149,7 +23151,7 @@ function xm(e, t) {
23149
23151
  const { importMap: r, tailwindCdn: s, externalResources: i = [], themeCSS: o, componentsPreamble: c } = t, u = i.map(
23150
23152
  (x) => x.endsWith(".css") ? `<link rel="stylesheet" href="${x}">` : `<script src="${x}"><\/script>`
23151
23153
  ).join(`
23152
- `), f = s ? `<script src="${s}"><\/script>` : "", p = o ? `<style data-theme>${o}</style>` : "", m = c ? c + `
23154
+ `), p = s ? `<script src="${s}"><\/script>` : "", f = o ? `<style data-theme>${o}</style>` : "", m = c ? c + `
23153
23155
  ` + e : e;
23154
23156
  return `<!DOCTYPE html>
23155
23157
  <html lang="en">
@@ -23157,10 +23159,10 @@ function xm(e, t) {
23157
23159
  <meta charset="UTF-8">
23158
23160
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
23159
23161
  ${E1(r)}
23160
- ${f}
23162
+ ${p}
23161
23163
  ${u}
23162
23164
  ${Rt()}
23163
- ${p}
23165
+ ${f}
23164
23166
  <style>
23165
23167
  * { box-sizing: border-box; }
23166
23168
  body {
@@ -23219,6 +23221,9 @@ function km(e) {
23219
23221
  if (!App) {
23220
23222
  throw new Error('No default export found. Your component must use "export default".');
23221
23223
  }
23224
+ if (typeof App !== 'function') {
23225
+ throw new Error('Default export is ' + typeof App + ', not a function. Ensure "export default function App() {...}" is used.');
23226
+ }
23222
23227
 
23223
23228
  // Guard against the "Should have a queue" React error.
23224
23229
  // This happens when: (1) createRoot is called on an already-mounted node,
@@ -23325,8 +23330,8 @@ const ym = Nt(function({
23325
23330
  cdnBase: o,
23326
23331
  tailwindCdn: c,
23327
23332
  externalResources: u,
23328
- files: f,
23329
- onError: p,
23333
+ files: p,
23334
+ onError: f,
23330
23335
  onLoad: m,
23331
23336
  theme: x = "dark",
23332
23337
  showLoader: _ = !0,
@@ -23334,27 +23339,27 @@ const ym = Nt(function({
23334
23339
  themeCSS: N,
23335
23340
  componentsPreamble: O
23336
23341
  }) {
23337
- const F = pe(null), [re, T] = ze(!0), D = pe(p), R = pe(m);
23342
+ const F = pe(null), [re, T] = ze(!0), D = pe(f), R = pe(m);
23338
23343
  De(() => {
23339
- D.current = p, R.current = m;
23340
- }, [p, m]);
23344
+ D.current = f, R.current = m;
23345
+ }, [f, m]);
23341
23346
  const q = Os(
23342
23347
  () => C1({ cdnBase: o, dependencies: i, overrides: s }),
23343
23348
  [o, i, s]
23344
23349
  );
23345
23350
  De(() => {
23346
23351
  const U = (j) => {
23347
- var Fe, Ue, je, H, ae, Re, fe, Se;
23352
+ var Oe, Ue, je, H, ae, Ae, fe, Se;
23348
23353
  if (j.origin !== "null" && j.origin !== window.location.origin) return;
23349
23354
  const oe = j.data;
23350
23355
  if ((oe == null ? void 0 : oe.type) === "codeviz") {
23351
23356
  if (oe.action === "ready")
23352
- T(!1), (Fe = R.current) == null || Fe.call(R);
23357
+ T(!1), (Oe = R.current) == null || Oe.call(R);
23353
23358
  else if (oe.action === "error") {
23354
23359
  const ye = ((Ue = oe.payload) == null ? void 0 : Ue.message) || "Unknown error";
23355
23360
  T(!1);
23356
23361
  const J = ye.includes("Failed to resolve") || ye.includes("does not provide an export") ? "import" : "runtime";
23357
- (Re = D.current) == null || Re.call(D, ma(J, ye, {
23362
+ (Ae = D.current) == null || Ae.call(D, ma(J, ye, {
23358
23363
  stack: (je = oe.payload) == null ? void 0 : je.stack,
23359
23364
  line: (H = oe.payload) == null ? void 0 : H.line,
23360
23365
  column: (ae = oe.payload) == null ? void 0 : ae.column
@@ -23481,8 +23486,8 @@ const Rs = {
23481
23486
  theme: o,
23482
23487
  isStreaming: c = !1,
23483
23488
  isFullscreen: u = !1,
23484
- onFullscreenToggle: f,
23485
- onDownload: p,
23489
+ onFullscreenToggle: p,
23490
+ onDownload: f,
23486
23491
  downloadOptions: m,
23487
23492
  onClose: x,
23488
23493
  hideSplit: _ = !1
@@ -23604,12 +23609,12 @@ const Rs = {
23604
23609
  ] })
23605
23610
  }
23606
23611
  ),
23607
- (p || m && m.length > 0) && /* @__PURE__ */ he("div", { style: { position: "relative" }, children: [
23612
+ (f || m && m.length > 0) && /* @__PURE__ */ he("div", { style: { position: "relative" }, children: [
23608
23613
  /* @__PURE__ */ M(
23609
23614
  "button",
23610
23615
  {
23611
23616
  onClick: () => {
23612
- m && m.length > 0 ? T(!re) : p == null || p();
23617
+ m && m.length > 0 ? T(!re) : f == null || f();
23613
23618
  },
23614
23619
  title: "Download",
23615
23620
  style: R,
@@ -23662,10 +23667,10 @@ const Rs = {
23662
23667
  U
23663
23668
  )) })
23664
23669
  ] }),
23665
- f && /* @__PURE__ */ M(
23670
+ p && /* @__PURE__ */ M(
23666
23671
  "button",
23667
23672
  {
23668
- onClick: f,
23673
+ onClick: p,
23669
23674
  title: u ? "Exit fullscreen" : "Fullscreen",
23670
23675
  style: R,
23671
23676
  onMouseEnter: (E) => q(E, !0),
@@ -23715,9 +23720,9 @@ const Rs = {
23715
23720
  theme: o,
23716
23721
  filename: c,
23717
23722
  footerSlot: u,
23718
- view: f
23723
+ view: p
23719
23724
  }) {
23720
- const p = o === "dark", m = t.filter((E) => E.severity === "error").length, x = t.filter((E) => E.severity === "warning").length, _ = f === "preview" || f === "split", [y, N] = ze(!1), [O, F] = ze(!1), re = pe(), T = pe(null);
23725
+ const f = o === "dark", m = t.filter((E) => E.severity === "error").length, x = t.filter((E) => E.severity === "warning").length, _ = p === "preview" || p === "split", [y, N] = ze(!1), [O, F] = ze(!1), re = pe(), T = pe(null);
23721
23726
  De(() => () => {
23722
23727
  clearTimeout(re.current);
23723
23728
  }, []), De(() => {
@@ -23727,20 +23732,20 @@ const Rs = {
23727
23732
  };
23728
23733
  return document.addEventListener("mousedown", E), () => document.removeEventListener("mousedown", E);
23729
23734
  }, [O]);
23730
- let D = "Ready", R = p ? "#71717a" : "#a1a1aa";
23735
+ let D = "Ready", R = f ? "#71717a" : "#a1a1aa";
23731
23736
  s ? (D = "⟳ Streaming...", R = "#818cf8") : m > 0 ? (D = `✕ ${m} error${m > 1 ? "s" : ""}`, R = "#ef4444") : r && _ && (D = "◌ Building...", R = "#f59e0b");
23732
23737
  const q = Xe(() => {
23733
23738
  const E = new CustomEvent("codeviz:copy-request");
23734
23739
  window.dispatchEvent(E), N(!0), clearTimeout(re.current), re.current = setTimeout(() => N(!1), En.COPY_CONFIRMATION_MS);
23735
- }, []), z = p ? "#52525b" : "#a1a1aa", W = p ? "#a1a1aa" : "#71717a";
23740
+ }, []), z = f ? "#52525b" : "#a1a1aa", W = f ? "#a1a1aa" : "#71717a";
23736
23741
  return /* @__PURE__ */ he("div", { style: {
23737
23742
  display: "flex",
23738
23743
  alignItems: "center",
23739
23744
  justifyContent: "space-between",
23740
23745
  height: 24,
23741
23746
  padding: "0 8px",
23742
- backgroundColor: p ? "#18181b" : "#f4f4f5",
23743
- borderTop: `1px solid ${p ? "#27272a" : "#e4e4e7"}`,
23747
+ backgroundColor: f ? "#18181b" : "#f4f4f5",
23748
+ borderTop: `1px solid ${f ? "#27272a" : "#e4e4e7"}`,
23744
23749
  fontSize: 11,
23745
23750
  fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace',
23746
23751
  flexShrink: 0,
@@ -23778,10 +23783,10 @@ const Rs = {
23778
23783
  width: 320,
23779
23784
  maxHeight: 180,
23780
23785
  overflowY: "auto",
23781
- backgroundColor: p ? "#1e1e2e" : "#ffffff",
23782
- border: `1px solid ${p ? "#3f3f50" : "#d4d4d8"}`,
23786
+ backgroundColor: f ? "#1e1e2e" : "#ffffff",
23787
+ border: `1px solid ${f ? "#3f3f50" : "#d4d4d8"}`,
23783
23788
  borderRadius: 4,
23784
- boxShadow: p ? "0 2px 8px rgba(0,0,0,0.4)" : "0 2px 8px rgba(0,0,0,0.1)",
23789
+ boxShadow: f ? "0 2px 8px rgba(0,0,0,0.4)" : "0 2px 8px rgba(0,0,0,0.1)",
23785
23790
  zIndex: 50,
23786
23791
  padding: 0
23787
23792
  }, children: t.map((E, U) => /* @__PURE__ */ he(
@@ -23789,7 +23794,7 @@ const Rs = {
23789
23794
  {
23790
23795
  style: {
23791
23796
  padding: "3px 8px",
23792
- borderBottom: U < t.length - 1 ? `1px solid ${p ? "#27272a" : "#f4f4f5"}` : "none",
23797
+ borderBottom: U < t.length - 1 ? `1px solid ${f ? "#27272a" : "#f4f4f5"}` : "none",
23793
23798
  fontSize: 10,
23794
23799
  lineHeight: 1.4,
23795
23800
  display: "flex",
@@ -23804,12 +23809,12 @@ const Rs = {
23804
23809
  textTransform: "uppercase",
23805
23810
  flexShrink: 0
23806
23811
  }, children: E.category }),
23807
- E.line && /* @__PURE__ */ he("span", { style: { color: p ? "#71717a" : "#a1a1aa", fontSize: 9, flexShrink: 0 }, children: [
23812
+ E.line && /* @__PURE__ */ he("span", { style: { color: f ? "#71717a" : "#a1a1aa", fontSize: 9, flexShrink: 0 }, children: [
23808
23813
  "L",
23809
23814
  E.line
23810
23815
  ] }),
23811
23816
  /* @__PURE__ */ M("span", { style: {
23812
- color: p ? "#d4d4d8" : "#3f3f46",
23817
+ color: f ? "#d4d4d8" : "#3f3f46",
23813
23818
  overflow: "hidden",
23814
23819
  textOverflow: "ellipsis",
23815
23820
  whiteSpace: "nowrap",
@@ -23832,7 +23837,7 @@ const Rs = {
23832
23837
  overflow: "hidden",
23833
23838
  whiteSpace: "nowrap",
23834
23839
  textOverflow: "ellipsis",
23835
- color: p ? "#71717a" : "#a1a1aa",
23840
+ color: f ? "#71717a" : "#a1a1aa",
23836
23841
  padding: "0 8px"
23837
23842
  }, children: [
23838
23843
  s && /* @__PURE__ */ M("div", { style: {
@@ -24003,11 +24008,11 @@ function Cm() {
24003
24008
  function zm(e, t) {
24004
24009
  const r = e.toLowerCase(), s = Object.keys(tt);
24005
24010
  let o = t ?? s[0] ?? "", c = 0;
24006
- for (const [u, f] of Object.entries(tt)) {
24007
- let p = 0;
24008
- for (const m of f.keywords)
24009
- r.includes(m) && (p += m.length);
24010
- p > c && (c = p, o = u);
24011
+ for (const [u, p] of Object.entries(tt)) {
24012
+ let f = 0;
24013
+ for (const m of p.keywords)
24014
+ r.includes(m) && (f += m.length);
24015
+ f > c && (c = f, o = u);
24011
24016
  }
24012
24017
  return o;
24013
24018
  }
@@ -24057,42 +24062,44 @@ function Tm(e) {
24057
24062
  return "react-ts";
24058
24063
  }
24059
24064
  }
24060
- function Am(e, t, r) {
24065
+ function Am(e, t, r, s, i, o) {
24066
+ const c = (u, p) => s ? `${s.replace(/\.[^.]+$/, "")}${p}` : u;
24061
24067
  switch (t) {
24062
24068
  case "html":
24063
- return { filename: "preview.html", content: e, mime: "text/html" };
24069
+ return { filename: s || "preview.html", content: e, mime: "text/html" };
24064
24070
  case "markdown":
24065
- return { filename: "document.md", content: e, mime: "text/markdown" };
24071
+ return { filename: s || "document.md", content: e, mime: "text/markdown" };
24066
24072
  case "dot":
24067
- return { filename: "diagram.dot", content: e, mime: "text/vnd.graphviz" };
24073
+ return { filename: s || "diagram.dot", content: e, mime: "text/vnd.graphviz" };
24068
24074
  case "latex":
24069
- return { filename: "document.tex", content: e, mime: "application/x-latex" };
24075
+ return { filename: s || "document.tex", content: e, mime: "application/x-latex" };
24070
24076
  case "architecture":
24071
- return { filename: "architecture.drawio", content: e, mime: "application/xml" };
24077
+ return { filename: s || "architecture.drawio", content: e, mime: "application/xml" };
24072
24078
  case "mermaid":
24073
- return { filename: "diagram.mermaid", content: e, mime: "text/plain" };
24079
+ return { filename: s || "diagram.mermaid", content: e, mime: "text/plain" };
24074
24080
  case "svg":
24075
- return { filename: "image.svg", content: e, mime: "image/svg+xml" };
24081
+ return { filename: s || "image.svg", content: e, mime: "image/svg+xml" };
24076
24082
  case "csv":
24077
- return { filename: "data.csv", content: e, mime: "text/csv" };
24083
+ return { filename: s || "data.csv", content: e, mime: "text/csv" };
24078
24084
  case "json":
24079
- return { filename: "data.json", content: e, mime: "application/json" };
24085
+ return { filename: s || "data.json", content: e, mime: "application/json" };
24080
24086
  case "react":
24081
24087
  case "react-ts": {
24082
- const s = Ri(e, {
24088
+ const u = Ri(e, {
24083
24089
  filename: t === "react" ? "App.jsx" : "App.tsx"
24084
24090
  });
24085
- if (s.error)
24091
+ if (u.error)
24086
24092
  return { filename: `component.${r === "jsx" || r === "js" ? "jsx" : "tsx"}`, content: e, mime: "text/plain" };
24087
- const i = C1({}), o = s.code.replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${");
24088
- return { filename: "preview.html", content: `<!DOCTYPE html>
24093
+ const p = C1({}), m = (i ? i + `
24094
+ ` + u.code : u.code).replace(/\\/g, "\\\\").replace(/`/g, "\\`").replace(/\$\{/g, "\\${"), x = o ? `<style data-theme>${o}</style>` : "", y = `<!DOCTYPE html>
24089
24095
  <html lang="en">
24090
24096
  <head>
24091
24097
  <meta charset="UTF-8">
24092
24098
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
24093
- <title>CodeViz Export</title>
24094
- ${E1(i)}
24099
+ <title>${s ? s.replace(/\.[^.]+$/, "") : "Preview"}</title>
24100
+ ${E1(p)}
24095
24101
  <script src="https://cdn.tailwindcss.com/3.4.16?plugins=forms,typography"><\/script>
24102
+ ${x}
24096
24103
  <style>
24097
24104
  * { box-sizing: border-box; }
24098
24105
  body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif; }
@@ -24104,7 +24111,7 @@ function Am(e, t, r) {
24104
24111
  <script type="module">
24105
24112
  import React from 'react';
24106
24113
  import { createRoot } from 'react-dom/client';
24107
- const code = \`${o}\`;
24114
+ const code = \`${m}\`;
24108
24115
  const blob = new Blob([code], { type: 'text/javascript' });
24109
24116
  const url = URL.createObjectURL(blob);
24110
24117
  const mod = await import(url);
@@ -24113,7 +24120,8 @@ function Am(e, t, r) {
24113
24120
  createRoot(document.getElementById('root')).render(React.createElement(App));
24114
24121
  <\/script>
24115
24122
  </body>
24116
- </html>`, mime: "text/html" };
24123
+ </html>`;
24124
+ return { filename: c("preview.html", ".html"), content: y, mime: "text/html" };
24117
24125
  }
24118
24126
  default:
24119
24127
  return { filename: "file.txt", content: e, mime: "text/plain" };
@@ -24137,8 +24145,8 @@ const Pm = `export default function App() {
24137
24145
  importMap: o,
24138
24146
  dependencies: c,
24139
24147
  cdnBase: u,
24140
- externalResources: f,
24141
- tailwindCdn: p,
24148
+ externalResources: p,
24149
+ tailwindCdn: f,
24142
24150
  onChange: m,
24143
24151
  onError: x,
24144
24152
  onLoad: _,
@@ -24157,16 +24165,16 @@ const Pm = `export default function App() {
24157
24165
  loader: U,
24158
24166
  showToolbar: j = !0,
24159
24167
  showStatusBar: oe = !0,
24160
- filename: Fe,
24168
+ filename: Oe,
24161
24169
  hideSplit: Ue = !1,
24162
24170
  footerSlot: je,
24163
24171
  isStreaming: H,
24164
24172
  themeCSS: ae,
24165
- componentsPreamble: Re
24173
+ componentsPreamble: Ae
24166
24174
  }, fe) {
24167
24175
  const Se = i ? tt[i] : null, ye = (Se == null ? void 0 : Se.code) ?? t ?? Pm, J = (Se == null ? void 0 : Se.language) ?? r, ie = (Se == null ? void 0 : Se.type) ?? s ?? Tm(J), me = F ?? Em(ie), [Ge, b] = ze(ye), [S, C] = ze([]), [I, L] = ze(
24168
24176
  O ? me ? re : "code" : "preview"
24169
- ), [X, K] = ze(!0), [ce, we] = ze(!1), [ge, Be] = ze(!1), _e = ce || (H ?? !1), Ce = pe(H), Ee = pe(!1), Oe = pe(), Dt = pe(null), yt = pe(null), vt = pe(0), [Dr, dr] = ze(0), mr = pe(), [gr, ft] = ze(ye), Ve = pe(ye), Ot = pe(t), nt = pe(!1);
24177
+ ), [X, K] = ze(!0), [ce, we] = ze(!1), [ge, Be] = ze(!1), _e = ce || (H ?? !1), Ce = pe(H), Ee = pe(!1), Me = pe(), Dt = pe(null), yt = pe(null), vt = pe(0), [Dr, dr] = ze(0), mr = pe(), [gr, ft] = ze(ye), Ve = pe(ye), Ot = pe(t), nt = pe(!1);
24170
24178
  De(() => {
24171
24179
  t != null && t !== Ot.current && t !== Ve.current && (Ot.current = t, Ve.current = t, nt.current = !0, b(t), _e || ft(t), queueMicrotask(() => {
24172
24180
  nt.current = !1;
@@ -24174,8 +24182,8 @@ const Pm = `export default function App() {
24174
24182
  }, [t, _e]), De(() => {
24175
24183
  const Y = Ce.current;
24176
24184
  if (Ce.current = H, Y && !H && !ce && me) {
24177
- const Ae = Ve.current;
24178
- ft(Ae), C([]), K(!0), Ee.current = !0, clearTimeout(Oe.current), Oe.current = setTimeout(() => {
24185
+ const Pe = Ve.current;
24186
+ ft(Pe), C([]), K(!0), Ee.current = !0, clearTimeout(Me.current), Me.current = setTimeout(() => {
24179
24187
  Ee.current && (Ee.current = !1, L("preview"));
24180
24188
  }, En.PREVIEW_SWITCH_DELAY_MS);
24181
24189
  }
@@ -24185,33 +24193,33 @@ const Pm = `export default function App() {
24185
24193
  const [xr, $t] = ze(null), qt = pe(null);
24186
24194
  De(() => {
24187
24195
  const Y = () => {
24188
- const Ae = Ve.current;
24189
- Ae && navigator.clipboard.writeText(Ae).catch(() => {
24196
+ const Pe = Ve.current;
24197
+ Pe && navigator.clipboard.writeText(Pe).catch(() => {
24190
24198
  const Ie = document.createElement("textarea");
24191
- Ie.value = Ae, Ie.style.position = "fixed", Ie.style.opacity = "0", document.body.appendChild(Ie), Ie.select(), document.execCommand("copy"), document.body.removeChild(Ie);
24199
+ Ie.value = Pe, Ie.style.position = "fixed", Ie.style.opacity = "0", document.body.appendChild(Ie), Ie.select(), document.execCommand("copy"), document.body.removeChild(Ie);
24192
24200
  });
24193
24201
  };
24194
24202
  return window.addEventListener("codeviz:copy-request", Y), () => window.removeEventListener("codeviz:copy-request", Y);
24195
24203
  }, []), De(() => {
24196
24204
  const Y = () => {
24197
- const Ae = document.fullscreenElement === yt.current;
24198
- Be(Ae), N == null || N(Ae), Ae ? L((Ie) => (qt.current = Ie, me ? "preview" : "code")) : qt.current != null && (L(qt.current), qt.current = null);
24205
+ const Pe = document.fullscreenElement === yt.current;
24206
+ Be(Pe), N == null || N(Pe), Pe ? L((Ie) => (qt.current = Ie, me ? "preview" : "code")) : qt.current != null && (L(qt.current), qt.current = null);
24199
24207
  };
24200
24208
  return document.addEventListener("fullscreenchange", Y), () => document.removeEventListener("fullscreenchange", Y);
24201
24209
  }, [N, me]);
24202
24210
  const Or = Xe(() => {
24203
24211
  const Y = yt.current;
24204
24212
  Y && (document.fullscreenElement === Y ? document.exitFullscreen() : Y.requestFullscreen());
24205
- }, []), Ut = Xe((Y, Ae, Ie) => {
24206
- const dt = Y.replace(/[^a-zA-Z0-9\-_.]/g, "_"), _t = new Blob([Ae], { type: Ie }), wr = URL.createObjectURL(_t), Mt = document.createElement("a");
24213
+ }, []), Ut = Xe((Y, Pe, Ie) => {
24214
+ const dt = Y.replace(/[^a-zA-Z0-9\-_.]/g, "_"), _t = new Blob([Pe], { type: Ie }), wr = URL.createObjectURL(_t), Mt = document.createElement("a");
24207
24215
  Mt.href = wr, Mt.download = dt, document.body.appendChild(Mt), Mt.click(), document.body.removeChild(Mt), URL.revokeObjectURL(wr);
24208
24216
  }, []), Mr = Xe(() => {
24209
- const Y = Ve.current, { filename: Ae, content: Ie, mime: dt } = Am(Y, ie, J);
24210
- Ut(Ae, Ie, dt);
24211
- }, [ie, J, Ut]), kr = Xe(() => {
24217
+ const Y = Ve.current, { filename: Pe, content: Ie, mime: dt } = Am(Y, ie, J, Oe, Ae, ae);
24218
+ Ut(Pe, Ie, dt);
24219
+ }, [ie, J, Oe, Ae, ae, Ut]), kr = Xe(() => {
24212
24220
  Ut("document.md", Ve.current, "text/markdown");
24213
24221
  }, [Ut]), br = Xe(() => {
24214
- const Y = Ve.current, Ae = `<!DOCTYPE html>
24222
+ const Y = Ve.current, Pe = `<!DOCTYPE html>
24215
24223
  <html><head>
24216
24224
  <meta charset="UTF-8">
24217
24225
  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/github-markdown-css@5/github-markdown.min.css">
@@ -24229,7 +24237,7 @@ const Pm = `export default function App() {
24229
24237
  setTimeout(() => { window.print(); }, 500);
24230
24238
  <\/script>
24231
24239
  </body></html>`, Ie = window.open("", "_blank");
24232
- Ie && (Ie.document.write(Ae), Ie.document.close());
24240
+ Ie && (Ie.document.write(Pe), Ie.document.close());
24233
24241
  }, []), yr = Os(() => {
24234
24242
  if (ie === "markdown")
24235
24243
  return [
@@ -24245,7 +24253,7 @@ const Pm = `export default function App() {
24245
24253
  [m]
24246
24254
  ), jr = Xe(
24247
24255
  (Y) => {
24248
- Ee.current && (Ee.current = !1, clearTimeout(Oe.current), L("code")), C((Ae) => Ae.some((Ie) => Ie.message === Y.message) ? Ae : [...Ae.slice(-9), Y]), x == null || x(Y);
24256
+ Ee.current && (Ee.current = !1, clearTimeout(Me.current), L("code")), C((Pe) => Pe.some((Ie) => Ie.message === Y.message) ? Pe : [...Pe.slice(-9), Y]), x == null || x(Y);
24249
24257
  },
24250
24258
  [x]
24251
24259
  ), Br = Xe(() => {
@@ -24268,15 +24276,15 @@ const Pm = `export default function App() {
24268
24276
  commitCode: () => {
24269
24277
  we(!1);
24270
24278
  const Y = Ve.current;
24271
- b(Y), ft(Y), C([]), K(!0), me && H == null && (Ee.current = !0, clearTimeout(Oe.current), Oe.current = setTimeout(() => {
24279
+ b(Y), ft(Y), C([]), K(!0), me && H == null && (Ee.current = !0, clearTimeout(Me.current), Me.current = setTimeout(() => {
24272
24280
  Ee.current && (Ee.current = !1, L("preview"));
24273
24281
  }, En.PREVIEW_SWITCH_DELAY_MS));
24274
24282
  },
24275
- editCode: (Y, Ae) => {
24283
+ editCode: (Y, Pe) => {
24276
24284
  const Ie = Ve.current, dt = Ie.indexOf(Y);
24277
24285
  if (dt === -1) return !1;
24278
24286
  nt.current = !0, xr == null && $t(Ie);
24279
- const _t = Ie.slice(0, dt) + Ae + Ie.slice(dt + Y.length);
24287
+ const _t = Ie.slice(0, dt) + Pe + Ie.slice(dt + Y.length);
24280
24288
  return b(_t), ft(_t), Ve.current = _t, Ot.current = _t, queueMicrotask(() => {
24281
24289
  nt.current = !1;
24282
24290
  }), !0;
@@ -24372,8 +24380,8 @@ const Pm = `export default function App() {
24372
24380
  importMap: o,
24373
24381
  dependencies: c,
24374
24382
  cdnBase: u,
24375
- tailwindCdn: p,
24376
- externalResources: f,
24383
+ tailwindCdn: f,
24384
+ externalResources: p,
24377
24385
  files: void 0,
24378
24386
  onError: jr,
24379
24387
  onLoad: Br,
@@ -24381,7 +24389,7 @@ const Pm = `export default function App() {
24381
24389
  showLoader: E && wt && !(S.length > 0 && !_e),
24382
24390
  loader: U,
24383
24391
  themeCSS: ae,
24384
- componentsPreamble: Re
24392
+ componentsPreamble: Ae
24385
24393
  }
24386
24394
  )
24387
24395
  },
@@ -24397,7 +24405,7 @@ const Pm = `export default function App() {
24397
24405
  language: J,
24398
24406
  theme: z,
24399
24407
  view: I,
24400
- filename: Fe,
24408
+ filename: Oe,
24401
24409
  footerSlot: je
24402
24410
  }
24403
24411
  )
@@ -24782,12 +24790,12 @@ function MetricCard({ label, value, trend, trendLabel, icon, iconColor = '#00C1D
24782
24790
  const IconComp = icon;
24783
24791
 
24784
24792
  return (
24785
- <div className="bg-surface-secondary border border-border-light rounded-xl p-5">
24786
- <div className="flex items-center justify-between mb-3">
24793
+ <div className="bg-surface-secondary border border-border-light rounded-lg p-3">
24794
+ <div className="flex items-center justify-between mb-1.5">
24787
24795
  <p className="text-text-secondary text-xs font-medium uppercase tracking-wide">{label}</p>
24788
24796
  {IconComp && <IconComp className="w-4 h-4" style={{ color: iconColor }} />}
24789
24797
  </div>
24790
- <p className="text-2xl font-bold text-text-primary tabular-nums">{value}</p>
24798
+ <p className="text-xl font-bold text-text-primary tabular-nums">{value}</p>
24791
24799
  {trend && (
24792
24800
  <div className="flex items-center gap-1.5 mt-2">
24793
24801
  <span className={cn('text-xs font-semibold', isPositive && 'text-status-positive', isNegative && 'text-status-negative')}>
@@ -24837,17 +24845,17 @@ function DetailCard({ title, subtitle, status, fields = [], tabs, children }) {
24837
24845
  const [activeTab, setActiveTab] = useState(tabs?.[0]?.id || '');
24838
24846
 
24839
24847
  return (
24840
- <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
24841
- <div className="p-5 border-b border-border-light">
24842
- <div className="flex items-start justify-between mb-3">
24848
+ <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
24849
+ <div className="p-3 border-b border-border-light">
24850
+ <div className="flex items-start justify-between mb-2">
24843
24851
  <div>
24844
- <h2 className="text-xl font-bold text-text-primary">{title}</h2>
24852
+ <h2 className="text-base font-bold text-text-primary">{title}</h2>
24845
24853
  {subtitle && <p className="text-text-secondary text-sm mt-0.5">{subtitle}</p>}
24846
24854
  </div>
24847
24855
  {status && <StatusBadge status={status.status} label={status.label} />}
24848
24856
  </div>
24849
24857
  {fields.length > 0 && (
24850
- <div className="flex flex-wrap gap-6 mt-4">
24858
+ <div className="flex flex-wrap gap-3 mt-2">
24851
24859
  {fields.map((f, i) => (
24852
24860
  <div key={i}>
24853
24861
  <p className="text-text-tertiary text-xs uppercase tracking-wide">{f.label}</p>
@@ -24875,12 +24883,12 @@ function DetailCard({ title, subtitle, status, fields = [], tabs, children }) {
24875
24883
  </button>
24876
24884
  ))}
24877
24885
  </div>
24878
- <div className="p-5">
24886
+ <div className="p-3">
24879
24887
  {tabs.find(t => t.id === activeTab)?.content}
24880
24888
  </div>
24881
24889
  </>
24882
24890
  )}
24883
- {!tabs && children && <div className="p-5">{children}</div>}
24891
+ {!tabs && children && <div className="p-3">{children}</div>}
24884
24892
  </div>
24885
24893
  );
24886
24894
  }
@@ -24905,8 +24913,8 @@ function StepWizard({ steps = [], onComplete }) {
24905
24913
  const prev = () => setCurrent(c => Math.max(0, c - 1));
24906
24914
 
24907
24915
  return (
24908
- <div className="bg-surface-secondary border border-border-light rounded-xl overflow-hidden">
24909
- <div className="flex items-center px-5 py-3 border-b border-border-light gap-2">
24916
+ <div className="bg-surface-secondary border border-border-light rounded-lg overflow-hidden">
24917
+ <div className="flex items-center px-3 py-2.5 border-b border-border-light gap-2">
24910
24918
  {steps.map((step, i) => (
24911
24919
  <div key={step.id} className="flex items-center gap-2">
24912
24920
  <div className={cn(
@@ -24924,20 +24932,20 @@ function StepWizard({ steps = [], onComplete }) {
24924
24932
  </div>
24925
24933
  ))}
24926
24934
  </div>
24927
- <div className="p-5 min-h-[200px]">
24935
+ <div className="p-3 min-h-[200px]">
24928
24936
  {steps[current]?.content}
24929
24937
  </div>
24930
- <div className="flex items-center justify-between px-5 py-3 border-t border-border-light">
24938
+ <div className="flex items-center justify-between px-3 py-2.5 border-t border-border-light">
24931
24939
  <button
24932
24940
  onClick={prev}
24933
24941
  disabled={current === 0}
24934
- className="px-4 py-1.5 text-sm rounded-lg bg-surface-tertiary text-text-secondary disabled:opacity-40 hover:bg-surface-primary"
24942
+ className="px-3 py-1.5 text-xs rounded-lg bg-surface-tertiary text-text-secondary disabled:opacity-40 hover:bg-surface-primary"
24935
24943
  >
24936
24944
  Back
24937
24945
  </button>
24938
24946
  <button
24939
24947
  onClick={next}
24940
- className="px-4 py-1.5 text-sm rounded-lg bg-[#00C1D5] text-white hover:bg-[#00a8b9]"
24948
+ className="px-3 py-1.5 text-xs rounded-lg bg-[#00C1D5] text-white hover:bg-[#00a8b9]"
24941
24949
  >
24942
24950
  {current === steps.length - 1 ? 'Submit' : 'Next'}
24943
24951
  </button>