@blakesteve/roster 4.4.0 → 4.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/roster.es.js CHANGED
@@ -1,9 +1,9 @@
1
1
  "use client";
2
- import { o as I, Y as Q, K as J, p as zt, m as Ea, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as hr, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-CJZFk__H.js";
3
- import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-CJZFk__H.js";
2
+ import { o as I, Y as Q, K as J, p as zt, m as Ea, n as oe, q as ot, r as ct, $ as ve, s as xe, w as tr, V as It, t as jt, u as pe, v as ht, x as ye, y as Kt, z as me, A as ge, C as Os, D as Cs, E as At, G as Mi, H as de, I as Li, J as _i, L as Z, j as f, F as mt, M as Vi, N as Na, O as Pa, P as xn, Q as Bi, R as Hi, B as Ut, S as zi, U as ps, W as hr, X as Oa, Z as Wi, _ as Ui, a0 as Ge, a1 as Yi, a2 as Gi, a3 as Ki, a4 as qi } from "./Table-DdLQnzNl.js";
3
+ import { a5 as eg, T as rg, e as sg, a6 as ng, g as ag, a7 as og, c as ig, a as lg, b as cg, a8 as ug, a9 as dg, aa as fg, ab as pg, ac as mg, ad as gg, ae as hg } from "./Table-DdLQnzNl.js";
4
4
  import * as y from "react";
5
5
  import S, { useState as X, useRef as V, isValidElement as Ca, useEffect as st, useContext as at, createContext as pt, useMemo as ft, useId as dt, useCallback as tt, useSyncExternalStore as Ta, useLayoutEffect as ja, cloneElement as Xi, Fragment as xt, useReducer as Qi, createRef as Zi, forwardRef as Ra } from "react";
6
- import { c as T } from "./utils-hNxf9HpA.js";
6
+ import { c as C } from "./utils-hNxf9HpA.js";
7
7
  import * as Ke from "react-dom";
8
8
  import Ji, { flushSync as he, createPortal as $a } from "react-dom";
9
9
  function Ts(t, e, r) {
@@ -226,8 +226,8 @@ function hl(t, e) {
226
226
  }
227
227
  let bl = Q(hl), De = Object.assign(bl, {}), vl = "span";
228
228
  function xl(t, e) {
229
- let r = dt(), s = Ie(), n = oe(), { id: a = s || `headlessui-checkbox-${r}`, disabled: o = n || !1, autoFocus: i = !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, indeterminate: g = !1, tabIndex: h = 0, ...b } = t, v = js(c), [w, x] = Ts(l, u, v ?? !1), k = Ae(), E = er(), C = zt(), [P, M] = X(!1), z = I(() => {
230
- M(!0), x?.(!w), C.nextFrame(() => {
229
+ let r = dt(), s = Ie(), n = oe(), { id: a = s || `headlessui-checkbox-${r}`, disabled: o = n || !1, autoFocus: i = !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, indeterminate: g = !1, tabIndex: h = 0, ...b } = t, v = js(c), [w, x] = Ts(l, u, v ?? !1), k = Ae(), E = er(), T = zt(), [P, M] = X(!1), z = I(() => {
230
+ M(!0), x?.(!w), T.nextFrame(() => {
231
231
  M(!1);
232
232
  });
233
233
  }), N = I((A) => {
@@ -407,15 +407,15 @@ function Rl() {
407
407
  function b(E) {
408
408
  if (!v) {
409
409
  if (v = !0, w = E, E = p(E), m !== void 0 && g.hasValue) {
410
- var C = g.value;
411
- if (m(C, E))
412
- return x = C;
410
+ var T = g.value;
411
+ if (m(T, E))
412
+ return x = T;
413
413
  }
414
414
  return x = E;
415
415
  }
416
- if (C = x, r(w, E)) return C;
416
+ if (T = x, r(w, E)) return T;
417
417
  var P = p(E);
418
- return m !== void 0 && m(C, P) ? (w = E, C) : (w = E, x = P);
418
+ return m !== void 0 && m(T, P) ? (w = E, T) : (w = E, x = P);
419
419
  }
420
420
  var v = !1, w, x, k = u === void 0 ? null : u;
421
421
  return [
@@ -458,16 +458,16 @@ function $l() {
458
458
  function b(E) {
459
459
  if (!v) {
460
460
  if (v = !0, w = E, E = p(E), m !== void 0 && g.hasValue) {
461
- var C = g.value;
462
- if (m(C, E))
463
- return x = C;
461
+ var T = g.value;
462
+ if (m(T, E))
463
+ return x = T;
464
464
  }
465
465
  return x = E;
466
466
  }
467
- if (C = x, r(w, E))
468
- return C;
467
+ if (T = x, r(w, E))
468
+ return T;
469
469
  var P = p(E);
470
- return m !== void 0 && m(C, P) ? (w = E, C) : (w = E, x = P);
470
+ return m !== void 0 && m(T, P) ? (w = E, T) : (w = E, x = P);
471
471
  }
472
472
  var v = !1, w, x, k = u === void 0 ? null : u;
473
473
  return [
@@ -1316,7 +1316,7 @@ const Pc = async (t, e, r) => {
1316
1316
  x,
1317
1317
  y: k,
1318
1318
  data: E,
1319
- reset: C
1319
+ reset: T
1320
1320
  } = await w({
1321
1321
  x: u,
1322
1322
  y: p,
@@ -1340,11 +1340,11 @@ const Pc = async (t, e, r) => {
1340
1340
  ...d[v],
1341
1341
  ...E
1342
1342
  }
1343
- }, C && g <= 50 && (g++, typeof C == "object" && (C.placement && (m = C.placement), C.rects && (c = C.rects === !0 ? await o.getElementRects({
1343
+ }, T && g <= 50 && (g++, typeof T == "object" && (T.placement && (m = T.placement), T.rects && (c = T.rects === !0 ? await o.getElementRects({
1344
1344
  reference: t,
1345
1345
  floating: e,
1346
1346
  strategy: n
1347
- }) : C.rects), {
1347
+ }) : T.rects), {
1348
1348
  x: u,
1349
1349
  y: p
1350
1350
  } = _n(c, m, l)), b = -1);
@@ -1377,9 +1377,9 @@ const Pc = async (t, e, r) => {
1377
1377
  const p = no(u), m = {
1378
1378
  x: r,
1379
1379
  y: s
1380
- }, d = Us(n), g = Ws(d), h = await o.getDimensions(c), b = d === "y", v = b ? "top" : "left", w = b ? "bottom" : "right", x = b ? "clientHeight" : "clientWidth", k = a.reference[g] + a.reference[d] - m[d] - a.floating[g], E = m[d] - a.reference[d], C = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
1381
- let P = C ? C[x] : 0;
1382
- (!P || !await (o.isElement == null ? void 0 : o.isElement(C))) && (P = i.floating[x] || a.floating[g]);
1380
+ }, d = Us(n), g = Ws(d), h = await o.getDimensions(c), b = d === "y", v = b ? "top" : "left", w = b ? "bottom" : "right", x = b ? "clientHeight" : "clientWidth", k = a.reference[g] + a.reference[d] - m[d] - a.floating[g], E = m[d] - a.reference[d], T = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
1381
+ let P = T ? T[x] : 0;
1382
+ (!P || !await (o.isElement == null ? void 0 : o.isElement(T))) && (P = i.floating[x] || a.floating[g]);
1383
1383
  const M = k / 2 - E / 2, z = P / 2 - h[g] / 2 - 1, N = Qt(p[v], z), $ = Qt(p[w], z), L = N, _ = P - h[g] - $, R = P / 2 - h[g] / 2 + M, D = bs(L, R, _), F = !l.arrow && Me(n) != null && R !== D && a.reference[g] / 2 - (R < L ? N : $) - h[g] / 2 < 0, U = F ? R < L ? R - L : R - _ : 0;
1384
1384
  return {
1385
1385
  [d]: m[d] + U,
@@ -1417,8 +1417,8 @@ const Pc = async (t, e, r) => {
1417
1417
  } = Ht(t, e);
1418
1418
  if ((r = a.arrow) != null && r.alignmentOffset)
1419
1419
  return {};
1420
- const v = Zt(n), w = Mt(i), x = Zt(i) === i, k = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = m || (x || !h ? [Er(i)] : yc(i)), C = g !== "none";
1421
- !m && C && E.push(...Ec(i, h, g, k));
1420
+ const v = Zt(n), w = Mt(i), x = Zt(i) === i, k = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), E = m || (x || !h ? [Er(i)] : yc(i)), T = g !== "none";
1421
+ !m && T && E.push(...Ec(i, h, g, k));
1422
1422
  const P = [i, ...E], M = await l.detectOverflow(e, b), z = [];
1423
1423
  let N = ((s = a.flip) == null ? void 0 : s.overflows) || [];
1424
1424
  if (u && z.push(M[v]), p) {
@@ -1449,7 +1449,7 @@ const Pc = async (t, e, r) => {
1449
1449
  case "bestFit": {
1450
1450
  var _;
1451
1451
  const U = (_ = N.filter((O) => {
1452
- if (C) {
1452
+ if (T) {
1453
1453
  const j = Mt(O.placement);
1454
1454
  return j === w || // Create a bias to the `y` side axis due to horizontal
1455
1455
  // reading directions favoring greater width.
@@ -1668,8 +1668,8 @@ const Rc = function(t) {
1668
1668
  }
1669
1669
  if (c) {
1670
1670
  var v, w;
1671
- const x = m === "y" ? "width" : "height", k = oo.has(Zt(n)), E = a.reference[p] - a.floating[x] + (k && ((v = o.offset) == null ? void 0 : v[p]) || 0) + (k ? 0 : b.crossAxis), C = a.reference[p] + a.reference[x] + (k ? 0 : ((w = o.offset) == null ? void 0 : w[p]) || 0) - (k ? b.crossAxis : 0);
1672
- g < E ? g = E : g > C && (g = C);
1671
+ const x = m === "y" ? "width" : "height", k = oo.has(Zt(n)), E = a.reference[p] - a.floating[x] + (k && ((v = o.offset) == null ? void 0 : v[p]) || 0) + (k ? 0 : b.crossAxis), T = a.reference[p] + a.reference[x] + (k ? 0 : ((w = o.offset) == null ? void 0 : w[p]) || 0) - (k ? b.crossAxis : 0);
1672
+ g < E ? g = E : g > T && (g = T);
1673
1673
  }
1674
1674
  return {
1675
1675
  [m]: d,
@@ -1698,9 +1698,9 @@ const Rc = function(t) {
1698
1698
  } = a.floating;
1699
1699
  let b, v;
1700
1700
  p === "top" || p === "bottom" ? (b = p, v = m === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = p, b = m === "end" ? "top" : "bottom");
1701
- const w = h - u.top - u.bottom, x = g - u.left - u.right, k = Qt(h - u[b], w), E = Qt(g - u[v], x), C = !e.middlewareData.shift;
1701
+ const w = h - u.top - u.bottom, x = g - u.left - u.right, k = Qt(h - u[b], w), E = Qt(g - u[v], x), T = !e.middlewareData.shift;
1702
1702
  let P = k, M = E;
1703
- if ((r = e.middlewareData.shift) != null && r.enabled.x && (M = x), (s = e.middlewareData.shift) != null && s.enabled.y && (P = w), C && !m) {
1703
+ if ((r = e.middlewareData.shift) != null && r.enabled.x && (M = x), (s = e.middlewareData.shift) != null && s.enabled.y && (P = w), T && !m) {
1704
1704
  const N = St(u.left, 0), $ = St(u.right, 0), L = St(u.top, 0), _ = St(u.bottom, 0);
1705
1705
  d ? M = g - 2 * (N !== 0 || $ !== 0 ? N + $ : St(u.left, u.right)) : P = h - 2 * (L !== 0 || _ !== 0 ? L + _ : St(u.top, u.bottom));
1706
1706
  }
@@ -2031,8 +2031,8 @@ function Xc(t, e) {
2031
2031
  threshold: St(0, Qt(1, l)) || 1
2032
2032
  };
2033
2033
  let k = !0;
2034
- function E(C) {
2035
- const P = C[0].intersectionRatio;
2034
+ function E(T) {
2035
+ const P = T[0].intersectionRatio;
2036
2036
  if (P !== l) {
2037
2037
  if (!k)
2038
2038
  return o();
@@ -2173,18 +2173,18 @@ function ho(t) {
2173
2173
  }), [m, d] = y.useState(s);
2174
2174
  Pr(m, s) || d(s);
2175
2175
  const [g, h] = y.useState(null), [b, v] = y.useState(null), w = y.useCallback((O) => {
2176
- O !== C.current && (C.current = O, h(O));
2176
+ O !== T.current && (T.current = O, h(O));
2177
2177
  }, []), x = y.useCallback((O) => {
2178
2178
  O !== P.current && (P.current = O, v(O));
2179
- }, []), k = a || g, E = o || b, C = y.useRef(null), P = y.useRef(null), M = y.useRef(u), z = l != null, N = us(l), $ = us(n), L = us(c), _ = y.useCallback(() => {
2180
- if (!C.current || !P.current)
2179
+ }, []), k = a || g, E = o || b, T = y.useRef(null), P = y.useRef(null), M = y.useRef(u), z = l != null, N = us(l), $ = us(n), L = us(c), _ = y.useCallback(() => {
2180
+ if (!T.current || !P.current)
2181
2181
  return;
2182
2182
  const O = {
2183
2183
  placement: e,
2184
2184
  strategy: r,
2185
2185
  middleware: m
2186
2186
  };
2187
- $.current && (O.platform = $.current), su(C.current, P.current, O).then((j) => {
2187
+ $.current && (O.platform = $.current), su(T.current, P.current, O).then((j) => {
2188
2188
  const H = {
2189
2189
  ...j,
2190
2190
  // The floating element's position may be recomputed while it's closed
@@ -2208,14 +2208,14 @@ function ho(t) {
2208
2208
  wr(() => (R.current = !0, () => {
2209
2209
  R.current = !1;
2210
2210
  }), []), wr(() => {
2211
- if (k && (C.current = k), E && (P.current = E), k && E) {
2211
+ if (k && (T.current = k), E && (P.current = E), k && E) {
2212
2212
  if (N.current)
2213
2213
  return N.current(k, E, _);
2214
2214
  _();
2215
2215
  }
2216
2216
  }, [k, E, _, N, z]);
2217
2217
  const D = y.useMemo(() => ({
2218
- reference: C,
2218
+ reference: T,
2219
2219
  floating: P,
2220
2220
  setReference: w,
2221
2221
  setFloating: x
@@ -2558,8 +2558,8 @@ const Ou = (t) => ({
2558
2558
  }, k = await cs(Qn(x, g.scrollHeight + h + m.clientTop), u), E = await cs(x, {
2559
2559
  ...u,
2560
2560
  elementContext: "reference"
2561
- }), C = St(0, k.top), P = x.y + C, N = (g.scrollHeight > g.clientHeight ? ($) => $ : Xe)(St(0, g.scrollHeight + (b && w || v ? h * 2 : 0) - C - St(0, k.bottom)));
2562
- if (g.style.maxHeight = N + "px", g.scrollTop = C, n) {
2561
+ }), T = St(0, k.top), P = x.y + T, N = (g.scrollHeight > g.clientHeight ? ($) => $ : Xe)(St(0, g.scrollHeight + (b && w || v ? h * 2 : 0) - T - St(0, k.bottom)));
2562
+ if (g.style.maxHeight = N + "px", g.scrollTop = T, n) {
2563
2563
  const $ = g.offsetHeight < d.offsetHeight * Qt(i, r.current.length) - 1 || E.top >= -l || E.bottom >= -l;
2564
2564
  Ke.flushSync(() => n($));
2565
2565
  }
@@ -2588,7 +2588,7 @@ function Cu(t, e) {
2588
2588
  return;
2589
2589
  const b = h.deltaY, v = a.current.top >= -0.5, w = a.current.bottom >= -0.5, x = g.scrollHeight - g.clientHeight, k = b < 0 ? -1 : 1, E = b < 0 ? "max" : "min";
2590
2590
  g.scrollHeight <= g.clientHeight || (!v && b > 0 || !w && b < 0 ? (h.preventDefault(), Ke.flushSync(() => {
2591
- l((C) => C + Math[E](b, x * k));
2591
+ l((T) => T + Math[E](b, x * k));
2592
2592
  })) : /firefox/i.test(mc()) && (g.scrollTop += b));
2593
2593
  }
2594
2594
  const g = o?.current || s.floating;
@@ -2689,10 +2689,10 @@ function Js({ children: t, enabled: e = !0 }) {
2689
2689
  Object.assign(_.floating.style, { overflow: "auto", maxWidth: `${$}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${L}px)` });
2690
2690
  } })].filter(Boolean), whileElementsMounted: mo }), [k = h, E = b] = x.placement.split("-");
2691
2691
  h === "selection" && (k = "selection");
2692
- let C = ft(() => ({ anchor: [k, E].filter(Boolean).join(" ") }), [k, E]), P = Cu(x, { overflowRef: o, onChange: a }), { getReferenceProps: M, getFloatingProps: z } = Pu([P]), N = I(($) => {
2692
+ let T = ft(() => ({ anchor: [k, E].filter(Boolean).join(" ") }), [k, E]), P = Cu(x, { overflowRef: o, onChange: a }), { getReferenceProps: M, getFloatingProps: z } = Pu([P]), N = I(($) => {
2693
2693
  l($), v.setFloating($);
2694
2694
  });
2695
- return y.createElement(Ks.Provider, { value: s }, y.createElement(Le.Provider, { value: { setFloating: N, setReference: v.setReference, styles: w, getReferenceProps: M, getFloatingProps: z, slot: C } }, t));
2695
+ return y.createElement(Ks.Provider, { value: s }, y.createElement(Le.Provider, { value: { setFloating: N, setReference: v.setReference, styles: w, getReferenceProps: M, getFloatingProps: z, slot: T } }, t));
2696
2696
  }
2697
2697
  function Tu(t) {
2698
2698
  ot(() => {
@@ -3145,16 +3145,16 @@ function Mo(t, e) {
3145
3145
  let Lo = xt, _o = At.RenderStrategy;
3146
3146
  function ed(t, e) {
3147
3147
  var r, s;
3148
- let { transition: n = !0, beforeEnter: a, afterEnter: o, beforeLeave: i, afterLeave: l, enter: c, enterFrom: u, enterTo: p, entered: m, leave: d, leaveFrom: g, leaveTo: h, ...b } = t, [v, w] = X(null), x = V(null), k = Fo(t), E = lt(...k ? [x, e, w] : e === null ? [] : [e]), C = (r = b.unmount) == null || r ? de.Unmount : de.Hidden, { show: P, appear: M, initial: z } = Ju(), [N, $] = X(P ? "visible" : "hidden"), L = td(), { register: _, unregister: R } = L;
3148
+ let { transition: n = !0, beforeEnter: a, afterEnter: o, beforeLeave: i, afterLeave: l, enter: c, enterFrom: u, enterTo: p, entered: m, leave: d, leaveFrom: g, leaveTo: h, ...b } = t, [v, w] = X(null), x = V(null), k = Fo(t), E = lt(...k ? [x, e, w] : e === null ? [] : [e]), T = (r = b.unmount) == null || r ? de.Unmount : de.Hidden, { show: P, appear: M, initial: z } = Ju(), [N, $] = X(P ? "visible" : "hidden"), L = td(), { register: _, unregister: R } = L;
3149
3149
  ot(() => _(x), [_, x]), ot(() => {
3150
- if (C === de.Hidden && x.current) {
3150
+ if (T === de.Hidden && x.current) {
3151
3151
  if (P && N !== "visible") {
3152
3152
  $("visible");
3153
3153
  return;
3154
3154
  }
3155
3155
  return ht(N, { hidden: () => R(x), visible: () => _(x) });
3156
3156
  }
3157
- }, [N, x, _, R, P, C]);
3157
+ }, [N, x, _, R, P, T]);
3158
3158
  let D = Yr();
3159
3159
  ot(() => {
3160
3160
  if (k && D && N === "visible" && x.current === null) throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?");
@@ -3233,11 +3233,11 @@ let ea = Q(function(t, e) {
3233
3233
  })();
3234
3234
  let d = ie();
3235
3235
  n === void 0 && d !== null && (n = (d & ut.Open) === ut.Open);
3236
- let g = V(null), h = lt(g, e), b = Xt(g.current), v = n ? 0 : 1, [w, x] = Qi(id, { titleId: null, descriptionId: null, panelRef: Zi() }), k = I(() => a(!1)), E = I((A) => x({ type: 0, id: A })), C = Yr() ? v === 0 : !1, [P, M] = To(), z = { get current() {
3236
+ let g = V(null), h = lt(g, e), b = Xt(g.current), v = n ? 0 : 1, [w, x] = Qi(id, { titleId: null, descriptionId: null, panelRef: Zi() }), k = I(() => a(!1)), E = I((A) => x({ type: 0, id: A })), T = Yr() ? v === 0 : !1, [P, M] = To(), z = { get current() {
3237
3237
  var A;
3238
3238
  return (A = w.panelRef.current) != null ? A : g.current;
3239
3239
  } }, N = en(), { resolveContainers: $ } = $o({ mainTreeNode: N, portals: P, defaultContainers: [z] }), L = d !== null ? (d & ut.Closing) === ut.Closing : !1;
3240
- Ms(c || L ? !1 : C, { allowed: I(() => {
3240
+ Ms(c || L ? !1 : T, { allowed: I(() => {
3241
3241
  var A, W;
3242
3242
  return [(W = (A = g.current) == null ? void 0 : A.closest("[data-headlessui-portal]")) != null ? W : null];
3243
3243
  }), disallowed: I(() => {
@@ -3246,16 +3246,16 @@ let ea = Q(function(t, e) {
3246
3246
  }) });
3247
3247
  let _ = we.get(null);
3248
3248
  ot(() => {
3249
- if (C) return _.actions.push(s), () => _.actions.pop(s);
3250
- }, [_, s, C]);
3249
+ if (T) return _.actions.push(s), () => _.actions.pop(s);
3250
+ }, [_, s, T]);
3251
3251
  let R = rt(_, tt((A) => _.selectors.isTop(A, s), [_, s]));
3252
3252
  Fr(R, $, (A) => {
3253
3253
  A.preventDefault(), k();
3254
3254
  }), Bu(R, b?.defaultView, (A) => {
3255
3255
  A.preventDefault(), A.stopPropagation(), document.activeElement && "blur" in document.activeElement && typeof document.activeElement.blur == "function" && document.activeElement.blur(), k();
3256
- }), Lr(c || L ? !1 : C, b, $), Dr(C, g, k);
3256
+ }), Lr(c || L ? !1 : T, b, $), Dr(T, g, k);
3257
3257
  let [D, F] = $r(), U = ft(() => [{ dialogState: v, close: k, setTitleId: E, unmount: u }, w], [v, k, E, u, w]), O = ct({ open: v === 0 }), j = { ref: h, id: s, role: i, tabIndex: -1, "aria-modal": c ? void 0 : v === 0 ? !0 : void 0, "aria-labelledby": w.titleId, "aria-describedby": D, unmount: u }, H = !Hu(), nt = ue.None;
3258
- C && !c && (nt |= ue.RestoreFocus, nt |= ue.TabLock, l && (nt |= ue.AutoFocus), H && (nt |= ue.InitialFocus));
3258
+ T && !c && (nt |= ue.RestoreFocus, nt |= ue.TabLock, l && (nt |= ue.AutoFocus), H && (nt |= ue.InitialFocus));
3259
3259
  let et = J();
3260
3260
  return S.createElement(No, null, S.createElement(ta, { force: !0 }, S.createElement(Ur, null, S.createElement(nn.Provider, { value: U }, S.createElement(jo, { target: g }, S.createElement(ta, { force: !1 }, S.createElement(F, { slot: O }, S.createElement(M, null, S.createElement(Gu, { initialFocus: o, initialFocusFallback: g, containers: $, features: nt }, S.createElement(As, { value: k }, et({ ourProps: j, theirProps: p, slot: O, defaultTag: ld, features: cd, visible: v === 0, name: "Dialog" })))))))))));
3261
3261
  }), ld = "div", cd = At.RenderStrategy | At.Static;
@@ -3519,7 +3519,7 @@ let jd = xt;
3519
3519
  function Rd(t, e) {
3520
3520
  let r = dt(), s = oe(), { value: n, defaultValue: a, form: o, name: i, onChange: l, by: c, invalid: u = !1, disabled: p = s || !1, horizontal: m = !1, multiple: d = !1, __demoMode: g = !1, ...h } = t;
3521
3521
  const b = m ? "horizontal" : "vertical";
3522
- let v = lt(e), w = js(a), [x = d ? [] : void 0, k] = Ts(n, l, w), E = Go({ id: r, __demoMode: g }), C = V({ static: !1, hold: !1 }), P = V(/* @__PURE__ */ new Map()), M = Sl(c), z = tt((et) => ht(N.mode, { [re.Multi]: () => x.some((A) => M(A, et)), [re.Single]: () => M(x, et) }), [x]), N = ct({ value: x, disabled: p, invalid: u, mode: d ? re.Multi : re.Single, orientation: b, onChange: k, compare: M, isSelected: z, optionsPropsRef: C, listRef: P });
3522
+ let v = lt(e), w = js(a), [x = d ? [] : void 0, k] = Ts(n, l, w), E = Go({ id: r, __demoMode: g }), T = V({ static: !1, hold: !1 }), P = V(/* @__PURE__ */ new Map()), M = Sl(c), z = tt((et) => ht(N.mode, { [re.Multi]: () => x.some((A) => M(A, et)), [re.Single]: () => M(x, et) }), [x]), N = ct({ value: x, disabled: p, invalid: u, mode: d ? re.Multi : re.Single, orientation: b, onChange: k, compare: M, isSelected: z, optionsPropsRef: T, listRef: P });
3523
3523
  ot(() => {
3524
3524
  E.state.dataRef.current = N;
3525
3525
  }, [N]);
@@ -3558,14 +3558,14 @@ function Id(t, e) {
3558
3558
  }), w = Ua((D) => {
3559
3559
  var F;
3560
3560
  a.state.listboxState === Et.Open ? (he(() => a.actions.closeListbox()), (F = a.state.buttonElement) == null || F.focus({ preventScroll: !0 })) : (D.preventDefault(), a.actions.openListbox({ focus: K.Nothing }));
3561
- }), x = I((D) => D.preventDefault()), k = Ae([o]), E = er(), { isFocusVisible: C, focusProps: P } = ve({ autoFocus: l }), { isHovered: M, hoverProps: z } = xe({ isDisabled: i }), { pressed: N, pressProps: $ } = tr({ disabled: i }), L = ct({ open: m === Et.Open, active: N || m === Et.Open, disabled: i, invalid: n.invalid, value: n.value, hover: M, focus: C, autofocus: l }), _ = rt(a, (D) => D.listboxState === Et.Open), R = It(p(), { ref: u, id: o, type: Mr(t, d), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": _, "aria-labelledby": k, "aria-describedby": E, disabled: i || void 0, autoFocus: l, onKeyDown: b, onKeyUp: v, onKeyPress: x }, w, P, z, $);
3561
+ }), x = I((D) => D.preventDefault()), k = Ae([o]), E = er(), { isFocusVisible: T, focusProps: P } = ve({ autoFocus: l }), { isHovered: M, hoverProps: z } = xe({ isDisabled: i }), { pressed: N, pressProps: $ } = tr({ disabled: i }), L = ct({ open: m === Et.Open, active: N || m === Et.Open, disabled: i, invalid: n.invalid, value: n.value, hover: M, focus: T, autofocus: l }), _ = rt(a, (D) => D.listboxState === Et.Open), R = It(p(), { ref: u, id: o, type: Mr(t, d), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": _, "aria-labelledby": k, "aria-describedby": E, disabled: i || void 0, autoFocus: l, onKeyDown: b, onKeyUp: v, onKeyPress: x }, w, P, z, $);
3562
3562
  return J()({ ourProps: R, theirProps: c, slot: L, defaultTag: $d, name: "Listbox.Button" });
3563
3563
  }
3564
3564
  let Ko = pt(!1), Ad = "div", Dd = At.RenderStrategy | At.Static;
3565
3565
  function Fd(t, e) {
3566
3566
  let r = dt(), { id: s = `headlessui-listbox-options-${r}`, anchor: n, portal: a = !1, modal: o = !0, transition: i = !1, ...l } = t, c = qs(n), [u, p] = X(null);
3567
3567
  c && (a = !0);
3568
- let m = fr("Listbox.Options"), d = an("Listbox.Options"), [g, h, b, v] = rt(d, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), w = Xt(h), x = Xt(b), k = ie(), [E, C] = cr(i, u, k !== null ? (k & ut.Open) === ut.Open : g === Et.Open);
3568
+ let m = fr("Listbox.Options"), d = an("Listbox.Options"), [g, h, b, v] = rt(d, (B) => [B.listboxState, B.buttonElement, B.optionsElement, B.__demoMode]), w = Xt(h), x = Xt(b), k = ie(), [E, T] = cr(i, u, k !== null ? (k & ut.Open) === ut.Open : g === Et.Open);
3569
3569
  Dr(E, h, d.actions.closeListbox);
3570
3570
  let P = v ? !1 : o && g === Et.Open;
3571
3571
  Lr(P, x);
@@ -3617,7 +3617,7 @@ function Fd(t, e) {
3617
3617
  }), nt = rt(d, (B) => {
3618
3618
  var q;
3619
3619
  return (q = B.buttonElement) == null ? void 0 : q.id;
3620
- }), et = ct({ open: g === Et.Open }), A = It(c ? U() : {}, { id: s, ref: O, "aria-activedescendant": rt(d, d.selectors.activeDescendantId), "aria-multiselectable": m.mode === re.Multi ? !0 : void 0, "aria-labelledby": nt, "aria-orientation": m.orientation, onKeyDown: H, role: "listbox", tabIndex: g === Et.Open ? 0 : void 0, style: { ...l.style, ...F, "--button-width": Ds(E, h, !0).width }, ...lr(C) }), W = J(), G = ft(() => m.mode === re.Multi ? m : { ...m, isSelected: L }, [m, L]);
3620
+ }), et = ct({ open: g === Et.Open }), A = It(c ? U() : {}, { id: s, ref: O, "aria-activedescendant": rt(d, d.selectors.activeDescendantId), "aria-multiselectable": m.mode === re.Multi ? !0 : void 0, "aria-labelledby": nt, "aria-orientation": m.orientation, onKeyDown: H, role: "listbox", tabIndex: g === Et.Open ? 0 : void 0, style: { ...l.style, ...F, "--button-width": Ds(E, h, !0).width }, ...lr(T) }), W = J(), G = ft(() => m.mode === re.Multi ? m : { ...m, isSelected: L }, [m, L]);
3621
3621
  return S.createElement(Ur, { enabled: a ? t.static || E : !1, ownerDocument: w }, S.createElement(Zr.Provider, { value: G }, W({ ourProps: A, theirProps: l, slot: et, defaultTag: Ad, features: Dd, visible: z, name: "Listbox.Options" })));
3622
3622
  }
3623
3623
  let Md = "div";
@@ -3643,9 +3643,9 @@ function Ld(t, e) {
3643
3643
  c.actions.goToOption({ focus: K.Specific, id: s });
3644
3644
  }), x = eo(), k = I((N) => x.update(N)), E = I((N) => {
3645
3645
  x.wasMoved(N) && (n || u && c.state.activationTrigger === kr.Pointer || c.actions.goToOption({ focus: K.Specific, id: s }, kr.Pointer));
3646
- }), C = I((N) => {
3646
+ }), T = I((N) => {
3647
3647
  x.wasMoved(N) && (n || u && c.state.activationTrigger === kr.Pointer && c.actions.goToOption({ focus: K.Nothing }));
3648
- }), P = ct({ active: u, focus: u, selected: p, disabled: n, selectedOption: p && i }), M = i ? {} : { id: s, ref: h, role: "option", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-selected": p, disabled: void 0, onClick: v, onFocus: w, onPointerEnter: k, onMouseEnter: k, onPointerMove: E, onMouseMove: E, onPointerLeave: C, onMouseLeave: C }, z = J();
3648
+ }), P = ct({ active: u, focus: u, selected: p, disabled: n, selectedOption: p && i }), M = i ? {} : { id: s, ref: h, role: "option", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-selected": p, disabled: void 0, onClick: v, onFocus: w, onPointerEnter: k, onMouseEnter: k, onPointerMove: E, onMouseMove: E, onPointerLeave: T, onMouseLeave: T }, z = J();
3649
3649
  return !p && i ? null : z({ ourProps: M, theirProps: o, slot: P, defaultTag: Md, name: "Listbox.Option" });
3650
3650
  }
3651
3651
  let _d = xt;
@@ -3810,22 +3810,22 @@ function Zd(t, e) {
3810
3810
  let v = Ua((N) => {
3811
3811
  var $;
3812
3812
  a || (d === kt.Open ? (he(() => r.send({ type: it.CloseMenu })), ($ = l.current) == null || $.focus({ preventScroll: !0 })) : (N.preventDefault(), r.send({ type: it.OpenMenu, focus: { focus: K.Nothing }, trigger: Cr.Pointer })));
3813
- }), { isFocusVisible: w, focusProps: x } = ve({ autoFocus: o }), { isHovered: k, hoverProps: E } = xe({ isDisabled: a }), { pressed: C, pressProps: P } = tr({ disabled: a }), M = ct({ open: d === kt.Open, active: C || d === kt.Open, disabled: a, hover: k, focus: w, autofocus: o }), z = It(c(), { ref: u, id: n, type: Mr(t, l.current), "aria-haspopup": "menu", "aria-controls": h?.id, "aria-expanded": d === kt.Open, disabled: a || void 0, autoFocus: o, onKeyDown: p, onKeyUp: m }, v, x, E, P);
3813
+ }), { isFocusVisible: w, focusProps: x } = ve({ autoFocus: o }), { isHovered: k, hoverProps: E } = xe({ isDisabled: a }), { pressed: T, pressProps: P } = tr({ disabled: a }), M = ct({ open: d === kt.Open, active: T || d === kt.Open, disabled: a, hover: k, focus: w, autofocus: o }), z = It(c(), { ref: u, id: n, type: Mr(t, l.current), "aria-haspopup": "menu", "aria-controls": h?.id, "aria-expanded": d === kt.Open, disabled: a || void 0, autoFocus: o, onKeyDown: p, onKeyUp: m }, v, x, E, P);
3814
3814
  return J()({ ourProps: z, theirProps: i, slot: M, defaultTag: Qd, name: "Menu.Button" });
3815
3815
  }
3816
3816
  let Jd = "div", tf = At.RenderStrategy | At.Static;
3817
3817
  function ef(t, e) {
3818
3818
  let r = dt(), { id: s = `headlessui-menu-items-${r}`, anchor: n, portal: a = !1, modal: o = !0, transition: i = !1, ...l } = t, c = qs(n), u = on("Menu.Items"), [p, m] = Zs(c), d = Qs(), [g, h] = X(null), b = lt(e, c ? p : null, I((O) => u.send({ type: it.SetItemsElement, element: O })), h), [v, w] = rt(u, (O) => [O.menuState, O.buttonElement]), x = Xt(w), k = Xt(g);
3819
3819
  c && (a = !0);
3820
- let E = ie(), [C, P] = cr(i, g, E !== null ? (E & ut.Open) === ut.Open : v === kt.Open);
3821
- Dr(C, w, () => {
3820
+ let E = ie(), [T, P] = cr(i, g, E !== null ? (E & ut.Open) === ut.Open : v === kt.Open);
3821
+ Dr(T, w, () => {
3822
3822
  u.send({ type: it.CloseMenu });
3823
3823
  });
3824
3824
  let M = rt(u, (O) => O.__demoMode), z = M ? !1 : o && v === kt.Open;
3825
3825
  Lr(z, k);
3826
3826
  let N = M ? !1 : o && v === kt.Open;
3827
3827
  Ms(N, { allowed: tt(() => [w, g], [w, g]) });
3828
- let $ = rt(u, u.selectors.didButtonMove) ? !1 : C;
3828
+ let $ = rt(u, u.selectors.didButtonMove) ? !1 : T;
3829
3829
  st(() => {
3830
3830
  let O = g;
3831
3831
  O && v === kt.Open && (Cs(O) || O.focus({ preventScroll: !0 }));
@@ -3871,8 +3871,8 @@ function ef(t, e) {
3871
3871
  }), D = ct({ open: v === kt.Open }), F = It(c ? d() : {}, { "aria-activedescendant": rt(u, u.selectors.activeDescendantId), "aria-labelledby": rt(u, (O) => {
3872
3872
  var j;
3873
3873
  return (j = O.buttonElement) == null ? void 0 : j.id;
3874
- }), id: s, onKeyDown: _, onKeyUp: R, role: "menu", tabIndex: v === kt.Open ? 0 : void 0, ref: b, style: { ...l.style, ...m, "--button-width": Ds(C, w, !0).width }, ...lr(P) }), U = J();
3875
- return S.createElement(Ur, { enabled: a ? t.static || C : !1, ownerDocument: x }, U({ ourProps: F, theirProps: l, slot: D, defaultTag: Jd, features: tf, visible: $, name: "Menu.Items" }));
3874
+ }), id: s, onKeyDown: _, onKeyUp: R, role: "menu", tabIndex: v === kt.Open ? 0 : void 0, ref: b, style: { ...l.style, ...m, "--button-width": Ds(T, w, !0).width }, ...lr(P) }), U = J();
3875
+ return S.createElement(Ur, { enabled: a ? t.static || T : !1, ownerDocument: x }, U({ ourProps: F, theirProps: l, slot: D, defaultTag: Jd, features: tf, visible: $, name: "Menu.Items" }));
3876
3876
  }
3877
3877
  let rf = xt;
3878
3878
  function sf(t, e) {
@@ -3901,7 +3901,7 @@ function sf(t, e) {
3901
3901
  b.wasMoved($) && (n || i || o.send({ type: it.GoToItem, focus: K.Specific, id: s, trigger: Cr.Pointer }));
3902
3902
  }), x = I(($) => {
3903
3903
  b.wasMoved($) && (n || i && o.state.activationTrigger === Cr.Pointer && o.send({ type: it.GoToItem, focus: K.Nothing }));
3904
- }), [k, E] = sr(), [C, P] = $r(), M = ct({ active: i, focus: i, disabled: n, close: d }), z = { id: s, ref: c, role: "menuitem", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": C, disabled: void 0, onClick: g, onFocus: h, onPointerEnter: v, onMouseEnter: v, onPointerMove: w, onMouseMove: w, onPointerLeave: x, onMouseLeave: x }, N = J();
3904
+ }), [k, E] = sr(), [T, P] = $r(), M = ct({ active: i, focus: i, disabled: n, close: d }), z = { id: s, ref: c, role: "menuitem", tabIndex: n === !0 ? void 0 : -1, "aria-disabled": n === !0 ? !0 : void 0, "aria-labelledby": k, "aria-describedby": T, disabled: void 0, onClick: g, onFocus: h, onPointerEnter: v, onMouseEnter: v, onPointerMove: w, onMouseMove: w, onPointerLeave: x, onMouseLeave: x }, N = J();
3905
3905
  return S.createElement(E, null, S.createElement(P, null, N({ ourProps: z, theirProps: a, slot: M, defaultTag: rf, name: "Menu.Item" })));
3906
3906
  }
3907
3907
  let nf = "div";
@@ -3994,7 +3994,7 @@ function Sf(t, e) {
3994
3994
  return (D = w?.isFocusWithinPopoverGroup()) != null ? D : F && (u?.contains(F) || p?.contains(F));
3995
3995
  });
3996
3996
  st(() => x?.(v), [x, v]);
3997
- let [E, C] = To(), P = en(u), M = $o({ mainTreeNode: P, portals: E, defaultContainers: [{ get current() {
3997
+ let [E, T] = To(), P = en(u), M = $o({ mainTreeNode: P, portals: E, defaultContainers: [{ get current() {
3998
3998
  return o.state.button;
3999
3999
  } }, { get current() {
4000
4000
  return o.state.panel;
@@ -4008,7 +4008,7 @@ function Sf(t, e) {
4008
4008
  o.actions.close(), ir(D, or.Loose) || (R.preventDefault(), u?.focus());
4009
4009
  });
4010
4010
  let N = ct({ open: c === vt.Open, close: o.actions.refocusableClose }), $ = rt(o, tt((R) => ht(R.popoverState, { [vt.Open]: ut.Open, [vt.Closed]: ut.Closed }), [])), L = { ref: l }, _ = J();
4011
- return S.createElement(Or, { node: P }, S.createElement(Js, null, S.createElement(ts.Provider, { value: null }, S.createElement(si.Provider, { value: o }, S.createElement(As, { value: o.actions.refocusableClose }, S.createElement(Wr, { value: $ }, S.createElement(C, null, _({ ourProps: L, theirProps: a, slot: N, defaultTag: kf, name: "Popover" }))))))));
4011
+ return S.createElement(Or, { node: P }, S.createElement(Js, null, S.createElement(ts.Provider, { value: null }, S.createElement(si.Provider, { value: o }, S.createElement(As, { value: o.actions.refocusableClose }, S.createElement(Wr, { value: $ }, S.createElement(T, null, _({ ourProps: L, theirProps: a, slot: N, defaultTag: kf, name: "Popover" }))))))));
4012
4012
  }
4013
4013
  let Ef = "button";
4014
4014
  function Nf(t, e) {
@@ -4025,7 +4025,7 @@ function Nf(t, e) {
4025
4025
  }
4026
4026
  i.state.buttons.current.length > 1 && console.warn("You are already using a <Popover.Button /> but only 1 <Popover.Button /> is supported."), W && i.actions.setButton(W);
4027
4027
  }
4028
- })), C = lt(h, e), P = I((W) => {
4028
+ })), T = lt(h, e), P = I((W) => {
4029
4029
  var G, B, q;
4030
4030
  if (x) {
4031
4031
  if (i.state.popoverState === vt.Closed) return;
@@ -4055,7 +4055,7 @@ function Nf(t, e) {
4055
4055
  Oe(W.currentTarget) || n || (x ? (i.actions.close(), (G = i.state.button) == null || G.focus()) : (W.preventDefault(), W.stopPropagation(), i.state.popoverState === vt.Closed ? (w?.(i.state.buttonId), i.actions.open()) : i.actions.close(), (B = i.state.button) == null || B.focus()));
4056
4056
  }), N = I((W) => {
4057
4057
  W.preventDefault(), W.stopPropagation();
4058
- }), { isFocusVisible: $, focusProps: L } = ve({ autoFocus: a }), { isHovered: _, hoverProps: R } = xe({ isDisabled: n }), { pressed: D, pressProps: F } = tr({ disabled: n }), U = l === vt.Open, O = ct({ open: U, active: D || U, disabled: n, hover: _, focus: $, autofocus: a }), j = Mr(t, u), H = x ? It({ ref: C, type: j, onKeyDown: P, onClick: z, disabled: n || void 0, autoFocus: a }, L, R, F) : It({ ref: E, id: p, type: j, "aria-expanded": l === vt.Open, "aria-controls": m ? d : void 0, disabled: n || void 0, autoFocus: a, onKeyDown: P, onKeyUp: M, onClick: z, onMouseDown: N }, L, R, F), nt = sn(), et = I(() => {
4058
+ }), { isFocusVisible: $, focusProps: L } = ve({ autoFocus: a }), { isHovered: _, hoverProps: R } = xe({ isDisabled: n }), { pressed: D, pressProps: F } = tr({ disabled: n }), U = l === vt.Open, O = ct({ open: U, active: D || U, disabled: n, hover: _, focus: $, autofocus: a }), j = Mr(t, u), H = x ? It({ ref: T, type: j, onKeyDown: P, onClick: z, disabled: n || void 0, autoFocus: a }, L, R, F) : It({ ref: E, id: p, type: j, "aria-expanded": l === vt.Open, "aria-controls": m ? d : void 0, disabled: n || void 0, autoFocus: a, onKeyDown: P, onKeyUp: M, onClick: z, onMouseDown: N }, L, R, F), nt = sn(), et = I(() => {
4059
4059
  if (!wt(i.state.panel)) return;
4060
4060
  let W = i.state.panel;
4061
4061
  function G() {
@@ -4075,7 +4075,7 @@ function ai(t, e) {
4075
4075
  }
4076
4076
  let Cf = "div", Tf = At.RenderStrategy | At.Static;
4077
4077
  function jf(t, e) {
4078
- let r = dt(), { id: s = `headlessui-popover-panel-${r}`, focus: n = !1, anchor: a, portal: o = !1, modal: i = !1, transition: l = !1, ...c } = t, u = Jr("Popover.Panel"), p = rt(u, u.selectors.isPortalled), [m, d, g, h, b] = rt(u, tt((A) => [A.popoverState, A.button, A.__demoMode, A.beforePanelSentinel, A.afterPanelSentinel], [])), v = `headlessui-focus-sentinel-before-${r}`, w = `headlessui-focus-sentinel-after-${r}`, x = V(null), k = qs(a), [E, C] = Zs(k), P = Qs();
4078
+ let r = dt(), { id: s = `headlessui-popover-panel-${r}`, focus: n = !1, anchor: a, portal: o = !1, modal: i = !1, transition: l = !1, ...c } = t, u = Jr("Popover.Panel"), p = rt(u, u.selectors.isPortalled), [m, d, g, h, b] = rt(u, tt((A) => [A.popoverState, A.button, A.__demoMode, A.beforePanelSentinel, A.afterPanelSentinel], [])), v = `headlessui-focus-sentinel-before-${r}`, w = `headlessui-focus-sentinel-after-${r}`, x = V(null), k = qs(a), [E, T] = Zs(k), P = Qs();
4079
4079
  k && (o = !0);
4080
4080
  let [M, z] = X(null), N = lt(x, e, k ? E : null, u.actions.setPanel, z), $ = Xt(d), L = Xt(x.current);
4081
4081
  ot(() => (u.actions.setPanelId(s), () => u.actions.setPanelId(null)), [s, u]);
@@ -4104,7 +4104,7 @@ function jf(t, e) {
4104
4104
  var W, G, B, q, bt;
4105
4105
  let yt = A.relatedTarget;
4106
4106
  yt && x.current && ((W = x.current) != null && W.contains(yt) || (u.actions.close(), ((B = (G = h.current) == null ? void 0 : G.contains) != null && B.call(G, yt) || (bt = (q = b.current) == null ? void 0 : q.contains) != null && bt.call(q, yt)) && yt.focus({ preventScroll: !0 })));
4107
- } : void 0, tabIndex: -1, style: { ...c.style, ...C, "--button-width": Ds(R, d, !0).width }, ...lr(D) }), j = sn(), H = I(() => {
4107
+ } : void 0, tabIndex: -1, style: { ...c.style, ...T, "--button-width": Ds(R, d, !0).width }, ...lr(D) }), j = sn(), H = I(() => {
4108
4108
  let A = x.current;
4109
4109
  if (!A) return;
4110
4110
  function W() {
@@ -4177,8 +4177,8 @@ function Lf(t) {
4177
4177
  let _f = "button";
4178
4178
  function Vf(t, e) {
4179
4179
  var r;
4180
- let s = dt(), n = Ie(), a = oe(), { id: o = n || `headlessui-switch-${s}`, disabled: i = a || !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, autoFocus: g = !1, ...h } = t, b = at(dn), [v, w] = X(null), x = V(null), k = lt(x, e, b === null ? null : b.setSwitch, w), E = js(c), [C, P] = Ts(l, u, E ?? !1), M = zt(), [z, N] = X(!1), $ = I(() => {
4181
- N(!0), P?.(!C), M.nextFrame(() => {
4180
+ let s = dt(), n = Ie(), a = oe(), { id: o = n || `headlessui-switch-${s}`, disabled: i = a || !1, checked: l, defaultChecked: c, onChange: u, name: p, value: m, form: d, autoFocus: g = !1, ...h } = t, b = at(dn), [v, w] = X(null), x = V(null), k = lt(x, e, b === null ? null : b.setSwitch, w), E = js(c), [T, P] = Ts(l, u, E ?? !1), M = zt(), [z, N] = X(!1), $ = I(() => {
4181
+ N(!0), P?.(!T), M.nextFrame(() => {
4182
4182
  N(!1);
4183
4183
  });
4184
4184
  }), L = I((q) => {
@@ -4186,10 +4186,10 @@ function Vf(t, e) {
4186
4186
  q.preventDefault(), $();
4187
4187
  }), _ = I((q) => {
4188
4188
  q.key === Y.Space ? (q.preventDefault(), $()) : q.key === Y.Enter && Rs(q.currentTarget);
4189
- }), R = I((q) => q.preventDefault()), D = Ae(), F = er(), { isFocusVisible: U, focusProps: O } = ve({ autoFocus: g }), { isHovered: j, hoverProps: H } = xe({ isDisabled: i }), { pressed: nt, pressProps: et } = tr({ disabled: i }), A = ct({ checked: C, disabled: i, hover: j, focus: U, active: nt, autofocus: g, changing: z }), W = It({ id: o, ref: k, role: "switch", type: Mr(t, v), tabIndex: t.tabIndex === -1 ? 0 : (r = t.tabIndex) != null ? r : 0, "aria-checked": C, "aria-labelledby": D, "aria-describedby": F, disabled: i || void 0, autoFocus: g, onClick: L, onKeyUp: _, onKeyPress: R }, O, H, et), G = tt(() => {
4189
+ }), R = I((q) => q.preventDefault()), D = Ae(), F = er(), { isFocusVisible: U, focusProps: O } = ve({ autoFocus: g }), { isHovered: j, hoverProps: H } = xe({ isDisabled: i }), { pressed: nt, pressProps: et } = tr({ disabled: i }), A = ct({ checked: T, disabled: i, hover: j, focus: U, active: nt, autofocus: g, changing: z }), W = It({ id: o, ref: k, role: "switch", type: Mr(t, v), tabIndex: t.tabIndex === -1 ? 0 : (r = t.tabIndex) != null ? r : 0, "aria-checked": T, "aria-labelledby": D, "aria-describedby": F, disabled: i || void 0, autoFocus: g, onClick: L, onKeyUp: _, onKeyPress: R }, O, H, et), G = tt(() => {
4190
4190
  if (E !== void 0) return P?.(E);
4191
4191
  }, [P, E]), B = J();
4192
- return S.createElement(S.Fragment, null, p != null && S.createElement($s, { disabled: i, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: C }, form: d, onReset: G }), B({ ourProps: W, theirProps: h, slot: A, defaultTag: _f, name: "Switch" }));
4192
+ return S.createElement(S.Fragment, null, p != null && S.createElement($s, { disabled: i, data: { [p]: m || "on" }, overrides: { type: "checkbox", checked: T }, form: d, onReset: G }), B({ ourProps: W, theirProps: h, slot: A, defaultTag: _f, name: "Switch" }));
4193
4193
  }
4194
4194
  let Bf = Q(Vf), Hf = Lf, zf = De, Wf = rr, Uf = Object.assign(Bf, { Group: Hf, Label: zf, Description: Wf }), Yf = "textarea";
4195
4195
  function Gf(t, e) {
@@ -4198,7 +4198,7 @@ function Gf(t, e) {
4198
4198
  }
4199
4199
  let Kf = Q(Gf);
4200
4200
  const qf = Z(
4201
- "rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-none rst:select-none rst:shrink-0 rst:shadow-sm",
4201
+ "rst:font-ui rst:relative rst:inline-flex rst:items-center rst:justify-center rst:overflow-hidden rst:font-semibold rst:border rst:transition-colors rst:focus:outline-none rst:select-none rst:shrink-0 rst:shadow-sm",
4202
4202
  {
4203
4203
  variants: {
4204
4204
  size: {
@@ -4245,7 +4245,7 @@ const qf = Z(
4245
4245
  "div",
4246
4246
  {
4247
4247
  ref: c,
4248
- className: T(qf({ size: e, colorScheme: r, shape: s }), t),
4248
+ className: C(qf({ size: e, colorScheme: r, shape: s }), t),
4249
4249
  ...l,
4250
4250
  children: m ? /* @__PURE__ */ f.jsx(
4251
4251
  "img",
@@ -4271,7 +4271,7 @@ const qf = Z(
4271
4271
  un,
4272
4272
  {
4273
4273
  anchor: "bottom",
4274
- className: T(
4274
+ className: C(
4275
4275
  "rst:z-50 rst:mt-2 rst:rounded-md rst:px-3 rst:py-1.5 rst:text-xs rst:font-medium rst:shadow-xl rst:backdrop-blur-md rst:ring-1",
4276
4276
  "rst:bg-gray-900/95 rst:text-white rst:ring-black/5 rst:dark:bg-gray-100/95 rst:dark:text-gray-900 rst:dark:ring-white/20",
4277
4277
  "rst:transition rst:duration-200 rst:ease-in-out rst:data-closed:opacity-0 rst:data-closed:translate-y-1"
@@ -4284,7 +4284,7 @@ const qf = Z(
4284
4284
  );
4285
4285
  fn.displayName = "Avatar";
4286
4286
  const Xf = Z(
4287
- "rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:border",
4287
+ "rst:font-ui rst:inline-flex rst:max-w-full rst:items-center rst:justify-center rst:font-medium rst:transition-colors rst:focus:outline-hidden rst:focus:ring-2 rst:focus:ring-ring rst:focus:ring-offset-2 rst:border",
4288
4288
  {
4289
4289
  variants: {
4290
4290
  variant: {
@@ -4377,7 +4377,7 @@ const Xf = Z(
4377
4377
  "span",
4378
4378
  {
4379
4379
  ref: c,
4380
- className: T(
4380
+ className: C(
4381
4381
  Xf({ variant: e, statusBadge: r, size: s, fill: n }),
4382
4382
  t
4383
4383
  ),
@@ -4443,13 +4443,13 @@ const Qf = Z(
4443
4443
  "div",
4444
4444
  {
4445
4445
  ref: l,
4446
- className: T(Qf({ variant: e, padding: r }), t),
4446
+ className: C(Qf({ variant: e, padding: r }), t),
4447
4447
  ...i,
4448
4448
  children: [
4449
4449
  s && /* @__PURE__ */ f.jsx(
4450
4450
  "div",
4451
4451
  {
4452
- className: T(
4452
+ className: C(
4453
4453
  "rst:absolute rst:top-0 rst:inset-x-0 rst:h-1 rst:z-10",
4454
4454
  !n && "rst:bg-orange-500"
4455
4455
  ),
@@ -4460,7 +4460,7 @@ const Qf = Z(
4460
4460
  s && /* @__PURE__ */ f.jsx(
4461
4461
  "div",
4462
4462
  {
4463
- className: T(
4463
+ className: C(
4464
4464
  "rst:absolute rst:bottom-0 rst:inset-x-0 rst:h-1 rst:z-10",
4465
4465
  !a && "rst:bg-primary-500"
4466
4466
  ),
@@ -4473,7 +4473,7 @@ const Qf = Z(
4473
4473
  );
4474
4474
  Zf.displayName = "Card";
4475
4475
  const Jf = Z(
4476
- "rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2",
4476
+ "rst:font-ui rst:flex rst:items-center rst:justify-center rst:shrink-0 rst:transition-colors rst:focus:outline-hidden rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2",
4477
4477
  {
4478
4478
  variants: {
4479
4479
  size: {
@@ -4553,7 +4553,7 @@ const Jf = Z(
4553
4553
  className: ({
4554
4554
  checked: u,
4555
4555
  disabled: p
4556
- }) => T(
4556
+ }) => C(
4557
4557
  Jf({
4558
4558
  colorScheme: e,
4559
4559
  variant: r,
@@ -4567,7 +4567,7 @@ const Jf = Z(
4567
4567
  mt,
4568
4568
  {
4569
4569
  icon: n ? Vi : Na,
4570
- className: T(
4570
+ className: C(
4571
4571
  "rst:pointer-events-none rst:transition-opacity rst:duration-200",
4572
4572
  u || n ? "rst:opacity-100" : "rst:opacity-0",
4573
4573
  i[s]
@@ -4580,7 +4580,7 @@ const Jf = Z(
4580
4580
  );
4581
4581
  t0.displayName = "Checkbox";
4582
4582
  const e0 = Z(
4583
- "rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500/75 rst:cursor-pointer rst:z-10 rst:relative",
4583
+ "rst:font-ui rst:group rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-3 rst:text-left rst:text-sm rst:font-medium rst:transition-all rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500/75 rst:cursor-pointer rst:z-10 rst:relative",
4584
4584
  {
4585
4585
  variants: {
4586
4586
  variant: {
@@ -4626,14 +4626,14 @@ const e0 = Z(
4626
4626
  const d = !p;
4627
4627
  a === void 0 && u(d), o?.(d);
4628
4628
  };
4629
- return /* @__PURE__ */ f.jsxs("div", { className: T("rst:w-full rst:flex rst:flex-col", s), ...l, children: [
4629
+ return /* @__PURE__ */ f.jsxs("div", { className: C("rst:w-full rst:flex rst:flex-col", s), ...l, children: [
4630
4630
  /* @__PURE__ */ f.jsxs(
4631
4631
  "button",
4632
4632
  {
4633
4633
  type: "button",
4634
4634
  onClick: m,
4635
4635
  "aria-expanded": p,
4636
- className: T(
4636
+ className: C(
4637
4637
  e0({ variant: r }),
4638
4638
  // Dynamic rounding and border fix
4639
4639
  p ? "rst:rounded-t-md rst:rounded-b-none" : "rst:rounded-md",
@@ -4645,7 +4645,7 @@ const e0 = Z(
4645
4645
  /* @__PURE__ */ f.jsx(
4646
4646
  "span",
4647
4647
  {
4648
- className: T(
4648
+ className: C(
4649
4649
  "rst:ml-2 rst:flex rst:items-center rst:transition-transform rst:duration-200 rst:text-inherit",
4650
4650
  p ? "rst:rotate-180" : ""
4651
4651
  ),
@@ -4674,7 +4674,7 @@ const e0 = Z(
4674
4674
  children: /* @__PURE__ */ f.jsx(
4675
4675
  "div",
4676
4676
  {
4677
- className: T(r0({ variant: r }), "rst:rounded-b-md"),
4677
+ className: C(r0({ variant: r }), "rst:rounded-b-md"),
4678
4678
  children: e
4679
4679
  }
4680
4680
  )
@@ -4682,7 +4682,7 @@ const e0 = Z(
4682
4682
  )
4683
4683
  ] });
4684
4684
  }, n0 = Z(
4685
- "rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-all",
4685
+ "rst:font-ui rst:flex rst:w-full rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-background rst:file:border-0 rst:file:bg-transparent rst:file:text-sm rst:file:font-medium rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-all",
4686
4686
  {
4687
4687
  variants: {
4688
4688
  variant: {
@@ -4738,11 +4738,11 @@ const e0 = Z(
4738
4738
  ...u
4739
4739
  }, p) => {
4740
4740
  const m = !!n || o;
4741
- return /* @__PURE__ */ f.jsxs(Qr, { className: T("rst:w-full rst:space-y-1.5", t), children: [
4741
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:w-full rst:space-y-1.5", t), children: [
4742
4742
  r && /* @__PURE__ */ f.jsx(
4743
4743
  De,
4744
4744
  {
4745
- className: T(
4745
+ className: C(
4746
4746
  "rst:block rst:text-sm rst:font-medium rst:leading-none rst:text-left rst:mb-1.5 rst:transition-colors",
4747
4747
  "rst:text-gray-900 rst:dark:text-gray-100",
4748
4748
  "rst:peer-disabled:cursor-not-allowed rst:peer-disabled:opacity-70"
@@ -4754,7 +4754,7 @@ const e0 = Z(
4754
4754
  i && /* @__PURE__ */ f.jsx(
4755
4755
  "div",
4756
4756
  {
4757
- className: T(
4757
+ className: C(
4758
4758
  ca({ variant: a, error: m }),
4759
4759
  "rst:left-3"
4760
4760
  ),
@@ -4767,7 +4767,7 @@ const e0 = Z(
4767
4767
  ref: p,
4768
4768
  type: e,
4769
4769
  disabled: c,
4770
- className: T(
4770
+ className: C(
4771
4771
  n0({ variant: a, error: m }),
4772
4772
  i && "rst:pl-10",
4773
4773
  l && "rst:pr-10"
@@ -4778,7 +4778,7 @@ const e0 = Z(
4778
4778
  l && /* @__PURE__ */ f.jsx(
4779
4779
  "div",
4780
4780
  {
4781
- className: T(
4781
+ className: C(
4782
4782
  ca({ variant: a, error: m }),
4783
4783
  "rst:right-3"
4784
4784
  ),
@@ -4789,7 +4789,7 @@ const e0 = Z(
4789
4789
  (s || n) && /* @__PURE__ */ f.jsx(
4790
4790
  rr,
4791
4791
  {
4792
- className: T(
4792
+ className: C(
4793
4793
  "rst:text-xs rst:text-left rst:mt-1",
4794
4794
  m ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400"
4795
4795
  ),
@@ -4839,7 +4839,7 @@ const a0 = Z(
4839
4839
  href: l,
4840
4840
  ...c
4841
4841
  }) => {
4842
- const u = t || "a", p = a || typeof l == "string" && l.startsWith("http"), m = o ?? p, d = T(
4842
+ const u = t || "a", p = a || typeof l == "string" && l.startsWith("http"), m = o ?? p, d = C(
4843
4843
  a0({ variant: r, underline: s, size: n }),
4844
4844
  e
4845
4845
  );
@@ -4909,7 +4909,7 @@ const a0 = Z(
4909
4909
  variant: i,
4910
4910
  error: l,
4911
4911
  errorMessage: c,
4912
- className: T("rst:[&_input::-ms-reveal]:hidden", u.className),
4912
+ className: C("rst:[&_input::-ms-reveal]:hidden", u.className),
4913
4913
  endIcon: t ? /* @__PURE__ */ f.jsx(
4914
4914
  "button",
4915
4915
  {
@@ -4918,7 +4918,7 @@ const a0 = Z(
4918
4918
  disabled: o,
4919
4919
  "aria-label": h ? a : n,
4920
4920
  "aria-pressed": h,
4921
- className: T(
4921
+ className: C(
4922
4922
  "rst:-m-1 rst:flex rst:items-center rst:rounded rst:p-1 rst:transition-opacity",
4923
4923
  "rst:opacity-70 rst:hover:opacity-100",
4924
4924
  "rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400",
@@ -4941,7 +4941,7 @@ const a0 = Z(
4941
4941
  );
4942
4942
  o0.displayName = "PasswordInput";
4943
4943
  const i0 = Z(
4944
- "rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle",
4944
+ "rst:font-ui rst:inline-flex rst:items-center rst:rounded-full rst:font-medium rst:whitespace-nowrap rst:align-middle",
4945
4945
  {
4946
4946
  variants: {
4947
4947
  colorScheme: {
@@ -5031,7 +5031,7 @@ const i0 = Z(
5031
5031
  "span",
5032
5032
  {
5033
5033
  ref: c,
5034
- className: T(i0({ colorScheme: e, variant: r, size: s }), t),
5034
+ className: C(i0({ colorScheme: e, variant: r, size: s }), t),
5035
5035
  ...l,
5036
5036
  children: [
5037
5037
  n ? (
@@ -5041,13 +5041,13 @@ const i0 = Z(
5041
5041
  a && /* @__PURE__ */ f.jsx(
5042
5042
  "span",
5043
5043
  {
5044
- className: T(
5044
+ className: C(
5045
5045
  ua({ colorScheme: e, variant: r, size: s }),
5046
5046
  "rst:absolute rst:inset-0 rst:motion-safe:animate-ping rst:opacity-75"
5047
5047
  )
5048
5048
  }
5049
5049
  ),
5050
- /* @__PURE__ */ f.jsx("span", { className: T(ua({ colorScheme: e, variant: r, size: s }), "rst:relative") })
5050
+ /* @__PURE__ */ f.jsx("span", { className: C(ua({ colorScheme: e, variant: r, size: s }), "rst:relative") })
5051
5051
  ] })
5052
5052
  ) : o && /* @__PURE__ */ f.jsx("span", { className: "rst:inline-flex rst:shrink-0 rst:items-center", "aria-hidden": "true", children: o }),
5053
5053
  i
@@ -5093,7 +5093,7 @@ function jr({
5093
5093
  return /* @__PURE__ */ f.jsx(
5094
5094
  i,
5095
5095
  {
5096
- className: T(c0({ size: r, tone: s, weight: n }), e),
5096
+ className: C(c0({ size: r, tone: s, weight: n }), e),
5097
5097
  ...o,
5098
5098
  children: a
5099
5099
  }
@@ -5118,7 +5118,7 @@ const u0 = Z("rst:font-mono rst:text-[0.8125rem]", {
5118
5118
  "code",
5119
5119
  {
5120
5120
  ref: a,
5121
- className: T(u0({ colorScheme: e, surface: r }), t),
5121
+ className: C(u0({ colorScheme: e, surface: r }), t),
5122
5122
  ...n,
5123
5123
  children: s
5124
5124
  }
@@ -5126,7 +5126,7 @@ const u0 = Z("rst:font-mono rst:text-[0.8125rem]", {
5126
5126
  );
5127
5127
  d0.displayName = "InlineCode";
5128
5128
  const f0 = S.forwardRef(
5129
- ({ label: t, trailing: e, align: r = "start", className: s, ...n }, a) => /* @__PURE__ */ f.jsxs("div", { ref: a, className: T("rst:flex rst:items-center rst:gap-3", s), ...n, children: [
5129
+ ({ label: t, trailing: e, align: r = "start", className: s, ...n }, a) => /* @__PURE__ */ f.jsxs("div", { ref: a, className: C("rst:font-ui rst:flex rst:items-center rst:gap-3", s), ...n, children: [
5130
5130
  r === "end" && /* @__PURE__ */ f.jsx("span", { role: "presentation", className: "rst:h-px rst:flex-1 rst:bg-gray-200 rst:dark:bg-gray-800" }),
5131
5131
  /* @__PURE__ */ f.jsx(jr, { children: t }),
5132
5132
  r === "start" && /* @__PURE__ */ f.jsx("span", { role: "presentation", className: "rst:h-px rst:flex-1 rst:bg-gray-200 rst:dark:bg-gray-800" }),
@@ -5155,8 +5155,8 @@ const p0 = Z(
5155
5155
  defaultVariants: { size: "md", colorScheme: "neutral" }
5156
5156
  }
5157
5157
  ), m0 = S.forwardRef(
5158
- ({ value: t, label: e, source: r, size: s, colorScheme: n, className: a, ...o }, i) => /* @__PURE__ */ f.jsxs("div", { ref: i, className: T("rst:flex rst:flex-col rst:gap-[3px]", a), ...o, children: [
5159
- /* @__PURE__ */ f.jsx("dd", { className: T("rst:m-0", p0({ size: s, colorScheme: n })), children: t }),
5158
+ ({ value: t, label: e, source: r, size: s, colorScheme: n, className: a, ...o }, i) => /* @__PURE__ */ f.jsxs("div", { ref: i, className: C("rst:flex rst:flex-col rst:gap-[3px]", a), ...o, children: [
5159
+ /* @__PURE__ */ f.jsx("dd", { className: C("rst:m-0", p0({ size: s, colorScheme: n })), children: t }),
5160
5160
  /* @__PURE__ */ f.jsx("dt", { children: /* @__PURE__ */ f.jsx(jr, { size: "xs", children: e }) }),
5161
5161
  r && /* @__PURE__ */ f.jsx("span", { className: "rst:font-mono rst:text-[0.53125rem] rst:leading-none rst:tracking-[0.06em] rst:text-gray-500 rst:opacity-75 rst:dark:text-gray-400", children: r })
5162
5162
  ] })
@@ -5230,7 +5230,7 @@ const x0 = S.forwardRef(
5230
5230
  );
5231
5231
  x0.displayName = "ThemeToggle";
5232
5232
  const y0 = Z(
5233
- "rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-primary-500 rst:dark:focus:ring-primary-400 rst:sm:leading-6",
5233
+ "rst:font-ui rst:relative rst:w-full rst:cursor-pointer rst:rounded-md rst:py-2.5 rst:pl-4 rst:pr-10 rst:text-left rst:text-sm rst:font-medium rst:shadow-sm rst:ring-1 rst:ring-inset rst:transition-all rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-primary-500 rst:dark:focus:ring-primary-400 rst:sm:leading-6",
5234
5234
  {
5235
5235
  variants: {
5236
5236
  variant: {
@@ -5262,7 +5262,7 @@ const y0 = Z(
5262
5262
  label: l
5263
5263
  }) => {
5264
5264
  const c = t.find((u) => u.value === e);
5265
- return /* @__PURE__ */ f.jsxs(Qr, { className: T("rst:flex rst:flex-col rst:gap-1.5", i), children: [
5265
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:flex rst:flex-col rst:gap-1.5", i), children: [
5266
5266
  l && /* @__PURE__ */ f.jsx(De, { className: "rst:block rst:text-sm rst:font-medium rst:text-inherit rst:text-left", children: l }),
5267
5267
  /* @__PURE__ */ f.jsx(
5268
5268
  Wd,
@@ -5274,12 +5274,12 @@ const y0 = Z(
5274
5274
  /* @__PURE__ */ f.jsxs(
5275
5275
  qo,
5276
5276
  {
5277
- className: T(y0({ variant: a, error: o })),
5277
+ className: C(y0({ variant: a, error: o })),
5278
5278
  children: [
5279
5279
  /* @__PURE__ */ f.jsx(
5280
5280
  "span",
5281
5281
  {
5282
- className: T(
5282
+ className: C(
5283
5283
  "rst:block rst:truncate",
5284
5284
  !c && "rst:text-gray-500 rst:dark:text-gray-400"
5285
5285
  ),
@@ -5308,7 +5308,7 @@ const y0 = Z(
5308
5308
  Xo,
5309
5309
  {
5310
5310
  anchor: "bottom start",
5311
- className: T(
5311
+ className: C(
5312
5312
  "rst:w-(--button-width) rst:z-50 rst:rounded-md rst:bg-white rst:dark:bg-gray-800 rst:py-1 rst:text-base rst:shadow-lg rst:ring-1 rst:ring-black/5 rst:dark:ring-gray-700 rst:focus:outline-none rst:sm:text-sm",
5313
5313
  "rst:[--anchor-gap:4px]"
5314
5314
  ),
@@ -5317,7 +5317,7 @@ const y0 = Z(
5317
5317
  {
5318
5318
  value: u.value,
5319
5319
  disabled: u.disabled,
5320
- className: T(
5320
+ className: C(
5321
5321
  "rst:group rst:relative rst:cursor-default rst:select-none rst:py-2.5 rst:pl-4 rst:pr-9 rst:transition-colors",
5322
5322
  "rst:text-gray-900 rst:dark:text-gray-100",
5323
5323
  "rst:data-focus:bg-primary-100 rst:data-focus:text-primary-900",
@@ -5341,7 +5341,7 @@ const y0 = Z(
5341
5341
  )
5342
5342
  ] });
5343
5343
  }, w0 = Z(
5344
- "rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:disabled:cursor-not-allowed rst:disabled:opacity-50",
5344
+ "rst:font-ui rst:group rst:relative rst:inline-flex rst:shrink-0 rst:cursor-pointer rst:rounded-full rst:border-2 rst:border-transparent rst:transition-colors rst:duration-200 rst:ease-in-out rst:focus:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-offset-2 rst:disabled:cursor-not-allowed rst:disabled:opacity-50",
5345
5345
  {
5346
5346
  variants: {
5347
5347
  variant: {
@@ -5393,14 +5393,14 @@ const y0 = Z(
5393
5393
  Qr,
5394
5394
  {
5395
5395
  as: "div",
5396
- className: T("rst:flex rst:items-center rst:justify-between rst:gap-4", i),
5396
+ className: C("rst:flex rst:items-center rst:justify-between rst:gap-4", i),
5397
5397
  children: [
5398
5398
  (r || s) && /* @__PURE__ */ f.jsxs("span", { className: "rst:flex rst:flex-col", children: [
5399
5399
  r && /* @__PURE__ */ f.jsx(
5400
5400
  De,
5401
5401
  {
5402
5402
  passive: !0,
5403
- className: T(
5403
+ className: C(
5404
5404
  "rst:text-sm rst:font-medium rst:text-gray-900 rst:dark:text-gray-100",
5405
5405
  n && "rst:opacity-50"
5406
5406
  ),
@@ -5410,7 +5410,7 @@ const y0 = Z(
5410
5410
  s && /* @__PURE__ */ f.jsx(
5411
5411
  rr,
5412
5412
  {
5413
- className: T(
5413
+ className: C(
5414
5414
  "rst:text-xs rst:text-gray-500 rst:dark:text-gray-400",
5415
5415
  n && "rst:opacity-50"
5416
5416
  ),
@@ -5425,12 +5425,12 @@ const y0 = Z(
5425
5425
  onChange: e,
5426
5426
  disabled: n,
5427
5427
  "aria-label": c,
5428
- className: T(w0({ variant: o, size: a })),
5428
+ className: C(w0({ variant: o, size: a })),
5429
5429
  children: /* @__PURE__ */ f.jsx(
5430
5430
  "span",
5431
5431
  {
5432
5432
  "aria-hidden": "true",
5433
- className: T(k0({ size: a }))
5433
+ className: C(k0({ size: a }))
5434
5434
  }
5435
5435
  )
5436
5436
  }
@@ -5439,7 +5439,7 @@ const y0 = Z(
5439
5439
  }
5440
5440
  );
5441
5441
  }, S0 = Z(
5442
- "rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-white rst:dark:ring-offset-gray-950 rst:placeholder:text-gray-400 rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-colors rst:custom-scrollbar",
5442
+ "rst:font-ui rst:flex rst:w-full rst:min-h-[80px] rst:rounded-md rst:border rst:py-2.5 rst:px-4 rst:text-sm rst:ring-offset-white rst:dark:ring-offset-gray-950 rst:placeholder:text-gray-400 rst:focus-visible:outline-none rst:focus-visible:ring-2 rst:focus-visible:ring-primary-500 rst:dark:focus-visible:ring-primary-400 rst:disabled:cursor-not-allowed rst:disabled:opacity-50 rst:transition-colors rst:custom-scrollbar",
5443
5443
  {
5444
5444
  variants: {
5445
5445
  variant: {
@@ -5478,21 +5478,21 @@ const y0 = Z(
5478
5478
  ...l
5479
5479
  }, c) => {
5480
5480
  const u = !!s || a;
5481
- return /* @__PURE__ */ f.jsxs(Qr, { className: T("rst:w-full rst:space-y-1.5", t), children: [
5481
+ return /* @__PURE__ */ f.jsxs(Qr, { className: C("rst:w-full rst:space-y-1.5", t), children: [
5482
5482
  e && /* @__PURE__ */ f.jsx(De, { className: "rst:block rst:text-sm rst:font-medium rst:leading-none rst:text-gray-900 rst:dark:text-gray-100 rst:peer-disabled:cursor-not-allowed rst:peer-disabled:opacity-70 rst:text-left", children: e }),
5483
5483
  /* @__PURE__ */ f.jsx(
5484
5484
  Kf,
5485
5485
  {
5486
5486
  ref: c,
5487
5487
  disabled: i,
5488
- className: T(S0({ variant: n, resize: o, error: u })),
5488
+ className: C(S0({ variant: n, resize: o, error: u })),
5489
5489
  ...l
5490
5490
  }
5491
5491
  ),
5492
5492
  (r || s) && /* @__PURE__ */ f.jsx(
5493
5493
  rr,
5494
5494
  {
5495
- className: T(
5495
+ className: C(
5496
5496
  "rst:text-xs rst:text-left",
5497
5497
  u ? "rst:text-error-600 rst:dark:text-error-400 rst:font-medium" : "rst:text-gray-500 rst:dark:text-gray-400"
5498
5498
  ),
@@ -5519,7 +5519,7 @@ function _m({
5519
5519
  "div",
5520
5520
  {
5521
5521
  "data-testid": "avatar-strip",
5522
- className: T("rst:flex rst:items-center rst:gap-3", l),
5522
+ className: C("rst:font-ui rst:flex rst:items-center rst:gap-3", l),
5523
5523
  children: [
5524
5524
  n && /* @__PURE__ */ f.jsx(
5525
5525
  "button",
@@ -5547,7 +5547,7 @@ function _m({
5547
5547
  colorScheme: p.colorScheme ?? "neutral",
5548
5548
  size: "xs"
5549
5549
  }
5550
- ), d = T(
5550
+ ), d = C(
5551
5551
  "rst:relative rst:inline-flex rst:h-6 rst:w-6 rst:rounded-full rst:ring-2 rst:transition-transform rst:hover:z-10 rst:hover:scale-110",
5552
5552
  i
5553
5553
  );
@@ -5577,7 +5577,7 @@ function _m({
5577
5577
  {
5578
5578
  title: `${u} more`,
5579
5579
  "data-testid": "avatar-strip-overflow",
5580
- className: T(
5580
+ className: C(
5581
5581
  "rst:relative rst:flex rst:h-6 rst:w-6 rst:items-center rst:justify-center rst:rounded-full rst:bg-gray-500/10 rst:ring-2",
5582
5582
  i
5583
5583
  ),
@@ -5657,9 +5657,9 @@ function Vm({
5657
5657
  role: "tablist",
5658
5658
  "data-testid": "liquid-tabs",
5659
5659
  style: { background: "var(--roster-lt-bg)", borderColor: "var(--roster-lt-border)" },
5660
- className: T(
5661
- "rst:relative rst:flex rst:border",
5662
- p ? "rst:w-full rst:overflow-hidden rst:rounded-lg" : T(
5660
+ className: C(
5661
+ "rst:font-ui rst:relative rst:flex rst:border",
5662
+ p ? "rst:w-full rst:overflow-hidden rst:rounded-lg" : C(
5663
5663
  "rst:gap-1 rst:rounded-xl rst:p-1",
5664
5664
  n ? "rst:w-full" : "rst:w-fit"
5665
5665
  ),
@@ -5672,7 +5672,7 @@ function Vm({
5672
5672
  ref: i,
5673
5673
  "aria-hidden": !0,
5674
5674
  "data-testid": "liquid-tabs-pill",
5675
- className: T(
5675
+ className: C(
5676
5676
  "rst:absolute rst:rounded-lg",
5677
5677
  p ? "rst:top-0 rst:bottom-0" : "rst:top-1 rst:bottom-1"
5678
5678
  ),
@@ -5689,12 +5689,12 @@ function Vm({
5689
5689
  "data-tab-id": h.id,
5690
5690
  "data-testid": `liquid-tab-${h.id}`,
5691
5691
  onClick: () => g(h.id),
5692
- className: T(
5692
+ className: C(
5693
5693
  "rst:relative rst:z-10 rst:text-sm rst:font-medium rst:transition-colors rst:cursor-pointer",
5694
- p ? T(
5694
+ p ? C(
5695
5695
  "rst:flex-1 rst:py-2",
5696
5696
  b ? "rst:text-white" : "rst:text-(--roster-lt-text-inactive) rst:hover:text-(--roster-lt-text-hover)"
5697
- ) : T(
5697
+ ) : C(
5698
5698
  "rst:rounded-lg rst:py-1.5",
5699
5699
  n ? "rst:flex-1" : "rst:px-4",
5700
5700
  b ? "rst:text-white" : "rst:text-(--roster-lt-text-inactive) rst:hover:text-(--roster-lt-text-hover)"
@@ -5895,7 +5895,7 @@ var D0 = "DismissableLayer", Es = "dismissableLayer.update", F0 = "dismissableLa
5895
5895
  } = t, c = y.useContext(di), [u, p] = y.useState(null), m = u?.ownerDocument ?? globalThis?.document, [, d] = y.useState({}), g = ke(e, (P) => p(P)), h = Array.from(c.layers), [b] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), v = h.indexOf(b), w = u ? h.indexOf(u) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, k = w >= v, E = V0((P) => {
5896
5896
  const M = P.target, z = [...c.branches].some((N) => N.contains(M));
5897
5897
  !k || z || (n?.(P), o?.(P), P.defaultPrevented || i?.());
5898
- }, m), C = B0((P) => {
5898
+ }, m), T = B0((P) => {
5899
5899
  const M = P.target;
5900
5900
  [...c.branches].some((N) => N.contains(M)) || (a?.(P), o?.(P), P.defaultPrevented || i?.());
5901
5901
  }, m);
@@ -5920,8 +5920,8 @@ var D0 = "DismissableLayer", Es = "dismissableLayer.update", F0 = "dismissableLa
5920
5920
  pointerEvents: x ? k ? "auto" : "none" : void 0,
5921
5921
  ...t.style
5922
5922
  },
5923
- onFocusCapture: Yt(t.onFocusCapture, C.onFocusCapture),
5924
- onBlurCapture: Yt(t.onBlurCapture, C.onBlurCapture),
5923
+ onFocusCapture: Yt(t.onFocusCapture, T.onFocusCapture),
5924
+ onBlurCapture: Yt(t.onBlurCapture, T.onBlurCapture),
5925
5925
  onPointerDownCapture: Yt(
5926
5926
  t.onPointerDownCapture,
5927
5927
  E.onPointerDownCapture
@@ -6074,7 +6074,7 @@ var mn = "PopperContent", [q0, X0] = gi(mn), wi = y.forwardRef(
6074
6074
  updatePositionStrategy: d = "optimized",
6075
6075
  onPlaced: g,
6076
6076
  ...h
6077
- } = t, b = bi(mn, r), [v, w] = y.useState(null), x = ke(e, (q) => w(q)), [k, E] = y.useState(null), C = G0(k), P = C?.width ?? 0, M = C?.height ?? 0, z = s + (a !== "center" ? "-" + a : ""), N = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, $ = Array.isArray(c) ? c : [c], L = $.length > 0, _ = {
6077
+ } = t, b = bi(mn, r), [v, w] = y.useState(null), x = ke(e, (q) => w(q)), [k, E] = y.useState(null), T = G0(k), P = T?.width ?? 0, M = T?.height ?? 0, z = s + (a !== "center" ? "-" + a : ""), N = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, $ = Array.isArray(c) ? c : [c], L = $.length > 0, _ = {
6078
6078
  padding: N,
6079
6079
  boundary: $.filter(Z0),
6080
6080
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -6437,7 +6437,7 @@ var Je = "Tooltip", [bp, pr] = rs(Je), Ti = (t) => {
6437
6437
  window.clearTimeout(d.current), d.current = 0, b.current = !1, w(!0);
6438
6438
  }, [w]), E = y.useCallback(() => {
6439
6439
  window.clearTimeout(d.current), d.current = 0, w(!1);
6440
- }, [w]), C = y.useCallback(() => {
6440
+ }, [w]), T = y.useCallback(() => {
6441
6441
  window.clearTimeout(d.current), d.current = window.setTimeout(() => {
6442
6442
  b.current = !0, w(!0), d.current = 0;
6443
6443
  }, h);
@@ -6454,8 +6454,8 @@ var Je = "Tooltip", [bp, pr] = rs(Je), Ti = (t) => {
6454
6454
  trigger: u,
6455
6455
  onTriggerChange: p,
6456
6456
  onTriggerEnter: y.useCallback(() => {
6457
- l.isOpenDelayedRef.current ? C() : k();
6458
- }, [l.isOpenDelayedRef, C, k]),
6457
+ l.isOpenDelayedRef.current ? T() : k();
6458
+ }, [l.isOpenDelayedRef, T, k]),
6459
6459
  onTriggerLeave: y.useCallback(() => {
6460
6460
  g ? E() : (window.clearTimeout(d.current), d.current = 0);
6461
6461
  }, [E, g]),
@@ -6716,8 +6716,8 @@ function Bm({
6716
6716
  sideOffset: 8,
6717
6717
  collisionPadding: 8,
6718
6718
  "data-testid": "tooltip-content",
6719
- className: T(
6720
- "rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:shadow-xl",
6719
+ className: C(
6720
+ "rst:font-ui rst:z-50 rst:max-w-60 rst:rounded-lg rst:px-3 rst:py-2 rst:text-xs rst:leading-snug rst:shadow-xl",
6721
6721
  "rst:animate-in rst:fade-in-0 rst:zoom-in-95",
6722
6722
  "rst:data-[side=bottom]:slide-in-from-top-2",
6723
6723
  "rst:data-[side=top]:slide-in-from-bottom-2",
@@ -6762,13 +6762,13 @@ function Hm({
6762
6762
  return st(() => {
6763
6763
  const u = c.current;
6764
6764
  u && l(u.scrollHeight > u.clientHeight);
6765
- }, [t, e]), /* @__PURE__ */ f.jsxs("div", { className: n, children: [
6765
+ }, [t, e]), /* @__PURE__ */ f.jsxs("div", { className: C("rst:font-ui", n), children: [
6766
6766
  /* @__PURE__ */ f.jsx(
6767
6767
  "div",
6768
6768
  {
6769
6769
  ref: c,
6770
6770
  "data-testid": "collapsible-content",
6771
- className: T(!a && Fp[e], !a && "rst:overflow-hidden"),
6771
+ className: C(!a && Fp[e], !a && "rst:overflow-hidden"),
6772
6772
  style: !a && i ? {
6773
6773
  maskImage: "linear-gradient(to bottom, black 50%, transparent 100%)",
6774
6774
  WebkitMaskImage: "linear-gradient(to bottom, black 50%, transparent 100%)"
@@ -6797,12 +6797,12 @@ function zm({
6797
6797
  const n = t.reduce((o, i) => o + i.value, 0);
6798
6798
  if (n === 0) return null;
6799
6799
  const a = t.filter((o) => o.value > 0);
6800
- return /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:flex-col rst:gap-1.5", s), children: [
6800
+ return /* @__PURE__ */ f.jsxs("div", { className: C("rst:font-ui rst:flex rst:flex-col rst:gap-1.5", s), children: [
6801
6801
  /* @__PURE__ */ f.jsx(
6802
6802
  "div",
6803
6803
  {
6804
6804
  "data-testid": "segment-bar-track",
6805
- className: T(
6805
+ className: C(
6806
6806
  "rst:flex rst:w-full rst:overflow-hidden rst:rounded-full",
6807
6807
  e === "sm" ? "rst:h-1.5" : "rst:h-2"
6808
6808
  ),
@@ -6856,7 +6856,7 @@ function zm({
6856
6856
  ] });
6857
6857
  }
6858
6858
  const Mp = Z(
6859
- "rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border-l-4 rst:px-4 rst:py-3 rst:text-sm",
6859
+ "rst:font-ui rst:flex rst:items-start rst:gap-2.5 rst:rounded-lg rst:border-l-4 rst:px-4 rst:py-3 rst:text-sm",
6860
6860
  {
6861
6861
  variants: {
6862
6862
  colorScheme: {
@@ -6957,7 +6957,7 @@ const Mp = Z(
6957
6957
  ref: c,
6958
6958
  role: u ? "alert" : "status",
6959
6959
  "aria-live": u ? "assertive" : "polite",
6960
- className: T(Mp({ colorScheme: t, surface: e }), i),
6960
+ className: C(Mp({ colorScheme: t, surface: e }), i),
6961
6961
  ...l,
6962
6962
  children: [
6963
6963
  n === void 0 ? /* @__PURE__ */ f.jsx(
@@ -6970,7 +6970,7 @@ const Mp = Z(
6970
6970
  ) : n,
6971
6971
  /* @__PURE__ */ f.jsxs("div", { className: "rst:min-w-0 rst:flex-1", children: [
6972
6972
  r && /* @__PURE__ */ f.jsx("p", { className: "rst:font-semibold", children: r }),
6973
- /* @__PURE__ */ f.jsx("div", { className: T("rst:min-w-0", r && "rst:mt-0.5 rst:opacity-90"), children: s })
6973
+ /* @__PURE__ */ f.jsx("div", { className: C("rst:min-w-0", r && "rst:mt-0.5 rst:opacity-90"), children: s })
6974
6974
  ] }),
6975
6975
  a && /* @__PURE__ */ f.jsx(
6976
6976
  "button",
@@ -7004,7 +7004,7 @@ const Wm = ({
7004
7004
  return e ? m ? p.delete(c) : p.add(c) : (p.clear(), m || p.add(c)), p;
7005
7005
  });
7006
7006
  };
7007
- return /* @__PURE__ */ f.jsx("div", { className: T("rst:w-full rst:space-y-1", s), children: t.map((c, u) => /* @__PURE__ */ f.jsxs("div", { className: "rst:relative", children: [
7007
+ return /* @__PURE__ */ f.jsx("div", { className: C("rst:font-ui rst:w-full rst:space-y-1", s), children: t.map((c, u) => /* @__PURE__ */ f.jsxs("div", { className: "rst:relative", children: [
7008
7008
  n && u > 0 && /* @__PURE__ */ f.jsx("div", { className: "rst:mx-4 rst:h-px rst:bg-gray-200/50 rst:dark:bg-gray-700/50 rst:transition-colors rst:mb-1" }),
7009
7009
  /* @__PURE__ */ f.jsx(
7010
7010
  s0,
@@ -7038,17 +7038,17 @@ const Wm = ({
7038
7038
  "dl",
7039
7039
  {
7040
7040
  ref: o,
7041
- className: T(Vp({ layout: e, size: r }), n),
7041
+ className: C(Vp({ layout: e, size: r }), n),
7042
7042
  ...a,
7043
7043
  children: t.map((i, l) => {
7044
7044
  const c = l === t.length - 1, u = s && !c ? "rst:border-b rst:border-gray-200 rst:pb-1.5 rst:dark:border-gray-800" : "";
7045
- return e === "stacked" ? /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:flex-col rst:gap-0.5", u), children: [
7045
+ return e === "stacked" ? /* @__PURE__ */ f.jsxs("div", { className: C("rst:flex rst:flex-col rst:gap-0.5", u), children: [
7046
7046
  /* @__PURE__ */ f.jsx("dt", { className: "rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
7047
7047
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
7048
- ] }, l) : e === "split" ? /* @__PURE__ */ f.jsxs("div", { className: T("rst:flex rst:items-baseline rst:justify-between rst:gap-4", u), children: [
7048
+ ] }, l) : e === "split" ? /* @__PURE__ */ f.jsxs("div", { className: C("rst:flex rst:items-baseline rst:justify-between rst:gap-4", u), children: [
7049
7049
  /* @__PURE__ */ f.jsx("dt", { className: "rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
7050
7050
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-right rst:tabular-nums rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
7051
- ] }, l) : /* @__PURE__ */ f.jsxs("div", { className: T("rst:contents", u), children: [
7051
+ ] }, l) : /* @__PURE__ */ f.jsxs("div", { className: C("rst:contents", u), children: [
7052
7052
  /* @__PURE__ */ f.jsx("dt", { className: "rst:whitespace-nowrap rst:font-mono rst:uppercase rst:tracking-[0.08em] rst:text-gray-500 rst:dark:text-gray-400", children: i.term }),
7053
7053
  /* @__PURE__ */ f.jsx("dd", { className: "rst:m-0 rst:text-gray-900 rst:dark:text-gray-100", children: i.description })
7054
7054
  ] }, l);
@@ -7089,7 +7089,7 @@ const Hp = Z("rst:my-1", {
7089
7089
  "figure",
7090
7090
  {
7091
7091
  ref: i,
7092
- className: T(Hp({ variant: s, colorScheme: n }), a),
7092
+ className: C(Hp({ variant: s, colorScheme: n }), a),
7093
7093
  ...o,
7094
7094
  children: [
7095
7095
  /* @__PURE__ */ f.jsx(
@@ -7107,7 +7107,7 @@ const Hp = Z("rst:my-1", {
7107
7107
  );
7108
7108
  zp.displayName = "Pullquote";
7109
7109
  const ga = Z(
7110
- "rst:flex rst:items-center rst:text-sm rst:font-medium rst:transition-colors",
7110
+ "rst:font-ui rst:flex rst:items-center rst:text-sm rst:font-medium rst:transition-colors",
7111
7111
  {
7112
7112
  variants: {
7113
7113
  variant: {
@@ -7132,13 +7132,13 @@ const ga = Z(
7132
7132
  ...l
7133
7133
  }) => {
7134
7134
  const c = n ?? Ee, u = e ?? /* @__PURE__ */ f.jsx("span", { className: "rst:text-gray-300 rst:dark:text-gray-600 rst:text-sm rst:transition-colors", children: "/" });
7135
- return /* @__PURE__ */ f.jsx("nav", { "aria-label": "Breadcrumb", className: T("rst:flex", i), ...l, children: /* @__PURE__ */ f.jsxs("ol", { className: "rst:flex rst:items-center rst:space-x-2", children: [
7135
+ return /* @__PURE__ */ f.jsx("nav", { "aria-label": "Breadcrumb", className: C("rst:flex", i), ...l, children: /* @__PURE__ */ f.jsxs("ol", { className: "rst:flex rst:items-center rst:space-x-2", children: [
7136
7136
  r && /* @__PURE__ */ f.jsxs("li", { className: "rst:flex rst:items-center", children: [
7137
7137
  /* @__PURE__ */ f.jsx(
7138
7138
  c,
7139
7139
  {
7140
7140
  href: s,
7141
- className: T(
7141
+ className: C(
7142
7142
  ga({ variant: o }),
7143
7143
  "rst:hover:underline-none"
7144
7144
  ),
@@ -7172,7 +7172,7 @@ const ga = Z(
7172
7172
  d || !p.href ? /* @__PURE__ */ f.jsx(
7173
7173
  "span",
7174
7174
  {
7175
- className: T(
7175
+ className: C(
7176
7176
  "rst:font-semibold rst:text-sm rst:cursor-default rst:transition-colors",
7177
7177
  o === "inverse" ? "rst:text-white" : "rst:text-gray-900 rst:dark:text-gray-100",
7178
7178
  d && a,
@@ -7185,7 +7185,7 @@ const ga = Z(
7185
7185
  c,
7186
7186
  {
7187
7187
  href: p.href,
7188
- className: T(
7188
+ className: C(
7189
7189
  ga({ variant: o }),
7190
7190
  "rst:hover:underline",
7191
7191
  p.className
@@ -7198,7 +7198,7 @@ const ga = Z(
7198
7198
  })
7199
7199
  ] }) });
7200
7200
  }, Wp = Z(
7201
- "rst:relative rst:flex rst:flex-col rst:gap-4 rst:overflow-hidden rst:rounded-lg rst:border rst:p-6 rst:shadow-sm rst:transition-all rst:md:flex-row rst:md:items-center rst:md:justify-between",
7201
+ "rst:font-ui rst:relative rst:flex rst:flex-col rst:gap-4 rst:overflow-hidden rst:rounded-lg rst:border rst:p-6 rst:shadow-sm rst:transition-all rst:md:flex-row rst:md:items-center rst:md:justify-between",
7202
7202
  {
7203
7203
  variants: {
7204
7204
  variant: {
@@ -7223,7 +7223,7 @@ const ga = Z(
7223
7223
  onDismiss: a,
7224
7224
  className: o,
7225
7225
  ...i
7226
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Wp({ variant: n }), o), ...i, children: [
7226
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Wp({ variant: n }), o), ...i, children: [
7227
7227
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-start rst:gap-4", children: [
7228
7228
  s && /* @__PURE__ */ f.jsx("div", { className: "rst:mt-1 rst:shrink-0 rst:text-current", children: s }),
7229
7229
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:gap-1.5 rst:w-full", children: [
@@ -7244,7 +7244,7 @@ const ga = Z(
7244
7244
  }
7245
7245
  ) })
7246
7246
  ] }), Up = Z(
7247
- "rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7247
+ "rst:font-ui rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7248
7248
  {
7249
7249
  variants: {
7250
7250
  variant: {
@@ -7264,13 +7264,13 @@ const ga = Z(
7264
7264
  variant: n,
7265
7265
  className: a,
7266
7266
  ...o
7267
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Up({ variant: n }), a), ...o, children: [
7267
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Up({ variant: n }), a), ...o, children: [
7268
7268
  r && /* @__PURE__ */ f.jsx("div", { className: "rst:mb-4 rst:flex rst:h-12 rst:w-12 rst:items-center rst:justify-center rst:rounded-full rst:bg-gray-100 rst:text-gray-400 rst:dark:bg-gray-800 rst:dark:text-gray-500", children: /* @__PURE__ */ f.jsx("div", { className: "rst:h-6 rst:w-6 rst:[&>svg]:h-full rst:[&>svg]:w-full", children: r }) }),
7269
7269
  /* @__PURE__ */ f.jsx("h3", { className: "rst:text-lg rst:font-semibold rst:text-gray-900 rst:dark:text-gray-100", children: t }),
7270
7270
  e && /* @__PURE__ */ f.jsx("p", { className: "rst:mt-1 rst:max-w-sm rst:text-sm rst:text-gray-500 rst:dark:text-gray-400", children: e }),
7271
7271
  s && /* @__PURE__ */ f.jsx("div", { className: "rst:mt-6", children: s })
7272
7272
  ] }), Yp = Z(
7273
- "rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7273
+ "rst:font-ui rst:flex rst:flex-col rst:items-center rst:justify-center rst:text-center rst:p-8 rst:rounded-lg rst:transition-colors",
7274
7274
  {
7275
7275
  variants: {
7276
7276
  variant: {
@@ -7291,7 +7291,7 @@ const ga = Z(
7291
7291
  variant: a,
7292
7292
  className: o,
7293
7293
  ...i
7294
- }) => /* @__PURE__ */ f.jsxs("div", { className: T(Yp({ variant: a }), o), ...i, children: [
7294
+ }) => /* @__PURE__ */ f.jsxs("div", { className: C(Yp({ variant: a }), o), ...i, children: [
7295
7295
  /* @__PURE__ */ f.jsx("div", { className: "rst:mb-4 rst:flex rst:h-12 rst:w-12 rst:items-center rst:justify-center rst:rounded-full rst:bg-error-100 rst:text-error-600 rst:dark:bg-error-500/15 rst:dark:text-error-400", children: /* @__PURE__ */ f.jsx("div", { className: "rst:h-6 rst:w-6 rst:flex rst:items-center rst:justify-center", children: n || /* @__PURE__ */ f.jsx(
7296
7296
  mt,
7297
7297
  {
@@ -7303,7 +7303,7 @@ const ga = Z(
7303
7303
  /* @__PURE__ */ f.jsx(
7304
7304
  "p",
7305
7305
  {
7306
- className: T(
7306
+ className: C(
7307
7307
  "rst:mt-2 rst:text-sm rst:leading-relaxed",
7308
7308
  a === "card" ? "rst:text-error-800/80 rst:dark:text-error-200/80" : "rst:text-gray-500 rst:dark:text-gray-400"
7309
7309
  ),
@@ -7354,7 +7354,7 @@ const ga = Z(
7354
7354
  {
7355
7355
  ref: o,
7356
7356
  type: "button",
7357
- className: T(
7357
+ className: C(
7358
7358
  "rst:flex rst:items-center rst:gap-3 rst:rounded-lg rst:p-2 rst:text-left rst:transition rst:hover:bg-gray-100 rst:dark:hover:bg-slate-800",
7359
7359
  n
7360
7360
  ),
@@ -7373,7 +7373,7 @@ const ga = Z(
7373
7373
  t.accessory && /* @__PURE__ */ f.jsx(
7374
7374
  "span",
7375
7375
  {
7376
- className: T(
7376
+ className: C(
7377
7377
  "rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
7378
7378
  t.isWinner && "rst:font-bold"
7379
7379
  ),
@@ -7389,7 +7389,7 @@ const ga = Z(
7389
7389
  e.accessory && /* @__PURE__ */ f.jsx(
7390
7390
  "span",
7391
7391
  {
7392
- className: T(
7392
+ className: C(
7393
7393
  "rst:text-sm rst:text-gray-800 rst:dark:text-gray-300",
7394
7394
  e.isWinner && "rst:font-bold"
7395
7395
  ),
@@ -7414,7 +7414,7 @@ const ga = Z(
7414
7414
  );
7415
7415
  Gp.displayName = "MatchupCard";
7416
7416
  const Kp = Z(
7417
- "rst:w-full rst:z-40 rst:shadow-lg rst:backdrop-blur-md rst:transition-all",
7417
+ "rst:font-ui rst:w-full rst:z-40 rst:shadow-lg rst:backdrop-blur-md rst:transition-all",
7418
7418
  {
7419
7419
  variants: {
7420
7420
  variant: {
@@ -7449,7 +7449,7 @@ const Kp = Z(
7449
7449
  "div",
7450
7450
  {
7451
7451
  ref: c,
7452
- className: T(Kp({ variant: o, position: a }), i),
7452
+ className: C(Kp({ variant: o, position: a }), i),
7453
7453
  ...l,
7454
7454
  children: /* @__PURE__ */ f.jsxs("div", { className: "rst:container rst:mx-auto rst:p-4", children: [
7455
7455
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-between rst:items-center", children: [
@@ -7736,8 +7736,8 @@ const hm = (t) => {
7736
7736
  }
7737
7737
  }
7738
7738
  ), yr = ({ value: t, label: e, size: r, variant: s }) => /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:flex-col rst:items-center", children: [
7739
- /* @__PURE__ */ f.jsx("span", { className: T(bm({ size: r, variant: s })), children: String(t).padStart(2, "0") }),
7740
- /* @__PURE__ */ f.jsx("span", { className: T(vm({ size: r })), children: e })
7739
+ /* @__PURE__ */ f.jsx("span", { className: C(bm({ size: r, variant: s })), children: String(t).padStart(2, "0") }),
7740
+ /* @__PURE__ */ f.jsx("span", { className: C(vm({ size: r })), children: e })
7741
7741
  ] }), xm = S.forwardRef(
7742
7742
  ({
7743
7743
  targetDate: t,
@@ -7753,24 +7753,24 @@ const hm = (t) => {
7753
7753
  "div",
7754
7754
  {
7755
7755
  ref: i,
7756
- className: T(
7756
+ className: C(
7757
7757
  "rst:font-bold rst:w-full rst:text-center rst:text-gray-900 rst:dark:text-gray-100",
7758
7758
  n
7759
7759
  ),
7760
7760
  ...o,
7761
- children: /* @__PURE__ */ f.jsx("h3", { className: T(ka({ size: r }), "rst:mb-0"), children: a })
7761
+ children: /* @__PURE__ */ f.jsx("h3", { className: C(ka({ size: r }), "rst:mb-0"), children: a })
7762
7762
  }
7763
7763
  ) : null : /* @__PURE__ */ f.jsxs(
7764
7764
  "div",
7765
7765
  {
7766
7766
  ref: i,
7767
- className: T(
7767
+ className: C(
7768
7768
  "rst:font-bold rst:w-full rst:text-center rst:text-gray-900 rst:dark:text-gray-100",
7769
7769
  n
7770
7770
  ),
7771
7771
  ...o,
7772
7772
  children: [
7773
- e && /* @__PURE__ */ f.jsx("h3", { className: T(ka({ size: r })), children: e }),
7773
+ e && /* @__PURE__ */ f.jsx("h3", { className: C(ka({ size: r })), children: e }),
7774
7774
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:justify-center rst:gap-4 rst:sm:gap-6 rst:md:gap-8", children: [
7775
7775
  /* @__PURE__ */ f.jsx(
7776
7776
  yr,
@@ -7859,7 +7859,7 @@ const ym = Z(
7859
7859
  status: o,
7860
7860
  children: i,
7861
7861
  className: l
7862
- }) => /* @__PURE__ */ f.jsx(je, { appear: !0, show: t, as: xt, children: /* @__PURE__ */ f.jsxs(xd, { as: "div", className: "rst:relative rst:z-50", onClose: e, children: [
7862
+ }) => /* @__PURE__ */ f.jsx(je, { appear: !0, show: t, as: xt, children: /* @__PURE__ */ f.jsxs(xd, { as: "div", className: "rst:font-ui rst:relative rst:z-50", onClose: e, children: [
7863
7863
  /* @__PURE__ */ f.jsx(
7864
7864
  Ze,
7865
7865
  {
@@ -7873,7 +7873,7 @@ const ym = Z(
7873
7873
  children: /* @__PURE__ */ f.jsx(
7874
7874
  vd,
7875
7875
  {
7876
- className: T(
7876
+ className: C(
7877
7877
  "rst:fixed rst:inset-0 rst:transition-opacity",
7878
7878
  a === "glass" ? "rst:bg-slate-900/40 rst:dark:bg-black/60" : "rst:bg-slate-900/60 rst:dark:bg-black/80 rst:backdrop-blur-sm"
7879
7879
  )
@@ -7894,22 +7894,22 @@ const ym = Z(
7894
7894
  children: /* @__PURE__ */ f.jsxs(
7895
7895
  Bo,
7896
7896
  {
7897
- className: T(
7897
+ className: C(
7898
7898
  ym({ size: n, variant: a, status: o }),
7899
7899
  l
7900
7900
  ),
7901
7901
  children: [
7902
7902
  /* @__PURE__ */ f.jsxs("div", { className: "rst:flex rst:items-start rst:justify-between", children: [
7903
7903
  /* @__PURE__ */ f.jsxs("div", { children: [
7904
- /* @__PURE__ */ f.jsx(Ho, { as: "h2", className: T(wm()), children: r }),
7905
- s && /* @__PURE__ */ f.jsx("p", { className: T(km()), children: s })
7904
+ /* @__PURE__ */ f.jsx(Ho, { as: "h2", className: C(wm()), children: r }),
7905
+ s && /* @__PURE__ */ f.jsx("p", { className: C(km()), children: s })
7906
7906
  ] }),
7907
7907
  /* @__PURE__ */ f.jsx("div", { className: "rst:ml-4 rst:flex rst:shrink-0", children: /* @__PURE__ */ f.jsx(
7908
7908
  "button",
7909
7909
  {
7910
7910
  type: "button",
7911
7911
  onClick: e,
7912
- className: T(Sm()),
7912
+ className: C(Sm()),
7913
7913
  "aria-label": "Close dialog",
7914
7914
  children: /* @__PURE__ */ f.jsx(mt, { icon: Ge, className: "rst:h-5 rst:w-5" })
7915
7915
  }
@@ -7922,7 +7922,7 @@ const ym = Z(
7922
7922
  }
7923
7923
  ) }) })
7924
7924
  ] }) }), Em = Z(
7925
- "rst:w-full rst:py-6 rst:mt-auto rst:transition-colors rst:duration-200",
7925
+ "rst:font-ui rst:w-full rst:py-6 rst:mt-auto rst:transition-colors rst:duration-200",
7926
7926
  {
7927
7927
  variants: {
7928
7928
  variant: {
@@ -7948,7 +7948,7 @@ const ym = Z(
7948
7948
  "footer",
7949
7949
  {
7950
7950
  ref: o,
7951
- className: T(Em({ variant: e }), t),
7951
+ className: C(Em({ variant: e }), t),
7952
7952
  ...a,
7953
7953
  children: /* @__PURE__ */ f.jsxs("div", { className: "rst:container rst:mx-auto rst:px-4 rst:flex rst:flex-col rst:items-center rst:gap-2", children: [
7954
7954
  s && s.length > 0 && /* @__PURE__ */ f.jsx("nav", { "aria-label": "Footer navigation", className: "rst:flex rst:flex-wrap rst:justify-center rst:gap-x-5 rst:gap-y-1", children: s.map((c) => /* @__PURE__ */ f.jsx(
@@ -7975,7 +7975,7 @@ const ym = Z(
7975
7975
  );
7976
7976
  Nm.displayName = "Footer";
7977
7977
  const Pm = Z(
7978
- "rst:w-full rst:z-30 rst:border-b rst:transition-colors rst:duration-200",
7978
+ "rst:font-ui rst:w-full rst:z-30 rst:border-b rst:transition-colors rst:duration-200",
7979
7979
  {
7980
7980
  variants: {
7981
7981
  variant: {
@@ -8061,7 +8061,7 @@ const Xm = ({
8061
8061
  themeMode: x,
8062
8062
  notificationVariant: k = "error",
8063
8063
  notificationFill: E = "solid",
8064
- ...C
8064
+ ...T
8065
8065
  }) => {
8066
8066
  const P = (i?.notificationCount || 0) > 0, M = typeof e == "number" ? `${e}px` : e, z = { width: M, height: M }, N = Om(x === "auto"), L = (x === "auto" ? N ? "dark" : "light" : x ?? (v === "white" || v === "default" ? "light" : "dark")) === "dark", _ = v === "slate" || v === "primary" || v === "default" && L || v === "white" && L || v === "transparent" && L, R = {
8067
8067
  brand: _ ? "rst:text-white rst:dark:text-white rst:hover:text-gray-200 rst:dark:hover:text-gray-200" : "rst:text-gray-900 rst:dark:text-gray-900 rst:hover:text-gray-600 rst:dark:hover:text-gray-600",
@@ -8073,8 +8073,8 @@ const Xm = ({
8073
8073
  oi,
8074
8074
  {
8075
8075
  as: "nav",
8076
- className: T("rst:z-50", Pm({ variant: v, position: w }), b),
8077
- ...C,
8076
+ className: C("rst:z-50", Pm({ variant: v, position: w }), b),
8077
+ ...T,
8078
8078
  children: ({ open: D, close: F }) => {
8079
8079
  const U = Sa(m, F), O = Sa(g, F);
8080
8080
  return /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
@@ -8087,7 +8087,7 @@ const Xm = ({
8087
8087
  to: "/",
8088
8088
  variant: "neutral",
8089
8089
  underline: "none",
8090
- className: T(
8090
+ className: C(
8091
8091
  "rst:flex rst:items-center rst:gap-3 rst:transition-opacity",
8092
8092
  R.brand
8093
8093
  ),
@@ -8098,7 +8098,7 @@ const Xm = ({
8098
8098
  src: t,
8099
8099
  alt: `${s} Logo`,
8100
8100
  style: z,
8101
- className: T("rst:shrink-0", r ?? "rst:rounded-md")
8101
+ className: C("rst:shrink-0", r ?? "rst:rounded-md")
8102
8102
  }
8103
8103
  ),
8104
8104
  d ?? /* @__PURE__ */ f.jsx("span", { className: "rst:text-xl rst:font-bold rst:tracking-tight", children: s })
@@ -8116,7 +8116,7 @@ const Xm = ({
8116
8116
  to: j.path,
8117
8117
  variant: "neutral",
8118
8118
  underline: "none",
8119
- className: T(
8119
+ className: C(
8120
8120
  "rst:inline-flex rst:items-center rst:gap-1.5 rst:text-sm rst:transition-colors rst:duration-200",
8121
8121
  H ? R.linkActive : R.linkBase
8122
8122
  ),
@@ -8172,7 +8172,7 @@ const Xm = ({
8172
8172
  colorScheme: "neutral",
8173
8173
  size: "sm",
8174
8174
  onClick: u,
8175
- className: T(
8175
+ className: C(
8176
8176
  "rst:w-full rst:justify-start rst:rounded-none rst:px-4",
8177
8177
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8178
8178
  ),
@@ -8198,7 +8198,7 @@ const Xm = ({
8198
8198
  },
8199
8199
  role: "button",
8200
8200
  tabIndex: 0,
8201
- className: T(
8201
+ className: C(
8202
8202
  "rst:flex rst:w-full rst:items-center rst:justify-between rst:px-4 rst:py-2 rst:text-sm rst:text-gray-700 rst:dark:text-gray-200 rst:cursor-pointer rst:transition-colors",
8203
8203
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8204
8204
  ),
@@ -8211,7 +8211,7 @@ const Xm = ({
8211
8211
  mt,
8212
8212
  {
8213
8213
  icon: ps,
8214
- className: T(
8214
+ className: C(
8215
8215
  "rst:w-4 rst:transition-colors",
8216
8216
  L ? "rst:text-amber-500" : "rst:text-gray-400"
8217
8217
  )
@@ -8242,7 +8242,7 @@ const Xm = ({
8242
8242
  to: j.path,
8243
8243
  variant: "neutral",
8244
8244
  underline: "none",
8245
- className: T(
8245
+ className: C(
8246
8246
  "rst:flex rst:w-full rst:items-center rst:justify-between rst:gap-2 rst:px-4 rst:py-2 rst:text-sm rst:text-gray-700 rst:dark:text-gray-200 rst:transition-colors",
8247
8247
  H && "rst:bg-gray-50 rst:dark:bg-gray-700"
8248
8248
  ),
@@ -8259,7 +8259,7 @@ const Xm = ({
8259
8259
  colorScheme: "neutral",
8260
8260
  size: "sm",
8261
8261
  onClick: c,
8262
- className: T(
8262
+ className: C(
8263
8263
  "rst:w-full rst:justify-start rst:rounded-none rst:px-4",
8264
8264
  j && "rst:bg-gray-50 rst:dark:bg-gray-700"
8265
8265
  ),
@@ -8281,7 +8281,7 @@ const Xm = ({
8281
8281
  /* @__PURE__ */ f.jsx("div", { "data-roster-hamburger": !0, className: "rst:flex rst:md:hidden", children: /* @__PURE__ */ f.jsxs(
8282
8282
  Tr,
8283
8283
  {
8284
- className: T(
8284
+ className: C(
8285
8285
  "rst:inline-flex rst:items-center rst:justify-center rst:rounded-md rst:p-2 rst:focus:outline-none rst:focus:ring-2 rst:focus:ring-inset rst:focus:ring-primary-500",
8286
8286
  R.hamburger
8287
8287
  ),
@@ -8336,7 +8336,7 @@ const Xm = ({
8336
8336
  src: t,
8337
8337
  alt: s,
8338
8338
  style: z,
8339
- className: T("rst:shrink-0", r ?? "rst:rounded-md")
8339
+ className: C("rst:shrink-0", r ?? "rst:rounded-md")
8340
8340
  }
8341
8341
  ),
8342
8342
  d ?? /* @__PURE__ */ f.jsx("span", { className: "rst:font-bold rst:text-gray-900 rst:dark:text-white", children: s })
@@ -8367,7 +8367,7 @@ const Xm = ({
8367
8367
  onClick: () => F(),
8368
8368
  variant: "neutral",
8369
8369
  underline: "none",
8370
- className: T(
8370
+ className: C(
8371
8371
  "rst:-m-3 rst:flex rst:items-center rst:rounded-md rst:p-3 rst:transition-colors",
8372
8372
  "rst:hover:bg-gray-50 rst:dark:hover:bg-gray-700",
8373
8373
  H ? "rst:bg-gray-50 rst:dark:bg-gray-700" : "rst:text-gray-900 rst:dark:text-gray-100"
@@ -8375,7 +8375,7 @@ const Xm = ({
8375
8375
  children: /* @__PURE__ */ f.jsxs(
8376
8376
  "span",
8377
8377
  {
8378
- className: T(
8378
+ className: C(
8379
8379
  "rst:ml-3 rst:inline-flex rst:items-center rst:gap-1.5 rst:text-base rst:font-medium",
8380
8380
  H ? "rst:text-primary-600 rst:dark:text-primary-400 rst:font-bold" : "rst:text-gray-900 rst:dark:text-gray-100"
8381
8381
  ),
@@ -8402,7 +8402,7 @@ const Xm = ({
8402
8402
  onClick: () => F(),
8403
8403
  variant: "neutral",
8404
8404
  underline: "none",
8405
- className: T(
8405
+ className: C(
8406
8406
  "rst:-m-3 rst:flex rst:items-center rst:rounded-md rst:p-3 rst:transition-colors",
8407
8407
  "rst:hover:bg-gray-50 rst:dark:hover:bg-gray-700",
8408
8408
  H ? "rst:bg-gray-50 rst:dark:bg-gray-700" : "rst:text-gray-900 rst:dark:text-gray-100"
@@ -8411,7 +8411,7 @@ const Xm = ({
8411
8411
  /* @__PURE__ */ f.jsx(
8412
8412
  "span",
8413
8413
  {
8414
- className: T(
8414
+ className: C(
8415
8415
  "rst:ml-3 rst:text-base rst:font-medium",
8416
8416
  H ? "rst:text-primary-600 rst:dark:text-primary-400 rst:font-bold" : "rst:text-gray-900 rst:dark:text-gray-100"
8417
8417
  ),
@@ -8480,7 +8480,7 @@ const Xm = ({
8480
8480
  mt,
8481
8481
  {
8482
8482
  icon: ps,
8483
- className: T(
8483
+ className: C(
8484
8484
  "rst:w-5 rst:transition-colors",
8485
8485
  L ? "rst:text-amber-500" : "rst:text-gray-400"
8486
8486
  )
@@ -8629,7 +8629,7 @@ export {
8629
8629
  ug as buttonVariants,
8630
8630
  Qf as cardVariants,
8631
8631
  Jf as checkboxVariants,
8632
- T as cn,
8632
+ C as cn,
8633
8633
  Wp as ctaVariants,
8634
8634
  Vp as descriptionListVariants,
8635
8635
  r0 as disclosureContentVariants,