@qodo/design-system 0.9.5 → 0.9.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -241,18 +241,18 @@ function ed() {
241
241
  O < 0 && x("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
242
242
  }
243
243
  }
244
- var te = b.ReactCurrentDispatcher, _;
244
+ var te = b.ReactCurrentDispatcher, I;
245
245
  function X(y, A, D) {
246
246
  {
247
- if (_ === void 0)
247
+ if (I === void 0)
248
248
  try {
249
249
  throw Error();
250
250
  } catch (ue) {
251
251
  var Z = ue.stack.trim().match(/\n( *(at )?)/);
252
- _ = Z && Z[1] || "";
252
+ I = Z && Z[1] || "";
253
253
  }
254
254
  return `
255
- ` + _ + y;
255
+ ` + I + y;
256
256
  }
257
257
  }
258
258
  var ne = !1, oe;
@@ -1012,7 +1012,7 @@ const ge = (e) => {
1012
1012
  u,
1013
1013
  W,
1014
1014
  V
1015
- ], z = () => ["", se, qt, pt], F = () => ["solid", "dashed", "dotted", "double"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], _ = () => [se, yn, gs, ms], X = () => [
1015
+ ], z = () => ["", se, qt, pt], F = () => ["solid", "dashed", "dotted", "double"], te = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], I = () => [se, yn, gs, ms], X = () => [
1016
1016
  // Deprecated since Tailwind CSS v4.0.0
1017
1017
  "",
1018
1018
  "none",
@@ -2504,10 +2504,10 @@ const ge = (e) => {
2504
2504
  "mask-linear": [se]
2505
2505
  }],
2506
2506
  "mask-image-linear-from-pos": [{
2507
- "mask-linear-from": _()
2507
+ "mask-linear-from": I()
2508
2508
  }],
2509
2509
  "mask-image-linear-to-pos": [{
2510
- "mask-linear-to": _()
2510
+ "mask-linear-to": I()
2511
2511
  }],
2512
2512
  "mask-image-linear-from-color": [{
2513
2513
  "mask-linear-from": E()
@@ -2516,10 +2516,10 @@ const ge = (e) => {
2516
2516
  "mask-linear-to": E()
2517
2517
  }],
2518
2518
  "mask-image-t-from-pos": [{
2519
- "mask-t-from": _()
2519
+ "mask-t-from": I()
2520
2520
  }],
2521
2521
  "mask-image-t-to-pos": [{
2522
- "mask-t-to": _()
2522
+ "mask-t-to": I()
2523
2523
  }],
2524
2524
  "mask-image-t-from-color": [{
2525
2525
  "mask-t-from": E()
@@ -2528,10 +2528,10 @@ const ge = (e) => {
2528
2528
  "mask-t-to": E()
2529
2529
  }],
2530
2530
  "mask-image-r-from-pos": [{
2531
- "mask-r-from": _()
2531
+ "mask-r-from": I()
2532
2532
  }],
2533
2533
  "mask-image-r-to-pos": [{
2534
- "mask-r-to": _()
2534
+ "mask-r-to": I()
2535
2535
  }],
2536
2536
  "mask-image-r-from-color": [{
2537
2537
  "mask-r-from": E()
@@ -2540,10 +2540,10 @@ const ge = (e) => {
2540
2540
  "mask-r-to": E()
2541
2541
  }],
2542
2542
  "mask-image-b-from-pos": [{
2543
- "mask-b-from": _()
2543
+ "mask-b-from": I()
2544
2544
  }],
2545
2545
  "mask-image-b-to-pos": [{
2546
- "mask-b-to": _()
2546
+ "mask-b-to": I()
2547
2547
  }],
2548
2548
  "mask-image-b-from-color": [{
2549
2549
  "mask-b-from": E()
@@ -2552,10 +2552,10 @@ const ge = (e) => {
2552
2552
  "mask-b-to": E()
2553
2553
  }],
2554
2554
  "mask-image-l-from-pos": [{
2555
- "mask-l-from": _()
2555
+ "mask-l-from": I()
2556
2556
  }],
2557
2557
  "mask-image-l-to-pos": [{
2558
- "mask-l-to": _()
2558
+ "mask-l-to": I()
2559
2559
  }],
2560
2560
  "mask-image-l-from-color": [{
2561
2561
  "mask-l-from": E()
@@ -2564,10 +2564,10 @@ const ge = (e) => {
2564
2564
  "mask-l-to": E()
2565
2565
  }],
2566
2566
  "mask-image-x-from-pos": [{
2567
- "mask-x-from": _()
2567
+ "mask-x-from": I()
2568
2568
  }],
2569
2569
  "mask-image-x-to-pos": [{
2570
- "mask-x-to": _()
2570
+ "mask-x-to": I()
2571
2571
  }],
2572
2572
  "mask-image-x-from-color": [{
2573
2573
  "mask-x-from": E()
@@ -2576,10 +2576,10 @@ const ge = (e) => {
2576
2576
  "mask-x-to": E()
2577
2577
  }],
2578
2578
  "mask-image-y-from-pos": [{
2579
- "mask-y-from": _()
2579
+ "mask-y-from": I()
2580
2580
  }],
2581
2581
  "mask-image-y-to-pos": [{
2582
- "mask-y-to": _()
2582
+ "mask-y-to": I()
2583
2583
  }],
2584
2584
  "mask-image-y-from-color": [{
2585
2585
  "mask-y-from": E()
@@ -2591,10 +2591,10 @@ const ge = (e) => {
2591
2591
  "mask-radial": [W, V]
2592
2592
  }],
2593
2593
  "mask-image-radial-from-pos": [{
2594
- "mask-radial-from": _()
2594
+ "mask-radial-from": I()
2595
2595
  }],
2596
2596
  "mask-image-radial-to-pos": [{
2597
- "mask-radial-to": _()
2597
+ "mask-radial-to": I()
2598
2598
  }],
2599
2599
  "mask-image-radial-from-color": [{
2600
2600
  "mask-radial-from": E()
@@ -2618,10 +2618,10 @@ const ge = (e) => {
2618
2618
  "mask-conic": [se]
2619
2619
  }],
2620
2620
  "mask-image-conic-from-pos": [{
2621
- "mask-conic-from": _()
2621
+ "mask-conic-from": I()
2622
2622
  }],
2623
2623
  "mask-image-conic-to-pos": [{
2624
- "mask-conic-to": _()
2624
+ "mask-conic-to": I()
2625
2625
  }],
2626
2626
  "mask-image-conic-from-color": [{
2627
2627
  "mask-conic-from": E()
@@ -3448,7 +3448,7 @@ const ge = (e) => {
3448
3448
  orderSensitiveModifiers: ["*", "**", "after", "backdrop", "before", "details-content", "file", "first-letter", "first-line", "marker", "placeholder", "selection"]
3449
3449
  };
3450
3450
  }, Md = /* @__PURE__ */ gd(Od);
3451
- function I(...e) {
3451
+ function _(...e) {
3452
3452
  return Md(da(e));
3453
3453
  }
3454
3454
  const Ca = Gr(
@@ -3479,7 +3479,7 @@ const Ca = Gr(
3479
3479
  ({ className: e, variant: t, size: r, ...n }, o) => /* @__PURE__ */ l.jsx(
3480
3480
  "button",
3481
3481
  {
3482
- className: I(Ca({ variant: t, size: r, className: e })),
3482
+ className: _(Ca({ variant: t, size: r, className: e })),
3483
3483
  ref: o,
3484
3484
  ...n
3485
3485
  }
@@ -3499,7 +3499,7 @@ const Dd = Gr(
3499
3499
  accent: "bg-accent border-accent text-accent-foreground placeholder:text-muted-foreground dark:bg-accent dark:border-accent dark:text-accent-foreground dark:placeholder:text-muted-foreground",
3500
3500
  success: "bg-success border-success text-success-foreground placeholder:text-success-foreground/70 dark:bg-success dark:border-success dark:text-success-foreground dark:placeholder:text-success-foreground/70",
3501
3501
  warning: "bg-warning border-warning text-warning-foreground placeholder:text-warning-foreground/70 dark:bg-warning dark:border-warning dark:text-warning-foreground dark:placeholder:text-warning-foreground/70",
3502
- destructive: "border-destructive text-purple-mutted-200 placeholder:text-destructive-foreground/70 dark:border-destructive dark:placeholder:text-destructive-foreground/70"
3502
+ destructive: "border-destructive bg-purple-mutted-700 text-purple-mutted-200 placeholder:text-destructive-foreground/70 dark:border-destructive dark:placeholder:text-destructive-foreground/70"
3503
3503
  }
3504
3504
  },
3505
3505
  defaultVariants: {
@@ -3514,7 +3514,7 @@ function Sa({ className: e, variant: t, type: r, error: n, ...o }) {
3514
3514
  {
3515
3515
  type: r,
3516
3516
  "data-slot": "input",
3517
- className: I(Dd({ variant: s, className: e })),
3517
+ className: _(Dd({ variant: s, className: e })),
3518
3518
  ...o
3519
3519
  }
3520
3520
  );
@@ -5390,7 +5390,7 @@ var Ha = "PopperAnchor", Ga = d.forwardRef(
5390
5390
  Ga.displayName = Ha;
5391
5391
  var xo = "PopperContent", [Pp, kp] = Wa(xo), Ua = d.forwardRef(
5392
5392
  (e, t) => {
5393
- var _, X, ne, oe, le, ae;
5393
+ var I, X, ne, oe, le, ae;
5394
5394
  const {
5395
5395
  __scopePopper: r,
5396
5396
  side: n = "bottom",
@@ -5445,7 +5445,7 @@ var xo = "PopperContent", [Pp, kp] = Wa(xo), Ua = d.forwardRef(
5445
5445
  ve(() => {
5446
5446
  M && (re == null || re());
5447
5447
  }, [M, re]);
5448
- const P = (_ = E.arrow) == null ? void 0 : _.x, $ = (X = E.arrow) == null ? void 0 : X.y, z = ((ne = E.arrow) == null ? void 0 : ne.centerOffset) !== 0, [F, te] = d.useState();
5448
+ const P = (I = E.arrow) == null ? void 0 : I.x, $ = (X = E.arrow) == null ? void 0 : X.y, z = ((ne = E.arrow) == null ? void 0 : ne.centerOffset) !== 0, [F, te] = d.useState();
5449
5449
  return ve(() => {
5450
5450
  b && te(window.getComputedStyle(b).zIndex);
5451
5451
  }, [b]), /* @__PURE__ */ l.jsx(
@@ -6373,16 +6373,16 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6373
6373
  avoidCollisions: v,
6374
6374
  //
6375
6375
  ...b
6376
- } = e, x = lt(bt, r), [C, S] = d.useState(null), [k, j] = d.useState(null), T = de(t, (_) => S(_)), [R, G] = d.useState(null), [Y, ee] = d.useState(
6376
+ } = e, x = lt(bt, r), [C, S] = d.useState(null), [k, j] = d.useState(null), T = de(t, (I) => S(I)), [R, G] = d.useState(null), [Y, ee] = d.useState(
6377
6377
  null
6378
6378
  ), Q = rn(r), [q, B] = d.useState(!1), O = d.useRef(!1);
6379
6379
  d.useEffect(() => {
6380
6380
  if (C) return Co(C);
6381
6381
  }, [C]), co();
6382
6382
  const N = d.useCallback(
6383
- (_) => {
6383
+ (I) => {
6384
6384
  const [X, ...ne] = Q().map((ae) => ae.ref.current), [oe] = ne.slice(-1), le = document.activeElement;
6385
- for (const ae of _)
6385
+ for (const ae of I)
6386
6386
  if (ae === le || (ae == null || ae.scrollIntoView({ block: "nearest" }), ae === X && k && (k.scrollTop = 0), ae === oe && k && (k.scrollTop = k.scrollHeight), ae == null || ae.focus(), document.activeElement !== le)) return;
6387
6387
  },
6388
6388
  [Q, k]
@@ -6396,39 +6396,39 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6396
6396
  const { onOpenChange: E, triggerPointerDownPosRef: H } = x;
6397
6397
  d.useEffect(() => {
6398
6398
  if (C) {
6399
- let _ = { x: 0, y: 0 };
6399
+ let I = { x: 0, y: 0 };
6400
6400
  const X = (oe) => {
6401
6401
  var le, ae;
6402
- _ = {
6402
+ I = {
6403
6403
  x: Math.abs(Math.round(oe.pageX) - (((le = H.current) == null ? void 0 : le.x) ?? 0)),
6404
6404
  y: Math.abs(Math.round(oe.pageY) - (((ae = H.current) == null ? void 0 : ae.y) ?? 0))
6405
6405
  };
6406
6406
  }, ne = (oe) => {
6407
- _.x <= 10 && _.y <= 10 ? oe.preventDefault() : C.contains(oe.target) || E(!1), document.removeEventListener("pointermove", X), H.current = null;
6407
+ I.x <= 10 && I.y <= 10 ? oe.preventDefault() : C.contains(oe.target) || E(!1), document.removeEventListener("pointermove", X), H.current = null;
6408
6408
  };
6409
6409
  return H.current !== null && (document.addEventListener("pointermove", X), document.addEventListener("pointerup", ne, { capture: !0, once: !0 })), () => {
6410
6410
  document.removeEventListener("pointermove", X), document.removeEventListener("pointerup", ne, { capture: !0 });
6411
6411
  };
6412
6412
  }
6413
6413
  }, [C, E, H]), d.useEffect(() => {
6414
- const _ = () => E(!1);
6415
- return window.addEventListener("blur", _), window.addEventListener("resize", _), () => {
6416
- window.removeEventListener("blur", _), window.removeEventListener("resize", _);
6414
+ const I = () => E(!1);
6415
+ return window.addEventListener("blur", I), window.addEventListener("resize", I), () => {
6416
+ window.removeEventListener("blur", I), window.removeEventListener("resize", I);
6417
6417
  };
6418
6418
  }, [E]);
6419
- const [U, re] = Oi((_) => {
6420
- const X = Q().filter((le) => !le.disabled), ne = X.find((le) => le.ref.current === document.activeElement), oe = Mi(X, _, ne);
6419
+ const [U, re] = Oi((I) => {
6420
+ const X = Q().filter((le) => !le.disabled), ne = X.find((le) => le.ref.current === document.activeElement), oe = Mi(X, I, ne);
6421
6421
  oe && setTimeout(() => oe.ref.current.focus());
6422
6422
  }), P = d.useCallback(
6423
- (_, X, ne) => {
6423
+ (I, X, ne) => {
6424
6424
  const oe = !O.current && !ne;
6425
- (x.value !== void 0 && x.value === X || oe) && (G(_), oe && (O.current = !0));
6425
+ (x.value !== void 0 && x.value === X || oe) && (G(I), oe && (O.current = !0));
6426
6426
  },
6427
6427
  [x.value]
6428
6428
  ), $ = d.useCallback(() => C == null ? void 0 : C.focus(), [C]), z = d.useCallback(
6429
- (_, X, ne) => {
6429
+ (I, X, ne) => {
6430
6430
  const oe = !O.current && !ne;
6431
- (x.value !== void 0 && x.value === X || oe) && ee(_);
6431
+ (x.value !== void 0 && x.value === X || oe) && ee(I);
6432
6432
  },
6433
6433
  [x.value]
6434
6434
  ), F = n === "popper" ? Un : vi, te = F === Un ? {
@@ -6464,12 +6464,12 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6464
6464
  {
6465
6465
  asChild: !0,
6466
6466
  trapped: x.open,
6467
- onMountAutoFocus: (_) => {
6468
- _.preventDefault();
6467
+ onMountAutoFocus: (I) => {
6468
+ I.preventDefault();
6469
6469
  },
6470
- onUnmountAutoFocus: J(o, (_) => {
6470
+ onUnmountAutoFocus: J(o, (I) => {
6471
6471
  var X;
6472
- (X = x.trigger) == null || X.focus({ preventScroll: !0 }), _.preventDefault();
6472
+ (X = x.trigger) == null || X.focus({ preventScroll: !0 }), I.preventDefault();
6473
6473
  }),
6474
6474
  children: /* @__PURE__ */ l.jsx(
6475
6475
  ir,
@@ -6478,7 +6478,7 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6478
6478
  disableOutsidePointerEvents: !0,
6479
6479
  onEscapeKeyDown: s,
6480
6480
  onPointerDownOutside: a,
6481
- onFocusOutside: (_) => _.preventDefault(),
6481
+ onFocusOutside: (I) => I.preventDefault(),
6482
6482
  onDismiss: () => x.onOpenChange(!1),
6483
6483
  children: /* @__PURE__ */ l.jsx(
6484
6484
  F,
@@ -6487,7 +6487,7 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6487
6487
  id: x.contentId,
6488
6488
  "data-state": x.open ? "open" : "closed",
6489
6489
  dir: x.dir,
6490
- onContextMenu: (_) => _.preventDefault(),
6490
+ onContextMenu: (I) => I.preventDefault(),
6491
6491
  ...b,
6492
6492
  ...te,
6493
6493
  onPlaced: () => B(!0),
@@ -6500,15 +6500,15 @@ var Ie = 10, [gi, ct] = Ht(bt), jm = "SelectContentImpl", Tm = /* @__PURE__ */ h
6500
6500
  outline: "none",
6501
6501
  ...b.style
6502
6502
  },
6503
- onKeyDown: J(b.onKeyDown, (_) => {
6504
- const X = _.ctrlKey || _.altKey || _.metaKey;
6505
- if (_.key === "Tab" && _.preventDefault(), !X && _.key.length === 1 && re(_.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(_.key)) {
6503
+ onKeyDown: J(b.onKeyDown, (I) => {
6504
+ const X = I.ctrlKey || I.altKey || I.metaKey;
6505
+ if (I.key === "Tab" && I.preventDefault(), !X && I.key.length === 1 && re(I.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(I.key)) {
6506
6506
  let oe = Q().filter((le) => !le.disabled).map((le) => le.ref.current);
6507
- if (["ArrowUp", "End"].includes(_.key) && (oe = oe.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(_.key)) {
6508
- const le = _.target, ae = oe.indexOf(le);
6507
+ if (["ArrowUp", "End"].includes(I.key) && (oe = oe.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(I.key)) {
6508
+ const le = I.target, ae = oe.indexOf(le);
6509
6509
  oe = oe.slice(ae + 1);
6510
6510
  }
6511
- setTimeout(() => N(oe)), _.preventDefault();
6511
+ setTimeout(() => N(oe)), I.preventDefault();
6512
6512
  }
6513
6513
  })
6514
6514
  }
@@ -6544,7 +6544,7 @@ var Am = "SelectItemAlignedPosition", vi = d.forwardRef((e, t) => {
6544
6544
  ]);
6545
6545
  i.style.minWidth = je + "px", i.style.right = et + "px";
6546
6546
  }
6547
- const ee = h(), Q = window.innerHeight - Ie * 2, q = g.scrollHeight, B = window.getComputedStyle(u), O = parseInt(B.borderTopWidth, 10), N = parseInt(B.paddingTop, 10), M = parseInt(B.borderBottomWidth, 10), E = parseInt(B.paddingBottom, 10), H = O + N + q + E + M, U = Math.min(v.offsetHeight * 5, H), re = window.getComputedStyle(g), P = parseInt(re.paddingTop, 10), $ = parseInt(re.paddingBottom, 10), z = T.top + T.height / 2 - Ie, F = Q - z, te = v.offsetHeight / 2, _ = v.offsetTop + te, X = O + N + _, ne = H - X;
6547
+ const ee = h(), Q = window.innerHeight - Ie * 2, q = g.scrollHeight, B = window.getComputedStyle(u), O = parseInt(B.borderTopWidth, 10), N = parseInt(B.paddingTop, 10), M = parseInt(B.borderBottomWidth, 10), E = parseInt(B.paddingBottom, 10), H = O + N + q + E + M, U = Math.min(v.offsetHeight * 5, H), re = window.getComputedStyle(g), P = parseInt(re.paddingTop, 10), $ = parseInt(re.paddingBottom, 10), z = T.top + T.height / 2 - Ie, F = Q - z, te = v.offsetHeight / 2, I = v.offsetTop + te, X = O + N + I, ne = H - X;
6548
6548
  if (X <= z) {
6549
6549
  const le = ee.length > 0 && v === ee[ee.length - 1].ref.current;
6550
6550
  i.style.bottom = "0px";
@@ -7221,8 +7221,8 @@ const Pg = [
7221
7221
  Di,
7222
7222
  {
7223
7223
  ref: n,
7224
- className: I(
7225
- I(
7224
+ className: _(
7225
+ _(
7226
7226
  "flex h-9 w-full min-w-0 items-center justify-between",
7227
7227
  "rounded-md border bg-purple-mutted-700 border-purple-mutted-500",
7228
7228
  "text-sm data-[placeholder]:text-muted-foreground [&:not([data-placeholder])]:text-purple-mutted-300 md:text-sm ",
@@ -7244,7 +7244,7 @@ const Yi = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
7244
7244
  Vi,
7245
7245
  {
7246
7246
  ref: r,
7247
- className: I(
7247
+ className: _(
7248
7248
  "flex cursor-default items-center justify-center py-1",
7249
7249
  e
7250
7250
  ),
@@ -7257,7 +7257,7 @@ const qi = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
7257
7257
  Wi,
7258
7258
  {
7259
7259
  ref: r,
7260
- className: I(
7260
+ className: _(
7261
7261
  "flex cursor-default items-center justify-center py-1",
7262
7262
  e
7263
7263
  ),
@@ -7271,7 +7271,7 @@ const Xi = d.forwardRef(
7271
7271
  Li,
7272
7272
  {
7273
7273
  ref: s,
7274
- className: I(
7274
+ className: _(
7275
7275
  "relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-purple-mutted-600 border-purple-mutted-500 text-purple-mutted-300 shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
7276
7276
  r === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
7277
7277
  e
@@ -7283,7 +7283,7 @@ const Xi = d.forwardRef(
7283
7283
  /* @__PURE__ */ l.jsx(
7284
7284
  Gm,
7285
7285
  {
7286
- className: I(
7286
+ className: _(
7287
7287
  "p-1",
7288
7288
  r === "popper" && "h-[var(--radix-select-trigger-height)] w-[var(--radix-select-trigger-width)]"
7289
7289
  ),
@@ -7300,7 +7300,7 @@ const Ng = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
7300
7300
  $i,
7301
7301
  {
7302
7302
  ref: r,
7303
- className: I("py-1.5 pl-8 pr-2 text-sm font-semibold", e),
7303
+ className: _("py-1.5 pl-8 pr-2 text-sm font-semibold", e),
7304
7304
  ...t
7305
7305
  }
7306
7306
  ));
@@ -7309,8 +7309,8 @@ const Zi = d.forwardRef(({ className: e, children: t, ...r }, n) => /* @__PURE__
7309
7309
  Fi,
7310
7310
  {
7311
7311
  ref: n,
7312
- className: I(
7313
- I(
7312
+ className: _(
7313
+ _(
7314
7314
  "relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-8 pr-2 text-sm outline-none",
7315
7315
  "focus:bg-purple-mutted-500 focus:text-purple-100 text-purple-100",
7316
7316
  "data-[disabled]:pointer-events-none data-[disabled]:opacity-50"
@@ -7329,7 +7329,7 @@ const jg = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
7329
7329
  Bi,
7330
7330
  {
7331
7331
  ref: r,
7332
- className: I("-mx-1 my-1 h-px bg-muted", e),
7332
+ className: _("-mx-1 my-1 h-px bg-muted", e),
7333
7333
  ...t
7334
7334
  }
7335
7335
  ));
@@ -7652,7 +7652,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7652
7652
  j(6, q);
7653
7653
  }, []);
7654
7654
  let T = d.useMemo(() => ({ subscribe: (P) => (a.current.add(P), () => a.current.delete(P)), snapshot: () => r.current, setState: (P, $, z) => {
7655
- var F, te, _, X;
7655
+ var F, te, I, X;
7656
7656
  if (!Object.is(r.current[P], $)) {
7657
7657
  if (r.current[P] = $, P === "search") Q(), Y(), j(1, ee);
7658
7658
  else if (P === "value") {
@@ -7665,7 +7665,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7665
7665
  r.current.selectedItemId = (ne = B()) == null ? void 0 : ne.id, T.emit();
7666
7666
  }), z || j(5, q), ((te = i.current) == null ? void 0 : te.value) !== void 0) {
7667
7667
  let ne = $ ?? "";
7668
- (X = (_ = i.current).onValueChange) == null || X.call(_, ne);
7668
+ (X = (I = i.current).onValueChange) == null || X.call(I, ne);
7669
7669
  return;
7670
7670
  }
7671
7671
  }
@@ -7698,24 +7698,24 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7698
7698
  if (!r.current.search || i.current.shouldFilter === !1) return;
7699
7699
  let P = r.current.filtered.items, $ = [];
7700
7700
  r.current.filtered.groups.forEach((F) => {
7701
- let te = o.current.get(F), _ = 0;
7701
+ let te = o.current.get(F), I = 0;
7702
7702
  te.forEach((X) => {
7703
7703
  let ne = P.get(X);
7704
- _ = Math.max(ne, _);
7705
- }), $.push([F, _]);
7704
+ I = Math.max(ne, I);
7705
+ }), $.push([F, I]);
7706
7706
  });
7707
7707
  let z = k.current;
7708
7708
  O().sort((F, te) => {
7709
- var _, X;
7709
+ var I, X;
7710
7710
  let ne = F.getAttribute("id"), oe = te.getAttribute("id");
7711
- return ((_ = P.get(oe)) != null ? _ : 0) - ((X = P.get(ne)) != null ? X : 0);
7711
+ return ((I = P.get(oe)) != null ? I : 0) - ((X = P.get(ne)) != null ? X : 0);
7712
7712
  }).forEach((F) => {
7713
7713
  let te = F.closest(In);
7714
7714
  te ? te.appendChild(F.parentElement === te ? F : F.closest(`${In} > *`)) : z.appendChild(F.parentElement === z ? F : F.closest(`${In} > *`));
7715
7715
  }), $.sort((F, te) => te[1] - F[1]).forEach((F) => {
7716
7716
  var te;
7717
- let _ = (te = k.current) == null ? void 0 : te.querySelector(`${Xt}[${Tt}="${encodeURIComponent(F[0])}"]`);
7718
- _ == null || _.parentElement.appendChild(_);
7717
+ let I = (te = k.current) == null ? void 0 : te.querySelector(`${Xt}[${Tt}="${encodeURIComponent(F[0])}"]`);
7718
+ I == null || I.parentElement.appendChild(I);
7719
7719
  });
7720
7720
  }
7721
7721
  function ee() {
@@ -7730,12 +7730,12 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7730
7730
  }
7731
7731
  r.current.filtered.groups = /* @__PURE__ */ new Set();
7732
7732
  let te = 0;
7733
- for (let _ of n.current) {
7734
- let X = ($ = (P = s.current.get(_)) == null ? void 0 : P.value) != null ? $ : "", ne = (F = (z = s.current.get(_)) == null ? void 0 : z.keywords) != null ? F : [], oe = G(X, ne);
7735
- r.current.filtered.items.set(_, oe), oe > 0 && te++;
7733
+ for (let I of n.current) {
7734
+ let X = ($ = (P = s.current.get(I)) == null ? void 0 : P.value) != null ? $ : "", ne = (F = (z = s.current.get(I)) == null ? void 0 : z.keywords) != null ? F : [], oe = G(X, ne);
7735
+ r.current.filtered.items.set(I, oe), oe > 0 && te++;
7736
7736
  }
7737
- for (let [_, X] of o.current) for (let ne of X) if (r.current.filtered.items.get(ne) > 0) {
7738
- r.current.filtered.groups.add(_);
7737
+ for (let [I, X] of o.current) for (let ne of X) if (r.current.filtered.items.get(ne) > 0) {
7738
+ r.current.filtered.groups.add(I);
7739
7739
  break;
7740
7740
  }
7741
7741
  r.current.filtered.count = te;
@@ -7759,8 +7759,8 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
7759
7759
  }
7760
7760
  function M(P) {
7761
7761
  var $;
7762
- let z = B(), F = O(), te = F.findIndex((X) => X === z), _ = F[te + P];
7763
- ($ = i.current) != null && $.loop && (_ = te + P < 0 ? F[F.length - 1] : te + P === F.length ? F[0] : F[te + P]), _ && T.setState("value", _.getAttribute(Tt));
7762
+ let z = B(), F = O(), te = F.findIndex((X) => X === z), I = F[te + P];
7763
+ ($ = i.current) != null && $.loop && (I = te + P < 0 ? F[F.length - 1] : te + P === F.length ? F[0] : F[te + P]), I && T.setState("value", I.getAttribute(Tt));
7764
7764
  }
7765
7765
  function E(P) {
7766
7766
  let $ = B(), z = $ == null ? void 0 : $.closest(Xt), F;
@@ -7958,7 +7958,7 @@ function hh({
7958
7958
  vl,
7959
7959
  {
7960
7960
  "data-slot": "dialog-overlay",
7961
- className: I(
7961
+ className: _(
7962
7962
  "data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-foreground/50 dark:bg-foreground/50",
7963
7963
  e
7964
7964
  ),
@@ -7978,7 +7978,7 @@ function Dy({
7978
7978
  xl,
7979
7979
  {
7980
7980
  "data-slot": "dialog-content",
7981
- className: I(
7981
+ className: _(
7982
7982
  "bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg dark:bg-background dark:border-border",
7983
7983
  e
7984
7984
  ),
@@ -8006,7 +8006,7 @@ function Ly({ className: e, ...t }) {
8006
8006
  "div",
8007
8007
  {
8008
8008
  "data-slot": "dialog-header",
8009
- className: I("flex flex-col gap-2 text-center sm:text-left", e),
8009
+ className: _("flex flex-col gap-2 text-center sm:text-left", e),
8010
8010
  ...t
8011
8011
  }
8012
8012
  );
@@ -8016,7 +8016,7 @@ function $y({ className: e, ...t }) {
8016
8016
  "div",
8017
8017
  {
8018
8018
  "data-slot": "dialog-footer",
8019
- className: I(
8019
+ className: _(
8020
8020
  "flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",
8021
8021
  e
8022
8022
  ),
@@ -8032,7 +8032,7 @@ function Fy({
8032
8032
  Jg,
8033
8033
  {
8034
8034
  "data-slot": "dialog-title",
8035
- className: I("text-lg leading-none font-semibold", e),
8035
+ className: _("text-lg leading-none font-semibold", e),
8036
8036
  ...t
8037
8037
  }
8038
8038
  );
@@ -8045,7 +8045,7 @@ function Vy({
8045
8045
  Qg,
8046
8046
  {
8047
8047
  "data-slot": "dialog-description",
8048
- className: I(
8048
+ className: _(
8049
8049
  "text-muted-foreground text-sm dark:text-muted-foreground",
8050
8050
  e
8051
8051
  ),
@@ -8061,7 +8061,7 @@ function vh({
8061
8061
  Gt,
8062
8062
  {
8063
8063
  "data-slot": "command",
8064
- className: I(
8064
+ className: _(
8065
8065
  "bg-popover text-popover-foreground flex h-full w-full flex-col overflow-hidden rounded-md",
8066
8066
  e
8067
8067
  ),
@@ -8084,7 +8084,7 @@ function xh({
8084
8084
  Gt.Input,
8085
8085
  {
8086
8086
  "data-slot": "command-input",
8087
- className: I(
8087
+ className: _(
8088
8088
  "placeholder:text-muted-foreground flex h-10 w-full rounded-md bg-transparent py-3 text-sm outline-hidden disabled:cursor-not-allowed disabled:opacity-50",
8089
8089
  e
8090
8090
  ),
@@ -8103,7 +8103,7 @@ function bh({
8103
8103
  Gt.List,
8104
8104
  {
8105
8105
  "data-slot": "command-list",
8106
- className: I(
8106
+ className: _(
8107
8107
  "max-h-[300px] scroll-py-1 overflow-x-hidden overflow-y-auto",
8108
8108
  e
8109
8109
  ),
@@ -8131,7 +8131,7 @@ function wh({
8131
8131
  Gt.Group,
8132
8132
  {
8133
8133
  "data-slot": "command-group",
8134
- className: I(
8134
+ className: _(
8135
8135
  "text-foreground [&_[cmdk-group-heading]]:text-muted-foreground overflow-hidden p-1 [&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium",
8136
8136
  e
8137
8137
  ),
@@ -8147,7 +8147,7 @@ function Ch({
8147
8147
  Gt.Item,
8148
8148
  {
8149
8149
  "data-slot": "command-item",
8150
- className: I(
8150
+ className: _(
8151
8151
  "data-[selected=true]:bg-purple-mutted-500 data-[selected=true]:text-purple-100 [&_svg:not([class*='text-'])]:text-muted-foreground relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
8152
8152
  e
8153
8153
  ),
@@ -8389,7 +8389,7 @@ function Fh({
8389
8389
  "data-slot": "popover-content",
8390
8390
  align: t,
8391
8391
  sideOffset: r,
8392
- className: I(
8392
+ className: _(
8393
8393
  "bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-md border p-4 shadow-md outline-hidden",
8394
8394
  e
8395
8395
  ),
@@ -8422,7 +8422,7 @@ const Ll = d.forwardRef(
8422
8422
  variant: "outline",
8423
8423
  role: "combobox",
8424
8424
  "aria-expanded": f,
8425
- className: I(
8425
+ className: _(
8426
8426
  "w-full h-9 px-3 py-1 justify-between rounded-md",
8427
8427
  "border border-purple-mutted-500 bg-purple-mutted-700 hover:bg-purple-mutted-700",
8428
8428
  "text-sm md:text-sm text-purple-mutted-300 hover:text-purple-mutted-300 focus:text-purple-mutted-300 active:text-purple-mutted-300",
@@ -8454,7 +8454,7 @@ const Ll = d.forwardRef(
8454
8454
  {
8455
8455
  value: v.value,
8456
8456
  disabled: v.disabled,
8457
- className: I(
8457
+ className: _(
8458
8458
  "text-purple-100 hover:bg-purple-mutted-500",
8459
8459
  "focus:bg-purple-mutted-500 focus:text-purple-100",
8460
8460
  {
@@ -8470,7 +8470,7 @@ const Ll = d.forwardRef(
8470
8470
  /* @__PURE__ */ l.jsx(
8471
8471
  Hi,
8472
8472
  {
8473
- className: I(
8473
+ className: _(
8474
8474
  "mr-2 h-4 w-4",
8475
8475
  t === v.value ? "opacity-100" : "opacity-0"
8476
8476
  )
@@ -8521,7 +8521,7 @@ function $l({ className: e, variant: t, size: r, ...n }) {
8521
8521
  return /* @__PURE__ */ l.jsx(
8522
8522
  "div",
8523
8523
  {
8524
- className: I(Vh({ variant: t, size: r }), e),
8524
+ className: _(Vh({ variant: t, size: r }), e),
8525
8525
  ...n
8526
8526
  }
8527
8527
  );
@@ -8531,7 +8531,7 @@ function By({ className: e, ...t }) {
8531
8531
  "div",
8532
8532
  {
8533
8533
  "data-slot": "card",
8534
- className: I(
8534
+ className: _(
8535
8535
  "bg-card text-card-foreground flex flex-col gap-6 rounded-xl border py-6 shadow-sm dark:bg-card dark:text-card-foreground dark:border-border",
8536
8536
  e
8537
8537
  ),
@@ -8544,7 +8544,7 @@ function zy({ className: e, ...t }) {
8544
8544
  "div",
8545
8545
  {
8546
8546
  "data-slot": "card-header",
8547
- className: I(
8547
+ className: _(
8548
8548
  "@container/card-header grid auto-rows-min grid-rows-[auto_auto] items-start gap-1.5 px-6 has-data-[slot=card-action]:grid-cols-[1fr_auto] [.border-b]:pb-6",
8549
8549
  e
8550
8550
  ),
@@ -8557,7 +8557,7 @@ function Hy({ className: e, ...t }) {
8557
8557
  "div",
8558
8558
  {
8559
8559
  "data-slot": "card-title",
8560
- className: I("leading-none font-semibold", e),
8560
+ className: _("leading-none font-semibold", e),
8561
8561
  ...t
8562
8562
  }
8563
8563
  );
@@ -8567,7 +8567,7 @@ function Gy({ className: e, ...t }) {
8567
8567
  "div",
8568
8568
  {
8569
8569
  "data-slot": "card-description",
8570
- className: I(
8570
+ className: _(
8571
8571
  "text-muted-foreground text-sm dark:text-muted-foreground",
8572
8572
  e
8573
8573
  ),
@@ -8580,7 +8580,7 @@ function Uy({ className: e, ...t }) {
8580
8580
  "div",
8581
8581
  {
8582
8582
  "data-slot": "card-action",
8583
- className: I(
8583
+ className: _(
8584
8584
  "col-start-2 row-span-2 row-start-1 self-start justify-self-end",
8585
8585
  e
8586
8586
  ),
@@ -8593,7 +8593,7 @@ function Ky({ className: e, ...t }) {
8593
8593
  "div",
8594
8594
  {
8595
8595
  "data-slot": "card-content",
8596
- className: I("px-6", e),
8596
+ className: _("px-6", e),
8597
8597
  ...t
8598
8598
  }
8599
8599
  );
@@ -8603,7 +8603,7 @@ function Yy({ className: e, ...t }) {
8603
8603
  "div",
8604
8604
  {
8605
8605
  "data-slot": "card-footer",
8606
- className: I("flex items-center px-6 [.border-t]:pt-6", e),
8606
+ className: _("flex items-center px-6 [.border-t]:pt-6", e),
8607
8607
  ...t
8608
8608
  }
8609
8609
  );
@@ -8691,7 +8691,7 @@ function Xy({
8691
8691
  Kh,
8692
8692
  {
8693
8693
  "data-slot": "progress",
8694
- className: I(
8694
+ className: _(
8695
8695
  "bg-primary/20 relative h-2 w-full overflow-hidden rounded-full dark:bg-primary/20",
8696
8696
  e
8697
8697
  ),
@@ -8714,7 +8714,7 @@ function qh({
8714
8714
  return /* @__PURE__ */ l.jsx(
8715
8715
  "div",
8716
8716
  {
8717
- className: I(
8717
+ className: _(
8718
8718
  "animate-pulse rounded-md bg-neutral-900/10 dark:bg-neutral-50/10",
8719
8719
  e
8720
8720
  ),
@@ -8847,7 +8847,7 @@ function Jy({
8847
8847
  ev,
8848
8848
  {
8849
8849
  "data-slot": "switch",
8850
- className: I(
8850
+ className: _(
8851
8851
  "peer data-[state=checked]:bg-primary data-[state=unchecked]:bg-input focus-visible:border-ring focus-visible:ring-ring/50 inline-flex h-[1.15rem] w-8 shrink-0 items-center rounded-full border border-transparent shadow-xs transition-all outline-none focus-visible:ring-[3px] disabled:cursor-not-allowed disabled:opacity-50 dark:data-[state=checked]:bg-primary dark:data-[state=unchecked]:bg-input",
8852
8852
  e
8853
8853
  ),
@@ -8856,7 +8856,7 @@ function Jy({
8856
8856
  tv,
8857
8857
  {
8858
8858
  "data-slot": "switch-thumb",
8859
- className: I(
8859
+ className: _(
8860
8860
  "bg-background pointer-events-none block size-4 rounded-full ring-0 transition-transform data-[state=checked]:translate-x-[calc(100%-2px)] data-[state=unchecked]:translate-x-0 dark:bg-background dark:data-[state=unchecked]:bg-foreground dark:data-[state=checked]:bg-primary-foreground"
8861
8861
  )
8862
8862
  }
@@ -8918,7 +8918,7 @@ function Qy({
8918
8918
  rv,
8919
8919
  {
8920
8920
  "data-slot": "toggle",
8921
- className: I(ql({ variant: t, size: r, className: e })),
8921
+ className: _(ql({ variant: t, size: r, className: e })),
8922
8922
  ...n
8923
8923
  }
8924
8924
  );
@@ -9231,7 +9231,7 @@ function tw({
9231
9231
  "data-slot": "toggle-group",
9232
9232
  "data-variant": t,
9233
9233
  "data-size": r,
9234
- className: I(
9234
+ className: _(
9235
9235
  "group/toggle-group flex w-fit items-center rounded-md data-[variant=outline]:shadow-xs dark:data-[variant=outline]:shadow-xs",
9236
9236
  e
9237
9237
  ),
@@ -9254,7 +9254,7 @@ function rw({
9254
9254
  "data-slot": "toggle-group-item",
9255
9255
  "data-variant": s.variant || r,
9256
9256
  "data-size": s.size || n,
9257
- className: I(
9257
+ className: _(
9258
9258
  ql({
9259
9259
  variant: s.variant || r,
9260
9260
  size: s.size || n
@@ -9596,7 +9596,7 @@ function sw({
9596
9596
  Lv,
9597
9597
  {
9598
9598
  "data-slot": "accordion-item",
9599
- className: I("border-b last:border-b-0 dark:border-border", e),
9599
+ className: _("border-b last:border-b-0 dark:border-border", e),
9600
9600
  ...t
9601
9601
  }
9602
9602
  );
@@ -9610,7 +9610,7 @@ function aw({
9610
9610
  Fv,
9611
9611
  {
9612
9612
  "data-slot": "accordion-trigger",
9613
- className: I(
9613
+ className: _(
9614
9614
  "focus-visible:border-ring focus-visible:ring-ring/50 flex flex-1 items-start justify-between gap-4 rounded-md py-4 text-left text-sm font-medium text-foreground transition-all outline-none hover:underline focus-visible:ring-[3px] disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180 dark:text-foreground dark:focus-visible:border-ring dark:focus-visible:ring-ring/50",
9615
9615
  e
9616
9616
  ),
@@ -9633,7 +9633,7 @@ function iw({
9633
9633
  "data-slot": "accordion-content",
9634
9634
  className: "data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-foreground dark:text-foreground",
9635
9635
  ...r,
9636
- children: /* @__PURE__ */ l.jsx("div", { className: I("pt-0 pb-4", e), children: t })
9636
+ children: /* @__PURE__ */ l.jsx("div", { className: _("pt-0 pb-4", e), children: t })
9637
9637
  }
9638
9638
  );
9639
9639
  }
@@ -10011,7 +10011,7 @@ function mx({
10011
10011
  px,
10012
10012
  {
10013
10013
  "data-slot": "label",
10014
- className: I(
10014
+ className: _(
10015
10015
  "flex items-center text-purple-mutted-300 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",
10016
10016
  e
10017
10017
  ),
@@ -10045,7 +10045,7 @@ function hx({ className: e, ...t }) {
10045
10045
  "div",
10046
10046
  {
10047
10047
  "data-slot": "form-item",
10048
- className: I("grid gap-2", e),
10048
+ className: _("grid gap-2", e),
10049
10049
  ...t
10050
10050
  }
10051
10051
  ) });
@@ -10059,7 +10059,7 @@ function vx({
10059
10059
  mx,
10060
10060
  {
10061
10061
  "data-slot": "form-label",
10062
- className: I(
10062
+ className: _(
10063
10063
  "data-[error=true]:text-destructive font-normal text-sm",
10064
10064
  e
10065
10065
  ),
@@ -10088,7 +10088,7 @@ function bx({ className: e, ...t }) {
10088
10088
  {
10089
10089
  "data-slot": "form-description",
10090
10090
  id: r,
10091
- className: I("text-purple-mutted-300 text-sm", e),
10091
+ className: _("text-purple-mutted-300 text-sm", e),
10092
10092
  ...t
10093
10093
  }
10094
10094
  );
@@ -10100,7 +10100,7 @@ function yx({ className: e, ...t }) {
10100
10100
  {
10101
10101
  "data-slot": "form-message",
10102
10102
  id: n,
10103
- className: I("text-destructive text-sm", e),
10103
+ className: _("text-destructive text-sm", e),
10104
10104
  ...t,
10105
10105
  children: o
10106
10106
  }
@@ -10452,7 +10452,7 @@ function Zc({
10452
10452
  {
10453
10453
  "data-slot": "tooltip-content",
10454
10454
  sideOffset: t,
10455
- className: I(
10455
+ className: _(
10456
10456
  "bg-purple-mutted-700 border border-purple-mutted-600 text-primary-foreground animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-md px-3 py-1.5 text-xs text-balance",
10457
10457
  e,
10458
10458
  { "py-2.5": n }
@@ -10561,7 +10561,7 @@ const zx = Ho(Jc), Hx = L.forwardRef((e, t) => {
10561
10561
  disabled: a
10562
10562
  }
10563
10563
  );
10564
- }), Gx = Ho(Hx), Ux = (e) => /* @__PURE__ */ l.jsx("hr", { className: "w-full h-px border-purple-mutted-500", ...e }), Kx = ({ children: e, description: t, className: r }) => /* @__PURE__ */ l.jsxs("div", { className: I("space-y-1", r), children: [
10564
+ }), Gx = Ho(Hx), Ux = (e) => /* @__PURE__ */ l.jsx("hr", { className: "w-full h-px border-purple-mutted-500", ...e }), Kx = ({ children: e, description: t, className: r }) => /* @__PURE__ */ l.jsxs("div", { className: _("space-y-1", r), children: [
10565
10565
  /* @__PURE__ */ l.jsx("h2", { className: "flex items-center gap-2.5 text-2xl text-white", children: e }),
10566
10566
  t && /* @__PURE__ */ l.jsx("span", { className: "text-sm text-purple-mutted-300", children: t })
10567
10567
  ] }), Ut = (e) => {
@@ -10572,7 +10572,7 @@ const zx = Ho(Jc), Hx = L.forwardRef((e, t) => {
10572
10572
  onSubmit: o = () => {
10573
10573
  },
10574
10574
  ...s
10575
- } = e, { handleSubmit: a } = n, i = I("flex flex-col gap-6", {}, t);
10575
+ } = e, { handleSubmit: a } = n, i = _("flex flex-col gap-6", {}, t);
10576
10576
  return /* @__PURE__ */ l.jsx(tx, { methods: n, disabled: r, children: /* @__PURE__ */ l.jsx("form", { className: i, onSubmit: a(o), ...s }) });
10577
10577
  };
10578
10578
  Ut.Button = nx;
@@ -11466,25 +11466,25 @@ const gu = oo(void 0), Kb = ({ children: e, step: t }) => /* @__PURE__ */ l.jsx(
11466
11466
  step: t,
11467
11467
  ...r
11468
11468
  }) => {
11469
- const n = I("flex flex-col gap-4", e);
11469
+ const n = _("flex flex-col gap-4", e);
11470
11470
  return /* @__PURE__ */ l.jsx(Kb, { step: t ?? 0, children: /* @__PURE__ */ l.jsx(fu, { className: n, step: t, ...r }) });
11471
11471
  }, qb = ({
11472
11472
  className: e,
11473
11473
  ...t
11474
11474
  }) => {
11475
- const r = I("flex flex-row gap-4", e);
11475
+ const r = _("flex flex-row gap-4", e);
11476
11476
  return /* @__PURE__ */ l.jsx(cu, { className: r, ...t });
11477
11477
  }, Xb = ({
11478
11478
  className: e,
11479
11479
  ...t
11480
11480
  }) => {
11481
- const r = I("flex flex-row items-center gap-4", e);
11481
+ const r = _("flex flex-row items-center gap-4", e);
11482
11482
  return /* @__PURE__ */ l.jsx(lu, { className: r, ...t });
11483
11483
  }, Zb = ({
11484
11484
  className: e,
11485
11485
  ...t
11486
11486
  }) => {
11487
- const r = I(
11487
+ const r = _(
11488
11488
  "flex flex-row items-center gap-4 text-purple-mutted-100 text-sm",
11489
11489
  e
11490
11490
  );
@@ -11494,13 +11494,13 @@ const gu = oo(void 0), Kb = ({ children: e, step: t }) => /* @__PURE__ */ l.jsx(
11494
11494
  className: t,
11495
11495
  ...r
11496
11496
  }) => {
11497
- const { step: n } = hu(), o = e === n, s = e < n, a = I(
11497
+ const { step: n } = hu(), o = e === n, s = e < n, a = _(
11498
11498
  "flex items-center justify-center w-8 h-8 rounded-full text-white",
11499
11499
  s && "bg-green-700",
11500
11500
  o && "bg-green-600",
11501
11501
  !s && !o && "bg-purple-mutted-500",
11502
11502
  t
11503
- ), i = I({
11503
+ ), i = _({
11504
11504
  "text-white": o,
11505
11505
  "text-purple-mutted-300": !s && e !== n
11506
11506
  });
@@ -11510,7 +11510,7 @@ const gu = oo(void 0), Kb = ({ children: e, step: t }) => /* @__PURE__ */ l.jsx(
11510
11510
  className: t,
11511
11511
  ...r
11512
11512
  }) => {
11513
- const { step: n } = hu(), o = e < n, s = I(
11513
+ const { step: n } = hu(), o = e < n, s = _(
11514
11514
  "min-w-12 h-px",
11515
11515
  o ? "bg-green-400" : "bg-gray-400",
11516
11516
  t
@@ -11520,19 +11520,19 @@ const gu = oo(void 0), Kb = ({ children: e, step: t }) => /* @__PURE__ */ l.jsx(
11520
11520
  className: e,
11521
11521
  ...t
11522
11522
  }) => {
11523
- const r = I(e);
11523
+ const r = _(e);
11524
11524
  return /* @__PURE__ */ l.jsx(au, { className: r, ...t });
11525
11525
  }, ty = ({
11526
11526
  className: e,
11527
11527
  ...t
11528
11528
  }) => {
11529
- const r = I(e);
11529
+ const r = _(e);
11530
11530
  return /* @__PURE__ */ l.jsx(su, { className: r, ...t });
11531
11531
  }, ry = ({
11532
11532
  className: e,
11533
11533
  ...t
11534
11534
  }) => {
11535
- const r = I(
11535
+ const r = _(
11536
11536
  "bg-primary text-white px-4 py-2 rounded-md",
11537
11537
  e
11538
11538
  );
@@ -11541,7 +11541,7 @@ const gu = oo(void 0), Kb = ({ children: e, step: t }) => /* @__PURE__ */ l.jsx(
11541
11541
  className: e,
11542
11542
  ...t
11543
11543
  }) => {
11544
- const r = I(
11544
+ const r = _(
11545
11545
  "bg-primary text-white px-4 py-2 rounded-md",
11546
11546
  e
11547
11547
  );
@@ -11592,12 +11592,12 @@ function sy(e) {
11592
11592
  function ay(e) {
11593
11593
  return typeof e == "object" && typeof e.$$typeof == "symbol" && ["react.memo", "react.forward_ref"].includes(e.$$typeof.description);
11594
11594
  }
11595
- const vu = d.forwardRef(({ className: e, wrapperClassName: t, ...r }, n) => /* @__PURE__ */ l.jsx("div", { className: I("relative w-full overflow-auto", t), children: /* @__PURE__ */ l.jsx(
11595
+ const vu = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx("div", { className: _("relative w-full overflow-auto h-[100%]"), children: /* @__PURE__ */ l.jsx(
11596
11596
  "table",
11597
11597
  {
11598
- ref: n,
11599
- className: I("w-full caption-bottom text-sm", e),
11600
- ...r
11598
+ ref: r,
11599
+ className: _("w-full caption-bottom text-sm", e),
11600
+ ...t
11601
11601
  }
11602
11602
  ) }));
11603
11603
  vu.displayName = "Table";
@@ -11605,7 +11605,7 @@ const xu = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11605
11605
  "thead",
11606
11606
  {
11607
11607
  ref: r,
11608
- className: I("sticky top-0 z-10 b-0 [&>tr]:border-0", e),
11608
+ className: _("sticky top-0 z-10 b-0 [&>tr]:border-0", e),
11609
11609
  ...t
11610
11610
  }
11611
11611
  ));
@@ -11614,7 +11614,7 @@ const bu = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11614
11614
  "tbody",
11615
11615
  {
11616
11616
  ref: r,
11617
- className: I(
11617
+ className: _(
11618
11618
  "[&_tr:last-child]:border-0 [&_tr:first-child]:border-top-0",
11619
11619
  e
11620
11620
  ),
@@ -11626,7 +11626,7 @@ const iy = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11626
11626
  "tfoot",
11627
11627
  {
11628
11628
  ref: r,
11629
- className: I(
11629
+ className: _(
11630
11630
  "border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
11631
11631
  e
11632
11632
  ),
@@ -11638,7 +11638,7 @@ const mt = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11638
11638
  "tr",
11639
11639
  {
11640
11640
  ref: r,
11641
- className: I(
11641
+ className: _(
11642
11642
  "border-b border-purple-mutted-600 transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
11643
11643
  e,
11644
11644
  { "cursor-pointer hover:bg-purple-mutted-600/20": !!t.onClick }
@@ -11651,7 +11651,7 @@ const yu = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11651
11651
  "th",
11652
11652
  {
11653
11653
  ref: r,
11654
- className: I(
11654
+ className: _(
11655
11655
  "h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0",
11656
11656
  e
11657
11657
  ),
@@ -11663,7 +11663,7 @@ const It = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11663
11663
  "td",
11664
11664
  {
11665
11665
  ref: r,
11666
- className: I("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
11666
+ className: _("p-4 align-middle [&:has([role=checkbox])]:pr-0", e),
11667
11667
  ...t
11668
11668
  }
11669
11669
  ));
@@ -11672,7 +11672,7 @@ const ly = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11672
11672
  "caption",
11673
11673
  {
11674
11674
  ref: r,
11675
- className: I("mt-4 text-sm text-muted-foreground", e),
11675
+ className: _("mt-4 text-sm text-muted-foreground", e),
11676
11676
  ...t
11677
11677
  }
11678
11678
  ));
@@ -11940,7 +11940,7 @@ const cy = ({ title: e = "No results" }) => /* @__PURE__ */ l.jsx("div", { class
11940
11940
  {
11941
11941
  role: "navigation",
11942
11942
  "aria-label": "pagination",
11943
- className: I("mx-auto flex w-full justify-center", e),
11943
+ className: _("mx-auto flex w-full justify-center", e),
11944
11944
  ...t
11945
11945
  }
11946
11946
  );
@@ -11949,12 +11949,12 @@ const Cu = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx(
11949
11949
  "ul",
11950
11950
  {
11951
11951
  ref: r,
11952
- className: I("flex flex-row items-center gap-1", e),
11952
+ className: _("flex flex-row items-center gap-1", e),
11953
11953
  ...t
11954
11954
  }
11955
11955
  ));
11956
11956
  Cu.displayName = "PaginationContent";
11957
- const tr = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx("li", { ref: r, className: I("", e), ...t }));
11957
+ const tr = d.forwardRef(({ className: e, ...t }, r) => /* @__PURE__ */ l.jsx("li", { ref: r, className: _("", e), ...t }));
11958
11958
  tr.displayName = "PaginationItem";
11959
11959
  const Su = ({
11960
11960
  className: e,
@@ -11965,7 +11965,7 @@ const Su = ({
11965
11965
  "a",
11966
11966
  {
11967
11967
  "aria-current": t ? "page" : void 0,
11968
- className: I(
11968
+ className: _(
11969
11969
  Ca({
11970
11970
  variant: t ? "outline" : "ghost",
11971
11971
  size: r
@@ -11983,7 +11983,7 @@ const Eu = ({
11983
11983
  "span",
11984
11984
  {
11985
11985
  "aria-hidden": !0,
11986
- className: I("flex h-9 w-9 items-center justify-center", e),
11986
+ className: _("flex h-9 w-9 items-center justify-center", e),
11987
11987
  ...t,
11988
11988
  children: [
11989
11989
  /* @__PURE__ */ l.jsx(pg, { className: "h-4 w-4" }),
@@ -12003,19 +12003,19 @@ const fy = ({
12003
12003
  const a = Ar(() => {
12004
12004
  const m = "text-purple-mutted-300 dark:text-purple-mutted-300", w = "hover:bg-purple-mutted-600 hover:text-purple-mutted-300 dark:hover:bg-purple-mutted-600 dark:hover:text-purple-mutted-300", g = "bg-purple-mutted-600 text-purple-mutted-300 dark:bg-purple-mutted-600 dark:text-purple-mutted-300", v = "border-none flex items-center justify-center w-8 h-8", b = "pointer-events-none opacity-50 cursor-not-allowed";
12005
12005
  return {
12006
- previous: I(
12006
+ previous: _(
12007
12007
  n === 1 || t ? "pointer-events-none opacity-50" : "cursor-pointer",
12008
12008
  v,
12009
12009
  m,
12010
12010
  t && b
12011
12011
  ),
12012
- next: I(
12012
+ next: _(
12013
12013
  n === r || t ? "pointer-events-none opacity-50" : "cursor-pointer",
12014
12014
  v,
12015
12015
  m,
12016
12016
  t && b
12017
12017
  ),
12018
- link: (x) => I(
12018
+ link: (x) => _(
12019
12019
  v,
12020
12020
  t ? "cursor-not-allowed" : "cursor-pointer",
12021
12021
  m,
@@ -12150,10 +12150,20 @@ const fy = ({
12150
12150
  ));
12151
12151
  };
12152
12152
  return /* @__PURE__ */ l.jsxs("div", { className: "flex flex-col h-full w-full", children: [
12153
- /* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ l.jsx("div", { className: "h-fit max-h-full overflow-auto min-h-0 rounded-lg border border-purple-mutted-600", children: /* @__PURE__ */ l.jsxs(vu, { wrapperClassName: f, children: [
12154
- /* @__PURE__ */ l.jsx(xu, { children: m() }),
12155
- /* @__PURE__ */ l.jsx(bu, { children: w() })
12156
- ] }) }) }),
12153
+ /* @__PURE__ */ l.jsx("div", { className: "flex-1 min-h-0", children: /* @__PURE__ */ l.jsx(
12154
+ "div",
12155
+ {
12156
+ className: _(
12157
+ "max-h-[100%] min-h-0 overflow-auto rounded-lg border border-purple-mutted-600",
12158
+ f
12159
+ ),
12160
+ style: { height: "-webkit-fill-available" },
12161
+ children: /* @__PURE__ */ l.jsxs(vu, { children: [
12162
+ /* @__PURE__ */ l.jsx(xu, { children: m() }),
12163
+ /* @__PURE__ */ l.jsx(bu, { children: w() })
12164
+ ] })
12165
+ }
12166
+ ) }),
12157
12167
  h && /* @__PURE__ */ l.jsx("footer", { className: "pt-4 pb-2 bg-background border-t border-purple-mutted-600/20 flex-shrink-0", children: /* @__PURE__ */ l.jsx(fy, { table: e, isLoading: o }) })
12158
12168
  ] });
12159
12169
  }, ia = (e) => {
@@ -12200,7 +12210,7 @@ const fy = ({
12200
12210
  /* @__PURE__ */ l.jsx(
12201
12211
  tg,
12202
12212
  {
12203
- className: I("ml-2 h-4 w-4", {
12213
+ className: _("ml-2 h-4 w-4", {
12204
12214
  invisible: !n
12205
12215
  })
12206
12216
  }
@@ -12232,25 +12242,25 @@ const fy = ({
12232
12242
  disableFilterIcon: o = !0,
12233
12243
  ...s
12234
12244
  }) => {
12235
- const a = r === la.LARGE ? "pl-12 py-3 pr-4 h-[45px]" : "pl-9 py-1.5 pr-2 h-[33px]", i = I(
12245
+ const a = r === la.LARGE ? "pl-12 py-3 pr-4 h-[45px]" : "pl-9 py-1.5 pr-2 h-[33px]", i = _(
12236
12246
  "absolute top-1/2 h-4 w-4 -translate-y-1/2",
12237
12247
  n ? "text-purple-mutted-600" : "text-purple-mutted-400"
12238
- ), c = I(
12248
+ ), c = _(
12239
12249
  "text-purple-mutted-200 dark:border-purple-mutted-600 dark:text-purple-mutted-200 dark:bg-[#1C1C1C] dark:placeholder:text-purple-mutted-400 pl-9",
12240
12250
  { " pr-9": !o }
12241
12251
  );
12242
- return /* @__PURE__ */ l.jsxs("div", { className: I("relative", e), children: [
12243
- /* @__PURE__ */ l.jsx(Gi, { className: I(i, "left-3") }),
12252
+ return /* @__PURE__ */ l.jsxs("div", { className: _("relative", e), children: [
12253
+ /* @__PURE__ */ l.jsx(Gi, { className: _(i, "left-3") }),
12244
12254
  /* @__PURE__ */ l.jsx(
12245
12255
  Sa,
12246
12256
  {
12247
- className: I(a, c, t),
12257
+ className: _(a, c, t),
12248
12258
  disabled: n,
12249
12259
  ...s,
12250
12260
  ...py
12251
12261
  }
12252
12262
  ),
12253
- !o && /* @__PURE__ */ l.jsx(vg, { className: I(i, "right-3") })
12263
+ !o && /* @__PURE__ */ l.jsx(vg, { className: _(i, "right-3") })
12254
12264
  ] });
12255
12265
  }, my = /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/, gy = (e) => e.split(/[,\s]+/).map((t) => t.trim()).filter(Boolean), hy = (e, t) => {
12256
12266
  var n;
@@ -12503,16 +12513,16 @@ const fy = ({
12503
12513
  re && ((P = f.current) != null && P.contains(re)) || h.trim() && (x(h), m(""));
12504
12514
  },
12505
12515
  [h, x]
12506
- ), B = v.length > 0, O = !B && h.length === 0, N = B || h.length > 0, M = I(
12516
+ ), B = v.length > 0, O = !B && h.length === 0, N = B || h.length > 0, M = _(
12507
12517
  "bg-transparent text-sm outline-none border-0 p-0 h-6 shadow-none focus-visible:ring-0 whitespace-nowrap text-purple-mutted-200 placeholder:text-purple-mutted-400",
12508
12518
  B ? "flex-none shrink-0 overflow-x-auto overflow-y-hidden no-scrollbar" : "flex-1 !min-w-full overflow-hidden",
12509
12519
  { "opacity-50 cursor-not-allowed": t },
12510
12520
  s
12511
- ), E = I(
12521
+ ), E = _(
12512
12522
  "inline-flex items-center gap-1 no-scrollbar",
12513
12523
  B ? "w-max" : "w-full",
12514
12524
  a
12515
- ), H = I(
12525
+ ), H = _(
12516
12526
  "relative w-full max-w-full min-w-0 overflow-hidden rounded-md border pl-9 pr-14 py-2 pl-9 pr-14 py-2 focus-within:ring-1 border-purple-mutted-500 dark:bg-purple-mutted-800 focus-within:ring-purple-mutted-400",
12517
12527
  i
12518
12528
  );
@@ -12619,7 +12629,7 @@ export {
12619
12629
  rw as ToggleGroupItem,
12620
12630
  Yo as Tooltip,
12621
12631
  Ry as borderRadius,
12622
- I as cn,
12632
+ _ as cn,
12623
12633
  Py as colors,
12624
12634
  ky as spacing,
12625
12635
  Ny as typography,