randmarcomps 1.50.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +1,36 @@
1
1
  import { jsx as u, jsxs as I, Fragment as Ae } from "react/jsx-runtime";
2
2
  import * as s from "react";
3
- import $e, { forwardRef as jr, createElement as wn, useState as In, useLayoutEffect as mi, useEffect as hi } from "react";
3
+ import $e, { forwardRef as jr, createElement as wn, useState as In, useLayoutEffect as hi, useEffect as gi } from "react";
4
4
  import * as Ln from "react-dom";
5
- import gi from "react-dom";
6
- import { useNavigate as vi, useParams as bi, Link as yi } from "react-router-dom";
7
- var wi = Object.defineProperty, xi = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable, ur = (e, t, n) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Ei = (e, t) => {
5
+ import vi from "react-dom";
6
+ import { useNavigate as bi, useParams as yi, Link as wi } from "react-router-dom";
7
+ var xi = Object.defineProperty, Ei = Object.defineProperties, Ci = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, Gr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable, ur = (e, t, n) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Si = (e, t) => {
8
8
  for (var n in t || (t = {})) Gr.call(t, n) && ur(e, n, t[n]);
9
9
  if (Dt) for (var n of Dt(t)) Ur.call(t, n) && ur(e, n, t[n]);
10
10
  return e;
11
- }, Si = (e, t) => xi(e, Ci(t)), Ti = (e, t) => {
11
+ }, Ti = (e, t) => Ei(e, Ci(t)), Ri = (e, t) => {
12
12
  var n = {};
13
13
  for (var r in e) Gr.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
14
14
  if (e != null && Dt) for (var r of Dt(e)) t.indexOf(r) < 0 && Ur.call(e, r) && (n[r] = e[r]);
15
15
  return n;
16
16
  };
17
- function Ri(e) {
17
+ function Ni(e) {
18
18
  let t = setTimeout(e, 0), n = setTimeout(e, 10), r = setTimeout(e, 50);
19
19
  return [t, n, r];
20
20
  }
21
- function Ni(e) {
21
+ function Pi(e) {
22
22
  let t = s.useRef();
23
23
  return s.useEffect(() => {
24
24
  t.current = e;
25
25
  }), t.current;
26
26
  }
27
- var Pi = 18, Kr = 40, Ai = `${Kr}px`, Oi = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
28
- function Mi({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFocused: r }) {
27
+ var Ai = 18, Kr = 40, Oi = `${Kr}px`, Mi = ["[data-lastpass-icon-root]", "com-1password-button", "[data-dashlanecreated]", '[style$="2147483647 !important;"]'].join(",");
28
+ function ki({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFocused: r }) {
29
29
  let [o, a] = s.useState(!1), [i, l] = s.useState(!1), [d, c] = s.useState(!1), f = s.useMemo(() => n === "none" ? !1 : (n === "increase-width" || n === "experimental-no-flickering") && o && i, [o, i, n]), m = s.useCallback(() => {
30
30
  let v = e.current, g = t.current;
31
31
  if (!v || !g || d || n === "none") return;
32
- let y = v, p = y.getBoundingClientRect().left + y.offsetWidth, h = y.getBoundingClientRect().top + y.offsetHeight / 2, b = p - Pi, w = h;
33
- document.querySelectorAll(Oi).length === 0 && document.elementFromPoint(b, w) === v || (a(!0), c(!0));
32
+ let y = v, p = y.getBoundingClientRect().left + y.offsetWidth, h = y.getBoundingClientRect().top + y.offsetHeight / 2, b = p - Ai, w = h;
33
+ document.querySelectorAll(Mi).length === 0 && document.elementFromPoint(b, w) === v || (a(!0), c(!0));
34
34
  }, [e, t, d, n]);
35
35
  return s.useEffect(() => {
36
36
  let v = e.current;
@@ -53,13 +53,13 @@ function Mi({ containerRef: e, inputRef: t, pushPasswordManagerStrategy: n, isFo
53
53
  return () => {
54
54
  clearTimeout(g), clearTimeout(y), clearTimeout(p), clearTimeout(h);
55
55
  };
56
- }, [t, r, n, m]), { hasPWMBadge: o, willPushPWMBadge: f, PWM_BADGE_SPACE_WIDTH: Ai };
56
+ }, [t, r, n, m]), { hasPWMBadge: o, willPushPWMBadge: f, PWM_BADGE_SPACE_WIDTH: Oi };
57
57
  }
58
58
  var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
59
- var n = e, { value: r, onChange: o, maxLength: a, textAlign: i = "left", pattern: l, placeholder: d, inputMode: c = "numeric", onComplete: f, pushPasswordManagerStrategy: m = "increase-width", pasteTransformer: v, containerClassName: g, noScriptCSSFallback: y = ki, render: p, children: h } = n, b = Ti(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), w, x, C, S, E;
60
- let [T, $] = s.useState(typeof b.defaultValue == "string" ? b.defaultValue : ""), D = r ?? T, z = Ni(D), H = s.useCallback((_) => {
59
+ var n = e, { value: r, onChange: o, maxLength: a, textAlign: i = "left", pattern: l, placeholder: d, inputMode: c = "numeric", onComplete: f, pushPasswordManagerStrategy: m = "increase-width", pasteTransformer: v, containerClassName: g, noScriptCSSFallback: y = Di, render: p, children: h } = n, b = Ri(n, ["value", "onChange", "maxLength", "textAlign", "pattern", "placeholder", "inputMode", "onComplete", "pushPasswordManagerStrategy", "pasteTransformer", "containerClassName", "noScriptCSSFallback", "render", "children"]), w, x, E, S, C;
60
+ let [T, $] = s.useState(typeof b.defaultValue == "string" ? b.defaultValue : ""), D = r ?? T, z = Pi(D), H = s.useCallback((_) => {
61
61
  o == null || o(_), $(_);
62
- }, [o]), W = s.useMemo(() => l ? typeof l == "string" ? new RegExp(l) : l : null, [l]), k = s.useRef(null), R = s.useRef(null), B = s.useRef({ value: D, onChange: H, isIOS: typeof window < "u" && ((x = (w = window == null ? void 0 : window.CSS) == null ? void 0 : w.supports) == null ? void 0 : x.call(w, "-webkit-touch-callout", "none")) }), A = s.useRef({ prev: [(C = k.current) == null ? void 0 : C.selectionStart, (S = k.current) == null ? void 0 : S.selectionEnd, (E = k.current) == null ? void 0 : E.selectionDirection] });
62
+ }, [o]), W = s.useMemo(() => l ? typeof l == "string" ? new RegExp(l) : l : null, [l]), k = s.useRef(null), R = s.useRef(null), B = s.useRef({ value: D, onChange: H, isIOS: typeof window < "u" && ((x = (w = window == null ? void 0 : window.CSS) == null ? void 0 : w.supports) == null ? void 0 : x.call(w, "-webkit-touch-callout", "none")) }), A = s.useRef({ prev: [(E = k.current) == null ? void 0 : E.selectionStart, (S = k.current) == null ? void 0 : S.selectionEnd, (C = k.current) == null ? void 0 : C.selectionDirection] });
63
63
  s.useImperativeHandle(t, () => k.current, []), s.useEffect(() => {
64
64
  let _ = k.current, F = R.current;
65
65
  if (!_ || !F) return;
@@ -71,8 +71,8 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
71
71
  }
72
72
  let G = _.selectionStart, ae = _.selectionEnd, bt = _.selectionDirection, ce = _.maxLength, Ie = _.value, xe = A.current.prev, Te = -1, Re = -1, Le;
73
73
  if (Ie.length !== 0 && G !== null && ae !== null) {
74
- let ui = G === ae, fi = G === Ie.length && Ie.length < ce;
75
- if (ui && !fi) {
74
+ let fi = G === ae, pi = G === Ie.length && Ie.length < ce;
75
+ if (fi && !pi) {
76
76
  let Fe = G;
77
77
  if (Fe === 0) Te = 0, Re = 1, Le = "forward";
78
78
  else if (Fe === ce) Te = Fe - 1, Re = Fe, Le = "backward";
@@ -80,18 +80,18 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
80
80
  let on = 0;
81
81
  if (xe[0] !== null && xe[1] !== null) {
82
82
  Le = Fe < xe[1] ? "backward" : "forward";
83
- let pi = xe[0] === xe[1] && xe[0] < ce;
84
- Le === "backward" && !pi && (on = -1);
83
+ let mi = xe[0] === xe[1] && xe[0] < ce;
84
+ Le === "backward" && !mi && (on = -1);
85
85
  }
86
86
  Te = on + Fe, Re = on + Fe + 1;
87
87
  }
88
88
  }
89
89
  Te !== -1 && Re !== -1 && Te !== Re && k.current.setSelectionRange(Te, Re, Le);
90
90
  }
91
- let cr = Te !== -1 ? Te : G, dr = Re !== -1 ? Re : ae, di = Le ?? bt;
92
- te(cr), J(dr), A.current.prev = [cr, dr, di];
91
+ let cr = Te !== -1 ? Te : G, dr = Re !== -1 ? Re : ae, ui = Le ?? bt;
92
+ te(cr), J(dr), A.current.prev = [cr, dr, ui];
93
93
  }
94
- if (document.addEventListener("selectionchange", Z, { capture: !0 }), Z(), document.activeElement === _ && K(!0), !document.getElementById("input-otp-style")) {
94
+ if (document.addEventListener("selectionchange", Z, { capture: !0 }), Z(), document.activeElement === _ && Y(!0), !document.getElementById("input-otp-style")) {
95
95
  let G = document.createElement("style");
96
96
  if (G.id = "input-otp-style", document.head.appendChild(G), G.sheet) {
97
97
  let ae = "background: transparent !important; color: transparent !important; border-color: transparent !important; opacity: 0 !important; box-shadow: none !important; -webkit-box-shadow: none !important; -webkit-text-fill-color: transparent !important;";
@@ -107,9 +107,9 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
107
107
  document.removeEventListener("selectionchange", Z, { capture: !0 }), re.disconnect();
108
108
  };
109
109
  }, []);
110
- let [j, O] = s.useState(!1), [L, K] = s.useState(!1), [q, te] = s.useState(null), [Q, J] = s.useState(null);
110
+ let [j, O] = s.useState(!1), [L, Y] = s.useState(!1), [q, te] = s.useState(null), [Q, J] = s.useState(null);
111
111
  s.useEffect(() => {
112
- Ri(() => {
112
+ Ni(() => {
113
113
  var _, F, Z, ne;
114
114
  (_ = k.current) == null || _.dispatchEvent(new Event("input"));
115
115
  let re = (F = k.current) == null ? void 0 : F.selectionStart, G = (Z = k.current) == null ? void 0 : Z.selectionEnd, ae = (ne = k.current) == null ? void 0 : ne.selectionDirection;
@@ -118,7 +118,7 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
118
118
  }, [D, L]), s.useEffect(() => {
119
119
  z !== void 0 && D !== z && z.length < a && D.length === a && (f == null || f(D));
120
120
  }, [a, f, z, D]);
121
- let oe = Mi({ containerRef: R, inputRef: k, pushPasswordManagerStrategy: m, isFocused: L }), Se = s.useCallback((_) => {
121
+ let oe = ki({ containerRef: R, inputRef: k, pushPasswordManagerStrategy: m, isFocused: L }), Se = s.useCallback((_) => {
122
122
  let F = _.currentTarget.value.slice(0, a);
123
123
  if (F.length > 0 && W && !W.test(F)) {
124
124
  _.preventDefault();
@@ -131,7 +131,7 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
131
131
  let F = Math.min(k.current.value.length, a - 1), Z = k.current.value.length;
132
132
  (_ = k.current) == null || _.setSelectionRange(F, Z), te(F), J(Z);
133
133
  }
134
- K(!0);
134
+ Y(!0);
135
135
  }, [a]), ot = s.useCallback((_) => {
136
136
  var F, Z;
137
137
  let ne = k.current;
@@ -143,7 +143,7 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
143
143
  ne.value = ce, H(ce);
144
144
  let Ie = Math.min(ce.length, a - 1), xe = ce.length;
145
145
  ne.setSelectionRange(Ie, xe), te(Ie), J(xe);
146
- }, [a, H, W, D]), gt = s.useMemo(() => ({ position: "relative", cursor: b.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [b.disabled]), at = s.useMemo(() => ({ position: "absolute", inset: 0, width: oe.willPushPWMBadge ? `calc(100% + ${oe.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: oe.willPushPWMBadge ? `inset(0 ${oe.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: i, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [oe.PWM_BADGE_SPACE_WIDTH, oe.willPushPWMBadge, i]), vt = s.useMemo(() => s.createElement("input", Si(Ei({ autoComplete: b.autoComplete || "one-time-code" }, b), { "data-input-otp": !0, "data-input-otp-placeholder-shown": D.length === 0 || void 0, "data-input-otp-mss": q, "data-input-otp-mse": Q, inputMode: c, pattern: W == null ? void 0 : W.source, "aria-placeholder": d, style: at, maxLength: a, value: D, ref: k, onPaste: (_) => {
146
+ }, [a, H, W, D]), gt = s.useMemo(() => ({ position: "relative", cursor: b.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [b.disabled]), at = s.useMemo(() => ({ position: "absolute", inset: 0, width: oe.willPushPWMBadge ? `calc(100% + ${oe.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: oe.willPushPWMBadge ? `inset(0 ${oe.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: i, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [oe.PWM_BADGE_SPACE_WIDTH, oe.willPushPWMBadge, i]), vt = s.useMemo(() => s.createElement("input", Ti(Si({ autoComplete: b.autoComplete || "one-time-code" }, b), { "data-input-otp": !0, "data-input-otp-placeholder-shown": D.length === 0 || void 0, "data-input-otp-mss": q, "data-input-otp-mse": Q, inputMode: c, pattern: W == null ? void 0 : W.source, "aria-placeholder": d, style: at, maxLength: a, value: D, ref: k, onPaste: (_) => {
147
147
  var F;
148
148
  ot(_), (F = b.onPaste) == null || F.call(b, _);
149
149
  }, onChange: Se, onMouseOver: (_) => {
@@ -157,7 +157,7 @@ var Yr = s.createContext({}), Xr = s.forwardRef((e, t) => {
157
157
  he(), (F = b.onFocus) == null || F.call(b, _);
158
158
  }, onBlur: (_) => {
159
159
  var F;
160
- K(!1), (F = b.onBlur) == null || F.call(b, _);
160
+ Y(!1), (F = b.onBlur) == null || F.call(b, _);
161
161
  } })), [Se, he, ot, c, at, a, Q, q, b, W == null ? void 0 : W.source, D]), je = s.useMemo(() => ({ slots: Array.from({ length: a }).map((_, F) => {
162
162
  var Z;
163
163
  let ne = L && q !== null && Q !== null && (q === Q && F === q || F >= q && F < Q), re = D[F] !== void 0 ? D[F] : null, G = D[0] !== void 0 ? null : (Z = d == null ? void 0 : d[F]) != null ? Z : null;
@@ -173,7 +173,7 @@ function it(e, t) {
173
173
  console.error("input-otp could not insert CSS rule:", t);
174
174
  }
175
175
  }
176
- var ki = `
176
+ var Di = `
177
177
  [data-input-otp] {
178
178
  --nojs-bg: white !important;
179
179
  --nojs-fg: black !important;
@@ -199,14 +199,14 @@ var ki = `
199
199
  * This source code is licensed under the ISC license.
200
200
  * See the LICENSE file in the root directory of this source tree.
201
201
  */
202
- const Di = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), qr = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
202
+ const _i = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), qr = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim();
203
203
  /**
204
204
  * @license lucide-react v0.479.0 - ISC
205
205
  *
206
206
  * This source code is licensed under the ISC license.
207
207
  * See the LICENSE file in the root directory of this source tree.
208
208
  */
209
- var _i = {
209
+ var Ii = {
210
210
  xmlns: "http://www.w3.org/2000/svg",
211
211
  width: 24,
212
212
  height: 24,
@@ -223,7 +223,7 @@ var _i = {
223
223
  * This source code is licensed under the ISC license.
224
224
  * See the LICENSE file in the root directory of this source tree.
225
225
  */
226
- const Ii = jr(
226
+ const Li = jr(
227
227
  ({
228
228
  color: e = "currentColor",
229
229
  size: t = 24,
@@ -237,7 +237,7 @@ const Ii = jr(
237
237
  "svg",
238
238
  {
239
239
  ref: d,
240
- ..._i,
240
+ ...Ii,
241
241
  width: t,
242
242
  height: t,
243
243
  stroke: e,
@@ -259,10 +259,10 @@ const Ii = jr(
259
259
  */
260
260
  const pe = (e, t) => {
261
261
  const n = jr(
262
- ({ className: r, ...o }, a) => wn(Ii, {
262
+ ({ className: r, ...o }, a) => wn(Li, {
263
263
  ref: a,
264
264
  iconNode: t,
265
- className: qr(`lucide-${Di(e)}`, r),
265
+ className: qr(`lucide-${_i(e)}`, r),
266
266
  ...o
267
267
  })
268
268
  );
@@ -274,91 +274,91 @@ const pe = (e, t) => {
274
274
  * This source code is licensed under the ISC license.
275
275
  * See the LICENSE file in the root directory of this source tree.
276
276
  */
277
- const Li = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Fi = pe("Check", Li);
277
+ const Fi = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], $i = pe("Check", Fi);
278
278
  /**
279
279
  * @license lucide-react v0.479.0 - ISC
280
280
  *
281
281
  * This source code is licensed under the ISC license.
282
282
  * See the LICENSE file in the root directory of this source tree.
283
283
  */
284
- const $i = [
284
+ const zi = [
285
285
  ["rect", { width: "14", height: "14", x: "8", y: "8", rx: "2", ry: "2", key: "17jyea" }],
286
286
  ["path", { d: "M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2", key: "zix9uf" }]
287
- ], zi = pe("Copy", $i);
287
+ ], Wi = pe("Copy", zi);
288
288
  /**
289
289
  * @license lucide-react v0.479.0 - ISC
290
290
  *
291
291
  * This source code is licensed under the ISC license.
292
292
  * See the LICENSE file in the root directory of this source tree.
293
293
  */
294
- const Wi = [
294
+ const Bi = [
295
295
  ["path", { d: "M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4", key: "ih7n3h" }],
296
296
  ["polyline", { points: "7 10 12 15 17 10", key: "2ggqvy" }],
297
297
  ["line", { x1: "12", x2: "12", y1: "15", y2: "3", key: "1vk2je" }]
298
- ], Bi = pe("Download", Wi);
298
+ ], Vi = pe("Download", Bi);
299
299
  /**
300
300
  * @license lucide-react v0.479.0 - ISC
301
301
  *
302
302
  * This source code is licensed under the ISC license.
303
303
  * See the LICENSE file in the root directory of this source tree.
304
304
  */
305
- const Vi = [
305
+ const Hi = [
306
306
  ["path", { d: "M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4", key: "1uf3rs" }],
307
307
  ["polyline", { points: "16 17 21 12 16 7", key: "1gabdz" }],
308
308
  ["line", { x1: "21", x2: "9", y1: "12", y2: "12", key: "1uyos4" }]
309
- ], Hi = pe("LogOut", Vi);
309
+ ], ji = pe("LogOut", Hi);
310
310
  /**
311
311
  * @license lucide-react v0.479.0 - ISC
312
312
  *
313
313
  * This source code is licensed under the ISC license.
314
314
  * See the LICENSE file in the root directory of this source tree.
315
315
  */
316
- const ji = [
316
+ const Gi = [
317
317
  ["line", { x1: "4", x2: "20", y1: "12", y2: "12", key: "1e0a9i" }],
318
318
  ["line", { x1: "4", x2: "20", y1: "6", y2: "6", key: "1owob3" }],
319
319
  ["line", { x1: "4", x2: "20", y1: "18", y2: "18", key: "yk5zj1" }]
320
- ], Gi = pe("Menu", ji);
320
+ ], Ui = pe("Menu", Gi);
321
321
  /**
322
322
  * @license lucide-react v0.479.0 - ISC
323
323
  *
324
324
  * This source code is licensed under the ISC license.
325
325
  * See the LICENSE file in the root directory of this source tree.
326
326
  */
327
- const Ui = [["path", { d: "M5 12h14", key: "1ays0h" }]], Ki = pe("Minus", Ui);
327
+ const Ki = [["path", { d: "M5 12h14", key: "1ays0h" }]], Yi = pe("Minus", Ki);
328
328
  /**
329
329
  * @license lucide-react v0.479.0 - ISC
330
330
  *
331
331
  * This source code is licensed under the ISC license.
332
332
  * See the LICENSE file in the root directory of this source tree.
333
333
  */
334
- const Yi = [
334
+ const Xi = [
335
335
  ["rect", { width: "18", height: "18", x: "3", y: "3", rx: "2", key: "afitv7" }],
336
336
  ["path", { d: "M9 3v18", key: "fh3hqa" }]
337
- ], Xi = pe("PanelLeft", Yi);
337
+ ], qi = pe("PanelLeft", Xi);
338
338
  /**
339
339
  * @license lucide-react v0.479.0 - ISC
340
340
  *
341
341
  * This source code is licensed under the ISC license.
342
342
  * See the LICENSE file in the root directory of this source tree.
343
343
  */
344
- const qi = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]], Zi = pe("Play", qi);
344
+ const Zi = [["polygon", { points: "6 3 20 12 6 21 6 3", key: "1oa8hb" }]], Qi = pe("Play", Zi);
345
345
  /**
346
346
  * @license lucide-react v0.479.0 - ISC
347
347
  *
348
348
  * This source code is licensed under the ISC license.
349
349
  * See the LICENSE file in the root directory of this source tree.
350
350
  */
351
- const Qi = [
351
+ const Ji = [
352
352
  ["circle", { cx: "11", cy: "11", r: "8", key: "4ej97u" }],
353
353
  ["path", { d: "m21 21-4.3-4.3", key: "1qie3q" }]
354
- ], Ji = pe("Search", Qi);
354
+ ], es = pe("Search", Ji);
355
355
  /**
356
356
  * @license lucide-react v0.479.0 - ISC
357
357
  *
358
358
  * This source code is licensed under the ISC license.
359
359
  * See the LICENSE file in the root directory of this source tree.
360
360
  */
361
- const es = [
361
+ const ts = [
362
362
  [
363
363
  "path",
364
364
  {
@@ -368,17 +368,17 @@ const es = [
368
368
  ],
369
369
  ["path", { d: "M12 9v4", key: "juzpu7" }],
370
370
  ["path", { d: "M12 17h.01", key: "p32p05" }]
371
- ], ts = pe("TriangleAlert", es);
371
+ ], ns = pe("TriangleAlert", ts);
372
372
  /**
373
373
  * @license lucide-react v0.479.0 - ISC
374
374
  *
375
375
  * This source code is licensed under the ISC license.
376
376
  * See the LICENSE file in the root directory of this source tree.
377
377
  */
378
- const ns = [
378
+ const rs = [
379
379
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
380
380
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
381
- ], Fn = pe("X", ns);
381
+ ], Fn = pe("X", rs);
382
382
  function Zr(e) {
383
383
  var t, n, r = "";
384
384
  if (typeof e == "string" || typeof e == "number") r += e;
@@ -392,15 +392,15 @@ function Qr() {
392
392
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = Zr(e)) && (r && (r += " "), r += t);
393
393
  return r;
394
394
  }
395
- const $n = "-", rs = (e) => {
396
- const t = as(e), {
395
+ const $n = "-", os = (e) => {
396
+ const t = is(e), {
397
397
  conflictingClassGroups: n,
398
398
  conflictingClassGroupModifiers: r
399
399
  } = e;
400
400
  return {
401
401
  getClassGroupId: (i) => {
402
402
  const l = i.split($n);
403
- return l[0] === "" && l.length !== 1 && l.shift(), Jr(l, t) || os(i);
403
+ return l[0] === "" && l.length !== 1 && l.shift(), Jr(l, t) || as(i);
404
404
  },
405
405
  getConflictingClassGroupIds: (i, l) => {
406
406
  const d = n[i] || [];
@@ -420,13 +420,13 @@ const $n = "-", rs = (e) => {
420
420
  return (i = t.validators.find(({
421
421
  validator: l
422
422
  }) => l(a))) == null ? void 0 : i.classGroupId;
423
- }, fr = /^\[(.+)\]$/, os = (e) => {
423
+ }, fr = /^\[(.+)\]$/, as = (e) => {
424
424
  if (fr.test(e)) {
425
425
  const t = fr.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
426
426
  if (n)
427
427
  return "arbitrary.." + n;
428
428
  }
429
- }, as = (e) => {
429
+ }, is = (e) => {
430
430
  const {
431
431
  theme: t,
432
432
  classGroups: n
@@ -445,7 +445,7 @@ const $n = "-", rs = (e) => {
445
445
  return;
446
446
  }
447
447
  if (typeof o == "function") {
448
- if (is(o)) {
448
+ if (ss(o)) {
449
449
  xn(o(r), t, n, r);
450
450
  return;
451
451
  }
@@ -467,7 +467,7 @@ const $n = "-", rs = (e) => {
467
467
  validators: []
468
468
  }), n = n.nextPart.get(r);
469
469
  }), n;
470
- }, is = (e) => e.isThemeGetter, ss = (e) => {
470
+ }, ss = (e) => e.isThemeGetter, ls = (e) => {
471
471
  if (e < 1)
472
472
  return {
473
473
  get: () => {
@@ -491,7 +491,7 @@ const $n = "-", rs = (e) => {
491
491
  n.has(a) ? n.set(a, i) : o(a, i);
492
492
  }
493
493
  };
494
- }, Cn = "!", En = ":", ls = En.length, cs = (e) => {
494
+ }, En = "!", Cn = ":", cs = Cn.length, ds = (e) => {
495
495
  const {
496
496
  prefix: t,
497
497
  experimentalParseClassName: n
@@ -502,8 +502,8 @@ const $n = "-", rs = (e) => {
502
502
  for (let y = 0; y < o.length; y++) {
503
503
  let p = o[y];
504
504
  if (i === 0 && l === 0) {
505
- if (p === En) {
506
- a.push(o.slice(d, y)), d = y + ls;
505
+ if (p === Cn) {
506
+ a.push(o.slice(d, y)), d = y + cs;
507
507
  continue;
508
508
  }
509
509
  if (p === "/") {
@@ -513,7 +513,7 @@ const $n = "-", rs = (e) => {
513
513
  }
514
514
  p === "[" ? i++ : p === "]" ? i-- : p === "(" ? l++ : p === ")" && l--;
515
515
  }
516
- const f = a.length === 0 ? o : o.substring(d), m = ds(f), v = m !== f, g = c && c > d ? c - d : void 0;
516
+ const f = a.length === 0 ? o : o.substring(d), m = us(f), v = m !== f, g = c && c > d ? c - d : void 0;
517
517
  return {
518
518
  modifiers: a,
519
519
  hasImportantModifier: v,
@@ -522,7 +522,7 @@ const $n = "-", rs = (e) => {
522
522
  };
523
523
  };
524
524
  if (t) {
525
- const o = t + En, a = r;
525
+ const o = t + Cn, a = r;
526
526
  r = (i) => i.startsWith(o) ? a(i.substring(o.length)) : {
527
527
  isExternal: !0,
528
528
  modifiers: [],
@@ -539,7 +539,7 @@ const $n = "-", rs = (e) => {
539
539
  });
540
540
  }
541
541
  return r;
542
- }, ds = (e) => e.endsWith(Cn) ? e.substring(0, e.length - 1) : e.startsWith(Cn) ? e.substring(1) : e, us = (e) => {
542
+ }, us = (e) => e.endsWith(En) ? e.substring(0, e.length - 1) : e.startsWith(En) ? e.substring(1) : e, fs = (e) => {
543
543
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
544
544
  return (r) => {
545
545
  if (r.length <= 1)
@@ -550,18 +550,18 @@ const $n = "-", rs = (e) => {
550
550
  i[0] === "[" || t[i] ? (o.push(...a.sort(), i), a = []) : a.push(i);
551
551
  }), o.push(...a.sort()), o;
552
552
  };
553
- }, fs = (e) => ({
554
- cache: ss(e.cacheSize),
555
- parseClassName: cs(e),
556
- sortModifiers: us(e),
557
- ...rs(e)
558
- }), ps = /\s+/, ms = (e, t) => {
553
+ }, ps = (e) => ({
554
+ cache: ls(e.cacheSize),
555
+ parseClassName: ds(e),
556
+ sortModifiers: fs(e),
557
+ ...os(e)
558
+ }), ms = /\s+/, hs = (e, t) => {
559
559
  const {
560
560
  parseClassName: n,
561
561
  getClassGroupId: r,
562
562
  getConflictingClassGroupIds: o,
563
563
  sortModifiers: a
564
- } = t, i = [], l = e.trim().split(ps);
564
+ } = t, i = [], l = e.trim().split(ms);
565
565
  let d = "";
566
566
  for (let c = l.length - 1; c >= 0; c -= 1) {
567
567
  const f = l[c], {
@@ -587,20 +587,20 @@ const $n = "-", rs = (e) => {
587
587
  }
588
588
  h = !1;
589
589
  }
590
- const w = a(v).join(":"), x = g ? w + Cn : w, C = x + b;
591
- if (i.includes(C))
590
+ const w = a(v).join(":"), x = g ? w + En : w, E = x + b;
591
+ if (i.includes(E))
592
592
  continue;
593
- i.push(C);
593
+ i.push(E);
594
594
  const S = o(b, h);
595
- for (let E = 0; E < S.length; ++E) {
596
- const T = S[E];
595
+ for (let C = 0; C < S.length; ++C) {
596
+ const T = S[C];
597
597
  i.push(x + T);
598
598
  }
599
599
  d = f + (d.length > 0 ? " " + d : d);
600
600
  }
601
601
  return d;
602
602
  };
603
- function hs() {
603
+ function gs() {
604
604
  let e = 0, t, n, r = "";
605
605
  for (; e < arguments.length; )
606
606
  (t = arguments[e++]) && (n = eo(t)) && (r && (r += " "), r += n);
@@ -614,41 +614,41 @@ const eo = (e) => {
614
614
  e[r] && (t = eo(e[r])) && (n && (n += " "), n += t);
615
615
  return n;
616
616
  };
617
- function gs(e, ...t) {
617
+ function vs(e, ...t) {
618
618
  let n, r, o, a = i;
619
619
  function i(d) {
620
620
  const c = t.reduce((f, m) => m(f), e());
621
- return n = fs(c), r = n.cache.get, o = n.cache.set, a = l, l(d);
621
+ return n = ps(c), r = n.cache.get, o = n.cache.set, a = l, l(d);
622
622
  }
623
623
  function l(d) {
624
624
  const c = r(d);
625
625
  if (c)
626
626
  return c;
627
- const f = ms(d, n);
627
+ const f = hs(d, n);
628
628
  return o(d, f), f;
629
629
  }
630
630
  return function() {
631
- return a(hs.apply(null, arguments));
631
+ return a(gs.apply(null, arguments));
632
632
  };
633
633
  }
634
634
  const X = (e) => {
635
635
  const t = (n) => n[e] || [];
636
636
  return t.isThemeGetter = !0, t;
637
- }, to = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, no = /^\((?:(\w[\w-]*):)?(.+)\)$/i, vs = /^\d+\/\d+$/, bs = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ys = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, ws = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, xs = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cs = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => vs.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), ze = (e) => !!e && Number.isInteger(Number(e)), mr = (e) => e.endsWith("%") && V(e.slice(0, -1)), Ne = (e) => bs.test(e), Es = () => !0, Ss = (e) => (
637
+ }, to = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, no = /^\((?:(\w[\w-]*):)?(.+)\)$/i, bs = /^\d+\/\d+$/, ys = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, ws = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/, xs = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, Es = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Cs = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => bs.test(e), V = (e) => !!e && !Number.isNaN(Number(e)), ze = (e) => !!e && Number.isInteger(Number(e)), mr = (e) => e.endsWith("%") && V(e.slice(0, -1)), Ne = (e) => ys.test(e), Ss = () => !0, Ts = (e) => (
638
638
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
639
639
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
640
640
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
641
- ys.test(e) && !ws.test(e)
642
- ), zn = () => !1, Ts = (e) => xs.test(e), Rs = (e) => Cs.test(e), Ns = (e) => !N(e) && !P(e), Ps = (e) => et(e, ao, zn), N = (e) => to.test(e), We = (e) => et(e, io, Ss), an = (e) => et(e, zs, V), As = (e) => et(e, ro, zn), Os = (e) => et(e, oo, Rs), Ms = (e) => et(e, zn, Ts), P = (e) => no.test(e), yt = (e) => tt(e, io), ks = (e) => tt(e, Ws), Ds = (e) => tt(e, ro), _s = (e) => tt(e, ao), Is = (e) => tt(e, oo), Ls = (e) => tt(e, Bs, !0), et = (e, t, n) => {
641
+ ws.test(e) && !xs.test(e)
642
+ ), zn = () => !1, Rs = (e) => Es.test(e), Ns = (e) => Cs.test(e), Ps = (e) => !N(e) && !P(e), As = (e) => et(e, ao, zn), N = (e) => to.test(e), We = (e) => et(e, io, Ts), an = (e) => et(e, Ws, V), Os = (e) => et(e, ro, zn), Ms = (e) => et(e, oo, Ns), ks = (e) => et(e, zn, Rs), P = (e) => no.test(e), yt = (e) => tt(e, io), Ds = (e) => tt(e, Bs), _s = (e) => tt(e, ro), Is = (e) => tt(e, ao), Ls = (e) => tt(e, oo), Fs = (e) => tt(e, Vs, !0), et = (e, t, n) => {
643
643
  const r = to.exec(e);
644
644
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
645
645
  }, tt = (e, t, n = !1) => {
646
646
  const r = no.exec(e);
647
647
  return r ? r[1] ? t(r[1]) : n : !1;
648
- }, ro = (e) => e === "position", Fs = /* @__PURE__ */ new Set(["image", "url"]), oo = (e) => Fs.has(e), $s = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ao = (e) => $s.has(e), io = (e) => e === "length", zs = (e) => e === "number", Ws = (e) => e === "family-name", Bs = (e) => e === "shadow", Vs = () => {
649
- const e = X("color"), t = X("font"), n = X("text"), r = X("font-weight"), o = X("tracking"), a = X("leading"), i = X("breakpoint"), l = X("container"), d = X("spacing"), c = X("radius"), f = X("shadow"), m = X("inset-shadow"), v = X("drop-shadow"), g = X("blur"), y = X("perspective"), p = X("aspect"), h = X("ease"), b = X("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], x = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], C = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], E = () => [P, N, d], T = () => [Ge, "full", "auto", ...E()], $ = () => [ze, "none", "subgrid", P, N], D = () => ["auto", {
648
+ }, ro = (e) => e === "position", $s = /* @__PURE__ */ new Set(["image", "url"]), oo = (e) => $s.has(e), zs = /* @__PURE__ */ new Set(["length", "size", "percentage"]), ao = (e) => zs.has(e), io = (e) => e === "length", Ws = (e) => e === "number", Bs = (e) => e === "family-name", Vs = (e) => e === "shadow", Hs = () => {
649
+ const e = X("color"), t = X("font"), n = X("text"), r = X("font-weight"), o = X("tracking"), a = X("leading"), i = X("breakpoint"), l = X("container"), d = X("spacing"), c = X("radius"), f = X("shadow"), m = X("inset-shadow"), v = X("drop-shadow"), g = X("blur"), y = X("perspective"), p = X("aspect"), h = X("ease"), b = X("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], x = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], E = () => ["auto", "hidden", "clip", "visible", "scroll"], S = () => ["auto", "contain", "none"], C = () => [P, N, d], T = () => [Ge, "full", "auto", ...C()], $ = () => [ze, "none", "subgrid", P, N], D = () => ["auto", {
650
650
  span: ["full", ze, P, N]
651
- }, P, N], z = () => [ze, "auto", P, N], H = () => ["auto", "min", "max", "fr", P, N], W = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], k = () => ["start", "end", "center", "stretch"], R = () => ["auto", ...E()], B = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...E()], A = () => [e, P, N], j = () => [mr, We], O = () => [
651
+ }, P, N], z = () => [ze, "auto", P, N], H = () => ["auto", "min", "max", "fr", P, N], W = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline"], k = () => ["start", "end", "center", "stretch"], R = () => ["auto", ...C()], B = () => [Ge, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...C()], A = () => [e, P, N], j = () => [mr, We], O = () => [
652
652
  // Deprecated since Tailwind CSS v4.0.0
653
653
  "",
654
654
  "none",
@@ -656,14 +656,14 @@ const X = (e) => {
656
656
  c,
657
657
  P,
658
658
  N
659
- ], L = () => ["", V, yt, We], K = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], te = () => [
659
+ ], L = () => ["", V, yt, We], Y = () => ["solid", "dashed", "dotted", "double"], q = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], te = () => [
660
660
  // Deprecated since Tailwind CSS v4.0.0
661
661
  "",
662
662
  "none",
663
663
  g,
664
664
  P,
665
665
  N
666
- ], Q = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", P, N], J = () => ["none", V, P, N], oe = () => ["none", V, P, N], Se = () => [V, P, N], he = () => [Ge, "full", ...E()];
666
+ ], Q = () => ["center", "top", "top-right", "right", "bottom-right", "bottom", "bottom-left", "left", "top-left", P, N], J = () => ["none", V, P, N], oe = () => ["none", V, P, N], Se = () => [V, P, N], he = () => [Ge, "full", ...C()];
667
667
  return {
668
668
  cacheSize: 500,
669
669
  theme: {
@@ -671,11 +671,11 @@ const X = (e) => {
671
671
  aspect: ["video"],
672
672
  blur: [Ne],
673
673
  breakpoint: [Ne],
674
- color: [Es],
674
+ color: [Ss],
675
675
  container: [Ne],
676
676
  "drop-shadow": [Ne],
677
677
  ease: ["in", "out", "in-out"],
678
- font: [Ns],
678
+ font: [Ps],
679
679
  "font-weight": ["thin", "extralight", "light", "normal", "medium", "semibold", "bold", "extrabold", "black"],
680
680
  "inset-shadow": [Ne],
681
681
  leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
@@ -793,21 +793,21 @@ const X = (e) => {
793
793
  * @see https://tailwindcss.com/docs/overflow
794
794
  */
795
795
  overflow: [{
796
- overflow: C()
796
+ overflow: E()
797
797
  }],
798
798
  /**
799
799
  * Overflow X
800
800
  * @see https://tailwindcss.com/docs/overflow
801
801
  */
802
802
  "overflow-x": [{
803
- "overflow-x": C()
803
+ "overflow-x": E()
804
804
  }],
805
805
  /**
806
806
  * Overflow Y
807
807
  * @see https://tailwindcss.com/docs/overflow
808
808
  */
809
809
  "overflow-y": [{
810
- "overflow-y": C()
810
+ "overflow-y": E()
811
811
  }],
812
812
  /**
813
813
  * Overscroll Behavior
@@ -918,7 +918,7 @@ const X = (e) => {
918
918
  * @see https://tailwindcss.com/docs/flex-basis
919
919
  */
920
920
  basis: [{
921
- basis: [Ge, "full", "auto", l, ...E()]
921
+ basis: [Ge, "full", "auto", l, ...C()]
922
922
  }],
923
923
  /**
924
924
  * Flex Direction
@@ -1044,21 +1044,21 @@ const X = (e) => {
1044
1044
  * @see https://tailwindcss.com/docs/gap
1045
1045
  */
1046
1046
  gap: [{
1047
- gap: E()
1047
+ gap: C()
1048
1048
  }],
1049
1049
  /**
1050
1050
  * Gap X
1051
1051
  * @see https://tailwindcss.com/docs/gap
1052
1052
  */
1053
1053
  "gap-x": [{
1054
- "gap-x": E()
1054
+ "gap-x": C()
1055
1055
  }],
1056
1056
  /**
1057
1057
  * Gap Y
1058
1058
  * @see https://tailwindcss.com/docs/gap
1059
1059
  */
1060
1060
  "gap-y": [{
1061
- "gap-y": E()
1061
+ "gap-y": C()
1062
1062
  }],
1063
1063
  /**
1064
1064
  * Justify Content
@@ -1129,63 +1129,63 @@ const X = (e) => {
1129
1129
  * @see https://tailwindcss.com/docs/padding
1130
1130
  */
1131
1131
  p: [{
1132
- p: E()
1132
+ p: C()
1133
1133
  }],
1134
1134
  /**
1135
1135
  * Padding X
1136
1136
  * @see https://tailwindcss.com/docs/padding
1137
1137
  */
1138
1138
  px: [{
1139
- px: E()
1139
+ px: C()
1140
1140
  }],
1141
1141
  /**
1142
1142
  * Padding Y
1143
1143
  * @see https://tailwindcss.com/docs/padding
1144
1144
  */
1145
1145
  py: [{
1146
- py: E()
1146
+ py: C()
1147
1147
  }],
1148
1148
  /**
1149
1149
  * Padding Start
1150
1150
  * @see https://tailwindcss.com/docs/padding
1151
1151
  */
1152
1152
  ps: [{
1153
- ps: E()
1153
+ ps: C()
1154
1154
  }],
1155
1155
  /**
1156
1156
  * Padding End
1157
1157
  * @see https://tailwindcss.com/docs/padding
1158
1158
  */
1159
1159
  pe: [{
1160
- pe: E()
1160
+ pe: C()
1161
1161
  }],
1162
1162
  /**
1163
1163
  * Padding Top
1164
1164
  * @see https://tailwindcss.com/docs/padding
1165
1165
  */
1166
1166
  pt: [{
1167
- pt: E()
1167
+ pt: C()
1168
1168
  }],
1169
1169
  /**
1170
1170
  * Padding Right
1171
1171
  * @see https://tailwindcss.com/docs/padding
1172
1172
  */
1173
1173
  pr: [{
1174
- pr: E()
1174
+ pr: C()
1175
1175
  }],
1176
1176
  /**
1177
1177
  * Padding Bottom
1178
1178
  * @see https://tailwindcss.com/docs/padding
1179
1179
  */
1180
1180
  pb: [{
1181
- pb: E()
1181
+ pb: C()
1182
1182
  }],
1183
1183
  /**
1184
1184
  * Padding Left
1185
1185
  * @see https://tailwindcss.com/docs/padding
1186
1186
  */
1187
1187
  pl: [{
1188
- pl: E()
1188
+ pl: C()
1189
1189
  }],
1190
1190
  /**
1191
1191
  * Margin
@@ -1255,7 +1255,7 @@ const X = (e) => {
1255
1255
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1256
1256
  */
1257
1257
  "space-x": [{
1258
- "space-x": E()
1258
+ "space-x": C()
1259
1259
  }],
1260
1260
  /**
1261
1261
  * Space Between X Reverse
@@ -1267,7 +1267,7 @@ const X = (e) => {
1267
1267
  * @see https://tailwindcss.com/docs/margin#adding-space-between-children
1268
1268
  */
1269
1269
  "space-y": [{
1270
- "space-y": E()
1270
+ "space-y": C()
1271
1271
  }],
1272
1272
  /**
1273
1273
  * Space Between Y Reverse
@@ -1382,7 +1382,7 @@ const X = (e) => {
1382
1382
  * @see https://tailwindcss.com/docs/font-family
1383
1383
  */
1384
1384
  "font-family": [{
1385
- font: [ks, N, t]
1385
+ font: [Ds, N, t]
1386
1386
  }],
1387
1387
  /**
1388
1388
  * Font Variant Numeric
@@ -1436,7 +1436,7 @@ const X = (e) => {
1436
1436
  leading: [
1437
1437
  /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
1438
1438
  a,
1439
- ...E()
1439
+ ...C()
1440
1440
  ]
1441
1441
  }],
1442
1442
  /**
@@ -1492,7 +1492,7 @@ const X = (e) => {
1492
1492
  * @see https://tailwindcss.com/docs/text-decoration-style
1493
1493
  */
1494
1494
  "text-decoration-style": [{
1495
- decoration: [...K(), "wavy"]
1495
+ decoration: [...Y(), "wavy"]
1496
1496
  }],
1497
1497
  /**
1498
1498
  * Text Decoration Thickness
@@ -1537,7 +1537,7 @@ const X = (e) => {
1537
1537
  * @see https://tailwindcss.com/docs/text-indent
1538
1538
  */
1539
1539
  indent: [{
1540
- indent: E()
1540
+ indent: C()
1541
1541
  }],
1542
1542
  /**
1543
1543
  * Vertical Alignment
@@ -1603,7 +1603,7 @@ const X = (e) => {
1603
1603
  * @see https://tailwindcss.com/docs/background-position
1604
1604
  */
1605
1605
  "bg-position": [{
1606
- bg: [...x(), Ds, As]
1606
+ bg: [...x(), _s, Os]
1607
1607
  }],
1608
1608
  /**
1609
1609
  * Background Repeat
@@ -1619,7 +1619,7 @@ const X = (e) => {
1619
1619
  * @see https://tailwindcss.com/docs/background-size
1620
1620
  */
1621
1621
  "bg-size": [{
1622
- bg: ["auto", "cover", "contain", _s, Ps]
1622
+ bg: ["auto", "cover", "contain", Is, As]
1623
1623
  }],
1624
1624
  /**
1625
1625
  * Background Image
@@ -1632,7 +1632,7 @@ const X = (e) => {
1632
1632
  }, ze, P, N],
1633
1633
  radial: ["", P, N],
1634
1634
  conic: [ze, P, N]
1635
- }, Is, Os]
1635
+ }, Ls, Ms]
1636
1636
  }],
1637
1637
  /**
1638
1638
  * Background Color
@@ -1883,14 +1883,14 @@ const X = (e) => {
1883
1883
  * @see https://tailwindcss.com/docs/border-style
1884
1884
  */
1885
1885
  "border-style": [{
1886
- border: [...K(), "hidden", "none"]
1886
+ border: [...Y(), "hidden", "none"]
1887
1887
  }],
1888
1888
  /**
1889
1889
  * Divide Style
1890
1890
  * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
1891
1891
  */
1892
1892
  "divide-style": [{
1893
- divide: [...K(), "hidden", "none"]
1893
+ divide: [...Y(), "hidden", "none"]
1894
1894
  }],
1895
1895
  /**
1896
1896
  * Border Color
@@ -1967,7 +1967,7 @@ const X = (e) => {
1967
1967
  * @see https://tailwindcss.com/docs/outline-style
1968
1968
  */
1969
1969
  "outline-style": [{
1970
- outline: [...K(), "none", "hidden"]
1970
+ outline: [...Y(), "none", "hidden"]
1971
1971
  }],
1972
1972
  /**
1973
1973
  * Outline Offset
@@ -2003,8 +2003,8 @@ const X = (e) => {
2003
2003
  "",
2004
2004
  "none",
2005
2005
  f,
2006
- Ls,
2007
- Ms
2006
+ Fs,
2007
+ ks
2008
2008
  ]
2009
2009
  }],
2010
2010
  /**
@@ -2279,21 +2279,21 @@ const X = (e) => {
2279
2279
  * @see https://tailwindcss.com/docs/border-spacing
2280
2280
  */
2281
2281
  "border-spacing": [{
2282
- "border-spacing": E()
2282
+ "border-spacing": C()
2283
2283
  }],
2284
2284
  /**
2285
2285
  * Border Spacing X
2286
2286
  * @see https://tailwindcss.com/docs/border-spacing
2287
2287
  */
2288
2288
  "border-spacing-x": [{
2289
- "border-spacing-x": E()
2289
+ "border-spacing-x": C()
2290
2290
  }],
2291
2291
  /**
2292
2292
  * Border Spacing Y
2293
2293
  * @see https://tailwindcss.com/docs/border-spacing
2294
2294
  */
2295
2295
  "border-spacing-y": [{
2296
- "border-spacing-y": E()
2296
+ "border-spacing-y": C()
2297
2297
  }],
2298
2298
  /**
2299
2299
  * Table Layout
@@ -2585,126 +2585,126 @@ const X = (e) => {
2585
2585
  * @see https://tailwindcss.com/docs/scroll-margin
2586
2586
  */
2587
2587
  "scroll-m": [{
2588
- "scroll-m": E()
2588
+ "scroll-m": C()
2589
2589
  }],
2590
2590
  /**
2591
2591
  * Scroll Margin X
2592
2592
  * @see https://tailwindcss.com/docs/scroll-margin
2593
2593
  */
2594
2594
  "scroll-mx": [{
2595
- "scroll-mx": E()
2595
+ "scroll-mx": C()
2596
2596
  }],
2597
2597
  /**
2598
2598
  * Scroll Margin Y
2599
2599
  * @see https://tailwindcss.com/docs/scroll-margin
2600
2600
  */
2601
2601
  "scroll-my": [{
2602
- "scroll-my": E()
2602
+ "scroll-my": C()
2603
2603
  }],
2604
2604
  /**
2605
2605
  * Scroll Margin Start
2606
2606
  * @see https://tailwindcss.com/docs/scroll-margin
2607
2607
  */
2608
2608
  "scroll-ms": [{
2609
- "scroll-ms": E()
2609
+ "scroll-ms": C()
2610
2610
  }],
2611
2611
  /**
2612
2612
  * Scroll Margin End
2613
2613
  * @see https://tailwindcss.com/docs/scroll-margin
2614
2614
  */
2615
2615
  "scroll-me": [{
2616
- "scroll-me": E()
2616
+ "scroll-me": C()
2617
2617
  }],
2618
2618
  /**
2619
2619
  * Scroll Margin Top
2620
2620
  * @see https://tailwindcss.com/docs/scroll-margin
2621
2621
  */
2622
2622
  "scroll-mt": [{
2623
- "scroll-mt": E()
2623
+ "scroll-mt": C()
2624
2624
  }],
2625
2625
  /**
2626
2626
  * Scroll Margin Right
2627
2627
  * @see https://tailwindcss.com/docs/scroll-margin
2628
2628
  */
2629
2629
  "scroll-mr": [{
2630
- "scroll-mr": E()
2630
+ "scroll-mr": C()
2631
2631
  }],
2632
2632
  /**
2633
2633
  * Scroll Margin Bottom
2634
2634
  * @see https://tailwindcss.com/docs/scroll-margin
2635
2635
  */
2636
2636
  "scroll-mb": [{
2637
- "scroll-mb": E()
2637
+ "scroll-mb": C()
2638
2638
  }],
2639
2639
  /**
2640
2640
  * Scroll Margin Left
2641
2641
  * @see https://tailwindcss.com/docs/scroll-margin
2642
2642
  */
2643
2643
  "scroll-ml": [{
2644
- "scroll-ml": E()
2644
+ "scroll-ml": C()
2645
2645
  }],
2646
2646
  /**
2647
2647
  * Scroll Padding
2648
2648
  * @see https://tailwindcss.com/docs/scroll-padding
2649
2649
  */
2650
2650
  "scroll-p": [{
2651
- "scroll-p": E()
2651
+ "scroll-p": C()
2652
2652
  }],
2653
2653
  /**
2654
2654
  * Scroll Padding X
2655
2655
  * @see https://tailwindcss.com/docs/scroll-padding
2656
2656
  */
2657
2657
  "scroll-px": [{
2658
- "scroll-px": E()
2658
+ "scroll-px": C()
2659
2659
  }],
2660
2660
  /**
2661
2661
  * Scroll Padding Y
2662
2662
  * @see https://tailwindcss.com/docs/scroll-padding
2663
2663
  */
2664
2664
  "scroll-py": [{
2665
- "scroll-py": E()
2665
+ "scroll-py": C()
2666
2666
  }],
2667
2667
  /**
2668
2668
  * Scroll Padding Start
2669
2669
  * @see https://tailwindcss.com/docs/scroll-padding
2670
2670
  */
2671
2671
  "scroll-ps": [{
2672
- "scroll-ps": E()
2672
+ "scroll-ps": C()
2673
2673
  }],
2674
2674
  /**
2675
2675
  * Scroll Padding End
2676
2676
  * @see https://tailwindcss.com/docs/scroll-padding
2677
2677
  */
2678
2678
  "scroll-pe": [{
2679
- "scroll-pe": E()
2679
+ "scroll-pe": C()
2680
2680
  }],
2681
2681
  /**
2682
2682
  * Scroll Padding Top
2683
2683
  * @see https://tailwindcss.com/docs/scroll-padding
2684
2684
  */
2685
2685
  "scroll-pt": [{
2686
- "scroll-pt": E()
2686
+ "scroll-pt": C()
2687
2687
  }],
2688
2688
  /**
2689
2689
  * Scroll Padding Right
2690
2690
  * @see https://tailwindcss.com/docs/scroll-padding
2691
2691
  */
2692
2692
  "scroll-pr": [{
2693
- "scroll-pr": E()
2693
+ "scroll-pr": C()
2694
2694
  }],
2695
2695
  /**
2696
2696
  * Scroll Padding Bottom
2697
2697
  * @see https://tailwindcss.com/docs/scroll-padding
2698
2698
  */
2699
2699
  "scroll-pb": [{
2700
- "scroll-pb": E()
2700
+ "scroll-pb": C()
2701
2701
  }],
2702
2702
  /**
2703
2703
  * Scroll Padding Left
2704
2704
  * @see https://tailwindcss.com/docs/scroll-padding
2705
2705
  */
2706
2706
  "scroll-pl": [{
2707
- "scroll-pl": E()
2707
+ "scroll-pl": C()
2708
2708
  }],
2709
2709
  /**
2710
2710
  * Scroll Snap Align
@@ -2864,11 +2864,11 @@ const X = (e) => {
2864
2864
  },
2865
2865
  orderSensitiveModifiers: ["before", "after", "placeholder", "file", "marker", "selection", "first-line", "first-letter", "backdrop", "*", "**"]
2866
2866
  };
2867
- }, Hs = /* @__PURE__ */ gs(Vs);
2867
+ }, js = /* @__PURE__ */ vs(Hs);
2868
2868
  function M(...e) {
2869
- return Hs(Qr(e));
2869
+ return js(Qr(e));
2870
2870
  }
2871
- function sf({
2871
+ function df({
2872
2872
  className: e,
2873
2873
  containerClassName: t,
2874
2874
  ...n
@@ -2886,7 +2886,7 @@ function sf({
2886
2886
  }
2887
2887
  );
2888
2888
  }
2889
- function lf({ className: e, ...t }) {
2889
+ function uf({ className: e, ...t }) {
2890
2890
  return /* @__PURE__ */ u(
2891
2891
  "div",
2892
2892
  {
@@ -2896,7 +2896,7 @@ function lf({ className: e, ...t }) {
2896
2896
  }
2897
2897
  );
2898
2898
  }
2899
- function cf({
2899
+ function ff({
2900
2900
  index: e,
2901
2901
  className: t,
2902
2902
  ...n
@@ -2919,8 +2919,8 @@ function cf({
2919
2919
  }
2920
2920
  );
2921
2921
  }
2922
- function df({ ...e }) {
2923
- return /* @__PURE__ */ u("div", { "data-slot": "input-otp-separator", role: "separator", ...e, children: /* @__PURE__ */ u(Ki, {}) });
2922
+ function pf({ ...e }) {
2923
+ return /* @__PURE__ */ u("div", { "data-slot": "input-otp-separator", role: "separator", ...e, children: /* @__PURE__ */ u(Yi, {}) });
2924
2924
  }
2925
2925
  function U(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
2926
2926
  return function(o) {
@@ -2952,7 +2952,7 @@ function so(...e) {
2952
2952
  function ee(...e) {
2953
2953
  return s.useCallback(so(...e), e);
2954
2954
  }
2955
- function js(e, t) {
2955
+ function Gs(e, t) {
2956
2956
  const n = s.createContext(t), r = (a) => {
2957
2957
  const { children: i, ...l } = a, d = s.useMemo(() => l, Object.values(l));
2958
2958
  return /* @__PURE__ */ u(n.Provider, { value: d, children: i });
@@ -2996,9 +2996,9 @@ function pt(e, t = []) {
2996
2996
  );
2997
2997
  };
2998
2998
  };
2999
- return o.scopeName = e, [r, Gs(o, ...t)];
2999
+ return o.scopeName = e, [r, Us(o, ...t)];
3000
3000
  }
3001
- function Gs(...e) {
3001
+ function Us(...e) {
3002
3002
  const t = e[0];
3003
3003
  if (e.length === 1) return t;
3004
3004
  const n = () => {
@@ -3017,12 +3017,12 @@ function Gs(...e) {
3017
3017
  return n.scopeName = t.scopeName, n;
3018
3018
  }
3019
3019
  var Oe = globalThis != null && globalThis.document ? s.useLayoutEffect : () => {
3020
- }, Us = s.useId || (() => {
3021
- }), Ks = 0;
3020
+ }, Ks = s.useId || (() => {
3021
+ }), Ys = 0;
3022
3022
  function Nt(e) {
3023
- const [t, n] = s.useState(Us());
3023
+ const [t, n] = s.useState(Ks());
3024
3024
  return Oe(() => {
3025
- n((r) => r ?? String(Ks++));
3025
+ n((r) => r ?? String(Ys++));
3026
3026
  }, [e]), e || (t ? `radix-${t}` : "");
3027
3027
  }
3028
3028
  function le(e) {
@@ -3040,7 +3040,7 @@ function Wn({
3040
3040
  onChange: n = () => {
3041
3041
  }
3042
3042
  }) {
3043
- const [r, o] = Ys({ defaultProp: t, onChange: n }), a = e !== void 0, i = a ? e : r, l = le(n), d = s.useCallback(
3043
+ const [r, o] = Xs({ defaultProp: t, onChange: n }), a = e !== void 0, i = a ? e : r, l = le(n), d = s.useCallback(
3044
3044
  (c) => {
3045
3045
  if (a) {
3046
3046
  const m = typeof c == "function" ? c(e) : c;
@@ -3052,7 +3052,7 @@ function Wn({
3052
3052
  );
3053
3053
  return [i, d];
3054
3054
  }
3055
- function Ys({
3055
+ function Xs({
3056
3056
  defaultProp: e,
3057
3057
  onChange: t
3058
3058
  }) {
@@ -3062,7 +3062,7 @@ function Ys({
3062
3062
  }, [r, o, a]), n;
3063
3063
  }
3064
3064
  var de = s.forwardRef((e, t) => {
3065
- const { children: n, ...r } = e, o = s.Children.toArray(n), a = o.find(Xs);
3065
+ const { children: n, ...r } = e, o = s.Children.toArray(n), a = o.find(qs);
3066
3066
  if (a) {
3067
3067
  const i = a.props.children, l = o.map((d) => d === a ? s.Children.count(i) > 1 ? s.Children.only(null) : s.isValidElement(i) ? i.props.children : null : d);
3068
3068
  return /* @__PURE__ */ u(Sn, { ...r, ref: t, children: s.isValidElement(i) ? s.cloneElement(i, void 0, l) : null });
@@ -3073,17 +3073,17 @@ de.displayName = "Slot";
3073
3073
  var Sn = s.forwardRef((e, t) => {
3074
3074
  const { children: n, ...r } = e;
3075
3075
  if (s.isValidElement(n)) {
3076
- const o = Zs(n), a = qs(r, n.props);
3076
+ const o = Qs(n), a = Zs(r, n.props);
3077
3077
  return n.type !== s.Fragment && (a.ref = t ? so(t, o) : o), s.cloneElement(n, a);
3078
3078
  }
3079
3079
  return s.Children.count(n) > 1 ? s.Children.only(null) : null;
3080
3080
  });
3081
3081
  Sn.displayName = "SlotClone";
3082
3082
  var lo = ({ children: e }) => /* @__PURE__ */ u(Ae, { children: e });
3083
- function Xs(e) {
3083
+ function qs(e) {
3084
3084
  return s.isValidElement(e) && e.type === lo;
3085
3085
  }
3086
- function qs(e, t) {
3086
+ function Zs(e, t) {
3087
3087
  const n = { ...t };
3088
3088
  for (const r in t) {
3089
3089
  const o = e[r], a = t[r];
@@ -3093,12 +3093,12 @@ function qs(e, t) {
3093
3093
  }
3094
3094
  return { ...e, ...n };
3095
3095
  }
3096
- function Zs(e) {
3096
+ function Qs(e) {
3097
3097
  var r, o;
3098
3098
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
3099
3099
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
3100
3100
  }
3101
- var Qs = [
3101
+ var Js = [
3102
3102
  "a",
3103
3103
  "button",
3104
3104
  "div",
@@ -3115,7 +3115,7 @@ var Qs = [
3115
3115
  "span",
3116
3116
  "svg",
3117
3117
  "ul"
3118
- ], Y = Qs.reduce((e, t) => {
3118
+ ], K = Js.reduce((e, t) => {
3119
3119
  const n = s.forwardRef((r, o) => {
3120
3120
  const { asChild: a, ...i } = r, l = a ? de : t;
3121
3121
  return typeof window < "u" && (window[Symbol.for("radix-ui")] = !0), /* @__PURE__ */ u(l, { ...i, ref: o });
@@ -3125,7 +3125,7 @@ var Qs = [
3125
3125
  function co(e, t) {
3126
3126
  e && Ln.flushSync(() => e.dispatchEvent(t));
3127
3127
  }
3128
- function Js(e, t = globalThis == null ? void 0 : globalThis.document) {
3128
+ function el(e, t = globalThis == null ? void 0 : globalThis.document) {
3129
3129
  const n = le(e);
3130
3130
  s.useEffect(() => {
3131
3131
  const r = (o) => {
@@ -3134,7 +3134,7 @@ function Js(e, t = globalThis == null ? void 0 : globalThis.document) {
3134
3134
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
3135
3135
  }, [n, t]);
3136
3136
  }
3137
- var el = "DismissableLayer", Tn = "dismissableLayer.update", tl = "dismissableLayer.pointerDownOutside", nl = "dismissableLayer.focusOutside", gr, uo = s.createContext({
3137
+ var tl = "DismissableLayer", Tn = "dismissableLayer.update", nl = "dismissableLayer.pointerDownOutside", rl = "dismissableLayer.focusOutside", gr, uo = s.createContext({
3138
3138
  layers: /* @__PURE__ */ new Set(),
3139
3139
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3140
3140
  branches: /* @__PURE__ */ new Set()
@@ -3148,14 +3148,14 @@ var el = "DismissableLayer", Tn = "dismissableLayer.update", tl = "dismissableLa
3148
3148
  onInteractOutside: i,
3149
3149
  onDismiss: l,
3150
3150
  ...d
3151
- } = e, c = s.useContext(uo), [f, m] = s.useState(null), v = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = s.useState({}), y = ee(t, (T) => m(T)), p = Array.from(c.layers), [h] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), b = p.indexOf(h), w = f ? p.indexOf(f) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, C = w >= b, S = ol((T) => {
3151
+ } = e, c = s.useContext(uo), [f, m] = s.useState(null), v = (f == null ? void 0 : f.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = s.useState({}), y = ee(t, (T) => m(T)), p = Array.from(c.layers), [h] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), b = p.indexOf(h), w = f ? p.indexOf(f) : -1, x = c.layersWithOutsidePointerEventsDisabled.size > 0, E = w >= b, S = al((T) => {
3152
3152
  const $ = T.target, D = [...c.branches].some((z) => z.contains($));
3153
- !C || D || (o == null || o(T), i == null || i(T), T.defaultPrevented || l == null || l());
3154
- }, v), E = al((T) => {
3153
+ !E || D || (o == null || o(T), i == null || i(T), T.defaultPrevented || l == null || l());
3154
+ }, v), C = il((T) => {
3155
3155
  const $ = T.target;
3156
3156
  [...c.branches].some((z) => z.contains($)) || (a == null || a(T), i == null || i(T), T.defaultPrevented || l == null || l());
3157
3157
  }, v);
3158
- return Js((T) => {
3158
+ return el((T) => {
3159
3159
  w === c.layers.size - 1 && (r == null || r(T), !T.defaultPrevented && l && (T.preventDefault(), l()));
3160
3160
  }, v), s.useEffect(() => {
3161
3161
  if (f)
@@ -3168,16 +3168,16 @@ var el = "DismissableLayer", Tn = "dismissableLayer.update", tl = "dismissableLa
3168
3168
  const T = () => g({});
3169
3169
  return document.addEventListener(Tn, T), () => document.removeEventListener(Tn, T);
3170
3170
  }, []), /* @__PURE__ */ u(
3171
- Y.div,
3171
+ K.div,
3172
3172
  {
3173
3173
  ...d,
3174
3174
  ref: y,
3175
3175
  style: {
3176
- pointerEvents: x ? C ? "auto" : "none" : void 0,
3176
+ pointerEvents: x ? E ? "auto" : "none" : void 0,
3177
3177
  ...e.style
3178
3178
  },
3179
- onFocusCapture: U(e.onFocusCapture, E.onFocusCapture),
3180
- onBlurCapture: U(e.onBlurCapture, E.onBlurCapture),
3179
+ onFocusCapture: U(e.onFocusCapture, C.onFocusCapture),
3180
+ onBlurCapture: U(e.onBlurCapture, C.onBlurCapture),
3181
3181
  onPointerDownCapture: U(
3182
3182
  e.onPointerDownCapture,
3183
3183
  S.onPointerDownCapture
@@ -3186,8 +3186,8 @@ var el = "DismissableLayer", Tn = "dismissableLayer.update", tl = "dismissableLa
3186
3186
  );
3187
3187
  }
3188
3188
  );
3189
- zt.displayName = el;
3190
- var rl = "DismissableLayerBranch", fo = s.forwardRef((e, t) => {
3189
+ zt.displayName = tl;
3190
+ var ol = "DismissableLayerBranch", fo = s.forwardRef((e, t) => {
3191
3191
  const n = s.useContext(uo), r = s.useRef(null), o = ee(t, r);
3192
3192
  return s.useEffect(() => {
3193
3193
  const a = r.current;
@@ -3195,10 +3195,10 @@ var rl = "DismissableLayerBranch", fo = s.forwardRef((e, t) => {
3195
3195
  return n.branches.add(a), () => {
3196
3196
  n.branches.delete(a);
3197
3197
  };
3198
- }, [n.branches]), /* @__PURE__ */ u(Y.div, { ...e, ref: o });
3198
+ }, [n.branches]), /* @__PURE__ */ u(K.div, { ...e, ref: o });
3199
3199
  });
3200
- fo.displayName = rl;
3201
- function ol(e, t = globalThis == null ? void 0 : globalThis.document) {
3200
+ fo.displayName = ol;
3201
+ function al(e, t = globalThis == null ? void 0 : globalThis.document) {
3202
3202
  const n = le(e), r = s.useRef(!1), o = s.useRef(() => {
3203
3203
  });
3204
3204
  return s.useEffect(() => {
@@ -3206,7 +3206,7 @@ function ol(e, t = globalThis == null ? void 0 : globalThis.document) {
3206
3206
  if (l.target && !r.current) {
3207
3207
  let d = function() {
3208
3208
  po(
3209
- tl,
3209
+ nl,
3210
3210
  n,
3211
3211
  c,
3212
3212
  { discrete: !0 }
@@ -3228,11 +3228,11 @@ function ol(e, t = globalThis == null ? void 0 : globalThis.document) {
3228
3228
  onPointerDownCapture: () => r.current = !0
3229
3229
  };
3230
3230
  }
3231
- function al(e, t = globalThis == null ? void 0 : globalThis.document) {
3231
+ function il(e, t = globalThis == null ? void 0 : globalThis.document) {
3232
3232
  const n = le(e), r = s.useRef(!1);
3233
3233
  return s.useEffect(() => {
3234
3234
  const o = (a) => {
3235
- a.target && !r.current && po(nl, n, { originalEvent: a }, {
3235
+ a.target && !r.current && po(rl, n, { originalEvent: a }, {
3236
3236
  discrete: !1
3237
3237
  });
3238
3238
  };
@@ -3250,7 +3250,7 @@ function po(e, t, n, { discrete: r }) {
3250
3250
  const o = n.originalEvent.target, a = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
3251
3251
  t && o.addEventListener(e, t, { once: !0 }), r ? co(o, a) : o.dispatchEvent(a);
3252
3252
  }
3253
- var il = zt, sl = fo, sn = "focusScope.autoFocusOnMount", ln = "focusScope.autoFocusOnUnmount", br = { bubbles: !1, cancelable: !0 }, ll = "FocusScope", mo = s.forwardRef((e, t) => {
3253
+ var sl = zt, ll = fo, sn = "focusScope.autoFocusOnMount", ln = "focusScope.autoFocusOnUnmount", br = { bubbles: !1, cancelable: !0 }, cl = "FocusScope", mo = s.forwardRef((e, t) => {
3254
3254
  const {
3255
3255
  loop: n = !1,
3256
3256
  trapped: r = !1,
@@ -3270,12 +3270,12 @@ var il = zt, sl = fo, sn = "focusScope.autoFocusOnMount", ln = "focusScope.autoF
3270
3270
  if (r) {
3271
3271
  let p = function(x) {
3272
3272
  if (g.paused || !l) return;
3273
- const C = x.target;
3274
- l.contains(C) ? m.current = C : Pe(m.current, { select: !0 });
3273
+ const E = x.target;
3274
+ l.contains(E) ? m.current = E : Pe(m.current, { select: !0 });
3275
3275
  }, h = function(x) {
3276
3276
  if (g.paused || !l) return;
3277
- const C = x.relatedTarget;
3278
- C !== null && (l.contains(C) || Pe(m.current, { select: !0 }));
3277
+ const E = x.relatedTarget;
3278
+ E !== null && (l.contains(E) || Pe(m.current, { select: !0 }));
3279
3279
  }, b = function(x) {
3280
3280
  if (document.activeElement === document.body)
3281
3281
  for (const S of x)
@@ -3293,7 +3293,7 @@ var il = zt, sl = fo, sn = "focusScope.autoFocusOnMount", ln = "focusScope.autoF
3293
3293
  const p = document.activeElement;
3294
3294
  if (!l.contains(p)) {
3295
3295
  const b = new CustomEvent(sn, br);
3296
- l.addEventListener(sn, c), l.dispatchEvent(b), b.defaultPrevented || (cl(ml(ho(l)), { select: !0 }), document.activeElement === p && Pe(l));
3296
+ l.addEventListener(sn, c), l.dispatchEvent(b), b.defaultPrevented || (dl(hl(ho(l)), { select: !0 }), document.activeElement === p && Pe(l));
3297
3297
  }
3298
3298
  return () => {
3299
3299
  l.removeEventListener(sn, c), setTimeout(() => {
@@ -3308,21 +3308,21 @@ var il = zt, sl = fo, sn = "focusScope.autoFocusOnMount", ln = "focusScope.autoF
3308
3308
  if (!n && !r || g.paused) return;
3309
3309
  const h = p.key === "Tab" && !p.altKey && !p.ctrlKey && !p.metaKey, b = document.activeElement;
3310
3310
  if (h && b) {
3311
- const w = p.currentTarget, [x, C] = dl(w);
3312
- x && C ? !p.shiftKey && b === C ? (p.preventDefault(), n && Pe(x, { select: !0 })) : p.shiftKey && b === x && (p.preventDefault(), n && Pe(C, { select: !0 })) : b === w && p.preventDefault();
3311
+ const w = p.currentTarget, [x, E] = ul(w);
3312
+ x && E ? !p.shiftKey && b === E ? (p.preventDefault(), n && Pe(x, { select: !0 })) : p.shiftKey && b === x && (p.preventDefault(), n && Pe(E, { select: !0 })) : b === w && p.preventDefault();
3313
3313
  }
3314
3314
  },
3315
3315
  [n, r, g.paused]
3316
3316
  );
3317
- return /* @__PURE__ */ u(Y.div, { tabIndex: -1, ...i, ref: v, onKeyDown: y });
3317
+ return /* @__PURE__ */ u(K.div, { tabIndex: -1, ...i, ref: v, onKeyDown: y });
3318
3318
  });
3319
- mo.displayName = ll;
3320
- function cl(e, { select: t = !1 } = {}) {
3319
+ mo.displayName = cl;
3320
+ function dl(e, { select: t = !1 } = {}) {
3321
3321
  const n = document.activeElement;
3322
3322
  for (const r of e)
3323
3323
  if (Pe(r, { select: t }), document.activeElement !== n) return;
3324
3324
  }
3325
- function dl(e) {
3325
+ function ul(e) {
3326
3326
  const t = ho(e), n = yr(t, e), r = yr(t.reverse(), e);
3327
3327
  return [n, r];
3328
3328
  }
@@ -3338,9 +3338,9 @@ function ho(e) {
3338
3338
  }
3339
3339
  function yr(e, t) {
3340
3340
  for (const n of e)
3341
- if (!ul(n, { upTo: t })) return n;
3341
+ if (!fl(n, { upTo: t })) return n;
3342
3342
  }
3343
- function ul(e, { upTo: t }) {
3343
+ function fl(e, { upTo: t }) {
3344
3344
  if (getComputedStyle(e).visibility === "hidden") return !0;
3345
3345
  for (; e; ) {
3346
3346
  if (t !== void 0 && e === t) return !1;
@@ -3349,17 +3349,17 @@ function ul(e, { upTo: t }) {
3349
3349
  }
3350
3350
  return !1;
3351
3351
  }
3352
- function fl(e) {
3352
+ function pl(e) {
3353
3353
  return e instanceof HTMLInputElement && "select" in e;
3354
3354
  }
3355
3355
  function Pe(e, { select: t = !1 } = {}) {
3356
3356
  if (e && e.focus) {
3357
3357
  const n = document.activeElement;
3358
- e.focus({ preventScroll: !0 }), e !== n && fl(e) && t && e.select();
3358
+ e.focus({ preventScroll: !0 }), e !== n && pl(e) && t && e.select();
3359
3359
  }
3360
3360
  }
3361
- var wr = pl();
3362
- function pl() {
3361
+ var wr = ml();
3362
+ function ml() {
3363
3363
  let e = [];
3364
3364
  return {
3365
3365
  add(t) {
@@ -3376,27 +3376,27 @@ function xr(e, t) {
3376
3376
  const n = [...e], r = n.indexOf(t);
3377
3377
  return r !== -1 && n.splice(r, 1), n;
3378
3378
  }
3379
- function ml(e) {
3379
+ function hl(e) {
3380
3380
  return e.filter((t) => t.tagName !== "A");
3381
3381
  }
3382
- var hl = "Portal", Wt = s.forwardRef((e, t) => {
3382
+ var gl = "Portal", Wt = s.forwardRef((e, t) => {
3383
3383
  var l;
3384
3384
  const { container: n, ...r } = e, [o, a] = s.useState(!1);
3385
3385
  Oe(() => a(!0), []);
3386
3386
  const i = n || o && ((l = globalThis == null ? void 0 : globalThis.document) == null ? void 0 : l.body);
3387
- return i ? gi.createPortal(/* @__PURE__ */ u(Y.div, { ...r, ref: t }), i) : null;
3387
+ return i ? vi.createPortal(/* @__PURE__ */ u(K.div, { ...r, ref: t }), i) : null;
3388
3388
  });
3389
- Wt.displayName = hl;
3390
- function gl(e, t) {
3389
+ Wt.displayName = gl;
3390
+ function vl(e, t) {
3391
3391
  return s.useReducer((n, r) => t[n][r] ?? n, e);
3392
3392
  }
3393
3393
  var He = (e) => {
3394
- const { present: t, children: n } = e, r = vl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : s.Children.only(n), a = ee(r.ref, bl(o));
3394
+ const { present: t, children: n } = e, r = bl(t), o = typeof n == "function" ? n({ present: r.isPresent }) : s.Children.only(n), a = ee(r.ref, yl(o));
3395
3395
  return typeof n == "function" || r.isPresent ? s.cloneElement(o, { ref: a }) : null;
3396
3396
  };
3397
3397
  He.displayName = "Presence";
3398
- function vl(e) {
3399
- const [t, n] = s.useState(), r = s.useRef({}), o = s.useRef(e), a = s.useRef("none"), i = e ? "mounted" : "unmounted", [l, d] = gl(i, {
3398
+ function bl(e) {
3399
+ const [t, n] = s.useState(), r = s.useRef({}), o = s.useRef(e), a = s.useRef("none"), i = e ? "mounted" : "unmounted", [l, d] = vl(i, {
3400
3400
  mounted: {
3401
3401
  UNMOUNT: "unmounted",
3402
3402
  ANIMATION_OUT: "unmountSuspended"
@@ -3447,21 +3447,21 @@ function vl(e) {
3447
3447
  function wt(e) {
3448
3448
  return (e == null ? void 0 : e.animationName) || "none";
3449
3449
  }
3450
- function bl(e) {
3450
+ function yl(e) {
3451
3451
  var r, o;
3452
3452
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
3453
3453
  return n ? e.ref : (t = (o = Object.getOwnPropertyDescriptor(e, "ref")) == null ? void 0 : o.get, n = t && "isReactWarning" in t && t.isReactWarning, n ? e.props.ref : e.props.ref || e.ref);
3454
3454
  }
3455
3455
  var cn = 0;
3456
- function yl() {
3456
+ function wl() {
3457
3457
  s.useEffect(() => {
3458
3458
  const e = document.querySelectorAll("[data-radix-focus-guard]");
3459
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Cr()), document.body.insertAdjacentElement("beforeend", e[1] ?? Cr()), cn++, () => {
3459
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Er()), document.body.insertAdjacentElement("beforeend", e[1] ?? Er()), cn++, () => {
3460
3460
  cn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), cn--;
3461
3461
  };
3462
3462
  }, []);
3463
3463
  }
3464
- function Cr() {
3464
+ function Er() {
3465
3465
  const e = document.createElement("span");
3466
3466
  return e.setAttribute("data-radix-focus-guard", ""), e.tabIndex = 0, e.style.outline = "none", e.style.opacity = "0", e.style.position = "fixed", e.style.pointerEvents = "none", e;
3467
3467
  }
@@ -3482,16 +3482,16 @@ function go(e, t) {
3482
3482
  t.indexOf(r[o]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[o]) && (n[r[o]] = e[r[o]]);
3483
3483
  return n;
3484
3484
  }
3485
- function wl(e, t, n) {
3485
+ function xl(e, t, n) {
3486
3486
  if (n || arguments.length === 2) for (var r = 0, o = t.length, a; r < o; r++)
3487
3487
  (a || !(r in t)) && (a || (a = Array.prototype.slice.call(t, 0, r)), a[r] = t[r]);
3488
3488
  return e.concat(a || Array.prototype.slice.call(t));
3489
3489
  }
3490
- var Pt = "right-scroll-bar-position", At = "width-before-scroll-bar", xl = "with-scroll-bars-hidden", Cl = "--removed-body-scroll-bar-size";
3490
+ var Pt = "right-scroll-bar-position", At = "width-before-scroll-bar", El = "with-scroll-bars-hidden", Cl = "--removed-body-scroll-bar-size";
3491
3491
  function dn(e, t) {
3492
3492
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
3493
3493
  }
3494
- function El(e, t) {
3494
+ function Sl(e, t) {
3495
3495
  var n = In(function() {
3496
3496
  return {
3497
3497
  // value
@@ -3512,15 +3512,15 @@ function El(e, t) {
3512
3512
  })[0];
3513
3513
  return n.callback = t, n.facade;
3514
3514
  }
3515
- var Sl = typeof window < "u" ? s.useLayoutEffect : s.useEffect, Er = /* @__PURE__ */ new WeakMap();
3516
- function Tl(e, t) {
3517
- var n = El(null, function(r) {
3515
+ var Tl = typeof window < "u" ? s.useLayoutEffect : s.useEffect, Cr = /* @__PURE__ */ new WeakMap();
3516
+ function Rl(e, t) {
3517
+ var n = Sl(null, function(r) {
3518
3518
  return e.forEach(function(o) {
3519
3519
  return dn(o, r);
3520
3520
  });
3521
3521
  });
3522
- return Sl(function() {
3523
- var r = Er.get(n);
3522
+ return Tl(function() {
3523
+ var r = Cr.get(n);
3524
3524
  if (r) {
3525
3525
  var o = new Set(r), a = new Set(e), i = n.current;
3526
3526
  o.forEach(function(l) {
@@ -3529,14 +3529,14 @@ function Tl(e, t) {
3529
3529
  o.has(l) || dn(l, i);
3530
3530
  });
3531
3531
  }
3532
- Er.set(n, e);
3532
+ Cr.set(n, e);
3533
3533
  }, [e]), n;
3534
3534
  }
3535
- function Rl(e) {
3535
+ function Nl(e) {
3536
3536
  return e;
3537
3537
  }
3538
- function Nl(e, t) {
3539
- t === void 0 && (t = Rl);
3538
+ function Pl(e, t) {
3539
+ t === void 0 && (t = Nl);
3540
3540
  var n = [], r = !1, o = {
3541
3541
  read: function() {
3542
3542
  if (r)
@@ -3590,9 +3590,9 @@ function Nl(e, t) {
3590
3590
  };
3591
3591
  return o;
3592
3592
  }
3593
- function Pl(e) {
3593
+ function Al(e) {
3594
3594
  e === void 0 && (e = {});
3595
- var t = Nl(null);
3595
+ var t = Pl(null);
3596
3596
  return t.options = ge({ async: !0, ssr: !1 }, e), t;
3597
3597
  }
3598
3598
  var vo = function(e) {
@@ -3605,21 +3605,21 @@ var vo = function(e) {
3605
3605
  return s.createElement(r, ge({}, n));
3606
3606
  };
3607
3607
  vo.isSideCarExport = !0;
3608
- function Al(e, t) {
3608
+ function Ol(e, t) {
3609
3609
  return e.useMedium(t), vo;
3610
3610
  }
3611
- var bo = Pl(), un = function() {
3611
+ var bo = Al(), un = function() {
3612
3612
  }, Bt = s.forwardRef(function(e, t) {
3613
3613
  var n = s.useRef(null), r = s.useState({
3614
3614
  onScrollCapture: un,
3615
3615
  onWheelCapture: un,
3616
3616
  onTouchMoveCapture: un
3617
- }), o = r[0], a = r[1], i = e.forwardProps, l = e.children, d = e.className, c = e.removeScrollBar, f = e.enabled, m = e.shards, v = e.sideCar, g = e.noIsolation, y = e.inert, p = e.allowPinchZoom, h = e.as, b = h === void 0 ? "div" : h, w = e.gapMode, x = go(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), C = v, S = Tl([n, t]), E = ge(ge({}, x), o);
3617
+ }), o = r[0], a = r[1], i = e.forwardProps, l = e.children, d = e.className, c = e.removeScrollBar, f = e.enabled, m = e.shards, v = e.sideCar, g = e.noIsolation, y = e.inert, p = e.allowPinchZoom, h = e.as, b = h === void 0 ? "div" : h, w = e.gapMode, x = go(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), E = v, S = Rl([n, t]), C = ge(ge({}, x), o);
3618
3618
  return s.createElement(
3619
3619
  s.Fragment,
3620
3620
  null,
3621
- f && s.createElement(C, { sideCar: bo, removeScrollBar: c, shards: m, noIsolation: g, inert: y, setCallbacks: a, allowPinchZoom: !!p, lockRef: n, gapMode: w }),
3622
- i ? s.cloneElement(s.Children.only(l), ge(ge({}, E), { ref: S })) : s.createElement(b, ge({}, E, { className: d, ref: S }), l)
3621
+ f && s.createElement(E, { sideCar: bo, removeScrollBar: c, shards: m, noIsolation: g, inert: y, setCallbacks: a, allowPinchZoom: !!p, lockRef: n, gapMode: w }),
3622
+ i ? s.cloneElement(s.Children.only(l), ge(ge({}, C), { ref: S })) : s.createElement(b, ge({}, C, { className: d, ref: S }), l)
3623
3623
  );
3624
3624
  });
3625
3625
  Bt.defaultProps = {
@@ -3631,37 +3631,37 @@ Bt.classNames = {
3631
3631
  fullWidth: At,
3632
3632
  zeroRight: Pt
3633
3633
  };
3634
- var Ol = function() {
3634
+ var Ml = function() {
3635
3635
  if (typeof __webpack_nonce__ < "u")
3636
3636
  return __webpack_nonce__;
3637
3637
  };
3638
- function Ml() {
3638
+ function kl() {
3639
3639
  if (!document)
3640
3640
  return null;
3641
3641
  var e = document.createElement("style");
3642
3642
  e.type = "text/css";
3643
- var t = Ol();
3643
+ var t = Ml();
3644
3644
  return t && e.setAttribute("nonce", t), e;
3645
3645
  }
3646
- function kl(e, t) {
3646
+ function Dl(e, t) {
3647
3647
  e.styleSheet ? e.styleSheet.cssText = t : e.appendChild(document.createTextNode(t));
3648
3648
  }
3649
- function Dl(e) {
3649
+ function _l(e) {
3650
3650
  var t = document.head || document.getElementsByTagName("head")[0];
3651
3651
  t.appendChild(e);
3652
3652
  }
3653
- var _l = function() {
3653
+ var Il = function() {
3654
3654
  var e = 0, t = null;
3655
3655
  return {
3656
3656
  add: function(n) {
3657
- e == 0 && (t = Ml()) && (kl(t, n), Dl(t)), e++;
3657
+ e == 0 && (t = kl()) && (Dl(t, n), _l(t)), e++;
3658
3658
  },
3659
3659
  remove: function() {
3660
3660
  e--, !e && t && (t.parentNode && t.parentNode.removeChild(t), t = null);
3661
3661
  }
3662
3662
  };
3663
- }, Il = function() {
3664
- var e = _l();
3663
+ }, Ll = function() {
3664
+ var e = Il();
3665
3665
  return function(t, n) {
3666
3666
  s.useEffect(function() {
3667
3667
  return e.add(t), function() {
@@ -3670,35 +3670,35 @@ var _l = function() {
3670
3670
  }, [t && n]);
3671
3671
  };
3672
3672
  }, yo = function() {
3673
- var e = Il(), t = function(n) {
3673
+ var e = Ll(), t = function(n) {
3674
3674
  var r = n.styles, o = n.dynamic;
3675
3675
  return e(r, o), null;
3676
3676
  };
3677
3677
  return t;
3678
- }, Ll = {
3678
+ }, Fl = {
3679
3679
  left: 0,
3680
3680
  top: 0,
3681
3681
  right: 0,
3682
3682
  gap: 0
3683
3683
  }, fn = function(e) {
3684
3684
  return parseInt(e || "", 10) || 0;
3685
- }, Fl = function(e) {
3685
+ }, $l = function(e) {
3686
3686
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
3687
3687
  return [fn(n), fn(r), fn(o)];
3688
- }, $l = function(e) {
3688
+ }, zl = function(e) {
3689
3689
  if (e === void 0 && (e = "margin"), typeof window > "u")
3690
- return Ll;
3691
- var t = Fl(e), n = document.documentElement.clientWidth, r = window.innerWidth;
3690
+ return Fl;
3691
+ var t = $l(e), n = document.documentElement.clientWidth, r = window.innerWidth;
3692
3692
  return {
3693
3693
  left: t[0],
3694
3694
  top: t[1],
3695
3695
  right: t[2],
3696
3696
  gap: Math.max(0, r - n + t[2] - t[0])
3697
3697
  };
3698
- }, zl = yo(), Xe = "data-scroll-locked", Wl = function(e, t, n, r) {
3698
+ }, Wl = yo(), Xe = "data-scroll-locked", Bl = function(e, t, n, r) {
3699
3699
  var o = e.left, a = e.top, i = e.right, l = e.gap;
3700
3700
  return n === void 0 && (n = "margin"), `
3701
- .`.concat(xl, ` {
3701
+ .`.concat(El, ` {
3702
3702
  overflow: hidden `).concat(r, `;
3703
3703
  padding-right: `).concat(l, "px ").concat(r, `;
3704
3704
  }
@@ -3742,20 +3742,20 @@ var _l = function() {
3742
3742
  }, Sr = function() {
3743
3743
  var e = parseInt(document.body.getAttribute(Xe) || "0", 10);
3744
3744
  return isFinite(e) ? e : 0;
3745
- }, Bl = function() {
3745
+ }, Vl = function() {
3746
3746
  s.useEffect(function() {
3747
3747
  return document.body.setAttribute(Xe, (Sr() + 1).toString()), function() {
3748
3748
  var e = Sr() - 1;
3749
3749
  e <= 0 ? document.body.removeAttribute(Xe) : document.body.setAttribute(Xe, e.toString());
3750
3750
  };
3751
3751
  }, []);
3752
- }, Vl = function(e) {
3752
+ }, Hl = function(e) {
3753
3753
  var t = e.noRelative, n = e.noImportant, r = e.gapMode, o = r === void 0 ? "margin" : r;
3754
- Bl();
3754
+ Vl();
3755
3755
  var a = s.useMemo(function() {
3756
- return $l(o);
3756
+ return zl(o);
3757
3757
  }, [o]);
3758
- return s.createElement(zl, { styles: Wl(a, !t, o, n ? "" : "!important") });
3758
+ return s.createElement(Wl, { styles: Bl(a, !t, o, n ? "" : "!important") });
3759
3759
  }, Rn = !1;
3760
3760
  if (typeof window < "u")
3761
3761
  try {
@@ -3768,7 +3768,7 @@ if (typeof window < "u")
3768
3768
  } catch {
3769
3769
  Rn = !1;
3770
3770
  }
3771
- var Ue = Rn ? { passive: !1 } : !1, Hl = function(e) {
3771
+ var Ue = Rn ? { passive: !1 } : !1, jl = function(e) {
3772
3772
  return e.tagName === "TEXTAREA";
3773
3773
  }, wo = function(e, t) {
3774
3774
  if (!(e instanceof Element))
@@ -3777,11 +3777,11 @@ var Ue = Rn ? { passive: !1 } : !1, Hl = function(e) {
3777
3777
  return (
3778
3778
  // not-not-scrollable
3779
3779
  n[t] !== "hidden" && // contains scroll inside self
3780
- !(n.overflowY === n.overflowX && !Hl(e) && n[t] === "visible")
3780
+ !(n.overflowY === n.overflowX && !jl(e) && n[t] === "visible")
3781
3781
  );
3782
- }, jl = function(e) {
3783
- return wo(e, "overflowY");
3784
3782
  }, Gl = function(e) {
3783
+ return wo(e, "overflowY");
3784
+ }, Ul = function(e) {
3785
3785
  return wo(e, "overflowX");
3786
3786
  }, Tr = function(e, t) {
3787
3787
  var n = t.ownerDocument, r = t;
@@ -3789,21 +3789,21 @@ var Ue = Rn ? { passive: !1 } : !1, Hl = function(e) {
3789
3789
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
3790
3790
  var o = xo(e, r);
3791
3791
  if (o) {
3792
- var a = Co(e, r), i = a[1], l = a[2];
3792
+ var a = Eo(e, r), i = a[1], l = a[2];
3793
3793
  if (i > l)
3794
3794
  return !0;
3795
3795
  }
3796
3796
  r = r.parentNode;
3797
3797
  } while (r && r !== n.body);
3798
3798
  return !1;
3799
- }, Ul = function(e) {
3799
+ }, Kl = function(e) {
3800
3800
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
3801
3801
  return [
3802
3802
  t,
3803
3803
  n,
3804
3804
  r
3805
3805
  ];
3806
- }, Kl = function(e) {
3806
+ }, Yl = function(e) {
3807
3807
  var t = e.scrollLeft, n = e.scrollWidth, r = e.clientWidth;
3808
3808
  return [
3809
3809
  t,
@@ -3811,15 +3811,15 @@ var Ue = Rn ? { passive: !1 } : !1, Hl = function(e) {
3811
3811
  r
3812
3812
  ];
3813
3813
  }, xo = function(e, t) {
3814
- return e === "v" ? jl(t) : Gl(t);
3815
- }, Co = function(e, t) {
3816
- return e === "v" ? Ul(t) : Kl(t);
3817
- }, Yl = function(e, t) {
3814
+ return e === "v" ? Gl(t) : Ul(t);
3815
+ }, Eo = function(e, t) {
3816
+ return e === "v" ? Kl(t) : Yl(t);
3817
+ }, Xl = function(e, t) {
3818
3818
  return e === "h" && t === "rtl" ? -1 : 1;
3819
- }, Xl = function(e, t, n, r, o) {
3820
- var a = Yl(e, window.getComputedStyle(t).direction), i = a * r, l = n.target, d = t.contains(l), c = !1, f = i > 0, m = 0, v = 0;
3819
+ }, ql = function(e, t, n, r, o) {
3820
+ var a = Xl(e, window.getComputedStyle(t).direction), i = a * r, l = n.target, d = t.contains(l), c = !1, f = i > 0, m = 0, v = 0;
3821
3821
  do {
3822
- var g = Co(e, l), y = g[0], p = g[1], h = g[2], b = p - h - a * y;
3822
+ var g = Eo(e, l), y = g[0], p = g[1], h = g[2], b = p - h - a * y;
3823
3823
  (y || b) && xo(e, l) && (m += b, v += y), l instanceof ShadowRoot ? l = l.host : l = l.parentNode;
3824
3824
  } while (
3825
3825
  // portaled content
@@ -3827,28 +3827,28 @@ var Ue = Rn ? { passive: !1 } : !1, Hl = function(e) {
3827
3827
  d && (t.contains(l) || t === l)
3828
3828
  );
3829
3829
  return (f && Math.abs(m) < 1 || !f && Math.abs(v) < 1) && (c = !0), c;
3830
- }, Ct = function(e) {
3830
+ }, Et = function(e) {
3831
3831
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
3832
3832
  }, Rr = function(e) {
3833
3833
  return [e.deltaX, e.deltaY];
3834
3834
  }, Nr = function(e) {
3835
3835
  return e && "current" in e ? e.current : e;
3836
- }, ql = function(e, t) {
3836
+ }, Zl = function(e, t) {
3837
3837
  return e[0] === t[0] && e[1] === t[1];
3838
- }, Zl = function(e) {
3838
+ }, Ql = function(e) {
3839
3839
  return `
3840
3840
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
3841
3841
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
3842
3842
  `);
3843
- }, Ql = 0, Ke = [];
3844
- function Jl(e) {
3845
- var t = s.useRef([]), n = s.useRef([0, 0]), r = s.useRef(), o = s.useState(Ql++)[0], a = s.useState(yo)[0], i = s.useRef(e);
3843
+ }, Jl = 0, Ke = [];
3844
+ function ec(e) {
3845
+ var t = s.useRef([]), n = s.useRef([0, 0]), r = s.useRef(), o = s.useState(Jl++)[0], a = s.useState(yo)[0], i = s.useRef(e);
3846
3846
  s.useEffect(function() {
3847
3847
  i.current = e;
3848
3848
  }, [e]), s.useEffect(function() {
3849
3849
  if (e.inert) {
3850
3850
  document.body.classList.add("block-interactivity-".concat(o));
3851
- var p = wl([e.lockRef.current], (e.shards || []).map(Nr), !0).filter(Boolean);
3851
+ var p = xl([e.lockRef.current], (e.shards || []).map(Nr), !0).filter(Boolean);
3852
3852
  return p.forEach(function(h) {
3853
3853
  return h.classList.add("allow-interactivity-".concat(o));
3854
3854
  }), function() {
@@ -3861,23 +3861,23 @@ function Jl(e) {
3861
3861
  var l = s.useCallback(function(p, h) {
3862
3862
  if ("touches" in p && p.touches.length === 2 || p.type === "wheel" && p.ctrlKey)
3863
3863
  return !i.current.allowPinchZoom;
3864
- var b = Ct(p), w = n.current, x = "deltaX" in p ? p.deltaX : w[0] - b[0], C = "deltaY" in p ? p.deltaY : w[1] - b[1], S, E = p.target, T = Math.abs(x) > Math.abs(C) ? "h" : "v";
3865
- if ("touches" in p && T === "h" && E.type === "range")
3864
+ var b = Et(p), w = n.current, x = "deltaX" in p ? p.deltaX : w[0] - b[0], E = "deltaY" in p ? p.deltaY : w[1] - b[1], S, C = p.target, T = Math.abs(x) > Math.abs(E) ? "h" : "v";
3865
+ if ("touches" in p && T === "h" && C.type === "range")
3866
3866
  return !1;
3867
- var $ = Tr(T, E);
3867
+ var $ = Tr(T, C);
3868
3868
  if (!$)
3869
3869
  return !0;
3870
- if ($ ? S = T : (S = T === "v" ? "h" : "v", $ = Tr(T, E)), !$)
3870
+ if ($ ? S = T : (S = T === "v" ? "h" : "v", $ = Tr(T, C)), !$)
3871
3871
  return !1;
3872
- if (!r.current && "changedTouches" in p && (x || C) && (r.current = S), !S)
3872
+ if (!r.current && "changedTouches" in p && (x || E) && (r.current = S), !S)
3873
3873
  return !0;
3874
3874
  var D = r.current || S;
3875
- return Xl(D, h, p, D === "h" ? x : C);
3875
+ return ql(D, h, p, D === "h" ? x : E);
3876
3876
  }, []), d = s.useCallback(function(p) {
3877
3877
  var h = p;
3878
3878
  if (!(!Ke.length || Ke[Ke.length - 1] !== a)) {
3879
- var b = "deltaY" in h ? Rr(h) : Ct(h), w = t.current.filter(function(S) {
3880
- return S.name === h.type && (S.target === h.target || h.target === S.shadowParent) && ql(S.delta, b);
3879
+ var b = "deltaY" in h ? Rr(h) : Et(h), w = t.current.filter(function(S) {
3880
+ return S.name === h.type && (S.target === h.target || h.target === S.shadowParent) && Zl(S.delta, b);
3881
3881
  })[0];
3882
3882
  if (w && w.should) {
3883
3883
  h.cancelable && h.preventDefault();
@@ -3886,23 +3886,23 @@ function Jl(e) {
3886
3886
  if (!w) {
3887
3887
  var x = (i.current.shards || []).map(Nr).filter(Boolean).filter(function(S) {
3888
3888
  return S.contains(h.target);
3889
- }), C = x.length > 0 ? l(h, x[0]) : !i.current.noIsolation;
3890
- C && h.cancelable && h.preventDefault();
3889
+ }), E = x.length > 0 ? l(h, x[0]) : !i.current.noIsolation;
3890
+ E && h.cancelable && h.preventDefault();
3891
3891
  }
3892
3892
  }
3893
3893
  }, []), c = s.useCallback(function(p, h, b, w) {
3894
- var x = { name: p, delta: h, target: b, should: w, shadowParent: ec(b) };
3894
+ var x = { name: p, delta: h, target: b, should: w, shadowParent: tc(b) };
3895
3895
  t.current.push(x), setTimeout(function() {
3896
- t.current = t.current.filter(function(C) {
3897
- return C !== x;
3896
+ t.current = t.current.filter(function(E) {
3897
+ return E !== x;
3898
3898
  });
3899
3899
  }, 1);
3900
3900
  }, []), f = s.useCallback(function(p) {
3901
- n.current = Ct(p), r.current = void 0;
3901
+ n.current = Et(p), r.current = void 0;
3902
3902
  }, []), m = s.useCallback(function(p) {
3903
3903
  c(p.type, Rr(p), p.target, l(p, e.lockRef.current));
3904
3904
  }, []), v = s.useCallback(function(p) {
3905
- c(p.type, Ct(p), p.target, l(p, e.lockRef.current));
3905
+ c(p.type, Et(p), p.target, l(p, e.lockRef.current));
3906
3906
  }, []);
3907
3907
  s.useEffect(function() {
3908
3908
  return Ke.push(a), e.setCallbacks({
@@ -3919,28 +3919,28 @@ function Jl(e) {
3919
3919
  return s.createElement(
3920
3920
  s.Fragment,
3921
3921
  null,
3922
- y ? s.createElement(a, { styles: Zl(o) }) : null,
3923
- g ? s.createElement(Vl, { gapMode: e.gapMode }) : null
3922
+ y ? s.createElement(a, { styles: Ql(o) }) : null,
3923
+ g ? s.createElement(Hl, { gapMode: e.gapMode }) : null
3924
3924
  );
3925
3925
  }
3926
- function ec(e) {
3926
+ function tc(e) {
3927
3927
  for (var t = null; e !== null; )
3928
3928
  e instanceof ShadowRoot && (t = e.host, e = e.host), e = e.parentNode;
3929
3929
  return t;
3930
3930
  }
3931
- const tc = Al(bo, Jl);
3932
- var Eo = s.forwardRef(function(e, t) {
3933
- return s.createElement(Bt, ge({}, e, { ref: t, sideCar: tc }));
3931
+ const nc = Ol(bo, ec);
3932
+ var Co = s.forwardRef(function(e, t) {
3933
+ return s.createElement(Bt, ge({}, e, { ref: t, sideCar: nc }));
3934
3934
  });
3935
- Eo.classNames = Bt.classNames;
3936
- var nc = function(e) {
3935
+ Co.classNames = Bt.classNames;
3936
+ var rc = function(e) {
3937
3937
  if (typeof document > "u")
3938
3938
  return null;
3939
3939
  var t = Array.isArray(e) ? e[0] : e;
3940
3940
  return t.ownerDocument.body;
3941
- }, Ye = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), St = {}, pn = 0, So = function(e) {
3941
+ }, Ye = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), St = {}, pn = 0, So = function(e) {
3942
3942
  return e && (e.host || So(e.parentNode));
3943
- }, rc = function(e, t) {
3943
+ }, oc = function(e, t) {
3944
3944
  return t.map(function(n) {
3945
3945
  if (e.contains(n))
3946
3946
  return n;
@@ -3949,8 +3949,8 @@ var nc = function(e) {
3949
3949
  }).filter(function(n) {
3950
3950
  return !!n;
3951
3951
  });
3952
- }, oc = function(e, t, n, r) {
3953
- var o = rc(t, Array.isArray(e) ? e : [e]);
3952
+ }, ac = function(e, t, n, r) {
3953
+ var o = oc(t, Array.isArray(e) ? e : [e]);
3954
3954
  St[n] || (St[n] = /* @__PURE__ */ new WeakMap());
3955
3955
  var a = St[n], i = [], l = /* @__PURE__ */ new Set(), d = new Set(o), c = function(m) {
3956
3956
  !m || l.has(m) || (l.add(m), c(m.parentNode));
@@ -3963,7 +3963,7 @@ var nc = function(e) {
3963
3963
  else
3964
3964
  try {
3965
3965
  var g = v.getAttribute(r), y = g !== null && g !== "false", p = (Ye.get(v) || 0) + 1, h = (a.get(v) || 0) + 1;
3966
- Ye.set(v, p), a.set(v, h), i.push(v), p === 1 && y && Et.set(v, !0), h === 1 && v.setAttribute(n, "true"), y || v.setAttribute(r, "true");
3966
+ Ye.set(v, p), a.set(v, h), i.push(v), p === 1 && y && Ct.set(v, !0), h === 1 && v.setAttribute(n, "true"), y || v.setAttribute(r, "true");
3967
3967
  } catch (b) {
3968
3968
  console.error("aria-hidden: cannot operate on ", v, b);
3969
3969
  }
@@ -3972,16 +3972,16 @@ var nc = function(e) {
3972
3972
  return f(t), l.clear(), pn++, function() {
3973
3973
  i.forEach(function(m) {
3974
3974
  var v = Ye.get(m) - 1, g = a.get(m) - 1;
3975
- Ye.set(m, v), a.set(m, g), v || (Et.has(m) || m.removeAttribute(r), Et.delete(m)), g || m.removeAttribute(n);
3976
- }), pn--, pn || (Ye = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Et = /* @__PURE__ */ new WeakMap(), St = {});
3975
+ Ye.set(m, v), a.set(m, g), v || (Ct.has(m) || m.removeAttribute(r), Ct.delete(m)), g || m.removeAttribute(n);
3976
+ }), pn--, pn || (Ye = /* @__PURE__ */ new WeakMap(), Ye = /* @__PURE__ */ new WeakMap(), Ct = /* @__PURE__ */ new WeakMap(), St = {});
3977
3977
  };
3978
- }, ac = function(e, t, n) {
3978
+ }, ic = function(e, t, n) {
3979
3979
  n === void 0 && (n = "data-aria-hidden");
3980
- var r = Array.from(Array.isArray(e) ? e : [e]), o = nc(e);
3981
- return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), oc(r, o, n, "aria-hidden")) : function() {
3980
+ var r = Array.from(Array.isArray(e) ? e : [e]), o = rc(e);
3981
+ return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live]"))), ac(r, o, n, "aria-hidden")) : function() {
3982
3982
  return null;
3983
3983
  };
3984
- }, Bn = "Dialog", [To, uf] = pt(Bn), [ic, me] = To(Bn), Ro = (e) => {
3984
+ }, Bn = "Dialog", [To, mf] = pt(Bn), [sc, me] = To(Bn), Ro = (e) => {
3985
3985
  const {
3986
3986
  __scopeDialog: t,
3987
3987
  children: n,
@@ -3995,7 +3995,7 @@ var nc = function(e) {
3995
3995
  onChange: a
3996
3996
  });
3997
3997
  return /* @__PURE__ */ u(
3998
- ic,
3998
+ sc,
3999
3999
  {
4000
4000
  scope: t,
4001
4001
  triggerRef: l,
@@ -4016,7 +4016,7 @@ var No = "DialogTrigger", Po = s.forwardRef(
4016
4016
  (e, t) => {
4017
4017
  const { __scopeDialog: n, ...r } = e, o = me(No, n), a = ee(t, o.triggerRef);
4018
4018
  return /* @__PURE__ */ u(
4019
- Y.button,
4019
+ K.button,
4020
4020
  {
4021
4021
  type: "button",
4022
4022
  "aria-haspopup": "dialog",
@@ -4031,28 +4031,28 @@ var No = "DialogTrigger", Po = s.forwardRef(
4031
4031
  }
4032
4032
  );
4033
4033
  Po.displayName = No;
4034
- var Vn = "DialogPortal", [sc, Ao] = To(Vn, {
4034
+ var Vn = "DialogPortal", [lc, Ao] = To(Vn, {
4035
4035
  forceMount: void 0
4036
4036
  }), Oo = (e) => {
4037
4037
  const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, a = me(Vn, t);
4038
- return /* @__PURE__ */ u(sc, { scope: t, forceMount: n, children: s.Children.map(r, (i) => /* @__PURE__ */ u(He, { present: n || a.open, children: /* @__PURE__ */ u(Wt, { asChild: !0, container: o, children: i }) })) });
4038
+ return /* @__PURE__ */ u(lc, { scope: t, forceMount: n, children: s.Children.map(r, (i) => /* @__PURE__ */ u(He, { present: n || a.open, children: /* @__PURE__ */ u(Wt, { asChild: !0, container: o, children: i }) })) });
4039
4039
  };
4040
4040
  Oo.displayName = Vn;
4041
4041
  var _t = "DialogOverlay", Mo = s.forwardRef(
4042
4042
  (e, t) => {
4043
4043
  const n = Ao(_t, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = me(_t, e.__scopeDialog);
4044
- return a.modal ? /* @__PURE__ */ u(He, { present: r || a.open, children: /* @__PURE__ */ u(lc, { ...o, ref: t }) }) : null;
4044
+ return a.modal ? /* @__PURE__ */ u(He, { present: r || a.open, children: /* @__PURE__ */ u(cc, { ...o, ref: t }) }) : null;
4045
4045
  }
4046
4046
  );
4047
4047
  Mo.displayName = _t;
4048
- var lc = s.forwardRef(
4048
+ var cc = s.forwardRef(
4049
4049
  (e, t) => {
4050
4050
  const { __scopeDialog: n, ...r } = e, o = me(_t, n);
4051
4051
  return (
4052
4052
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4053
4053
  // ie. when `Overlay` and `Content` are siblings
4054
- /* @__PURE__ */ u(Eo, { as: de, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ u(
4055
- Y.div,
4054
+ /* @__PURE__ */ u(Co, { as: de, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ u(
4055
+ K.div,
4056
4056
  {
4057
4057
  "data-state": jn(o.open),
4058
4058
  ...r,
@@ -4065,16 +4065,16 @@ var lc = s.forwardRef(
4065
4065
  ), Be = "DialogContent", ko = s.forwardRef(
4066
4066
  (e, t) => {
4067
4067
  const n = Ao(Be, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, a = me(Be, e.__scopeDialog);
4068
- return /* @__PURE__ */ u(He, { present: r || a.open, children: a.modal ? /* @__PURE__ */ u(cc, { ...o, ref: t }) : /* @__PURE__ */ u(dc, { ...o, ref: t }) });
4068
+ return /* @__PURE__ */ u(He, { present: r || a.open, children: a.modal ? /* @__PURE__ */ u(dc, { ...o, ref: t }) : /* @__PURE__ */ u(uc, { ...o, ref: t }) });
4069
4069
  }
4070
4070
  );
4071
4071
  ko.displayName = Be;
4072
- var cc = s.forwardRef(
4072
+ var dc = s.forwardRef(
4073
4073
  (e, t) => {
4074
4074
  const n = me(Be, e.__scopeDialog), r = s.useRef(null), o = ee(t, n.contentRef, r);
4075
4075
  return s.useEffect(() => {
4076
4076
  const a = r.current;
4077
- if (a) return ac(a);
4077
+ if (a) return ic(a);
4078
4078
  }, []), /* @__PURE__ */ u(
4079
4079
  Do,
4080
4080
  {
@@ -4097,7 +4097,7 @@ var cc = s.forwardRef(
4097
4097
  }
4098
4098
  );
4099
4099
  }
4100
- ), dc = s.forwardRef(
4100
+ ), uc = s.forwardRef(
4101
4101
  (e, t) => {
4102
4102
  const n = me(Be, e.__scopeDialog), r = s.useRef(!1), o = s.useRef(!1);
4103
4103
  return /* @__PURE__ */ u(
@@ -4123,7 +4123,7 @@ var cc = s.forwardRef(
4123
4123
  ), Do = s.forwardRef(
4124
4124
  (e, t) => {
4125
4125
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: a, ...i } = e, l = me(Be, n), d = s.useRef(null), c = ee(t, d);
4126
- return yl(), /* @__PURE__ */ I(Ae, { children: [
4126
+ return wl(), /* @__PURE__ */ I(Ae, { children: [
4127
4127
  /* @__PURE__ */ u(
4128
4128
  mo,
4129
4129
  {
@@ -4148,22 +4148,22 @@ var cc = s.forwardRef(
4148
4148
  }
4149
4149
  ),
4150
4150
  /* @__PURE__ */ I(Ae, { children: [
4151
- /* @__PURE__ */ u(uc, { titleId: l.titleId }),
4152
- /* @__PURE__ */ u(pc, { contentRef: d, descriptionId: l.descriptionId })
4151
+ /* @__PURE__ */ u(fc, { titleId: l.titleId }),
4152
+ /* @__PURE__ */ u(mc, { contentRef: d, descriptionId: l.descriptionId })
4153
4153
  ] })
4154
4154
  ] });
4155
4155
  }
4156
4156
  ), Hn = "DialogTitle", _o = s.forwardRef(
4157
4157
  (e, t) => {
4158
4158
  const { __scopeDialog: n, ...r } = e, o = me(Hn, n);
4159
- return /* @__PURE__ */ u(Y.h2, { id: o.titleId, ...r, ref: t });
4159
+ return /* @__PURE__ */ u(K.h2, { id: o.titleId, ...r, ref: t });
4160
4160
  }
4161
4161
  );
4162
4162
  _o.displayName = Hn;
4163
4163
  var Io = "DialogDescription", Lo = s.forwardRef(
4164
4164
  (e, t) => {
4165
4165
  const { __scopeDialog: n, ...r } = e, o = me(Io, n);
4166
- return /* @__PURE__ */ u(Y.p, { id: o.descriptionId, ...r, ref: t });
4166
+ return /* @__PURE__ */ u(K.p, { id: o.descriptionId, ...r, ref: t });
4167
4167
  }
4168
4168
  );
4169
4169
  Lo.displayName = Io;
@@ -4171,7 +4171,7 @@ var Fo = "DialogClose", $o = s.forwardRef(
4171
4171
  (e, t) => {
4172
4172
  const { __scopeDialog: n, ...r } = e, o = me(Fo, n);
4173
4173
  return /* @__PURE__ */ u(
4174
- Y.button,
4174
+ K.button,
4175
4175
  {
4176
4176
  type: "button",
4177
4177
  ...r,
@@ -4185,11 +4185,11 @@ $o.displayName = Fo;
4185
4185
  function jn(e) {
4186
4186
  return e ? "open" : "closed";
4187
4187
  }
4188
- var zo = "DialogTitleWarning", [ff, Wo] = js(zo, {
4188
+ var zo = "DialogTitleWarning", [hf, Wo] = Gs(zo, {
4189
4189
  contentName: Be,
4190
4190
  titleName: Hn,
4191
4191
  docsSlug: "dialog"
4192
- }), uc = ({ titleId: e }) => {
4192
+ }), fc = ({ titleId: e }) => {
4193
4193
  const t = Wo(zo), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4194
4194
 
4195
4195
  If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
@@ -4198,8 +4198,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
4198
4198
  return s.useEffect(() => {
4199
4199
  e && (document.getElementById(e) || console.error(n));
4200
4200
  }, [n, e]), null;
4201
- }, fc = "DialogDescriptionWarning", pc = ({ contentRef: e, descriptionId: t }) => {
4202
- const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Wo(fc).contentName}}.`;
4201
+ }, pc = "DialogDescriptionWarning", mc = ({ contentRef: e, descriptionId: t }) => {
4202
+ const r = `Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Wo(pc).contentName}}.`;
4203
4203
  return s.useEffect(() => {
4204
4204
  var a;
4205
4205
  const o = (a = e.current) == null ? void 0 : a.getAttribute("aria-describedby");
@@ -4208,7 +4208,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
4208
4208
  }, Gn = Ro, Bo = Po, Vo = Oo, Vt = Mo, Ht = ko, jt = _o, Gt = Lo, Ut = $o;
4209
4209
  const Un = ({ modal: e = !1, ...t }) => /* @__PURE__ */ u(Gn, { modal: e, ...t });
4210
4210
  Un.displayName = Gn.displayName;
4211
- const mc = Bo, hc = Vo, Pr = Ut, Ho = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
4211
+ const hc = Bo, gc = Vo, Pr = Ut, Ho = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
4212
4212
  Vt,
4213
4213
  {
4214
4214
  ref: n,
@@ -4220,7 +4220,7 @@ const mc = Bo, hc = Vo, Pr = Ut, Ho = s.forwardRef(({ className: e, ...t }, n) =
4220
4220
  }
4221
4221
  ));
4222
4222
  Ho.displayName = Vt.displayName;
4223
- const Kn = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ I(hc, { children: [
4223
+ const Kn = s.forwardRef(({ className: e, children: t, ...n }, r) => /* @__PURE__ */ I(gc, { children: [
4224
4224
  /* @__PURE__ */ u(Ho, {}),
4225
4225
  /* @__PURE__ */ I(
4226
4226
  Ht,
@@ -4368,7 +4368,7 @@ const Ar = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Or = Qr, K
4368
4368
  m();
4369
4369
  };
4370
4370
  return /* @__PURE__ */ I(Un, { children: [
4371
- /* @__PURE__ */ u(mc, { asChild: !0, children: /* @__PURE__ */ u(
4371
+ /* @__PURE__ */ u(hc, { asChild: !0, children: /* @__PURE__ */ u(
4372
4372
  d,
4373
4373
  {
4374
4374
  className: M(Mr({ variant: t, size: n, className: e })),
@@ -4390,25 +4390,25 @@ const Ar = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Or = Qr, K
4390
4390
  }
4391
4391
  );
4392
4392
  ve.displayName = "Button";
4393
- const gc = ["top", "right", "bottom", "left"], Me = Math.min, ie = Math.max, It = Math.round, Tt = Math.floor, be = (e) => ({
4393
+ const vc = ["top", "right", "bottom", "left"], Me = Math.min, ie = Math.max, It = Math.round, Tt = Math.floor, be = (e) => ({
4394
4394
  x: e,
4395
4395
  y: e
4396
- }), vc = {
4396
+ }), bc = {
4397
4397
  left: "right",
4398
4398
  right: "left",
4399
4399
  bottom: "top",
4400
4400
  top: "bottom"
4401
- }, bc = {
4401
+ }, yc = {
4402
4402
  start: "end",
4403
4403
  end: "start"
4404
4404
  };
4405
4405
  function Nn(e, t, n) {
4406
4406
  return ie(e, Me(t, n));
4407
4407
  }
4408
- function Ce(e, t) {
4408
+ function Ee(e, t) {
4409
4409
  return typeof e == "function" ? e(t) : e;
4410
4410
  }
4411
- function Ee(e) {
4411
+ function Ce(e) {
4412
4412
  return e.split("-")[0];
4413
4413
  }
4414
4414
  function nt(e) {
@@ -4421,25 +4421,25 @@ function Xn(e) {
4421
4421
  return e === "y" ? "height" : "width";
4422
4422
  }
4423
4423
  function ke(e) {
4424
- return ["top", "bottom"].includes(Ee(e)) ? "y" : "x";
4424
+ return ["top", "bottom"].includes(Ce(e)) ? "y" : "x";
4425
4425
  }
4426
4426
  function qn(e) {
4427
4427
  return Yn(ke(e));
4428
4428
  }
4429
- function yc(e, t, n) {
4429
+ function wc(e, t, n) {
4430
4430
  n === void 0 && (n = !1);
4431
4431
  const r = nt(e), o = qn(e), a = Xn(o);
4432
4432
  let i = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4433
4433
  return t.reference[a] > t.floating[a] && (i = Lt(i)), [i, Lt(i)];
4434
4434
  }
4435
- function wc(e) {
4435
+ function xc(e) {
4436
4436
  const t = Lt(e);
4437
4437
  return [Pn(e), t, Pn(t)];
4438
4438
  }
4439
4439
  function Pn(e) {
4440
- return e.replace(/start|end/g, (t) => bc[t]);
4440
+ return e.replace(/start|end/g, (t) => yc[t]);
4441
4441
  }
4442
- function xc(e, t, n) {
4442
+ function Ec(e, t, n) {
4443
4443
  const r = ["left", "right"], o = ["right", "left"], a = ["top", "bottom"], i = ["bottom", "top"];
4444
4444
  switch (e) {
4445
4445
  case "top":
@@ -4454,13 +4454,13 @@ function xc(e, t, n) {
4454
4454
  }
4455
4455
  function Cc(e, t, n, r) {
4456
4456
  const o = nt(e);
4457
- let a = xc(Ee(e), n === "start", r);
4457
+ let a = Ec(Ce(e), n === "start", r);
4458
4458
  return o && (a = a.map((i) => i + "-" + o), t && (a = a.concat(a.map(Pn)))), a;
4459
4459
  }
4460
4460
  function Lt(e) {
4461
- return e.replace(/left|right|bottom|top/g, (t) => vc[t]);
4461
+ return e.replace(/left|right|bottom|top/g, (t) => bc[t]);
4462
4462
  }
4463
- function Ec(e) {
4463
+ function Sc(e) {
4464
4464
  return {
4465
4465
  top: 0,
4466
4466
  right: 0,
@@ -4470,7 +4470,7 @@ function Ec(e) {
4470
4470
  };
4471
4471
  }
4472
4472
  function Yo(e) {
4473
- return typeof e != "number" ? Ec(e) : {
4473
+ return typeof e != "number" ? Sc(e) : {
4474
4474
  top: e,
4475
4475
  right: e,
4476
4476
  bottom: e,
@@ -4500,7 +4500,7 @@ function kr(e, t, n) {
4500
4500
  reference: r,
4501
4501
  floating: o
4502
4502
  } = e;
4503
- const a = ke(t), i = qn(t), l = Xn(i), d = Ee(t), c = a === "y", f = r.x + r.width / 2 - o.width / 2, m = r.y + r.height / 2 - o.height / 2, v = r[l] / 2 - o[l] / 2;
4503
+ const a = ke(t), i = qn(t), l = Xn(i), d = Ce(t), c = a === "y", f = r.x + r.width / 2 - o.width / 2, m = r.y + r.height / 2 - o.height / 2, v = r[l] / 2 - o[l] / 2;
4504
4504
  let g;
4505
4505
  switch (d) {
4506
4506
  case "top":
@@ -4543,7 +4543,7 @@ function kr(e, t, n) {
4543
4543
  }
4544
4544
  return g;
4545
4545
  }
4546
- const Sc = async (e, t, n) => {
4546
+ const Tc = async (e, t, n) => {
4547
4547
  const {
4548
4548
  placement: r = "bottom",
4549
4549
  strategy: o = "absolute",
@@ -4565,7 +4565,7 @@ const Sc = async (e, t, n) => {
4565
4565
  } = l[p], {
4566
4566
  x: w,
4567
4567
  y: x,
4568
- data: C,
4568
+ data: E,
4569
4569
  reset: S
4570
4570
  } = await b({
4571
4571
  x: f,
@@ -4585,7 +4585,7 @@ const Sc = async (e, t, n) => {
4585
4585
  ...g,
4586
4586
  [h]: {
4587
4587
  ...g[h],
4588
- ...C
4588
+ ...E
4589
4589
  }
4590
4590
  }, S && y <= 50 && (y++, typeof S == "object" && (S.placement && (v = S.placement), S.rects && (c = S.rects === !0 ? await i.getElementRects({
4591
4591
  reference: e,
@@ -4620,7 +4620,7 @@ async function ut(e, t) {
4620
4620
  elementContext: m = "floating",
4621
4621
  altBoundary: v = !1,
4622
4622
  padding: g = 0
4623
- } = Ce(t, e), y = Yo(g), h = l[v ? m === "floating" ? "reference" : "floating" : m], b = Ft(await a.getClippingRect({
4623
+ } = Ee(t, e), y = Yo(g), h = l[v ? m === "floating" ? "reference" : "floating" : m], b = Ft(await a.getClippingRect({
4624
4624
  element: (n = await (a.isElement == null ? void 0 : a.isElement(h))) == null || n ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(l.floating)),
4625
4625
  boundary: c,
4626
4626
  rootBoundary: f,
@@ -4630,7 +4630,7 @@ async function ut(e, t) {
4630
4630
  y: o,
4631
4631
  width: i.floating.width,
4632
4632
  height: i.floating.height
4633
- } : i.reference, x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), C = await (a.isElement == null ? void 0 : a.isElement(x)) ? await (a.getScale == null ? void 0 : a.getScale(x)) || {
4633
+ } : i.reference, x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(l.floating)), E = await (a.isElement == null ? void 0 : a.isElement(x)) ? await (a.getScale == null ? void 0 : a.getScale(x)) || {
4634
4634
  x: 1,
4635
4635
  y: 1
4636
4636
  } : {
@@ -4643,13 +4643,13 @@ async function ut(e, t) {
4643
4643
  strategy: d
4644
4644
  }) : w);
4645
4645
  return {
4646
- top: (b.top - S.top + y.top) / C.y,
4647
- bottom: (S.bottom - b.bottom + y.bottom) / C.y,
4648
- left: (b.left - S.left + y.left) / C.x,
4649
- right: (S.right - b.right + y.right) / C.x
4646
+ top: (b.top - S.top + y.top) / E.y,
4647
+ bottom: (S.bottom - b.bottom + y.bottom) / E.y,
4648
+ left: (b.left - S.left + y.left) / E.x,
4649
+ right: (S.right - b.right + y.right) / E.x
4650
4650
  };
4651
4651
  }
4652
- const Tc = (e) => ({
4652
+ const Rc = (e) => ({
4653
4653
  name: "arrow",
4654
4654
  options: e,
4655
4655
  async fn(t) {
@@ -4664,16 +4664,16 @@ const Tc = (e) => ({
4664
4664
  } = t, {
4665
4665
  element: c,
4666
4666
  padding: f = 0
4667
- } = Ce(e, t) || {};
4667
+ } = Ee(e, t) || {};
4668
4668
  if (c == null)
4669
4669
  return {};
4670
4670
  const m = Yo(f), v = {
4671
4671
  x: n,
4672
4672
  y: r
4673
- }, g = qn(o), y = Xn(g), p = await i.getDimensions(c), h = g === "y", b = h ? "top" : "left", w = h ? "bottom" : "right", x = h ? "clientHeight" : "clientWidth", C = a.reference[y] + a.reference[g] - v[g] - a.floating[y], S = v[g] - a.reference[g], E = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(c));
4674
- let T = E ? E[x] : 0;
4675
- (!T || !await (i.isElement == null ? void 0 : i.isElement(E))) && (T = l.floating[x] || a.floating[y]);
4676
- const $ = C / 2 - S / 2, D = T / 2 - p[y] / 2 - 1, z = Me(m[b], D), H = Me(m[w], D), W = z, k = T - p[y] - H, R = T / 2 - p[y] / 2 + $, B = Nn(W, R, k), A = !d.arrow && nt(o) != null && R !== B && a.reference[y] / 2 - (R < W ? z : H) - p[y] / 2 < 0, j = A ? R < W ? R - W : R - k : 0;
4673
+ }, g = qn(o), y = Xn(g), p = await i.getDimensions(c), h = g === "y", b = h ? "top" : "left", w = h ? "bottom" : "right", x = h ? "clientHeight" : "clientWidth", E = a.reference[y] + a.reference[g] - v[g] - a.floating[y], S = v[g] - a.reference[g], C = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(c));
4674
+ let T = C ? C[x] : 0;
4675
+ (!T || !await (i.isElement == null ? void 0 : i.isElement(C))) && (T = l.floating[x] || a.floating[y]);
4676
+ const $ = E / 2 - S / 2, D = T / 2 - p[y] / 2 - 1, z = Me(m[b], D), H = Me(m[w], D), W = z, k = T - p[y] - H, R = T / 2 - p[y] / 2 + $, B = Nn(W, R, k), A = !d.arrow && nt(o) != null && R !== B && a.reference[y] / 2 - (R < W ? z : H) - p[y] / 2 < 0, j = A ? R < W ? R - W : R - k : 0;
4677
4677
  return {
4678
4678
  [g]: v[g] + j,
4679
4679
  data: {
@@ -4686,7 +4686,7 @@ const Tc = (e) => ({
4686
4686
  reset: A
4687
4687
  };
4688
4688
  }
4689
- }), Rc = function(e) {
4689
+ }), Nc = function(e) {
4690
4690
  return e === void 0 && (e = {}), {
4691
4691
  name: "flip",
4692
4692
  options: e,
@@ -4707,15 +4707,15 @@ const Tc = (e) => ({
4707
4707
  fallbackAxisSideDirection: y = "none",
4708
4708
  flipAlignment: p = !0,
4709
4709
  ...h
4710
- } = Ce(e, t);
4710
+ } = Ee(e, t);
4711
4711
  if ((n = a.arrow) != null && n.alignmentOffset)
4712
4712
  return {};
4713
- const b = Ee(o), w = ke(l), x = Ee(l) === l, C = await (d.isRTL == null ? void 0 : d.isRTL(c.floating)), S = v || (x || !p ? [Lt(l)] : wc(l)), E = y !== "none";
4714
- !v && E && S.push(...Cc(l, p, y, C));
4713
+ const b = Ce(o), w = ke(l), x = Ce(l) === l, E = await (d.isRTL == null ? void 0 : d.isRTL(c.floating)), S = v || (x || !p ? [Lt(l)] : xc(l)), C = y !== "none";
4714
+ !v && C && S.push(...Cc(l, p, y, E));
4715
4715
  const T = [l, ...S], $ = await ut(t, h), D = [];
4716
4716
  let z = ((r = a.flip) == null ? void 0 : r.overflows) || [];
4717
4717
  if (f && D.push($[b]), m) {
4718
- const R = yc(o, i, C);
4718
+ const R = wc(o, i, E);
4719
4719
  D.push($[R[0]], $[R[1]]);
4720
4720
  }
4721
4721
  if (z = [...z, {
@@ -4740,14 +4740,14 @@ const Tc = (e) => ({
4740
4740
  case "bestFit": {
4741
4741
  var k;
4742
4742
  const j = (k = z.filter((O) => {
4743
- if (E) {
4743
+ if (C) {
4744
4744
  const L = ke(O.placement);
4745
4745
  return L === w || // Create a bias to the `y` side axis due to horizontal
4746
4746
  // reading directions favoring greater width.
4747
4747
  L === "y";
4748
4748
  }
4749
4749
  return !0;
4750
- }).map((O) => [O.placement, O.overflows.filter((L) => L > 0).reduce((L, K) => L + K, 0)]).sort((O, L) => O[1] - L[1])[0]) == null ? void 0 : k[0];
4750
+ }).map((O) => [O.placement, O.overflows.filter((L) => L > 0).reduce((L, Y) => L + Y, 0)]).sort((O, L) => O[1] - L[1])[0]) == null ? void 0 : k[0];
4751
4751
  j && (A = j);
4752
4752
  break;
4753
4753
  }
@@ -4775,9 +4775,9 @@ function Dr(e, t) {
4775
4775
  };
4776
4776
  }
4777
4777
  function _r(e) {
4778
- return gc.some((t) => e[t] >= 0);
4778
+ return vc.some((t) => e[t] >= 0);
4779
4779
  }
4780
- const Nc = function(e) {
4780
+ const Pc = function(e) {
4781
4781
  return e === void 0 && (e = {}), {
4782
4782
  name: "hide",
4783
4783
  options: e,
@@ -4787,7 +4787,7 @@ const Nc = function(e) {
4787
4787
  } = t, {
4788
4788
  strategy: r = "referenceHidden",
4789
4789
  ...o
4790
- } = Ce(e, t);
4790
+ } = Ee(e, t);
4791
4791
  switch (r) {
4792
4792
  case "referenceHidden": {
4793
4793
  const a = await ut(t, {
@@ -4819,12 +4819,12 @@ const Nc = function(e) {
4819
4819
  }
4820
4820
  };
4821
4821
  };
4822
- async function Pc(e, t) {
4822
+ async function Ac(e, t) {
4823
4823
  const {
4824
4824
  placement: n,
4825
4825
  platform: r,
4826
4826
  elements: o
4827
- } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), i = Ee(n), l = nt(n), d = ke(n) === "y", c = ["left", "top"].includes(i) ? -1 : 1, f = a && d ? -1 : 1, m = Ce(t, e);
4827
+ } = e, a = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), i = Ce(n), l = nt(n), d = ke(n) === "y", c = ["left", "top"].includes(i) ? -1 : 1, f = a && d ? -1 : 1, m = Ee(t, e);
4828
4828
  let {
4829
4829
  mainAxis: v,
4830
4830
  crossAxis: g,
@@ -4846,7 +4846,7 @@ async function Pc(e, t) {
4846
4846
  y: g * f
4847
4847
  };
4848
4848
  }
4849
- const Ac = function(e) {
4849
+ const Oc = function(e) {
4850
4850
  return e === void 0 && (e = 0), {
4851
4851
  name: "offset",
4852
4852
  options: e,
@@ -4857,7 +4857,7 @@ const Ac = function(e) {
4857
4857
  y: a,
4858
4858
  placement: i,
4859
4859
  middlewareData: l
4860
- } = t, d = await Pc(t, e);
4860
+ } = t, d = await Ac(t, e);
4861
4861
  return i === ((n = l.offset) == null ? void 0 : n.placement) && (r = l.arrow) != null && r.alignmentOffset ? {} : {
4862
4862
  x: o + d.x,
4863
4863
  y: a + d.y,
@@ -4868,7 +4868,7 @@ const Ac = function(e) {
4868
4868
  };
4869
4869
  }
4870
4870
  };
4871
- }, Oc = function(e) {
4871
+ }, Mc = function(e) {
4872
4872
  return e === void 0 && (e = {}), {
4873
4873
  name: "shift",
4874
4874
  options: e,
@@ -4893,10 +4893,10 @@ const Ac = function(e) {
4893
4893
  }
4894
4894
  },
4895
4895
  ...d
4896
- } = Ce(e, t), c = {
4896
+ } = Ee(e, t), c = {
4897
4897
  x: n,
4898
4898
  y: r
4899
- }, f = await ut(t, d), m = ke(Ee(o)), v = Yn(m);
4899
+ }, f = await ut(t, d), m = ke(Ce(o)), v = Yn(m);
4900
4900
  let g = c[v], y = c[m];
4901
4901
  if (a) {
4902
4902
  const h = v === "y" ? "top" : "left", b = v === "y" ? "bottom" : "right", w = g + f[h], x = g - f[b];
@@ -4924,7 +4924,7 @@ const Ac = function(e) {
4924
4924
  };
4925
4925
  }
4926
4926
  };
4927
- }, Mc = function(e) {
4927
+ }, kc = function(e) {
4928
4928
  return e === void 0 && (e = {}), {
4929
4929
  options: e,
4930
4930
  fn(t) {
@@ -4938,12 +4938,12 @@ const Ac = function(e) {
4938
4938
  offset: l = 0,
4939
4939
  mainAxis: d = !0,
4940
4940
  crossAxis: c = !0
4941
- } = Ce(e, t), f = {
4941
+ } = Ee(e, t), f = {
4942
4942
  x: n,
4943
4943
  y: r
4944
4944
  }, m = ke(o), v = Yn(m);
4945
4945
  let g = f[v], y = f[m];
4946
- const p = Ce(l, t), h = typeof p == "number" ? {
4946
+ const p = Ee(l, t), h = typeof p == "number" ? {
4947
4947
  mainAxis: p,
4948
4948
  crossAxis: 0
4949
4949
  } : {
@@ -4952,13 +4952,13 @@ const Ac = function(e) {
4952
4952
  ...p
4953
4953
  };
4954
4954
  if (d) {
4955
- const x = v === "y" ? "height" : "width", C = a.reference[v] - a.floating[x] + h.mainAxis, S = a.reference[v] + a.reference[x] - h.mainAxis;
4956
- g < C ? g = C : g > S && (g = S);
4955
+ const x = v === "y" ? "height" : "width", E = a.reference[v] - a.floating[x] + h.mainAxis, S = a.reference[v] + a.reference[x] - h.mainAxis;
4956
+ g < E ? g = E : g > S && (g = S);
4957
4957
  }
4958
4958
  if (c) {
4959
4959
  var b, w;
4960
- const x = v === "y" ? "width" : "height", C = ["top", "left"].includes(Ee(o)), S = a.reference[m] - a.floating[x] + (C && ((b = i.offset) == null ? void 0 : b[m]) || 0) + (C ? 0 : h.crossAxis), E = a.reference[m] + a.reference[x] + (C ? 0 : ((w = i.offset) == null ? void 0 : w[m]) || 0) - (C ? h.crossAxis : 0);
4961
- y < S ? y = S : y > E && (y = E);
4960
+ const x = v === "y" ? "width" : "height", E = ["top", "left"].includes(Ce(o)), S = a.reference[m] - a.floating[x] + (E && ((b = i.offset) == null ? void 0 : b[m]) || 0) + (E ? 0 : h.crossAxis), C = a.reference[m] + a.reference[x] + (E ? 0 : ((w = i.offset) == null ? void 0 : w[m]) || 0) - (E ? h.crossAxis : 0);
4961
+ y < S ? y = S : y > C && (y = C);
4962
4962
  }
4963
4963
  return {
4964
4964
  [v]: g,
@@ -4966,7 +4966,7 @@ const Ac = function(e) {
4966
4966
  };
4967
4967
  }
4968
4968
  };
4969
- }, kc = function(e) {
4969
+ }, Dc = function(e) {
4970
4970
  return e === void 0 && (e = {}), {
4971
4971
  name: "size",
4972
4972
  options: e,
@@ -4981,15 +4981,15 @@ const Ac = function(e) {
4981
4981
  apply: d = () => {
4982
4982
  },
4983
4983
  ...c
4984
- } = Ce(e, t), f = await ut(t, c), m = Ee(o), v = nt(o), g = ke(o) === "y", {
4984
+ } = Ee(e, t), f = await ut(t, c), m = Ce(o), v = nt(o), g = ke(o) === "y", {
4985
4985
  width: y,
4986
4986
  height: p
4987
4987
  } = a.floating;
4988
4988
  let h, b;
4989
4989
  m === "top" || m === "bottom" ? (h = m, b = v === (await (i.isRTL == null ? void 0 : i.isRTL(l.floating)) ? "start" : "end") ? "left" : "right") : (b = m, h = v === "end" ? "top" : "bottom");
4990
- const w = p - f.top - f.bottom, x = y - f.left - f.right, C = Me(p - f[h], w), S = Me(y - f[b], x), E = !t.middlewareData.shift;
4991
- let T = C, $ = S;
4992
- if ((n = t.middlewareData.shift) != null && n.enabled.x && ($ = x), (r = t.middlewareData.shift) != null && r.enabled.y && (T = w), E && !v) {
4990
+ const w = p - f.top - f.bottom, x = y - f.left - f.right, E = Me(p - f[h], w), S = Me(y - f[b], x), C = !t.middlewareData.shift;
4991
+ let T = E, $ = S;
4992
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && ($ = x), (r = t.middlewareData.shift) != null && r.enabled.y && (T = w), C && !v) {
4993
4993
  const z = ie(f.left, 0), H = ie(f.right, 0), W = ie(f.top, 0), k = ie(f.bottom, 0);
4994
4994
  g ? $ = y - 2 * (z !== 0 || H !== 0 ? z + H : ie(f.left, f.right)) : T = p - 2 * (W !== 0 || k !== 0 ? W + k : ie(f.top, f.bottom));
4995
4995
  }
@@ -5042,7 +5042,7 @@ function mt(e) {
5042
5042
  } = fe(e);
5043
5043
  return /auto|scroll|overlay|hidden|clip/.test(t + r + n) && !["inline", "contents"].includes(o);
5044
5044
  }
5045
- function Dc(e) {
5045
+ function _c(e) {
5046
5046
  return ["table", "td", "th"].includes(rt(e));
5047
5047
  }
5048
5048
  function Xt(e) {
@@ -5058,7 +5058,7 @@ function Zn(e) {
5058
5058
  const t = Qn(), n = ue(e) ? fe(e) : e;
5059
5059
  return ["transform", "translate", "scale", "rotate", "perspective"].some((r) => n[r] ? n[r] !== "none" : !1) || (n.containerType ? n.containerType !== "normal" : !1) || !t && (n.backdropFilter ? n.backdropFilter !== "none" : !1) || !t && (n.filter ? n.filter !== "none" : !1) || ["transform", "translate", "scale", "rotate", "perspective", "filter"].some((r) => (n.willChange || "").includes(r)) || ["paint", "layout", "strict", "content"].some((r) => (n.contain || "").includes(r));
5060
5060
  }
5061
- function _c(e) {
5061
+ function Ic(e) {
5062
5062
  let t = De(e);
5063
5063
  for (; ye(t) && !Qe(t); ) {
5064
5064
  if (Zn(t))
@@ -5144,15 +5144,15 @@ function qe(e) {
5144
5144
  y: l
5145
5145
  };
5146
5146
  }
5147
- const Ic = /* @__PURE__ */ be(0);
5147
+ const Lc = /* @__PURE__ */ be(0);
5148
5148
  function Qo(e) {
5149
5149
  const t = se(e);
5150
- return !Qn() || !t.visualViewport ? Ic : {
5150
+ return !Qn() || !t.visualViewport ? Lc : {
5151
5151
  x: t.visualViewport.offsetLeft,
5152
5152
  y: t.visualViewport.offsetTop
5153
5153
  };
5154
5154
  }
5155
- function Lc(e, t, n) {
5155
+ function Fc(e, t, n) {
5156
5156
  return t === void 0 && (t = !1), !n || t && n !== se(e) ? !1 : t;
5157
5157
  }
5158
5158
  function Ve(e, t, n, r) {
@@ -5160,14 +5160,14 @@ function Ve(e, t, n, r) {
5160
5160
  const o = e.getBoundingClientRect(), a = Jn(e);
5161
5161
  let i = be(1);
5162
5162
  t && (r ? ue(r) && (i = qe(r)) : i = qe(e));
5163
- const l = Lc(a, n, r) ? Qo(a) : be(0);
5163
+ const l = Fc(a, n, r) ? Qo(a) : be(0);
5164
5164
  let d = (o.left + l.x) / i.x, c = (o.top + l.y) / i.y, f = o.width / i.x, m = o.height / i.y;
5165
5165
  if (a) {
5166
5166
  const v = se(a), g = r && ue(r) ? se(r) : r;
5167
5167
  let y = v, p = An(y);
5168
5168
  for (; p && r && g !== y; ) {
5169
- const h = qe(p), b = p.getBoundingClientRect(), w = fe(p), x = b.left + (p.clientLeft + parseFloat(w.paddingLeft)) * h.x, C = b.top + (p.clientTop + parseFloat(w.paddingTop)) * h.y;
5170
- d *= h.x, c *= h.y, f *= h.x, m *= h.y, d += x, c += C, y = se(p), p = An(y);
5169
+ const h = qe(p), b = p.getBoundingClientRect(), w = fe(p), x = b.left + (p.clientLeft + parseFloat(w.paddingLeft)) * h.x, E = b.top + (p.clientTop + parseFloat(w.paddingTop)) * h.y;
5170
+ d *= h.x, c *= h.y, f *= h.x, m *= h.y, d += x, c += E, y = se(p), p = An(y);
5171
5171
  }
5172
5172
  }
5173
5173
  return Ft({
@@ -5192,7 +5192,7 @@ function Jo(e, t, n) {
5192
5192
  y: a
5193
5193
  };
5194
5194
  }
5195
- function Fc(e) {
5195
+ function $c(e) {
5196
5196
  let {
5197
5197
  elements: t,
5198
5198
  rect: n,
@@ -5219,10 +5219,10 @@ function Fc(e) {
5219
5219
  y: n.y * c.y - d.scrollTop * c.y + f.y + v.y
5220
5220
  };
5221
5221
  }
5222
- function $c(e) {
5222
+ function zc(e) {
5223
5223
  return Array.from(e.getClientRects());
5224
5224
  }
5225
- function zc(e) {
5225
+ function Wc(e) {
5226
5226
  const t = we(e), n = qt(e), r = e.ownerDocument.body, o = ie(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), a = ie(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5227
5227
  let i = -n.scrollLeft + er(e);
5228
5228
  const l = -n.scrollTop;
@@ -5233,7 +5233,7 @@ function zc(e) {
5233
5233
  y: l
5234
5234
  };
5235
5235
  }
5236
- function Wc(e, t) {
5236
+ function Bc(e, t) {
5237
5237
  const n = se(e), r = we(e), o = n.visualViewport;
5238
5238
  let a = r.clientWidth, i = r.clientHeight, l = 0, d = 0;
5239
5239
  if (o) {
@@ -5248,7 +5248,7 @@ function Wc(e, t) {
5248
5248
  y: d
5249
5249
  };
5250
5250
  }
5251
- function Bc(e, t) {
5251
+ function Vc(e, t) {
5252
5252
  const n = Ve(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, a = ye(e) ? qe(e) : be(1), i = e.clientWidth * a.x, l = e.clientHeight * a.y, d = o * a.x, c = r * a.y;
5253
5253
  return {
5254
5254
  width: i,
@@ -5260,11 +5260,11 @@ function Bc(e, t) {
5260
5260
  function Lr(e, t, n) {
5261
5261
  let r;
5262
5262
  if (t === "viewport")
5263
- r = Wc(e, n);
5263
+ r = Bc(e, n);
5264
5264
  else if (t === "document")
5265
- r = zc(we(e));
5265
+ r = Wc(we(e));
5266
5266
  else if (ue(t))
5267
- r = Bc(t, n);
5267
+ r = Vc(t, n);
5268
5268
  else {
5269
5269
  const o = Qo(e);
5270
5270
  r = {
@@ -5280,7 +5280,7 @@ function ea(e, t) {
5280
5280
  const n = De(e);
5281
5281
  return n === t || !ue(n) || Qe(n) ? !1 : fe(n).position === "fixed" || ea(n, t);
5282
5282
  }
5283
- function Vc(e, t) {
5283
+ function Hc(e, t) {
5284
5284
  const n = t.get(e);
5285
5285
  if (n)
5286
5286
  return n;
@@ -5293,14 +5293,14 @@ function Vc(e, t) {
5293
5293
  }
5294
5294
  return t.set(e, r), r;
5295
5295
  }
5296
- function Hc(e) {
5296
+ function jc(e) {
5297
5297
  let {
5298
5298
  element: t,
5299
5299
  boundary: n,
5300
5300
  rootBoundary: r,
5301
5301
  strategy: o
5302
5302
  } = e;
5303
- const i = [...n === "clippingAncestors" ? Xt(t) ? [] : Vc(t, this._c) : [].concat(n), r], l = i[0], d = i.reduce((c, f) => {
5303
+ const i = [...n === "clippingAncestors" ? Xt(t) ? [] : Hc(t, this._c) : [].concat(n), r], l = i[0], d = i.reduce((c, f) => {
5304
5304
  const m = Lr(t, f, o);
5305
5305
  return c.top = ie(m.top, c.top), c.right = Me(m.right, c.right), c.bottom = Me(m.bottom, c.bottom), c.left = ie(m.left, c.left), c;
5306
5306
  }, Lr(t, l, o));
@@ -5311,7 +5311,7 @@ function Hc(e) {
5311
5311
  y: d.top
5312
5312
  };
5313
5313
  }
5314
- function jc(e) {
5314
+ function Gc(e) {
5315
5315
  const {
5316
5316
  width: t,
5317
5317
  height: n
@@ -5321,7 +5321,7 @@ function jc(e) {
5321
5321
  height: n
5322
5322
  };
5323
5323
  }
5324
- function Gc(e, t, n) {
5324
+ function Uc(e, t, n) {
5325
5325
  const r = ye(t), o = we(t), a = n === "fixed", i = Ve(e, !0, a, t);
5326
5326
  let l = {
5327
5327
  scrollLeft: 0,
@@ -5366,14 +5366,14 @@ function ta(e, t) {
5366
5366
  return n;
5367
5367
  }
5368
5368
  let r = Fr(e, t);
5369
- for (; r && Dc(r) && mn(r); )
5369
+ for (; r && _c(r) && mn(r); )
5370
5370
  r = Fr(r, t);
5371
- return r && Qe(r) && mn(r) && !Zn(r) ? n : r || _c(e) || n;
5371
+ return r && Qe(r) && mn(r) && !Zn(r) ? n : r || Ic(e) || n;
5372
5372
  }
5373
- const Uc = async function(e) {
5373
+ const Kc = async function(e) {
5374
5374
  const t = this.getOffsetParent || ta, n = this.getDimensions, r = await n(e.floating);
5375
5375
  return {
5376
- reference: Gc(e.reference, await t(e.floating), e.strategy),
5376
+ reference: Uc(e.reference, await t(e.floating), e.strategy),
5377
5377
  floating: {
5378
5378
  x: 0,
5379
5379
  y: 0,
@@ -5382,25 +5382,25 @@ const Uc = async function(e) {
5382
5382
  }
5383
5383
  };
5384
5384
  };
5385
- function Kc(e) {
5385
+ function Yc(e) {
5386
5386
  return fe(e).direction === "rtl";
5387
5387
  }
5388
- const Yc = {
5389
- convertOffsetParentRelativeRectToViewportRelativeRect: Fc,
5388
+ const Xc = {
5389
+ convertOffsetParentRelativeRectToViewportRelativeRect: $c,
5390
5390
  getDocumentElement: we,
5391
- getClippingRect: Hc,
5391
+ getClippingRect: jc,
5392
5392
  getOffsetParent: ta,
5393
- getElementRects: Uc,
5394
- getClientRects: $c,
5395
- getDimensions: jc,
5393
+ getElementRects: Kc,
5394
+ getClientRects: zc,
5395
+ getDimensions: Gc,
5396
5396
  getScale: qe,
5397
5397
  isElement: ue,
5398
- isRTL: Kc
5398
+ isRTL: Yc
5399
5399
  };
5400
5400
  function na(e, t) {
5401
5401
  return e.x === t.x && e.y === t.y && e.width === t.width && e.height === t.height;
5402
5402
  }
5403
- function Xc(e, t) {
5403
+ function qc(e, t) {
5404
5404
  let n = null, r;
5405
5405
  const o = we(e);
5406
5406
  function a() {
@@ -5421,17 +5421,17 @@ function Xc(e, t) {
5421
5421
  rootMargin: -y + "px " + -p + "px " + -h + "px " + -b + "px",
5422
5422
  threshold: ie(0, Me(1, d)) || 1
5423
5423
  };
5424
- let C = !0;
5425
- function S(E) {
5426
- const T = E[0].intersectionRatio;
5424
+ let E = !0;
5425
+ function S(C) {
5426
+ const T = C[0].intersectionRatio;
5427
5427
  if (T !== d) {
5428
- if (!C)
5428
+ if (!E)
5429
5429
  return i();
5430
5430
  T ? i(!1, T) : r = setTimeout(() => {
5431
5431
  i(!1, 1e-7);
5432
5432
  }, 1e3);
5433
5433
  }
5434
- T === 1 && !na(c, e.getBoundingClientRect()) && i(), C = !1;
5434
+ T === 1 && !na(c, e.getBoundingClientRect()) && i(), E = !1;
5435
5435
  }
5436
5436
  try {
5437
5437
  n = new IntersectionObserver(S, {
@@ -5446,7 +5446,7 @@ function Xc(e, t) {
5446
5446
  }
5447
5447
  return i(!0), a;
5448
5448
  }
5449
- function qc(e, t, n, r) {
5449
+ function Zc(e, t, n, r) {
5450
5450
  r === void 0 && (r = {});
5451
5451
  const {
5452
5452
  ancestorScroll: o = !0,
@@ -5460,7 +5460,7 @@ function qc(e, t, n, r) {
5460
5460
  passive: !0
5461
5461
  }), a && b.addEventListener("resize", n);
5462
5462
  });
5463
- const m = c && l ? Xc(c, n) : null;
5463
+ const m = c && l ? qc(c, n) : null;
5464
5464
  let v = -1, g = null;
5465
5465
  i && (g = new ResizeObserver((b) => {
5466
5466
  let [w] = b;
@@ -5482,20 +5482,20 @@ function qc(e, t, n, r) {
5482
5482
  }), m == null || m(), (b = g) == null || b.disconnect(), g = null, d && cancelAnimationFrame(y);
5483
5483
  };
5484
5484
  }
5485
- const Zc = Ac, Qc = Oc, Jc = Rc, ed = kc, td = Nc, $r = Tc, nd = Mc, rd = (e, t, n) => {
5485
+ const Qc = Oc, Jc = Mc, ed = Nc, td = Dc, nd = Pc, $r = Rc, rd = kc, od = (e, t, n) => {
5486
5486
  const r = /* @__PURE__ */ new Map(), o = {
5487
- platform: Yc,
5487
+ platform: Xc,
5488
5488
  ...n
5489
5489
  }, a = {
5490
5490
  ...o.platform,
5491
5491
  _c: r
5492
5492
  };
5493
- return Sc(e, t, {
5493
+ return Tc(e, t, {
5494
5494
  ...o,
5495
5495
  platform: a
5496
5496
  });
5497
5497
  };
5498
- var Ot = typeof document < "u" ? mi : hi;
5498
+ var Ot = typeof document < "u" ? hi : gi;
5499
5499
  function $t(e, t) {
5500
5500
  if (e === t)
5501
5501
  return !0;
@@ -5539,7 +5539,7 @@ function hn(e) {
5539
5539
  t.current = e;
5540
5540
  }), t;
5541
5541
  }
5542
- function od(e) {
5542
+ function ad(e) {
5543
5543
  e === void 0 && (e = {});
5544
5544
  const {
5545
5545
  placement: t = "bottom",
@@ -5563,19 +5563,19 @@ function od(e) {
5563
5563
  }), [v, g] = s.useState(r);
5564
5564
  $t(v, r) || g(r);
5565
5565
  const [y, p] = s.useState(null), [h, b] = s.useState(null), w = s.useCallback((O) => {
5566
- O !== E.current && (E.current = O, p(O));
5566
+ O !== C.current && (C.current = O, p(O));
5567
5567
  }, []), x = s.useCallback((O) => {
5568
5568
  O !== T.current && (T.current = O, b(O));
5569
- }, []), C = a || y, S = i || h, E = s.useRef(null), T = s.useRef(null), $ = s.useRef(f), D = d != null, z = hn(d), H = hn(o), W = hn(c), k = s.useCallback(() => {
5570
- if (!E.current || !T.current)
5569
+ }, []), E = a || y, S = i || h, C = s.useRef(null), T = s.useRef(null), $ = s.useRef(f), D = d != null, z = hn(d), H = hn(o), W = hn(c), k = s.useCallback(() => {
5570
+ if (!C.current || !T.current)
5571
5571
  return;
5572
5572
  const O = {
5573
5573
  placement: t,
5574
5574
  strategy: n,
5575
5575
  middleware: v
5576
5576
  };
5577
- H.current && (O.platform = H.current), rd(E.current, T.current, O).then((L) => {
5578
- const K = {
5577
+ H.current && (O.platform = H.current), od(C.current, T.current, O).then((L) => {
5578
+ const Y = {
5579
5579
  ...L,
5580
5580
  // The floating element's position may be recomputed while it's closed
5581
5581
  // but still mounted (such as when transitioning out). To ensure
@@ -5583,8 +5583,8 @@ function od(e) {
5583
5583
  // setting it to `true` when `open === false` (must be specified).
5584
5584
  isPositioned: W.current !== !1
5585
5585
  };
5586
- R.current && !$t($.current, K) && ($.current = K, Ln.flushSync(() => {
5587
- m(K);
5586
+ R.current && !$t($.current, Y) && ($.current = Y, Ln.flushSync(() => {
5587
+ m(Y);
5588
5588
  }));
5589
5589
  });
5590
5590
  }, [v, t, n, H, W]);
@@ -5598,21 +5598,21 @@ function od(e) {
5598
5598
  Ot(() => (R.current = !0, () => {
5599
5599
  R.current = !1;
5600
5600
  }), []), Ot(() => {
5601
- if (C && (E.current = C), S && (T.current = S), C && S) {
5601
+ if (E && (C.current = E), S && (T.current = S), E && S) {
5602
5602
  if (z.current)
5603
- return z.current(C, S, k);
5603
+ return z.current(E, S, k);
5604
5604
  k();
5605
5605
  }
5606
- }, [C, S, k, z, D]);
5606
+ }, [E, S, k, z, D]);
5607
5607
  const B = s.useMemo(() => ({
5608
- reference: E,
5608
+ reference: C,
5609
5609
  floating: T,
5610
5610
  setReference: w,
5611
5611
  setFloating: x
5612
5612
  }), [w, x]), A = s.useMemo(() => ({
5613
- reference: C,
5613
+ reference: E,
5614
5614
  floating: S
5615
- }), [C, S]), j = s.useMemo(() => {
5615
+ }), [E, S]), j = s.useMemo(() => {
5616
5616
  const O = {
5617
5617
  position: n,
5618
5618
  left: 0,
@@ -5620,17 +5620,17 @@ function od(e) {
5620
5620
  };
5621
5621
  if (!A.floating)
5622
5622
  return O;
5623
- const L = zr(A.floating, f.x), K = zr(A.floating, f.y);
5623
+ const L = zr(A.floating, f.x), Y = zr(A.floating, f.y);
5624
5624
  return l ? {
5625
5625
  ...O,
5626
- transform: "translate(" + L + "px, " + K + "px)",
5626
+ transform: "translate(" + L + "px, " + Y + "px)",
5627
5627
  ...ra(A.floating) >= 1.5 && {
5628
5628
  willChange: "transform"
5629
5629
  }
5630
5630
  } : {
5631
5631
  position: n,
5632
5632
  left: L,
5633
- top: K
5633
+ top: Y
5634
5634
  };
5635
5635
  }, [n, l, A.floating, f.x, f.y]);
5636
5636
  return s.useMemo(() => ({
@@ -5641,7 +5641,7 @@ function od(e) {
5641
5641
  floatingStyles: j
5642
5642
  }), [f, k, B, A, j]);
5643
5643
  }
5644
- const ad = (e) => {
5644
+ const id = (e) => {
5645
5645
  function t(n) {
5646
5646
  return {}.hasOwnProperty.call(n, "current");
5647
5647
  }
@@ -5662,17 +5662,14 @@ const ad = (e) => {
5662
5662
  }).fn(n) : {};
5663
5663
  }
5664
5664
  };
5665
- }, id = (e, t) => ({
5666
- ...Zc(e),
5667
- options: [e, t]
5668
- }), sd = (e, t) => ({
5665
+ }, sd = (e, t) => ({
5669
5666
  ...Qc(e),
5670
5667
  options: [e, t]
5671
5668
  }), ld = (e, t) => ({
5672
- ...nd(e),
5669
+ ...Jc(e),
5673
5670
  options: [e, t]
5674
5671
  }), cd = (e, t) => ({
5675
- ...Jc(e),
5672
+ ...rd(e),
5676
5673
  options: [e, t]
5677
5674
  }), dd = (e, t) => ({
5678
5675
  ...ed(e),
@@ -5681,13 +5678,16 @@ const ad = (e) => {
5681
5678
  ...td(e),
5682
5679
  options: [e, t]
5683
5680
  }), fd = (e, t) => ({
5684
- ...ad(e),
5681
+ ...nd(e),
5682
+ options: [e, t]
5683
+ }), pd = (e, t) => ({
5684
+ ...id(e),
5685
5685
  options: [e, t]
5686
5686
  });
5687
- var pd = "Arrow", oa = s.forwardRef((e, t) => {
5687
+ var md = "Arrow", oa = s.forwardRef((e, t) => {
5688
5688
  const { children: n, width: r = 10, height: o = 5, ...a } = e;
5689
5689
  return /* @__PURE__ */ u(
5690
- Y.svg,
5690
+ K.svg,
5691
5691
  {
5692
5692
  ...a,
5693
5693
  ref: t,
@@ -5699,9 +5699,9 @@ var pd = "Arrow", oa = s.forwardRef((e, t) => {
5699
5699
  }
5700
5700
  );
5701
5701
  });
5702
- oa.displayName = pd;
5703
- var md = oa;
5704
- function hd(e) {
5702
+ oa.displayName = md;
5703
+ var hd = oa;
5704
+ function gd(e) {
5705
5705
  const [t, n] = s.useState(void 0);
5706
5706
  return Oe(() => {
5707
5707
  if (e) {
@@ -5723,9 +5723,9 @@ function hd(e) {
5723
5723
  n(void 0);
5724
5724
  }, [e]), t;
5725
5725
  }
5726
- var tr = "Popper", [aa, ia] = pt(tr), [gd, sa] = aa(tr), la = (e) => {
5726
+ var tr = "Popper", [aa, ia] = pt(tr), [vd, sa] = aa(tr), la = (e) => {
5727
5727
  const { __scopePopper: t, children: n } = e, [r, o] = s.useState(null);
5728
- return /* @__PURE__ */ u(gd, { scope: t, anchor: r, onAnchorChange: o, children: n });
5728
+ return /* @__PURE__ */ u(vd, { scope: t, anchor: r, onAnchorChange: o, children: n });
5729
5729
  };
5730
5730
  la.displayName = tr;
5731
5731
  var ca = "PopperAnchor", da = s.forwardRef(
@@ -5733,11 +5733,11 @@ var ca = "PopperAnchor", da = s.forwardRef(
5733
5733
  const { __scopePopper: n, virtualRef: r, ...o } = e, a = sa(ca, n), i = s.useRef(null), l = ee(t, i);
5734
5734
  return s.useEffect(() => {
5735
5735
  a.onAnchorChange((r == null ? void 0 : r.current) || i.current);
5736
- }), r ? null : /* @__PURE__ */ u(Y.div, { ...o, ref: l });
5736
+ }), r ? null : /* @__PURE__ */ u(K.div, { ...o, ref: l });
5737
5737
  }
5738
5738
  );
5739
5739
  da.displayName = ca;
5740
- var nr = "PopperContent", [vd, bd] = aa(nr), ua = s.forwardRef(
5740
+ var nr = "PopperContent", [bd, yd] = aa(nr), ua = s.forwardRef(
5741
5741
  (e, t) => {
5742
5742
  var he, ot, gt, at, vt, je;
5743
5743
  const {
@@ -5755,42 +5755,42 @@ var nr = "PopperContent", [vd, bd] = aa(nr), ua = s.forwardRef(
5755
5755
  updatePositionStrategy: g = "optimized",
5756
5756
  onPlaced: y,
5757
5757
  ...p
5758
- } = e, h = sa(nr, n), [b, w] = s.useState(null), x = ee(t, (_e) => w(_e)), [C, S] = s.useState(null), E = hd(C), T = (E == null ? void 0 : E.width) ?? 0, $ = (E == null ? void 0 : E.height) ?? 0, D = r + (a !== "center" ? "-" + a : ""), z = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, H = Array.isArray(c) ? c : [c], W = H.length > 0, k = {
5758
+ } = e, h = sa(nr, n), [b, w] = s.useState(null), x = ee(t, (_e) => w(_e)), [E, S] = s.useState(null), C = gd(E), T = (C == null ? void 0 : C.width) ?? 0, $ = (C == null ? void 0 : C.height) ?? 0, D = r + (a !== "center" ? "-" + a : ""), z = typeof f == "number" ? f : { top: 0, right: 0, bottom: 0, left: 0, ...f }, H = Array.isArray(c) ? c : [c], W = H.length > 0, k = {
5759
5759
  padding: z,
5760
- boundary: H.filter(wd),
5760
+ boundary: H.filter(xd),
5761
5761
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5762
5762
  altBoundary: W
5763
- }, { refs: R, floatingStyles: B, placement: A, isPositioned: j, middlewareData: O } = od({
5763
+ }, { refs: R, floatingStyles: B, placement: A, isPositioned: j, middlewareData: O } = ad({
5764
5764
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5765
5765
  strategy: "fixed",
5766
5766
  placement: D,
5767
- whileElementsMounted: (..._e) => qc(..._e, {
5767
+ whileElementsMounted: (..._e) => Zc(..._e, {
5768
5768
  animationFrame: g === "always"
5769
5769
  }),
5770
5770
  elements: {
5771
5771
  reference: h.anchor
5772
5772
  },
5773
5773
  middleware: [
5774
- id({ mainAxis: o + $, alignmentAxis: i }),
5775
- d && sd({
5774
+ sd({ mainAxis: o + $, alignmentAxis: i }),
5775
+ d && ld({
5776
5776
  mainAxis: !0,
5777
5777
  crossAxis: !1,
5778
- limiter: m === "partial" ? ld() : void 0,
5778
+ limiter: m === "partial" ? cd() : void 0,
5779
5779
  ...k
5780
5780
  }),
5781
- d && cd({ ...k }),
5782
- dd({
5781
+ d && dd({ ...k }),
5782
+ ud({
5783
5783
  ...k,
5784
5784
  apply: ({ elements: _e, rects: _, availableWidth: F, availableHeight: Z }) => {
5785
5785
  const { width: ne, height: re } = _.reference, G = _e.floating.style;
5786
5786
  G.setProperty("--radix-popper-available-width", `${F}px`), G.setProperty("--radix-popper-available-height", `${Z}px`), G.setProperty("--radix-popper-anchor-width", `${ne}px`), G.setProperty("--radix-popper-anchor-height", `${re}px`);
5787
5787
  }
5788
5788
  }),
5789
- C && fd({ element: C, padding: l }),
5790
- xd({ arrowWidth: T, arrowHeight: $ }),
5791
- v && ud({ strategy: "referenceHidden", ...k })
5789
+ E && pd({ element: E, padding: l }),
5790
+ Ed({ arrowWidth: T, arrowHeight: $ }),
5791
+ v && fd({ strategy: "referenceHidden", ...k })
5792
5792
  ]
5793
- }), [L, K] = ma(A), q = le(y);
5793
+ }), [L, Y] = ma(A), q = le(y);
5794
5794
  Oe(() => {
5795
5795
  j && (q == null || q());
5796
5796
  }, [j, q]);
@@ -5822,7 +5822,7 @@ var nr = "PopperContent", [vd, bd] = aa(nr), ua = s.forwardRef(
5822
5822
  },
5823
5823
  dir: e.dir,
5824
5824
  children: /* @__PURE__ */ u(
5825
- vd,
5825
+ bd,
5826
5826
  {
5827
5827
  scope: n,
5828
5828
  placedSide: L,
@@ -5831,10 +5831,10 @@ var nr = "PopperContent", [vd, bd] = aa(nr), ua = s.forwardRef(
5831
5831
  arrowY: Q,
5832
5832
  shouldHideArrow: J,
5833
5833
  children: /* @__PURE__ */ u(
5834
- Y.div,
5834
+ K.div,
5835
5835
  {
5836
5836
  "data-side": L,
5837
- "data-align": K,
5837
+ "data-align": Y,
5838
5838
  ...p,
5839
5839
  ref: x,
5840
5840
  style: {
@@ -5852,13 +5852,13 @@ var nr = "PopperContent", [vd, bd] = aa(nr), ua = s.forwardRef(
5852
5852
  }
5853
5853
  );
5854
5854
  ua.displayName = nr;
5855
- var fa = "PopperArrow", yd = {
5855
+ var fa = "PopperArrow", wd = {
5856
5856
  top: "bottom",
5857
5857
  right: "left",
5858
5858
  bottom: "top",
5859
5859
  left: "right"
5860
5860
  }, pa = s.forwardRef(function(t, n) {
5861
- const { __scopePopper: r, ...o } = t, a = bd(fa, r), i = yd[a.placedSide];
5861
+ const { __scopePopper: r, ...o } = t, a = yd(fa, r), i = wd[a.placedSide];
5862
5862
  return (
5863
5863
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
5864
5864
  // doesn't report size as we'd expect on SVG elements.
@@ -5887,7 +5887,7 @@ var fa = "PopperArrow", yd = {
5887
5887
  visibility: a.shouldHideArrow ? "hidden" : void 0
5888
5888
  },
5889
5889
  children: /* @__PURE__ */ u(
5890
- md,
5890
+ hd,
5891
5891
  {
5892
5892
  ...o,
5893
5893
  ref: n,
@@ -5903,10 +5903,10 @@ var fa = "PopperArrow", yd = {
5903
5903
  );
5904
5904
  });
5905
5905
  pa.displayName = fa;
5906
- function wd(e) {
5906
+ function xd(e) {
5907
5907
  return e !== null;
5908
5908
  }
5909
- var xd = (e) => ({
5909
+ var Ed = (e) => ({
5910
5910
  name: "transformOrigin",
5911
5911
  options: e,
5912
5912
  fn(t) {
@@ -5920,9 +5920,9 @@ function ma(e) {
5920
5920
  const [t, n = "center"] = e.split("-");
5921
5921
  return [t, n];
5922
5922
  }
5923
- var Cd = la, Ed = da, Sd = ua, Td = pa, Rd = "VisuallyHidden", Zt = s.forwardRef(
5923
+ var Cd = la, Sd = da, Td = ua, Rd = pa, Nd = "VisuallyHidden", Zt = s.forwardRef(
5924
5924
  (e, t) => /* @__PURE__ */ u(
5925
- Y.span,
5925
+ K.span,
5926
5926
  {
5927
5927
  ...e,
5928
5928
  ref: t,
@@ -5943,13 +5943,13 @@ var Cd = la, Ed = da, Sd = ua, Td = pa, Rd = "VisuallyHidden", Zt = s.forwardRef
5943
5943
  }
5944
5944
  )
5945
5945
  );
5946
- Zt.displayName = Rd;
5947
- var Nd = Zt, [Qt, pf] = pt("Tooltip", [
5946
+ Zt.displayName = Nd;
5947
+ var Pd = Zt, [Qt, gf] = pt("Tooltip", [
5948
5948
  ia
5949
- ]), Jt = ia(), ha = "TooltipProvider", Pd = 700, On = "tooltip.open", [Ad, rr] = Qt(ha), ga = (e) => {
5949
+ ]), Jt = ia(), ha = "TooltipProvider", Ad = 700, On = "tooltip.open", [Od, rr] = Qt(ha), ga = (e) => {
5950
5950
  const {
5951
5951
  __scopeTooltip: t,
5952
- delayDuration: n = Pd,
5952
+ delayDuration: n = Ad,
5953
5953
  skipDelayDuration: r = 300,
5954
5954
  disableHoverableContent: o = !1,
5955
5955
  children: a
@@ -5958,7 +5958,7 @@ var Nd = Zt, [Qt, pf] = pt("Tooltip", [
5958
5958
  const f = c.current;
5959
5959
  return () => window.clearTimeout(f);
5960
5960
  }, []), /* @__PURE__ */ u(
5961
- Ad,
5961
+ Od,
5962
5962
  {
5963
5963
  scope: t,
5964
5964
  isOpenDelayed: i,
@@ -5982,7 +5982,7 @@ var Nd = Zt, [Qt, pf] = pt("Tooltip", [
5982
5982
  );
5983
5983
  };
5984
5984
  ga.displayName = ha;
5985
- var en = "Tooltip", [Od, ht] = Qt(en), va = (e) => {
5985
+ var en = "Tooltip", [Md, ht] = Qt(en), va = (e) => {
5986
5986
  const {
5987
5987
  __scopeTooltip: t,
5988
5988
  children: n,
@@ -5997,11 +5997,11 @@ var en = "Tooltip", [Od, ht] = Qt(en), va = (e) => {
5997
5997
  onChange: (T) => {
5998
5998
  T ? (d.onOpen(), document.dispatchEvent(new CustomEvent(On))) : d.onClose(), a == null || a(T);
5999
5999
  }
6000
- }), x = s.useMemo(() => b ? h.current ? "delayed-open" : "instant-open" : "closed", [b]), C = s.useCallback(() => {
6000
+ }), x = s.useMemo(() => b ? h.current ? "delayed-open" : "instant-open" : "closed", [b]), E = s.useCallback(() => {
6001
6001
  window.clearTimeout(g.current), g.current = 0, h.current = !1, w(!0);
6002
6002
  }, [w]), S = s.useCallback(() => {
6003
6003
  window.clearTimeout(g.current), g.current = 0, w(!1);
6004
- }, [w]), E = s.useCallback(() => {
6004
+ }, [w]), C = s.useCallback(() => {
6005
6005
  window.clearTimeout(g.current), g.current = window.setTimeout(() => {
6006
6006
  h.current = !0, w(!0), g.current = 0;
6007
6007
  }, p);
@@ -6009,7 +6009,7 @@ var en = "Tooltip", [Od, ht] = Qt(en), va = (e) => {
6009
6009
  return s.useEffect(() => () => {
6010
6010
  g.current && (window.clearTimeout(g.current), g.current = 0);
6011
6011
  }, []), /* @__PURE__ */ u(Cd, { ...c, children: /* @__PURE__ */ u(
6012
- Od,
6012
+ Md,
6013
6013
  {
6014
6014
  scope: t,
6015
6015
  contentId: v,
@@ -6018,12 +6018,12 @@ var en = "Tooltip", [Od, ht] = Qt(en), va = (e) => {
6018
6018
  trigger: f,
6019
6019
  onTriggerChange: m,
6020
6020
  onTriggerEnter: s.useCallback(() => {
6021
- d.isOpenDelayed ? E() : C();
6022
- }, [d.isOpenDelayed, E, C]),
6021
+ d.isOpenDelayed ? C() : E();
6022
+ }, [d.isOpenDelayed, C, E]),
6023
6023
  onTriggerLeave: s.useCallback(() => {
6024
6024
  y ? S() : (window.clearTimeout(g.current), g.current = 0);
6025
6025
  }, [S, y]),
6026
- onOpen: C,
6026
+ onOpen: E,
6027
6027
  onClose: S,
6028
6028
  disableHoverableContent: y,
6029
6029
  children: n
@@ -6034,8 +6034,8 @@ va.displayName = en;
6034
6034
  var Mn = "TooltipTrigger", ba = s.forwardRef(
6035
6035
  (e, t) => {
6036
6036
  const { __scopeTooltip: n, ...r } = e, o = ht(Mn, n), a = rr(Mn, n), i = Jt(n), l = s.useRef(null), d = ee(t, l, o.onTriggerChange), c = s.useRef(!1), f = s.useRef(!1), m = s.useCallback(() => c.current = !1, []);
6037
- return s.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ u(Ed, { asChild: !0, ...i, children: /* @__PURE__ */ u(
6038
- Y.button,
6037
+ return s.useEffect(() => () => document.removeEventListener("pointerup", m), [m]), /* @__PURE__ */ u(Sd, { asChild: !0, ...i, children: /* @__PURE__ */ u(
6038
+ K.button,
6039
6039
  {
6040
6040
  "aria-describedby": o.open ? o.contentId : void 0,
6041
6041
  "data-state": o.stateAttribute,
@@ -6060,24 +6060,24 @@ var Mn = "TooltipTrigger", ba = s.forwardRef(
6060
6060
  }
6061
6061
  );
6062
6062
  ba.displayName = Mn;
6063
- var or = "TooltipPortal", [Md, kd] = Qt(or, {
6063
+ var or = "TooltipPortal", [kd, Dd] = Qt(or, {
6064
6064
  forceMount: void 0
6065
6065
  }), ya = (e) => {
6066
6066
  const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, a = ht(or, t);
6067
- return /* @__PURE__ */ u(Md, { scope: t, forceMount: n, children: /* @__PURE__ */ u(He, { present: n || a.open, children: /* @__PURE__ */ u(Wt, { asChild: !0, container: o, children: r }) }) });
6067
+ return /* @__PURE__ */ u(kd, { scope: t, forceMount: n, children: /* @__PURE__ */ u(He, { present: n || a.open, children: /* @__PURE__ */ u(Wt, { asChild: !0, container: o, children: r }) }) });
6068
6068
  };
6069
6069
  ya.displayName = or;
6070
6070
  var Je = "TooltipContent", wa = s.forwardRef(
6071
6071
  (e, t) => {
6072
- const n = kd(Je, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, i = ht(Je, e.__scopeTooltip);
6073
- return /* @__PURE__ */ u(He, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ u(xa, { side: o, ...a, ref: t }) : /* @__PURE__ */ u(Dd, { side: o, ...a, ref: t }) });
6072
+ const n = Dd(Je, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...a } = e, i = ht(Je, e.__scopeTooltip);
6073
+ return /* @__PURE__ */ u(He, { present: r || i.open, children: i.disableHoverableContent ? /* @__PURE__ */ u(xa, { side: o, ...a, ref: t }) : /* @__PURE__ */ u(_d, { side: o, ...a, ref: t }) });
6074
6074
  }
6075
- ), Dd = s.forwardRef((e, t) => {
6075
+ ), _d = s.forwardRef((e, t) => {
6076
6076
  const n = ht(Je, e.__scopeTooltip), r = rr(Je, e.__scopeTooltip), o = s.useRef(null), a = ee(t, o), [i, l] = s.useState(null), { trigger: d, onClose: c } = n, f = o.current, { onPointerInTransitChange: m } = r, v = s.useCallback(() => {
6077
6077
  l(null), m(!1);
6078
6078
  }, [m]), g = s.useCallback(
6079
6079
  (y, p) => {
6080
- const h = y.currentTarget, b = { x: y.clientX, y: y.clientY }, w = Fd(b, h.getBoundingClientRect()), x = $d(b, w), C = zd(p.getBoundingClientRect()), S = Bd([...x, ...C]);
6080
+ const h = y.currentTarget, b = { x: y.clientX, y: y.clientY }, w = $d(b, h.getBoundingClientRect()), x = zd(b, w), E = Wd(p.getBoundingClientRect()), S = Vd([...x, ...E]);
6081
6081
  l(S), m(!0);
6082
6082
  },
6083
6083
  [m]
@@ -6092,13 +6092,13 @@ var Je = "TooltipContent", wa = s.forwardRef(
6092
6092
  }, [d, f, g, v]), s.useEffect(() => {
6093
6093
  if (i) {
6094
6094
  const y = (p) => {
6095
- const h = p.target, b = { x: p.clientX, y: p.clientY }, w = (d == null ? void 0 : d.contains(h)) || (f == null ? void 0 : f.contains(h)), x = !Wd(b, i);
6095
+ const h = p.target, b = { x: p.clientX, y: p.clientY }, w = (d == null ? void 0 : d.contains(h)) || (f == null ? void 0 : f.contains(h)), x = !Bd(b, i);
6096
6096
  w ? v() : x && (v(), c());
6097
6097
  };
6098
6098
  return document.addEventListener("pointermove", y), () => document.removeEventListener("pointermove", y);
6099
6099
  }
6100
6100
  }, [d, f, i, c, v]), /* @__PURE__ */ u(xa, { ...e, ref: a });
6101
- }), [_d, Id] = Qt(en, { isInside: !1 }), xa = s.forwardRef(
6101
+ }), [Id, Ld] = Qt(en, { isInside: !1 }), xa = s.forwardRef(
6102
6102
  (e, t) => {
6103
6103
  const {
6104
6104
  __scopeTooltip: n,
@@ -6126,7 +6126,7 @@ var Je = "TooltipContent", wa = s.forwardRef(
6126
6126
  onFocusOutside: (m) => m.preventDefault(),
6127
6127
  onDismiss: f,
6128
6128
  children: /* @__PURE__ */ I(
6129
- Sd,
6129
+ Td,
6130
6130
  {
6131
6131
  "data-state": d.stateAttribute,
6132
6132
  ...c,
@@ -6142,7 +6142,7 @@ var Je = "TooltipContent", wa = s.forwardRef(
6142
6142
  },
6143
6143
  children: [
6144
6144
  /* @__PURE__ */ u(lo, { children: r }),
6145
- /* @__PURE__ */ u(_d, { scope: n, isInside: !0, children: /* @__PURE__ */ u(Nd, { id: d.contentId, role: "tooltip", children: o || r }) })
6145
+ /* @__PURE__ */ u(Id, { scope: n, isInside: !0, children: /* @__PURE__ */ u(Pd, { id: d.contentId, role: "tooltip", children: o || r }) })
6146
6146
  ]
6147
6147
  }
6148
6148
  )
@@ -6151,17 +6151,17 @@ var Je = "TooltipContent", wa = s.forwardRef(
6151
6151
  }
6152
6152
  );
6153
6153
  wa.displayName = Je;
6154
- var Ca = "TooltipArrow", Ld = s.forwardRef(
6154
+ var Ea = "TooltipArrow", Fd = s.forwardRef(
6155
6155
  (e, t) => {
6156
6156
  const { __scopeTooltip: n, ...r } = e, o = Jt(n);
6157
- return Id(
6158
- Ca,
6157
+ return Ld(
6158
+ Ea,
6159
6159
  n
6160
- ).isInside ? null : /* @__PURE__ */ u(Td, { ...o, ...r, ref: t });
6160
+ ).isInside ? null : /* @__PURE__ */ u(Rd, { ...o, ...r, ref: t });
6161
6161
  }
6162
6162
  );
6163
- Ld.displayName = Ca;
6164
- function Fd(e, t) {
6163
+ Fd.displayName = Ea;
6164
+ function $d(e, t) {
6165
6165
  const n = Math.abs(t.top - e.y), r = Math.abs(t.bottom - e.y), o = Math.abs(t.right - e.x), a = Math.abs(t.left - e.x);
6166
6166
  switch (Math.min(n, r, o, a)) {
6167
6167
  case a:
@@ -6176,7 +6176,7 @@ function Fd(e, t) {
6176
6176
  throw new Error("unreachable");
6177
6177
  }
6178
6178
  }
6179
- function $d(e, t, n = 5) {
6179
+ function zd(e, t, n = 5) {
6180
6180
  const r = [];
6181
6181
  switch (t) {
6182
6182
  case "top":
@@ -6206,7 +6206,7 @@ function $d(e, t, n = 5) {
6206
6206
  }
6207
6207
  return r;
6208
6208
  }
6209
- function zd(e) {
6209
+ function Wd(e) {
6210
6210
  const { top: t, right: n, bottom: r, left: o } = e;
6211
6211
  return [
6212
6212
  { x: o, y: t },
@@ -6215,7 +6215,7 @@ function zd(e) {
6215
6215
  { x: o, y: r }
6216
6216
  ];
6217
6217
  }
6218
- function Wd(e, t) {
6218
+ function Bd(e, t) {
6219
6219
  const { x: n, y: r } = e;
6220
6220
  let o = !1;
6221
6221
  for (let a = 0, i = t.length - 1; a < t.length; i = a++) {
@@ -6224,11 +6224,11 @@ function Wd(e, t) {
6224
6224
  }
6225
6225
  return o;
6226
6226
  }
6227
- function Bd(e) {
6227
+ function Vd(e) {
6228
6228
  const t = e.slice();
6229
- return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), Vd(t);
6229
+ return t.sort((n, r) => n.x < r.x ? -1 : n.x > r.x ? 1 : n.y < r.y ? -1 : n.y > r.y ? 1 : 0), Hd(t);
6230
6230
  }
6231
- function Vd(e) {
6231
+ function Hd(e) {
6232
6232
  if (e.length <= 1) return e.slice();
6233
6233
  const t = [];
6234
6234
  for (let r = 0; r < e.length; r++) {
@@ -6253,9 +6253,9 @@ function Vd(e) {
6253
6253
  }
6254
6254
  return n.pop(), t.length === 1 && n.length === 1 && t[0].x === n[0].x && t[0].y === n[0].y ? t : t.concat(n);
6255
6255
  }
6256
- var Hd = ga, jd = va, Gd = ba, Ud = ya, Ea = wa;
6257
- const st = Hd, lt = jd, ct = Gd, Ze = s.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ u(Ud, { children: /* @__PURE__ */ u(
6258
- Ea,
6256
+ var jd = ga, Gd = va, Ud = ba, Kd = ya, Ca = wa;
6257
+ const st = jd, lt = Gd, ct = Ud, Ze = s.forwardRef(({ className: e, sideOffset: t = 4, ...n }, r) => /* @__PURE__ */ u(Kd, { children: /* @__PURE__ */ u(
6258
+ Ca,
6259
6259
  {
6260
6260
  ref: r,
6261
6261
  sideOffset: t,
@@ -6266,7 +6266,7 @@ const st = Hd, lt = jd, ct = Gd, Ze = s.forwardRef(({ className: e, sideOffset:
6266
6266
  ...n
6267
6267
  }
6268
6268
  ) }));
6269
- Ze.displayName = Ea.displayName;
6269
+ Ze.displayName = Ca.displayName;
6270
6270
  const ar = s.forwardRef(
6271
6271
  ({ className: e, type: t, mask: n, onChange: r, placeholder: o, ...a }, i) => {
6272
6272
  const [l, d] = s.useState(!1), c = s.useRef(null), m = o || (n === "phone" ? "(999) 999-9999" : n === "postal-code-ca" ? "A9A 9A9" : n === "zip-code-us" ? "99999" : ""), v = () => n === "phone" ? "Only enter numbers. Formatting will be added automatically." : n === "postal-code-ca" ? "Enter letters and numbers only. Spacing will be applied automatically." : n === "zip-code-us" ? "Only enter numbers. Formatting will be added automatically." : "", g = () => {
@@ -6291,9 +6291,9 @@ const ar = s.forwardRef(
6291
6291
  } else if (n === "postal-code-ca") {
6292
6292
  const w = h.replace(/[^a-zA-Z0-9]/g, "").toUpperCase();
6293
6293
  let x = "";
6294
- for (let C = 0; C < Math.min(w.length, 6); C++) {
6295
- const S = w[C];
6296
- C === 0 || C === 2 || C === 4 ? /[A-Z]/.test(S) && (x += S) : (C === 1 || C === 3 || C === 5) && /[0-9]/.test(S) && (x += S);
6294
+ for (let E = 0; E < Math.min(w.length, 6); E++) {
6295
+ const S = w[E];
6296
+ E === 0 || E === 2 || E === 4 ? /[A-Z]/.test(S) && (x += S) : (E === 1 || E === 3 || E === 5) && /[0-9]/.test(S) && (x += S);
6297
6297
  }
6298
6298
  x.length <= 3 ? b = x : b = `${x.slice(0, 3)} ${x.slice(3, 6)}`;
6299
6299
  } else if (n === "zip-code-us") {
@@ -6324,10 +6324,10 @@ const ar = s.forwardRef(
6324
6324
  }
6325
6325
  );
6326
6326
  ar.displayName = "Input";
6327
- var Kd = "Separator", Wr = "horizontal", Yd = ["horizontal", "vertical"], Sa = s.forwardRef((e, t) => {
6328
- const { decorative: n, orientation: r = Wr, ...o } = e, a = Xd(r) ? r : Wr, l = n ? { role: "none" } : { "aria-orientation": a === "vertical" ? a : void 0, role: "separator" };
6327
+ var Yd = "Separator", Wr = "horizontal", Xd = ["horizontal", "vertical"], Sa = s.forwardRef((e, t) => {
6328
+ const { decorative: n, orientation: r = Wr, ...o } = e, a = qd(r) ? r : Wr, l = n ? { role: "none" } : { "aria-orientation": a === "vertical" ? a : void 0, role: "separator" };
6329
6329
  return /* @__PURE__ */ u(
6330
- Y.div,
6330
+ K.div,
6331
6331
  {
6332
6332
  "data-orientation": a,
6333
6333
  ...l,
@@ -6336,9 +6336,9 @@ var Kd = "Separator", Wr = "horizontal", Yd = ["horizontal", "vertical"], Sa = s
6336
6336
  }
6337
6337
  );
6338
6338
  });
6339
- Sa.displayName = Kd;
6340
- function Xd(e) {
6341
- return Yd.includes(e);
6339
+ Sa.displayName = Yd;
6340
+ function qd(e) {
6341
+ return Xd.includes(e);
6342
6342
  }
6343
6343
  var Ta = Sa;
6344
6344
  const Ra = s.forwardRef(
@@ -6358,7 +6358,7 @@ const Ra = s.forwardRef(
6358
6358
  )
6359
6359
  );
6360
6360
  Ra.displayName = Ta.displayName;
6361
- const qd = Gn, mf = Bo, hf = Ut, Zd = Vo, Na = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6361
+ const Zd = Gn, vf = Bo, bf = Ut, Qd = Vo, Na = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6362
6362
  Vt,
6363
6363
  {
6364
6364
  className: M(
@@ -6370,7 +6370,7 @@ const qd = Gn, mf = Bo, hf = Ut, Zd = Vo, Na = s.forwardRef(({ className: e, ...
6370
6370
  }
6371
6371
  ));
6372
6372
  Na.displayName = Vt.displayName;
6373
- const Qd = Kt(
6373
+ const Jd = Kt(
6374
6374
  "fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",
6375
6375
  {
6376
6376
  variants: {
@@ -6385,13 +6385,13 @@ const Qd = Kt(
6385
6385
  side: "right"
6386
6386
  }
6387
6387
  }
6388
- ), Pa = s.forwardRef(({ side: e = "right", className: t, children: n, ...r }, o) => /* @__PURE__ */ I(Zd, { children: [
6388
+ ), Pa = s.forwardRef(({ side: e = "right", className: t, children: n, ...r }, o) => /* @__PURE__ */ I(Qd, { children: [
6389
6389
  /* @__PURE__ */ u(Na, {}),
6390
6390
  /* @__PURE__ */ I(
6391
6391
  Ht,
6392
6392
  {
6393
6393
  ref: o,
6394
- className: M(Qd({ side: e }), t),
6394
+ className: M(Jd({ side: e }), t),
6395
6395
  ...r,
6396
6396
  children: [
6397
6397
  /* @__PURE__ */ I(Ut, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-hidden focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
@@ -6404,7 +6404,7 @@ const Qd = Kt(
6404
6404
  )
6405
6405
  ] }));
6406
6406
  Pa.displayName = Ht.displayName;
6407
- const Jd = ({
6407
+ const eu = ({
6408
6408
  className: e,
6409
6409
  ...t
6410
6410
  }) => /* @__PURE__ */ u(
@@ -6417,8 +6417,8 @@ const Jd = ({
6417
6417
  ...t
6418
6418
  }
6419
6419
  );
6420
- Jd.displayName = "SheetHeader";
6421
- const eu = ({
6420
+ eu.displayName = "SheetHeader";
6421
+ const tu = ({
6422
6422
  className: e,
6423
6423
  ...t
6424
6424
  }) => /* @__PURE__ */ u(
@@ -6431,8 +6431,8 @@ const eu = ({
6431
6431
  ...t
6432
6432
  }
6433
6433
  );
6434
- eu.displayName = "SheetFooter";
6435
- const tu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6434
+ tu.displayName = "SheetFooter";
6435
+ const nu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6436
6436
  jt,
6437
6437
  {
6438
6438
  ref: n,
@@ -6440,8 +6440,8 @@ const tu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6440
6440
  ...t
6441
6441
  }
6442
6442
  ));
6443
- tu.displayName = jt.displayName;
6444
- const nu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6443
+ nu.displayName = jt.displayName;
6444
+ const ru = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6445
6445
  Gt,
6446
6446
  {
6447
6447
  ref: n,
@@ -6449,13 +6449,13 @@ const nu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6449
6449
  ...t
6450
6450
  }
6451
6451
  ));
6452
- nu.displayName = Gt.displayName;
6453
- function gf({ onClick: e, publicName: t, applicationName: n, partnerId: r }) {
6452
+ ru.displayName = Gt.displayName;
6453
+ function yf({ onClick: e, publicName: t, applicationName: n, partnerId: r }) {
6454
6454
  const o = `https://api.randmar.io/v4/Partner/${r}/Account/Logo?height=72&width=72`, [a, i] = In(!1), l = () => {
6455
6455
  i(!0);
6456
6456
  };
6457
6457
  return /* @__PURE__ */ I("div", { className: "flex items-center gap-3", children: [
6458
- /* @__PURE__ */ u("div", { className: "flex h-9 w-9 items-center justify-center rounded-lg bg-muted " + (e !== void 0 ? "cursor-pointer" : ""), children: a ? /* @__PURE__ */ u(ve, { asChild: !0, size: "icon", onClick: e, children: /* @__PURE__ */ u(ts, { className: "h-5 w-5 text-muted-foreground !bg-sidebar" }) }) : /* @__PURE__ */ u(ve, { asChild: !0, size: "icon", onClick: e, children: /* @__PURE__ */ u(
6458
+ /* @__PURE__ */ u("div", { className: "flex h-9 w-9 items-center justify-center rounded-lg bg-muted " + (e !== void 0 ? "cursor-pointer" : ""), children: a ? /* @__PURE__ */ u(ve, { asChild: !0, size: "icon", onClick: e, children: /* @__PURE__ */ u(ns, { className: "h-5 w-5 text-muted-foreground !bg-sidebar" }) }) : /* @__PURE__ */ u(ve, { asChild: !0, size: "icon", onClick: e, children: /* @__PURE__ */ u(
6459
6459
  "img",
6460
6460
  {
6461
6461
  src: o,
@@ -6470,8 +6470,37 @@ function gf({ onClick: e, publicName: t, applicationName: n, partnerId: r }) {
6470
6470
  ] })
6471
6471
  ] });
6472
6472
  }
6473
+ var ou = "Label", Aa = s.forwardRef((e, t) => /* @__PURE__ */ u(
6474
+ K.label,
6475
+ {
6476
+ ...e,
6477
+ ref: t,
6478
+ onMouseDown: (n) => {
6479
+ var o;
6480
+ n.target.closest("button, input, select, textarea") || ((o = e.onMouseDown) == null || o.call(e, n), !n.defaultPrevented && n.detail > 1 && n.preventDefault());
6481
+ }
6482
+ }
6483
+ ));
6484
+ Aa.displayName = ou;
6485
+ var au = Aa;
6486
+ function wf({
6487
+ className: e,
6488
+ ...t
6489
+ }) {
6490
+ return /* @__PURE__ */ u(
6491
+ au,
6492
+ {
6493
+ "data-slot": "label",
6494
+ className: M(
6495
+ "flex items-center gap-2 text-sm leading-none font-medium select-none group-data-[disabled=true]:pointer-events-none group-data-[disabled=true]:opacity-50 peer-disabled:cursor-not-allowed peer-disabled:opacity-50",
6496
+ e
6497
+ ),
6498
+ ...t
6499
+ }
6500
+ );
6501
+ }
6473
6502
  const gn = 1024;
6474
- function ru() {
6503
+ function iu() {
6475
6504
  const [e, t] = s.useState(void 0);
6476
6505
  return s.useEffect(() => {
6477
6506
  const n = window.matchMedia(`(max-width: ${gn - 1}px)`), r = () => {
@@ -6492,14 +6521,14 @@ function Br({
6492
6521
  }
6493
6522
  );
6494
6523
  }
6495
- const ou = "sidebar:state", au = 60 * 60 * 24 * 7, iu = "16rem", su = "18rem", lu = "3rem", cu = "b", Aa = s.createContext(null);
6524
+ const su = "sidebar:state", lu = 60 * 60 * 24 * 7, cu = "16rem", du = "18rem", uu = "3rem", fu = "b", Oa = s.createContext(null);
6496
6525
  function tn() {
6497
- const e = s.useContext(Aa);
6526
+ const e = s.useContext(Oa);
6498
6527
  if (!e)
6499
6528
  throw new Error("useSidebar must be used within a SidebarProvider.");
6500
6529
  return e;
6501
6530
  }
6502
- const Oa = s.forwardRef(
6531
+ const Ma = s.forwardRef(
6503
6532
  ({
6504
6533
  defaultOpen: e = !0,
6505
6534
  open: t,
@@ -6509,16 +6538,16 @@ const Oa = s.forwardRef(
6509
6538
  children: a,
6510
6539
  ...i
6511
6540
  }, l) => {
6512
- const d = ru(), [c, f] = s.useState(!1), [m, v] = s.useState(e), g = t ?? m, y = s.useCallback(
6541
+ const d = iu(), [c, f] = s.useState(!1), [m, v] = s.useState(e), g = t ?? m, y = s.useCallback(
6513
6542
  (w) => {
6514
6543
  const x = typeof w == "function" ? w(g) : w;
6515
- n ? n(x) : v(x), document.cookie = `${ou}=${x}; path=/; max-age=${au}`;
6544
+ n ? n(x) : v(x), document.cookie = `${su}=${x}; path=/; max-age=${lu}`;
6516
6545
  },
6517
6546
  [n, g]
6518
6547
  ), p = s.useCallback(() => d ? f((w) => !w) : y((w) => !w), [d, y, f]);
6519
6548
  s.useEffect(() => {
6520
6549
  const w = (x) => {
6521
- x.key === cu && (x.metaKey || x.ctrlKey) && (x.preventDefault(), p());
6550
+ x.key === fu && (x.metaKey || x.ctrlKey) && (x.preventDefault(), p());
6522
6551
  };
6523
6552
  return window.addEventListener("keydown", w), () => window.removeEventListener("keydown", w);
6524
6553
  }, [p]);
@@ -6534,12 +6563,12 @@ const Oa = s.forwardRef(
6534
6563
  }),
6535
6564
  [h, g, y, d, c, f, p]
6536
6565
  );
6537
- return /* @__PURE__ */ u(Aa.Provider, { value: b, children: /* @__PURE__ */ u(st, { delayDuration: 0, children: /* @__PURE__ */ u(
6566
+ return /* @__PURE__ */ u(Oa.Provider, { value: b, children: /* @__PURE__ */ u(st, { delayDuration: 0, children: /* @__PURE__ */ u(
6538
6567
  "div",
6539
6568
  {
6540
6569
  style: {
6541
- "--sidebar-width": iu,
6542
- "--sidebar-width-icon": lu,
6570
+ "--sidebar-width": cu,
6571
+ "--sidebar-width-icon": uu,
6543
6572
  ...o
6544
6573
  },
6545
6574
  className: M(
@@ -6553,8 +6582,8 @@ const Oa = s.forwardRef(
6553
6582
  ) }) });
6554
6583
  }
6555
6584
  );
6556
- Oa.displayName = "SidebarProvider";
6557
- const Ma = s.forwardRef(
6585
+ Ma.displayName = "SidebarProvider";
6586
+ const ka = s.forwardRef(
6558
6587
  ({
6559
6588
  side: e = "left",
6560
6589
  variant: t = "sidebar",
@@ -6575,14 +6604,14 @@ const Ma = s.forwardRef(
6575
6604
  ...a,
6576
6605
  children: o
6577
6606
  }
6578
- ) : l ? /* @__PURE__ */ u(qd, { open: c, onOpenChange: f, ...a, children: /* @__PURE__ */ u(
6607
+ ) : l ? /* @__PURE__ */ u(Zd, { open: c, onOpenChange: f, ...a, children: /* @__PURE__ */ u(
6579
6608
  Pa,
6580
6609
  {
6581
6610
  "data-sidebar": "sidebar",
6582
6611
  "data-mobile": "true",
6583
6612
  className: "w-(--sidebar-width) bg-sidebar p-0 text-sidebar-foreground [&>button]:hidden",
6584
6613
  style: {
6585
- "--sidebar-width": su
6614
+ "--sidebar-width": du
6586
6615
  },
6587
6616
  side: e,
6588
6617
  children: /* @__PURE__ */ u("div", { className: "flex h-full w-full flex-col", children: o })
@@ -6634,8 +6663,8 @@ const Ma = s.forwardRef(
6634
6663
  );
6635
6664
  }
6636
6665
  );
6637
- Ma.displayName = "Sidebar";
6638
- const ka = s.forwardRef(({ className: e, onClick: t, ...n }, r) => {
6666
+ ka.displayName = "Sidebar";
6667
+ const Da = s.forwardRef(({ className: e, onClick: t, ...n }, r) => {
6639
6668
  const { toggleSidebar: o } = tn();
6640
6669
  return /* @__PURE__ */ I(
6641
6670
  ve,
@@ -6650,14 +6679,14 @@ const ka = s.forwardRef(({ className: e, onClick: t, ...n }, r) => {
6650
6679
  },
6651
6680
  ...n,
6652
6681
  children: [
6653
- /* @__PURE__ */ u(Xi, {}),
6682
+ /* @__PURE__ */ u(qi, {}),
6654
6683
  /* @__PURE__ */ u("span", { className: "sr-only", children: "Toggle Sidebar" })
6655
6684
  ]
6656
6685
  }
6657
6686
  );
6658
6687
  });
6659
- ka.displayName = "SidebarTrigger";
6660
- const du = s.forwardRef(({ className: e, ...t }, n) => {
6688
+ Da.displayName = "SidebarTrigger";
6689
+ const pu = s.forwardRef(({ className: e, ...t }, n) => {
6661
6690
  const { toggleSidebar: r } = tn();
6662
6691
  return /* @__PURE__ */ u(
6663
6692
  "button",
@@ -6681,8 +6710,8 @@ const du = s.forwardRef(({ className: e, ...t }, n) => {
6681
6710
  }
6682
6711
  );
6683
6712
  });
6684
- du.displayName = "SidebarRail";
6685
- const uu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6713
+ pu.displayName = "SidebarRail";
6714
+ const mu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6686
6715
  "main",
6687
6716
  {
6688
6717
  ref: n,
@@ -6694,8 +6723,8 @@ const uu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6694
6723
  ...t
6695
6724
  }
6696
6725
  ));
6697
- uu.displayName = "SidebarInset";
6698
- const fu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6726
+ mu.displayName = "SidebarInset";
6727
+ const hu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6699
6728
  ar,
6700
6729
  {
6701
6730
  ref: n,
@@ -6707,8 +6736,8 @@ const fu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6707
6736
  ...t
6708
6737
  }
6709
6738
  ));
6710
- fu.displayName = "SidebarInput";
6711
- const Da = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6739
+ hu.displayName = "SidebarInput";
6740
+ const _a = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6712
6741
  "div",
6713
6742
  {
6714
6743
  ref: n,
@@ -6717,8 +6746,8 @@ const Da = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6717
6746
  ...t
6718
6747
  }
6719
6748
  ));
6720
- Da.displayName = "SidebarHeader";
6721
- const _a = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6749
+ _a.displayName = "SidebarHeader";
6750
+ const Ia = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6722
6751
  "div",
6723
6752
  {
6724
6753
  ref: n,
@@ -6727,8 +6756,8 @@ const _a = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6727
6756
  ...t
6728
6757
  }
6729
6758
  ));
6730
- _a.displayName = "SidebarFooter";
6731
- const pu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6759
+ Ia.displayName = "SidebarFooter";
6760
+ const gu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6732
6761
  Ra,
6733
6762
  {
6734
6763
  ref: n,
@@ -6737,8 +6766,8 @@ const pu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6737
6766
  ...t
6738
6767
  }
6739
6768
  ));
6740
- pu.displayName = "SidebarSeparator";
6741
- const Ia = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6769
+ gu.displayName = "SidebarSeparator";
6770
+ const La = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6742
6771
  "div",
6743
6772
  {
6744
6773
  ref: n,
@@ -6750,8 +6779,8 @@ const Ia = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6750
6779
  ...t
6751
6780
  }
6752
6781
  ));
6753
- Ia.displayName = "SidebarContent";
6754
- const mu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6782
+ La.displayName = "SidebarContent";
6783
+ const vu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6755
6784
  "div",
6756
6785
  {
6757
6786
  ref: n,
@@ -6760,8 +6789,8 @@ const mu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6760
6789
  ...t
6761
6790
  }
6762
6791
  ));
6763
- mu.displayName = "SidebarGroup";
6764
- const hu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PURE__ */ u(
6792
+ vu.displayName = "SidebarGroup";
6793
+ const bu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PURE__ */ u(
6765
6794
  t ? de : "div",
6766
6795
  {
6767
6796
  ref: r,
@@ -6774,8 +6803,8 @@ const hu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PU
6774
6803
  ...n
6775
6804
  }
6776
6805
  ));
6777
- hu.displayName = "SidebarGroupLabel";
6778
- const gu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PURE__ */ u(
6806
+ bu.displayName = "SidebarGroupLabel";
6807
+ const yu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PURE__ */ u(
6779
6808
  t ? de : "button",
6780
6809
  {
6781
6810
  ref: r,
@@ -6790,8 +6819,8 @@ const gu = s.forwardRef(({ className: e, asChild: t = !1, ...n }, r) => /* @__PU
6790
6819
  ...n
6791
6820
  }
6792
6821
  ));
6793
- gu.displayName = "SidebarGroupAction";
6794
- const vu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6822
+ yu.displayName = "SidebarGroupAction";
6823
+ const wu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6795
6824
  "div",
6796
6825
  {
6797
6826
  ref: n,
@@ -6800,8 +6829,8 @@ const vu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6800
6829
  ...t
6801
6830
  }
6802
6831
  ));
6803
- vu.displayName = "SidebarGroupContent";
6804
- const La = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6832
+ wu.displayName = "SidebarGroupContent";
6833
+ const Fa = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6805
6834
  "ul",
6806
6835
  {
6807
6836
  ref: n,
@@ -6810,8 +6839,8 @@ const La = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6810
6839
  ...t
6811
6840
  }
6812
6841
  ));
6813
- La.displayName = "SidebarMenu";
6814
- const Fa = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6842
+ Fa.displayName = "SidebarMenu";
6843
+ const $a = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6815
6844
  "li",
6816
6845
  {
6817
6846
  ref: n,
@@ -6820,8 +6849,8 @@ const Fa = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6820
6849
  ...t
6821
6850
  }
6822
6851
  ));
6823
- Fa.displayName = "SidebarMenuItem";
6824
- const bu = Kt(
6852
+ $a.displayName = "SidebarMenuItem";
6853
+ const xu = Kt(
6825
6854
  "peer/menu-button flex w-full items-center gap-2 overflow-hidden rounded-md p-2 text-left text-sm outline-hidden ring-sidebar-ring transition-[width,height,padding] hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 group-has-data-[sidebar=menu-action]/menu-item:pr-8 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-[active=true]:bg-sidebar-accent data-[active=true]:font-medium data-[active=true]:text-sidebar-accent-foreground data-[state=open]:hover:bg-sidebar-accent data-[state=open]:hover:text-sidebar-accent-foreground group-data-[collapsible=icon]:size-8! group-data-[collapsible=icon]:p-2! [&>span:last-child]:truncate [&>svg]:size-4 [&>svg]:shrink-0",
6826
6855
  {
6827
6856
  variants: {
@@ -6840,7 +6869,7 @@ const bu = Kt(
6840
6869
  size: "default"
6841
6870
  }
6842
6871
  }
6843
- ), $a = s.forwardRef(
6872
+ ), za = s.forwardRef(
6844
6873
  ({
6845
6874
  asChild: e = !1,
6846
6875
  isActive: t = !1,
@@ -6857,7 +6886,7 @@ const bu = Kt(
6857
6886
  "data-sidebar": "menu-button",
6858
6887
  "data-size": r,
6859
6888
  "data-active": t,
6860
- className: M(bu({ variant: n, size: r }), a),
6889
+ className: M(xu({ variant: n, size: r }), a),
6861
6890
  ...i
6862
6891
  }
6863
6892
  );
@@ -6877,8 +6906,8 @@ const bu = Kt(
6877
6906
  ] })) : m;
6878
6907
  }
6879
6908
  );
6880
- $a.displayName = "SidebarMenuButton";
6881
- const yu = s.forwardRef(({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }, o) => /* @__PURE__ */ u(
6909
+ za.displayName = "SidebarMenuButton";
6910
+ const Eu = s.forwardRef(({ className: e, asChild: t = !1, showOnHover: n = !1, ...r }, o) => /* @__PURE__ */ u(
6882
6911
  t ? de : "button",
6883
6912
  {
6884
6913
  ref: o,
@@ -6897,8 +6926,8 @@ const yu = s.forwardRef(({ className: e, asChild: t = !1, showOnHover: n = !1, .
6897
6926
  ...r
6898
6927
  }
6899
6928
  ));
6900
- yu.displayName = "SidebarMenuAction";
6901
- const wu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6929
+ Eu.displayName = "SidebarMenuAction";
6930
+ const Cu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6902
6931
  "div",
6903
6932
  {
6904
6933
  ref: n,
@@ -6915,8 +6944,8 @@ const wu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6915
6944
  ...t
6916
6945
  }
6917
6946
  ));
6918
- wu.displayName = "SidebarMenuBadge";
6919
- const xu = s.forwardRef(({ className: e, showIcon: t = !1, ...n }, r) => {
6947
+ Cu.displayName = "SidebarMenuBadge";
6948
+ const Su = s.forwardRef(({ className: e, showIcon: t = !1, ...n }, r) => {
6920
6949
  const o = s.useMemo(() => `${Math.floor(Math.random() * 40) + 50}%`, []);
6921
6950
  return /* @__PURE__ */ I(
6922
6951
  "div",
@@ -6947,8 +6976,8 @@ const xu = s.forwardRef(({ className: e, showIcon: t = !1, ...n }, r) => {
6947
6976
  }
6948
6977
  );
6949
6978
  });
6950
- xu.displayName = "SidebarMenuSkeleton";
6951
- const Cu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6979
+ Su.displayName = "SidebarMenuSkeleton";
6980
+ const Tu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6952
6981
  "ul",
6953
6982
  {
6954
6983
  ref: n,
@@ -6961,10 +6990,10 @@ const Cu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
6961
6990
  ...t
6962
6991
  }
6963
6992
  ));
6964
- Cu.displayName = "SidebarMenuSub";
6965
- const Eu = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ u("li", { ref: t, ...e }));
6966
- Eu.displayName = "SidebarMenuSubItem";
6967
- const Su = s.forwardRef(({ asChild: e = !1, size: t = "md", isActive: n, className: r, ...o }, a) => /* @__PURE__ */ u(
6993
+ Tu.displayName = "SidebarMenuSub";
6994
+ const Ru = s.forwardRef(({ ...e }, t) => /* @__PURE__ */ u("li", { ref: t, ...e }));
6995
+ Ru.displayName = "SidebarMenuSubItem";
6996
+ const Nu = s.forwardRef(({ asChild: e = !1, size: t = "md", isActive: n, className: r, ...o }, a) => /* @__PURE__ */ u(
6968
6997
  e ? de : "a",
6969
6998
  {
6970
6999
  ref: a,
@@ -6982,8 +7011,8 @@ const Su = s.forwardRef(({ asChild: e = !1, size: t = "md", isActive: n, classNa
6982
7011
  ...o
6983
7012
  }
6984
7013
  ));
6985
- Su.displayName = "SidebarMenuSubButton";
6986
- function Tu(e) {
7014
+ Nu.displayName = "SidebarMenuSubButton";
7015
+ function Pu(e) {
6987
7016
  const t = e + "CollectionProvider", [n, r] = pt(t), [o, a] = n(
6988
7017
  t,
6989
7018
  { collectionRef: { current: null }, itemMap: /* @__PURE__ */ new Map() }
@@ -7001,8 +7030,8 @@ function Tu(e) {
7001
7030
  d.displayName = l;
7002
7031
  const c = e + "CollectionItemSlot", f = "data-radix-collection-item", m = $e.forwardRef(
7003
7032
  (g, y) => {
7004
- const { scope: p, children: h, ...b } = g, w = $e.useRef(null), x = ee(y, w), C = a(c, p);
7005
- return $e.useEffect(() => (C.itemMap.set(w, { ref: w, ...b }), () => void C.itemMap.delete(w))), /* @__PURE__ */ u(de, { [f]: "", ref: x, children: h });
7033
+ const { scope: p, children: h, ...b } = g, w = $e.useRef(null), x = ee(y, w), E = a(c, p);
7034
+ return $e.useEffect(() => (E.itemMap.set(w, { ref: w, ...b }), () => void E.itemMap.delete(w))), /* @__PURE__ */ u(de, { [f]: "", ref: x, children: h });
7006
7035
  }
7007
7036
  );
7008
7037
  m.displayName = c;
@@ -7013,7 +7042,7 @@ function Tu(e) {
7013
7042
  if (!h) return [];
7014
7043
  const b = Array.from(h.querySelectorAll(`[${f}]`));
7015
7044
  return Array.from(y.itemMap.values()).sort(
7016
- (C, S) => b.indexOf(C.ref.current) - b.indexOf(S.ref.current)
7045
+ (E, S) => b.indexOf(E.ref.current) - b.indexOf(S.ref.current)
7017
7046
  );
7018
7047
  }, [y.collectionRef, y.itemMap]);
7019
7048
  }
@@ -7023,7 +7052,7 @@ function Tu(e) {
7023
7052
  r
7024
7053
  ];
7025
7054
  }
7026
- var ir = "ToastProvider", [sr, Ru, Nu] = Tu("Toast"), [za, vf] = pt("Toast", [Nu]), [Pu, nn] = za(ir), Wa = (e) => {
7055
+ var ir = "ToastProvider", [sr, Au, Ou] = Pu("Toast"), [Wa, xf] = pt("Toast", [Ou]), [Mu, nn] = Wa(ir), Ba = (e) => {
7027
7056
  const {
7028
7057
  __scopeToast: t,
7029
7058
  label: n = "Notification",
@@ -7035,7 +7064,7 @@ var ir = "ToastProvider", [sr, Ru, Nu] = Tu("Toast"), [za, vf] = pt("Toast", [Nu
7035
7064
  return n.trim() || console.error(
7036
7065
  `Invalid prop \`label\` supplied to \`${ir}\`. Expected non-empty \`string\`.`
7037
7066
  ), /* @__PURE__ */ u(sr.Provider, { scope: t, children: /* @__PURE__ */ u(
7038
- Pu,
7067
+ Mu,
7039
7068
  {
7040
7069
  scope: t,
7041
7070
  label: n,
@@ -7053,19 +7082,19 @@ var ir = "ToastProvider", [sr, Ru, Nu] = Tu("Toast"), [za, vf] = pt("Toast", [Nu
7053
7082
  }
7054
7083
  ) });
7055
7084
  };
7056
- Wa.displayName = ir;
7057
- var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.viewportResume", Va = s.forwardRef(
7085
+ Ba.displayName = ir;
7086
+ var Va = "ToastViewport", ku = ["F8"], kn = "toast.viewportPause", Dn = "toast.viewportResume", Ha = s.forwardRef(
7058
7087
  (e, t) => {
7059
7088
  const {
7060
7089
  __scopeToast: n,
7061
- hotkey: r = Au,
7090
+ hotkey: r = ku,
7062
7091
  label: o = "Notifications ({hotkey})",
7063
7092
  ...a
7064
- } = e, i = nn(Ba, n), l = Ru(n), d = s.useRef(null), c = s.useRef(null), f = s.useRef(null), m = s.useRef(null), v = ee(t, m, i.onViewportChange), g = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), y = i.toastCount > 0;
7093
+ } = e, i = nn(Va, n), l = Au(n), d = s.useRef(null), c = s.useRef(null), f = s.useRef(null), m = s.useRef(null), v = ee(t, m, i.onViewportChange), g = r.join("+").replace(/Key/g, "").replace(/Digit/g, ""), y = i.toastCount > 0;
7065
7094
  s.useEffect(() => {
7066
7095
  const h = (b) => {
7067
7096
  var x;
7068
- r.length !== 0 && r.every((C) => b[C] || b.code === C) && ((x = m.current) == null || x.focus());
7097
+ r.length !== 0 && r.every((E) => b[E] || b.code === E) && ((x = m.current) == null || x.focus());
7069
7098
  };
7070
7099
  return document.addEventListener("keydown", h), () => document.removeEventListener("keydown", h);
7071
7100
  }, [r]), s.useEffect(() => {
@@ -7073,28 +7102,28 @@ var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.v
7073
7102
  if (y && h && b) {
7074
7103
  const w = () => {
7075
7104
  if (!i.isClosePausedRef.current) {
7076
- const E = new CustomEvent(kn);
7077
- b.dispatchEvent(E), i.isClosePausedRef.current = !0;
7105
+ const C = new CustomEvent(kn);
7106
+ b.dispatchEvent(C), i.isClosePausedRef.current = !0;
7078
7107
  }
7079
7108
  }, x = () => {
7080
7109
  if (i.isClosePausedRef.current) {
7081
- const E = new CustomEvent(Dn);
7082
- b.dispatchEvent(E), i.isClosePausedRef.current = !1;
7110
+ const C = new CustomEvent(Dn);
7111
+ b.dispatchEvent(C), i.isClosePausedRef.current = !1;
7083
7112
  }
7084
- }, C = (E) => {
7085
- !h.contains(E.relatedTarget) && x();
7113
+ }, E = (C) => {
7114
+ !h.contains(C.relatedTarget) && x();
7086
7115
  }, S = () => {
7087
7116
  h.contains(document.activeElement) || x();
7088
7117
  };
7089
- return h.addEventListener("focusin", w), h.addEventListener("focusout", C), h.addEventListener("pointermove", w), h.addEventListener("pointerleave", S), window.addEventListener("blur", w), window.addEventListener("focus", x), () => {
7090
- h.removeEventListener("focusin", w), h.removeEventListener("focusout", C), h.removeEventListener("pointermove", w), h.removeEventListener("pointerleave", S), window.removeEventListener("blur", w), window.removeEventListener("focus", x);
7118
+ return h.addEventListener("focusin", w), h.addEventListener("focusout", E), h.addEventListener("pointermove", w), h.addEventListener("pointerleave", S), window.addEventListener("blur", w), window.addEventListener("focus", x), () => {
7119
+ h.removeEventListener("focusin", w), h.removeEventListener("focusout", E), h.removeEventListener("pointermove", w), h.removeEventListener("pointerleave", S), window.removeEventListener("blur", w), window.removeEventListener("focus", x);
7091
7120
  };
7092
7121
  }
7093
7122
  }, [y, i.isClosePausedRef]);
7094
7123
  const p = s.useCallback(
7095
7124
  ({ tabbingDirection: h }) => {
7096
7125
  const w = l().map((x) => {
7097
- const C = x.ref.current, S = [C, ...Vu(C)];
7126
+ const E = x.ref.current, S = [E, ...Gu(E)];
7098
7127
  return h === "forwards" ? S : S.reverse();
7099
7128
  });
7100
7129
  return (h === "forwards" ? w.reverse() : w).flat();
@@ -7105,7 +7134,7 @@ var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.v
7105
7134
  const h = m.current;
7106
7135
  if (h) {
7107
7136
  const b = (w) => {
7108
- var S, E, T;
7137
+ var S, C, T;
7109
7138
  const x = w.altKey || w.ctrlKey || w.metaKey;
7110
7139
  if (w.key === "Tab" && !x) {
7111
7140
  const $ = document.activeElement, D = w.shiftKey;
@@ -7114,13 +7143,13 @@ var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.v
7114
7143
  return;
7115
7144
  }
7116
7145
  const W = p({ tabbingDirection: D ? "backwards" : "forwards" }), k = W.findIndex((R) => R === $);
7117
- vn(W.slice(k + 1)) ? w.preventDefault() : D ? (E = c.current) == null || E.focus() : (T = f.current) == null || T.focus();
7146
+ vn(W.slice(k + 1)) ? w.preventDefault() : D ? (C = c.current) == null || C.focus() : (T = f.current) == null || T.focus();
7118
7147
  }
7119
7148
  };
7120
7149
  return h.addEventListener("keydown", b), () => h.removeEventListener("keydown", b);
7121
7150
  }
7122
7151
  }, [l, p]), /* @__PURE__ */ I(
7123
- sl,
7152
+ ll,
7124
7153
  {
7125
7154
  ref: d,
7126
7155
  role: "region",
@@ -7140,7 +7169,7 @@ var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.v
7140
7169
  }
7141
7170
  }
7142
7171
  ),
7143
- /* @__PURE__ */ u(sr.Slot, { scope: n, children: /* @__PURE__ */ u(Y.ol, { tabIndex: -1, ...a, ref: v }) }),
7172
+ /* @__PURE__ */ u(sr.Slot, { scope: n, children: /* @__PURE__ */ u(K.ol, { tabIndex: -1, ...a, ref: v }) }),
7144
7173
  y && /* @__PURE__ */ u(
7145
7174
  _n,
7146
7175
  {
@@ -7158,10 +7187,10 @@ var Ba = "ToastViewport", Au = ["F8"], kn = "toast.viewportPause", Dn = "toast.v
7158
7187
  );
7159
7188
  }
7160
7189
  );
7161
- Va.displayName = Ba;
7162
- var Ha = "ToastFocusProxy", _n = s.forwardRef(
7190
+ Ha.displayName = Va;
7191
+ var ja = "ToastFocusProxy", _n = s.forwardRef(
7163
7192
  (e, t) => {
7164
- const { __scopeToast: n, onFocusFromOutsideViewport: r, ...o } = e, a = nn(Ha, n);
7193
+ const { __scopeToast: n, onFocusFromOutsideViewport: r, ...o } = e, a = nn(ja, n);
7165
7194
  return /* @__PURE__ */ u(
7166
7195
  Zt,
7167
7196
  {
@@ -7179,8 +7208,8 @@ var Ha = "ToastFocusProxy", _n = s.forwardRef(
7179
7208
  );
7180
7209
  }
7181
7210
  );
7182
- _n.displayName = Ha;
7183
- var rn = "Toast", Ou = "toast.swipeStart", Mu = "toast.swipeMove", ku = "toast.swipeCancel", Du = "toast.swipeEnd", ja = s.forwardRef(
7211
+ _n.displayName = ja;
7212
+ var rn = "Toast", Du = "toast.swipeStart", _u = "toast.swipeMove", Iu = "toast.swipeCancel", Lu = "toast.swipeEnd", Ga = s.forwardRef(
7184
7213
  (e, t) => {
7185
7214
  const { forceMount: n, open: r, defaultOpen: o, onOpenChange: a, ...i } = e, [l = !0, d] = Wn({
7186
7215
  prop: r,
@@ -7188,7 +7217,7 @@ var rn = "Toast", Ou = "toast.swipeStart", Mu = "toast.swipeMove", ku = "toast.s
7188
7217
  onChange: a
7189
7218
  });
7190
7219
  return /* @__PURE__ */ u(He, { present: n || l, children: /* @__PURE__ */ u(
7191
- Lu,
7220
+ zu,
7192
7221
  {
7193
7222
  open: l,
7194
7223
  ...i,
@@ -7214,11 +7243,11 @@ var rn = "Toast", Ou = "toast.swipeStart", Mu = "toast.swipeMove", ku = "toast.s
7214
7243
  ) });
7215
7244
  }
7216
7245
  );
7217
- ja.displayName = rn;
7218
- var [_u, Iu] = za(rn, {
7246
+ Ga.displayName = rn;
7247
+ var [Fu, $u] = Wa(rn, {
7219
7248
  onClose() {
7220
7249
  }
7221
- }), Lu = s.forwardRef(
7250
+ }), zu = s.forwardRef(
7222
7251
  (e, t) => {
7223
7252
  const {
7224
7253
  __scopeToast: n,
@@ -7234,12 +7263,12 @@ var [_u, Iu] = za(rn, {
7234
7263
  onSwipeCancel: v,
7235
7264
  onSwipeEnd: g,
7236
7265
  ...y
7237
- } = e, p = nn(rn, n), [h, b] = s.useState(null), w = ee(t, (R) => b(R)), x = s.useRef(null), C = s.useRef(null), S = o || p.duration, E = s.useRef(0), T = s.useRef(S), $ = s.useRef(0), { onToastAdd: D, onToastRemove: z } = p, H = le(() => {
7266
+ } = e, p = nn(rn, n), [h, b] = s.useState(null), w = ee(t, (R) => b(R)), x = s.useRef(null), E = s.useRef(null), S = o || p.duration, C = s.useRef(0), T = s.useRef(S), $ = s.useRef(0), { onToastAdd: D, onToastRemove: z } = p, H = le(() => {
7238
7267
  var B;
7239
7268
  (h == null ? void 0 : h.contains(document.activeElement)) && ((B = p.viewport) == null || B.focus()), i();
7240
7269
  }), W = s.useCallback(
7241
7270
  (R) => {
7242
- !R || R === 1 / 0 || (window.clearTimeout($.current), E.current = (/* @__PURE__ */ new Date()).getTime(), $.current = window.setTimeout(H, R));
7271
+ !R || R === 1 / 0 || (window.clearTimeout($.current), C.current = (/* @__PURE__ */ new Date()).getTime(), $.current = window.setTimeout(H, R));
7243
7272
  },
7244
7273
  [H]
7245
7274
  );
@@ -7249,7 +7278,7 @@ var [_u, Iu] = za(rn, {
7249
7278
  const B = () => {
7250
7279
  W(T.current), c == null || c();
7251
7280
  }, A = () => {
7252
- const j = (/* @__PURE__ */ new Date()).getTime() - E.current;
7281
+ const j = (/* @__PURE__ */ new Date()).getTime() - C.current;
7253
7282
  T.current = T.current - j, window.clearTimeout($.current), d == null || d();
7254
7283
  };
7255
7284
  return R.addEventListener(kn, A), R.addEventListener(Dn, B), () => {
@@ -7259,10 +7288,10 @@ var [_u, Iu] = za(rn, {
7259
7288
  }, [p.viewport, S, d, c, W]), s.useEffect(() => {
7260
7289
  a && !p.isClosePausedRef.current && W(S);
7261
7290
  }, [a, S, p.isClosePausedRef, W]), s.useEffect(() => (D(), () => z()), [D, z]);
7262
- const k = s.useMemo(() => h ? Za(h) : null, [h]);
7291
+ const k = s.useMemo(() => h ? Qa(h) : null, [h]);
7263
7292
  return p.viewport ? /* @__PURE__ */ I(Ae, { children: [
7264
7293
  k && /* @__PURE__ */ u(
7265
- Fu,
7294
+ Wu,
7266
7295
  {
7267
7296
  __scopeToast: n,
7268
7297
  role: "status",
@@ -7271,16 +7300,16 @@ var [_u, Iu] = za(rn, {
7271
7300
  children: k
7272
7301
  }
7273
7302
  ),
7274
- /* @__PURE__ */ u(_u, { scope: n, onClose: H, children: Ln.createPortal(
7303
+ /* @__PURE__ */ u(Fu, { scope: n, onClose: H, children: Ln.createPortal(
7275
7304
  /* @__PURE__ */ u(sr.ItemSlot, { scope: n, children: /* @__PURE__ */ u(
7276
- il,
7305
+ sl,
7277
7306
  {
7278
7307
  asChild: !0,
7279
7308
  onEscapeKeyDown: U(l, () => {
7280
7309
  p.isFocusedToastEscapeKeyDownRef.current || H(), p.isFocusedToastEscapeKeyDownRef.current = !1;
7281
7310
  }),
7282
7311
  children: /* @__PURE__ */ u(
7283
- Y.li,
7312
+ K.li,
7284
7313
  {
7285
7314
  role: "status",
7286
7315
  "aria-live": "off",
@@ -7299,21 +7328,21 @@ var [_u, Iu] = za(rn, {
7299
7328
  }),
7300
7329
  onPointerMove: U(e.onPointerMove, (R) => {
7301
7330
  if (!x.current) return;
7302
- const B = R.clientX - x.current.x, A = R.clientY - x.current.y, j = !!C.current, O = ["left", "right"].includes(p.swipeDirection), L = ["left", "up"].includes(p.swipeDirection) ? Math.min : Math.max, K = O ? L(0, B) : 0, q = O ? 0 : L(0, A), te = R.pointerType === "touch" ? 10 : 2, Q = { x: K, y: q }, J = { originalEvent: R, delta: Q };
7303
- j ? (C.current = Q, Rt(Mu, m, J, {
7331
+ const B = R.clientX - x.current.x, A = R.clientY - x.current.y, j = !!E.current, O = ["left", "right"].includes(p.swipeDirection), L = ["left", "up"].includes(p.swipeDirection) ? Math.min : Math.max, Y = O ? L(0, B) : 0, q = O ? 0 : L(0, A), te = R.pointerType === "touch" ? 10 : 2, Q = { x: Y, y: q }, J = { originalEvent: R, delta: Q };
7332
+ j ? (E.current = Q, Rt(_u, m, J, {
7304
7333
  discrete: !1
7305
- })) : Vr(Q, p.swipeDirection, te) ? (C.current = Q, Rt(Ou, f, J, {
7334
+ })) : Vr(Q, p.swipeDirection, te) ? (E.current = Q, Rt(Du, f, J, {
7306
7335
  discrete: !1
7307
7336
  }), R.target.setPointerCapture(R.pointerId)) : (Math.abs(B) > te || Math.abs(A) > te) && (x.current = null);
7308
7337
  }),
7309
7338
  onPointerUp: U(e.onPointerUp, (R) => {
7310
- const B = C.current, A = R.target;
7311
- if (A.hasPointerCapture(R.pointerId) && A.releasePointerCapture(R.pointerId), C.current = null, x.current = null, B) {
7339
+ const B = E.current, A = R.target;
7340
+ if (A.hasPointerCapture(R.pointerId) && A.releasePointerCapture(R.pointerId), E.current = null, x.current = null, B) {
7312
7341
  const j = R.currentTarget, O = { originalEvent: R, delta: B };
7313
- Vr(B, p.swipeDirection, p.swipeThreshold) ? Rt(Du, g, O, {
7342
+ Vr(B, p.swipeDirection, p.swipeThreshold) ? Rt(Lu, g, O, {
7314
7343
  discrete: !0
7315
7344
  }) : Rt(
7316
- ku,
7345
+ Iu,
7317
7346
  v,
7318
7347
  O,
7319
7348
  {
@@ -7332,9 +7361,9 @@ var [_u, Iu] = za(rn, {
7332
7361
  ) })
7333
7362
  ] }) : null;
7334
7363
  }
7335
- ), Fu = (e) => {
7364
+ ), Wu = (e) => {
7336
7365
  const { __scopeToast: t, children: n, ...r } = e, o = nn(rn, t), [a, i] = s.useState(!1), [l, d] = s.useState(!1);
7337
- return Wu(() => i(!0)), s.useEffect(() => {
7366
+ return Hu(() => i(!0)), s.useEffect(() => {
7338
7367
  const c = window.setTimeout(() => d(!0), 1e3);
7339
7368
  return () => window.clearTimeout(c);
7340
7369
  }, []), l ? null : /* @__PURE__ */ u(Wt, { asChild: !0, children: /* @__PURE__ */ u(Zt, { ...r, children: a && /* @__PURE__ */ I(Ae, { children: [
@@ -7342,34 +7371,34 @@ var [_u, Iu] = za(rn, {
7342
7371
  " ",
7343
7372
  n
7344
7373
  ] }) }) });
7345
- }, $u = "ToastTitle", Ga = s.forwardRef(
7374
+ }, Bu = "ToastTitle", Ua = s.forwardRef(
7346
7375
  (e, t) => {
7347
7376
  const { __scopeToast: n, ...r } = e;
7348
- return /* @__PURE__ */ u(Y.div, { ...r, ref: t });
7377
+ return /* @__PURE__ */ u(K.div, { ...r, ref: t });
7349
7378
  }
7350
7379
  );
7351
- Ga.displayName = $u;
7352
- var zu = "ToastDescription", Ua = s.forwardRef(
7380
+ Ua.displayName = Bu;
7381
+ var Vu = "ToastDescription", Ka = s.forwardRef(
7353
7382
  (e, t) => {
7354
7383
  const { __scopeToast: n, ...r } = e;
7355
- return /* @__PURE__ */ u(Y.div, { ...r, ref: t });
7384
+ return /* @__PURE__ */ u(K.div, { ...r, ref: t });
7356
7385
  }
7357
7386
  );
7358
- Ua.displayName = zu;
7359
- var Ka = "ToastAction", Ya = s.forwardRef(
7387
+ Ka.displayName = Vu;
7388
+ var Ya = "ToastAction", Xa = s.forwardRef(
7360
7389
  (e, t) => {
7361
7390
  const { altText: n, ...r } = e;
7362
- return n.trim() ? /* @__PURE__ */ u(qa, { altText: n, asChild: !0, children: /* @__PURE__ */ u(lr, { ...r, ref: t }) }) : (console.error(
7363
- `Invalid prop \`altText\` supplied to \`${Ka}\`. Expected non-empty \`string\`.`
7391
+ return n.trim() ? /* @__PURE__ */ u(Za, { altText: n, asChild: !0, children: /* @__PURE__ */ u(lr, { ...r, ref: t }) }) : (console.error(
7392
+ `Invalid prop \`altText\` supplied to \`${Ya}\`. Expected non-empty \`string\`.`
7364
7393
  ), null);
7365
7394
  }
7366
7395
  );
7367
- Ya.displayName = Ka;
7368
- var Xa = "ToastClose", lr = s.forwardRef(
7396
+ Xa.displayName = Ya;
7397
+ var qa = "ToastClose", lr = s.forwardRef(
7369
7398
  (e, t) => {
7370
- const { __scopeToast: n, ...r } = e, o = Iu(Xa, n);
7371
- return /* @__PURE__ */ u(qa, { asChild: !0, children: /* @__PURE__ */ u(
7372
- Y.button,
7399
+ const { __scopeToast: n, ...r } = e, o = $u(qa, n);
7400
+ return /* @__PURE__ */ u(Za, { asChild: !0, children: /* @__PURE__ */ u(
7401
+ K.button,
7373
7402
  {
7374
7403
  type: "button",
7375
7404
  ...r,
@@ -7379,11 +7408,11 @@ var Xa = "ToastClose", lr = s.forwardRef(
7379
7408
  ) });
7380
7409
  }
7381
7410
  );
7382
- lr.displayName = Xa;
7383
- var qa = s.forwardRef((e, t) => {
7411
+ lr.displayName = qa;
7412
+ var Za = s.forwardRef((e, t) => {
7384
7413
  const { __scopeToast: n, altText: r, ...o } = e;
7385
7414
  return /* @__PURE__ */ u(
7386
- Y.div,
7415
+ K.div,
7387
7416
  {
7388
7417
  "data-radix-toast-announce-exclude": "",
7389
7418
  "data-radix-toast-announce-alt": r || void 0,
@@ -7392,17 +7421,17 @@ var qa = s.forwardRef((e, t) => {
7392
7421
  }
7393
7422
  );
7394
7423
  });
7395
- function Za(e) {
7424
+ function Qa(e) {
7396
7425
  const t = [];
7397
7426
  return Array.from(e.childNodes).forEach((r) => {
7398
- if (r.nodeType === r.TEXT_NODE && r.textContent && t.push(r.textContent), Bu(r)) {
7427
+ if (r.nodeType === r.TEXT_NODE && r.textContent && t.push(r.textContent), ju(r)) {
7399
7428
  const o = r.ariaHidden || r.hidden || r.style.display === "none", a = r.dataset.radixToastAnnounceExclude === "";
7400
7429
  if (!o)
7401
7430
  if (a) {
7402
7431
  const i = r.dataset.radixToastAnnounceAlt;
7403
7432
  i && t.push(i);
7404
7433
  } else
7405
- t.push(...Za(r));
7434
+ t.push(...Qa(r));
7406
7435
  }
7407
7436
  }), t;
7408
7437
  }
@@ -7414,7 +7443,7 @@ var Vr = (e, t, n = 0) => {
7414
7443
  const r = Math.abs(e.x), o = Math.abs(e.y), a = r > o;
7415
7444
  return t === "left" || t === "right" ? a && r > n : !a && o > n;
7416
7445
  };
7417
- function Wu(e = () => {
7446
+ function Hu(e = () => {
7418
7447
  }) {
7419
7448
  const t = le(e);
7420
7449
  Oe(() => {
@@ -7424,10 +7453,10 @@ function Wu(e = () => {
7424
7453
  };
7425
7454
  }, [t]);
7426
7455
  }
7427
- function Bu(e) {
7456
+ function ju(e) {
7428
7457
  return e.nodeType === e.ELEMENT_NODE;
7429
7458
  }
7430
- function Vu(e) {
7459
+ function Gu(e) {
7431
7460
  const t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, {
7432
7461
  acceptNode: (r) => {
7433
7462
  const o = r.tagName === "INPUT" && r.type === "hidden";
@@ -7441,9 +7470,9 @@ function vn(e) {
7441
7470
  const t = document.activeElement;
7442
7471
  return e.some((n) => n === t ? !0 : (n.focus(), document.activeElement !== t));
7443
7472
  }
7444
- var Hu = Wa, Qa = Va, Ja = ja, ei = Ga, ti = Ua, ni = Ya, ri = lr;
7445
- const ju = Hu, oi = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7446
- Qa,
7473
+ var Uu = Ba, Ja = Ha, ei = Ga, ti = Ua, ni = Ka, ri = Xa, oi = lr;
7474
+ const Ku = Uu, ai = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7475
+ Ja,
7447
7476
  {
7448
7477
  ref: n,
7449
7478
  className: M(
@@ -7453,8 +7482,8 @@ const ju = Hu, oi = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */
7453
7482
  ...t
7454
7483
  }
7455
7484
  ));
7456
- oi.displayName = Qa.displayName;
7457
- const Gu = Kt(
7485
+ ai.displayName = Ja.displayName;
7486
+ const Yu = Kt(
7458
7487
  "group pointer-events-auto relative flex w-full items-center justify-between space-x-2 overflow-hidden rounded-md border p-4 pr-6 shadow-lg transition-all data-[swipe=cancel]:translate-x-0 data-[swipe=end]:translate-x-[var(--radix-toast-swipe-end-x)] data-[swipe=move]:translate-x-[var(--radix-toast-swipe-move-x)] data-[swipe=move]:transition-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[swipe=end]:animate-out data-[state=closed]:fade-out-80 data-[state=closed]:slide-out-to-right-full data-[state=open]:slide-in-from-top-full sm:data-[state=open]:slide-in-from-bottom-full",
7459
7488
  {
7460
7489
  variants: {
@@ -7472,10 +7501,10 @@ const Gu = Kt(
7472
7501
  variant: "default"
7473
7502
  }
7474
7503
  }
7475
- ), ai = s.forwardRef(({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ u(Ja, { ref: r, className: M(Gu({ variant: t }), e), ...n }));
7476
- ai.displayName = Ja.displayName;
7477
- const Uu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7478
- ni,
7504
+ ), ii = s.forwardRef(({ className: e, variant: t, ...n }, r) => /* @__PURE__ */ u(ei, { ref: r, className: M(Yu({ variant: t }), e), ...n }));
7505
+ ii.displayName = ei.displayName;
7506
+ const Xu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7507
+ ri,
7479
7508
  {
7480
7509
  ref: n,
7481
7510
  className: M(
@@ -7485,9 +7514,9 @@ const Uu = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7485
7514
  ...t
7486
7515
  }
7487
7516
  ));
7488
- Uu.displayName = ni.displayName;
7489
- const ii = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7490
- ri,
7517
+ Xu.displayName = ri.displayName;
7518
+ const si = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7519
+ oi,
7491
7520
  {
7492
7521
  ref: n,
7493
7522
  className: M(
@@ -7499,28 +7528,28 @@ const ii = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(
7499
7528
  children: /* @__PURE__ */ u(Fn, { className: "h-4 w-4" })
7500
7529
  }
7501
7530
  ));
7502
- ii.displayName = ri.displayName;
7503
- const si = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(ei, { ref: n, className: M("text-sm font-semibold [&+div]:text-xs", e), ...t }));
7504
- si.displayName = ei.displayName;
7505
- const li = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(ti, { ref: n, className: M("text-sm opacity-90", e), ...t }));
7531
+ si.displayName = oi.displayName;
7532
+ const li = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(ti, { ref: n, className: M("text-sm font-semibold [&+div]:text-xs", e), ...t }));
7506
7533
  li.displayName = ti.displayName;
7507
- const Ku = 1, Yu = 1e6;
7534
+ const ci = s.forwardRef(({ className: e, ...t }, n) => /* @__PURE__ */ u(ni, { ref: n, className: M("text-sm opacity-90", e), ...t }));
7535
+ ci.displayName = ni.displayName;
7536
+ const qu = 1, Zu = 1e6;
7508
7537
  let bn = 0;
7509
- function Xu() {
7538
+ function Qu() {
7510
7539
  return bn = (bn + 1) % Number.MAX_SAFE_INTEGER, bn.toString();
7511
7540
  }
7512
7541
  const yn = /* @__PURE__ */ new Map(), Hr = (e) => {
7513
7542
  if (yn.has(e)) return;
7514
7543
  const t = setTimeout(() => {
7515
7544
  yn.delete(e), dt({ type: "REMOVE_TOAST", toastId: e });
7516
- }, Yu);
7545
+ }, Zu);
7517
7546
  yn.set(e, t);
7518
- }, qu = (e, t) => {
7547
+ }, Ju = (e, t) => {
7519
7548
  switch (t.type) {
7520
7549
  case "ADD_TOAST":
7521
7550
  return {
7522
7551
  ...e,
7523
- toasts: [t.toast, ...e.toasts].slice(0, Ku)
7552
+ toasts: [t.toast, ...e.toasts].slice(0, qu)
7524
7553
  };
7525
7554
  case "UPDATE_TOAST":
7526
7555
  return {
@@ -7547,10 +7576,10 @@ const yn = /* @__PURE__ */ new Map(), Hr = (e) => {
7547
7576
  }, Mt = [];
7548
7577
  let kt = { toasts: [] };
7549
7578
  function dt(e) {
7550
- kt = qu(kt, e), Mt.forEach((t) => t(kt));
7579
+ kt = Ju(kt, e), Mt.forEach((t) => t(kt));
7551
7580
  }
7552
- function Zu({ ...e }) {
7553
- const t = Xu(), n = (o) => dt({
7581
+ function ef({ ...e }) {
7582
+ const t = Qu(), n = (o) => dt({
7554
7583
  type: "UPDATE_TOAST",
7555
7584
  toast: { ...o, id: t }
7556
7585
  }), r = () => dt({ type: "DISMISS_TOAST", toastId: t });
@@ -7566,35 +7595,35 @@ function Zu({ ...e }) {
7566
7595
  }
7567
7596
  }), { id: t, dismiss: r, update: n };
7568
7597
  }
7569
- function ci() {
7598
+ function di() {
7570
7599
  const [e, t] = s.useState(kt);
7571
7600
  return s.useEffect(() => (Mt.push(t), () => {
7572
7601
  const n = Mt.indexOf(t);
7573
7602
  n > -1 && Mt.splice(n, 1);
7574
7603
  }), []), {
7575
7604
  ...e,
7576
- toast: Zu,
7605
+ toast: ef,
7577
7606
  dismiss: (n) => dt({ type: "DISMISS_TOAST", toastId: n })
7578
7607
  };
7579
7608
  }
7580
- function Qu() {
7581
- const { toasts: e } = ci();
7582
- return /* @__PURE__ */ I(ju, { children: [
7609
+ function tf() {
7610
+ const { toasts: e } = di();
7611
+ return /* @__PURE__ */ I(Ku, { children: [
7583
7612
  e.map(function({ id: t, title: n, description: r, action: o, ...a }) {
7584
- return /* @__PURE__ */ I(ai, { ...a, children: [
7613
+ return /* @__PURE__ */ I(ii, { ...a, children: [
7585
7614
  /* @__PURE__ */ I("div", { className: "grid gap-1", children: [
7586
- n && /* @__PURE__ */ u(si, { children: n }),
7587
- r && /* @__PURE__ */ u(li, { children: r })
7615
+ n && /* @__PURE__ */ u(li, { children: n }),
7616
+ r && /* @__PURE__ */ u(ci, { children: r })
7588
7617
  ] }),
7589
7618
  o,
7590
- /* @__PURE__ */ u(ii, {})
7619
+ /* @__PURE__ */ u(si, {})
7591
7620
  ] }, t);
7592
7621
  }),
7593
- /* @__PURE__ */ u(oi, {})
7622
+ /* @__PURE__ */ u(ai, {})
7594
7623
  ] });
7595
7624
  }
7596
- function Ju({ onSignOut: e, searchResultsRouteName: t, rightMenu: n }) {
7597
- const [r, o] = In(""), a = vi(), { toast: i } = ci(), l = () => {
7625
+ function nf({ onSignOut: e, searchResultsRouteName: t, rightMenu: n }) {
7626
+ const [r, o] = In(""), a = bi(), { toast: i } = di(), l = () => {
7598
7627
  const c = r.trim();
7599
7628
  if (!c || c.length < 2) {
7600
7629
  i({
@@ -7612,7 +7641,7 @@ function Ju({ onSignOut: e, searchResultsRouteName: t, rightMenu: n }) {
7612
7641
  }), o("");
7613
7642
  };
7614
7643
  return /* @__PURE__ */ I("header", { className: "flex h-16 items-center gap-4 border-b sidebar-foreground bg-sidebar px-6 fixed top-0 right-0 z-50 lg:left-64 left-0 border-sidebar-border", children: [
7615
- /* @__PURE__ */ u(ka, { className: "lg:hidden", children: /* @__PURE__ */ u(Gi, { className: "h-6 w-6" }) }),
7644
+ /* @__PURE__ */ u(Da, { className: "lg:hidden", children: /* @__PURE__ */ u(Ui, { className: "h-6 w-6" }) }),
7616
7645
  /* @__PURE__ */ u("div", { className: "flex flex-1 items-center gap-4", children: /* @__PURE__ */ u("div", { className: "relative w-full max-w-sm", children: /* @__PURE__ */ I("div", { children: [
7617
7646
  /* @__PURE__ */ u(
7618
7647
  "button",
@@ -7621,7 +7650,7 @@ function Ju({ onSignOut: e, searchResultsRouteName: t, rightMenu: n }) {
7621
7650
  className: "absolute left-2 top-1/2 -translate-y-1/2",
7622
7651
  onClick: l,
7623
7652
  "aria-label": "Search",
7624
- children: /* @__PURE__ */ u(Ji, { className: "h-4 w-4 text-muted-foreground" })
7653
+ children: /* @__PURE__ */ u(es, { className: "h-4 w-4 text-muted-foreground" })
7625
7654
  }
7626
7655
  ),
7627
7656
  /* @__PURE__ */ u(
@@ -7639,15 +7668,15 @@ function Ju({ onSignOut: e, searchResultsRouteName: t, rightMenu: n }) {
7639
7668
  ] }) }) }),
7640
7669
  n || /* @__PURE__ */ u(Ae, {}),
7641
7670
  e && /* @__PURE__ */ u("div", { className: "flex items-center gap-4", children: /* @__PURE__ */ I(ve, { variant: "ghost", size: "icon", className: "h-9 w-9", onClick: e, children: [
7642
- /* @__PURE__ */ u(Hi, { className: "h-4 w-4 text-sidebar-foreground" }),
7671
+ /* @__PURE__ */ u(ji, { className: "h-4 w-4 text-sidebar-foreground" }),
7643
7672
  /* @__PURE__ */ u("span", { className: "sr-only", children: "Sign out" })
7644
7673
  ] }) })
7645
7674
  ] });
7646
7675
  }
7647
- function ef({ routes: e, footer: t, dashboardTitle: n }) {
7648
- const { appID: r } = bi(), o = e.filter((a) => a.showInNav);
7649
- return /* @__PURE__ */ I(Ma, { className: "border-r border-sidebar-border", children: [
7650
- /* @__PURE__ */ u(Da, { className: "border-b border-sidebar-border px-6 h-16 justify-center bg-sidebar text-sidebar-foreground", children: /* @__PURE__ */ I("div", { className: "flex items-center gap-2", children: [
7676
+ function rf({ routes: e, footer: t, dashboardTitle: n }) {
7677
+ const { appID: r } = yi(), o = e.filter((a) => a.showInNav);
7678
+ return /* @__PURE__ */ I(ka, { className: "border-r border-sidebar-border", children: [
7679
+ /* @__PURE__ */ u(_a, { className: "border-b border-sidebar-border px-6 h-16 justify-center bg-sidebar text-sidebar-foreground", children: /* @__PURE__ */ I("div", { className: "flex items-center gap-2", children: [
7651
7680
  /* @__PURE__ */ u("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ u(
7652
7681
  "img",
7653
7682
  {
@@ -7658,17 +7687,17 @@ function ef({ routes: e, footer: t, dashboardTitle: n }) {
7658
7687
  ) }),
7659
7688
  /* @__PURE__ */ u("span", { className: "font-semibold text-lg", children: n })
7660
7689
  ] }) }),
7661
- /* @__PURE__ */ u(Ia, { className: "py-4 bg-sidebar text-sidebar-foreground", children: /* @__PURE__ */ u(La, { children: o.map((a) => {
7690
+ /* @__PURE__ */ u(La, { className: "py-4 bg-sidebar text-sidebar-foreground", children: /* @__PURE__ */ u(Fa, { children: o.map((a) => {
7662
7691
  const i = a.icon, l = `/${a.path.replace(":appID", r)}`;
7663
- return /* @__PURE__ */ u(Fa, { children: /* @__PURE__ */ u($a, { asChild: !0, children: /* @__PURE__ */ I(yi, { to: l, className: "transition-colors hover:bg-muted px-6", children: [
7692
+ return /* @__PURE__ */ u($a, { children: /* @__PURE__ */ u(za, { asChild: !0, children: /* @__PURE__ */ I(wi, { to: l, className: "transition-colors hover:bg-muted px-6", children: [
7664
7693
  i && /* @__PURE__ */ u(i, { className: "h-4 w-4" }),
7665
7694
  /* @__PURE__ */ u("span", { children: a.label })
7666
7695
  ] }) }) }, a.key);
7667
7696
  }) }) }),
7668
- /* @__PURE__ */ u(_a, { className: "border-t border-sidebar-border p-4 bg-sidebar-background text-sidebar-foreground", children: t })
7697
+ /* @__PURE__ */ u(Ia, { className: "border-t border-sidebar-border p-4 bg-sidebar-background text-sidebar-foreground", children: t })
7669
7698
  ] });
7670
7699
  }
7671
- function bf({
7700
+ function Ef({
7672
7701
  children: e,
7673
7702
  rightMenu: t,
7674
7703
  routes: n,
@@ -7677,9 +7706,9 @@ function bf({
7677
7706
  dashboardTitle: a,
7678
7707
  onSignOut: i
7679
7708
  }) {
7680
- return /* @__PURE__ */ u(Ae, { children: /* @__PURE__ */ u(Oa, { children: /* @__PURE__ */ I("div", { className: "flex grow", children: [
7709
+ return /* @__PURE__ */ u(Ae, { children: /* @__PURE__ */ u(Ma, { children: /* @__PURE__ */ I("div", { className: "flex grow", children: [
7681
7710
  /* @__PURE__ */ u(
7682
- ef,
7711
+ rf,
7683
7712
  {
7684
7713
  routes: n,
7685
7714
  footer: r,
@@ -7688,7 +7717,7 @@ function bf({
7688
7717
  ),
7689
7718
  /* @__PURE__ */ I("div", { className: "flex flex-1 flex-col overflow-hidden", children: [
7690
7719
  /* @__PURE__ */ u(
7691
- Ju,
7720
+ nf,
7692
7721
  {
7693
7722
  onSignOut: i,
7694
7723
  rightMenu: t,
@@ -7696,17 +7725,17 @@ function bf({
7696
7725
  }
7697
7726
  ),
7698
7727
  /* @__PURE__ */ u("main", { className: "flex-1 overflow-auto mt-16", children: e }),
7699
- /* @__PURE__ */ u(Qu, {})
7728
+ /* @__PURE__ */ u(tf, {})
7700
7729
  ] })
7701
7730
  ] }) }) });
7702
7731
  }
7703
- const tf = {
7732
+ const of = {
7704
7733
  sm: 100,
7705
7734
  md: 200,
7706
7735
  lg: 300,
7707
7736
  xl: 400
7708
7737
  };
7709
- function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7738
+ function Cf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7710
7739
  const [o, a] = s.useState(!1), [i, l] = s.useState(!1), [d, c] = s.useState(!1), [f, m] = s.useState(!1), v = `https://api.randmar.io/Product/${e}/Video`;
7711
7740
  s.useEffect(() => {
7712
7741
  (async () => {
@@ -7722,8 +7751,8 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7722
7751
  if (i) {
7723
7752
  m(!0);
7724
7753
  try {
7725
- const w = await (await fetch(v)).blob(), x = window.URL.createObjectURL(w), C = document.createElement("a");
7726
- C.href = x, C.download = `${e || "product"}-video.mp4`, document.body.appendChild(C), C.click(), document.body.removeChild(C), window.URL.revokeObjectURL(x);
7754
+ const w = await (await fetch(v)).blob(), x = window.URL.createObjectURL(w), E = document.createElement("a");
7755
+ E.href = x, E.download = `${e || "product"}-video.mp4`, document.body.appendChild(E), E.click(), document.body.removeChild(E), window.URL.revokeObjectURL(x);
7727
7756
  } catch (b) {
7728
7757
  console.error("Error downloading video:", b);
7729
7758
  } finally {
@@ -7739,7 +7768,7 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7739
7768
  function p() {
7740
7769
  a(!0);
7741
7770
  }
7742
- const h = tf[t || "xl"];
7771
+ const h = of[t || "xl"];
7743
7772
  return /* @__PURE__ */ I(Ae, { children: [
7744
7773
  /* @__PURE__ */ u(Un, { open: o, onOpenChange: a, children: /* @__PURE__ */ u(Kn, { className: "max-w-4xl p-0 overflow-hidden", children: r ? /* @__PURE__ */ I("div", { className: "flex flex-row", children: [
7745
7774
  /* @__PURE__ */ I(
@@ -7770,7 +7799,7 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7770
7799
  variant: "secondary",
7771
7800
  size: "icon",
7772
7801
  onClick: y,
7773
- children: d ? /* @__PURE__ */ u(Fi, { className: "h-4 w-4" }) : /* @__PURE__ */ u(zi, { className: "h-4 w-4" })
7802
+ children: d ? /* @__PURE__ */ u($i, { className: "h-4 w-4" }) : /* @__PURE__ */ u(Wi, { className: "h-4 w-4" })
7774
7803
  }
7775
7804
  ) }),
7776
7805
  /* @__PURE__ */ u(Ze, { children: /* @__PURE__ */ u("p", { children: "Copy video link" }) })
@@ -7783,7 +7812,7 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7783
7812
  size: "icon",
7784
7813
  onClick: g,
7785
7814
  disabled: f,
7786
- children: /* @__PURE__ */ u(Bi, { className: "h-4 w-4" })
7815
+ children: /* @__PURE__ */ u(Vi, { className: "h-4 w-4" })
7787
7816
  }
7788
7817
  ) }),
7789
7818
  /* @__PURE__ */ u(Ze, { children: /* @__PURE__ */ u("p", { children: "Download video" }) })
@@ -7810,7 +7839,7 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7810
7839
  size: "icon",
7811
7840
  className: "absolute top-2 right-2",
7812
7841
  onClick: p,
7813
- children: /* @__PURE__ */ u(Zi, { className: "h-4 w-4" })
7842
+ children: /* @__PURE__ */ u(Qi, { className: "h-4 w-4" })
7814
7843
  }
7815
7844
  ) }),
7816
7845
  /* @__PURE__ */ u(Ze, { children: /* @__PURE__ */ u("p", { children: "Play video" }) })
@@ -7819,7 +7848,7 @@ function yf({ randmarSKU: e, size: t = "md", alt: n, secondaryContent: r }) {
7819
7848
  ] });
7820
7849
  }
7821
7850
  export {
7822
- gf as AvatarFooter,
7851
+ yf as AvatarFooter,
7823
7852
  ve as Button,
7824
7853
  Un as Dialog,
7825
7854
  Pr as DialogClose,
@@ -7828,66 +7857,67 @@ export {
7828
7857
  Go as DialogFooter,
7829
7858
  jo as DialogHeader,
7830
7859
  Uo as DialogTitle,
7831
- mc as DialogTrigger,
7860
+ hc as DialogTrigger,
7832
7861
  ar as Input,
7833
- sf as InputOTP,
7834
- lf as InputOTPGroup,
7835
- df as InputOTPSeparator,
7836
- cf as InputOTPSlot,
7837
- bf as Layout,
7838
- ef as Navbar,
7839
- yf as ProductImage,
7862
+ df as InputOTP,
7863
+ uf as InputOTPGroup,
7864
+ pf as InputOTPSeparator,
7865
+ ff as InputOTPSlot,
7866
+ wf as Label,
7867
+ Ef as Layout,
7868
+ rf as Navbar,
7869
+ Cf as ProductImage,
7840
7870
  Ra as Separator,
7841
- qd as Sheet,
7842
- hf as SheetClose,
7871
+ Zd as Sheet,
7872
+ bf as SheetClose,
7843
7873
  Pa as SheetContent,
7844
- nu as SheetDescription,
7845
- eu as SheetFooter,
7846
- Jd as SheetHeader,
7874
+ ru as SheetDescription,
7875
+ tu as SheetFooter,
7876
+ eu as SheetHeader,
7847
7877
  Na as SheetOverlay,
7848
- Zd as SheetPortal,
7849
- tu as SheetTitle,
7850
- mf as SheetTrigger,
7851
- Ma as Sidebar,
7852
- Ia as SidebarContent,
7853
- _a as SidebarFooter,
7854
- mu as SidebarGroup,
7855
- gu as SidebarGroupAction,
7856
- vu as SidebarGroupContent,
7857
- hu as SidebarGroupLabel,
7858
- Da as SidebarHeader,
7859
- fu as SidebarInput,
7860
- uu as SidebarInset,
7861
- La as SidebarMenu,
7862
- yu as SidebarMenuAction,
7863
- wu as SidebarMenuBadge,
7864
- $a as SidebarMenuButton,
7865
- Fa as SidebarMenuItem,
7866
- xu as SidebarMenuSkeleton,
7867
- Cu as SidebarMenuSub,
7868
- Su as SidebarMenuSubButton,
7869
- Eu as SidebarMenuSubItem,
7870
- Oa as SidebarProvider,
7871
- du as SidebarRail,
7872
- pu as SidebarSeparator,
7873
- ka as SidebarTrigger,
7878
+ Qd as SheetPortal,
7879
+ nu as SheetTitle,
7880
+ vf as SheetTrigger,
7881
+ ka as Sidebar,
7882
+ La as SidebarContent,
7883
+ Ia as SidebarFooter,
7884
+ vu as SidebarGroup,
7885
+ yu as SidebarGroupAction,
7886
+ wu as SidebarGroupContent,
7887
+ bu as SidebarGroupLabel,
7888
+ _a as SidebarHeader,
7889
+ hu as SidebarInput,
7890
+ mu as SidebarInset,
7891
+ Fa as SidebarMenu,
7892
+ Eu as SidebarMenuAction,
7893
+ Cu as SidebarMenuBadge,
7894
+ za as SidebarMenuButton,
7895
+ $a as SidebarMenuItem,
7896
+ Su as SidebarMenuSkeleton,
7897
+ Tu as SidebarMenuSub,
7898
+ Nu as SidebarMenuSubButton,
7899
+ Ru as SidebarMenuSubItem,
7900
+ Ma as SidebarProvider,
7901
+ pu as SidebarRail,
7902
+ gu as SidebarSeparator,
7903
+ Da as SidebarTrigger,
7874
7904
  Br as Skeleton,
7875
- ai as Toast,
7876
- Uu as ToastAction,
7877
- ii as ToastClose,
7878
- li as ToastDescription,
7879
- ju as ToastProvider,
7880
- si as ToastTitle,
7881
- oi as ToastViewport,
7882
- Qu as Toaster,
7905
+ ii as Toast,
7906
+ Xu as ToastAction,
7907
+ si as ToastClose,
7908
+ ci as ToastDescription,
7909
+ Ku as ToastProvider,
7910
+ li as ToastTitle,
7911
+ ai as ToastViewport,
7912
+ tf as Toaster,
7883
7913
  lt as Tooltip,
7884
7914
  Ze as TooltipContent,
7885
7915
  st as TooltipProvider,
7886
7916
  ct as TooltipTrigger,
7887
- Ju as Topbar,
7917
+ nf as Topbar,
7888
7918
  Mr as buttonVariants,
7889
- Zu as toast,
7890
- ru as useIsMobile,
7919
+ ef as toast,
7920
+ iu as useIsMobile,
7891
7921
  tn as useSidebar,
7892
- ci as useToast
7922
+ di as useToast
7893
7923
  };