@ousi-ui/vue 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.mjs CHANGED
@@ -1,8 +1,8 @@
1
1
  var nn = Object.defineProperty;
2
2
  var on = (t, a, e) => a in t ? nn(t, a, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[a] = e;
3
3
  var ie = (t, a, e) => on(t, typeof a != "symbol" ? a + "" : a, e);
4
- import { defineComponent as Z, useId as xe, computed as D, withDirectives as Ue, openBlock as d, createBlock as ge, resolveDynamicComponent as Ne, normalizeClass as p, unref as o, withCtx as re, createElementBlock as f, renderSlot as N, createElementVNode as S, createCommentVNode as H, useSlots as st, toDisplayString as K, ref as j, inject as je, provide as We, toRef as be, Teleport as Fe, normalizeStyle as Q, createVNode as ue, createTextVNode as pe, watch as ve, onBeforeUnmount as ze, Fragment as te, renderList as se, nextTick as $e, withModifiers as Ae, onMounted as Ke, vShow as Xt, createSlots as Ba, createStaticVNode as Aa, reactive as Oa, withKeys as na, onUnmounted as ln, Transition as Ct, vModelText as sn, resolveComponent as rn } from "vue";
5
- import { cn as X, useMounted as Re, useControllableState as ye, useEscapeKey as Ze, useScrollLock as Gt, generateId as He } from "@ousi-ui/core";
4
+ import { defineComponent as Z, useId as xe, computed as D, withDirectives as Ue, openBlock as d, createBlock as ge, resolveDynamicComponent as Ne, normalizeClass as p, unref as o, withCtx as re, createElementBlock as f, renderSlot as N, createElementVNode as S, createCommentVNode as W, useSlots as st, toDisplayString as K, ref as j, inject as je, provide as He, toRef as be, Teleport as Fe, normalizeStyle as Q, createVNode as ue, createTextVNode as pe, watch as ve, onBeforeUnmount as ze, Fragment as te, renderList as se, nextTick as $e, withModifiers as Ae, onMounted as Ke, vShow as Xt, createSlots as Ba, createStaticVNode as Aa, reactive as Oa, withKeys as na, onUnmounted as ln, Transition as Ct, vModelText as sn, resolveComponent as rn } from "vue";
5
+ import { cn as X, useMounted as Re, useControllableState as ye, useEscapeKey as Ze, useScrollLock as Gt, generateId as We } from "@ousi-ui/core";
6
6
  import { cva as _ } from "class-variance-authority";
7
7
  import { offset as _e, flip as et, shift as tt, arrow as Ia, useFloating as at, autoUpdate as nt, size as La } from "@floating-ui/vue";
8
8
  import { AnimatePresence as qe, Motion as Pe } from "motion-v";
@@ -254,7 +254,7 @@ const ot = {
254
254
  }, null, -1)
255
255
  ])], 2))
256
256
  ])
257
- ])) : H("", !0),
257
+ ])) : W("", !0),
258
258
  S("span", {
259
259
  class: p([{ "opacity-0": t.loading }, "inline-flex items-center gap-2"])
260
260
  }, [
@@ -384,13 +384,13 @@ const ot = {
384
384
  S("span", {
385
385
  class: p(u.value)
386
386
  }, [
387
- !t.dot && n.value ? (d(), f("span", gn, K(n.value), 1)) : H("", !0)
387
+ !t.dot && n.value ? (d(), f("span", gn, K(n.value), 1)) : W("", !0)
388
388
  ], 2)
389
389
  ])) : (d(), f("span", {
390
390
  key: 1,
391
391
  class: p(u.value)
392
392
  }, [
393
- !t.dot && n.value ? (d(), f("span", bn, K(n.value), 1)) : H("", !0)
393
+ !t.dot && n.value ? (d(), f("span", bn, K(n.value), 1)) : W("", !0)
394
394
  ], 2));
395
395
  }
396
396
  }), xn = _(
@@ -482,14 +482,14 @@ const ot = {
482
482
  class: p(["chip-slot shrink-0 rounded-full overflow-hidden -ml-0.5 inline-flex items-center justify-center", i.value])
483
483
  }, [
484
484
  N(u.$slots, "start")
485
- ], 2)) : H("", !0),
485
+ ], 2)) : W("", !0),
486
486
  N(u.$slots, "default"),
487
487
  u.$slots.end ? (d(), f("span", {
488
488
  key: 1,
489
489
  class: p(["chip-slot shrink-0 rounded-full overflow-hidden -mr-0.5 inline-flex items-center justify-center", i.value])
490
490
  }, [
491
491
  N(u.$slots, "end")
492
- ], 2)) : H("", !0)
492
+ ], 2)) : W("", !0)
493
493
  ], 10, wn));
494
494
  }
495
495
  }), kn = _(
@@ -566,7 +566,7 @@ const ot = {
566
566
  }, [
567
567
  S("path", { d: "M12 12c2.7 0 4.8-2.1 4.8-4.8S14.7 2.4 12 2.4 7.2 4.5 7.2 7.2 9.3 12 12 12zm0 2.4c-3.2 0-9.6 1.6-9.6 4.8v1.2c0 .7.5 1.2 1.2 1.2h16.8c.7 0 1.2-.5 1.2-1.2v-1.2c0-3.2-6.4-4.8-9.6-4.8z" })
568
568
  ], -1))
569
- ]) : H("", !0),
569
+ ]) : W("", !0),
570
570
  t.src && o(l) && n.value === "loading" ? (d(), f("img", {
571
571
  key: 3,
572
572
  src: t.src,
@@ -575,7 +575,7 @@ const ot = {
575
575
  "aria-hidden": "true",
576
576
  onLoad: i,
577
577
  onError: u
578
- }, null, 40, Cn)) : H("", !0)
578
+ }, null, 40, Cn)) : W("", !0)
579
579
  ], 10, $n));
580
580
  }
581
581
  }), Ea = _(
@@ -666,7 +666,7 @@ const ot = {
666
666
  }
667
667
  ), Pa = Symbol("ousi-form");
668
668
  function Vn(t) {
669
- We(Pa, t);
669
+ He(Pa, t);
670
670
  }
671
671
  function Vt() {
672
672
  return je(Pa, void 0);
@@ -738,7 +738,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
738
738
  disabled: t.disabled || void 0,
739
739
  invalid: m.value || void 0
740
740
  }))
741
- }, K(t.label), 11, Dn)) : H("", !0),
741
+ }, K(t.label), 11, Dn)) : W("", !0),
742
742
  S("div", {
743
743
  class: p(o(Ea)({ variant: t.variant, fullWidth: t.fullWidth })),
744
744
  "data-invalid": m.value || void 0,
@@ -746,7 +746,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
746
746
  }, [
747
747
  g.$slots.start ? (d(), f("div", An, [
748
748
  N(g.$slots, "start")
749
- ])) : H("", !0),
749
+ ])) : W("", !0),
750
750
  S("input", {
751
751
  id: o(n),
752
752
  name: t.name,
@@ -809,20 +809,20 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
809
809
  ], -1)
810
810
  ])])) : g.$slots.end ? (d(), f("div", Ln, [
811
811
  N(g.$slots, "end")
812
- ])) : H("", !0)
812
+ ])) : W("", !0)
813
813
  ], 10, Bn),
814
814
  t.description && !c.value ? (d(), f("p", {
815
815
  key: 1,
816
816
  id: o(i),
817
817
  class: "text-xs text-ousi-muted"
818
- }, K(t.description), 9, Rn)) : H("", !0),
818
+ }, K(t.description), 9, Rn)) : W("", !0),
819
819
  c.value ? (d(), f("p", {
820
820
  key: 2,
821
821
  id: o(u),
822
822
  class: "text-xs text-ousi-danger",
823
823
  role: "alert",
824
824
  "aria-live": "polite"
825
- }, K(c.value), 9, En)) : H("", !0)
825
+ }, K(c.value), 9, En)) : W("", !0)
826
826
  ], 2));
827
827
  }
828
828
  }), Pn = _(
@@ -843,7 +843,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
843
843
  variant: "default"
844
844
  }
845
845
  }
846
- ), Fn = "flex flex-col", jn = "text-sm leading-6 font-medium text-ousi-foreground", Wn = "text-sm leading-5 text-ousi-muted", Hn = "flex flex-1 flex-col gap-1", Kn = "flex flex-row items-center", qn = /* @__PURE__ */ Z({
846
+ ), Fn = "flex flex-col", jn = "text-sm leading-6 font-medium text-ousi-foreground", Hn = "text-sm leading-5 text-ousi-muted", Wn = "flex flex-1 flex-col gap-1", Kn = "flex flex-row items-center", qn = /* @__PURE__ */ Z({
847
847
  __name: "Card",
848
848
  props: {
849
849
  variant: { default: "default" },
@@ -904,7 +904,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
904
904
  setup(t) {
905
905
  const a = t;
906
906
  return (e, l) => (d(), ge(Ne(t.as), {
907
- class: p(o(X)(o(Wn), a.class))
907
+ class: p(o(X)(o(Hn), a.class))
908
908
  }, {
909
909
  default: re(() => [
910
910
  N(e.$slots, "default")
@@ -921,7 +921,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
921
921
  setup(t) {
922
922
  const a = t;
923
923
  return (e, l) => (d(), ge(Ne(t.as), {
924
- class: p(o(X)(o(Hn), a.class))
924
+ class: p(o(X)(o(Wn), a.class))
925
925
  }, {
926
926
  default: re(() => [
927
927
  N(e.$slots, "default")
@@ -1028,10 +1028,10 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1028
1028
  ), B = D(() => {
1029
1029
  const L = m.value.arrow;
1030
1030
  if (!L) return {};
1031
- const W = {};
1032
- return L.x != null && (W.left = `${L.x}px`), L.y != null && (W.top = `${L.y}px`), W[I.value] = "-4px", W;
1031
+ const H = {};
1032
+ return L.x != null && (H.left = `${L.x}px`), L.y != null && (H.top = `${L.y}px`), H[I.value] = "-4px", H;
1033
1033
  });
1034
- return (L, W) => (d(), f("span", Qn, [
1034
+ return (L, H) => (d(), f("span", Qn, [
1035
1035
  S("span", {
1036
1036
  ref_key: "triggerRef",
1037
1037
  ref: n,
@@ -1074,14 +1074,14 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1074
1074
  "data-slot": "overlay-arrow",
1075
1075
  class: "absolute h-2 w-2 rotate-45 bg-ousi-overlay",
1076
1076
  style: Q(B.value)
1077
- }, null, 4)) : H("", !0)
1077
+ }, null, 4)) : W("", !0)
1078
1078
  ]),
1079
1079
  _: 1
1080
1080
  }, 8, ["id", "class", "initial"])
1081
1081
  ]),
1082
1082
  _: 1
1083
1083
  })
1084
- ], 4)) : H("", !0)
1084
+ ], 4)) : W("", !0)
1085
1085
  ]))
1086
1086
  ]));
1087
1087
  }
@@ -1241,8 +1241,8 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1241
1241
  const E = B.validationErrors.value[e.name];
1242
1242
  return Array.isArray(E) ? E[0] : E;
1243
1243
  }
1244
- }), W = D(() => !!L.value), z = D(() => {
1245
- if (W.value) return r;
1244
+ }), H = D(() => !!L.value), z = D(() => {
1245
+ if (H.value) return r;
1246
1246
  if (e.description) return u;
1247
1247
  });
1248
1248
  function M(E) {
@@ -1325,9 +1325,9 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1325
1325
  class: p(o(zt)({
1326
1326
  required: t.required || void 0,
1327
1327
  disabled: t.disabled || void 0,
1328
- invalid: W.value || void 0
1328
+ invalid: H.value || void 0
1329
1329
  }))
1330
- }, K(t.label), 11, io)) : H("", !0),
1330
+ }, K(t.label), 11, io)) : W("", !0),
1331
1331
  S("button", {
1332
1332
  id: o(i),
1333
1333
  ref_key: "triggerRef",
@@ -1338,11 +1338,11 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1338
1338
  "aria-controls": o(s),
1339
1339
  "aria-required": t.required || void 0,
1340
1340
  "aria-disabled": t.disabled || void 0,
1341
- "aria-invalid": W.value || void 0,
1341
+ "aria-invalid": H.value || void 0,
1342
1342
  "aria-describedby": z.value,
1343
1343
  "aria-multiselectable": t.multiple || void 0,
1344
1344
  "data-disabled": t.disabled || void 0,
1345
- "data-invalid": W.value || void 0,
1345
+ "data-invalid": H.value || void 0,
1346
1346
  class: p(o(ao)({ variant: t.variant, size: t.size, fullWidth: t.fullWidth })),
1347
1347
  onClick: I,
1348
1348
  onKeydown: M
@@ -1373,14 +1373,14 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1373
1373
  key: 1,
1374
1374
  id: o(u),
1375
1375
  class: "text-xs text-ousi-muted px-1"
1376
- }, K(t.description), 9, ro)) : H("", !0),
1376
+ }, K(t.description), 9, ro)) : W("", !0),
1377
1377
  L.value ? (d(), f("p", {
1378
1378
  key: 2,
1379
1379
  id: o(r),
1380
1380
  class: "text-xs text-ousi-danger px-1",
1381
1381
  role: "alert",
1382
1382
  "aria-live": "polite"
1383
- }, K(L.value), 9, uo)) : H("", !0)
1383
+ }, K(L.value), 9, uo)) : W("", !0)
1384
1384
  ], 2),
1385
1385
  (d(), ge(Fe, { to: "body" }, [
1386
1386
  v.value && o(n) ? (d(), f("div", {
@@ -1436,7 +1436,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1436
1436
  "stroke-linejoin": "round"
1437
1437
  })
1438
1438
  ], -1)
1439
- ])])) : H("", !0)
1439
+ ])])) : W("", !0)
1440
1440
  ], 42, fo))), 128))
1441
1441
  ], 10, co)
1442
1442
  ]),
@@ -1445,7 +1445,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1445
1445
  ]),
1446
1446
  _: 1
1447
1447
  })
1448
- ], 4)) : H("", !0)
1448
+ ], 4)) : W("", !0)
1449
1449
  ]))
1450
1450
  ], 64));
1451
1451
  }
@@ -1610,7 +1610,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1610
1610
  }, ["stop"]))
1611
1611
  }, {
1612
1612
  default: re(() => [
1613
- t.hideCloseButton ? H("", !0) : (d(), f("button", {
1613
+ t.hideCloseButton ? W("", !0) : (d(), f("button", {
1614
1614
  key: 0,
1615
1615
  type: "button",
1616
1616
  class: "absolute top-4 right-4 flex items-center justify-center w-8 h-8 rounded-full text-ousi-muted hover:text-ousi-foreground hover:bg-ousi-default transition-colors",
@@ -1642,7 +1642,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1642
1642
  ]),
1643
1643
  _: 3
1644
1644
  }, 8, ["class"])
1645
- ])) : H("", !0)
1645
+ ])) : W("", !0)
1646
1646
  ]),
1647
1647
  _: 3
1648
1648
  })
@@ -1664,7 +1664,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1664
1664
  key: 0,
1665
1665
  id: t.titleId,
1666
1666
  class: p(o(xo))
1667
- }, K(t.title), 11, To)) : H("", !0),
1667
+ }, K(t.title), 11, To)) : W("", !0),
1668
1668
  N(e.$slots, "default")
1669
1669
  ], 2));
1670
1670
  }
@@ -1851,7 +1851,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1851
1851
  default: re(() => [
1852
1852
  C.value ? (d(), f("div", Io, [...g[0] || (g[0] = [
1853
1853
  S("div", { class: "h-1 w-9 rounded-full bg-ousi-border" }, null, -1)
1854
- ])])) : H("", !0),
1854
+ ])])) : W("", !0),
1855
1855
  t.showCloseButton ? (d(), f("button", {
1856
1856
  key: 1,
1857
1857
  type: "button",
@@ -1872,30 +1872,30 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1872
1872
  "stroke-linejoin": "round"
1873
1873
  })
1874
1874
  ], -1)
1875
- ])])) : H("", !0),
1875
+ ])])) : W("", !0),
1876
1876
  t.title || t.description ? (d(), f("div", Lo, [
1877
- t.title ? (d(), f("h2", Ro, K(t.title), 1)) : H("", !0),
1878
- t.description ? (d(), f("p", Eo, K(t.description), 1)) : H("", !0)
1879
- ])) : H("", !0),
1877
+ t.title ? (d(), f("h2", Ro, K(t.title), 1)) : W("", !0),
1878
+ t.description ? (d(), f("p", Eo, K(t.description), 1)) : W("", !0)
1879
+ ])) : W("", !0),
1880
1880
  N(k.$slots, "header"),
1881
1881
  S("div", Po, [
1882
1882
  N(k.$slots, "default")
1883
1883
  ]),
1884
1884
  k.$slots.footer ? (d(), f("div", Fo, [
1885
1885
  N(k.$slots, "footer", { close: c })
1886
- ])) : H("", !0)
1886
+ ])) : W("", !0)
1887
1887
  ]),
1888
1888
  _: 3
1889
1889
  }, 8, ["id", "aria-label", "class", "initial", "animate", "exit"])
1890
1890
  ], 2)
1891
- ])) : H("", !0)
1891
+ ])) : W("", !0)
1892
1892
  ]),
1893
1893
  _: 3
1894
1894
  })
1895
1895
  ]))
1896
1896
  ], 64));
1897
1897
  }
1898
- }), Wo = _(
1898
+ }), Ho = _(
1899
1899
  "flex gap-2",
1900
1900
  {
1901
1901
  variants: {
@@ -1906,7 +1906,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
1906
1906
  },
1907
1907
  defaultVariants: { orientation: "horizontal" }
1908
1908
  }
1909
- ), Ho = _(
1909
+ ), Wo = _(
1910
1910
  "inline-flex bg-ousi-default",
1911
1911
  {
1912
1912
  variants: {
@@ -2046,7 +2046,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
2046
2046
  !h || h.disabled || (r.value = v);
2047
2047
  }
2048
2048
  function g(v) {
2049
- var L, W;
2049
+ var L, H;
2050
2050
  const h = e.items.filter((z) => !z.disabled), w = h.findIndex((z) => z.key === r.value), x = e.orientation === "horizontal", I = x ? "ArrowLeft" : "ArrowUp", B = x ? "ArrowRight" : "ArrowDown";
2051
2051
  if (v.key === B) {
2052
2052
  v.preventDefault();
@@ -2056,10 +2056,10 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
2056
2056
  v.preventDefault();
2057
2057
  const z = h[(w - 1 + h.length) % h.length];
2058
2058
  k(z.key);
2059
- } else v.key === "Home" ? (v.preventDefault(), k((L = h[0]) == null ? void 0 : L.key)) : v.key === "End" && (v.preventDefault(), k((W = h[h.length - 1]) == null ? void 0 : W.key));
2059
+ } else v.key === "Home" ? (v.preventDefault(), k((L = h[0]) == null ? void 0 : L.key)) : v.key === "End" && (v.preventDefault(), k((H = h[h.length - 1]) == null ? void 0 : H.key));
2060
2060
  }
2061
2061
  return (v, h) => (d(), f("div", {
2062
- class: p(o(X)(o(Wo)({ orientation: t.orientation }), e.class)),
2062
+ class: p(o(X)(o(Ho)({ orientation: t.orientation }), e.class)),
2063
2063
  "data-orientation": t.orientation
2064
2064
  }, [
2065
2065
  S("div", {
@@ -2067,13 +2067,13 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
2067
2067
  ref: s,
2068
2068
  role: "tablist",
2069
2069
  "aria-orientation": t.orientation,
2070
- class: p(o(X)(o(Ho)({ variant: t.variant, size: t.size, orientation: t.orientation }), "relative"))
2070
+ class: p(o(X)(o(Wo)({ variant: t.variant, size: t.size, orientation: t.orientation }), "relative"))
2071
2071
  }, [
2072
2072
  o(i) ? (d(), f("span", {
2073
2073
  key: 0,
2074
2074
  class: p(o(qo)({ variant: t.variant, orientation: t.orientation })),
2075
2075
  style: Q(y.value)
2076
- }, null, 6)) : H("", !0),
2076
+ }, null, 6)) : W("", !0),
2077
2077
  (d(!0), f(te, null, se(t.items, (w, x) => {
2078
2078
  var I;
2079
2079
  return d(), f(te, {
@@ -2087,7 +2087,7 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
2087
2087
  o(r) === w.key || o(r) === ((I = t.items[x - 1]) == null ? void 0 : I.key) ? "opacity-0" : "opacity-100"
2088
2088
  ]]),
2089
2089
  "aria-hidden": "true"
2090
- }, null, 2)) : H("", !0),
2090
+ }, null, 2)) : W("", !0),
2091
2091
  Ue((d(), f("button", {
2092
2092
  ref_for: !0,
2093
2093
  ref: (B) => m(w.key, B),
@@ -2124,31 +2124,31 @@ const Dn = ["for"], Bn = ["data-invalid", "data-disabled"], An = {
2124
2124
  N(v.$slots, w.key)
2125
2125
  ], 10, Go)), [
2126
2126
  [Xt, o(r) === w.key]
2127
- ])), 128)) : H("", !0)
2127
+ ])), 128)) : W("", !0)
2128
2128
  ], 10, Uo));
2129
2129
  }
2130
2130
  }), ja = Symbol("ousi-dropdown");
2131
2131
  function Jo(t) {
2132
- We(ja, t);
2132
+ He(ja, t);
2133
2133
  }
2134
2134
  function Qt() {
2135
2135
  const t = je(ja);
2136
2136
  if (!t) throw new Error("useDropdownContext must be used within ODropdown");
2137
2137
  return t;
2138
2138
  }
2139
- const Wa = Symbol("ousi-dropdown-menu");
2139
+ const Ha = Symbol("ousi-dropdown-menu");
2140
2140
  function Qo(t) {
2141
- We(Wa, t);
2141
+ He(Ha, t);
2142
2142
  }
2143
2143
  function _o() {
2144
- return je(Wa, void 0);
2144
+ return je(Ha, void 0);
2145
2145
  }
2146
- const Ha = Symbol("ousi-dropdown-item");
2146
+ const Wa = Symbol("ousi-dropdown-item");
2147
2147
  function el(t) {
2148
- We(Ha, t);
2148
+ He(Wa, t);
2149
2149
  }
2150
2150
  function tl() {
2151
- return je(Ha, void 0);
2151
+ return je(Wa, void 0);
2152
2152
  }
2153
2153
  const al = /* @__PURE__ */ Z({
2154
2154
  __name: "Dropdown",
@@ -2271,7 +2271,7 @@ const al = /* @__PURE__ */ Z({
2271
2271
  ]),
2272
2272
  _: 3
2273
2273
  })
2274
- ], 4)) : H("", !0)
2274
+ ], 4)) : W("", !0)
2275
2275
  ]));
2276
2276
  }
2277
2277
  }), cl = /* @__PURE__ */ Z({
@@ -2398,7 +2398,7 @@ const al = /* @__PURE__ */ Z({
2398
2398
  key: 0,
2399
2399
  class: p(o(rl)),
2400
2400
  role: "presentation"
2401
- }, K(t.title), 3)) : H("", !0),
2401
+ }, K(t.title), 3)) : W("", !0),
2402
2402
  S("ul", hl, [
2403
2403
  N(e.$slots, "default")
2404
2404
  ])
@@ -2460,7 +2460,7 @@ const al = /* @__PURE__ */ Z({
2460
2460
  ]),
2461
2461
  _: 3
2462
2462
  })
2463
- ], 36)) : H("", !0)
2463
+ ], 36)) : W("", !0)
2464
2464
  ]))
2465
2465
  ], 544));
2466
2466
  }
@@ -2684,7 +2684,7 @@ const Dl = _(
2684
2684
  S("p", {
2685
2685
  class: p(o(Ol)({ variant: t.item.variant }))
2686
2686
  }, K(t.item.title), 3),
2687
- t.item.description ? (d(), f("p", Rl, K(t.item.description), 1)) : H("", !0)
2687
+ t.item.description ? (d(), f("p", Rl, K(t.item.description), 1)) : W("", !0)
2688
2688
  ]),
2689
2689
  t.item.action ? (d(), f("div", El, [
2690
2690
  S("button", {
@@ -2694,7 +2694,7 @@ const Dl = _(
2694
2694
  (c = t.item.action) == null || c.onClick(), e("close", t.item.id);
2695
2695
  })
2696
2696
  }, K(t.item.action.label), 1)
2697
- ])) : H("", !0),
2697
+ ])) : W("", !0),
2698
2698
  t.isFrontmost ? (d(), f("button", {
2699
2699
  key: 1,
2700
2700
  type: "button",
@@ -2724,13 +2724,13 @@ const Dl = _(
2724
2724
  "stroke-linejoin": "round"
2725
2725
  })
2726
2726
  ], -1)
2727
- ])], 36)) : H("", !0)
2727
+ ])], 36)) : W("", !0)
2728
2728
  ], 34));
2729
2729
  }
2730
- }), jl = ["data-theme"], Wl = {
2730
+ }), jl = ["data-theme"], Hl = {
2731
2731
  class: "relative flex items-end justify-end",
2732
2732
  style: { "min-height": "60px" }
2733
- }, Hl = /* @__PURE__ */ Z({
2733
+ }, Wl = /* @__PURE__ */ Z({
2734
2734
  __name: "ToastProvider",
2735
2735
  props: {
2736
2736
  placement: { default: "bottom-end" },
@@ -2762,7 +2762,7 @@ const Dl = _(
2762
2762
  role: "region",
2763
2763
  "aria-label": "Notifications"
2764
2764
  }, [
2765
- S("div", Wl, [
2765
+ S("div", Hl, [
2766
2766
  ue(o(qe), null, {
2767
2767
  default: re(() => [
2768
2768
  (d(!0), f(te, null, se(i.value, (y, b) => (d(), ge(o(Pe), {
@@ -2794,7 +2794,7 @@ const Dl = _(
2794
2794
  _: 1
2795
2795
  })
2796
2796
  ])
2797
- ], 10, jl)) : H("", !0)
2797
+ ], 10, jl)) : W("", !0)
2798
2798
  ]));
2799
2799
  }
2800
2800
  }), Kl = _(
@@ -2938,22 +2938,22 @@ const Dl = _(
2938
2938
  class: p(o(Yl))
2939
2939
  }, [
2940
2940
  pe(K(t.label) + " ", 1),
2941
- t.required ? (d(), f("span", Zl, "*")) : H("", !0)
2942
- ], 2)) : H("", !0),
2943
- t.label ? H("", !0) : N(g.$slots, "default", { key: 1 }),
2941
+ t.required ? (d(), f("span", Zl, "*")) : W("", !0)
2942
+ ], 2)) : W("", !0),
2943
+ t.label ? W("", !0) : N(g.$slots, "default", { key: 1 }),
2944
2944
  t.description && !t.errorMessage ? (d(), f("p", {
2945
2945
  key: 2,
2946
2946
  id: o(n),
2947
2947
  class: p(o(Ul))
2948
- }, K(t.description), 11, Jl)) : H("", !0),
2948
+ }, K(t.description), 11, Jl)) : W("", !0),
2949
2949
  t.errorMessage ? (d(), f("p", {
2950
2950
  key: 3,
2951
2951
  id: o(i),
2952
2952
  class: p(o(Nl)),
2953
2953
  role: "alert",
2954
2954
  "aria-live": "polite"
2955
- }, K(t.errorMessage), 11, Ql)) : H("", !0)
2956
- ], 2)) : H("", !0)
2955
+ }, K(t.errorMessage), 11, Ql)) : W("", !0)
2956
+ ], 2)) : W("", !0)
2957
2957
  ], 42, Xl)), [
2958
2958
  [o(ot), m.value]
2959
2959
  ]);
@@ -3055,15 +3055,15 @@ const Dl = _(
3055
3055
  t.description ? (d(), f("span", {
3056
3056
  key: 2,
3057
3057
  class: p(o(ei))
3058
- }, K(t.description), 3)) : H("", !0)
3059
- ], 2)) : H("", !0)
3058
+ }, K(t.description), 3)) : W("", !0)
3059
+ ], 2)) : W("", !0)
3060
3060
  ], 42, ni)), [
3061
3061
  [o(ot), i.value]
3062
3062
  ]);
3063
3063
  }
3064
3064
  }), Ka = Symbol("ousi-radio-group");
3065
3065
  function li(t) {
3066
- We(Ka, t);
3066
+ He(Ka, t);
3067
3067
  }
3068
3068
  function ii() {
3069
3069
  return je(Ka, void 0);
@@ -3139,8 +3139,8 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3139
3139
  t.description ? (d(), f("span", {
3140
3140
  key: 2,
3141
3141
  class: p(o(ri))
3142
- }, K(t.description), 3)) : H("", !0)
3143
- ], 2)) : H("", !0)
3142
+ }, K(t.description), 3)) : W("", !0)
3143
+ ], 2)) : W("", !0)
3144
3144
  ], 42, vi));
3145
3145
  }
3146
3146
  }), hi = ["aria-labelledby", "aria-describedby", "aria-required", "aria-invalid", "data-orientation"], pi = ["id"], gi = {
@@ -3193,13 +3193,13 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3193
3193
  class: p(o(di))
3194
3194
  }, [
3195
3195
  pe(K(t.label) + " ", 1),
3196
- t.required ? (d(), f("span", gi, "*")) : H("", !0)
3197
- ], 10, pi)) : H("", !0),
3196
+ t.required ? (d(), f("span", gi, "*")) : W("", !0)
3197
+ ], 10, pi)) : W("", !0),
3198
3198
  t.description && !t.errorMessage ? (d(), f("p", {
3199
3199
  key: 1,
3200
3200
  id: o(u),
3201
3201
  class: p(o(ci))
3202
- }, K(t.description), 11, bi)) : H("", !0),
3202
+ }, K(t.description), 11, bi)) : W("", !0),
3203
3203
  S("div", {
3204
3204
  class: p(t.orientation === "horizontal" ? "flex flex-row flex-wrap gap-4" : "flex flex-col gap-3")
3205
3205
  }, [
@@ -3211,7 +3211,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3211
3211
  class: p(o(fi)),
3212
3212
  role: "alert",
3213
3213
  "aria-live": "polite"
3214
- }, K(t.errorMessage), 11, yi)) : H("", !0)
3214
+ }, K(t.errorMessage), 11, yi)) : W("", !0)
3215
3215
  ], 10, hi));
3216
3216
  }
3217
3217
  }), wi = _(
@@ -3330,7 +3330,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3330
3330
  disabled: t.disabled || void 0,
3331
3331
  invalid: y.value || void 0
3332
3332
  }))
3333
- }, K(t.label), 11, Ti)) : H("", !0),
3333
+ }, K(t.label), 11, Ti)) : W("", !0),
3334
3334
  S("textarea", {
3335
3335
  id: o(n),
3336
3336
  ref_key: "textareaRef",
@@ -3357,14 +3357,14 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3357
3357
  key: 1,
3358
3358
  id: o(i),
3359
3359
  class: p(o($i))
3360
- }, K(t.description), 11, Si)) : H("", !0),
3360
+ }, K(t.description), 11, Si)) : W("", !0),
3361
3361
  m.value ? (d(), f("p", {
3362
3362
  key: 2,
3363
3363
  id: o(u),
3364
3364
  class: p(o(Mi)),
3365
3365
  role: "alert",
3366
3366
  "aria-live": "polite"
3367
- }, K(m.value), 11, zi)) : H("", !0)
3367
+ }, K(m.value), 11, zi)) : W("", !0)
3368
3368
  ], 2));
3369
3369
  }
3370
3370
  }), Di = [
@@ -3430,9 +3430,9 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3430
3430
  }
3431
3431
  Ze({ handler: () => w(), enabled: u });
3432
3432
  function I(B) {
3433
- var W, z;
3433
+ var H, z;
3434
3434
  const L = B.target;
3435
- !((W = r.value) != null && W.contains(L)) && !((z = s.value) != null && z.contains(L)) && w();
3435
+ !((H = r.value) != null && H.contains(L)) && !((z = s.value) != null && z.contains(L)) && w();
3436
3436
  }
3437
3437
  return ve(u, (B) => {
3438
3438
  B ? document.addEventListener("pointerdown", I, !0) : document.removeEventListener("pointerdown", I, !0);
@@ -3476,14 +3476,14 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3476
3476
  class: "absolute h-2 w-2 rotate-45 bg-ousi-overlay",
3477
3477
  style: Q($.value),
3478
3478
  "aria-hidden": "true"
3479
- }, null, 4)) : H("", !0),
3479
+ }, null, 4)) : W("", !0),
3480
3480
  S("div", {
3481
3481
  class: p(o(Bi))
3482
3482
  }, [
3483
3483
  t.title ? (d(), f("p", {
3484
3484
  key: 0,
3485
3485
  class: p(o(Ai))
3486
- }, K(t.title), 3)) : H("", !0),
3486
+ }, K(t.title), 3)) : W("", !0),
3487
3487
  N(B.$slots, "default", { close: w })
3488
3488
  ], 2)
3489
3489
  ]),
@@ -3492,7 +3492,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3492
3492
  ]),
3493
3493
  _: 3
3494
3494
  })
3495
- ], 4)) : H("", !0)
3495
+ ], 4)) : W("", !0)
3496
3496
  ]))
3497
3497
  ], 64));
3498
3498
  }
@@ -3576,7 +3576,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3576
3576
  "aria-orientation": t.orientation
3577
3577
  }, null, 10, Pi));
3578
3578
  }
3579
- }), Wi = "pointer-events-none relative overflow-hidden rounded-ousi-sm", Hi = {
3579
+ }), Hi = "pointer-events-none relative overflow-hidden rounded-ousi-sm", Wi = {
3580
3580
  key: 0,
3581
3581
  class: "absolute inset-0",
3582
3582
  style: { background: "linear-gradient(90deg, transparent 0%, var(--ousi-surface-secondary) 50%, transparent 100%)", animation: "skeleton 2s linear infinite" }
@@ -3594,13 +3594,13 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3594
3594
  } : {}
3595
3595
  }));
3596
3596
  return (n, i) => (d(), f("div", {
3597
- class: p(o(X)(o(Wi), a.class)),
3597
+ class: p(o(X)(o(Hi), a.class)),
3598
3598
  style: Q(l.value),
3599
3599
  role: "status",
3600
3600
  "aria-busy": "true",
3601
3601
  "aria-label": "Loading..."
3602
3602
  }, [
3603
- t.animation === "shimmer" ? (d(), f("div", Hi)) : H("", !0),
3603
+ t.animation === "shimmer" ? (d(), f("div", Wi)) : W("", !0),
3604
3604
  N(n.$slots, "default")
3605
3605
  ], 6));
3606
3606
  }
@@ -3757,10 +3757,10 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3757
3757
  t.description ? (d(), f("p", {
3758
3758
  key: 0,
3759
3759
  class: p(o(Gi))
3760
- }, K(t.description), 3)) : H("", !0),
3760
+ }, K(t.description), 3)) : W("", !0),
3761
3761
  i.$slots.default ? (d(), f("div", Qi, [
3762
3762
  N(i.$slots, "default")
3763
- ])) : H("", !0)
3763
+ ])) : W("", !0)
3764
3764
  ], 2),
3765
3765
  t.closable ? (d(), f("button", {
3766
3766
  key: 0,
@@ -3782,7 +3782,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3782
3782
  "stroke-linejoin": "round"
3783
3783
  })
3784
3784
  ], -1)
3785
- ])])) : H("", !0)
3785
+ ])])) : W("", !0)
3786
3786
  ], 2));
3787
3787
  }
3788
3788
  }), es = _(
@@ -3890,7 +3890,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3890
3890
  function L() {
3891
3891
  c.value = !1, !e.allowCustomValue && k.value && !$.value && (k.value = ""), $.value && (k.value = "");
3892
3892
  }
3893
- function W(F) {
3893
+ function H(F) {
3894
3894
  var R;
3895
3895
  !F || F.disabled || (g.value = F.value, k.value = "", L(), (R = m.value) == null || R.blur());
3896
3896
  }
@@ -3925,7 +3925,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3925
3925
  break;
3926
3926
  }
3927
3927
  case "Enter":
3928
- F.preventDefault(), v.value[C.value] && W(v.value[C.value]);
3928
+ F.preventDefault(), v.value[C.value] && H(v.value[C.value]);
3929
3929
  break;
3930
3930
  case "Tab":
3931
3931
  L();
@@ -3950,7 +3950,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
3950
3950
  key: 0,
3951
3951
  for: o(n),
3952
3952
  class: p(o(zt)({ required: t.required || void 0, disabled: t.disabled || void 0, invalid: h.value || void 0 }))
3953
- }, K(t.label), 11, rs)) : H("", !0),
3953
+ }, K(t.label), 11, rs)) : W("", !0),
3954
3954
  S("div", {
3955
3955
  ref_key: "triggerRef",
3956
3956
  ref: y,
@@ -4005,7 +4005,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
4005
4005
  }, [
4006
4006
  S("path", { d: "M18 6L6 18M6 6l12 12" })
4007
4007
  ], -1)
4008
- ])])) : H("", !0),
4008
+ ])])) : W("", !0),
4009
4009
  S("span", {
4010
4010
  class: p(["text-ousi-field-placeholder transition-transform duration-150", c.value ? "rotate-180" : ""]),
4011
4011
  "aria-hidden": "true"
@@ -4030,14 +4030,14 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
4030
4030
  key: 1,
4031
4031
  id: o(u),
4032
4032
  class: p(o(is))
4033
- }, K(t.description), 11, fs)) : H("", !0),
4033
+ }, K(t.description), 11, fs)) : W("", !0),
4034
4034
  t.errorMessage ? (d(), f("p", {
4035
4035
  key: 2,
4036
4036
  id: o(r),
4037
4037
  class: p(o(ss)),
4038
4038
  role: "alert",
4039
4039
  "aria-live": "polite"
4040
- }, K(t.errorMessage), 11, vs)) : H("", !0)
4040
+ }, K(t.errorMessage), 11, vs)) : W("", !0)
4041
4041
  ], 2),
4042
4042
  (d(), ge(Fe, { to: "body" }, [
4043
4043
  c.value && o(s) ? (d(), f("div", {
@@ -4071,7 +4071,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
4071
4071
  "aria-disabled": P.disabled || void 0,
4072
4072
  "data-disabled": P.disabled || void 0,
4073
4073
  class: p(o(os)({ selected: P.value === o(g) || void 0, focused: C.value === V || void 0 })),
4074
- onClick: (q) => W(P),
4074
+ onClick: (q) => H(P),
4075
4075
  onMouseenter: (q) => C.value = V
4076
4076
  }, [
4077
4077
  S("span", ps, K(P.label), 1),
@@ -4081,14 +4081,14 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
4081
4081
  "stroke-linecap": "round",
4082
4082
  "stroke-linejoin": "round"
4083
4083
  }, null, -1)
4084
- ])])) : H("", !0)
4084
+ ])])) : W("", !0)
4085
4085
  ], 42, hs))), 128)),
4086
4086
  v.value.length === 0 ? (d(), f("li", {
4087
4087
  key: 0,
4088
4088
  class: p(o(ls)),
4089
4089
  role: "option",
4090
4090
  "aria-disabled": "true"
4091
- }, K(t.emptyMessage), 3)) : H("", !0)
4091
+ }, K(t.emptyMessage), 3)) : W("", !0)
4092
4092
  ], 10, ms)
4093
4093
  ]),
4094
4094
  _: 1
@@ -4096,7 +4096,7 @@ const si = "text-sm font-medium text-ousi-foreground select-none", ri = "text-sm
4096
4096
  ]),
4097
4097
  _: 1
4098
4098
  })
4099
- ], 4)) : H("", !0)
4099
+ ], 4)) : W("", !0)
4100
4100
  ]))
4101
4101
  ], 64);
4102
4102
  };
@@ -4151,7 +4151,7 @@ const ks = "size-3 text-ousi-muted select-none", $s = { "aria-label": "Breadcrum
4151
4151
  ]),
4152
4152
  _: 2
4153
4153
  }, 1032, ["href", "class", "aria-current", "aria-disabled", "onClick"])),
4154
- i(m) ? H("", !0) : (d(), f("span", {
4154
+ i(m) ? W("", !0) : (d(), f("span", {
4155
4155
  key: 0,
4156
4156
  class: p(o(ks)),
4157
4157
  "aria-hidden": "true"
@@ -4177,7 +4177,7 @@ const ks = "size-3 text-ousi-muted select-none", $s = { "aria-label": "Breadcrum
4177
4177
  },
4178
4178
  setup(t) {
4179
4179
  const a = t;
4180
- return We("button-group-orientation", a.orientation), (e, l) => (d(), f("div", {
4180
+ return He("button-group-orientation", a.orientation), (e, l) => (d(), f("div", {
4181
4181
  class: p(o(X)(
4182
4182
  o(Cs),
4183
4183
  t.orientation === "vertical" ? "flex-col" : "flex-row",
@@ -4266,20 +4266,20 @@ const Ls = ["onClick"], Rs = ["aria-label"], Es = ["aria-selected", "aria-disabl
4266
4266
  },
4267
4267
  emits: ["update:modelValue", "change"],
4268
4268
  setup(t, { emit: a }) {
4269
- var L, W;
4269
+ var L, H;
4270
4270
  const e = t, l = a, n = st(), i = D(() => !!n.cell), u = ye({
4271
4271
  prop: be(e, "modelValue"),
4272
4272
  defaultValue: e.defaultValue ?? null,
4273
4273
  onChange: (z) => {
4274
4274
  l("update:modelValue", z), l("change", z);
4275
4275
  }
4276
- }), r = /* @__PURE__ */ new Date(), s = j(((L = u.value) == null ? void 0 : L.year) ?? r.getFullYear()), c = j(((W = u.value) == null ? void 0 : W.month) ?? r.getMonth() + 1), m = j(!1), y = D(() => {
4276
+ }), r = /* @__PURE__ */ new Date(), s = j(((L = u.value) == null ? void 0 : L.year) ?? r.getFullYear()), c = j(((H = u.value) == null ? void 0 : H.month) ?? r.getMonth() + 1), m = j(!1), y = D(() => {
4277
4277
  const z = s.value - 5;
4278
4278
  return Array.from({ length: 12 }, (M, T) => z + T);
4279
4279
  }), b = D(() => new Date(s.value, c.value - 1, 1).toLocaleDateString(e.locale, { month: "long", year: "numeric" })), C = D(() => {
4280
4280
  const z = [];
4281
4281
  for (let M = 0; M < 7; M++) {
4282
- const T = new Date(2024, 0, 7 + M);
4282
+ const T = new Date(2026, 0, 7 + M);
4283
4283
  z.push(T.toLocaleDateString(e.locale, { weekday: "short" }).slice(0, 2));
4284
4284
  }
4285
4285
  return z;
@@ -4412,7 +4412,7 @@ const Ls = ["onClick"], Rs = ["aria-label"], Es = ["aria-selected", "aria-disabl
4412
4412
  "stroke-linecap": "round",
4413
4413
  "stroke-linejoin": "round"
4414
4414
  }, null, -1)
4415
- ])], 2)) : H("", !0)
4415
+ ])], 2)) : W("", !0)
4416
4416
  ]),
4417
4417
  _: 1
4418
4418
  }, 8, ["class", "type"])),
@@ -4487,7 +4487,7 @@ const Ls = ["onClick"], Rs = ["aria-label"], Es = ["aria-selected", "aria-disabl
4487
4487
  T.hasIndicator || T.isToday ? (d(), f("span", {
4488
4488
  key: 0,
4489
4489
  class: p(o(Bs)(T.isSelected))
4490
- }, null, 2)) : H("", !0)
4490
+ }, null, 2)) : W("", !0)
4491
4491
  ])
4492
4492
  ], 42, Es)), [
4493
4493
  [Xt, !T.isOutsideMonth || t.showOutsideDays]
@@ -4508,7 +4508,7 @@ function Fs(t) {
4508
4508
  ];
4509
4509
  return t.isOutsideMonth ? a.push("text-ousi-muted") : t.isStart || t.isEnd ? a.push("bg-ousi-accent text-ousi-accent-foreground font-medium") : t.isToday ? a.push("text-ousi-accent font-semibold hover:bg-ousi-default") : a.push("text-ousi-foreground hover:bg-ousi-default"), a.join(" ");
4510
4510
  }
4511
- const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selected", "aria-disabled", "tabindex"], Ks = {
4511
+ const js = ["aria-label"], Hs = ["onClick", "onMouseenter"], Ws = ["aria-selected", "aria-disabled", "tabindex"], Ks = {
4512
4512
  key: 0,
4513
4513
  class: "mt-3 text-xs text-ousi-muted text-center"
4514
4514
  }, Za = /* @__PURE__ */ Z({
@@ -4526,17 +4526,17 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
4526
4526
  },
4527
4527
  emits: ["update:modelValue", "change"],
4528
4528
  setup(t, { emit: a }) {
4529
- var B, L, W, z;
4529
+ var B, L, H, z;
4530
4530
  const e = t, l = a, n = ye({
4531
4531
  prop: be(e, "modelValue"),
4532
4532
  defaultValue: e.defaultValue ?? null,
4533
4533
  onChange: (M) => {
4534
4534
  l("update:modelValue", M), l("change", M);
4535
4535
  }
4536
- }), i = j(null), u = j(null), r = /* @__PURE__ */ new Date(), s = j(((L = (B = n.value) == null ? void 0 : B.start) == null ? void 0 : L.year) ?? r.getFullYear()), c = j(((z = (W = n.value) == null ? void 0 : W.start) == null ? void 0 : z.month) ?? r.getMonth() + 1), m = D(() => new Date(s.value, c.value - 1, 1).toLocaleDateString(e.locale, { month: "long", year: "numeric" })), y = D(() => {
4536
+ }), i = j(null), u = j(null), r = /* @__PURE__ */ new Date(), s = j(((L = (B = n.value) == null ? void 0 : B.start) == null ? void 0 : L.year) ?? r.getFullYear()), c = j(((z = (H = n.value) == null ? void 0 : H.start) == null ? void 0 : z.month) ?? r.getMonth() + 1), m = D(() => new Date(s.value, c.value - 1, 1).toLocaleDateString(e.locale, { month: "long", year: "numeric" })), y = D(() => {
4537
4537
  const M = [];
4538
4538
  for (let T = 0; T < 7; T++) {
4539
- const O = new Date(2024, 0, 7 + T);
4539
+ const O = new Date(2026, 0, 7 + T);
4540
4540
  M.push(O.toLocaleDateString(e.locale, { weekday: "short" }).slice(0, 2));
4541
4541
  }
4542
4542
  return M;
@@ -4678,12 +4678,12 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
4678
4678
  "aria-selected": O.isStart || O.isEnd || void 0,
4679
4679
  "aria-disabled": O.isDisabled || O.isUnavailable || void 0,
4680
4680
  tabindex: O.isStart || O.isEnd ? 0 : -1
4681
- }, K(O.date.day), 11, Hs)
4682
- ], 42, Ws)), [
4681
+ }, K(O.date.day), 11, Ws)
4682
+ ], 42, Hs)), [
4683
4683
  [Xt, !O.isOutsideMonth || t.showOutsideDays]
4684
4684
  ])), 128))
4685
4685
  ], 10, js),
4686
- i.value ? (d(), f("p", Ks, " Click another date to complete the range ")) : H("", !0)
4686
+ i.value ? (d(), f("p", Ks, " Click another date to complete the range ")) : W("", !0)
4687
4687
  ], 2));
4688
4688
  }
4689
4689
  }), qs = {
@@ -4748,9 +4748,9 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
4748
4748
  "aria-label": t.label
4749
4749
  }, [
4750
4750
  t.label || t.showValueLabel && !e.value ? (d(), f("div", Ns, [
4751
- t.label ? (d(), f("span", Xs, K(t.label), 1)) : H("", !0),
4752
- t.showValueLabel && !e.value ? (d(), f("output", Gs, K(n.value), 1)) : H("", !0)
4753
- ])) : H("", !0),
4751
+ t.label ? (d(), f("span", Xs, K(t.label), 1)) : W("", !0),
4752
+ t.showValueLabel && !e.value ? (d(), f("output", Gs, K(n.value), 1)) : W("", !0)
4753
+ ])) : W("", !0),
4754
4754
  S("div", {
4755
4755
  class: p(o(X)("relative overflow-hidden rounded-full bg-ousi-default", o(qs)[t.size]))
4756
4756
  }, [
@@ -4832,7 +4832,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
4832
4832
  "aria-hidden": "true"
4833
4833
  }, K(i.value), 3)) : r.$slots.default ? (d(), f("span", ar, [
4834
4834
  N(r.$slots, "default")
4835
- ])) : H("", !0)
4835
+ ])) : W("", !0)
4836
4836
  ], 10, _s));
4837
4837
  }
4838
4838
  }), or = {
@@ -4999,7 +4999,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
4999
4999
  }), u = D(
5000
5000
  () => (i.value - n.value.min) / (n.value.max - n.value.min) * 100
5001
5001
  ), r = D(() => {
5002
- const h = e.contextColor ?? {}, w = h.h ?? 0, x = h.s ?? 100, I = h.l ?? 50, B = h.r ?? 0, L = h.g ?? 0, W = h.b ?? 0, z = e.orientation === "horizontal" ? "to right" : "to top";
5002
+ const h = e.contextColor ?? {}, w = h.h ?? 0, x = h.s ?? 100, I = h.l ?? 50, B = h.r ?? 0, L = h.g ?? 0, H = h.b ?? 0, z = e.orientation === "horizontal" ? "to right" : "to top";
5003
5003
  switch (e.channel) {
5004
5004
  case "hue":
5005
5005
  return `linear-gradient(${z}, hsl(0,${x}%,${I}%), hsl(60,${x}%,${I}%), hsl(120,${x}%,${I}%), hsl(180,${x}%,${I}%), hsl(240,${x}%,${I}%), hsl(300,${x}%,${I}%), hsl(360,${x}%,${I}%))`;
@@ -5010,9 +5010,9 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5010
5010
  case "alpha":
5011
5011
  return `linear-gradient(${z}, hsla(${w},${x}%,${I}%,0), hsla(${w},${x}%,${I}%,1))`;
5012
5012
  case "red":
5013
- return `linear-gradient(${z}, rgb(0,${L},${W}), rgb(255,${L},${W}))`;
5013
+ return `linear-gradient(${z}, rgb(0,${L},${H}), rgb(255,${L},${H}))`;
5014
5014
  case "green":
5015
- return `linear-gradient(${z}, rgb(${B},0,${W}), rgb(${B},255,${W}))`;
5015
+ return `linear-gradient(${z}, rgb(${B},0,${H}), rgb(${B},255,${H}))`;
5016
5016
  case "blue":
5017
5017
  return `linear-gradient(${z}, rgb(${B},${L},0), rgb(${B},${L},255))`;
5018
5018
  default:
@@ -5048,7 +5048,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5048
5048
  const x = w.getBoundingClientRect(), I = "touches" in h ? h.touches[0].clientX : h.clientX, B = "touches" in h ? h.touches[0].clientY : h.clientY;
5049
5049
  let L;
5050
5050
  e.orientation === "horizontal" ? L = (I - x.left) / x.width : L = 1 - (B - x.top) / x.height, L = Math.min(1, Math.max(0, L));
5051
- const W = n.value.min + L * (n.value.max - n.value.min), z = Math.round(W / n.value.step) * n.value.step;
5051
+ const H = n.value.min + L * (n.value.max - n.value.min), z = Math.round(H / n.value.step) * n.value.step;
5052
5052
  return Math.min(n.value.max, Math.max(n.value.min, parseFloat(z.toFixed(2))));
5053
5053
  }
5054
5054
  function g(h) {
@@ -5098,12 +5098,12 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5098
5098
  t.label ? (d(), f("span", {
5099
5099
  key: 0,
5100
5100
  class: p(o(sr))
5101
- }, K(t.label), 3)) : H("", !0),
5101
+ }, K(t.label), 3)) : W("", !0),
5102
5102
  t.showOutput ? (d(), f("output", {
5103
5103
  key: 1,
5104
5104
  class: p(o(rr))
5105
- }, K(y.value), 3)) : H("", !0)
5106
- ])) : H("", !0),
5105
+ }, K(y.value), 3)) : W("", !0)
5106
+ ])) : W("", !0),
5107
5107
  S("div", {
5108
5108
  ref_key: "trackRef",
5109
5109
  ref: b,
@@ -5246,7 +5246,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5246
5246
  style: Q(r.value),
5247
5247
  onClick: y
5248
5248
  }, [
5249
- t.showDots ? (d(), f("div", vr)) : H("", !0),
5249
+ t.showDots ? (d(), f("div", vr)) : W("", !0),
5250
5250
  S("div", {
5251
5251
  class: "absolute outline-none focus-visible:ring-2 focus-visible:ring-ousi-focus z-10",
5252
5252
  style: Q(c.value),
@@ -5329,8 +5329,8 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5329
5329
  }
5330
5330
  });
5331
5331
  function b(x, I, B) {
5332
- const L = B * (1 - I / 200), W = L === 0 || L === 100 ? 0 : (B - L) / Math.min(L, 100 - L) * 100;
5333
- return { h: x, s: W, l: L };
5332
+ const L = B * (1 - I / 200), H = L === 0 || L === 100 ? 0 : (B - L) / Math.min(L, 100 - L) * 100;
5333
+ return { h: x, s: H, l: L };
5334
5334
  }
5335
5335
  const C = D(() => {
5336
5336
  const { h: x, s: I, l: B } = b(s.value.h, s.value.s, s.value.v);
@@ -5341,14 +5341,14 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5341
5341
  x.width = x.height = 1;
5342
5342
  const I = x.getContext("2d");
5343
5343
  I.fillStyle = C.value, I.fillRect(0, 0, 1, 1);
5344
- const [B, L, W] = I.getImageData(0, 0, 1, 1).data;
5345
- return `#${[B, L, W].map((z) => z.toString(16).padStart(2, "0")).join("")}`;
5344
+ const [B, L, H] = I.getImageData(0, 0, 1, 1).data;
5345
+ return `#${[B, L, H].map((z) => z.toString(16).padStart(2, "0")).join("")}`;
5346
5346
  });
5347
5347
  function g(x) {
5348
5348
  if (!x || x.length < 7) return;
5349
- const I = parseInt(x.slice(1, 3), 16) / 255, B = parseInt(x.slice(3, 5), 16) / 255, L = parseInt(x.slice(5, 7), 16) / 255, W = Math.max(I, B, L), z = Math.min(I, B, L), M = W - z, T = W * 100, O = W === 0 ? 0 : M / W * 100;
5349
+ const I = parseInt(x.slice(1, 3), 16) / 255, B = parseInt(x.slice(3, 5), 16) / 255, L = parseInt(x.slice(5, 7), 16) / 255, H = Math.max(I, B, L), z = Math.min(I, B, L), M = H - z, T = H * 100, O = H === 0 ? 0 : M / H * 100;
5350
5350
  let F = 0;
5351
- M !== 0 && (W === I ? F = (B - L) / M % 6 : W === B ? F = (L - I) / M + 2 : F = (I - B) / M + 4, F = Math.round(F * 60), F < 0 && (F += 360)), s.value = { h: F, s: Math.round(O), v: Math.round(T), a: s.value.a };
5351
+ M !== 0 && (H === I ? F = (B - L) / M % 6 : H === B ? F = (L - I) / M + 2 : F = (I - B) / M + 4, F = Math.round(F * 60), F < 0 && (F += 360)), s.value = { h: F, s: Math.round(O), v: Math.round(T), a: s.value.a };
5352
5352
  }
5353
5353
  function $(x) {
5354
5354
  const I = x.length === 4 ? `#${x[1]}${x[1]}${x[2]}${x[2]}${x[3]}${x[3]}` : x;
@@ -5433,7 +5433,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5433
5433
  channel: "alpha",
5434
5434
  "context-color": { h: c.value, s: m.value.x, l: m.value.y / 2 },
5435
5435
  "onUpdate:modelValue": I[2] || (I[2] = (B) => y.value = B)
5436
- }, null, 8, ["model-value", "context-color"])) : H("", !0)
5436
+ }, null, 8, ["model-value", "context-color"])) : W("", !0)
5437
5437
  ]),
5438
5438
  t.showHexInput ? (d(), f("div", wr, [
5439
5439
  ue(o(vt), {
@@ -5448,7 +5448,7 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5448
5448
  "full-width": "",
5449
5449
  onChange: g
5450
5450
  }, null, 8, ["model-value"])
5451
- ])) : H("", !0),
5451
+ ])) : W("", !0),
5452
5452
  t.showSwatches ? (d(), f("div", kr, [
5453
5453
  (d(!0), f(te, null, se(t.swatches, (B) => (d(), f("button", {
5454
5454
  key: B,
@@ -5462,14 +5462,14 @@ const js = ["aria-label"], Ws = ["onClick", "onMouseenter"], Hs = ["aria-selecte
5462
5462
  shape: "square"
5463
5463
  }, null, 8, ["color"])
5464
5464
  ], 10, $r))), 128))
5465
- ])) : H("", !0)
5465
+ ])) : W("", !0)
5466
5466
  ]),
5467
5467
  _: 1
5468
5468
  })
5469
5469
  ]),
5470
5470
  _: 1
5471
5471
  })
5472
- ], 4)) : H("", !0)
5472
+ ], 4)) : W("", !0)
5473
5473
  ]))
5474
5474
  ], 2));
5475
5475
  }
@@ -5576,7 +5576,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5576
5576
  const A = c.value, P = A.indexOf(u.value);
5577
5577
  P > 0 && I(A[P - 1]);
5578
5578
  }
5579
- function W(A, P) {
5579
+ function H(A, P) {
5580
5580
  if (e.readOnly || e.disabled) return;
5581
5581
  const V = s.value[P];
5582
5582
  if (!V || V.type === "literal") return;
@@ -5644,7 +5644,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5644
5644
  "aria-valuenow": i.value.has(V.type) ? V.type === "year" ? m.value : V.type === "month" ? y.value : b.value : void 0,
5645
5645
  "aria-valuemin": $(V.type)[0],
5646
5646
  "aria-valuemax": $(V.type)[1],
5647
- onKeydown: (U) => W(U, q),
5647
+ onKeydown: (U) => H(U, q),
5648
5648
  onFocus: (U) => M(q),
5649
5649
  onBlur: T
5650
5650
  }, [
@@ -5741,7 +5741,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5741
5741
  const V = C.value, q = V.indexOf(u.value);
5742
5742
  q < V.length - 1 && B(V[q + 1]);
5743
5743
  }
5744
- function W() {
5744
+ function H() {
5745
5745
  const V = C.value, q = V.indexOf(u.value);
5746
5746
  q > 0 && B(V[q - 1]);
5747
5747
  }
@@ -5751,7 +5751,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5751
5751
  if (!U || U.type === "literal") return;
5752
5752
  const ee = U.type;
5753
5753
  if (ee === "dayPeriod") {
5754
- V.key === "ArrowUp" || V.key === "ArrowDown" ? (V.preventDefault(), h("dayPeriod", y.value === "AM" ? "PM" : "AM")) : V.key === "a" || V.key === "A" ? (V.preventDefault(), h("dayPeriod", "AM")) : V.key === "p" || V.key === "P" ? (V.preventDefault(), h("dayPeriod", "PM")) : V.key === "ArrowRight" ? (V.preventDefault(), L()) : V.key === "ArrowLeft" ? (V.preventDefault(), W()) : V.key === "Tab" && M(V, q);
5754
+ V.key === "ArrowUp" || V.key === "ArrowDown" ? (V.preventDefault(), h("dayPeriod", y.value === "AM" ? "PM" : "AM")) : V.key === "a" || V.key === "A" ? (V.preventDefault(), h("dayPeriod", "AM")) : V.key === "p" || V.key === "P" ? (V.preventDefault(), h("dayPeriod", "PM")) : V.key === "ArrowRight" ? (V.preventDefault(), L()) : V.key === "ArrowLeft" ? (V.preventDefault(), H()) : V.key === "Tab" && M(V, q);
5755
5755
  return;
5756
5756
  }
5757
5757
  if (V.key === "ArrowUp") {
@@ -5762,11 +5762,11 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5762
5762
  V.preventDefault();
5763
5763
  const oe = i.value.has(ee) ? ee === "hour" ? k(s.value) : ee === "minute" ? c.value : m.value : v(ee)[1], [ae, we] = v(ee);
5764
5764
  h(ee, oe - 1 < ae ? we : oe - 1);
5765
- } else V.key === "ArrowRight" ? (V.preventDefault(), L()) : V.key === "ArrowLeft" ? (V.preventDefault(), W()) : V.key === "Tab" ? M(V, q) : V.key === "Backspace" ? (V.preventDefault(), x.value = "", i.value.delete(ee), (e.granularity === "second" ? ["hour", "minute", "second"] : ["hour", "minute"]).some((ae) => i.value.has(ae)) || (n.value = null)) : /^\d$/.test(V.key) && (V.preventDefault(), T(ee, V.key));
5765
+ } else V.key === "ArrowRight" ? (V.preventDefault(), L()) : V.key === "ArrowLeft" ? (V.preventDefault(), H()) : V.key === "Tab" ? M(V, q) : V.key === "Backspace" ? (V.preventDefault(), x.value = "", i.value.delete(ee), (e.granularity === "second" ? ["hour", "minute", "second"] : ["hour", "minute"]).some((ae) => i.value.has(ae)) || (n.value = null)) : /^\d$/.test(V.key) && (V.preventDefault(), T(ee, V.key));
5766
5766
  }
5767
5767
  function M(V, q) {
5768
5768
  const U = C.value, ee = U.indexOf(q);
5769
- !V.shiftKey && ee < U.length - 1 ? (V.preventDefault(), L()) : V.shiftKey && ee > 0 ? (V.preventDefault(), W()) : u.value = -1;
5769
+ !V.shiftKey && ee < U.length - 1 ? (V.preventDefault(), L()) : V.shiftKey && ee > 0 ? (V.preventDefault(), H()) : u.value = -1;
5770
5770
  }
5771
5771
  function T(V, q) {
5772
5772
  I.value && clearTimeout(I.value), x.value += q;
@@ -5867,7 +5867,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5867
5867
  }
5868
5868
  }
5869
5869
  }
5870
- ), Rr = "text-xs text-ousi-muted", Er = "text-xs text-ousi-danger", Pr = ["data-disabled", "data-invalid", "aria-describedby", "aria-label"], Fr = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "onKeydown", "onFocus"], jr = ["aria-expanded", "disabled"], Wr = /* @__PURE__ */ Z({
5870
+ ), Rr = "text-xs text-ousi-muted", Er = "text-xs text-ousi-danger", Pr = ["data-disabled", "data-invalid", "aria-describedby", "aria-label"], Fr = ["aria-label", "aria-valuenow", "aria-valuemin", "aria-valuemax", "onKeydown", "onFocus"], jr = ["aria-expanded", "disabled"], Hr = /* @__PURE__ */ Z({
5871
5871
  __name: "DatePicker",
5872
5872
  props: {
5873
5873
  modelValue: {},
@@ -5890,7 +5890,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5890
5890
  emits: ["update:modelValue", "change"],
5891
5891
  setup(t, { emit: a }) {
5892
5892
  var Oe, Xe, Je;
5893
- const e = t, l = a, n = `dp-${He()}`, i = `dp-desc-${He()}`, u = `dp-err-${He()}`, r = Re(), s = j(!1), c = j(null), m = j(null), y = ye({
5893
+ const e = t, l = a, n = `dp-${We()}`, i = `dp-desc-${We()}`, u = `dp-err-${We()}`, r = Re(), s = j(!1), c = j(null), m = j(null), y = ye({
5894
5894
  prop: be(e, "modelValue"),
5895
5895
  defaultValue: e.defaultValue ?? null,
5896
5896
  onChange: (J) => {
@@ -5935,7 +5935,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5935
5935
  function L(J) {
5936
5936
  return J === "year" ? [1, 9999] : J === "month" ? [1, 12] : J === "day" ? [1, I(v.value, h.value)] : [0, 0];
5937
5937
  }
5938
- function W(J, fe) {
5938
+ function H(J, fe) {
5939
5939
  const [me, de] = L(J), Y = B(fe, me, de);
5940
5940
  if (b.value.add(J), J === "year" ? v.value = Y : J === "month" ? h.value = Y : J === "day" && (w.value = Y), J === "month" || J === "year") {
5941
5941
  const G = I(v.value, h.value);
@@ -5973,11 +5973,11 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5973
5973
  if (J.key === "ArrowUp") {
5974
5974
  J.preventDefault();
5975
5975
  const Y = b.value.has(de) ? de === "year" ? v.value : de === "month" ? h.value : w.value : L(de)[0];
5976
- W(de, Y + 1 > L(de)[1] ? L(de)[0] : Y + 1);
5976
+ H(de, Y + 1 > L(de)[1] ? L(de)[0] : Y + 1);
5977
5977
  } else if (J.key === "ArrowDown") {
5978
5978
  J.preventDefault();
5979
5979
  const Y = b.value.has(de) ? de === "year" ? v.value : de === "month" ? h.value : w.value : L(de)[1];
5980
- W(de, Y - 1 < L(de)[0] ? L(de)[1] : Y - 1);
5980
+ H(de, Y - 1 < L(de)[0] ? L(de)[1] : Y - 1);
5981
5981
  } else if (J.key === "ArrowRight")
5982
5982
  J.preventDefault(), F();
5983
5983
  else if (J.key === "ArrowLeft")
@@ -5991,15 +5991,15 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
5991
5991
  T.value && clearTimeout(T.value), M.value += fe;
5992
5992
  const me = J === "year" ? 4 : 2, de = parseInt(M.value, 10);
5993
5993
  if (M.value.length >= me) {
5994
- W(J, de), M.value = "", $e(() => F());
5994
+ H(J, de), M.value = "", $e(() => F());
5995
5995
  return;
5996
5996
  }
5997
5997
  const [, Y] = L(J);
5998
5998
  if (de * 10 > Y && J !== "year") {
5999
- W(J, de), M.value = "", $e(() => F());
5999
+ H(J, de), M.value = "", $e(() => F());
6000
6000
  return;
6001
6001
  }
6002
- W(J, de), T.value = setTimeout(() => {
6002
+ H(J, de), T.value = setTimeout(() => {
6003
6003
  M.value = "";
6004
6004
  }, 1e3);
6005
6005
  }
@@ -6053,7 +6053,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6053
6053
  key: 0,
6054
6054
  for: n,
6055
6055
  class: p(o(Lr)({ required: t.required, disabled: t.disabled, invalid: ke.value }))
6056
- }, K(t.label), 3)) : H("", !0),
6056
+ }, K(t.label), 3)) : W("", !0),
6057
6057
  S("div", {
6058
6058
  ref_key: "triggerRef",
6059
6059
  ref: c,
@@ -6111,14 +6111,14 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6111
6111
  key: 1,
6112
6112
  id: i,
6113
6113
  class: p(o(Rr))
6114
- }, K(t.description), 3)) : H("", !0),
6114
+ }, K(t.description), 3)) : W("", !0),
6115
6115
  t.errorMessage ? (d(), f("p", {
6116
6116
  key: 2,
6117
6117
  id: u,
6118
6118
  class: p(o(Er)),
6119
6119
  role: "alert",
6120
6120
  "aria-live": "polite"
6121
- }, K(t.errorMessage), 3)) : H("", !0)
6121
+ }, K(t.errorMessage), 3)) : W("", !0)
6122
6122
  ], 2),
6123
6123
  (d(), ge(Fe, { to: "body" }, [
6124
6124
  s.value && o(r) ? (d(), f("div", {
@@ -6159,11 +6159,11 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6159
6159
  ]),
6160
6160
  _: 1
6161
6161
  })
6162
- ], 4)) : H("", !0)
6162
+ ], 4)) : W("", !0)
6163
6163
  ]))
6164
6164
  ], 64));
6165
6165
  }
6166
- }), Hr = _(
6166
+ }), Wr = _(
6167
6167
  "inline-flex flex-col gap-1",
6168
6168
  {
6169
6169
  variants: {
@@ -6226,7 +6226,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6226
6226
  emits: ["update:modelValue", "change"],
6227
6227
  setup(t, { emit: a }) {
6228
6228
  var J, fe, me, de;
6229
- const e = t, l = a, n = `drp-${He()}`, i = `drp-desc-${He()}`, u = `drp-err-${He()}`, r = Re(), s = j(!1), c = j(null), m = j(null), y = ye({
6229
+ const e = t, l = a, n = `drp-${We()}`, i = `drp-desc-${We()}`, u = `drp-err-${We()}`, r = Re(), s = j(!1), c = j(null), m = j(null), y = ye({
6230
6230
  prop: be(e, "modelValue"),
6231
6231
  defaultValue: e.defaultValue ?? null,
6232
6232
  onChange: (Y) => {
@@ -6284,7 +6284,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6284
6284
  const ne = x(Y);
6285
6285
  return G === "year" ? [1, 9999] : G === "month" ? [1, 12] : G === "day" ? [1, I(ne.year, ne.month)] : [0, 0];
6286
6286
  }
6287
- function W(Y, G) {
6287
+ function H(Y, G) {
6288
6288
  const ne = x(Y);
6289
6289
  return ne.filled.has(G) ? G === "year" ? String(ne.year).padStart(4, "0") : G === "month" ? String(ne.month).padStart(2, "0") : G === "day" ? String(ne.day).padStart(2, "0") : "" : "";
6290
6290
  }
@@ -6426,13 +6426,13 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6426
6426
  );
6427
6427
  return (Y, G) => (d(), f(te, null, [
6428
6428
  S("div", {
6429
- class: p(o(X)(o(Hr)({ fullWidth: t.fullWidth }), e.class))
6429
+ class: p(o(X)(o(Wr)({ fullWidth: t.fullWidth }), e.class))
6430
6430
  }, [
6431
6431
  t.label ? (d(), f("label", {
6432
6432
  key: 0,
6433
6433
  for: n,
6434
6434
  class: p(o(Nr)({ required: t.required, disabled: t.disabled, invalid: Xe.value }))
6435
- }, K(t.label), 3)) : H("", !0),
6435
+ }, K(t.label), 3)) : W("", !0),
6436
6436
  S("div", {
6437
6437
  ref_key: "triggerRef",
6438
6438
  ref: c,
@@ -6467,7 +6467,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6467
6467
  onBlur: ee
6468
6468
  }, [
6469
6469
  o(g).filled.has(ne.type) ? (d(), f(te, { key: 0 }, [
6470
- pe(K(W("start", ne.type)), 1)
6470
+ pe(K(H("start", ne.type)), 1)
6471
6471
  ], 64)) : (d(), f("span", {
6472
6472
  key: 1,
6473
6473
  class: p(o(gt))
@@ -6500,7 +6500,7 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6500
6500
  onBlur: ee
6501
6501
  }, [
6502
6502
  o($).filled.has(ne.type) ? (d(), f(te, { key: 0 }, [
6503
- pe(K(W("end", ne.type)), 1)
6503
+ pe(K(H("end", ne.type)), 1)
6504
6504
  ], 64)) : (d(), f("span", {
6505
6505
  key: 1,
6506
6506
  class: p(o(gt))
@@ -6525,14 +6525,14 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6525
6525
  key: 1,
6526
6526
  id: i,
6527
6527
  class: p(o(Xr))
6528
- }, K(t.description), 3)) : H("", !0),
6528
+ }, K(t.description), 3)) : W("", !0),
6529
6529
  t.errorMessage ? (d(), f("p", {
6530
6530
  key: 2,
6531
6531
  id: u,
6532
6532
  class: p(o(Gr)),
6533
6533
  role: "alert",
6534
6534
  "aria-live": "polite"
6535
- }, K(t.errorMessage), 3)) : H("", !0)
6535
+ }, K(t.errorMessage), 3)) : W("", !0)
6536
6536
  ], 2),
6537
6537
  (d(), ge(Fe, { to: "body" }, [
6538
6538
  s.value && o(r) ? (d(), f("div", {
@@ -6572,13 +6572,13 @@ const pt = "text-ousi-muted select-none px-px", gt = "text-ousi-field-placeholde
6572
6572
  ]),
6573
6573
  _: 1
6574
6574
  })
6575
- ], 4)) : H("", !0)
6575
+ ], 4)) : W("", !0)
6576
6576
  ]))
6577
6577
  ], 64));
6578
6578
  }
6579
6579
  }), en = Symbol("ousi-disclosure-group");
6580
6580
  function tu(t) {
6581
- We(en, t);
6581
+ He(en, t);
6582
6582
  }
6583
6583
  function au() {
6584
6584
  return je(en, void 0);
@@ -6607,7 +6607,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
6607
6607
  },
6608
6608
  emits: ["update:modelValue", "change"],
6609
6609
  setup(t, { emit: a }) {
6610
- const e = t, l = a, n = `disclosure-${He()}`, i = au(), u = ye({
6610
+ const e = t, l = a, n = `disclosure-${We()}`, i = au(), u = ye({
6611
6611
  prop: be(e, "modelValue"),
6612
6612
  defaultValue: e.defaultOpen,
6613
6613
  onChange: (k) => {
@@ -6878,7 +6878,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
6878
6878
  },
6879
6879
  emits: ["update:modelValue", "change", "complete", "clear"],
6880
6880
  setup(t, { expose: a, emit: e }) {
6881
- const l = t, n = e, i = `otp-${He()}`, u = `otp-desc-${He()}`, r = `otp-err-${He()}`, s = j(null), c = j(null), m = j(!1), y = ye({
6881
+ const l = t, n = e, i = `otp-${We()}`, u = `otp-desc-${We()}`, r = `otp-err-${We()}`, s = j(null), c = j(null), m = j(!1), y = ye({
6882
6882
  prop: be(l, "modelValue"),
6883
6883
  defaultValue: l.defaultValue ?? "",
6884
6884
  onChange: (P) => {
@@ -6931,7 +6931,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
6931
6931
  const V = ((ee = P.clipboardData) == null ? void 0 : ee.getData("text")) ?? "", U = (l.type === "digit" ? V : V.toUpperCase()).split("").filter(x).slice(0, l.length).join("");
6932
6932
  y.value = U, s.value && (s.value.value = U), U.length === l.length && n("complete", U);
6933
6933
  }
6934
- function W() {
6934
+ function H() {
6935
6935
  m.value = !0;
6936
6936
  }
6937
6937
  function z() {
@@ -6989,8 +6989,8 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
6989
6989
  class: p(o(ku))
6990
6990
  }, [
6991
6991
  pe(K(t.label) + " ", 1),
6992
- t.required ? (d(), f("span", Cu, "*")) : H("", !0)
6993
- ], 2)) : H("", !0),
6992
+ t.required ? (d(), f("span", Cu, "*")) : W("", !0)
6993
+ ], 2)) : W("", !0),
6994
6994
  S("div", {
6995
6995
  class: "relative",
6996
6996
  onClick: M
@@ -7015,7 +7015,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7015
7015
  onInput: I,
7016
7016
  onKeydown: B,
7017
7017
  onPaste: L,
7018
- onFocus: W,
7018
+ onFocus: H,
7019
7019
  onBlur: z
7020
7020
  }, null, 40, Su),
7021
7021
  S("div", {
@@ -7058,7 +7058,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7058
7058
  class: p(o(wu)),
7059
7059
  style: Q(w.value),
7060
7060
  "aria-hidden": "true"
7061
- }, null, 6)) : H("", !0)
7061
+ }, null, 6)) : W("", !0)
7062
7062
  ], 64))), 128))
7063
7063
  ], 10, zu)
7064
7064
  ]),
@@ -7066,14 +7066,14 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7066
7066
  key: 1,
7067
7067
  id: u,
7068
7068
  class: p(o($u))
7069
- }, K(t.description), 3)) : H("", !0),
7069
+ }, K(t.description), 3)) : W("", !0),
7070
7070
  t.errorMessage ? (d(), f("p", {
7071
7071
  key: 2,
7072
7072
  id: r,
7073
7073
  class: p(o(Mu)),
7074
7074
  role: "alert",
7075
7075
  "aria-live": "polite"
7076
- }, K(t.errorMessage), 3)) : H("", !0)
7076
+ }, K(t.errorMessage), 3)) : W("", !0)
7077
7077
  ]));
7078
7078
  }
7079
7079
  }), Bu = _(
@@ -7139,7 +7139,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7139
7139
  class: p(o(Ou))
7140
7140
  }, [
7141
7141
  N(l.$slots, "default")
7142
- ], 2)) : H("", !0)
7142
+ ], 2)) : W("", !0)
7143
7143
  ], 2));
7144
7144
  }
7145
7145
  }), Eu = _(
@@ -7187,7 +7187,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7187
7187
  },
7188
7188
  defaultVariants: { color: "accent" }
7189
7189
  }
7190
- ), ju = "w-fit text-sm font-medium text-ousi-foreground [grid-area:label]", Wu = "text-sm font-medium tabular-nums text-ousi-foreground [grid-area:output]", Hu = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-label", "aria-disabled", "data-disabled"], Ku = /* @__PURE__ */ Z({
7190
+ ), ju = "w-fit text-sm font-medium text-ousi-foreground [grid-area:label]", Hu = "text-sm font-medium tabular-nums text-ousi-foreground [grid-area:output]", Wu = ["aria-valuenow", "aria-valuemin", "aria-valuemax", "aria-label", "aria-disabled", "data-disabled"], Ku = /* @__PURE__ */ Z({
7191
7191
  __name: "Meter",
7192
7192
  props: {
7193
7193
  value: {},
@@ -7228,11 +7228,11 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7228
7228
  t.label ? (d(), f("span", {
7229
7229
  key: 0,
7230
7230
  class: p(o(ju))
7231
- }, K(t.label), 3)) : H("", !0),
7231
+ }, K(t.label), 3)) : W("", !0),
7232
7232
  t.showValueLabel ? (d(), f("output", {
7233
7233
  key: 1,
7234
- class: p(o(Wu))
7235
- }, K(u.value), 3)) : H("", !0),
7234
+ class: p(o(Hu))
7235
+ }, K(u.value), 3)) : W("", !0),
7236
7236
  S("div", {
7237
7237
  class: p(o(Pu)({ size: t.size }))
7238
7238
  }, [
@@ -7241,7 +7241,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7241
7241
  style: Q({ width: `${e.value}%` })
7242
7242
  }, null, 6)
7243
7243
  ], 2)
7244
- ], 10, Hu));
7244
+ ], 10, Wu));
7245
7245
  }
7246
7246
  }), qu = _(
7247
7247
  "flex flex-col gap-1.5",
@@ -7335,7 +7335,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7335
7335
  },
7336
7336
  emits: ["update:modelValue", "change", "focus", "blur"],
7337
7337
  setup(t, { emit: a }) {
7338
- const e = t, l = a, n = `nf-${He()}`, i = `nf-desc-${He()}`, u = `nf-err-${He()}`, r = j(null), s = Vt(), c = ye({
7338
+ const e = t, l = a, n = `nf-${We()}`, i = `nf-desc-${We()}`, u = `nf-err-${We()}`, r = j(null), s = Vt(), c = ye({
7339
7339
  prop: be(e, "modelValue"),
7340
7340
  defaultValue: e.defaultValue ?? null,
7341
7341
  onChange: (T) => {
@@ -7382,15 +7382,15 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7382
7382
  function B(T) {
7383
7383
  e.disabled || e.readonly || (T.key === "ArrowUp" && (T.preventDefault(), w()), T.key === "ArrowDown" && (T.preventDefault(), h()), T.key === "PageUp" && (T.preventDefault(), c.value = g((c.value ?? 0) + e.step * 10)), T.key === "PageDown" && (T.preventDefault(), c.value = g((c.value ?? 0) - e.step * 10)), T.key === "Home" && e.min !== void 0 && (T.preventDefault(), c.value = e.min), T.key === "End" && e.max !== void 0 && (T.preventDefault(), c.value = e.max));
7384
7384
  }
7385
- let L = null, W = null;
7385
+ let L = null, H = null;
7386
7386
  function z(T) {
7387
7387
  const O = T === "increment" ? w : h;
7388
7388
  O(), L = setTimeout(() => {
7389
- W = setInterval(O, 80);
7389
+ H = setInterval(O, 80);
7390
7390
  }, 400);
7391
7391
  }
7392
7392
  function M() {
7393
- L && (clearTimeout(L), L = null), W && (clearInterval(W), W = null);
7393
+ L && (clearTimeout(L), L = null), H && (clearInterval(H), H = null);
7394
7394
  }
7395
7395
  return ze(M), (T, O) => (d(), f("div", {
7396
7396
  class: p(o(X)(o(qu)({ fullWidth: t.fullWidth }), e.class))
@@ -7399,9 +7399,9 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7399
7399
  key: 0,
7400
7400
  for: n,
7401
7401
  class: p(o(Gu)({ required: t.required, disabled: t.disabled, invalid: y.value }))
7402
- }, K(t.label), 3)) : H("", !0),
7402
+ }, K(t.label), 3)) : W("", !0),
7403
7403
  S("div", {
7404
- class: p(o(Yu)({ variant: t.variant, size: t.size, showButtons: t.showButtons, fullWidth: t.fullWidth })),
7404
+ class: p(o(Yu)({ variant: t.variant, size: t.size, showButtons: t.showButtons })),
7405
7405
  "data-invalid": y.value || void 0,
7406
7406
  "data-disabled": t.disabled || void 0
7407
7407
  }, [
@@ -7430,7 +7430,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7430
7430
  S("path", { d: "M5 12h14" })
7431
7431
  ], -1))
7432
7432
  ])
7433
- ], 42, _u)) : H("", !0),
7433
+ ], 42, _u)) : W("", !0),
7434
7434
  S("input", {
7435
7435
  id: n,
7436
7436
  ref_key: "inputRef",
@@ -7480,20 +7480,20 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7480
7480
  S("path", { d: "M12 5v14M5 12h14" })
7481
7481
  ], -1))
7482
7482
  ])
7483
- ], 42, td)) : H("", !0)
7483
+ ], 42, td)) : W("", !0)
7484
7484
  ], 10, Qu),
7485
7485
  t.description && !m.value ? (d(), f("p", {
7486
7486
  key: 1,
7487
7487
  id: i,
7488
7488
  class: p(o(Zu))
7489
- }, K(t.description), 3)) : H("", !0),
7489
+ }, K(t.description), 3)) : W("", !0),
7490
7490
  m.value ? (d(), f("p", {
7491
7491
  key: 2,
7492
7492
  id: u,
7493
7493
  class: p(o(Ju)),
7494
7494
  role: "alert",
7495
7495
  "aria-live": "polite"
7496
- }, K(m.value), 3)) : H("", !0)
7496
+ }, K(m.value), 3)) : W("", !0)
7497
7497
  ], 2));
7498
7498
  }
7499
7499
  }), nd = "flex w-full flex-col items-center justify-between gap-4 sm:flex-row", od = _(
@@ -7618,10 +7618,10 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7618
7618
  ), w = Math.max(k + 1, g - C), x = Math.min(b - k, g + C), I = Array.from(
7619
7619
  { length: Math.max(0, x - w + 1) },
7620
7620
  (z, M) => w + M
7621
- ), B = /* @__PURE__ */ new Set([...v, ...I, ...h]), L = Array.from(B).sort((z, M) => z - M), W = [];
7621
+ ), B = /* @__PURE__ */ new Set([...v, ...I, ...h]), L = Array.from(B).sort((z, M) => z - M), H = [];
7622
7622
  for (let z = 0; z < L.length; z++)
7623
- W.push(L[z]), z < L.length - 1 && L[z + 1] - L[z] > 1 && W.push(L[z] < g ? "ellipsis-start" : "ellipsis-end");
7624
- return W;
7623
+ H.push(L[z]), z < L.length - 1 && L[z + 1] - L[z] > 1 && H.push(L[z] < g ? "ellipsis-start" : "ellipsis-end");
7624
+ return H;
7625
7625
  });
7626
7626
  return (b, C) => (d(), f("nav", {
7627
7627
  class: p(o(X)(o(nd), e.class)),
@@ -7631,7 +7631,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7631
7631
  t.showSummary ? (d(), f("p", {
7632
7632
  key: 0,
7633
7633
  class: p(o(od)({ size: t.size }))
7634
- }, " Page " + K(o(n)) + " of " + K(t.total), 3)) : H("", !0),
7634
+ }, " Page " + K(o(n)) + " of " + K(t.total), 3)) : W("", !0),
7635
7635
  S("ul", {
7636
7636
  class: p(o(ld)),
7637
7637
  role: "list"
@@ -7657,11 +7657,11 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7657
7657
  S("path", { d: "M15 18l-6-6 6-6" })
7658
7658
  ], -1))
7659
7659
  ]),
7660
- t.prevLabel ? (d(), f("span", ud, K(t.prevLabel), 1)) : H("", !0)
7660
+ t.prevLabel ? (d(), f("span", ud, K(t.prevLabel), 1)) : W("", !0)
7661
7661
  ], 10, rd)), [
7662
7662
  [o(ot), i.value]
7663
7663
  ])
7664
- ])) : H("", !0),
7664
+ ])) : W("", !0),
7665
7665
  (d(!0), f(te, null, se(y.value, (k, g) => (d(), f("li", {
7666
7666
  key: `${k}-${g}`,
7667
7667
  class: "inline-flex"
@@ -7692,7 +7692,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7692
7692
  "aria-label": "Go to next page",
7693
7693
  onClick: s
7694
7694
  }, [
7695
- t.nextLabel ? (d(), f("span", vd, K(t.nextLabel), 1)) : H("", !0),
7695
+ t.nextLabel ? (d(), f("span", vd, K(t.nextLabel), 1)) : W("", !0),
7696
7696
  N(b.$slots, "next-icon", {}, () => [
7697
7697
  C[1] || (C[1] = S("svg", {
7698
7698
  class: "size-4",
@@ -7709,7 +7709,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7709
7709
  ], 10, fd)), [
7710
7710
  [o(ot), i.value]
7711
7711
  ])
7712
- ])) : H("", !0)
7712
+ ])) : W("", !0)
7713
7713
  ], 2)
7714
7714
  ], 2));
7715
7715
  }
@@ -7889,14 +7889,14 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7889
7889
  function k(x, I, B) {
7890
7890
  C.value = I;
7891
7891
  const L = x.clientX;
7892
- function W(M) {
7892
+ function H(M) {
7893
7893
  const T = e.columns.find((R) => R.key === I), O = (T == null ? void 0 : T.minWidth) ?? 50, F = (T == null ? void 0 : T.maxWidth) ?? 9999;
7894
7894
  b.value[I] = Math.min(F, Math.max(O, B + M.clientX - L));
7895
7895
  }
7896
7896
  function z() {
7897
- C.value = null, document.removeEventListener("mousemove", W), document.removeEventListener("mouseup", z);
7897
+ C.value = null, document.removeEventListener("mousemove", H), document.removeEventListener("mouseup", z);
7898
7898
  }
7899
- document.addEventListener("mousemove", W), document.addEventListener("mouseup", z);
7899
+ document.addEventListener("mousemove", H), document.addEventListener("mouseup", z);
7900
7900
  }
7901
7901
  function g(x) {
7902
7902
  const I = b.value[x.key] ?? x.width;
@@ -7938,15 +7938,15 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7938
7938
  indeterminate: r.value,
7939
7939
  "onUpdate:modelValue": c
7940
7940
  }, null, 8, ["model-value", "indeterminate"])
7941
- ], 2)) : H("", !0),
7941
+ ], 2)) : W("", !0),
7942
7942
  (d(!0), f(te, null, se(t.columns, (B, L) => (d(), f("th", {
7943
7943
  key: B.key,
7944
7944
  class: p(o(yd)({ variant: t.variant, sortable: B.sortable, align: B.align })),
7945
7945
  style: Q(g(B)),
7946
7946
  "aria-sort": o(m).column === B.key ? o(m).direction === "asc" ? "ascending" : o(m).direction === "desc" ? "descending" : "none" : void 0,
7947
7947
  tabindex: "0",
7948
- onClick: (W) => B.sortable && y(B.key),
7949
- onKeydown: na(Ae((W) => B.sortable && y(B.key), ["prevent"]), ["enter"])
7948
+ onClick: (H) => B.sortable && y(B.key),
7949
+ onKeydown: na(Ae((H) => B.sortable && y(B.key), ["prevent"]), ["enter"])
7950
7950
  }, [
7951
7951
  S("span", zd, [
7952
7952
  N(x.$slots, `column-${B.key}`, { column: B }, () => [
@@ -7962,23 +7962,23 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7962
7962
  "aria-hidden": "true"
7963
7963
  }, [
7964
7964
  o(m).column === B.key && o(m).direction === "asc" ? (d(), f("path", Vd)) : o(m).column === B.key && o(m).direction === "desc" ? (d(), f("path", Dd)) : (d(), f("path", Bd))
7965
- ], 2)) : H("", !0)
7965
+ ], 2)) : W("", !0)
7966
7966
  ]),
7967
7967
  L < t.columns.length - 1 && !t.allowsResizing ? (d(), f("span", {
7968
7968
  key: 0,
7969
7969
  class: p(o(xd)),
7970
7970
  "aria-hidden": "true"
7971
- }, null, 2)) : H("", !0),
7971
+ }, null, 2)) : W("", !0),
7972
7972
  t.allowsResizing && B.resizable !== !1 ? (d(), f("div", {
7973
7973
  key: 1,
7974
7974
  class: p(o(Md)),
7975
7975
  "data-resizing": C.value === B.key || void 0,
7976
- onMousedown: Ae((W) => k(
7977
- W,
7976
+ onMousedown: Ae((H) => k(
7977
+ H,
7978
7978
  B.key,
7979
7979
  b.value[B.key] ?? (typeof B.width == "number" ? B.width : 120)
7980
7980
  ), ["stop"])
7981
- }, null, 42, Ad)) : H("", !0)
7981
+ }, null, 42, Ad)) : W("", !0)
7982
7982
  ], 46, Sd))), 128))
7983
7983
  ])
7984
7984
  ], 2),
@@ -7990,7 +7990,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
7990
7990
  }, [
7991
7991
  t.selectionMode === "multiple" ? (d(), f("td", Od, [
7992
7992
  ue(o(Yt), { class: "h-4 w-4 rounded-ousi-md" })
7993
- ])) : H("", !0),
7993
+ ])) : W("", !0),
7994
7994
  (d(!0), f(te, null, se(t.columns, (L) => (d(), f("td", {
7995
7995
  key: L.key,
7996
7996
  class: p(o(Bt)({ variant: t.variant }))
@@ -8030,7 +8030,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8030
8030
  "model-value": v(B),
8031
8031
  disabled: h(B)
8032
8032
  }, null, 8, ["model-value", "disabled"])
8033
- ], 10, Ed)) : H("", !0),
8033
+ ], 10, Ed)) : W("", !0),
8034
8034
  (d(!0), f(te, null, se(t.columns, (L) => (d(), f("td", {
8035
8035
  key: L.key,
8036
8036
  class: p(o(Bt)({ variant: t.variant, selected: v(B) })),
@@ -8053,7 +8053,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8053
8053
  class: p(o($d))
8054
8054
  }, [
8055
8055
  N(x.$slots, "footer")
8056
- ], 2)) : H("", !0)
8056
+ ], 2)) : W("", !0)
8057
8057
  ], 6));
8058
8058
  }
8059
8059
  }), Fd = _(
@@ -8104,7 +8104,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8104
8104
  ],
8105
8105
  defaultVariants: { orientation: "horizontal", size: "md" }
8106
8106
  }
8107
- ), Wd = "absolute inset-0 rounded-full bg-ousi-default overflow-hidden", Hd = _(
8107
+ ), Hd = "absolute inset-0 rounded-full bg-ousi-default overflow-hidden", Wd = _(
8108
8108
  "absolute pointer-events-none rounded-full transition-[left,width,bottom,height] duration-[400ms] ease-[cubic-bezier(0.22,1,0.36,1)] motion-reduce:transition-none data-[dragging=true]:transition-none",
8109
8109
  {
8110
8110
  variants: {
@@ -8173,52 +8173,52 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8173
8173
  const e = t, l = a, n = D(() => Array.isArray(e.modelValue ?? e.defaultValue)), i = D(() => e.orientation === "horizontal"), u = ye({
8174
8174
  prop: be(e, "modelValue"),
8175
8175
  defaultValue: e.defaultValue ?? (n.value ? [25, 75] : 50),
8176
- onChange: (W) => {
8177
- l("update:modelValue", W), l("change", W);
8176
+ onChange: (H) => {
8177
+ l("update:modelValue", H), l("change", H);
8178
8178
  }
8179
8179
  }), r = D(() => {
8180
- const W = u.value;
8181
- return Array.isArray(W) ? [W[0], W[1]] : [W];
8180
+ const H = u.value;
8181
+ return Array.isArray(H) ? [H[0], H[1]] : [H];
8182
8182
  });
8183
- function s(W) {
8184
- return (W - e.min) / (e.max - e.min) * 100;
8183
+ function s(H) {
8184
+ return (H - e.min) / (e.max - e.min) * 100;
8185
8185
  }
8186
8186
  const c = D(() => s(r.value[0])), m = D(() => n.value ? s(r.value[1]) : null), y = D(() => ({ sm: 18, md: 24, lg: 30 })[e.size]);
8187
8187
  D(() => `${y.value / 2}px`);
8188
8188
  const b = D(() => {
8189
- const W = y.value / 2 + 3;
8189
+ const H = y.value / 2 + 3;
8190
8190
  if (n.value && m.value !== null) {
8191
8191
  const z = Math.min(c.value, m.value), M = Math.max(c.value, m.value);
8192
- return i.value ? { left: `calc(${z}% - ${W}px)`, width: `calc(${M - z}% + ${W * 2}px)` } : { bottom: `calc(${z}% - ${W}px)`, height: `calc(${M - z}% + ${W * 2}px)` };
8192
+ return i.value ? { left: `calc(${z}% - ${H}px)`, width: `calc(${M - z}% + ${H * 2}px)` } : { bottom: `calc(${z}% - ${H}px)`, height: `calc(${M - z}% + ${H * 2}px)` };
8193
8193
  }
8194
- return i.value ? { left: "0%", width: `calc(${c.value}% + ${W}px)` } : { bottom: "0%", height: `calc(${c.value}% + ${W}px)` };
8194
+ return i.value ? { left: "0%", width: `calc(${c.value}% + ${H}px)` } : { bottom: "0%", height: `calc(${c.value}% + ${H}px)` };
8195
8195
  }), C = D(() => ({
8196
8196
  sm: i.value ? { width: "18px", height: "10px" } : { width: "10px", height: "18px" },
8197
8197
  md: i.value ? { width: "24px", height: "14px" } : { width: "14px", height: "24px" },
8198
8198
  lg: i.value ? { width: "30px", height: "18px" } : { width: "18px", height: "30px" }
8199
8199
  })[e.size]);
8200
- function k(W) {
8201
- return i.value ? { left: `${W}%` } : { bottom: `${W}%` };
8200
+ function k(H) {
8201
+ return i.value ? { left: `${H}%` } : { bottom: `${H}%` };
8202
8202
  }
8203
8203
  const g = j(null), $ = j(null);
8204
- function v(W, z) {
8204
+ function v(H, z) {
8205
8205
  const M = g.value;
8206
8206
  if (!M) return e.min;
8207
- const T = M.getBoundingClientRect(), O = i.value ? (W - T.left) / T.width : 1 - (z - T.top) / T.height, F = Math.min(1, Math.max(0, O)), R = e.min + F * (e.max - e.min);
8207
+ const T = M.getBoundingClientRect(), O = i.value ? (H - T.left) / T.width : 1 - (z - T.top) / T.height, F = Math.min(1, Math.max(0, O)), R = e.min + F * (e.max - e.min);
8208
8208
  return Math.round(R / e.step) * e.step;
8209
8209
  }
8210
- function h(W, z) {
8210
+ function h(H, z) {
8211
8211
  const M = Math.min(e.max, Math.max(e.min, z));
8212
8212
  if (!n.value) {
8213
8213
  u.value = M;
8214
8214
  return;
8215
8215
  }
8216
8216
  const [T, O] = r.value;
8217
- W === 0 ? u.value = [Math.min(M, O), O] : u.value = [T, Math.max(M, T)];
8217
+ H === 0 ? u.value = [Math.min(M, O), O] : u.value = [T, Math.max(M, T)];
8218
8218
  }
8219
- function w(W) {
8219
+ function w(H) {
8220
8220
  if (e.disabled) return;
8221
- const z = v(W.clientX, W.clientY);
8221
+ const z = v(H.clientX, H.clientY);
8222
8222
  if (!n.value) {
8223
8223
  h(0, z);
8224
8224
  return;
@@ -8226,9 +8226,9 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8226
8226
  const M = Math.abs(z - r.value[0]), T = Math.abs(z - r.value[1]);
8227
8227
  h(M <= T ? 0 : 1, z);
8228
8228
  }
8229
- function x(W, z) {
8229
+ function x(H, z) {
8230
8230
  if (e.disabled) return;
8231
- W.preventDefault(), W.stopPropagation(), $.value = z;
8231
+ H.preventDefault(), H.stopPropagation(), $.value = z;
8232
8232
  function M(O) {
8233
8233
  const F = "touches" in O ? O.touches[0].clientX : O.clientX, R = "touches" in O ? O.touches[0].clientY : O.clientY;
8234
8234
  h(z, v(F, R));
@@ -8238,37 +8238,37 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8238
8238
  }
8239
8239
  document.addEventListener("mousemove", M), document.addEventListener("mouseup", T), document.addEventListener("touchmove", M, { passive: !1 }), document.addEventListener("touchend", T);
8240
8240
  }
8241
- function I(W, z) {
8241
+ function I(H, z) {
8242
8242
  if (e.disabled) return;
8243
8243
  const M = r.value[z], T = e.step * 10;
8244
- switch (W.key) {
8244
+ switch (H.key) {
8245
8245
  case "ArrowRight":
8246
8246
  case "ArrowUp":
8247
- W.preventDefault(), h(z, M + e.step);
8247
+ H.preventDefault(), h(z, M + e.step);
8248
8248
  break;
8249
8249
  case "ArrowLeft":
8250
8250
  case "ArrowDown":
8251
- W.preventDefault(), h(z, M - e.step);
8251
+ H.preventDefault(), h(z, M - e.step);
8252
8252
  break;
8253
8253
  case "PageUp":
8254
- W.preventDefault(), h(z, M + T);
8254
+ H.preventDefault(), h(z, M + T);
8255
8255
  break;
8256
8256
  case "PageDown":
8257
- W.preventDefault(), h(z, M - T);
8257
+ H.preventDefault(), h(z, M - T);
8258
8258
  break;
8259
8259
  case "Home":
8260
- W.preventDefault(), h(z, e.min);
8260
+ H.preventDefault(), h(z, e.min);
8261
8261
  break;
8262
8262
  case "End":
8263
- W.preventDefault(), h(z, e.max);
8263
+ H.preventDefault(), h(z, e.max);
8264
8264
  break;
8265
8265
  }
8266
8266
  }
8267
- function B(W) {
8268
- return e.formatOptions ? new Intl.NumberFormat(void 0, e.formatOptions).format(W) : String(W);
8267
+ function B(H) {
8268
+ return e.formatOptions ? new Intl.NumberFormat(void 0, e.formatOptions).format(H) : String(H);
8269
8269
  }
8270
8270
  const L = D(() => n.value ? `${B(r.value[0])} – ${B(r.value[1])}` : B(r.value[0]));
8271
- return (W, z) => (d(), f("div", {
8271
+ return (H, z) => (d(), f("div", {
8272
8272
  class: p(o(X)(o(Fd)({ orientation: t.orientation, disabled: t.disabled }), e.class)),
8273
8273
  "data-orientation": t.orientation,
8274
8274
  "data-disabled": t.disabled || void 0
@@ -8276,11 +8276,11 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8276
8276
  t.label ? (d(), f("label", {
8277
8277
  key: 0,
8278
8278
  class: p(o(Kd))
8279
- }, K(t.label), 3)) : H("", !0),
8279
+ }, K(t.label), 3)) : W("", !0),
8280
8280
  t.showOutput ? (d(), f("output", {
8281
8281
  key: 1,
8282
8282
  class: p(o(qd)({ orientation: t.orientation }))
8283
- }, K(L.value), 3)) : H("", !0),
8283
+ }, K(L.value), 3)) : W("", !0),
8284
8284
  S("div", {
8285
8285
  ref_key: "trackRef",
8286
8286
  ref: g,
@@ -8288,10 +8288,10 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8288
8288
  onClick: w
8289
8289
  }, [
8290
8290
  S("div", {
8291
- class: p(o(Wd))
8291
+ class: p(o(Hd))
8292
8292
  }, [
8293
8293
  S("div", {
8294
- class: p(o(Hd)({ orientation: t.orientation, color: t.color })),
8294
+ class: p(o(Wd)({ orientation: t.orientation, color: t.color })),
8295
8295
  style: Q(b.value),
8296
8296
  "data-dragging": $.value !== null || void 0
8297
8297
  }, null, 14, Ud)
@@ -8328,7 +8328,7 @@ const su = "overflow-clip motion-reduce:transition-none", ru = "pb-3", uu = "w-f
8328
8328
  onMousedown: z[3] || (z[3] = (M) => x(M, 1)),
8329
8329
  onTouchstart: z[4] || (z[4] = Ae((M) => x(M, 1), ["prevent"])),
8330
8330
  onKeydown: z[5] || (z[5] = (M) => I(M, 1))
8331
- }, null, 46, Xd)) : H("", !0)
8331
+ }, null, 46, Xd)) : W("", !0)
8332
8332
  ], 2)
8333
8333
  ], 10, Yd));
8334
8334
  }
@@ -8515,7 +8515,7 @@ function pc(t, a) {
8515
8515
  function gc(t) {
8516
8516
  return t <= 15 ? 2 : t <= 30 ? 5 : t <= 60 ? 10 : t <= 120 ? 15 : t <= 300 ? 30 : t <= 600 ? 60 : t <= 1800 ? 300 : t <= 3600 ? 600 : t <= 14400 ? 1800 : t <= 43200 ? 3600 : t <= 86400 ? 7200 : t <= 604800 ? 86400 : 604800;
8517
8517
  }
8518
- function Wt(t, a, e, l) {
8518
+ function Ht(t, a, e, l) {
8519
8519
  let n = 1 / 0, i = -1 / 0;
8520
8520
  for (const c of t)
8521
8521
  c.value < n && (n = c.value), c.value > i && (i = c.value);
@@ -8734,8 +8734,8 @@ class kc {
8734
8734
  this.drawLoading(u, e, l, b, i, r), this.drawEdgeFade(u, b, e, l), this.badge && (this.badge.container.style.display = "none"), this.rafId = requestAnimationFrame((le) => this.loop(le));
8735
8735
  return;
8736
8736
  }
8737
- const B = I ? this.lastDataStash : v, L = Math.abs(n.value - this.displayValue), W = this.displayMax - this.displayMin || 1, z = Math.min(L / W, 1), M = n.lerpSpeed + (1 - z) * xt;
8738
- I || (this.displayValue = Te(this.displayValue, n.value, M, s), Math.abs(this.displayValue - n.value) < W * ma && (this.displayValue = n.value));
8737
+ const B = I ? this.lastDataStash : v, L = Math.abs(n.value - this.displayValue), H = this.displayMax - this.displayMin || 1, z = Math.min(L / H, 1), M = n.lerpSpeed + (1 - z) * xt;
8738
+ I || (this.displayValue = Te(this.displayValue, n.value, M, s), Math.abs(this.displayValue - n.value) < H * ma && (this.displayValue = n.value));
8739
8739
  const T = this.displayValue, O = n.momentum !== !1, F = n.badge ? ac : Rt;
8740
8740
  h && (this.frozenNow = Date.now() / 1e3);
8741
8741
  const R = I ? this.frozenNow : Date.now() / 1e3, E = this.windowTrans;
@@ -8745,7 +8745,7 @@ class kc {
8745
8745
  for (const De of B)
8746
8746
  De.time >= Ve - 2 && De.time <= le && Se.push(De);
8747
8747
  if (Se.length > 0) {
8748
- const De = Wt(Se, T, (Ie = n.referenceLine) == null ? void 0 : Ie.value, n.exaggerate);
8748
+ const De = Ht(Se, T, (Ie = n.referenceLine) == null ? void 0 : Ie.value, n.exaggerate);
8749
8749
  E.rangeToMin = De.min, E.rangeToMax = De.max;
8750
8750
  }
8751
8751
  }
@@ -8764,7 +8764,7 @@ class kc {
8764
8764
  this.badge && (this.badge.container.style.display = "none"), this.rafId = requestAnimationFrame((le) => this.loop(le));
8765
8765
  return;
8766
8766
  }
8767
- const oe = Wt(ee, T, (ut = n.referenceLine) == null ? void 0 : ut.value, n.exaggerate);
8767
+ const oe = Ht(ee, T, (ut = n.referenceLine) == null ? void 0 : ut.value, n.exaggerate);
8768
8768
  if (!this.rangeInited)
8769
8769
  this.displayMin = oe.min, this.displayMax = oe.max, this.targetMin = oe.min, this.targetMax = oe.max, this.rangeInited = !0;
8770
8770
  else if (V)
@@ -8875,8 +8875,8 @@ class kc {
8875
8875
  let B = 1 / 0, L = -1 / 0;
8876
8876
  for (const A of I)
8877
8877
  A.low < B && (B = A.low), A.high > L && (L = A.high);
8878
- const W = L - B, z = W * 0.12, M = W * 0.1 || 0.4;
8879
- if (W < M) {
8878
+ const H = L - B, z = H * 0.12, M = H * 0.1 || 0.4;
8879
+ if (H < M) {
8880
8880
  const A = (B + L) / 2;
8881
8881
  B = A - M / 2, L = A + M / 2;
8882
8882
  } else
@@ -8945,7 +8945,7 @@ class kc {
8945
8945
  V.time >= v - 2 && V.time <= $ && E.push(V);
8946
8946
  const A = this.displayValues.get(R.id) ?? R.value, P = this.seriesAlphas.get(R.id) ?? 1;
8947
8947
  if (E.length >= 2) {
8948
- const V = Wt(E, A, (O = m.referenceLine) == null ? void 0 : O.value, m.exaggerate);
8948
+ const V = Ht(E, A, (O = m.referenceLine) == null ? void 0 : O.value, m.exaggerate);
8949
8949
  V.min < w && (w = V.min), V.max > x && (x = V.max), h.push({ visible: E, smoothValue: A, pal: this.seriesPalettes.get(R.id), label: R.label, alpha: P });
8950
8950
  }
8951
8951
  }
@@ -8955,7 +8955,7 @@ class kc {
8955
8955
  }
8956
8956
  const I = { min: isFinite(w) ? w : 0, max: isFinite(x) ? x : 1 };
8957
8957
  this.rangeInited ? (this.displayMin = Te(this.displayMin, I.min, m.lerpSpeed + xt * 0.5, s), this.displayMax = Te(this.displayMax, I.max, m.lerpSpeed + xt * 0.5, s)) : (this.displayMin = I.min, this.displayMax = I.max, this.rangeInited = !0);
8958
- const B = this.displayMin, L = this.displayMax, W = L - B || 1e-3, z = {
8958
+ const B = this.displayMin, L = this.displayMax, H = L - B || 1e-3, z = {
8959
8959
  w: e,
8960
8960
  h: l,
8961
8961
  pad: n,
@@ -8965,9 +8965,9 @@ class kc {
8965
8965
  rightEdge: $,
8966
8966
  minVal: B,
8967
8967
  maxVal: L,
8968
- valRange: W,
8968
+ valRange: H,
8969
8969
  toX: (R) => n.left + (R - v) / ($ - v) * i,
8970
- toY: (R) => n.top + (1 - (R - B) / W) * u
8970
+ toY: (R) => n.top + (1 - (R - B) / H) * u
8971
8971
  };
8972
8972
  m.referenceLine && this.drawReferenceLine(a, z, r, m.referenceLine), m.grid && this.drawGrid(a, z, r, m.formatValue, s);
8973
8973
  const M = [];
@@ -9020,13 +9020,13 @@ class kc {
9020
9020
  for (const B of l) {
9021
9021
  const L = y(B.time + n / 2);
9022
9022
  if (L + h < w || L - h > x) continue;
9023
- const W = B.close >= B.open, z = B.time === i;
9023
+ const H = B.close >= B.open, z = B.time === i;
9024
9024
  let M;
9025
9025
  if (z && m >= 0) {
9026
9026
  const V = Math.round(Ye[0] + (ft[0] - Ye[0]) * m), q = Math.round(Ye[1] + (ft[1] - Ye[1]) * m), U = Math.round(Ye[2] + (ft[2] - Ye[2]) * m);
9027
9027
  M = `rgb(${V},${q},${U})`;
9028
9028
  } else
9029
- M = W ? Pt : Ft;
9029
+ M = H ? Pt : Ft;
9030
9030
  let T = z ? c : 1;
9031
9031
  if (s > 0.01 && r > 0) {
9032
9032
  const V = L - r;
@@ -9103,8 +9103,8 @@ class kc {
9103
9103
  }
9104
9104
  // ─── Draw: Line + fill ────────────────────────────────────────────────
9105
9105
  drawLine(a, e, l, n, i, u, r, s, c, m, y) {
9106
- const { h: b, pad: C, toX: k, toY: g, chartW: $, chartH: v } = e, h = a.globalAlpha, w = C.top, x = b - C.bottom, I = (ae) => Math.max(w, Math.min(x, ae)), B = C.top + v / 2, L = v * pa, W = y * ga, z = m < 1 ? (ae, we) => {
9107
- const Ce = Math.max(0, Math.min(1, (we - C.left) / $)), ke = Math.abs(Ce - 0.5) * 2, Be = Math.max(0, Math.min(1, (m - ke * 0.4) / 0.6)), Oe = $a(Ce, B, L, W);
9106
+ const { h: b, pad: C, toX: k, toY: g, chartW: $, chartH: v } = e, h = a.globalAlpha, w = C.top, x = b - C.bottom, I = (ae) => Math.max(w, Math.min(x, ae)), B = C.top + v / 2, L = v * pa, H = y * ga, z = m < 1 ? (ae, we) => {
9107
+ const Ce = Math.max(0, Math.min(1, (we - C.left) / $)), ke = Math.abs(Ce - 0.5) * 2, Be = Math.max(0, Math.min(1, (m - ke * 0.4) / 0.6)), Oe = $a(Ce, B, L, H);
9108
9108
  return Oe + (ae - Oe) * Be;
9109
9109
  } : (ae) => ae, M = n.map((ae, we) => {
9110
9110
  const Ce = k(ae.time), ke = we === n.length - 1 ? z(I(g(i)), Ce) : z(I(g(ae.value)), Ce);
@@ -9163,8 +9163,8 @@ class kc {
9163
9163
  for (let v = 0; v < 2; v++) {
9164
9164
  const h = v * 0.2, w = 0.35, x = b - h, B = 0.3 + 0.7 * (x >= 0 && x < w ? Math.sin(x / w * Math.PI) : 0);
9165
9165
  a.globalAlpha = s * g * B;
9166
- const L = k === -1 ? -3 : 3, W = l + k * (v * 8 - 4) + L;
9167
- a.beginPath(), a.moveTo($ - 5, W - k * 3.5), a.lineTo($, W), a.lineTo($ + 5, W - k * 3.5), a.stroke();
9166
+ const L = k === -1 ? -3 : 3, H = l + k * (v * 8 - 4) + L;
9167
+ a.beginPath(), a.moveTo($ - 5, H - k * 3.5), a.lineTo($, H), a.lineTo($ + 5, H - k * 3.5), a.stroke();
9168
9168
  }
9169
9169
  a.restore();
9170
9170
  };
@@ -9193,8 +9193,8 @@ class kc {
9193
9193
  const h = v / 2, w = h * k, x = w < 40 ? 0 : w >= 60 ? 1 : (w - 40) / 20, I = 32, B = (M) => {
9194
9194
  const T = Math.min(M - s.top, r - s.bottom - M);
9195
9195
  return T >= I ? 1 : T <= 0 ? 0 : T / I;
9196
- }, L = /* @__PURE__ */ new Map(), W = Math.ceil(m / h) * h;
9197
- for (let M = W; M <= y; M += h) {
9196
+ }, L = /* @__PURE__ */ new Map(), H = Math.ceil(m / h) * h;
9197
+ for (let M = H; M <= y; M += h) {
9198
9198
  const T = b(M);
9199
9199
  if (T < s.top - 2 || T > r - s.bottom + 2) continue;
9200
9200
  const O = Math.abs(M / v - Math.round(M / v)) < 0.01;
@@ -9238,8 +9238,8 @@ class kc {
9238
9238
  let E = Te(O.alpha, R, 0.08, u);
9239
9239
  Math.abs(E - R) < 0.02 && (E = R), E < 0.01 && R === 0 ? $.labels.delete(T) : O.alpha = E;
9240
9240
  }
9241
- const L = a.globalAlpha, W = r - s.bottom;
9242
- a.strokeStyle = l.gridLine, a.lineWidth = 1, a.beginPath(), a.moveTo(b, W), a.lineTo(C, W), a.stroke(), a.textAlign = "center";
9241
+ const L = a.globalAlpha, H = r - s.bottom;
9242
+ a.strokeStyle = l.gridLine, a.lineWidth = 1, a.beginPath(), a.moveTo(b, H), a.lineTo(C, H), a.stroke(), a.textAlign = "center";
9243
9243
  const z = [];
9244
9244
  for (const [T, O] of $.labels) {
9245
9245
  if (O.alpha < 0.02) continue;
@@ -9260,7 +9260,7 @@ class kc {
9260
9260
  M.push(T);
9261
9261
  }
9262
9262
  for (const T of M)
9263
- a.save(), a.globalAlpha = L * T.alpha, a.strokeStyle = l.gridLine, a.lineWidth = 1, a.beginPath(), a.moveTo(T.x, W), a.lineTo(T.x, W + 5), a.stroke(), a.fillStyle = l.timeLabel, a.fillText(T.text, T.x, W + 19), a.restore();
9263
+ a.save(), a.globalAlpha = L * T.alpha, a.strokeStyle = l.gridLine, a.lineWidth = 1, a.beginPath(), a.moveTo(T.x, H), a.lineTo(T.x, H + 5), a.stroke(), a.fillStyle = l.timeLabel, a.fillText(T.text, T.x, H + 19), a.restore();
9264
9264
  }
9265
9265
  defaultFormatTime(a) {
9266
9266
  const e = new Date(a * 1e3);
@@ -9276,8 +9276,8 @@ class kc {
9276
9276
  a.save(), a.globalAlpha = r, a.font = '400 13px "SF Mono", Menlo, monospace';
9277
9277
  const w = a.measureText($).width, x = a.measureText(h).width, I = a.measureText(v).width, B = w + x + I;
9278
9278
  let L = n - B / 2;
9279
- const W = m.left + 4, z = s + 7 - B;
9280
- L < W && (L = W), L > z && (L = z);
9279
+ const H = m.left + 4, z = s + 7 - B;
9280
+ L < H && (L = H), L > z && (L = z);
9281
9281
  const M = m.top + (this.cfg.tooltipY ?? 14) + 10;
9282
9282
  a.textAlign = "left";
9283
9283
  const T = l.bgRgb;
@@ -9310,7 +9310,7 @@ class kc {
9310
9310
  v > 0 && (h = Math.min((Math.abs(g - y.prevBidTotal) + Math.abs($ - y.prevAskTotal)) / v, 1)), y.prevBidTotal = g, y.prevAskTotal = $, y.churnRate += (h - y.churnRate) * (h > y.churnRate ? 0.3 : 0.05);
9311
9311
  const x = 60 + Math.max(Math.min(u * 5, 1), y.churnRate) * 100;
9312
9312
  y.smoothSpeed += (x - y.smoothSpeed) * (1 - Math.pow(0.95, i / 16.67));
9313
- const I = y.smoothSpeed, B = r.left + 8, L = s - r.bottom - 6, W = r.top;
9313
+ const I = y.smoothSpeed, B = r.left + 8, L = s - r.bottom - 6, H = r.top;
9314
9314
  for (y.spawnTimer += i; y.spawnTimer >= 40 && y.labels.length < 50; ) {
9315
9315
  y.spawnTimer -= 40;
9316
9316
  let O = !1;
@@ -9341,16 +9341,16 @@ class kc {
9341
9341
  });
9342
9342
  }
9343
9343
  let z = 0;
9344
- const M = L - W;
9344
+ const M = L - H;
9345
9345
  for (const O of y.labels) {
9346
9346
  if (O.life -= m, O.life <= 0) continue;
9347
- const F = M > 0 ? (O.y - W) / M : 1;
9348
- O.y -= I * (0.7 + 0.3 * F) * m, !(O.y < W - 14) && (y.labels[z++] = O);
9347
+ const F = M > 0 ? (O.y - H) / M : 1;
9348
+ O.y -= I * (0.7 + 0.3 * F) * m, !(O.y < H - 14) && (y.labels[z++] = O);
9349
9349
  }
9350
9350
  y.labels.length = z, a.globalAlpha, a.save(), a.font = '500 11px "SF Mono", Menlo, monospace', a.textAlign = "left", a.textBaseline = "middle";
9351
9351
  const T = l.bgRgb;
9352
9352
  for (const O of y.labels) {
9353
- const F = Math.min((1 - O.life / O.maxLife) * 10, 1), R = (O.y - W) / c, E = R < 0.45 ? R / 0.45 : 1, A = O.intensity * F * E, P = O.green ? b : C, V = 0.55 + A * 0.4, q = `rgba(${P[0]},${P[1]},${P[2]},${V})`;
9353
+ const F = Math.min((1 - O.life / O.maxLife) * 10, 1), R = (O.y - H) / c, E = R < 0.45 ? R / 0.45 : 1, A = O.intensity * F * E, P = O.green ? b : C, V = 0.55 + A * 0.4, q = `rgba(${P[0]},${P[1]},${P[2]},${V})`;
9354
9354
  a.save(), a.shadowColor = `rgba(${T[0]},${T[1]},${T[2]},0.8)`, a.shadowBlur = 6, a.shadowOffsetX = 0, a.shadowOffsetY = 0, a.fillStyle = q, a.fillText(O.text, B, O.y), a.restore();
9355
9355
  }
9356
9356
  a.restore();
@@ -9410,8 +9410,8 @@ class kc {
9410
9410
  i.svg.setAttribute("width", String(Math.ceil(w))), i.svg.setAttribute("height", String(h)), i.svg.setAttribute("viewBox", `0 0 ${w} ${h}`), i.path.setAttribute("d", u.badgeTail ? hc(v, h, xa, mc) : pc(v, h));
9411
9411
  const x = b.top + a.chartH / 2, I = Math.max(b.top, Math.min(y - b.bottom, a.toY(e))), B = s < 1 ? x + (I - x) * s : I;
9412
9412
  this.badgeY === null ? this.badgeY = B : this.badgeY = Te(this.badgeY, B, ec, n);
9413
- const L = m - b.right + 8 - kt - k, W = this.badgeY - h / 2;
9414
- if (i.container.style.transform = `translate3d(${L}px, ${W}px, 0)`, u.badgeVariant === "minimal")
9413
+ const L = m - b.right + 8 - kt - k, H = this.badgeY - h / 2;
9414
+ if (i.container.style.transform = `translate3d(${L}px, ${H}px, 0)`, u.badgeVariant === "minimal")
9415
9415
  i.path.setAttribute("fill", r.badgeOuterBg), i.text.style.color = r.tooltipText, i.container.style.filter = `drop-shadow(0 1px 4px ${r.badgeOuterShadow})`;
9416
9416
  else if (i.container.style.filter = "", i.text.style.color = "#fff", !(u.momentum !== !1))
9417
9417
  i.path.setAttribute("fill", r.line);
@@ -9601,7 +9601,7 @@ const Lm = _(
9601
9601
  ref: r,
9602
9602
  class: "absolute top-3 left-3 text-2xl font-semibold tabular-nums pointer-events-none text-ousi-foreground",
9603
9603
  "aria-live": "off"
9604
- }, null, 512)) : H("", !0),
9604
+ }, null, 512)) : W("", !0),
9605
9605
  ue(o(qe), null, {
9606
9606
  default: re(() => {
9607
9607
  var k;
@@ -9624,7 +9624,7 @@ const Lm = _(
9624
9624
  }, K(g.label), 11, Tc))), 128))
9625
9625
  ]),
9626
9626
  _: 1
9627
- })) : H("", !0)
9627
+ })) : W("", !0)
9628
9628
  ];
9629
9629
  }),
9630
9630
  _: 1
@@ -9699,7 +9699,7 @@ const Lm = _(
9699
9699
  N(r.$slots, "header", {}, () => [
9700
9700
  S("span", null, K(t.filename), 1)
9701
9701
  ])
9702
- ], 2)) : H("", !0),
9702
+ ], 2)) : W("", !0),
9703
9703
  S("div", {
9704
9704
  class: p(["relative", t.collapsible ? "bg-ousi-surface-secondary/40" : ""])
9705
9705
  }, [
@@ -9719,7 +9719,7 @@ const Lm = _(
9719
9719
  key: 0,
9720
9720
  class: p(o(Dc)),
9721
9721
  style: Q(m === 0 ? "padding-top: 0.75rem" : m === n.value.length - 1 ? "padding-bottom: 0.75rem" : "")
9722
- }, K(m + 1), 7)) : H("", !0),
9722
+ }, K(m + 1), 7)) : W("", !0),
9723
9723
  S("td", {
9724
9724
  class: p(o(Bc)),
9725
9725
  style: Q(m === 0 ? "padding-top: 0.75rem" : m === n.value.length - 1 ? "padding-bottom: 0.75rem" : ""),
@@ -9756,7 +9756,7 @@ const Lm = _(
9756
9756
  }, null, -1)
9757
9757
  ])]))
9758
9758
  ])
9759
- ], 2)) : H("", !0),
9759
+ ], 2)) : W("", !0),
9760
9760
  t.collapsible ? (d(), f("div", Pc, [
9761
9761
  S("button", {
9762
9762
  class: p(o(Oc)),
@@ -9779,11 +9779,11 @@ const Lm = _(
9779
9779
  ]),
9780
9780
  pe(" " + K(e.value ? t.collapseLabel : t.expandLabel), 1)
9781
9781
  ], 2)
9782
- ])) : H("", !0)
9782
+ ])) : W("", !0)
9783
9783
  ], 2)
9784
9784
  ], 2));
9785
9785
  }
9786
- }), jc = "relative select-none overflow-hidden", Ta = "absolute inset-0 w-full h-full object-cover", Wc = "absolute z-20 bg-white/80 shadow-sm", Hc = [
9786
+ }), jc = "relative select-none overflow-hidden", Ta = "absolute inset-0 w-full h-full object-cover", Hc = "absolute z-20 bg-white/80 shadow-sm", Wc = [
9787
9787
  "absolute z-30 flex items-center justify-center",
9788
9788
  "rounded-full bg-white/90 backdrop-blur-sm shadow-lg",
9789
9789
  "border-2 border-white/50",
@@ -9927,22 +9927,22 @@ const Lm = _(
9927
9927
  style: Q(
9928
9928
  r.value ? { left: "12px", bottom: "12px", opacity: o(n) > 10 ? 1 : 0 } : { left: "12px", top: "12px", opacity: o(n) > 10 ? 1 : 0 }
9929
9929
  )
9930
- }, K(t.beforeLabel), 7)) : H("", !0),
9930
+ }, K(t.beforeLabel), 7)) : W("", !0),
9931
9931
  t.afterLabel ? (d(), f("span", {
9932
9932
  key: 1,
9933
9933
  class: p(o(Ca)),
9934
9934
  style: Q(
9935
9935
  r.value ? { right: "12px", bottom: "12px", opacity: o(n) < 90 ? 1 : 0 } : { right: "12px", bottom: "12px", opacity: o(n) < 90 ? 1 : 0 }
9936
9936
  )
9937
- }, K(t.afterLabel), 7)) : H("", !0),
9937
+ }, K(t.afterLabel), 7)) : W("", !0),
9938
9938
  t.showDivider ? (d(), f("div", {
9939
9939
  key: 2,
9940
- class: p(o(Wc)),
9940
+ class: p(o(Hc)),
9941
9941
  style: Q(c.value)
9942
- }, null, 6)) : H("", !0),
9942
+ }, null, 6)) : W("", !0),
9943
9943
  t.showHandle ? (d(), f("div", {
9944
9944
  key: 3,
9945
- class: p(o(Hc)),
9945
+ class: p(o(Wc)),
9946
9946
  style: Q({ ...m.value, ...y }),
9947
9947
  "data-dragging": u.value || void 0
9948
9948
  }, [
@@ -9953,7 +9953,7 @@ const Lm = _(
9953
9953
  S("path", { d: "M8 9l4-4 4 4" }, null, -1),
9954
9954
  S("path", { d: "M8 15l4 4 4-4" }, null, -1)
9955
9955
  ])]))
9956
- ], 14, Uc)) : H("", !0),
9956
+ ], 14, Uc)) : W("", !0),
9957
9957
  S("img", {
9958
9958
  src: t.afterSrc,
9959
9959
  alt: "",
@@ -10089,7 +10089,7 @@ const Lm = _(
10089
10089
  }, () => [
10090
10090
  pe(K(r.opposite), 1)
10091
10091
  ])
10092
- ], 2)) : H("", !0),
10092
+ ], 2)) : W("", !0),
10093
10093
  S("div", {
10094
10094
  class: p(o(Sa)({ layout: t.layout }))
10095
10095
  }, [
@@ -10135,7 +10135,7 @@ const Lm = _(
10135
10135
  }, () => [
10136
10136
  pe(K(r.opposite), 1)
10137
10137
  ])
10138
- ], 2)) : H("", !0)
10138
+ ], 2)) : W("", !0)
10139
10139
  ], 64)) : (d(), f(te, { key: 1 }, [
10140
10140
  l.value && s % 2 === 1 ? (d(), f("div", {
10141
10141
  key: 0,
@@ -10214,7 +10214,7 @@ const Lm = _(
10214
10214
  }, tf = ["aria-expanded", "onClick"], af = {
10215
10215
  key: 0,
10216
10216
  class: "flex size-5 items-center justify-center shrink-0 text-ousi-muted"
10217
- }, nf = { class: "flex-1 text-sm font-medium text-ousi-foreground" }, of = { class: "text-sm text-ousi-muted leading-relaxed" }, Le = "calc(var(--ousi-radius, 0.5rem) * 2.5)", Ht = "cubic-bezier(0.34, 1.56, 0.64, 1)", lf = "cubic-bezier(0.32, 0.72, 0, 1)", sf = /* @__PURE__ */ Z({
10217
+ }, nf = { class: "flex-1 text-sm font-medium text-ousi-foreground" }, of = { class: "text-sm text-ousi-muted leading-relaxed" }, Le = "calc(var(--ousi-radius, 0.5rem) * 2.5)", Wt = "cubic-bezier(0.34, 1.56, 0.64, 1)", lf = "cubic-bezier(0.32, 0.72, 0, 1)", sf = /* @__PURE__ */ Z({
10218
10218
  __name: "Accordion",
10219
10219
  props: {
10220
10220
  items: {},
@@ -10290,10 +10290,10 @@ const Lm = _(
10290
10290
  style: Q({
10291
10291
  borderRadius: y(x),
10292
10292
  margin: b(x),
10293
- transition: `border-radius 450ms ${lf}, margin 450ms ${Ht}`
10293
+ transition: `border-radius 450ms ${lf}, margin 450ms ${Wt}`
10294
10294
  })
10295
10295
  }, [
10296
- C(x - 1) && x > 0 ? (d(), f("div", ef)) : H("", !0),
10296
+ C(x - 1) && x > 0 ? (d(), f("div", ef)) : W("", !0),
10297
10297
  S("button", {
10298
10298
  type: "button",
10299
10299
  class: "flex w-full items-center gap-2.5 px-4 py-3 text-left outline-none transition-colors hover:bg-ousi-default/20 focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ousi-focus",
@@ -10310,7 +10310,7 @@ const Lm = _(
10310
10310
  index: x
10311
10311
  })
10312
10312
  ])
10313
- ])) : H("", !0),
10313
+ ])) : W("", !0),
10314
10314
  S("span", nf, [
10315
10315
  N(v.$slots, `title-${w.key}`, { item: w }, () => [
10316
10316
  pe(K(w.title), 1)
@@ -10318,7 +10318,7 @@ const Lm = _(
10318
10318
  ]),
10319
10319
  (d(), f("svg", {
10320
10320
  class: "size-4 shrink-0 text-ousi-muted",
10321
- style: Q({ transform: o(i) === w.key ? "rotate(180deg)" : "rotate(0deg)", transition: `transform 350ms ${Ht}` }),
10321
+ style: Q({ transform: o(i) === w.key ? "rotate(180deg)" : "rotate(0deg)", transition: `transform 350ms ${Wt}` }),
10322
10322
  viewBox: "0 0 24 24",
10323
10323
  fill: "none",
10324
10324
  stroke: "currentColor",
@@ -10333,7 +10333,7 @@ const Lm = _(
10333
10333
  style: Q({
10334
10334
  maxHeight: o(i) === w.key ? `${r.value[w.key] ?? 200}px` : "0px",
10335
10335
  opacity: o(i) === w.key ? 1 : 0,
10336
- transition: `max-height 450ms ${Ht}, opacity 300ms ease`,
10336
+ transition: `max-height 450ms ${Wt}, opacity 300ms ease`,
10337
10337
  overflow: "hidden"
10338
10338
  })
10339
10339
  }, [
@@ -10428,7 +10428,7 @@ const Lm = _(
10428
10428
  }, null, 8, uf)
10429
10429
  ])
10430
10430
  ])
10431
- ], 4)) : H("", !0),
10431
+ ], 4)) : W("", !0),
10432
10432
  ue(o(Jt), {
10433
10433
  variant: t.variant,
10434
10434
  size: t.size,
@@ -10617,7 +10617,7 @@ const Lm = _(
10617
10617
  return Math.round(M / e.step) * e.step;
10618
10618
  }
10619
10619
  return n.value;
10620
- }), W = D(
10620
+ }), H = D(
10621
10621
  () => e.showTooltip && m.value
10622
10622
  );
10623
10623
  return (z, M) => (d(), f("div", {
@@ -10632,7 +10632,7 @@ const Lm = _(
10632
10632
  }, [
10633
10633
  ue(Ct, { name: "elastic-tooltip" }, {
10634
10634
  default: re(() => [
10635
- W.value ? (d(), f("div", {
10635
+ H.value ? (d(), f("div", {
10636
10636
  key: 0,
10637
10637
  class: "absolute z-10 pointer-events-none flex flex-col items-center",
10638
10638
  style: Q({
@@ -10666,7 +10666,7 @@ const Lm = _(
10666
10666
  "stroke-width": "1"
10667
10667
  })
10668
10668
  ], -1))
10669
- ], 4)) : H("", !0)
10669
+ ], 4)) : W("", !0)
10670
10670
  ]),
10671
10671
  _: 3
10672
10672
  }),
@@ -10826,7 +10826,7 @@ const Lm = _(
10826
10826
  height: `${x.value}px`,
10827
10827
  maskImage: "linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%)",
10828
10828
  WebkitMaskImage: "linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%)"
10829
- })), W = {
10829
+ })), H = {
10830
10830
  position: "relative",
10831
10831
  display: "inline-flex",
10832
10832
  overflow: "hidden",
@@ -10884,7 +10884,7 @@ const Lm = _(
10884
10884
  };
10885
10885
  }
10886
10886
  const F = D(() => ({
10887
- ...W,
10887
+ ...H,
10888
10888
  perspective: "400px"
10889
10889
  }));
10890
10890
  return (R, E) => (d(), f("span", {
@@ -10895,7 +10895,7 @@ const Lm = _(
10895
10895
  t.prefix ? (d(), f("span", {
10896
10896
  key: 0,
10897
10897
  class: p(o(pf))
10898
- }, K(t.prefix), 3)) : H("", !0),
10898
+ }, K(t.prefix), 3)) : W("", !0),
10899
10899
  t.animation === "count" ? (d(), f("span", bf, K(c.value), 1)) : t.animation === "roll" && l.value ? (d(!0), f(te, { key: 2 }, se(u.value, (A) => (d(), f("span", {
10900
10900
  key: A.key,
10901
10901
  style: Q(A.isDigit ? L.value : void 0)
@@ -10918,7 +10918,7 @@ const Lm = _(
10918
10918
  ], 64))
10919
10919
  ], 4))), 128)) : t.animation === "slide" ? (d(), f("span", {
10920
10920
  key: 3,
10921
- style: W
10921
+ style: H
10922
10922
  }, [
10923
10923
  S("span", { style: M }, K(b.value), 1),
10924
10924
  h.value ? (d(), f(te, { key: 0 }, [
@@ -10934,7 +10934,7 @@ const Lm = _(
10934
10934
  }, K(b.value), 1))
10935
10935
  ])) : t.animation === "fade" ? (d(), f("span", {
10936
10936
  key: 4,
10937
- style: W
10937
+ style: H
10938
10938
  }, [
10939
10939
  S("span", { style: M }, K(b.value), 1),
10940
10940
  h.value ? (d(), f(te, { key: 0 }, [
@@ -10964,11 +10964,11 @@ const Lm = _(
10964
10964
  key: 1,
10965
10965
  style: z
10966
10966
  }, K(b.value), 1))
10967
- ], 4)) : H("", !0),
10967
+ ], 4)) : W("", !0),
10968
10968
  t.suffix ? (d(), f("span", {
10969
10969
  key: 6,
10970
10970
  class: p(o(gf))
10971
- }, K(t.suffix), 3)) : H("", !0)
10971
+ }, K(t.suffix), 3)) : W("", !0)
10972
10972
  ], 2));
10973
10973
  }
10974
10974
  }), xf = "inline-flex items-center gap-0.5", wf = "cursor-pointer transition-transform duration-150 hover:scale-110 focus:outline-none", kf = ["tabindex", "aria-valuenow", "aria-valuemax", "aria-disabled", "aria-readonly"], $f = ["onClick", "onMousemove"], Mf = {
@@ -11107,7 +11107,7 @@ const Lm = _(
11107
11107
  "stop-color": "transparent"
11108
11108
  }, null, -1)
11109
11109
  ])], 8, Cf)
11110
- ])) : H("", !0),
11110
+ ])) : W("", !0),
11111
11111
  S("path", {
11112
11112
  d: zf,
11113
11113
  fill: b(w) === "full" ? "currentColor" : b(w) === "half" ? `url(#half-star-${w})` : "none",
@@ -11242,7 +11242,7 @@ const Lm = _(
11242
11242
  invalid: { true: "text-ousi-danger" }
11243
11243
  }
11244
11244
  }
11245
- ), Ef = ["for"], Pf = ["data-invalid", "data-disabled"], Ff = ["aria-label", "onClick"], jf = ["id", "name", "value", "placeholder", "disabled", "aria-describedby", "aria-invalid"], Wf = ["id"], Hf = ["id"], Kf = /* @__PURE__ */ Z({
11245
+ ), Ef = ["for"], Pf = ["data-invalid", "data-disabled"], Ff = ["aria-label", "onClick"], jf = ["id", "name", "value", "placeholder", "disabled", "aria-describedby", "aria-invalid"], Hf = ["id"], Wf = ["id"], Kf = /* @__PURE__ */ Z({
11246
11246
  __name: "TagInput",
11247
11247
  props: {
11248
11248
  modelValue: {},
@@ -11299,7 +11299,7 @@ const Lm = _(
11299
11299
  key: 0,
11300
11300
  for: o(n),
11301
11301
  class: p(o(Rf)({ required: t.required, disabled: t.disabled, invalid: c.value }))
11302
- }, K(t.label), 11, Ef)) : H("", !0),
11302
+ }, K(t.label), 11, Ef)) : W("", !0),
11303
11303
  S("div", {
11304
11304
  class: p(o(If)({ variant: t.variant, size: t.size })),
11305
11305
  "data-invalid": c.value || void 0,
@@ -11314,7 +11314,7 @@ const Lm = _(
11314
11314
  role: "listitem"
11315
11315
  }, {
11316
11316
  end: re(() => [
11317
- t.disabled ? H("", !0) : (d(), f("button", {
11317
+ t.disabled ? W("", !0) : (d(), f("button", {
11318
11318
  key: 0,
11319
11319
  type: "button",
11320
11320
  class: "inline-flex items-center justify-center opacity-60 hover:opacity-100 transition-opacity rounded-full",
@@ -11363,14 +11363,14 @@ const Lm = _(
11363
11363
  key: 1,
11364
11364
  id: o(i),
11365
11365
  class: "text-xs text-ousi-muted"
11366
- }, K(t.description), 9, Wf)) : H("", !0),
11366
+ }, K(t.description), 9, Hf)) : W("", !0),
11367
11367
  t.errorMessage ? (d(), f("p", {
11368
11368
  key: 2,
11369
11369
  id: o(u),
11370
11370
  class: "text-xs text-ousi-danger",
11371
11371
  role: "alert",
11372
11372
  "aria-live": "polite"
11373
- }, K(t.errorMessage), 9, Hf)) : H("", !0)
11373
+ }, K(t.errorMessage), 9, Wf)) : W("", !0)
11374
11374
  ], 2));
11375
11375
  }
11376
11376
  }), qf = "min-w-[180px] rounded-ousi-xl border border-ousi-border bg-ousi-surface shadow-xl p-1 z-50", Yf = "flex items-center gap-2 rounded-ousi-lg px-3 py-1.5 text-sm text-ousi-foreground cursor-pointer transition-colors hover:bg-ousi-default outline-none focus-visible:bg-ousi-default", Uf = "my-1 h-px bg-ousi-border/50", Nf = "ml-auto text-xs text-ousi-muted", Xf = ["aria-disabled", "onClick", "onPointerenter"], Gf = /* @__PURE__ */ Z({
@@ -11480,15 +11480,15 @@ const Lm = _(
11480
11480
  key: 0,
11481
11481
  class: p(v.icon),
11482
11482
  "aria-hidden": "true"
11483
- }, null, 2)) : H("", !0),
11483
+ }, null, 2)) : W("", !0),
11484
11484
  S("span", null, K(v.label), 1),
11485
11485
  v.shortcut ? (d(), f("span", {
11486
11486
  key: 1,
11487
11487
  class: p(o(Nf))
11488
- }, K(v.shortcut), 3)) : H("", !0)
11488
+ }, K(v.shortcut), 3)) : W("", !0)
11489
11489
  ], 42, Xf))
11490
11490
  ], 64))), 128))
11491
- ], 38)) : H("", !0)
11491
+ ], 38)) : W("", !0)
11492
11492
  ]),
11493
11493
  _: 1
11494
11494
  })
@@ -11614,7 +11614,7 @@ const Lm = _(
11614
11614
  i.value === g ? (d(), f("div", {
11615
11615
  key: 0,
11616
11616
  class: p(o(ev))
11617
- }, K(k.label), 3)) : H("", !0),
11617
+ }, K(k.label), 3)) : W("", !0),
11618
11618
  S("div", {
11619
11619
  class: p(o(_f)),
11620
11620
  style: Q({
@@ -11700,7 +11700,7 @@ const Lm = _(
11700
11700
  class: p(o(X)(o(nv), a.class))
11701
11701
  }, [
11702
11702
  S("span", null, K(e.value), 1),
11703
- t.cursor ? (d(), f("span", ov, K(t.cursorChar), 1)) : H("", !0)
11703
+ t.cursor ? (d(), f("span", ov, K(t.cursorChar), 1)) : W("", !0)
11704
11704
  ], 2));
11705
11705
  }
11706
11706
  }), iv = "inline-block bg-clip-text text-transparent", sv = /* @__PURE__ */ Z({
@@ -11845,7 +11845,7 @@ const Lm = _(
11845
11845
  key: $,
11846
11846
  style: Q(b(g))
11847
11847
  }, null, 4))), 128))
11848
- ], 2)) : H("", !0)
11848
+ ], 2)) : W("", !0)
11849
11849
  ]));
11850
11850
  }
11851
11851
  }), dv = "fixed inset-0 z-50 flex items-start justify-center pt-[20vh] bg-black/50 backdrop-blur-sm", cv = "w-full max-w-lg rounded-ousi-2xl border border-ousi-border bg-ousi-surface shadow-2xl overflow-hidden", fv = "w-full px-4 py-3 text-base bg-transparent border-b border-ousi-border outline-none text-ousi-foreground placeholder:text-ousi-muted", vv = "max-h-72 overflow-y-auto p-2", mv = "px-2 py-1.5 text-xs font-semibold text-ousi-muted uppercase tracking-wider", hv = "flex items-center gap-3 px-3 py-2 rounded-ousi-lg text-sm text-ousi-foreground cursor-pointer transition-colors", pv = "ml-auto flex gap-1", gv = "px-1.5 py-0.5 rounded-ousi-md bg-ousi-default text-xs text-ousi-muted font-mono", bv = { class: "flex items-center gap-3 px-4" }, yv = ["placeholder"], xv = ["data-highlighted", "aria-selected", "aria-disabled", "onClick", "onMouseenter"], wv = {
@@ -12003,12 +12003,12 @@ const Lm = _(
12003
12003
  class: p(o(vv)),
12004
12004
  role: "listbox"
12005
12005
  }, [
12006
- C.value.length > 0 ? (d(!0), f(te, { key: 0 }, se(b.value, ([L, W]) => (d(), f(te, { key: L }, [
12006
+ C.value.length > 0 ? (d(!0), f(te, { key: 0 }, se(b.value, ([L, H]) => (d(), f(te, { key: L }, [
12007
12007
  L ? (d(), f("div", {
12008
12008
  key: 0,
12009
12009
  class: p(o(mv))
12010
- }, K(L), 3)) : H("", !0),
12011
- (d(!0), f(te, null, se(W, (z) => (d(), f("div", {
12010
+ }, K(L), 3)) : W("", !0),
12011
+ (d(!0), f(te, null, se(H, (z) => (d(), f("div", {
12012
12012
  key: z.key,
12013
12013
  class: p(o(X)(
12014
12014
  o(hv),
@@ -12022,7 +12022,7 @@ const Lm = _(
12022
12022
  onClick: (M) => g(z),
12023
12023
  onMouseenter: (M) => r.value = x(z)
12024
12024
  }, [
12025
- z.icon ? (d(), f("span", wv, K(z.icon), 1)) : H("", !0),
12025
+ z.icon ? (d(), f("span", wv, K(z.icon), 1)) : W("", !0),
12026
12026
  S("span", null, K(z.label), 1),
12027
12027
  z.shortcut ? (d(), f("span", {
12028
12028
  key: 1,
@@ -12032,7 +12032,7 @@ const Lm = _(
12032
12032
  key: T,
12033
12033
  class: p(o(gv))
12034
12034
  }, K(M), 3))), 128))
12035
- ], 2)) : H("", !0)
12035
+ ], 2)) : W("", !0)
12036
12036
  ], 42, xv))), 128))
12037
12037
  ], 64))), 128)) : (d(), f("div", kv, K(t.emptyText), 1))
12038
12038
  ], 2)
@@ -12040,7 +12040,7 @@ const Lm = _(
12040
12040
  ]),
12041
12041
  _: 1
12042
12042
  })
12043
- ], 2)) : H("", !0)
12043
+ ], 2)) : W("", !0)
12044
12044
  ]),
12045
12045
  _: 1
12046
12046
  })
@@ -12116,7 +12116,7 @@ const Lm = _(
12116
12116
  x();
12117
12117
  });
12118
12118
  const I = j(0), B = j(0), L = j(!1);
12119
- function W(O) {
12119
+ function H(O) {
12120
12120
  L.value = !0, I.value = O.clientX, B.value = O.clientX;
12121
12121
  }
12122
12122
  function z(O) {
@@ -12144,7 +12144,7 @@ const Lm = _(
12144
12144
  S("div", {
12145
12145
  class: p(o(Cv)),
12146
12146
  style: Q(m.value),
12147
- onPointerdown: W,
12147
+ onPointerdown: H,
12148
12148
  onPointermove: z,
12149
12149
  onPointerup: M,
12150
12150
  onPointercancel: M
@@ -12182,7 +12182,7 @@ const Lm = _(
12182
12182
  S("path", { d: "M15 18l-6-6 6-6" })
12183
12183
  ], -1))
12184
12184
  ])
12185
- ], 2)) : H("", !0),
12185
+ ], 2)) : W("", !0),
12186
12186
  t.showArrows && $.value ? (d(), f("button", {
12187
12187
  key: 1,
12188
12188
  class: p(o(X)(o(Da), "right-3")),
@@ -12205,7 +12205,7 @@ const Lm = _(
12205
12205
  S("path", { d: "M9 18l6-6-6-6" })
12206
12206
  ], -1))
12207
12207
  ])
12208
- ], 2)) : H("", !0),
12208
+ ], 2)) : W("", !0),
12209
12209
  t.showDots && s.value > 1 ? (d(), f("div", {
12210
12210
  key: 2,
12211
12211
  class: p(o(zv))
@@ -12225,7 +12225,7 @@ const Lm = _(
12225
12225
  active: o(i) === R - 1
12226
12226
  })
12227
12227
  ], 10, Bv))), 128))
12228
- ], 2)) : H("", !0)
12228
+ ], 2)) : W("", !0)
12229
12229
  ], 34));
12230
12230
  }
12231
12231
  }), Ov = "flex gap-2", Iv = "flex items-center gap-2", Lv = "flex items-center justify-center rounded-full font-semibold transition-colors shrink-0", Rv = "flex-1 transition-colors", Ev = "text-sm font-medium text-ousi-foreground", Pv = "text-xs text-ousi-muted", Fv = ["onClick"], jv = {
@@ -12233,7 +12233,7 @@ const Lm = _(
12233
12233
  xmlns: "http://www.w3.org/2000/svg",
12234
12234
  viewBox: "0 0 24 24",
12235
12235
  class: "size-4"
12236
- }, Wv = { key: 1 }, Hv = /* @__PURE__ */ Z({
12236
+ }, Hv = { key: 1 }, Wv = /* @__PURE__ */ Z({
12237
12237
  __name: "Stepper",
12238
12238
  props: {
12239
12239
  steps: {},
@@ -12324,7 +12324,7 @@ const Lm = _(
12324
12324
  "stroke-width": "2",
12325
12325
  fill: "none"
12326
12326
  }, null, -1)
12327
- ])])) : (d(), f("span", Wv, K($ + 1), 1))
12327
+ ])])) : (d(), f("span", Hv, K($ + 1), 1))
12328
12328
  ], 2),
12329
12329
  S("div", {
12330
12330
  class: p(i.value ? "text-center mt-2" : "ml-2")
@@ -12335,7 +12335,7 @@ const Lm = _(
12335
12335
  g.description ? (d(), f("div", {
12336
12336
  key: 0,
12337
12337
  class: p(o(Pv))
12338
- }, K(g.description), 3)) : H("", !0)
12338
+ }, K(g.description), 3)) : W("", !0)
12339
12339
  ], 2)
12340
12340
  ])
12341
12341
  ], 10, Fv),
@@ -12352,7 +12352,7 @@ const Lm = _(
12352
12352
  )),
12353
12353
  style: Q(b($))
12354
12354
  }, null, 6)
12355
- ]) : H("", !0)
12355
+ ]) : W("", !0)
12356
12356
  ], 64))), 128))
12357
12357
  ], 2));
12358
12358
  }
@@ -12655,7 +12655,7 @@ const Lm = _(
12655
12655
  ], -1)
12656
12656
  ])], 8, em)
12657
12657
  ], 2))), 128))
12658
- ])) : H("", !0)
12658
+ ])) : W("", !0)
12659
12659
  ]));
12660
12660
  }
12661
12661
  }), am = "w-full text-sm", nm = "flex items-center gap-1.5 px-2 py-1 rounded-ousi-lg cursor-pointer transition-colors hover:bg-ousi-default text-ousi-foreground", om = "pl-4 border-l border-ousi-border/30 ml-2", lm = "size-4 text-ousi-muted transition-transform duration-200 shrink-0", im = {
@@ -12708,7 +12708,7 @@ const Lm = _(
12708
12708
  key: g.key,
12709
12709
  node: g
12710
12710
  }, null, 8, ["node"]))), 128))
12711
- ], 2)) : H("", !0)
12711
+ ], 2)) : W("", !0)
12712
12712
  ]);
12713
12713
  };
12714
12714
  }
@@ -12731,7 +12731,7 @@ const Lm = _(
12731
12731
  i.value = c, l("select", c, m);
12732
12732
  }
12733
12733
  const s = st();
12734
- return We("tree-expanded", n), We("tree-selected", i), We("tree-selectable", e.selectable), We("tree-toggle", u), We("tree-select", r), We("tree-slots", s), (c, m) => (d(), f("div", {
12734
+ return He("tree-expanded", n), He("tree-selected", i), He("tree-selectable", e.selectable), He("tree-toggle", u), He("tree-select", r), He("tree-slots", s), (c, m) => (d(), f("div", {
12735
12735
  class: p(o(X)(o(am), e.class))
12736
12736
  }, [
12737
12737
  (d(!0), f(te, null, se(t.nodes, (y) => (d(), ge(rm, {
@@ -12906,7 +12906,7 @@ const Lm = _(
12906
12906
  })
12907
12907
  ], -1))
12908
12908
  ])
12909
- ], 2)) : H("", !0)
12909
+ ], 2)) : W("", !0)
12910
12910
  ], 2));
12911
12911
  }
12912
12912
  }), km = { class: "absolute inset-0" }, $m = /* @__PURE__ */ Z({
@@ -12926,7 +12926,7 @@ const Lm = _(
12926
12926
  ])
12927
12927
  ], 6));
12928
12928
  }
12929
- }), jm = "relative w-full overflow-hidden", Wm = "absolute inset-0", Mm = $m, Tm = {
12929
+ }), jm = "relative w-full overflow-hidden", Hm = "absolute inset-0", Mm = $m, Tm = {
12930
12930
  OButton: Jt,
12931
12931
  OBadge: yn,
12932
12932
  OChip: Ra,
@@ -12939,7 +12939,7 @@ const Lm = _(
12939
12939
  ODrawer: jo,
12940
12940
  OTabs: Zo,
12941
12941
  ODropdown: Cl,
12942
- OToastProvider: Hl,
12942
+ OToastProvider: Wl,
12943
12943
  OCheckbox: qt,
12944
12944
  OSwitch: oi,
12945
12945
  ORadio: mi,
@@ -12964,7 +12964,7 @@ const Lm = _(
12964
12964
  OColorPicker: Mr,
12965
12965
  ODateField: Sr,
12966
12966
  OTimeField: Dr,
12967
- ODatePicker: Wr,
12967
+ ODatePicker: Hr,
12968
12968
  ODateRangePicker: eu,
12969
12969
  ODisclosure: mu,
12970
12970
  ODisclosureGroup: hu,
@@ -12996,7 +12996,7 @@ const Lm = _(
12996
12996
  OConfetti: uv,
12997
12997
  OCommandPalette: Mv,
12998
12998
  OCarousel: Av,
12999
- OStepper: Hv,
12999
+ OStepper: Wv,
13000
13000
  OFileUpload: tm,
13001
13001
  OTreeView: um,
13002
13002
  OBentoGrid: vm,
@@ -13012,7 +13012,7 @@ function Cm(t, a = {}) {
13012
13012
  t.component(i, n);
13013
13013
  }
13014
13014
  }
13015
- const Hm = { install: Cm };
13015
+ const Wm = { install: Cm };
13016
13016
  function Km(t = {}) {
13017
13017
  const { prefix: a = "O" } = t;
13018
13018
  return {
@@ -13059,7 +13059,7 @@ export {
13059
13059
  uv as OConfetti,
13060
13060
  Gf as OContextMenu,
13061
13061
  Sr as ODateField,
13062
- Wr as ODatePicker,
13062
+ Hr as ODatePicker,
13063
13063
  eu as ODateRangePicker,
13064
13064
  Vo as ODialog,
13065
13065
  mu as ODisclosure,
@@ -13095,7 +13095,7 @@ export {
13095
13095
  Yt as OSkeleton,
13096
13096
  Gd as OSlider,
13097
13097
  Yi as OSpinner,
13098
- Hv as OStepper,
13098
+ Wv as OStepper,
13099
13099
  oi as OSwitch,
13100
13100
  Pd as OTable,
13101
13101
  Zo as OTabs,
@@ -13103,12 +13103,12 @@ export {
13103
13103
  Vi as OTextarea,
13104
13104
  Dr as OTimeField,
13105
13105
  _c as OTimeline,
13106
- Hl as OToastProvider,
13106
+ Wl as OToastProvider,
13107
13107
  eo as OTooltip,
13108
13108
  um as OTreeView,
13109
13109
  lv as OTypewriter,
13110
13110
  Km as OusiResolver,
13111
- Hm as OusiUIPlugin,
13111
+ Wm as OusiUIPlugin,
13112
13112
  Zi as alertContentTheme,
13113
13113
  Gi as alertDescriptionTheme,
13114
13114
  Ni as alertIndicatorTheme,
@@ -13118,7 +13118,7 @@ export {
13118
13118
  pf as animatedNumberPrefixTheme,
13119
13119
  gf as animatedNumberSuffixTheme,
13120
13120
  hf as animatedNumberTheme,
13121
- Wm as aspectRatioInnerTheme,
13121
+ Hm as aspectRatioInnerTheme,
13122
13122
  jm as aspectRatioTheme,
13123
13123
  ls as autocompleteEmptyTheme,
13124
13124
  ts as autocompleteInputTheme,
@@ -13144,8 +13144,8 @@ export {
13144
13144
  Ua as calendarHeadingTheme,
13145
13145
  St as calendarNavButtonTheme,
13146
13146
  qa as calendarTheme,
13147
- Hn as cardContentTheme,
13148
- Wn as cardDescriptionTheme,
13147
+ Wn as cardContentTheme,
13148
+ Hn as cardDescriptionTheme,
13149
13149
  Kn as cardFooterTheme,
13150
13150
  Fn as cardHeaderTheme,
13151
13151
  Pn as cardTheme,
@@ -13204,7 +13204,7 @@ export {
13204
13204
  Ur as dateRangePickerPopoverTheme,
13205
13205
  qr as dateRangePickerSeparatorTheme,
13206
13206
  Kr as dateRangePickerTriggerTheme,
13207
- Hr as dateRangePickerWrapperTheme,
13207
+ Wr as dateRangePickerWrapperTheme,
13208
13208
  po as dialogBackdropTheme,
13209
13209
  wo as dialogBodyTheme,
13210
13210
  go as dialogContainerTheme,
@@ -13239,8 +13239,8 @@ export {
13239
13239
  Uv as fileUploadInlineTheme,
13240
13240
  Yv as fileUploadTextTheme,
13241
13241
  iv as gradientTextTheme,
13242
- Wc as imageCompareDividerTheme,
13243
- Hc as imageCompareHandleTheme,
13242
+ Hc as imageCompareDividerTheme,
13243
+ Wc as imageCompareHandleTheme,
13244
13244
  Ta as imageCompareImageTheme,
13245
13245
  Ca as imageCompareLabelTheme,
13246
13246
  jc as imageCompareTheme,
@@ -13266,7 +13266,7 @@ export {
13266
13266
  lo as menuItemTheme,
13267
13267
  Fu as meterFillTheme,
13268
13268
  ju as meterLabelTheme,
13269
- Wu as meterOutputTheme,
13269
+ Hu as meterOutputTheme,
13270
13270
  Eu as meterTheme,
13271
13271
  Pu as meterTrackTheme,
13272
13272
  Nu as numberFieldDecrementTheme,
@@ -13310,13 +13310,13 @@ export {
13310
13310
  Ei as separatorContentTheme,
13311
13311
  ra as separatorLineTheme,
13312
13312
  Li as separatorTheme,
13313
- Wi as skeletonBaseTheme,
13314
- Hd as sliderFillTheme,
13313
+ Hi as skeletonBaseTheme,
13314
+ Wd as sliderFillTheme,
13315
13315
  Kd as sliderLabelTheme,
13316
13316
  qd as sliderOutputTheme,
13317
13317
  Fd as sliderTheme,
13318
13318
  fa as sliderThumbTheme,
13319
- Wd as sliderTrackBarTheme,
13319
+ Hd as sliderTrackBarTheme,
13320
13320
  jd as sliderTrackWrapperTheme,
13321
13321
  Ki as spinnerTheme,
13322
13322
  Lv as stepperCircleTheme,
@@ -13342,8 +13342,8 @@ export {
13342
13342
  hd as tableRootTheme,
13343
13343
  kd as tableRowTheme,
13344
13344
  pd as tableScrollContainerTheme,
13345
- Ho as tabsListTheme,
13346
- Wo as tabsWrapperTheme,
13345
+ Wo as tabsListTheme,
13346
+ Ho as tabsWrapperTheme,
13347
13347
  If as tagInputGroupTheme,
13348
13348
  Lf as tagInputInputTheme,
13349
13349
  Rf as tagInputLabelTheme,