@gravitee/graphene-core 3.44.1 → 3.45.0

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
@@ -27048,10 +27048,11 @@ function jK({ page: e, pageSize: t, totalCount: n, pageSizeOptions: r = [
27048
27048
  25,
27049
27049
  50,
27050
27050
  100
27051
- ], onPageChange: i, onPageSizeChange: a, children: o }) {
27052
- let s = Math.ceil(n / t) || 0, c = n > 0 ? (e - 1) * t + 1 : 0, l = Math.min(e * t, n);
27051
+ ], onPageChange: i, onPageSizeChange: a, children: o, "data-testid": s }) {
27052
+ let c = Math.ceil(n / t) || 0, l = n > 0 ? (e - 1) * t + 1 : 0, u = Math.min(e * t, n);
27053
27053
  return /* @__PURE__ */ G("div", {
27054
27054
  className: "flex items-center gap-4 p-2",
27055
+ "data-testid": s,
27055
27056
  children: [o && /* @__PURE__ */ W("div", {
27056
27057
  className: "flex-1",
27057
27058
  children: o
@@ -27069,17 +27070,23 @@ function jK({ page: e, pageSize: t, totalCount: n, pageSizeOptions: r = [
27069
27070
  children: [/* @__PURE__ */ W(DH, {
27070
27071
  className: "h-7 w-16",
27071
27072
  "aria-label": "Items per page",
27073
+ "data-testid": xC(s, "page-size"),
27072
27074
  children: /* @__PURE__ */ W(EH, {})
27073
- }), /* @__PURE__ */ W(OH, { children: r.map((e) => /* @__PURE__ */ W(AH, {
27074
- value: String(e),
27075
- children: e
27076
- }, e)) })]
27075
+ }), /* @__PURE__ */ W(OH, {
27076
+ "data-testid": xC(s, "page-size-content"),
27077
+ children: r.map((e) => /* @__PURE__ */ W(AH, {
27078
+ value: String(e),
27079
+ "data-testid": xC(s, `page-size-option-${e}`),
27080
+ children: e
27081
+ }, e))
27082
+ })]
27077
27083
  })]
27078
27084
  }),
27079
27085
  /* @__PURE__ */ G("span", {
27080
27086
  className: "text-xs text-muted-foreground tabular-nums",
27087
+ "data-testid": xC(s, "range"),
27081
27088
  children: [
27082
- n > 0 ? `${c}-${l}` : "0",
27089
+ n > 0 ? `${l}-${u}` : "0",
27083
27090
  " of ",
27084
27091
  n
27085
27092
  ]
@@ -27092,13 +27099,15 @@ function jK({ page: e, pageSize: t, totalCount: n, pageSizeOptions: r = [
27092
27099
  disabled: e <= 1,
27093
27100
  onClick: () => i(e - 1),
27094
27101
  "aria-label": "Previous page",
27102
+ "data-testid": xC(s, "previous"),
27095
27103
  children: /* @__PURE__ */ W(we, { className: "size-4" })
27096
27104
  }), /* @__PURE__ */ W(iy, {
27097
27105
  variant: "ghost",
27098
27106
  size: "icon-xs",
27099
- disabled: e >= s,
27107
+ disabled: e >= c,
27100
27108
  onClick: () => i(e + 1),
27101
27109
  "aria-label": "Next page",
27110
+ "data-testid": xC(s, "next"),
27102
27111
  children: /* @__PURE__ */ W(re, { className: "size-4" })
27103
27112
  })]
27104
27113
  })
@@ -27472,19 +27481,26 @@ function JK({ column: e, title: n, className: r, ...i }) {
27472
27481
  }
27473
27482
  //#endregion
27474
27483
  //#region src/composed/DataTable/cells.tsx
27475
- var YK = 6e4, XK = 36e5, ZK = 864e5, QK = new Intl.RelativeTimeFormat(void 0, {
27484
+ function YK(e) {
27485
+ return /* @__PURE__ */ W("span", {
27486
+ className: "text-muted-foreground",
27487
+ "data-testid": e,
27488
+ children: "—"
27489
+ });
27490
+ }
27491
+ var XK = 6e4, ZK = 36e5, QK = 864e5, $K = new Intl.RelativeTimeFormat(void 0, {
27476
27492
  numeric: "auto",
27477
27493
  style: "narrow"
27478
27494
  });
27479
- function $K(e) {
27495
+ function eq(e) {
27480
27496
  let t = Date.now() - e.getTime();
27481
- return t < YK ? QK.format(0, "second") : t < XK ? QK.format(-Math.floor(t / YK), "minute") : t < ZK ? QK.format(-Math.floor(t / XK), "hour") : t < ZK * 30 ? QK.format(-Math.floor(t / ZK), "day") : e.toLocaleDateString(void 0, {
27497
+ return t < XK ? $K.format(0, "second") : t < ZK ? $K.format(-Math.floor(t / XK), "minute") : t < QK ? $K.format(-Math.floor(t / ZK), "hour") : t < QK * 30 ? $K.format(-Math.floor(t / QK), "day") : e.toLocaleDateString(void 0, {
27482
27498
  month: "short",
27483
27499
  day: "numeric",
27484
27500
  year: "numeric"
27485
27501
  });
27486
27502
  }
27487
- function eq(e) {
27503
+ function tq(e) {
27488
27504
  return e.toLocaleString(void 0, {
27489
27505
  month: "short",
27490
27506
  day: "numeric",
@@ -27493,49 +27509,42 @@ function eq(e) {
27493
27509
  minute: "2-digit"
27494
27510
  });
27495
27511
  }
27496
- function tq({ value: e, format: t = "relative" }) {
27497
- if (!e) return /* @__PURE__ */ W("span", {
27498
- className: "text-muted-foreground",
27499
- children: "—"
27500
- });
27501
- let n = e instanceof Date ? e : new Date(e);
27502
- if (Number.isNaN(n.getTime())) return /* @__PURE__ */ W("span", {
27503
- className: "text-muted-foreground",
27504
- children: "—"
27505
- });
27506
- let r = t === "relative" ? $K(n) : eq(n), i = eq(n);
27512
+ function nq({ value: e, format: t = "relative", "data-testid": n }) {
27513
+ if (!e) return YK(n);
27514
+ let r = e instanceof Date ? e : new Date(e);
27515
+ if (Number.isNaN(r.getTime())) return YK(n);
27516
+ let i = t === "relative" ? eq(r) : tq(r), a = tq(r);
27507
27517
  return /* @__PURE__ */ W(WH, {
27508
27518
  delayDuration: 300,
27509
27519
  children: /* @__PURE__ */ G(GH, { children: [/* @__PURE__ */ W(KH, {
27510
27520
  asChild: !0,
27511
27521
  children: /* @__PURE__ */ W("span", {
27512
27522
  className: "text-muted-foreground tabular-nums",
27513
- children: r
27523
+ "data-testid": n,
27524
+ children: i
27514
27525
  })
27515
27526
  }), /* @__PURE__ */ W(qH, {
27516
27527
  side: "top",
27517
27528
  children: /* @__PURE__ */ W("span", {
27518
27529
  className: "text-xs",
27519
- children: i
27530
+ children: a
27520
27531
  })
27521
27532
  })] })
27522
27533
  });
27523
27534
  }
27524
- function nq({ value: e, variant: t = "default", icon: n }) {
27525
- if (!e) return /* @__PURE__ */ W("span", {
27526
- className: "text-muted-foreground",
27527
- children: "—"
27528
- });
27529
- let r = /* @__PURE__ */ G(Yv, {
27535
+ function rq({ value: e, variant: t = "default", icon: n, "data-testid": r }) {
27536
+ if (!e) return YK(r);
27537
+ let i = /* @__PURE__ */ G(Yv, {
27530
27538
  variant: t,
27531
27539
  className: "max-w-[180px] truncate",
27540
+ "data-testid": r,
27532
27541
  children: [n, e]
27533
27542
  });
27534
27543
  return e.length > 20 ? /* @__PURE__ */ W(WH, {
27535
27544
  delayDuration: 300,
27536
27545
  children: /* @__PURE__ */ G(GH, { children: [/* @__PURE__ */ W(KH, {
27537
27546
  asChild: !0,
27538
- children: r
27547
+ children: i
27539
27548
  }), /* @__PURE__ */ W(qH, {
27540
27549
  side: "top",
27541
27550
  className: "max-w-sm",
@@ -27544,21 +27553,19 @@ function nq({ value: e, variant: t = "default", icon: n }) {
27544
27553
  children: e
27545
27554
  })
27546
27555
  })] })
27547
- }) : r;
27556
+ }) : i;
27548
27557
  }
27549
- function rq({ value: e, maxLength: t = 32 }) {
27550
- if (!e) return /* @__PURE__ */ W("span", {
27551
- className: "text-muted-foreground",
27552
- children: "—"
27553
- });
27554
- let n = e.length > t, r = n ? `${e.slice(0, t)}…` : e;
27555
- return n ? /* @__PURE__ */ W(WH, {
27558
+ function iq({ value: e, maxLength: t = 32, "data-testid": n }) {
27559
+ if (!e) return YK(n);
27560
+ let r = e.length > t, i = r ? `${e.slice(0, t)}…` : e;
27561
+ return r ? /* @__PURE__ */ W(WH, {
27556
27562
  delayDuration: 300,
27557
27563
  children: /* @__PURE__ */ G(GH, { children: [/* @__PURE__ */ W(KH, {
27558
27564
  asChild: !0,
27559
27565
  children: /* @__PURE__ */ W("code", {
27560
27566
  className: "text-xs text-muted-foreground",
27561
- children: r
27567
+ "data-testid": n,
27568
+ children: i
27562
27569
  })
27563
27570
  }), /* @__PURE__ */ W(qH, {
27564
27571
  side: "top",
@@ -27570,29 +27577,28 @@ function rq({ value: e, maxLength: t = 32 }) {
27570
27577
  })] })
27571
27578
  }) : /* @__PURE__ */ W("code", {
27572
27579
  className: "text-xs text-muted-foreground",
27573
- children: r
27580
+ "data-testid": n,
27581
+ children: i
27574
27582
  });
27575
27583
  }
27576
- function iq({ value: e, maxLength: n = 24 }) {
27577
- let [r, i] = Ye(!1), a = Je(void 0), o = ze(() => {
27578
- e && (navigator.clipboard.writeText(e), i(!0), clearTimeout(a.current), a.current = setTimeout(() => i(!1), 2e3));
27584
+ function aq({ value: e, maxLength: n = 24, "data-testid": r }) {
27585
+ let [i, a] = Ye(!1), o = Je(void 0), s = ze(() => {
27586
+ e && (navigator.clipboard.writeText(e), a(!0), clearTimeout(o.current), o.current = setTimeout(() => a(!1), 2e3));
27579
27587
  }, [e]);
27580
- if (!e) return /* @__PURE__ */ W("span", {
27581
- className: "text-muted-foreground",
27582
- children: "—"
27583
- });
27584
- let s = e.length > n;
27588
+ if (!e) return YK(r);
27589
+ let c = e.length > n;
27585
27590
  return /* @__PURE__ */ G("span", {
27586
27591
  className: "group/copy inline-flex items-center gap-1",
27592
+ "data-testid": r,
27587
27593
  children: [/* @__PURE__ */ W(WH, {
27588
27594
  delayDuration: 300,
27589
27595
  children: /* @__PURE__ */ G(GH, { children: [/* @__PURE__ */ W(KH, {
27590
27596
  asChild: !0,
27591
27597
  children: /* @__PURE__ */ W("code", {
27592
27598
  className: "text-xs text-muted-foreground",
27593
- children: s ? `${e.slice(0, n)}…` : e
27599
+ children: c ? `${e.slice(0, n)}…` : e
27594
27600
  })
27595
- }), s && /* @__PURE__ */ W(qH, {
27601
+ }), c && /* @__PURE__ */ W(qH, {
27596
27602
  side: "top",
27597
27603
  className: "max-w-sm",
27598
27604
  children: /* @__PURE__ */ W("code", {
@@ -27603,20 +27609,22 @@ function iq({ value: e, maxLength: n = 24 }) {
27603
27609
  }), /* @__PURE__ */ W(iy, {
27604
27610
  variant: "ghost",
27605
27611
  size: "icon-xs",
27606
- className: t("size-5 opacity-0 transition-opacity group-hover/copy:opacity-100", r && "opacity-100"),
27607
- onClick: o,
27608
- "aria-label": r ? "Copied" : "Copy to clipboard",
27609
- children: W(r ? z : B, { className: "size-3" })
27612
+ className: t("size-5 opacity-0 transition-opacity group-hover/copy:opacity-100", i && "opacity-100"),
27613
+ onClick: s,
27614
+ "aria-label": i ? "Copied" : "Copy to clipboard",
27615
+ "data-testid": xC(r, "copy"),
27616
+ children: W(i ? z : B, { className: "size-3" })
27610
27617
  })]
27611
27618
  });
27612
27619
  }
27613
- function aq({ value: e, className: n }) {
27620
+ function oq({ value: e, className: n, "data-testid": r }) {
27614
27621
  return e ? /* @__PURE__ */ W(WH, {
27615
27622
  delayDuration: 500,
27616
27623
  children: /* @__PURE__ */ G(GH, { children: [/* @__PURE__ */ W(KH, {
27617
27624
  asChild: !0,
27618
27625
  children: /* @__PURE__ */ W("span", {
27619
27626
  className: t("block max-w-[200px] truncate", n),
27627
+ "data-testid": r,
27620
27628
  children: e
27621
27629
  })
27622
27630
  }), e.length > 30 && /* @__PURE__ */ W(qH, {
@@ -27627,14 +27635,11 @@ function aq({ value: e, className: n }) {
27627
27635
  children: e
27628
27636
  })
27629
27637
  })] })
27630
- }) : /* @__PURE__ */ W("span", {
27631
- className: "text-muted-foreground",
27632
- children: "—"
27633
- });
27638
+ }) : YK(r);
27634
27639
  }
27635
27640
  //#endregion
27636
27641
  //#region src/composed/DataTableEmptyState/DataTableEmptyState.tsx
27637
- function oq(e) {
27642
+ function sq(e) {
27638
27643
  let { variant: n, icon: r, title: i, description: a, className: o, "data-testid": s } = e, c = s ? `${s}-title` : void 0, l = s ? `${s}-description` : void 0, u = i.trim().length > 0, d = a.trim().length > 0;
27639
27644
  return n === "no-results" ? /* @__PURE__ */ G(FL, {
27640
27645
  className: t("py-12 text-foreground", o),
@@ -27696,98 +27701,98 @@ function oq(e) {
27696
27701
  }
27697
27702
  //#endregion
27698
27703
  //#region ../../node_modules/date-fns/constants.js
27699
- var sq = 365.2425, cq = 6048e5, lq = 864e5, uq = 3600 * 24;
27700
- uq * 7, uq * sq / 12 * 3;
27701
- var dq = Symbol.for("constructDateFrom");
27704
+ var cq = 365.2425, lq = 6048e5, uq = 864e5, dq = 3600 * 24;
27705
+ dq * 7, dq * cq / 12 * 3;
27706
+ var fq = Symbol.for("constructDateFrom");
27702
27707
  //#endregion
27703
27708
  //#region ../../node_modules/date-fns/constructFrom.js
27704
- function fq(e, t) {
27705
- return typeof e == "function" ? e(t) : e && typeof e == "object" && dq in e ? e[dq](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
27709
+ function pq(e, t) {
27710
+ return typeof e == "function" ? e(t) : e && typeof e == "object" && fq in e ? e[fq](t) : e instanceof Date ? new e.constructor(t) : new Date(t);
27706
27711
  }
27707
27712
  //#endregion
27708
27713
  //#region ../../node_modules/date-fns/toDate.js
27709
- function pq(e, t) {
27710
- return fq(t || e, e);
27714
+ function mq(e, t) {
27715
+ return pq(t || e, e);
27711
27716
  }
27712
27717
  //#endregion
27713
27718
  //#region ../../node_modules/date-fns/_lib/defaultOptions.js
27714
- var mq = {};
27715
- function hq() {
27716
- return mq;
27719
+ var hq = {};
27720
+ function gq() {
27721
+ return hq;
27717
27722
  }
27718
27723
  //#endregion
27719
27724
  //#region ../../node_modules/date-fns/startOfWeek.js
27720
- function gq(e, t) {
27721
- let n = hq(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = pq(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
27725
+ function _q(e, t) {
27726
+ let n = gq(), r = t?.weekStartsOn ?? t?.locale?.options?.weekStartsOn ?? n.weekStartsOn ?? n.locale?.options?.weekStartsOn ?? 0, i = mq(e, t?.in), a = i.getDay(), o = (a < r ? 7 : 0) + a - r;
27722
27727
  return i.setDate(i.getDate() - o), i.setHours(0, 0, 0, 0), i;
27723
27728
  }
27724
27729
  //#endregion
27725
27730
  //#region ../../node_modules/date-fns/startOfISOWeek.js
27726
- function _q(e, t) {
27727
- return gq(e, {
27731
+ function vq(e, t) {
27732
+ return _q(e, {
27728
27733
  ...t,
27729
27734
  weekStartsOn: 1
27730
27735
  });
27731
27736
  }
27732
27737
  //#endregion
27733
27738
  //#region ../../node_modules/date-fns/getISOWeekYear.js
27734
- function vq(e, t) {
27735
- let n = pq(e, t?.in), r = n.getFullYear(), i = fq(n, 0);
27739
+ function yq(e, t) {
27740
+ let n = mq(e, t?.in), r = n.getFullYear(), i = pq(n, 0);
27736
27741
  i.setFullYear(r + 1, 0, 4), i.setHours(0, 0, 0, 0);
27737
- let a = _q(i), o = fq(n, 0);
27742
+ let a = vq(i), o = pq(n, 0);
27738
27743
  o.setFullYear(r, 0, 4), o.setHours(0, 0, 0, 0);
27739
- let s = _q(o);
27744
+ let s = vq(o);
27740
27745
  return n.getTime() >= a.getTime() ? r + 1 : n.getTime() >= s.getTime() ? r : r - 1;
27741
27746
  }
27742
27747
  //#endregion
27743
27748
  //#region ../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js
27744
- function yq(e) {
27745
- let t = pq(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
27749
+ function bq(e) {
27750
+ let t = mq(e), n = new Date(Date.UTC(t.getFullYear(), t.getMonth(), t.getDate(), t.getHours(), t.getMinutes(), t.getSeconds(), t.getMilliseconds()));
27746
27751
  return n.setUTCFullYear(t.getFullYear()), e - +n;
27747
27752
  }
27748
27753
  //#endregion
27749
27754
  //#region ../../node_modules/date-fns/_lib/normalizeDates.js
27750
- function bq(e, ...t) {
27751
- let n = fq.bind(null, e || t.find((e) => typeof e == "object"));
27755
+ function xq(e, ...t) {
27756
+ let n = pq.bind(null, e || t.find((e) => typeof e == "object"));
27752
27757
  return t.map(n);
27753
27758
  }
27754
27759
  //#endregion
27755
27760
  //#region ../../node_modules/date-fns/startOfDay.js
27756
- function xq(e, t) {
27757
- let n = pq(e, t?.in);
27761
+ function Sq(e, t) {
27762
+ let n = mq(e, t?.in);
27758
27763
  return n.setHours(0, 0, 0, 0), n;
27759
27764
  }
27760
27765
  //#endregion
27761
27766
  //#region ../../node_modules/date-fns/differenceInCalendarDays.js
27762
- function Sq(e, t, n) {
27763
- let [r, i] = bq(n?.in, e, t), a = xq(r), o = xq(i), s = +a - yq(a), c = +o - yq(o);
27764
- return Math.round((s - c) / lq);
27767
+ function Cq(e, t, n) {
27768
+ let [r, i] = xq(n?.in, e, t), a = Sq(r), o = Sq(i), s = +a - bq(a), c = +o - bq(o);
27769
+ return Math.round((s - c) / uq);
27765
27770
  }
27766
27771
  //#endregion
27767
27772
  //#region ../../node_modules/date-fns/startOfISOWeekYear.js
27768
- function Cq(e, t) {
27769
- let n = vq(e, t), r = fq(t?.in || e, 0);
27770
- return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), _q(r);
27773
+ function wq(e, t) {
27774
+ let n = yq(e, t), r = pq(t?.in || e, 0);
27775
+ return r.setFullYear(n, 0, 4), r.setHours(0, 0, 0, 0), vq(r);
27771
27776
  }
27772
27777
  //#endregion
27773
27778
  //#region ../../node_modules/date-fns/isDate.js
27774
- function wq(e) {
27779
+ function Tq(e) {
27775
27780
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
27776
27781
  }
27777
27782
  //#endregion
27778
27783
  //#region ../../node_modules/date-fns/isValid.js
27779
- function Tq(e) {
27780
- return !(!wq(e) && typeof e != "number" || isNaN(+pq(e)));
27784
+ function Eq(e) {
27785
+ return !(!Tq(e) && typeof e != "number" || isNaN(+mq(e)));
27781
27786
  }
27782
27787
  //#endregion
27783
27788
  //#region ../../node_modules/date-fns/startOfYear.js
27784
- function Eq(e, t) {
27785
- let n = pq(e, t?.in);
27789
+ function Dq(e, t) {
27790
+ let n = mq(e, t?.in);
27786
27791
  return n.setFullYear(n.getFullYear(), 0, 1), n.setHours(0, 0, 0, 0), n;
27787
27792
  }
27788
27793
  //#endregion
27789
27794
  //#region ../../node_modules/date-fns/locale/en-US/_lib/formatDistance.js
27790
- var Dq = {
27795
+ var Oq = {
27791
27796
  lessThanXSeconds: {
27792
27797
  one: "less than a second",
27793
27798
  other: "less than {{count}} seconds"
@@ -27849,20 +27854,20 @@ var Dq = {
27849
27854
  one: "almost 1 year",
27850
27855
  other: "almost {{count}} years"
27851
27856
  }
27852
- }, Oq = (e, t, n) => {
27853
- let r, i = Dq[e];
27857
+ }, kq = (e, t, n) => {
27858
+ let r, i = Oq[e];
27854
27859
  return r = typeof i == "string" ? i : t === 1 ? i.one : i.other.replace("{{count}}", t.toString()), n?.addSuffix ? n.comparison && n.comparison > 0 ? "in " + r : r + " ago" : r;
27855
27860
  };
27856
27861
  //#endregion
27857
27862
  //#region ../../node_modules/date-fns/locale/_lib/buildFormatLongFn.js
27858
- function kq(e) {
27863
+ function Aq(e) {
27859
27864
  return (t = {}) => {
27860
27865
  let n = t.width ? String(t.width) : e.defaultWidth;
27861
27866
  return e.formats[n] || e.formats[e.defaultWidth];
27862
27867
  };
27863
27868
  }
27864
- var Aq = {
27865
- date: kq({
27869
+ var jq = {
27870
+ date: Aq({
27866
27871
  formats: {
27867
27872
  full: "EEEE, MMMM do, y",
27868
27873
  long: "MMMM do, y",
@@ -27871,7 +27876,7 @@ var Aq = {
27871
27876
  },
27872
27877
  defaultWidth: "full"
27873
27878
  }),
27874
- time: kq({
27879
+ time: Aq({
27875
27880
  formats: {
27876
27881
  full: "h:mm:ss a zzzz",
27877
27882
  long: "h:mm:ss a z",
@@ -27880,7 +27885,7 @@ var Aq = {
27880
27885
  },
27881
27886
  defaultWidth: "full"
27882
27887
  }),
27883
- dateTime: kq({
27888
+ dateTime: Aq({
27884
27889
  formats: {
27885
27890
  full: "{{date}} 'at' {{time}}",
27886
27891
  long: "{{date}} 'at' {{time}}",
@@ -27889,17 +27894,17 @@ var Aq = {
27889
27894
  },
27890
27895
  defaultWidth: "full"
27891
27896
  })
27892
- }, jq = {
27897
+ }, Mq = {
27893
27898
  lastWeek: "'last' eeee 'at' p",
27894
27899
  yesterday: "'yesterday at' p",
27895
27900
  today: "'today at' p",
27896
27901
  tomorrow: "'tomorrow at' p",
27897
27902
  nextWeek: "eeee 'at' p",
27898
27903
  other: "P"
27899
- }, Mq = (e, t, n, r) => jq[e];
27904
+ }, Nq = (e, t, n, r) => Mq[e];
27900
27905
  //#endregion
27901
27906
  //#region ../../node_modules/date-fns/locale/_lib/buildLocalizeFn.js
27902
- function Nq(e) {
27907
+ function Pq(e) {
27903
27908
  return (t, n) => {
27904
27909
  let r = n?.context ? String(n.context) : "standalone", i;
27905
27910
  if (r === "formatting" && e.formattingValues) {
@@ -27913,7 +27918,7 @@ function Nq(e) {
27913
27918
  return i[a];
27914
27919
  };
27915
27920
  }
27916
- var Pq = {
27921
+ var Fq = {
27917
27922
  ordinalNumber: (e, t) => {
27918
27923
  let n = Number(e), r = n % 100;
27919
27924
  if (r > 20 || r < 10) switch (r % 10) {
@@ -27923,7 +27928,7 @@ var Pq = {
27923
27928
  }
27924
27929
  return n + "th";
27925
27930
  },
27926
- era: Nq({
27931
+ era: Pq({
27927
27932
  values: {
27928
27933
  narrow: ["B", "A"],
27929
27934
  abbreviated: ["BC", "AD"],
@@ -27931,7 +27936,7 @@ var Pq = {
27931
27936
  },
27932
27937
  defaultWidth: "wide"
27933
27938
  }),
27934
- quarter: Nq({
27939
+ quarter: Pq({
27935
27940
  values: {
27936
27941
  narrow: [
27937
27942
  "1",
@@ -27955,7 +27960,7 @@ var Pq = {
27955
27960
  defaultWidth: "wide",
27956
27961
  argumentCallback: (e) => e - 1
27957
27962
  }),
27958
- month: Nq({
27963
+ month: Pq({
27959
27964
  values: {
27960
27965
  narrow: [
27961
27966
  "J",
@@ -28002,7 +28007,7 @@ var Pq = {
28002
28007
  },
28003
28008
  defaultWidth: "wide"
28004
28009
  }),
28005
- day: Nq({
28010
+ day: Pq({
28006
28011
  values: {
28007
28012
  narrow: [
28008
28013
  "S",
@@ -28043,7 +28048,7 @@ var Pq = {
28043
28048
  },
28044
28049
  defaultWidth: "wide"
28045
28050
  }),
28046
- dayPeriod: Nq({
28051
+ dayPeriod: Pq({
28047
28052
  values: {
28048
28053
  narrow: {
28049
28054
  am: "a",
@@ -28114,11 +28119,11 @@ var Pq = {
28114
28119
  };
28115
28120
  //#endregion
28116
28121
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchFn.js
28117
- function Fq(e) {
28122
+ function Iq(e) {
28118
28123
  return (t, n = {}) => {
28119
28124
  let r = n.width, i = r && e.matchPatterns[r] || e.matchPatterns[e.defaultMatchWidth], a = t.match(i);
28120
28125
  if (!a) return null;
28121
- let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Lq(s, (e) => e.test(o)) : Iq(s, (e) => e.test(o)), l;
28126
+ let o = a[0], s = r && e.parsePatterns[r] || e.parsePatterns[e.defaultParseWidth], c = Array.isArray(s) ? Rq(s, (e) => e.test(o)) : Lq(s, (e) => e.test(o)), l;
28122
28127
  l = e.valueCallback ? e.valueCallback(c) : c, l = n.valueCallback ? n.valueCallback(l) : l;
28123
28128
  let u = t.slice(o.length);
28124
28129
  return {
@@ -28127,15 +28132,15 @@ function Fq(e) {
28127
28132
  };
28128
28133
  };
28129
28134
  }
28130
- function Iq(e, t) {
28135
+ function Lq(e, t) {
28131
28136
  for (let n in e) if (Object.prototype.hasOwnProperty.call(e, n) && t(e[n])) return n;
28132
28137
  }
28133
- function Lq(e, t) {
28138
+ function Rq(e, t) {
28134
28139
  for (let n = 0; n < e.length; n++) if (t(e[n])) return n;
28135
28140
  }
28136
28141
  //#endregion
28137
28142
  //#region ../../node_modules/date-fns/locale/_lib/buildMatchPatternFn.js
28138
- function Rq(e) {
28143
+ function zq(e) {
28139
28144
  return (t, n = {}) => {
28140
28145
  let r = t.match(e.matchPattern);
28141
28146
  if (!r) return null;
@@ -28152,19 +28157,19 @@ function Rq(e) {
28152
28157
  }
28153
28158
  //#endregion
28154
28159
  //#region ../../node_modules/date-fns/locale/en-US.js
28155
- var zq = {
28160
+ var Bq = {
28156
28161
  code: "en-US",
28157
- formatDistance: Oq,
28158
- formatLong: Aq,
28159
- formatRelative: Mq,
28160
- localize: Pq,
28162
+ formatDistance: kq,
28163
+ formatLong: jq,
28164
+ formatRelative: Nq,
28165
+ localize: Fq,
28161
28166
  match: {
28162
- ordinalNumber: Rq({
28167
+ ordinalNumber: zq({
28163
28168
  matchPattern: /^(\d+)(th|st|nd|rd)?/i,
28164
28169
  parsePattern: /\d+/i,
28165
28170
  valueCallback: (e) => parseInt(e, 10)
28166
28171
  }),
28167
- era: Fq({
28172
+ era: Iq({
28168
28173
  matchPatterns: {
28169
28174
  narrow: /^(b|a)/i,
28170
28175
  abbreviated: /^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,
@@ -28174,7 +28179,7 @@ var zq = {
28174
28179
  parsePatterns: { any: [/^b/i, /^(a|c)/i] },
28175
28180
  defaultParseWidth: "any"
28176
28181
  }),
28177
- quarter: Fq({
28182
+ quarter: Iq({
28178
28183
  matchPatterns: {
28179
28184
  narrow: /^[1234]/i,
28180
28185
  abbreviated: /^q[1234]/i,
@@ -28190,7 +28195,7 @@ var zq = {
28190
28195
  defaultParseWidth: "any",
28191
28196
  valueCallback: (e) => e + 1
28192
28197
  }),
28193
- month: Fq({
28198
+ month: Iq({
28194
28199
  matchPatterns: {
28195
28200
  narrow: /^[jfmasond]/i,
28196
28201
  abbreviated: /^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,
@@ -28229,7 +28234,7 @@ var zq = {
28229
28234
  },
28230
28235
  defaultParseWidth: "any"
28231
28236
  }),
28232
- day: Fq({
28237
+ day: Iq({
28233
28238
  matchPatterns: {
28234
28239
  narrow: /^[smtwf]/i,
28235
28240
  short: /^(su|mo|tu|we|th|fr|sa)/i,
@@ -28259,7 +28264,7 @@ var zq = {
28259
28264
  },
28260
28265
  defaultParseWidth: "any"
28261
28266
  }),
28262
- dayPeriod: Fq({
28267
+ dayPeriod: Iq({
28263
28268
  matchPatterns: {
28264
28269
  narrow: /^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,
28265
28270
  any: /^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i
@@ -28285,56 +28290,56 @@ var zq = {
28285
28290
  };
28286
28291
  //#endregion
28287
28292
  //#region ../../node_modules/date-fns/getDayOfYear.js
28288
- function Bq(e, t) {
28289
- let n = pq(e, t?.in);
28290
- return Sq(n, Eq(n)) + 1;
28293
+ function Vq(e, t) {
28294
+ let n = mq(e, t?.in);
28295
+ return Cq(n, Dq(n)) + 1;
28291
28296
  }
28292
28297
  //#endregion
28293
28298
  //#region ../../node_modules/date-fns/getISOWeek.js
28294
- function Vq(e, t) {
28295
- let n = pq(e, t?.in), r = _q(n) - +Cq(n);
28296
- return Math.round(r / cq) + 1;
28299
+ function Hq(e, t) {
28300
+ let n = mq(e, t?.in), r = vq(n) - +wq(n);
28301
+ return Math.round(r / lq) + 1;
28297
28302
  }
28298
28303
  //#endregion
28299
28304
  //#region ../../node_modules/date-fns/getWeekYear.js
28300
- function Hq(e, t) {
28301
- let n = pq(e, t?.in), r = n.getFullYear(), i = hq(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = fq(t?.in || e, 0);
28305
+ function Uq(e, t) {
28306
+ let n = mq(e, t?.in), r = n.getFullYear(), i = gq(), a = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? i.firstWeekContainsDate ?? i.locale?.options?.firstWeekContainsDate ?? 1, o = pq(t?.in || e, 0);
28302
28307
  o.setFullYear(r + 1, 0, a), o.setHours(0, 0, 0, 0);
28303
- let s = gq(o, t), c = fq(t?.in || e, 0);
28308
+ let s = _q(o, t), c = pq(t?.in || e, 0);
28304
28309
  c.setFullYear(r, 0, a), c.setHours(0, 0, 0, 0);
28305
- let l = gq(c, t);
28310
+ let l = _q(c, t);
28306
28311
  return +n >= +s ? r + 1 : +n >= +l ? r : r - 1;
28307
28312
  }
28308
28313
  //#endregion
28309
28314
  //#region ../../node_modules/date-fns/startOfWeekYear.js
28310
- function Uq(e, t) {
28311
- let n = hq(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Hq(e, t), a = fq(t?.in || e, 0);
28312
- return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), gq(a, t);
28315
+ function Wq(e, t) {
28316
+ let n = gq(), r = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? n.firstWeekContainsDate ?? n.locale?.options?.firstWeekContainsDate ?? 1, i = Uq(e, t), a = pq(t?.in || e, 0);
28317
+ return a.setFullYear(i, 0, r), a.setHours(0, 0, 0, 0), _q(a, t);
28313
28318
  }
28314
28319
  //#endregion
28315
28320
  //#region ../../node_modules/date-fns/getWeek.js
28316
- function Wq(e, t) {
28317
- let n = pq(e, t?.in), r = gq(n, t) - +Uq(n, t);
28318
- return Math.round(r / cq) + 1;
28321
+ function Gq(e, t) {
28322
+ let n = mq(e, t?.in), r = _q(n, t) - +Wq(n, t);
28323
+ return Math.round(r / lq) + 1;
28319
28324
  }
28320
28325
  //#endregion
28321
28326
  //#region ../../node_modules/date-fns/_lib/addLeadingZeros.js
28322
- function Gq(e, t) {
28327
+ function Kq(e, t) {
28323
28328
  return (e < 0 ? "-" : "") + Math.abs(e).toString().padStart(t, "0");
28324
28329
  }
28325
28330
  //#endregion
28326
28331
  //#region ../../node_modules/date-fns/_lib/format/lightFormatters.js
28327
- var Kq = {
28332
+ var qq = {
28328
28333
  y(e, t) {
28329
28334
  let n = e.getFullYear(), r = n > 0 ? n : 1 - n;
28330
- return Gq(t === "yy" ? r % 100 : r, t.length);
28335
+ return Kq(t === "yy" ? r % 100 : r, t.length);
28331
28336
  },
28332
28337
  M(e, t) {
28333
28338
  let n = e.getMonth();
28334
- return t === "M" ? String(n + 1) : Gq(n + 1, 2);
28339
+ return t === "M" ? String(n + 1) : Kq(n + 1, 2);
28335
28340
  },
28336
28341
  d(e, t) {
28337
- return Gq(e.getDate(), t.length);
28342
+ return Kq(e.getDate(), t.length);
28338
28343
  },
28339
28344
  a(e, t) {
28340
28345
  let n = e.getHours() / 12 >= 1 ? "pm" : "am";
@@ -28347,22 +28352,22 @@ var Kq = {
28347
28352
  }
28348
28353
  },
28349
28354
  h(e, t) {
28350
- return Gq(e.getHours() % 12 || 12, t.length);
28355
+ return Kq(e.getHours() % 12 || 12, t.length);
28351
28356
  },
28352
28357
  H(e, t) {
28353
- return Gq(e.getHours(), t.length);
28358
+ return Kq(e.getHours(), t.length);
28354
28359
  },
28355
28360
  m(e, t) {
28356
- return Gq(e.getMinutes(), t.length);
28361
+ return Kq(e.getMinutes(), t.length);
28357
28362
  },
28358
28363
  s(e, t) {
28359
- return Gq(e.getSeconds(), t.length);
28364
+ return Kq(e.getSeconds(), t.length);
28360
28365
  },
28361
28366
  S(e, t) {
28362
28367
  let n = t.length, r = e.getMilliseconds();
28363
- return Gq(Math.trunc(r * 10 ** (n - 3)), t.length);
28368
+ return Kq(Math.trunc(r * 10 ** (n - 3)), t.length);
28364
28369
  }
28365
- }, qq = {
28370
+ }, Jq = {
28366
28371
  am: "am",
28367
28372
  pm: "pm",
28368
28373
  midnight: "midnight",
@@ -28371,7 +28376,7 @@ var Kq = {
28371
28376
  afternoon: "afternoon",
28372
28377
  evening: "evening",
28373
28378
  night: "night"
28374
- }, Jq = {
28379
+ }, Yq = {
28375
28380
  G: function(e, t, n) {
28376
28381
  let r = +(e.getFullYear() > 0);
28377
28382
  switch (t) {
@@ -28387,23 +28392,23 @@ var Kq = {
28387
28392
  let t = e.getFullYear(), r = t > 0 ? t : 1 - t;
28388
28393
  return n.ordinalNumber(r, { unit: "year" });
28389
28394
  }
28390
- return Kq.y(e, t);
28395
+ return qq.y(e, t);
28391
28396
  },
28392
28397
  Y: function(e, t, n, r) {
28393
- let i = Hq(e, r), a = i > 0 ? i : 1 - i;
28394
- return t === "YY" ? Gq(a % 100, 2) : t === "Yo" ? n.ordinalNumber(a, { unit: "year" }) : Gq(a, t.length);
28398
+ let i = Uq(e, r), a = i > 0 ? i : 1 - i;
28399
+ return t === "YY" ? Kq(a % 100, 2) : t === "Yo" ? n.ordinalNumber(a, { unit: "year" }) : Kq(a, t.length);
28395
28400
  },
28396
28401
  R: function(e, t) {
28397
- return Gq(vq(e), t.length);
28402
+ return Kq(yq(e), t.length);
28398
28403
  },
28399
28404
  u: function(e, t) {
28400
- return Gq(e.getFullYear(), t.length);
28405
+ return Kq(e.getFullYear(), t.length);
28401
28406
  },
28402
28407
  Q: function(e, t, n) {
28403
28408
  let r = Math.ceil((e.getMonth() + 1) / 3);
28404
28409
  switch (t) {
28405
28410
  case "Q": return String(r);
28406
- case "QQ": return Gq(r, 2);
28411
+ case "QQ": return Kq(r, 2);
28407
28412
  case "Qo": return n.ordinalNumber(r, { unit: "quarter" });
28408
28413
  case "QQQ": return n.quarter(r, {
28409
28414
  width: "abbreviated",
@@ -28423,7 +28428,7 @@ var Kq = {
28423
28428
  let r = Math.ceil((e.getMonth() + 1) / 3);
28424
28429
  switch (t) {
28425
28430
  case "q": return String(r);
28426
- case "qq": return Gq(r, 2);
28431
+ case "qq": return Kq(r, 2);
28427
28432
  case "qo": return n.ordinalNumber(r, { unit: "quarter" });
28428
28433
  case "qqq": return n.quarter(r, {
28429
28434
  width: "abbreviated",
@@ -28443,7 +28448,7 @@ var Kq = {
28443
28448
  let r = e.getMonth();
28444
28449
  switch (t) {
28445
28450
  case "M":
28446
- case "MM": return Kq.M(e, t);
28451
+ case "MM": return qq.M(e, t);
28447
28452
  case "Mo": return n.ordinalNumber(r + 1, { unit: "month" });
28448
28453
  case "MMM": return n.month(r, {
28449
28454
  width: "abbreviated",
@@ -28463,7 +28468,7 @@ var Kq = {
28463
28468
  let r = e.getMonth();
28464
28469
  switch (t) {
28465
28470
  case "L": return String(r + 1);
28466
- case "LL": return Gq(r + 1, 2);
28471
+ case "LL": return Kq(r + 1, 2);
28467
28472
  case "Lo": return n.ordinalNumber(r + 1, { unit: "month" });
28468
28473
  case "LLL": return n.month(r, {
28469
28474
  width: "abbreviated",
@@ -28480,19 +28485,19 @@ var Kq = {
28480
28485
  }
28481
28486
  },
28482
28487
  w: function(e, t, n, r) {
28483
- let i = Wq(e, r);
28484
- return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : Gq(i, t.length);
28488
+ let i = Gq(e, r);
28489
+ return t === "wo" ? n.ordinalNumber(i, { unit: "week" }) : Kq(i, t.length);
28485
28490
  },
28486
28491
  I: function(e, t, n) {
28487
- let r = Vq(e);
28488
- return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Gq(r, t.length);
28492
+ let r = Hq(e);
28493
+ return t === "Io" ? n.ordinalNumber(r, { unit: "week" }) : Kq(r, t.length);
28489
28494
  },
28490
28495
  d: function(e, t, n) {
28491
- return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : Kq.d(e, t);
28496
+ return t === "do" ? n.ordinalNumber(e.getDate(), { unit: "date" }) : qq.d(e, t);
28492
28497
  },
28493
28498
  D: function(e, t, n) {
28494
- let r = Bq(e);
28495
- return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Gq(r, t.length);
28499
+ let r = Vq(e);
28500
+ return t === "Do" ? n.ordinalNumber(r, { unit: "dayOfYear" }) : Kq(r, t.length);
28496
28501
  },
28497
28502
  E: function(e, t, n) {
28498
28503
  let r = e.getDay();
@@ -28521,7 +28526,7 @@ var Kq = {
28521
28526
  let i = e.getDay(), a = (i - r.weekStartsOn + 8) % 7 || 7;
28522
28527
  switch (t) {
28523
28528
  case "e": return String(a);
28524
- case "ee": return Gq(a, 2);
28529
+ case "ee": return Kq(a, 2);
28525
28530
  case "eo": return n.ordinalNumber(a, { unit: "day" });
28526
28531
  case "eee": return n.day(i, {
28527
28532
  width: "abbreviated",
@@ -28545,7 +28550,7 @@ var Kq = {
28545
28550
  let i = e.getDay(), a = (i - r.weekStartsOn + 8) % 7 || 7;
28546
28551
  switch (t) {
28547
28552
  case "c": return String(a);
28548
- case "cc": return Gq(a, t.length);
28553
+ case "cc": return Kq(a, t.length);
28549
28554
  case "co": return n.ordinalNumber(a, { unit: "day" });
28550
28555
  case "ccc": return n.day(i, {
28551
28556
  width: "abbreviated",
@@ -28569,7 +28574,7 @@ var Kq = {
28569
28574
  let r = e.getDay(), i = r === 0 ? 7 : r;
28570
28575
  switch (t) {
28571
28576
  case "i": return String(i);
28572
- case "ii": return Gq(i, t.length);
28577
+ case "ii": return Kq(i, t.length);
28573
28578
  case "io": return n.ordinalNumber(i, { unit: "day" });
28574
28579
  case "iii": return n.day(r, {
28575
28580
  width: "abbreviated",
@@ -28613,7 +28618,7 @@ var Kq = {
28613
28618
  },
28614
28619
  b: function(e, t, n) {
28615
28620
  let r = e.getHours(), i;
28616
- switch (i = r === 12 ? qq.noon : r === 0 ? qq.midnight : r / 12 >= 1 ? "pm" : "am", t) {
28621
+ switch (i = r === 12 ? Jq.noon : r === 0 ? Jq.midnight : r / 12 >= 1 ? "pm" : "am", t) {
28617
28622
  case "b":
28618
28623
  case "bb": return n.dayPeriod(i, {
28619
28624
  width: "abbreviated",
@@ -28635,7 +28640,7 @@ var Kq = {
28635
28640
  },
28636
28641
  B: function(e, t, n) {
28637
28642
  let r = e.getHours(), i;
28638
- switch (i = r >= 17 ? qq.evening : r >= 12 ? qq.afternoon : r >= 4 ? qq.morning : qq.night, t) {
28643
+ switch (i = r >= 17 ? Jq.evening : r >= 12 ? Jq.afternoon : r >= 4 ? Jq.morning : Jq.night, t) {
28639
28644
  case "B":
28640
28645
  case "BB":
28641
28646
  case "BBB": return n.dayPeriod(i, {
@@ -28657,45 +28662,45 @@ var Kq = {
28657
28662
  let t = e.getHours() % 12;
28658
28663
  return t === 0 && (t = 12), n.ordinalNumber(t, { unit: "hour" });
28659
28664
  }
28660
- return Kq.h(e, t);
28665
+ return qq.h(e, t);
28661
28666
  },
28662
28667
  H: function(e, t, n) {
28663
- return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : Kq.H(e, t);
28668
+ return t === "Ho" ? n.ordinalNumber(e.getHours(), { unit: "hour" }) : qq.H(e, t);
28664
28669
  },
28665
28670
  K: function(e, t, n) {
28666
28671
  let r = e.getHours() % 12;
28667
- return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Gq(r, t.length);
28672
+ return t === "Ko" ? n.ordinalNumber(r, { unit: "hour" }) : Kq(r, t.length);
28668
28673
  },
28669
28674
  k: function(e, t, n) {
28670
28675
  let r = e.getHours();
28671
- return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Gq(r, t.length);
28676
+ return r === 0 && (r = 24), t === "ko" ? n.ordinalNumber(r, { unit: "hour" }) : Kq(r, t.length);
28672
28677
  },
28673
28678
  m: function(e, t, n) {
28674
- return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : Kq.m(e, t);
28679
+ return t === "mo" ? n.ordinalNumber(e.getMinutes(), { unit: "minute" }) : qq.m(e, t);
28675
28680
  },
28676
28681
  s: function(e, t, n) {
28677
- return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : Kq.s(e, t);
28682
+ return t === "so" ? n.ordinalNumber(e.getSeconds(), { unit: "second" }) : qq.s(e, t);
28678
28683
  },
28679
28684
  S: function(e, t) {
28680
- return Kq.S(e, t);
28685
+ return qq.S(e, t);
28681
28686
  },
28682
28687
  X: function(e, t, n) {
28683
28688
  let r = e.getTimezoneOffset();
28684
28689
  if (r === 0) return "Z";
28685
28690
  switch (t) {
28686
- case "X": return Xq(r);
28691
+ case "X": return Zq(r);
28687
28692
  case "XXXX":
28688
- case "XX": return Zq(r);
28689
- default: return Zq(r, ":");
28693
+ case "XX": return Qq(r);
28694
+ default: return Qq(r, ":");
28690
28695
  }
28691
28696
  },
28692
28697
  x: function(e, t, n) {
28693
28698
  let r = e.getTimezoneOffset();
28694
28699
  switch (t) {
28695
- case "x": return Xq(r);
28700
+ case "x": return Zq(r);
28696
28701
  case "xxxx":
28697
- case "xx": return Zq(r);
28698
- default: return Zq(r, ":");
28702
+ case "xx": return Qq(r);
28703
+ default: return Qq(r, ":");
28699
28704
  }
28700
28705
  },
28701
28706
  O: function(e, t, n) {
@@ -28703,8 +28708,8 @@ var Kq = {
28703
28708
  switch (t) {
28704
28709
  case "O":
28705
28710
  case "OO":
28706
- case "OOO": return "GMT" + Yq(r, ":");
28707
- default: return "GMT" + Zq(r, ":");
28711
+ case "OOO": return "GMT" + Xq(r, ":");
28712
+ default: return "GMT" + Qq(r, ":");
28708
28713
  }
28709
28714
  },
28710
28715
  z: function(e, t, n) {
@@ -28712,49 +28717,49 @@ var Kq = {
28712
28717
  switch (t) {
28713
28718
  case "z":
28714
28719
  case "zz":
28715
- case "zzz": return "GMT" + Yq(r, ":");
28716
- default: return "GMT" + Zq(r, ":");
28720
+ case "zzz": return "GMT" + Xq(r, ":");
28721
+ default: return "GMT" + Qq(r, ":");
28717
28722
  }
28718
28723
  },
28719
28724
  t: function(e, t, n) {
28720
- return Gq(Math.trunc(e / 1e3), t.length);
28725
+ return Kq(Math.trunc(e / 1e3), t.length);
28721
28726
  },
28722
28727
  T: function(e, t, n) {
28723
- return Gq(+e, t.length);
28728
+ return Kq(+e, t.length);
28724
28729
  }
28725
28730
  };
28726
- function Yq(e, t = "") {
28731
+ function Xq(e, t = "") {
28727
28732
  let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Math.trunc(r / 60), a = r % 60;
28728
- return a === 0 ? n + String(i) : n + String(i) + t + Gq(a, 2);
28733
+ return a === 0 ? n + String(i) : n + String(i) + t + Kq(a, 2);
28729
28734
  }
28730
- function Xq(e, t) {
28731
- return e % 60 == 0 ? (e > 0 ? "-" : "+") + Gq(Math.abs(e) / 60, 2) : Zq(e, t);
28735
+ function Zq(e, t) {
28736
+ return e % 60 == 0 ? (e > 0 ? "-" : "+") + Kq(Math.abs(e) / 60, 2) : Qq(e, t);
28732
28737
  }
28733
- function Zq(e, t = "") {
28734
- let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Gq(Math.trunc(r / 60), 2), a = Gq(r % 60, 2);
28738
+ function Qq(e, t = "") {
28739
+ let n = e > 0 ? "-" : "+", r = Math.abs(e), i = Kq(Math.trunc(r / 60), 2), a = Kq(r % 60, 2);
28735
28740
  return n + i + t + a;
28736
28741
  }
28737
28742
  //#endregion
28738
28743
  //#region ../../node_modules/date-fns/_lib/format/longFormatters.js
28739
- var Qq = (e, t) => {
28744
+ var $q = (e, t) => {
28740
28745
  switch (e) {
28741
28746
  case "P": return t.date({ width: "short" });
28742
28747
  case "PP": return t.date({ width: "medium" });
28743
28748
  case "PPP": return t.date({ width: "long" });
28744
28749
  default: return t.date({ width: "full" });
28745
28750
  }
28746
- }, $q = (e, t) => {
28751
+ }, eJ = (e, t) => {
28747
28752
  switch (e) {
28748
28753
  case "p": return t.time({ width: "short" });
28749
28754
  case "pp": return t.time({ width: "medium" });
28750
28755
  case "ppp": return t.time({ width: "long" });
28751
28756
  default: return t.time({ width: "full" });
28752
28757
  }
28753
- }, eJ = {
28754
- p: $q,
28758
+ }, tJ = {
28759
+ p: eJ,
28755
28760
  P: (e, t) => {
28756
28761
  let n = e.match(/(P+)(p+)?/) || [], r = n[1], i = n[2];
28757
- if (!i) return Qq(e, t);
28762
+ if (!i) return $q(e, t);
28758
28763
  let a;
28759
28764
  switch (r) {
28760
28765
  case "P":
@@ -28770,42 +28775,42 @@ var Qq = (e, t) => {
28770
28775
  a = t.dateTime({ width: "full" });
28771
28776
  break;
28772
28777
  }
28773
- return a.replace("{{date}}", Qq(r, t)).replace("{{time}}", $q(i, t));
28778
+ return a.replace("{{date}}", $q(r, t)).replace("{{time}}", eJ(i, t));
28774
28779
  }
28775
- }, tJ = /^D+$/, nJ = /^Y+$/, rJ = [
28780
+ }, nJ = /^D+$/, rJ = /^Y+$/, iJ = [
28776
28781
  "D",
28777
28782
  "DD",
28778
28783
  "YY",
28779
28784
  "YYYY"
28780
28785
  ];
28781
- function iJ(e) {
28782
- return tJ.test(e);
28783
- }
28784
28786
  function aJ(e) {
28785
28787
  return nJ.test(e);
28786
28788
  }
28787
- function oJ(e, t, n) {
28788
- let r = sJ(e, t, n);
28789
- if (console.warn(r), rJ.includes(e)) throw RangeError(r);
28789
+ function oJ(e) {
28790
+ return rJ.test(e);
28790
28791
  }
28791
28792
  function sJ(e, t, n) {
28793
+ let r = cJ(e, t, n);
28794
+ if (console.warn(r), iJ.includes(e)) throw RangeError(r);
28795
+ }
28796
+ function cJ(e, t, n) {
28792
28797
  let r = e[0] === "Y" ? "years" : "days of the month";
28793
28798
  return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
28794
28799
  }
28795
28800
  //#endregion
28796
28801
  //#region ../../node_modules/date-fns/format.js
28797
- var cJ = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, lJ = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, uJ = /^'([^]*?)'?$/, dJ = /''/g, fJ = /[a-zA-Z]/;
28798
- function pJ(e, t, n) {
28799
- let r = hq(), i = n?.locale ?? r.locale ?? zq, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = pq(e, n?.in);
28800
- if (!Tq(s)) throw RangeError("Invalid time value");
28801
- let c = t.match(lJ).map((e) => {
28802
+ var lJ = /[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g, uJ = /P+p+|P+|p+|''|'(''|[^'])+('|$)|./g, dJ = /^'([^]*?)'?$/, fJ = /''/g, pJ = /[a-zA-Z]/;
28803
+ function mJ(e, t, n) {
28804
+ let r = gq(), i = n?.locale ?? r.locale ?? Bq, a = n?.firstWeekContainsDate ?? n?.locale?.options?.firstWeekContainsDate ?? r.firstWeekContainsDate ?? r.locale?.options?.firstWeekContainsDate ?? 1, o = n?.weekStartsOn ?? n?.locale?.options?.weekStartsOn ?? r.weekStartsOn ?? r.locale?.options?.weekStartsOn ?? 0, s = mq(e, n?.in);
28805
+ if (!Eq(s)) throw RangeError("Invalid time value");
28806
+ let c = t.match(uJ).map((e) => {
28802
28807
  let t = e[0];
28803
28808
  if (t === "p" || t === "P") {
28804
- let n = eJ[t];
28809
+ let n = tJ[t];
28805
28810
  return n(e, i.formatLong);
28806
28811
  }
28807
28812
  return e;
28808
- }).join("").match(cJ).map((e) => {
28813
+ }).join("").match(lJ).map((e) => {
28809
28814
  if (e === "''") return {
28810
28815
  isToken: !1,
28811
28816
  value: "'"
@@ -28813,13 +28818,13 @@ function pJ(e, t, n) {
28813
28818
  let t = e[0];
28814
28819
  if (t === "'") return {
28815
28820
  isToken: !1,
28816
- value: mJ(e)
28821
+ value: hJ(e)
28817
28822
  };
28818
- if (Jq[t]) return {
28823
+ if (Yq[t]) return {
28819
28824
  isToken: !0,
28820
28825
  value: e
28821
28826
  };
28822
- if (t.match(fJ)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
28827
+ if (t.match(pJ)) throw RangeError("Format string contains an unescaped latin alphabet character `" + t + "`");
28823
28828
  return {
28824
28829
  isToken: !1,
28825
28830
  value: e
@@ -28834,18 +28839,18 @@ function pJ(e, t, n) {
28834
28839
  return c.map((r) => {
28835
28840
  if (!r.isToken) return r.value;
28836
28841
  let a = r.value;
28837
- (!n?.useAdditionalWeekYearTokens && aJ(a) || !n?.useAdditionalDayOfYearTokens && iJ(a)) && oJ(a, t, String(e));
28838
- let o = Jq[a[0]];
28842
+ (!n?.useAdditionalWeekYearTokens && oJ(a) || !n?.useAdditionalDayOfYearTokens && aJ(a)) && sJ(a, t, String(e));
28843
+ let o = Yq[a[0]];
28839
28844
  return o(s, a, i.localize, l);
28840
28845
  }).join("");
28841
28846
  }
28842
- function mJ(e) {
28843
- let t = e.match(uJ);
28844
- return t ? t[1].replace(dJ, "'") : e;
28847
+ function hJ(e) {
28848
+ let t = e.match(dJ);
28849
+ return t ? t[1].replace(fJ, "'") : e;
28845
28850
  }
28846
28851
  //#endregion
28847
28852
  //#region src/composed/DatePicker/DatePicker.tsx
28848
- function hJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disabled: a = !1, dateFormat: o = "PPP", locale: s, className: c, "aria-label": l }) {
28853
+ function gJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disabled: a = !1, dateFormat: o = "PPP", locale: s, className: c, "aria-label": l }) {
28849
28854
  let [u, d] = Ye(!1);
28850
28855
  return /* @__PURE__ */ G(fB, {
28851
28856
  open: u,
@@ -28861,7 +28866,7 @@ function hJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disa
28861
28866
  "aria-expanded": u,
28862
28867
  "aria-label": l,
28863
28868
  className: t("w-full min-w-[9rem] justify-between font-normal", !n && "text-muted-foreground", c),
28864
- children: [n ? pJ(n, o) : /* @__PURE__ */ W("span", { children: i }), /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28869
+ children: [n ? mJ(n, o) : /* @__PURE__ */ W("span", { children: i }), /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28865
28870
  })
28866
28871
  }), /* @__PURE__ */ W(mB, {
28867
28872
  className: "w-auto p-0",
@@ -28878,7 +28883,7 @@ function hJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disa
28878
28883
  }
28879
28884
  //#endregion
28880
28885
  //#region src/composed/DatePicker/DateRangePicker.tsx
28881
- function gJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disabled: a = !1, dateFormat: o = "LLL dd, y", locale: s, numberOfMonths: c = 2, className: l, "aria-label": u }) {
28886
+ function _J({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disabled: a = !1, dateFormat: o = "LLL dd, y", locale: s, numberOfMonths: c = 2, className: l, "aria-label": u }) {
28882
28887
  let [d, f] = Ye(!1);
28883
28888
  return /* @__PURE__ */ G(fB, {
28884
28889
  open: d,
@@ -28895,10 +28900,10 @@ function gJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disa
28895
28900
  "aria-label": u,
28896
28901
  className: t("w-full min-w-[15rem] justify-between font-normal", !(n?.from || n?.to) && "text-muted-foreground", l),
28897
28902
  children: [n?.from || n?.to ? n.from ? n.to ? /* @__PURE__ */ G(Qe, { children: [
28898
- pJ(n.from, o),
28903
+ mJ(n.from, o),
28899
28904
  " → ",
28900
- pJ(n.to, o)
28901
- ] }) : /* @__PURE__ */ G(Qe, { children: [pJ(n.from, o), " → …"] }) : /* @__PURE__ */ G(Qe, { children: ["… → ", pJ(n.to, o)] }) : /* @__PURE__ */ W("span", { children: i }), /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28905
+ mJ(n.to, o)
28906
+ ] }) : /* @__PURE__ */ G(Qe, { children: [mJ(n.from, o), " → …"] }) : /* @__PURE__ */ G(Qe, { children: ["… → ", mJ(n.to, o)] }) : /* @__PURE__ */ W("span", { children: i }), /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28902
28907
  })
28903
28908
  }), /* @__PURE__ */ W(mB, {
28904
28909
  className: "w-auto p-0",
@@ -28916,10 +28921,10 @@ function gJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date", disa
28916
28921
  }
28917
28922
  //#endregion
28918
28923
  //#region src/composed/DatePicker/date-time.ts
28919
- function _J(e, t = "00:00:00") {
28920
- return e ? pJ(e, "HH:mm:ss") : t;
28924
+ function vJ(e, t = "00:00:00") {
28925
+ return e ? mJ(e, "HH:mm:ss") : t;
28921
28926
  }
28922
- function vJ(e, t) {
28927
+ function yJ(e, t) {
28923
28928
  let [n = "0", r = "0", i = "0"] = t.split(":"), a = Number(n), o = Number(r), s = Number(i);
28924
28929
  if (Number.isNaN(a) || Number.isNaN(o) || Number.isNaN(s)) return e;
28925
28930
  let c = new Date(e);
@@ -28927,17 +28932,17 @@ function vJ(e, t) {
28927
28932
  }
28928
28933
  //#endregion
28929
28934
  //#region src/composed/DatePicker/DateTimePicker.tsx
28930
- function yJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time", disabled: a = !1, dateTimeFormat: o = "PP '@' HH:mm:ss", locale: s, className: c, side: l = "bottom", align: u = "start", "aria-label": d }) {
28935
+ function bJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time", disabled: a = !1, dateTimeFormat: o = "PP '@' HH:mm:ss", locale: s, className: c, side: l = "bottom", align: u = "start", "aria-label": d }) {
28931
28936
  let f = (/* @__PURE__ */ new Date()).getFullYear(), p = new Date(f - 10, 0), m = new Date(f + 10, 11), h = Ue(), _ = e ?? h, [v, y] = Ye(!1);
28932
28937
  function b(e) {
28933
28938
  if (!e) {
28934
28939
  r?.(void 0);
28935
28940
  return;
28936
28941
  }
28937
- r?.(vJ(e, n ? _J(n) : "00:00:00"));
28942
+ r?.(yJ(e, n ? vJ(n) : "00:00:00"));
28938
28943
  }
28939
28944
  function x(e) {
28940
- r?.(vJ(n ?? /* @__PURE__ */ new Date(), e));
28945
+ r?.(yJ(n ?? /* @__PURE__ */ new Date(), e));
28941
28946
  }
28942
28947
  return /* @__PURE__ */ G(fB, {
28943
28948
  open: v,
@@ -28953,7 +28958,7 @@ function yJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
28953
28958
  "aria-expanded": v,
28954
28959
  "aria-label": d,
28955
28960
  className: t("w-full min-w-[13rem] justify-between font-normal", !n && "text-muted-foreground", c),
28956
- children: [n ? pJ(n, o) : i, /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28961
+ children: [n ? mJ(n, o) : i, /* @__PURE__ */ W(fe, { "aria-hidden": "true" })]
28957
28962
  })
28958
28963
  }), /* @__PURE__ */ G(mB, {
28959
28964
  className: "w-auto overflow-hidden p-0",
@@ -28980,7 +28985,7 @@ function yJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
28980
28985
  id: `${_}-time`,
28981
28986
  type: "time",
28982
28987
  step: "1",
28983
- value: _J(n),
28988
+ value: vJ(n),
28984
28989
  disabled: a,
28985
28990
  onChange: (e) => x(e.target.value),
28986
28991
  className: "ml-auto w-32 appearance-none bg-background [&::-webkit-calendar-picker-indicator]:hidden [&::-webkit-calendar-picker-indicator]:appearance-none"
@@ -28992,15 +28997,15 @@ function yJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
28992
28997
  }
28993
28998
  //#endregion
28994
28999
  //#region src/composed/DatePicker/DateTimeRangePicker.tsx
28995
- var bJ = "00:00:00", xJ = "23:59:59";
28996
- function SJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time range", disabled: a = !1, fromLabel: o = "From", toLabel: s = "To", dateTimeFormat: c = "PP '@' HH:mm", locale: l, className: u, side: d = "bottom", align: f = "start", numberOfMonths: p = 2, "aria-label": m }) {
28997
- let h = (/* @__PURE__ */ new Date()).getFullYear(), _ = new Date(h - 10, 0), v = new Date(h + 10, 11), y = Ue(), b = e ?? y, [x, S] = Ye(!1), C = _J(n?.from, bJ), w = _J(n?.to, xJ);
29000
+ var xJ = "00:00:00", SJ = "23:59:59";
29001
+ function CJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and time range", disabled: a = !1, fromLabel: o = "From", toLabel: s = "To", dateTimeFormat: c = "PP '@' HH:mm", locale: l, className: u, side: d = "bottom", align: f = "start", numberOfMonths: p = 2, "aria-label": m }) {
29002
+ let h = (/* @__PURE__ */ new Date()).getFullYear(), _ = new Date(h - 10, 0), v = new Date(h + 10, 11), y = Ue(), b = e ?? y, [x, S] = Ye(!1), C = vJ(n?.from, xJ), w = vJ(n?.to, SJ);
28998
29003
  function T(e) {
28999
29004
  if (!e) {
29000
29005
  r?.(void 0);
29001
29006
  return;
29002
29007
  }
29003
- let t = e.from ? vJ(e.from, C) : void 0, n = e.to ? vJ(e.to, w) : void 0;
29008
+ let t = e.from ? yJ(e.from, C) : void 0, n = e.to ? yJ(e.to, w) : void 0;
29004
29009
  r?.({
29005
29010
  from: t,
29006
29011
  to: n
@@ -29009,7 +29014,7 @@ function SJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
29009
29014
  function E(e) {
29010
29015
  let t = n?.from ?? /* @__PURE__ */ new Date();
29011
29016
  r?.({
29012
- from: vJ(t, e),
29017
+ from: yJ(t, e),
29013
29018
  to: n?.to
29014
29019
  });
29015
29020
  }
@@ -29017,11 +29022,11 @@ function SJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
29017
29022
  let t = n?.to ?? n?.from ?? /* @__PURE__ */ new Date();
29018
29023
  r?.({
29019
29024
  from: n?.from,
29020
- to: vJ(t, e)
29025
+ to: yJ(t, e)
29021
29026
  });
29022
29027
  }
29023
29028
  function O() {
29024
- return !n?.from && !n?.to ? i : n?.from && n?.to ? `${pJ(n.from, c)} → ${pJ(n.to, c)}` : n?.from ? `${pJ(n.from, c)} → …` : n?.to ? `… → ${pJ(n.to, c)}` : i;
29029
+ return !n?.from && !n?.to ? i : n?.from && n?.to ? `${mJ(n.from, c)} → ${mJ(n.to, c)}` : n?.from ? `${mJ(n.from, c)} → …` : n?.to ? `… → ${mJ(n.to, c)}` : i;
29025
29030
  }
29026
29031
  return /* @__PURE__ */ G(fB, {
29027
29032
  open: x,
@@ -29094,7 +29099,7 @@ function SJ({ id: e, value: n, onChange: r, placeholder: i = "Pick a date and ti
29094
29099
  }
29095
29100
  //#endregion
29096
29101
  //#region src/composed/ElCheatSheetTrigger/ElCheatSheetTrigger.tsx
29097
- var CJ = [
29102
+ var wJ = [
29098
29103
  {
29099
29104
  key: "plan-level",
29100
29105
  label: "Check Plan Level",
@@ -29111,7 +29116,7 @@ var CJ = [
29111
29116
  expression: "{#context.attributes['user-role'] == 'owner'}"
29112
29117
  }
29113
29118
  ];
29114
- function wJ({ "data-testid": e } = {}) {
29119
+ function TJ({ "data-testid": e } = {}) {
29115
29120
  let [t, n] = Ye(null), r = Je(void 0), i = ze((e, t) => {
29116
29121
  navigator.clipboard && navigator.clipboard.writeText(t).then(() => {
29117
29122
  clearTimeout(r.current), n(e), r.current = setTimeout(() => n(null), 1500);
@@ -29132,7 +29137,7 @@ function wJ({ "data-testid": e } = {}) {
29132
29137
  "data-testid": e ? `${e}-content` : void 0,
29133
29138
  children: [/* @__PURE__ */ W(gB, { children: /* @__PURE__ */ W(_B, { children: "Expression Language Quick Reference" }) }), /* @__PURE__ */ W("div", {
29134
29139
  className: "space-y-2",
29135
- children: CJ.map((n) => /* @__PURE__ */ G("div", {
29140
+ children: wJ.map((n) => /* @__PURE__ */ G("div", {
29136
29141
  className: "flex items-start gap-2 rounded-md bg-muted/60 p-2",
29137
29142
  children: [/* @__PURE__ */ G("div", {
29138
29143
  className: "min-w-0 flex-1",
@@ -29158,7 +29163,7 @@ function wJ({ "data-testid": e } = {}) {
29158
29163
  }
29159
29164
  //#endregion
29160
29165
  //#region src/composed/FacetedFilter/FacetedFilter.tsx
29161
- function TJ({ title: e, options: t, selected: n, onChange: r }) {
29166
+ function EJ({ title: e, options: t, selected: n, onChange: r }) {
29162
29167
  let i = Ke(() => new Set(n), [n]);
29163
29168
  return /* @__PURE__ */ G(fB, { children: [/* @__PURE__ */ W(pB, {
29164
29169
  asChild: !0,
@@ -29200,13 +29205,13 @@ function TJ({ title: e, options: t, selected: n, onChange: r }) {
29200
29205
  }
29201
29206
  //#endregion
29202
29207
  //#region src/composed/FileUpload/FileUploadItem.tsx
29203
- var EJ = /\.(json|ya?ml|js|jsx|ts|tsx|html?|css|py|rb|go|rs|sh)$/i;
29204
- function DJ(e) {
29208
+ var DJ = /\.(json|ya?ml|js|jsx|ts|tsx|html?|css|py|rb|go|rs|sh)$/i;
29209
+ function OJ(e) {
29205
29210
  let t = e.type;
29206
- return t.startsWith("image/") ? "image" : t.startsWith("video/") ? "video" : t.startsWith("audio/") ? "audio" : EJ.test(e.name) ? "code" : t === "application/pdf" || t.includes("document") || t.startsWith("text/") ? "document" : "other";
29211
+ return t.startsWith("image/") ? "image" : t.startsWith("video/") ? "video" : t.startsWith("audio/") ? "audio" : DJ.test(e.name) ? "code" : t === "application/pdf" || t.includes("document") || t.startsWith("text/") ? "document" : "other";
29207
29212
  }
29208
- function OJ({ className: e, file: t }) {
29209
- switch (DJ(t)) {
29213
+ function kJ({ className: e, file: t }) {
29214
+ switch (OJ(t)) {
29210
29215
  case "audio": return /* @__PURE__ */ W(nt, { className: e });
29211
29216
  case "code": return /* @__PURE__ */ W(rt, { className: e });
29212
29217
  case "document": return /* @__PURE__ */ W(Ee, { className: e });
@@ -29215,7 +29220,7 @@ function OJ({ className: e, file: t }) {
29215
29220
  case "other": return /* @__PURE__ */ W(tt, { className: e });
29216
29221
  }
29217
29222
  }
29218
- function kJ({ className: e, item: n, onRemove: r, ...i }) {
29223
+ function AJ({ className: e, item: n, onRemove: r, ...i }) {
29219
29224
  let a = Ue(), o = n.status ?? "idle", s = n.progress !== void 0 && o !== "error";
29220
29225
  return /* @__PURE__ */ G(Gz, {
29221
29226
  variant: "outline",
@@ -29228,7 +29233,7 @@ function kJ({ className: e, item: n, onRemove: r, ...i }) {
29228
29233
  /* @__PURE__ */ W(qz, {
29229
29234
  "aria-hidden": "true",
29230
29235
  className: "text-muted-foreground",
29231
- children: /* @__PURE__ */ W(OJ, {
29236
+ children: /* @__PURE__ */ W(kJ, {
29232
29237
  file: n.file,
29233
29238
  className: "size-5"
29234
29239
  })
@@ -29279,7 +29284,7 @@ function kJ({ className: e, item: n, onRemove: r, ...i }) {
29279
29284
  }
29280
29285
  //#endregion
29281
29286
  //#region src/composed/FileUpload/FileUpload.tsx
29282
- function AJ({ className: e, errors: n, invalid: r, items: i, onFileRemove: a, onFilesAdd: o, onFilesReject: s, ...c }) {
29287
+ function jJ({ className: e, errors: n, invalid: r, items: i, onFileRemove: a, onFilesAdd: o, onFilesReject: s, ...c }) {
29283
29288
  let l = H.useRef(null), u = H.useId(), [d, f] = H.useState(""), p = n !== void 0 && n.length > 0, m = (e) => {
29284
29289
  e.length === 1 ? f(`Added ${e[0].name}`) : e.length > 1 && f(`Added ${e.length} files`), o?.(e);
29285
29290
  }, h = (e) => {
@@ -29310,7 +29315,7 @@ function AJ({ className: e, errors: n, invalid: r, items: i, onFileRemove: a, on
29310
29315
  }) : null,
29311
29316
  i.length > 0 ? /* @__PURE__ */ W("ul", {
29312
29317
  className: "flex flex-col gap-2",
29313
- children: i.map((e) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(kJ, {
29318
+ children: i.map((e) => /* @__PURE__ */ W("li", { children: /* @__PURE__ */ W(AJ, {
29314
29319
  item: e,
29315
29320
  onRemove: g,
29316
29321
  "data-file-upload-item-id": e.id
@@ -29327,7 +29332,7 @@ function AJ({ className: e, errors: n, invalid: r, items: i, onFileRemove: a, on
29327
29332
  }
29328
29333
  //#endregion
29329
29334
  //#region src/composed/JsonSchemaForm/utils/readPath.ts
29330
- function jJ(e, t) {
29335
+ function MJ(e, t) {
29331
29336
  if (t === "") return e;
29332
29337
  let n = e;
29333
29338
  for (let e of t.split(".")) {
@@ -29338,23 +29343,23 @@ function jJ(e, t) {
29338
29343
  }
29339
29344
  //#endregion
29340
29345
  //#region src/composed/JsonSchemaForm/conditional/evalCondition.ts
29341
- function MJ(e, t, n) {
29342
- for (let [n, r] of e.$eq) if (!NJ(t.get(n), r)) return !1;
29346
+ function NJ(e, t, n) {
29347
+ for (let [n, r] of e.$eq) if (!PJ(t.get(n), r)) return !1;
29343
29348
  if (e.$eqContext) {
29344
- for (let [t, r] of e.$eqContext) if (!NJ(jJ(n, t), r)) return !1;
29349
+ for (let [t, r] of e.$eqContext) if (!PJ(MJ(n, t), r)) return !1;
29345
29350
  }
29346
29351
  return !0;
29347
29352
  }
29348
- function NJ(e, t) {
29353
+ function PJ(e, t) {
29349
29354
  return (Array.isArray(t) ? t : [t]).includes(e);
29350
29355
  }
29351
29356
  //#endregion
29352
29357
  //#region src/composed/JsonSchemaForm/conditional/ConditionalGate.tsx
29353
- function PJ({ condition: e, unregisterOnHide: t, children: n }) {
29358
+ function FJ({ condition: e, unregisterOnHide: t, children: n }) {
29354
29359
  let { control: r, externalContext: i } = b(), a = Ke(() => Array.from(e.$eq.keys()), [e]), o = M({
29355
29360
  control: r,
29356
29361
  name: a
29357
- }), s = MJ(e, Ke(() => {
29362
+ }), s = NJ(e, Ke(() => {
29358
29363
  let e = /* @__PURE__ */ new Map(), t = Array.isArray(o) ? o : [o];
29359
29364
  return a.forEach((n, r) => e.set(n, t[r])), e;
29360
29365
  }, [a, o]), i);
@@ -29368,12 +29373,12 @@ function PJ({ condition: e, unregisterOnHide: t, children: n }) {
29368
29373
  }
29369
29374
  //#endregion
29370
29375
  //#region src/composed/JsonSchemaForm/conditional/DisabledGate.tsx
29371
- function FJ({ condition: e, children: t }) {
29376
+ function IJ({ condition: e, children: t }) {
29372
29377
  let n = b(), r = Ke(() => Array.from(e.$eq.keys()), [e]), i = M({
29373
29378
  control: n.control,
29374
29379
  name: r
29375
29380
  });
29376
- return MJ(e, Ke(() => {
29381
+ return NJ(e, Ke(() => {
29377
29382
  let e = /* @__PURE__ */ new Map(), t = Array.isArray(i) ? i : [i];
29378
29383
  return r.forEach((n, r) => e.set(n, t[r])), e;
29379
29384
  }, [r, i]), n.externalContext) ? /* @__PURE__ */ W(P.Provider, {
@@ -29386,7 +29391,7 @@ function FJ({ condition: e, children: t }) {
29386
29391
  }
29387
29392
  //#endregion
29388
29393
  //#region src/composed/JsonSchemaForm/conditional/concretizePath.ts
29389
- function IJ(e, t) {
29394
+ function LJ(e, t) {
29390
29395
  return e.split(".").map((e, n) => {
29391
29396
  let r = t[n];
29392
29397
  return e === "*" && r !== void 0 && /^\d+$/.test(r) ? r : e;
@@ -29394,8 +29399,8 @@ function IJ(e, t) {
29394
29399
  }
29395
29400
  //#endregion
29396
29401
  //#region src/composed/JsonSchemaForm/conditional/concretizeCondition.ts
29397
- function LJ(e, t) {
29398
- let n = t === "" ? [] : t.split("."), r = new Map([...e.$eq].map(([e, t]) => [IJ(e, n), t]));
29402
+ function RJ(e, t) {
29403
+ let n = t === "" ? [] : t.split("."), r = new Map([...e.$eq].map(([e, t]) => [LJ(e, n), t]));
29399
29404
  return e.$eqContext ? {
29400
29405
  $eq: r,
29401
29406
  $eqContext: e.$eqContext
@@ -29403,7 +29408,7 @@ function LJ(e, t) {
29403
29408
  }
29404
29409
  //#endregion
29405
29410
  //#region src/composed/JsonSchemaForm/schema/preprocess/walkDependencies.ts
29406
- function RJ(e, t) {
29411
+ function zJ(e, t) {
29407
29412
  if (!e) return e;
29408
29413
  let n = {};
29409
29414
  for (let [r, i] of Object.entries(e)) n[r] = Array.isArray(i) ? i : t(i);
@@ -29411,17 +29416,17 @@ function RJ(e, t) {
29411
29416
  }
29412
29417
  //#endregion
29413
29418
  //#region src/composed/JsonSchemaForm/schema/preprocess/mergeAllOf.ts
29414
- function zJ(e) {
29415
- return BJ(e);
29416
- }
29417
29419
  function BJ(e) {
29418
- return HJ(VJ({ ...e }));
29420
+ return VJ(e);
29419
29421
  }
29420
29422
  function VJ(e) {
29423
+ return UJ(HJ({ ...e }));
29424
+ }
29425
+ function HJ(e) {
29421
29426
  if (!Array.isArray(e.allOf) || e.allOf.length === 0) return e;
29422
29427
  let t = { ...e.properties ?? {} }, n = new Set(e.required ?? []), r = e.gioConfig ? { ...e.gioConfig } : void 0, i = { ...e.dependencies ?? {} };
29423
29428
  for (let a of e.allOf) {
29424
- let e = BJ(a);
29429
+ let e = VJ(a);
29425
29430
  Object.assign(t, e.properties ?? {}), e.required?.forEach((e) => n.add(e)), e.gioConfig && (r = {
29426
29431
  ...r,
29427
29432
  ...e.gioConfig
@@ -29430,33 +29435,33 @@ function VJ(e) {
29430
29435
  let a = { ...e };
29431
29436
  return Object.keys(t).length > 0 && (a.properties = t), n.size > 0 && (a.required = Array.from(n)), r !== void 0 && (a.gioConfig = r), Object.keys(i).length > 0 && (a.dependencies = i), delete a.allOf, a;
29432
29437
  }
29433
- function HJ(e) {
29434
- return e.properties &&= UJ(e.properties, BJ), e.items &&= Array.isArray(e.items) ? e.items.map(BJ) : BJ(e.items), e.oneOf &&= e.oneOf.map(BJ), e.anyOf &&= e.anyOf.map(BJ), e.dependencies &&= RJ(e.dependencies, BJ), e;
29438
+ function UJ(e) {
29439
+ return e.properties &&= WJ(e.properties, VJ), e.items &&= Array.isArray(e.items) ? e.items.map(VJ) : VJ(e.items), e.oneOf &&= e.oneOf.map(VJ), e.anyOf &&= e.anyOf.map(VJ), e.dependencies &&= zJ(e.dependencies, VJ), e;
29435
29440
  }
29436
- function UJ(e, t) {
29441
+ function WJ(e, t) {
29437
29442
  let n = {};
29438
29443
  for (let [r, i] of Object.entries(e)) n[r] = t(i);
29439
29444
  return n;
29440
29445
  }
29441
29446
  //#endregion
29442
29447
  //#region src/composed/JsonSchemaForm/utils/jsonPointer.ts
29443
- function WJ(e) {
29448
+ function GJ(e) {
29444
29449
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
29445
29450
  }
29446
- function GJ(e) {
29451
+ function KJ(e) {
29447
29452
  return e.replace(/~1/g, "/").replace(/~0/g, "~");
29448
29453
  }
29449
29454
  //#endregion
29450
29455
  //#region src/composed/JsonSchemaForm/schema/preprocess/resolveRefs.ts
29451
- function KJ(e) {
29452
- return qJ(e, e, []);
29456
+ function qJ(e) {
29457
+ return JJ(e, e, []);
29453
29458
  }
29454
- function qJ(e, t, n) {
29459
+ function JJ(e, t, n) {
29455
29460
  if (typeof e.$ref == "string") {
29456
29461
  if (n.includes(e.$ref)) throw Error(`Cyclic $ref: ${[...n, e.$ref].join(" → ")}`);
29457
- let r = JJ(t, e.$ref);
29462
+ let r = YJ(t, e.$ref);
29458
29463
  if (r === void 0) throw Error(`Unresolved $ref: ${e.$ref}`);
29459
- let i = qJ(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
29464
+ let i = JJ(r, t, [...n, e.$ref]), { $ref: a, gioConfig: o, ...s } = e, c = {
29460
29465
  ...i,
29461
29466
  ...s
29462
29467
  };
@@ -29468,25 +29473,25 @@ function qJ(e, t, n) {
29468
29473
  let r = { ...e };
29469
29474
  if (r.properties) {
29470
29475
  let e = {};
29471
- for (let [i, a] of Object.entries(r.properties)) e[i] = qJ(a, t, n);
29476
+ for (let [i, a] of Object.entries(r.properties)) e[i] = JJ(a, t, n);
29472
29477
  r.properties = e;
29473
29478
  }
29474
- if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => qJ(e, t, n)) : qJ(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => qJ(e, t, n)), r.anyOf &&= r.anyOf.map((e) => qJ(e, t, n)), r.allOf &&= r.allOf.map((e) => qJ(e, t, n)), r.dependencies &&= RJ(r.dependencies, (e) => qJ(e, t, n)), r.definitions) {
29479
+ if (r.items &&= Array.isArray(r.items) ? r.items.map((e) => JJ(e, t, n)) : JJ(r.items, t, n), r.oneOf &&= r.oneOf.map((e) => JJ(e, t, n)), r.anyOf &&= r.anyOf.map((e) => JJ(e, t, n)), r.allOf &&= r.allOf.map((e) => JJ(e, t, n)), r.dependencies &&= zJ(r.dependencies, (e) => JJ(e, t, n)), r.definitions) {
29475
29480
  let e = {};
29476
- for (let [i, a] of Object.entries(r.definitions)) e[i] = qJ(a, t, n);
29481
+ for (let [i, a] of Object.entries(r.definitions)) e[i] = JJ(a, t, n);
29477
29482
  r.definitions = e;
29478
29483
  }
29479
29484
  if (r.$defs) {
29480
29485
  let e = {};
29481
- for (let [i, a] of Object.entries(r.$defs)) e[i] = qJ(a, t, n);
29486
+ for (let [i, a] of Object.entries(r.$defs)) e[i] = JJ(a, t, n);
29482
29487
  r.$defs = e;
29483
29488
  }
29484
29489
  return r;
29485
29490
  }
29486
- function JJ(e, t) {
29491
+ function YJ(e, t) {
29487
29492
  if (t === "#") return e;
29488
29493
  if (!t.startsWith("#/")) throw Error(`Unsupported $ref format (only local JSON Pointers are supported): ${t}`);
29489
- let n = t.slice(2).split("/").map(GJ), r = e;
29494
+ let n = t.slice(2).split("/").map(KJ), r = e;
29490
29495
  for (let e of n) {
29491
29496
  if (typeof r != "object" || !r) return;
29492
29497
  r = r[e];
@@ -29495,19 +29500,19 @@ function JJ(e, t) {
29495
29500
  }
29496
29501
  //#endregion
29497
29502
  //#region src/composed/JsonSchemaForm/utils/schemaShape.ts
29498
- function YJ(e) {
29503
+ function XJ(e) {
29499
29504
  return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.every((e) => e.const !== void 0);
29500
29505
  }
29501
- function XJ(e) {
29506
+ function ZJ(e) {
29502
29507
  return e.type !== "array" || e.uniqueItems !== !0 || !e.items || Array.isArray(e.items) ? !1 : Array.isArray(e.items.enum) && e.items.enum.length > 0;
29503
29508
  }
29504
- function ZJ(e) {
29509
+ function QJ(e) {
29505
29510
  return e.type === "array" && e.gioConfig?.uiType === "gio-headers-array";
29506
29511
  }
29507
- function QJ(e) {
29512
+ function $J(e) {
29508
29513
  return e.gioConfig?.uiType === "resource-type";
29509
29514
  }
29510
- function $J(e) {
29515
+ function eY(e) {
29511
29516
  let t = e.deprecated;
29512
29517
  if (t === !0) return !0;
29513
29518
  if (typeof t == "string") {
@@ -29516,39 +29521,39 @@ function $J(e) {
29516
29521
  }
29517
29522
  return !1;
29518
29523
  }
29519
- function eY(e) {
29520
- return e.format === "gio-code-editor" ? e.type === "string" || Array.isArray(e.type) && e.type.includes("string") : !1;
29521
- }
29522
29524
  function tY(e) {
29523
- return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !YJ(e);
29525
+ return e.format === "gio-code-editor" ? e.type === "string" || Array.isArray(e.type) && e.type.includes("string") : !1;
29524
29526
  }
29525
29527
  function nY(e) {
29528
+ return Array.isArray(e.oneOf) && e.oneOf.length > 0 && e.oneOf.some((e) => e.properties !== void 0) && !XJ(e);
29529
+ }
29530
+ function rY(e) {
29526
29531
  return Array.isArray(e.anyOf) && e.anyOf.length > 0 && e.anyOf.some((e) => e.properties !== void 0);
29527
29532
  }
29528
29533
  //#endregion
29529
29534
  //#region src/composed/JsonSchemaForm/form-bindings/extractDefaults.ts
29530
- function rY(e) {
29535
+ function iY(e) {
29531
29536
  let t;
29532
29537
  try {
29533
- t = zJ(KJ(e));
29538
+ t = BJ(qJ(e));
29534
29539
  } catch {
29535
29540
  return;
29536
29541
  }
29537
- return iY(t);
29542
+ return aY(t);
29538
29543
  }
29539
- function iY(e) {
29540
- if ($J(e)) return;
29544
+ function aY(e) {
29545
+ if (eY(e)) return;
29541
29546
  if (Object.prototype.hasOwnProperty.call(e, "default")) return e.default;
29542
29547
  let t = {};
29543
29548
  if (e.properties) for (let [n, r] of Object.entries(e.properties)) {
29544
- let e = iY(r);
29549
+ let e = aY(r);
29545
29550
  e !== void 0 && (t[n] = e);
29546
29551
  }
29547
- let n = (e.oneOf ?? e.anyOf)?.find((e) => !$J(e));
29552
+ let n = (e.oneOf ?? e.anyOf)?.find((e) => !eY(e));
29548
29553
  if (n?.properties) {
29549
29554
  for (let [e, r] of Object.entries(n.properties)) if (r.const !== void 0) t[e] = r.const;
29550
29555
  else if (!(e in t)) {
29551
- let n = iY(r);
29556
+ let n = aY(r);
29552
29557
  n !== void 0 && (t[e] = n);
29553
29558
  }
29554
29559
  }
@@ -29556,7 +29561,7 @@ function iY(e) {
29556
29561
  }
29557
29562
  //#endregion
29558
29563
  //#region src/composed/JsonSchemaForm/utils/legendVariant.ts
29559
- function aY(e) {
29564
+ function oY(e) {
29560
29565
  return e > 1 ? { variant: "overline" } : {
29561
29566
  variant: "label",
29562
29567
  className: "font-semibold"
@@ -29564,7 +29569,7 @@ function aY(e) {
29564
29569
  }
29565
29570
  //#endregion
29566
29571
  //#region src/composed/JsonSchemaForm/fields/array/BlockableButton.tsx
29567
- function oY({ reason: e, onClick: n, className: r, ...i }) {
29572
+ function sY({ reason: e, onClick: n, className: r, ...i }) {
29568
29573
  let a = Ue();
29569
29574
  return e ? /* @__PURE__ */ W(WH, {
29570
29575
  delayDuration: 300,
@@ -29592,7 +29597,7 @@ function oY({ reason: e, onClick: n, className: r, ...i }) {
29592
29597
  }
29593
29598
  //#endregion
29594
29599
  //#region src/composed/JsonSchemaForm/fields/array/buildDefaultForType.ts
29595
- function sY(e) {
29600
+ function cY(e) {
29596
29601
  if (e.default !== void 0) return e.default;
29597
29602
  switch (e.type) {
29598
29603
  case "string": return "";
@@ -29607,43 +29612,43 @@ function sY(e) {
29607
29612
  }
29608
29613
  //#endregion
29609
29614
  //#region src/composed/JsonSchemaForm/fields/array/itemCount.ts
29610
- function cY(e, t) {
29615
+ function lY(e, t) {
29611
29616
  return Number.isFinite(t) ? `${e} / ${t}` : String(e);
29612
29617
  }
29613
- function lY(e, t) {
29614
- return Number.isFinite(t) ? `${e} of ${t} ${uY(t)}` : `${e} ${uY(e)}`;
29618
+ function uY(e, t) {
29619
+ return Number.isFinite(t) ? `${e} of ${t} ${dY(t)}` : `${e} ${dY(e)}`;
29615
29620
  }
29616
- function uY(e) {
29621
+ function dY(e) {
29617
29622
  return e === 1 ? "item" : "items";
29618
29623
  }
29619
29624
  //#endregion
29620
29625
  //#region src/composed/JsonSchemaForm/fields/array/itemTitle.ts
29621
- function dY(e) {
29626
+ function fY(e) {
29622
29627
  return (typeof e?.title == "string" ? e.title.trim() : "") || "Item";
29623
29628
  }
29624
- function fY(e) {
29629
+ function pY(e) {
29625
29630
  return e.split(" ").map((e) => /^[A-Z0-9]{2,}s?$/.test(e) ? e : e.toLowerCase()).join(" ");
29626
29631
  }
29627
- function pY(e) {
29628
- return fY(dY(e));
29632
+ function mY(e) {
29633
+ return pY(fY(e));
29629
29634
  }
29630
29635
  //#endregion
29631
29636
  //#region src/composed/JsonSchemaForm/fields/array/summarizeItem.ts
29632
- function mY(e, t) {
29637
+ function hY(e, t) {
29633
29638
  let n = t?.properties;
29634
29639
  if (!n || typeof e != "object" || !e) return;
29635
29640
  let r = e, i = [];
29636
29641
  for (let [e, t] of Object.entries(n)) {
29637
29642
  let n = r[e];
29638
29643
  if (!Array.isArray(n) || n.length === 0) continue;
29639
- let a = Array.isArray(t.items) ? void 0 : t.items, o = n.length === 1 ? pY(a) : fY(T(t, e));
29644
+ let a = Array.isArray(t.items) ? void 0 : t.items, o = n.length === 1 ? mY(a) : pY(T(t, e));
29640
29645
  i.push(`${n.length} ${o}`);
29641
29646
  }
29642
29647
  return i.length > 0 ? i.join(" · ") : void 0;
29643
29648
  }
29644
29649
  //#endregion
29645
29650
  //#region src/composed/JsonSchemaForm/fields/array/use-array-field.ts
29646
- function hY(e, t) {
29651
+ function gY(e, t) {
29647
29652
  let n = b(), r = t ? n.basePath ? `${n.basePath}.${t}` : t : n.basePath, { fields: i, append: a, remove: o } = x({
29648
29653
  control: n.control,
29649
29654
  name: r
@@ -29663,16 +29668,16 @@ function hY(e, t) {
29663
29668
  maxItems: u,
29664
29669
  atMin: d,
29665
29670
  atMax: f,
29666
- addReason: !c && f ? `Maximum ${u} ${uY(u)}` : void 0,
29667
- removeReason: !c && d && l > 0 ? `Minimum ${l} ${uY(l)}` : void 0
29671
+ addReason: !c && f ? `Maximum ${u} ${dY(u)}` : void 0,
29672
+ removeReason: !c && d && l > 0 ? `Minimum ${l} ${dY(l)}` : void 0
29668
29673
  };
29669
29674
  }
29670
29675
  //#endregion
29671
29676
  //#region src/composed/JsonSchemaForm/fields/array/ArrayField.tsx
29672
- function gY({ node: e, name: n, depth: r }) {
29673
- let { schema: i } = e, { ctx: a, path: o, fields: s, append: c, remove: l, fieldState: u, isDisabled: d, maxItems: f, addReason: p, removeReason: m } = hY(i, n), g = i.items, v = e.items, b = dY(g), x = yY(g), S = T(i, n), w = i.gioConfig?.uiBorder === "full", E = aY(r), D = Je(null), O = !e.rhfPath.split(".").includes("*"), [k, M] = Ye();
29677
+ function _Y({ node: e, name: n, depth: r }) {
29678
+ let { schema: i } = e, { ctx: a, path: o, fields: s, append: c, remove: l, fieldState: u, isDisabled: d, maxItems: f, addReason: p, removeReason: m } = gY(i, n), g = i.items, v = e.items, b = fY(g), x = bY(g), S = T(i, n), w = i.gioConfig?.uiBorder === "full", E = oY(r), D = Je(null), O = !e.rhfPath.split(".").includes("*"), [k, M] = Ye();
29674
29679
  function N() {
29675
- c(bY(g), { shouldFocus: !1 }), M(s.length), requestAnimationFrame(() => {
29680
+ c(xY(g), { shouldFocus: !1 }), M(s.length), requestAnimationFrame(() => {
29676
29681
  D.current?.lastElementChild?.querySelector("input, select, textarea, [role=combobox], [role=switch], [role=checkbox]")?.focus(), M(void 0);
29677
29682
  });
29678
29683
  }
@@ -29688,12 +29693,12 @@ function gY({ node: e, name: n, depth: r }) {
29688
29693
  variant: "outline",
29689
29694
  "aria-hidden": "true",
29690
29695
  className: "order-last ml-1.5 align-middle",
29691
- children: cY(s.length, f)
29696
+ children: lY(s.length, f)
29692
29697
  })]
29693
29698
  }),
29694
29699
  /* @__PURE__ */ W("p", {
29695
29700
  className: "sr-only",
29696
- children: lY(s.length, f)
29701
+ children: uY(s.length, f)
29697
29702
  }),
29698
29703
  i.description && /* @__PURE__ */ W(C, { children: i.description }),
29699
29704
  i.gioConfig?.banner && /* @__PURE__ */ W(F, { banner: i.gioConfig.banner }),
@@ -29701,13 +29706,13 @@ function gY({ node: e, name: n, depth: r }) {
29701
29706
  className: "text-sm text-muted-foreground",
29702
29707
  children: [
29703
29708
  "No ",
29704
- pY(g),
29709
+ mY(g),
29705
29710
  " yet."
29706
29711
  ]
29707
29712
  }) : /* @__PURE__ */ W("div", {
29708
29713
  ref: D,
29709
29714
  className: t("flex flex-col", x && "gap-2"),
29710
- children: s.map((e, t) => /* @__PURE__ */ W(_Y, {
29715
+ children: s.map((e, t) => /* @__PURE__ */ W(vY, {
29711
29716
  index: t,
29712
29717
  path: o,
29713
29718
  itemsNode: v,
@@ -29723,7 +29728,7 @@ function gY({ node: e, name: n, depth: r }) {
29723
29728
  }),
29724
29729
  /* @__PURE__ */ W("div", {
29725
29730
  className: "pt-2",
29726
- children: /* @__PURE__ */ G(oY, {
29731
+ children: /* @__PURE__ */ G(sY, {
29727
29732
  reason: p,
29728
29733
  disabled: d,
29729
29734
  type: "button",
@@ -29734,7 +29739,7 @@ function gY({ node: e, name: n, depth: r }) {
29734
29739
  children: [
29735
29740
  /* @__PURE__ */ W(Oe, { "aria-hidden": "true" }),
29736
29741
  "Add ",
29737
- pY(g)
29742
+ mY(g)
29738
29743
  ]
29739
29744
  })
29740
29745
  }),
@@ -29745,11 +29750,11 @@ function gY({ node: e, name: n, depth: r }) {
29745
29750
  ]
29746
29751
  });
29747
29752
  }
29748
- function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o, defaultOpen: s, disabled: c, removeReason: l, onRemove: u, ctx: d }) {
29753
+ function vY({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o, defaultOpen: s, disabled: c, removeReason: l, onRemove: u, ctx: d }) {
29749
29754
  let f = `${n}.${e}`, p = `${i} ${e + 1}`, m = M({
29750
29755
  control: d.control,
29751
29756
  name: f
29752
- }), h = o ? void 0 : mY(m, r?.schema), { errors: g, submitCount: _ } = S({
29757
+ }), h = o ? void 0 : hY(m, r?.schema), { errors: g, submitCount: _ } = S({
29753
29758
  control: d.control,
29754
29759
  name: f
29755
29760
  }), y = v(O(g, f)), [b, x] = Ye(s || _ > 0 && y > 0), [C, w] = Ye(_);
@@ -29760,13 +29765,13 @@ function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
29760
29765
  basePath: f,
29761
29766
  disabled: c
29762
29767
  },
29763
- children: /* @__PURE__ */ W(tX, {
29768
+ children: /* @__PURE__ */ W(nX, {
29764
29769
  node: r,
29765
29770
  name: "",
29766
29771
  depth: a + 1,
29767
29772
  hiddenTitle: p
29768
29773
  })
29769
- }), D = /* @__PURE__ */ W(oY, {
29774
+ }), D = /* @__PURE__ */ W(sY, {
29770
29775
  reason: l,
29771
29776
  disabled: c,
29772
29777
  type: "button",
@@ -29799,7 +29804,7 @@ function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
29799
29804
  "aria-label": [
29800
29805
  `Toggle ${p}`,
29801
29806
  h,
29802
- T > 0 ? vY(T) : void 0
29807
+ T > 0 ? yY(T) : void 0
29803
29808
  ].filter(Boolean).join(", "),
29804
29809
  children: [
29805
29810
  /* @__PURE__ */ W(le, {
@@ -29828,7 +29833,7 @@ function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
29828
29833
  "aria-hidden": "true",
29829
29834
  "data-icon": "inline-start",
29830
29835
  className: "overflow-visible"
29831
- }), vY(T)]
29836
+ }), yY(T)]
29832
29837
  })
29833
29838
  ]
29834
29839
  })
@@ -29843,28 +29848,28 @@ function _Y({ index: e, path: n, itemsNode: r, itemTitle: i, depth: a, inline: o
29843
29848
  })]
29844
29849
  });
29845
29850
  }
29846
- function vY(e) {
29851
+ function yY(e) {
29847
29852
  return `${e} ${e === 1 ? "error" : "errors"}`;
29848
29853
  }
29849
- function yY(e) {
29854
+ function bY(e) {
29850
29855
  if (Array.isArray(e.enum)) return !0;
29851
29856
  let t = Array.isArray(e.type) ? e.type.find((e) => e !== "null") : e.type;
29852
29857
  return t === "string" || t === "number" || t === "integer" || t === "boolean";
29853
29858
  }
29854
- function bY(e) {
29855
- let t = rY(e);
29856
- return t === void 0 ? sY(e) : t;
29859
+ function xY(e) {
29860
+ let t = iY(e);
29861
+ return t === void 0 ? cY(e) : t;
29857
29862
  }
29858
29863
  //#endregion
29859
29864
  //#region src/composed/JsonSchemaForm/fields/array/HeadersArrayField.tsx
29860
- function xY({ node: e, name: t, depth: n }) {
29861
- let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, maxItems: d, addReason: f, removeReason: p } = hY(r, t), { testIdPrefix: m } = i, g = r.items, v = g && !Array.isArray(g) ? g.properties ?? {} : {}, b = Object.keys(v), x = T(r, t), S = dY(g);
29865
+ function SY({ node: e, name: t, depth: n }) {
29866
+ let { schema: r } = e, { ctx: i, path: a, fields: o, append: s, remove: c, fieldState: l, isDisabled: u, maxItems: d, addReason: f, removeReason: p } = gY(r, t), { testIdPrefix: m } = i, g = r.items, v = g && !Array.isArray(g) ? g.properties ?? {} : {}, b = Object.keys(v), x = T(r, t), S = fY(g);
29862
29867
  function w() {
29863
29868
  let e = {};
29864
- for (let t of b) e[t] = sY(v[t]);
29869
+ for (let t of b) e[t] = cY(v[t]);
29865
29870
  s(e, { shouldFocus: !1 });
29866
29871
  }
29867
- let E = aY(n);
29872
+ let E = oY(n);
29868
29873
  return /* @__PURE__ */ G(h, {
29869
29874
  "aria-required": r.isRequired || void 0,
29870
29875
  children: [
@@ -29876,12 +29881,12 @@ function xY({ node: e, name: t, depth: n }) {
29876
29881
  variant: "outline",
29877
29882
  "aria-hidden": "true",
29878
29883
  className: "order-last ml-1.5 align-middle",
29879
- children: cY(o.length, d)
29884
+ children: lY(o.length, d)
29880
29885
  })]
29881
29886
  }),
29882
29887
  /* @__PURE__ */ W("p", {
29883
29888
  className: "sr-only",
29884
- children: lY(o.length, d)
29889
+ children: uY(o.length, d)
29885
29890
  }),
29886
29891
  r.description && /* @__PURE__ */ W(C, { children: r.description }),
29887
29892
  r.gioConfig?.banner && /* @__PURE__ */ W(F, { banner: r.gioConfig.banner }),
@@ -29889,11 +29894,11 @@ function xY({ node: e, name: t, depth: n }) {
29889
29894
  className: "overflow-hidden rounded-lg border",
29890
29895
  children: /* @__PURE__ */ G(fW, { children: [/* @__PURE__ */ W(pW, { children: /* @__PURE__ */ G(gW, { children: [b.map((e) => /* @__PURE__ */ W(_W, {
29891
29896
  scope: "col",
29892
- children: wY(v[e], e)
29897
+ children: TY(v[e], e)
29893
29898
  }, e)), /* @__PURE__ */ W(_W, {
29894
29899
  "aria-hidden": "true",
29895
29900
  className: "w-px"
29896
- })] }) }), /* @__PURE__ */ W(mW, { children: o.map((e, t) => /* @__PURE__ */ W(SY, {
29901
+ })] }) }), /* @__PURE__ */ W(mW, { children: o.map((e, t) => /* @__PURE__ */ W(CY, {
29897
29902
  rowIndex: t,
29898
29903
  itemTitle: S,
29899
29904
  rowPath: `${a}.${t}`,
@@ -29904,7 +29909,7 @@ function xY({ node: e, name: t, depth: n }) {
29904
29909
  onRemove: () => c(t)
29905
29910
  }, e.id)) })] })
29906
29911
  }),
29907
- /* @__PURE__ */ W("div", { children: /* @__PURE__ */ G(oY, {
29912
+ /* @__PURE__ */ W("div", { children: /* @__PURE__ */ G(sY, {
29908
29913
  reason: f,
29909
29914
  disabled: u,
29910
29915
  type: "button",
@@ -29915,7 +29920,7 @@ function xY({ node: e, name: t, depth: n }) {
29915
29920
  children: [
29916
29921
  /* @__PURE__ */ W(Oe, { "aria-hidden": "true" }),
29917
29922
  "Add ",
29918
- pY(g)
29923
+ mY(g)
29919
29924
  ]
29920
29925
  }) }),
29921
29926
  /* @__PURE__ */ W(_, {
@@ -29925,9 +29930,9 @@ function xY({ node: e, name: t, depth: n }) {
29925
29930
  ]
29926
29931
  });
29927
29932
  }
29928
- function SY({ rowIndex: e, itemTitle: t, rowPath: n, columnKeys: r, itemProperties: i, disabled: a, removeReason: o, onRemove: s }) {
29933
+ function CY({ rowIndex: e, itemTitle: t, rowPath: n, columnKeys: r, itemProperties: i, disabled: a, removeReason: o, onRemove: s }) {
29929
29934
  let { testIdPrefix: c } = b();
29930
- return /* @__PURE__ */ G(gW, { children: [r.map((t) => /* @__PURE__ */ W(CY, {
29935
+ return /* @__PURE__ */ G(gW, { children: [r.map((t) => /* @__PURE__ */ W(wY, {
29931
29936
  columnKey: t,
29932
29937
  cellPath: `${n}.${t}`,
29933
29938
  propSchema: i[t],
@@ -29935,7 +29940,7 @@ function SY({ rowIndex: e, itemTitle: t, rowPath: n, columnKeys: r, itemProperti
29935
29940
  disabled: a
29936
29941
  }, t)), /* @__PURE__ */ W(vW, {
29937
29942
  className: "w-px",
29938
- children: /* @__PURE__ */ W(oY, {
29943
+ children: /* @__PURE__ */ W(sY, {
29939
29944
  reason: o,
29940
29945
  disabled: a,
29941
29946
  type: "button",
@@ -29949,7 +29954,7 @@ function SY({ rowIndex: e, itemTitle: t, rowPath: n, columnKeys: r, itemProperti
29949
29954
  })
29950
29955
  })] });
29951
29956
  }
29952
- function CY({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
29957
+ function wY({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i }) {
29953
29958
  let { control: a, testIdPrefix: o } = b(), { field: s, fieldState: c } = I({
29954
29959
  control: a,
29955
29960
  name: t
@@ -29962,17 +29967,17 @@ function CY({ columnKey: e, cellPath: t, propSchema: n, rowIndex: r, disabled: i
29962
29967
  onBlur: u,
29963
29968
  disabled: i,
29964
29969
  "aria-invalid": c.invalid,
29965
- "aria-label": `${wY(n, e)} for row ${r + 1}`,
29970
+ "aria-label": `${TY(n, e)} for row ${r + 1}`,
29966
29971
  "data-testid": A(o, t),
29967
29972
  placeholder: typeof n.title == "string" ? n.title : void 0
29968
29973
  }) });
29969
29974
  }
29970
- function wY(e, t) {
29975
+ function TY(e, t) {
29971
29976
  return typeof e.title == "string" ? e.title : t.charAt(0).toUpperCase() + t.slice(1);
29972
29977
  }
29973
29978
  //#endregion
29974
29979
  //#region src/composed/JsonSchemaForm/fields/boolean/BooleanField.tsx
29975
- function TY({ node: e, name: t, hiddenTitle: n }) {
29980
+ function EY({ node: e, name: t, hiddenTitle: n }) {
29976
29981
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
29977
29982
  control: r,
29978
29983
  name: c,
@@ -30006,7 +30011,7 @@ function TY({ node: e, name: t, hiddenTitle: n }) {
30006
30011
  }
30007
30012
  //#endregion
30008
30013
  //#region src/composed/JsonSchemaForm/fields/const/ConstField.tsx
30009
- function EY({ node: e, name: t }) {
30014
+ function DY({ node: e, name: t }) {
30010
30015
  let { control: n, basePath: r, testIdPrefix: a } = b(), { schema: o } = e, s = t ? r ? `${r}.${t}` : t : r, { field: c, fieldState: l } = I({
30011
30016
  control: n,
30012
30017
  name: s
@@ -30027,18 +30032,18 @@ function EY({ node: e, name: t }) {
30027
30032
  }
30028
30033
  //#endregion
30029
30034
  //#region src/composed/JsonSchemaForm/fields/enum/enumOptions.ts
30030
- function DY(e, t) {
30035
+ function OY(e, t) {
30031
30036
  let n = t?.[String(e)];
30032
30037
  return n === void 0 ? e === null ? "—" : String(e) : n;
30033
30038
  }
30034
- function OY(e, t) {
30039
+ function kY(e, t) {
30035
30040
  return e.map((e, n) => ({
30036
30041
  raw: e,
30037
30042
  key: String(n),
30038
- label: DY(e, t)
30043
+ label: OY(e, t)
30039
30044
  }));
30040
30045
  }
30041
- function kY(e) {
30046
+ function AY(e) {
30042
30047
  return e.map((e, t) => ({
30043
30048
  raw: e.const,
30044
30049
  key: String(t),
@@ -30047,12 +30052,12 @@ function kY(e) {
30047
30052
  }
30048
30053
  //#endregion
30049
30054
  //#region src/composed/JsonSchemaForm/fields/enum/EnumField.tsx
30050
- function AY({ node: e, name: t, hiddenTitle: n }) {
30055
+ function jY({ node: e, name: t, hiddenTitle: n }) {
30051
30056
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30052
30057
  control: r,
30053
30058
  name: c,
30054
30059
  defaultValue: s.default
30055
- }), { ref: d, onBlur: f } = l, p = n ?? T(s, t), m = a || s.readOnly === !0, h = jY(s), g = h.find((e) => Object.is(e.raw, l.value))?.key ?? "", v = (e) => h.find((t) => t.key === e)?.raw;
30060
+ }), { ref: d, onBlur: f } = l, p = n ?? T(s, t), m = a || s.readOnly === !0, h = MY(s), g = h.find((e) => Object.is(e.raw, l.value))?.key ?? "", v = (e) => h.find((t) => t.key === e)?.raw;
30056
30061
  return /* @__PURE__ */ G(k, {
30057
30062
  "data-invalid": u.invalid,
30058
30063
  children: [
@@ -30089,18 +30094,18 @@ function AY({ node: e, name: t, hiddenTitle: n }) {
30089
30094
  ]
30090
30095
  });
30091
30096
  }
30092
- function jY(e) {
30093
- return YJ(e) ? kY(e.oneOf ?? []) : OY(e.enum ?? [], e.gioConfig?.enumLabelMap);
30097
+ function MY(e) {
30098
+ return XJ(e) ? AY(e.oneOf ?? []) : kY(e.enum ?? [], e.gioConfig?.enumLabelMap);
30094
30099
  }
30095
30100
  //#endregion
30096
30101
  //#region src/composed/JsonSchemaForm/fields/enum/MultiSelectField.tsx
30097
- function MY({ node: e, name: t }) {
30102
+ function NY({ node: e, name: t }) {
30098
30103
  let { control: n, basePath: r, disabled: i, testIdPrefix: a } = b(), { schema: o } = e, s = t ? r ? `${r}.${t}` : t : r, { field: c, fieldState: l } = I({
30099
30104
  control: n,
30100
30105
  name: s,
30101
30106
  defaultValue: Array.isArray(o.default) ? o.default : []
30102
- }), { ref: u, onBlur: d, onChange: f, value: p } = c, m = Cj(), h = T(o, t), g = i || o.readOnly === !0, v = o.items, y = OY(v.enum ?? [], v.gioConfig?.enumLabelMap), x = y.map((e) => e.label), S = (e) => y.find((t) => t.label === e)?.raw, w = (e) => String(S(e)), E = (e) => y.find((t) => Object.is(t.raw, e))?.label, D = (Array.isArray(c.value) ? c.value : []).map((e) => E(e)).filter((e) => e !== void 0);
30103
- return NY({
30107
+ }), { ref: u, onBlur: d, onChange: f, value: p } = c, m = Cj(), h = T(o, t), g = i || o.readOnly === !0, v = o.items, y = kY(v.enum ?? [], v.gioConfig?.enumLabelMap), x = y.map((e) => e.label), S = (e) => y.find((t) => t.label === e)?.raw, w = (e) => String(S(e)), E = (e) => y.find((t) => Object.is(t.raw, e))?.label, D = (Array.isArray(c.value) ? c.value : []).map((e) => E(e)).filter((e) => e !== void 0);
30108
+ return PY({
30104
30109
  schema: o,
30105
30110
  options: y,
30106
30111
  value: p,
@@ -30156,19 +30161,19 @@ function MY({ node: e, name: t }) {
30156
30161
  ]
30157
30162
  });
30158
30163
  }
30159
- function NY({ schema: e, options: t, value: n, onReset: r }) {
30164
+ function PY({ schema: e, options: t, value: n, onReset: r }) {
30160
30165
  He(() => {
30161
30166
  (Array.isArray(n) ? n : []).every((e) => t.some((t) => Object.is(t.raw, e))) || r(Array.isArray(e.default) ? e.default : []);
30162
30167
  }, [e]);
30163
30168
  }
30164
30169
  //#endregion
30165
30170
  //#region src/composed/JsonSchemaForm/fields/null/NullField.tsx
30166
- function PY() {
30171
+ function FY() {
30167
30172
  return null;
30168
30173
  }
30169
30174
  //#endregion
30170
30175
  //#region src/composed/JsonSchemaForm/fields/number/NumberField.tsx
30171
- function FY({ node: e, name: t, hiddenTitle: n }) {
30176
+ function IY({ node: e, name: t, hiddenTitle: n }) {
30172
30177
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30173
30178
  control: r,
30174
30179
  name: c
@@ -30216,8 +30221,8 @@ function FY({ node: e, name: t, hiddenTitle: n }) {
30216
30221
  }
30217
30222
  //#endregion
30218
30223
  //#region src/composed/JsonSchemaForm/conditional/useDependencyBranchSync.ts
30219
- function IY(e, t, n, r) {
30220
- let i = Ke(() => t.map((e) => LJ(e.showIf, n)), [t, n]), a = Ke(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = Ke(() => {
30224
+ function LY(e, t, n, r) {
30225
+ let i = Ke(() => t.map((e) => RJ(e.showIf, n)), [t, n]), a = Ke(() => t.map((e) => Array.from(e.properties.keys()).map((e) => n ? `${n}.${e}` : e)), [t, n]), o = Ke(() => {
30221
30226
  let e = /* @__PURE__ */ new Set();
30222
30227
  for (let t of i) for (let n of t.$eq.keys()) e.add(n);
30223
30228
  return Array.from(e);
@@ -30232,7 +30237,7 @@ function IY(e, t, n, r) {
30232
30237
  o.forEach((e, r) => t.set(e, n[r]));
30233
30238
  let l = /* @__PURE__ */ new Set();
30234
30239
  i.forEach((e, n) => {
30235
- if (MJ(e, t, r)) for (let e of a[n]) l.add(e);
30240
+ if (NJ(e, t, r)) for (let e of a[n]) l.add(e);
30236
30241
  });
30237
30242
  let u = Array.from(l).sort().join("|");
30238
30243
  if (u === c.current) return;
@@ -30249,21 +30254,21 @@ function IY(e, t, n, r) {
30249
30254
  r
30250
30255
  ]);
30251
30256
  }
30252
- function LY({ branches: e, basePath: t }) {
30257
+ function RY({ branches: e, basePath: t }) {
30253
30258
  let { control: n, externalContext: r } = b();
30254
- return IY(n, e, t, r), null;
30259
+ return LY(n, e, t, r), null;
30255
30260
  }
30256
30261
  //#endregion
30257
30262
  //#region src/composed/JsonSchemaForm/utils/pickActiveVariant.ts
30258
- function RY(e, t, n, r) {
30263
+ function zY(e, t, n, r) {
30259
30264
  if (e.length === 0) return -1;
30260
30265
  let i = n?.get(t);
30261
- return zY(i, e) && BY(e[i], r) ? i : VY(e, r);
30266
+ return BY(i, e) && VY(e[i], r) ? i : HY(e, r);
30262
30267
  }
30263
- function zY(e, t) {
30268
+ function BY(e, t) {
30264
30269
  return typeof e == "number" && Number.isInteger(e) && t[e] !== void 0;
30265
30270
  }
30266
- function BY(e, t) {
30271
+ function VY(e, t) {
30267
30272
  return Object.entries(e.properties ?? {}).every(([e, n]) => {
30268
30273
  if (n.const !== void 0) return t(e) === n.const;
30269
30274
  if (typeof n.pattern == "string") {
@@ -30273,18 +30278,18 @@ function BY(e, t) {
30273
30278
  return !0;
30274
30279
  });
30275
30280
  }
30276
- function VY(e, t) {
30281
+ function HY(e, t) {
30277
30282
  let n = 0, r = {
30278
30283
  viable: !1,
30279
30284
  matches: -1
30280
30285
  };
30281
30286
  return e.forEach((e, i) => {
30282
- let a = HY(e, t);
30283
- UY(a, r) > 0 && (n = i, r = a);
30287
+ let a = UY(e, t);
30288
+ WY(a, r) > 0 && (n = i, r = a);
30284
30289
  }), n;
30285
30290
  }
30286
- function HY(e, t) {
30287
- return BY(e, t) ? {
30291
+ function UY(e, t) {
30292
+ return VY(e, t) ? {
30288
30293
  viable: (e.required ?? []).every((e) => t(e) !== void 0),
30289
30294
  matches: Object.keys(e.properties ?? {}).filter((e) => t(e) !== void 0).length
30290
30295
  } : {
@@ -30292,13 +30297,13 @@ function HY(e, t) {
30292
30297
  matches: -1
30293
30298
  };
30294
30299
  }
30295
- function UY(e, t) {
30300
+ function WY(e, t) {
30296
30301
  return e.viable === t.viable ? e.matches - t.matches : e.viable ? 1 : -1;
30297
30302
  }
30298
30303
  //#endregion
30299
30304
  //#region src/composed/JsonSchemaForm/fields/oneOf/OneOfField.tsx
30300
- function WY({ node: e, depth: t }) {
30301
- let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = Ke(() => e.variants ?? [], [e.variants]), [u, d] = Ye(() => RY(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = Ke(() => l[u]?.dependencyBranches ?? [], [l, u]);
30305
+ function GY({ node: e, depth: t }) {
30306
+ let n = b(), { control: r, index: i, basePath: a, testIdPrefix: o } = n, { schema: s } = e, c = i.variantIndices, l = Ke(() => e.variants ?? [], [e.variants]), [u, d] = Ye(() => zY(l.map((e) => e.raw), a, c, (e) => r._getWatch(a ? `${a}.${e}` : e))), f = Ke(() => l[u]?.dependencyBranches ?? [], [l, u]);
30302
30307
  if (l.length === 0) return null;
30303
30308
  let p = l[u] ?? l[0], m = n.disabled || s.readOnly === !0, h = `${a || "root"}-variant`, g = (e) => {
30304
30309
  if (e === u) return;
@@ -30335,22 +30340,22 @@ function WY({ node: e, depth: t }) {
30335
30340
  p.raw.description && /* @__PURE__ */ W(C, { children: p.raw.description }),
30336
30341
  p.raw.gioConfig?.banner && /* @__PURE__ */ W(F, { banner: p.raw.gioConfig.banner })
30337
30342
  ] }),
30338
- p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(GY, {
30343
+ p.consts.map(({ key: e, value: t }) => /* @__PURE__ */ W(KY, {
30339
30344
  path: a ? `${a}.${e}` : e,
30340
30345
  value: t
30341
30346
  }, e)),
30342
- Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(tX, {
30347
+ Array.from(p.properties).filter(([, e]) => e.schema.const === void 0).map(([e, n]) => /* @__PURE__ */ W(nX, {
30343
30348
  node: n,
30344
30349
  name: e,
30345
30350
  depth: t + 1
30346
30351
  }, `${u}-${e}`)),
30347
- f.length > 0 && /* @__PURE__ */ W(LY, {
30352
+ f.length > 0 && /* @__PURE__ */ W(RY, {
30348
30353
  branches: f,
30349
30354
  basePath: a
30350
30355
  }),
30351
- f.map((e, n) => /* @__PURE__ */ W(PJ, {
30352
- condition: LJ(e.showIf, a),
30353
- children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(tX, {
30356
+ f.map((e, n) => /* @__PURE__ */ W(FJ, {
30357
+ condition: RJ(e.showIf, a),
30358
+ children: Array.from(e.properties).map(([e, n]) => /* @__PURE__ */ W(nX, {
30354
30359
  node: n,
30355
30360
  name: e,
30356
30361
  depth: t + 1
@@ -30358,7 +30363,7 @@ function WY({ node: e, depth: t }) {
30358
30363
  }, `${u}-var-dep-${n}`))
30359
30364
  ] });
30360
30365
  }
30361
- function GY({ path: e, value: t }) {
30366
+ function KY({ path: e, value: t }) {
30362
30367
  let { control: n } = b(), { field: r } = I({
30363
30368
  control: n,
30364
30369
  name: e
@@ -30369,36 +30374,36 @@ function GY({ path: e, value: t }) {
30369
30374
  }
30370
30375
  //#endregion
30371
30376
  //#region src/composed/JsonSchemaForm/fields/object/ObjectField.tsx
30372
- function KY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30373
- let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = tY(o) || nY(o), l = Ke(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ W(P.Provider, {
30377
+ function qY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30378
+ let a = b(), { schema: o } = e, s = n ? a.basePath ? `${a.basePath}.${n}` : n : a.basePath, c = nY(o) || rY(o), l = Ke(() => e.dependencyBranches ?? [], [e.dependencyBranches]), u = l.length > 0, d = (e.properties || c || u) && /* @__PURE__ */ W(P.Provider, {
30374
30379
  value: {
30375
30380
  ...a,
30376
30381
  basePath: s
30377
30382
  },
30378
30383
  children: /* @__PURE__ */ G(L, { children: [
30379
- e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tX, {
30384
+ e.properties && Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(nX, {
30380
30385
  node: t,
30381
30386
  name: e,
30382
30387
  depth: r + 1
30383
30388
  }, e)),
30384
- u && /* @__PURE__ */ W(LY, {
30389
+ u && /* @__PURE__ */ W(RY, {
30385
30390
  branches: l,
30386
30391
  basePath: s
30387
30392
  }),
30388
- l.map((e, t) => /* @__PURE__ */ W(PJ, {
30389
- condition: LJ(e.showIf, s),
30390
- children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(tX, {
30393
+ l.map((e, t) => /* @__PURE__ */ W(FJ, {
30394
+ condition: RJ(e.showIf, s),
30395
+ children: Array.from(e.properties).map(([e, t]) => /* @__PURE__ */ W(nX, {
30391
30396
  node: t,
30392
30397
  name: e,
30393
30398
  depth: r + 1
30394
30399
  }, e))
30395
30400
  }, `dep-${t}`)),
30396
- c && /* @__PURE__ */ W(WY, {
30401
+ c && /* @__PURE__ */ W(GY, {
30397
30402
  node: e,
30398
30403
  depth: r
30399
30404
  })
30400
30405
  ] })
30401
- }), f = typeof o.title == "string" && o.title.length > 0 || n !== void 0 && n.length > 0, p = o.gioConfig?.uiBorder === "full", m = aY(r);
30406
+ }), f = typeof o.title == "string" && o.title.length > 0 || n !== void 0 && n.length > 0, p = o.gioConfig?.uiBorder === "full", m = oY(r);
30402
30407
  return r === 0 || !f ? /* @__PURE__ */ W(Qe, { children: d }) : /* @__PURE__ */ G(h, {
30403
30408
  "aria-label": i,
30404
30409
  className: t("min-w-0", p ? t("rounded-lg border border-border px-5 pb-5", i === void 0 ? "pt-2" : "pt-5") : void 0),
@@ -30417,7 +30422,7 @@ function KY({ node: e, name: n, depth: r, hiddenTitle: i }) {
30417
30422
  }
30418
30423
  //#endregion
30419
30424
  //#region src/composed/PasswordInput/PasswordInput.tsx
30420
- function qY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30425
+ function JY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n = "Hide password", hideToggle: r = !1, className: i, disabled: a, "data-testid": o, ...s }) {
30421
30426
  let [c, l] = Ye(!1);
30422
30427
  return /* @__PURE__ */ G($A, {
30423
30428
  className: e,
@@ -30445,15 +30450,15 @@ function qY({ groupClassName: e, showLabel: t = "Show password", hideLabel: n =
30445
30450
  })]
30446
30451
  });
30447
30452
  }
30448
- qY.displayName = "PasswordInput";
30453
+ JY.displayName = "PasswordInput";
30449
30454
  //#endregion
30450
30455
  //#region src/composed/JsonSchemaForm/fields/string/StringField.tsx
30451
- var JY = "{#request.headers['x-custom'] == 'value'}";
30452
- function YY({ node: n, name: r, hiddenTitle: i }) {
30456
+ var YY = "{#request.headers['x-custom'] == 'value'}";
30457
+ function XY({ node: n, name: r, hiddenTitle: i }) {
30453
30458
  let { control: a, basePath: o, disabled: s, testIdPrefix: c } = b(), { schema: l } = n, u = r ? o ? `${o}.${r}` : r : o, { field: d, fieldState: f } = I({
30454
30459
  control: a,
30455
30460
  name: u
30456
- }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? JY : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30461
+ }), p = i ?? T(l, r), m = s || l.readOnly === !0, h = f.invalid, g = typeof d.value == "string" ? d.value : "", v = l.gioConfig?.el === !0, y = (Array.isArray(l.examples) && l.examples[0] !== void 0 && l.examples[0] !== null ? String(l.examples[0]) : void 0) ?? (l.default !== void 0 && l.default !== null ? String(l.default) : void 0) ?? (v ? YY : void 0), x = v ? "font-mono text-xs" : void 0, S = {
30457
30462
  id: u,
30458
30463
  value: g,
30459
30464
  onChange: d.onChange,
@@ -30476,13 +30481,13 @@ function YY({ node: n, name: r, hiddenTitle: i }) {
30476
30481
  required: l.isRequired,
30477
30482
  className: i === void 0 ? void 0 : "sr-only",
30478
30483
  children: p
30479
- }), v && /* @__PURE__ */ W(wJ, { "data-testid": A(c, u, "el") })]
30484
+ }), v && /* @__PURE__ */ W(TJ, { "data-testid": A(c, u, "el") })]
30480
30485
  }),
30481
30486
  l.gioConfig?.banner && /* @__PURE__ */ W(F, { banner: l.gioConfig.banner }),
30482
30487
  l.format === "text" ? /* @__PURE__ */ W(e, {
30483
30488
  ...S,
30484
30489
  className: x
30485
- }) : l.format === "password" ? /* @__PURE__ */ W(qY, {
30490
+ }) : l.format === "password" ? /* @__PURE__ */ W(JY, {
30486
30491
  ...S,
30487
30492
  pattern: l.pattern
30488
30493
  }) : /* @__PURE__ */ W(QA, {
@@ -30501,23 +30506,23 @@ function YY({ node: n, name: r, hiddenTitle: i }) {
30501
30506
  }
30502
30507
  //#endregion
30503
30508
  //#region src/composed/JsonSchemaForm/fields/resource/ResourceTypeField.tsx
30504
- function XY({ node: e, name: t }) {
30505
- let { externalContext: n } = b(), r = $Y(n);
30506
- return r === null ? /* @__PURE__ */ W(YY, {
30509
+ function ZY({ node: e, name: t }) {
30510
+ let { externalContext: n } = b(), r = eX(n);
30511
+ return r === null ? /* @__PURE__ */ W(XY, {
30507
30512
  node: e,
30508
30513
  name: t
30509
- }) : /* @__PURE__ */ W(ZY, {
30514
+ }) : /* @__PURE__ */ W(QY, {
30510
30515
  node: e,
30511
30516
  name: t,
30512
30517
  injected: r
30513
30518
  });
30514
30519
  }
30515
- function ZY({ node: e, name: t, injected: n }) {
30520
+ function QY({ node: e, name: t, injected: n }) {
30516
30521
  let { control: r, basePath: i, disabled: a, testIdPrefix: o } = b(), { schema: s } = e, c = t ? i ? `${i}.${t}` : t : i, { field: l, fieldState: u } = I({
30517
30522
  control: r,
30518
30523
  name: c,
30519
30524
  defaultValue: s.default
30520
- }), { ref: d, onBlur: f } = l, p = QY(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30525
+ }), { ref: d, onBlur: f } = l, p = $Y(s.gioConfig?.uiTypeProps?.resourceType), m = (e) => p.length === 0 || p.some((t) => e.startsWith(t)), h = n.filter((e) => m(e.type)).map((e) => e.name), g = typeof l.value == "string" ? l.value : "";
30521
30526
  g !== "" && !h.includes(g) && h.unshift(g);
30522
30527
  let v = T(s, t), y = a || s.readOnly === !0, x = h.length === 0 ? "No matching resources on this API" : "Select a resource…";
30523
30528
  return /* @__PURE__ */ G(k, {
@@ -30555,166 +30560,166 @@ function ZY({ node: e, name: t, injected: n }) {
30555
30560
  ]
30556
30561
  });
30557
30562
  }
30558
- function QY(e) {
30563
+ function $Y(e) {
30559
30564
  return typeof e == "string" ? [e] : Array.isArray(e) ? e.filter((e) => typeof e == "string") : [];
30560
30565
  }
30561
- function $Y(e) {
30566
+ function eX(e) {
30562
30567
  let t = e?.resources;
30563
30568
  return Array.isArray(t) ? t.filter((e) => typeof e == "object" && !!e && typeof e.name == "string" && typeof e.type == "string") : null;
30564
30569
  }
30565
30570
  //#endregion
30566
30571
  //#region src/composed/JsonSchemaForm/SchemaField.tsx
30567
- var eX = Re(() => import("./CodeEditorField-DiY1yxIw.js").then((e) => ({ default: e.CodeEditorField })));
30568
- function tX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30569
- let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = Ke(() => [s], [s]), l = Ke(() => e.displayIf ? LJ(e.displayIf, i) : void 0, [e.displayIf, i]), u = Ke(() => e.disableIf ? LJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30572
+ var tX = Re(() => import("./CodeEditorField-DiY1yxIw.js").then((e) => ({ default: e.CodeEditorField })));
30573
+ function nX({ node: e, name: t, depth: n = 0, hiddenTitle: r }) {
30574
+ let { basePath: i } = b(), { schema: a } = e, o = t ?? "", s = t ? i ? `${i}.${t}` : t : i, c = Ke(() => [s], [s]), l = Ke(() => e.displayIf ? RJ(e.displayIf, i) : void 0, [e.displayIf, i]), u = Ke(() => e.disableIf ? RJ(e.disableIf, i) : void 0, [e.disableIf, i]);
30570
30575
  if (a.deprecated === !0) return null;
30571
- let d = nX(e, o, t, n, r);
30572
- return d === null ? null : (u && (d = /* @__PURE__ */ W(FJ, {
30576
+ let d = rX(e, o, t, n, r);
30577
+ return d === null ? null : (u && (d = /* @__PURE__ */ W(IJ, {
30573
30578
  condition: u,
30574
30579
  children: d
30575
- })), l ? /* @__PURE__ */ W(PJ, {
30580
+ })), l ? /* @__PURE__ */ W(FJ, {
30576
30581
  condition: l,
30577
30582
  unregisterOnHide: c,
30578
30583
  children: d
30579
30584
  }) : d);
30580
30585
  }
30581
- function nX(e, t, n, r, i) {
30582
- let { schema: a } = e, o = rX(a.type);
30583
- return a.const !== void 0 && a.type === void 0 && a.enum === void 0 ? /* @__PURE__ */ W(EY, {
30586
+ function rX(e, t, n, r, i) {
30587
+ let { schema: a } = e, o = iX(a.type);
30588
+ return a.const !== void 0 && a.type === void 0 && a.enum === void 0 ? /* @__PURE__ */ W(DY, {
30584
30589
  node: e,
30585
30590
  name: t
30586
- }) : Array.isArray(a.enum) && a.enum.length > 0 || YJ(a) ? /* @__PURE__ */ W(AY, {
30591
+ }) : Array.isArray(a.enum) && a.enum.length > 0 || XJ(a) ? /* @__PURE__ */ W(jY, {
30587
30592
  node: e,
30588
30593
  name: t,
30589
30594
  hiddenTitle: i
30590
- }) : XJ(a) ? /* @__PURE__ */ W(MY, {
30595
+ }) : ZJ(a) ? /* @__PURE__ */ W(NY, {
30591
30596
  node: e,
30592
30597
  name: t
30593
- }) : ZJ(a) ? /* @__PURE__ */ W(xY, {
30598
+ }) : QJ(a) ? /* @__PURE__ */ W(SY, {
30594
30599
  node: e,
30595
30600
  name: t,
30596
30601
  depth: r
30597
- }) : eY(a) ? /* @__PURE__ */ W(Pe, {
30602
+ }) : tY(a) ? /* @__PURE__ */ W(Pe, {
30598
30603
  fallback: null,
30599
- children: /* @__PURE__ */ W(eX, {
30604
+ children: /* @__PURE__ */ W(tX, {
30600
30605
  node: e,
30601
30606
  name: t
30602
30607
  })
30603
- }) : o === "null" ? /* @__PURE__ */ W(PY, {}) : o === "boolean" ? /* @__PURE__ */ W(TY, {
30608
+ }) : o === "null" ? /* @__PURE__ */ W(FY, {}) : o === "boolean" ? /* @__PURE__ */ W(EY, {
30604
30609
  node: e,
30605
30610
  name: t,
30606
30611
  hiddenTitle: i
30607
- }) : o === "integer" || o === "number" ? /* @__PURE__ */ W(FY, {
30612
+ }) : o === "integer" || o === "number" ? /* @__PURE__ */ W(IY, {
30608
30613
  node: e,
30609
30614
  name: t,
30610
30615
  hiddenTitle: i
30611
- }) : QJ(a) ? /* @__PURE__ */ W(XY, {
30616
+ }) : $J(a) ? /* @__PURE__ */ W(ZY, {
30612
30617
  node: e,
30613
30618
  name: t
30614
- }) : o === "string" ? /* @__PURE__ */ W(YY, {
30619
+ }) : o === "string" ? /* @__PURE__ */ W(XY, {
30615
30620
  node: e,
30616
30621
  name: t,
30617
30622
  hiddenTitle: i
30618
- }) : a.properties || o === "object" || tY(a) || nY(a) ? /* @__PURE__ */ W(KY, {
30623
+ }) : a.properties || o === "object" || nY(a) || rY(a) ? /* @__PURE__ */ W(qY, {
30619
30624
  node: e,
30620
30625
  name: n,
30621
30626
  depth: r,
30622
30627
  hiddenTitle: i
30623
- }) : o === "array" && a.items && !Array.isArray(a.items) ? /* @__PURE__ */ W(gY, {
30628
+ }) : o === "array" && a.items && !Array.isArray(a.items) ? /* @__PURE__ */ W(_Y, {
30624
30629
  node: e,
30625
30630
  name: n,
30626
30631
  depth: r
30627
- }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${iX(a)}). Field is omitted.`), null);
30632
+ }) : (console.warn(`[JsonSchemaForm] No renderer for schema at "${n ?? "root"}" (${aX(a)}). Field is omitted.`), null);
30628
30633
  }
30629
- function rX(e) {
30634
+ function iX(e) {
30630
30635
  return Array.isArray(e) ? e.find((e) => e !== "null") ?? e[0] : e;
30631
30636
  }
30632
- function iX(e) {
30637
+ function aX(e) {
30633
30638
  return e.type ? Array.isArray(e.type) ? e.type.join("|") : e.type : e.oneOf ? "oneOf" : e.anyOf ? "anyOf" : e.allOf ? "allOf" : "unknown";
30634
30639
  }
30635
30640
  //#endregion
30636
30641
  //#region src/composed/JsonSchemaForm/schema/preprocess/liftRequired.ts
30637
- function aX(e) {
30638
- return oX(e);
30639
- }
30640
30642
  function oX(e) {
30643
+ return sX(e);
30644
+ }
30645
+ function sX(e) {
30641
30646
  let t = { ...e };
30642
30647
  if (t.properties) {
30643
30648
  let e = new Set(t.required ?? []), n = {};
30644
30649
  for (let [r, i] of Object.entries(t.properties)) {
30645
- let t = oX(i);
30650
+ let t = sX(i);
30646
30651
  e.has(r) && (t.isRequired = !0, t.type === "string" && t.minLength === void 0 && t.const === void 0 && !Array.isArray(t.enum) && !Array.isArray(t.oneOf) && !Array.isArray(t.anyOf) && (t.minLength = 1), t.type === "array" && t.minItems === void 0 && t.const === void 0 && !Array.isArray(t.enum) && (t.minItems = 1)), n[r] = t;
30647
30652
  }
30648
30653
  t.properties = n;
30649
30654
  }
30650
- return t.items &&= Array.isArray(t.items) ? t.items.map(oX) : oX(t.items), t.oneOf &&= t.oneOf.map(oX), t.anyOf &&= t.anyOf.map(oX), t.allOf &&= t.allOf.map(oX), t.dependencies &&= RJ(t.dependencies, oX), t;
30655
+ return t.items &&= Array.isArray(t.items) ? t.items.map(sX) : sX(t.items), t.oneOf &&= t.oneOf.map(sX), t.anyOf &&= t.anyOf.map(sX), t.allOf &&= t.allOf.map(sX), t.dependencies &&= zJ(t.dependencies, sX), t;
30651
30656
  }
30652
30657
  //#endregion
30653
30658
  //#region src/composed/JsonSchemaForm/schema/preprocess/relaxDeprecated.ts
30654
- function sX(e) {
30655
- if ($J(e)) return { deprecated: !0 };
30659
+ function cX(e) {
30660
+ if (eY(e)) return { deprecated: !0 };
30656
30661
  let t = { ...e };
30657
30662
  if (e.properties) {
30658
30663
  let n = [];
30659
30664
  t.properties = {};
30660
- for (let [r, i] of Object.entries(e.properties)) $J(i) && n.push(r), t.properties[r] = sX(i);
30665
+ for (let [r, i] of Object.entries(e.properties)) eY(i) && n.push(r), t.properties[r] = cX(i);
30661
30666
  n.length > 0 && e.required && (t.required = e.required.filter((e) => !n.includes(e)));
30662
30667
  }
30663
- return e.items && !Array.isArray(e.items) && (t.items = sX(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !$J(e)).map(sX)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !$J(e)).map(sX)), e.dependencies && (t.dependencies = RJ(e.dependencies, sX)), t;
30668
+ return e.items && !Array.isArray(e.items) && (t.items = cX(e.items)), e.oneOf && (t.oneOf = e.oneOf.filter((e) => !eY(e)).map(cX)), e.anyOf && (t.anyOf = e.anyOf.filter((e) => !eY(e)).map(cX)), e.dependencies && (t.dependencies = zJ(e.dependencies, cX)), t;
30664
30669
  }
30665
30670
  //#endregion
30666
30671
  //#region src/composed/JsonSchemaForm/schema/buildIndex.ts
30667
- function cX(e, t = "") {
30668
- let n = aX(sX(zJ(KJ(e)))), r = /* @__PURE__ */ new Map();
30672
+ function lX(e, t = "") {
30673
+ let n = oX(cX(BJ(qJ(e)))), r = /* @__PURE__ */ new Map();
30669
30674
  return {
30670
- root: lX(n, "", !1, r, "", t),
30675
+ root: uX(n, "", !1, r, "", t),
30671
30676
  nodeByPath: r,
30672
30677
  variantIndices: /* @__PURE__ */ new Map()
30673
30678
  };
30674
30679
  }
30675
- function lX(e, t, n, r, i = "", a = "") {
30680
+ function uX(e, t, n, r, i = "", a = "") {
30676
30681
  let o = {
30677
30682
  rhfPath: t,
30678
30683
  schema: e,
30679
30684
  isRequired: n
30680
30685
  };
30681
- if (e.gioConfig?.displayIf && (o.displayIf = mX(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = mX(e.gioConfig.disableIf, i, a)), e.properties) {
30686
+ if (e.gioConfig?.displayIf && (o.displayIf = hX(e.gioConfig.displayIf, i, a)), e.gioConfig?.disableIf && (o.disableIf = hX(e.gioConfig.disableIf, i, a)), e.properties) {
30682
30687
  let n = new Set(e.required ?? []), i = /* @__PURE__ */ new Map();
30683
30688
  for (let [o, s] of Object.entries(e.properties)) {
30684
30689
  let e = t ? `${t}.${o}` : o;
30685
- i.set(o, lX(s, e, n.has(o), r, t, a));
30690
+ i.set(o, uX(s, e, n.has(o), r, t, a));
30686
30691
  }
30687
30692
  o.properties = i;
30688
30693
  }
30689
30694
  if (e.items && !Array.isArray(e.items)) {
30690
30695
  let n = t ? `${t}.*` : "*";
30691
- o.items = lX(e.items, n, !1, r, t, a);
30696
+ o.items = uX(e.items, n, !1, r, t, a);
30692
30697
  }
30693
30698
  let s = e.oneOf ?? e.anyOf;
30694
- if (Array.isArray(s) && s.length > 0 && (o.variants = uX(s).map((e) => dX(e, t, a))), e.dependencies) {
30695
- let n = gX(e.dependencies, t, a);
30699
+ if (Array.isArray(s) && s.length > 0 && (o.variants = dX(s).map((e) => fX(e, t, a))), e.dependencies) {
30700
+ let n = _X(e.dependencies, t, a);
30696
30701
  n.length > 0 && (o.dependencyBranches = n);
30697
30702
  }
30698
30703
  return r.set(t, o), o;
30699
30704
  }
30700
- function uX(e) {
30705
+ function dX(e) {
30701
30706
  let t = /* @__PURE__ */ new Set();
30702
30707
  return e.filter((e) => typeof e.title == "string" ? t.has(e.title) ? !1 : (t.add(e.title), !0) : !0);
30703
30708
  }
30704
- function dX(e, t, n) {
30709
+ function fX(e, t, n) {
30705
30710
  let r = new Set(e.required ?? []), i = /* @__PURE__ */ new Map(), a = [];
30706
30711
  for (let [o, s] of Object.entries(e.properties ?? {})) {
30707
- let e = fX(s);
30712
+ let e = pX(s);
30708
30713
  e && a.push({
30709
30714
  key: o,
30710
30715
  value: e.value
30711
30716
  });
30712
30717
  let c = t ? `${t}.${o}` : o;
30713
- i.set(o, pX(s, c, r.has(o), t, n));
30718
+ i.set(o, mX(s, c, r.has(o), t, n));
30714
30719
  }
30715
30720
  let o;
30716
30721
  if (e.dependencies) {
30717
- let r = gX(e.dependencies, t, n);
30722
+ let r = _X(e.dependencies, t, n);
30718
30723
  r.length > 0 && (o = r);
30719
30724
  }
30720
30725
  return {
@@ -30724,21 +30729,21 @@ function dX(e, t, n) {
30724
30729
  raw: e
30725
30730
  };
30726
30731
  }
30727
- function fX(e) {
30732
+ function pX(e) {
30728
30733
  if (e.const !== void 0) return { value: e.const };
30729
30734
  if (Array.isArray(e.enum) && e.enum.length === 1) return { value: e.enum[0] };
30730
30735
  }
30731
- function pX(e, t, n, r, i) {
30732
- return lX(e, t, n, /* @__PURE__ */ new Map(), r, i);
30736
+ function mX(e, t, n, r, i) {
30737
+ return uX(e, t, n, /* @__PURE__ */ new Map(), r, i);
30733
30738
  }
30734
- function mX(e, t, n) {
30739
+ function hX(e, t, n) {
30735
30740
  let r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
30736
30741
  for (let [a, o] of Object.entries(e.$eq)) {
30737
30742
  if (a.startsWith("context.")) {
30738
30743
  i.set(a.slice(8), o);
30739
30744
  continue;
30740
30745
  }
30741
- let e = hX(a, t, n);
30746
+ let e = gX(a, t, n);
30742
30747
  if (e === null) {
30743
30748
  console.warn(`[JsonSchemaForm] gioConfig path "${a}" is unsupported (expected value.X / ./X / ../X / context.X).`);
30744
30749
  continue;
@@ -30750,7 +30755,7 @@ function mX(e, t, n) {
30750
30755
  $eqContext: i
30751
30756
  } : { $eq: r };
30752
30757
  }
30753
- function hX(e, t, n) {
30758
+ function gX(e, t, n) {
30754
30759
  let r = null;
30755
30760
  if (e.startsWith("value.")) r = e.slice(6);
30756
30761
  else if (e.startsWith("./")) {
@@ -30764,24 +30769,24 @@ function hX(e, t, n) {
30764
30769
  }
30765
30770
  return r === null ? null : n ? `${n}.${r}` : r;
30766
30771
  }
30767
- function gX(e, t, n) {
30772
+ function _X(e, t, n) {
30768
30773
  return Object.entries(e).flatMap(([e, r]) => {
30769
- let i = _X(e, r);
30774
+ let i = vX(e, r);
30770
30775
  if (!i) return [];
30771
30776
  let a = t ? `${t}.${e}` : e;
30772
- return i.map((r) => vX(r, e, a, t, n));
30777
+ return i.map((r) => yX(r, e, a, t, n));
30773
30778
  });
30774
30779
  }
30775
- function _X(e, t) {
30780
+ function vX(e, t) {
30776
30781
  let n = typeof t == "object" && t && !Array.isArray(t) ? t : null;
30777
- return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && fX(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
30782
+ return n?.oneOf?.length ? n.oneOf.every((t) => t.properties?.[e] !== void 0 && pX(t.properties[e]) !== void 0) ? n.oneOf : (console.warn(`[JsonSchemaForm] dependencies."${e}".oneOf has at least one variant missing a \`const\` (or single-value \`enum\`) discriminator on "${e}". Skipping the whole dependency (no partial unfold).`), null) : (console.warn(`[JsonSchemaForm] dependencies."${e}" is not a discriminator-oneOf shape (only \`{ oneOf: [...] }\` with const discriminators is supported). Skipping.`), null);
30778
30783
  }
30779
- function vX(e, t, n, r, i) {
30780
- let a = fX(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30784
+ function yX(e, t, n, r, i) {
30785
+ let a = pX(e.properties[t]).value, o = new Set((e.required ?? []).filter((e) => e !== t)), s = /* @__PURE__ */ new Map();
30781
30786
  for (let [n, a] of Object.entries(e.properties ?? {})) {
30782
30787
  if (n === t) continue;
30783
30788
  let e = r ? `${r}.${n}` : n;
30784
- s.set(n, pX(a, e, o.has(n), r, i));
30789
+ s.set(n, mX(a, e, o.has(n), r, i));
30785
30790
  }
30786
30791
  let c = i ? `${i}.${n}` : n;
30787
30792
  return {
@@ -30792,12 +30797,12 @@ function vX(e, t, n, r, i) {
30792
30797
  }
30793
30798
  //#endregion
30794
30799
  //#region src/composed/JsonSchemaForm/JsonSchemaForm.tsx
30795
- function yX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30800
+ function bX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i, "data-testid": a }) {
30796
30801
  let o = Ke(() => {
30797
30802
  try {
30798
30803
  return {
30799
30804
  ok: !0,
30800
- value: cX(e, n)
30805
+ value: lX(e, n)
30801
30806
  };
30802
30807
  } catch (e) {
30803
30808
  return {
@@ -30828,7 +30833,7 @@ function yX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30828
30833
  ]);
30829
30834
  return s.ok ? /* @__PURE__ */ W(P.Provider, {
30830
30835
  value: s.contextValue,
30831
- children: /* @__PURE__ */ W(tX, { node: s.contextValue.index.root })
30836
+ children: /* @__PURE__ */ W(nX, { node: s.contextValue.index.root })
30832
30837
  }) : /* @__PURE__ */ G("p", {
30833
30838
  role: "alert",
30834
30839
  className: "text-sm text-destructive",
@@ -30838,7 +30843,7 @@ function yX({ schema: e, control: t, name: n = "", disabled: r = !1, context: i,
30838
30843
  }
30839
30844
  //#endregion
30840
30845
  //#region src/composed/JsonSchemaForm/form-bindings/composeResolvers.ts
30841
- function bX(...e) {
30846
+ function xX(...e) {
30842
30847
  return async (t, n, r) => {
30843
30848
  let i = await Promise.all(e.map((e) => e(t, n, r))), a = {};
30844
30849
  for (let e of i) Object.assign(a, e.errors);
@@ -30853,7 +30858,7 @@ function bX(...e) {
30853
30858
  }
30854
30859
  //#endregion
30855
30860
  //#region ../../node_modules/ajv/dist/compile/codegen/code.js
30856
- var xX = /* @__PURE__ */ K(((e) => {
30861
+ var SX = /* @__PURE__ */ K(((e) => {
30857
30862
  Object.defineProperty(e, "__esModule", { value: !0 }), e.regexpCode = e.getEsmExportName = e.getProperty = e.safeStringify = e.stringify = e.strConcat = e.addCodeArg = e.str = e._ = e.nil = e._Code = e.Name = e.IDENTIFIER = e._CodeOrName = void 0;
30858
30863
  var t = class {};
30859
30864
  e._CodeOrName = t, e.IDENTIFIER = /^[a-z$_][a-z$_0-9]*$/i;
@@ -30958,9 +30963,9 @@ var xX = /* @__PURE__ */ K(((e) => {
30958
30963
  return new r(e.toString());
30959
30964
  }
30960
30965
  e.regexpCode = g;
30961
- })), SX = /* @__PURE__ */ K(((e) => {
30966
+ })), CX = /* @__PURE__ */ K(((e) => {
30962
30967
  Object.defineProperty(e, "__esModule", { value: !0 }), e.ValueScope = e.ValueScopeName = e.Scope = e.varKinds = e.UsedValueState = void 0;
30963
- var t = xX(), n = class extends Error {
30968
+ var t = SX(), n = class extends Error {
30964
30969
  constructor(e) {
30965
30970
  super(`CodeGen: "code" for ${e} not defined`), this.value = e.value;
30966
30971
  }
@@ -31069,9 +31074,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31069
31074
  return c;
31070
31075
  }
31071
31076
  };
31072
- })), CX = /* @__PURE__ */ K(((e) => {
31077
+ })), wX = /* @__PURE__ */ K(((e) => {
31073
31078
  Object.defineProperty(e, "__esModule", { value: !0 }), e.or = e.and = e.not = e.CodeGen = e.operators = e.varKinds = e.ValueScopeName = e.ValueScope = e.Scope = e.Name = e.regexpCode = e.stringify = e.getProperty = e.nil = e.strConcat = e.str = e._ = void 0;
31074
- var t = xX(), n = SX(), r = xX();
31079
+ var t = SX(), n = CX(), r = SX();
31075
31080
  Object.defineProperty(e, "_", {
31076
31081
  enumerable: !0,
31077
31082
  get: function() {
@@ -31113,7 +31118,7 @@ var xX = /* @__PURE__ */ K(((e) => {
31113
31118
  return r.Name;
31114
31119
  }
31115
31120
  });
31116
- var i = SX();
31121
+ var i = CX();
31117
31122
  Object.defineProperty(e, "Scope", {
31118
31123
  enumerable: !0,
31119
31124
  get: function() {
@@ -31584,9 +31589,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31584
31589
  function L(e) {
31585
31590
  return e instanceof t.Name ? e : (0, t._)`(${e})`;
31586
31591
  }
31587
- })), wX = /* @__PURE__ */ K(((e) => {
31592
+ })), TX = /* @__PURE__ */ K(((e) => {
31588
31593
  Object.defineProperty(e, "__esModule", { value: !0 }), e.checkStrictMode = e.getErrorPath = e.Type = e.useFunc = e.setEvaluated = e.evaluatedPropsToName = e.mergeEvaluated = e.eachItem = e.unescapeJsonPointer = e.escapeJsonPointer = e.escapeFragment = e.unescapeFragment = e.schemaRefOrVal = e.schemaHasRulesButRef = e.schemaHasRules = e.checkUnknownRules = e.alwaysValidSchema = e.toHash = void 0;
31589
- var t = CX(), n = xX();
31594
+ var t = wX(), n = SX();
31590
31595
  function r(e) {
31591
31596
  let t = {};
31592
31597
  for (let n of e) t[n] = !0;
@@ -31709,9 +31714,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31709
31714
  }
31710
31715
  }
31711
31716
  e.checkStrictMode = x;
31712
- })), TX = /* @__PURE__ */ K(((e) => {
31717
+ })), EX = /* @__PURE__ */ K(((e) => {
31713
31718
  Object.defineProperty(e, "__esModule", { value: !0 });
31714
- var t = CX();
31719
+ var t = wX();
31715
31720
  e.default = {
31716
31721
  data: new t.Name("data"),
31717
31722
  valCxt: new t.Name("valCxt"),
@@ -31730,9 +31735,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31730
31735
  jsonLen: new t.Name("jsonLen"),
31731
31736
  jsonPart: new t.Name("jsonPart")
31732
31737
  };
31733
- })), EX = /* @__PURE__ */ K(((e) => {
31738
+ })), DX = /* @__PURE__ */ K(((e) => {
31734
31739
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendErrors = e.resetErrorsCount = e.reportExtraError = e.reportError = e.keyword$DataError = e.keywordError = void 0;
31735
- var t = CX(), n = wX(), r = TX();
31740
+ var t = wX(), n = TX(), r = EX();
31736
31741
  e.keywordError = { message: ({ keyword: e }) => (0, t.str)`must pass "${e}" keyword validation` }, e.keyword$DataError = { message: ({ keyword: e, schemaType: n }) => n ? (0, t.str)`"${e}" keyword must be ${n} ($data)` : (0, t.str)`"${e}" keyword is invalid ($data)` };
31737
31742
  function i(n, r = e.keywordError, i, a) {
31738
31743
  let { it: o } = n, { gen: s, compositeRule: u, allErrors: f } = o, p = d(n, r, i);
@@ -31794,9 +31799,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31794
31799
  let { keyword: o, data: s, schemaValue: c, it: l } = e, { opts: d, propertyName: f, topSchemaRef: p, schemaPath: m } = l;
31795
31800
  a.push([u.keyword, o], [u.params, typeof n == "function" ? n(e) : n || (0, t._)`{}`]), d.messages && a.push([u.message, typeof i == "function" ? i(e) : i]), d.verbose && a.push([u.schema, c], [u.parentSchema, (0, t._)`${p}${m}`], [r.default.data, s]), f && a.push([u.propertyName, f]);
31796
31801
  }
31797
- })), DX = /* @__PURE__ */ K(((e) => {
31802
+ })), OX = /* @__PURE__ */ K(((e) => {
31798
31803
  Object.defineProperty(e, "__esModule", { value: !0 }), e.boolOrEmptySchema = e.topBoolOrEmptySchema = void 0;
31799
- var t = EX(), n = CX(), r = TX(), i = { message: "boolean schema is false" };
31804
+ var t = DX(), n = wX(), r = EX(), i = { message: "boolean schema is false" };
31800
31805
  function a(e) {
31801
31806
  let { gen: t, schema: i, validateName: a } = e;
31802
31807
  i === !1 ? s(e, !1) : typeof i == "object" && i.$async === !0 ? t.return(r.default.data) : (t.assign((0, n._)`${a}.errors`, null), t.return(!0));
@@ -31820,7 +31825,7 @@ var xX = /* @__PURE__ */ K(((e) => {
31820
31825
  };
31821
31826
  (0, t.reportError)(o, i, void 0, n);
31822
31827
  }
31823
- })), OX = /* @__PURE__ */ K(((e) => {
31828
+ })), kX = /* @__PURE__ */ K(((e) => {
31824
31829
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getRules = e.isJSONType = void 0;
31825
31830
  var t = new Set([
31826
31831
  "string",
@@ -31874,7 +31879,7 @@ var xX = /* @__PURE__ */ K(((e) => {
31874
31879
  };
31875
31880
  }
31876
31881
  e.getRules = r;
31877
- })), kX = /* @__PURE__ */ K(((e) => {
31882
+ })), AX = /* @__PURE__ */ K(((e) => {
31878
31883
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shouldUseRule = e.shouldUseGroup = e.schemaHasRulesForType = void 0;
31879
31884
  function t({ schema: e, self: t }, r) {
31880
31885
  let i = t.RULES.types[r];
@@ -31889,9 +31894,9 @@ var xX = /* @__PURE__ */ K(((e) => {
31889
31894
  return e[t.keyword] !== void 0 || t.definition.implements?.some((t) => e[t] !== void 0);
31890
31895
  }
31891
31896
  e.shouldUseRule = r;
31892
- })), AX = /* @__PURE__ */ K(((e) => {
31897
+ })), jX = /* @__PURE__ */ K(((e) => {
31893
31898
  Object.defineProperty(e, "__esModule", { value: !0 }), e.reportTypeError = e.checkDataTypes = e.checkDataType = e.coerceAndCheckDataType = e.getJSONTypes = e.getSchemaTypes = e.DataType = void 0;
31894
- var t = OX(), n = kX(), r = EX(), i = CX(), a = wX(), o;
31899
+ var t = kX(), n = AX(), r = DX(), i = wX(), a = TX(), o;
31895
31900
  (function(e) {
31896
31901
  e[e.Correct = 0] = "Correct", e[e.Wrong = 1] = "Wrong";
31897
31902
  })(o || (e.DataType = o = {}));
@@ -32026,9 +32031,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32026
32031
  it: e
32027
32032
  };
32028
32033
  }
32029
- })), jX = /* @__PURE__ */ K(((e) => {
32034
+ })), MX = /* @__PURE__ */ K(((e) => {
32030
32035
  Object.defineProperty(e, "__esModule", { value: !0 }), e.assignDefaults = void 0;
32031
- var t = CX(), n = wX();
32036
+ var t = wX(), n = TX();
32032
32037
  function r(e, t) {
32033
32038
  let { properties: n, items: r } = e.schema;
32034
32039
  if (t === "object" && n) for (let t in n) i(e, t, n[t].default);
@@ -32046,9 +32051,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32046
32051
  let u = (0, t._)`${l} === undefined`;
32047
32052
  c.useDefaults === "empty" && (u = (0, t._)`${u} || ${l} === null || ${l} === ""`), a.if(u, (0, t._)`${l} = ${(0, t.stringify)(i)}`);
32048
32053
  }
32049
- })), MX = /* @__PURE__ */ K(((e) => {
32054
+ })), NX = /* @__PURE__ */ K(((e) => {
32050
32055
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateUnion = e.validateArray = e.usePattern = e.callValidateCode = e.schemaProperties = e.allSchemaProperties = e.noPropertyInData = e.propertyInData = e.isOwnProperty = e.hasPropFunc = e.reportMissingProp = e.checkMissingProp = e.checkReportMissingProp = void 0;
32051
- var t = CX(), n = wX(), r = TX(), i = wX();
32056
+ var t = wX(), n = TX(), r = EX(), i = TX();
32052
32057
  function a(e, n) {
32053
32058
  let { gen: r, data: i, it: a } = e;
32054
32059
  r.if(d(r, i, n, a.opts.ownProperties), () => {
@@ -32150,9 +32155,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32150
32155
  })), e.result(s, () => e.reset(), () => e.error(!0));
32151
32156
  }
32152
32157
  e.validateUnion = v;
32153
- })), NX = /* @__PURE__ */ K(((e) => {
32158
+ })), PX = /* @__PURE__ */ K(((e) => {
32154
32159
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateKeywordUsage = e.validSchemaType = e.funcKeywordCode = e.macroKeywordCode = void 0;
32155
- var t = CX(), n = TX(), r = MX(), i = EX();
32160
+ var t = wX(), n = EX(), r = NX(), i = DX();
32156
32161
  function a(e, n) {
32157
32162
  let { gen: r, keyword: i, schema: a, parentSchema: o, it: s } = e, c = n.macro.call(s.self, a, o, s), l = u(r, i, c);
32158
32163
  s.opts.validateSchema !== !1 && s.self.validateSchema(c, !0);
@@ -32231,9 +32236,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32231
32236
  }
32232
32237
  }
32233
32238
  e.validateKeywordUsage = f;
32234
- })), PX = /* @__PURE__ */ K(((e) => {
32239
+ })), FX = /* @__PURE__ */ K(((e) => {
32235
32240
  Object.defineProperty(e, "__esModule", { value: !0 }), e.extendSubschemaMode = e.extendSubschemaData = e.getSubschema = void 0;
32236
- var t = CX(), n = wX();
32241
+ var t = wX(), n = TX();
32237
32242
  function r(e, { keyword: r, schemaProp: i, schema: a, schemaPath: o, errSchemaPath: s, topSchemaRef: c }) {
32238
32243
  if (r !== void 0 && a !== void 0) throw Error("both \"keyword\" and \"schema\" passed, only one allowed");
32239
32244
  if (r !== void 0) {
@@ -32277,7 +32282,7 @@ var xX = /* @__PURE__ */ K(((e) => {
32277
32282
  r !== void 0 && (e.compositeRule = r), i !== void 0 && (e.createErrors = i), a !== void 0 && (e.allErrors = a), e.jtdDiscriminator = t, e.jtdMetadata = n;
32278
32283
  }
32279
32284
  e.extendSubschemaMode = a;
32280
- })), FX = /* @__PURE__ */ K(((e, t) => {
32285
+ })), IX = /* @__PURE__ */ K(((e, t) => {
32281
32286
  t.exports = function e(t, n) {
32282
32287
  if (t === n) return !0;
32283
32288
  if (t && n && typeof t == "object" && typeof n == "object") {
@@ -32301,7 +32306,7 @@ var xX = /* @__PURE__ */ K(((e) => {
32301
32306
  }
32302
32307
  return t !== t && n !== n;
32303
32308
  };
32304
- })), IX = /* @__PURE__ */ K(((e, t) => {
32309
+ })), LX = /* @__PURE__ */ K(((e, t) => {
32305
32310
  var n = t.exports = function(e, t, n) {
32306
32311
  typeof t == "function" && (n = t, t = {}), n = t.cb || n;
32307
32312
  var i = typeof n == "function" ? n : n.pre || function() {}, a = n.post || function() {};
@@ -32364,9 +32369,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32364
32369
  function i(e) {
32365
32370
  return e.replace(/~/g, "~0").replace(/\//g, "~1");
32366
32371
  }
32367
- })), LX = /* @__PURE__ */ K(((e) => {
32372
+ })), RX = /* @__PURE__ */ K(((e) => {
32368
32373
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getSchemaRefs = e.resolveUrl = e.normalizeId = e._getFullPath = e.getFullPath = e.inlineRef = void 0;
32369
- var t = wX(), n = FX(), r = IX(), i = new Set([
32374
+ var t = TX(), n = IX(), r = LX(), i = new Set([
32370
32375
  "type",
32371
32376
  "format",
32372
32377
  "pattern",
@@ -32455,9 +32460,9 @@ var xX = /* @__PURE__ */ K(((e) => {
32455
32460
  }
32456
32461
  }
32457
32462
  e.getSchemaRefs = h;
32458
- })), RX = /* @__PURE__ */ K(((e) => {
32463
+ })), zX = /* @__PURE__ */ K(((e) => {
32459
32464
  Object.defineProperty(e, "__esModule", { value: !0 }), e.getData = e.KeywordCxt = e.validateFunctionCode = void 0;
32460
- var t = DX(), n = AX(), r = kX(), i = AX(), a = jX(), o = NX(), s = PX(), c = CX(), l = TX(), u = LX(), d = wX(), f = EX();
32465
+ var t = OX(), n = jX(), r = AX(), i = jX(), a = MX(), o = PX(), s = FX(), c = wX(), l = EX(), u = RX(), d = TX(), f = DX();
32461
32466
  function p(e) {
32462
32467
  if (S(e) && (w(e), x(e))) {
32463
32468
  _(e);
@@ -32747,23 +32752,23 @@ var xX = /* @__PURE__ */ K(((e) => {
32747
32752
  }
32748
32753
  }
32749
32754
  e.getData = se;
32750
- })), zX = /* @__PURE__ */ K(((e) => {
32755
+ })), BX = /* @__PURE__ */ K(((e) => {
32751
32756
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = class extends Error {
32752
32757
  constructor(e) {
32753
32758
  super("validation failed"), this.errors = e, this.ajv = this.validation = !0;
32754
32759
  }
32755
32760
  };
32756
- })), BX = /* @__PURE__ */ K(((e) => {
32761
+ })), VX = /* @__PURE__ */ K(((e) => {
32757
32762
  Object.defineProperty(e, "__esModule", { value: !0 });
32758
- var t = LX();
32763
+ var t = RX();
32759
32764
  e.default = class extends Error {
32760
32765
  constructor(e, n, r, i) {
32761
32766
  super(i || `can't resolve reference ${r} from id ${n}`), this.missingRef = (0, t.resolveUrl)(e, n, r), this.missingSchema = (0, t.normalizeId)((0, t.getFullPath)(e, this.missingRef));
32762
32767
  }
32763
32768
  };
32764
- })), VX = /* @__PURE__ */ K(((e) => {
32769
+ })), HX = /* @__PURE__ */ K(((e) => {
32765
32770
  Object.defineProperty(e, "__esModule", { value: !0 }), e.resolveSchema = e.getCompilingSchema = e.resolveRef = e.compileSchema = e.SchemaEnv = void 0;
32766
- var t = CX(), n = zX(), r = TX(), i = LX(), a = wX(), o = RX(), s = class {
32771
+ var t = wX(), n = BX(), r = EX(), i = RX(), a = TX(), o = zX(), s = class {
32767
32772
  constructor(e) {
32768
32773
  this.refs = {}, this.dynamicAnchors = {};
32769
32774
  let t;
@@ -32922,27 +32927,27 @@ var xX = /* @__PURE__ */ K(((e) => {
32922
32927
  baseId: t
32923
32928
  }), o.schema !== o.root.schema) return o;
32924
32929
  }
32925
- })), HX = /* @__PURE__ */ pt({
32926
- $id: () => UX,
32930
+ })), UX = /* @__PURE__ */ pt({
32931
+ $id: () => WX,
32927
32932
  additionalProperties: () => !1,
32928
- default: () => JX,
32929
- description: () => WX,
32930
- properties: () => qX,
32931
- required: () => KX,
32932
- type: () => GX
32933
- }), UX, WX, GX, KX, qX, JX, YX = ft((() => {
32934
- UX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", WX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", GX = "object", KX = ["$data"], qX = { $data: {
32933
+ default: () => YX,
32934
+ description: () => GX,
32935
+ properties: () => JX,
32936
+ required: () => qX,
32937
+ type: () => KX
32938
+ }), WX, GX, KX, qX, JX, YX, XX = ft((() => {
32939
+ WX = "https://raw.githubusercontent.com/ajv-validator/ajv/master/lib/refs/data.json#", GX = "Meta-schema for $data reference (JSON AnySchema extension proposal)", KX = "object", qX = ["$data"], JX = { $data: {
32935
32940
  type: "string",
32936
32941
  anyOf: [{ format: "relative-json-pointer" }, { format: "json-pointer" }]
32937
- } }, JX = {
32938
- $id: UX,
32939
- description: WX,
32940
- type: GX,
32941
- required: KX,
32942
- properties: qX,
32942
+ } }, YX = {
32943
+ $id: WX,
32944
+ description: GX,
32945
+ type: KX,
32946
+ required: qX,
32947
+ properties: JX,
32943
32948
  additionalProperties: !1
32944
32949
  };
32945
- })), XX = /* @__PURE__ */ K(((e, t) => {
32950
+ })), ZX = /* @__PURE__ */ K(((e, t) => {
32946
32951
  var n = RegExp.prototype.test.bind(/^[\da-f]{8}-[\da-f]{4}-[\da-f]{4}-[\da-f]{4}-[\da-f]{12}$/iu), r = RegExp.prototype.test.bind(/^(?:(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)\.){3}(?:25[0-5]|2[0-4]\d|1\d{2}|[1-9]\d|\d)$/u), i = RegExp.prototype.test.bind(/^\d*$/u), a = RegExp.prototype.test.bind(/^[\da-f]{2}$/iu), o = RegExp.prototype.test.bind(/^[\da-z\-._~]$/iu), s = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/]$/u), c = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:@/?]$/u), l = RegExp.prototype.test.bind(/^[A-Za-z0-9\-._~!$&'()*+,;=:]$/u), u = Array(256);
32947
32952
  {
32948
32953
  let e = "0123456789ABCDEF";
@@ -33291,8 +33296,8 @@ var xX = /* @__PURE__ */ K(((e) => {
33291
33296
  normalizeIPv6: b,
33292
33297
  stringArrayToHexStripped: f
33293
33298
  };
33294
- })), ZX = /* @__PURE__ */ K(((e, t) => {
33295
- var { isUUID: n } = XX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33299
+ })), QX = /* @__PURE__ */ K(((e, t) => {
33300
+ var { isUUID: n } = ZX(), r = /^([\da-z][\d\-a-z]{0,31}):((?:[\w!$'()*+,\-./:;=@]|%[\da-f]{2})+)$/iu, i = [
33296
33301
  "http",
33297
33302
  "https",
33298
33303
  "ws",
@@ -33397,8 +33402,8 @@ var xX = /* @__PURE__ */ K(((e) => {
33397
33402
  isValidSchemeName: a,
33398
33403
  getSchemeHandler: y
33399
33404
  };
33400
- })), QX = /* @__PURE__ */ K(((e, t) => {
33401
- var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = XX(), { SCHEMES: m, getSchemeHandler: h } = ZX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33405
+ })), $X = /* @__PURE__ */ K(((e, t) => {
33406
+ var { normalizeIPv6: n, removeDotSegments: r, recomposeAuthority: i, normalizePercentEncoding: a, normalizePathEncoding: o, serializePathEncoding: s, normalizeQueryFragmentEncoding: c, encodeQuery: l, encodeFragment: u, reescapeHostDelimiters: d, isIPv4: f, nonSimpleDomain: p } = ZX(), { SCHEMES: m, getSchemeHandler: h } = QX(), g = /^[A-Za-z][A-Za-z0-9+.-]*$/u, _ = "URI scheme is malformed.";
33402
33407
  function v(e) {
33403
33408
  let t = unescape(String(e));
33404
33409
  if (!g.test(t)) throw TypeError(_);
@@ -33567,20 +33572,20 @@ var xX = /* @__PURE__ */ K(((e) => {
33567
33572
  parse: N
33568
33573
  };
33569
33574
  t.exports = L, t.exports.default = L, t.exports.fastUri = L;
33570
- })), $X = /* @__PURE__ */ K(((e) => {
33575
+ })), eZ = /* @__PURE__ */ K(((e) => {
33571
33576
  Object.defineProperty(e, "__esModule", { value: !0 });
33572
- var t = QX();
33577
+ var t = $X();
33573
33578
  t.code = "require(\"ajv/dist/runtime/uri\").default", e.default = t;
33574
- })), eZ = /* @__PURE__ */ K(((e) => {
33579
+ })), tZ = /* @__PURE__ */ K(((e) => {
33575
33580
  Object.defineProperty(e, "__esModule", { value: !0 }), e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = void 0;
33576
- var t = RX();
33581
+ var t = zX();
33577
33582
  Object.defineProperty(e, "KeywordCxt", {
33578
33583
  enumerable: !0,
33579
33584
  get: function() {
33580
33585
  return t.KeywordCxt;
33581
33586
  }
33582
33587
  });
33583
- var n = CX();
33588
+ var n = wX();
33584
33589
  Object.defineProperty(e, "_", {
33585
33590
  enumerable: !0,
33586
33591
  get: function() {
@@ -33612,7 +33617,7 @@ var xX = /* @__PURE__ */ K(((e) => {
33612
33617
  return n.CodeGen;
33613
33618
  }
33614
33619
  });
33615
- var r = zX(), i = BX(), a = OX(), o = VX(), s = CX(), c = LX(), l = AX(), u = wX(), d = (YX(), gt(HX).default), f = $X(), p = (e, t) => new RegExp(e, t);
33620
+ var r = BX(), i = VX(), a = kX(), o = HX(), s = wX(), c = RX(), l = jX(), u = TX(), d = (XX(), gt(UX).default), f = eZ(), p = (e, t) => new RegExp(e, t);
33616
33621
  p.code = "new RegExp";
33617
33622
  var m = [
33618
33623
  "removeAdditional",
@@ -33998,16 +34003,16 @@ var xX = /* @__PURE__ */ K(((e) => {
33998
34003
  function F(e) {
33999
34004
  return { anyOf: [e, P] };
34000
34005
  }
34001
- })), tZ = /* @__PURE__ */ K(((e) => {
34006
+ })), nZ = /* @__PURE__ */ K(((e) => {
34002
34007
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34003
34008
  keyword: "id",
34004
34009
  code() {
34005
34010
  throw Error("NOT SUPPORTED: keyword \"id\", use \"$id\" for schema ID");
34006
34011
  }
34007
34012
  };
34008
- })), nZ = /* @__PURE__ */ K(((e) => {
34013
+ })), rZ = /* @__PURE__ */ K(((e) => {
34009
34014
  Object.defineProperty(e, "__esModule", { value: !0 }), e.callRef = e.getValidate = void 0;
34010
- var t = BX(), n = MX(), r = CX(), i = TX(), a = VX(), o = wX(), s = {
34015
+ var t = VX(), n = NX(), r = wX(), i = EX(), a = HX(), o = TX(), s = {
34011
34016
  keyword: "$ref",
34012
34017
  schemaType: "string",
34013
34018
  code(e) {
@@ -34080,9 +34085,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34080
34085
  }
34081
34086
  }
34082
34087
  e.callRef = l, e.default = s;
34083
- })), rZ = /* @__PURE__ */ K(((e) => {
34088
+ })), iZ = /* @__PURE__ */ K(((e) => {
34084
34089
  Object.defineProperty(e, "__esModule", { value: !0 });
34085
- var t = tZ(), n = nZ();
34090
+ var t = nZ(), n = rZ();
34086
34091
  e.default = [
34087
34092
  "$schema",
34088
34093
  "$id",
@@ -34093,9 +34098,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34093
34098
  t.default,
34094
34099
  n.default
34095
34100
  ];
34096
- })), iZ = /* @__PURE__ */ K(((e) => {
34101
+ })), aZ = /* @__PURE__ */ K(((e) => {
34097
34102
  Object.defineProperty(e, "__esModule", { value: !0 });
34098
- var t = CX(), n = t.operators, r = {
34103
+ var t = wX(), n = t.operators, r = {
34099
34104
  maximum: {
34100
34105
  okStr: "<=",
34101
34106
  ok: n.LTE,
@@ -34131,9 +34136,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34131
34136
  e.fail$data((0, t._)`${i} ${r[n].fail} ${a} || isNaN(${i})`);
34132
34137
  }
34133
34138
  };
34134
- })), aZ = /* @__PURE__ */ K(((e) => {
34139
+ })), oZ = /* @__PURE__ */ K(((e) => {
34135
34140
  Object.defineProperty(e, "__esModule", { value: !0 });
34136
- var t = CX();
34141
+ var t = wX();
34137
34142
  e.default = {
34138
34143
  keyword: "multipleOf",
34139
34144
  type: "number",
@@ -34148,7 +34153,7 @@ var xX = /* @__PURE__ */ K(((e) => {
34148
34153
  e.fail$data((0, t._)`(${i} === 0 || (${s} = ${r}/${i}, ${c}))`);
34149
34154
  }
34150
34155
  };
34151
- })), oZ = /* @__PURE__ */ K(((e) => {
34156
+ })), sZ = /* @__PURE__ */ K(((e) => {
34152
34157
  Object.defineProperty(e, "__esModule", { value: !0 });
34153
34158
  function t(e) {
34154
34159
  let t = e.length, n = 0, r = 0, i;
@@ -34156,9 +34161,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34156
34161
  return n;
34157
34162
  }
34158
34163
  e.default = t, t.code = "require(\"ajv/dist/runtime/ucs2length\").default";
34159
- })), sZ = /* @__PURE__ */ K(((e) => {
34164
+ })), cZ = /* @__PURE__ */ K(((e) => {
34160
34165
  Object.defineProperty(e, "__esModule", { value: !0 });
34161
- var t = CX(), n = wX(), r = oZ();
34166
+ var t = wX(), n = TX(), r = sZ();
34162
34167
  e.default = {
34163
34168
  keyword: ["maxLength", "minLength"],
34164
34169
  type: "string",
@@ -34176,9 +34181,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34176
34181
  e.fail$data((0, t._)`${l} ${c} ${o}`);
34177
34182
  }
34178
34183
  };
34179
- })), cZ = /* @__PURE__ */ K(((e) => {
34184
+ })), lZ = /* @__PURE__ */ K(((e) => {
34180
34185
  Object.defineProperty(e, "__esModule", { value: !0 });
34181
- var t = MX(), n = wX(), r = CX();
34186
+ var t = NX(), n = TX(), r = wX();
34182
34187
  e.default = {
34183
34188
  keyword: "pattern",
34184
34189
  type: "string",
@@ -34199,9 +34204,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34199
34204
  }
34200
34205
  }
34201
34206
  };
34202
- })), lZ = /* @__PURE__ */ K(((e) => {
34207
+ })), uZ = /* @__PURE__ */ K(((e) => {
34203
34208
  Object.defineProperty(e, "__esModule", { value: !0 });
34204
- var t = CX();
34209
+ var t = wX();
34205
34210
  e.default = {
34206
34211
  keyword: ["maxProperties", "minProperties"],
34207
34212
  type: "object",
@@ -34219,9 +34224,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34219
34224
  e.fail$data((0, t._)`Object.keys(${r}).length ${a} ${i}`);
34220
34225
  }
34221
34226
  };
34222
- })), uZ = /* @__PURE__ */ K(((e) => {
34227
+ })), dZ = /* @__PURE__ */ K(((e) => {
34223
34228
  Object.defineProperty(e, "__esModule", { value: !0 });
34224
- var t = MX(), n = CX(), r = wX();
34229
+ var t = NX(), n = wX(), r = TX();
34225
34230
  e.default = {
34226
34231
  keyword: "required",
34227
34232
  type: "object",
@@ -34267,9 +34272,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34267
34272
  }
34268
34273
  }
34269
34274
  };
34270
- })), dZ = /* @__PURE__ */ K(((e) => {
34275
+ })), fZ = /* @__PURE__ */ K(((e) => {
34271
34276
  Object.defineProperty(e, "__esModule", { value: !0 });
34272
- var t = CX();
34277
+ var t = wX();
34273
34278
  e.default = {
34274
34279
  keyword: ["maxItems", "minItems"],
34275
34280
  type: "array",
@@ -34287,13 +34292,13 @@ var xX = /* @__PURE__ */ K(((e) => {
34287
34292
  e.fail$data((0, t._)`${r}.length ${a} ${i}`);
34288
34293
  }
34289
34294
  };
34290
- })), fZ = /* @__PURE__ */ K(((e) => {
34295
+ })), pZ = /* @__PURE__ */ K(((e) => {
34291
34296
  Object.defineProperty(e, "__esModule", { value: !0 });
34292
- var t = FX();
34297
+ var t = IX();
34293
34298
  t.code = "require(\"ajv/dist/runtime/equal\").default", e.default = t;
34294
- })), pZ = /* @__PURE__ */ K(((e) => {
34299
+ })), mZ = /* @__PURE__ */ K(((e) => {
34295
34300
  Object.defineProperty(e, "__esModule", { value: !0 });
34296
- var t = AX(), n = CX(), r = wX(), i = fZ();
34301
+ var t = jX(), n = wX(), r = TX(), i = pZ();
34297
34302
  e.default = {
34298
34303
  keyword: "uniqueItems",
34299
34304
  type: "array",
@@ -34334,9 +34339,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34334
34339
  }
34335
34340
  }
34336
34341
  };
34337
- })), mZ = /* @__PURE__ */ K(((e) => {
34342
+ })), hZ = /* @__PURE__ */ K(((e) => {
34338
34343
  Object.defineProperty(e, "__esModule", { value: !0 });
34339
- var t = CX(), n = wX(), r = fZ();
34344
+ var t = wX(), n = TX(), r = pZ();
34340
34345
  e.default = {
34341
34346
  keyword: "const",
34342
34347
  $data: !0,
@@ -34349,9 +34354,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34349
34354
  o || c && typeof c == "object" ? e.fail$data((0, t._)`!${(0, n.useFunc)(i, r.default)}(${a}, ${s})`) : e.fail((0, t._)`${c} !== ${a}`);
34350
34355
  }
34351
34356
  };
34352
- })), hZ = /* @__PURE__ */ K(((e) => {
34357
+ })), gZ = /* @__PURE__ */ K(((e) => {
34353
34358
  Object.defineProperty(e, "__esModule", { value: !0 });
34354
- var t = CX(), n = wX(), r = fZ();
34359
+ var t = wX(), n = TX(), r = pZ();
34355
34360
  e.default = {
34356
34361
  keyword: "enum",
34357
34362
  schemaType: "array",
@@ -34381,9 +34386,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34381
34386
  }
34382
34387
  }
34383
34388
  };
34384
- })), gZ = /* @__PURE__ */ K(((e) => {
34389
+ })), _Z = /* @__PURE__ */ K(((e) => {
34385
34390
  Object.defineProperty(e, "__esModule", { value: !0 });
34386
- var t = iZ(), n = aZ(), r = sZ(), i = cZ(), a = lZ(), o = uZ(), s = dZ(), c = pZ(), l = mZ(), u = hZ();
34391
+ var t = aZ(), n = oZ(), r = cZ(), i = lZ(), a = uZ(), o = dZ(), s = fZ(), c = mZ(), l = hZ(), u = gZ();
34387
34392
  e.default = [
34388
34393
  t.default,
34389
34394
  n.default,
@@ -34404,9 +34409,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34404
34409
  l.default,
34405
34410
  u.default
34406
34411
  ];
34407
- })), _Z = /* @__PURE__ */ K(((e) => {
34412
+ })), vZ = /* @__PURE__ */ K(((e) => {
34408
34413
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateAdditionalItems = void 0;
34409
- var t = CX(), n = wX(), r = {
34414
+ var t = wX(), n = TX(), r = {
34410
34415
  keyword: "additionalItems",
34411
34416
  type: "array",
34412
34417
  schemaType: ["boolean", "object"],
@@ -34444,9 +34449,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34444
34449
  }
34445
34450
  }
34446
34451
  e.validateAdditionalItems = i, e.default = r;
34447
- })), vZ = /* @__PURE__ */ K(((e) => {
34452
+ })), yZ = /* @__PURE__ */ K(((e) => {
34448
34453
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateTuple = void 0;
34449
- var t = CX(), n = wX(), r = MX(), i = {
34454
+ var t = wX(), n = TX(), r = NX(), i = {
34450
34455
  keyword: "items",
34451
34456
  type: "array",
34452
34457
  schemaType: [
@@ -34481,9 +34486,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34481
34486
  }
34482
34487
  }
34483
34488
  e.validateTuple = a, e.default = i;
34484
- })), yZ = /* @__PURE__ */ K(((e) => {
34489
+ })), bZ = /* @__PURE__ */ K(((e) => {
34485
34490
  Object.defineProperty(e, "__esModule", { value: !0 });
34486
- var t = vZ();
34491
+ var t = yZ();
34487
34492
  e.default = {
34488
34493
  keyword: "prefixItems",
34489
34494
  type: "array",
@@ -34491,9 +34496,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34491
34496
  before: "uniqueItems",
34492
34497
  code: (e) => (0, t.validateTuple)(e, "items")
34493
34498
  };
34494
- })), bZ = /* @__PURE__ */ K(((e) => {
34499
+ })), xZ = /* @__PURE__ */ K(((e) => {
34495
34500
  Object.defineProperty(e, "__esModule", { value: !0 });
34496
- var t = CX(), n = wX(), r = MX(), i = _Z();
34501
+ var t = wX(), n = TX(), r = NX(), i = vZ();
34497
34502
  e.default = {
34498
34503
  keyword: "items",
34499
34504
  type: "array",
@@ -34508,9 +34513,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34508
34513
  o.items = !0, !(0, n.alwaysValidSchema)(o, t) && (s ? (0, i.validateAdditionalItems)(e, s) : e.ok((0, r.validateArray)(e)));
34509
34514
  }
34510
34515
  };
34511
- })), xZ = /* @__PURE__ */ K(((e) => {
34516
+ })), SZ = /* @__PURE__ */ K(((e) => {
34512
34517
  Object.defineProperty(e, "__esModule", { value: !0 });
34513
- var t = CX(), n = wX();
34518
+ var t = wX(), n = TX();
34514
34519
  e.default = {
34515
34520
  keyword: "contains",
34516
34521
  type: "array",
@@ -34563,9 +34568,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34563
34568
  }
34564
34569
  }
34565
34570
  };
34566
- })), SZ = /* @__PURE__ */ K(((e) => {
34571
+ })), CZ = /* @__PURE__ */ K(((e) => {
34567
34572
  Object.defineProperty(e, "__esModule", { value: !0 }), e.validateSchemaDeps = e.validatePropertyDeps = e.error = void 0;
34568
- var t = CX(), n = wX(), r = MX();
34573
+ var t = wX(), n = TX(), r = NX();
34569
34574
  e.error = {
34570
34575
  message: ({ params: { property: e, depsCount: n, deps: r } }) => {
34571
34576
  let i = n === 1 ? "property" : "properties";
@@ -34624,9 +34629,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34624
34629
  }, () => i.var(c, !0)), e.ok(c));
34625
34630
  }
34626
34631
  e.validateSchemaDeps = s, e.default = i;
34627
- })), CZ = /* @__PURE__ */ K(((e) => {
34632
+ })), wZ = /* @__PURE__ */ K(((e) => {
34628
34633
  Object.defineProperty(e, "__esModule", { value: !0 });
34629
- var t = CX(), n = wX();
34634
+ var t = wX(), n = TX();
34630
34635
  e.default = {
34631
34636
  keyword: "propertyNames",
34632
34637
  type: "object",
@@ -34652,9 +34657,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34652
34657
  }), e.ok(s);
34653
34658
  }
34654
34659
  };
34655
- })), wZ = /* @__PURE__ */ K(((e) => {
34660
+ })), TZ = /* @__PURE__ */ K(((e) => {
34656
34661
  Object.defineProperty(e, "__esModule", { value: !0 });
34657
- var t = MX(), n = CX(), r = TX(), i = wX();
34662
+ var t = NX(), n = wX(), r = EX(), i = TX();
34658
34663
  e.default = {
34659
34664
  keyword: "additionalProperties",
34660
34665
  type: ["object"],
@@ -34719,9 +34724,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34719
34724
  }
34720
34725
  }
34721
34726
  };
34722
- })), TZ = /* @__PURE__ */ K(((e) => {
34727
+ })), EZ = /* @__PURE__ */ K(((e) => {
34723
34728
  Object.defineProperty(e, "__esModule", { value: !0 });
34724
- var t = RX(), n = MX(), r = wX(), i = wZ();
34729
+ var t = zX(), n = NX(), r = TX(), i = TZ();
34725
34730
  e.default = {
34726
34731
  keyword: "properties",
34727
34732
  type: "object",
@@ -34748,9 +34753,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34748
34753
  }
34749
34754
  }
34750
34755
  };
34751
- })), EZ = /* @__PURE__ */ K(((e) => {
34756
+ })), DZ = /* @__PURE__ */ K(((e) => {
34752
34757
  Object.defineProperty(e, "__esModule", { value: !0 });
34753
- var t = MX(), n = CX(), r = wX(), i = wX();
34758
+ var t = NX(), n = wX(), r = TX(), i = TX();
34754
34759
  e.default = {
34755
34760
  keyword: "patternProperties",
34756
34761
  type: "object",
@@ -34783,9 +34788,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34783
34788
  }
34784
34789
  }
34785
34790
  };
34786
- })), DZ = /* @__PURE__ */ K(((e) => {
34791
+ })), OZ = /* @__PURE__ */ K(((e) => {
34787
34792
  Object.defineProperty(e, "__esModule", { value: !0 });
34788
- var t = wX();
34793
+ var t = TX();
34789
34794
  e.default = {
34790
34795
  keyword: "not",
34791
34796
  schemaType: ["object", "boolean"],
@@ -34806,17 +34811,17 @@ var xX = /* @__PURE__ */ K(((e) => {
34806
34811
  },
34807
34812
  error: { message: "must NOT be valid" }
34808
34813
  };
34809
- })), OZ = /* @__PURE__ */ K(((e) => {
34814
+ })), kZ = /* @__PURE__ */ K(((e) => {
34810
34815
  Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
34811
34816
  keyword: "anyOf",
34812
34817
  schemaType: "array",
34813
34818
  trackErrors: !0,
34814
- code: MX().validateUnion,
34819
+ code: NX().validateUnion,
34815
34820
  error: { message: "must match a schema in anyOf" }
34816
34821
  };
34817
- })), kZ = /* @__PURE__ */ K(((e) => {
34822
+ })), AZ = /* @__PURE__ */ K(((e) => {
34818
34823
  Object.defineProperty(e, "__esModule", { value: !0 });
34819
- var t = CX(), n = wX();
34824
+ var t = wX(), n = TX();
34820
34825
  e.default = {
34821
34826
  keyword: "oneOf",
34822
34827
  schemaType: "array",
@@ -34846,9 +34851,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34846
34851
  }
34847
34852
  }
34848
34853
  };
34849
- })), AZ = /* @__PURE__ */ K(((e) => {
34854
+ })), jZ = /* @__PURE__ */ K(((e) => {
34850
34855
  Object.defineProperty(e, "__esModule", { value: !0 });
34851
- var t = wX();
34856
+ var t = TX();
34852
34857
  e.default = {
34853
34858
  keyword: "allOf",
34854
34859
  schemaType: "array",
@@ -34867,9 +34872,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34867
34872
  });
34868
34873
  }
34869
34874
  };
34870
- })), jZ = /* @__PURE__ */ K(((e) => {
34875
+ })), MZ = /* @__PURE__ */ K(((e) => {
34871
34876
  Object.defineProperty(e, "__esModule", { value: !0 });
34872
- var t = CX(), n = wX(), r = {
34877
+ var t = wX(), n = TX(), r = {
34873
34878
  keyword: "if",
34874
34879
  schemaType: ["object", "boolean"],
34875
34880
  trackErrors: !0,
@@ -34910,9 +34915,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34910
34915
  return r !== void 0 && !(0, n.alwaysValidSchema)(e, r);
34911
34916
  }
34912
34917
  e.default = r;
34913
- })), MZ = /* @__PURE__ */ K(((e) => {
34918
+ })), NZ = /* @__PURE__ */ K(((e) => {
34914
34919
  Object.defineProperty(e, "__esModule", { value: !0 });
34915
- var t = wX();
34920
+ var t = TX();
34916
34921
  e.default = {
34917
34922
  keyword: ["then", "else"],
34918
34923
  schemaType: ["object", "boolean"],
@@ -34920,9 +34925,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34920
34925
  n.if === void 0 && (0, t.checkStrictMode)(r, `"${e}" without "if" is ignored`);
34921
34926
  }
34922
34927
  };
34923
- })), NZ = /* @__PURE__ */ K(((e) => {
34928
+ })), PZ = /* @__PURE__ */ K(((e) => {
34924
34929
  Object.defineProperty(e, "__esModule", { value: !0 });
34925
- var t = _Z(), n = yZ(), r = vZ(), i = bZ(), a = xZ(), o = SZ(), s = CZ(), c = wZ(), l = TZ(), u = EZ(), d = DZ(), f = OZ(), p = kZ(), m = AZ(), h = jZ(), g = MZ();
34930
+ var t = vZ(), n = bZ(), r = yZ(), i = xZ(), a = SZ(), o = CZ(), s = wZ(), c = TZ(), l = EZ(), u = DZ(), d = OZ(), f = kZ(), p = AZ(), m = jZ(), h = MZ(), g = NZ();
34926
34931
  function _(e = !1) {
34927
34932
  let _ = [
34928
34933
  d.default,
@@ -34940,9 +34945,9 @@ var xX = /* @__PURE__ */ K(((e) => {
34940
34945
  return e ? _.push(n.default, i.default) : _.push(t.default, r.default), _.push(a.default), _;
34941
34946
  }
34942
34947
  e.default = _;
34943
- })), PZ = /* @__PURE__ */ K(((e) => {
34948
+ })), FZ = /* @__PURE__ */ K(((e) => {
34944
34949
  Object.defineProperty(e, "__esModule", { value: !0 });
34945
- var t = CX();
34950
+ var t = wX();
34946
34951
  e.default = {
34947
34952
  keyword: "format",
34948
34953
  type: ["number", "string"],
@@ -35015,9 +35020,9 @@ var xX = /* @__PURE__ */ K(((e) => {
35015
35020
  }
35016
35021
  }
35017
35022
  };
35018
- })), FZ = /* @__PURE__ */ K(((e) => {
35019
- Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [PZ().default];
35020
35023
  })), IZ = /* @__PURE__ */ K(((e) => {
35024
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [FZ().default];
35025
+ })), LZ = /* @__PURE__ */ K(((e) => {
35021
35026
  Object.defineProperty(e, "__esModule", { value: !0 }), e.contentVocabulary = e.metadataVocabulary = void 0, e.metadataVocabulary = [
35022
35027
  "title",
35023
35028
  "description",
@@ -35031,9 +35036,9 @@ var xX = /* @__PURE__ */ K(((e) => {
35031
35036
  "contentEncoding",
35032
35037
  "contentSchema"
35033
35038
  ];
35034
- })), LZ = /* @__PURE__ */ K(((e) => {
35039
+ })), RZ = /* @__PURE__ */ K(((e) => {
35035
35040
  Object.defineProperty(e, "__esModule", { value: !0 });
35036
- var t = rZ(), n = gZ(), r = NZ(), i = FZ(), a = IZ();
35041
+ var t = iZ(), n = _Z(), r = PZ(), i = IZ(), a = LZ();
35037
35042
  e.default = [
35038
35043
  t.default,
35039
35044
  n.default,
@@ -35042,15 +35047,15 @@ var xX = /* @__PURE__ */ K(((e) => {
35042
35047
  a.metadataVocabulary,
35043
35048
  a.contentVocabulary
35044
35049
  ];
35045
- })), RZ = /* @__PURE__ */ K(((e) => {
35050
+ })), zZ = /* @__PURE__ */ K(((e) => {
35046
35051
  Object.defineProperty(e, "__esModule", { value: !0 }), e.DiscrError = void 0;
35047
35052
  var t;
35048
35053
  (function(e) {
35049
35054
  e.Tag = "tag", e.Mapping = "mapping";
35050
35055
  })(t || (e.DiscrError = t = {}));
35051
- })), zZ = /* @__PURE__ */ K(((e) => {
35056
+ })), BZ = /* @__PURE__ */ K(((e) => {
35052
35057
  Object.defineProperty(e, "__esModule", { value: !0 });
35053
- var t = CX(), n = RZ(), r = VX(), i = BX(), a = wX();
35058
+ var t = wX(), n = zZ(), r = HX(), i = VX(), a = TX();
35054
35059
  e.default = {
35055
35060
  keyword: "discriminator",
35056
35061
  type: "object",
@@ -35118,16 +35123,16 @@ var xX = /* @__PURE__ */ K(((e) => {
35118
35123
  }
35119
35124
  }
35120
35125
  };
35121
- })), BZ = /* @__PURE__ */ pt({
35122
- $id: () => HZ,
35123
- $schema: () => VZ,
35124
- default: () => qZ,
35125
- definitions: () => WZ,
35126
- properties: () => KZ,
35127
- title: () => UZ,
35128
- type: () => GZ
35129
- }), VZ, HZ, UZ, WZ, GZ, KZ, qZ, JZ = ft((() => {
35130
- VZ = "http://json-schema.org/draft-07/schema#", HZ = "http://json-schema.org/draft-07/schema#", UZ = "Core schema meta-schema", WZ = {
35126
+ })), VZ = /* @__PURE__ */ pt({
35127
+ $id: () => UZ,
35128
+ $schema: () => HZ,
35129
+ default: () => JZ,
35130
+ definitions: () => GZ,
35131
+ properties: () => qZ,
35132
+ title: () => WZ,
35133
+ type: () => KZ
35134
+ }), HZ, UZ, WZ, GZ, KZ, qZ, JZ, YZ = ft((() => {
35135
+ HZ = "http://json-schema.org/draft-07/schema#", UZ = "http://json-schema.org/draft-07/schema#", WZ = "Core schema meta-schema", GZ = {
35131
35136
  schemaArray: {
35132
35137
  type: "array",
35133
35138
  minItems: 1,
@@ -35153,7 +35158,7 @@ var xX = /* @__PURE__ */ K(((e) => {
35153
35158
  uniqueItems: !0,
35154
35159
  default: []
35155
35160
  }
35156
- }, GZ = ["object", "boolean"], KZ = {
35161
+ }, KZ = ["object", "boolean"], qZ = {
35157
35162
  $id: {
35158
35163
  type: "string",
35159
35164
  format: "uri-reference"
@@ -35252,18 +35257,18 @@ var xX = /* @__PURE__ */ K(((e) => {
35252
35257
  anyOf: { $ref: "#/definitions/schemaArray" },
35253
35258
  oneOf: { $ref: "#/definitions/schemaArray" },
35254
35259
  not: { $ref: "#" }
35255
- }, qZ = {
35256
- $schema: VZ,
35257
- $id: HZ,
35258
- title: UZ,
35259
- definitions: WZ,
35260
- type: GZ,
35261
- properties: KZ,
35260
+ }, JZ = {
35261
+ $schema: HZ,
35262
+ $id: UZ,
35263
+ title: WZ,
35264
+ definitions: GZ,
35265
+ type: KZ,
35266
+ properties: qZ,
35262
35267
  default: !0
35263
35268
  };
35264
- })), YZ = /* @__PURE__ */ K(((e, t) => {
35269
+ })), XZ = /* @__PURE__ */ K(((e, t) => {
35265
35270
  Object.defineProperty(e, "__esModule", { value: !0 }), e.MissingRefError = e.ValidationError = e.CodeGen = e.Name = e.nil = e.stringify = e.str = e._ = e.KeywordCxt = e.Ajv = void 0;
35266
- var n = eZ(), r = LZ(), i = zZ(), a = (JZ(), gt(BZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35271
+ var n = tZ(), r = RZ(), i = BZ(), a = (YZ(), gt(VZ).default), o = ["/properties"], s = "http://json-schema.org/draft-07/schema", c = class extends n.default {
35267
35272
  _addVocabularies() {
35268
35273
  super._addVocabularies(), r.default.forEach((e) => this.addVocabulary(e)), this.opts.discriminator && this.addKeyword(i.default);
35269
35274
  }
@@ -35277,14 +35282,14 @@ var xX = /* @__PURE__ */ K(((e) => {
35277
35282
  }
35278
35283
  };
35279
35284
  e.Ajv = c, t.exports = e = c, t.exports.Ajv = c, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = c;
35280
- var l = RX();
35285
+ var l = zX();
35281
35286
  Object.defineProperty(e, "KeywordCxt", {
35282
35287
  enumerable: !0,
35283
35288
  get: function() {
35284
35289
  return l.KeywordCxt;
35285
35290
  }
35286
35291
  });
35287
- var u = CX();
35292
+ var u = wX();
35288
35293
  Object.defineProperty(e, "_", {
35289
35294
  enumerable: !0,
35290
35295
  get: function() {
@@ -35316,21 +35321,21 @@ var xX = /* @__PURE__ */ K(((e) => {
35316
35321
  return u.CodeGen;
35317
35322
  }
35318
35323
  });
35319
- var d = zX();
35324
+ var d = BX();
35320
35325
  Object.defineProperty(e, "ValidationError", {
35321
35326
  enumerable: !0,
35322
35327
  get: function() {
35323
35328
  return d.default;
35324
35329
  }
35325
35330
  });
35326
- var f = BX();
35331
+ var f = VX();
35327
35332
  Object.defineProperty(e, "MissingRefError", {
35328
35333
  enumerable: !0,
35329
35334
  get: function() {
35330
35335
  return f.default;
35331
35336
  }
35332
35337
  });
35333
- })), XZ = /* @__PURE__ */ K(((e) => {
35338
+ })), ZZ = /* @__PURE__ */ K(((e) => {
35334
35339
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatNames = e.fastFormats = e.fullFormats = void 0;
35335
35340
  function t(e, t) {
35336
35341
  return {
@@ -35482,9 +35487,9 @@ var xX = /* @__PURE__ */ K(((e) => {
35482
35487
  return !1;
35483
35488
  }
35484
35489
  }
35485
- })), ZZ = /* @__PURE__ */ K(((e) => {
35490
+ })), QZ = /* @__PURE__ */ K(((e) => {
35486
35491
  Object.defineProperty(e, "__esModule", { value: !0 }), e.formatLimitDefinition = void 0;
35487
- var t = YZ(), n = CX(), r = n.operators, i = {
35492
+ var t = XZ(), n = wX(), r = n.operators, i = {
35488
35493
  formatMaximum: {
35489
35494
  okStr: "<=",
35490
35495
  ok: r.LTE,
@@ -35544,9 +35549,9 @@ var xX = /* @__PURE__ */ K(((e) => {
35544
35549
  },
35545
35550
  dependencies: ["format"]
35546
35551
  }, e.default = (t) => (t.addKeyword(e.formatLimitDefinition), t);
35547
- })), QZ = /* @__PURE__ */ K(((e, t) => {
35552
+ })), $Z = /* @__PURE__ */ K(((e, t) => {
35548
35553
  Object.defineProperty(e, "__esModule", { value: !0 });
35549
- var n = XZ(), r = ZZ(), i = CX(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35554
+ var n = ZZ(), r = QZ(), i = wX(), a = new i.Name("fullFormats"), o = new i.Name("fastFormats"), s = (e, t = { keywords: !0 }) => {
35550
35555
  if (Array.isArray(t)) return c(e, t, n.fullFormats, a), e;
35551
35556
  let [i, s] = t.mode === "fast" ? [n.fastFormats, o] : [n.fullFormats, a];
35552
35557
  return c(e, t.formats || n.formatNames, i, s), t.keywords && (0, r.default)(e), e;
@@ -35562,9 +35567,9 @@ var xX = /* @__PURE__ */ K(((e) => {
35562
35567
  for (let r of t) e.addFormat(r, n[r]);
35563
35568
  }
35564
35569
  t.exports = e = s, Object.defineProperty(e, "__esModule", { value: !0 }), e.default = s;
35565
- })), $Z = /* @__PURE__ */ ht(YZ(), 1), eQ = /* @__PURE__ */ ht(QZ(), 1), tQ = {
35570
+ })), eQ = /* @__PURE__ */ ht(XZ(), 1), tQ = /* @__PURE__ */ ht($Z(), 1), nQ = {
35566
35571
  required: () => "This field is required",
35567
- type: (e) => `Should be "${rQ(e)}".`,
35572
+ type: (e) => `Should be "${iQ(e)}".`,
35568
35573
  minLength: (e) => e.params.limit === 1 ? "This field must not be empty" : `Should NOT be shorter than ${e.params.limit} characters`,
35569
35574
  maxLength: (e) => `Should NOT be longer than ${e.params.limit} characters`,
35570
35575
  minimum: (e) => `Should be >= ${e.params.limit}`,
@@ -35580,79 +35585,79 @@ var xX = /* @__PURE__ */ K(((e) => {
35580
35585
  format: (e) => `Should be a valid ${e.params.format}`,
35581
35586
  uniqueItemProperties: (e) => `${e.params.propertyName ?? "This field"} must be unique`
35582
35587
  };
35583
- function nQ(e, t) {
35584
- let n = tQ[e.keyword];
35588
+ function rQ(e, t) {
35589
+ let n = nQ[e.keyword];
35585
35590
  return n ? n(e, t) : e.message ?? "Invalid value";
35586
35591
  }
35587
- function rQ(e) {
35592
+ function iQ(e) {
35588
35593
  let t = e.params.type;
35589
35594
  return String(Array.isArray(t) ? t[0] : t);
35590
35595
  }
35591
35596
  //#endregion
35592
35597
  //#region src/composed/JsonSchemaForm/form-bindings/resolveAt.ts
35593
- function iQ(e, t, n) {
35598
+ function aQ(e, t, n) {
35594
35599
  let r = t === "" ? [] : t.split("."), i = e.root, a = n, o = [];
35595
35600
  for (let e of r) {
35596
35601
  if (!i) return {
35597
35602
  node: void 0,
35598
35603
  value: void 0
35599
35604
  };
35600
- i = aQ(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
35605
+ i = oQ(i, a, n, o), /^\d+$/.test(e) ? (i = i.items, a = Array.isArray(a) ? a[Number(e)] : void 0) : (i = i.properties?.get(e), a = a && typeof a == "object" ? a[e] : void 0), o.push(e);
35601
35606
  }
35602
35607
  return i ? {
35603
- node: oQ(aQ(i, a, n, r), r),
35608
+ node: sQ(oQ(i, a, n, r), r),
35604
35609
  value: a
35605
35610
  } : {
35606
35611
  node: void 0,
35607
35612
  value: a
35608
35613
  };
35609
35614
  }
35610
- function aQ(e, t, n, r) {
35611
- let i = new Map(e.properties), a = e.variants ? cQ(e.variants, t) : void 0;
35615
+ function oQ(e, t, n, r) {
35616
+ let i = new Map(e.properties), a = e.variants ? lQ(e.variants, t) : void 0;
35612
35617
  if (a) for (let [e, t] of a.properties) i.set(e, t);
35613
35618
  let o = [...e.dependencyBranches ?? [], ...a?.dependencyBranches ?? []];
35614
35619
  if (o.length > 0) {
35615
- for (let e of o) if (sQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35620
+ for (let e of o) if (cQ(e.showIf.$eq, n, r)) for (let [t, n] of e.properties) i.set(t, n);
35616
35621
  }
35617
35622
  return i.size > (e.properties?.size ?? 0) ? {
35618
35623
  ...e,
35619
35624
  properties: i
35620
35625
  } : e;
35621
35626
  }
35622
- function oQ(e, t) {
35627
+ function sQ(e, t) {
35623
35628
  return e.displayIf ? {
35624
35629
  ...e,
35625
- displayIf: LJ(e.displayIf, t.join("."))
35630
+ displayIf: RJ(e.displayIf, t.join("."))
35626
35631
  } : e;
35627
35632
  }
35628
- function sQ(e, t, n) {
35633
+ function cQ(e, t, n) {
35629
35634
  for (let [r, i] of e) {
35630
- let e = jJ(t, IJ(r, n));
35635
+ let e = MJ(t, LJ(r, n));
35631
35636
  if (!(Array.isArray(i) ? i : [i]).includes(e)) return !1;
35632
35637
  }
35633
35638
  return !0;
35634
35639
  }
35635
- function cQ(e, t) {
35640
+ function lQ(e, t) {
35636
35641
  if (typeof t != "object" || !t) return;
35637
35642
  let n = t;
35638
35643
  return e.find((e) => e.consts.length > 0 && e.consts.every((e) => Object.is(n[e.key], e.value)));
35639
35644
  }
35640
35645
  //#endregion
35641
35646
  //#region src/composed/JsonSchemaForm/form-bindings/jsonSchemaResolver.ts
35642
- var lQ = new $Z.default({
35647
+ var uQ = new eQ.default({
35643
35648
  strict: !1,
35644
35649
  allErrors: !0
35645
35650
  });
35646
- (0, eQ.default)(lQ);
35647
- for (let e of ["text", "gio-code-editor"]) lQ.addFormat(e, !0);
35648
- lQ.removeKeyword("id"), lQ.addKeyword({
35651
+ (0, tQ.default)(uQ);
35652
+ for (let e of ["text", "gio-code-editor"]) uQ.addFormat(e, !0);
35653
+ uQ.removeKeyword("id"), uQ.addKeyword({
35649
35654
  keyword: "id",
35650
35655
  validate: () => !0
35651
35656
  });
35652
- function uQ(e, t = {}) {
35657
+ function dQ(e, t = {}) {
35653
35658
  let n;
35654
35659
  try {
35655
- n = cX(e);
35660
+ n = lX(e);
35656
35661
  } catch (e) {
35657
35662
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35658
35663
  return () => ({
@@ -35665,7 +35670,7 @@ function uQ(e, t = {}) {
35665
35670
  }
35666
35671
  let r = n.root.schema, i = n.variantIndices, a;
35667
35672
  try {
35668
- a = lQ.compile(r);
35673
+ a = uQ.compile(r);
35669
35674
  } catch (e) {
35670
35675
  let t = e instanceof Error ? e.message : "Invalid JSON Schema";
35671
35676
  return () => ({
@@ -35676,15 +35681,15 @@ function uQ(e, t = {}) {
35676
35681
  } }
35677
35682
  });
35678
35683
  }
35679
- lQ.removeSchema(r);
35684
+ uQ.removeSchema(r);
35680
35685
  let o = async (e, t, r) => {
35681
- let o = a(e) ? [] : a.errors ?? [], s = _Q(n.root, e, "", i), c = [...o, ...s];
35686
+ let o = a(e) ? [] : a.errors ?? [], s = vQ(n.root, e, "", i), c = [...o, ...s];
35682
35687
  return c.length === 0 ? {
35683
35688
  values: e,
35684
35689
  errors: {}
35685
35690
  } : {
35686
35691
  values: {},
35687
- errors: mQ(pQ(c.filter((t) => !dQ(t, n, e))), r.criteriaMode ?? "firstError")
35692
+ errors: hQ(mQ(c.filter((t) => !fQ(t, n, e))), r.criteriaMode ?? "firstError")
35688
35693
  };
35689
35694
  };
35690
35695
  if (!t.basePath) return o;
@@ -35700,12 +35705,12 @@ function uQ(e, t = {}) {
35700
35705
  };
35701
35706
  };
35702
35707
  }
35703
- function dQ(e, t, n) {
35704
- let { node: r, value: i } = iQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(GJ) : []).join("."), n);
35708
+ function fQ(e, t, n) {
35709
+ let { node: r, value: i } = aQ(t, (e.instancePath ? e.instancePath.slice(1).split("/").map(KJ) : []).join("."), n);
35705
35710
  if (!r) return !1;
35706
35711
  switch (e.keyword) {
35707
35712
  case "const":
35708
- case "enum": return fQ(r.schema, i);
35713
+ case "enum": return pQ(r.schema, i);
35709
35714
  case "required": {
35710
35715
  let t = e.params.missingProperty;
35711
35716
  return typeof t == "string" && !!r.properties && !r.properties.has(t);
@@ -35713,46 +35718,46 @@ function dQ(e, t, n) {
35713
35718
  default: return !1;
35714
35719
  }
35715
35720
  }
35716
- function fQ(e, t) {
35721
+ function pQ(e, t) {
35717
35722
  return e.const === void 0 ? Array.isArray(e.enum) ? e.enum.includes(t) : !1 : Object.is(e.const, t);
35718
35723
  }
35719
- function pQ(e) {
35724
+ function mQ(e) {
35720
35725
  return e.filter((t) => {
35721
35726
  if (t.keyword !== "oneOf" && t.keyword !== "anyOf") return !0;
35722
- let n = hQ(t), r = n === "" ? "" : `${n}.`;
35727
+ let n = gQ(t), r = n === "" ? "" : `${n}.`;
35723
35728
  return !e.some((e) => {
35724
35729
  if (e === t) return !1;
35725
- let i = hQ(e);
35730
+ let i = gQ(e);
35726
35731
  return n === "" ? i !== "" : i.startsWith(r);
35727
35732
  });
35728
35733
  });
35729
35734
  }
35730
- function mQ(e, t) {
35735
+ function hQ(e, t) {
35731
35736
  let n = /* @__PURE__ */ new Map();
35732
35737
  for (let t of e) {
35733
- let e = hQ(t), r = n.get(e) ?? [];
35738
+ let e = gQ(t), r = n.get(e) ?? [];
35734
35739
  r.push(t), n.set(e, r);
35735
35740
  }
35736
35741
  let r = {};
35737
35742
  for (let [e, i] of n) {
35738
35743
  let n = {
35739
35744
  type: i[0].keyword,
35740
- message: nQ(i[0], e)
35745
+ message: rQ(i[0], e)
35741
35746
  };
35742
35747
  if (t === "all" && i.length > 0) {
35743
35748
  let t = {};
35744
- for (let n of i) t[n.keyword] = nQ(n, e);
35749
+ for (let n of i) t[n.keyword] = rQ(n, e);
35745
35750
  n.types = t;
35746
35751
  }
35747
- gQ(r, e === "" ? "root" : e, n);
35752
+ _Q(r, e === "" ? "root" : e, n);
35748
35753
  }
35749
35754
  return r;
35750
35755
  }
35751
- function hQ(e) {
35752
- let t = e.instancePath ? e.instancePath.slice(1).split("/").map(GJ) : [];
35756
+ function gQ(e) {
35757
+ let t = e.instancePath ? e.instancePath.slice(1).split("/").map(KJ) : [];
35753
35758
  return e.keyword === "required" && typeof e.params.missingProperty == "string" && t.push(e.params.missingProperty), t.join(".");
35754
35759
  }
35755
- function gQ(e, t, n) {
35760
+ function _Q(e, t, n) {
35756
35761
  let r = t.split("."), i = e;
35757
35762
  for (let e = 0; e < r.length - 1; e++) {
35758
35763
  let t = r[e];
@@ -35760,7 +35765,7 @@ function gQ(e, t, n) {
35760
35765
  }
35761
35766
  i[r[r.length - 1]] = n;
35762
35767
  }
35763
- function _Q(e, t, n, r) {
35768
+ function vQ(e, t, n, r) {
35764
35769
  if (!e) return [];
35765
35770
  let i = [];
35766
35771
  if (e.schema.gioConfig?.uniqueItemProperties && Array.isArray(t)) for (let r of e.schema.gioConfig.uniqueItemProperties) {
@@ -35777,80 +35782,80 @@ function _Q(e, t, n, r) {
35777
35782
  }
35778
35783
  }
35779
35784
  let a = typeof t == "object" && !!t && !Array.isArray(t);
35780
- if (e.properties && a) for (let [a, o] of e.properties) i.push(..._Q(o, t[a], `${n}/${WJ(a)}`, r));
35785
+ if (e.properties && a) for (let [a, o] of e.properties) i.push(...vQ(o, t[a], `${n}/${GJ(a)}`, r));
35781
35786
  if (e.variants && e.variants.length > 0 && a) {
35782
- let a = t, o = RY(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35783
- if (s) for (let [e, t] of s.properties) i.push(..._Q(t, a[e], `${n}/${WJ(e)}`, r));
35787
+ let a = t, o = zY(e.variants.map((e) => e.raw), e.rhfPath, r, (e) => a[e]), s = e.variants[o];
35788
+ if (s) for (let [e, t] of s.properties) i.push(...vQ(t, a[e], `${n}/${GJ(e)}`, r));
35784
35789
  }
35785
35790
  return e.items && Array.isArray(t) && t.forEach((t, a) => {
35786
- i.push(..._Q(e.items, t, `${n}/${a}`, r));
35791
+ i.push(...vQ(e.items, t, `${n}/${a}`, r));
35787
35792
  }), i;
35788
35793
  }
35789
35794
  //#endregion
35790
35795
  //#region src/composed/JsonSchemaForm/form-bindings/pruneHiddenValues.ts
35791
- var vQ = /* @__PURE__ */ new WeakMap();
35792
- function yQ(e) {
35793
- let t = vQ.get(e);
35796
+ var yQ = /* @__PURE__ */ new WeakMap();
35797
+ function bQ(e) {
35798
+ let t = yQ.get(e);
35794
35799
  if (t === void 0) {
35795
35800
  try {
35796
- t = cX(e).root;
35801
+ t = lX(e).root;
35797
35802
  } catch {
35798
35803
  t = null;
35799
35804
  }
35800
- vQ.set(e, t);
35805
+ yQ.set(e, t);
35801
35806
  }
35802
35807
  return t;
35803
35808
  }
35804
- function bQ(e, t, n) {
35805
- let r = yQ(e);
35809
+ function xQ(e, t, n) {
35810
+ let r = bQ(e);
35806
35811
  if (!r) return t;
35807
35812
  let i = structuredClone(t);
35808
- for (; xQ(r, i, "", i, n););
35813
+ for (; SQ(r, i, "", i, n););
35809
35814
  return i;
35810
35815
  }
35811
- function xQ(e, t, n, r, i) {
35816
+ function SQ(e, t, n, r, i) {
35812
35817
  if (Array.isArray(t)) {
35813
35818
  let { items: a } = e;
35814
35819
  if (!a) return !1;
35815
35820
  let o = !1;
35816
35821
  return t.forEach((e, t) => {
35817
- xQ(a, e, wQ(n, String(t)), r, i) && (o = !0);
35822
+ SQ(a, e, TQ(n, String(t)), r, i) && (o = !0);
35818
35823
  }), o;
35819
35824
  }
35820
35825
  if (typeof t != "object" || !t) return !1;
35821
- let a = t, { rendered: o, unregistered: s } = SQ(e, a, n, r, i), c = !1;
35826
+ let a = t, { rendered: o, unregistered: s } = CQ(e, a, n, r, i), c = !1;
35822
35827
  for (let e of s) e in a && (delete a[e], c = !0);
35823
35828
  for (let [e, t] of o) {
35824
35829
  if (!(e in a)) continue;
35825
- let o = wQ(n, e);
35826
- t.displayIf && !CQ(t.displayIf, o, r, i) ? (delete a[e], c = !0) : xQ(t, a[e], o, r, i) && (c = !0);
35830
+ let o = TQ(n, e);
35831
+ t.displayIf && !wQ(t.displayIf, o, r, i) ? (delete a[e], c = !0) : SQ(t, a[e], o, r, i) && (c = !0);
35827
35832
  }
35828
35833
  return c;
35829
35834
  }
35830
- function SQ(e, t, n, r, i) {
35835
+ function CQ(e, t, n, r, i) {
35831
35836
  let a = [...e.properties ?? []], o = [...e.dependencyBranches ?? []];
35832
35837
  if (e.variants && e.variants.length > 0) {
35833
- let n = RY(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
35838
+ let n = zY(e.variants.map((e) => e.raw), e.rhfPath, void 0, (e) => t[e]), r = e.variants[n];
35834
35839
  r && (a.push(...r.properties), o.push(...r.dependencyBranches ?? []));
35835
35840
  }
35836
35841
  let s = [];
35837
- for (let e of o) CQ(e.showIf, n, r, i) ? a.push(...e.properties) : s.push(...e.properties.keys());
35842
+ for (let e of o) wQ(e.showIf, n, r, i) ? a.push(...e.properties) : s.push(...e.properties.keys());
35838
35843
  let c = new Set(a.map(([e]) => e));
35839
35844
  return {
35840
35845
  rendered: a,
35841
35846
  unregistered: s.filter((e) => !c.has(e))
35842
35847
  };
35843
35848
  }
35844
- function CQ(e, t, n, r) {
35845
- let i = LJ(e, t);
35846
- return MJ(i, new Map([...i.$eq.keys()].map((e) => [e, jJ(n, e)])), r);
35849
+ function wQ(e, t, n, r) {
35850
+ let i = RJ(e, t);
35851
+ return NJ(i, new Map([...i.$eq.keys()].map((e) => [e, MJ(n, e)])), r);
35847
35852
  }
35848
- function wQ(e, t) {
35853
+ function TQ(e, t) {
35849
35854
  return e ? `${e}.${t}` : t;
35850
35855
  }
35851
35856
  //#endregion
35852
35857
  //#region src/composed/LayoutSlots/LayoutSlotsContext.tsx
35853
- var TQ = {
35858
+ var EQ = {
35854
35859
  navigation: null,
35855
35860
  contextSidebar: null,
35856
35861
  breadcrumbs: [],
@@ -35861,9 +35866,9 @@ var TQ = {
35861
35866
  banner: null,
35862
35867
  bannerSticky: !1,
35863
35868
  footer: null
35864
- }, EQ = Fe(null);
35865
- function DQ({ children: e }) {
35866
- let [t, n] = Ye(TQ), r = ze((e, t) => {
35869
+ }, DQ = Fe(null);
35870
+ function OQ({ children: e }) {
35871
+ let [t, n] = Ye(EQ), r = ze((e, t) => {
35867
35872
  n((n) => ({
35868
35873
  ...n,
35869
35874
  [e]: t
@@ -35875,7 +35880,7 @@ function DQ({ children: e }) {
35875
35880
  }));
35876
35881
  }, []), a = ze((e) => {
35877
35882
  n((t) => {
35878
- let n = Object.fromEntries(e.map((e) => [e, TQ[e]]));
35883
+ let n = Object.fromEntries(e.map((e) => [e, EQ[e]]));
35879
35884
  return {
35880
35885
  ...t,
35881
35886
  ...n
@@ -35892,20 +35897,20 @@ function DQ({ children: e }) {
35892
35897
  i,
35893
35898
  a
35894
35899
  ]);
35895
- return /* @__PURE__ */ W(EQ.Provider, {
35900
+ return /* @__PURE__ */ W(DQ.Provider, {
35896
35901
  value: o,
35897
35902
  children: e
35898
35903
  });
35899
35904
  }
35900
- function OQ() {
35901
- let e = Be(EQ);
35905
+ function kQ() {
35906
+ let e = Be(DQ);
35902
35907
  if (!e) throw Error("useLayoutSlots must be used within a LayoutSlotsProvider.");
35903
35908
  return e;
35904
35909
  }
35905
35910
  //#endregion
35906
35911
  //#region src/composed/LayoutSlots/use-layout-config.ts
35907
- function kQ(e, t = []) {
35908
- let { setSlots: n, resetSlots: r } = OQ();
35912
+ function AQ(e, t = []) {
35913
+ let { setSlots: n, resetSlots: r } = kQ();
35909
35914
  Ge(() => {
35910
35915
  n(e);
35911
35916
  let t = Object.keys(e);
@@ -35920,7 +35925,7 @@ function kQ(e, t = []) {
35920
35925
  }
35921
35926
  //#endregion
35922
35927
  //#region src/composed/PageFocused/PageFocused.tsx
35923
- function AQ({ children: e, className: n, "data-testid": r }) {
35928
+ function jQ({ children: e, className: n, "data-testid": r }) {
35924
35929
  return /* @__PURE__ */ W("div", {
35925
35930
  "data-slot": "page-focused",
35926
35931
  "data-testid": r,
@@ -35928,10 +35933,10 @@ function AQ({ children: e, className: n, "data-testid": r }) {
35928
35933
  children: e
35929
35934
  });
35930
35935
  }
35931
- AQ.displayName = "PageFocused";
35936
+ jQ.displayName = "PageFocused";
35932
35937
  //#endregion
35933
35938
  //#region src/composed/PageHeader/PageHeader.tsx
35934
- function jQ({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
35939
+ function MQ({ title: e, description: n, actions: r, children: i, className: a, "data-testid": o }) {
35935
35940
  return /* @__PURE__ */ G("header", {
35936
35941
  "data-slot": "page-header",
35937
35942
  "data-testid": o,
@@ -35963,10 +35968,10 @@ function jQ({ title: e, description: n, actions: r, children: i, className: a, "
35963
35968
  }) : null]
35964
35969
  });
35965
35970
  }
35966
- jQ.displayName = "PageHeader";
35971
+ MQ.displayName = "PageHeader";
35967
35972
  //#endregion
35968
35973
  //#region src/composed/SearchField/SearchField.tsx
35969
- function MQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
35974
+ function NQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, className: i, disabled: a, onKeyDown: o, "data-testid": s, ...c }) {
35970
35975
  let [l, u] = Ye(t), d = Je(null), f = Je(t), p = Je(void 0), m = Je(n);
35971
35976
  We(e, () => d.current, []), He(() => {
35972
35977
  m.current = n;
@@ -36026,10 +36031,10 @@ function MQ({ ref: e, value: t = "", onValueChange: n, debounceMs: r = 300, clas
36026
36031
  ]
36027
36032
  });
36028
36033
  }
36029
- MQ.displayName = "SearchField";
36034
+ NQ.displayName = "SearchField";
36030
36035
  //#endregion
36031
36036
  //#region src/composed/TopNavUser/TopNavUser.tsx
36032
- var NQ = [
36037
+ var PQ = [
36033
36038
  {
36034
36039
  value: "light",
36035
36040
  label: "Light"
@@ -36043,7 +36048,7 @@ var NQ = [
36043
36048
  label: "System"
36044
36049
  }
36045
36050
  ];
36046
- function PQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36051
+ function FQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSignOut: o }) {
36047
36052
  let s = i ?? e.slice(0, 2).toUpperCase(), { mode: c, setMode: l } = je();
36048
36053
  return /* @__PURE__ */ G(bL, { children: [/* @__PURE__ */ W(SL, {
36049
36054
  asChild: !0,
@@ -36072,7 +36077,7 @@ function PQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36072
36077
  /* @__PURE__ */ W(DL, {
36073
36078
  value: c,
36074
36079
  onValueChange: (e) => l(e),
36075
- children: NQ.map((e) => /* @__PURE__ */ W(OL, {
36080
+ children: PQ.map((e) => /* @__PURE__ */ W(OL, {
36076
36081
  value: e.value,
36077
36082
  children: e.label
36078
36083
  }, e.value))
@@ -36085,6 +36090,6 @@ function PQ({ name: e, email: n, avatarUrl: r, initials: i, className: a, onSign
36085
36090
  ]
36086
36091
  })] });
36087
36092
  }
36088
- PQ.displayName = "TopNavUser";
36093
+ FQ.displayName = "TopNavUser";
36089
36094
  //#endregion
36090
- export { Rv as Accordion, Vv as AccordionContent, zv as AccordionItem, Bv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Hv as Avatar, Gv as AvatarBadge, Wv as AvatarFallback, Kv as AvatarGroup, qv as AvatarGroupCount, Uv as AvatarImage, Yv as Badge, nq as BadgeCell, Xv as Breadcrumb, ny as BreadcrumbEllipsis, Qv as BreadcrumbItem, $v as BreadcrumbLink, Zv as BreadcrumbList, ey as BreadcrumbPage, ty as BreadcrumbSeparator, iy as Button, oy as ButtonGroup, cy as ButtonGroupSeparator, sy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, iq as CopyableCell, iG as CopyableText, TQ as DEFAULT_SLOTS, qK as DataTable, JK as DataTableColumnHeader, oq as DataTableEmptyState, jK as DataTablePagination, VK as DataTableViewOptions, tq as DateCell, hJ as DatePicker, gJ as DateRangePicker, yJ as DateTimePicker, SJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, wJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, TJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, AJ as FileUpload, Fz as FileUploadInput, kJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, yX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, DQ as LayoutSlotsProvider, iB as Logo, rq as MonoCell, AQ as PageFocused, jQ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, qY as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, vt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, MQ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Me as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, PQ as TopNavUser, aq as TruncatedCell, r as alertVariants, Jv as badgeVariants, aG as buildLinearBreadcrumbs, ay as buttonGroupVariants, ry as buttonVariants, t as cn, bX as composeResolvers, rY as extractDefaults, uQ as jsonSchemaResolver, rB as logoVariants, bQ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, bt as useDebouncedValue, kQ as useLayoutConfig, OQ as useLayoutSlots, yt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, je as useTheme };
36095
+ export { Rv as Accordion, Vv as AccordionContent, zv as AccordionItem, Bv as AccordionTrigger, o as Alert, a as AlertAction, f as AlertDescription, D as AlertTitle, IW as AppContextBar, KW as AppLayout, YW as AppSidebar, NW as AppSwitcher, Hv as Avatar, Gv as AvatarBadge, Wv as AvatarFallback, Kv as AvatarGroup, qv as AvatarGroupCount, Uv as AvatarImage, Yv as Badge, rq as BadgeCell, Xv as Breadcrumb, ny as BreadcrumbEllipsis, Qv as BreadcrumbItem, $v as BreadcrumbLink, Zv as BreadcrumbList, ey as BreadcrumbPage, ty as BreadcrumbSeparator, iy as Button, oy as ButtonGroup, cy as ButtonGroupSeparator, sy as ButtonGroupText, TC as Calendar, MC as CalendarDayButton, NC as Card, LC as CardAction, RC as CardContent, IC as CardDescription, zC as CardFooter, PC as CardHeader, FC as CardTitle, BC as Checkbox, VC as Collapsible, UC as CollapsibleContent, HC as CollapsibleTrigger, sj as Combobox, xj as ComboboxChip, bj as ComboboxChips, Sj as ComboboxChipsInput, _j as ComboboxCollection, fj as ComboboxContent, vj as ComboboxEmpty, hj as ComboboxGroup, dj as ComboboxInput, mj as ComboboxItem, gj as ComboboxLabel, pj as ComboboxList, yj as ComboboxSeparator, lj as ComboboxTrigger, cj as ComboboxValue, FF as Command, IF as CommandDialog, zF as CommandEmpty, BF as CommandGroup, LF as CommandInput, HF as CommandItem, RF as CommandList, VF as CommandSeparator, UF as CommandShortcut, rG as ContentHeader, WF as ContextMenu, eI as ContextMenuCheckboxItem, XF as ContextMenuContent, KF as ContextMenuGroup, ZF as ContextMenuItem, nI as ContextMenuLabel, qF as ContextMenuPortal, YF as ContextMenuRadioGroup, tI as ContextMenuRadioItem, rI as ContextMenuSeparator, iI as ContextMenuShortcut, JF as ContextMenuSub, $F as ContextMenuSubContent, QF as ContextMenuSubTrigger, GF as ContextMenuTrigger, ZW as ContextSidebar, QW as ContextToggleButton, aq as CopyableCell, iG as CopyableText, EQ as DEFAULT_SLOTS, qK as DataTable, JK as DataTableColumnHeader, sq as DataTableEmptyState, jK as DataTablePagination, VK as DataTableViewOptions, nq as DateCell, gJ as DatePicker, _J as DateRangePicker, bJ as DateTimePicker, CJ as DateTimeRangePicker, TF as Dialog, OF as DialogClose, AF as DialogContent, PF as DialogDescription, MF as DialogFooter, jF as DialogHeader, kF as DialogOverlay, DF as DialogPortal, NF as DialogTitle, EF as DialogTrigger, uL as Drawer, pL as DrawerClose, hL as DrawerContent, yL as DrawerDescription, _L as DrawerFooter, gL as DrawerHeader, mL as DrawerOverlay, fL as DrawerPortal, vL as DrawerTitle, dL as DrawerTrigger, bL as DropdownMenu, EL as DropdownMenuCheckboxItem, CL as DropdownMenuContent, wL as DropdownMenuGroup, TL as DropdownMenuItem, kL as DropdownMenuLabel, xL as DropdownMenuPortal, DL as DropdownMenuRadioGroup, OL as DropdownMenuRadioItem, AL as DropdownMenuSeparator, jL as DropdownMenuShortcut, ML as DropdownMenuSub, PL as DropdownMenuSubContent, NL as DropdownMenuSubTrigger, SL as DropdownMenuTrigger, TJ as ElCheatSheetTrigger, FL as Empty, VL as EmptyContent, BL as EmptyDescription, IL as EmptyHeader, RL as EmptyMedia, zL as EmptyTitle, EJ as FacetedFilter, k as Field, w as FieldContent, C as FieldDescription, _ as FieldError, L as FieldGroup, R as FieldLabel, y as FieldLegend, te as FieldSeparator, h as FieldSet, i as FieldTitle, jJ as FileUpload, Fz as FileUploadInput, AJ as FileUploadItem, Iz as HoverCard, Rz as HoverCardContent, Vz as HoverCardDescription, zz as HoverCardHeader, Bz as HoverCardTitle, Lz as HoverCardTrigger, QA as Input, $A as InputGroup, tj as InputGroupAddon, rj as InputGroupButton, aj as InputGroupInput, ij as InputGroupText, oj as InputGroupTextarea, Gz as Item, Zz as ItemActions, Jz as ItemContent, Xz as ItemDescription, $z as ItemFooter, Hz as ItemGroup, Qz as ItemHeader, qz as ItemMedia, Uz as ItemSeparator, Yz as ItemTitle, bX as JsonSchemaForm, eB as Kbd, tB as KbdGroup, ee as Label, OQ as LayoutSlotsProvider, iB as Logo, iq as MonoCell, jQ as PageFocused, MQ as PageHeader, aB as Pagination, oB as PaginationContent, dB as PaginationEllipsis, sB as PaginationItem, cB as PaginationLink, uB as PaginationNext, lB as PaginationPrevious, JY as PasswordInput, fB as Popover, hB as PopoverAnchor, mB as PopoverContent, vB as PopoverDescription, gB as PopoverHeader, _B as PopoverTitle, pB as PopoverTrigger, vt as PortalContainerProvider, yB as Progress, xB as Prose, SB as RadioGroup, CB as RadioGroupItem, xH as ResizableHandle, bH as ResizablePanel, yH as ResizablePanelGroup, SH as ScrollArea, CH as ScrollBar, NQ as SearchField, wH as Select, OH as SelectContent, TH as SelectGroup, AH as SelectItem, kH as SelectLabel, NH as SelectScrollDownButton, MH as SelectScrollUpButton, jH as SelectSeparator, DH as SelectTrigger, EH as SelectValue, PW as SelectorDropdown, FW as SelectorTriggerButton, g as Separator, PH as Sheet, IH as SheetClose, zH as SheetContent, UH as SheetDescription, VH as SheetFooter, BH as SheetHeader, HH as SheetTitle, FH as SheetTrigger, cU as Sidebar, gU as SidebarContent, mU as SidebarFooter, _U as SidebarGroup, yU as SidebarGroupAction, bU as SidebarGroupContent, vU as SidebarGroupLabel, pU as SidebarHeader, fU as SidebarInput, dU as SidebarInset, xU as SidebarMenu, TU as SidebarMenuAction, EU as SidebarMenuBadge, wU as SidebarMenuButton, SU as SidebarMenuItem, DU as SidebarMenuSkeleton, OU as SidebarMenuSub, AU as SidebarMenuSubButton, kU as SidebarMenuSubItem, WW as SidebarModeControl, HW as SidebarModeProvider, XW as SidebarNavigation, sU as SidebarProvider, uU as SidebarRail, hU as SidebarSeparator, lU as SidebarTrigger, eG as SidebarUpgradeFooter, n as Skeleton, uW as Spinner, dW as Switch, fW as Table, mW as TableBody, yW as TableCaption, vW as TableCell, hW as TableFooter, _W as TableHead, pW as TableHeader, gW as TableRow, bW as Tabs, wW as TabsContent, SW as TabsList, CW as TabsTrigger, e as Textarea, Me as ThemeProvider, lW as Toaster, EW as Toggle, OW as ToggleGroup, kW as ToggleGroupItem, GH as Tooltip, qH as TooltipContent, WH as TooltipProvider, KH as TooltipTrigger, FQ as TopNavUser, oq as TruncatedCell, r as alertVariants, Jv as badgeVariants, aG as buildLinearBreadcrumbs, ay as buttonGroupVariants, ry as buttonVariants, t as cn, xX as composeResolvers, iY as extractDefaults, dQ as jsonSchemaResolver, rB as logoVariants, xQ as pruneHiddenValues, xW as tabsListVariants, qU as toast, TW as toggleVariants, Cj as useComboboxAnchor, bt as useDebouncedValue, AQ as useLayoutConfig, kQ as useLayoutSlots, yt as usePortalContainer, oU as useSidebar, zW as useSidebarMode, je as useTheme };