@leabankab/component-library 8.7.0 → 8.9.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.
Files changed (52) hide show
  1. package/CHANGELOG.md +58 -0
  2. package/dist/component-library.es.js +906 -881
  3. package/dist/component-library.es.js.map +1 -1
  4. package/dist/component-library.umd.js +2 -2
  5. package/dist/component-library.umd.js.map +1 -1
  6. package/dist/components/form/select-field.d.ts +20 -1
  7. package/dist/components/form/select.d.ts +13 -3
  8. package/dist/components/form/slider.d.ts +15 -2
  9. package/dist/index.css +1 -1
  10. package/dist/website/alert-banner.d.ts +48 -0
  11. package/dist/website/arrow-reveal-link.d.ts +22 -0
  12. package/dist/website/brand-letters.d.ts +40 -0
  13. package/dist/website/calculator.d.ts +58 -0
  14. package/dist/website/carousel.d.ts +55 -0
  15. package/dist/website/cta-banner.d.ts +42 -0
  16. package/dist/website/expanding-cards-context.d.ts +8 -0
  17. package/dist/website/expanding-cards-item.d.ts +69 -0
  18. package/dist/website/expanding-cards.d.ts +48 -0
  19. package/dist/website/flags.d.ts +7 -0
  20. package/dist/website/hero-service-grid.d.ts +52 -0
  21. package/dist/website/hero.d.ts +57 -0
  22. package/dist/website/index.d.ts +37 -0
  23. package/dist/website/navigation-grid.d.ts +39 -0
  24. package/dist/website/paragraphs.d.ts +11 -0
  25. package/dist/website/partner-list.d.ts +79 -0
  26. package/dist/website/payment-feature.d.ts +85 -0
  27. package/dist/website/promo-grid.d.ts +71 -0
  28. package/dist/website/section-header.d.ts +53 -0
  29. package/dist/website/section.d.ts +53 -0
  30. package/dist/website/service-card-grid.d.ts +33 -0
  31. package/dist/website/side-nav.d.ts +57 -0
  32. package/dist/website/site-footer.d.ts +122 -0
  33. package/dist/website/site-header-link.d.ts +16 -0
  34. package/dist/website/site-header-menu.d.ts +21 -0
  35. package/dist/website/site-header.d.ts +141 -0
  36. package/dist/website/split-content.d.ts +69 -0
  37. package/dist/website/stats.d.ts +52 -0
  38. package/dist/website/testimonials.d.ts +100 -0
  39. package/dist/website/use-brand-letters-labels.d.ts +2 -0
  40. package/dist/website/use-carousel-labels.d.ts +6 -0
  41. package/dist/website/use-carousel.d.ts +50 -0
  42. package/dist/website/use-partner-list-labels.d.ts +6 -0
  43. package/dist/website/use-side-nav-labels.d.ts +5 -0
  44. package/dist/website/use-site-footer-labels.d.ts +7 -0
  45. package/dist/website/use-site-header-labels.d.ts +7 -0
  46. package/dist/website/use-testimonials-labels.d.ts +6 -0
  47. package/dist/website.cjs +2 -0
  48. package/dist/website.cjs.map +1 -0
  49. package/dist/website.css +1 -0
  50. package/dist/website.mjs +1933 -0
  51. package/dist/website.mjs.map +1 -0
  52. package/package.json +7 -2
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import { AnimatePresence as e, animate as t, motion as n, useMotionValue as r, useReducedMotion as i } from "motion/react";
3
3
  import { Children as a, Fragment as o, createContext as s, isValidElement as c, useCallback as l, useContext as u, useEffect as d, useId as f, useLayoutEffect as p, useMemo as m, useRef as h, useState as g } from "react";
4
- import { ArrowLeft as _, ArrowRight as v, Check as y, ChevronDown as b, ChevronRight as x, CircleAlert as S, CircleCheck as C, CircleX as w, Info as T, InfoIcon as E, Minus as ee, Pause as D, Play as O, Plus as te, Search as ne, TriangleAlert as re, X as ie } from "lucide-react";
5
- import { Fragment as k, jsx as A, jsxs as j } from "react/jsx-runtime";
6
- import { Button as M } from "@base-ui/react/button";
4
+ import { ArrowLeft as _, ArrowRight as v, Check as y, ChevronDown as b, ChevronRight as x, CircleAlert as S, CircleCheck as C, CircleX as w, Info as T, InfoIcon as E, Minus as ee, Pause as D, Play as O, Plus as k, Search as te, TriangleAlert as ne, X as re } from "lucide-react";
5
+ import { Fragment as A, jsx as j, jsxs as M } from "react/jsx-runtime";
6
+ import { Button as ie } from "@base-ui/react/button";
7
7
  import { useRender as N } from "@base-ui/react/use-render";
8
8
  import { Popover as P } from "@base-ui/react/popover";
9
9
  import { Tooltip as F } from "@base-ui/react/tooltip";
@@ -66,7 +66,7 @@ var xe = Object.defineProperty, Se = (e, t) => {
66
66
  ...i ? { colour: i(s) } : {},
67
67
  ...a ? { spin: (s % 2 == 0 ? 1 : -1) * 120 } : {}
68
68
  };
69
- }), we = ({ particles: e, variant: t = "illustration", delay: r = t === "illustration" ? .18 : .1, duration: i = t === "illustration" ? 1.1 : .8, useCurrentColor: a = t === "icon" }) => e.map((e) => /* @__PURE__ */ A(n.span, {
69
+ }), we = ({ particles: e, variant: t = "illustration", delay: r = t === "illustration" ? .18 : .1, duration: i = t === "illustration" ? 1.1 : .8, useCurrentColor: a = t === "icon" }) => e.map((e) => /* @__PURE__ */ j(n.span, {
70
70
  initial: {
71
71
  x: 0,
72
72
  y: 0,
@@ -127,18 +127,18 @@ var xe = Object.defineProperty, Se = (e, t) => {
127
127
  backgroundColor: a ? "currentColor" : e.colour,
128
128
  pointerEvents: "none"
129
129
  }
130
- }, e.id)), Te = ({ size: e, iconSize: t, className: n, children: r }) => /* @__PURE__ */ A("span", {
130
+ }, e.id)), Te = ({ size: e, iconSize: t, className: n, children: r }) => /* @__PURE__ */ j("span", {
131
131
  className: [H.Badge, n].filter(Boolean).join(" "),
132
132
  style: {
133
133
  width: e,
134
134
  height: e
135
135
  },
136
- children: r ?? /* @__PURE__ */ A(y, {
136
+ children: r ?? /* @__PURE__ */ j(y, {
137
137
  size: t,
138
138
  strokeWidth: 3,
139
139
  "aria-hidden": !0
140
140
  })
141
- }), Ee = 44, De = ({ size: e, thickness: t = 3.6, label: n, className: r }) => /* @__PURE__ */ A("span", {
141
+ }), Ee = 44, De = ({ size: e, thickness: t = 3.6, label: n, className: r }) => /* @__PURE__ */ j("span", {
142
142
  ...n == null ? { "aria-hidden": !0 } : {
143
143
  role: "progressbar",
144
144
  "aria-label": n
@@ -148,10 +148,10 @@ var xe = Object.defineProperty, Se = (e, t) => {
148
148
  width: e,
149
149
  height: e
150
150
  },
151
- children: /* @__PURE__ */ A("svg", {
151
+ children: /* @__PURE__ */ j("svg", {
152
152
  className: H.SpinnerSvg,
153
153
  viewBox: `${Ee / 2} ${Ee / 2} ${Ee} ${Ee}`,
154
- children: /* @__PURE__ */ A("circle", {
154
+ children: /* @__PURE__ */ j("circle", {
155
155
  cx: Ee,
156
156
  cy: Ee,
157
157
  r: (Ee - t) / 2,
@@ -212,7 +212,7 @@ var Me = U({
212
212
  distanceAt: (e) => .7 + e % 2 * .25,
213
213
  dotSizeAt: (e) => Math.max(2, Math.round(r * .1)) + e % 2
214
214
  }), [f, r]), h = s ? 0 : .2;
215
- return /* @__PURE__ */ j("span", {
215
+ return /* @__PURE__ */ M("span", {
216
216
  role: "img",
217
217
  "aria-label": o ?? c[t],
218
218
  className: H.StatusIcon,
@@ -221,38 +221,38 @@ var Me = U({
221
221
  width: r,
222
222
  height: r
223
223
  },
224
- children: [/* @__PURE__ */ j(e, {
224
+ children: [/* @__PURE__ */ M(e, {
225
225
  mode: "wait",
226
226
  children: [
227
- t === "pending" && /* @__PURE__ */ A(n.span, {
227
+ t === "pending" && /* @__PURE__ */ j(n.span, {
228
228
  initial: { opacity: 0 },
229
229
  animate: { opacity: 1 },
230
230
  exit: { opacity: 0 },
231
231
  transition: { duration: h },
232
232
  className: H.State,
233
- children: /* @__PURE__ */ A("span", {
233
+ children: /* @__PURE__ */ j("span", {
234
234
  className: H.Ring,
235
235
  style: { borderWidth: l }
236
236
  })
237
237
  }, "pending"),
238
- t === "loading" && /* @__PURE__ */ A(n.span, {
238
+ t === "loading" && /* @__PURE__ */ j(n.span, {
239
239
  initial: { opacity: 0 },
240
240
  animate: { opacity: 1 },
241
241
  exit: { opacity: 0 },
242
242
  transition: { duration: h },
243
243
  className: H.State,
244
- children: /* @__PURE__ */ A(De, {
244
+ children: /* @__PURE__ */ j(De, {
245
245
  size: r,
246
246
  thickness: u
247
247
  })
248
248
  }, "loading"),
249
- t === "done" && /* @__PURE__ */ A(n.span, {
249
+ t === "done" && /* @__PURE__ */ j(n.span, {
250
250
  initial: { opacity: 0 },
251
251
  animate: { opacity: 1 },
252
252
  exit: { opacity: 0 },
253
253
  transition: { duration: h },
254
254
  className: H.State,
255
- children: /* @__PURE__ */ A(n.span, {
255
+ children: /* @__PURE__ */ j(n.span, {
256
256
  initial: !s && { scale: 0 },
257
257
  animate: s ? {} : { scale: [
258
258
  0,
@@ -269,14 +269,14 @@ var Me = U({
269
269
  ]
270
270
  },
271
271
  style: { display: "flex" },
272
- children: /* @__PURE__ */ A(Te, {
272
+ children: /* @__PURE__ */ j(Te, {
273
273
  size: r,
274
274
  iconSize: d
275
275
  })
276
276
  })
277
277
  }, "done")
278
278
  ]
279
- }), !s && t === "done" && /* @__PURE__ */ A(we, {
279
+ }), !s && t === "done" && /* @__PURE__ */ j(we, {
280
280
  particles: p,
281
281
  variant: "icon"
282
282
  })]
@@ -489,7 +489,7 @@ var Me = U({
489
489
  colourAt: (e) => Je[e % Je.length],
490
490
  withSpin: !0
491
491
  }), [u]);
492
- return /* @__PURE__ */ j("div", {
492
+ return /* @__PURE__ */ M("div", {
493
493
  role: "img",
494
494
  "aria-label": r ?? o.confirmed,
495
495
  className: H.Check,
@@ -499,18 +499,18 @@ var Me = U({
499
499
  height: s
500
500
  },
501
501
  children: [
502
- /* @__PURE__ */ A("span", {
502
+ /* @__PURE__ */ j("span", {
503
503
  className: H.Halo,
504
504
  style: {
505
505
  width: c,
506
506
  height: c
507
507
  }
508
508
  }),
509
- !a && /* @__PURE__ */ A(we, {
509
+ !a && /* @__PURE__ */ j(we, {
510
510
  particles: d,
511
511
  variant: "illustration"
512
512
  }),
513
- /* @__PURE__ */ A(n.div, {
513
+ /* @__PURE__ */ j(n.div, {
514
514
  initial: !a && {
515
515
  scale: 0,
516
516
  rotate: -25
@@ -533,7 +533,7 @@ var Me = U({
533
533
  ]
534
534
  },
535
535
  style: { display: "flex" },
536
- children: /* @__PURE__ */ A(Te, {
536
+ children: /* @__PURE__ */ j(Te, {
537
537
  size: c,
538
538
  iconSize: l,
539
539
  className: H.CheckBadge
@@ -557,29 +557,29 @@ var Me = U({
557
557
  width: r,
558
558
  height: r
559
559
  };
560
- return /* @__PURE__ */ j("div", {
560
+ return /* @__PURE__ */ M("div", {
561
561
  className: H.Pulse,
562
562
  style: {
563
563
  width: n,
564
564
  height: n
565
565
  },
566
566
  children: [
567
- /* @__PURE__ */ A("span", {
567
+ /* @__PURE__ */ j("span", {
568
568
  className: H.PulseRing,
569
569
  style: o
570
570
  }),
571
- /* @__PURE__ */ A("span", {
571
+ /* @__PURE__ */ j("span", {
572
572
  className: H.PulseRing,
573
573
  style: {
574
574
  ...o,
575
575
  animationDelay: "0.4s"
576
576
  }
577
577
  }),
578
- /* @__PURE__ */ A("span", {
578
+ /* @__PURE__ */ j("span", {
579
579
  className: H.PulseCentre,
580
580
  style: o
581
581
  }),
582
- /* @__PURE__ */ A(De, {
582
+ /* @__PURE__ */ j(De, {
583
583
  size: i,
584
584
  label: t ?? a.loading,
585
585
  className: H.PulseSpinner
@@ -605,7 +605,7 @@ var Me = U({
605
605
  return () => window.clearTimeout(r);
606
606
  }, [t, o]);
607
607
  let _ = Qe[r], v = l ? 0 : .35;
608
- return /* @__PURE__ */ j("div", {
608
+ return /* @__PURE__ */ M("div", {
609
609
  role: "status",
610
610
  "aria-live": "polite",
611
611
  className: H.Status,
@@ -613,29 +613,29 @@ var Me = U({
613
613
  width: _,
614
614
  height: _
615
615
  },
616
- children: [/* @__PURE__ */ A(e, {
616
+ children: [/* @__PURE__ */ j(e, {
617
617
  mode: "sync",
618
- children: f ? /* @__PURE__ */ A(n.div, {
618
+ children: f ? /* @__PURE__ */ j(n.div, {
619
619
  "aria-hidden": !0,
620
620
  initial: { opacity: 0 },
621
621
  animate: { opacity: 1 },
622
622
  exit: { opacity: 0 },
623
623
  transition: { duration: v },
624
624
  className: H.Layer,
625
- children: /* @__PURE__ */ A(Ye, {
625
+ children: /* @__PURE__ */ j(Ye, {
626
626
  size: r,
627
627
  color: a
628
628
  })
629
- }, "check") : /* @__PURE__ */ A(n.div, {
629
+ }, "check") : /* @__PURE__ */ j(n.div, {
630
630
  "aria-hidden": !0,
631
631
  initial: { opacity: 0 },
632
632
  animate: { opacity: 1 },
633
633
  exit: { opacity: 0 },
634
634
  transition: { duration: v },
635
635
  className: H.Layer,
636
- children: /* @__PURE__ */ A(Ze, { size: r })
636
+ children: /* @__PURE__ */ j(Ze, { size: r })
637
637
  }, "pulse")
638
- }), /* @__PURE__ */ A("span", {
638
+ }), /* @__PURE__ */ j("span", {
639
639
  className: H.SrOnly,
640
640
  children: f ? c ?? u.done : s ?? u.loading
641
641
  })]
@@ -670,7 +670,7 @@ function it({ loading: e = !1, disabled: t, className: n, render: r, nativeButto
670
670
  className: typeof n == "function" ? n({ disabled: c }) : n,
671
671
  onClick: c ? rt : s.onClick
672
672
  }
673
- }) || /* @__PURE__ */ A(M, {
673
+ }) || /* @__PURE__ */ j(ie, {
674
674
  ...s,
675
675
  ...u,
676
676
  ref: o,
@@ -682,7 +682,7 @@ function it({ loading: e = !1, disabled: t, className: n, render: r, nativeButto
682
682
  });
683
683
  }
684
684
  function at({ variant: e = "solid", color: t = "primary", size: n = "md", className: r, ...i }) {
685
- return /* @__PURE__ */ A(it, {
685
+ return /* @__PURE__ */ j(it, {
686
686
  ...i,
687
687
  "data-variant": e,
688
688
  "data-color": t,
@@ -693,38 +693,38 @@ function at({ variant: e = "solid", color: t = "primary", size: n = "md", classN
693
693
  //#endregion
694
694
  //#region src/components/buttons/action-button.tsx
695
695
  function ot({ children: e, className: t, size: n = "lg", iconOnly: r = !1, ...i }) {
696
- return /* @__PURE__ */ j(it, {
696
+ return /* @__PURE__ */ M(it, {
697
697
  ...i,
698
698
  "data-size": n,
699
699
  "data-icon-only": r || void 0,
700
700
  className: G(et.ActionButton, t),
701
- children: [e != null && /* @__PURE__ */ A("span", {
701
+ children: [e != null && /* @__PURE__ */ j("span", {
702
702
  className: et.Label,
703
703
  children: e
704
- }), /* @__PURE__ */ A("span", {
704
+ }), /* @__PURE__ */ j("span", {
705
705
  "aria-hidden": !0,
706
706
  className: et.Disc,
707
- children: /* @__PURE__ */ A(v, { className: et.Arrow })
707
+ children: /* @__PURE__ */ j(v, { className: et.Arrow })
708
708
  })]
709
709
  });
710
710
  }
711
711
  //#endregion
712
712
  //#region src/components/buttons/button.tsx
713
713
  function st({ startIcon: e, endIcon: t, loading: n = !1, loadingLabel: r, children: i, ...a }) {
714
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j(at, {
714
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(at, {
715
715
  ...a,
716
716
  loading: n,
717
717
  "data-start-icon": n || e != null || void 0,
718
718
  "data-end-icon": t != null || void 0,
719
719
  children: [
720
- n ? /* @__PURE__ */ A("span", {
720
+ n ? /* @__PURE__ */ j("span", {
721
721
  className: tt.Spinner,
722
722
  "aria-hidden": !0
723
723
  }) : e,
724
724
  i,
725
725
  t
726
726
  ]
727
- }), r != null && /* @__PURE__ */ A("span", {
727
+ }), r != null && /* @__PURE__ */ j("span", {
728
728
  role: "status",
729
729
  className: tt.SrOnly,
730
730
  children: n ? r : null
@@ -741,11 +741,11 @@ var ct = U({ close: {
741
741
  //#endregion
742
742
  //#region src/components/buttons/icon-button.tsx
743
743
  function lt({ loading: e = !1, className: t, children: n, ...r }) {
744
- return /* @__PURE__ */ A(at, {
744
+ return /* @__PURE__ */ j(at, {
745
745
  ...r,
746
746
  loading: e,
747
747
  className: G(tt.IconButton, t),
748
- children: e ? /* @__PURE__ */ A("span", {
748
+ children: e ? /* @__PURE__ */ j("span", {
749
749
  className: tt.Spinner,
750
750
  "aria-hidden": !0
751
751
  }) : n
@@ -755,12 +755,12 @@ function lt({ loading: e = !1, className: t, children: n, ...r }) {
755
755
  //#region src/components/buttons/close-button.tsx
756
756
  function ut({ label: e, variant: t = "ghost", color: n = "secondary", ...r }) {
757
757
  let i = ct();
758
- return /* @__PURE__ */ A(lt, {
758
+ return /* @__PURE__ */ j(lt, {
759
759
  ...r,
760
760
  variant: t,
761
761
  color: n,
762
762
  "aria-label": e ?? i.close,
763
- children: /* @__PURE__ */ A(ie, { "aria-hidden": !0 })
763
+ children: /* @__PURE__ */ j(re, { "aria-hidden": !0 })
764
764
  });
765
765
  }
766
766
  //#endregion
@@ -790,7 +790,7 @@ var pt = U({ download: {
790
790
  u(!1);
791
791
  }
792
792
  };
793
- return /* @__PURE__ */ A(st, {
793
+ return /* @__PURE__ */ j(st, {
794
794
  ...s,
795
795
  loading: d,
796
796
  onClick: f,
@@ -800,8 +800,8 @@ var pt = U({ download: {
800
800
  //#endregion
801
801
  //#region src/components/buttons/skip-link.tsx
802
802
  function gt({ href: e, children: t, className: n, style: r }) {
803
- return /* @__PURE__ */ A(at, {
804
- render: /* @__PURE__ */ A("a", { href: e }),
803
+ return /* @__PURE__ */ j(at, {
804
+ render: /* @__PURE__ */ j("a", { href: e }),
805
805
  color: "secondary",
806
806
  className: G(ht.SkipLink, n),
807
807
  style: r,
@@ -846,21 +846,21 @@ var xt = {
846
846
  DataField: "_DataField_14g0w_1",
847
847
  Label: "_Label_14g0w_16",
848
848
  Value: "_Value_14g0w_21"
849
- }, St = (e) => typeof e == "string" || typeof e == "number", Ct = ({ label: e, value: t, divider: n = !0, className: r, ...i }) => /* @__PURE__ */ j("div", {
849
+ }, St = (e) => typeof e == "string" || typeof e == "number", Ct = ({ label: e, value: t, divider: n = !0, className: r, ...i }) => /* @__PURE__ */ M("div", {
850
850
  ...i,
851
851
  className: [xt.DataField, r].filter(Boolean).join(" "),
852
852
  "data-divider": n || void 0,
853
- children: [/* @__PURE__ */ A("div", {
853
+ children: [/* @__PURE__ */ j("div", {
854
854
  className: xt.Label,
855
- children: St(e) ? /* @__PURE__ */ A(bt, {
856
- render: /* @__PURE__ */ A("span", {}),
855
+ children: St(e) ? /* @__PURE__ */ j(bt, {
856
+ render: /* @__PURE__ */ j("span", {}),
857
857
  color: "text.subtle",
858
858
  children: e
859
859
  }) : e
860
- }), /* @__PURE__ */ A("div", {
860
+ }), /* @__PURE__ */ j("div", {
861
861
  className: xt.Value,
862
- children: St(t) ? /* @__PURE__ */ A(bt, {
863
- render: /* @__PURE__ */ A("span", {}),
862
+ children: St(t) ? /* @__PURE__ */ j(bt, {
863
+ render: /* @__PURE__ */ j("span", {}),
864
864
  fontWeight: "medium",
865
865
  children: t
866
866
  }) : t
@@ -908,7 +908,7 @@ var Dt = {
908
908
  //#region src/components/data-display/chip.tsx
909
909
  function kt({ label: e, color: t = "primary", variant: n = "filled", size: r = "md", icon: i, onDelete: a, deleteLabel: o, disabled: s = !1, className: c, tabIndex: l, ...u }) {
910
910
  let d = Ot(), f = o ?? (typeof e == "string" ? `${d.remove} ${e}` : d.remove);
911
- return /* @__PURE__ */ j("span", {
911
+ return /* @__PURE__ */ M("span", {
912
912
  ...u,
913
913
  tabIndex: l,
914
914
  className: [Dt.Chip, c].filter(Boolean).join(" "),
@@ -917,22 +917,22 @@ function kt({ label: e, color: t = "primary", variant: n = "filled", size: r = "
917
917
  "data-size": r,
918
918
  "data-disabled": s ? "" : void 0,
919
919
  children: [
920
- i != null && /* @__PURE__ */ A("span", {
920
+ i != null && /* @__PURE__ */ j("span", {
921
921
  className: Dt.Icon,
922
922
  children: i
923
923
  }),
924
- /* @__PURE__ */ A("span", {
924
+ /* @__PURE__ */ j("span", {
925
925
  className: Dt.Label,
926
926
  children: e
927
927
  }),
928
- a && /* @__PURE__ */ A("button", {
928
+ a && /* @__PURE__ */ j("button", {
929
929
  type: "button",
930
930
  "aria-label": f,
931
931
  className: Dt.Delete,
932
932
  disabled: s,
933
933
  tabIndex: l === -1 ? -1 : void 0,
934
934
  onClick: a,
935
- children: /* @__PURE__ */ A(w, { "aria-hidden": !0 })
935
+ children: /* @__PURE__ */ j(w, { "aria-hidden": !0 })
936
936
  })
937
937
  ]
938
938
  });
@@ -953,17 +953,17 @@ var At = {
953
953
  };
954
954
  }, Nt = "a[href], button:not([disabled]), input, select, textarea, [tabindex]:not([tabindex=\"-1\"])", Pt = 14, Ft = 100;
955
955
  function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "light", children: i, ariaLabel: a, triggerIcon: o, triggerVariant: s = "icon", className: c, style: l }) {
956
- let [u, d] = g(!1), p = f(), m = f(), h = /* @__PURE__ */ A("button", {
956
+ let [u, d] = g(!1), p = f(), m = f(), h = /* @__PURE__ */ j("button", {
957
957
  type: "button",
958
958
  "aria-label": a,
959
959
  className: [At.Trigger, c].filter(Boolean).join(" "),
960
960
  style: l,
961
961
  "data-variant": s,
962
- children: o ?? /* @__PURE__ */ A("span", {
962
+ children: o ?? /* @__PURE__ */ j("span", {
963
963
  "aria-hidden": !0,
964
964
  className: At.Mark
965
965
  })
966
- }), _ = i ?? h, v = (e) => i ? e : /* @__PURE__ */ A("span", {
966
+ }), _ = i ?? h, v = (e) => i ? e : /* @__PURE__ */ j("span", {
967
967
  className: At.TriggerBox,
968
968
  children: e
969
969
  });
@@ -974,24 +974,24 @@ function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "li
974
974
  let t = e.currentTarget.querySelectorAll(Nt), n = t[t.length - 1];
975
975
  (n == null || e.target === n) && (e.preventDefault(), d(!1));
976
976
  };
977
- return /* @__PURE__ */ j(P.Root, {
977
+ return /* @__PURE__ */ M(P.Root, {
978
978
  open: u,
979
979
  onOpenChange: d,
980
- children: [v(/* @__PURE__ */ A(P.Trigger, {
980
+ children: [v(/* @__PURE__ */ j(P.Trigger, {
981
981
  render: _,
982
982
  id: t,
983
983
  openOnHover: !0,
984
984
  delay: Ft
985
- })), /* @__PURE__ */ A(P.Portal, { children: /* @__PURE__ */ A(P.Positioner, {
985
+ })), /* @__PURE__ */ j(P.Portal, { children: /* @__PURE__ */ j(P.Positioner, {
986
986
  ...Mt(n),
987
987
  className: At.Positioner,
988
- children: /* @__PURE__ */ j(P.Popup, {
988
+ children: /* @__PURE__ */ M(P.Popup, {
989
989
  "aria-labelledby": t,
990
990
  onKeyDown: a,
991
991
  className: At.Popup,
992
992
  "data-surface": r,
993
- children: [/* @__PURE__ */ A(P.Arrow, { className: At.Arrow }), /* @__PURE__ */ A(P.Description, {
994
- render: /* @__PURE__ */ A("div", {}),
993
+ children: [/* @__PURE__ */ j(P.Arrow, { className: At.Arrow }), /* @__PURE__ */ j(P.Description, {
994
+ render: /* @__PURE__ */ j("div", {}),
995
995
  children: e
996
996
  })]
997
997
  })
@@ -999,22 +999,22 @@ function It({ title: e, openOn: t, placement: n = "top", surfaceVariant: r = "li
999
999
  });
1000
1000
  }
1001
1001
  let y = [i?.props["aria-describedby"], u && m].filter(Boolean).join(" ") || void 0;
1002
- return /* @__PURE__ */ j(F.Root, {
1002
+ return /* @__PURE__ */ M(F.Root, {
1003
1003
  open: u,
1004
1004
  onOpenChange: d,
1005
- children: [v(/* @__PURE__ */ A(F.Trigger, {
1005
+ children: [v(/* @__PURE__ */ j(F.Trigger, {
1006
1006
  render: _,
1007
1007
  delay: Ft,
1008
1008
  "aria-describedby": y
1009
- })), /* @__PURE__ */ A(F.Portal, { children: /* @__PURE__ */ A(F.Positioner, {
1009
+ })), /* @__PURE__ */ j(F.Portal, { children: /* @__PURE__ */ j(F.Positioner, {
1010
1010
  ...Mt(n),
1011
1011
  className: At.Positioner,
1012
- children: /* @__PURE__ */ j(F.Popup, {
1012
+ children: /* @__PURE__ */ M(F.Popup, {
1013
1013
  id: m,
1014
1014
  role: "tooltip",
1015
1015
  className: At.Popup,
1016
1016
  "data-surface": r,
1017
- children: [/* @__PURE__ */ A(F.Arrow, { className: At.Arrow }), e]
1017
+ children: [/* @__PURE__ */ j(F.Arrow, { className: At.Arrow }), e]
1018
1018
  })
1019
1019
  }) })]
1020
1020
  });
@@ -1027,15 +1027,15 @@ var Lt = {
1027
1027
  //#endregion
1028
1028
  //#region src/components/data-display/avatar.tsx
1029
1029
  function Rt({ src: e, alt: t, imageRender: n, className: r, ...i }) {
1030
- return /* @__PURE__ */ j(ae.Root, {
1030
+ return /* @__PURE__ */ M(ae.Root, {
1031
1031
  ...i,
1032
1032
  className: G(Lt.Avatar, r),
1033
- children: [e != null && /* @__PURE__ */ A(ae.Image, {
1033
+ children: [e != null && /* @__PURE__ */ j(ae.Image, {
1034
1034
  src: e,
1035
1035
  alt: t,
1036
1036
  render: n,
1037
1037
  className: Lt.Image
1038
- }), /* @__PURE__ */ A(ae.Fallback, {
1038
+ }), /* @__PURE__ */ j(ae.Fallback, {
1039
1039
  className: Lt.Fallback,
1040
1040
  role: t ? "img" : void 0,
1041
1041
  "aria-label": t || void 0,
@@ -1054,17 +1054,17 @@ var zt = {
1054
1054
  } }), Vt = "M9.07088 0.612344C9.41462 -0.204115 10.5854 -0.204114 10.9291 0.612346L12.9579 5.43123C13.1029 5.77543 13.4306 6.01061 13.8067 6.0404L19.0727 6.45748C19.9649 6.52814 20.3267 7.62813 19.6469 8.2034L15.6348 11.5987C15.3482 11.8412 15.223 12.2218 15.3106 12.5843L16.5363 17.661C16.744 18.5211 15.7969 19.201 15.033 18.7401L10.5245 16.0196C10.2025 15.8252 9.7975 15.8252 9.47548 16.0196L4.96699 18.7401C4.20311 19.201 3.25596 18.5211 3.46363 17.661L4.68942 12.5843C4.77698 12.2218 4.65182 11.8412 4.36526 11.5987L0.353062 8.2034C-0.326718 7.62813 0.0350679 6.52814 0.927291 6.45748L6.19336 6.0404C6.5695 6.01061 6.89716 5.77543 7.04207 5.43123L9.07088 0.612344Z";
1055
1055
  function Ht({ rating: e, max: t = 5, className: n, ...r }) {
1056
1056
  let i = Bt(), a = Math.max(0, Math.round(t)), o = Math.min(Math.max(0, Math.round(e)), a);
1057
- return /* @__PURE__ */ A("span", {
1057
+ return /* @__PURE__ */ j("span", {
1058
1058
  role: "img",
1059
1059
  "aria-label": i.label.replace("{rating}", String(o)).replace("{max}", String(a)),
1060
1060
  ...r,
1061
1061
  className: [zt.StarRating, n].filter(Boolean).join(" "),
1062
- children: Array.from({ length: o }, (e, t) => /* @__PURE__ */ A("svg", {
1062
+ children: Array.from({ length: o }, (e, t) => /* @__PURE__ */ j("svg", {
1063
1063
  className: zt.Star,
1064
1064
  viewBox: "0 0 20 19",
1065
1065
  "aria-hidden": !0,
1066
1066
  focusable: "false",
1067
- children: /* @__PURE__ */ A("path", { d: Vt })
1067
+ children: /* @__PURE__ */ j("path", { d: Vt })
1068
1068
  }, t))
1069
1069
  });
1070
1070
  }
@@ -1093,7 +1093,7 @@ function Gt({ render: e, ref: t, className: n, size: r, ...i }) {
1093
1093
  className: G(Ut.Table, n)({})
1094
1094
  }
1095
1095
  });
1096
- return /* @__PURE__ */ A("div", {
1096
+ return /* @__PURE__ */ j("div", {
1097
1097
  ref: a,
1098
1098
  className: Ut.Scroll,
1099
1099
  ...o && {
@@ -1112,7 +1112,7 @@ function Kt({ render: e, ref: t, ...n }) {
1112
1112
  defaultTagName: "thead",
1113
1113
  props: n
1114
1114
  });
1115
- return /* @__PURE__ */ A(Wt.Provider, {
1115
+ return /* @__PURE__ */ j(Wt.Provider, {
1116
1116
  value: "head",
1117
1117
  children: r
1118
1118
  });
@@ -1124,7 +1124,7 @@ function qt({ render: e, ref: t, ...n }) {
1124
1124
  defaultTagName: "tbody",
1125
1125
  props: n
1126
1126
  });
1127
- return /* @__PURE__ */ A(Wt.Provider, {
1127
+ return /* @__PURE__ */ j(Wt.Provider, {
1128
1128
  value: "body",
1129
1129
  children: r
1130
1130
  });
@@ -1197,10 +1197,10 @@ function en({ src: e, alt: t, imageRender: n, action: r, className: i, ...a }) {
1197
1197
  className: $t.Image
1198
1198
  }
1199
1199
  });
1200
- return /* @__PURE__ */ j("div", {
1200
+ return /* @__PURE__ */ M("div", {
1201
1201
  ...a,
1202
1202
  className: [$t.FeaturedImage, i].filter(Boolean).join(" "),
1203
- children: [o, r != null && /* @__PURE__ */ A("div", {
1203
+ children: [o, r != null && /* @__PURE__ */ j("div", {
1204
1204
  className: $t.Action,
1205
1205
  children: r
1206
1206
  })]
@@ -1239,10 +1239,10 @@ function an({ src: e, poster: t, className: n, ...r }) {
1239
1239
  let e = a.current;
1240
1240
  e && (e.paused ? e.play().catch(() => {}) : e.pause());
1241
1241
  };
1242
- return /* @__PURE__ */ j("div", {
1242
+ return /* @__PURE__ */ M("div", {
1243
1243
  ...r,
1244
1244
  className: [tn.VideoPlayer, n].filter(Boolean).join(" "),
1245
- children: [/* @__PURE__ */ A("video", {
1245
+ children: [/* @__PURE__ */ j("video", {
1246
1246
  ref: a,
1247
1247
  className: tn.Video,
1248
1248
  src: e,
@@ -1253,12 +1253,12 @@ function an({ src: e, poster: t, className: n, ...r }) {
1253
1253
  "aria-hidden": !0,
1254
1254
  onPlay: () => s(!0),
1255
1255
  onPause: () => s(!1)
1256
- }), /* @__PURE__ */ A(lt, {
1256
+ }), /* @__PURE__ */ j(lt, {
1257
1257
  variant: "elevated",
1258
1258
  color: "secondary",
1259
1259
  "aria-label": o ? i.pause : i.play,
1260
1260
  onClick: c,
1261
- children: A(o ? D : O, { "aria-hidden": !0 })
1261
+ children: j(o ? D : O, { "aria-hidden": !0 })
1262
1262
  })]
1263
1263
  });
1264
1264
  }
@@ -1269,12 +1269,12 @@ var on = {
1269
1269
  //#endregion
1270
1270
  //#region src/components/data-display/arrow-circle.tsx
1271
1271
  function sn({ variant: e = "outline", size: t = "lg", className: n }) {
1272
- return /* @__PURE__ */ A("span", {
1272
+ return /* @__PURE__ */ j("span", {
1273
1273
  "aria-hidden": !0,
1274
1274
  "data-variant": e,
1275
1275
  "data-size": t,
1276
1276
  className: [on.ArrowCircle, n].filter(Boolean).join(" "),
1277
- children: /* @__PURE__ */ A(v, { className: on.Arrow })
1277
+ children: /* @__PURE__ */ j(v, { className: on.Arrow })
1278
1278
  });
1279
1279
  }
1280
1280
  var cn = {
@@ -1301,7 +1301,7 @@ function ln({ title: e, titleRender: t, surface: n = "base", render: r, ref: i,
1301
1301
  ...o,
1302
1302
  "data-surface": n,
1303
1303
  className: G(cn.LinkCard, a)({}),
1304
- children: /* @__PURE__ */ j(k, { children: [s, /* @__PURE__ */ A(sn, { className: cn.Arrow })] })
1304
+ children: /* @__PURE__ */ M(A, { children: [s, /* @__PURE__ */ j(sn, { className: cn.Arrow })] })
1305
1305
  }
1306
1306
  });
1307
1307
  }
@@ -1354,27 +1354,27 @@ function fn({ title: e, titleRender: t, text: n, src: r, alt: i, imageRender: a,
1354
1354
  "data-has-image": C != null || void 0,
1355
1355
  "data-link": v || void 0,
1356
1356
  className: G(un.MediaCard, h)({}),
1357
- children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
1357
+ children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("div", {
1358
1358
  className: un.Content,
1359
1359
  children: [
1360
- /* @__PURE__ */ j("div", {
1360
+ /* @__PURE__ */ M("div", {
1361
1361
  className: un.Text,
1362
- children: [S, n != null && /* @__PURE__ */ A("p", {
1362
+ children: [S, n != null && /* @__PURE__ */ j("p", {
1363
1363
  className: un.Description,
1364
1364
  id: v ? b : void 0,
1365
1365
  children: n
1366
1366
  })]
1367
1367
  }),
1368
- !v && u != null && /* @__PURE__ */ A("div", {
1368
+ !v && u != null && /* @__PURE__ */ j("div", {
1369
1369
  className: un.Action,
1370
1370
  children: u
1371
1371
  }),
1372
- d != null && /* @__PURE__ */ A("p", {
1372
+ d != null && /* @__PURE__ */ j("p", {
1373
1373
  className: un.Price,
1374
1374
  children: d
1375
1375
  })
1376
1376
  ]
1377
- }), C != null && /* @__PURE__ */ A("div", {
1377
+ }), C != null && /* @__PURE__ */ j("div", {
1378
1378
  className: un.Media,
1379
1379
  children: C
1380
1380
  })] })
@@ -1424,15 +1424,15 @@ function mn({ title: e, titleRender: t, text: n, icon: r, src: i, alt: a, imageR
1424
1424
  "data-surface": c,
1425
1425
  "data-link": h || void 0,
1426
1426
  className: G(pn.ServiceCard, d)({}),
1427
- children: /* @__PURE__ */ j(k, { children: [y, /* @__PURE__ */ j("div", {
1427
+ children: /* @__PURE__ */ M(A, { children: [y, /* @__PURE__ */ M("div", {
1428
1428
  className: pn.Content,
1429
1429
  children: [
1430
- r != null && /* @__PURE__ */ A("span", {
1430
+ r != null && /* @__PURE__ */ j("span", {
1431
1431
  className: pn.Icon,
1432
1432
  children: r
1433
1433
  }),
1434
1434
  v,
1435
- n != null && /* @__PURE__ */ A("p", {
1435
+ n != null && /* @__PURE__ */ j("p", {
1436
1436
  className: pn.Text,
1437
1437
  id: h ? _ : void 0,
1438
1438
  children: n
@@ -1455,28 +1455,28 @@ var hn = {
1455
1455
  //#endregion
1456
1456
  //#region src/components/data-display/testimonial-card.tsx
1457
1457
  function gn({ quote: e, name: t, meta: n, rating: r, avatarSrc: i, avatarImageRender: a, className: o, ...s }) {
1458
- return /* @__PURE__ */ j("figure", {
1458
+ return /* @__PURE__ */ M("figure", {
1459
1459
  ...s,
1460
1460
  className: [hn.TestimonialCard, o].filter(Boolean).join(" "),
1461
- children: [/* @__PURE__ */ j("div", {
1461
+ children: [/* @__PURE__ */ M("div", {
1462
1462
  className: hn.Top,
1463
- children: [r != null && /* @__PURE__ */ A(Ht, { rating: r }), /* @__PURE__ */ A("blockquote", {
1463
+ children: [r != null && /* @__PURE__ */ j(Ht, { rating: r }), /* @__PURE__ */ j("blockquote", {
1464
1464
  className: hn.Quote,
1465
- children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ A("p", { children: e }) : e
1465
+ children: typeof e == "string" || typeof e == "number" ? /* @__PURE__ */ j("p", { children: e }) : e
1466
1466
  })]
1467
- }), /* @__PURE__ */ j("figcaption", {
1467
+ }), /* @__PURE__ */ M("figcaption", {
1468
1468
  className: hn.Author,
1469
- children: [/* @__PURE__ */ A(Rt, {
1469
+ children: [/* @__PURE__ */ j(Rt, {
1470
1470
  src: i,
1471
1471
  alt: "",
1472
1472
  imageRender: a,
1473
1473
  className: hn.Avatar
1474
- }), /* @__PURE__ */ j("span", {
1474
+ }), /* @__PURE__ */ M("span", {
1475
1475
  className: hn.Person,
1476
- children: [/* @__PURE__ */ A("span", {
1476
+ children: [/* @__PURE__ */ j("span", {
1477
1477
  className: hn.Name,
1478
1478
  children: t
1479
- }), n != null && /* @__PURE__ */ A("span", {
1479
+ }), n != null && /* @__PURE__ */ j("span", {
1480
1480
  className: hn.Meta,
1481
1481
  children: n
1482
1482
  })]
@@ -1523,19 +1523,19 @@ function vn({ title: e, titleRender: t, excerpt: n, meta: r, src: i, alt: a, ima
1523
1523
  ...d,
1524
1524
  "data-variant": s,
1525
1525
  className: G(_n.ArticleCard, u)({}),
1526
- children: /* @__PURE__ */ j(k, { children: [b, /* @__PURE__ */ j("div", {
1526
+ children: /* @__PURE__ */ M(A, { children: [b, /* @__PURE__ */ M("div", {
1527
1527
  className: _n.Content,
1528
1528
  children: [
1529
1529
  y,
1530
- n != null && /* @__PURE__ */ A("p", {
1530
+ n != null && /* @__PURE__ */ j("p", {
1531
1531
  className: _n.Excerpt,
1532
1532
  id: h,
1533
1533
  children: n
1534
1534
  }),
1535
- _ && /* @__PURE__ */ A("span", {
1535
+ _ && /* @__PURE__ */ j("span", {
1536
1536
  className: _n.Meta,
1537
1537
  id: g,
1538
- children: r.map((e, t) => /* @__PURE__ */ A(kt, {
1538
+ children: r.map((e, t) => /* @__PURE__ */ j(kt, {
1539
1539
  label: e,
1540
1540
  color: "muted",
1541
1541
  size: "lg"
@@ -1573,10 +1573,10 @@ function bn({ src: e, alt: t, imageRender: n, render: r, ref: i, className: a, c
1573
1573
  ...s,
1574
1574
  "data-has-logo": c != null || void 0,
1575
1575
  className: G(yn.PartnerRow, a)({}),
1576
- children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("div", {
1576
+ children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("div", {
1577
1577
  className: yn.Content,
1578
1578
  children: o
1579
- }), c != null && /* @__PURE__ */ A("div", {
1579
+ }), c != null && /* @__PURE__ */ j("div", {
1580
1580
  className: yn.Tile,
1581
1581
  children: c
1582
1582
  })] })
@@ -1592,19 +1592,19 @@ var K = {
1592
1592
  Action: "_Action_q79pt_62",
1593
1593
  Close: "_Close_q79pt_110"
1594
1594
  }, xn = ["primary", "neutral"], Sn = {
1595
- success: /* @__PURE__ */ A(C, {
1595
+ success: /* @__PURE__ */ j(C, {
1596
1596
  size: "1em",
1597
1597
  "aria-hidden": !0
1598
1598
  }),
1599
- info: /* @__PURE__ */ A(T, {
1599
+ info: /* @__PURE__ */ j(T, {
1600
1600
  size: "1em",
1601
1601
  "aria-hidden": !0
1602
1602
  }),
1603
- warning: /* @__PURE__ */ A(re, {
1603
+ warning: /* @__PURE__ */ j(ne, {
1604
1604
  size: "1em",
1605
1605
  "aria-hidden": !0
1606
1606
  }),
1607
- error: /* @__PURE__ */ A(S, {
1607
+ error: /* @__PURE__ */ j(S, {
1608
1608
  size: "1em",
1609
1609
  "aria-hidden": !0
1610
1610
  })
@@ -1616,7 +1616,7 @@ function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", ic
1616
1616
  "data-color": t ?? d,
1617
1617
  "data-variant": n,
1618
1618
  "data-size": r
1619
- }, p = i === void 0 ? Sn[d] : i, m = a ?? (o && /* @__PURE__ */ A(ut, {
1619
+ }, p = i === void 0 ? Sn[d] : i, m = a ?? (o && /* @__PURE__ */ j(ut, {
1620
1620
  size: "sm",
1621
1621
  label: s,
1622
1622
  onClick: o,
@@ -1624,16 +1624,16 @@ function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", ic
1624
1624
  }));
1625
1625
  return {
1626
1626
  rootProps: f,
1627
- content: /* @__PURE__ */ j(k, { children: [
1628
- p !== !1 && p != null && /* @__PURE__ */ A("div", {
1627
+ content: /* @__PURE__ */ M(A, { children: [
1628
+ p !== !1 && p != null && /* @__PURE__ */ j("div", {
1629
1629
  className: K.Icon,
1630
1630
  children: p
1631
1631
  }),
1632
- /* @__PURE__ */ A("div", {
1632
+ /* @__PURE__ */ j("div", {
1633
1633
  className: K.Message,
1634
1634
  children: l
1635
1635
  }),
1636
- m && /* @__PURE__ */ A("div", {
1636
+ m && /* @__PURE__ */ j("div", {
1637
1637
  className: K.Action,
1638
1638
  children: m
1639
1639
  })
@@ -1644,7 +1644,7 @@ function wn({ severity: e, color: t, variant: n = "standard", size: r = "lg", ic
1644
1644
  //#region src/components/feedback/alert.tsx
1645
1645
  function Tn({ className: e, ...t }) {
1646
1646
  let { rootProps: n, content: r } = wn(t);
1647
- return /* @__PURE__ */ A("div", {
1647
+ return /* @__PURE__ */ j("div", {
1648
1648
  ...n,
1649
1649
  className: [
1650
1650
  K.Alert,
@@ -1655,7 +1655,7 @@ function Tn({ className: e, ...t }) {
1655
1655
  });
1656
1656
  }
1657
1657
  function En({ className: e, ...t }) {
1658
- return /* @__PURE__ */ A("div", {
1658
+ return /* @__PURE__ */ j("div", {
1659
1659
  ...t,
1660
1660
  className: [K.Title, e].filter(Boolean).join(" ")
1661
1661
  });
@@ -1686,19 +1686,19 @@ var Dn = {
1686
1686
  Viewport: () => Nn
1687
1687
  }), kn = I.Root, An = I.Trigger, jn = I.Portal;
1688
1688
  function Mn({ className: e, ...t }) {
1689
- return /* @__PURE__ */ A(I.Backdrop, {
1689
+ return /* @__PURE__ */ j(I.Backdrop, {
1690
1690
  ...t,
1691
1691
  className: G(Dn.Backdrop, e)
1692
1692
  });
1693
1693
  }
1694
1694
  function Nn({ className: e, ...t }) {
1695
- return /* @__PURE__ */ A(I.Viewport, {
1695
+ return /* @__PURE__ */ j(I.Viewport, {
1696
1696
  ...t,
1697
1697
  className: G(Dn.Viewport, e)
1698
1698
  });
1699
1699
  }
1700
1700
  function Pn({ size: e = "sm", fullScreenOnMobile: t, className: n, ...r }) {
1701
- return /* @__PURE__ */ A(I.Popup, {
1701
+ return /* @__PURE__ */ j(I.Popup, {
1702
1702
  ...r,
1703
1703
  "data-size": e,
1704
1704
  "data-full-screen-on-mobile": t || void 0,
@@ -1706,31 +1706,31 @@ function Pn({ size: e = "sm", fullScreenOnMobile: t, className: n, ...r }) {
1706
1706
  });
1707
1707
  }
1708
1708
  function Fn({ className: e, ...t }) {
1709
- return /* @__PURE__ */ A("div", {
1709
+ return /* @__PURE__ */ j("div", {
1710
1710
  ...t,
1711
1711
  className: [Dn.Header, e].filter(Boolean).join(" ")
1712
1712
  });
1713
1713
  }
1714
1714
  function In({ className: e, ...t }) {
1715
- return /* @__PURE__ */ A(I.Title, {
1715
+ return /* @__PURE__ */ j(I.Title, {
1716
1716
  ...t,
1717
1717
  className: G(Dn.Title, e)
1718
1718
  });
1719
1719
  }
1720
1720
  function Ln({ className: e, ...t }) {
1721
- return /* @__PURE__ */ A(I.Description, {
1721
+ return /* @__PURE__ */ j(I.Description, {
1722
1722
  ...t,
1723
1723
  className: G(Dn.Description, e)
1724
1724
  });
1725
1725
  }
1726
1726
  function Rn({ className: e, ...t }) {
1727
- return /* @__PURE__ */ A("div", {
1727
+ return /* @__PURE__ */ j("div", {
1728
1728
  ...t,
1729
1729
  className: [Dn.Content, e].filter(Boolean).join(" ")
1730
1730
  });
1731
1731
  }
1732
1732
  function zn({ className: e, ...t }) {
1733
- return /* @__PURE__ */ A("div", {
1733
+ return /* @__PURE__ */ j("div", {
1734
1734
  ...t,
1735
1735
  className: [Dn.Footer, e].filter(Boolean).join(" ")
1736
1736
  });
@@ -1738,11 +1738,11 @@ function zn({ className: e, ...t }) {
1738
1738
  var Bn = I.Close;
1739
1739
  function Vn({ label: e, className: t, ...n }) {
1740
1740
  let r = ct();
1741
- return /* @__PURE__ */ A(I.Close, {
1741
+ return /* @__PURE__ */ j(I.Close, {
1742
1742
  ...n,
1743
1743
  "aria-label": e ?? r.close,
1744
1744
  className: G(Dn.CloseButton, t),
1745
- children: /* @__PURE__ */ A(ie, {
1745
+ children: /* @__PURE__ */ j(re, {
1746
1746
  size: 20,
1747
1747
  "aria-hidden": !0
1748
1748
  })
@@ -1779,57 +1779,57 @@ var Hn = {
1779
1779
  bottom: "down"
1780
1780
  };
1781
1781
  function Gn({ side: e = "right", ...t }) {
1782
- return /* @__PURE__ */ A(L.Root, {
1782
+ return /* @__PURE__ */ j(L.Root, {
1783
1783
  ...t,
1784
1784
  swipeDirection: Wn[e]
1785
1785
  });
1786
1786
  }
1787
1787
  var Kn = L.Trigger, qn = L.Portal;
1788
1788
  function Jn({ className: e, ...t }) {
1789
- return /* @__PURE__ */ A(L.Backdrop, {
1789
+ return /* @__PURE__ */ j(L.Backdrop, {
1790
1790
  ...t,
1791
1791
  className: G(Hn.Backdrop, e)
1792
1792
  });
1793
1793
  }
1794
1794
  function Yn({ className: e, ...t }) {
1795
- return /* @__PURE__ */ A(L.Viewport, {
1795
+ return /* @__PURE__ */ j(L.Viewport, {
1796
1796
  ...t,
1797
1797
  className: G(Hn.Viewport, e)
1798
1798
  });
1799
1799
  }
1800
1800
  function Xn({ className: e, ...t }) {
1801
- return /* @__PURE__ */ A(L.Popup, {
1801
+ return /* @__PURE__ */ j(L.Popup, {
1802
1802
  ...t,
1803
1803
  className: G(Hn.Popup, e)
1804
1804
  });
1805
1805
  }
1806
1806
  function Zn({ className: e, ...t }) {
1807
- return /* @__PURE__ */ A("div", {
1807
+ return /* @__PURE__ */ j("div", {
1808
1808
  ...t,
1809
1809
  "aria-hidden": !0,
1810
1810
  className: [Hn.Handle, e].filter(Boolean).join(" ")
1811
1811
  });
1812
1812
  }
1813
1813
  function Qn({ className: e, ...t }) {
1814
- return /* @__PURE__ */ A("div", {
1814
+ return /* @__PURE__ */ j("div", {
1815
1815
  ...t,
1816
1816
  className: [Hn.Header, e].filter(Boolean).join(" ")
1817
1817
  });
1818
1818
  }
1819
1819
  function $n({ className: e, ...t }) {
1820
- return /* @__PURE__ */ A(L.Title, {
1820
+ return /* @__PURE__ */ j(L.Title, {
1821
1821
  ...t,
1822
1822
  className: G(Hn.Title, e)
1823
1823
  });
1824
1824
  }
1825
1825
  function er({ className: e, ...t }) {
1826
- return /* @__PURE__ */ A(L.Description, {
1826
+ return /* @__PURE__ */ j(L.Description, {
1827
1827
  ...t,
1828
1828
  className: G(Hn.Description, e)
1829
1829
  });
1830
1830
  }
1831
1831
  function tr({ className: e, ...t }) {
1832
- return /* @__PURE__ */ A(L.Content, {
1832
+ return /* @__PURE__ */ j(L.Content, {
1833
1833
  ...t,
1834
1834
  className: G(Hn.Content, e)
1835
1835
  });
@@ -1837,11 +1837,11 @@ function tr({ className: e, ...t }) {
1837
1837
  var nr = L.Close;
1838
1838
  function rr({ label: e, className: t, ...n }) {
1839
1839
  let r = ct();
1840
- return /* @__PURE__ */ A(L.Close, {
1840
+ return /* @__PURE__ */ j(L.Close, {
1841
1841
  ...n,
1842
1842
  "aria-label": e ?? r.close,
1843
1843
  className: G(Hn.CloseButton, t),
1844
- children: /* @__PURE__ */ A(ie, {
1844
+ children: /* @__PURE__ */ j(re, {
1845
1845
  size: 20,
1846
1846
  "aria-hidden": !0
1847
1847
  })
@@ -1864,11 +1864,11 @@ function ar({ size: e = "lg", render: t, className: n, ...r }) {
1864
1864
  //#region src/components/feedback/global-alert.tsx
1865
1865
  function or({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1866
1866
  let { rootProps: i, content: a } = wn(r);
1867
- return /* @__PURE__ */ A("div", {
1867
+ return /* @__PURE__ */ j("div", {
1868
1868
  ...i,
1869
1869
  "data-global": "",
1870
1870
  className: [K.Alert, t].filter(Boolean).join(" "),
1871
- children: /* @__PURE__ */ A(ar, {
1871
+ children: /* @__PURE__ */ j(ar, {
1872
1872
  className: [K.Layout, n].filter(Boolean).join(" "),
1873
1873
  "data-fluid": e || void 0,
1874
1874
  children: a
@@ -1878,12 +1878,12 @@ function or({ fluid: e = !1, className: t, innerClassName: n, ...r }) {
1878
1878
  //#endregion
1879
1879
  //#region src/components/feedback/simple-dialog.tsx
1880
1880
  function sr({ title: e, description: t, children: n, closeLabel: r, size: i, fullScreenOnMobile: a, hideCloseButton: o, ...s }) {
1881
- return /* @__PURE__ */ A(kn, {
1881
+ return /* @__PURE__ */ j(kn, {
1882
1882
  ...s,
1883
- children: /* @__PURE__ */ j(jn, { children: [/* @__PURE__ */ A(Mn, {}), /* @__PURE__ */ A(Nn, { children: /* @__PURE__ */ j(Pn, {
1883
+ children: /* @__PURE__ */ M(jn, { children: [/* @__PURE__ */ j(Mn, {}), /* @__PURE__ */ j(Nn, { children: /* @__PURE__ */ M(Pn, {
1884
1884
  size: i,
1885
1885
  fullScreenOnMobile: a,
1886
- children: [/* @__PURE__ */ j(Fn, { children: [/* @__PURE__ */ A(In, { children: e }), !o && /* @__PURE__ */ A(Vn, { label: r })] }), /* @__PURE__ */ j(Rn, { children: [t != null && /* @__PURE__ */ A(Ln, {
1886
+ children: [/* @__PURE__ */ M(Fn, { children: [/* @__PURE__ */ j(In, { children: e }), !o && /* @__PURE__ */ j(Vn, { label: r })] }), /* @__PURE__ */ M(Rn, { children: [t != null && /* @__PURE__ */ j(Ln, {
1887
1887
  "data-last": n == null || void 0,
1888
1888
  children: t
1889
1889
  }), n] })]
@@ -1893,17 +1893,17 @@ function sr({ title: e, description: t, children: n, closeLabel: r, size: i, ful
1893
1893
  //#endregion
1894
1894
  //#region src/components/feedback/simple-drawer.tsx
1895
1895
  function cr({ title: e, description: t, children: n, closeLabel: r, side: i = "right", ...a }) {
1896
- return /* @__PURE__ */ A(Gn, {
1896
+ return /* @__PURE__ */ j(Gn, {
1897
1897
  ...a,
1898
1898
  side: i,
1899
- children: /* @__PURE__ */ j(qn, { children: [/* @__PURE__ */ A(Jn, {}), /* @__PURE__ */ A(Yn, { children: /* @__PURE__ */ j(Xn, { children: [
1900
- i === "bottom" && /* @__PURE__ */ A(Zn, {}),
1901
- /* @__PURE__ */ j(Qn, { children: [/* @__PURE__ */ A($n, { children: e }), /* @__PURE__ */ A(rr, { label: r })] }),
1902
- /* @__PURE__ */ j(tr, { children: [t != null && /* @__PURE__ */ A(er, {
1899
+ children: /* @__PURE__ */ M(qn, { children: [/* @__PURE__ */ j(Jn, {}), /* @__PURE__ */ j(Yn, { children: /* @__PURE__ */ M(Xn, { children: [
1900
+ i === "bottom" && /* @__PURE__ */ j(Zn, {}),
1901
+ /* @__PURE__ */ M(Qn, { children: [/* @__PURE__ */ j($n, { children: e }), /* @__PURE__ */ j(rr, { label: r })] }),
1902
+ /* @__PURE__ */ M(tr, { children: [t != null && /* @__PURE__ */ j(er, {
1903
1903
  "data-last": n == null || void 0,
1904
1904
  children: t
1905
1905
  }), n] }),
1906
- i === "top" && /* @__PURE__ */ A(Zn, {})
1906
+ i === "top" && /* @__PURE__ */ j(Zn, {})
1907
1907
  ] }) })] })
1908
1908
  });
1909
1909
  }
@@ -1950,49 +1950,49 @@ var hr = U({ notifications: {
1950
1950
  } });
1951
1951
  function gr({ children: e, timeout: t, limit: n, toastManager: r }) {
1952
1952
  let [i] = g(fr), a = r ?? i, o = hr();
1953
- return /* @__PURE__ */ A(pr.Provider, {
1953
+ return /* @__PURE__ */ j(pr.Provider, {
1954
1954
  value: a,
1955
- children: /* @__PURE__ */ j(R.Provider, {
1955
+ children: /* @__PURE__ */ M(R.Provider, {
1956
1956
  timeout: t,
1957
1957
  limit: n,
1958
1958
  toastManager: dr.get(a),
1959
- children: [e, /* @__PURE__ */ A(R.Portal, { children: /* @__PURE__ */ A(R.Viewport, {
1959
+ children: [e, /* @__PURE__ */ j(R.Portal, { children: /* @__PURE__ */ j(R.Viewport, {
1960
1960
  "aria-label": o.notifications,
1961
1961
  className: lr.Viewport,
1962
- children: /* @__PURE__ */ A(_r, {})
1962
+ children: /* @__PURE__ */ j(_r, {})
1963
1963
  }) })]
1964
1964
  })
1965
1965
  });
1966
1966
  }
1967
1967
  function _r() {
1968
1968
  let { toasts: e } = R.useToastManager();
1969
- return e.map((e) => /* @__PURE__ */ A(vr, { toast: e }, e.id));
1969
+ return e.map((e) => /* @__PURE__ */ j(vr, { toast: e }, e.id));
1970
1970
  }
1971
1971
  function vr({ toast: e }) {
1972
1972
  let t = e.data?.severity ?? "success";
1973
- return /* @__PURE__ */ A(R.Root, {
1973
+ return /* @__PURE__ */ j(R.Root, {
1974
1974
  toast: e,
1975
1975
  "data-color": e.data?.color ?? t,
1976
1976
  "data-variant": "standard",
1977
1977
  "data-size": "lg",
1978
1978
  className: `${K.Alert} ${lr.Toast}`,
1979
- children: /* @__PURE__ */ j(R.Content, {
1979
+ children: /* @__PURE__ */ M(R.Content, {
1980
1980
  className: `${K.Layout} ${lr.Content}`,
1981
1981
  children: [
1982
- /* @__PURE__ */ A("div", {
1982
+ /* @__PURE__ */ j("div", {
1983
1983
  className: K.Icon,
1984
1984
  children: Sn[t]
1985
1985
  }),
1986
- /* @__PURE__ */ j("div", {
1986
+ /* @__PURE__ */ M("div", {
1987
1987
  className: K.Message,
1988
1988
  children: [
1989
- /* @__PURE__ */ A(R.Title, {
1990
- render: /* @__PURE__ */ A("div", {}),
1989
+ /* @__PURE__ */ j(R.Title, {
1990
+ render: /* @__PURE__ */ j("div", {}),
1991
1991
  className: K.Title
1992
1992
  }),
1993
- /* @__PURE__ */ A(R.Description, { className: lr.Description }),
1994
- /* @__PURE__ */ A(R.Action, {
1995
- render: /* @__PURE__ */ A(st, {
1993
+ /* @__PURE__ */ j(R.Description, { className: lr.Description }),
1994
+ /* @__PURE__ */ j(R.Action, {
1995
+ render: /* @__PURE__ */ j(st, {
1996
1996
  size: "sm",
1997
1997
  variant: "outline",
1998
1998
  color: "secondary"
@@ -2001,9 +2001,9 @@ function vr({ toast: e }) {
2001
2001
  })
2002
2002
  ]
2003
2003
  }),
2004
- /* @__PURE__ */ A("div", {
2004
+ /* @__PURE__ */ j("div", {
2005
2005
  className: K.Action,
2006
- children: /* @__PURE__ */ A(R.Close, { render: /* @__PURE__ */ A(ut, { size: "sm" }) })
2006
+ children: /* @__PURE__ */ j(R.Close, { render: /* @__PURE__ */ j(ut, { size: "sm" }) })
2007
2007
  })
2008
2008
  ]
2009
2009
  })
@@ -2033,19 +2033,19 @@ var xr = {
2033
2033
  Input: "_Input_1ccju_31",
2034
2034
  Slider: "_Slider_1ccju_83"
2035
2035
  }, Sr = {
2036
- Control: "_Control_qg3r1_7",
2037
- Track: "_Track_qg3r1_51",
2038
- Indicator: "_Indicator_qg3r1_71",
2039
- Thumb: "_Thumb_qg3r1_87",
2040
- Range: "_Range_qg3r1_119",
2041
- HelperText: "_HelperText_qg3r1_131"
2042
- }, Cr = (e) => /* @__PURE__ */ A(k, { children: e.children });
2036
+ Control: "_Control_1zreo_12",
2037
+ Track: "_Track_1zreo_56",
2038
+ Indicator: "_Indicator_1zreo_76",
2039
+ Thumb: "_Thumb_1zreo_92",
2040
+ Range: "_Range_1zreo_124",
2041
+ HelperText: "_HelperText_1zreo_136"
2042
+ }, Cr = (e) => /* @__PURE__ */ j(A, { children: e.children });
2043
2043
  function wr({ "aria-label": e, "aria-describedby": t }) {
2044
- return /* @__PURE__ */ A(B.Control, {
2044
+ return /* @__PURE__ */ j(B.Control, {
2045
2045
  className: Sr.Control,
2046
- children: /* @__PURE__ */ j(B.Track, {
2046
+ children: /* @__PURE__ */ M(B.Track, {
2047
2047
  className: Sr.Track,
2048
- children: [/* @__PURE__ */ A(B.Indicator, { className: Sr.Indicator }), /* @__PURE__ */ A(B.Thumb, {
2048
+ children: [/* @__PURE__ */ j(B.Indicator, { className: Sr.Indicator }), /* @__PURE__ */ j(B.Thumb, {
2049
2049
  className: Sr.Thumb,
2050
2050
  "aria-label": e,
2051
2051
  "aria-describedby": t
@@ -2055,14 +2055,14 @@ function wr({ "aria-label": e, "aria-describedby": t }) {
2055
2055
  }
2056
2056
  function Tr({ min: e, max: t, format: n, locale: r }) {
2057
2057
  let i = m(() => new Intl.NumberFormat(r, n), [r, n]);
2058
- return /* @__PURE__ */ j("div", {
2058
+ return /* @__PURE__ */ M("div", {
2059
2059
  className: Sr.Range,
2060
2060
  "aria-hidden": !0,
2061
- children: [/* @__PURE__ */ A("span", { children: i.format(e) }), /* @__PURE__ */ A("span", { children: i.format(t) })]
2061
+ children: [/* @__PURE__ */ j("span", { children: i.format(e) }), /* @__PURE__ */ j("span", { children: i.format(t) })]
2062
2062
  });
2063
2063
  }
2064
2064
  function Er({ id: e, error: t, children: n }) {
2065
- return /* @__PURE__ */ A("p", {
2065
+ return /* @__PURE__ */ j("p", {
2066
2066
  id: e,
2067
2067
  className: Sr.HelperText,
2068
2068
  "data-invalid": t ? "" : void 0,
@@ -2076,17 +2076,17 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2076
2076
  let _ = f(), v = f(), y = f(), b = d == null ? void 0 : y, [x, S] = g(a ?? t), C = i ?? x, [w, T] = g(), E = (e) => {
2077
2077
  T(void 0), i === void 0 && S(e), e !== C && o?.(e);
2078
2078
  };
2079
- return /* @__PURE__ */ j("div", {
2079
+ return /* @__PURE__ */ M("div", {
2080
2080
  ...h,
2081
2081
  className: [xr.AmountSlider, m].filter(Boolean).join(" "),
2082
2082
  children: [
2083
- /* @__PURE__ */ A("label", {
2083
+ /* @__PURE__ */ j("label", {
2084
2084
  id: _,
2085
2085
  htmlFor: v,
2086
2086
  className: xr.Label,
2087
2087
  children: e
2088
2088
  }),
2089
- /* @__PURE__ */ A(z.Root, {
2089
+ /* @__PURE__ */ j(z.Root, {
2090
2090
  id: v,
2091
2091
  name: l,
2092
2092
  value: w === void 0 ? C : w,
@@ -2103,17 +2103,17 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2103
2103
  format: s,
2104
2104
  locale: c,
2105
2105
  disabled: u,
2106
- children: /* @__PURE__ */ A(z.Input, {
2106
+ children: /* @__PURE__ */ j(z.Input, {
2107
2107
  className: xr.Input,
2108
2108
  "aria-describedby": b,
2109
2109
  "aria-invalid": p || void 0,
2110
2110
  "data-invalid": p ? "" : void 0
2111
2111
  })
2112
2112
  }),
2113
- /* @__PURE__ */ A(oe.Root, {
2113
+ /* @__PURE__ */ j(oe.Root, {
2114
2114
  invalid: p,
2115
2115
  render: Cr,
2116
- children: /* @__PURE__ */ j(B.Root, {
2116
+ children: /* @__PURE__ */ M(B.Root, {
2117
2117
  value: C,
2118
2118
  onValueChange: E,
2119
2119
  min: t,
@@ -2124,7 +2124,7 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2124
2124
  disabled: u,
2125
2125
  "aria-labelledby": _,
2126
2126
  className: xr.Slider,
2127
- children: [/* @__PURE__ */ A(wr, { "aria-describedby": b }), /* @__PURE__ */ A(Tr, {
2127
+ children: [/* @__PURE__ */ j(wr, { "aria-describedby": b }), /* @__PURE__ */ j(Tr, {
2128
2128
  min: t,
2129
2129
  max: n,
2130
2130
  format: s,
@@ -2132,7 +2132,7 @@ function Dr({ label: e, min: t, max: n, step: r = 1, value: i, defaultValue: a,
2132
2132
  })]
2133
2133
  })
2134
2134
  }),
2135
- d != null && /* @__PURE__ */ A(Er, {
2135
+ d != null && /* @__PURE__ */ j(Er, {
2136
2136
  id: y,
2137
2137
  error: p,
2138
2138
  children: d
@@ -2161,13 +2161,13 @@ var q = {
2161
2161
  se: "Mer information",
2162
2162
  fi: "Lisätietoja",
2163
2163
  es: "Más información"
2164
- } }), Ar = ({ className: e }) => /* @__PURE__ */ A("span", {
2164
+ } }), Ar = ({ className: e }) => /* @__PURE__ */ j("span", {
2165
2165
  "aria-hidden": !0,
2166
2166
  className: e,
2167
2167
  children: " *"
2168
2168
  });
2169
2169
  function jr({ id: e, error: t, warning: n = !1, children: r }) {
2170
- return /* @__PURE__ */ A("p", {
2170
+ return /* @__PURE__ */ j("p", {
2171
2171
  id: e,
2172
2172
  className: Or.HelperText,
2173
2173
  "data-invalid": t ? "" : void 0,
@@ -2185,21 +2185,21 @@ function Mr(e, t, n) {
2185
2185
  }
2186
2186
  function Nr({ id: e, htmlFor: t, tooltip: n, required: r, error: i, disabled: a, children: o }) {
2187
2187
  let s = kr(), c = n != null && n !== !1;
2188
- return /* @__PURE__ */ j("div", {
2188
+ return /* @__PURE__ */ M("div", {
2189
2189
  className: Or.GroupLabel,
2190
2190
  "data-invalid": i ? "" : void 0,
2191
2191
  "data-disabled": a ? "" : void 0,
2192
- children: [/* @__PURE__ */ j("span", { children: [t == null ? /* @__PURE__ */ A("span", {
2192
+ children: [/* @__PURE__ */ M("span", { children: [t == null ? /* @__PURE__ */ j("span", {
2193
2193
  id: e,
2194
2194
  children: o
2195
- }) : /* @__PURE__ */ A("label", {
2195
+ }) : /* @__PURE__ */ j("label", {
2196
2196
  id: e,
2197
2197
  htmlFor: t,
2198
2198
  children: o
2199
- }), r && /* @__PURE__ */ A(Ar, {})] }), c && /* @__PURE__ */ A(It, {
2199
+ }), r && /* @__PURE__ */ j(Ar, {})] }), c && /* @__PURE__ */ j(It, {
2200
2200
  title: n,
2201
2201
  ariaLabel: s.moreInformation,
2202
- triggerIcon: /* @__PURE__ */ A(E, {
2202
+ triggerIcon: /* @__PURE__ */ j(E, {
2203
2203
  size: 16,
2204
2204
  "aria-hidden": !0
2205
2205
  }),
@@ -2267,17 +2267,17 @@ function Fr(e, t) {
2267
2267
  //#region src/components/form/combo-field.tsx
2268
2268
  var Ir = (...e) => e.filter(Boolean).join(" ") || void 0;
2269
2269
  function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i = !1, disabled: a = !1, placeholder: o, onBlur: s, id: c, "aria-label": l, "aria-labelledby": u, "aria-describedby": d, className: p, style: m, ref: _, renderRoot: v, inputProps: y, chips: x, filled: S = !1, clearable: C = !1, trigger: w = !1, selectTextOnClick: T = !1, children: E, afterHelperText: ee }) {
2270
- let D = Pr(), O = f(), te = c ?? O, ne = f(), re = f(), M = e != null, N = Mr(t, r, n), P = N.content != null, F = x !== void 0, ae = h(null), I = h(null), L = Fr(s, [ae, I]), [R, oe] = g(!1), z = h(!1), B = /* @__PURE__ */ A(V.Input, {
2270
+ let D = Pr(), O = f(), k = c ?? O, te = f(), ne = f(), ie = e != null, N = Mr(t, r, n), P = N.content != null, F = x !== void 0, ae = h(null), I = h(null), L = Fr(s, [ae, I]), [R, oe] = g(!1), z = h(!1), B = /* @__PURE__ */ j(V.Input, {
2271
2271
  ...y,
2272
2272
  ref: _,
2273
- id: te,
2273
+ id: k,
2274
2274
  disabled: a,
2275
2275
  required: i,
2276
2276
  placeholder: o || " ",
2277
2277
  "aria-label": l,
2278
- "aria-labelledby": u ?? (M ? ne : void 0),
2278
+ "aria-labelledby": u ?? (ie ? te : void 0),
2279
2279
  "aria-invalid": n || void 0,
2280
- "aria-describedby": Ir(P && re, d),
2280
+ "aria-describedby": Ir(P && ne, d),
2281
2281
  className: F ? q.ChipInput : Ir(J.Control, q.Control),
2282
2282
  onFocus: () => {
2283
2283
  z.current = !0;
@@ -2290,57 +2290,57 @@ function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i =
2290
2290
  e.key === "Escape" && e.currentTarget.getAttribute("aria-expanded") !== "true" && e.preventBaseUIHandler();
2291
2291
  }
2292
2292
  });
2293
- return /* @__PURE__ */ j("div", {
2293
+ return /* @__PURE__ */ M("div", {
2294
2294
  className: Ir(J.Field, q.Field, p),
2295
2295
  style: m,
2296
2296
  children: [
2297
- v(/* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j(V.InputGroup, {
2297
+ v(/* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M(V.InputGroup, {
2298
2298
  ref: ae,
2299
2299
  className: Ir(J.Box, q.Box),
2300
2300
  "data-invalid": n ? "" : void 0,
2301
- "data-has-label": M ? "" : void 0,
2301
+ "data-has-label": ie ? "" : void 0,
2302
2302
  "data-filled": S ? "" : void 0,
2303
2303
  onBlur: L,
2304
2304
  onKeyDownCapture: () => oe(!0),
2305
2305
  onPointerDownCapture: () => oe(!1),
2306
- children: [/* @__PURE__ */ j("div", {
2306
+ children: [/* @__PURE__ */ M("div", {
2307
2307
  className: Ir(J.Inner, q.Inner),
2308
- children: [M && /* @__PURE__ */ j("label", {
2309
- id: ne,
2310
- htmlFor: te,
2308
+ children: [ie && /* @__PURE__ */ M("label", {
2309
+ id: te,
2310
+ htmlFor: k,
2311
2311
  className: Ir(J.Label, q.Label),
2312
- children: [e, i && /* @__PURE__ */ A(Ar, {})]
2313
- }), F ? /* @__PURE__ */ j(V.Chips, {
2312
+ children: [e, i && /* @__PURE__ */ j(Ar, {})]
2313
+ }), F ? /* @__PURE__ */ M(V.Chips, {
2314
2314
  className: q.Chips,
2315
2315
  children: [x, B]
2316
2316
  }) : B]
2317
- }), (C || w) && /* @__PURE__ */ j("div", {
2317
+ }), (C || w) && /* @__PURE__ */ M("div", {
2318
2318
  className: q.Buttons,
2319
- children: [C && /* @__PURE__ */ A(V.Clear, {
2319
+ children: [C && /* @__PURE__ */ j(V.Clear, {
2320
2320
  className: Ir(q.Button, q.Clear),
2321
2321
  "aria-label": D.clear,
2322
2322
  tabIndex: -1,
2323
- children: /* @__PURE__ */ A(ie, { "aria-hidden": !0 })
2324
- }), w && /* @__PURE__ */ A(V.Trigger, {
2323
+ children: /* @__PURE__ */ j(re, { "aria-hidden": !0 })
2324
+ }), w && /* @__PURE__ */ j(V.Trigger, {
2325
2325
  className: Ir(q.Button, q.Trigger),
2326
2326
  tabIndex: -1,
2327
- render: (e, t) => /* @__PURE__ */ A("button", {
2327
+ render: (e, t) => /* @__PURE__ */ j("button", {
2328
2328
  ...e,
2329
2329
  role: void 0,
2330
2330
  "aria-haspopup": "listbox",
2331
2331
  "aria-required": void 0,
2332
2332
  "aria-label": t.open ? D.close : D.open
2333
2333
  }),
2334
- children: /* @__PURE__ */ A(b, { "aria-hidden": !0 })
2334
+ children: /* @__PURE__ */ j(b, { "aria-hidden": !0 })
2335
2335
  })]
2336
2336
  })]
2337
- }), /* @__PURE__ */ A(V.Portal, { children: /* @__PURE__ */ A(V.Positioner, {
2337
+ }), /* @__PURE__ */ j(V.Portal, { children: /* @__PURE__ */ j(V.Positioner, {
2338
2338
  anchor: ae,
2339
2339
  side: "bottom",
2340
2340
  align: "start",
2341
2341
  sideOffset: 0,
2342
2342
  className: Y.Positioner,
2343
- children: /* @__PURE__ */ A(V.Popup, {
2343
+ children: /* @__PURE__ */ j(V.Popup, {
2344
2344
  ref: I,
2345
2345
  className: Ir(Y.Popup, q.Popup),
2346
2346
  "data-keyboard": R ? "" : void 0,
@@ -2349,8 +2349,8 @@ function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i =
2349
2349
  children: E
2350
2350
  })
2351
2351
  }) })] })),
2352
- P && /* @__PURE__ */ A(jr, {
2353
- id: re,
2352
+ P && /* @__PURE__ */ j(jr, {
2353
+ id: ne,
2354
2354
  error: n,
2355
2355
  warning: N.warning,
2356
2356
  children: N.content
@@ -2364,16 +2364,16 @@ function Lr({ label: e, helperText: t, error: n = !1, warning: r, required: i =
2364
2364
  var Rr = (e, t) => e.value === t.value;
2365
2365
  function zr({ noOptionsText: e, loading: t, isDisabled: n }) {
2366
2366
  let r = Pr();
2367
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A(V.Empty, {
2367
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j(V.Empty, {
2368
2368
  className: Y.Empty,
2369
2369
  children: t ? r.loading : e ?? r.noOptions
2370
- }), /* @__PURE__ */ A(V.List, {
2370
+ }), /* @__PURE__ */ j(V.List, {
2371
2371
  className: Y.List,
2372
- children: (e) => /* @__PURE__ */ A(V.Item, {
2372
+ children: (e) => /* @__PURE__ */ j(V.Item, {
2373
2373
  value: e,
2374
2374
  disabled: e.disabled || n?.(e),
2375
2375
  className: Y.Item,
2376
- children: /* @__PURE__ */ A("span", {
2376
+ children: /* @__PURE__ */ j("span", {
2377
2377
  className: Y.ItemText,
2378
2378
  children: e.label
2379
2379
  })
@@ -2382,12 +2382,12 @@ function zr({ noOptionsText: e, loading: t, isDisabled: n }) {
2382
2382
  }
2383
2383
  function Br({ options: e, value: t, defaultValue: n = "", onValueChange: r, noOptionsText: i, loading: a, name: o, ...s }) {
2384
2384
  let c = t !== void 0, [l, u] = g(n), d = c ? t : l, f = e.find((e) => e.value === d) ?? null;
2385
- return /* @__PURE__ */ A(Lr, {
2385
+ return /* @__PURE__ */ j(Lr, {
2386
2386
  ...s,
2387
2387
  clearable: !0,
2388
2388
  trigger: !0,
2389
2389
  selectTextOnClick: !0,
2390
- renderRoot: (t) => /* @__PURE__ */ A(V.Root, {
2390
+ renderRoot: (t) => /* @__PURE__ */ j(V.Root, {
2391
2391
  items: e,
2392
2392
  value: f,
2393
2393
  onValueChange: (e) => {
@@ -2401,7 +2401,7 @@ function Br({ options: e, value: t, defaultValue: n = "", onValueChange: r, noOp
2401
2401
  highlightItemOnHover: !1,
2402
2402
  children: t
2403
2403
  }),
2404
- children: /* @__PURE__ */ A(zr, {
2404
+ children: /* @__PURE__ */ j(zr, {
2405
2405
  noOptionsText: i,
2406
2406
  loading: a
2407
2407
  })
@@ -2409,26 +2409,26 @@ function Br({ options: e, value: t, defaultValue: n = "", onValueChange: r, noOp
2409
2409
  }
2410
2410
  function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min: i = 1, max: a, noOptionsText: o, loading: s, name: c, multiple: l, ...u }) {
2411
2411
  let d = Ot(), f = t !== void 0, [p, m] = g(n), h = f ? t : p, [_, v] = g(""), y = h.map((t) => e.find((e) => e.value === t)).filter((e) => e !== void 0), b = a !== void 0 && h.length >= a, x = h.length <= i, S = !u.disabled && !x;
2412
- return /* @__PURE__ */ A(Lr, {
2412
+ return /* @__PURE__ */ j(Lr, {
2413
2413
  ...u,
2414
2414
  clearable: i <= 0,
2415
2415
  trigger: !0,
2416
2416
  filled: y.length > 0,
2417
- chips: y.map((e) => /* @__PURE__ */ j(V.Chip, {
2417
+ chips: y.map((e) => /* @__PURE__ */ M(V.Chip, {
2418
2418
  className: Dt.Chip,
2419
2419
  "data-color": "primary",
2420
2420
  "data-variant": "filled",
2421
2421
  "data-size": "sm",
2422
- children: [/* @__PURE__ */ A("span", {
2422
+ children: [/* @__PURE__ */ j("span", {
2423
2423
  className: Dt.Label,
2424
2424
  children: e.label
2425
- }), S && /* @__PURE__ */ A(V.ChipRemove, {
2425
+ }), S && /* @__PURE__ */ j(V.ChipRemove, {
2426
2426
  className: Dt.Delete,
2427
2427
  "aria-label": `${d.remove} ${e.label}`,
2428
- children: /* @__PURE__ */ A(w, { "aria-hidden": !0 })
2428
+ children: /* @__PURE__ */ j(w, { "aria-hidden": !0 })
2429
2429
  })]
2430
2430
  }, e.value)),
2431
- renderRoot: (t) => /* @__PURE__ */ A(V.Root, {
2431
+ renderRoot: (t) => /* @__PURE__ */ j(V.Root, {
2432
2432
  multiple: !0,
2433
2433
  items: e,
2434
2434
  value: y,
@@ -2449,7 +2449,7 @@ function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min:
2449
2449
  highlightItemOnHover: !1,
2450
2450
  children: t
2451
2451
  }),
2452
- children: /* @__PURE__ */ A(zr, {
2452
+ children: /* @__PURE__ */ j(zr, {
2453
2453
  noOptionsText: o,
2454
2454
  loading: s,
2455
2455
  isDisabled: (e) => {
@@ -2460,17 +2460,17 @@ function Vr({ options: e, value: t, defaultValue: n = [], onValueChange: r, min:
2460
2460
  });
2461
2461
  }
2462
2462
  function Hr(e) {
2463
- return e.multiple ? /* @__PURE__ */ A(Vr, { ...e }) : /* @__PURE__ */ A(Br, { ...e });
2463
+ return e.multiple ? /* @__PURE__ */ j(Vr, { ...e }) : /* @__PURE__ */ j(Br, { ...e });
2464
2464
  }
2465
2465
  var Ur = {
2466
2466
  Checkbox: "_Checkbox_1vdzh_7",
2467
2467
  Box: "_Box_1vdzh_13",
2468
2468
  Tick: "_Tick_1vdzh_55"
2469
- }, Wr = /* @__PURE__ */ A("svg", {
2469
+ }, Wr = /* @__PURE__ */ j("svg", {
2470
2470
  className: Ur.Tick,
2471
2471
  viewBox: "0 0 24 24",
2472
2472
  "aria-hidden": !0,
2473
- children: /* @__PURE__ */ A("path", {
2473
+ children: /* @__PURE__ */ j("path", {
2474
2474
  d: "M5 12.5l4.5 4.5L19 7",
2475
2475
  fill: "none",
2476
2476
  stroke: "currentColor",
@@ -2479,7 +2479,7 @@ var Ur = {
2479
2479
  strokeLinejoin: "round",
2480
2480
  pathLength: 1
2481
2481
  })
2482
- }), Gr = ({ checked: e }) => /* @__PURE__ */ A("span", {
2482
+ }), Gr = ({ checked: e }) => /* @__PURE__ */ j("span", {
2483
2483
  className: Ur.Box,
2484
2484
  "data-checked": e ? "" : void 0,
2485
2485
  "aria-hidden": !0,
@@ -2490,9 +2490,9 @@ var Ur = {
2490
2490
  Text: "_Text_1uv3x_35"
2491
2491
  }, qr = (...e) => e.filter(Boolean).join(" ") || void 0;
2492
2492
  function Jr({ label: e, helperText: t, error: n = !1, checked: r, defaultChecked: i, onCheckedChange: a, name: o, value: s, disabled: c = !1, required: l = !1, id: u, onBlur: d, onFocus: p, "aria-label": m, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y }) {
2493
- let b = f(), x = e != null, S = t != null, C = !x && !S, w = /* @__PURE__ */ A(se.Root, {
2493
+ let b = f(), x = e != null, S = t != null, C = !x && !S, w = /* @__PURE__ */ j(se.Root, {
2494
2494
  nativeButton: !0,
2495
- render: /* @__PURE__ */ A("button", { type: "button" }),
2495
+ render: /* @__PURE__ */ j("button", { type: "button" }),
2496
2496
  id: u,
2497
2497
  inputRef: y,
2498
2498
  checked: r,
@@ -2512,17 +2512,17 @@ function Jr({ label: e, helperText: t, error: n = !1, checked: r, defaultChecked
2512
2512
  style: C ? v : void 0,
2513
2513
  children: Wr
2514
2514
  });
2515
- return C ? w : /* @__PURE__ */ j("div", {
2515
+ return C ? w : /* @__PURE__ */ M("div", {
2516
2516
  className: qr(Ur.Checkbox, _),
2517
2517
  style: v,
2518
- children: [x ? /* @__PURE__ */ j("label", {
2518
+ children: [x ? /* @__PURE__ */ M("label", {
2519
2519
  className: Kr.Row,
2520
2520
  "data-invalid": n ? "" : void 0,
2521
- children: [w, /* @__PURE__ */ j("span", {
2521
+ children: [w, /* @__PURE__ */ M("span", {
2522
2522
  className: Kr.Text,
2523
- children: [e, l && /* @__PURE__ */ A(Ar, { className: Kr.Asterisk })]
2523
+ children: [e, l && /* @__PURE__ */ j(Ar, { className: Kr.Asterisk })]
2524
2524
  })]
2525
- }) : w, S && /* @__PURE__ */ A(jr, {
2525
+ }) : w, S && /* @__PURE__ */ j(jr, {
2526
2526
  id: b,
2527
2527
  error: n,
2528
2528
  children: t
@@ -2882,10 +2882,10 @@ function Ji({ color: e = "secondary", arrow: t = !1, render: n, ref: r, classNam
2882
2882
  "data-color": e,
2883
2883
  "data-arrow": t || void 0,
2884
2884
  className: G(qi.Link, i)({}),
2885
- ...t && { children: /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
2885
+ ...t && { children: /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
2886
2886
  className: qi.Text,
2887
2887
  children: a.children
2888
- }), /* @__PURE__ */ A(x, {
2888
+ }), /* @__PURE__ */ j(x, {
2889
2889
  "aria-hidden": !0,
2890
2890
  className: qi.Arrow
2891
2891
  })] }) }
@@ -2906,9 +2906,9 @@ var Yi = {
2906
2906
  return e;
2907
2907
  }, $i = (...e) => e.filter(Boolean).join(" "), ea = ({ variant: e = "ul", gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2908
2908
  let o = e;
2909
- return /* @__PURE__ */ A(Zi.Provider, {
2909
+ return /* @__PURE__ */ j(Zi.Provider, {
2910
2910
  value: { variant: e },
2911
- children: /* @__PURE__ */ A(o, {
2911
+ children: /* @__PURE__ */ j(o, {
2912
2912
  ...a,
2913
2913
  className: $i(Yi.Root, n),
2914
2914
  style: {
@@ -2920,20 +2920,20 @@ var Yi = {
2920
2920
  });
2921
2921
  }, ta = ({ icon: e, gap: t = 1.5, className: n, style: r, children: i, ...a }) => {
2922
2922
  let { variant: o } = Qi(), s = e ? "icon" : o === "ol" ? "number" : "dot";
2923
- return /* @__PURE__ */ j("li", {
2923
+ return /* @__PURE__ */ M("li", {
2924
2924
  ...a,
2925
2925
  className: $i(Yi.Item, n),
2926
2926
  style: {
2927
2927
  "--_gap": e ? t : 0,
2928
2928
  ...r
2929
2929
  },
2930
- children: [/* @__PURE__ */ A("span", {
2930
+ children: [/* @__PURE__ */ j("span", {
2931
2931
  className: Yi.Marker,
2932
2932
  "data-marker": s,
2933
2933
  children: e
2934
- }), /* @__PURE__ */ A("div", {
2934
+ }), /* @__PURE__ */ j("div", {
2935
2935
  className: Yi.Content,
2936
- children: typeof i == "string" ? /* @__PURE__ */ A(bt, { children: i }) : i
2936
+ children: typeof i == "string" ? /* @__PURE__ */ j(bt, { children: i }) : i
2937
2937
  })]
2938
2938
  });
2939
2939
  }, na = { Suggestion: "_Suggestion_1nncz_7" };
@@ -2952,20 +2952,20 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
2952
2952
  r,
2953
2953
  i
2954
2954
  ]);
2955
- return /* @__PURE__ */ A(Lr, {
2955
+ return /* @__PURE__ */ j(Lr, {
2956
2956
  ...u,
2957
2957
  ref: b,
2958
2958
  onBlur: (e) => {
2959
2959
  o && S(Ki(v, r)), c?.(e);
2960
2960
  },
2961
- afterHelperText: o && /* @__PURE__ */ A("div", {
2961
+ afterHelperText: o && /* @__PURE__ */ j("div", {
2962
2962
  role: "status",
2963
2963
  className: na.Suggestion,
2964
- children: C != null && /* @__PURE__ */ j("p", { children: [
2964
+ children: C != null && /* @__PURE__ */ M("p", { children: [
2965
2965
  d.didYouMean,
2966
2966
  " ",
2967
- /* @__PURE__ */ A(Ji, {
2968
- render: /* @__PURE__ */ A("button", { type: "button" }),
2967
+ /* @__PURE__ */ j(Ji, {
2968
+ render: /* @__PURE__ */ j("button", { type: "button" }),
2969
2969
  color: "primary",
2970
2970
  "aria-label": `${d.use} ${C}`,
2971
2971
  onClick: T,
@@ -2982,7 +2982,7 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
2982
2982
  autoCapitalize: "none",
2983
2983
  spellCheck: !1
2984
2984
  },
2985
- renderRoot: (e) => /* @__PURE__ */ A(ce.Root, {
2985
+ renderRoot: (e) => /* @__PURE__ */ j(ce.Root, {
2986
2986
  items: D,
2987
2987
  filter: null,
2988
2988
  open: E && D.length > 0,
@@ -2994,12 +2994,12 @@ function ra({ value: e, defaultValue: t = "", onValueChange: n, domains: r = Li,
2994
2994
  highlightItemOnHover: !1,
2995
2995
  children: e
2996
2996
  }),
2997
- children: /* @__PURE__ */ A(ce.List, {
2997
+ children: /* @__PURE__ */ j(ce.List, {
2998
2998
  className: Y.List,
2999
- children: (e) => /* @__PURE__ */ A(ce.Item, {
2999
+ children: (e) => /* @__PURE__ */ j(ce.Item, {
3000
3000
  value: e,
3001
3001
  className: Y.Item,
3002
- children: /* @__PURE__ */ A("span", {
3002
+ children: /* @__PURE__ */ j("span", {
3003
3003
  className: Y.ItemText,
3004
3004
  children: e
3005
3005
  })
@@ -3042,15 +3042,15 @@ function sa(e, t) {
3042
3042
  }, [e, t]), n;
3043
3043
  }
3044
3044
  function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, value: o, defaultValue: s, onValueChange: c, startAdornment: l, endAdornment: u, multiline: d = !1, rows: p, minRows: m, maxRows: h, className: g, style: _, ref: v, id: y, disabled: b = !1, required: x = !1, placeholder: S, "aria-describedby": C, ...w }) {
3045
- let T = f(), E = y ?? T, ee = f(), D = f(), O = e != null, te = O && t === "outside", ne = Mr(r, a, i), re = ne.content != null, ie = sa(d && p == null, h), k = (e) => {
3046
- if (ie.current = e, typeof v == "function") return v(e);
3045
+ let T = f(), E = y ?? T, ee = f(), D = f(), O = e != null, k = O && t === "outside", te = Mr(r, a, i), ne = te.content != null, re = sa(d && p == null, h), A = (e) => {
3046
+ if (re.current = e, typeof v == "function") return v(e);
3047
3047
  v && (v.current = e);
3048
3048
  };
3049
- return /* @__PURE__ */ j("div", {
3049
+ return /* @__PURE__ */ M("div", {
3050
3050
  className: aa(J.Field, g),
3051
3051
  style: _,
3052
3052
  children: [
3053
- te && /* @__PURE__ */ A(Nr, {
3053
+ k && /* @__PURE__ */ j(Nr, {
3054
3054
  id: ee,
3055
3055
  htmlFor: E,
3056
3056
  tooltip: n,
@@ -3059,30 +3059,30 @@ function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3059
3059
  disabled: b,
3060
3060
  children: e
3061
3061
  }),
3062
- /* @__PURE__ */ j("div", {
3062
+ /* @__PURE__ */ M("div", {
3063
3063
  className: J.Box,
3064
3064
  "data-invalid": i ? "" : void 0,
3065
3065
  "data-disabled": b ? "" : void 0,
3066
- "data-has-label": O && !te ? "" : void 0,
3067
- "data-label-outside": te ? "" : void 0,
3066
+ "data-has-label": O && !k ? "" : void 0,
3067
+ "data-label-outside": k ? "" : void 0,
3068
3068
  onClick: (e) => {
3069
3069
  e.target.closest("button, a, input, textarea, select, [tabindex]") || e.currentTarget.querySelector("input, textarea")?.focus();
3070
3070
  },
3071
3071
  children: [
3072
- l != null && /* @__PURE__ */ A("span", {
3072
+ l != null && /* @__PURE__ */ j("span", {
3073
3073
  className: J.Adornment,
3074
3074
  "data-position": "start",
3075
3075
  children: l
3076
3076
  }),
3077
- /* @__PURE__ */ j("div", {
3077
+ /* @__PURE__ */ M("div", {
3078
3078
  className: J.Inner,
3079
- children: [O && !te && /* @__PURE__ */ j("label", {
3079
+ children: [O && !k && /* @__PURE__ */ M("label", {
3080
3080
  htmlFor: E,
3081
3081
  className: J.Label,
3082
- children: [e, x && /* @__PURE__ */ A(Ar, {})]
3083
- }), /* @__PURE__ */ A(pe, {
3082
+ children: [e, x && /* @__PURE__ */ j(Ar, {})]
3083
+ }), /* @__PURE__ */ j(pe, {
3084
3084
  ...w,
3085
- ref: k,
3085
+ ref: A,
3086
3086
  id: E,
3087
3087
  value: o,
3088
3088
  defaultValue: s,
@@ -3091,183 +3091,206 @@ function ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3091
3091
  required: x,
3092
3092
  placeholder: S || " ",
3093
3093
  "aria-invalid": i,
3094
- "aria-describedby": aa(re && D, C),
3094
+ "aria-describedby": aa(ne && D, C),
3095
3095
  className: J.Control,
3096
- render: d ? /* @__PURE__ */ A("textarea", { rows: p ?? m ?? 1 }) : void 0
3096
+ render: d ? /* @__PURE__ */ j("textarea", { rows: p ?? m ?? 1 }) : void 0
3097
3097
  })]
3098
3098
  }),
3099
- u != null && /* @__PURE__ */ A("span", {
3099
+ u != null && /* @__PURE__ */ j("span", {
3100
3100
  className: J.Adornment,
3101
3101
  "data-position": "end",
3102
3102
  children: u
3103
3103
  })
3104
3104
  ]
3105
3105
  }),
3106
- re && /* @__PURE__ */ A(jr, {
3106
+ ne && /* @__PURE__ */ j(jr, {
3107
3107
  id: D,
3108
3108
  error: i,
3109
- warning: ne.warning,
3110
- children: ne.content
3109
+ warning: te.warning,
3110
+ children: te.content
3111
3111
  })
3112
3112
  ]
3113
3113
  });
3114
3114
  }
3115
3115
  var Q = {
3116
- Field: "_Field_13rno_13",
3117
- Box: "_Box_13rno_16",
3118
- Trigger: "_Trigger_13rno_44",
3119
- Inner: "_Inner_13rno_63",
3120
- Display: "_Display_13rno_68",
3121
- Placeholder: "_Placeholder_13rno_78",
3122
- Label: "_Label_13rno_92",
3123
- Icon: "_Icon_13rno_137",
3124
- EndAdornment: "_EndAdornment_13rno_155",
3125
- SrOnly: "_SrOnly_13rno_165",
3126
- Chips: "_Chips_13rno_178",
3127
- ChipRow: "_ChipRow_13rno_184",
3128
- ChipMeasure: "_ChipMeasure_13rno_195"
3116
+ Field: "_Field_5ah93_13",
3117
+ Box: "_Box_5ah93_16",
3118
+ Trigger: "_Trigger_5ah93_44",
3119
+ Inner: "_Inner_5ah93_63",
3120
+ Display: "_Display_5ah93_68",
3121
+ Placeholder: "_Placeholder_5ah93_78",
3122
+ Label: "_Label_5ah93_92",
3123
+ Icon: "_Icon_5ah93_137",
3124
+ EndAdornment: "_EndAdornment_5ah93_155",
3125
+ SrOnly: "_SrOnly_5ah93_165",
3126
+ OptionIcon: "_OptionIcon_5ah93_201",
3127
+ Chips: "_Chips_5ah93_216",
3128
+ ChipRow: "_ChipRow_5ah93_222",
3129
+ ChipMeasure: "_ChipMeasure_5ah93_233"
3129
3130
  }, la = (...e) => e.filter(Boolean).join(" ") || void 0;
3130
3131
  function ua({ side: e, onSideChange: t, ...n }) {
3131
3132
  return d(() => {
3132
3133
  t(e === "top" ? "top" : "bottom");
3133
- }, [e, t]), /* @__PURE__ */ A("div", { ...n });
3134
+ }, [e, t]), /* @__PURE__ */ j("div", { ...n });
3134
3135
  }
3135
- function da({ label: e, helperText: t, error: n = !1, required: r = !1, disabled: i = !1, placeholder: a, startAdornment: o, endAdornment: s, open: c, onOpenChange: l, onBlur: u, name: d, id: p, "aria-label": m, "aria-labelledby": _, "aria-describedby": v, className: y, style: x, ref: S, multiple: C, value: w, onValueChange: T, filled: E, display: ee, displayHidden: D = !1, valueText: O, children: te }) {
3136
- let ne = f(), re = p ?? ne, ie = f(), k = f(), M = e != null, N = t != null, [P, F] = g(!1), ae = c ?? P, [I, L] = g("bottom"), R = h(null), oe = h(null), z = Fr(u, [R, oe]);
3137
- return /* @__PURE__ */ j("div", {
3136
+ function da({ label: e, helperText: t, error: n = !1, required: r = !1, disabled: i = !1, placeholder: a, startAdornment: o, endAdornment: s, open: c, onOpenChange: l, onBlur: u, name: d, id: p, "aria-label": m, "aria-labelledby": _, "aria-describedby": v, className: y, style: x, ref: S, size: C = "md", multiple: w, value: T, onValueChange: E, filled: ee, display: D, displayHidden: O = !1, valueText: k, children: te }) {
3137
+ let ne = f(), re = p ?? ne, A = f(), ie = f(), N = e != null, P = N && C === "sm", F = t != null, [ae, I] = g(!1), L = c ?? ae, [R, oe] = g("bottom"), z = h(null), B = h(null), V = Fr(u, [z, B]);
3138
+ return /* @__PURE__ */ M("div", {
3138
3139
  className: la(J.Field, Q.Field, y),
3139
3140
  style: x,
3140
- children: [/* @__PURE__ */ j(me.Root, {
3141
- id: re,
3142
- name: d,
3143
- multiple: C,
3144
- value: w,
3145
- onValueChange: T,
3146
- open: ae,
3147
- onOpenChange: (e) => {
3148
- c === void 0 && F(e), l?.(e);
3149
- },
3150
- disabled: i,
3151
- required: r,
3152
- highlightItemOnHover: !1,
3153
- children: [/* @__PURE__ */ j("div", {
3154
- ref: R,
3155
- className: la(J.Box, Q.Box),
3156
- "data-invalid": n ? "" : void 0,
3157
- "data-disabled": i ? "" : void 0,
3158
- "data-has-label": M ? "" : void 0,
3159
- "data-has-placeholder": a ? "" : void 0,
3160
- "data-filled": E ? "" : void 0,
3161
- "data-open": ae ? "" : void 0,
3162
- "data-popup-side": ae ? I : void 0,
3163
- onBlur: z,
3164
- children: [
3165
- /* @__PURE__ */ A(me.Trigger, {
3166
- ref: S,
3167
- nativeButton: !1,
3168
- render: /* @__PURE__ */ A("div", {}),
3169
- "aria-label": m,
3170
- "aria-labelledby": _ ?? (M ? ie : void 0),
3171
- "aria-describedby": la(N && k, v),
3172
- "aria-invalid": n || void 0,
3173
- "aria-required": r || void 0,
3174
- className: Q.Trigger,
3175
- children: /* @__PURE__ */ A("span", {
3176
- className: Q.SrOnly,
3177
- children: O
3178
- })
3179
- }),
3180
- o != null && /* @__PURE__ */ A("span", {
3181
- className: J.Adornment,
3182
- "data-position": "start",
3183
- children: o
3184
- }),
3185
- /* @__PURE__ */ j("div", {
3186
- className: la(J.Inner, Q.Inner),
3187
- children: [M && /* @__PURE__ */ j("span", {
3188
- id: ie,
3189
- className: Q.Label,
3190
- children: [e, r && /* @__PURE__ */ A(Ar, {})]
3191
- }), /* @__PURE__ */ A("div", {
3192
- className: Q.Display,
3193
- "aria-hidden": D || void 0,
3194
- children: E ? ee : a && /* @__PURE__ */ A("span", {
3195
- className: Q.Placeholder,
3196
- "aria-hidden": !0,
3197
- children: a
3141
+ children: [
3142
+ P && /* @__PURE__ */ j(Nr, {
3143
+ id: A,
3144
+ required: r,
3145
+ error: n,
3146
+ disabled: i,
3147
+ children: e
3148
+ }),
3149
+ /* @__PURE__ */ M(me.Root, {
3150
+ id: re,
3151
+ name: d,
3152
+ multiple: w,
3153
+ value: T,
3154
+ onValueChange: E,
3155
+ open: L,
3156
+ onOpenChange: (e) => {
3157
+ c === void 0 && I(e), l?.(e);
3158
+ },
3159
+ disabled: i,
3160
+ required: r,
3161
+ highlightItemOnHover: !1,
3162
+ children: [/* @__PURE__ */ M("div", {
3163
+ ref: z,
3164
+ className: la(J.Box, Q.Box),
3165
+ "data-invalid": n ? "" : void 0,
3166
+ "data-disabled": i ? "" : void 0,
3167
+ "data-size": C === "md" ? void 0 : C,
3168
+ "data-has-label": N && !P ? "" : void 0,
3169
+ "data-has-placeholder": a ? "" : void 0,
3170
+ "data-filled": ee ? "" : void 0,
3171
+ "data-open": L ? "" : void 0,
3172
+ "data-popup-side": L ? R : void 0,
3173
+ onBlur: V,
3174
+ children: [
3175
+ /* @__PURE__ */ j(me.Trigger, {
3176
+ ref: S,
3177
+ nativeButton: !1,
3178
+ render: /* @__PURE__ */ j("div", {}),
3179
+ "aria-label": m,
3180
+ "aria-labelledby": _ ?? (N ? A : void 0),
3181
+ "aria-describedby": la(F && ie, v),
3182
+ "aria-invalid": n || void 0,
3183
+ "aria-required": r || void 0,
3184
+ className: Q.Trigger,
3185
+ children: /* @__PURE__ */ j("span", {
3186
+ className: Q.SrOnly,
3187
+ children: k
3198
3188
  })
3199
- })]
3200
- }),
3201
- s != null && /* @__PURE__ */ A("span", {
3202
- className: Q.EndAdornment,
3203
- children: s
3189
+ }),
3190
+ o != null && /* @__PURE__ */ j("span", {
3191
+ className: J.Adornment,
3192
+ "data-position": "start",
3193
+ children: o
3194
+ }),
3195
+ /* @__PURE__ */ M("div", {
3196
+ className: la(J.Inner, Q.Inner),
3197
+ children: [N && !P && /* @__PURE__ */ M("span", {
3198
+ id: A,
3199
+ className: Q.Label,
3200
+ children: [e, r && /* @__PURE__ */ j(Ar, {})]
3201
+ }), /* @__PURE__ */ j("div", {
3202
+ className: Q.Display,
3203
+ "aria-hidden": O || void 0,
3204
+ children: ee ? D : a && /* @__PURE__ */ j("span", {
3205
+ className: Q.Placeholder,
3206
+ "aria-hidden": !0,
3207
+ children: a
3208
+ })
3209
+ })]
3210
+ }),
3211
+ s != null && /* @__PURE__ */ j("span", {
3212
+ className: Q.EndAdornment,
3213
+ children: s
3214
+ }),
3215
+ /* @__PURE__ */ j(b, {
3216
+ className: Q.Icon,
3217
+ "aria-hidden": !0
3218
+ })
3219
+ ]
3220
+ }), /* @__PURE__ */ j(me.Portal, { children: /* @__PURE__ */ j(me.Positioner, {
3221
+ side: "bottom",
3222
+ align: "start",
3223
+ sideOffset: 0,
3224
+ alignItemWithTrigger: !1,
3225
+ className: Y.Positioner,
3226
+ render: (e, t) => /* @__PURE__ */ j(ua, {
3227
+ ...e,
3228
+ side: t.side,
3229
+ onSideChange: oe
3204
3230
  }),
3205
- /* @__PURE__ */ A(b, {
3206
- className: Q.Icon,
3207
- "aria-hidden": !0
3208
- })
3209
- ]
3210
- }), /* @__PURE__ */ A(me.Portal, { children: /* @__PURE__ */ A(me.Positioner, {
3211
- side: "bottom",
3212
- align: "start",
3213
- sideOffset: 0,
3214
- alignItemWithTrigger: !1,
3215
- className: Y.Positioner,
3216
- render: (e, t) => /* @__PURE__ */ A(ua, {
3217
- ...e,
3218
- side: t.side,
3219
- onSideChange: L
3220
- }),
3221
- children: /* @__PURE__ */ A(me.Popup, {
3222
- ref: oe,
3223
- className: Y.Popup,
3224
- onBlur: z,
3225
- children: /* @__PURE__ */ A(me.List, {
3226
- className: Y.List,
3227
- children: te
3231
+ children: /* @__PURE__ */ j(me.Popup, {
3232
+ ref: B,
3233
+ className: Y.Popup,
3234
+ onBlur: V,
3235
+ children: /* @__PURE__ */ j(me.List, {
3236
+ className: Y.List,
3237
+ children: te
3238
+ })
3228
3239
  })
3229
- })
3230
- }) })]
3231
- }), N && /* @__PURE__ */ A(jr, {
3232
- id: k,
3233
- error: n,
3234
- children: t
3235
- })]
3240
+ }) })]
3241
+ }),
3242
+ F && /* @__PURE__ */ j(jr, {
3243
+ id: ie,
3244
+ error: n,
3245
+ children: t
3246
+ })
3247
+ ]
3236
3248
  });
3237
3249
  }
3238
3250
  function fa({ option: e, disabled: t, children: n }) {
3239
- return /* @__PURE__ */ j(me.Item, {
3251
+ return /* @__PURE__ */ M(me.Item, {
3240
3252
  value: e.value,
3241
3253
  label: e.label,
3242
3254
  disabled: t ?? e.disabled,
3243
3255
  className: Y.Item,
3244
- children: [n, /* @__PURE__ */ A(me.ItemText, {
3245
- className: Y.ItemText,
3246
- children: e.label
3247
- })]
3256
+ children: [
3257
+ n,
3258
+ e.icon != null && /* @__PURE__ */ j(pa, { children: e.icon }),
3259
+ /* @__PURE__ */ j(me.ItemText, {
3260
+ className: Y.ItemText,
3261
+ children: e.label
3262
+ })
3263
+ ]
3264
+ });
3265
+ }
3266
+ function pa({ children: e }) {
3267
+ return /* @__PURE__ */ j("span", {
3268
+ "aria-hidden": !0,
3269
+ className: Q.OptionIcon,
3270
+ children: e
3248
3271
  });
3249
3272
  }
3250
3273
  //#endregion
3251
3274
  //#region src/components/form/multi-select.tsx
3252
- var pa = 4, ma = typeof document > "u" ? d : p;
3253
- function ha({ items: e, canDelete: t, onDelete: n }) {
3275
+ var ma = 4, ha = typeof document > "u" ? d : p;
3276
+ function ga({ items: e, canDelete: t, onDelete: n }) {
3254
3277
  let r = h(null), i = h(null), [a, o] = g(e.length), s = l(() => {
3255
3278
  let t = r.current, n = i.current;
3256
3279
  if (!t || !n) return;
3257
- let a = t.clientWidth, s = Array.from(n.children), c = s[s.length - 1], l = s.slice(0, -1), u = c ? c.offsetWidth + pa : 0;
3258
- if (l.reduce((e, t, n) => e + t.offsetWidth + (n > 0 ? pa : 0), 0) <= a) {
3280
+ let a = t.clientWidth, s = Array.from(n.children), c = s[s.length - 1], l = s.slice(0, -1), u = c ? c.offsetWidth + ma : 0;
3281
+ if (l.reduce((e, t, n) => e + t.offsetWidth + (n > 0 ? ma : 0), 0) <= a) {
3259
3282
  o(e.length);
3260
3283
  return;
3261
3284
  }
3262
3285
  let d = 0, f = 0;
3263
3286
  for (let e = 0; e < l.length; e++) {
3264
- let t = l[e].offsetWidth + (e > 0 ? pa : 0);
3287
+ let t = l[e].offsetWidth + (e > 0 ? ma : 0);
3265
3288
  if (d + t + u <= a) d += t, f += 1;
3266
3289
  else break;
3267
3290
  }
3268
3291
  o(f);
3269
3292
  }, [e.length]);
3270
- ma(() => {
3293
+ ha(() => {
3271
3294
  s();
3272
3295
  }, [
3273
3296
  s,
@@ -3279,7 +3302,7 @@ function ha({ items: e, canDelete: t, onDelete: n }) {
3279
3302
  let t = new ResizeObserver(() => s());
3280
3303
  return t.observe(e), () => t.disconnect();
3281
3304
  }, [s]);
3282
- let c = Math.max(e.length - a, 0), u = (e) => /* @__PURE__ */ A(kt, {
3305
+ let c = Math.max(e.length - a, 0), u = (e) => /* @__PURE__ */ j(kt, {
3283
3306
  size: "sm",
3284
3307
  label: e.label,
3285
3308
  style: {
@@ -3287,27 +3310,27 @@ function ha({ items: e, canDelete: t, onDelete: n }) {
3287
3310
  maxWidth: "100%"
3288
3311
  },
3289
3312
  onDelete: t ? () => n(e.value) : void 0
3290
- }, e.value), f = (e) => /* @__PURE__ */ A(kt, {
3313
+ }, e.value), f = (e) => /* @__PURE__ */ j(kt, {
3291
3314
  color: "neutral",
3292
3315
  size: "sm",
3293
3316
  label: `+${e}`,
3294
3317
  style: { flexShrink: 0 }
3295
3318
  });
3296
- return /* @__PURE__ */ j("div", {
3319
+ return /* @__PURE__ */ M("div", {
3297
3320
  className: Q.Chips,
3298
- children: [/* @__PURE__ */ j("div", {
3321
+ children: [/* @__PURE__ */ M("div", {
3299
3322
  ref: i,
3300
3323
  "aria-hidden": !0,
3301
3324
  className: Q.ChipMeasure,
3302
3325
  children: [e.map((e) => u(e)), f(e.length)]
3303
- }), /* @__PURE__ */ j("div", {
3326
+ }), /* @__PURE__ */ M("div", {
3304
3327
  ref: r,
3305
3328
  className: Q.ChipRow,
3306
3329
  children: [e.slice(0, a).map((e) => u(e)), c > 0 && f(c)]
3307
3330
  })]
3308
3331
  });
3309
3332
  }
3310
- function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, renderValue: i, min: a = 1, max: o, disabled: s = !1, ref: c, ...l }) {
3333
+ function _a({ options: e, value: t, defaultValue: n = [], onValueChange: r, renderValue: i, min: a = 1, max: o, disabled: s = !1, ref: c, ...l }) {
3311
3334
  let u = t !== void 0, [d, f] = g(n), p = u ? t : d, m = h(null), _ = (e) => {
3312
3335
  if (m.current = e, typeof c == "function") return c(e);
3313
3336
  c && (c.current = e);
@@ -3321,7 +3344,7 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3321
3344
  value: t,
3322
3345
  label: t
3323
3346
  });
3324
- return /* @__PURE__ */ A(da, {
3347
+ return /* @__PURE__ */ j(da, {
3325
3348
  ...l,
3326
3349
  ref: _,
3327
3350
  disabled: s,
@@ -3329,7 +3352,7 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3329
3352
  value: p,
3330
3353
  onValueChange: (e) => x(e ?? []),
3331
3354
  filled: p.length > 0,
3332
- display: i ? i(p) : /* @__PURE__ */ A(ha, {
3355
+ display: i ? i(p) : /* @__PURE__ */ j(ga, {
3333
3356
  items: w,
3334
3357
  canDelete: C,
3335
3358
  onDelete: S
@@ -3337,17 +3360,17 @@ function ga({ options: e, value: t, defaultValue: n = [], onValueChange: r, rend
3337
3360
  valueText: w.map((e) => e.label).join(", "),
3338
3361
  children: e.map((e) => {
3339
3362
  let t = p.includes(e.value);
3340
- return /* @__PURE__ */ A(fa, {
3363
+ return /* @__PURE__ */ j(fa, {
3341
3364
  option: e,
3342
3365
  disabled: v && !t || y && t || e.disabled,
3343
- children: /* @__PURE__ */ A(Gr, { checked: t })
3366
+ children: /* @__PURE__ */ j(Gr, { checked: t })
3344
3367
  }, e.value);
3345
3368
  })
3346
3369
  });
3347
3370
  }
3348
3371
  //#endregion
3349
3372
  //#region src/hooks/country/countries.ts
3350
- var _a = {
3373
+ var va = {
3351
3374
  NO: {
3352
3375
  country: "NO",
3353
3376
  locale: "nb-NO",
@@ -3368,17 +3391,17 @@ var _a = {
3368
3391
  locale: "es-ES",
3369
3392
  currency: "EUR"
3370
3393
  }
3371
- }, va = {
3394
+ }, ya = {
3372
3395
  no: "NO",
3373
3396
  se: "SE",
3374
3397
  fi: "FI",
3375
3398
  es: "ES"
3376
3399
  };
3377
- function ya(e) {
3400
+ function ba(e) {
3378
3401
  return typeof e == "object" && !!e && !c(e) && "type" in e && (e.type === "years" || e.type === "currency");
3379
3402
  }
3380
- function ba(e, t, n) {
3381
- let { locale: r, currency: i } = _a[va[t]], a = e.type === "years" ? {
3403
+ function xa(e, t, n) {
3404
+ let { locale: r, currency: i } = va[ya[t]], a = e.type === "years" ? {
3382
3405
  style: "unit",
3383
3406
  unit: "year",
3384
3407
  unitDisplay: "long"
@@ -3389,17 +3412,17 @@ function ba(e, t, n) {
3389
3412
  };
3390
3413
  return new Intl.NumberFormat(r, a).formatToParts(e.type === "years" ? n ?? 0 : 0).find((t) => t.type === (e.type === "years" ? "unit" : "currency"))?.value ?? "";
3391
3414
  }
3392
- var xa = {
3415
+ var Sa = {
3393
3416
  Unit: "_Unit_1g5fk_11",
3394
3417
  Box: "_Box_1g5fk_25",
3395
3418
  Steppers: "_Steppers_1g5fk_29",
3396
3419
  Stepper: "_Stepper_1g5fk_29"
3397
- }, Sa = (...e) => e.filter(Boolean).join(" ") || void 0;
3398
- function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, required: o = !1, disabled: s = !1, id: c, placeholder: l, startIcon: u, unit: d, showSteppers: p = !0, className: m, style: h, ref: _, value: v, defaultValue: y, onValueChange: b, ...x }) {
3399
- let S = je(), [C, w] = g(y ?? null), T = v === void 0 ? C : v, E = ya(d) ? ba(d, S, T) : d, D = f(), O = c ?? D, ne = f(), re = f(), ie = f(), k = wa(), M = e != null, N = M && t === "outside", P = Mr(r, a, i), F = P.content != null, ae = Sa(F && re, E != null && E !== "" && ie), I = (e) => {
3420
+ }, Ca = (...e) => e.filter(Boolean).join(" ") || void 0;
3421
+ function wa({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r, error: i = !1, warning: a, required: o = !1, disabled: s = !1, id: c, placeholder: l, startIcon: u, unit: d, showSteppers: p = !0, className: m, style: h, ref: _, value: v, defaultValue: y, onValueChange: b, ...x }) {
3422
+ let S = je(), [C, w] = g(y ?? null), T = v === void 0 ? C : v, E = ba(d) ? xa(d, S, T) : d, D = f(), O = c ?? D, te = f(), ne = f(), re = f(), A = Ta(), ie = e != null, N = ie && t === "outside", P = Mr(r, a, i), F = P.content != null, ae = Ca(F && ne, E != null && E !== "" && re), I = (e) => {
3400
3423
  e.target.closest("button, a, input, [tabindex]") || e.currentTarget.querySelector("input")?.focus();
3401
3424
  };
3402
- return /* @__PURE__ */ j(z.Root, {
3425
+ return /* @__PURE__ */ M(z.Root, {
3403
3426
  ...x,
3404
3427
  value: v,
3405
3428
  defaultValue: y,
@@ -3409,11 +3432,11 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3409
3432
  id: O,
3410
3433
  disabled: s,
3411
3434
  required: o,
3412
- className: Sa(J.Field, m),
3435
+ className: Ca(J.Field, m),
3413
3436
  style: h,
3414
3437
  children: [
3415
- N && /* @__PURE__ */ A(Nr, {
3416
- id: ne,
3438
+ N && /* @__PURE__ */ j(Nr, {
3439
+ id: te,
3417
3440
  htmlFor: O,
3418
3441
  tooltip: n,
3419
3442
  required: o,
@@ -3421,27 +3444,27 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3421
3444
  disabled: s,
3422
3445
  children: e
3423
3446
  }),
3424
- /* @__PURE__ */ j("div", {
3425
- className: Sa(J.Box, xa.Box),
3447
+ /* @__PURE__ */ M("div", {
3448
+ className: Ca(J.Box, Sa.Box),
3426
3449
  "data-invalid": i ? "" : void 0,
3427
3450
  "data-disabled": s ? "" : void 0,
3428
- "data-has-label": M && !N ? "" : void 0,
3451
+ "data-has-label": ie && !N ? "" : void 0,
3429
3452
  "data-label-outside": N ? "" : void 0,
3430
3453
  onClick: I,
3431
3454
  children: [
3432
- u != null && /* @__PURE__ */ A("span", {
3455
+ u != null && /* @__PURE__ */ j("span", {
3433
3456
  className: J.Adornment,
3434
3457
  "data-position": "start",
3435
3458
  "aria-hidden": !0,
3436
3459
  children: u
3437
3460
  }),
3438
- /* @__PURE__ */ j("div", {
3461
+ /* @__PURE__ */ M("div", {
3439
3462
  className: J.Inner,
3440
- children: [M && !N && /* @__PURE__ */ j("label", {
3463
+ children: [ie && !N && /* @__PURE__ */ M("label", {
3441
3464
  htmlFor: O,
3442
3465
  className: J.Label,
3443
- children: [e, o && /* @__PURE__ */ A(Ar, {})]
3444
- }), /* @__PURE__ */ A(z.Input, {
3466
+ children: [e, o && /* @__PURE__ */ j(Ar, {})]
3467
+ }), /* @__PURE__ */ j(z.Input, {
3445
3468
  ref: _,
3446
3469
  placeholder: l || " ",
3447
3470
  "aria-invalid": i || void 0,
@@ -3449,24 +3472,24 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3449
3472
  className: J.Control
3450
3473
  })]
3451
3474
  }),
3452
- E != null && E !== "" && /* @__PURE__ */ A("span", {
3453
- id: ie,
3454
- className: xa.Unit,
3475
+ E != null && E !== "" && /* @__PURE__ */ j("span", {
3476
+ id: re,
3477
+ className: Sa.Unit,
3455
3478
  children: E
3456
3479
  }),
3457
- p && /* @__PURE__ */ j("span", {
3458
- className: xa.Steppers,
3459
- children: [/* @__PURE__ */ A(z.Decrement, {
3460
- "aria-label": k.decrease,
3461
- className: xa.Stepper,
3462
- children: /* @__PURE__ */ A(ee, {
3480
+ p && /* @__PURE__ */ M("span", {
3481
+ className: Sa.Steppers,
3482
+ children: [/* @__PURE__ */ j(z.Decrement, {
3483
+ "aria-label": A.decrease,
3484
+ className: Sa.Stepper,
3485
+ children: /* @__PURE__ */ j(ee, {
3463
3486
  size: 16,
3464
3487
  "aria-hidden": !0
3465
3488
  })
3466
- }), /* @__PURE__ */ A(z.Increment, {
3467
- "aria-label": k.increase,
3468
- className: xa.Stepper,
3469
- children: /* @__PURE__ */ A(te, {
3489
+ }), /* @__PURE__ */ j(z.Increment, {
3490
+ "aria-label": A.increase,
3491
+ className: Sa.Stepper,
3492
+ children: /* @__PURE__ */ j(k, {
3470
3493
  size: 16,
3471
3494
  "aria-hidden": !0
3472
3495
  })
@@ -3474,8 +3497,8 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3474
3497
  })
3475
3498
  ]
3476
3499
  }),
3477
- F && /* @__PURE__ */ A(jr, {
3478
- id: re,
3500
+ F && /* @__PURE__ */ j(jr, {
3501
+ id: ne,
3479
3502
  error: i,
3480
3503
  warning: P.warning,
3481
3504
  children: P.content
@@ -3483,7 +3506,7 @@ function Ca({ label: e, labelPlacement: t = "inside", tooltip: n, helperText: r,
3483
3506
  ]
3484
3507
  });
3485
3508
  }
3486
- var wa = U({
3509
+ var Ta = U({
3487
3510
  increase: {
3488
3511
  no: "Øk",
3489
3512
  se: "Öka",
@@ -3496,23 +3519,23 @@ var wa = U({
3496
3519
  fi: "Vähennä",
3497
3520
  es: "Disminuir"
3498
3521
  }
3499
- }), Ta = [
3522
+ }), Ea = [
3500
3523
  "FI",
3501
3524
  "SE",
3502
3525
  "NO",
3503
3526
  "ES"
3504
3527
  ];
3505
- function Ea(e) {
3528
+ function Da(e) {
3506
3529
  return e.toUpperCase().replace(/[A-Z]/g, (e) => String.fromCodePoint(127397 + e.charCodeAt(0)));
3507
3530
  }
3508
- function Da(e) {
3531
+ function Oa(e) {
3509
3532
  let t = new Intl.DisplayNames([e], { type: "region" }), n = ue(), r = (e, n) => ({
3510
3533
  code: e,
3511
3534
  dialCode: de(e),
3512
3535
  name: t.of(e) ?? e,
3513
- flag: Ea(e),
3536
+ flag: Da(e),
3514
3537
  pinned: n
3515
- }), i = Ta.filter((e) => n.includes(e)).map((e) => r(e, !0)), a = n.filter((e) => !Ta.includes(e)).map((e) => r(e, !1)).sort((t, n) => t.name.localeCompare(n.name, e));
3538
+ }), i = Ea.filter((e) => n.includes(e)).map((e) => r(e, !0)), a = n.filter((e) => !Ea.includes(e)).map((e) => r(e, !1)).sort((t, n) => t.name.localeCompare(n.name, e));
3516
3539
  return [...i, ...a];
3517
3540
  }
3518
3541
  var $ = {
@@ -3533,18 +3556,18 @@ var $ = {
3533
3556
  CountryName: "_CountryName_gcp2o_199",
3534
3557
  CountryDial: "_CountryDial_gcp2o_212",
3535
3558
  Separator: "_Separator_gcp2o_221"
3536
- }, Oa = {
3559
+ }, ka = {
3537
3560
  no: "NO",
3538
3561
  se: "SE",
3539
3562
  fi: "FI",
3540
3563
  es: "ES"
3541
- }, ka = {
3564
+ }, Aa = {
3542
3565
  no: "nb-NO",
3543
3566
  se: "sv-SE",
3544
3567
  fi: "fi-FI",
3545
3568
  es: "es-ES"
3546
3569
  };
3547
- function Aa(e, t) {
3570
+ function ja(e, t) {
3548
3571
  if (e === "NO") {
3549
3572
  let e = t.replace(/\D/g, "").slice(0, 8);
3550
3573
  return [
@@ -3555,19 +3578,19 @@ function Aa(e, t) {
3555
3578
  }
3556
3579
  return new le(e).input(t);
3557
3580
  }
3558
- function ja(e, t) {
3559
- if (e === "NO") return Aa(e, t);
3581
+ function Ma(e, t) {
3582
+ if (e === "NO") return ja(e, t);
3560
3583
  let n = de(e);
3561
3584
  return new le(e).input(`+${n}${t}`).replace(`+${n}`, "").trim();
3562
3585
  }
3563
- function Ma(e, t) {
3564
- return /^\s*[+0]/.test(t) ? new le(e).input(t) : ja(e, t.replace(/\D/g, ""));
3565
- }
3566
3586
  function Na(e, t) {
3587
+ return /^\s*[+0]/.test(t) ? new le(e).input(t) : Ma(e, t.replace(/\D/g, ""));
3588
+ }
3589
+ function Pa(e, t) {
3567
3590
  let n = fe(t.replace(/[\s-]/g, ""), e);
3568
- return n && n.countryCallingCode === de(e) ? ja(e, n.nationalNumber) : Ma(e, t);
3591
+ return n && n.countryCallingCode === de(e) ? Ma(e, n.nationalNumber) : Na(e, t);
3569
3592
  }
3570
- function Pa(e, t, { sameCountry: n, mobileOnly: r }) {
3593
+ function Fa(e, t, { sameCountry: n, mobileOnly: r }) {
3571
3594
  let i = () => {
3572
3595
  let n = fe(t.replace(/\s/g, ""), e);
3573
3596
  return n?.isValid() && n.country === e ? Z(n.number) : X();
@@ -3587,7 +3610,7 @@ function Pa(e, t, { sameCountry: n, mobileOnly: r }) {
3587
3610
  landline: !1
3588
3611
  };
3589
3612
  }
3590
- var Fa = U({
3613
+ var Ia = U({
3591
3614
  countryLabel: {
3592
3615
  no: "Landskode",
3593
3616
  se: "Landskod",
@@ -3618,10 +3641,10 @@ var Fa = U({
3618
3641
  fi: "Anna matkapuhelinnumero",
3619
3642
  es: "Introduce un número de móvil"
3620
3643
  }
3621
- }), Ia = (...e) => e.filter(Boolean).join(" ") || void 0, La = (e) => `${e.name} ${e.code} ${e.dialCode} +${e.dialCode}`, Ra = (e, t) => e.code === t.code;
3622
- function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, noOptionsText: a, disabled: s, open: c, onOpenChange: l, anchorRef: u }) {
3644
+ }), La = (...e) => e.filter(Boolean).join(" ") || void 0, Ra = (e) => `${e.name} ${e.code} ${e.dialCode} +${e.dialCode}`, za = (e, t) => e.code === t.code;
3645
+ function Ba({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, noOptionsText: a, disabled: s, open: c, onOpenChange: l, anchorRef: u }) {
3623
3646
  let { contains: d } = V.useFilter({ sensitivity: "base" }), [f, p] = g(""), [m, h] = g(!1), _ = e.find((e) => e.code === t) ?? null, v = e.filter((e) => e.pinned).length;
3624
- return /* @__PURE__ */ j(V.Root, {
3647
+ return /* @__PURE__ */ M(V.Root, {
3625
3648
  items: e,
3626
3649
  value: _,
3627
3650
  onValueChange: (e) => {
@@ -3631,70 +3654,70 @@ function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, n
3631
3654
  onInputValueChange: p,
3632
3655
  open: c,
3633
3656
  onOpenChange: l,
3634
- filter: (e, t) => d(La(e), t),
3657
+ filter: (e, t) => d(Ra(e), t),
3635
3658
  itemToStringLabel: (e) => e.name,
3636
3659
  itemToStringValue: (e) => e.code,
3637
- isItemEqualToValue: Ra,
3660
+ isItemEqualToValue: za,
3638
3661
  disabled: s,
3639
3662
  highlightItemOnHover: !1,
3640
- children: [/* @__PURE__ */ j(V.Trigger, {
3663
+ children: [/* @__PURE__ */ M(V.Trigger, {
3641
3664
  className: $.Trigger,
3642
3665
  "aria-label": _ ? `${r}, ${_.name}` : r,
3643
- children: [_ && /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ A("span", {
3666
+ children: [_ && /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ j("span", {
3644
3667
  "aria-hidden": !0,
3645
3668
  className: $.Flag,
3646
3669
  children: _.flag
3647
- }), /* @__PURE__ */ j("span", {
3670
+ }), /* @__PURE__ */ M("span", {
3648
3671
  className: $.Dial,
3649
3672
  children: ["+", _.dialCode]
3650
- })] }), /* @__PURE__ */ A(b, {
3673
+ })] }), /* @__PURE__ */ j(b, {
3651
3674
  "aria-hidden": !0,
3652
3675
  className: $.Chevron
3653
3676
  })]
3654
- }), /* @__PURE__ */ A(V.Portal, { children: /* @__PURE__ */ A(V.Positioner, {
3677
+ }), /* @__PURE__ */ j(V.Portal, { children: /* @__PURE__ */ j(V.Positioner, {
3655
3678
  anchor: u,
3656
3679
  side: "bottom",
3657
3680
  align: "start",
3658
3681
  sideOffset: 4,
3659
3682
  className: Y.Positioner,
3660
- children: /* @__PURE__ */ j(V.Popup, {
3683
+ children: /* @__PURE__ */ M(V.Popup, {
3661
3684
  className: $.Popup,
3662
3685
  "aria-label": r,
3663
3686
  "data-keyboard": m ? "" : void 0,
3664
3687
  onKeyDownCapture: () => h(!0),
3665
3688
  onPointerDownCapture: () => h(!1),
3666
3689
  children: [
3667
- /* @__PURE__ */ j("div", {
3690
+ /* @__PURE__ */ M("div", {
3668
3691
  className: $.Search,
3669
- children: [/* @__PURE__ */ A(ne, { "aria-hidden": !0 }), /* @__PURE__ */ A(V.Input, {
3692
+ children: [/* @__PURE__ */ j(te, { "aria-hidden": !0 }), /* @__PURE__ */ j(V.Input, {
3670
3693
  className: $.SearchInput,
3671
3694
  placeholder: i,
3672
3695
  "aria-label": i
3673
3696
  })]
3674
3697
  }),
3675
- /* @__PURE__ */ A(V.Empty, {
3698
+ /* @__PURE__ */ j(V.Empty, {
3676
3699
  className: Y.Empty,
3677
3700
  children: a
3678
3701
  }),
3679
- /* @__PURE__ */ A(V.List, {
3680
- className: Ia(Y.List, $.List),
3681
- children: (e, t) => /* @__PURE__ */ j(o, { children: [f === "" && v > 0 && t === v && /* @__PURE__ */ A("div", {
3702
+ /* @__PURE__ */ j(V.List, {
3703
+ className: La(Y.List, $.List),
3704
+ children: (e, t) => /* @__PURE__ */ M(o, { children: [f === "" && v > 0 && t === v && /* @__PURE__ */ j("div", {
3682
3705
  role: "presentation",
3683
3706
  className: $.Separator
3684
- }), /* @__PURE__ */ j(V.Item, {
3707
+ }), /* @__PURE__ */ M(V.Item, {
3685
3708
  value: e,
3686
- className: Ia(Y.Item, $.Country),
3709
+ className: La(Y.Item, $.Country),
3687
3710
  children: [
3688
- /* @__PURE__ */ A("span", {
3711
+ /* @__PURE__ */ j("span", {
3689
3712
  "aria-hidden": !0,
3690
3713
  className: $.Flag,
3691
3714
  children: e.flag
3692
3715
  }),
3693
- /* @__PURE__ */ A("span", {
3716
+ /* @__PURE__ */ j("span", {
3694
3717
  className: $.CountryName,
3695
3718
  children: e.name
3696
3719
  }),
3697
- /* @__PURE__ */ j("span", {
3720
+ /* @__PURE__ */ M("span", {
3698
3721
  className: $.CountryDial,
3699
3722
  children: ["+", e.dialCode]
3700
3723
  })
@@ -3706,19 +3729,19 @@ function za({ options: e, value: t, onChange: n, ariaLabel: r, searchLabel: i, n
3706
3729
  }) })]
3707
3730
  });
3708
3731
  }
3709
- function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i = !1, id: a, country: o, defaultCountry: s, onCountryChange: c, value: l, defaultValue: u, onValueChange: d, onBlur: p, countries: _, mobileOnly: v = !1, validateOnBlur: y = !0, className: b, style: x, ref: S, "aria-describedby": C, ...w }) {
3710
- let T = je(), E = Fa(), ee = f(), D = a ?? ee, O = f(), te = f(), ne = h(null), [re, ie] = g(!1), k = _ != null && _.length > 0 ? _ : null, M = k?.length === 1, N = k?.join(","), P = m(() => {
3711
- let e = Da(ka[T]), t = N?.split(",");
3732
+ function Va({ label: e, helperText: t, error: n, required: r = !1, disabled: i = !1, id: a, country: o, defaultCountry: s, onCountryChange: c, value: l, defaultValue: u, onValueChange: d, onBlur: p, countries: _, mobileOnly: v = !1, validateOnBlur: y = !0, className: b, style: x, ref: S, "aria-describedby": C, ...w }) {
3733
+ let T = je(), E = Ia(), ee = f(), D = a ?? ee, O = f(), k = f(), te = h(null), [ne, re] = g(!1), A = _ != null && _.length > 0 ? _ : null, ie = A?.length === 1, N = A?.join(","), P = m(() => {
3734
+ let e = Oa(Aa[T]), t = N?.split(",");
3712
3735
  return t ? e.filter((e) => t.includes(e.code)) : e;
3713
- }, [T, N]), F = s ?? Oa[T], [ae, I] = g(k && !k.includes(F) ? k[0] : F), L = o ?? ae, R = {
3714
- sameCountry: k != null,
3736
+ }, [T, N]), F = s ?? ka[T], [ae, I] = g(A && !A.includes(F) ? A[0] : F), L = o ?? ae, R = {
3737
+ sameCountry: A != null,
3715
3738
  mobileOnly: v
3716
- }, [oe, z] = g(u ?? ""), B = l ?? oe, [V, se] = g(!1), ce = Pa(L, B, R), le = {
3739
+ }, [oe, z] = g(u ?? ""), B = l ?? oe, [V, se] = g(!1), ce = Fa(L, B, R), le = {
3717
3740
  country: L,
3718
3741
  e164: ce.normalized,
3719
3742
  isValid: ce.valid
3720
3743
  }, ue = y && V && B.trim() !== "" && !le.isValid, de = n ?? ue, pe = t ?? (ue ? ce.landline ? E.notMobile : E.invalid : void 0), me = pe != null, he = (e, t) => {
3721
- let n = Pa(t, e, R);
3744
+ let n = Fa(t, e, R);
3722
3745
  d?.(e, {
3723
3746
  country: t,
3724
3747
  e164: n.normalized,
@@ -3730,48 +3753,48 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3730
3753
  o === void 0 && I(e), c?.(e), he(B, e);
3731
3754
  }, ve = (e) => {
3732
3755
  let t = e.target.value;
3733
- if (!k) {
3734
- ge(Aa(L, t), L);
3756
+ if (!A) {
3757
+ ge(ja(L, t), L);
3735
3758
  return;
3736
3759
  }
3737
3760
  if (t.length - B.length > 1) {
3738
- let e = fe(t.replace(/[\s-]/g, ""), L), n = e?.country && k.includes(e.country) ? e.country : L;
3739
- ge(Na(n, t), n);
3761
+ let e = fe(t.replace(/[\s-]/g, ""), L), n = e?.country && A.includes(e.country) ? e.country : L;
3762
+ ge(Pa(n, t), n);
3740
3763
  return;
3741
3764
  }
3742
- ge(Ma(L, t), L);
3765
+ ge(Na(L, t), L);
3743
3766
  }, ye = (e) => {
3744
- if (se(!0), k) {
3745
- let e = Na(L, B);
3767
+ if (se(!0), A) {
3768
+ let e = Pa(L, B);
3746
3769
  e !== B && ge(e, L);
3747
3770
  }
3748
3771
  p?.(e);
3749
- }, be = M ? P.find((e) => e.code === L) : void 0;
3750
- return /* @__PURE__ */ j("div", {
3751
- className: Ia(J.Field, $.Field, b),
3772
+ }, be = ie ? P.find((e) => e.code === L) : void 0;
3773
+ return /* @__PURE__ */ M("div", {
3774
+ className: La(J.Field, $.Field, b),
3752
3775
  style: x,
3753
- children: [/* @__PURE__ */ j("div", {
3754
- ref: ne,
3755
- className: Ia(J.Box, $.Box),
3776
+ children: [/* @__PURE__ */ M("div", {
3777
+ ref: te,
3778
+ className: La(J.Box, $.Box),
3756
3779
  "data-invalid": de ? "" : void 0,
3757
3780
  "data-disabled": i ? "" : void 0,
3758
- "data-country-open": re ? "" : void 0,
3781
+ "data-country-open": ne ? "" : void 0,
3759
3782
  onClick: (e) => {
3760
3783
  let t = e.target;
3761
3784
  e.currentTarget.contains(t) && (t.closest("button, input") || e.currentTarget.querySelector("input[type=\"tel\"]")?.focus());
3762
3785
  },
3763
- children: [M ? be && /* @__PURE__ */ j("span", {
3786
+ children: [ie ? be && /* @__PURE__ */ M("span", {
3764
3787
  className: $.DialCode,
3765
- children: [/* @__PURE__ */ A("span", {
3788
+ children: [/* @__PURE__ */ j("span", {
3766
3789
  "aria-hidden": !0,
3767
3790
  className: $.Flag,
3768
3791
  children: be.flag
3769
- }), /* @__PURE__ */ j("span", {
3770
- id: te,
3792
+ }), /* @__PURE__ */ M("span", {
3793
+ id: k,
3771
3794
  className: $.Dial,
3772
3795
  children: ["+", be.dialCode]
3773
3796
  })]
3774
- }) : /* @__PURE__ */ A(za, {
3797
+ }) : /* @__PURE__ */ j(Ba, {
3775
3798
  options: P,
3776
3799
  value: L,
3777
3800
  onChange: _e,
@@ -3779,16 +3802,16 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3779
3802
  searchLabel: E.searchCountry,
3780
3803
  noOptionsText: E.noCountries,
3781
3804
  disabled: i,
3782
- open: re,
3783
- onOpenChange: ie,
3784
- anchorRef: ne
3785
- }), /* @__PURE__ */ j("div", {
3786
- className: Ia(J.Inner, $.Inner),
3787
- children: [e != null && /* @__PURE__ */ j("label", {
3805
+ open: ne,
3806
+ onOpenChange: re,
3807
+ anchorRef: te
3808
+ }), /* @__PURE__ */ M("div", {
3809
+ className: La(J.Inner, $.Inner),
3810
+ children: [e != null && /* @__PURE__ */ M("label", {
3788
3811
  htmlFor: D,
3789
- className: Ia(J.Label, $.Label),
3790
- children: [e, r && /* @__PURE__ */ A(Ar, {})]
3791
- }), /* @__PURE__ */ A("input", {
3812
+ className: La(J.Label, $.Label),
3813
+ children: [e, r && /* @__PURE__ */ j(Ar, {})]
3814
+ }), /* @__PURE__ */ j("input", {
3792
3815
  inputMode: "tel",
3793
3816
  autoComplete: "tel-national",
3794
3817
  ...w,
@@ -3801,42 +3824,42 @@ function Ba({ label: e, helperText: t, error: n, required: r = !1, disabled: i =
3801
3824
  disabled: i,
3802
3825
  required: r,
3803
3826
  "aria-invalid": de,
3804
- "aria-describedby": Ia(be && te, me && O, C),
3827
+ "aria-describedby": La(be && k, me && O, C),
3805
3828
  className: J.Control
3806
3829
  })]
3807
3830
  })]
3808
- }), me && /* @__PURE__ */ A(jr, {
3831
+ }), me && /* @__PURE__ */ j(jr, {
3809
3832
  id: O,
3810
3833
  error: de,
3811
3834
  children: pe
3812
3835
  })]
3813
3836
  });
3814
3837
  }
3815
- var Va = {
3838
+ var Ha = {
3816
3839
  Options: "_Options_hhfuh_8",
3817
3840
  Circle: "_Circle_hhfuh_19",
3818
3841
  Dot: "_Dot_hhfuh_67"
3819
- }, Ha = Va.Circle, Ua = Va.Dot, Wa = ({ checked: e = !1, size: t = "md", className: n }) => /* @__PURE__ */ A("span", {
3842
+ }, Ua = Ha.Circle, Wa = Ha.Dot, Ga = ({ checked: e = !1, size: t = "md", className: n }) => /* @__PURE__ */ j("span", {
3820
3843
  "aria-hidden": !0,
3821
- className: [Va.Circle, n].filter(Boolean).join(" "),
3844
+ className: [Ha.Circle, n].filter(Boolean).join(" "),
3822
3845
  "data-size": t,
3823
3846
  "data-checked": e ? "" : void 0,
3824
- children: /* @__PURE__ */ A("span", { className: Va.Dot })
3825
- }), Ga = { Group: "_Group_2xgbn_8" }, Ka = s(null), qa = (e) => {
3826
- let t = u(Ka);
3847
+ children: /* @__PURE__ */ j("span", { className: Ha.Dot })
3848
+ }), Ka = { Group: "_Group_2xgbn_8" }, qa = s(null), Ja = (e) => {
3849
+ let t = u(qa);
3827
3850
  if (!t) throw Error(`<${e}> must be rendered inside a <RadioGroup.Root> or <RadioCard.Group>.`);
3828
3851
  return t;
3829
- }, Ja = (...e) => e.filter(Boolean).join(" ") || void 0;
3830
- function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defaultValue: a, onValueChange: o, name: s, disabled: c = !1, required: l = !1, onBlur: u, id: d, "aria-label": p, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y, size: b, cardSize: x, optionsClassName: S, optionsStyle: C, optionsDataColumns: w, children: T }) {
3831
- let E = f(), ee = f(), D = e != null, O = n != null, te = m(() => ({
3852
+ }, Ya = (...e) => e.filter(Boolean).join(" ") || void 0;
3853
+ function Xa({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defaultValue: a, onValueChange: o, name: s, disabled: c = !1, required: l = !1, onBlur: u, id: d, "aria-label": p, "aria-labelledby": h, "aria-describedby": g, className: _, style: v, ref: y, size: b, cardSize: x, optionsClassName: S, optionsStyle: C, optionsDataColumns: w, children: T }) {
3854
+ let E = f(), ee = f(), D = e != null, O = n != null, k = m(() => ({
3832
3855
  size: b,
3833
3856
  cardSize: x
3834
3857
  }), [b, x]);
3835
- return /* @__PURE__ */ j("div", {
3836
- className: Ja(Ga.Group, _),
3858
+ return /* @__PURE__ */ M("div", {
3859
+ className: Ya(Ka.Group, _),
3837
3860
  style: v,
3838
3861
  children: [
3839
- D && /* @__PURE__ */ A(Nr, {
3862
+ D && /* @__PURE__ */ j(Nr, {
3840
3863
  id: E,
3841
3864
  tooltip: t,
3842
3865
  required: l,
@@ -3844,9 +3867,9 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3844
3867
  disabled: c,
3845
3868
  children: e
3846
3869
  }),
3847
- /* @__PURE__ */ A(Ka.Provider, {
3848
- value: te,
3849
- children: /* @__PURE__ */ A(ge, {
3870
+ /* @__PURE__ */ j(qa.Provider, {
3871
+ value: k,
3872
+ children: /* @__PURE__ */ j(ge, {
3850
3873
  id: d,
3851
3874
  inputRef: y,
3852
3875
  name: s,
@@ -3857,7 +3880,7 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3857
3880
  required: l,
3858
3881
  "aria-label": p,
3859
3882
  "aria-labelledby": D ? E : h,
3860
- "aria-describedby": Ja(O && ee, g),
3883
+ "aria-describedby": Ya(O && ee, g),
3861
3884
  "aria-invalid": r ? !0 : void 0,
3862
3885
  onBlur: (e) => {
3863
3886
  e.currentTarget.contains(e.relatedTarget) || u?.(e);
@@ -3868,7 +3891,7 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3868
3891
  children: T
3869
3892
  })
3870
3893
  }),
3871
- O && /* @__PURE__ */ A(jr, {
3894
+ O && /* @__PURE__ */ j(jr, {
3872
3895
  id: ee,
3873
3896
  error: r,
3874
3897
  children: n
@@ -3878,48 +3901,48 @@ function Ya({ label: e, tooltip: t, helperText: n, error: r = !1, value: i, defa
3878
3901
  }
3879
3902
  //#endregion
3880
3903
  //#region src/components/form/radio.tsx
3881
- var Xa = /* @__PURE__ */ Se({
3882
- Item: () => Qa,
3883
- Root: () => $a
3884
- }), Za = (...e) => e.filter(Boolean).join(" ") || void 0;
3885
- function Qa({ value: e, label: t, disabled: n = !1, size: r, id: i, "aria-label": a, className: o, style: s, ref: c }) {
3886
- let l = qa("RadioGroup.Item"), u = t == null, d = /* @__PURE__ */ A(he.Root, {
3904
+ var Za = /* @__PURE__ */ Se({
3905
+ Item: () => $a,
3906
+ Root: () => eo
3907
+ }), Qa = (...e) => e.filter(Boolean).join(" ") || void 0;
3908
+ function $a({ value: e, label: t, disabled: n = !1, size: r, id: i, "aria-label": a, className: o, style: s, ref: c }) {
3909
+ let l = Ja("RadioGroup.Item"), u = t == null, d = /* @__PURE__ */ j(he.Root, {
3887
3910
  nativeButton: !0,
3888
- render: /* @__PURE__ */ A("button", { type: "button" }),
3911
+ render: /* @__PURE__ */ j("button", { type: "button" }),
3889
3912
  id: i,
3890
3913
  inputRef: c,
3891
3914
  value: e,
3892
3915
  disabled: n,
3893
3916
  "aria-label": a,
3894
3917
  "data-size": r ?? l.size ?? "md",
3895
- className: u ? Za(Ha, o) : Ha,
3918
+ className: u ? Qa(Ua, o) : Ua,
3896
3919
  style: u ? s : void 0,
3897
- children: /* @__PURE__ */ A(he.Indicator, {
3920
+ children: /* @__PURE__ */ j(he.Indicator, {
3898
3921
  keepMounted: !0,
3899
- className: Ua
3922
+ className: Wa
3900
3923
  })
3901
3924
  });
3902
- return u ? d : /* @__PURE__ */ j("label", {
3903
- className: Za(Kr.Row, o),
3925
+ return u ? d : /* @__PURE__ */ M("label", {
3926
+ className: Qa(Kr.Row, o),
3904
3927
  style: s,
3905
- children: [d, /* @__PURE__ */ A("span", {
3928
+ children: [d, /* @__PURE__ */ j("span", {
3906
3929
  className: Kr.Text,
3907
3930
  children: t
3908
3931
  })]
3909
3932
  });
3910
3933
  }
3911
- function $a({ options: e, children: t, ...n }) {
3912
- return /* @__PURE__ */ j(Ya, {
3934
+ function eo({ options: e, children: t, ...n }) {
3935
+ return /* @__PURE__ */ M(Xa, {
3913
3936
  ...n,
3914
- optionsClassName: Va.Options,
3915
- children: [e?.map((e) => /* @__PURE__ */ A(Qa, {
3937
+ optionsClassName: Ha.Options,
3938
+ children: [e?.map((e) => /* @__PURE__ */ j($a, {
3916
3939
  value: e.value,
3917
3940
  label: e.label,
3918
3941
  disabled: e.disabled
3919
3942
  }, String(e.value))), t]
3920
3943
  });
3921
3944
  }
3922
- var eo = {
3945
+ var to = {
3923
3946
  Options: "_Options_1myxj_8",
3924
3947
  Card: "_Card_1myxj_19",
3925
3948
  Radio: "_Radio_1myxj_61",
@@ -3928,125 +3951,127 @@ var eo = {
3928
3951
  Content: "_Content_1myxj_116",
3929
3952
  Label: "_Label_1myxj_133",
3930
3953
  Description: "_Description_1myxj_142"
3931
- }, to = /* @__PURE__ */ Se({
3932
- Content: () => oo,
3933
- Description: () => co,
3934
- Group: () => lo,
3935
- Icon: () => ao,
3936
- Indicator: () => io,
3937
- Label: () => so,
3938
- Root: () => ro
3939
- }), no = (...e) => e.filter(Boolean).join(" ") || void 0;
3940
- function ro({ value: e, orientation: t = "horizontal", disabled: n = !1, size: r, className: i, style: a, ref: o, children: s }) {
3941
- let c = qa("RadioCard.Root");
3942
- return /* @__PURE__ */ j("label", {
3954
+ }, no = /* @__PURE__ */ Se({
3955
+ Content: () => so,
3956
+ Description: () => lo,
3957
+ Group: () => uo,
3958
+ Icon: () => oo,
3959
+ Indicator: () => ao,
3960
+ Label: () => co,
3961
+ Root: () => io
3962
+ }), ro = (...e) => e.filter(Boolean).join(" ") || void 0;
3963
+ function io({ value: e, orientation: t = "horizontal", disabled: n = !1, size: r, className: i, style: a, ref: o, children: s }) {
3964
+ let c = Ja("RadioCard.Root");
3965
+ return /* @__PURE__ */ M("label", {
3943
3966
  ref: o,
3944
- className: no(eo.Card, i),
3967
+ className: ro(to.Card, i),
3945
3968
  style: a,
3946
3969
  "data-orientation": t,
3947
3970
  "data-size": r ?? c.cardSize ?? "lg",
3948
- children: [/* @__PURE__ */ A(he.Root, {
3971
+ children: [/* @__PURE__ */ j(he.Root, {
3949
3972
  nativeButton: !0,
3950
- render: /* @__PURE__ */ A("button", { type: "button" }),
3973
+ render: /* @__PURE__ */ j("button", { type: "button" }),
3951
3974
  value: e,
3952
3975
  disabled: n,
3953
- className: eo.Radio
3976
+ className: to.Radio
3954
3977
  }), s]
3955
3978
  });
3956
3979
  }
3957
- var io = ({ size: e }) => /* @__PURE__ */ A(Wa, {
3980
+ var ao = ({ size: e }) => /* @__PURE__ */ j(Ga, {
3958
3981
  size: e,
3959
- className: eo.Indicator
3960
- }), ao = ({ size: e = 24, icon: t }) => /* @__PURE__ */ A(t, {
3982
+ className: to.Indicator
3983
+ }), oo = ({ size: e = 24, icon: t }) => /* @__PURE__ */ j(t, {
3961
3984
  size: e,
3962
3985
  "aria-hidden": !0,
3963
- className: eo.Icon
3964
- }), oo = ({ children: e, className: t, style: n }) => /* @__PURE__ */ A("span", {
3965
- className: no(eo.Content, t),
3986
+ className: to.Icon
3987
+ }), so = ({ children: e, className: t, style: n }) => /* @__PURE__ */ j("span", {
3988
+ className: ro(to.Content, t),
3966
3989
  style: n,
3967
3990
  children: e
3968
- }), so = ({ children: e }) => /* @__PURE__ */ A("span", {
3969
- className: eo.Label,
3991
+ }), co = ({ children: e }) => /* @__PURE__ */ j("span", {
3992
+ className: to.Label,
3970
3993
  children: e
3971
- }), co = ({ children: e }) => /* @__PURE__ */ A("span", {
3972
- className: eo.Description,
3994
+ }), lo = ({ children: e }) => /* @__PURE__ */ j("span", {
3995
+ className: to.Description,
3973
3996
  children: e
3974
3997
  });
3975
- function lo({ options: e, columns: t = 1, size: n, children: r, ...i }) {
3976
- return /* @__PURE__ */ j(Ya, {
3998
+ function uo({ options: e, columns: t = 1, size: n, children: r, ...i }) {
3999
+ return /* @__PURE__ */ M(Xa, {
3977
4000
  ...i,
3978
4001
  cardSize: n,
3979
- optionsClassName: eo.Options,
4002
+ optionsClassName: to.Options,
3980
4003
  optionsStyle: { "--radio-card-columns": t },
3981
4004
  optionsDataColumns: t > 1 ? "many" : void 0,
3982
- children: [e?.map((e) => /* @__PURE__ */ j(ro, {
4005
+ children: [e?.map((e) => /* @__PURE__ */ M(io, {
3983
4006
  value: e.value,
3984
4007
  disabled: e.disabled,
3985
- children: [/* @__PURE__ */ A(io, {}), e.label]
4008
+ children: [/* @__PURE__ */ j(ao, {}), e.label]
3986
4009
  }, String(e.value))), r]
3987
4010
  });
3988
4011
  }
3989
4012
  //#endregion
3990
4013
  //#region src/components/form/select.tsx
3991
- function uo({ options: e, value: t, defaultValue: n = "", onValueChange: r, ...i }) {
3992
- let a = t !== void 0, [o, s] = g(n), c = a ? t : o, l = e.find((e) => e.value === c);
3993
- return /* @__PURE__ */ A(da, {
3994
- ...i,
4014
+ function fo({ options: e, value: t, defaultValue: n = "", onValueChange: r, startAdornment: i, ...a }) {
4015
+ let o = t !== void 0, [s, c] = g(n), l = o ? t : s, u = e.find((e) => e.value === l);
4016
+ return /* @__PURE__ */ j(da, {
4017
+ ...a,
4018
+ startAdornment: i ?? (u?.icon == null ? null : /* @__PURE__ */ j(pa, { children: u.icon })),
3995
4019
  multiple: !1,
3996
- value: l ? l.value : null,
4020
+ value: u ? u.value : null,
3997
4021
  onValueChange: (e) => {
3998
4022
  let t = e ?? "";
3999
- a || s(t), r?.(t);
4023
+ o || c(t), r?.(t);
4000
4024
  },
4001
- filled: l != null,
4002
- display: l?.label,
4025
+ filled: u != null,
4026
+ display: u?.label,
4003
4027
  displayHidden: !0,
4004
- valueText: l?.label ?? "",
4005
- children: e.map((e) => /* @__PURE__ */ A(fa, { option: e }, e.value))
4028
+ valueText: u?.label ?? "",
4029
+ children: e.map((e) => /* @__PURE__ */ j(fa, { option: e }, e.value))
4006
4030
  });
4007
4031
  }
4008
- var fo = {
4009
- Slider: "_Slider_tm1hu_10",
4010
- Header: "_Header_tm1hu_21",
4011
- Label: "_Label_tm1hu_28",
4012
- Value: "_Value_tm1hu_33"
4032
+ var po = {
4033
+ Slider: "_Slider_1qpll_10",
4034
+ Header: "_Header_1qpll_21",
4035
+ Label: "_Label_1qpll_28",
4036
+ Value: "_Value_1qpll_33"
4013
4037
  };
4014
4038
  //#endregion
4015
4039
  //#region src/components/form/slider.tsx
4016
- function po({ label: e, "aria-label": t, helperText: n, error: r = !1, min: i = 0, max: a = 100, format: o, locale: s, className: c, ...l }) {
4017
- let u = f(), d = f();
4018
- return /* @__PURE__ */ A(oe.Root, {
4040
+ function mo({ label: e, "aria-label": t, helperText: n, error: r = !1, color: i = "primary", min: a = 0, max: o = 100, format: s, locale: c, className: l, ...u }) {
4041
+ let d = f(), p = f();
4042
+ return /* @__PURE__ */ j(oe.Root, {
4019
4043
  invalid: r,
4020
4044
  render: Cr,
4021
- children: /* @__PURE__ */ j(B.Root, {
4022
- ...l,
4023
- min: i,
4024
- max: a,
4025
- format: o,
4026
- locale: s,
4027
- "aria-labelledby": e == null ? void 0 : u,
4028
- className: G(fo.Slider, c),
4045
+ children: /* @__PURE__ */ M(B.Root, {
4046
+ ...u,
4047
+ min: a,
4048
+ max: o,
4049
+ format: s,
4050
+ locale: c,
4051
+ "aria-labelledby": e == null ? void 0 : d,
4052
+ "data-color": i,
4053
+ className: G(po.Slider, l),
4029
4054
  children: [
4030
- /* @__PURE__ */ j("div", {
4031
- className: fo.Header,
4032
- children: [e != null && /* @__PURE__ */ A("div", {
4033
- id: u,
4034
- className: fo.Label,
4055
+ /* @__PURE__ */ M("div", {
4056
+ className: po.Header,
4057
+ children: [e != null && /* @__PURE__ */ j("div", {
4058
+ id: d,
4059
+ className: po.Label,
4035
4060
  children: e
4036
- }), /* @__PURE__ */ A(B.Value, { className: fo.Value })]
4061
+ }), /* @__PURE__ */ j(B.Value, { className: po.Value })]
4037
4062
  }),
4038
- /* @__PURE__ */ A(wr, {
4063
+ /* @__PURE__ */ j(wr, {
4039
4064
  "aria-label": t,
4040
- "aria-describedby": n == null ? void 0 : d
4065
+ "aria-describedby": n == null ? void 0 : p
4041
4066
  }),
4042
- /* @__PURE__ */ A(Tr, {
4043
- min: i,
4044
- max: a,
4045
- format: o,
4046
- locale: s
4067
+ /* @__PURE__ */ j(Tr, {
4068
+ min: a,
4069
+ max: o,
4070
+ format: s,
4071
+ locale: c
4047
4072
  }),
4048
- n != null && /* @__PURE__ */ A(Er, {
4049
- id: d,
4073
+ n != null && /* @__PURE__ */ j(Er, {
4074
+ id: p,
4050
4075
  error: r,
4051
4076
  children: n
4052
4077
  })
@@ -4054,63 +4079,63 @@ function po({ label: e, "aria-label": t, helperText: n, error: r = !1, min: i =
4054
4079
  })
4055
4080
  });
4056
4081
  }
4057
- var mo = {
4082
+ var ho = {
4058
4083
  Switch: "_Switch_9c9ji_7",
4059
4084
  Thumb: "_Thumb_9c9ji_36"
4060
4085
  };
4061
4086
  //#endregion
4062
4087
  //#region src/components/form/switch.tsx
4063
- function ho({ className: e, ...t }) {
4064
- return /* @__PURE__ */ A(_e.Root, {
4088
+ function go({ className: e, ...t }) {
4089
+ return /* @__PURE__ */ j(_e.Root, {
4065
4090
  ...t,
4066
- className: G(mo.Switch, e),
4067
- children: /* @__PURE__ */ A(_e.Thumb, { className: mo.Thumb })
4091
+ className: G(ho.Switch, e),
4092
+ children: /* @__PURE__ */ j(_e.Thumb, { className: ho.Thumb })
4068
4093
  });
4069
4094
  }
4070
- var go = {
4095
+ var _o = {
4071
4096
  Grid: "_Grid_19t94_10",
4072
4097
  GridItem: "_GridItem_19t94_31"
4073
- }, _o = (e) => typeof e == "object" && !!e;
4074
- function vo(e, t, n = String) {
4098
+ }, vo = (e) => typeof e == "object" && !!e;
4099
+ function yo(e, t, n = String) {
4075
4100
  if (t === void 0) return {};
4076
- let r = _o(t) ? Object.entries(t) : [["base", t]], i = {};
4101
+ let r = vo(t) ? Object.entries(t) : [["base", t]], i = {};
4077
4102
  for (let [t, a] of r) a !== void 0 && (i[`--_${e}-${t}`] = n(a));
4078
4103
  return i;
4079
4104
  }
4080
4105
  //#endregion
4081
4106
  //#region src/components/layout/grid.tsx
4082
- function yo({ columns: e, gap: t, render: n, className: r, style: i, ...a }) {
4107
+ function bo({ columns: e, gap: t, render: n, className: r, style: i, ...a }) {
4083
4108
  return N({
4084
4109
  render: n,
4085
4110
  props: {
4086
4111
  ...a,
4087
- className: G(go.Grid, r)({}),
4112
+ className: G(_o.Grid, r)({}),
4088
4113
  style: {
4089
- ...vo("columns", e),
4090
- ...vo("gap", t),
4114
+ ...yo("columns", e),
4115
+ ...yo("gap", t),
4091
4116
  ...i
4092
4117
  }
4093
4118
  }
4094
4119
  });
4095
4120
  }
4096
- var bo = (e) => e === "full" ? "1 / -1" : `span ${e} / span ${e}`;
4097
- function xo({ span: e, render: t, className: n, style: r, ...i }) {
4121
+ var xo = (e) => e === "full" ? "1 / -1" : `span ${e} / span ${e}`;
4122
+ function So({ span: e, render: t, className: n, style: r, ...i }) {
4098
4123
  return N({
4099
4124
  render: t,
4100
4125
  props: {
4101
4126
  ...i,
4102
- className: G(go.GridItem, n)({}),
4127
+ className: G(_o.GridItem, n)({}),
4103
4128
  style: {
4104
- ...vo("span", e, bo),
4129
+ ...yo("span", e, xo),
4105
4130
  ...r
4106
4131
  }
4107
4132
  }
4108
4133
  });
4109
4134
  }
4110
- var So = { Stack: "_Stack_11xqj_10" };
4135
+ var Co = { Stack: "_Stack_11xqj_10" };
4111
4136
  //#endregion
4112
4137
  //#region src/components/layout/stack.tsx
4113
- function Co({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render: a, className: o, style: s, ...c }) {
4138
+ function wo({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render: a, className: o, style: s, ...c }) {
4114
4139
  return N({
4115
4140
  render: a,
4116
4141
  props: {
@@ -4118,22 +4143,22 @@ function Co({ direction: e, gap: t, align: n, justify: r, wrap: i = !1, render:
4118
4143
  "data-align": n,
4119
4144
  "data-justify": r,
4120
4145
  "data-wrap": i || void 0,
4121
- className: G(So.Stack, o)({}),
4146
+ className: G(Co.Stack, o)({}),
4122
4147
  style: {
4123
- ...vo("direction", e),
4124
- ...vo("gap", t),
4148
+ ...yo("direction", e),
4149
+ ...yo("gap", t),
4125
4150
  ...s
4126
4151
  }
4127
4152
  }
4128
4153
  });
4129
4154
  }
4130
- function wo(e) {
4131
- return /* @__PURE__ */ A(Co, {
4155
+ function To(e) {
4156
+ return /* @__PURE__ */ j(wo, {
4132
4157
  ...e,
4133
4158
  direction: "row"
4134
4159
  });
4135
4160
  }
4136
- var To = {
4161
+ var Eo = {
4137
4162
  Header: "_Header_1p9o4_7",
4138
4163
  Lead: "_Lead_1p9o4_15",
4139
4164
  Titles: "_Titles_1p9o4_21",
@@ -4141,12 +4166,12 @@ var To = {
4141
4166
  Next: "_Next_1p9o4_42",
4142
4167
  Divider: "_Divider_1p9o4_51",
4143
4168
  SrOnly: "_SrOnly_1p9o4_58"
4144
- }, Eo = {
4169
+ }, Do = {
4145
4170
  ProgressCircle: "_ProgressCircle_a7wgh_11",
4146
4171
  Svg: "_Svg_a7wgh_23",
4147
4172
  Track: "_Track_a7wgh_31",
4148
4173
  Value: "_Value_a7wgh_35"
4149
- }, Do = [
4174
+ }, Oo = [
4150
4175
  .69,
4151
4176
  .33,
4152
4177
  .61,
@@ -4157,10 +4182,10 @@ var To = {
4157
4182
  .54,
4158
4183
  .62,
4159
4184
  .64
4160
- ], Oo = .43, ko = .69, Ao = (e, t) => {
4161
- let n = Array.from(e).reduce((e, t) => e + (t === "/" ? Oo : Do[Number(t)] ?? .69), 0);
4162
- return Math.max(t - 4, 0) / Math.hypot(n, ko);
4163
- }, jo = ({ value: e, max: a, color: o = "primary", size: s = 48, strokeWidth: c = 4, showValue: l = !0, label: u }) => {
4185
+ ], ko = .43, Ao = .69, jo = (e, t) => {
4186
+ let n = Array.from(e).reduce((e, t) => e + (t === "/" ? ko : Oo[Number(t)] ?? .69), 0);
4187
+ return Math.max(t - 4, 0) / Math.hypot(n, Ao);
4188
+ }, Mo = ({ value: e, max: a, color: o = "primary", size: s = 48, strokeWidth: c = 4, showValue: l = !0, label: u }) => {
4164
4189
  let f = i(), p = (s - c) / 2, m = 2 * Math.PI * p, h = a > 0 ? Math.min(Math.max(e / a, 0), 1) : 0, g = (e) => m * (1 - e), _ = r(g(0));
4165
4190
  d(() => {
4166
4191
  let e = g(h);
@@ -4179,8 +4204,8 @@ var To = {
4179
4204
  f,
4180
4205
  _
4181
4206
  ]);
4182
- let v = `${e}/${a}`, y = Ao(v, s - 2 * c);
4183
- return /* @__PURE__ */ j("div", {
4207
+ let v = `${e}/${a}`, y = jo(v, s - 2 * c);
4208
+ return /* @__PURE__ */ M("div", {
4184
4209
  ...u ? {
4185
4210
  role: "progressbar",
4186
4211
  "aria-label": u,
@@ -4188,27 +4213,27 @@ var To = {
4188
4213
  "aria-valuemax": a,
4189
4214
  "aria-valuenow": e
4190
4215
  } : { "aria-hidden": !0 },
4191
- className: Eo.ProgressCircle,
4216
+ className: Do.ProgressCircle,
4192
4217
  "data-color": o,
4193
4218
  style: {
4194
4219
  width: s,
4195
4220
  height: s,
4196
4221
  "--_label-fit": `${y.toFixed(2)}px`
4197
4222
  },
4198
- children: [/* @__PURE__ */ j("svg", {
4199
- className: Eo.Svg,
4223
+ children: [/* @__PURE__ */ M("svg", {
4224
+ className: Do.Svg,
4200
4225
  width: s,
4201
4226
  height: s,
4202
4227
  viewBox: `0 0 ${s} ${s}`,
4203
- children: [/* @__PURE__ */ A("circle", {
4204
- className: Eo.Track,
4228
+ children: [/* @__PURE__ */ j("circle", {
4229
+ className: Do.Track,
4205
4230
  cx: s / 2,
4206
4231
  cy: s / 2,
4207
4232
  r: p,
4208
4233
  fill: "none",
4209
4234
  stroke: "currentColor",
4210
4235
  strokeWidth: c
4211
- }), /* @__PURE__ */ A(n.circle, {
4236
+ }), /* @__PURE__ */ j(n.circle, {
4212
4237
  cx: s / 2,
4213
4238
  cy: s / 2,
4214
4239
  r: p,
@@ -4219,12 +4244,12 @@ var To = {
4219
4244
  strokeDasharray: m,
4220
4245
  style: { strokeDashoffset: _ }
4221
4246
  })]
4222
- }), l && /* @__PURE__ */ A("span", {
4223
- className: Eo.Value,
4247
+ }), l && /* @__PURE__ */ j("span", {
4248
+ className: Do.Value,
4224
4249
  children: v
4225
4250
  })]
4226
4251
  });
4227
- }, Mo = U({
4252
+ }, No = U({
4228
4253
  back: {
4229
4254
  no: "Tilbake",
4230
4255
  se: "Tillbaka",
@@ -4249,34 +4274,34 @@ var To = {
4249
4274
  fi: "/",
4250
4275
  es: "de"
4251
4276
  }
4252
- }), No = ({ currentStep: e, totalSteps: t, title: n, nextStep: r, onBack: i, color: a = "primary", titleAs: o = "heading", headingLevel: s = "h1", titleId: c, labels: l, showDivider: u = !0 }) => {
4277
+ }), Po = ({ currentStep: e, totalSteps: t, title: n, nextStep: r, onBack: i, color: a = "primary", titleAs: o = "heading", headingLevel: s = "h1", titleId: c, labels: l, showDivider: u = !0 }) => {
4253
4278
  let d = {
4254
- ...Mo(),
4279
+ ...No(),
4255
4280
  ...l
4256
4281
  }, p = f(), m = c ?? p, h = o === "heading" ? s : "p", g = `, ${d.step} ${e} ${d.of} ${t}`;
4257
- return /* @__PURE__ */ j(k, { children: [/* @__PURE__ */ j("div", {
4258
- className: To.Header,
4259
- children: [/* @__PURE__ */ j("div", {
4260
- className: To.Lead,
4261
- children: [i && /* @__PURE__ */ A(lt, {
4282
+ return /* @__PURE__ */ M(A, { children: [/* @__PURE__ */ M("div", {
4283
+ className: Eo.Header,
4284
+ children: [/* @__PURE__ */ M("div", {
4285
+ className: Eo.Lead,
4286
+ children: [i && /* @__PURE__ */ j(lt, {
4262
4287
  "aria-label": d.back,
4263
4288
  onClick: i,
4264
4289
  variant: "outline",
4265
4290
  color: "secondary",
4266
- children: /* @__PURE__ */ A(_, { "aria-hidden": !0 })
4267
- }), /* @__PURE__ */ j("div", {
4268
- className: To.Titles,
4269
- children: [/* @__PURE__ */ j(h, {
4291
+ children: /* @__PURE__ */ j(_, { "aria-hidden": !0 })
4292
+ }), /* @__PURE__ */ M("div", {
4293
+ className: Eo.Titles,
4294
+ children: [/* @__PURE__ */ M(h, {
4270
4295
  id: m,
4271
4296
  tabIndex: -1,
4272
- className: To.Title,
4297
+ className: Eo.Title,
4273
4298
  "data-title-as": o,
4274
- children: [n, /* @__PURE__ */ A("span", {
4275
- className: To.SrOnly,
4299
+ children: [n, /* @__PURE__ */ j("span", {
4300
+ className: Eo.SrOnly,
4276
4301
  children: g
4277
4302
  })]
4278
- }), r != null && /* @__PURE__ */ j("p", {
4279
- className: To.Next,
4303
+ }), r != null && /* @__PURE__ */ M("p", {
4304
+ className: Eo.Next,
4280
4305
  children: [
4281
4306
  d.next,
4282
4307
  ": ",
@@ -4284,13 +4309,13 @@ var To = {
4284
4309
  ]
4285
4310
  })]
4286
4311
  })]
4287
- }), /* @__PURE__ */ A(jo, {
4312
+ }), /* @__PURE__ */ j(Mo, {
4288
4313
  value: e,
4289
4314
  max: t,
4290
4315
  color: a
4291
4316
  })]
4292
- }), u && /* @__PURE__ */ A("hr", { className: To.Divider })] });
4293
- }, Po = {
4317
+ }), u && /* @__PURE__ */ j("hr", { className: Eo.Divider })] });
4318
+ }, Fo = {
4294
4319
  LinearFormStepper: "_LinearFormStepper_160tf_7",
4295
4320
  Progress: "_Progress_160tf_22",
4296
4321
  Track: "_Track_160tf_26",
@@ -4299,54 +4324,54 @@ var To = {
4299
4324
  Title: "_Title_160tf_47",
4300
4325
  TitleText: "_TitleText_160tf_57",
4301
4326
  "stepper-title-in": "_stepper-title-in_160tf_1"
4302
- }, Fo = ({ currentStep: e, totalSteps: t, title: n, onBack: r, color: i = "primary", headingLevel: a = "h1", titleId: o, labels: s }) => {
4327
+ }, Io = ({ currentStep: e, totalSteps: t, title: n, onBack: r, color: i = "primary", headingLevel: a = "h1", titleId: o, labels: s }) => {
4303
4328
  let c = {
4304
- ...Mo(),
4329
+ ...No(),
4305
4330
  ...s
4306
4331
  }, l = f(), u = o ?? l;
4307
- return /* @__PURE__ */ j("div", {
4308
- className: Po.LinearFormStepper,
4332
+ return /* @__PURE__ */ M("div", {
4333
+ className: Fo.LinearFormStepper,
4309
4334
  "data-color": i,
4310
- children: [/* @__PURE__ */ A(ve.Root, {
4311
- className: Po.Progress,
4335
+ children: [/* @__PURE__ */ j(ve.Root, {
4336
+ className: Fo.Progress,
4312
4337
  value: e,
4313
4338
  max: t,
4314
4339
  "aria-labelledby": u,
4315
4340
  getAriaValueText: () => `${c.step} ${e} ${c.of} ${t}`,
4316
- children: /* @__PURE__ */ A(ve.Track, {
4317
- className: Po.Track,
4318
- children: /* @__PURE__ */ A(ve.Indicator, { className: Po.Indicator })
4341
+ children: /* @__PURE__ */ j(ve.Track, {
4342
+ className: Fo.Track,
4343
+ children: /* @__PURE__ */ j(ve.Indicator, { className: Fo.Indicator })
4319
4344
  })
4320
- }), /* @__PURE__ */ j("div", {
4321
- className: Po.Header,
4322
- children: [r && /* @__PURE__ */ A(lt, {
4345
+ }), /* @__PURE__ */ M("div", {
4346
+ className: Fo.Header,
4347
+ children: [r && /* @__PURE__ */ j(lt, {
4323
4348
  "aria-label": c.back,
4324
4349
  onClick: r,
4325
4350
  variant: "outline",
4326
4351
  color: "secondary",
4327
- children: /* @__PURE__ */ A(_, { "aria-hidden": !0 })
4328
- }), /* @__PURE__ */ A(a, {
4352
+ children: /* @__PURE__ */ j(_, { "aria-hidden": !0 })
4353
+ }), /* @__PURE__ */ j(a, {
4329
4354
  id: u,
4330
4355
  tabIndex: -1,
4331
- className: Po.Title,
4332
- children: /* @__PURE__ */ A("span", {
4333
- className: Po.TitleText,
4356
+ className: Fo.Title,
4357
+ children: /* @__PURE__ */ j("span", {
4358
+ className: Fo.TitleText,
4334
4359
  children: n
4335
4360
  }, e)
4336
4361
  })]
4337
4362
  })]
4338
4363
  });
4339
- }, Io = s(null), Lo = s(null), Ro = ({ children: e, initialProgress: t }) => {
4364
+ }, Lo = s(null), Ro = s(null), zo = ({ children: e, initialProgress: t }) => {
4340
4365
  let [n, r] = g(t ?? null);
4341
- return /* @__PURE__ */ A(Lo.Provider, {
4366
+ return /* @__PURE__ */ j(Ro.Provider, {
4342
4367
  value: r,
4343
- children: /* @__PURE__ */ A(Io.Provider, {
4368
+ children: /* @__PURE__ */ j(Lo.Provider, {
4344
4369
  value: n,
4345
4370
  children: e
4346
4371
  })
4347
4372
  });
4348
- }, zo = () => u(Io), Bo = (e) => {
4349
- let t = u(Lo), n = e?.currentStep, r = e?.totalSteps, i = e?.title;
4373
+ }, Bo = () => u(Lo), Vo = (e) => {
4374
+ let t = u(Ro), n = e?.currentStep, r = e?.totalSteps, i = e?.title;
4350
4375
  d(() => {
4351
4376
  !t || n === void 0 || r === void 0 || i === void 0 || t({
4352
4377
  currentStep: n,
@@ -4359,58 +4384,58 @@ var To = {
4359
4384
  r,
4360
4385
  i
4361
4386
  ]);
4362
- }, Vo = (e) => {
4363
- let t = zo();
4364
- return t ? /* @__PURE__ */ A(Fo, {
4387
+ }, Ho = (e) => {
4388
+ let t = Bo();
4389
+ return t ? /* @__PURE__ */ j(Io, {
4365
4390
  ...e,
4366
4391
  ...t
4367
4392
  }) : null;
4368
- }, Ho = {
4393
+ }, Uo = {
4369
4394
  Tabs: "_Tabs_y4jai_7",
4370
4395
  List: "_List_y4jai_28",
4371
4396
  Tab: "_Tab_y4jai_7",
4372
4397
  Panel: "_Panel_y4jai_95",
4373
4398
  Indicator: "_Indicator_y4jai_104"
4374
- }, Uo = /* @__PURE__ */ Se({
4375
- Indicator: () => qo,
4376
- List: () => Go,
4377
- Panel: () => Jo,
4378
- Root: () => Wo,
4379
- Tab: () => Ko
4399
+ }, Wo = /* @__PURE__ */ Se({
4400
+ Indicator: () => Jo,
4401
+ List: () => Ko,
4402
+ Panel: () => Yo,
4403
+ Root: () => Go,
4404
+ Tab: () => qo
4380
4405
  });
4381
- function Wo({ color: e = "primary", className: t, ...n }) {
4382
- return /* @__PURE__ */ A(ye.Root, {
4406
+ function Go({ color: e = "primary", className: t, ...n }) {
4407
+ return /* @__PURE__ */ j(ye.Root, {
4383
4408
  ...n,
4384
4409
  "data-color": e,
4385
- className: G(Ho.Tabs, t)
4410
+ className: G(Uo.Tabs, t)
4386
4411
  });
4387
4412
  }
4388
- function Go({ children: e, className: t, ...n }) {
4389
- return /* @__PURE__ */ j(ye.List, {
4413
+ function Ko({ children: e, className: t, ...n }) {
4414
+ return /* @__PURE__ */ M(ye.List, {
4390
4415
  ...n,
4391
- className: G(Ho.List, t),
4392
- children: [e, /* @__PURE__ */ A(qo, {})]
4416
+ className: G(Uo.List, t),
4417
+ children: [e, /* @__PURE__ */ j(Jo, {})]
4393
4418
  });
4394
4419
  }
4395
- function Ko({ className: e, ...t }) {
4396
- return /* @__PURE__ */ A(ye.Tab, {
4420
+ function qo({ className: e, ...t }) {
4421
+ return /* @__PURE__ */ j(ye.Tab, {
4397
4422
  ...t,
4398
- className: G(Ho.Tab, e)
4423
+ className: G(Uo.Tab, e)
4399
4424
  });
4400
4425
  }
4401
- function qo({ className: e, ...t }) {
4402
- return /* @__PURE__ */ A(ye.Indicator, {
4426
+ function Jo({ className: e, ...t }) {
4427
+ return /* @__PURE__ */ j(ye.Indicator, {
4403
4428
  ...t,
4404
- className: G(Ho.Indicator, e)
4429
+ className: G(Uo.Indicator, e)
4405
4430
  });
4406
4431
  }
4407
- function Jo({ className: e, ...t }) {
4408
- return /* @__PURE__ */ A(ye.Panel, {
4432
+ function Yo({ className: e, ...t }) {
4433
+ return /* @__PURE__ */ j(ye.Panel, {
4409
4434
  ...t,
4410
- className: G(Ho.Panel, e)
4435
+ className: G(Uo.Panel, e)
4411
4436
  });
4412
4437
  }
4413
- var Yo = {
4438
+ var Xo = {
4414
4439
  Breadcrumbs: "_Breadcrumbs_1p42m_8",
4415
4440
  List: "_List_1p42m_12",
4416
4441
  Item: "_Item_1p42m_26",
@@ -4418,7 +4443,7 @@ var Yo = {
4418
4443
  Link: "_Link_1p42m_39",
4419
4444
  Text: "_Text_1p42m_40",
4420
4445
  Current: "_Current_1p42m_55"
4421
- }, Xo = U({ label: {
4446
+ }, Zo = U({ label: {
4422
4447
  no: "Brødsmulesti",
4423
4448
  se: "Brödsmulor",
4424
4449
  fi: "Murupolku",
@@ -4426,7 +4451,7 @@ var Yo = {
4426
4451
  } });
4427
4452
  //#endregion
4428
4453
  //#region src/components/navigation/breadcrumbs.tsx
4429
- function Zo({ item: e }) {
4454
+ function Qo({ item: e }) {
4430
4455
  let t = e.href != null || e.render != null;
4431
4456
  return N({
4432
4457
  enabled: t,
@@ -4434,45 +4459,45 @@ function Zo({ item: e }) {
4434
4459
  defaultTagName: "a",
4435
4460
  props: {
4436
4461
  href: e.href,
4437
- className: Yo.Link,
4462
+ className: Xo.Link,
4438
4463
  children: e.label
4439
4464
  }
4440
- }) ?? /* @__PURE__ */ A("span", {
4441
- className: Yo.Text,
4465
+ }) ?? /* @__PURE__ */ j("span", {
4466
+ className: Xo.Text,
4442
4467
  children: e.label
4443
4468
  });
4444
4469
  }
4445
- function Qo({ items: e, className: t, ...n }) {
4446
- let r = Xo();
4470
+ function $o({ items: e, className: t, ...n }) {
4471
+ let r = Zo();
4447
4472
  if (e.length === 0) return null;
4448
4473
  let i = e.length - 1;
4449
- return /* @__PURE__ */ A("nav", {
4474
+ return /* @__PURE__ */ j("nav", {
4450
4475
  "aria-label": r.label,
4451
4476
  ...n,
4452
- className: [Yo.Breadcrumbs, t].filter(Boolean).join(" "),
4453
- children: /* @__PURE__ */ A("ol", {
4454
- className: Yo.List,
4455
- children: e.map((e, t) => /* @__PURE__ */ j("li", {
4456
- className: Yo.Item,
4457
- children: [t > 0 && /* @__PURE__ */ A("span", {
4477
+ className: [Xo.Breadcrumbs, t].filter(Boolean).join(" "),
4478
+ children: /* @__PURE__ */ j("ol", {
4479
+ className: Xo.List,
4480
+ children: e.map((e, t) => /* @__PURE__ */ M("li", {
4481
+ className: Xo.Item,
4482
+ children: [t > 0 && /* @__PURE__ */ j("span", {
4458
4483
  "aria-hidden": !0,
4459
- className: Yo.Separator,
4484
+ className: Xo.Separator,
4460
4485
  children: "/"
4461
- }), t === i ? /* @__PURE__ */ A("span", {
4486
+ }), t === i ? /* @__PURE__ */ j("span", {
4462
4487
  "aria-current": "page",
4463
- className: Yo.Current,
4488
+ className: Xo.Current,
4464
4489
  children: e.label
4465
- }) : /* @__PURE__ */ A(Zo, { item: e })]
4490
+ }) : /* @__PURE__ */ j(Qo, { item: e })]
4466
4491
  }, t))
4467
4492
  })
4468
4493
  });
4469
4494
  }
4470
- var $o = {
4495
+ var es = {
4471
4496
  Pagination: "_Pagination_18k1j_7",
4472
4497
  List: "_List_18k1j_11",
4473
4498
  Item: "_Item_18k1j_21",
4474
4499
  Ellipsis: "_Ellipsis_18k1j_75"
4475
- }, es = U({
4500
+ }, ts = U({
4476
4501
  label: {
4477
4502
  no: "Sider",
4478
4503
  se: "Sidor",
@@ -4503,20 +4528,20 @@ var $o = {
4503
4528
  fi: "Siirry sivulle {page}",
4504
4529
  es: "Ir a la página {page}"
4505
4530
  }
4506
- }), ts = (e, t) => e.replace("{page}", String(t));
4531
+ }), ns = (e, t) => e.replace("{page}", String(t));
4507
4532
  //#endregion
4508
4533
  //#region src/components/navigation/pagination.tsx
4509
- function ns(e, t) {
4534
+ function rs(e, t) {
4510
4535
  if (t <= 7) return Array.from({ length: t }, (e, t) => t + 1);
4511
4536
  let n = Math.max(2, e - 1), r = Math.min(t - 1, e + 1), i = [1];
4512
4537
  n > 2 && i.push("start-ellipsis");
4513
4538
  for (let e = n; e <= r; e += 1) i.push(e);
4514
4539
  return r < t - 1 && i.push("end-ellipsis"), i.push(t), i;
4515
4540
  }
4516
- var rs = (e, t) => Math.min(Math.max(Math.round(e), 1), Math.max(t, 1));
4517
- function is({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink: i, onSelect: a, children: o }) {
4541
+ var is = (e, t) => Math.min(Math.max(Math.round(e), 1), Math.max(t, 1));
4542
+ function as({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink: i, onSelect: a, children: o }) {
4518
4543
  let s = {
4519
- className: $o.Item,
4544
+ className: es.Item,
4520
4545
  "aria-label": t,
4521
4546
  "aria-current": n ? "page" : void 0,
4522
4547
  "data-current": n ? "" : void 0,
@@ -4531,51 +4556,51 @@ function is({ page: e, label: t, current: n = !1, disabled: r = !1, renderLink:
4531
4556
  ...s,
4532
4557
  onClick: () => a(e)
4533
4558
  }
4534
- }) || (i == null ? /* @__PURE__ */ A("button", {
4559
+ }) || (i == null ? /* @__PURE__ */ j("button", {
4535
4560
  ...s,
4536
4561
  type: "button",
4537
4562
  "aria-disabled": r || void 0,
4538
4563
  onClick: () => {
4539
4564
  r || a(e);
4540
4565
  }
4541
- }) : /* @__PURE__ */ A("span", {
4566
+ }) : /* @__PURE__ */ j("span", {
4542
4567
  ...s,
4543
4568
  "aria-disabled": "true"
4544
4569
  }));
4545
4570
  }
4546
- function as({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderLink: i, className: a, ...o }) {
4547
- let s = es(), [c, l] = g(n), u = rs(t ?? c, e);
4571
+ function os({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderLink: i, className: a, ...o }) {
4572
+ let s = ts(), [c, l] = g(n), u = is(t ?? c, e);
4548
4573
  if (e <= 1) return null;
4549
4574
  let d = (e) => {
4550
4575
  t === void 0 && l(e), e !== u && r?.(e);
4551
4576
  };
4552
- return /* @__PURE__ */ A("nav", {
4577
+ return /* @__PURE__ */ j("nav", {
4553
4578
  "aria-label": s.label,
4554
4579
  ...o,
4555
- className: [$o.Pagination, a].filter(Boolean).join(" "),
4556
- children: /* @__PURE__ */ j("ul", {
4557
- className: $o.List,
4580
+ className: [es.Pagination, a].filter(Boolean).join(" "),
4581
+ children: /* @__PURE__ */ M("ul", {
4582
+ className: es.List,
4558
4583
  children: [
4559
- /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4584
+ /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(as, {
4560
4585
  page: u - 1,
4561
4586
  disabled: u <= 1,
4562
4587
  renderLink: i,
4563
4588
  onSelect: d,
4564
4589
  children: s.previous
4565
4590
  }) }),
4566
- ns(u, e).map((e) => typeof e == "number" ? /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4591
+ rs(u, e).map((e) => typeof e == "number" ? /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(as, {
4567
4592
  page: e,
4568
- label: ts(s.page, e),
4593
+ label: ns(s.page, e),
4569
4594
  current: e === u,
4570
4595
  renderLink: i,
4571
4596
  onSelect: d,
4572
4597
  children: e
4573
- }) }, e) : /* @__PURE__ */ A("li", {
4598
+ }) }, e) : /* @__PURE__ */ j("li", {
4574
4599
  "aria-hidden": !0,
4575
- className: $o.Ellipsis,
4600
+ className: es.Ellipsis,
4576
4601
  children: "…"
4577
4602
  }, e)),
4578
- /* @__PURE__ */ A("li", { children: /* @__PURE__ */ A(is, {
4603
+ /* @__PURE__ */ j("li", { children: /* @__PURE__ */ j(as, {
4579
4604
  page: u + 1,
4580
4605
  disabled: u >= e,
4581
4606
  renderLink: i,
@@ -4586,29 +4611,29 @@ function as({ count: e, value: t, defaultValue: n = 1, onValueChange: r, renderL
4586
4611
  })
4587
4612
  });
4588
4613
  }
4589
- var os = {
4614
+ var ss = {
4590
4615
  PaginationDots: "_PaginationDots_17xgb_12",
4591
4616
  Dot: "_Dot_17xgb_19"
4592
4617
  };
4593
4618
  //#endregion
4594
4619
  //#region src/components/navigation/pagination-dots.tsx
4595
- function ss({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItemLabel: i, className: a, ...o }) {
4596
- let s = es(), [c, l] = g(n), u = t ?? c;
4620
+ function cs({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItemLabel: i, className: a, ...o }) {
4621
+ let s = ts(), [c, l] = g(n), u = t ?? c;
4597
4622
  if (e <= 1) return null;
4598
4623
  let d = (e) => {
4599
4624
  t === void 0 && l(e), e !== u && r?.(e);
4600
4625
  };
4601
- return /* @__PURE__ */ A("div", {
4626
+ return /* @__PURE__ */ j("div", {
4602
4627
  role: "group",
4603
4628
  "aria-label": s.label,
4604
4629
  ...o,
4605
- className: [os.PaginationDots, a].filter(Boolean).join(" "),
4630
+ className: [ss.PaginationDots, a].filter(Boolean).join(" "),
4606
4631
  children: Array.from({ length: e }, (e, t) => {
4607
4632
  let n = t + 1, r = n === u;
4608
- return /* @__PURE__ */ A("button", {
4633
+ return /* @__PURE__ */ j("button", {
4609
4634
  type: "button",
4610
- className: os.Dot,
4611
- "aria-label": i?.(n) ?? ts(s.goToPage, n),
4635
+ className: ss.Dot,
4636
+ "aria-label": i?.(n) ?? ns(s.goToPage, n),
4612
4637
  "aria-current": r || void 0,
4613
4638
  "data-current": r ? "" : void 0,
4614
4639
  onClick: () => d(n)
@@ -4616,7 +4641,7 @@ function ss({ count: e, value: t, defaultValue: n = 1, onValueChange: r, getItem
4616
4641
  })
4617
4642
  });
4618
4643
  }
4619
- var cs = {
4644
+ var ls = {
4620
4645
  Root: "_Root_oibl2_13",
4621
4646
  Item: "_Item_oibl2_10",
4622
4647
  Header: "_Header_oibl2_10",
@@ -4625,81 +4650,81 @@ var cs = {
4625
4650
  Icon: "_Icon_oibl2_153",
4626
4651
  Panel: "_Panel_oibl2_171",
4627
4652
  Content: "_Content_oibl2_182"
4628
- }, ls = /* @__PURE__ */ Se({
4629
- Header: () => fs,
4630
- Item: () => ds,
4631
- Panel: () => ms,
4632
- Root: () => us,
4633
- Trigger: () => ps
4653
+ }, us = /* @__PURE__ */ Se({
4654
+ Header: () => ps,
4655
+ Item: () => fs,
4656
+ Panel: () => hs,
4657
+ Root: () => ds,
4658
+ Trigger: () => ms
4634
4659
  });
4635
- function us({ variant: e = "outline", iconPosition: t = "end", className: n, ...r }) {
4636
- return /* @__PURE__ */ A(be.Root, {
4660
+ function ds({ variant: e = "outline", iconPosition: t = "end", className: n, ...r }) {
4661
+ return /* @__PURE__ */ j(be.Root, {
4637
4662
  ...r,
4638
4663
  "data-variant": e,
4639
4664
  "data-icon-position": t,
4640
- className: G(cs.Root, n)
4665
+ className: G(ls.Root, n)
4641
4666
  });
4642
4667
  }
4643
- function ds({ className: e, ...t }) {
4644
- return /* @__PURE__ */ A(be.Item, {
4668
+ function fs({ className: e, ...t }) {
4669
+ return /* @__PURE__ */ j(be.Item, {
4645
4670
  ...t,
4646
- className: G(cs.Item, e)
4671
+ className: G(ls.Item, e)
4647
4672
  });
4648
4673
  }
4649
- function fs({ className: e, ...t }) {
4650
- return /* @__PURE__ */ A(be.Header, {
4674
+ function ps({ className: e, ...t }) {
4675
+ return /* @__PURE__ */ j(be.Header, {
4651
4676
  ...t,
4652
- className: G(cs.Header, e)
4677
+ className: G(ls.Header, e)
4653
4678
  });
4654
4679
  }
4655
- function ps({ children: e, className: t, ...n }) {
4656
- return /* @__PURE__ */ j(be.Trigger, {
4680
+ function ms({ children: e, className: t, ...n }) {
4681
+ return /* @__PURE__ */ M(be.Trigger, {
4657
4682
  ...n,
4658
- className: G(cs.Trigger, t),
4659
- children: [/* @__PURE__ */ A("span", {
4660
- className: cs.Label,
4683
+ className: G(ls.Trigger, t),
4684
+ children: [/* @__PURE__ */ j("span", {
4685
+ className: ls.Label,
4661
4686
  children: e
4662
- }), /* @__PURE__ */ A(b, {
4663
- className: cs.Icon,
4687
+ }), /* @__PURE__ */ j(b, {
4688
+ className: ls.Icon,
4664
4689
  size: 20,
4665
4690
  "aria-hidden": !0
4666
4691
  })]
4667
4692
  });
4668
4693
  }
4669
- function ms({ children: e, className: t, ...n }) {
4670
- return /* @__PURE__ */ A(be.Panel, {
4694
+ function hs({ children: e, className: t, ...n }) {
4695
+ return /* @__PURE__ */ j(be.Panel, {
4671
4696
  ...n,
4672
- className: G(cs.Panel, t),
4673
- children: /* @__PURE__ */ A("div", {
4674
- className: cs.Content,
4697
+ className: G(ls.Panel, t),
4698
+ children: /* @__PURE__ */ j("div", {
4699
+ className: ls.Content,
4675
4700
  children: e
4676
4701
  })
4677
4702
  });
4678
4703
  }
4679
4704
  //#endregion
4680
4705
  //#region src/components/surfaces/simple-accordion.tsx
4681
- function hs({ items: e, title: t, content: n, action: r, ...i }) {
4706
+ function gs({ items: e, title: t, content: n, action: r, ...i }) {
4682
4707
  let a = e ?? [{
4683
4708
  title: t,
4684
4709
  content: n,
4685
4710
  action: r
4686
4711
  }];
4687
- return /* @__PURE__ */ A(us, {
4712
+ return /* @__PURE__ */ j(ds, {
4688
4713
  ...i,
4689
4714
  children: a.map((e, t) => {
4690
4715
  let n = e.value ?? String(t);
4691
- return /* @__PURE__ */ j(ds, {
4716
+ return /* @__PURE__ */ M(fs, {
4692
4717
  value: n,
4693
4718
  disabled: e.disabled,
4694
- children: [/* @__PURE__ */ j(fs, { children: [/* @__PURE__ */ A(ps, { children: e.title }), e.action] }), /* @__PURE__ */ A(ms, { children: e.content })]
4719
+ children: [/* @__PURE__ */ M(ps, { children: [/* @__PURE__ */ j(ms, { children: e.title }), e.action] }), /* @__PURE__ */ j(hs, { children: e.content })]
4695
4720
  }, n);
4696
4721
  })
4697
4722
  });
4698
4723
  }
4699
- var gs = { Panel: "_Panel_1n14v_7" };
4724
+ var _s = { Panel: "_Panel_1n14v_7" };
4700
4725
  //#endregion
4701
4726
  //#region src/components/surfaces/panel.tsx
4702
- function _s({ render: e, ref: t, className: n, size: r, ...i }) {
4727
+ function vs({ render: e, ref: t, className: n, size: r, ...i }) {
4703
4728
  return N({
4704
4729
  render: e,
4705
4730
  ref: t,
@@ -4707,65 +4732,65 @@ function _s({ render: e, ref: t, className: n, size: r, ...i }) {
4707
4732
  props: {
4708
4733
  ...i,
4709
4734
  "data-size": r,
4710
- className: G(gs.Panel, n)({})
4735
+ className: G(_s.Panel, n)({})
4711
4736
  }
4712
4737
  });
4713
4738
  }
4714
- var vs = { BrandDivider: "_BrandDivider_10exs_6" }, ys = ({ size: e = "sm" }) => /* @__PURE__ */ A("div", {
4739
+ var ys = { BrandDivider: "_BrandDivider_10exs_6" }, bs = ({ size: e = "sm" }) => /* @__PURE__ */ j("div", {
4715
4740
  "aria-hidden": "true",
4716
- className: vs.BrandDivider,
4741
+ className: ys.BrandDivider,
4717
4742
  "data-size": e
4718
- }), bs = {
4743
+ }), xs = {
4719
4744
  AppHeader: "_AppHeader_1s0uj_1",
4720
4745
  AppHeaderContent: "_AppHeaderContent_1s0uj_11",
4721
4746
  AppHeaderLogo: "_AppHeaderLogo_1s0uj_28",
4722
4747
  AppHeaderActions: "_AppHeaderActions_1s0uj_33"
4723
- }, xs = ({ brandDivider: e = !0, fluid: t = !1, children: n, logo: r, className: i }) => {
4748
+ }, Ss = ({ brandDivider: e = !0, fluid: t = !1, children: n, logo: r, className: i }) => {
4724
4749
  let o = a.toArray(n).length > 0;
4725
- return /* @__PURE__ */ j("header", {
4726
- className: [bs.AppHeader, i].filter(Boolean).join(" "),
4750
+ return /* @__PURE__ */ M("header", {
4751
+ className: [xs.AppHeader, i].filter(Boolean).join(" "),
4727
4752
  "data-brand-divider": e || void 0,
4728
4753
  "data-has-children": o || void 0,
4729
- children: [/* @__PURE__ */ j(ar, {
4730
- className: bs.AppHeaderContent,
4754
+ children: [/* @__PURE__ */ M(ar, {
4755
+ className: xs.AppHeaderContent,
4731
4756
  "data-fluid": t || void 0,
4732
- children: [/* @__PURE__ */ A("div", {
4733
- className: bs.AppHeaderLogo,
4734
- children: r || /* @__PURE__ */ A("img", {
4757
+ children: [/* @__PURE__ */ j("div", {
4758
+ className: xs.AppHeaderLogo,
4759
+ children: r || /* @__PURE__ */ j("img", {
4735
4760
  src: "/leabank-logo.png",
4736
4761
  alt: "Logo",
4737
4762
  width: 100
4738
4763
  })
4739
- }), o && /* @__PURE__ */ A("div", {
4740
- className: bs.AppHeaderActions,
4764
+ }), o && /* @__PURE__ */ j("div", {
4765
+ className: xs.AppHeaderActions,
4741
4766
  children: n
4742
4767
  })]
4743
- }), e && /* @__PURE__ */ A(ys, { size: "sm" })]
4768
+ }), e && /* @__PURE__ */ j(bs, { size: "sm" })]
4744
4769
  });
4745
- }, Ss = s(null);
4746
- function Cs({ country: e, children: t }) {
4770
+ }, Cs = s(null);
4771
+ function ws({ country: e, children: t }) {
4747
4772
  let n = m(() => {
4748
- let t = _a[e];
4773
+ let t = va[e];
4749
4774
  return {
4750
4775
  country: t.country,
4751
4776
  locale: t.locale,
4752
4777
  currency: t.currency
4753
4778
  };
4754
4779
  }, [e]);
4755
- return /* @__PURE__ */ A(Ss.Provider, {
4780
+ return /* @__PURE__ */ j(Cs.Provider, {
4756
4781
  value: n,
4757
4782
  children: t
4758
4783
  });
4759
4784
  }
4760
- function ws() {
4761
- let e = u(Ss);
4785
+ function Ts() {
4786
+ let e = u(Cs);
4762
4787
  if (!e) throw Error("Country hooks must be used within a <CountryProvider>.");
4763
4788
  return e;
4764
4789
  }
4765
4790
  //#endregion
4766
4791
  //#region src/hooks/use-format-currency.ts
4767
- function Ts() {
4768
- let { locale: e, currency: t } = ws(), n = m(() => new Intl.NumberFormat(e, {
4792
+ function Es() {
4793
+ let { locale: e, currency: t } = Ts(), n = m(() => new Intl.NumberFormat(e, {
4769
4794
  style: "currency",
4770
4795
  currency: t
4771
4796
  }), [e, t]);
@@ -4784,29 +4809,29 @@ function Ts() {
4784
4809
  }
4785
4810
  //#endregion
4786
4811
  //#region src/hooks/use-format-date.ts
4787
- var Es = {
4812
+ var Ds = {
4788
4813
  year: "numeric",
4789
4814
  month: "short",
4790
4815
  day: "numeric"
4791
4816
  };
4792
- function Ds(e) {
4817
+ function Os(e) {
4793
4818
  return e instanceof Date ? e : new Date(e);
4794
4819
  }
4795
- function Os() {
4796
- let { locale: e } = ws(), t = m(() => new Intl.DateTimeFormat(e, Es), [e]);
4820
+ function ks() {
4821
+ let { locale: e } = Ts(), t = m(() => new Intl.DateTimeFormat(e, Ds), [e]);
4797
4822
  return l((n, r) => {
4798
- let i = Ds(n);
4823
+ let i = Os(n);
4799
4824
  return r ? new Intl.DateTimeFormat(e, r).format(i) : t.format(i);
4800
4825
  }, [t, e]);
4801
4826
  }
4802
4827
  //#endregion
4803
4828
  //#region src/hooks/use-format-number.ts
4804
- function ks() {
4805
- let { locale: e } = ws(), t = m(() => new Intl.NumberFormat(e), [e]);
4829
+ function As() {
4830
+ let { locale: e } = Ts(), t = m(() => new Intl.NumberFormat(e), [e]);
4806
4831
  return l((n, r) => r ? new Intl.NumberFormat(e, r).format(n) : t.format(n), [t, e]);
4807
4832
  }
4808
- function As() {
4809
- let { locale: e } = ws(), t = m(() => new Intl.NumberFormat(e, {
4833
+ function js() {
4834
+ let { locale: e } = Ts(), t = m(() => new Intl.NumberFormat(e, {
4810
4835
  style: "percent",
4811
4836
  minimumFractionDigits: 2,
4812
4837
  maximumFractionDigits: 2
@@ -4818,59 +4843,59 @@ function As() {
4818
4843
  }
4819
4844
  //#endregion
4820
4845
  //#region src/hooks/validation/use-validation.ts
4821
- function js() {
4822
- let { country: e } = ws(), t = l((t) => si(e, t), [e]), n = l((t) => ci(e, t), [e]);
4823
- return Object.assign(t, { validate: n });
4824
- }
4825
4846
  function Ms() {
4826
- let { country: e } = ws(), t = l((t) => gi(e, t), [e]), n = l((t) => hi(e, t), [e]);
4847
+ let { country: e } = Ts(), t = l((t) => si(e, t), [e]), n = l((t) => ci(e, t), [e]);
4827
4848
  return Object.assign(t, { validate: n });
4828
4849
  }
4829
4850
  function Ns() {
4830
- let { country: e } = ws(), t = l((t) => Ai(e, t), [e]), n = l((t) => ki(e, t), [e]);
4851
+ let { country: e } = Ts(), t = l((t) => gi(e, t), [e]), n = l((t) => hi(e, t), [e]);
4852
+ return Object.assign(t, { validate: n });
4853
+ }
4854
+ function Ps() {
4855
+ let { country: e } = Ts(), t = l((t) => Ai(e, t), [e]), n = l((t) => ki(e, t), [e]);
4831
4856
  return Object.assign(t, { validate: n });
4832
4857
  }
4833
4858
  //#endregion
4834
4859
  //#region src/provider/lea-provider.tsx
4835
- function Ps({ language: e = "no", children: t }) {
4836
- return /* @__PURE__ */ A(Ae.Provider, {
4860
+ function Fs({ language: e = "no", children: t }) {
4861
+ return /* @__PURE__ */ j(Ae.Provider, {
4837
4862
  value: e,
4838
4863
  children: t
4839
4864
  });
4840
4865
  }
4841
4866
  //#endregion
4842
4867
  //#region src/theme/tokens/breakpoints.ts
4843
- var Fs = {
4868
+ var Is = {
4844
4869
  xs: 0,
4845
4870
  sm: 600,
4846
4871
  md: 900,
4847
4872
  lg: 1200,
4848
4873
  xl: 1536
4849
- }, Is = {
4874
+ }, Ls = {
4850
4875
  mobile: 640,
4851
4876
  tablet: 768,
4852
4877
  desktop: 1024,
4853
4878
  header: 1312,
4854
4879
  wide: 1440
4855
- }, Ls = ({ value: e, decimalPlaces: t = 2 }) => Number(Math.round(parseFloat(e + "e" + t)) + "e-" + t), Rs = ({ value: e, decimalPlaces: t = 2 }) => Ls({
4880
+ }, Rs = ({ value: e, decimalPlaces: t = 2 }) => Number(Math.round(parseFloat(e + "e" + t)) + "e-" + t), zs = ({ value: e, decimalPlaces: t = 2 }) => Rs({
4856
4881
  value: e,
4857
4882
  decimalPlaces: t
4858
- }).toFixed(t), zs = ({ value: e, decimalPlaces: t = 2 }) => Ls({
4883
+ }).toFixed(t), Bs = ({ value: e, decimalPlaces: t = 2 }) => Rs({
4859
4884
  value: e,
4860
4885
  decimalPlaces: t
4861
- }) % 1 == 0 ? Rs({
4886
+ }) % 1 == 0 ? zs({
4862
4887
  value: e,
4863
4888
  decimalPlaces: 0
4864
- }).replace(".", ",") : Rs({
4889
+ }).replace(".", ",") : zs({
4865
4890
  value: e,
4866
4891
  decimalPlaces: t
4867
- }).replace(".", ","), Bs = (e, t = 2) => zs({
4892
+ }).replace(".", ","), Vs = (e, t = 2) => Bs({
4868
4893
  value: e,
4869
4894
  decimalPlaces: t
4870
4895
  }) + "%";
4871
4896
  //#endregion
4872
4897
  //#region src/utils/parseExpirationDate.ts
4873
- function Vs(e) {
4898
+ function Hs(e) {
4874
4899
  let t = e.match(/^([0-9]{2})([0-9]{2})$/);
4875
4900
  return t ? {
4876
4901
  month: t[1],
@@ -4881,6 +4906,6 @@ function Vs(e) {
4881
4906
  };
4882
4907
  }
4883
4908
  //#endregion
4884
- export { ls as Accordion, ot as ActionButton, Tn as Alert, En as AlertTitle, Dr as AmountSlider, xs as AppHeader, vn as ArticleCard, Hr as Autocomplete, Rt as Avatar, ys as BrandDivider, Qo as Breadcrumbs, st as Button, Li as COMMON_EMAIL_DOMAINS, _a as COUNTRIES, Tt as Card, Et as CardContent, Ye as CheckAnimation, Jr as Checkbox, kt as Chip, ut as CloseButton, ar as Container, Cs as CountryProvider, ke as DEFAULT_LANGUAGE, Ct as DataField, On as Dialog, mt as DownloadTrigger, Un as Drawer, ra as EmailInput, en as FeaturedImage, No as FormStepper, or as GlobalAlert, yo as Grid, xo as GridItem, wo as HStack, lt as IconButton, ca as Input, Oe as LANGUAGES, Ae as LanguageContext, Ps as LeaProvider, Fo as LinearFormStepper, Ji as Link, ln as LinkCard, Xi as List, fn as MediaCard, ga as MultiSelect, li as NATIONAL_ID_LENGTH, Ca as NumberInput, Ta as PINNED_COUNTRIES, as as Pagination, ss as PaginationDots, _s as Panel, bn as PartnerRow, Ba as PhoneNumberInput, jo as ProgressCircle, Ze as PulseAnimation, to as RadioCard, Xa as RadioGroup, Qt as RichText, uo as Select, mn as ServiceCard, hs as SimpleAccordion, sr as SimpleDialog, cr as SimpleDrawer, br as Skeleton, gt as SkipLink, po as Slider, Co as Stack, Ht as StarRating, $e as StatusAnimation, Pe as StatusIcon, Vo as StepProgressHeader, Ro as StepProgressProvider, ho as Switch, Gt as Table, qt as TableBody, Xt as TableCell, Kt as TableHead, Yt as TableHeaderCell, Jt as TableRow, Uo as Tabs, gn as TestimonialCard, bt as Text, gr as ToastProvider, It as Tooltip, an as VideoPlayer, Fs as breakpoints, fr as createToastManager, U as createTranslation, ft as downloadFile, Ls as fixDecimals, Rs as fixDecimalsToString, Ea as flagEmoji, zs as formatDecimalString, Bs as formatPercentage, Da as getCountryOptions, Bi as getEmailDomainSuggestions, X as invalid, vi as isMobileCountry, Vi as isSameEmail, pi as isSameNationalId, bi as isSamePhone, Ai as isValidBankAccount, zi as isValidEmail, Mi as isValidFinnishDomesticReference, Qr as isValidFinnishNationalId, Fi as isValidFinnishReference, Ni as isValidFinnishRfReference, Ti as isValidIban, si as isValidNationalId, Di as isValidNorwegianAccount, ni as isValidNorwegianNationalId, gi as isValidPhoneNumber, ai as isValidSpanishNationalId, Oi as isValidSwedishAccount, Xr as isValidSwedishNationalId, fi as normalizeNationalId, Vs as parseExpirationDate, dt as resolveDownloadData, Ki as suggestEmailCorrection, ws as useCountry, Ts as useFormatCurrency, Os as useFormatDate, ks as useFormatNumber, As as useFormatPercentage, je as useLanguage, Bo as useReportStepProgress, zo as useStepProgress, Mo as useStepperLabels, mr as useToastManager, Ns as useValidateBankAccount, js as useValidateNationalId, Ms as useValidatePhoneNumber, Z as valid, ki as validateBankAccount, Ri as validateEmail, Pi as validateFinnishReference, yi as validateMobileNumber, ci as validateNationalId, hi as validatePhoneNumber, Is as websiteBreakpoints };
4909
+ export { us as Accordion, ot as ActionButton, Tn as Alert, En as AlertTitle, Dr as AmountSlider, Ss as AppHeader, vn as ArticleCard, Hr as Autocomplete, Rt as Avatar, bs as BrandDivider, $o as Breadcrumbs, st as Button, Li as COMMON_EMAIL_DOMAINS, va as COUNTRIES, Tt as Card, Et as CardContent, Ye as CheckAnimation, Jr as Checkbox, kt as Chip, ut as CloseButton, ar as Container, ws as CountryProvider, ke as DEFAULT_LANGUAGE, Ct as DataField, On as Dialog, mt as DownloadTrigger, Un as Drawer, ra as EmailInput, en as FeaturedImage, Po as FormStepper, or as GlobalAlert, bo as Grid, So as GridItem, To as HStack, lt as IconButton, ca as Input, Oe as LANGUAGES, Ae as LanguageContext, Fs as LeaProvider, Io as LinearFormStepper, Ji as Link, ln as LinkCard, Xi as List, fn as MediaCard, _a as MultiSelect, li as NATIONAL_ID_LENGTH, wa as NumberInput, Ea as PINNED_COUNTRIES, os as Pagination, cs as PaginationDots, vs as Panel, bn as PartnerRow, Va as PhoneNumberInput, Mo as ProgressCircle, Ze as PulseAnimation, no as RadioCard, Za as RadioGroup, Qt as RichText, fo as Select, mn as ServiceCard, gs as SimpleAccordion, sr as SimpleDialog, cr as SimpleDrawer, br as Skeleton, gt as SkipLink, mo as Slider, wo as Stack, Ht as StarRating, $e as StatusAnimation, Pe as StatusIcon, Ho as StepProgressHeader, zo as StepProgressProvider, go as Switch, Gt as Table, qt as TableBody, Xt as TableCell, Kt as TableHead, Yt as TableHeaderCell, Jt as TableRow, Wo as Tabs, gn as TestimonialCard, bt as Text, gr as ToastProvider, It as Tooltip, an as VideoPlayer, Is as breakpoints, fr as createToastManager, U as createTranslation, ft as downloadFile, Rs as fixDecimals, zs as fixDecimalsToString, Da as flagEmoji, Bs as formatDecimalString, Vs as formatPercentage, Oa as getCountryOptions, Bi as getEmailDomainSuggestions, X as invalid, vi as isMobileCountry, Vi as isSameEmail, pi as isSameNationalId, bi as isSamePhone, Ai as isValidBankAccount, zi as isValidEmail, Mi as isValidFinnishDomesticReference, Qr as isValidFinnishNationalId, Fi as isValidFinnishReference, Ni as isValidFinnishRfReference, Ti as isValidIban, si as isValidNationalId, Di as isValidNorwegianAccount, ni as isValidNorwegianNationalId, gi as isValidPhoneNumber, ai as isValidSpanishNationalId, Oi as isValidSwedishAccount, Xr as isValidSwedishNationalId, fi as normalizeNationalId, Hs as parseExpirationDate, dt as resolveDownloadData, Ki as suggestEmailCorrection, Ts as useCountry, Es as useFormatCurrency, ks as useFormatDate, As as useFormatNumber, js as useFormatPercentage, je as useLanguage, Vo as useReportStepProgress, Bo as useStepProgress, No as useStepperLabels, mr as useToastManager, Ps as useValidateBankAccount, Ms as useValidateNationalId, Ns as useValidatePhoneNumber, Z as valid, ki as validateBankAccount, Ri as validateEmail, Pi as validateFinnishReference, yi as validateMobileNumber, ci as validateNationalId, hi as validatePhoneNumber, Ls as websiteBreakpoints };
4885
4910
 
4886
4911
  //# sourceMappingURL=component-library.es.js.map