@ikonai/sdk-react-ui-radix 0.0.21 → 0.0.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +540 -543
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as d from "react";
2
- import Q, { memo as T, useRef as ue, useState as re, useCallback as ve, useEffect as he, Fragment as tr, createElement as rg, useLayoutEffect as Dc, createContext as $t, useContext as Fe, useMemo as ge, isValidElement as Na, Children as ng, forwardRef as og, useReducer as ig, cloneElement as sg } from "react";
2
+ import Q, { memo as I, useRef as ue, useState as ne, useCallback as ve, useEffect as he, Fragment as tr, createElement as rg, useLayoutEffect as Dc, createContext as $t, useContext as Fe, useMemo as ge, isValidElement as Na, Children as ng, forwardRef as og, useReducer as ig, cloneElement as sg } from "react";
3
3
  import * as Vr from "react-dom";
4
4
  import Tt, { unstable_batchedUpdates as un, createPortal as ag } from "react-dom";
5
5
  import { renderMotionLetters as zi } from "@ikonai/sdk-react-ui";
@@ -51,7 +51,7 @@ function lg() {
51
51
  function e(k) {
52
52
  if (k == null) return null;
53
53
  if (typeof k == "function")
54
- return k.$$typeof === P ? null : k.displayName || k.name || null;
54
+ return k.$$typeof === T ? null : k.displayName || k.name || null;
55
55
  if (typeof k == "string") return k;
56
56
  switch (k) {
57
57
  case g:
@@ -103,11 +103,11 @@ function lg() {
103
103
  }
104
104
  if (G) {
105
105
  G = console;
106
- var Z = G.error, ne = typeof Symbol == "function" && Symbol.toStringTag && k[Symbol.toStringTag] || k.constructor.name || "Object";
106
+ var Z = G.error, re = typeof Symbol == "function" && Symbol.toStringTag && k[Symbol.toStringTag] || k.constructor.name || "Object";
107
107
  return Z.call(
108
108
  G,
109
109
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
110
- ne
110
+ re
111
111
  ), r(k);
112
112
  }
113
113
  }
@@ -154,7 +154,7 @@ function lg() {
154
154
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
155
155
  )), k = this.props.ref, k !== void 0 ? k : null;
156
156
  }
157
- function l(k, G, Z, ne, oe, ie, se, U) {
157
+ function l(k, G, Z, re, oe, ie, se, U) {
158
158
  return Z = ie.ref, k = {
159
159
  $$typeof: v,
160
160
  type: k,
@@ -186,13 +186,13 @@ function lg() {
186
186
  value: U
187
187
  }), Object.freeze && (Object.freeze(k.props), Object.freeze(k)), k;
188
188
  }
189
- function u(k, G, Z, ne, oe, ie, se, U) {
189
+ function u(k, G, Z, re, oe, ie, se, U) {
190
190
  var ee = G.children;
191
191
  if (ee !== void 0)
192
- if (ne)
192
+ if (re)
193
193
  if (H(ee)) {
194
- for (ne = 0; ne < ee.length; ne++)
195
- p(ee[ne]);
194
+ for (re = 0; re < ee.length; re++)
195
+ p(ee[re]);
196
196
  Object.freeze && Object.freeze(ee);
197
197
  } else
198
198
  console.error(
@@ -204,18 +204,18 @@ function lg() {
204
204
  var ae = Object.keys(G).filter(function(ce) {
205
205
  return ce !== "key";
206
206
  });
207
- ne = 0 < ae.length ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}", $[ee + ne] || (ae = 0 < ae.length ? "{" + ae.join(": ..., ") + ": ...}" : "{}", console.error(
207
+ re = 0 < ae.length ? "{key: someKey, " + ae.join(": ..., ") + ": ...}" : "{key: someKey}", $[ee + re] || (ae = 0 < ae.length ? "{" + ae.join(": ..., ") + ": ...}" : "{}", console.error(
208
208
  `A props object containing a "key" prop is being spread into JSX:
209
209
  let props = %s;
210
210
  <%s {...props} />
211
211
  React keys must be passed directly to JSX without using spread:
212
212
  let props = %s;
213
213
  <%s key={someKey} {...props} />`,
214
- ne,
214
+ re,
215
215
  ee,
216
216
  ae,
217
217
  ee
218
- ), $[ee + ne] = !0);
218
+ ), $[ee + re] = !0);
219
219
  }
220
220
  if (ee = null, Z !== void 0 && (t(Z), ee = "" + Z), s(G) && (t(G.key), ee = "" + G.key), "key" in G) {
221
221
  Z = {};
@@ -239,7 +239,7 @@ React keys must be passed directly to JSX without using spread:
239
239
  function p(k) {
240
240
  typeof k == "object" && k !== null && k.$$typeof === v && k._store && (k._store.validated = 1);
241
241
  }
242
- var h = Q, v = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), b = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), P = Symbol.for("react.client.reference"), M = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, H = Array.isArray, F = console.createTask ? console.createTask : function() {
242
+ var h = Q, v = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), g = Symbol.for("react.fragment"), x = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), y = Symbol.for("react.consumer"), b = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), w = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), O = Symbol.for("react.activity"), T = Symbol.for("react.client.reference"), M = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, V = Object.prototype.hasOwnProperty, H = Array.isArray, F = console.createTask ? console.createTask : function() {
243
243
  return null;
244
244
  };
245
245
  h = {
@@ -251,26 +251,26 @@ React keys must be passed directly to JSX without using spread:
251
251
  h,
252
252
  i
253
253
  )(), W = F(n(i)), $ = {};
254
- Sr.Fragment = g, Sr.jsx = function(k, G, Z, ne, oe) {
254
+ Sr.Fragment = g, Sr.jsx = function(k, G, Z, re, oe) {
255
255
  var ie = 1e4 > M.recentlyCreatedOwnerStacks++;
256
256
  return u(
257
257
  k,
258
258
  G,
259
259
  Z,
260
260
  !1,
261
- ne,
261
+ re,
262
262
  oe,
263
263
  ie ? Error("react-stack-top-frame") : z,
264
264
  ie ? F(n(k)) : W
265
265
  );
266
- }, Sr.jsxs = function(k, G, Z, ne, oe) {
266
+ }, Sr.jsxs = function(k, G, Z, re, oe) {
267
267
  var ie = 1e4 > M.recentlyCreatedOwnerStacks++;
268
268
  return u(
269
269
  k,
270
270
  G,
271
271
  Z,
272
272
  !0,
273
- ne,
273
+ re,
274
274
  oe,
275
275
  ie ? Error("react-stack-top-frame") : z,
276
276
  ie ? F(n(k)) : W
@@ -410,7 +410,7 @@ function te(e) {
410
410
  function Y(e) {
411
411
  return D(e)?.trim() ?? void 0;
412
412
  }
413
- function I(...e) {
413
+ function P(...e) {
414
414
  const r = [];
415
415
  for (const t of e) {
416
416
  if (Array.isArray(t)) {
@@ -482,8 +482,8 @@ function Br(e) {
482
482
  };
483
483
  }
484
484
  function gg() {
485
- const e = T(function({ node: t, context: n, className: o }) {
486
- const i = B(t.props, /* @__PURE__ */ new Set(["className"])), s = I(o, D(t.props?.className)), a = n.renderChildren(t.children ?? []);
485
+ const e = I(function({ node: t, context: n, className: o }) {
486
+ const i = B(t.props, /* @__PURE__ */ new Set(["className"])), s = P(o, D(t.props?.className)), a = n.renderChildren(t.children ?? []);
487
487
  return /* @__PURE__ */ f.jsx(L.div, { "data-ikon-node-id": t.id, className: s, ...i, children: a });
488
488
  });
489
489
  return (r) => {
@@ -492,12 +492,12 @@ function gg() {
492
492
  };
493
493
  }
494
494
  function mg() {
495
- const e = /* @__PURE__ */ new Set(["label", "disabled", "onInvokeId", "className"]), r = T(function({ node: n, context: o, className: i }) {
495
+ const e = /* @__PURE__ */ new Set(["label", "disabled", "onInvokeId", "className"]), r = I(function({ node: n, context: o, className: i }) {
496
496
  const s = D(n.props?.label), a = j(n.props?.disabled), l = { ...B(n.props, e) };
497
497
  a === !0 && (l.disabled = !0);
498
498
  const u = Ie(Y(n.props?.onInvokeId), o.dispatchAction);
499
499
  u && (l.onClick = u);
500
- const p = I("radix-button", i, D(n.props?.className)), h = [];
500
+ const p = P("radix-button", i, D(n.props?.className)), h = [];
501
501
  if (s !== void 0) {
502
502
  const x = zi(s, p);
503
503
  h.push(x);
@@ -534,10 +534,10 @@ function Rg() {
534
534
  "onCaptureStartId",
535
535
  "onCaptureStopId",
536
536
  "onInvokeId"
537
- ]), r = T(function({ node: n, context: o, className: i }) {
537
+ ]), r = I(function({ node: n, context: o, className: i }) {
538
538
  const s = D(n.props?.label), a = j(n.props?.disabled), l = { ...B(n.props, e) };
539
539
  a === !0 && (l.disabled = !0);
540
- const u = D(n.props?.captureKind) ?? "audio", p = D(n.props?.captureMode) ?? "hold", h = u === "camera" || u === "screen" ? u : "audio", v = p === "toggle" ? "toggle" : "hold", m = D(n.props?.captureOptionsJson), g = Y(n.props?.onCaptureStartId), x = Y(n.props?.onCaptureStopId), R = ue(null), y = ue(null), b = ue(!1), [C, w] = re(!1), E = ve(
540
+ const u = D(n.props?.captureKind) ?? "audio", p = D(n.props?.captureMode) ?? "hold", h = u === "camera" || u === "screen" ? u : "audio", v = p === "toggle" ? "toggle" : "hold", m = D(n.props?.captureOptionsJson), g = Y(n.props?.onCaptureStartId), x = Y(n.props?.onCaptureStopId), R = ue(null), y = ue(null), b = ue(!1), [C, w] = ne(!1), E = ve(
541
541
  ($, k) => {
542
542
  $ && o.dispatchAction($, k);
543
543
  },
@@ -562,7 +562,7 @@ function Rg() {
562
562
  const $ = yg(o), k = $?.mediaCapture;
563
563
  if (!$ || !k)
564
564
  return;
565
- const G = xg(m), Z = { userGesture: !0 }, ne = async () => {
565
+ const G = xg(m), Z = { userGesture: !0 }, re = async () => {
566
566
  if (h === "audio") {
567
567
  const U = G && typeof G == "object" ? G.constraints : void 0;
568
568
  return await k.audio.startMic({ ...Z, options: G, constraints: U });
@@ -575,7 +575,7 @@ function Rg() {
575
575
  return await k.video.startScreen({ ...Z, options: G, constraints: se });
576
576
  };
577
577
  b.current = !1;
578
- const oe = ne();
578
+ const oe = re();
579
579
  y.current = oe;
580
580
  let ie = null;
581
581
  try {
@@ -609,7 +609,7 @@ function Rg() {
609
609
  }
610
610
  },
611
611
  [a, v, N]
612
- ), P = ve(
612
+ ), T = ve(
613
613
  async ($) => {
614
614
  v === "hold" && ($.preventDefault(), await S());
615
615
  },
@@ -625,14 +625,14 @@ function Rg() {
625
625
  await N();
626
626
  }
627
627
  }, [R, a, v, N, S]);
628
- v === "hold" ? (l.onPointerDown = O, l.onPointerUp = P, l.onPointerCancel = M) : l.onClick = V;
628
+ v === "hold" ? (l.onPointerDown = O, l.onPointerUp = T, l.onPointerCancel = M) : l.onClick = V;
629
629
  const H = Ie(Y(n.props?.onInvokeId), o.dispatchAction);
630
630
  !l.onClick && H && (l.onClick = H);
631
631
  const F = [];
632
632
  s !== void 0 && F.push(s);
633
633
  const q = o.renderChildren(n.children ?? []);
634
634
  q != null && F.push(q);
635
- const K = I("radix-capture-button", i, D(n.props?.className), C ? "ikon-capture-active" : void 0);
635
+ const K = P("radix-capture-button", i, D(n.props?.className), C ? "ikon-capture-active" : void 0);
636
636
  K && (l.className = K);
637
637
  const z = { "data-ikon-node-id": n.id, "data-ikon-capture-kind": h, "data-ikon-capture-active": C ? "true" : "false" }, W = { appearance: "none", outline: "none" };
638
638
  return /* @__PURE__ */ f.jsx(L.button, { type: "button", style: W, ...l, ...z, children: F });
@@ -796,11 +796,11 @@ var Ng = "DismissableLayer", ui = "dismissableLayer.update", Ag = "dismissableLa
796
796
  onDismiss: a,
797
797
  ...c
798
798
  } = e, l = d.useContext(Lc), [u, p] = d.useState(null), h = u?.ownerDocument ?? globalThis?.document, [, v] = d.useState({}), m = X(r, (S) => p(S)), g = Array.from(l.layers), [x] = [...l.layersWithOutsidePointerEventsDisabled].slice(-1), R = g.indexOf(x), y = u ? g.indexOf(u) : -1, b = l.layersWithOutsidePointerEventsDisabled.size > 0, C = y >= R, w = _g((S) => {
799
- const N = S.target, O = [...l.branches].some((P) => P.contains(N));
799
+ const N = S.target, O = [...l.branches].some((T) => T.contains(N));
800
800
  !C || O || (o?.(S), s?.(S), S.defaultPrevented || a?.());
801
801
  }, h), E = Dg((S) => {
802
802
  const N = S.target;
803
- [...l.branches].some((P) => P.contains(N)) || (i?.(S), s?.(S), S.defaultPrevented || a?.());
803
+ [...l.branches].some((T) => T.contains(N)) || (i?.(S), s?.(S), S.defaultPrevented || a?.());
804
804
  }, h);
805
805
  return Tg((S) => {
806
806
  y === l.layers.size - 1 && (n?.(S), !S.defaultPrevented && a && (S.preventDefault(), a()));
@@ -1136,7 +1136,7 @@ function Xo(e, r) {
1136
1136
  return typeof e == "function" ? e(r) : e && (e.current = r), e;
1137
1137
  }
1138
1138
  function Zg(e, r) {
1139
- var t = re(function() {
1139
+ var t = ne(function() {
1140
1140
  return {
1141
1141
  // value
1142
1142
  value: e,
@@ -1512,8 +1512,8 @@ function Im(e) {
1512
1512
  var R = vn(g), y = t.current, b = "deltaX" in g ? g.deltaX : y[0] - R[0], C = "deltaY" in g ? g.deltaY : y[1] - R[1], w, E = g.target, S = Math.abs(b) > Math.abs(C) ? "h" : "v";
1513
1513
  if ("touches" in g && S === "h" && E.type === "range")
1514
1514
  return !1;
1515
- var N = window.getSelection(), O = N && N.anchorNode, P = O ? O === E || O.contains(E) : !1;
1516
- if (P)
1515
+ var N = window.getSelection(), O = N && N.anchorNode, T = O ? O === E || O.contains(E) : !1;
1516
+ if (T)
1517
1517
  return !1;
1518
1518
  var M = Wa(S, E);
1519
1519
  if (!M)
@@ -1954,16 +1954,16 @@ var Zm = [
1954
1954
  vl.displayName = ex;
1955
1955
  var Kr = vl;
1956
1956
  function tx() {
1957
- const e = T(function({ node: t, context: n, className: o }) {
1958
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.modal), [c, l] = re(s ?? !1), u = i !== void 0, p = u ? !!i : c;
1957
+ const e = I(function({ node: t, context: n, className: o }) {
1958
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.modal), [c, l] = ne(s ?? !1), u = i !== void 0, p = u ? !!i : c;
1959
1959
  he(() => {
1960
1960
  !u && s !== void 0 && l(s);
1961
1961
  }, [s, u]);
1962
- const h = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), v = (P) => {
1963
- u || l(P), h?.(P);
1964
- }, { defaultChildren: m, slotChildren: g } = Br(t), x = g.get("trigger") ?? [], R = g.get("content") ?? [], y = x.length > 0 || R.length > 0, b = m.some((P) => P.type?.startsWith("radix-dialog-") && P.type !== "radix-dialog");
1962
+ const h = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), v = (T) => {
1963
+ u || l(T), h?.(T);
1964
+ }, { defaultChildren: m, slotChildren: g } = Br(t), x = g.get("trigger") ?? [], R = g.get("content") ?? [], y = x.length > 0 || R.length > 0, b = m.some((T) => T.type?.startsWith("radix-dialog-") && T.type !== "radix-dialog");
1965
1965
  if (!y && b) {
1966
- const P = n.renderChildren(t.children ?? []), M = I("radix-dialog", o, D(t.props?.className)), V = B(
1966
+ const T = n.renderChildren(t.children ?? []), M = P("radix-dialog", o, D(t.props?.className)), V = B(
1967
1967
  t.props,
1968
1968
  /* @__PURE__ */ new Set(["open", "defaultOpen", "modal", "onOpenChangeId", "overlayStyleIds", "contentStyleIds", "className"])
1969
1969
  );
@@ -1974,13 +1974,13 @@ function tx() {
1974
1974
  "data-ikon-node-id": t.id,
1975
1975
  className: M,
1976
1976
  "data-state": p ? "open" : "closed",
1977
- children: /* @__PURE__ */ f.jsx(pi, { open: u ? i : void 0, defaultOpen: s, modal: a !== !1, onOpenChange: v, children: P })
1977
+ children: /* @__PURE__ */ f.jsx(pi, { open: u ? i : void 0, defaultOpen: s, modal: a !== !1, onOpenChange: v, children: T })
1978
1978
  }
1979
1979
  );
1980
1980
  }
1981
1981
  const C = x.length > 0 ? n.renderChildren(x) : void 0, w = [];
1982
1982
  R.length > 0 && w.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(R) }, "content")), m.length > 0 && w.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(m) }, "default"));
1983
- const E = I("radix-dialog", o, D(t.props?.className)), S = I("radix-dialog__overlay", A(t.props?.overlayStyleIds)), N = I("radix-dialog__content", A(t.props?.contentStyleIds)), O = B(
1983
+ const E = P("radix-dialog", o, D(t.props?.className)), S = P("radix-dialog__overlay", A(t.props?.overlayStyleIds)), N = P("radix-dialog__content", A(t.props?.contentStyleIds)), O = B(
1984
1984
  t.props,
1985
1985
  /* @__PURE__ */ new Set(["open", "defaultOpen", "modal", "onOpenChangeId", "overlayStyleIds", "contentStyleIds", "className"])
1986
1986
  );
@@ -2018,8 +2018,8 @@ function tx() {
2018
2018
  };
2019
2019
  }
2020
2020
  function rx() {
2021
- const e = /* @__PURE__ */ new Set(["content", "level", "className"]), r = T(function({ node: n, context: o, className: i }) {
2022
- const s = D(n.props?.content), a = te(n.props?.level), c = a !== void 0 && a >= 1 && a <= 6 ? a : 1, l = B(n.props, e), u = I("radix-heading", i, D(n.props?.className)), p = [];
2021
+ const e = /* @__PURE__ */ new Set(["content", "level", "className"]), r = I(function({ node: n, context: o, className: i }) {
2022
+ const s = D(n.props?.content), a = te(n.props?.level), c = a !== void 0 && a >= 1 && a <= 6 ? a : 1, l = B(n.props, e), u = P("radix-heading", i, D(n.props?.className)), p = [];
2023
2023
  if (s !== void 0) {
2024
2024
  const m = zi(s, u);
2025
2025
  p.push(m);
@@ -2038,8 +2038,8 @@ function rx() {
2038
2038
  };
2039
2039
  }
2040
2040
  function nx() {
2041
- const e = /* @__PURE__ */ new Set(["name", "className"]), r = T(function({ node: n, context: o, className: i }) {
2042
- const s = D(n.props?.name), a = B(n.props, e), { ["aria-hidden"]: c, ...l } = a, u = typeof c == "boolean" || c === "true" || c === "false" ? c : !0, p = I("radix-icon", i, D(n.props?.className)), h = o.renderChildren(n.children ?? []), v = h ?? s ?? null;
2041
+ const e = /* @__PURE__ */ new Set(["name", "className"]), r = I(function({ node: n, context: o, className: i }) {
2042
+ const s = D(n.props?.name), a = B(n.props, e), { ["aria-hidden"]: c, ...l } = a, u = typeof c == "boolean" || c === "true" || c === "false" ? c : !0, p = P("radix-icon", i, D(n.props?.className)), h = o.renderChildren(n.children ?? []), v = h ?? s ?? null;
2043
2043
  return /* @__PURE__ */ f.jsx(
2044
2044
  "span",
2045
2045
  {
@@ -2058,12 +2058,12 @@ function nx() {
2058
2058
  };
2059
2059
  }
2060
2060
  function ox() {
2061
- const e = /* @__PURE__ */ new Set(["label", "disabled", "onInvokeId", "className"]), r = T(function({ node: n, context: o, className: i }) {
2061
+ const e = /* @__PURE__ */ new Set(["label", "disabled", "onInvokeId", "className"]), r = I(function({ node: n, context: o, className: i }) {
2062
2062
  const s = D(n.props?.label), a = j(n.props?.disabled), l = { ...B(n.props, e) };
2063
2063
  a !== void 0 && (l.disabled = a), s && (l["aria-label"] = s);
2064
2064
  const u = Ie(Y(n.props?.onInvokeId), o.dispatchAction);
2065
2065
  u && (l.onClick = u);
2066
- const p = I("radix-icon-button", i, D(n.props?.className));
2066
+ const p = P("radix-icon-button", i, D(n.props?.className));
2067
2067
  p && (l.className = p);
2068
2068
  const h = { "data-ikon-node-id": n.id }, v = o.renderChildren(n.children ?? []), m = v ?? null, g = { appearance: "none", outline: "none", border: "none", boxShadow: "none" };
2069
2069
  return /* @__PURE__ */ f.jsx(L.button, { type: "button", style: g, ...l, ...h, children: m });
@@ -2357,7 +2357,7 @@ const mx = (e) => ({
2357
2357
  }, v = os(o), m = ns(v), g = await s.getDimensions(l), x = v === "y", R = x ? "top" : "left", y = x ? "bottom" : "right", b = x ? "clientHeight" : "clientWidth", C = i.reference[m] + i.reference[v] - h[v] - i.floating[m], w = h[v] - i.reference[v], E = await (s.getOffsetParent == null ? void 0 : s.getOffsetParent(l));
2358
2358
  let S = E ? E[b] : 0;
2359
2359
  (!S || !await (s.isElement == null ? void 0 : s.isElement(E))) && (S = a.floating[b] || i.floating[m]);
2360
- const N = C / 2 - w / 2, O = S / 2 - g[m] / 2 - 1, P = Et(p[R], O), M = Et(p[y], O), V = P, H = S - g[m] - M, F = S / 2 - g[m] / 2 + N, q = hi(V, F, H), K = !c.arrow && ar(o) != null && F !== q && i.reference[m] / 2 - (F < V ? P : M) - g[m] / 2 < 0, z = K ? F < V ? F - V : F - H : 0;
2360
+ const N = C / 2 - w / 2, O = S / 2 - g[m] / 2 - 1, T = Et(p[R], O), M = Et(p[y], O), V = T, H = S - g[m] - M, F = S / 2 - g[m] / 2 + N, q = hi(V, F, H), K = !c.arrow && ar(o) != null && F !== q && i.reference[m] / 2 - (F < V ? T : M) - g[m] / 2 < 0, z = K ? F < V ? F - V : F - H : 0;
2361
2361
  return {
2362
2362
  [v]: h[v] + z,
2363
2363
  data: {
@@ -2397,12 +2397,12 @@ const mx = (e) => ({
2397
2397
  const R = ft(o), y = nt(a), b = ft(a) === a, C = await (c.isRTL == null ? void 0 : c.isRTL(l.floating)), w = h || (b || !g ? [Dn(a)] : dx(a)), E = m !== "none";
2398
2398
  !h && E && w.push(...hx(a, g, m, C));
2399
2399
  const S = [a, ...w], N = await Mr(r, x), O = [];
2400
- let P = ((n = i.flip) == null ? void 0 : n.overflows) || [];
2400
+ let T = ((n = i.flip) == null ? void 0 : n.overflows) || [];
2401
2401
  if (u && O.push(N[R]), p) {
2402
2402
  const F = lx(o, s, C);
2403
2403
  O.push(N[F[0]], N[F[1]]);
2404
2404
  }
2405
- if (P = [...P, {
2405
+ if (T = [...T, {
2406
2406
  placement: o,
2407
2407
  overflows: O
2408
2408
  }], !O.every((F) => F <= 0)) {
@@ -2410,22 +2410,22 @@ const mx = (e) => ({
2410
2410
  const F = (((M = i.flip) == null ? void 0 : M.index) || 0) + 1, q = S[F];
2411
2411
  if (q && (!(p === "alignment" ? y !== nt(q) : !1) || // We leave the current main axis only if every placement on that axis
2412
2412
  // overflows the main axis.
2413
- P.every((W) => nt(W.placement) === y ? W.overflows[0] > 0 : !0)))
2413
+ T.every((W) => nt(W.placement) === y ? W.overflows[0] > 0 : !0)))
2414
2414
  return {
2415
2415
  data: {
2416
2416
  index: F,
2417
- overflows: P
2417
+ overflows: T
2418
2418
  },
2419
2419
  reset: {
2420
2420
  placement: q
2421
2421
  }
2422
2422
  };
2423
- let K = (V = P.filter((z) => z.overflows[0] <= 0).sort((z, W) => z.overflows[1] - W.overflows[1])[0]) == null ? void 0 : V.placement;
2423
+ let K = (V = T.filter((z) => z.overflows[0] <= 0).sort((z, W) => z.overflows[1] - W.overflows[1])[0]) == null ? void 0 : V.placement;
2424
2424
  if (!K)
2425
2425
  switch (v) {
2426
2426
  case "bestFit": {
2427
2427
  var H;
2428
- const z = (H = P.filter((W) => {
2428
+ const z = (H = T.filter((W) => {
2429
2429
  if (E) {
2430
2430
  const $ = nt(W.placement);
2431
2431
  return $ === y || // Create a bias to the `y` side axis due to horizontal
@@ -2676,8 +2676,8 @@ const bx = function(e) {
2676
2676
  const y = g - u.top - u.bottom, b = m - u.left - u.right, C = Et(g - u[x], y), w = Et(m - u[R], b), E = !r.middlewareData.shift;
2677
2677
  let S = C, N = w;
2678
2678
  if ((t = r.middlewareData.shift) != null && t.enabled.x && (N = b), (n = r.middlewareData.shift) != null && n.enabled.y && (S = y), E && !h) {
2679
- const P = _e(u.left, 0), M = _e(u.right, 0), V = _e(u.top, 0), H = _e(u.bottom, 0);
2680
- v ? N = m - 2 * (P !== 0 || M !== 0 ? P + M : _e(u.left, u.right)) : S = g - 2 * (V !== 0 || H !== 0 ? V + H : _e(u.top, u.bottom));
2679
+ const T = _e(u.left, 0), M = _e(u.right, 0), V = _e(u.top, 0), H = _e(u.bottom, 0);
2680
+ v ? N = m - 2 * (T !== 0 || M !== 0 ? T + M : _e(u.left, u.right)) : S = g - 2 * (V !== 0 || H !== 0 ? V + H : _e(u.top, u.bottom));
2681
2681
  }
2682
2682
  await c({
2683
2683
  ...r,
@@ -3265,7 +3265,7 @@ function sy(e) {
3265
3265
  W !== E.current && (E.current = W, g(W));
3266
3266
  }, []), b = d.useCallback((W) => {
3267
3267
  W !== S.current && (S.current = W, R(W));
3268
- }, []), C = i || m, w = s || x, E = d.useRef(null), S = d.useRef(null), N = d.useRef(u), O = c != null, P = ei(c), M = ei(o), V = ei(l), H = d.useCallback(() => {
3268
+ }, []), C = i || m, w = s || x, E = d.useRef(null), S = d.useRef(null), N = d.useRef(u), O = c != null, T = ei(c), M = ei(o), V = ei(l), H = d.useCallback(() => {
3269
3269
  if (!E.current || !S.current)
3270
3270
  return;
3271
3271
  const W = {
@@ -3298,11 +3298,11 @@ function sy(e) {
3298
3298
  F.current = !1;
3299
3299
  }), []), In(() => {
3300
3300
  if (C && (E.current = C), w && (S.current = w), C && w) {
3301
- if (P.current)
3302
- return P.current(C, w, H);
3301
+ if (T.current)
3302
+ return T.current(C, w, H);
3303
3303
  H();
3304
3304
  }
3305
- }, [C, w, H, P, O]);
3305
+ }, [C, w, H, T, O]);
3306
3306
  const q = d.useMemo(() => ({
3307
3307
  reference: E,
3308
3308
  floating: S,
@@ -3454,8 +3454,8 @@ var ls = "PopperContent", [xy, yy] = Tl(ls), _l = d.forwardRef(
3454
3454
  updatePositionStrategy: v = "optimized",
3455
3455
  onPlaced: m,
3456
3456
  ...g
3457
- } = e, x = Nl(ls, t), [R, y] = d.useState(null), b = X(r, (U) => y(U)), [C, w] = d.useState(null), E = Ur(C), S = E?.width ?? 0, N = E?.height ?? 0, O = n + (i !== "center" ? "-" + i : ""), P = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, M = Array.isArray(l) ? l : [l], V = M.length > 0, H = {
3458
- padding: P,
3457
+ } = e, x = Nl(ls, t), [R, y] = d.useState(null), b = X(r, (U) => y(U)), [C, w] = d.useState(null), E = Ur(C), S = E?.width ?? 0, N = E?.height ?? 0, O = n + (i !== "center" ? "-" + i : ""), T = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, M = Array.isArray(l) ? l : [l], V = M.length > 0, H = {
3458
+ padding: T,
3459
3459
  boundary: M.filter(by),
3460
3460
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
3461
3461
  altBoundary: V
@@ -3493,7 +3493,7 @@ var ls = "PopperContent", [xy, yy] = Tl(ls), _l = d.forwardRef(
3493
3493
  fe(() => {
3494
3494
  z && G?.();
3495
3495
  }, [z, G]);
3496
- const Z = W.arrow?.x, ne = W.arrow?.y, oe = W.arrow?.centerOffset !== 0, [ie, se] = d.useState();
3496
+ const Z = W.arrow?.x, re = W.arrow?.y, oe = W.arrow?.centerOffset !== 0, [ie, se] = d.useState();
3497
3497
  return fe(() => {
3498
3498
  R && se(window.getComputedStyle(R).zIndex);
3499
3499
  }, [R]), /* @__PURE__ */ f.jsx(
@@ -3527,7 +3527,7 @@ var ls = "PopperContent", [xy, yy] = Tl(ls), _l = d.forwardRef(
3527
3527
  placedSide: $,
3528
3528
  onArrowChange: w,
3529
3529
  arrowX: Z,
3530
- arrowY: ne,
3530
+ arrowY: re,
3531
3531
  shouldHideArrow: oe,
3532
3532
  children: /* @__PURE__ */ f.jsx(
3533
3533
  L.div,
@@ -3844,8 +3844,8 @@ function Ly(e) {
3844
3844
  return r && ky.includes(r) ? r : void 0;
3845
3845
  }
3846
3846
  function Fy() {
3847
- const e = T(function({ node: t, context: n, className: o }) {
3848
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.modal), c = jy(t.props?.side), l = Ly(t.props?.align), u = te(t.props?.sideOffset), p = te(t.props?.alignOffset), [h, v] = re(s ?? !1), m = i !== void 0, g = m ? !!i : h;
3847
+ const e = I(function({ node: t, context: n, className: o }) {
3848
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.modal), c = jy(t.props?.side), l = Ly(t.props?.align), u = te(t.props?.sideOffset), p = te(t.props?.alignOffset), [h, v] = ne(s ?? !1), m = i !== void 0, g = m ? !!i : h;
3849
3849
  he(() => {
3850
3850
  !m && s !== void 0 && v(s);
3851
3851
  }, [s, m]);
@@ -3853,7 +3853,7 @@ function Fy() {
3853
3853
  m || v(H), x?.(H);
3854
3854
  }, { defaultChildren: y, slotChildren: b } = Br(t), C = b.get("trigger") ?? [], w = b.get("content") ?? [], E = C.length > 0 || w.length > 0, S = y.some((H) => H.type?.startsWith("radix-popover-") && H.type !== "radix-popover");
3855
3855
  if (!E && S) {
3856
- const H = n.renderChildren(t.children ?? []), F = I("radix-popover", o, D(t.props?.className)), q = B(
3856
+ const H = n.renderChildren(t.children ?? []), F = P("radix-popover", o, D(t.props?.className)), q = B(
3857
3857
  t.props,
3858
3858
  /* @__PURE__ */ new Set([
3859
3859
  "open",
@@ -3890,7 +3890,7 @@ function Fy() {
3890
3890
  }
3891
3891
  const N = C.length > 0 ? n.renderChildren(C) : void 0, O = [];
3892
3892
  w.length > 0 && O.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(w) }, "content")), y.length > 0 && O.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(y) }, "default"));
3893
- const P = I("radix-popover", o, D(t.props?.className)), M = I("radix-popover__content", A(t.props?.contentStyleIds)), V = B(
3893
+ const T = P("radix-popover", o, D(t.props?.className)), M = P("radix-popover__content", A(t.props?.contentStyleIds)), V = B(
3894
3894
  t.props,
3895
3895
  /* @__PURE__ */ new Set([
3896
3896
  "open",
@@ -3910,7 +3910,7 @@ function Fy() {
3910
3910
  {
3911
3911
  ...V,
3912
3912
  "data-ikon-node-id": t.id,
3913
- className: P,
3913
+ className: T,
3914
3914
  "data-state": g ? "open" : "closed",
3915
3915
  children: /* @__PURE__ */ f.jsxs(
3916
3916
  nc,
@@ -3945,8 +3945,8 @@ function Fy() {
3945
3945
  };
3946
3946
  }
3947
3947
  function $y() {
3948
- const e = T(function({ node: t, context: n, className: o }) {
3949
- const i = D(t.props?.content), s = B(t.props, /* @__PURE__ */ new Set(["className"])), a = I(o, D(t.props?.className)), c = [];
3948
+ const e = I(function({ node: t, context: n, className: o }) {
3949
+ const i = D(t.props?.content), s = B(t.props, /* @__PURE__ */ new Set(["className"])), a = P(o, D(t.props?.className)), c = [];
3950
3950
  if (i !== void 0) {
3951
3951
  const u = zi(i, a);
3952
3952
  c.push(u);
@@ -3960,7 +3960,7 @@ function $y() {
3960
3960
  };
3961
3961
  }
3962
3962
  function Vy() {
3963
- const e = /* @__PURE__ */ new Set(["value", "defaultValue", "placeholder", "disabled", "rows", "onValueChangeId", "onInvokeId", "className"]), r = T(function({ node: n, context: o, className: i }) {
3963
+ const e = /* @__PURE__ */ new Set(["value", "defaultValue", "placeholder", "disabled", "rows", "onValueChangeId", "onInvokeId", "className"]), r = I(function({ node: n, context: o, className: i }) {
3964
3964
  const s = D(n.props?.value), a = D(n.props?.defaultValue), c = D(n.props?.placeholder), l = j(n.props?.disabled), u = te(n.props?.rows), h = { ...B(n.props, e) };
3965
3965
  s !== void 0 ? h.value = s : a !== void 0 && (h.defaultValue = a), c && (h.placeholder = c), l !== void 0 && (h.disabled = l), u !== void 0 && (h.rows = u);
3966
3966
  const v = $e(Y(n.props?.onValueChangeId), o.dispatchAction), m = Ie(Y(n.props?.onInvokeId), o.dispatchAction);
@@ -3969,7 +3969,7 @@ function Vy() {
3969
3969
  }), m && (h.onKeyDown = (y) => {
3970
3970
  y.key !== "Enter" || y.shiftKey || y.altKey || y.metaKey || y.nativeEvent.isComposing || (y.preventDefault(), m());
3971
3971
  });
3972
- const g = I("radix-text-area", i, D(n.props?.className));
3972
+ const g = P("radix-text-area", i, D(n.props?.className));
3973
3973
  g && (h.className = g);
3974
3974
  const x = { "data-ikon-node-id": n.id }, R = { appearance: "none", outline: "none" };
3975
3975
  return /* @__PURE__ */ f.jsx("textarea", { style: R, ...h, ...x });
@@ -3980,14 +3980,14 @@ function Vy() {
3980
3980
  };
3981
3981
  }
3982
3982
  function By() {
3983
- const e = /* @__PURE__ */ new Set(["value", "defaultValue", "placeholder", "disabled", "type", "onValueChangeId", "className"]), r = T(function({ node: n, context: o, className: i }) {
3983
+ const e = /* @__PURE__ */ new Set(["value", "defaultValue", "placeholder", "disabled", "type", "onValueChangeId", "className"]), r = I(function({ node: n, context: o, className: i }) {
3984
3984
  const s = D(n.props?.value), a = D(n.props?.defaultValue), c = D(n.props?.placeholder), l = j(n.props?.disabled), u = D(n.props?.type), h = { ...B(n.props, e) };
3985
3985
  s !== void 0 ? h.value = s : a !== void 0 && (h.defaultValue = a), c && (h.placeholder = c), l !== void 0 && (h.disabled = l), u && (h.type = u);
3986
3986
  const v = $e(Y(n.props?.onValueChangeId), o.dispatchAction);
3987
3987
  v && (h.onChange = (R) => {
3988
3988
  v(R?.target?.value ?? "");
3989
3989
  });
3990
- const m = I("radix-text-field", i, D(n.props?.className));
3990
+ const m = P("radix-text-field", i, D(n.props?.className));
3991
3991
  m && (h.className = m);
3992
3992
  const g = { "data-ikon-node-id": n.id }, x = { appearance: "none", outline: "none" };
3993
3993
  return /* @__PURE__ */ f.jsx(L.input, { style: x, ...h, ...g });
@@ -3998,8 +3998,8 @@ function By() {
3998
3998
  };
3999
3999
  }
4000
4000
  function Hy() {
4001
- const e = T(function({ node: t, context: n, className: o }) {
4002
- const i = D(t.props?.appearance), s = D(t.props?.accentColor), a = D(t.props?.grayColor), c = D(t.props?.radius), l = D(t.props?.scaling), u = D(t.props?.panelBackground), p = n.renderChildren(t.children ?? []), h = I("radix-theme", o, D(t.props?.className)), v = {
4001
+ const e = I(function({ node: t, context: n, className: o }) {
4002
+ const i = D(t.props?.appearance), s = D(t.props?.accentColor), a = D(t.props?.grayColor), c = D(t.props?.radius), l = D(t.props?.scaling), u = D(t.props?.panelBackground), p = n.renderChildren(t.children ?? []), h = P("radix-theme", o, D(t.props?.className)), v = {
4003
4003
  ...B(t.props, /* @__PURE__ */ new Set(["appearance", "accentColor", "grayColor", "radius", "scaling", "panelBackground", "className"])),
4004
4004
  "data-ikon-node-id": t.id,
4005
4005
  ...h ? { className: h } : {}
@@ -4361,8 +4361,8 @@ function fR(e) {
4361
4361
  return r && dR.includes(r) ? r : void 0;
4362
4362
  }
4363
4363
  function pR() {
4364
- const e = T(function({ node: t, context: n, className: o }) {
4365
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = te(t.props?.delayDuration), c = te(t.props?.skipDelayDuration), l = uR(t.props?.side), u = fR(t.props?.align), p = te(t.props?.sideOffset), h = te(t.props?.alignOffset), [v, m] = re(s ?? !1), g = i !== void 0, x = g ? !!i : v;
4364
+ const e = I(function({ node: t, context: n, className: o }) {
4365
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = te(t.props?.delayDuration), c = te(t.props?.skipDelayDuration), l = uR(t.props?.side), u = fR(t.props?.align), p = te(t.props?.sideOffset), h = te(t.props?.alignOffset), [v, m] = ne(s ?? !1), g = i !== void 0, x = g ? !!i : v;
4366
4366
  he(() => {
4367
4367
  !g && s !== void 0 && m(s);
4368
4368
  }, [s, g]);
@@ -4370,7 +4370,7 @@ function pR() {
4370
4370
  g || m(F), R?.(F);
4371
4371
  }, { defaultChildren: b, slotChildren: C } = Br(t), w = C.get("trigger") ?? [], E = C.get("content") ?? [], S = w.length > 0 || E.length > 0, N = b.some((F) => F.type?.startsWith("radix-tooltip-") && F.type !== "radix-tooltip");
4372
4372
  if (!S && N) {
4373
- const F = n.renderChildren(t.children ?? []), q = I("radix-tooltip", o, D(t.props?.className)), K = B(
4373
+ const F = n.renderChildren(t.children ?? []), q = P("radix-tooltip", o, D(t.props?.className)), K = B(
4374
4374
  t.props,
4375
4375
  /* @__PURE__ */ new Set([
4376
4376
  "open",
@@ -4397,10 +4397,10 @@ function pR() {
4397
4397
  }
4398
4398
  );
4399
4399
  }
4400
- const O = w.length > 0 ? n.renderChildren(w) : void 0, P = [];
4401
- if (E.length > 0 && P.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(E) }, "content")), b.length > 0 && P.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(b) }, "default")), !O)
4400
+ const O = w.length > 0 ? n.renderChildren(w) : void 0, T = [];
4401
+ if (E.length > 0 && T.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(E) }, "content")), b.length > 0 && T.push(/* @__PURE__ */ f.jsx(tr, { children: n.renderChildren(b) }, "default")), !O)
4402
4402
  return null;
4403
- const M = I("radix-tooltip__content", A(t.props?.contentStyleIds)), V = I("radix-tooltip", o, D(t.props?.className)), H = B(
4403
+ const M = P("radix-tooltip__content", A(t.props?.contentStyleIds)), V = P("radix-tooltip", o, D(t.props?.className)), H = B(
4404
4404
  t.props,
4405
4405
  /* @__PURE__ */ new Set([
4406
4406
  "open",
@@ -4433,7 +4433,7 @@ function pR() {
4433
4433
  align: u,
4434
4434
  sideOffset: p,
4435
4435
  alignOffset: h,
4436
- children: P
4436
+ children: T
4437
4437
  }
4438
4438
  ) })
4439
4439
  ] }) })
@@ -4557,8 +4557,8 @@ var RR = d.forwardRef((e, r) => {
4557
4557
  onFocus: _(e.onFocus, (N) => {
4558
4558
  const O = !w.current;
4559
4559
  if (N.target === N.currentTarget && O && !R) {
4560
- const P = new CustomEvent(ti, vR);
4561
- if (N.currentTarget.dispatchEvent(P), !P.defaultPrevented) {
4560
+ const T = new CustomEvent(ti, vR);
4561
+ if (N.currentTarget.dispatchEvent(T), !T.defaultPrevented) {
4562
4562
  const M = C().filter((K) => K.focusable), V = M.find((K) => K.active), H = M.find((K) => K.id === g), q = [V, H, ...M].filter(
4563
4563
  Boolean
4564
4564
  ).map((K) => K.ref.current);
@@ -4801,10 +4801,10 @@ function Ad(e, r) {
4801
4801
  }
4802
4802
  var IR = Cd, TR = Sd, NR = Pd, AR = Td;
4803
4803
  function MR() {
4804
- const e = T(function({ node: t, context: n, className: o }) {
4805
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.orientation), c = D(t.props?.activationMode), [l, u] = re(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
4804
+ const e = I(function({ node: t, context: n, className: o }) {
4805
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.orientation), c = D(t.props?.activationMode), [l, u] = ne(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
4806
4806
  p || u(y), v?.(y);
4807
- }, g = I("radix-tabs", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "orientation", "activationMode", "onValueChangeId"]));
4807
+ }, g = P("radix-tabs", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "orientation", "activationMode", "onValueChangeId"]));
4808
4808
  return /* @__PURE__ */ f.jsx(
4809
4809
  IR,
4810
4810
  {
@@ -4826,8 +4826,8 @@ function MR() {
4826
4826
  };
4827
4827
  }
4828
4828
  function OR() {
4829
- const e = T(function({ node: t, context: n, className: o }) {
4830
- const i = j(t.props?.loop), s = I("radix-tabs-list", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["loop"]));
4829
+ const e = I(function({ node: t, context: n, className: o }) {
4830
+ const i = j(t.props?.loop), s = P("radix-tabs-list", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["loop"]));
4831
4831
  return /* @__PURE__ */ f.jsx(
4832
4832
  TR,
4833
4833
  {
@@ -4845,8 +4845,8 @@ function OR() {
4845
4845
  };
4846
4846
  }
4847
4847
  function _R() {
4848
- const e = T(function({ node: t, context: n, className: o }) {
4849
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-tabs-trigger", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none", border: "none", boxShadow: "none" };
4848
+ const e = I(function({ node: t, context: n, className: o }) {
4849
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-tabs-trigger", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none", border: "none", boxShadow: "none" };
4850
4850
  return /* @__PURE__ */ f.jsx(
4851
4851
  NR,
4852
4852
  {
@@ -4866,8 +4866,8 @@ function _R() {
4866
4866
  };
4867
4867
  }
4868
4868
  function DR() {
4869
- const e = T(function({ node: t, context: n, className: o }) {
4870
- const i = D(t.props?.value) ?? "", s = j(t.props?.forceMount), a = I("radix-tabs-content", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "forceMount"]));
4869
+ const e = I(function({ node: t, context: n, className: o }) {
4870
+ const i = D(t.props?.value) ?? "", s = j(t.props?.forceMount), a = P("radix-tabs-content", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "forceMount"]));
4871
4871
  return /* @__PURE__ */ f.jsx(
4872
4872
  AR,
4873
4873
  {
@@ -5198,10 +5198,10 @@ function Xd(e) {
5198
5198
  }
5199
5199
  var qd = $d, zR = Wd, YR = Gd, XR = Ud, qR = Yd;
5200
5200
  function ZR() {
5201
- const e = T(function({ node: t, context: n, className: o }) {
5202
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.collapsible), c = D(t.props?.orientation), l = j(t.props?.disabled), [u, p] = re(s ?? ""), h = i !== void 0, v = h ? i : u, m = $e(Y(t.props?.onValueChangeId), n.dispatchAction), g = (b) => {
5201
+ const e = I(function({ node: t, context: n, className: o }) {
5202
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.collapsible), c = D(t.props?.orientation), l = j(t.props?.disabled), [u, p] = ne(s ?? ""), h = i !== void 0, v = h ? i : u, m = $e(Y(t.props?.onValueChangeId), n.dispatchAction), g = (b) => {
5203
5203
  h || p(b), m?.(b);
5204
- }, x = I("radix-accordion", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "collapsible", "orientation", "disabled", "onValueChangeId"]));
5204
+ }, x = P("radix-accordion", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "collapsible", "orientation", "disabled", "onValueChangeId"]));
5205
5205
  return /* @__PURE__ */ f.jsx(
5206
5206
  qd,
5207
5207
  {
@@ -5225,10 +5225,10 @@ function ZR() {
5225
5225
  };
5226
5226
  }
5227
5227
  function JR() {
5228
- const e = T(function({ node: t, context: n, className: o }) {
5229
- const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = D(t.props?.orientation), l = j(t.props?.disabled), [u, p] = re(a ?? []), h = Array.isArray(i), v = h ? s ?? [] : u, m = Y(t.props?.onValuesChangeId), g = (b) => {
5228
+ const e = I(function({ node: t, context: n, className: o }) {
5229
+ const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = D(t.props?.orientation), l = j(t.props?.disabled), [u, p] = ne(a ?? []), h = Array.isArray(i), v = h ? s ?? [] : u, m = Y(t.props?.onValuesChangeId), g = (b) => {
5230
5230
  h || p(b), m && n.dispatchAction(m, b);
5231
- }, x = I("radix-accordion", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "orientation", "disabled", "onValuesChangeId"]));
5231
+ }, x = P("radix-accordion", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "orientation", "disabled", "onValuesChangeId"]));
5232
5232
  return /* @__PURE__ */ f.jsx(
5233
5233
  qd,
5234
5234
  {
@@ -5251,8 +5251,8 @@ function JR() {
5251
5251
  };
5252
5252
  }
5253
5253
  function QR() {
5254
- const e = T(function({ node: t, context: n, className: o }) {
5255
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-accordion-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"]));
5254
+ const e = I(function({ node: t, context: n, className: o }) {
5255
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-accordion-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"]));
5256
5256
  return /* @__PURE__ */ f.jsx(
5257
5257
  zR,
5258
5258
  {
@@ -5271,8 +5271,8 @@ function QR() {
5271
5271
  };
5272
5272
  }
5273
5273
  function eb() {
5274
- const e = T(function({ node: t, context: n, className: o }) {
5275
- const i = I("radix-accordion-header", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
5274
+ const e = I(function({ node: t, context: n, className: o }) {
5275
+ const i = P("radix-accordion-header", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
5276
5276
  return /* @__PURE__ */ f.jsx(
5277
5277
  YR,
5278
5278
  {
@@ -5289,8 +5289,8 @@ function eb() {
5289
5289
  };
5290
5290
  }
5291
5291
  function tb() {
5292
- const e = T(function({ node: t, context: n, className: o }) {
5293
- const i = I("radix-accordion-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set()), c = { appearance: "none", outline: "none" };
5292
+ const e = I(function({ node: t, context: n, className: o }) {
5293
+ const i = P("radix-accordion-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set()), c = { appearance: "none", outline: "none" };
5294
5294
  return /* @__PURE__ */ f.jsx(
5295
5295
  XR,
5296
5296
  {
@@ -5308,8 +5308,8 @@ function tb() {
5308
5308
  };
5309
5309
  }
5310
5310
  function rb() {
5311
- const e = T(function({ node: t, context: n, className: o }) {
5312
- const i = j(t.props?.forceMount), s = I("radix-accordion-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
5311
+ const e = I(function({ node: t, context: n, className: o }) {
5312
+ const i = j(t.props?.forceMount), s = P("radix-accordion-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
5313
5313
  return /* @__PURE__ */ f.jsx(
5314
5314
  qR,
5315
5315
  {
@@ -5327,10 +5327,10 @@ function rb() {
5327
5327
  };
5328
5328
  }
5329
5329
  function nb() {
5330
- const e = T(function({ node: t, context: n, className: o }) {
5331
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.disabled), [c, l] = re(s ?? !1), u = i !== void 0, p = u ? i : c, h = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), v = (R) => {
5330
+ const e = I(function({ node: t, context: n, className: o }) {
5331
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = j(t.props?.disabled), [c, l] = ne(s ?? !1), u = i !== void 0, p = u ? i : c, h = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), v = (R) => {
5332
5332
  u || l(R), h?.(R);
5333
- }, m = I("radix-collapsible", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "disabled", "onOpenChangeId"]));
5333
+ }, m = P("radix-collapsible", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "disabled", "onOpenChangeId"]));
5334
5334
  return /* @__PURE__ */ f.jsx(
5335
5335
  jd,
5336
5336
  {
@@ -5351,8 +5351,8 @@ function nb() {
5351
5351
  };
5352
5352
  }
5353
5353
  function ob() {
5354
- const e = T(function({ node: t, context: n, className: o }) {
5355
- const i = I("radix-collapsible-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set()), c = { appearance: "none", outline: "none" };
5354
+ const e = I(function({ node: t, context: n, className: o }) {
5355
+ const i = P("radix-collapsible-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set()), c = { appearance: "none", outline: "none" };
5356
5356
  return /* @__PURE__ */ f.jsx(
5357
5357
  Ld,
5358
5358
  {
@@ -5370,8 +5370,8 @@ function ob() {
5370
5370
  };
5371
5371
  }
5372
5372
  function ib() {
5373
- const e = T(function({ node: t, context: n, className: o }) {
5374
- const i = j(t.props?.forceMount), s = I("radix-collapsible-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
5373
+ const e = I(function({ node: t, context: n, className: o }) {
5374
+ const i = j(t.props?.forceMount), s = P("radix-collapsible-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
5375
5375
  return /* @__PURE__ */ f.jsx(
5376
5376
  Fd,
5377
5377
  {
@@ -6141,16 +6141,16 @@ var Mu = ["PageUp", "PageDown"], Ou = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
6141
6141
  }), E = d.useRef(C);
6142
6142
  function S(M) {
6143
6143
  const V = Hb(C, M);
6144
- P(M, V);
6144
+ T(M, V);
6145
6145
  }
6146
6146
  function N(M) {
6147
- P(M, R.current);
6147
+ T(M, R.current);
6148
6148
  }
6149
6149
  function O() {
6150
6150
  const M = E.current[R.current];
6151
6151
  C[R.current] !== M && h(C);
6152
6152
  }
6153
- function P(M, V, { commit: H } = { commit: !1 }) {
6153
+ function T(M, V, { commit: H } = { commit: !1 }) {
6154
6154
  const F = Ub(i), q = zb(Math.round((M - n) / i) * i + n, F), K = Dr(q, [n, o]);
6155
6155
  w((z = []) => {
6156
6156
  const W = Vb(z, K, V);
@@ -6191,12 +6191,12 @@ var Mu = ["PageUp", "PageDown"], Ou = ["ArrowUp", "ArrowDown", "ArrowLeft", "Arr
6191
6191
  onSlideStart: a ? void 0 : S,
6192
6192
  onSlideMove: a ? void 0 : N,
6193
6193
  onSlideEnd: a ? void 0 : O,
6194
- onHomeKeyDown: () => !a && P(n, 0, { commit: !0 }),
6195
- onEndKeyDown: () => !a && P(o, C.length - 1, { commit: !0 }),
6194
+ onHomeKeyDown: () => !a && T(n, 0, { commit: !0 }),
6195
+ onEndKeyDown: () => !a && T(o, C.length - 1, { commit: !0 }),
6196
6196
  onStepKeyDown: ({ event: M, direction: V }) => {
6197
6197
  if (!a) {
6198
6198
  const q = Mu.includes(M.key) || M.shiftKey && Ou.includes(M.key) ? 10 : 1, K = R.current, z = C[K], W = i * q * V;
6199
- P(z + W, K, { commit: !0 });
6199
+ T(z + W, K, { commit: !0 });
6200
6200
  }
6201
6201
  }
6202
6202
  }
@@ -6573,7 +6573,7 @@ var tC = [" ", "Enter", "ArrowUp", "ArrowDown"], rC = [" ", "Enter"], Lt = "Sele
6573
6573
  defaultProp: o ?? !1,
6574
6574
  onChange: i,
6575
6575
  caller: Lt
6576
- }), [O, P] = ye({
6576
+ }), [O, T] = ye({
6577
6577
  prop: s,
6578
6578
  defaultProp: a,
6579
6579
  onChange: c,
@@ -6592,7 +6592,7 @@ var tC = [" ", "Enter", "ArrowUp", "ArrowDown"], rC = [" ", "Enter"], Lt = "Sele
6592
6592
  onValueNodeHasChildrenChange: w,
6593
6593
  contentId: Re(),
6594
6594
  value: O,
6595
- onValueChange: P,
6595
+ onValueChange: T,
6596
6596
  open: S,
6597
6597
  onOpenChange: N,
6598
6598
  dir: E,
@@ -6624,7 +6624,7 @@ var tC = [" ", "Enter", "ArrowUp", "ArrowDown"], rC = [" ", "Enter"], Lt = "Sele
6624
6624
  name: u,
6625
6625
  autoComplete: p,
6626
6626
  value: O,
6627
- onChange: (K) => P(K.target.value),
6627
+ onChange: (K) => T(K.target.value),
6628
6628
  disabled: h,
6629
6629
  form: m,
6630
6630
  children: [
@@ -6747,7 +6747,7 @@ var Ke = 10, [tf, Ot] = hr(Ft), lC = "SelectContentImpl", dC = /* @__PURE__ */ D
6747
6747
  avoidCollisions: x,
6748
6748
  //
6749
6749
  ...R
6750
- } = e, y = Mt(Ft, t), [b, C] = d.useState(null), [w, E] = d.useState(null), S = X(r, (U) => C(U)), [N, O] = d.useState(null), [P, M] = d.useState(
6750
+ } = e, y = Mt(Ft, t), [b, C] = d.useState(null), [w, E] = d.useState(null), S = X(r, (U) => C(U)), [N, O] = d.useState(null), [T, M] = d.useState(
6751
6751
  null
6752
6752
  ), V = Io(t), [H, F] = d.useState(!1), q = d.useRef(!1);
6753
6753
  d.useEffect(() => {
@@ -6798,7 +6798,7 @@ var Ke = 10, [tf, Ot] = hr(Ft), lC = "SelectContentImpl", dC = /* @__PURE__ */ D
6798
6798
  (y.value !== void 0 && y.value === ee || J) && (O(U), J && (q.current = !0));
6799
6799
  },
6800
6800
  [y.value]
6801
- ), ne = d.useCallback(() => b?.focus(), [b]), oe = d.useCallback(
6801
+ ), re = d.useCallback(() => b?.focus(), [b]), oe = d.useCallback(
6802
6802
  (U, ee, ae) => {
6803
6803
  const J = !q.current && !ae;
6804
6804
  (y.value !== void 0 && y.value === ee || J) && M(U);
@@ -6825,10 +6825,10 @@ var Ke = 10, [tf, Ot] = hr(Ft), lC = "SelectContentImpl", dC = /* @__PURE__ */ D
6825
6825
  onViewportChange: E,
6826
6826
  itemRefCallback: Z,
6827
6827
  selectedItem: N,
6828
- onItemLeave: ne,
6828
+ onItemLeave: re,
6829
6829
  itemTextRefCallback: oe,
6830
6830
  focusSelectedItem: z,
6831
- selectedItemText: P,
6831
+ selectedItemText: T,
6832
6832
  position: n,
6833
6833
  isPositioned: H,
6834
6834
  searchRef: k,
@@ -6897,9 +6897,9 @@ rf.displayName = lC;
6897
6897
  var uC = "SelectItemAlignedPosition", nf = d.forwardRef((e, r) => {
6898
6898
  const { __scopeSelect: t, onPlaced: n, ...o } = e, i = Mt(Ft, t), s = Ot(Ft, t), [a, c] = d.useState(null), [l, u] = d.useState(null), p = X(r, (S) => u(S)), h = Io(t), v = d.useRef(!1), m = d.useRef(!0), { viewport: g, selectedItem: x, selectedItemText: R, focusSelectedItem: y } = s, b = d.useCallback(() => {
6899
6899
  if (i.trigger && i.valueNode && a && l && g && x && R) {
6900
- const S = i.trigger.getBoundingClientRect(), N = l.getBoundingClientRect(), O = i.valueNode.getBoundingClientRect(), P = R.getBoundingClientRect();
6900
+ const S = i.trigger.getBoundingClientRect(), N = l.getBoundingClientRect(), O = i.valueNode.getBoundingClientRect(), T = R.getBoundingClientRect();
6901
6901
  if (i.dir !== "rtl") {
6902
- const ce = P.left - N.left, le = O.left - ce, be = S.left - le, Se = S.width + be, Je = Math.max(Se, N.width), Qe = window.innerWidth - Ke, Kt = Dr(le, [
6902
+ const ce = T.left - N.left, le = O.left - ce, be = S.left - le, Se = S.width + be, Je = Math.max(Se, N.width), Qe = window.innerWidth - Ke, Kt = Dr(le, [
6903
6903
  Ke,
6904
6904
  // Prevents the content from going off the starting edge of the
6905
6905
  // viewport. It may still go off the ending edge, but this can be
@@ -6910,20 +6910,20 @@ var uC = "SelectItemAlignedPosition", nf = d.forwardRef((e, r) => {
6910
6910
  ]);
6911
6911
  a.style.minWidth = Se + "px", a.style.left = Kt + "px";
6912
6912
  } else {
6913
- const ce = N.right - P.right, le = window.innerWidth - O.right - ce, be = window.innerWidth - S.right - le, Se = S.width + be, Je = Math.max(Se, N.width), Qe = window.innerWidth - Ke, Kt = Dr(le, [
6913
+ const ce = N.right - T.right, le = window.innerWidth - O.right - ce, be = window.innerWidth - S.right - le, Se = S.width + be, Je = Math.max(Se, N.width), Qe = window.innerWidth - Ke, Kt = Dr(le, [
6914
6914
  Ke,
6915
6915
  Math.max(Ke, Qe - Je)
6916
6916
  ]);
6917
6917
  a.style.minWidth = Se + "px", a.style.right = Kt + "px";
6918
6918
  }
6919
- const M = h(), V = window.innerHeight - Ke * 2, H = g.scrollHeight, F = window.getComputedStyle(l), q = parseInt(F.borderTopWidth, 10), K = parseInt(F.paddingTop, 10), z = parseInt(F.borderBottomWidth, 10), W = parseInt(F.paddingBottom, 10), $ = q + K + H + W + z, k = Math.min(x.offsetHeight * 5, $), G = window.getComputedStyle(g), Z = parseInt(G.paddingTop, 10), ne = parseInt(G.paddingBottom, 10), oe = S.top + S.height / 2 - Ke, ie = V - oe, se = x.offsetHeight / 2, U = x.offsetTop + se, ee = q + K + U, ae = $ - ee;
6919
+ const M = h(), V = window.innerHeight - Ke * 2, H = g.scrollHeight, F = window.getComputedStyle(l), q = parseInt(F.borderTopWidth, 10), K = parseInt(F.paddingTop, 10), z = parseInt(F.borderBottomWidth, 10), W = parseInt(F.paddingBottom, 10), $ = q + K + H + W + z, k = Math.min(x.offsetHeight * 5, $), G = window.getComputedStyle(g), Z = parseInt(G.paddingTop, 10), re = parseInt(G.paddingBottom, 10), oe = S.top + S.height / 2 - Ke, ie = V - oe, se = x.offsetHeight / 2, U = x.offsetTop + se, ee = q + K + U, ae = $ - ee;
6920
6920
  if (ee <= oe) {
6921
6921
  const ce = M.length > 0 && x === M[M.length - 1].ref.current;
6922
6922
  a.style.bottom = "0px";
6923
6923
  const le = l.clientHeight - g.offsetTop - g.offsetHeight, be = Math.max(
6924
6924
  ie,
6925
6925
  se + // viewport might have padding bottom, include it to avoid a scrollable viewport
6926
- (ce ? ne : 0) + le + z
6926
+ (ce ? re : 0) + le + z
6927
6927
  ), Se = ee + be;
6928
6928
  a.style.height = Se + "px";
6929
6929
  } else {
@@ -7341,17 +7341,17 @@ function yC(e, r) {
7341
7341
  }
7342
7342
  var RC = zu, bC = Xu, CC = Zu, wC = Ju, SC = Qu, EC = ef, PC = of, IC = af, TC = lf, NC = uf, AC = ff, MC = hf, OC = vf, _C = gf, DC = xf, kC = yf;
7343
7343
  function jC() {
7344
- const e = T(function({ node: t, context: n, className: o }) {
7344
+ const e = I(function({ node: t, context: n, className: o }) {
7345
7345
  const i = D(t.props?.checked), s = D(t.props?.defaultChecked), a = j(t.props?.disabled), c = j(t.props?.required), l = D(t.props?.name), u = D(t.props?.value), p = (N) => {
7346
7346
  if (N === "checked" || N === "true") return !0;
7347
7347
  if (N === "unchecked" || N === "false") return !1;
7348
7348
  if (N === "indeterminate") return "indeterminate";
7349
- }, h = p(i), v = p(s), [m, g] = re(v ?? !1), x = h !== void 0, R = x ? h : m, y = Y(t.props?.onCheckedChangeId), b = (N) => {
7349
+ }, h = p(i), v = p(s), [m, g] = ne(v ?? !1), x = h !== void 0, R = x ? h : m, y = Y(t.props?.onCheckedChangeId), b = (N) => {
7350
7350
  if (x || g(N), y) {
7351
7351
  const O = N === "indeterminate" ? "indeterminate" : N ? "checked" : "unchecked";
7352
7352
  n.dispatchAction(y, O);
7353
7353
  }
7354
- }, C = I("radix-checkbox", A(t.styleIds), o), w = n.renderChildren(t.children ?? []), E = B(t.props, /* @__PURE__ */ new Set(["checked", "defaultChecked", "disabled", "required", "name", "value", "onCheckedChangeId"])), S = { appearance: "none", outline: "none" };
7354
+ }, C = P("radix-checkbox", A(t.styleIds), o), w = n.renderChildren(t.children ?? []), E = B(t.props, /* @__PURE__ */ new Set(["checked", "defaultChecked", "disabled", "required", "name", "value", "onCheckedChangeId"])), S = { appearance: "none", outline: "none" };
7355
7355
  return /* @__PURE__ */ f.jsx(
7356
7356
  Qd,
7357
7357
  {
@@ -7376,8 +7376,8 @@ function jC() {
7376
7376
  };
7377
7377
  }
7378
7378
  function LC() {
7379
- const e = T(function({ node: t, context: n, className: o }) {
7380
- const i = j(t.props?.forceMount), s = I("radix-checkbox-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7379
+ const e = I(function({ node: t, context: n, className: o }) {
7380
+ const i = j(t.props?.forceMount), s = P("radix-checkbox-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7381
7381
  return /* @__PURE__ */ f.jsx(
7382
7382
  tu,
7383
7383
  {
@@ -7394,10 +7394,10 @@ function LC() {
7394
7394
  };
7395
7395
  }
7396
7396
  function FC() {
7397
- const e = T(function({ node: t, context: n, className: o }) {
7398
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.disabled), c = j(t.props?.required), l = D(t.props?.name), u = D(t.props?.orientation), p = j(t.props?.loop), [h, v] = re(s ?? ""), m = i !== void 0, g = m ? i : h, x = $e(Y(t.props?.onValueChangeId), n.dispatchAction), R = (w) => {
7397
+ const e = I(function({ node: t, context: n, className: o }) {
7398
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.disabled), c = j(t.props?.required), l = D(t.props?.name), u = D(t.props?.orientation), p = j(t.props?.loop), [h, v] = ne(s ?? ""), m = i !== void 0, g = m ? i : h, x = $e(Y(t.props?.onValueChangeId), n.dispatchAction), R = (w) => {
7399
7399
  m || v(w), x?.(w);
7400
- }, y = I("radix-radio-group", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "required", "name", "orientation", "loop", "onValueChangeId"]));
7400
+ }, y = P("radix-radio-group", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "required", "name", "orientation", "loop", "onValueChangeId"]));
7401
7401
  return /* @__PURE__ */ f.jsx(
7402
7402
  yb,
7403
7403
  {
@@ -7422,8 +7422,8 @@ function FC() {
7422
7422
  };
7423
7423
  }
7424
7424
  function $C() {
7425
- const e = T(function({ node: t, context: n, className: o }) {
7426
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-radio-group-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
7425
+ const e = I(function({ node: t, context: n, className: o }) {
7426
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-radio-group-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
7427
7427
  return /* @__PURE__ */ f.jsx(
7428
7428
  Rb,
7429
7429
  {
@@ -7443,8 +7443,8 @@ function $C() {
7443
7443
  };
7444
7444
  }
7445
7445
  function VC() {
7446
- const e = T(function({ node: t, context: n, className: o }) {
7447
- const i = j(t.props?.forceMount), s = I("radix-radio-group-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7446
+ const e = I(function({ node: t, context: n, className: o }) {
7447
+ const i = j(t.props?.forceMount), s = P("radix-radio-group-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7448
7448
  return /* @__PURE__ */ f.jsx(
7449
7449
  bb,
7450
7450
  {
@@ -7461,10 +7461,10 @@ function VC() {
7461
7461
  };
7462
7462
  }
7463
7463
  function BC() {
7464
- const e = T(function({ node: t, context: n, className: o }) {
7465
- const i = j(t.props?.checked), s = j(t.props?.defaultChecked), a = j(t.props?.disabled), c = j(t.props?.required), l = D(t.props?.name), u = D(t.props?.value), [p, h] = re(s ?? !1), v = i !== void 0, m = v ? i : p, g = Xe(Y(t.props?.onCheckedChangeId), n.dispatchAction), x = (w) => {
7464
+ const e = I(function({ node: t, context: n, className: o }) {
7465
+ const i = j(t.props?.checked), s = j(t.props?.defaultChecked), a = j(t.props?.disabled), c = j(t.props?.required), l = D(t.props?.name), u = D(t.props?.value), [p, h] = ne(s ?? !1), v = i !== void 0, m = v ? i : p, g = Xe(Y(t.props?.onCheckedChangeId), n.dispatchAction), x = (w) => {
7466
7466
  v || h(w), g?.(w);
7467
- }, R = I("radix-switch", A(t.styleIds), o), y = n.renderChildren(t.children ?? []), b = B(t.props, /* @__PURE__ */ new Set(["checked", "defaultChecked", "disabled", "required", "name", "value", "onCheckedChangeId"])), C = { appearance: "none", outline: "none" };
7467
+ }, R = P("radix-switch", A(t.styleIds), o), y = n.renderChildren(t.children ?? []), b = B(t.props, /* @__PURE__ */ new Set(["checked", "defaultChecked", "disabled", "required", "name", "value", "onCheckedChangeId"])), C = { appearance: "none", outline: "none" };
7468
7468
  return /* @__PURE__ */ f.jsx(
7469
7469
  Pb,
7470
7470
  {
@@ -7489,8 +7489,8 @@ function BC() {
7489
7489
  };
7490
7490
  }
7491
7491
  function HC() {
7492
- const e = T(function({ node: t, className: n }) {
7493
- const o = I("radix-switch-thumb", A(t.styleIds), n);
7492
+ const e = I(function({ node: t, className: n }) {
7493
+ const o = P("radix-switch-thumb", A(t.styleIds), n);
7494
7494
  return /* @__PURE__ */ f.jsx(
7495
7495
  Ib,
7496
7496
  {
@@ -7505,10 +7505,10 @@ function HC() {
7505
7505
  };
7506
7506
  }
7507
7507
  function WC() {
7508
- const e = T(function({ node: t, context: n, className: o }) {
7509
- const i = j(t.props?.pressed), s = j(t.props?.defaultPressed), a = j(t.props?.disabled), [c, l] = re(s ?? !1), u = i !== void 0, p = u ? i : c, h = Xe(Y(t.props?.onPressedChangeId), n.dispatchAction), v = (y) => {
7508
+ const e = I(function({ node: t, context: n, className: o }) {
7509
+ const i = j(t.props?.pressed), s = j(t.props?.defaultPressed), a = j(t.props?.disabled), [c, l] = ne(s ?? !1), u = i !== void 0, p = u ? i : c, h = Xe(Y(t.props?.onPressedChangeId), n.dispatchAction), v = (y) => {
7510
7510
  u || l(y), h?.(y);
7511
- }, m = I("radix-toggle", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(t.props, /* @__PURE__ */ new Set(["pressed", "defaultPressed", "disabled", "onPressedChangeId"])), R = { appearance: "none", outline: "none" };
7511
+ }, m = P("radix-toggle", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(t.props, /* @__PURE__ */ new Set(["pressed", "defaultPressed", "disabled", "onPressedChangeId"])), R = { appearance: "none", outline: "none" };
7512
7512
  return /* @__PURE__ */ f.jsx(
7513
7513
  Tb,
7514
7514
  {
@@ -7530,10 +7530,10 @@ function WC() {
7530
7530
  };
7531
7531
  }
7532
7532
  function KC() {
7533
- const e = T(function({ node: t, context: n, className: o }) {
7534
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.disabled), c = D(t.props?.orientation), l = j(t.props?.rovingFocus), u = j(t.props?.loop), [p, h] = re(s ?? ""), v = i !== void 0, m = v ? i : p, g = $e(Y(t.props?.onValueChangeId), n.dispatchAction), x = (C) => {
7533
+ const e = I(function({ node: t, context: n, className: o }) {
7534
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.disabled), c = D(t.props?.orientation), l = j(t.props?.rovingFocus), u = j(t.props?.loop), [p, h] = ne(s ?? ""), v = i !== void 0, m = v ? i : p, g = $e(Y(t.props?.onValueChangeId), n.dispatchAction), x = (C) => {
7535
7535
  v || h(C), g?.(C);
7536
- }, R = I("radix-toggle-group", A(t.styleIds), o), y = n.renderChildren(t.children ?? []), b = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "orientation", "rovingFocus", "loop", "onValueChangeId"]));
7536
+ }, R = P("radix-toggle-group", A(t.styleIds), o), y = n.renderChildren(t.children ?? []), b = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "orientation", "rovingFocus", "loop", "onValueChangeId"]));
7537
7537
  return /* @__PURE__ */ f.jsx(
7538
7538
  Ss,
7539
7539
  {
@@ -7558,10 +7558,10 @@ function KC() {
7558
7558
  };
7559
7559
  }
7560
7560
  function GC() {
7561
- const e = T(function({ node: t, context: n, className: o }) {
7562
- const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = j(t.props?.disabled), l = D(t.props?.orientation), u = j(t.props?.rovingFocus), p = j(t.props?.loop), [h, v] = re(a ?? []), m = Array.isArray(i), g = m ? s ?? [] : h, x = Y(t.props?.onValuesChangeId), R = (w) => {
7561
+ const e = I(function({ node: t, context: n, className: o }) {
7562
+ const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = j(t.props?.disabled), l = D(t.props?.orientation), u = j(t.props?.rovingFocus), p = j(t.props?.loop), [h, v] = ne(a ?? []), m = Array.isArray(i), g = m ? s ?? [] : h, x = Y(t.props?.onValuesChangeId), R = (w) => {
7563
7563
  m || v(w), x && n.dispatchAction(x, w);
7564
- }, y = I("radix-toggle-group", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "orientation", "rovingFocus", "loop", "onValuesChangeId"]));
7564
+ }, y = P("radix-toggle-group", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "disabled", "orientation", "rovingFocus", "loop", "onValuesChangeId"]));
7565
7565
  return /* @__PURE__ */ f.jsx(
7566
7566
  Ss,
7567
7567
  {
@@ -7586,8 +7586,8 @@ function GC() {
7586
7586
  };
7587
7587
  }
7588
7588
  function UC() {
7589
- const e = T(function({ node: t, context: n, className: o }) {
7590
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-toggle-group-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
7589
+ const e = I(function({ node: t, context: n, className: o }) {
7590
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-toggle-group-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
7591
7591
  return /* @__PURE__ */ f.jsx(
7592
7592
  Au,
7593
7593
  {
@@ -7607,21 +7607,21 @@ function UC() {
7607
7607
  };
7608
7608
  }
7609
7609
  function zC() {
7610
- const e = T(function({ node: t, context: n, className: o }) {
7610
+ const e = I(function({ node: t, context: n, className: o }) {
7611
7611
  const i = t.props?.value, s = t.props?.defaultValue, a = te(t.props?.min), c = te(t.props?.max), l = te(t.props?.step), u = j(t.props?.disabled), p = D(t.props?.orientation), h = j(t.props?.inverted), v = (M) => {
7612
7612
  if (Array.isArray(M))
7613
7613
  return M.filter((V) => typeof V == "number");
7614
7614
  if (typeof M == "number")
7615
7615
  return [M];
7616
- }, m = v(i), g = v(s), [x, R] = re(g ?? [0]), y = m !== void 0, b = y ? m : x, C = Y(t.props?.onValueChangeId), w = Y(t.props?.onValueCommitId), E = (M) => {
7616
+ }, m = v(i), g = v(s), [x, R] = ne(g ?? [0]), y = m !== void 0, b = y ? m : x, C = Y(t.props?.onValueChangeId), w = Y(t.props?.onValueCommitId), E = (M) => {
7617
7617
  y || R(M), C && n.dispatchAction(C, M);
7618
7618
  }, S = (M) => {
7619
7619
  w && n.dispatchAction(w, M);
7620
- }, N = I("radix-slider", A(t.styleIds), o), O = n.renderChildren(t.children ?? []), P = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "min", "max", "step", "disabled", "orientation", "inverted", "onValueChangeId", "onValueCommitId"]));
7620
+ }, N = P("radix-slider", A(t.styleIds), o), O = n.renderChildren(t.children ?? []), T = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "min", "max", "step", "disabled", "orientation", "inverted", "onValueChangeId", "onValueCommitId"]));
7621
7621
  return /* @__PURE__ */ f.jsx(
7622
7622
  Yb,
7623
7623
  {
7624
- ...P,
7624
+ ...T,
7625
7625
  "data-ikon-node-id": t.id,
7626
7626
  value: b,
7627
7627
  defaultValue: y ? void 0 : g,
@@ -7644,8 +7644,8 @@ function zC() {
7644
7644
  };
7645
7645
  }
7646
7646
  function YC() {
7647
- const e = T(function({ node: t, context: n, className: o }) {
7648
- const i = I("radix-slider-track", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7647
+ const e = I(function({ node: t, context: n, className: o }) {
7648
+ const i = P("radix-slider-track", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7649
7649
  return /* @__PURE__ */ f.jsx(
7650
7650
  Xb,
7651
7651
  {
@@ -7661,8 +7661,8 @@ function YC() {
7661
7661
  };
7662
7662
  }
7663
7663
  function XC() {
7664
- const e = T(function({ node: t, className: n }) {
7665
- const o = I("radix-slider-range", A(t.styleIds), n);
7664
+ const e = I(function({ node: t, className: n }) {
7665
+ const o = P("radix-slider-range", A(t.styleIds), n);
7666
7666
  return /* @__PURE__ */ f.jsx(
7667
7667
  qb,
7668
7668
  {
@@ -7677,8 +7677,8 @@ function XC() {
7677
7677
  };
7678
7678
  }
7679
7679
  function qC() {
7680
- const e = T(function({ node: t, className: n }) {
7681
- const o = I("radix-slider-thumb", A(t.styleIds), n);
7680
+ const e = I(function({ node: t, className: n }) {
7681
+ const o = P("radix-slider-thumb", A(t.styleIds), n);
7682
7682
  return /* @__PURE__ */ f.jsx(
7683
7683
  Zb,
7684
7684
  {
@@ -7693,25 +7693,21 @@ function qC() {
7693
7693
  };
7694
7694
  }
7695
7695
  function ZC() {
7696
- const e = T(function({ node: t, context: n, className: o }) {
7697
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.open), c = j(t.props?.defaultOpen), l = j(t.props?.disabled), u = j(t.props?.required), p = D(t.props?.name), [h, v] = re(s ?? ""), [m, g] = re(c ?? !1), x = i !== void 0, R = a !== void 0, y = x ? i : h, b = R ? a : m, C = $e(Y(t.props?.onValueChangeId), n.dispatchAction), w = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), E = (P) => {
7698
- x || v(P), C?.(P);
7699
- }, S = (P) => {
7700
- R || g(P), w?.(P);
7701
- }, N = I("radix-select", A(t.styleIds), o), O = n.renderChildren(t.children ?? []);
7702
- return /* @__PURE__ */ f.jsx("div", { "data-ikon-node-id": t.id, className: N, children: /* @__PURE__ */ f.jsx(
7696
+ const e = I(function({ node: t, context: n, className: o }) {
7697
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.open), c = j(t.props?.defaultOpen), l = j(t.props?.disabled), u = j(t.props?.required), p = D(t.props?.name), h = i !== void 0, v = a !== void 0, m = $e(Y(t.props?.onValueChangeId), n.dispatchAction), g = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), x = P("radix-select", A(t.styleIds), o), R = n.renderChildren(t.children ?? []);
7698
+ return /* @__PURE__ */ f.jsx("div", { "data-ikon-node-id": t.id, className: x, children: /* @__PURE__ */ f.jsx(
7703
7699
  RC,
7704
7700
  {
7705
- value: y,
7706
- defaultValue: x ? void 0 : s,
7707
- onValueChange: E,
7708
- open: R ? b : void 0,
7701
+ value: h ? i : void 0,
7702
+ defaultValue: s,
7703
+ onValueChange: m,
7704
+ open: v ? a : void 0,
7709
7705
  defaultOpen: c,
7710
- onOpenChange: S,
7706
+ onOpenChange: g,
7711
7707
  disabled: l,
7712
7708
  required: u,
7713
7709
  name: p,
7714
- children: O
7710
+ children: R
7715
7711
  }
7716
7712
  ) });
7717
7713
  });
@@ -7721,8 +7717,8 @@ function ZC() {
7721
7717
  };
7722
7718
  }
7723
7719
  function JC() {
7724
- const e = T(function({ node: t, context: n, className: o }) {
7725
- const i = j(t.props?.disabled), s = I("radix-select-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7720
+ const e = I(function({ node: t, context: n, className: o }) {
7721
+ const i = j(t.props?.disabled), s = P("radix-select-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
7726
7722
  return /* @__PURE__ */ f.jsx(
7727
7723
  bC,
7728
7724
  {
@@ -7739,8 +7735,8 @@ function JC() {
7739
7735
  };
7740
7736
  }
7741
7737
  function QC() {
7742
- const e = T(function({ node: t, className: n }) {
7743
- const o = D(t.props?.placeholder), i = I("radix-select-value", A(t.styleIds), n);
7738
+ const e = I(function({ node: t, className: n }) {
7739
+ const o = D(t.props?.placeholder), i = P("radix-select-value", A(t.styleIds), n);
7744
7740
  return /* @__PURE__ */ f.jsx(
7745
7741
  CC,
7746
7742
  {
@@ -7756,8 +7752,8 @@ function QC() {
7756
7752
  };
7757
7753
  }
7758
7754
  function ew() {
7759
- const e = T(function({ node: t, context: n, className: o }) {
7760
- const i = I("radix-select-icon", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7755
+ const e = I(function({ node: t, context: n, className: o }) {
7756
+ const i = P("radix-select-icon", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7761
7757
  return /* @__PURE__ */ f.jsx(
7762
7758
  wC,
7763
7759
  {
@@ -7773,19 +7769,20 @@ function ew() {
7773
7769
  };
7774
7770
  }
7775
7771
  function tw() {
7776
- const e = T(function({ node: t, context: n, className: o }) {
7777
- const i = D(t.props?.position), s = D(t.props?.side), a = te(t.props?.sideOffset), c = D(t.props?.align), l = te(t.props?.alignOffset), u = I("radix-select-content", A(t.styleIds), o), p = n.renderChildren(t.children ?? []);
7772
+ const e = I(function({ node: t, context: n, className: o }) {
7773
+ const s = D(t.props?.position) ?? "popper", a = D(t.props?.side), c = te(t.props?.sideOffset), l = D(t.props?.align), u = te(t.props?.alignOffset), p = P("radix-select-content", A(t.styleIds), o), h = n.renderChildren(t.children ?? []), v = { zIndex: 9999 };
7778
7774
  return /* @__PURE__ */ f.jsx(
7779
7775
  EC,
7780
7776
  {
7781
7777
  "data-ikon-node-id": t.id,
7782
- position: i,
7783
- side: s,
7784
- sideOffset: a,
7785
- align: c,
7786
- alignOffset: l,
7787
- className: u,
7788
- children: p
7778
+ position: s,
7779
+ side: a,
7780
+ sideOffset: c ?? 4,
7781
+ align: l,
7782
+ alignOffset: u,
7783
+ className: p,
7784
+ style: v,
7785
+ children: h
7789
7786
  }
7790
7787
  );
7791
7788
  });
@@ -7795,9 +7792,9 @@ function tw() {
7795
7792
  };
7796
7793
  }
7797
7794
  function rw() {
7798
- const e = T(function({ node: t, context: n }) {
7799
- const o = n.renderChildren(t.children ?? []);
7800
- return /* @__PURE__ */ f.jsx(SC, { children: o });
7795
+ const e = I(function({ node: t, context: n }) {
7796
+ const o = n.renderChildren(t.children ?? []), i = typeof document < "u" ? document.getElementById("root") ?? document.body : void 0;
7797
+ return /* @__PURE__ */ f.jsx(SC, { container: i, children: o });
7801
7798
  });
7802
7799
  return (r) => {
7803
7800
  if (r.type === "radix-select-portal")
@@ -7805,8 +7802,8 @@ function rw() {
7805
7802
  };
7806
7803
  }
7807
7804
  function nw() {
7808
- const e = T(function({ node: t, context: n, className: o }) {
7809
- const i = I("radix-select-viewport", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7805
+ const e = I(function({ node: t, context: n, className: o }) {
7806
+ const i = P("radix-select-viewport", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7810
7807
  return /* @__PURE__ */ f.jsx(
7811
7808
  PC,
7812
7809
  {
@@ -7822,8 +7819,8 @@ function nw() {
7822
7819
  };
7823
7820
  }
7824
7821
  function ow() {
7825
- const e = T(function({ node: t, context: n, className: o }) {
7826
- const i = I("radix-select-group", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7822
+ const e = I(function({ node: t, context: n, className: o }) {
7823
+ const i = P("radix-select-group", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7827
7824
  return /* @__PURE__ */ f.jsx(
7828
7825
  IC,
7829
7826
  {
@@ -7839,8 +7836,8 @@ function ow() {
7839
7836
  };
7840
7837
  }
7841
7838
  function iw() {
7842
- const e = T(function({ node: t, context: n, className: o }) {
7843
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-select-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = { outline: "none" };
7839
+ const e = I(function({ node: t, context: n, className: o }) {
7840
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-select-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = { outline: "none" };
7844
7841
  return /* @__PURE__ */ f.jsx(
7845
7842
  NC,
7846
7843
  {
@@ -7859,8 +7856,8 @@ function iw() {
7859
7856
  };
7860
7857
  }
7861
7858
  function sw() {
7862
- const e = T(function({ node: t, context: n, className: o }) {
7863
- const i = I("radix-select-scroll-up-button", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
7859
+ const e = I(function({ node: t, context: n, className: o }) {
7860
+ const i = P("radix-select-scroll-up-button", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
7864
7861
  return /* @__PURE__ */ f.jsx(
7865
7862
  OC,
7866
7863
  {
@@ -7877,8 +7874,8 @@ function sw() {
7877
7874
  };
7878
7875
  }
7879
7876
  function aw() {
7880
- const e = T(function({ node: t, context: n, className: o }) {
7881
- const i = I("radix-select-scroll-down-button", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
7877
+ const e = I(function({ node: t, context: n, className: o }) {
7878
+ const i = P("radix-select-scroll-down-button", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
7882
7879
  return /* @__PURE__ */ f.jsx(
7883
7880
  _C,
7884
7881
  {
@@ -7895,8 +7892,8 @@ function aw() {
7895
7892
  };
7896
7893
  }
7897
7894
  function cw() {
7898
- const e = T(function({ node: t, context: n, className: o }) {
7899
- const i = I("radix-select-item-text", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7895
+ const e = I(function({ node: t, context: n, className: o }) {
7896
+ const i = P("radix-select-item-text", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7900
7897
  return /* @__PURE__ */ f.jsx(
7901
7898
  AC,
7902
7899
  {
@@ -7912,8 +7909,8 @@ function cw() {
7912
7909
  };
7913
7910
  }
7914
7911
  function lw() {
7915
- const e = T(function({ node: t, context: n, className: o }) {
7916
- const i = I("radix-select-item-indicator", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7912
+ const e = I(function({ node: t, context: n, className: o }) {
7913
+ const i = P("radix-select-item-indicator", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7917
7914
  return /* @__PURE__ */ f.jsx(
7918
7915
  MC,
7919
7916
  {
@@ -7929,8 +7926,8 @@ function lw() {
7929
7926
  };
7930
7927
  }
7931
7928
  function dw() {
7932
- const e = T(function({ node: t, className: n }) {
7933
- const o = I("radix-select-separator", A(t.styleIds), n);
7929
+ const e = I(function({ node: t, className: n }) {
7930
+ const o = P("radix-select-separator", A(t.styleIds), n);
7934
7931
  return /* @__PURE__ */ f.jsx(
7935
7932
  DC,
7936
7933
  {
@@ -7945,8 +7942,8 @@ function dw() {
7945
7942
  };
7946
7943
  }
7947
7944
  function uw() {
7948
- const e = T(function({ node: t, context: n, className: o }) {
7949
- const i = I("radix-select-label", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7945
+ const e = I(function({ node: t, context: n, className: o }) {
7946
+ const i = P("radix-select-label", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
7950
7947
  return /* @__PURE__ */ f.jsx(
7951
7948
  TC,
7952
7949
  {
@@ -7962,8 +7959,8 @@ function uw() {
7962
7959
  };
7963
7960
  }
7964
7961
  function fw() {
7965
- const e = T(function({ node: t, className: n }) {
7966
- const o = I("radix-select-arrow", A(t.styleIds), n);
7962
+ const e = I(function({ node: t, className: n }) {
7963
+ const o = P("radix-select-arrow", A(t.styleIds), n);
7967
7964
  return /* @__PURE__ */ f.jsx(
7968
7965
  kC,
7969
7966
  {
@@ -7992,51 +7989,51 @@ var [Is] = xe("Form"), Ts = "Form", [hw, vr] = Is(Ts), [vw, Ef] = Is(Ts), Pf = d
7992
7989
  (e, r) => {
7993
7990
  const { __scopeForm: t, onClearServerErrors: n = () => {
7994
7991
  }, ...o } = e, i = d.useRef(null), s = X(r, i), [a, c] = d.useState({}), l = d.useCallback(
7995
- (P) => a[P],
7992
+ (T) => a[T],
7996
7993
  [a]
7997
7994
  ), u = d.useCallback(
7998
- (P, M) => c((V) => ({
7995
+ (T, M) => c((V) => ({
7999
7996
  ...V,
8000
- [P]: { ...V[P] ?? {}, ...M }
7997
+ [T]: { ...V[T] ?? {}, ...M }
8001
7998
  })),
8002
7999
  []
8003
- ), p = d.useCallback((P) => {
8004
- c((M) => ({ ...M, [P]: void 0 })), y((M) => ({ ...M, [P]: {} }));
8000
+ ), p = d.useCallback((T) => {
8001
+ c((M) => ({ ...M, [T]: void 0 })), y((M) => ({ ...M, [T]: {} }));
8005
8002
  }, []), [h, v] = d.useState({}), m = d.useCallback(
8006
- (P) => h[P] ?? [],
8003
+ (T) => h[T] ?? [],
8007
8004
  [h]
8008
- ), g = d.useCallback((P, M) => {
8005
+ ), g = d.useCallback((T, M) => {
8009
8006
  v((V) => ({
8010
8007
  ...V,
8011
- [P]: [...V[P] ?? [], M]
8008
+ [T]: [...V[T] ?? [], M]
8012
8009
  }));
8013
- }, []), x = d.useCallback((P, M) => {
8010
+ }, []), x = d.useCallback((T, M) => {
8014
8011
  v((V) => ({
8015
8012
  ...V,
8016
- [P]: (V[P] ?? []).filter(
8013
+ [T]: (V[T] ?? []).filter(
8017
8014
  (H) => H.id !== M
8018
8015
  )
8019
8016
  }));
8020
8017
  }, []), [R, y] = d.useState({}), b = d.useCallback(
8021
- (P) => R[P] ?? {},
8018
+ (T) => R[T] ?? {},
8022
8019
  [R]
8023
- ), C = d.useCallback((P, M) => {
8020
+ ), C = d.useCallback((T, M) => {
8024
8021
  y((V) => ({
8025
8022
  ...V,
8026
- [P]: { ...V[P] ?? {}, ...M }
8023
+ [T]: { ...V[T] ?? {}, ...M }
8027
8024
  }));
8028
- }, []), [w, E] = d.useState({}), S = d.useCallback((P, M) => {
8025
+ }, []), [w, E] = d.useState({}), S = d.useCallback((T, M) => {
8029
8026
  E((V) => {
8030
- const H = new Set(V[P]).add(M);
8031
- return { ...V, [P]: H };
8027
+ const H = new Set(V[T]).add(M);
8028
+ return { ...V, [T]: H };
8032
8029
  });
8033
- }, []), N = d.useCallback((P, M) => {
8030
+ }, []), N = d.useCallback((T, M) => {
8034
8031
  E((V) => {
8035
- const H = new Set(V[P]);
8036
- return H.delete(M), { ...V, [P]: H };
8032
+ const H = new Set(V[T]);
8033
+ return H.delete(M), { ...V, [T]: H };
8037
8034
  });
8038
8035
  }, []), O = d.useCallback(
8039
- (P) => Array.from(w[P] ?? []).join(" ") || void 0,
8036
+ (T) => Array.from(w[T] ?? []).join(" ") || void 0,
8040
8037
  [w]
8041
8038
  );
8042
8039
  return /* @__PURE__ */ f.jsx(
@@ -8063,9 +8060,9 @@ var [Is] = xe("Form"), Ts = "Form", [hw, vr] = Is(Ts), [vw, Ef] = Is(Ts), Pf = d
8063
8060
  {
8064
8061
  ...o,
8065
8062
  ref: s,
8066
- onInvalid: _(e.onInvalid, (P) => {
8067
- const M = _f(P.currentTarget);
8068
- M === P.target && M.focus(), P.preventDefault();
8063
+ onInvalid: _(e.onInvalid, (T) => {
8064
+ const M = _f(T.currentTarget);
8065
+ M === T.target && M.focus(), T.preventDefault();
8069
8066
  }),
8070
8067
  onSubmit: _(e.onSubmit, n, {
8071
8068
  checkForDefaultPrevented: !1
@@ -8124,8 +8121,8 @@ var Tn = "FormControl", Nf = d.forwardRef(
8124
8121
  p.forEach((V) => {
8125
8122
  Sw(V, C) ? E.push(V) : Ew(V) && w.push(V);
8126
8123
  });
8127
- const S = w.map(({ id: V, match: H }) => [V, H(...C)]), N = Object.fromEntries(S), O = Object.values(N).some(Boolean), P = O;
8128
- y.setCustomValidity(P ? kr : "");
8124
+ const S = w.map(({ id: V, match: H }) => [V, H(...C)]), N = Object.fromEntries(S), O = Object.values(N).some(Boolean), T = O;
8125
+ y.setCustomValidity(T ? kr : "");
8129
8126
  const M = ri(y.validity);
8130
8127
  if (h(l, M), v(l, N), !O && E.length > 0) {
8131
8128
  const V = E.map(
@@ -8295,8 +8292,8 @@ function Dw(e) {
8295
8292
  return _w.includes(e) ? e : void 0;
8296
8293
  }
8297
8294
  function kw() {
8298
- const e = T(function({ node: t, context: n, className: o }) {
8299
- const i = Ie(Y(t.props?.onClearServerErrorsId), n.dispatchAction), s = I("radix-form", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["onClearServerErrorsId"]));
8295
+ const e = I(function({ node: t, context: n, className: o }) {
8296
+ const i = Ie(Y(t.props?.onClearServerErrorsId), n.dispatchAction), s = P("radix-form", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["onClearServerErrorsId"]));
8300
8297
  return /* @__PURE__ */ f.jsx(
8301
8298
  Iw,
8302
8299
  {
@@ -8314,8 +8311,8 @@ function kw() {
8314
8311
  };
8315
8312
  }
8316
8313
  function jw() {
8317
- const e = T(function({ node: t, context: n, className: o }) {
8318
- const i = D(t.props?.name), s = j(t.props?.serverInvalid), a = I("radix-form-field", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["name", "serverInvalid"]));
8314
+ const e = I(function({ node: t, context: n, className: o }) {
8315
+ const i = D(t.props?.name), s = j(t.props?.serverInvalid), a = P("radix-form-field", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["name", "serverInvalid"]));
8319
8316
  return /* @__PURE__ */ f.jsx(
8320
8317
  Tw,
8321
8318
  {
@@ -8334,8 +8331,8 @@ function jw() {
8334
8331
  };
8335
8332
  }
8336
8333
  function Lw() {
8337
- const e = T(function({ node: t, context: n, className: o }) {
8338
- const i = I("radix-form-label", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8334
+ const e = I(function({ node: t, context: n, className: o }) {
8335
+ const i = P("radix-form-label", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8339
8336
  return /* @__PURE__ */ f.jsx(
8340
8337
  Nw,
8341
8338
  {
@@ -8351,8 +8348,8 @@ function Lw() {
8351
8348
  };
8352
8349
  }
8353
8350
  function Fw() {
8354
- const e = T(function({ node: t, context: n, className: o }) {
8355
- const i = I("radix-form-control", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8351
+ const e = I(function({ node: t, context: n, className: o }) {
8352
+ const i = P("radix-form-control", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8356
8353
  if (t.children && t.children.length > 0)
8357
8354
  return /* @__PURE__ */ f.jsx(
8358
8355
  sc,
@@ -8379,8 +8376,8 @@ function Fw() {
8379
8376
  };
8380
8377
  }
8381
8378
  function $w() {
8382
- const e = T(function({ node: t, context: n, className: o }) {
8383
- const i = Dw(D(t.props?.match)), s = j(t.props?.forceMatch), a = I("radix-form-message", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["match", "forceMatch"]));
8379
+ const e = I(function({ node: t, context: n, className: o }) {
8380
+ const i = Dw(D(t.props?.match)), s = j(t.props?.forceMatch), a = P("radix-form-message", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["match", "forceMatch"]));
8384
8381
  return /* @__PURE__ */ f.jsx(
8385
8382
  Aw,
8386
8383
  {
@@ -8399,8 +8396,8 @@ function $w() {
8399
8396
  };
8400
8397
  }
8401
8398
  function Vw() {
8402
- const e = T(function({ node: t, context: n, className: o }) {
8403
- const i = I("radix-form-validity-state", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8399
+ const e = I(function({ node: t, context: n, className: o }) {
8400
+ const i = P("radix-form-validity-state", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
8404
8401
  return /* @__PURE__ */ f.jsx(
8405
8402
  "div",
8406
8403
  {
@@ -8416,8 +8413,8 @@ function Vw() {
8416
8413
  };
8417
8414
  }
8418
8415
  function Bw() {
8419
- const e = T(function({ node: t, context: n, className: o }) {
8420
- const i = I("radix-form-submit", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
8416
+ const e = I(function({ node: t, context: n, className: o }) {
8417
+ const i = P("radix-form-submit", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
8421
8418
  return /* @__PURE__ */ f.jsx(
8422
8419
  Ow,
8423
8420
  {
@@ -8451,11 +8448,11 @@ function jf(e, r) {
8451
8448
  }
8452
8449
  const Ao = $t(null);
8453
8450
  function Kw() {
8454
- const e = T(function({ node: t, context: n, className: o }) {
8455
- const i = D(t.props?.value), s = te(t.props?.maxLength), a = j(t.props?.autoSubmit) ?? !1, c = $e(Y(t.props?.onValueChangeId), n.dispatchAction), l = Ie(Y(t.props?.onAutoSubmitId), n.dispatchAction), [u, p] = re(i ?? ""), h = i !== void 0, v = h ? i ?? "" : u, m = Ww(s, t), g = ue([]), x = ve(
8451
+ const e = I(function({ node: t, context: n, className: o }) {
8452
+ const i = D(t.props?.value), s = te(t.props?.maxLength), a = j(t.props?.autoSubmit) ?? !1, c = $e(Y(t.props?.onValueChangeId), n.dispatchAction), l = Ie(Y(t.props?.onAutoSubmitId), n.dispatchAction), [u, p] = ne(i ?? ""), h = i !== void 0, v = h ? i ?? "" : u, m = Ww(s, t), g = ue([]), x = ve(
8456
8453
  (E) => {
8457
8454
  const S = E.slice(0, m);
8458
- h || p(S), c?.(S), a && l && jf(S, m).every((P) => P.length > 0) && l();
8455
+ h || p(S), c?.(S), a && l && jf(S, m).every((T) => T.length > 0) && l();
8459
8456
  },
8460
8457
  [a, h, m, l, c]
8461
8458
  ), R = ve((E, S) => {
@@ -8463,7 +8460,7 @@ function Kw() {
8463
8460
  }, []), y = ve((E) => {
8464
8461
  const S = g.current[E];
8465
8462
  S && (S.focus(), S.select());
8466
- }, []), b = I("radix-otp-field", A(t.styleIds), o), C = B(t.props, /* @__PURE__ */ new Set(["value", "maxLength", "autoSubmit", "onValueChangeId", "onAutoSubmitId"])), w = n.renderChildren(t.children ?? []);
8463
+ }, []), b = P("radix-otp-field", A(t.styleIds), o), C = B(t.props, /* @__PURE__ */ new Set(["value", "maxLength", "autoSubmit", "onValueChangeId", "onAutoSubmitId"])), w = n.renderChildren(t.children ?? []);
8467
8464
  return /* @__PURE__ */ f.jsx(kf.Provider, { value: { value: v, length: m, autoSubmit: a, updateValue: x, registerInput: R, focusInput: y }, children: /* @__PURE__ */ f.jsx(
8468
8465
  "div",
8469
8466
  {
@@ -8480,7 +8477,7 @@ function Kw() {
8480
8477
  };
8481
8478
  }
8482
8479
  function Gw() {
8483
- const e = T(function({ node: t, className: n }) {
8480
+ const e = I(function({ node: t, className: n }) {
8484
8481
  const o = Fe(kf), i = te(t.props?.index), s = ge(() => o ? jf(o.value, o.length) : [], [o]);
8485
8482
  if (!o || i === void 0)
8486
8483
  return null;
@@ -8501,7 +8498,7 @@ function Gw() {
8501
8498
  const v = s.slice();
8502
8499
  v[i - 1] = "", o.updateValue(v.join("")), o.focusInput(i - 1);
8503
8500
  }
8504
- }, u = I("radix-otp-field-input", A(t.styleIds), n), p = B(t.props, /* @__PURE__ */ new Set(["index"]));
8501
+ }, u = P("radix-otp-field-input", A(t.styleIds), n), p = B(t.props, /* @__PURE__ */ new Set(["index"]));
8505
8502
  return /* @__PURE__ */ f.jsx(
8506
8503
  "input",
8507
8504
  {
@@ -8521,11 +8518,11 @@ function Gw() {
8521
8518
  };
8522
8519
  }
8523
8520
  function Uw() {
8524
- const e = T(function({ node: t, context: n, className: o }) {
8525
- const i = j(t.props?.visible), [s, a] = re(!1), c = i !== void 0, l = c ? !!i : s, u = Y(t.props?.onVisibilityChangeId), p = n.dispatchAction, h = ve(() => {
8521
+ const e = I(function({ node: t, context: n, className: o }) {
8522
+ const i = j(t.props?.visible), [s, a] = ne(!1), c = i !== void 0, l = c ? !!i : s, u = Y(t.props?.onVisibilityChangeId), p = n.dispatchAction, h = ve(() => {
8526
8523
  const x = !l;
8527
8524
  c || a(x), u && p(u, x);
8528
- }, [p, c, u, l]), v = I("radix-password-toggle-field", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["visible", "onVisibilityChangeId"]));
8525
+ }, [p, c, u, l]), v = P("radix-password-toggle-field", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["visible", "onVisibilityChangeId"]));
8529
8526
  return /* @__PURE__ */ f.jsx(Ao.Provider, { value: { visible: l, toggleVisibility: h }, children: /* @__PURE__ */ f.jsx(
8530
8527
  "div",
8531
8528
  {
@@ -8542,11 +8539,11 @@ function Uw() {
8542
8539
  };
8543
8540
  }
8544
8541
  function zw() {
8545
- const e = T(function({ node: t, className: n }) {
8542
+ const e = I(function({ node: t, className: n }) {
8546
8543
  const o = Fe(Ao);
8547
8544
  if (!o)
8548
8545
  return null;
8549
- const i = D(t.props?.autoComplete), s = D(t.props?.placeholder), a = j(t.props?.disabled), c = I("radix-password-toggle-field-input", A(t.styleIds), n), l = B(t.props, /* @__PURE__ */ new Set(["autoComplete", "placeholder", "disabled"]));
8546
+ const i = D(t.props?.autoComplete), s = D(t.props?.placeholder), a = j(t.props?.disabled), c = P("radix-password-toggle-field-input", A(t.styleIds), n), l = B(t.props, /* @__PURE__ */ new Set(["autoComplete", "placeholder", "disabled"]));
8550
8547
  return /* @__PURE__ */ f.jsx(
8551
8548
  "input",
8552
8549
  {
@@ -8566,11 +8563,11 @@ function zw() {
8566
8563
  };
8567
8564
  }
8568
8565
  function Yw() {
8569
- const e = T(function({ node: t, context: n, className: o }) {
8566
+ const e = I(function({ node: t, context: n, className: o }) {
8570
8567
  const i = Fe(Ao);
8571
8568
  if (!i)
8572
8569
  return null;
8573
- const s = I("radix-password-toggle-field-toggle", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
8570
+ const s = P("radix-password-toggle-field-toggle", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
8574
8571
  return /* @__PURE__ */ f.jsx(
8575
8572
  "button",
8576
8573
  {
@@ -8588,11 +8585,11 @@ function Yw() {
8588
8585
  };
8589
8586
  }
8590
8587
  function Xw() {
8591
- const e = T(function({ node: t, context: n, className: o }) {
8588
+ const e = I(function({ node: t, context: n, className: o }) {
8592
8589
  const i = Fe(Ao);
8593
8590
  if (!i)
8594
8591
  return null;
8595
- const { defaultChildren: s, slotChildren: a } = Br(t), c = a.get("visible") ?? [], l = a.get("hidden") ?? [], u = i.visible ? c : l, p = s.length > 0 ? s : [], h = n.renderChildren(u.length > 0 ? u : p), v = I("radix-password-toggle-field-icon", A(t.styleIds), o);
8592
+ const { defaultChildren: s, slotChildren: a } = Br(t), c = a.get("visible") ?? [], l = a.get("hidden") ?? [], u = i.visible ? c : l, p = s.length > 0 ? s : [], h = n.renderChildren(u.length > 0 ? u : p), v = P("radix-password-toggle-field-icon", A(t.styleIds), o);
8596
8593
  return /* @__PURE__ */ f.jsx("span", { "data-ikon-node-id": t.id, className: v, children: h });
8597
8594
  });
8598
8595
  return (r) => {
@@ -9127,13 +9124,13 @@ var Ls = "ScrollArea", [qf] = xe(Ls), [$S, He] = qf(Ls), Zf = d.forwardRef(
9127
9124
  dir: o,
9128
9125
  scrollHideDelay: i = 600,
9129
9126
  ...s
9130
- } = e, [a, c] = d.useState(null), [l, u] = d.useState(null), [p, h] = d.useState(null), [v, m] = d.useState(null), [g, x] = d.useState(null), [R, y] = d.useState(0), [b, C] = d.useState(0), [w, E] = d.useState(!1), [S, N] = d.useState(!1), O = X(r, (M) => c(M)), P = Ve(o);
9127
+ } = e, [a, c] = d.useState(null), [l, u] = d.useState(null), [p, h] = d.useState(null), [v, m] = d.useState(null), [g, x] = d.useState(null), [R, y] = d.useState(0), [b, C] = d.useState(0), [w, E] = d.useState(!1), [S, N] = d.useState(!1), O = X(r, (M) => c(M)), T = Ve(o);
9131
9128
  return /* @__PURE__ */ f.jsx(
9132
9129
  $S,
9133
9130
  {
9134
9131
  scope: t,
9135
9132
  type: n,
9136
- dir: P,
9133
+ dir: T,
9137
9134
  scrollHideDelay: i,
9138
9135
  scrollArea: a,
9139
9136
  viewport: l,
@@ -9153,7 +9150,7 @@ var Ls = "ScrollArea", [qf] = xe(Ls), [$S, He] = qf(Ls), Zf = d.forwardRef(
9153
9150
  children: /* @__PURE__ */ f.jsx(
9154
9151
  L.div,
9155
9152
  {
9156
- dir: P,
9153
+ dir: T,
9157
9154
  ...s,
9158
9155
  ref: O,
9159
9156
  style: {
@@ -9452,14 +9449,14 @@ var VS = d.forwardRef((e, r) => {
9452
9449
  } = e, v = He(lt, t), [m, g] = d.useState(null), x = X(r, (O) => g(O)), R = d.useRef(null), y = d.useRef(""), b = v.viewport, C = n.content - n.viewport, w = pe(u), E = pe(c), S = Oo(p, 10);
9453
9450
  function N(O) {
9454
9451
  if (R.current) {
9455
- const P = O.clientX - R.current.left, M = O.clientY - R.current.top;
9456
- l({ x: P, y: M });
9452
+ const T = O.clientX - R.current.left, M = O.clientY - R.current.top;
9453
+ l({ x: T, y: M });
9457
9454
  }
9458
9455
  }
9459
9456
  return d.useEffect(() => {
9460
- const O = (P) => {
9461
- const M = P.target;
9462
- m?.contains(M) && w(P, C);
9457
+ const O = (T) => {
9458
+ const M = T.target;
9459
+ m?.contains(M) && w(T, C);
9463
9460
  };
9464
9461
  return document.addEventListener("wheel", O, { passive: !1 }), () => document.removeEventListener("wheel", O, { passive: !1 });
9465
9462
  }, [b, m, C, w]), d.useEffect(E, [n, E]), ir(m, S), ir(v.content, S), /* @__PURE__ */ f.jsx(
@@ -9483,8 +9480,8 @@ var VS = d.forwardRef((e, r) => {
9483
9480
  }),
9484
9481
  onPointerMove: _(e.onPointerMove, N),
9485
9482
  onPointerUp: _(e.onPointerUp, (O) => {
9486
- const P = O.target;
9487
- P.hasPointerCapture(O.pointerId) && P.releasePointerCapture(O.pointerId), document.body.style.webkitUserSelect = y.current, v.viewport && (v.viewport.style.scrollBehavior = ""), R.current = null;
9483
+ const T = O.target;
9484
+ T.hasPointerCapture(O.pointerId) && T.releasePointerCapture(O.pointerId), document.body.style.webkitUserSelect = y.current, v.viewport && (v.viewport.style.scrollBehavior = ""), R.current = null;
9488
9485
  })
9489
9486
  }
9490
9487
  )
@@ -9626,8 +9623,8 @@ function ir(e, r) {
9626
9623
  }
9627
9624
  var XS = Zf, qS = Qf, ZS = ep, JS = op, QS = ip;
9628
9625
  function eE() {
9629
- const e = T(function({ node: t, context: n, className: o }) {
9630
- const i = I("radix-avatar", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
9626
+ const e = I(function({ node: t, context: n, className: o }) {
9627
+ const i = P("radix-avatar", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
9631
9628
  return /* @__PURE__ */ f.jsx(
9632
9629
  gS,
9633
9630
  {
@@ -9644,8 +9641,8 @@ function eE() {
9644
9641
  };
9645
9642
  }
9646
9643
  function tE() {
9647
- const e = T(function({ node: t, className: n }) {
9648
- const o = D(t.props?.src), i = D(t.props?.alt), s = I("radix-avatar-image", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["src", "alt"]));
9644
+ const e = I(function({ node: t, className: n }) {
9645
+ const o = D(t.props?.src), i = D(t.props?.alt), s = P("radix-avatar-image", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["src", "alt"]));
9649
9646
  return /* @__PURE__ */ f.jsx(
9650
9647
  mS,
9651
9648
  {
@@ -9663,8 +9660,8 @@ function tE() {
9663
9660
  };
9664
9661
  }
9665
9662
  function rE() {
9666
- const e = T(function({ node: t, context: n, className: o }) {
9667
- const i = te(t.props?.delayMs), s = I("radix-avatar-fallback", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["delayMs"]));
9663
+ const e = I(function({ node: t, context: n, className: o }) {
9664
+ const i = te(t.props?.delayMs), s = P("radix-avatar-fallback", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["delayMs"]));
9668
9665
  return /* @__PURE__ */ f.jsx(
9669
9666
  xS,
9670
9667
  {
@@ -9682,8 +9679,8 @@ function rE() {
9682
9679
  };
9683
9680
  }
9684
9681
  function nE() {
9685
- const e = T(function({ node: t, context: n, className: o }) {
9686
- const i = te(t.props?.value), s = te(t.props?.max) ?? 100, a = I("radix-progress", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "max"])), u = i != null ? Math.min(100, Math.max(0, i / s * 100)) : 0;
9682
+ const e = I(function({ node: t, context: n, className: o }) {
9683
+ const i = te(t.props?.value), s = te(t.props?.max) ?? 100, a = P("radix-progress", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "max"])), u = i != null ? Math.min(100, Math.max(0, i / s * 100)) : 0;
9687
9684
  return /* @__PURE__ */ f.jsx(
9688
9685
  jS,
9689
9686
  {
@@ -9703,8 +9700,8 @@ function nE() {
9703
9700
  };
9704
9701
  }
9705
9702
  function oE() {
9706
- const e = T(function({ node: t, className: n }) {
9707
- const o = I("radix-progress-indicator", A(t.styleIds), n);
9703
+ const e = I(function({ node: t, className: n }) {
9704
+ const o = P("radix-progress-indicator", A(t.styleIds), n);
9708
9705
  return /* @__PURE__ */ f.jsx(
9709
9706
  LS,
9710
9707
  {
@@ -9720,8 +9717,8 @@ function oE() {
9720
9717
  };
9721
9718
  }
9722
9719
  function iE() {
9723
- const e = T(function({ node: t, context: n, className: o }) {
9724
- const i = D(t.props?.type), s = te(t.props?.scrollHideDelay), a = D(t.props?.dir), c = I("radix-scroll-area", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["type", "scrollHideDelay", "dir"]));
9720
+ const e = I(function({ node: t, context: n, className: o }) {
9721
+ const i = D(t.props?.type), s = te(t.props?.scrollHideDelay), a = D(t.props?.dir), c = P("radix-scroll-area", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["type", "scrollHideDelay", "dir"]));
9725
9722
  return /* @__PURE__ */ f.jsx(
9726
9723
  XS,
9727
9724
  {
@@ -9741,8 +9738,8 @@ function iE() {
9741
9738
  };
9742
9739
  }
9743
9740
  function sE() {
9744
- const e = T(function({ node: t, context: n, className: o }) {
9745
- const i = I("radix-scroll-area-viewport", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
9741
+ const e = I(function({ node: t, context: n, className: o }) {
9742
+ const i = P("radix-scroll-area-viewport", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
9746
9743
  return /* @__PURE__ */ f.jsx(
9747
9744
  qS,
9748
9745
  {
@@ -9758,8 +9755,8 @@ function sE() {
9758
9755
  };
9759
9756
  }
9760
9757
  function aE() {
9761
- const e = T(function({ node: t, context: n, className: o }) {
9762
- const i = D(t.props?.orientation), s = j(t.props?.forceMount), a = I("radix-scroll-area-scrollbar", A(t.styleIds), o), c = n.renderChildren(t.children ?? []);
9758
+ const e = I(function({ node: t, context: n, className: o }) {
9759
+ const i = D(t.props?.orientation), s = j(t.props?.forceMount), a = P("radix-scroll-area-scrollbar", A(t.styleIds), o), c = n.renderChildren(t.children ?? []);
9763
9760
  return /* @__PURE__ */ f.jsx(
9764
9761
  ZS,
9765
9762
  {
@@ -9777,8 +9774,8 @@ function aE() {
9777
9774
  };
9778
9775
  }
9779
9776
  function cE() {
9780
- const e = T(function({ node: t, className: n }) {
9781
- const o = I("radix-scroll-area-thumb", A(t.styleIds), n);
9777
+ const e = I(function({ node: t, className: n }) {
9778
+ const o = P("radix-scroll-area-thumb", A(t.styleIds), n);
9782
9779
  return /* @__PURE__ */ f.jsx(
9783
9780
  JS,
9784
9781
  {
@@ -9793,8 +9790,8 @@ function cE() {
9793
9790
  };
9794
9791
  }
9795
9792
  function lE() {
9796
- const e = T(function({ node: t, className: n }) {
9797
- const o = I("radix-scroll-area-corner", A(t.styleIds), n);
9793
+ const e = I(function({ node: t, className: n }) {
9794
+ const o = P("radix-scroll-area-corner", A(t.styleIds), n);
9798
9795
  return /* @__PURE__ */ f.jsx(
9799
9796
  QS,
9800
9797
  {
@@ -9822,8 +9819,8 @@ var dE = "AccessibleIcon", lp = ({ children: e, label: r }) => {
9822
9819
  };
9823
9820
  lp.displayName = dE;
9824
9821
  function uE() {
9825
- const e = T(function({ node: t, context: n, className: o }) {
9826
- const i = D(t.props?.label) ?? "", s = I("radix-accessible-icon", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
9822
+ const e = I(function({ node: t, context: n, className: o }) {
9823
+ const i = D(t.props?.label) ?? "", s = P("radix-accessible-icon", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
9827
9824
  let c;
9828
9825
  if (Na(a))
9829
9826
  c = a;
@@ -9840,8 +9837,8 @@ function uE() {
9840
9837
  };
9841
9838
  }
9842
9839
  function fE() {
9843
- const e = T(function({ node: t, context: n, className: o }) {
9844
- const i = I("radix-visually-hidden", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
9840
+ const e = I(function({ node: t, context: n, className: o }) {
9841
+ const i = P("radix-visually-hidden", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
9845
9842
  return /* @__PURE__ */ f.jsx(
9846
9843
  Kr,
9847
9844
  {
@@ -10105,7 +10102,7 @@ function RE(e) {
10105
10102
  }, t);
10106
10103
  }
10107
10104
  function bE() {
10108
- const [e, r] = re("");
10105
+ const [e, r] = ne("");
10109
10106
  return {
10110
10107
  announce: ve((n) => {
10111
10108
  n != null && r(n);
@@ -10123,7 +10120,7 @@ function pp(e) {
10123
10120
  }, [e, r]);
10124
10121
  }
10125
10122
  function CE() {
10126
- const [e] = re(() => /* @__PURE__ */ new Set()), r = ve((n) => (e.add(n), () => e.delete(n)), [e]);
10123
+ const [e] = ne(() => /* @__PURE__ */ new Set()), r = ve((n) => (e.add(n), () => e.delete(n)), [e]);
10127
10124
  return [ve((n) => {
10128
10125
  let {
10129
10126
  type: o,
@@ -10179,7 +10176,7 @@ function EE(e) {
10179
10176
  const {
10180
10177
  announce: i,
10181
10178
  announcement: s
10182
- } = bE(), a = tn("DndLiveRegion"), [c, l] = re(!1);
10179
+ } = bE(), a = tn("DndLiveRegion"), [c, l] = ne(!1);
10183
10180
  if (he(() => {
10184
10181
  l(!0);
10185
10182
  }, []), pp(ge(() => ({
@@ -10871,7 +10868,7 @@ class Ep {
10871
10868
  } = bp(g), S = KE(g), N = {
10872
10869
  x: Math.min(x === de.Right ? S.right - S.width / 2 : S.right, Math.max(x === de.Right ? S.left : S.left + S.width / 2, p.x)),
10873
10870
  y: Math.min(x === de.Down ? S.bottom - S.height / 2 : S.bottom, Math.max(x === de.Down ? S.top : S.top + S.height / 2, p.y))
10874
- }, O = x === de.Right && !y || x === de.Left && !b, P = x === de.Down && !C || x === de.Up && !R;
10871
+ }, O = x === de.Right && !y || x === de.Left && !b, T = x === de.Down && !C || x === de.Up && !R;
10875
10872
  if (O && N.x !== p.x) {
10876
10873
  const M = g.scrollLeft + h.x, V = x === de.Right && M <= w.x || x === de.Left && M >= E.x;
10877
10874
  if (V && !h.y) {
@@ -10886,7 +10883,7 @@ class Ep {
10886
10883
  behavior: a
10887
10884
  });
10888
10885
  break;
10889
- } else if (P && N.y !== p.y) {
10886
+ } else if (T && N.y !== p.y) {
10890
10887
  const M = g.scrollTop + h.y, V = x === de.Down && M <= w.y || x === de.Up && M >= E.y;
10891
10888
  if (V && !h.x) {
10892
10889
  g.scrollTo({
@@ -11236,12 +11233,12 @@ function tP(e) {
11236
11233
  continue;
11237
11234
  const {
11238
11235
  direction: O,
11239
- speed: P
11236
+ speed: T
11240
11237
  } = WE(E, N, y, r, h);
11241
11238
  for (const M of ["x", "y"])
11242
- v[M][O[M]] || (P[M] = 0, O[M] = 0);
11243
- if (P.x > 0 || P.y > 0) {
11244
- g(), b.current = E, m(C, s), x.current = P, R.current = O;
11239
+ v[M][O[M]] || (T[M] = 0, O[M] = 0);
11240
+ if (T.x > 0 || T.y > 0) {
11241
+ g(), b.current = E, m(C, s), x.current = T, R.current = O;
11245
11242
  return;
11246
11243
  }
11247
11244
  }
@@ -11342,7 +11339,7 @@ function sP(e, r) {
11342
11339
  dependencies: n,
11343
11340
  config: o
11344
11341
  } = r;
11345
- const [i, s] = re(null), {
11342
+ const [i, s] = ne(null), {
11346
11343
  frequency: a,
11347
11344
  measure: c,
11348
11345
  strategy: l
@@ -11450,7 +11447,7 @@ function lP(e) {
11450
11447
  }
11451
11448
  function bc(e, r, t) {
11452
11449
  r === void 0 && (r = lP);
11453
- const [n, o] = re(null);
11450
+ const [n, o] = ne(null);
11454
11451
  function i() {
11455
11452
  o((c) => {
11456
11453
  if (!e)
@@ -11499,7 +11496,7 @@ function uP(e) {
11499
11496
  }, [e]), t;
11500
11497
  }
11501
11498
  function fP(e) {
11502
- const [r, t] = re(null), n = ue(e), o = ve((i) => {
11499
+ const [r, t] = ne(null), n = ue(e), o = ve((i) => {
11503
11500
  const s = si(i.target);
11504
11501
  s && t((a) => a ? (a.set(s, Oi(s)), new Map(a)) : null);
11505
11502
  }, []);
@@ -11583,7 +11580,7 @@ function Ip(e) {
11583
11580
  const Sc = [];
11584
11581
  function vP(e, r) {
11585
11582
  r === void 0 && (r = xr);
11586
- const [t] = e, n = Ip(t ? Te(t) : null), [o, i] = re(Sc);
11583
+ const [t] = e, n = Ip(t ? Te(t) : null), [o, i] = ne(Sc);
11587
11584
  function s() {
11588
11585
  i(() => e.length ? e.map((c) => Rp(c) ? n : new Gs(r(c), c)) : Sc);
11589
11586
  }
@@ -11606,7 +11603,7 @@ function gP(e) {
11606
11603
  let {
11607
11604
  measure: r
11608
11605
  } = e;
11609
- const [t, n] = re(null), o = ve((l) => {
11606
+ const [t, n] = ne(null), o = ve((l) => {
11610
11607
  for (const {
11611
11608
  target: u
11612
11609
  } of l)
@@ -11933,7 +11930,7 @@ var Ct;
11933
11930
  (function(e) {
11934
11931
  e[e.Uninitialized = 0] = "Uninitialized", e[e.Initializing = 1] = "Initializing", e[e.Initialized = 2] = "Initialized";
11935
11932
  })(Ct || (Ct = {}));
11936
- const EP = /* @__PURE__ */ T(function(r) {
11933
+ const EP = /* @__PURE__ */ I(function(r) {
11937
11934
  var t, n, o, i;
11938
11935
  let {
11939
11936
  id: s,
@@ -11946,14 +11943,14 @@ const EP = /* @__PURE__ */ T(function(r) {
11946
11943
  modifiers: v,
11947
11944
  ...m
11948
11945
  } = r;
11949
- const g = ig(bP, void 0, RP), [x, R] = g, [y, b] = CE(), [C, w] = re(Ct.Uninitialized), E = C === Ct.Initialized, {
11946
+ const g = ig(bP, void 0, RP), [x, R] = g, [y, b] = CE(), [C, w] = ne(Ct.Uninitialized), E = C === Ct.Initialized, {
11950
11947
  draggable: {
11951
11948
  active: S,
11952
11949
  nodes: N,
11953
11950
  translate: O
11954
11951
  },
11955
11952
  droppable: {
11956
- containers: P
11953
+ containers: T
11957
11954
  }
11958
11955
  } = x, M = S != null ? N.get(S) : null, V = ue({
11959
11956
  initial: null,
@@ -11966,8 +11963,8 @@ const EP = /* @__PURE__ */ T(function(r) {
11966
11963
  data: (Pe = M?.data) != null ? Pe : xP,
11967
11964
  rect: V
11968
11965
  } : null;
11969
- }, [S, M]), F = ue(null), [q, K] = re(null), [z, W] = re(null), $ = jr(m, Object.values(m)), k = tn("DndDescribedBy", s), G = ge(() => P.getEnabled(), [P]), Z = wP(h), {
11970
- droppableRects: ne,
11966
+ }, [S, M]), F = ue(null), [q, K] = ne(null), [z, W] = ne(null), $ = jr(m, Object.values(m)), k = tn("DndDescribedBy", s), G = ge(() => T.getEnabled(), [T]), Z = wP(h), {
11967
+ droppableRects: re,
11971
11968
  measureDroppableContainers: oe,
11972
11969
  measuringScheduled: ie
11973
11970
  } = sP(G, {
@@ -11987,15 +11984,15 @@ const EP = /* @__PURE__ */ T(function(r) {
11987
11984
  activeNode: se,
11988
11985
  collisionRect: null,
11989
11986
  collisions: null,
11990
- droppableRects: ne,
11987
+ droppableRects: re,
11991
11988
  draggableNodes: N,
11992
11989
  draggingNode: null,
11993
11990
  draggingNodeRect: null,
11994
- droppableContainers: P,
11991
+ droppableContainers: T,
11995
11992
  over: null,
11996
11993
  scrollableAncestors: [],
11997
11994
  scrollAdjustedTranslate: null
11998
- }), be = P.getNodeFor((t = le.current.over) == null ? void 0 : t.id), Se = gP({
11995
+ }), be = T.getNodeFor((t = le.current.over) == null ? void 0 : t.id), Se = gP({
11999
11996
  measure: Z.dragOverlay.measure
12000
11997
  }), Je = (n = Se.nodeRef.current) != null ? n : se, Qe = E ? (o = Se.rect) != null ? o : J : null, Kt = !!(Se.nodeRef.current && Se.rect), Ca = dP(Kt ? null : J), Wo = Ip(Je ? Te(Je) : null), gt = uP(E ? be ?? se : null), ln = vP(gt), dn = Mp(v, {
12001
11998
  transform: {
@@ -12017,10 +12014,10 @@ const EP = /* @__PURE__ */ T(function(r) {
12017
12014
  }), wa = U ? Qt(U, O) : null, Sa = fP(gt), Yv = wc(Sa), Xv = wc(Sa, [J]), Gt = Qt(dn, Yv), Ut = Qe ? jE(Qe, dn) : null, yr = H && Ut ? p({
12018
12015
  active: H,
12019
12016
  collisionRect: Ut,
12020
- droppableRects: ne,
12017
+ droppableRects: re,
12021
12018
  droppableContainers: G,
12022
12019
  pointerCoordinates: wa
12023
- }) : null, Ea = TE(yr, "id"), [mt, Pa] = re(null), qv = Kt ? dn : Qt(dn, Xv), Zv = DE(qv, (i = mt?.rect) != null ? i : null, J), Ko = ue(null), Ia = ve(
12020
+ }) : null, Ea = TE(yr, "id"), [mt, Pa] = ne(null), qv = Kt ? dn : Qt(dn, Xv), Zv = DE(qv, (i = mt?.rect) != null ? i : null, J), Ko = ue(null), Ia = ve(
12024
12021
  (Pe, Ae) => {
12025
12022
  let {
12026
12023
  sensor: Me,
@@ -12238,11 +12235,11 @@ const EP = /* @__PURE__ */ T(function(r) {
12238
12235
  activeNode: se,
12239
12236
  collisionRect: Ut,
12240
12237
  collisions: yr,
12241
- droppableRects: ne,
12238
+ droppableRects: re,
12242
12239
  draggableNodes: N,
12243
12240
  draggingNode: Je,
12244
12241
  draggingNodeRect: Qe,
12245
- droppableContainers: P,
12242
+ droppableContainers: T,
12246
12243
  over: mt,
12247
12244
  scrollableAncestors: gt,
12248
12245
  scrollAdjustedTranslate: Gt
@@ -12250,7 +12247,7 @@ const EP = /* @__PURE__ */ T(function(r) {
12250
12247
  initial: Qe,
12251
12248
  translated: Ut
12252
12249
  };
12253
- }, [H, se, yr, Ut, N, Je, Qe, ne, P, mt, gt, Gt]), tP({
12250
+ }, [H, se, yr, Ut, N, Je, Qe, re, T, mt, gt, Gt]), tP({
12254
12251
  ...ee,
12255
12252
  delta: O,
12256
12253
  draggingRect: Ut,
@@ -12267,8 +12264,8 @@ const EP = /* @__PURE__ */ T(function(r) {
12267
12264
  containerNodeRect: ce,
12268
12265
  dragOverlay: Se,
12269
12266
  draggableNodes: N,
12270
- droppableContainers: P,
12271
- droppableRects: ne,
12267
+ droppableContainers: T,
12268
+ droppableRects: re,
12272
12269
  over: mt,
12273
12270
  measureDroppableContainers: oe,
12274
12271
  scrollableAncestors: gt,
@@ -12276,7 +12273,7 @@ const EP = /* @__PURE__ */ T(function(r) {
12276
12273
  measuringConfiguration: Z,
12277
12274
  measuringScheduled: ie,
12278
12275
  windowRect: Wo
12279
- }), [H, se, J, z, yr, ce, Se, N, P, ne, mt, oe, gt, ln, Z, ie, Wo]), eg = ge(() => ({
12276
+ }), [H, se, J, z, yr, ce, Se, N, T, re, mt, oe, gt, ln, Z, ie, Wo]), eg = ge(() => ({
12280
12277
  activatorEvent: z,
12281
12278
  activators: Ta,
12282
12279
  active: H,
@@ -12455,7 +12452,7 @@ function AP(e) {
12455
12452
  animation: r,
12456
12453
  children: t
12457
12454
  } = e;
12458
- const [n, o] = re(null), [i, s] = re(null), a = Un(t);
12455
+ const [n, o] = ne(null), [i, s] = ne(null), a = Un(t);
12459
12456
  return !t && !n && a && o(a), ze(() => {
12460
12457
  if (!i)
12461
12458
  return;
@@ -12711,14 +12708,14 @@ const HP = /* @__PURE__ */ Q.memo((e) => {
12711
12708
  scrollableAncestorRects: C,
12712
12709
  transform: E,
12713
12710
  windowRect: w
12714
- }), O = zs(h), P = $P({
12711
+ }), O = zs(h), T = $P({
12715
12712
  config: n,
12716
12713
  draggableNodes: m,
12717
12714
  droppableContainers: g,
12718
12715
  measuringConfiguration: y
12719
12716
  }), M = O ? x.setRef : void 0;
12720
12717
  return Q.createElement(OP, null, Q.createElement(AP, {
12721
- animation: P
12718
+ animation: T
12722
12719
  }, p && S ? Q.createElement(kP, {
12723
12720
  key: S,
12724
12721
  id: p.id,
@@ -12954,7 +12951,7 @@ function rI(e) {
12954
12951
  node: n,
12955
12952
  rect: o
12956
12953
  } = e;
12957
- const [i, s] = re(null), a = ue(t);
12954
+ const [i, s] = ne(null), a = ue(t);
12958
12955
  return ze(() => {
12959
12956
  if (!r && t !== a.current && n.current) {
12960
12957
  const c = o.current;
@@ -13008,7 +13005,7 @@ function nI(e) {
13008
13005
  rect: S,
13009
13006
  node: N,
13010
13007
  isOver: O,
13011
- setNodeRef: P
13008
+ setNodeRef: T
13012
13009
  } = Dp({
13013
13010
  id: s,
13014
13011
  data: w,
@@ -13036,7 +13033,7 @@ function nI(e) {
13036
13033
  ...t
13037
13034
  },
13038
13035
  disabled: b.draggable
13039
- }), G = pE(P, q), Z = !!M, ne = Z && !m && Rn(h) && Rn(x), oe = !R && z, ie = oe && ne ? k : null, U = ne ? ie ?? (a ?? y)({
13036
+ }), G = pE(T, q), Z = !!M, re = Z && !m && Rn(h) && Rn(x), oe = !R && z, ie = oe && re ? k : null, U = re ? ie ?? (a ?? y)({
13040
13037
  rects: g,
13041
13038
  activeNodeRect: H,
13042
13039
  activeIndex: h,
@@ -13102,7 +13099,7 @@ function nI(e) {
13102
13099
  over: W,
13103
13100
  setNodeRef: G,
13104
13101
  setActivatorNodeRef: $,
13105
- setDroppableNodeRef: P,
13102
+ setDroppableNodeRef: T,
13106
13103
  setDraggableNodeRef: q,
13107
13104
  transform: be ?? U,
13108
13105
  transition: Se()
@@ -13212,8 +13209,8 @@ function xI(e, r) {
13212
13209
  };
13213
13210
  }
13214
13211
  function yI() {
13215
- const e = T(function({ node: t, context: n, className: o }) {
13216
- const i = uI(D(t.props?.collisionDetection)), s = hI(Y(t.props?.onDragStartId), n.dispatchAction), a = vI(Y(t.props?.onDragMoveId), n.dispatchAction), c = gI(Y(t.props?.onDragOverId), n.dispatchAction), l = mI(Y(t.props?.onDragEndId), n.dispatchAction), u = xI(Y(t.props?.onDragCancelId), n.dispatchAction), p = I("radix-dnd-context", A(t.styleIds), o), h = B(t.props, iI), v = n.renderChildren(t.children ?? []), m = /* @__PURE__ */ f.jsx(
13212
+ const e = I(function({ node: t, context: n, className: o }) {
13213
+ const i = uI(D(t.props?.collisionDetection)), s = hI(Y(t.props?.onDragStartId), n.dispatchAction), a = vI(Y(t.props?.onDragMoveId), n.dispatchAction), c = gI(Y(t.props?.onDragOverId), n.dispatchAction), l = mI(Y(t.props?.onDragEndId), n.dispatchAction), u = xI(Y(t.props?.onDragCancelId), n.dispatchAction), p = P("radix-dnd-context", A(t.styleIds), o), h = B(t.props, iI), v = n.renderChildren(t.children ?? []), m = /* @__PURE__ */ f.jsx(
13217
13214
  EP,
13218
13215
  {
13219
13216
  collisionDetection: i,
@@ -13241,8 +13238,8 @@ function yI() {
13241
13238
  };
13242
13239
  }
13243
13240
  function RI() {
13244
- const e = T(function({ node: t, context: n, className: o }) {
13245
- const i = St(t.props?.items) ?? [], s = fI(D(t.props?.strategy)), a = I("radix-sortable-context", A(t.styleIds), o), c = B(t.props, sI), [l, u] = re(i), p = ue(i);
13241
+ const e = I(function({ node: t, context: n, className: o }) {
13242
+ const i = St(t.props?.items) ?? [], s = fI(D(t.props?.strategy)), a = P("radix-sortable-context", A(t.styleIds), o), c = B(t.props, sI), [l, u] = ne(i), p = ue(i);
13246
13243
  he(() => {
13247
13244
  const y = i.join(","), b = p.current.join(",");
13248
13245
  y !== b && (p.current = i, u(i));
@@ -13289,8 +13286,8 @@ function RI() {
13289
13286
  };
13290
13287
  }
13291
13288
  function bI() {
13292
- const e = T(function({ node: t, context: n, className: o }) {
13293
- const i = _t(t.props?.id, t.id), s = j(t.props?.disabled) ?? !1, a = B(t.props, lI), { setNodeRef: c, attributes: l, listeners: u, transform: p, transition: h, isDragging: v, isOver: m } = nI({ id: i, disabled: s }), g = I("radix-sortable-item", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = {
13289
+ const e = I(function({ node: t, context: n, className: o }) {
13290
+ const i = _t(t.props?.id, t.id), s = j(t.props?.disabled) ?? !1, a = B(t.props, lI), { setNodeRef: c, attributes: l, listeners: u, transform: p, transition: h, isDragging: v, isOver: m } = nI({ id: i, disabled: s }), g = P("radix-sortable-item", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = {
13294
13291
  transform: p ? It.Transform.toString(p) : void 0
13295
13292
  };
13296
13293
  return /* @__PURE__ */ f.jsx(
@@ -13316,12 +13313,12 @@ function bI() {
13316
13313
  };
13317
13314
  }
13318
13315
  function CI() {
13319
- const e = T(function({ node: t, context: n, className: o }) {
13316
+ const e = I(function({ node: t, context: n, className: o }) {
13320
13317
  const i = _t(t.props?.id, t.id), s = j(t.props?.disabled) ?? !1, a = t.props?.data, c = B(t.props, aI), { setNodeRef: l, attributes: u, listeners: p, transform: h, isDragging: v } = Op({
13321
13318
  id: i,
13322
13319
  disabled: s,
13323
13320
  data: a
13324
- }), m = I("radix-draggable", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = h ? { transform: `translate3d(${Math.round(h.x)}px, ${Math.round(h.y)}px, 0)` } : void 0;
13321
+ }), m = P("radix-draggable", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = h ? { transform: `translate3d(${Math.round(h.x)}px, ${Math.round(h.y)}px, 0)` } : void 0;
13325
13322
  return /* @__PURE__ */ f.jsx(
13326
13323
  "div",
13327
13324
  {
@@ -13343,8 +13340,8 @@ function CI() {
13343
13340
  };
13344
13341
  }
13345
13342
  function wI() {
13346
- const e = T(function({ node: t, context: n, className: o }) {
13347
- const i = _t(t.props?.id, t.id), s = j(t.props?.disabled) ?? !1, a = t.props?.data, c = B(t.props, cI), { isOver: l, setNodeRef: u } = Dp({ id: i, disabled: s, data: a }), p = I("radix-droppable", A(t.styleIds), o), h = n.renderChildren(t.children ?? []);
13343
+ const e = I(function({ node: t, context: n, className: o }) {
13344
+ const i = _t(t.props?.id, t.id), s = j(t.props?.disabled) ?? !1, a = t.props?.data, c = B(t.props, cI), { isOver: l, setNodeRef: u } = Dp({ id: i, disabled: s, data: a }), p = P("radix-droppable", A(t.styleIds), o), h = n.renderChildren(t.children ?? []);
13348
13345
  return /* @__PURE__ */ f.jsx(
13349
13346
  "div",
13350
13347
  {
@@ -13363,8 +13360,8 @@ function wI() {
13363
13360
  };
13364
13361
  }
13365
13362
  function SI() {
13366
- const e = T(function({ node: t, context: n, className: o }) {
13367
- const i = pI(j(t.props?.dropAnimation)), s = I("radix-drag-overlay", A(t.styleIds), o), a = B(t.props, dI), c = n.renderChildren(t.children ?? []);
13363
+ const e = I(function({ node: t, context: n, className: o }) {
13364
+ const i = pI(j(t.props?.dropAnimation)), s = P("radix-drag-overlay", A(t.styleIds), o), a = B(t.props, dI), c = n.renderChildren(t.children ?? []);
13368
13365
  return /* @__PURE__ */ f.jsx(
13369
13366
  HP,
13370
13367
  {
@@ -13669,8 +13666,8 @@ var iT = [
13669
13666
  Gp.displayName = aT;
13670
13667
  var cT = Gp;
13671
13668
  function lT() {
13672
- const e = T(function({ node: t, context: n, className: o }) {
13673
- const i = I("radix-root", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13669
+ const e = I(function({ node: t, context: n, className: o }) {
13670
+ const i = P("radix-root", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13674
13671
  return /* @__PURE__ */ f.jsx(
13675
13672
  "div",
13676
13673
  {
@@ -13687,8 +13684,8 @@ function lT() {
13687
13684
  };
13688
13685
  }
13689
13686
  function dT() {
13690
- const e = T(function({ node: t, context: n, className: o }) {
13691
- const i = I("radix-row", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13687
+ const e = I(function({ node: t, context: n, className: o }) {
13688
+ const i = P("radix-row", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13692
13689
  return /* @__PURE__ */ f.jsx(
13693
13690
  "div",
13694
13691
  {
@@ -13705,8 +13702,8 @@ function dT() {
13705
13702
  };
13706
13703
  }
13707
13704
  function uT() {
13708
- const e = T(function({ node: t, context: n, className: o }) {
13709
- const i = I("radix-column", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13705
+ const e = I(function({ node: t, context: n, className: o }) {
13706
+ const i = P("radix-column", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = B(t.props, /* @__PURE__ */ new Set());
13710
13707
  return /* @__PURE__ */ f.jsx(
13711
13708
  "div",
13712
13709
  {
@@ -13723,8 +13720,8 @@ function uT() {
13723
13720
  };
13724
13721
  }
13725
13722
  function fT() {
13726
- const e = T(function({ node: t, context: n, className: o }) {
13727
- const i = D(t.props?.dir), s = I("radix-direction-provider", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = /* @__PURE__ */ f.jsx(hR, { dir: i ?? "ltr", children: a });
13723
+ const e = I(function({ node: t, context: n, className: o }) {
13724
+ const i = D(t.props?.dir), s = P("radix-direction-provider", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = /* @__PURE__ */ f.jsx(hR, { dir: i ?? "ltr", children: a });
13728
13725
  return s ? /* @__PURE__ */ f.jsx("div", { "data-ikon-node-id": t.id, className: s, children: c }) : c;
13729
13726
  });
13730
13727
  return (r) => {
@@ -13733,8 +13730,8 @@ function fT() {
13733
13730
  };
13734
13731
  }
13735
13732
  function pT() {
13736
- const e = T(function({ node: t, context: n, className: o }) {
13737
- const i = I("radix-portal-root", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
13733
+ const e = I(function({ node: t, context: n, className: o }) {
13734
+ const i = P("radix-portal-root", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
13738
13735
  return /* @__PURE__ */ f.jsx(
13739
13736
  jI,
13740
13737
  {
@@ -13750,8 +13747,8 @@ function pT() {
13750
13747
  };
13751
13748
  }
13752
13749
  function hT() {
13753
- const e = T(function({ node: t, className: n }) {
13754
- const o = D(t.props?.orientation), i = j(t.props?.decorative), s = I("radix-separator", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["orientation", "decorative"]));
13750
+ const e = I(function({ node: t, className: n }) {
13751
+ const o = D(t.props?.orientation), i = j(t.props?.decorative), s = P("radix-separator", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["orientation", "decorative"]));
13755
13752
  return /* @__PURE__ */ f.jsx(
13756
13753
  qI,
13757
13754
  {
@@ -13769,8 +13766,8 @@ function hT() {
13769
13766
  };
13770
13767
  }
13771
13768
  function vT() {
13772
- const e = T(function({ node: t, context: n, className: o }) {
13773
- const i = te(t.props?.ratio), s = I("radix-aspect-ratio", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["ratio"]));
13769
+ const e = I(function({ node: t, context: n, className: o }) {
13770
+ const i = te(t.props?.ratio), s = P("radix-aspect-ratio", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["ratio"]));
13774
13771
  return /* @__PURE__ */ f.jsx(
13775
13772
  cT,
13776
13773
  {
@@ -13788,8 +13785,8 @@ function vT() {
13788
13785
  };
13789
13786
  }
13790
13787
  function gT() {
13791
- const e = T(function({ node: t, className: n }) {
13792
- const o = D(t.props?.src), i = D(t.props?.alt), s = I("radix-image", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["src", "alt"]));
13788
+ const e = I(function({ node: t, className: n }) {
13789
+ const o = D(t.props?.src), i = D(t.props?.alt), s = P("radix-image", A(t.styleIds), n), a = B(t.props, /* @__PURE__ */ new Set(["src", "alt"]));
13793
13790
  return /* @__PURE__ */ f.jsx(
13794
13791
  "img",
13795
13792
  {
@@ -13807,8 +13804,8 @@ function gT() {
13807
13804
  };
13808
13805
  }
13809
13806
  function mT() {
13810
- const e = T(function({ node: t, context: n, className: o }) {
13811
- const i = D(t.props?.htmlFor), s = I("radix-label", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["htmlFor"]));
13807
+ const e = I(function({ node: t, context: n, className: o }) {
13808
+ const i = D(t.props?.htmlFor), s = P("radix-label", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["htmlFor"]));
13812
13809
  return /* @__PURE__ */ f.jsx(
13813
13810
  "label",
13814
13811
  {
@@ -13866,8 +13863,8 @@ var RT = Up, Bt = "NavigationMenu", [Xs, zp, bT] = ht(Bt), [ki, CT, wT] = ht(Bt)
13866
13863
  } = e, [p, h] = d.useState(null), v = X(r, (O) => h(O)), m = Ve(l), g = d.useRef(0), x = d.useRef(0), R = d.useRef(0), [y, b] = d.useState(!0), [C, w] = ye({
13867
13864
  prop: n,
13868
13865
  onChange: (O) => {
13869
- const P = O !== "", M = a > 0;
13870
- P ? (window.clearTimeout(R.current), M && b(!1)) : (window.clearTimeout(R.current), R.current = window.setTimeout(
13866
+ const T = O !== "", M = a > 0;
13867
+ T ? (window.clearTimeout(R.current), M && b(!1)) : (window.clearTimeout(R.current), R.current = window.setTimeout(
13871
13868
  () => b(!0),
13872
13869
  a
13873
13870
  )), o?.(O);
@@ -13909,7 +13906,7 @@ var RT = Up, Bt = "NavigationMenu", [Xs, zp, bT] = ht(Bt), [ki, CT, wT] = ht(Bt)
13909
13906
  onContentEnter: () => window.clearTimeout(x.current),
13910
13907
  onContentLeave: E,
13911
13908
  onItemSelect: (O) => {
13912
- w((P) => P === O ? "" : O);
13909
+ w((T) => T === O ? "" : O);
13913
13910
  },
13914
13911
  onItemDismiss: () => w(""),
13915
13912
  children: /* @__PURE__ */ f.jsx(
@@ -14239,7 +14236,7 @@ var MT = d.forwardRef((e, r) => {
14239
14236
  }
14240
14237
  }, [u.isRootMenu, e.value, o, R, a]);
14241
14238
  const y = d.useMemo(() => {
14242
- const C = g().map((P) => P.value);
14239
+ const C = g().map((T) => T.value);
14243
14240
  u.dir === "rtl" && C.reverse();
14244
14241
  const w = C.indexOf(u.value), E = C.indexOf(u.previousValue), S = n === u.value, N = E === C.indexOf(n);
14245
14242
  if (!S && !N) return x.current;
@@ -14281,8 +14278,8 @@ var MT = d.forwardRef((e, r) => {
14281
14278
  onKeyDown: _(e.onKeyDown, (b) => {
14282
14279
  const C = b.altKey || b.ctrlKey || b.metaKey;
14283
14280
  if (b.key === "Tab" && !C) {
14284
- const E = Fi(b.currentTarget), S = document.activeElement, N = E.findIndex((M) => M === S), P = b.shiftKey ? E.slice(0, N).reverse() : E.slice(N + 1, E.length);
14285
- Qs(P) ? b.preventDefault() : i.current?.focus();
14281
+ const E = Fi(b.currentTarget), S = document.activeElement, N = E.findIndex((M) => M === S), T = b.shiftKey ? E.slice(0, N).reverse() : E.slice(N + 1, E.length);
14282
+ Qs(T) ? b.preventDefault() : i.current?.focus();
14286
14283
  }
14287
14284
  }),
14288
14285
  onEscapeKeyDown: _(e.onEscapeKeyDown, (b) => {
@@ -14518,10 +14515,10 @@ var QT = "MenuPortal", [t_, vh] = Ht(QT, {
14518
14515
  onDismiss: v,
14519
14516
  disableOutsideScroll: m,
14520
14517
  ...g
14521
- } = e, x = Wt(Le, t), R = sn(Le, t), y = on(t), b = fh(t), C = YT(t), [w, E] = d.useState(null), S = d.useRef(null), N = X(r, S, x.onContentChange), O = d.useRef(0), P = d.useRef(""), M = d.useRef(0), V = d.useRef(null), H = d.useRef("right"), F = d.useRef(0), q = m ? Wr : d.Fragment, K = m ? { as: nN, allowPinchZoom: !0 } : void 0, z = ($) => {
14522
- const k = P.current + $, G = C().filter((U) => !U.disabled), Z = document.activeElement, ne = G.find((U) => U.ref.current === Z)?.textValue, oe = G.map((U) => U.textValue), ie = vN(oe, k, ne), se = G.find((U) => U.textValue === ie)?.ref.current;
14518
+ } = e, x = Wt(Le, t), R = sn(Le, t), y = on(t), b = fh(t), C = YT(t), [w, E] = d.useState(null), S = d.useRef(null), N = X(r, S, x.onContentChange), O = d.useRef(0), T = d.useRef(""), M = d.useRef(0), V = d.useRef(null), H = d.useRef("right"), F = d.useRef(0), q = m ? Wr : d.Fragment, K = m ? { as: nN, allowPinchZoom: !0 } : void 0, z = ($) => {
14519
+ const k = T.current + $, G = C().filter((U) => !U.disabled), Z = document.activeElement, re = G.find((U) => U.ref.current === Z)?.textValue, oe = G.map((U) => U.textValue), ie = vN(oe, k, re), se = G.find((U) => U.textValue === ie)?.ref.current;
14523
14520
  (function U(ee) {
14524
- P.current = ee, window.clearTimeout(O.current), ee !== "" && (O.current = window.setTimeout(() => U(""), 1e3));
14521
+ T.current = ee, window.clearTimeout(O.current), ee !== "" && (O.current = window.setTimeout(() => U(""), 1e3));
14525
14522
  })(k), se && setTimeout(() => se.focus());
14526
14523
  };
14527
14524
  d.useEffect(() => () => window.clearTimeout(O.current), []), io();
@@ -14530,7 +14527,7 @@ var QT = "MenuPortal", [t_, vh] = Ht(QT, {
14530
14527
  eN,
14531
14528
  {
14532
14529
  scope: t,
14533
- searchRef: P,
14530
+ searchRef: T,
14534
14531
  onItemEnter: d.useCallback(
14535
14532
  ($) => {
14536
14533
  W($) && $.preventDefault();
@@ -14599,8 +14596,8 @@ var QT = "MenuPortal", [t_, vh] = Ht(QT, {
14599
14596
  ref: N,
14600
14597
  style: { outline: "none", ...g.style },
14601
14598
  onKeyDown: _(g.onKeyDown, ($) => {
14602
- const G = $.target.closest("[data-radix-menu-content]") === $.currentTarget, Z = $.ctrlKey || $.altKey || $.metaKey, ne = $.key.length === 1;
14603
- G && ($.key === "Tab" && $.preventDefault(), !Z && ne && z($.key));
14599
+ const G = $.target.closest("[data-radix-menu-content]") === $.currentTarget, Z = $.ctrlKey || $.altKey || $.metaKey, re = $.key.length === 1;
14600
+ G && ($.key === "Tab" && $.preventDefault(), !Z && re && z($.key));
14604
14601
  const oe = S.current;
14605
14602
  if ($.target !== oe || !GT.includes($.key)) return;
14606
14603
  $.preventDefault();
@@ -14608,7 +14605,7 @@ var QT = "MenuPortal", [t_, vh] = Ht(QT, {
14608
14605
  uh.includes($.key) && se.reverse(), pN(se);
14609
14606
  }),
14610
14607
  onBlur: _(e.onBlur, ($) => {
14611
- $.currentTarget.contains($.target) || (window.clearTimeout(O.current), P.current = "");
14608
+ $.currentTarget.contains($.target) || (window.clearTimeout(O.current), T.current = "");
14612
14609
  }),
14613
14610
  onPointerMove: _(
14614
14611
  e.onPointerMove,
@@ -15403,10 +15400,10 @@ function NA(e) {
15403
15400
  if (e === "indeterminate") return "indeterminate";
15404
15401
  }
15405
15402
  function AA() {
15406
- const e = T(function({ node: t, context: n, className: o }) {
15407
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.orientation), c = te(t.props?.delayDuration), l = te(t.props?.skipDelayDuration), [u, p] = re(s ?? ""), h = i !== void 0, v = h ? i : u, m = $e(Y(t.props?.onValueChangeId), n.dispatchAction), g = (b) => {
15403
+ const e = I(function({ node: t, context: n, className: o }) {
15404
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.orientation), c = te(t.props?.delayDuration), l = te(t.props?.skipDelayDuration), [u, p] = ne(s ?? ""), h = i !== void 0, v = h ? i : u, m = $e(Y(t.props?.onValueChangeId), n.dispatchAction), g = (b) => {
15408
15405
  h || p(b), m?.(b);
15409
- }, x = I("radix-navigation-menu", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(
15406
+ }, x = P("radix-navigation-menu", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(
15410
15407
  t.props,
15411
15408
  /* @__PURE__ */ new Set(["value", "defaultValue", "orientation", "delayDuration", "skipDelayDuration", "onValueChangeId"])
15412
15409
  );
@@ -15432,8 +15429,8 @@ function AA() {
15432
15429
  };
15433
15430
  }
15434
15431
  function MA() {
15435
- const e = T(function({ node: t, context: n, className: o }) {
15436
- const i = I("radix-navigation-menu-list", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
15432
+ const e = I(function({ node: t, context: n, className: o }) {
15433
+ const i = P("radix-navigation-menu-list", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
15437
15434
  return /* @__PURE__ */ f.jsx(
15438
15435
  LT,
15439
15436
  {
@@ -15449,8 +15446,8 @@ function MA() {
15449
15446
  };
15450
15447
  }
15451
15448
  function OA() {
15452
- const e = T(function({ node: t, context: n, className: o }) {
15453
- const i = D(t.props?.value), s = I("radix-navigation-menu-item", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["value"]));
15449
+ const e = I(function({ node: t, context: n, className: o }) {
15450
+ const i = D(t.props?.value), s = P("radix-navigation-menu-item", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["value"]));
15454
15451
  return /* @__PURE__ */ f.jsx(
15455
15452
  FT,
15456
15453
  {
@@ -15468,8 +15465,8 @@ function OA() {
15468
15465
  };
15469
15466
  }
15470
15467
  function _A() {
15471
- const e = T(function({ node: t, context: n, className: o }) {
15472
- const i = j(t.props?.disabled), s = I("radix-navigation-menu-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { appearance: "none", outline: "none" };
15468
+ const e = I(function({ node: t, context: n, className: o }) {
15469
+ const i = j(t.props?.disabled), s = P("radix-navigation-menu-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { appearance: "none", outline: "none" };
15473
15470
  return /* @__PURE__ */ f.jsx(
15474
15471
  $T,
15475
15472
  {
@@ -15488,8 +15485,8 @@ function _A() {
15488
15485
  };
15489
15486
  }
15490
15487
  function DA() {
15491
- const e = T(function({ node: t, context: n, className: o }) {
15492
- const i = j(t.props?.forceMount), s = I("radix-navigation-menu-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15488
+ const e = I(function({ node: t, context: n, className: o }) {
15489
+ const i = j(t.props?.forceMount), s = P("radix-navigation-menu-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15493
15490
  return /* @__PURE__ */ f.jsx(
15494
15491
  HT,
15495
15492
  {
@@ -15507,8 +15504,8 @@ function DA() {
15507
15504
  };
15508
15505
  }
15509
15506
  function kA() {
15510
- const e = T(function({ node: t, context: n, className: o }) {
15511
- const i = j(t.props?.active), s = Ie(Y(t.props?.onSelectId), n.dispatchAction), a = I("radix-navigation-menu-link", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["active", "onSelectId"])), u = { outline: "none" };
15507
+ const e = I(function({ node: t, context: n, className: o }) {
15508
+ const i = j(t.props?.active), s = Ie(Y(t.props?.onSelectId), n.dispatchAction), a = P("radix-navigation-menu-link", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["active", "onSelectId"])), u = { outline: "none" };
15512
15509
  return /* @__PURE__ */ f.jsx(
15513
15510
  VT,
15514
15511
  {
@@ -15528,8 +15525,8 @@ function kA() {
15528
15525
  };
15529
15526
  }
15530
15527
  function jA() {
15531
- const e = T(function({ node: t, context: n, className: o }) {
15532
- const i = j(t.props?.forceMount), s = I("radix-navigation-menu-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15528
+ const e = I(function({ node: t, context: n, className: o }) {
15529
+ const i = j(t.props?.forceMount), s = P("radix-navigation-menu-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15533
15530
  return /* @__PURE__ */ f.jsx(
15534
15531
  BT,
15535
15532
  {
@@ -15547,8 +15544,8 @@ function jA() {
15547
15544
  };
15548
15545
  }
15549
15546
  function LA() {
15550
- const e = T(function({ node: t, context: n, className: o }) {
15551
- const i = j(t.props?.forceMount), s = I("radix-navigation-menu-viewport", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15547
+ const e = I(function({ node: t, context: n, className: o }) {
15548
+ const i = j(t.props?.forceMount), s = P("radix-navigation-menu-viewport", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15552
15549
  return /* @__PURE__ */ f.jsx(
15553
15550
  WT,
15554
15551
  {
@@ -15566,10 +15563,10 @@ function LA() {
15566
15563
  };
15567
15564
  }
15568
15565
  function FA() {
15569
- const e = T(function({ node: t, context: n, className: o }) {
15570
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.dir), c = j(t.props?.loop), [l, u] = re(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
15566
+ const e = I(function({ node: t, context: n, className: o }) {
15567
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = D(t.props?.dir), c = j(t.props?.loop), [l, u] = ne(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
15571
15568
  p || u(y), v?.(y);
15572
- }, g = I("radix-menubar", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "dir", "loop", "onValueChangeId"]));
15569
+ }, g = P("radix-menubar", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "dir", "loop", "onValueChangeId"]));
15573
15570
  return /* @__PURE__ */ f.jsx(
15574
15571
  JN,
15575
15572
  {
@@ -15591,8 +15588,8 @@ function FA() {
15591
15588
  };
15592
15589
  }
15593
15590
  function $A() {
15594
- const e = T(function({ node: t, context: n, className: o }) {
15595
- const i = D(t.props?.value), s = I("radix-menubar-menu", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["value"])), l = /* @__PURE__ */ f.jsx(
15591
+ const e = I(function({ node: t, context: n, className: o }) {
15592
+ const i = D(t.props?.value), s = P("radix-menubar-menu", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["value"])), l = /* @__PURE__ */ f.jsx(
15596
15593
  QN,
15597
15594
  {
15598
15595
  "data-ikon-node-id": t.id,
@@ -15616,8 +15613,8 @@ function $A() {
15616
15613
  };
15617
15614
  }
15618
15615
  function VA() {
15619
- const e = T(function({ node: t, context: n, className: o }) {
15620
- const i = j(t.props?.disabled), s = I("radix-menubar-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { appearance: "none", outline: "none" };
15616
+ const e = I(function({ node: t, context: n, className: o }) {
15617
+ const i = j(t.props?.disabled), s = P("radix-menubar-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { appearance: "none", outline: "none" };
15621
15618
  return /* @__PURE__ */ f.jsx(
15622
15619
  eA,
15623
15620
  {
@@ -15636,8 +15633,8 @@ function VA() {
15636
15633
  };
15637
15634
  }
15638
15635
  function BA() {
15639
- const e = T(function({ node: t, context: n, className: o }) {
15640
- const i = j(t.props?.loop), s = IA(t.props?.side), a = TA(t.props?.align), c = te(t.props?.sideOffset), l = te(t.props?.alignOffset), u = j(t.props?.forceMount), p = I("radix-menubar-content", A(t.styleIds), o), h = n.renderChildren(t.children ?? []), v = B(t.props, /* @__PURE__ */ new Set(["loop", "side", "align", "sideOffset", "alignOffset", "forceMount"]));
15636
+ const e = I(function({ node: t, context: n, className: o }) {
15637
+ const i = j(t.props?.loop), s = IA(t.props?.side), a = TA(t.props?.align), c = te(t.props?.sideOffset), l = te(t.props?.alignOffset), u = j(t.props?.forceMount), p = P("radix-menubar-content", A(t.styleIds), o), h = n.renderChildren(t.children ?? []), v = B(t.props, /* @__PURE__ */ new Set(["loop", "side", "align", "sideOffset", "alignOffset", "forceMount"]));
15641
15638
  return /* @__PURE__ */ f.jsx(
15642
15639
  tA,
15643
15640
  {
@@ -15660,8 +15657,8 @@ function BA() {
15660
15657
  };
15661
15658
  }
15662
15659
  function HA() {
15663
- const e = T(function({ node: t, context: n, className: o }) {
15664
- const i = j(t.props?.disabled), s = Ie(Y(t.props?.onSelectId), n.dispatchAction), a = I("radix-menubar-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["disabled", "onSelectId"])), u = { outline: "none" };
15660
+ const e = I(function({ node: t, context: n, className: o }) {
15661
+ const i = j(t.props?.disabled), s = Ie(Y(t.props?.onSelectId), n.dispatchAction), a = P("radix-menubar-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["disabled", "onSelectId"])), u = { outline: "none" };
15665
15662
  return /* @__PURE__ */ f.jsx(
15666
15663
  rA,
15667
15664
  {
@@ -15681,8 +15678,8 @@ function HA() {
15681
15678
  };
15682
15679
  }
15683
15680
  function WA() {
15684
- const e = T(function({ node: t, className: n }) {
15685
- const o = I("radix-menubar-separator", A(t.styleIds), n);
15681
+ const e = I(function({ node: t, className: n }) {
15682
+ const o = P("radix-menubar-separator", A(t.styleIds), n);
15686
15683
  return /* @__PURE__ */ f.jsx(
15687
15684
  aA,
15688
15685
  {
@@ -15697,8 +15694,8 @@ function WA() {
15697
15694
  };
15698
15695
  }
15699
15696
  function KA() {
15700
- const e = T(function({ node: t, context: n, className: o }) {
15701
- const i = D(t.props?.checked), s = j(t.props?.disabled), a = Y(t.props?.onCheckedChangeId), c = I("radix-menubar-checkbox-item", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["checked", "disabled", "onCheckedChangeId"])), p = { outline: "none" }, h = NA(i), v = (m) => {
15697
+ const e = I(function({ node: t, context: n, className: o }) {
15698
+ const i = D(t.props?.checked), s = j(t.props?.disabled), a = Y(t.props?.onCheckedChangeId), c = P("radix-menubar-checkbox-item", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["checked", "disabled", "onCheckedChangeId"])), p = { outline: "none" }, h = NA(i), v = (m) => {
15702
15699
  if (a) {
15703
15700
  const g = m === "indeterminate" ? "indeterminate" : m ? "checked" : "unchecked";
15704
15701
  n.dispatchAction(a, g);
@@ -15724,10 +15721,10 @@ function KA() {
15724
15721
  };
15725
15722
  }
15726
15723
  function GA() {
15727
- const e = T(function({ node: t, context: n, className: o }) {
15728
- const i = D(t.props?.value), s = D(t.props?.defaultValue), [a, c] = re(s ?? ""), l = i !== void 0, u = l ? i : a, p = $e(Y(t.props?.onValueChangeId), n.dispatchAction), h = (R) => {
15724
+ const e = I(function({ node: t, context: n, className: o }) {
15725
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), [a, c] = ne(s ?? ""), l = i !== void 0, u = l ? i : a, p = $e(Y(t.props?.onValueChangeId), n.dispatchAction), h = (R) => {
15729
15726
  l || c(R), p?.(R);
15730
- }, v = I("radix-menubar-radio-group", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "onValueChangeId"])), x = /* @__PURE__ */ f.jsx(
15727
+ }, v = P("radix-menubar-radio-group", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "onValueChangeId"])), x = /* @__PURE__ */ f.jsx(
15731
15728
  oA,
15732
15729
  {
15733
15730
  "data-ikon-node-id": t.id,
@@ -15753,8 +15750,8 @@ function GA() {
15753
15750
  };
15754
15751
  }
15755
15752
  function UA() {
15756
- const e = T(function({ node: t, context: n, className: o }) {
15757
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-menubar-radio-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { outline: "none" };
15753
+ const e = I(function({ node: t, context: n, className: o }) {
15754
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-menubar-radio-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { outline: "none" };
15758
15755
  return /* @__PURE__ */ f.jsx(
15759
15756
  iA,
15760
15757
  {
@@ -15774,8 +15771,8 @@ function UA() {
15774
15771
  };
15775
15772
  }
15776
15773
  function zA() {
15777
- const e = T(function({ node: t, context: n, className: o }) {
15778
- const i = j(t.props?.forceMount), s = I("radix-menubar-item-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15774
+ const e = I(function({ node: t, context: n, className: o }) {
15775
+ const i = j(t.props?.forceMount), s = P("radix-menubar-item-indicator", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["forceMount"]));
15779
15776
  return /* @__PURE__ */ f.jsx(
15780
15777
  sA,
15781
15778
  {
@@ -15793,10 +15790,10 @@ function zA() {
15793
15790
  };
15794
15791
  }
15795
15792
  function YA() {
15796
- const e = T(function({ node: t, context: n, className: o }) {
15797
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), [a, c] = re(s ?? !1), l = i !== void 0, u = l ? !!i : a, p = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), h = (R) => {
15793
+ const e = I(function({ node: t, context: n, className: o }) {
15794
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), [a, c] = ne(s ?? !1), l = i !== void 0, u = l ? !!i : a, p = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), h = (R) => {
15798
15795
  l || c(R), p?.(R);
15799
- }, v = I("radix-menubar-sub", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "onOpenChangeId"])), x = /* @__PURE__ */ f.jsx(
15796
+ }, v = P("radix-menubar-sub", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "onOpenChangeId"])), x = /* @__PURE__ */ f.jsx(
15800
15797
  cA,
15801
15798
  {
15802
15799
  "data-ikon-node-id": t.id,
@@ -15822,8 +15819,8 @@ function YA() {
15822
15819
  };
15823
15820
  }
15824
15821
  function XA() {
15825
- const e = T(function({ node: t, context: n, className: o }) {
15826
- const i = j(t.props?.disabled), s = I("radix-menubar-sub-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { outline: "none" };
15822
+ const e = I(function({ node: t, context: n, className: o }) {
15823
+ const i = j(t.props?.disabled), s = P("radix-menubar-sub-trigger", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = B(t.props, /* @__PURE__ */ new Set(["disabled"])), l = { outline: "none" };
15827
15824
  return /* @__PURE__ */ f.jsx(
15828
15825
  lA,
15829
15826
  {
@@ -15842,8 +15839,8 @@ function XA() {
15842
15839
  };
15843
15840
  }
15844
15841
  function qA() {
15845
- const e = T(function({ node: t, context: n, className: o }) {
15846
- const i = j(t.props?.loop), s = j(t.props?.forceMount), a = I("radix-menubar-sub-content", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["loop", "forceMount"]));
15842
+ const e = I(function({ node: t, context: n, className: o }) {
15843
+ const i = j(t.props?.loop), s = j(t.props?.forceMount), a = P("radix-menubar-sub-content", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["loop", "forceMount"]));
15847
15844
  return /* @__PURE__ */ f.jsx(
15848
15845
  dA,
15849
15846
  {
@@ -15862,8 +15859,8 @@ function qA() {
15862
15859
  };
15863
15860
  }
15864
15861
  function ZA() {
15865
- const e = T(function({ node: t, context: n, className: o }) {
15866
- const i = D(t.props?.orientation), s = D(t.props?.dir), a = j(t.props?.loop), c = I("radix-toolbar", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["orientation", "dir", "loop"]));
15862
+ const e = I(function({ node: t, context: n, className: o }) {
15863
+ const i = D(t.props?.orientation), s = D(t.props?.dir), a = j(t.props?.loop), c = P("radix-toolbar", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["orientation", "dir", "loop"]));
15867
15864
  return /* @__PURE__ */ f.jsx(
15868
15865
  RA,
15869
15866
  {
@@ -15883,8 +15880,8 @@ function ZA() {
15883
15880
  };
15884
15881
  }
15885
15882
  function JA() {
15886
- const e = T(function({ node: t, context: n, className: o }) {
15887
- const i = j(t.props?.disabled), s = Ie(Y(t.props?.onInvokeId), n.dispatchAction), a = I("radix-toolbar-button", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["disabled", "onInvokeId"])), u = { appearance: "none", outline: "none" };
15883
+ const e = I(function({ node: t, context: n, className: o }) {
15884
+ const i = j(t.props?.disabled), s = Ie(Y(t.props?.onInvokeId), n.dispatchAction), a = P("radix-toolbar-button", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["disabled", "onInvokeId"])), u = { appearance: "none", outline: "none" };
15888
15885
  return /* @__PURE__ */ f.jsx(
15889
15886
  CA,
15890
15887
  {
@@ -15904,8 +15901,8 @@ function JA() {
15904
15901
  };
15905
15902
  }
15906
15903
  function QA() {
15907
- const e = T(function({ node: t, className: n }) {
15908
- const o = I("radix-toolbar-separator", A(t.styleIds), n);
15904
+ const e = I(function({ node: t, className: n }) {
15905
+ const o = P("radix-toolbar-separator", A(t.styleIds), n);
15909
15906
  return /* @__PURE__ */ f.jsx(
15910
15907
  bA,
15911
15908
  {
@@ -15920,8 +15917,8 @@ function QA() {
15920
15917
  };
15921
15918
  }
15922
15919
  function eM() {
15923
- const e = T(function({ node: t, context: n, className: o }) {
15924
- const i = D(t.props?.href), s = D(t.props?.target), a = I("radix-toolbar-link", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["href", "target"])), u = { outline: "none" };
15920
+ const e = I(function({ node: t, context: n, className: o }) {
15921
+ const i = D(t.props?.href), s = D(t.props?.target), a = P("radix-toolbar-link", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["href", "target"])), u = { outline: "none" };
15925
15922
  return /* @__PURE__ */ f.jsx(
15926
15923
  wA,
15927
15924
  {
@@ -15941,10 +15938,10 @@ function eM() {
15941
15938
  };
15942
15939
  }
15943
15940
  function tM() {
15944
- const e = T(function({ node: t, context: n, className: o }) {
15945
- const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.rovingFocus), c = j(t.props?.loop), [l, u] = re(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
15941
+ const e = I(function({ node: t, context: n, className: o }) {
15942
+ const i = D(t.props?.value), s = D(t.props?.defaultValue), a = j(t.props?.rovingFocus), c = j(t.props?.loop), [l, u] = ne(s ?? ""), p = i !== void 0, h = p ? i : l, v = $e(Y(t.props?.onValueChangeId), n.dispatchAction), m = (y) => {
15946
15943
  p || u(y), v?.(y);
15947
- }, g = I("radix-toolbar-toggle-group", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "rovingFocus", "loop", "onValueChangeId"]));
15944
+ }, g = P("radix-toolbar-toggle-group", A(t.styleIds), o), x = n.renderChildren(t.children ?? []), R = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "rovingFocus", "loop", "onValueChangeId"]));
15948
15945
  return /* @__PURE__ */ f.jsx(
15949
15946
  av,
15950
15947
  {
@@ -15967,10 +15964,10 @@ function tM() {
15967
15964
  };
15968
15965
  }
15969
15966
  function rM() {
15970
- const e = T(function({ node: t, context: n, className: o }) {
15971
- const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = j(t.props?.rovingFocus), l = j(t.props?.loop), [u, p] = re(a ?? []), h = Array.isArray(i), v = h ? s ?? [] : u, m = Y(t.props?.onValuesChangeId), g = (b) => {
15967
+ const e = I(function({ node: t, context: n, className: o }) {
15968
+ const i = t.props?.value, s = St(i) ?? (Array.isArray(i) ? [] : void 0), a = St(t.props?.defaultValue), c = j(t.props?.rovingFocus), l = j(t.props?.loop), [u, p] = ne(a ?? []), h = Array.isArray(i), v = h ? s ?? [] : u, m = Y(t.props?.onValuesChangeId), g = (b) => {
15972
15969
  h || p(b), m && n.dispatchAction(m, b);
15973
- }, x = I("radix-toolbar-toggle-group", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "rovingFocus", "loop", "onValuesChangeId"]));
15970
+ }, x = P("radix-toolbar-toggle-group", A(t.styleIds), o), R = n.renderChildren(t.children ?? []), y = B(t.props, /* @__PURE__ */ new Set(["value", "defaultValue", "rovingFocus", "loop", "onValuesChangeId"]));
15974
15971
  return /* @__PURE__ */ f.jsx(
15975
15972
  av,
15976
15973
  {
@@ -15993,8 +15990,8 @@ function rM() {
15993
15990
  };
15994
15991
  }
15995
15992
  function nM() {
15996
- const e = T(function({ node: t, context: n, className: o }) {
15997
- const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = I("radix-toolbar-toggle-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
15993
+ const e = I(function({ node: t, context: n, className: o }) {
15994
+ const i = D(t.props?.value) ?? "", s = j(t.props?.disabled), a = P("radix-toolbar-toggle-item", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["value", "disabled"])), u = { appearance: "none", outline: "none" };
15998
15995
  return /* @__PURE__ */ f.jsx(
15999
15996
  SA,
16000
15997
  {
@@ -16398,8 +16395,8 @@ var _v = "ToastViewport", FM = ["F8"], Ki = "toast.viewportPause", Gi = "toast.v
16398
16395
  l.current?.focus();
16399
16396
  return;
16400
16397
  }
16401
- const O = g({ tabbingDirection: E ? "backwards" : "forwards" }), P = O.findIndex((M) => M === w);
16402
- di(O.slice(P + 1)) ? y.preventDefault() : E ? l.current?.focus() : u.current?.focus();
16398
+ const O = g({ tabbingDirection: E ? "backwards" : "forwards" }), T = O.findIndex((M) => M === w);
16399
+ di(O.slice(T + 1)) ? y.preventDefault() : E ? l.current?.focus() : u.current?.focus();
16403
16400
  }
16404
16401
  };
16405
16402
  return x.addEventListener("keydown", R), () => x.removeEventListener("keydown", R);
@@ -16518,7 +16515,7 @@ var [WM, KM] = Mv(cn, {
16518
16515
  onSwipeCancel: h,
16519
16516
  onSwipeEnd: v,
16520
16517
  ...m
16521
- } = e, g = Ho(cn, t), [x, R] = d.useState(null), y = X(r, (F) => R(F)), b = d.useRef(null), C = d.useRef(null), w = o || g.duration, E = d.useRef(0), S = d.useRef(w), N = d.useRef(0), { onToastAdd: O, onToastRemove: P } = g, M = pe(() => {
16518
+ } = e, g = Ho(cn, t), [x, R] = d.useState(null), y = X(r, (F) => R(F)), b = d.useRef(null), C = d.useRef(null), w = o || g.duration, E = d.useRef(0), S = d.useRef(w), N = d.useRef(0), { onToastAdd: O, onToastRemove: T } = g, M = pe(() => {
16522
16519
  x?.contains(document.activeElement) && g.viewport?.focus(), s();
16523
16520
  }), V = d.useCallback(
16524
16521
  (F) => {
@@ -16541,7 +16538,7 @@ var [WM, KM] = Mv(cn, {
16541
16538
  }
16542
16539
  }, [g.viewport, w, c, l, V]), d.useEffect(() => {
16543
16540
  i && !g.isClosePausedRef.current && V(w);
16544
- }, [i, w, g.isClosePausedRef, V]), d.useEffect(() => (O(), () => P()), [O, P]);
16541
+ }, [i, w, g.isClosePausedRef, V]), d.useEffect(() => (O(), () => T()), [O, T]);
16545
16542
  const H = d.useMemo(() => x ? Wv(x) : null, [x]);
16546
16543
  return g.viewport ? /* @__PURE__ */ f.jsxs(f.Fragment, { children: [
16547
16544
  H && /* @__PURE__ */ f.jsx(
@@ -16578,10 +16575,10 @@ var [WM, KM] = Mv(cn, {
16578
16575
  }),
16579
16576
  onPointerMove: _(e.onPointerMove, (F) => {
16580
16577
  if (!b.current) return;
16581
- const q = F.clientX - b.current.x, K = F.clientY - b.current.y, z = !!C.current, W = ["left", "right"].includes(g.swipeDirection), $ = ["left", "up"].includes(g.swipeDirection) ? Math.min : Math.max, k = W ? $(0, q) : 0, G = W ? 0 : $(0, K), Z = F.pointerType === "touch" ? 10 : 2, ne = { x: k, y: G }, oe = { originalEvent: F, delta: ne };
16582
- z ? (C.current = ne, wn(VM, p, oe, {
16578
+ const q = F.clientX - b.current.x, K = F.clientY - b.current.y, z = !!C.current, W = ["left", "right"].includes(g.swipeDirection), $ = ["left", "up"].includes(g.swipeDirection) ? Math.min : Math.max, k = W ? $(0, q) : 0, G = W ? 0 : $(0, K), Z = F.pointerType === "touch" ? 10 : 2, re = { x: k, y: G }, oe = { originalEvent: F, delta: re };
16579
+ z ? (C.current = re, wn(VM, p, oe, {
16583
16580
  discrete: !1
16584
- })) : _c(ne, g.swipeDirection, Z) ? (C.current = ne, wn($M, u, oe, {
16581
+ })) : _c(re, g.swipeDirection, Z) ? (C.current = re, wn($M, u, oe, {
16585
16582
  discrete: !1
16586
16583
  }), F.target.setPointerCapture(F.pointerId)) : (Math.abs(q) > Z || Math.abs(K) > Z) && (b.current = null);
16587
16584
  }),
@@ -16779,8 +16776,8 @@ function Sn(e, r) {
16779
16776
  };
16780
16777
  }
16781
16778
  function dO() {
16782
- const e = T(function({ node: t, context: n, className: o }) {
16783
- const i = te(t.props?.delayDuration), s = te(t.props?.skipDelayDuration), a = j(t.props?.disableHoverableContent), c = I("radix-tooltip-provider", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["delayDuration", "skipDelayDuration", "disableHoverableContent"])), p = /* @__PURE__ */ f.jsx(
16779
+ const e = I(function({ node: t, context: n, className: o }) {
16780
+ const i = te(t.props?.delayDuration), s = te(t.props?.skipDelayDuration), a = j(t.props?.disableHoverableContent), c = P("radix-tooltip-provider", A(t.styleIds), o), l = n.renderChildren(t.children ?? []), u = B(t.props, /* @__PURE__ */ new Set(["delayDuration", "skipDelayDuration", "disableHoverableContent"])), p = /* @__PURE__ */ f.jsx(
16784
16781
  ud,
16785
16782
  {
16786
16783
  delayDuration: i,
@@ -16805,8 +16802,8 @@ function dO() {
16805
16802
  };
16806
16803
  }
16807
16804
  function uO() {
16808
- const e = T(function({ node: t, context: n, className: o }) {
16809
- const i = I("radix-tooltip-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16805
+ const e = I(function({ node: t, context: n, className: o }) {
16806
+ const i = P("radix-tooltip-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16810
16807
  return /* @__PURE__ */ f.jsx(
16811
16808
  fd,
16812
16809
  {
@@ -16823,7 +16820,7 @@ function uO() {
16823
16820
  };
16824
16821
  }
16825
16822
  function fO() {
16826
- const e = T(function({ node: t, context: n }) {
16823
+ const e = I(function({ node: t, context: n }) {
16827
16824
  const o = j(t.props?.forceMount), i = n.renderChildren(t.children ?? []);
16828
16825
  return /* @__PURE__ */ f.jsx(
16829
16826
  pd,
@@ -16840,8 +16837,8 @@ function fO() {
16840
16837
  };
16841
16838
  }
16842
16839
  function pO() {
16843
- const e = T(function({ node: t, context: n, className: o }) {
16844
- const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = I("radix-tooltip-content", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(
16840
+ const e = I(function({ node: t, context: n, className: o }) {
16841
+ const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = P("radix-tooltip-content", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(
16845
16842
  t.props,
16846
16843
  /* @__PURE__ */ new Set(["side", "align", "sideOffset", "alignOffset", "avoidCollisions", "collisionPadding", "sticky", "hideWhenDetached", "forceMount"])
16847
16844
  );
@@ -16870,8 +16867,8 @@ function pO() {
16870
16867
  };
16871
16868
  }
16872
16869
  function hO() {
16873
- const e = T(function({ node: t, className: n }) {
16874
- const o = te(t.props?.width), i = te(t.props?.height), s = I("radix-tooltip-arrow", A(t.styleIds), n);
16870
+ const e = I(function({ node: t, className: n }) {
16871
+ const o = te(t.props?.width), i = te(t.props?.height), s = P("radix-tooltip-arrow", A(t.styleIds), n);
16875
16872
  return /* @__PURE__ */ f.jsx(
16876
16873
  cR,
16877
16874
  {
@@ -16888,8 +16885,8 @@ function hO() {
16888
16885
  };
16889
16886
  }
16890
16887
  function vO() {
16891
- const e = T(function({ node: t, context: n, className: o }) {
16892
- const i = I("radix-popover-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16888
+ const e = I(function({ node: t, context: n, className: o }) {
16889
+ const i = P("radix-popover-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16893
16890
  return /* @__PURE__ */ f.jsx(
16894
16891
  Zl,
16895
16892
  {
@@ -16906,7 +16903,7 @@ function vO() {
16906
16903
  };
16907
16904
  }
16908
16905
  function gO() {
16909
- const e = T(function({ node: t, context: n }) {
16906
+ const e = I(function({ node: t, context: n }) {
16910
16907
  const o = j(t.props?.forceMount), i = n.renderChildren(t.children ?? []);
16911
16908
  return /* @__PURE__ */ f.jsx(
16912
16909
  Jl,
@@ -16923,8 +16920,8 @@ function gO() {
16923
16920
  };
16924
16921
  }
16925
16922
  function mO() {
16926
- const e = T(function({ node: t, context: n, className: o }) {
16927
- const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = Kv(Y(t.props?.onPointerDownOutsideId), n.dispatchAction), g = zv(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), x = Gv(Y(t.props?.onFocusOutsideId), n.dispatchAction), R = Uv(Y(t.props?.onInteractOutsideId), n.dispatchAction), y = I("radix-popover-content", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(
16923
+ const e = I(function({ node: t, context: n, className: o }) {
16924
+ const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = Kv(Y(t.props?.onPointerDownOutsideId), n.dispatchAction), g = zv(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), x = Gv(Y(t.props?.onFocusOutsideId), n.dispatchAction), R = Uv(Y(t.props?.onInteractOutsideId), n.dispatchAction), y = P("radix-popover-content", A(t.styleIds), o), b = n.renderChildren(t.children ?? []), C = B(
16928
16925
  t.props,
16929
16926
  /* @__PURE__ */ new Set([
16930
16927
  "side",
@@ -16971,8 +16968,8 @@ function mO() {
16971
16968
  };
16972
16969
  }
16973
16970
  function xO() {
16974
- const e = T(function({ node: t, className: n }) {
16975
- const o = te(t.props?.width), i = te(t.props?.height), s = I("radix-popover-arrow", A(t.styleIds), n);
16971
+ const e = I(function({ node: t, className: n }) {
16972
+ const o = te(t.props?.width), i = te(t.props?.height), s = P("radix-popover-arrow", A(t.styleIds), n);
16976
16973
  return /* @__PURE__ */ f.jsx(
16977
16974
  _y,
16978
16975
  {
@@ -16989,8 +16986,8 @@ function xO() {
16989
16986
  };
16990
16987
  }
16991
16988
  function yO() {
16992
- const e = T(function({ node: t, context: n, className: o }) {
16993
- const i = I("radix-popover-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16989
+ const e = I(function({ node: t, context: n, className: o }) {
16990
+ const i = P("radix-popover-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
16994
16991
  return /* @__PURE__ */ f.jsx(
16995
16992
  Oy,
16996
16993
  {
@@ -17007,8 +17004,8 @@ function yO() {
17007
17004
  };
17008
17005
  }
17009
17006
  function RO() {
17010
- const e = T(function({ node: t, context: n, className: o }) {
17011
- const i = I("radix-popover-anchor", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17007
+ const e = I(function({ node: t, context: n, className: o }) {
17008
+ const i = P("radix-popover-anchor", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17012
17009
  return /* @__PURE__ */ f.jsx(
17013
17010
  My,
17014
17011
  {
@@ -17024,8 +17021,8 @@ function RO() {
17024
17021
  };
17025
17022
  }
17026
17023
  function bO() {
17027
- const e = T(function({ node: t, context: n, className: o }) {
17028
- const i = I("radix-dialog-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17024
+ const e = I(function({ node: t, context: n, className: o }) {
17025
+ const i = P("radix-dialog-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17029
17026
  return /* @__PURE__ */ f.jsx(
17030
17027
  Zi,
17031
17028
  {
@@ -17042,7 +17039,7 @@ function bO() {
17042
17039
  };
17043
17040
  }
17044
17041
  function CO() {
17045
- const e = T(function({ node: t, context: n }) {
17042
+ const e = I(function({ node: t, context: n }) {
17046
17043
  const o = j(t.props?.forceMount), i = n.renderChildren(t.children ?? []);
17047
17044
  return /* @__PURE__ */ f.jsx(
17048
17045
  Ji,
@@ -17059,8 +17056,8 @@ function CO() {
17059
17056
  };
17060
17057
  }
17061
17058
  function wO() {
17062
- const e = T(function({ node: t, className: n }) {
17063
- const o = j(t.props?.forceMount), i = I("radix-dialog-overlay", A(t.styleIds), n);
17059
+ const e = I(function({ node: t, className: n }) {
17060
+ const o = j(t.props?.forceMount), i = P("radix-dialog-overlay", A(t.styleIds), n);
17064
17061
  return /* @__PURE__ */ f.jsx(
17065
17062
  Qi,
17066
17063
  {
@@ -17076,8 +17073,8 @@ function wO() {
17076
17073
  };
17077
17074
  }
17078
17075
  function SO() {
17079
- const e = T(function({ node: t, context: n, className: o }) {
17080
- const i = j(t.props?.forceMount), s = Kv(Y(t.props?.onPointerDownOutsideId), n.dispatchAction), a = zv(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), c = Gv(Y(t.props?.onFocusOutsideId), n.dispatchAction), l = Uv(Y(t.props?.onInteractOutsideId), n.dispatchAction), u = Ie(Y(t.props?.onOpenAutoFocusId), n.dispatchAction), p = Ie(Y(t.props?.onCloseAutoFocusId), n.dispatchAction), h = I("radix-dialog-content", A(t.styleIds), o), v = n.renderChildren(t.children ?? []), m = B(
17076
+ const e = I(function({ node: t, context: n, className: o }) {
17077
+ const i = j(t.props?.forceMount), s = Kv(Y(t.props?.onPointerDownOutsideId), n.dispatchAction), a = zv(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), c = Gv(Y(t.props?.onFocusOutsideId), n.dispatchAction), l = Uv(Y(t.props?.onInteractOutsideId), n.dispatchAction), u = Ie(Y(t.props?.onOpenAutoFocusId), n.dispatchAction), p = Ie(Y(t.props?.onCloseAutoFocusId), n.dispatchAction), h = P("radix-dialog-content", A(t.styleIds), o), v = n.renderChildren(t.children ?? []), m = B(
17081
17078
  t.props,
17082
17079
  /* @__PURE__ */ new Set([
17083
17080
  "forceMount",
@@ -17116,8 +17113,8 @@ function SO() {
17116
17113
  };
17117
17114
  }
17118
17115
  function EO() {
17119
- const e = T(function({ node: t, context: n, className: o }) {
17120
- const i = I("radix-dialog-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17116
+ const e = I(function({ node: t, context: n, className: o }) {
17117
+ const i = P("radix-dialog-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17121
17118
  return /* @__PURE__ */ f.jsx(
17122
17119
  lo,
17123
17120
  {
@@ -17133,8 +17130,8 @@ function EO() {
17133
17130
  };
17134
17131
  }
17135
17132
  function PO() {
17136
- const e = T(function({ node: t, context: n, className: o }) {
17137
- const i = I("radix-dialog-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17133
+ const e = I(function({ node: t, context: n, className: o }) {
17134
+ const i = P("radix-dialog-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17138
17135
  return /* @__PURE__ */ f.jsx(
17139
17136
  pl,
17140
17137
  {
@@ -17150,8 +17147,8 @@ function PO() {
17150
17147
  };
17151
17148
  }
17152
17149
  function IO() {
17153
- const e = T(function({ node: t, context: n, className: o }) {
17154
- const i = I("radix-dialog-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17150
+ const e = I(function({ node: t, context: n, className: o }) {
17151
+ const i = P("radix-dialog-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17155
17152
  return /* @__PURE__ */ f.jsx(
17156
17153
  ts,
17157
17154
  {
@@ -17168,10 +17165,10 @@ function IO() {
17168
17165
  };
17169
17166
  }
17170
17167
  function TO() {
17171
- const e = T(function({ node: t, context: n, className: o }) {
17172
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), [a, c] = re(s ?? !1), l = i !== void 0, u = l ? !!i : a, p = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), h = (R) => {
17168
+ const e = I(function({ node: t, context: n, className: o }) {
17169
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), [a, c] = ne(s ?? !1), l = i !== void 0, u = l ? !!i : a, p = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), h = (R) => {
17173
17170
  l || c(R), p?.(R);
17174
- }, v = I("radix-alert-dialog", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "onOpenChangeId"])), x = /* @__PURE__ */ f.jsx(
17171
+ }, v = P("radix-alert-dialog", A(t.styleIds), o), m = n.renderChildren(t.children ?? []), g = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "onOpenChangeId"])), x = /* @__PURE__ */ f.jsx(
17175
17172
  pM,
17176
17173
  {
17177
17174
  open: u,
@@ -17196,8 +17193,8 @@ function TO() {
17196
17193
  };
17197
17194
  }
17198
17195
  function NO() {
17199
- const e = T(function({ node: t, context: n, className: o }) {
17200
- const i = I("radix-alert-dialog-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17196
+ const e = I(function({ node: t, context: n, className: o }) {
17197
+ const i = P("radix-alert-dialog-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17201
17198
  return /* @__PURE__ */ f.jsx(
17202
17199
  hM,
17203
17200
  {
@@ -17214,7 +17211,7 @@ function NO() {
17214
17211
  };
17215
17212
  }
17216
17213
  function AO() {
17217
- const e = T(function({ node: t, context: n }) {
17214
+ const e = I(function({ node: t, context: n }) {
17218
17215
  const o = j(t.props?.forceMount), i = n.renderChildren(t.children ?? []);
17219
17216
  return /* @__PURE__ */ f.jsx(
17220
17217
  vM,
@@ -17231,8 +17228,8 @@ function AO() {
17231
17228
  };
17232
17229
  }
17233
17230
  function MO() {
17234
- const e = T(function({ node: t, className: n }) {
17235
- const o = j(t.props?.forceMount), i = I("radix-alert-dialog-overlay", A(t.styleIds), n);
17231
+ const e = I(function({ node: t, className: n }) {
17232
+ const o = j(t.props?.forceMount), i = P("radix-alert-dialog-overlay", A(t.styleIds), n);
17236
17233
  return /* @__PURE__ */ f.jsx(
17237
17234
  gM,
17238
17235
  {
@@ -17248,8 +17245,8 @@ function MO() {
17248
17245
  };
17249
17246
  }
17250
17247
  function OO() {
17251
- const e = T(function({ node: t, context: n, className: o }) {
17252
- const i = j(t.props?.forceMount), s = I("radix-alert-dialog-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
17248
+ const e = I(function({ node: t, context: n, className: o }) {
17249
+ const i = j(t.props?.forceMount), s = P("radix-alert-dialog-content", A(t.styleIds), o), a = n.renderChildren(t.children ?? []);
17253
17250
  return /* @__PURE__ */ f.jsxs(
17254
17251
  mM,
17255
17252
  {
@@ -17270,8 +17267,8 @@ function OO() {
17270
17267
  };
17271
17268
  }
17272
17269
  function _O() {
17273
- const e = T(function({ node: t, context: n, className: o }) {
17274
- const i = I("radix-alert-dialog-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17270
+ const e = I(function({ node: t, context: n, className: o }) {
17271
+ const i = P("radix-alert-dialog-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17275
17272
  return /* @__PURE__ */ f.jsx(
17276
17273
  bv,
17277
17274
  {
@@ -17287,8 +17284,8 @@ function _O() {
17287
17284
  };
17288
17285
  }
17289
17286
  function DO() {
17290
- const e = T(function({ node: t, context: n, className: o }) {
17291
- const i = I("radix-alert-dialog-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17287
+ const e = I(function({ node: t, context: n, className: o }) {
17288
+ const i = P("radix-alert-dialog-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17292
17289
  return /* @__PURE__ */ f.jsx(
17293
17290
  RM,
17294
17291
  {
@@ -17304,8 +17301,8 @@ function DO() {
17304
17301
  };
17305
17302
  }
17306
17303
  function kO() {
17307
- const e = T(function({ node: t, context: n, className: o }) {
17308
- const i = I("radix-alert-dialog-cancel", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17304
+ const e = I(function({ node: t, context: n, className: o }) {
17305
+ const i = P("radix-alert-dialog-cancel", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17309
17306
  return /* @__PURE__ */ f.jsx(
17310
17307
  yM,
17311
17308
  {
@@ -17322,8 +17319,8 @@ function kO() {
17322
17319
  };
17323
17320
  }
17324
17321
  function jO() {
17325
- const e = T(function({ node: t, context: n, className: o }) {
17326
- const i = Ie(Y(t.props?.onInvokeId), n.dispatchAction), s = I("radix-alert-dialog-action", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = { appearance: "none", outline: "none" };
17322
+ const e = I(function({ node: t, context: n, className: o }) {
17323
+ const i = Ie(Y(t.props?.onInvokeId), n.dispatchAction), s = P("radix-alert-dialog-action", A(t.styleIds), o), a = n.renderChildren(t.children ?? []), c = { appearance: "none", outline: "none" };
17327
17324
  return /* @__PURE__ */ f.jsx(
17328
17325
  xM,
17329
17326
  {
@@ -17341,12 +17338,12 @@ function jO() {
17341
17338
  };
17342
17339
  }
17343
17340
  function LO() {
17344
- const e = T(function({ node: t, context: n, className: o }) {
17345
- const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = te(t.props?.openDelay), c = te(t.props?.closeDelay), [l, u] = re(s ?? !1), p = i !== void 0, h = p ? !!i : l, v = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), m = (P) => {
17346
- p || u(P), v?.(P);
17347
- }, { defaultChildren: g, slotChildren: x } = Br(t), R = x.get("trigger") ?? [], y = x.get("content") ?? [], b = R.length > 0 || y.length > 0, C = g.some((P) => P.type?.startsWith("radix-hover-card-") && P.type !== "radix-hover-card");
17341
+ const e = I(function({ node: t, context: n, className: o }) {
17342
+ const i = j(t.props?.open), s = j(t.props?.defaultOpen), a = te(t.props?.openDelay), c = te(t.props?.closeDelay), [l, u] = ne(s ?? !1), p = i !== void 0, h = p ? !!i : l, v = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), m = (T) => {
17343
+ p || u(T), v?.(T);
17344
+ }, { defaultChildren: g, slotChildren: x } = Br(t), R = x.get("trigger") ?? [], y = x.get("content") ?? [], b = R.length > 0 || y.length > 0, C = g.some((T) => T.type?.startsWith("radix-hover-card-") && T.type !== "radix-hover-card");
17348
17345
  if (!b && C) {
17349
- const P = n.renderChildren(t.children ?? []), M = I("radix-hover-card", o, D(t.props?.className)), V = B(
17346
+ const T = n.renderChildren(t.children ?? []), M = P("radix-hover-card", o, D(t.props?.className)), V = B(
17350
17347
  t.props,
17351
17348
  /* @__PURE__ */ new Set(["open", "defaultOpen", "openDelay", "closeDelay", "onOpenChangeId", "className"])
17352
17349
  );
@@ -17365,13 +17362,13 @@ function LO() {
17365
17362
  onOpenChange: m,
17366
17363
  openDelay: a,
17367
17364
  closeDelay: c,
17368
- children: P
17365
+ children: T
17369
17366
  }
17370
17367
  )
17371
17368
  }
17372
17369
  );
17373
17370
  }
17374
- const w = I("radix-hover-card", A(t.styleIds), o), E = y.length > 0 ? y : t.children ?? [], S = n.renderChildren(E), N = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "openDelay", "closeDelay", "onOpenChangeId"])), O = /* @__PURE__ */ f.jsx(
17371
+ const w = P("radix-hover-card", A(t.styleIds), o), E = y.length > 0 ? y : t.children ?? [], S = n.renderChildren(E), N = B(t.props, /* @__PURE__ */ new Set(["open", "defaultOpen", "openDelay", "closeDelay", "onOpenChangeId"])), O = /* @__PURE__ */ f.jsx(
17375
17372
  Oc,
17376
17373
  {
17377
17374
  open: p ? i : void 0,
@@ -17398,8 +17395,8 @@ function LO() {
17398
17395
  };
17399
17396
  }
17400
17397
  function FO() {
17401
- const e = T(function({ node: t, context: n, className: o }) {
17402
- const i = I("radix-hover-card-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17398
+ const e = I(function({ node: t, context: n, className: o }) {
17399
+ const i = P("radix-hover-card-trigger", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17403
17400
  return /* @__PURE__ */ f.jsx(
17404
17401
  TM,
17405
17402
  {
@@ -17416,7 +17413,7 @@ function FO() {
17416
17413
  };
17417
17414
  }
17418
17415
  function $O() {
17419
- const e = T(function({ node: t, context: n }) {
17416
+ const e = I(function({ node: t, context: n }) {
17420
17417
  const o = j(t.props?.forceMount), i = n.renderChildren(t.children ?? []);
17421
17418
  return /* @__PURE__ */ f.jsx(
17422
17419
  NM,
@@ -17433,8 +17430,8 @@ function $O() {
17433
17430
  };
17434
17431
  }
17435
17432
  function VO() {
17436
- const e = T(function({ node: t, context: n, className: o }) {
17437
- const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = I("radix-hover-card-content", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(
17433
+ const e = I(function({ node: t, context: n, className: o }) {
17434
+ const i = xa(t.props?.side), s = ya(t.props?.align), a = te(t.props?.sideOffset), c = te(t.props?.alignOffset), l = j(t.props?.avoidCollisions), u = te(t.props?.collisionPadding), p = Ra(t.props?.sticky), h = j(t.props?.hideWhenDetached), v = j(t.props?.forceMount), m = P("radix-hover-card-content", A(t.styleIds), o), g = n.renderChildren(t.children ?? []), x = B(
17438
17435
  t.props,
17439
17436
  /* @__PURE__ */ new Set(["side", "align", "sideOffset", "alignOffset", "avoidCollisions", "collisionPadding", "sticky", "hideWhenDetached", "forceMount"])
17440
17437
  );
@@ -17463,8 +17460,8 @@ function VO() {
17463
17460
  };
17464
17461
  }
17465
17462
  function BO() {
17466
- const e = T(function({ node: t, className: n }) {
17467
- const o = te(t.props?.width), i = te(t.props?.height), s = I("radix-hover-card-arrow", A(t.styleIds), n);
17463
+ const e = I(function({ node: t, className: n }) {
17464
+ const o = te(t.props?.width), i = te(t.props?.height), s = P("radix-hover-card-arrow", A(t.styleIds), n);
17468
17465
  return /* @__PURE__ */ f.jsx(
17469
17466
  MM,
17470
17467
  {
@@ -17481,8 +17478,8 @@ function BO() {
17481
17478
  };
17482
17479
  }
17483
17480
  function HO() {
17484
- const e = T(function({ node: t, context: n, className: o }) {
17485
- const i = te(t.props?.duration), s = D(t.props?.label), a = D(t.props?.swipeDirection), c = te(t.props?.swipeThreshold), l = I("radix-toast-provider", A(t.styleIds), o), u = n.renderChildren(t.children ?? []), p = B(t.props, /* @__PURE__ */ new Set(["duration", "label", "swipeDirection", "swipeThreshold"])), h = /* @__PURE__ */ f.jsx(
17481
+ const e = I(function({ node: t, context: n, className: o }) {
17482
+ const i = te(t.props?.duration), s = D(t.props?.label), a = D(t.props?.swipeDirection), c = te(t.props?.swipeThreshold), l = P("radix-toast-provider", A(t.styleIds), o), u = n.renderChildren(t.children ?? []), p = B(t.props, /* @__PURE__ */ new Set(["duration", "label", "swipeDirection", "swipeThreshold"])), h = /* @__PURE__ */ f.jsx(
17486
17483
  JM,
17487
17484
  {
17488
17485
  duration: i,
@@ -17508,8 +17505,8 @@ function HO() {
17508
17505
  };
17509
17506
  }
17510
17507
  function WO() {
17511
- const e = T(function({ node: t, className: n }) {
17512
- const o = St(t.props?.hotkey), i = D(t.props?.label), s = I("radix-toast-viewport", A(t.styleIds), n);
17508
+ const e = I(function({ node: t, className: n }) {
17509
+ const o = St(t.props?.hotkey), i = D(t.props?.label), s = P("radix-toast-viewport", A(t.styleIds), n);
17513
17510
  return /* @__PURE__ */ f.jsx(
17514
17511
  QM,
17515
17512
  {
@@ -17526,10 +17523,10 @@ function WO() {
17526
17523
  };
17527
17524
  }
17528
17525
  function KO() {
17529
- const e = T(function({ node: t, context: n, className: o }) {
17530
- const i = D(t.props?.type), s = j(t.props?.open), a = j(t.props?.defaultOpen), c = te(t.props?.duration), l = j(t.props?.forceMount), [u, p] = re(a ?? !1), h = s !== void 0, v = h ? !!s : u, m = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), g = Ie(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), x = Ie(Y(t.props?.onPauseId), n.dispatchAction), R = Ie(Y(t.props?.onResumeId), n.dispatchAction), y = (P) => {
17531
- h || p(P), m?.(P);
17532
- }, b = Sn(Y(t.props?.onSwipeStartId), n.dispatchAction), C = Sn(Y(t.props?.onSwipeMoveId), n.dispatchAction), w = Sn(Y(t.props?.onSwipeEndId), n.dispatchAction), E = Sn(Y(t.props?.onSwipeCancelId), n.dispatchAction), S = I("radix-toast", A(t.styleIds), o), N = n.renderChildren(t.children ?? []), O = B(
17526
+ const e = I(function({ node: t, context: n, className: o }) {
17527
+ const i = D(t.props?.type), s = j(t.props?.open), a = j(t.props?.defaultOpen), c = te(t.props?.duration), l = j(t.props?.forceMount), [u, p] = ne(a ?? !1), h = s !== void 0, v = h ? !!s : u, m = Xe(Y(t.props?.onOpenChangeId), n.dispatchAction), g = Ie(Y(t.props?.onEscapeKeyDownId), n.dispatchAction), x = Ie(Y(t.props?.onPauseId), n.dispatchAction), R = Ie(Y(t.props?.onResumeId), n.dispatchAction), y = (T) => {
17528
+ h || p(T), m?.(T);
17529
+ }, b = Sn(Y(t.props?.onSwipeStartId), n.dispatchAction), C = Sn(Y(t.props?.onSwipeMoveId), n.dispatchAction), w = Sn(Y(t.props?.onSwipeEndId), n.dispatchAction), E = Sn(Y(t.props?.onSwipeCancelId), n.dispatchAction), S = P("radix-toast", A(t.styleIds), o), N = n.renderChildren(t.children ?? []), O = B(
17533
17530
  t.props,
17534
17531
  /* @__PURE__ */ new Set([
17535
17532
  "type",
@@ -17576,8 +17573,8 @@ function KO() {
17576
17573
  };
17577
17574
  }
17578
17575
  function GO() {
17579
- const e = T(function({ node: t, context: n, className: o }) {
17580
- const i = I("radix-toast-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17576
+ const e = I(function({ node: t, context: n, className: o }) {
17577
+ const i = P("radix-toast-title", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17581
17578
  return /* @__PURE__ */ f.jsx(
17582
17579
  tO,
17583
17580
  {
@@ -17593,8 +17590,8 @@ function GO() {
17593
17590
  };
17594
17591
  }
17595
17592
  function UO() {
17596
- const e = T(function({ node: t, context: n, className: o }) {
17597
- const i = I("radix-toast-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17593
+ const e = I(function({ node: t, context: n, className: o }) {
17594
+ const i = P("radix-toast-description", A(t.styleIds), o), s = n.renderChildren(t.children ?? []);
17598
17595
  return /* @__PURE__ */ f.jsx(
17599
17596
  rO,
17600
17597
  {
@@ -17610,8 +17607,8 @@ function UO() {
17610
17607
  };
17611
17608
  }
17612
17609
  function zO() {
17613
- const e = T(function({ node: t, context: n, className: o }) {
17614
- const i = D(t.props?.altText) ?? "", s = Ie(Y(t.props?.onInvokeId), n.dispatchAction), a = I("radix-toast-action", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["altText", "onInvokeId"])), u = { appearance: "none", outline: "none" };
17610
+ const e = I(function({ node: t, context: n, className: o }) {
17611
+ const i = D(t.props?.altText) ?? "", s = Ie(Y(t.props?.onInvokeId), n.dispatchAction), a = P("radix-toast-action", A(t.styleIds), o), c = n.renderChildren(t.children ?? []), l = B(t.props, /* @__PURE__ */ new Set(["altText", "onInvokeId"])), u = { appearance: "none", outline: "none" };
17615
17612
  return /* @__PURE__ */ f.jsx(
17616
17613
  nO,
17617
17614
  {
@@ -17631,8 +17628,8 @@ function zO() {
17631
17628
  };
17632
17629
  }
17633
17630
  function YO() {
17634
- const e = T(function({ node: t, context: n, className: o }) {
17635
- const i = I("radix-toast-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17631
+ const e = I(function({ node: t, context: n, className: o }) {
17632
+ const i = P("radix-toast-close", A(t.styleIds), o), s = n.renderChildren(t.children ?? []), a = { appearance: "none", outline: "none" };
17636
17633
  return /* @__PURE__ */ f.jsx(
17637
17634
  oO,
17638
17635
  {
@@ -17835,7 +17832,7 @@ function ZO() {
17835
17832
  export {
17836
17833
  XO as IKON_UI_RADIX_MODULE,
17837
17834
  Br as collectSlotChildren,
17838
- I as combineClassNames,
17835
+ P as combineClassNames,
17839
17836
  Xe as createNullableBooleanDispatcher,
17840
17837
  uE as createRadixAccessibleIconResolver,
17841
17838
  rb as createRadixAccordionContentResolver,