@datawire-ai/busyfile-design-library 1.9.0 → 1.10.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import * as l from "react";
2
- import ke, { useState as Ze, forwardRef as eo, createElement as Sn, useLayoutEffect as Ca, useEffect as Sa, useMemo as Ea } from "react";
2
+ import ke, { useState as Ze, forwardRef as to, createElement as En, useLayoutEffect as Ca, useEffect as Sa, useMemo as Ea } from "react";
3
3
  import * as Ut from "react-dom";
4
4
  import ka from "react-dom";
5
- var En = { exports: {} }, dt = {};
5
+ var kn = { exports: {} }, dt = {};
6
6
  /**
7
7
  * @license React
8
8
  * react-jsx-runtime.production.js
@@ -12,10 +12,10 @@ var En = { exports: {} }, dt = {};
12
12
  * This source code is licensed under the MIT license found in the
13
13
  * LICENSE file in the root directory of this source tree.
14
14
  */
15
- var mr;
15
+ var gr;
16
16
  function Ra() {
17
- if (mr) return dt;
18
- mr = 1;
17
+ if (gr) return dt;
18
+ gr = 1;
19
19
  var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.fragment");
20
20
  function n(r, o, s) {
21
21
  var a = null;
@@ -155,7 +155,7 @@ function Pa() {
155
155
  }
156
156
  function u(S, L, C, O, I, _, B, A) {
157
157
  return C = _.ref, S = {
158
- $$typeof: g,
158
+ $$typeof: h,
159
159
  type: S,
160
160
  key: L,
161
161
  props: _,
@@ -236,18 +236,18 @@ React keys must be passed directly to JSX without using spread:
236
236
  );
237
237
  }
238
238
  function f(S) {
239
- typeof S == "object" && S !== null && S.$$typeof === g && S._store && (S._store.validated = 1);
239
+ typeof S == "object" && S !== null && S.$$typeof === h && S._store && (S._store.validated = 1);
240
240
  }
241
- var h = ke, g = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), w = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), U = Symbol.for("react.client.reference"), q = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, Z = Array.isArray, $ = console.createTask ? console.createTask : function() {
241
+ var g = ke, h = Symbol.for("react.transitional.element"), v = Symbol.for("react.portal"), m = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), x = Symbol.for("react.consumer"), w = Symbol.for("react.context"), E = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), N = Symbol.for("react.suspense_list"), P = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), V = Symbol.for("react.activity"), U = Symbol.for("react.client.reference"), q = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, K = Object.prototype.hasOwnProperty, Z = Array.isArray, $ = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
- h = {
244
+ g = {
245
245
  "react-stack-bottom-frame": function(S) {
246
246
  return S();
247
247
  }
248
248
  };
249
- var G, F = {}, z = h["react-stack-bottom-frame"].bind(
250
- h,
249
+ var G, F = {}, z = g["react-stack-bottom-frame"].bind(
250
+ g,
251
251
  s
252
252
  )(), k = $(r(s)), Q = {};
253
253
  ft.Fragment = m, ft.jsx = function(S, L, C, O, I) {
@@ -277,9 +277,9 @@ React keys must be passed directly to JSX without using spread:
277
277
  };
278
278
  }()), ft;
279
279
  }
280
- process.env.NODE_ENV === "production" ? En.exports = Ra() : En.exports = Pa();
281
- var p = En.exports;
282
- function gr(e, t) {
280
+ process.env.NODE_ENV === "production" ? kn.exports = Ra() : kn.exports = Pa();
281
+ var p = kn.exports;
282
+ function vr(e, t) {
283
283
  if (typeof e == "function")
284
284
  return e(t);
285
285
  e != null && (e.current = t);
@@ -288,14 +288,14 @@ function Me(...e) {
288
288
  return (t) => {
289
289
  let n = !1;
290
290
  const r = e.map((o) => {
291
- const s = gr(o, t);
291
+ const s = vr(o, t);
292
292
  return !n && typeof s == "function" && (n = !0), s;
293
293
  });
294
294
  if (n)
295
295
  return () => {
296
296
  for (let o = 0; o < r.length; o++) {
297
297
  const s = r[o];
298
- typeof s == "function" ? s() : gr(e[o], null);
298
+ typeof s == "function" ? s() : vr(e[o], null);
299
299
  }
300
300
  };
301
301
  };
@@ -315,7 +315,7 @@ function De(e) {
315
315
  });
316
316
  return n.displayName = `${e}.Slot`, n;
317
317
  }
318
- var to = /* @__PURE__ */ De("Slot");
318
+ var Hn = /* @__PURE__ */ De("Slot");
319
319
  // @__NO_SIDE_EFFECTS__
320
320
  function Aa(e) {
321
321
  const t = l.forwardRef((n, r) => {
@@ -366,14 +366,14 @@ function oo() {
366
366
  for (var e, t, n = 0, r = "", o = arguments.length; n < o; n++) (e = arguments[n]) && (t = ro(e)) && (r && (r += " "), r += t);
367
367
  return r;
368
368
  }
369
- const Bn = "-", Ia = (e) => {
369
+ const Un = "-", Ia = (e) => {
370
370
  const t = Ma(e), {
371
371
  conflictingClassGroups: n,
372
372
  conflictingClassGroupModifiers: r
373
373
  } = e;
374
374
  return {
375
375
  getClassGroupId: (a) => {
376
- const i = a.split(Bn);
376
+ const i = a.split(Un);
377
377
  return i[0] === "" && i.length !== 1 && i.shift(), so(i, t) || ja(a);
378
378
  },
379
379
  getConflictingClassGroupIds: (a, i) => {
@@ -390,13 +390,13 @@ const Bn = "-", Ia = (e) => {
390
390
  return o;
391
391
  if (t.validators.length === 0)
392
392
  return;
393
- const s = e.join(Bn);
393
+ const s = e.join(Un);
394
394
  return (a = t.validators.find(({
395
395
  validator: i
396
396
  }) => i(s))) == null ? void 0 : a.classGroupId;
397
- }, vr = /^\[(.+)\]$/, ja = (e) => {
398
- if (vr.test(e)) {
399
- const t = vr.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
397
+ }, br = /^\[(.+)\]$/, ja = (e) => {
398
+ if (br.test(e)) {
399
+ const t = br.exec(e)[1], n = t == null ? void 0 : t.substring(0, t.indexOf(":"));
400
400
  if (n)
401
401
  return "arbitrary.." + n;
402
402
  }
@@ -409,18 +409,18 @@ const Bn = "-", Ia = (e) => {
409
409
  validators: []
410
410
  };
411
411
  for (const o in n)
412
- kn(n[o], r, o, t);
412
+ Rn(n[o], r, o, t);
413
413
  return r;
414
- }, kn = (e, t, n, r) => {
414
+ }, Rn = (e, t, n, r) => {
415
415
  e.forEach((o) => {
416
416
  if (typeof o == "string") {
417
- const s = o === "" ? t : br(t, o);
417
+ const s = o === "" ? t : xr(t, o);
418
418
  s.classGroupId = n;
419
419
  return;
420
420
  }
421
421
  if (typeof o == "function") {
422
422
  if (Da(o)) {
423
- kn(o(r), t, n, r);
423
+ Rn(o(r), t, n, r);
424
424
  return;
425
425
  }
426
426
  t.validators.push({
@@ -430,12 +430,12 @@ const Bn = "-", Ia = (e) => {
430
430
  return;
431
431
  }
432
432
  Object.entries(o).forEach(([s, a]) => {
433
- kn(a, br(t, s), n, r);
433
+ Rn(a, xr(t, s), n, r);
434
434
  });
435
435
  });
436
- }, br = (e, t) => {
436
+ }, xr = (e, t) => {
437
437
  let n = e;
438
- return t.split(Bn).forEach((r) => {
438
+ return t.split(Un).forEach((r) => {
439
439
  n.nextPart.has(r) || n.nextPart.set(r, {
440
440
  nextPart: /* @__PURE__ */ new Map(),
441
441
  validators: []
@@ -465,7 +465,7 @@ const Bn = "-", Ia = (e) => {
465
465
  n.has(s) ? n.set(s, a) : o(s, a);
466
466
  }
467
467
  };
468
- }, Rn = "!", Pn = ":", Fa = Pn.length, $a = (e) => {
468
+ }, Pn = "!", An = ":", Fa = An.length, $a = (e) => {
469
469
  const {
470
470
  prefix: t,
471
471
  experimentalParseClassName: n
@@ -476,7 +476,7 @@ const Bn = "-", Ia = (e) => {
476
476
  for (let v = 0; v < o.length; v++) {
477
477
  let m = o[v];
478
478
  if (a === 0 && i === 0) {
479
- if (m === Pn) {
479
+ if (m === An) {
480
480
  s.push(o.slice(c, v)), c = v + Fa;
481
481
  continue;
482
482
  }
@@ -487,16 +487,16 @@ const Bn = "-", Ia = (e) => {
487
487
  }
488
488
  m === "[" ? a++ : m === "]" ? a-- : m === "(" ? i++ : m === ")" && i--;
489
489
  }
490
- const d = s.length === 0 ? o : o.substring(c), f = za(d), h = f !== d, g = u && u > c ? u - c : void 0;
490
+ const d = s.length === 0 ? o : o.substring(c), f = za(d), g = f !== d, h = u && u > c ? u - c : void 0;
491
491
  return {
492
492
  modifiers: s,
493
- hasImportantModifier: h,
493
+ hasImportantModifier: g,
494
494
  baseClassName: f,
495
- maybePostfixModifierPosition: g
495
+ maybePostfixModifierPosition: h
496
496
  };
497
497
  };
498
498
  if (t) {
499
- const o = t + Pn, s = r;
499
+ const o = t + An, s = r;
500
500
  r = (a) => a.startsWith(o) ? s(a.substring(o.length)) : {
501
501
  isExternal: !0,
502
502
  modifiers: [],
@@ -513,7 +513,7 @@ const Bn = "-", Ia = (e) => {
513
513
  });
514
514
  }
515
515
  return r;
516
- }, za = (e) => e.endsWith(Rn) ? e.substring(0, e.length - 1) : e.startsWith(Rn) ? e.substring(1) : e, Va = (e) => {
516
+ }, za = (e) => e.endsWith(Pn) ? e.substring(0, e.length - 1) : e.startsWith(Pn) ? e.substring(1) : e, Va = (e) => {
517
517
  const t = Object.fromEntries(e.orderSensitiveModifiers.map((r) => [r, !0]));
518
518
  return (r) => {
519
519
  if (r.length <= 1)
@@ -540,8 +540,8 @@ const Bn = "-", Ia = (e) => {
540
540
  for (let u = i.length - 1; u >= 0; u -= 1) {
541
541
  const d = i[u], {
542
542
  isExternal: f,
543
- modifiers: h,
544
- hasImportantModifier: g,
543
+ modifiers: g,
544
+ hasImportantModifier: h,
545
545
  baseClassName: v,
546
546
  maybePostfixModifierPosition: m
547
547
  } = n(d);
@@ -561,7 +561,7 @@ const Bn = "-", Ia = (e) => {
561
561
  }
562
562
  b = !1;
563
563
  }
564
- const x = s(h).join(":"), w = g ? x + Rn : x, E = w + y;
564
+ const x = s(g).join(":"), w = h ? x + Pn : x, E = w + y;
565
565
  if (a.includes(E))
566
566
  continue;
567
567
  a.push(E);
@@ -608,19 +608,19 @@ function Ga(e, ...t) {
608
608
  const oe = (e) => {
609
609
  const t = (n) => n[e] || [];
610
610
  return t.isThemeGetter = !0, t;
611
- }, io = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ya = /^\d+\/\d+$/, Ka = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xa = /\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$/, qa = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Za = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ja = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Be = (e) => Ya.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), Ee = (e) => !!e && Number.isInteger(Number(e)), cn = (e) => e.endsWith("%") && Y(e.slice(0, -1)), ye = (e) => Ka.test(e), Qa = () => !0, ei = (e) => (
611
+ }, io = /^\[(?:(\w[\w-]*):)?(.+)\]$/i, lo = /^\((?:(\w[\w-]*):)?(.+)\)$/i, Ya = /^\d+\/\d+$/, Ka = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, Xa = /\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$/, qa = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/, Za = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, Ja = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Be = (e) => Ya.test(e), Y = (e) => !!e && !Number.isNaN(Number(e)), Ee = (e) => !!e && Number.isInteger(Number(e)), un = (e) => e.endsWith("%") && Y(e.slice(0, -1)), ye = (e) => Ka.test(e), Qa = () => !0, ei = (e) => (
612
612
  // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
613
613
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
614
614
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
615
615
  Xa.test(e) && !qa.test(e)
616
- ), co = () => !1, ti = (e) => Za.test(e), ni = (e) => Ja.test(e), ri = (e) => !j(e) && !M(e), oi = (e) => tt(e, po, co), j = (e) => io.test(e), je = (e) => tt(e, mo, ei), un = (e) => tt(e, ci, Y), xr = (e) => tt(e, uo, co), si = (e) => tt(e, fo, ni), At = (e) => tt(e, ho, ti), M = (e) => lo.test(e), pt = (e) => nt(e, mo), ai = (e) => nt(e, ui), yr = (e) => nt(e, uo), ii = (e) => nt(e, po), li = (e) => nt(e, fo), Tt = (e) => nt(e, ho, !0), tt = (e, t, n) => {
616
+ ), co = () => !1, ti = (e) => Za.test(e), ni = (e) => Ja.test(e), ri = (e) => !j(e) && !M(e), oi = (e) => tt(e, po, co), j = (e) => io.test(e), je = (e) => tt(e, mo, ei), dn = (e) => tt(e, ci, Y), yr = (e) => tt(e, uo, co), si = (e) => tt(e, fo, ni), At = (e) => tt(e, go, ti), M = (e) => lo.test(e), pt = (e) => nt(e, mo), ai = (e) => nt(e, ui), wr = (e) => nt(e, uo), ii = (e) => nt(e, po), li = (e) => nt(e, fo), Tt = (e) => nt(e, go, !0), tt = (e, t, n) => {
617
617
  const r = io.exec(e);
618
618
  return r ? r[1] ? t(r[1]) : n(r[2]) : !1;
619
619
  }, nt = (e, t, n = !1) => {
620
620
  const r = lo.exec(e);
621
621
  return r ? r[1] ? t(r[1]) : n : !1;
622
- }, uo = (e) => e === "position" || e === "percentage", fo = (e) => e === "image" || e === "url", po = (e) => e === "length" || e === "size" || e === "bg-size", mo = (e) => e === "length", ci = (e) => e === "number", ui = (e) => e === "family-name", ho = (e) => e === "shadow", di = () => {
623
- const e = oe("color"), t = oe("font"), n = oe("text"), r = oe("font-weight"), o = oe("tracking"), s = oe("leading"), a = oe("breakpoint"), i = oe("container"), c = oe("spacing"), u = oe("radius"), d = oe("shadow"), f = oe("inset-shadow"), h = oe("text-shadow"), g = oe("drop-shadow"), v = oe("blur"), m = oe("perspective"), b = oe("aspect"), y = oe("ease"), x = oe("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
622
+ }, uo = (e) => e === "position" || e === "percentage", fo = (e) => e === "image" || e === "url", po = (e) => e === "length" || e === "size" || e === "bg-size", mo = (e) => e === "length", ci = (e) => e === "number", ui = (e) => e === "family-name", go = (e) => e === "shadow", di = () => {
623
+ const e = oe("color"), t = oe("font"), n = oe("text"), r = oe("font-weight"), o = oe("tracking"), s = oe("leading"), a = oe("breakpoint"), i = oe("container"), c = oe("spacing"), u = oe("radius"), d = oe("shadow"), f = oe("inset-shadow"), g = oe("text-shadow"), h = oe("drop-shadow"), v = oe("blur"), m = oe("perspective"), b = oe("aspect"), y = oe("ease"), x = oe("animate"), w = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], E = () => [
624
624
  "center",
625
625
  "top",
626
626
  "bottom",
@@ -640,13 +640,13 @@ const oe = (e) => {
640
640
  "left-bottom"
641
641
  ], R = () => [...E(), M, j], N = () => ["auto", "hidden", "clip", "visible", "scroll"], P = () => ["auto", "contain", "none"], T = () => [M, j, c], V = () => [Be, "full", "auto", ...T()], U = () => [Ee, "none", "subgrid", M, j], q = () => ["auto", {
642
642
  span: ["full", Ee, M, j]
643
- }, Ee, M, j], K = () => [Ee, "auto", M, j], Z = () => ["auto", "min", "max", "fr", M, j], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...T()], z = () => [Be, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...T()], k = () => [e, M, j], Q = () => [...E(), yr, xr, {
643
+ }, Ee, M, j], K = () => [Ee, "auto", M, j], Z = () => ["auto", "min", "max", "fr", M, j], $ = () => ["start", "end", "center", "between", "around", "evenly", "stretch", "baseline", "center-safe", "end-safe"], G = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"], F = () => ["auto", ...T()], z = () => [Be, "auto", "full", "dvw", "dvh", "lvw", "lvh", "svw", "svh", "min", "max", "fit", ...T()], k = () => [e, M, j], Q = () => [...E(), wr, yr, {
644
644
  position: [M, j]
645
645
  }], S = () => ["no-repeat", {
646
646
  repeat: ["", "x", "y", "space", "round"]
647
647
  }], L = () => ["auto", "cover", "contain", ii, oi, {
648
648
  size: [M, j]
649
- }], C = () => [cn, pt, je], O = () => [
649
+ }], C = () => [un, pt, je], O = () => [
650
650
  // Deprecated since Tailwind CSS v4.0.0
651
651
  "",
652
652
  "none",
@@ -654,7 +654,7 @@ const oe = (e) => {
654
654
  u,
655
655
  M,
656
656
  j
657
- ], I = () => ["", Y, pt, je], _ = () => ["solid", "dashed", "dotted", "double"], B = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [Y, cn, yr, xr], D = () => [
657
+ ], I = () => ["", Y, pt, je], _ = () => ["solid", "dashed", "dotted", "double"], B = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], A = () => [Y, un, wr, yr], D = () => [
658
658
  // Deprecated since Tailwind CSS v4.0.0
659
659
  "",
660
660
  "none",
@@ -1371,14 +1371,14 @@ const oe = (e) => {
1371
1371
  * @see https://tailwindcss.com/docs/font-weight
1372
1372
  */
1373
1373
  "font-weight": [{
1374
- font: [r, M, un]
1374
+ font: [r, M, dn]
1375
1375
  }],
1376
1376
  /**
1377
1377
  * Font Stretch
1378
1378
  * @see https://tailwindcss.com/docs/font-stretch
1379
1379
  */
1380
1380
  "font-stretch": [{
1381
- "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", cn, j]
1381
+ "font-stretch": ["ultra-condensed", "extra-condensed", "condensed", "semi-condensed", "normal", "semi-expanded", "expanded", "extra-expanded", "ultra-expanded", un, j]
1382
1382
  }],
1383
1383
  /**
1384
1384
  * Font Family
@@ -1429,7 +1429,7 @@ const oe = (e) => {
1429
1429
  * @see https://tailwindcss.com/docs/line-clamp
1430
1430
  */
1431
1431
  "line-clamp": [{
1432
- "line-clamp": [Y, "none", M, un]
1432
+ "line-clamp": [Y, "none", M, dn]
1433
1433
  }],
1434
1434
  /**
1435
1435
  * Line Height
@@ -2094,7 +2094,7 @@ const oe = (e) => {
2094
2094
  * @see https://tailwindcss.com/docs/text-shadow
2095
2095
  */
2096
2096
  "text-shadow": [{
2097
- "text-shadow": ["none", h, Tt, At]
2097
+ "text-shadow": ["none", g, Tt, At]
2098
2098
  }],
2099
2099
  /**
2100
2100
  * Text Shadow Color
@@ -2366,7 +2366,7 @@ const oe = (e) => {
2366
2366
  // Deprecated since Tailwind CSS v4.0.0
2367
2367
  "",
2368
2368
  "none",
2369
- g,
2369
+ h,
2370
2370
  Tt,
2371
2371
  At
2372
2372
  ]
@@ -3014,7 +3014,7 @@ const oe = (e) => {
3014
3014
  * @see https://tailwindcss.com/docs/stroke-width
3015
3015
  */
3016
3016
  "stroke-w": [{
3017
- stroke: [Y, pt, je, un]
3017
+ stroke: [Y, pt, je, dn]
3018
3018
  }],
3019
3019
  /**
3020
3020
  * Stroke
@@ -3093,20 +3093,20 @@ const oe = (e) => {
3093
3093
  function ne(...e) {
3094
3094
  return fi(oo(e));
3095
3095
  }
3096
- const wr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Cr = oo, Hn = (e, t) => (n) => {
3096
+ const Cr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Sr = oo, Gt = (e, t) => (n) => {
3097
3097
  var r;
3098
- if ((t == null ? void 0 : t.variants) == null) return Cr(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3098
+ if ((t == null ? void 0 : t.variants) == null) return Sr(e, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3099
3099
  const { variants: o, defaultVariants: s } = t, a = Object.keys(o).map((u) => {
3100
3100
  const d = n == null ? void 0 : n[u], f = s == null ? void 0 : s[u];
3101
3101
  if (d === null) return null;
3102
- const h = wr(d) || wr(f);
3103
- return o[u][h];
3102
+ const g = Cr(d) || Cr(f);
3103
+ return o[u][g];
3104
3104
  }), i = n && Object.entries(n).reduce((u, d) => {
3105
- let [f, h] = d;
3106
- return h === void 0 || (u[f] = h), u;
3105
+ let [f, g] = d;
3106
+ return g === void 0 || (u[f] = g), u;
3107
3107
  }, {}), c = t == null || (r = t.compoundVariants) === null || r === void 0 ? void 0 : r.reduce((u, d) => {
3108
- let { class: f, className: h, ...g } = d;
3109
- return Object.entries(g).every((v) => {
3108
+ let { class: f, className: g, ...h } = d;
3109
+ return Object.entries(h).every((v) => {
3110
3110
  let [m, b] = v;
3111
3111
  return Array.isArray(b) ? b.includes({
3112
3112
  ...s,
@@ -3118,10 +3118,10 @@ const wr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Cr = oo, H
3118
3118
  }) ? [
3119
3119
  ...u,
3120
3120
  f,
3121
- h
3121
+ g
3122
3122
  ] : u;
3123
3123
  }, []);
3124
- return Cr(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3124
+ return Sr(e, a, c, n == null ? void 0 : n.class, n == null ? void 0 : n.className);
3125
3125
  }, pi = {
3126
3126
  default: "bg-neutral-black-1 text-sm font-normal text-white shadow-sm hover:bg-neutral-black-2 focus-visible:ring-neutral-black-1",
3127
3127
  primary: "bg-neutral-black-5 text-sm font-normal text-neutral-70 hover:bg-neutral-black-5 focus-visible:ring-bg-neutral-black-5",
@@ -3131,7 +3131,7 @@ const wr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Cr = oo, H
3131
3131
  sm: "h-8 px-3 text-xs",
3132
3132
  lg: "h-10 px-6",
3133
3133
  icon: "h-9 w-9"
3134
- }, hi = Hn(
3134
+ }, gi = Gt(
3135
3135
  "inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-sm font-medium transition-all disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg:not([class*='size-'])]:size-4 shrink-0 [&_svg]:shrink-0 outline-none focus-visible:ring-2 focus-visible:ring-offset-2",
3136
3136
  {
3137
3137
  variants: {
@@ -3144,7 +3144,7 @@ const wr = (e) => typeof e == "boolean" ? `${e}` : e === 0 ? "0" : e, Cr = oo, H
3144
3144
  }
3145
3145
  }
3146
3146
  );
3147
- function Bf({
3147
+ function Hf({
3148
3148
  className: e,
3149
3149
  variant: t,
3150
3150
  size: n,
@@ -3152,12 +3152,12 @@ function Bf({
3152
3152
  children: o,
3153
3153
  ...s
3154
3154
  }) {
3155
- const a = r ? to : "button";
3155
+ const a = r ? Hn : "button";
3156
3156
  return /* @__PURE__ */ p.jsx(
3157
3157
  a,
3158
3158
  {
3159
3159
  "data-slot": "button",
3160
- className: ne(hi({ variant: t, size: n }), e),
3160
+ className: ne(gi({ variant: t, size: n }), e),
3161
3161
  ...s,
3162
3162
  children: o
3163
3163
  }
@@ -3169,7 +3169,7 @@ function J(e, t, { checkForDefaultPrevented: n = !0 } = {}) {
3169
3169
  return t == null ? void 0 : t(o);
3170
3170
  };
3171
3171
  }
3172
- function gi(e, t) {
3172
+ function hi(e, t) {
3173
3173
  const n = l.createContext(t), r = (s) => {
3174
3174
  const { children: a, ...i } = s, c = l.useMemo(() => i, Object.values(i));
3175
3175
  return /* @__PURE__ */ p.jsx(n.Provider, { value: c, children: a });
@@ -3190,13 +3190,13 @@ function rt(e, t = []) {
3190
3190
  n = [...n, a];
3191
3191
  const u = (f) => {
3192
3192
  var y;
3193
- const { scope: h, children: g, ...v } = f, m = ((y = h == null ? void 0 : h[e]) == null ? void 0 : y[c]) || i, b = l.useMemo(() => v, Object.values(v));
3194
- return /* @__PURE__ */ p.jsx(m.Provider, { value: b, children: g });
3193
+ const { scope: g, children: h, ...v } = f, m = ((y = g == null ? void 0 : g[e]) == null ? void 0 : y[c]) || i, b = l.useMemo(() => v, Object.values(v));
3194
+ return /* @__PURE__ */ p.jsx(m.Provider, { value: b, children: h });
3195
3195
  };
3196
3196
  u.displayName = s + "Provider";
3197
- function d(f, h) {
3197
+ function d(f, g) {
3198
3198
  var m;
3199
- const g = ((m = h == null ? void 0 : h[e]) == null ? void 0 : m[c]) || i, v = l.useContext(g);
3199
+ const h = ((m = g == null ? void 0 : g[e]) == null ? void 0 : m[c]) || i, v = l.useContext(h);
3200
3200
  if (v) return v;
3201
3201
  if (a !== void 0) return a;
3202
3202
  throw new Error(`\`${f}\` must be used within \`${s}\``);
@@ -3243,7 +3243,7 @@ function ae(e) {
3243
3243
  }, [e]), e || (t ? `radix-${t}` : "");
3244
3244
  }
3245
3245
  var yi = l[" useInsertionEffect ".trim().toString()] || se;
3246
- function gt({
3246
+ function ht({
3247
3247
  prop: e,
3248
3248
  defaultProp: t,
3249
3249
  onChange: n = () => {
@@ -3267,8 +3267,8 @@ function gt({
3267
3267
  (d) => {
3268
3268
  var f;
3269
3269
  if (i) {
3270
- const h = Ci(d) ? d(e) : d;
3271
- h !== e && ((f = a.current) == null || f.call(a, h));
3270
+ const g = Ci(d) ? d(e) : d;
3271
+ g !== e && ((f = a.current) == null || f.call(a, g));
3272
3272
  } else
3273
3273
  s(d);
3274
3274
  },
@@ -3337,7 +3337,7 @@ function ki(e, t = globalThis == null ? void 0 : globalThis.document) {
3337
3337
  return t.addEventListener("keydown", r, { capture: !0 }), () => t.removeEventListener("keydown", r, { capture: !0 });
3338
3338
  }, [n, t]);
3339
3339
  }
3340
- var Ri = "DismissableLayer", An = "dismissableLayer.update", Pi = "dismissableLayer.pointerDownOutside", Ai = "dismissableLayer.focusOutside", Sr, go = l.createContext({
3340
+ var Ri = "DismissableLayer", Tn = "dismissableLayer.update", Pi = "dismissableLayer.pointerDownOutside", Ai = "dismissableLayer.focusOutside", Er, ho = l.createContext({
3341
3341
  layers: /* @__PURE__ */ new Set(),
3342
3342
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3343
3343
  branches: /* @__PURE__ */ new Set()
@@ -3351,25 +3351,25 @@ var Ri = "DismissableLayer", An = "dismissableLayer.update", Pi = "dismissableLa
3351
3351
  onInteractOutside: a,
3352
3352
  onDismiss: i,
3353
3353
  ...c
3354
- } = e, u = l.useContext(go), [d, f] = l.useState(null), h = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, g] = l.useState({}), v = re(t, (P) => f(P)), m = Array.from(u.layers), [b] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), y = m.indexOf(b), x = d ? m.indexOf(d) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= y, R = Oi((P) => {
3354
+ } = e, u = l.useContext(ho), [d, f] = l.useState(null), g = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, h] = l.useState({}), v = re(t, (P) => f(P)), m = Array.from(u.layers), [b] = [...u.layersWithOutsidePointerEventsDisabled].slice(-1), y = m.indexOf(b), x = d ? m.indexOf(d) : -1, w = u.layersWithOutsidePointerEventsDisabled.size > 0, E = x >= y, R = Oi((P) => {
3355
3355
  const T = P.target, V = [...u.branches].some((U) => U.contains(T));
3356
3356
  !E || V || (o == null || o(P), a == null || a(P), P.defaultPrevented || i == null || i());
3357
- }, h), N = _i((P) => {
3357
+ }, g), N = _i((P) => {
3358
3358
  const T = P.target;
3359
3359
  [...u.branches].some((U) => U.contains(T)) || (s == null || s(P), a == null || a(P), P.defaultPrevented || i == null || i());
3360
- }, h);
3360
+ }, g);
3361
3361
  return ki((P) => {
3362
3362
  x === u.layers.size - 1 && (r == null || r(P), !P.defaultPrevented && i && (P.preventDefault(), i()));
3363
- }, h), l.useEffect(() => {
3363
+ }, g), l.useEffect(() => {
3364
3364
  if (d)
3365
- return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (Sr = h.body.style.pointerEvents, h.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(d)), u.layers.add(d), Er(), () => {
3366
- n && u.layersWithOutsidePointerEventsDisabled.size === 1 && (h.body.style.pointerEvents = Sr);
3365
+ return n && (u.layersWithOutsidePointerEventsDisabled.size === 0 && (Er = g.body.style.pointerEvents, g.body.style.pointerEvents = "none"), u.layersWithOutsidePointerEventsDisabled.add(d)), u.layers.add(d), kr(), () => {
3366
+ n && u.layersWithOutsidePointerEventsDisabled.size === 1 && (g.body.style.pointerEvents = Er);
3367
3367
  };
3368
- }, [d, h, n, u]), l.useEffect(() => () => {
3369
- d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d), Er());
3368
+ }, [d, g, n, u]), l.useEffect(() => () => {
3369
+ d && (u.layers.delete(d), u.layersWithOutsidePointerEventsDisabled.delete(d), kr());
3370
3370
  }, [d, u]), l.useEffect(() => {
3371
- const P = () => g({});
3372
- return document.addEventListener(An, P), () => document.removeEventListener(An, P);
3371
+ const P = () => h({});
3372
+ return document.addEventListener(Tn, P), () => document.removeEventListener(Tn, P);
3373
3373
  }, []), /* @__PURE__ */ p.jsx(
3374
3374
  X.div,
3375
3375
  {
@@ -3391,7 +3391,7 @@ var Ri = "DismissableLayer", An = "dismissableLayer.update", Pi = "dismissableLa
3391
3391
  );
3392
3392
  yt.displayName = Ri;
3393
3393
  var Ti = "DismissableLayerBranch", Ni = l.forwardRef((e, t) => {
3394
- const n = l.useContext(go), r = l.useRef(null), o = re(t, r);
3394
+ const n = l.useContext(ho), r = l.useRef(null), o = re(t, r);
3395
3395
  return l.useEffect(() => {
3396
3396
  const s = r.current;
3397
3397
  if (s)
@@ -3445,22 +3445,22 @@ function _i(e, t = globalThis == null ? void 0 : globalThis.document) {
3445
3445
  onBlurCapture: () => r.current = !1
3446
3446
  };
3447
3447
  }
3448
- function Er() {
3449
- const e = new CustomEvent(An);
3448
+ function kr() {
3449
+ const e = new CustomEvent(Tn);
3450
3450
  document.dispatchEvent(e);
3451
3451
  }
3452
3452
  function vo(e, t, n, { discrete: r }) {
3453
3453
  const o = n.originalEvent.target, s = new CustomEvent(e, { bubbles: !1, cancelable: !0, detail: n });
3454
3454
  t && o.addEventListener(e, t, { once: !0 }), r ? Ei(o, s) : o.dispatchEvent(s);
3455
3455
  }
3456
- var dn = "focusScope.autoFocusOnMount", fn = "focusScope.autoFocusOnUnmount", kr = { bubbles: !1, cancelable: !0 }, Ii = "FocusScope", Gt = l.forwardRef((e, t) => {
3456
+ var fn = "focusScope.autoFocusOnMount", pn = "focusScope.autoFocusOnUnmount", Rr = { bubbles: !1, cancelable: !0 }, Ii = "FocusScope", Yt = l.forwardRef((e, t) => {
3457
3457
  const {
3458
3458
  loop: n = !1,
3459
3459
  trapped: r = !1,
3460
3460
  onMountAutoFocus: o,
3461
3461
  onUnmountAutoFocus: s,
3462
3462
  ...a
3463
- } = e, [i, c] = l.useState(null), u = Le(o), d = Le(s), f = l.useRef(null), h = re(t, (m) => c(m)), g = l.useRef({
3463
+ } = e, [i, c] = l.useState(null), u = Le(o), d = Le(s), f = l.useRef(null), g = re(t, (m) => c(m)), h = l.useRef({
3464
3464
  paused: !1,
3465
3465
  pause() {
3466
3466
  this.paused = !0;
@@ -3472,11 +3472,11 @@ var dn = "focusScope.autoFocusOnMount", fn = "focusScope.autoFocusOnUnmount", kr
3472
3472
  l.useEffect(() => {
3473
3473
  if (r) {
3474
3474
  let m = function(w) {
3475
- if (g.paused || !i) return;
3475
+ if (h.paused || !i) return;
3476
3476
  const E = w.target;
3477
3477
  i.contains(E) ? f.current = E : Re(f.current, { select: !0 });
3478
3478
  }, b = function(w) {
3479
- if (g.paused || !i) return;
3479
+ if (h.paused || !i) return;
3480
3480
  const E = w.relatedTarget;
3481
3481
  E !== null && (i.contains(E) || Re(f.current, { select: !0 }));
3482
3482
  }, y = function(w) {
@@ -3490,43 +3490,43 @@ var dn = "focusScope.autoFocusOnMount", fn = "focusScope.autoFocusOnUnmount", kr
3490
3490
  document.removeEventListener("focusin", m), document.removeEventListener("focusout", b), x.disconnect();
3491
3491
  };
3492
3492
  }
3493
- }, [r, i, g.paused]), l.useEffect(() => {
3493
+ }, [r, i, h.paused]), l.useEffect(() => {
3494
3494
  if (i) {
3495
- Pr.add(g);
3495
+ Ar.add(h);
3496
3496
  const m = document.activeElement;
3497
3497
  if (!i.contains(m)) {
3498
- const y = new CustomEvent(dn, kr);
3499
- i.addEventListener(dn, u), i.dispatchEvent(y), y.defaultPrevented || (ji($i(bo(i)), { select: !0 }), document.activeElement === m && Re(i));
3498
+ const y = new CustomEvent(fn, Rr);
3499
+ i.addEventListener(fn, u), i.dispatchEvent(y), y.defaultPrevented || (ji($i(bo(i)), { select: !0 }), document.activeElement === m && Re(i));
3500
3500
  }
3501
3501
  return () => {
3502
- i.removeEventListener(dn, u), setTimeout(() => {
3503
- const y = new CustomEvent(fn, kr);
3504
- i.addEventListener(fn, d), i.dispatchEvent(y), y.defaultPrevented || Re(m ?? document.body, { select: !0 }), i.removeEventListener(fn, d), Pr.remove(g);
3502
+ i.removeEventListener(fn, u), setTimeout(() => {
3503
+ const y = new CustomEvent(pn, Rr);
3504
+ i.addEventListener(pn, d), i.dispatchEvent(y), y.defaultPrevented || Re(m ?? document.body, { select: !0 }), i.removeEventListener(pn, d), Ar.remove(h);
3505
3505
  }, 0);
3506
3506
  };
3507
3507
  }
3508
- }, [i, u, d, g]);
3508
+ }, [i, u, d, h]);
3509
3509
  const v = l.useCallback(
3510
3510
  (m) => {
3511
- if (!n && !r || g.paused) return;
3511
+ if (!n && !r || h.paused) return;
3512
3512
  const b = m.key === "Tab" && !m.altKey && !m.ctrlKey && !m.metaKey, y = document.activeElement;
3513
3513
  if (b && y) {
3514
3514
  const x = m.currentTarget, [w, E] = Mi(x);
3515
3515
  w && E ? !m.shiftKey && y === E ? (m.preventDefault(), n && Re(w, { select: !0 })) : m.shiftKey && y === w && (m.preventDefault(), n && Re(E, { select: !0 })) : y === x && m.preventDefault();
3516
3516
  }
3517
3517
  },
3518
- [n, r, g.paused]
3518
+ [n, r, h.paused]
3519
3519
  );
3520
- return /* @__PURE__ */ p.jsx(X.div, { tabIndex: -1, ...a, ref: h, onKeyDown: v });
3520
+ return /* @__PURE__ */ p.jsx(X.div, { tabIndex: -1, ...a, ref: g, onKeyDown: v });
3521
3521
  });
3522
- Gt.displayName = Ii;
3522
+ Yt.displayName = Ii;
3523
3523
  function ji(e, { select: t = !1 } = {}) {
3524
3524
  const n = document.activeElement;
3525
3525
  for (const r of e)
3526
3526
  if (Re(r, { select: t }), document.activeElement !== n) return;
3527
3527
  }
3528
3528
  function Mi(e) {
3529
- const t = bo(e), n = Rr(t, e), r = Rr(t.reverse(), e);
3529
+ const t = bo(e), n = Pr(t, e), r = Pr(t.reverse(), e);
3530
3530
  return [n, r];
3531
3531
  }
3532
3532
  function bo(e) {
@@ -3539,7 +3539,7 @@ function bo(e) {
3539
3539
  for (; n.nextNode(); ) t.push(n.currentNode);
3540
3540
  return t;
3541
3541
  }
3542
- function Rr(e, t) {
3542
+ function Pr(e, t) {
3543
3543
  for (const n of e)
3544
3544
  if (!Di(n, { upTo: t })) return n;
3545
3545
  }
@@ -3561,21 +3561,21 @@ function Re(e, { select: t = !1 } = {}) {
3561
3561
  e.focus({ preventScroll: !0 }), e !== n && Li(e) && t && e.select();
3562
3562
  }
3563
3563
  }
3564
- var Pr = Fi();
3564
+ var Ar = Fi();
3565
3565
  function Fi() {
3566
3566
  let e = [];
3567
3567
  return {
3568
3568
  add(t) {
3569
3569
  const n = e[0];
3570
- t !== n && (n == null || n.pause()), e = Ar(e, t), e.unshift(t);
3570
+ t !== n && (n == null || n.pause()), e = Tr(e, t), e.unshift(t);
3571
3571
  },
3572
3572
  remove(t) {
3573
3573
  var n;
3574
- e = Ar(e, t), (n = e[0]) == null || n.resume();
3574
+ e = Tr(e, t), (n = e[0]) == null || n.resume();
3575
3575
  }
3576
3576
  };
3577
3577
  }
3578
- function Ar(e, t) {
3578
+ function Tr(e, t) {
3579
3579
  const n = [...e], r = n.indexOf(t);
3580
3580
  return r !== -1 && n.splice(r, 1), n;
3581
3581
  }
@@ -3618,25 +3618,25 @@ function Wi(e) {
3618
3618
  }, [i]), se(() => {
3619
3619
  const u = r.current, d = o.current;
3620
3620
  if (d !== e) {
3621
- const h = s.current, g = Nt(u);
3622
- e ? c("MOUNT") : g === "none" || (u == null ? void 0 : u.display) === "none" ? c("UNMOUNT") : c(d && h !== g ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
3621
+ const g = s.current, h = Nt(u);
3622
+ e ? c("MOUNT") : h === "none" || (u == null ? void 0 : u.display) === "none" ? c("UNMOUNT") : c(d && g !== h ? "ANIMATION_OUT" : "UNMOUNT"), o.current = e;
3623
3623
  }
3624
3624
  }, [e, c]), se(() => {
3625
3625
  if (t) {
3626
3626
  let u;
3627
- const d = t.ownerDocument.defaultView ?? window, f = (g) => {
3628
- const m = Nt(r.current).includes(CSS.escape(g.animationName));
3629
- if (g.target === t && m && (c("ANIMATION_END"), !o.current)) {
3627
+ const d = t.ownerDocument.defaultView ?? window, f = (h) => {
3628
+ const m = Nt(r.current).includes(CSS.escape(h.animationName));
3629
+ if (h.target === t && m && (c("ANIMATION_END"), !o.current)) {
3630
3630
  const b = t.style.animationFillMode;
3631
3631
  t.style.animationFillMode = "forwards", u = d.setTimeout(() => {
3632
3632
  t.style.animationFillMode === "forwards" && (t.style.animationFillMode = b);
3633
3633
  });
3634
3634
  }
3635
- }, h = (g) => {
3636
- g.target === t && (s.current = Nt(r.current));
3635
+ }, g = (h) => {
3636
+ h.target === t && (s.current = Nt(r.current));
3637
3637
  };
3638
- return t.addEventListener("animationstart", h), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
3639
- d.clearTimeout(u), t.removeEventListener("animationstart", h), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
3638
+ return t.addEventListener("animationstart", g), t.addEventListener("animationcancel", f), t.addEventListener("animationend", f), () => {
3639
+ d.clearTimeout(u), t.removeEventListener("animationstart", g), t.removeEventListener("animationcancel", f), t.removeEventListener("animationend", f);
3640
3640
  };
3641
3641
  } else
3642
3642
  c("ANIMATION_END");
@@ -3655,27 +3655,27 @@ function Bi(e) {
3655
3655
  let t = (r = Object.getOwnPropertyDescriptor(e.props, "ref")) == null ? void 0 : r.get, n = t && "isReactWarning" in t && t.isReactWarning;
3656
3656
  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);
3657
3657
  }
3658
- var pn = 0;
3659
- function Un() {
3658
+ var mn = 0;
3659
+ function Gn() {
3660
3660
  l.useEffect(() => {
3661
3661
  const e = document.querySelectorAll("[data-radix-focus-guard]");
3662
- return document.body.insertAdjacentElement("afterbegin", e[0] ?? Tr()), document.body.insertAdjacentElement("beforeend", e[1] ?? Tr()), pn++, () => {
3663
- pn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), pn--;
3662
+ return document.body.insertAdjacentElement("afterbegin", e[0] ?? Nr()), document.body.insertAdjacentElement("beforeend", e[1] ?? Nr()), mn++, () => {
3663
+ mn === 1 && document.querySelectorAll("[data-radix-focus-guard]").forEach((t) => t.remove()), mn--;
3664
3664
  };
3665
3665
  }, []);
3666
3666
  }
3667
- function Tr() {
3667
+ function Nr() {
3668
3668
  const e = document.createElement("span");
3669
3669
  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;
3670
3670
  }
3671
- var he = function() {
3672
- return he = Object.assign || function(t) {
3671
+ var ge = function() {
3672
+ return ge = Object.assign || function(t) {
3673
3673
  for (var n, r = 1, o = arguments.length; r < o; r++) {
3674
3674
  n = arguments[r];
3675
3675
  for (var s in n) Object.prototype.hasOwnProperty.call(n, s) && (t[s] = n[s]);
3676
3676
  }
3677
3677
  return t;
3678
- }, he.apply(this, arguments);
3678
+ }, ge.apply(this, arguments);
3679
3679
  };
3680
3680
  function xo(e, t) {
3681
3681
  var n = {};
@@ -3691,7 +3691,7 @@ function Hi(e, t, n) {
3691
3691
  return e.concat(s || Array.prototype.slice.call(t));
3692
3692
  }
3693
3693
  var Dt = "right-scroll-bar-position", Lt = "width-before-scroll-bar", Ui = "with-scroll-bars-hidden", Gi = "--removed-body-scroll-bar-size";
3694
- function mn(e, t) {
3694
+ function gn(e, t) {
3695
3695
  return typeof e == "function" ? e(t) : e && (e.current = t), e;
3696
3696
  }
3697
3697
  function Yi(e, t) {
@@ -3715,24 +3715,24 @@ function Yi(e, t) {
3715
3715
  })[0];
3716
3716
  return n.callback = t, n.facade;
3717
3717
  }
3718
- var Ki = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Nr = /* @__PURE__ */ new WeakMap();
3718
+ var Ki = typeof window < "u" ? l.useLayoutEffect : l.useEffect, Or = /* @__PURE__ */ new WeakMap();
3719
3719
  function Xi(e, t) {
3720
3720
  var n = Yi(null, function(r) {
3721
3721
  return e.forEach(function(o) {
3722
- return mn(o, r);
3722
+ return gn(o, r);
3723
3723
  });
3724
3724
  });
3725
3725
  return Ki(function() {
3726
- var r = Nr.get(n);
3726
+ var r = Or.get(n);
3727
3727
  if (r) {
3728
3728
  var o = new Set(r), s = new Set(e), a = n.current;
3729
3729
  o.forEach(function(i) {
3730
- s.has(i) || mn(i, null);
3730
+ s.has(i) || gn(i, null);
3731
3731
  }), s.forEach(function(i) {
3732
- o.has(i) || mn(i, a);
3732
+ o.has(i) || gn(i, a);
3733
3733
  });
3734
3734
  }
3735
- Nr.set(n, e);
3735
+ Or.set(n, e);
3736
3736
  }, [e]), n;
3737
3737
  }
3738
3738
  function qi(e) {
@@ -3796,7 +3796,7 @@ function Zi(e, t) {
3796
3796
  function Ji(e) {
3797
3797
  e === void 0 && (e = {});
3798
3798
  var t = Zi(null);
3799
- return t.options = he({ async: !0, ssr: !1 }, e), t;
3799
+ return t.options = ge({ async: !0, ssr: !1 }, e), t;
3800
3800
  }
3801
3801
  var yo = function(e) {
3802
3802
  var t = e.sideCar, n = xo(e, ["sideCar"]);
@@ -3805,32 +3805,32 @@ var yo = function(e) {
3805
3805
  var r = t.read();
3806
3806
  if (!r)
3807
3807
  throw new Error("Sidecar medium not found");
3808
- return l.createElement(r, he({}, n));
3808
+ return l.createElement(r, ge({}, n));
3809
3809
  };
3810
3810
  yo.isSideCarExport = !0;
3811
3811
  function Qi(e, t) {
3812
3812
  return e.useMedium(t), yo;
3813
3813
  }
3814
3814
  var wo = Ji(), hn = function() {
3815
- }, Yt = l.forwardRef(function(e, t) {
3815
+ }, Kt = l.forwardRef(function(e, t) {
3816
3816
  var n = l.useRef(null), r = l.useState({
3817
3817
  onScrollCapture: hn,
3818
3818
  onWheelCapture: hn,
3819
3819
  onTouchMoveCapture: hn
3820
- }), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, h = e.sideCar, g = e.noRelative, v = e.noIsolation, m = e.inert, b = e.allowPinchZoom, y = e.as, x = y === void 0 ? "div" : y, w = e.gapMode, E = xo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = h, N = Xi([n, t]), P = he(he({}, E), o);
3820
+ }), o = r[0], s = r[1], a = e.forwardProps, i = e.children, c = e.className, u = e.removeScrollBar, d = e.enabled, f = e.shards, g = e.sideCar, h = e.noRelative, v = e.noIsolation, m = e.inert, b = e.allowPinchZoom, y = e.as, x = y === void 0 ? "div" : y, w = e.gapMode, E = xo(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noRelative", "noIsolation", "inert", "allowPinchZoom", "as", "gapMode"]), R = g, N = Xi([n, t]), P = ge(ge({}, E), o);
3821
3821
  return l.createElement(
3822
3822
  l.Fragment,
3823
3823
  null,
3824
- d && l.createElement(R, { sideCar: wo, removeScrollBar: u, shards: f, noRelative: g, noIsolation: v, inert: m, setCallbacks: s, allowPinchZoom: !!b, lockRef: n, gapMode: w }),
3825
- a ? l.cloneElement(l.Children.only(i), he(he({}, P), { ref: N })) : l.createElement(x, he({}, P, { className: c, ref: N }), i)
3824
+ d && l.createElement(R, { sideCar: wo, removeScrollBar: u, shards: f, noRelative: h, noIsolation: v, inert: m, setCallbacks: s, allowPinchZoom: !!b, lockRef: n, gapMode: w }),
3825
+ a ? l.cloneElement(l.Children.only(i), ge(ge({}, P), { ref: N })) : l.createElement(x, ge({}, P, { className: c, ref: N }), i)
3826
3826
  );
3827
3827
  });
3828
- Yt.defaultProps = {
3828
+ Kt.defaultProps = {
3829
3829
  enabled: !0,
3830
3830
  removeScrollBar: !0,
3831
3831
  inert: !1
3832
3832
  };
3833
- Yt.classNames = {
3833
+ Kt.classNames = {
3834
3834
  fullWidth: Lt,
3835
3835
  zeroRight: Dt
3836
3836
  };
@@ -3883,11 +3883,11 @@ var ol = function() {
3883
3883
  top: 0,
3884
3884
  right: 0,
3885
3885
  gap: 0
3886
- }, gn = function(e) {
3886
+ }, vn = function(e) {
3887
3887
  return parseInt(e || "", 10) || 0;
3888
3888
  }, il = function(e) {
3889
3889
  var t = window.getComputedStyle(document.body), n = t[e === "padding" ? "paddingLeft" : "marginLeft"], r = t[e === "padding" ? "paddingTop" : "marginTop"], o = t[e === "padding" ? "paddingRight" : "marginRight"];
3890
- return [gn(n), gn(r), gn(o)];
3890
+ return [vn(n), vn(r), vn(o)];
3891
3891
  }, ll = function(e) {
3892
3892
  if (e === void 0 && (e = "margin"), typeof window > "u")
3893
3893
  return al;
@@ -3942,13 +3942,13 @@ var ol = function() {
3942
3942
  `).concat(Gi, ": ").concat(i, `px;
3943
3943
  }
3944
3944
  `);
3945
- }, Or = function() {
3945
+ }, _r = function() {
3946
3946
  var e = parseInt(document.body.getAttribute(Xe) || "0", 10);
3947
3947
  return isFinite(e) ? e : 0;
3948
3948
  }, dl = function() {
3949
3949
  l.useEffect(function() {
3950
- return document.body.setAttribute(Xe, (Or() + 1).toString()), function() {
3951
- var e = Or() - 1;
3950
+ return document.body.setAttribute(Xe, (_r() + 1).toString()), function() {
3951
+ var e = _r() - 1;
3952
3952
  e <= 0 ? document.body.removeAttribute(Xe) : document.body.setAttribute(Xe, e.toString());
3953
3953
  };
3954
3954
  }, []);
@@ -3959,19 +3959,19 @@ var ol = function() {
3959
3959
  return ll(o);
3960
3960
  }, [o]);
3961
3961
  return l.createElement(cl, { styles: ul(s, !t, o, n ? "" : "!important") });
3962
- }, Tn = !1;
3962
+ }, Nn = !1;
3963
3963
  if (typeof window < "u")
3964
3964
  try {
3965
3965
  var Ot = Object.defineProperty({}, "passive", {
3966
3966
  get: function() {
3967
- return Tn = !0, !0;
3967
+ return Nn = !0, !0;
3968
3968
  }
3969
3969
  });
3970
3970
  window.addEventListener("test", Ot, Ot), window.removeEventListener("test", Ot, Ot);
3971
3971
  } catch {
3972
- Tn = !1;
3972
+ Nn = !1;
3973
3973
  }
3974
- var He = Tn ? { passive: !1 } : !1, pl = function(e) {
3974
+ var He = Nn ? { passive: !1 } : !1, pl = function(e) {
3975
3975
  return e.tagName === "TEXTAREA";
3976
3976
  }, So = function(e, t) {
3977
3977
  if (!(e instanceof Element))
@@ -3984,9 +3984,9 @@ var He = Tn ? { passive: !1 } : !1, pl = function(e) {
3984
3984
  );
3985
3985
  }, ml = function(e) {
3986
3986
  return So(e, "overflowY");
3987
- }, hl = function(e) {
3987
+ }, gl = function(e) {
3988
3988
  return So(e, "overflowX");
3989
- }, _r = function(e, t) {
3989
+ }, Ir = function(e, t) {
3990
3990
  var n = t.ownerDocument, r = t;
3991
3991
  do {
3992
3992
  typeof ShadowRoot < "u" && r instanceof ShadowRoot && (r = r.host);
@@ -3999,7 +3999,7 @@ var He = Tn ? { passive: !1 } : !1, pl = function(e) {
3999
3999
  r = r.parentNode;
4000
4000
  } while (r && r !== n.body);
4001
4001
  return !1;
4002
- }, gl = function(e) {
4002
+ }, hl = function(e) {
4003
4003
  var t = e.scrollTop, n = e.scrollHeight, r = e.clientHeight;
4004
4004
  return [
4005
4005
  t,
@@ -4014,18 +4014,18 @@ var He = Tn ? { passive: !1 } : !1, pl = function(e) {
4014
4014
  r
4015
4015
  ];
4016
4016
  }, Eo = function(e, t) {
4017
- return e === "v" ? ml(t) : hl(t);
4017
+ return e === "v" ? ml(t) : gl(t);
4018
4018
  }, ko = function(e, t) {
4019
- return e === "v" ? gl(t) : vl(t);
4019
+ return e === "v" ? hl(t) : vl(t);
4020
4020
  }, bl = function(e, t) {
4021
4021
  return e === "h" && t === "rtl" ? -1 : 1;
4022
4022
  }, xl = function(e, t, n, r, o) {
4023
- var s = bl(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), u = !1, d = a > 0, f = 0, h = 0;
4023
+ var s = bl(e, window.getComputedStyle(t).direction), a = s * r, i = n.target, c = t.contains(i), u = !1, d = a > 0, f = 0, g = 0;
4024
4024
  do {
4025
4025
  if (!i)
4026
4026
  break;
4027
- var g = ko(e, i), v = g[0], m = g[1], b = g[2], y = m - b - s * v;
4028
- (v || y) && Eo(e, i) && (f += y, h += v);
4027
+ var h = ko(e, i), v = h[0], m = h[1], b = h[2], y = m - b - s * v;
4028
+ (v || y) && Eo(e, i) && (f += y, g += v);
4029
4029
  var x = i.parentNode;
4030
4030
  i = x && x.nodeType === Node.DOCUMENT_FRAGMENT_NODE ? x.host : x;
4031
4031
  } while (
@@ -4033,12 +4033,12 @@ var He = Tn ? { passive: !1 } : !1, pl = function(e) {
4033
4033
  !c && i !== document.body || // self content
4034
4034
  c && (t.contains(i) || t === i)
4035
4035
  );
4036
- return (d && Math.abs(f) < 1 || !d && Math.abs(h) < 1) && (u = !0), u;
4036
+ return (d && Math.abs(f) < 1 || !d && Math.abs(g) < 1) && (u = !0), u;
4037
4037
  }, _t = function(e) {
4038
4038
  return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
4039
- }, Ir = function(e) {
4040
- return [e.deltaX, e.deltaY];
4041
4039
  }, jr = function(e) {
4040
+ return [e.deltaX, e.deltaY];
4041
+ }, Mr = function(e) {
4042
4042
  return e && "current" in e ? e.current : e;
4043
4043
  }, yl = function(e, t) {
4044
4044
  return e[0] === t[0] && e[1] === t[1];
@@ -4055,7 +4055,7 @@ function Sl(e) {
4055
4055
  }, [e]), l.useEffect(function() {
4056
4056
  if (e.inert) {
4057
4057
  document.body.classList.add("block-interactivity-".concat(o));
4058
- var m = Hi([e.lockRef.current], (e.shards || []).map(jr), !0).filter(Boolean);
4058
+ var m = Hi([e.lockRef.current], (e.shards || []).map(Mr), !0).filter(Boolean);
4059
4059
  return m.forEach(function(b) {
4060
4060
  return b.classList.add("allow-interactivity-".concat(o));
4061
4061
  }), function() {
@@ -4071,10 +4071,10 @@ function Sl(e) {
4071
4071
  var y = _t(m), x = n.current, w = "deltaX" in m ? m.deltaX : x[0] - y[0], E = "deltaY" in m ? m.deltaY : x[1] - y[1], R, N = m.target, P = Math.abs(w) > Math.abs(E) ? "h" : "v";
4072
4072
  if ("touches" in m && P === "h" && N.type === "range")
4073
4073
  return !1;
4074
- var T = _r(P, N);
4074
+ var T = Ir(P, N);
4075
4075
  if (!T)
4076
4076
  return !0;
4077
- if (T ? R = P : (R = P === "v" ? "h" : "v", T = _r(P, N)), !T)
4077
+ if (T ? R = P : (R = P === "v" ? "h" : "v", T = Ir(P, N)), !T)
4078
4078
  return !1;
4079
4079
  if (!r.current && "changedTouches" in m && (w || E) && (r.current = R), !R)
4080
4080
  return !0;
@@ -4083,7 +4083,7 @@ function Sl(e) {
4083
4083
  }, []), c = l.useCallback(function(m) {
4084
4084
  var b = m;
4085
4085
  if (!(!Ue.length || Ue[Ue.length - 1] !== s)) {
4086
- var y = "deltaY" in b ? Ir(b) : _t(b), x = t.current.filter(function(R) {
4086
+ var y = "deltaY" in b ? jr(b) : _t(b), x = t.current.filter(function(R) {
4087
4087
  return R.name === b.type && (R.target === b.target || b.target === R.shadowParent) && yl(R.delta, y);
4088
4088
  })[0];
4089
4089
  if (x && x.should) {
@@ -4091,7 +4091,7 @@ function Sl(e) {
4091
4091
  return;
4092
4092
  }
4093
4093
  if (!x) {
4094
- var w = (a.current.shards || []).map(jr).filter(Boolean).filter(function(R) {
4094
+ var w = (a.current.shards || []).map(Mr).filter(Boolean).filter(function(R) {
4095
4095
  return R.contains(b.target);
4096
4096
  }), E = w.length > 0 ? i(b, w[0]) : !a.current.noIsolation;
4097
4097
  E && b.cancelable && b.preventDefault();
@@ -4107,27 +4107,27 @@ function Sl(e) {
4107
4107
  }, []), d = l.useCallback(function(m) {
4108
4108
  n.current = _t(m), r.current = void 0;
4109
4109
  }, []), f = l.useCallback(function(m) {
4110
- u(m.type, Ir(m), m.target, i(m, e.lockRef.current));
4111
- }, []), h = l.useCallback(function(m) {
4110
+ u(m.type, jr(m), m.target, i(m, e.lockRef.current));
4111
+ }, []), g = l.useCallback(function(m) {
4112
4112
  u(m.type, _t(m), m.target, i(m, e.lockRef.current));
4113
4113
  }, []);
4114
4114
  l.useEffect(function() {
4115
4115
  return Ue.push(s), e.setCallbacks({
4116
4116
  onScrollCapture: f,
4117
4117
  onWheelCapture: f,
4118
- onTouchMoveCapture: h
4118
+ onTouchMoveCapture: g
4119
4119
  }), document.addEventListener("wheel", c, He), document.addEventListener("touchmove", c, He), document.addEventListener("touchstart", d, He), function() {
4120
4120
  Ue = Ue.filter(function(m) {
4121
4121
  return m !== s;
4122
4122
  }), document.removeEventListener("wheel", c, He), document.removeEventListener("touchmove", c, He), document.removeEventListener("touchstart", d, He);
4123
4123
  };
4124
4124
  }, []);
4125
- var g = e.removeScrollBar, v = e.inert;
4125
+ var h = e.removeScrollBar, v = e.inert;
4126
4126
  return l.createElement(
4127
4127
  l.Fragment,
4128
4128
  null,
4129
4129
  v ? l.createElement(s, { styles: wl(o) }) : null,
4130
- g ? l.createElement(fl, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
4130
+ h ? l.createElement(fl, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
4131
4131
  );
4132
4132
  }
4133
4133
  function El(e) {
@@ -4136,16 +4136,16 @@ function El(e) {
4136
4136
  return t;
4137
4137
  }
4138
4138
  const kl = Qi(wo, Sl);
4139
- var Kt = l.forwardRef(function(e, t) {
4140
- return l.createElement(Yt, he({}, e, { ref: t, sideCar: kl }));
4139
+ var Xt = l.forwardRef(function(e, t) {
4140
+ return l.createElement(Kt, ge({}, e, { ref: t, sideCar: kl }));
4141
4141
  });
4142
- Kt.classNames = Yt.classNames;
4142
+ Xt.classNames = Kt.classNames;
4143
4143
  var Rl = function(e) {
4144
4144
  if (typeof document > "u")
4145
4145
  return null;
4146
4146
  var t = Array.isArray(e) ? e[0] : e;
4147
4147
  return t.ownerDocument.body;
4148
- }, Ge = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), jt = {}, vn = 0, Ro = function(e) {
4148
+ }, Ge = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), jt = {}, bn = 0, Ro = function(e) {
4149
4149
  return e && (e.host || Ro(e.parentNode));
4150
4150
  }, Pl = function(e, t) {
4151
4151
  return t.map(function(n) {
@@ -4164,31 +4164,31 @@ var Rl = function(e) {
4164
4164
  };
4165
4165
  o.forEach(u);
4166
4166
  var d = function(f) {
4167
- !f || c.has(f) || Array.prototype.forEach.call(f.children, function(h) {
4168
- if (i.has(h))
4169
- d(h);
4167
+ !f || c.has(f) || Array.prototype.forEach.call(f.children, function(g) {
4168
+ if (i.has(g))
4169
+ d(g);
4170
4170
  else
4171
4171
  try {
4172
- var g = h.getAttribute(r), v = g !== null && g !== "false", m = (Ge.get(h) || 0) + 1, b = (s.get(h) || 0) + 1;
4173
- Ge.set(h, m), s.set(h, b), a.push(h), m === 1 && v && It.set(h, !0), b === 1 && h.setAttribute(n, "true"), v || h.setAttribute(r, "true");
4172
+ var h = g.getAttribute(r), v = h !== null && h !== "false", m = (Ge.get(g) || 0) + 1, b = (s.get(g) || 0) + 1;
4173
+ Ge.set(g, m), s.set(g, b), a.push(g), m === 1 && v && It.set(g, !0), b === 1 && g.setAttribute(n, "true"), v || g.setAttribute(r, "true");
4174
4174
  } catch (y) {
4175
- console.error("aria-hidden: cannot operate on ", h, y);
4175
+ console.error("aria-hidden: cannot operate on ", g, y);
4176
4176
  }
4177
4177
  });
4178
4178
  };
4179
- return d(t), i.clear(), vn++, function() {
4179
+ return d(t), i.clear(), bn++, function() {
4180
4180
  a.forEach(function(f) {
4181
- var h = Ge.get(f) - 1, g = s.get(f) - 1;
4182
- Ge.set(f, h), s.set(f, g), h || (It.has(f) || f.removeAttribute(r), It.delete(f)), g || f.removeAttribute(n);
4183
- }), vn--, vn || (Ge = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), jt = {});
4181
+ var g = Ge.get(f) - 1, h = s.get(f) - 1;
4182
+ Ge.set(f, g), s.set(f, h), g || (It.has(f) || f.removeAttribute(r), It.delete(f)), h || f.removeAttribute(n);
4183
+ }), bn--, bn || (Ge = /* @__PURE__ */ new WeakMap(), Ge = /* @__PURE__ */ new WeakMap(), It = /* @__PURE__ */ new WeakMap(), jt = {});
4184
4184
  };
4185
- }, Gn = function(e, t, n) {
4185
+ }, Yn = function(e, t, n) {
4186
4186
  n === void 0 && (n = "data-aria-hidden");
4187
4187
  var r = Array.from(Array.isArray(e) ? e : [e]), o = Rl(e);
4188
4188
  return o ? (r.push.apply(r, Array.from(o.querySelectorAll("[aria-live], script"))), Al(r, o, n, "aria-hidden")) : function() {
4189
4189
  return null;
4190
4190
  };
4191
- }, Xt = "Dialog", [Po, Hf] = rt(Xt), [Tl, pe] = Po(Xt), Ao = (e) => {
4191
+ }, qt = "Dialog", [Po, Uf] = rt(qt), [Tl, pe] = Po(qt), Ao = (e) => {
4192
4192
  const {
4193
4193
  __scopeDialog: t,
4194
4194
  children: n,
@@ -4196,11 +4196,11 @@ var Rl = function(e) {
4196
4196
  defaultOpen: o,
4197
4197
  onOpenChange: s,
4198
4198
  modal: a = !0
4199
- } = e, i = l.useRef(null), c = l.useRef(null), [u, d] = gt({
4199
+ } = e, i = l.useRef(null), c = l.useRef(null), [u, d] = ht({
4200
4200
  prop: r,
4201
4201
  defaultProp: o ?? !1,
4202
4202
  onChange: s,
4203
- caller: Xt
4203
+ caller: qt
4204
4204
  });
4205
4205
  return /* @__PURE__ */ p.jsx(
4206
4206
  Tl,
@@ -4219,7 +4219,7 @@ var Rl = function(e) {
4219
4219
  }
4220
4220
  );
4221
4221
  };
4222
- Ao.displayName = Xt;
4222
+ Ao.displayName = qt;
4223
4223
  var To = "DialogTrigger", No = l.forwardRef(
4224
4224
  (e, t) => {
4225
4225
  const { __scopeDialog: n, ...r } = e, o = pe(To, n), s = re(t, o.triggerRef);
@@ -4230,7 +4230,7 @@ var To = "DialogTrigger", No = l.forwardRef(
4230
4230
  "aria-haspopup": "dialog",
4231
4231
  "aria-expanded": o.open,
4232
4232
  "aria-controls": o.contentId,
4233
- "data-state": Xn(o.open),
4233
+ "data-state": qn(o.open),
4234
4234
  ...r,
4235
4235
  ref: s,
4236
4236
  onClick: J(e.onClick, o.onOpenToggle)
@@ -4239,13 +4239,13 @@ var To = "DialogTrigger", No = l.forwardRef(
4239
4239
  }
4240
4240
  );
4241
4241
  No.displayName = To;
4242
- var Yn = "DialogPortal", [Nl, Oo] = Po(Yn, {
4242
+ var Kn = "DialogPortal", [Nl, Oo] = Po(Kn, {
4243
4243
  forceMount: void 0
4244
4244
  }), _o = (e) => {
4245
- const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = pe(Yn, t);
4245
+ const { __scopeDialog: t, forceMount: n, children: r, container: o } = e, s = pe(Kn, t);
4246
4246
  return /* @__PURE__ */ p.jsx(Nl, { scope: t, forceMount: n, children: l.Children.map(r, (a) => /* @__PURE__ */ p.jsx(Ne, { present: n || s.open, children: /* @__PURE__ */ p.jsx(wt, { asChild: !0, container: o, children: a }) })) });
4247
4247
  };
4248
- _o.displayName = Yn;
4248
+ _o.displayName = Kn;
4249
4249
  var $t = "DialogOverlay", Io = l.forwardRef(
4250
4250
  (e, t) => {
4251
4251
  const n = Oo($t, e.__scopeDialog), { forceMount: r = n.forceMount, ...o } = e, s = pe($t, e.__scopeDialog);
@@ -4259,10 +4259,10 @@ var Ol = /* @__PURE__ */ De("DialogOverlay.RemoveScroll"), _l = l.forwardRef(
4259
4259
  return (
4260
4260
  // Make sure `Content` is scrollable even when it doesn't live inside `RemoveScroll`
4261
4261
  // ie. when `Overlay` and `Content` are siblings
4262
- /* @__PURE__ */ p.jsx(Kt, { as: Ol, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ p.jsx(
4262
+ /* @__PURE__ */ p.jsx(Xt, { as: Ol, allowPinchZoom: !0, shards: [o.contentRef], children: /* @__PURE__ */ p.jsx(
4263
4263
  X.div,
4264
4264
  {
4265
- "data-state": Xn(o.open),
4265
+ "data-state": qn(o.open),
4266
4266
  ...r,
4267
4267
  ref: t,
4268
4268
  style: { pointerEvents: "auto", ...r.style }
@@ -4282,7 +4282,7 @@ var Il = l.forwardRef(
4282
4282
  const n = pe(Fe, e.__scopeDialog), r = l.useRef(null), o = re(t, n.contentRef, r);
4283
4283
  return l.useEffect(() => {
4284
4284
  const s = r.current;
4285
- if (s) return Gn(s);
4285
+ if (s) return Yn(s);
4286
4286
  }, []), /* @__PURE__ */ p.jsx(
4287
4287
  Mo,
4288
4288
  {
@@ -4331,9 +4331,9 @@ var Il = l.forwardRef(
4331
4331
  ), Mo = l.forwardRef(
4332
4332
  (e, t) => {
4333
4333
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...a } = e, i = pe(Fe, n), c = l.useRef(null), u = re(t, c);
4334
- return Un(), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
4334
+ return Gn(), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
4335
4335
  /* @__PURE__ */ p.jsx(
4336
- Gt,
4336
+ Yt,
4337
4337
  {
4338
4338
  asChild: !0,
4339
4339
  loop: !0,
@@ -4347,7 +4347,7 @@ var Il = l.forwardRef(
4347
4347
  id: i.contentId,
4348
4348
  "aria-describedby": i.descriptionId,
4349
4349
  "aria-labelledby": i.titleId,
4350
- "data-state": Xn(i.open),
4350
+ "data-state": qn(i.open),
4351
4351
  ...a,
4352
4352
  ref: u,
4353
4353
  onDismiss: () => i.onOpenChange(!1)
@@ -4361,13 +4361,13 @@ var Il = l.forwardRef(
4361
4361
  ] })
4362
4362
  ] });
4363
4363
  }
4364
- ), Kn = "DialogTitle", Do = l.forwardRef(
4364
+ ), Xn = "DialogTitle", Do = l.forwardRef(
4365
4365
  (e, t) => {
4366
- const { __scopeDialog: n, ...r } = e, o = pe(Kn, n);
4366
+ const { __scopeDialog: n, ...r } = e, o = pe(Xn, n);
4367
4367
  return /* @__PURE__ */ p.jsx(X.h2, { id: o.titleId, ...r, ref: t });
4368
4368
  }
4369
4369
  );
4370
- Do.displayName = Kn;
4370
+ Do.displayName = Xn;
4371
4371
  var Lo = "DialogDescription", Fo = l.forwardRef(
4372
4372
  (e, t) => {
4373
4373
  const { __scopeDialog: n, ...r } = e, o = pe(Lo, n);
@@ -4390,12 +4390,12 @@ var $o = "DialogClose", zo = l.forwardRef(
4390
4390
  }
4391
4391
  );
4392
4392
  zo.displayName = $o;
4393
- function Xn(e) {
4393
+ function qn(e) {
4394
4394
  return e ? "open" : "closed";
4395
4395
  }
4396
- var Vo = "DialogTitleWarning", [Uf, Wo] = gi(Vo, {
4396
+ var Vo = "DialogTitleWarning", [Gf, Wo] = hi(Vo, {
4397
4397
  contentName: Fe,
4398
- titleName: Kn,
4398
+ titleName: Xn,
4399
4399
  docsSlug: "dialog"
4400
4400
  }), Ml = ({ titleId: e }) => {
4401
4401
  const t = Wo(Vo), n = `\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
@@ -4423,7 +4423,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do
4423
4423
  const Vl = (e) => e.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase(), Wl = (e) => e.replace(
4424
4424
  /^([A-Z])|[\s-_]+(\w)/g,
4425
4425
  (t, n, r) => r ? r.toUpperCase() : n.toLowerCase()
4426
- ), Mr = (e) => {
4426
+ ), Dr = (e) => {
4427
4427
  const t = Wl(e);
4428
4428
  return t.charAt(0).toUpperCase() + t.slice(1);
4429
4429
  }, Ko = (...e) => e.filter((t, n, r) => !!t && t.trim() !== "" && r.indexOf(t) === n).join(" ").trim(), Bl = (e) => {
@@ -4454,7 +4454,7 @@ var Hl = {
4454
4454
  * This source code is licensed under the ISC license.
4455
4455
  * See the LICENSE file in the root directory of this source tree.
4456
4456
  */
4457
- const Ul = eo(
4457
+ const Ul = to(
4458
4458
  ({
4459
4459
  color: e = "currentColor",
4460
4460
  size: t = 24,
@@ -4464,7 +4464,7 @@ const Ul = eo(
4464
4464
  children: s,
4465
4465
  iconNode: a,
4466
4466
  ...i
4467
- }, c) => Sn(
4467
+ }, c) => En(
4468
4468
  "svg",
4469
4469
  {
4470
4470
  ref: c,
@@ -4478,7 +4478,7 @@ const Ul = eo(
4478
4478
  ...i
4479
4479
  },
4480
4480
  [
4481
- ...a.map(([u, d]) => Sn(u, d)),
4481
+ ...a.map(([u, d]) => En(u, d)),
4482
4482
  ...Array.isArray(s) ? s : [s]
4483
4483
  ]
4484
4484
  )
@@ -4490,19 +4490,19 @@ const Ul = eo(
4490
4490
  * See the LICENSE file in the root directory of this source tree.
4491
4491
  */
4492
4492
  const Se = (e, t) => {
4493
- const n = eo(
4494
- ({ className: r, ...o }, s) => Sn(Ul, {
4493
+ const n = to(
4494
+ ({ className: r, ...o }, s) => En(Ul, {
4495
4495
  ref: s,
4496
4496
  iconNode: t,
4497
4497
  className: Ko(
4498
- `lucide-${Vl(Mr(e))}`,
4498
+ `lucide-${Vl(Dr(e))}`,
4499
4499
  `lucide-${e}`,
4500
4500
  r
4501
4501
  ),
4502
4502
  ...o
4503
4503
  })
4504
4504
  );
4505
- return n.displayName = Mr(e), n;
4505
+ return n.displayName = Dr(e), n;
4506
4506
  };
4507
4507
  /**
4508
4508
  * @license lucide-react v0.542.0 - ISC
@@ -4517,7 +4517,7 @@ const Gl = [["path", { d: "M20 6 9 17l-5-5", key: "1gmf2c" }]], Yl = Se("check",
4517
4517
  * This source code is licensed under the ISC license.
4518
4518
  * See the LICENSE file in the root directory of this source tree.
4519
4519
  */
4520
- const Kl = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], qn = Se("chevron-down", Kl);
4520
+ const Kl = [["path", { d: "m6 9 6 6 6-6", key: "qrunsl" }]], Zn = Se("chevron-down", Kl);
4521
4521
  /**
4522
4522
  * @license lucide-react v0.542.0 - ISC
4523
4523
  *
@@ -4602,12 +4602,12 @@ const ac = [
4602
4602
  ["path", { d: "M18 6 6 18", key: "1bl5f8" }],
4603
4603
  ["path", { d: "m6 6 12 12", key: "d8bk6v" }]
4604
4604
  ], qo = Se("x", ac);
4605
- function Gf({
4605
+ function Yf({
4606
4606
  ...e
4607
4607
  }) {
4608
4608
  return /* @__PURE__ */ p.jsx(Bo, { "data-slot": "dialog", ...e });
4609
4609
  }
4610
- function Yf({
4610
+ function Kf({
4611
4611
  ...e
4612
4612
  }) {
4613
4613
  return /* @__PURE__ */ p.jsx(Fl, { "data-slot": "dialog-trigger", ...e });
@@ -4617,7 +4617,7 @@ function ic({
4617
4617
  }) {
4618
4618
  return /* @__PURE__ */ p.jsx(Ho, { "data-slot": "dialog-portal", ...e });
4619
4619
  }
4620
- function Kf({
4620
+ function Xf({
4621
4621
  ...e
4622
4622
  }) {
4623
4623
  return /* @__PURE__ */ p.jsx(Yo, { "data-slot": "dialog-close", ...e });
@@ -4638,7 +4638,7 @@ function lc({
4638
4638
  }
4639
4639
  );
4640
4640
  }
4641
- function Xf({
4641
+ function qf({
4642
4642
  className: e,
4643
4643
  children: t,
4644
4644
  showCloseButton: n = !0,
@@ -4673,7 +4673,7 @@ function Xf({
4673
4673
  )
4674
4674
  ] });
4675
4675
  }
4676
- function qf({ className: e, ...t }) {
4676
+ function Zf({ className: e, ...t }) {
4677
4677
  return /* @__PURE__ */ p.jsx(
4678
4678
  "div",
4679
4679
  {
@@ -4683,7 +4683,7 @@ function qf({ className: e, ...t }) {
4683
4683
  }
4684
4684
  );
4685
4685
  }
4686
- function Zf({ className: e, ...t }) {
4686
+ function Jf({ className: e, ...t }) {
4687
4687
  return /* @__PURE__ */ p.jsx(
4688
4688
  "div",
4689
4689
  {
@@ -4696,7 +4696,7 @@ function Zf({ className: e, ...t }) {
4696
4696
  }
4697
4697
  );
4698
4698
  }
4699
- function Jf({
4699
+ function Qf({
4700
4700
  className: e,
4701
4701
  ...t
4702
4702
  }) {
@@ -4709,7 +4709,7 @@ function Jf({
4709
4709
  }
4710
4710
  );
4711
4711
  }
4712
- function Qf({
4712
+ function ep({
4713
4713
  className: e,
4714
4714
  ...t
4715
4715
  }) {
@@ -4722,7 +4722,7 @@ function Qf({
4722
4722
  }
4723
4723
  );
4724
4724
  }
4725
- const cc = Hn(
4725
+ const cc = Gt(
4726
4726
  "inline-flex items-center justify-center rounded-full font-medium w-fit whitespace-nowrap shrink-0 gap-1 text-sm",
4727
4727
  {
4728
4728
  variants: {
@@ -4759,7 +4759,7 @@ function uc({
4759
4759
  children: o,
4760
4760
  ...s
4761
4761
  }) {
4762
- const a = r ? to : "span";
4762
+ const a = r ? Hn : "span";
4763
4763
  return /* @__PURE__ */ p.jsx(
4764
4764
  a,
4765
4765
  {
@@ -4782,7 +4782,7 @@ const dc = ["top", "right", "bottom", "left"], Pe = Math.min, le = Math.max, zt
4782
4782
  start: "end",
4783
4783
  end: "start"
4784
4784
  };
4785
- function Nn(e, t, n) {
4785
+ function On(e, t, n) {
4786
4786
  return le(e, Pe(t, n));
4787
4787
  }
4788
4788
  function we(e, t) {
@@ -4794,38 +4794,38 @@ function Ce(e) {
4794
4794
  function ot(e) {
4795
4795
  return e.split("-")[1];
4796
4796
  }
4797
- function Zn(e) {
4797
+ function Jn(e) {
4798
4798
  return e === "x" ? "y" : "x";
4799
4799
  }
4800
- function Jn(e) {
4800
+ function Qn(e) {
4801
4801
  return e === "y" ? "height" : "width";
4802
4802
  }
4803
4803
  const mc = /* @__PURE__ */ new Set(["top", "bottom"]);
4804
- function ge(e) {
4804
+ function he(e) {
4805
4805
  return mc.has(Ce(e)) ? "y" : "x";
4806
4806
  }
4807
- function Qn(e) {
4808
- return Zn(ge(e));
4807
+ function er(e) {
4808
+ return Jn(he(e));
4809
4809
  }
4810
- function hc(e, t, n) {
4810
+ function gc(e, t, n) {
4811
4811
  n === void 0 && (n = !1);
4812
- const r = ot(e), o = Qn(e), s = Jn(o);
4812
+ const r = ot(e), o = er(e), s = Qn(o);
4813
4813
  let a = o === "x" ? r === (n ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4814
4814
  return t.reference[s] > t.floating[s] && (a = Vt(a)), [a, Vt(a)];
4815
4815
  }
4816
- function gc(e) {
4816
+ function hc(e) {
4817
4817
  const t = Vt(e);
4818
- return [On(e), t, On(t)];
4818
+ return [_n(e), t, _n(t)];
4819
4819
  }
4820
- function On(e) {
4820
+ function _n(e) {
4821
4821
  return e.replace(/start|end/g, (t) => pc[t]);
4822
4822
  }
4823
- const Dr = ["left", "right"], Lr = ["right", "left"], vc = ["top", "bottom"], bc = ["bottom", "top"];
4823
+ const Lr = ["left", "right"], Fr = ["right", "left"], vc = ["top", "bottom"], bc = ["bottom", "top"];
4824
4824
  function xc(e, t, n) {
4825
4825
  switch (e) {
4826
4826
  case "top":
4827
4827
  case "bottom":
4828
- return n ? t ? Lr : Dr : t ? Dr : Lr;
4828
+ return n ? t ? Fr : Lr : t ? Lr : Fr;
4829
4829
  case "left":
4830
4830
  case "right":
4831
4831
  return t ? vc : bc;
@@ -4836,7 +4836,7 @@ function xc(e, t, n) {
4836
4836
  function yc(e, t, n, r) {
4837
4837
  const o = ot(e);
4838
4838
  let s = xc(Ce(e), n === "start", r);
4839
- return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(On)))), s;
4839
+ return o && (s = s.map((a) => a + "-" + o), t && (s = s.concat(s.map(_n)))), s;
4840
4840
  }
4841
4841
  function Vt(e) {
4842
4842
  return e.replace(/left|right|bottom|top/g, (t) => fc[t]);
@@ -4876,53 +4876,53 @@ function Wt(e) {
4876
4876
  y: n
4877
4877
  };
4878
4878
  }
4879
- function Fr(e, t, n) {
4879
+ function $r(e, t, n) {
4880
4880
  let {
4881
4881
  reference: r,
4882
4882
  floating: o
4883
4883
  } = e;
4884
- const s = ge(t), a = Qn(t), i = Jn(a), c = Ce(t), u = s === "y", d = r.x + r.width / 2 - o.width / 2, f = r.y + r.height / 2 - o.height / 2, h = r[i] / 2 - o[i] / 2;
4885
- let g;
4884
+ const s = he(t), a = er(t), i = Qn(a), c = Ce(t), u = s === "y", d = r.x + r.width / 2 - o.width / 2, f = r.y + r.height / 2 - o.height / 2, g = r[i] / 2 - o[i] / 2;
4885
+ let h;
4886
4886
  switch (c) {
4887
4887
  case "top":
4888
- g = {
4888
+ h = {
4889
4889
  x: d,
4890
4890
  y: r.y - o.height
4891
4891
  };
4892
4892
  break;
4893
4893
  case "bottom":
4894
- g = {
4894
+ h = {
4895
4895
  x: d,
4896
4896
  y: r.y + r.height
4897
4897
  };
4898
4898
  break;
4899
4899
  case "right":
4900
- g = {
4900
+ h = {
4901
4901
  x: r.x + r.width,
4902
4902
  y: f
4903
4903
  };
4904
4904
  break;
4905
4905
  case "left":
4906
- g = {
4906
+ h = {
4907
4907
  x: r.x - o.width,
4908
4908
  y: f
4909
4909
  };
4910
4910
  break;
4911
4911
  default:
4912
- g = {
4912
+ h = {
4913
4913
  x: r.x,
4914
4914
  y: r.y
4915
4915
  };
4916
4916
  }
4917
4917
  switch (ot(t)) {
4918
4918
  case "start":
4919
- g[a] -= h * (n && u ? -1 : 1);
4919
+ h[a] -= g * (n && u ? -1 : 1);
4920
4920
  break;
4921
4921
  case "end":
4922
- g[a] += h * (n && u ? -1 : 1);
4922
+ h[a] += g * (n && u ? -1 : 1);
4923
4923
  break;
4924
4924
  }
4925
- return g;
4925
+ return h;
4926
4926
  }
4927
4927
  const Cc = async (e, t, n) => {
4928
4928
  const {
@@ -4938,7 +4938,7 @@ const Cc = async (e, t, n) => {
4938
4938
  }), {
4939
4939
  x: d,
4940
4940
  y: f
4941
- } = Fr(u, r, c), h = r, g = {}, v = 0;
4941
+ } = $r(u, r, c), g = r, h = {}, v = 0;
4942
4942
  for (let m = 0; m < i.length; m++) {
4943
4943
  const {
4944
4944
  name: b,
@@ -4952,9 +4952,9 @@ const Cc = async (e, t, n) => {
4952
4952
  x: d,
4953
4953
  y: f,
4954
4954
  initialPlacement: r,
4955
- placement: h,
4955
+ placement: g,
4956
4956
  strategy: o,
4957
- middlewareData: g,
4957
+ middlewareData: h,
4958
4958
  rects: u,
4959
4959
  platform: a,
4960
4960
  elements: {
@@ -4962,27 +4962,27 @@ const Cc = async (e, t, n) => {
4962
4962
  floating: t
4963
4963
  }
4964
4964
  });
4965
- d = x ?? d, f = w ?? f, g = {
4966
- ...g,
4965
+ d = x ?? d, f = w ?? f, h = {
4966
+ ...h,
4967
4967
  [b]: {
4968
- ...g[b],
4968
+ ...h[b],
4969
4969
  ...E
4970
4970
  }
4971
- }, R && v <= 50 && (v++, typeof R == "object" && (R.placement && (h = R.placement), R.rects && (u = R.rects === !0 ? await a.getElementRects({
4971
+ }, R && v <= 50 && (v++, typeof R == "object" && (R.placement && (g = R.placement), R.rects && (u = R.rects === !0 ? await a.getElementRects({
4972
4972
  reference: e,
4973
4973
  floating: t,
4974
4974
  strategy: o
4975
4975
  }) : R.rects), {
4976
4976
  x: d,
4977
4977
  y: f
4978
- } = Fr(u, h, c)), m = -1);
4978
+ } = $r(u, g, c)), m = -1);
4979
4979
  }
4980
4980
  return {
4981
4981
  x: d,
4982
4982
  y: f,
4983
- placement: h,
4983
+ placement: g,
4984
4984
  strategy: o,
4985
- middlewareData: g
4985
+ middlewareData: h
4986
4986
  };
4987
4987
  };
4988
4988
  async function vt(e, t) {
@@ -4999,9 +4999,9 @@ async function vt(e, t) {
4999
4999
  boundary: u = "clippingAncestors",
5000
5000
  rootBoundary: d = "viewport",
5001
5001
  elementContext: f = "floating",
5002
- altBoundary: h = !1,
5003
- padding: g = 0
5004
- } = we(t, e), v = Zo(g), b = i[h ? f === "floating" ? "reference" : "floating" : f], y = Wt(await s.getClippingRect({
5002
+ altBoundary: g = !1,
5003
+ padding: h = 0
5004
+ } = we(t, e), v = Zo(h), b = i[g ? f === "floating" ? "reference" : "floating" : f], y = Wt(await s.getClippingRect({
5005
5005
  element: (n = await (s.isElement == null ? void 0 : s.isElement(b))) == null || n ? b : b.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(i.floating)),
5006
5006
  boundary: u,
5007
5007
  rootBoundary: d,
@@ -5048,17 +5048,17 @@ const Sc = (e) => ({
5048
5048
  } = we(e, t) || {};
5049
5049
  if (u == null)
5050
5050
  return {};
5051
- const f = Zo(d), h = {
5051
+ const f = Zo(d), g = {
5052
5052
  x: n,
5053
5053
  y: r
5054
- }, g = Qn(o), v = Jn(g), m = await a.getDimensions(u), b = g === "y", y = b ? "top" : "left", x = b ? "bottom" : "right", w = b ? "clientHeight" : "clientWidth", E = s.reference[v] + s.reference[g] - h[g] - s.floating[v], R = h[g] - s.reference[g], N = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
5054
+ }, h = er(o), v = Qn(h), m = await a.getDimensions(u), b = h === "y", y = b ? "top" : "left", x = b ? "bottom" : "right", w = b ? "clientHeight" : "clientWidth", E = s.reference[v] + s.reference[h] - g[h] - s.floating[v], R = g[h] - s.reference[h], N = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(u));
5055
5055
  let P = N ? N[w] : 0;
5056
5056
  (!P || !await (a.isElement == null ? void 0 : a.isElement(N))) && (P = i.floating[w] || s.floating[v]);
5057
- const T = E / 2 - R / 2, V = P / 2 - m[v] / 2 - 1, U = Pe(f[y], V), q = Pe(f[x], V), K = U, Z = P - m[v] - q, $ = P / 2 - m[v] / 2 + T, G = Nn(K, $, Z), F = !c.arrow && ot(o) != null && $ !== G && s.reference[v] / 2 - ($ < K ? U : q) - m[v] / 2 < 0, z = F ? $ < K ? $ - K : $ - Z : 0;
5057
+ const T = E / 2 - R / 2, V = P / 2 - m[v] / 2 - 1, U = Pe(f[y], V), q = Pe(f[x], V), K = U, Z = P - m[v] - q, $ = P / 2 - m[v] / 2 + T, G = On(K, $, Z), F = !c.arrow && ot(o) != null && $ !== G && s.reference[v] / 2 - ($ < K ? U : q) - m[v] / 2 < 0, z = F ? $ < K ? $ - K : $ - Z : 0;
5058
5058
  return {
5059
- [g]: h[g] + z,
5059
+ [h]: g[h] + z,
5060
5060
  data: {
5061
- [g]: G,
5061
+ [h]: G,
5062
5062
  centerOffset: $ - G - z,
5063
5063
  ...F && {
5064
5064
  alignmentOffset: z
@@ -5083,20 +5083,20 @@ const Sc = (e) => ({
5083
5083
  } = t, {
5084
5084
  mainAxis: d = !0,
5085
5085
  crossAxis: f = !0,
5086
- fallbackPlacements: h,
5087
- fallbackStrategy: g = "bestFit",
5086
+ fallbackPlacements: g,
5087
+ fallbackStrategy: h = "bestFit",
5088
5088
  fallbackAxisSideDirection: v = "none",
5089
5089
  flipAlignment: m = !0,
5090
5090
  ...b
5091
5091
  } = we(e, t);
5092
5092
  if ((n = s.arrow) != null && n.alignmentOffset)
5093
5093
  return {};
5094
- const y = Ce(o), x = ge(i), w = Ce(i) === i, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), R = h || (w || !m ? [Vt(i)] : gc(i)), N = v !== "none";
5095
- !h && N && R.push(...yc(i, m, v, E));
5094
+ const y = Ce(o), x = he(i), w = Ce(i) === i, E = await (c.isRTL == null ? void 0 : c.isRTL(u.floating)), R = g || (w || !m ? [Vt(i)] : hc(i)), N = v !== "none";
5095
+ !g && N && R.push(...yc(i, m, v, E));
5096
5096
  const P = [i, ...R], T = await vt(t, b), V = [];
5097
5097
  let U = ((r = s.flip) == null ? void 0 : r.overflows) || [];
5098
5098
  if (d && V.push(T[y]), f) {
5099
- const $ = hc(o, a, E);
5099
+ const $ = gc(o, a, E);
5100
5100
  V.push(T[$[0]], T[$[1]]);
5101
5101
  }
5102
5102
  if (U = [...U, {
@@ -5105,9 +5105,9 @@ const Sc = (e) => ({
5105
5105
  }], !V.every(($) => $ <= 0)) {
5106
5106
  var q, K;
5107
5107
  const $ = (((q = s.flip) == null ? void 0 : q.index) || 0) + 1, G = P[$];
5108
- if (G && (!(f === "alignment" ? x !== ge(G) : !1) || // We leave the current main axis only if every placement on that axis
5108
+ if (G && (!(f === "alignment" ? x !== he(G) : !1) || // We leave the current main axis only if every placement on that axis
5109
5109
  // overflows the main axis.
5110
- U.every((k) => ge(k.placement) === x ? k.overflows[0] > 0 : !0)))
5110
+ U.every((k) => he(k.placement) === x ? k.overflows[0] > 0 : !0)))
5111
5111
  return {
5112
5112
  data: {
5113
5113
  index: $,
@@ -5119,12 +5119,12 @@ const Sc = (e) => ({
5119
5119
  };
5120
5120
  let F = (K = U.filter((z) => z.overflows[0] <= 0).sort((z, k) => z.overflows[1] - k.overflows[1])[0]) == null ? void 0 : K.placement;
5121
5121
  if (!F)
5122
- switch (g) {
5122
+ switch (h) {
5123
5123
  case "bestFit": {
5124
5124
  var Z;
5125
5125
  const z = (Z = U.filter((k) => {
5126
5126
  if (N) {
5127
- const Q = ge(k.placement);
5127
+ const Q = he(k.placement);
5128
5128
  return Q === x || // Create a bias to the `y` side axis due to horizontal
5129
5129
  // reading directions favoring greater width.
5130
5130
  Q === "y";
@@ -5149,7 +5149,7 @@ const Sc = (e) => ({
5149
5149
  }
5150
5150
  };
5151
5151
  };
5152
- function $r(e, t) {
5152
+ function zr(e, t) {
5153
5153
  return {
5154
5154
  top: e.top - t.height,
5155
5155
  right: e.right - t.width,
@@ -5157,7 +5157,7 @@ function $r(e, t) {
5157
5157
  left: e.left - t.width
5158
5158
  };
5159
5159
  }
5160
- function zr(e) {
5160
+ function Vr(e) {
5161
5161
  return dc.some((t) => e[t] >= 0);
5162
5162
  }
5163
5163
  const kc = function(e) {
@@ -5176,11 +5176,11 @@ const kc = function(e) {
5176
5176
  const s = await vt(t, {
5177
5177
  ...o,
5178
5178
  elementContext: "reference"
5179
- }), a = $r(s, n.reference);
5179
+ }), a = zr(s, n.reference);
5180
5180
  return {
5181
5181
  data: {
5182
5182
  referenceHiddenOffsets: a,
5183
- referenceHidden: zr(a)
5183
+ referenceHidden: Vr(a)
5184
5184
  }
5185
5185
  };
5186
5186
  }
@@ -5188,11 +5188,11 @@ const kc = function(e) {
5188
5188
  const s = await vt(t, {
5189
5189
  ...o,
5190
5190
  altBoundary: !0
5191
- }), a = $r(s, n.floating);
5191
+ }), a = zr(s, n.floating);
5192
5192
  return {
5193
5193
  data: {
5194
5194
  escapedOffsets: a,
5195
- escaped: zr(a)
5195
+ escaped: Vr(a)
5196
5196
  }
5197
5197
  };
5198
5198
  }
@@ -5207,10 +5207,10 @@ async function Rc(e, t) {
5207
5207
  placement: n,
5208
5208
  platform: r,
5209
5209
  elements: o
5210
- } = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ce(n), i = ot(n), c = ge(n) === "y", u = Jo.has(a) ? -1 : 1, d = s && c ? -1 : 1, f = we(t, e);
5210
+ } = e, s = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = Ce(n), i = ot(n), c = he(n) === "y", u = Jo.has(a) ? -1 : 1, d = s && c ? -1 : 1, f = we(t, e);
5211
5211
  let {
5212
- mainAxis: h,
5213
- crossAxis: g,
5212
+ mainAxis: g,
5213
+ crossAxis: h,
5214
5214
  alignmentAxis: v
5215
5215
  } = typeof f == "number" ? {
5216
5216
  mainAxis: f,
@@ -5221,12 +5221,12 @@ async function Rc(e, t) {
5221
5221
  crossAxis: f.crossAxis || 0,
5222
5222
  alignmentAxis: f.alignmentAxis
5223
5223
  };
5224
- return i && typeof v == "number" && (g = i === "end" ? v * -1 : v), c ? {
5225
- x: g * d,
5226
- y: h * u
5224
+ return i && typeof v == "number" && (h = i === "end" ? v * -1 : v), c ? {
5225
+ x: h * d,
5226
+ y: g * u
5227
5227
  } : {
5228
- x: h * u,
5229
- y: g * d
5228
+ x: g * u,
5229
+ y: h * d
5230
5230
  };
5231
5231
  }
5232
5232
  const Pc = function(e) {
@@ -5279,19 +5279,19 @@ const Pc = function(e) {
5279
5279
  } = we(e, t), u = {
5280
5280
  x: n,
5281
5281
  y: r
5282
- }, d = await vt(t, c), f = ge(Ce(o)), h = Zn(f);
5283
- let g = u[h], v = u[f];
5282
+ }, d = await vt(t, c), f = he(Ce(o)), g = Jn(f);
5283
+ let h = u[g], v = u[f];
5284
5284
  if (s) {
5285
- const b = h === "y" ? "top" : "left", y = h === "y" ? "bottom" : "right", x = g + d[b], w = g - d[y];
5286
- g = Nn(x, g, w);
5285
+ const b = g === "y" ? "top" : "left", y = g === "y" ? "bottom" : "right", x = h + d[b], w = h - d[y];
5286
+ h = On(x, h, w);
5287
5287
  }
5288
5288
  if (a) {
5289
5289
  const b = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", x = v + d[b], w = v - d[y];
5290
- v = Nn(x, v, w);
5290
+ v = On(x, v, w);
5291
5291
  }
5292
5292
  const m = i.fn({
5293
5293
  ...t,
5294
- [h]: g,
5294
+ [g]: h,
5295
5295
  [f]: v
5296
5296
  });
5297
5297
  return {
@@ -5300,7 +5300,7 @@ const Pc = function(e) {
5300
5300
  x: m.x - n,
5301
5301
  y: m.y - r,
5302
5302
  enabled: {
5303
- [h]: s,
5303
+ [g]: s,
5304
5304
  [f]: a
5305
5305
  }
5306
5306
  }
@@ -5324,8 +5324,8 @@ const Pc = function(e) {
5324
5324
  } = we(e, t), d = {
5325
5325
  x: n,
5326
5326
  y: r
5327
- }, f = ge(o), h = Zn(f);
5328
- let g = d[h], v = d[f];
5327
+ }, f = he(o), g = Jn(f);
5328
+ let h = d[g], v = d[f];
5329
5329
  const m = we(i, t), b = typeof m == "number" ? {
5330
5330
  mainAxis: m,
5331
5331
  crossAxis: 0
@@ -5335,16 +5335,16 @@ const Pc = function(e) {
5335
5335
  ...m
5336
5336
  };
5337
5337
  if (c) {
5338
- const w = h === "y" ? "height" : "width", E = s.reference[h] - s.floating[w] + b.mainAxis, R = s.reference[h] + s.reference[w] - b.mainAxis;
5339
- g < E ? g = E : g > R && (g = R);
5338
+ const w = g === "y" ? "height" : "width", E = s.reference[g] - s.floating[w] + b.mainAxis, R = s.reference[g] + s.reference[w] - b.mainAxis;
5339
+ h < E ? h = E : h > R && (h = R);
5340
5340
  }
5341
5341
  if (u) {
5342
5342
  var y, x;
5343
- const w = h === "y" ? "width" : "height", E = Jo.has(Ce(o)), R = s.reference[f] - s.floating[w] + (E && ((y = a.offset) == null ? void 0 : y[f]) || 0) + (E ? 0 : b.crossAxis), N = s.reference[f] + s.reference[w] + (E ? 0 : ((x = a.offset) == null ? void 0 : x[f]) || 0) - (E ? b.crossAxis : 0);
5343
+ const w = g === "y" ? "width" : "height", E = Jo.has(Ce(o)), R = s.reference[f] - s.floating[w] + (E && ((y = a.offset) == null ? void 0 : y[f]) || 0) + (E ? 0 : b.crossAxis), N = s.reference[f] + s.reference[w] + (E ? 0 : ((x = a.offset) == null ? void 0 : x[f]) || 0) - (E ? b.crossAxis : 0);
5344
5344
  v < R ? v = R : v > N && (v = N);
5345
5345
  }
5346
5346
  return {
5347
- [h]: g,
5347
+ [g]: h,
5348
5348
  [f]: v
5349
5349
  };
5350
5350
  }
@@ -5364,17 +5364,17 @@ const Pc = function(e) {
5364
5364
  apply: c = () => {
5365
5365
  },
5366
5366
  ...u
5367
- } = we(e, t), d = await vt(t, u), f = Ce(o), h = ot(o), g = ge(o) === "y", {
5367
+ } = we(e, t), d = await vt(t, u), f = Ce(o), g = ot(o), h = he(o) === "y", {
5368
5368
  width: v,
5369
5369
  height: m
5370
5370
  } = s.floating;
5371
5371
  let b, y;
5372
- f === "top" || f === "bottom" ? (b = f, y = h === (await (a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (y = f, b = h === "end" ? "top" : "bottom");
5372
+ f === "top" || f === "bottom" ? (b = f, y = g === (await (a.isRTL == null ? void 0 : a.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (y = f, b = g === "end" ? "top" : "bottom");
5373
5373
  const x = m - d.top - d.bottom, w = v - d.left - d.right, E = Pe(m - d[b], x), R = Pe(v - d[y], w), N = !t.middlewareData.shift;
5374
5374
  let P = E, T = R;
5375
- if ((n = t.middlewareData.shift) != null && n.enabled.x && (T = w), (r = t.middlewareData.shift) != null && r.enabled.y && (P = x), N && !h) {
5375
+ if ((n = t.middlewareData.shift) != null && n.enabled.x && (T = w), (r = t.middlewareData.shift) != null && r.enabled.y && (P = x), N && !g) {
5376
5376
  const U = le(d.left, 0), q = le(d.right, 0), K = le(d.top, 0), Z = le(d.bottom, 0);
5377
- g ? T = v - 2 * (U !== 0 || q !== 0 ? U + q : le(d.left, d.right)) : P = m - 2 * (K !== 0 || Z !== 0 ? K + Z : le(d.top, d.bottom));
5377
+ h ? T = v - 2 * (U !== 0 || q !== 0 ? U + q : le(d.left, d.right)) : P = m - 2 * (K !== 0 || Z !== 0 ? K + Z : le(d.top, d.bottom));
5378
5378
  }
5379
5379
  await c({
5380
5380
  ...t,
@@ -5390,7 +5390,7 @@ const Pc = function(e) {
5390
5390
  }
5391
5391
  };
5392
5392
  };
5393
- function qt() {
5393
+ function Zt() {
5394
5394
  return typeof window < "u";
5395
5395
  }
5396
5396
  function st(e) {
@@ -5405,16 +5405,16 @@ function xe(e) {
5405
5405
  return (t = (Qo(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
5406
5406
  }
5407
5407
  function Qo(e) {
5408
- return qt() ? e instanceof Node || e instanceof ce(e).Node : !1;
5408
+ return Zt() ? e instanceof Node || e instanceof ce(e).Node : !1;
5409
5409
  }
5410
5410
  function de(e) {
5411
- return qt() ? e instanceof Element || e instanceof ce(e).Element : !1;
5411
+ return Zt() ? e instanceof Element || e instanceof ce(e).Element : !1;
5412
5412
  }
5413
5413
  function be(e) {
5414
- return qt() ? e instanceof HTMLElement || e instanceof ce(e).HTMLElement : !1;
5414
+ return Zt() ? e instanceof HTMLElement || e instanceof ce(e).HTMLElement : !1;
5415
5415
  }
5416
- function Vr(e) {
5417
- return !qt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ce(e).ShadowRoot;
5416
+ function Wr(e) {
5417
+ return !Zt() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof ce(e).ShadowRoot;
5418
5418
  }
5419
5419
  const Oc = /* @__PURE__ */ new Set(["inline", "contents"]);
5420
5420
  function Ct(e) {
@@ -5431,7 +5431,7 @@ function Ic(e) {
5431
5431
  return _c.has(st(e));
5432
5432
  }
5433
5433
  const jc = [":popover-open", ":modal"];
5434
- function Zt(e) {
5434
+ function Jt(e) {
5435
5435
  return jc.some((t) => {
5436
5436
  try {
5437
5437
  return e.matches(t);
@@ -5441,22 +5441,22 @@ function Zt(e) {
5441
5441
  });
5442
5442
  }
5443
5443
  const Mc = ["transform", "translate", "scale", "rotate", "perspective"], Dc = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Lc = ["paint", "layout", "strict", "content"];
5444
- function er(e) {
5445
- const t = tr(), n = de(e) ? fe(e) : e;
5444
+ function tr(e) {
5445
+ const t = nr(), n = de(e) ? fe(e) : e;
5446
5446
  return Mc.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) || Dc.some((r) => (n.willChange || "").includes(r)) || Lc.some((r) => (n.contain || "").includes(r));
5447
5447
  }
5448
5448
  function Fc(e) {
5449
5449
  let t = Ae(e);
5450
5450
  for (; be(t) && !Je(t); ) {
5451
- if (er(t))
5451
+ if (tr(t))
5452
5452
  return t;
5453
- if (Zt(t))
5453
+ if (Jt(t))
5454
5454
  return null;
5455
5455
  t = Ae(t);
5456
5456
  }
5457
5457
  return null;
5458
5458
  }
5459
- function tr() {
5459
+ function nr() {
5460
5460
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
5461
5461
  }
5462
5462
  const $c = /* @__PURE__ */ new Set(["html", "body", "#document"]);
@@ -5466,7 +5466,7 @@ function Je(e) {
5466
5466
  function fe(e) {
5467
5467
  return ce(e).getComputedStyle(e);
5468
5468
  }
5469
- function Jt(e) {
5469
+ function Qt(e) {
5470
5470
  return de(e) ? {
5471
5471
  scrollLeft: e.scrollLeft,
5472
5472
  scrollTop: e.scrollTop
@@ -5482,10 +5482,10 @@ function Ae(e) {
5482
5482
  // Step into the shadow DOM of the parent of a slotted node.
5483
5483
  e.assignedSlot || // DOM Element detected.
5484
5484
  e.parentNode || // ShadowRoot detected.
5485
- Vr(e) && e.host || // Fallback.
5485
+ Wr(e) && e.host || // Fallback.
5486
5486
  xe(e)
5487
5487
  );
5488
- return Vr(t) ? t.host : t;
5488
+ return Wr(t) ? t.host : t;
5489
5489
  }
5490
5490
  function es(e) {
5491
5491
  const t = Ae(e);
@@ -5496,12 +5496,12 @@ function bt(e, t, n) {
5496
5496
  t === void 0 && (t = []), n === void 0 && (n = !0);
5497
5497
  const o = es(e), s = o === ((r = e.ownerDocument) == null ? void 0 : r.body), a = ce(o);
5498
5498
  if (s) {
5499
- const i = _n(a);
5499
+ const i = In(a);
5500
5500
  return t.concat(a, a.visualViewport || [], Ct(o) ? o : [], i && n ? bt(i) : []);
5501
5501
  }
5502
5502
  return t.concat(o, bt(o, [], n));
5503
5503
  }
5504
- function _n(e) {
5504
+ function In(e) {
5505
5505
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
5506
5506
  }
5507
5507
  function ts(e) {
@@ -5514,11 +5514,11 @@ function ts(e) {
5514
5514
  $: i
5515
5515
  };
5516
5516
  }
5517
- function nr(e) {
5517
+ function rr(e) {
5518
5518
  return de(e) ? e : e.contextElement;
5519
5519
  }
5520
5520
  function qe(e) {
5521
- const t = nr(e);
5521
+ const t = rr(e);
5522
5522
  if (!be(t))
5523
5523
  return ve(1);
5524
5524
  const n = t.getBoundingClientRect(), {
@@ -5535,7 +5535,7 @@ function qe(e) {
5535
5535
  const zc = /* @__PURE__ */ ve(0);
5536
5536
  function ns(e) {
5537
5537
  const t = ce(e);
5538
- return !tr() || !t.visualViewport ? zc : {
5538
+ return !nr() || !t.visualViewport ? zc : {
5539
5539
  x: t.visualViewport.offsetLeft,
5540
5540
  y: t.visualViewport.offsetTop
5541
5541
  };
@@ -5545,17 +5545,17 @@ function Vc(e, t, n) {
5545
5545
  }
5546
5546
  function $e(e, t, n, r) {
5547
5547
  t === void 0 && (t = !1), n === void 0 && (n = !1);
5548
- const o = e.getBoundingClientRect(), s = nr(e);
5548
+ const o = e.getBoundingClientRect(), s = rr(e);
5549
5549
  let a = ve(1);
5550
5550
  t && (r ? de(r) && (a = qe(r)) : a = qe(e));
5551
5551
  const i = Vc(s, n, r) ? ns(s) : ve(0);
5552
5552
  let c = (o.left + i.x) / a.x, u = (o.top + i.y) / a.y, d = o.width / a.x, f = o.height / a.y;
5553
5553
  if (s) {
5554
- const h = ce(s), g = r && de(r) ? ce(r) : r;
5555
- let v = h, m = _n(v);
5556
- for (; m && r && g !== v; ) {
5554
+ const g = ce(s), h = r && de(r) ? ce(r) : r;
5555
+ let v = g, m = In(v);
5556
+ for (; m && r && h !== v; ) {
5557
5557
  const b = qe(m), y = m.getBoundingClientRect(), x = fe(m), w = y.left + (m.clientLeft + parseFloat(x.paddingLeft)) * b.x, E = y.top + (m.clientTop + parseFloat(x.paddingTop)) * b.y;
5558
- c *= b.x, u *= b.y, d *= b.x, f *= b.y, c += w, u += E, v = ce(m), m = _n(v);
5558
+ c *= b.x, u *= b.y, d *= b.x, f *= b.y, c += w, u += E, v = ce(m), m = In(v);
5559
5559
  }
5560
5560
  }
5561
5561
  return Wt({
@@ -5565,12 +5565,12 @@ function $e(e, t, n, r) {
5565
5565
  y: u
5566
5566
  });
5567
5567
  }
5568
- function Qt(e, t) {
5569
- const n = Jt(e).scrollLeft;
5568
+ function en(e, t) {
5569
+ const n = Qt(e).scrollLeft;
5570
5570
  return t ? t.left + n : $e(xe(e)).left + n;
5571
5571
  }
5572
5572
  function rs(e, t) {
5573
- const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - Qt(e, n), o = n.top + t.scrollTop;
5573
+ const n = e.getBoundingClientRect(), r = n.left + t.scrollLeft - en(e, n), o = n.top + t.scrollTop;
5574
5574
  return {
5575
5575
  x: r,
5576
5576
  y: o
@@ -5583,7 +5583,7 @@ function Wc(e) {
5583
5583
  offsetParent: r,
5584
5584
  strategy: o
5585
5585
  } = e;
5586
- const s = o === "fixed", a = xe(r), i = t ? Zt(t.floating) : !1;
5586
+ const s = o === "fixed", a = xe(r), i = t ? Jt(t.floating) : !1;
5587
5587
  if (r === a || i && s)
5588
5588
  return n;
5589
5589
  let c = {
@@ -5591,24 +5591,24 @@ function Wc(e) {
5591
5591
  scrollTop: 0
5592
5592
  }, u = ve(1);
5593
5593
  const d = ve(0), f = be(r);
5594
- if ((f || !f && !s) && ((st(r) !== "body" || Ct(a)) && (c = Jt(r)), be(r))) {
5595
- const g = $e(r);
5596
- u = qe(r), d.x = g.x + r.clientLeft, d.y = g.y + r.clientTop;
5594
+ if ((f || !f && !s) && ((st(r) !== "body" || Ct(a)) && (c = Qt(r)), be(r))) {
5595
+ const h = $e(r);
5596
+ u = qe(r), d.x = h.x + r.clientLeft, d.y = h.y + r.clientTop;
5597
5597
  }
5598
- const h = a && !f && !s ? rs(a, c) : ve(0);
5598
+ const g = a && !f && !s ? rs(a, c) : ve(0);
5599
5599
  return {
5600
5600
  width: n.width * u.x,
5601
5601
  height: n.height * u.y,
5602
- x: n.x * u.x - c.scrollLeft * u.x + d.x + h.x,
5603
- y: n.y * u.y - c.scrollTop * u.y + d.y + h.y
5602
+ x: n.x * u.x - c.scrollLeft * u.x + d.x + g.x,
5603
+ y: n.y * u.y - c.scrollTop * u.y + d.y + g.y
5604
5604
  };
5605
5605
  }
5606
5606
  function Bc(e) {
5607
5607
  return Array.from(e.getClientRects());
5608
5608
  }
5609
5609
  function Hc(e) {
5610
- const t = xe(e), n = Jt(e), r = e.ownerDocument.body, o = le(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = le(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5611
- let a = -n.scrollLeft + Qt(e);
5610
+ const t = xe(e), n = Qt(e), r = e.ownerDocument.body, o = le(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), s = le(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5611
+ let a = -n.scrollLeft + en(e);
5612
5612
  const i = -n.scrollTop;
5613
5613
  return fe(r).direction === "rtl" && (a += le(t.clientWidth, r.clientWidth) - o), {
5614
5614
  width: o,
@@ -5617,20 +5617,20 @@ function Hc(e) {
5617
5617
  y: i
5618
5618
  };
5619
5619
  }
5620
- const Wr = 25;
5620
+ const Br = 25;
5621
5621
  function Uc(e, t) {
5622
5622
  const n = ce(e), r = xe(e), o = n.visualViewport;
5623
5623
  let s = r.clientWidth, a = r.clientHeight, i = 0, c = 0;
5624
5624
  if (o) {
5625
5625
  s = o.width, a = o.height;
5626
- const d = tr();
5626
+ const d = nr();
5627
5627
  (!d || d && t === "fixed") && (i = o.offsetLeft, c = o.offsetTop);
5628
5628
  }
5629
- const u = Qt(r);
5629
+ const u = en(r);
5630
5630
  if (u <= 0) {
5631
- const d = r.ownerDocument, f = d.body, h = getComputedStyle(f), g = d.compatMode === "CSS1Compat" && parseFloat(h.marginLeft) + parseFloat(h.marginRight) || 0, v = Math.abs(r.clientWidth - f.clientWidth - g);
5632
- v <= Wr && (s -= v);
5633
- } else u <= Wr && (s += u);
5631
+ const d = r.ownerDocument, f = d.body, g = getComputedStyle(f), h = d.compatMode === "CSS1Compat" && parseFloat(g.marginLeft) + parseFloat(g.marginRight) || 0, v = Math.abs(r.clientWidth - f.clientWidth - h);
5632
+ v <= Br && (s -= v);
5633
+ } else u <= Br && (s += u);
5634
5634
  return {
5635
5635
  width: s,
5636
5636
  height: a,
@@ -5648,7 +5648,7 @@ function Yc(e, t) {
5648
5648
  y: u
5649
5649
  };
5650
5650
  }
5651
- function Br(e, t, n) {
5651
+ function Hr(e, t, n) {
5652
5652
  let r;
5653
5653
  if (t === "viewport")
5654
5654
  r = Uc(e, n);
@@ -5679,7 +5679,7 @@ function Kc(e, t) {
5679
5679
  const s = fe(e).position === "fixed";
5680
5680
  let a = s ? Ae(e) : e;
5681
5681
  for (; de(a) && !Je(a); ) {
5682
- const i = fe(a), c = er(a);
5682
+ const i = fe(a), c = tr(a);
5683
5683
  !c && i.position === "fixed" && (o = null), (s ? !c && !o : !c && i.position === "static" && !!o && Gc.has(o.position) || Ct(a) && !c && os(e, a)) ? r = r.filter((d) => d !== a) : o = i, a = Ae(a);
5684
5684
  }
5685
5685
  return t.set(e, r), r;
@@ -5691,10 +5691,10 @@ function Xc(e) {
5691
5691
  rootBoundary: r,
5692
5692
  strategy: o
5693
5693
  } = e;
5694
- const a = [...n === "clippingAncestors" ? Zt(t) ? [] : Kc(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((u, d) => {
5695
- const f = Br(t, d, o);
5694
+ const a = [...n === "clippingAncestors" ? Jt(t) ? [] : Kc(t, this._c) : [].concat(n), r], i = a[0], c = a.reduce((u, d) => {
5695
+ const f = Hr(t, d, o);
5696
5696
  return u.top = le(f.top, u.top), u.right = Pe(f.right, u.right), u.bottom = Pe(f.bottom, u.bottom), u.left = le(f.left, u.left), u;
5697
- }, Br(t, i, o));
5697
+ }, Hr(t, i, o));
5698
5698
  return {
5699
5699
  width: c.right - c.left,
5700
5700
  height: c.bottom - c.top,
@@ -5720,26 +5720,26 @@ function Zc(e, t, n) {
5720
5720
  };
5721
5721
  const c = ve(0);
5722
5722
  function u() {
5723
- c.x = Qt(o);
5723
+ c.x = en(o);
5724
5724
  }
5725
5725
  if (r || !r && !s)
5726
- if ((st(t) !== "body" || Ct(o)) && (i = Jt(t)), r) {
5727
- const g = $e(t, !0, s, t);
5728
- c.x = g.x + t.clientLeft, c.y = g.y + t.clientTop;
5726
+ if ((st(t) !== "body" || Ct(o)) && (i = Qt(t)), r) {
5727
+ const h = $e(t, !0, s, t);
5728
+ c.x = h.x + t.clientLeft, c.y = h.y + t.clientTop;
5729
5729
  } else o && u();
5730
5730
  s && !r && o && u();
5731
- const d = o && !r && !s ? rs(o, i) : ve(0), f = a.left + i.scrollLeft - c.x - d.x, h = a.top + i.scrollTop - c.y - d.y;
5731
+ const d = o && !r && !s ? rs(o, i) : ve(0), f = a.left + i.scrollLeft - c.x - d.x, g = a.top + i.scrollTop - c.y - d.y;
5732
5732
  return {
5733
5733
  x: f,
5734
- y: h,
5734
+ y: g,
5735
5735
  width: a.width,
5736
5736
  height: a.height
5737
5737
  };
5738
5738
  }
5739
- function bn(e) {
5739
+ function xn(e) {
5740
5740
  return fe(e).position === "static";
5741
5741
  }
5742
- function Hr(e, t) {
5742
+ function Ur(e, t) {
5743
5743
  if (!be(e) || fe(e).position === "fixed")
5744
5744
  return null;
5745
5745
  if (t)
@@ -5749,21 +5749,21 @@ function Hr(e, t) {
5749
5749
  }
5750
5750
  function ss(e, t) {
5751
5751
  const n = ce(e);
5752
- if (Zt(e))
5752
+ if (Jt(e))
5753
5753
  return n;
5754
5754
  if (!be(e)) {
5755
5755
  let o = Ae(e);
5756
5756
  for (; o && !Je(o); ) {
5757
- if (de(o) && !bn(o))
5757
+ if (de(o) && !xn(o))
5758
5758
  return o;
5759
5759
  o = Ae(o);
5760
5760
  }
5761
5761
  return n;
5762
5762
  }
5763
- let r = Hr(e, t);
5764
- for (; r && Ic(r) && bn(r); )
5765
- r = Hr(r, t);
5766
- return r && Je(r) && bn(r) && !er(r) ? n : r || Fc(e) || n;
5763
+ let r = Ur(e, t);
5764
+ for (; r && Ic(r) && xn(r); )
5765
+ r = Ur(r, t);
5766
+ return r && Je(r) && xn(r) && !tr(r) ? n : r || Fc(e) || n;
5767
5767
  }
5768
5768
  const Jc = async function(e) {
5769
5769
  const t = this.getOffsetParent || ss, n = this.getDimensions, r = await n(e.floating);
@@ -5807,12 +5807,12 @@ function tu(e, t) {
5807
5807
  const u = e.getBoundingClientRect(), {
5808
5808
  left: d,
5809
5809
  top: f,
5810
- width: h,
5811
- height: g
5810
+ width: g,
5811
+ height: h
5812
5812
  } = u;
5813
- if (i || t(), !h || !g)
5813
+ if (i || t(), !g || !h)
5814
5814
  return;
5815
- const v = Mt(f), m = Mt(o.clientWidth - (d + h)), b = Mt(o.clientHeight - (f + g)), y = Mt(d), w = {
5815
+ const v = Mt(f), m = Mt(o.clientWidth - (d + g)), b = Mt(o.clientHeight - (f + h)), y = Mt(d), w = {
5816
5816
  rootMargin: -v + "px " + -m + "px " + -b + "px " + -y + "px",
5817
5817
  threshold: le(0, Pe(1, c)) || 1
5818
5818
  };
@@ -5849,21 +5849,21 @@ function nu(e, t, n, r) {
5849
5849
  elementResize: a = typeof ResizeObserver == "function",
5850
5850
  layoutShift: i = typeof IntersectionObserver == "function",
5851
5851
  animationFrame: c = !1
5852
- } = r, u = nr(e), d = o || s ? [...u ? bt(u) : [], ...bt(t)] : [];
5852
+ } = r, u = rr(e), d = o || s ? [...u ? bt(u) : [], ...bt(t)] : [];
5853
5853
  d.forEach((y) => {
5854
5854
  o && y.addEventListener("scroll", n, {
5855
5855
  passive: !0
5856
5856
  }), s && y.addEventListener("resize", n);
5857
5857
  });
5858
5858
  const f = u && i ? tu(u, n) : null;
5859
- let h = -1, g = null;
5860
- a && (g = new ResizeObserver((y) => {
5859
+ let g = -1, h = null;
5860
+ a && (h = new ResizeObserver((y) => {
5861
5861
  let [x] = y;
5862
- x && x.target === u && g && (g.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
5862
+ x && x.target === u && h && (h.unobserve(t), cancelAnimationFrame(g), g = requestAnimationFrame(() => {
5863
5863
  var w;
5864
- (w = g) == null || w.observe(t);
5864
+ (w = h) == null || w.observe(t);
5865
5865
  })), n();
5866
- }), u && !c && g.observe(u), g.observe(t));
5866
+ }), u && !c && h.observe(u), h.observe(t));
5867
5867
  let v, m = c ? $e(e) : null;
5868
5868
  c && b();
5869
5869
  function b() {
@@ -5874,10 +5874,10 @@ function nu(e, t, n, r) {
5874
5874
  var y;
5875
5875
  d.forEach((x) => {
5876
5876
  o && x.removeEventListener("scroll", n), s && x.removeEventListener("resize", n);
5877
- }), f == null || f(), (y = g) == null || y.disconnect(), g = null, c && cancelAnimationFrame(v);
5877
+ }), f == null || f(), (y = h) == null || y.disconnect(), h = null, c && cancelAnimationFrame(v);
5878
5878
  };
5879
5879
  }
5880
- const ru = Pc, ou = Ac, su = Ec, au = Nc, iu = kc, Ur = Sc, lu = Tc, cu = (e, t, n) => {
5880
+ const ru = Pc, ou = Ac, su = Ec, au = Nc, iu = kc, Gr = Sc, lu = Tc, cu = (e, t, n) => {
5881
5881
  const r = /* @__PURE__ */ new Map(), o = {
5882
5882
  platform: eu,
5883
5883
  ...n
@@ -5925,11 +5925,11 @@ function Bt(e, t) {
5925
5925
  function is(e) {
5926
5926
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
5927
5927
  }
5928
- function Gr(e, t) {
5928
+ function Yr(e, t) {
5929
5929
  const n = is(e);
5930
5930
  return Math.round(t * n) / n;
5931
5931
  }
5932
- function xn(e) {
5932
+ function yn(e) {
5933
5933
  const t = l.useRef(e);
5934
5934
  return Ft(() => {
5935
5935
  t.current = e;
@@ -5956,19 +5956,19 @@ function fu(e) {
5956
5956
  placement: t,
5957
5957
  middlewareData: {},
5958
5958
  isPositioned: !1
5959
- }), [h, g] = l.useState(r);
5960
- Bt(h, r) || g(r);
5959
+ }), [g, h] = l.useState(r);
5960
+ Bt(g, r) || h(r);
5961
5961
  const [v, m] = l.useState(null), [b, y] = l.useState(null), x = l.useCallback((k) => {
5962
5962
  k !== N.current && (N.current = k, m(k));
5963
5963
  }, []), w = l.useCallback((k) => {
5964
5964
  k !== P.current && (P.current = k, y(k));
5965
- }, []), E = s || v, R = a || b, N = l.useRef(null), P = l.useRef(null), T = l.useRef(d), V = c != null, U = xn(c), q = xn(o), K = xn(u), Z = l.useCallback(() => {
5965
+ }, []), E = s || v, R = a || b, N = l.useRef(null), P = l.useRef(null), T = l.useRef(d), V = c != null, U = yn(c), q = yn(o), K = yn(u), Z = l.useCallback(() => {
5966
5966
  if (!N.current || !P.current)
5967
5967
  return;
5968
5968
  const k = {
5969
5969
  placement: t,
5970
5970
  strategy: n,
5971
- middleware: h
5971
+ middleware: g
5972
5972
  };
5973
5973
  q.current && (k.platform = q.current), cu(N.current, P.current, k).then((Q) => {
5974
5974
  const S = {
@@ -5983,7 +5983,7 @@ function fu(e) {
5983
5983
  f(S);
5984
5984
  }));
5985
5985
  });
5986
- }, [h, t, n, q, K]);
5986
+ }, [g, t, n, q, K]);
5987
5987
  Ft(() => {
5988
5988
  u === !1 && T.current.isPositioned && (T.current.isPositioned = !1, f((k) => ({
5989
5989
  ...k,
@@ -6016,7 +6016,7 @@ function fu(e) {
6016
6016
  };
6017
6017
  if (!F.floating)
6018
6018
  return k;
6019
- const Q = Gr(F.floating, d.x), S = Gr(F.floating, d.y);
6019
+ const Q = Yr(F.floating, d.x), S = Yr(F.floating, d.y);
6020
6020
  return i ? {
6021
6021
  ...k,
6022
6022
  transform: "translate(" + Q + "px, " + S + "px)",
@@ -6049,10 +6049,10 @@ const pu = (e) => {
6049
6049
  element: r,
6050
6050
  padding: o
6051
6051
  } = typeof e == "function" ? e(n) : e;
6052
- return r && t(r) ? r.current != null ? Ur({
6052
+ return r && t(r) ? r.current != null ? Gr({
6053
6053
  element: r.current,
6054
6054
  padding: o
6055
- }).fn(n) : {} : r ? Ur({
6055
+ }).fn(n) : {} : r ? Gr({
6056
6056
  element: r,
6057
6057
  padding: o
6058
6058
  }).fn(n) : {};
@@ -6061,10 +6061,10 @@ const pu = (e) => {
6061
6061
  }, mu = (e, t) => ({
6062
6062
  ...ru(e),
6063
6063
  options: [e, t]
6064
- }), hu = (e, t) => ({
6064
+ }), gu = (e, t) => ({
6065
6065
  ...ou(e),
6066
6066
  options: [e, t]
6067
- }), gu = (e, t) => ({
6067
+ }), hu = (e, t) => ({
6068
6068
  ...lu(e),
6069
6069
  options: [e, t]
6070
6070
  }), vu = (e, t) => ({
@@ -6119,11 +6119,11 @@ function Su(e) {
6119
6119
  n(void 0);
6120
6120
  }, [e]), t;
6121
6121
  }
6122
- var rr = "Popper", [cs, at] = rt(rr), [Eu, us] = cs(rr), ds = (e) => {
6122
+ var or = "Popper", [cs, at] = rt(or), [Eu, us] = cs(or), ds = (e) => {
6123
6123
  const { __scopePopper: t, children: n } = e, [r, o] = l.useState(null);
6124
6124
  return /* @__PURE__ */ p.jsx(Eu, { scope: t, anchor: r, onAnchorChange: o, children: n });
6125
6125
  };
6126
- ds.displayName = rr;
6126
+ ds.displayName = or;
6127
6127
  var fs = "PopperAnchor", ps = l.forwardRef(
6128
6128
  (e, t) => {
6129
6129
  const { __scopePopper: n, virtualRef: r, ...o } = e, s = us(fs, n), a = l.useRef(null), i = re(t, a), c = l.useRef(null);
@@ -6134,7 +6134,7 @@ var fs = "PopperAnchor", ps = l.forwardRef(
6134
6134
  }
6135
6135
  );
6136
6136
  ps.displayName = fs;
6137
- var or = "PopperContent", [ku, Ru] = cs(or), ms = l.forwardRef(
6137
+ var sr = "PopperContent", [ku, Ru] = cs(sr), ms = l.forwardRef(
6138
6138
  (e, t) => {
6139
6139
  var A, D, W, H, ee, te;
6140
6140
  const {
@@ -6148,11 +6148,11 @@ var or = "PopperContent", [ku, Ru] = cs(or), ms = l.forwardRef(
6148
6148
  collisionBoundary: u = [],
6149
6149
  collisionPadding: d = 0,
6150
6150
  sticky: f = "partial",
6151
- hideWhenDetached: h = !1,
6152
- updatePositionStrategy: g = "optimized",
6151
+ hideWhenDetached: g = !1,
6152
+ updatePositionStrategy: h = "optimized",
6153
6153
  onPlaced: v,
6154
6154
  ...m
6155
- } = e, b = us(or, n), [y, x] = l.useState(null), w = re(t, (ie) => x(ie)), [E, R] = l.useState(null), N = Su(E), P = (N == null ? void 0 : N.width) ?? 0, T = (N == null ? void 0 : N.height) ?? 0, V = r + (s !== "center" ? "-" + s : ""), U = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, q = Array.isArray(u) ? u : [u], K = q.length > 0, Z = {
6155
+ } = e, b = us(sr, n), [y, x] = l.useState(null), w = re(t, (ie) => x(ie)), [E, R] = l.useState(null), N = Su(E), P = (N == null ? void 0 : N.width) ?? 0, T = (N == null ? void 0 : N.height) ?? 0, V = r + (s !== "center" ? "-" + s : ""), U = typeof d == "number" ? d : { top: 0, right: 0, bottom: 0, left: 0, ...d }, q = Array.isArray(u) ? u : [u], K = q.length > 0, Z = {
6156
6156
  padding: U,
6157
6157
  boundary: q.filter(Au),
6158
6158
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -6162,17 +6162,17 @@ var or = "PopperContent", [ku, Ru] = cs(or), ms = l.forwardRef(
6162
6162
  strategy: "fixed",
6163
6163
  placement: V,
6164
6164
  whileElementsMounted: (...ie) => nu(...ie, {
6165
- animationFrame: g === "always"
6165
+ animationFrame: h === "always"
6166
6166
  }),
6167
6167
  elements: {
6168
6168
  reference: b.anchor
6169
6169
  },
6170
6170
  middleware: [
6171
6171
  mu({ mainAxis: o + T, alignmentAxis: a }),
6172
- c && hu({
6172
+ c && gu({
6173
6173
  mainAxis: !0,
6174
6174
  crossAxis: !1,
6175
- limiter: f === "partial" ? gu() : void 0,
6175
+ limiter: f === "partial" ? hu() : void 0,
6176
6176
  ...Z
6177
6177
  }),
6178
6178
  c && vu({ ...Z }),
@@ -6185,7 +6185,7 @@ var or = "PopperContent", [ku, Ru] = cs(or), ms = l.forwardRef(
6185
6185
  }),
6186
6186
  E && yu({ element: E, padding: i }),
6187
6187
  Tu({ arrowWidth: P, arrowHeight: T }),
6188
- h && xu({ strategy: "referenceHidden", ...Z })
6188
+ g && xu({ strategy: "referenceHidden", ...Z })
6189
6189
  ]
6190
6190
  }), [Q, S] = vs(F), L = Le(v);
6191
6191
  se(() => {
@@ -6248,14 +6248,14 @@ var or = "PopperContent", [ku, Ru] = cs(or), ms = l.forwardRef(
6248
6248
  );
6249
6249
  }
6250
6250
  );
6251
- ms.displayName = or;
6252
- var hs = "PopperArrow", Pu = {
6251
+ ms.displayName = sr;
6252
+ var gs = "PopperArrow", Pu = {
6253
6253
  top: "bottom",
6254
6254
  right: "left",
6255
6255
  bottom: "top",
6256
6256
  left: "right"
6257
- }, gs = l.forwardRef(function(t, n) {
6258
- const { __scopePopper: r, ...o } = t, s = Ru(hs, r), a = Pu[s.placedSide];
6257
+ }, hs = l.forwardRef(function(t, n) {
6258
+ const { __scopePopper: r, ...o } = t, s = Ru(gs, r), a = Pu[s.placedSide];
6259
6259
  return (
6260
6260
  // we have to use an extra wrapper because `ResizeObserver` (used by `useSize`)
6261
6261
  // doesn't report size as we'd expect on SVG elements.
@@ -6299,7 +6299,7 @@ var hs = "PopperArrow", Pu = {
6299
6299
  )
6300
6300
  );
6301
6301
  });
6302
- gs.displayName = hs;
6302
+ hs.displayName = gs;
6303
6303
  function Au(e) {
6304
6304
  return e !== null;
6305
6305
  }
@@ -6308,16 +6308,16 @@ var Tu = (e) => ({
6308
6308
  options: e,
6309
6309
  fn(t) {
6310
6310
  var b, y, x;
6311
- const { placement: n, rects: r, middlewareData: o } = t, a = ((b = o.arrow) == null ? void 0 : b.centerOffset) !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [u, d] = vs(n), f = { start: "0%", center: "50%", end: "100%" }[d], h = (((y = o.arrow) == null ? void 0 : y.x) ?? 0) + i / 2, g = (((x = o.arrow) == null ? void 0 : x.y) ?? 0) + c / 2;
6311
+ const { placement: n, rects: r, middlewareData: o } = t, a = ((b = o.arrow) == null ? void 0 : b.centerOffset) !== 0, i = a ? 0 : e.arrowWidth, c = a ? 0 : e.arrowHeight, [u, d] = vs(n), f = { start: "0%", center: "50%", end: "100%" }[d], g = (((y = o.arrow) == null ? void 0 : y.x) ?? 0) + i / 2, h = (((x = o.arrow) == null ? void 0 : x.y) ?? 0) + c / 2;
6312
6312
  let v = "", m = "";
6313
- return u === "bottom" ? (v = a ? f : `${h}px`, m = `${-c}px`) : u === "top" ? (v = a ? f : `${h}px`, m = `${r.floating.height + c}px`) : u === "right" ? (v = `${-c}px`, m = a ? f : `${g}px`) : u === "left" && (v = `${r.floating.width + c}px`, m = a ? f : `${g}px`), { data: { x: v, y: m } };
6313
+ return u === "bottom" ? (v = a ? f : `${g}px`, m = `${-c}px`) : u === "top" ? (v = a ? f : `${g}px`, m = `${r.floating.height + c}px`) : u === "right" ? (v = `${-c}px`, m = a ? f : `${h}px`) : u === "left" && (v = `${r.floating.width + c}px`, m = a ? f : `${h}px`), { data: { x: v, y: m } };
6314
6314
  }
6315
6315
  });
6316
6316
  function vs(e) {
6317
6317
  const [t, n = "center"] = e.split("-");
6318
6318
  return [t, n];
6319
6319
  }
6320
- var sr = ds, en = ps, ar = ms, ir = gs, bs = Object.freeze({
6320
+ var ar = ds, tn = ps, ir = ms, lr = hs, bs = Object.freeze({
6321
6321
  // See: https://github.com/twbs/bootstrap/blob/main/scss/mixins/_visually-hidden.scss
6322
6322
  position: "absolute",
6323
6323
  border: 0,
@@ -6340,9 +6340,9 @@ var sr = ds, en = ps, ar = ms, ir = gs, bs = Object.freeze({
6340
6340
  )
6341
6341
  );
6342
6342
  xs.displayName = Nu;
6343
- var Ou = xs, [tn, ep] = rt("Tooltip", [
6343
+ var Ou = xs, [nn, tp] = rt("Tooltip", [
6344
6344
  at
6345
- ]), nn = at(), ys = "TooltipProvider", _u = 700, In = "tooltip.open", [Iu, lr] = tn(ys), ws = (e) => {
6345
+ ]), rn = at(), ys = "TooltipProvider", _u = 700, jn = "tooltip.open", [Iu, cr] = nn(ys), ws = (e) => {
6346
6346
  const {
6347
6347
  __scopeTooltip: t,
6348
6348
  delayDuration: n = _u,
@@ -6378,7 +6378,7 @@ var Ou = xs, [tn, ep] = rt("Tooltip", [
6378
6378
  );
6379
6379
  };
6380
6380
  ws.displayName = ys;
6381
- var xt = "Tooltip", [ju, St] = tn(xt), Cs = (e) => {
6381
+ var xt = "Tooltip", [ju, St] = nn(xt), Cs = (e) => {
6382
6382
  const {
6383
6383
  __scopeTooltip: t,
6384
6384
  children: n,
@@ -6387,29 +6387,29 @@ var xt = "Tooltip", [ju, St] = tn(xt), Cs = (e) => {
6387
6387
  onOpenChange: s,
6388
6388
  disableHoverableContent: a,
6389
6389
  delayDuration: i
6390
- } = e, c = lr(xt, e.__scopeTooltip), u = nn(t), [d, f] = l.useState(null), h = ae(), g = l.useRef(0), v = a ?? c.disableHoverableContent, m = i ?? c.delayDuration, b = l.useRef(!1), [y, x] = gt({
6390
+ } = e, c = cr(xt, e.__scopeTooltip), u = rn(t), [d, f] = l.useState(null), g = ae(), h = l.useRef(0), v = a ?? c.disableHoverableContent, m = i ?? c.delayDuration, b = l.useRef(!1), [y, x] = ht({
6391
6391
  prop: r,
6392
6392
  defaultProp: o ?? !1,
6393
6393
  onChange: (P) => {
6394
- P ? (c.onOpen(), document.dispatchEvent(new CustomEvent(In))) : c.onClose(), s == null || s(P);
6394
+ P ? (c.onOpen(), document.dispatchEvent(new CustomEvent(jn))) : c.onClose(), s == null || s(P);
6395
6395
  },
6396
6396
  caller: xt
6397
6397
  }), w = l.useMemo(() => y ? b.current ? "delayed-open" : "instant-open" : "closed", [y]), E = l.useCallback(() => {
6398
- window.clearTimeout(g.current), g.current = 0, b.current = !1, x(!0);
6398
+ window.clearTimeout(h.current), h.current = 0, b.current = !1, x(!0);
6399
6399
  }, [x]), R = l.useCallback(() => {
6400
- window.clearTimeout(g.current), g.current = 0, x(!1);
6400
+ window.clearTimeout(h.current), h.current = 0, x(!1);
6401
6401
  }, [x]), N = l.useCallback(() => {
6402
- window.clearTimeout(g.current), g.current = window.setTimeout(() => {
6403
- b.current = !0, x(!0), g.current = 0;
6402
+ window.clearTimeout(h.current), h.current = window.setTimeout(() => {
6403
+ b.current = !0, x(!0), h.current = 0;
6404
6404
  }, m);
6405
6405
  }, [m, x]);
6406
6406
  return l.useEffect(() => () => {
6407
- g.current && (window.clearTimeout(g.current), g.current = 0);
6408
- }, []), /* @__PURE__ */ p.jsx(sr, { ...u, children: /* @__PURE__ */ p.jsx(
6407
+ h.current && (window.clearTimeout(h.current), h.current = 0);
6408
+ }, []), /* @__PURE__ */ p.jsx(ar, { ...u, children: /* @__PURE__ */ p.jsx(
6409
6409
  ju,
6410
6410
  {
6411
6411
  scope: t,
6412
- contentId: h,
6412
+ contentId: g,
6413
6413
  open: y,
6414
6414
  stateAttribute: w,
6415
6415
  trigger: d,
@@ -6418,7 +6418,7 @@ var xt = "Tooltip", [ju, St] = tn(xt), Cs = (e) => {
6418
6418
  c.isOpenDelayedRef.current ? N() : E();
6419
6419
  }, [c.isOpenDelayedRef, N, E]),
6420
6420
  onTriggerLeave: l.useCallback(() => {
6421
- v ? R() : (window.clearTimeout(g.current), g.current = 0);
6421
+ v ? R() : (window.clearTimeout(h.current), h.current = 0);
6422
6422
  }, [R, v]),
6423
6423
  onOpen: E,
6424
6424
  onClose: R,
@@ -6428,18 +6428,18 @@ var xt = "Tooltip", [ju, St] = tn(xt), Cs = (e) => {
6428
6428
  ) });
6429
6429
  };
6430
6430
  Cs.displayName = xt;
6431
- var jn = "TooltipTrigger", Ss = l.forwardRef(
6431
+ var Mn = "TooltipTrigger", Ss = l.forwardRef(
6432
6432
  (e, t) => {
6433
- const { __scopeTooltip: n, ...r } = e, o = St(jn, n), s = lr(jn, n), a = nn(n), i = l.useRef(null), c = re(t, i, o.onTriggerChange), u = l.useRef(!1), d = l.useRef(!1), f = l.useCallback(() => u.current = !1, []);
6434
- return l.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ p.jsx(en, { asChild: !0, ...a, children: /* @__PURE__ */ p.jsx(
6433
+ const { __scopeTooltip: n, ...r } = e, o = St(Mn, n), s = cr(Mn, n), a = rn(n), i = l.useRef(null), c = re(t, i, o.onTriggerChange), u = l.useRef(!1), d = l.useRef(!1), f = l.useCallback(() => u.current = !1, []);
6434
+ return l.useEffect(() => () => document.removeEventListener("pointerup", f), [f]), /* @__PURE__ */ p.jsx(tn, { asChild: !0, ...a, children: /* @__PURE__ */ p.jsx(
6435
6435
  X.button,
6436
6436
  {
6437
6437
  "aria-describedby": o.open ? o.contentId : void 0,
6438
6438
  "data-state": o.stateAttribute,
6439
6439
  ...r,
6440
6440
  ref: c,
6441
- onPointerMove: J(e.onPointerMove, (h) => {
6442
- h.pointerType !== "touch" && !d.current && !s.isPointerInTransitRef.current && (o.onTriggerEnter(), d.current = !0);
6441
+ onPointerMove: J(e.onPointerMove, (g) => {
6442
+ g.pointerType !== "touch" && !d.current && !s.isPointerInTransitRef.current && (o.onTriggerEnter(), d.current = !0);
6443
6443
  }),
6444
6444
  onPointerLeave: J(e.onPointerLeave, () => {
6445
6445
  o.onTriggerLeave(), d.current = !1;
@@ -6456,46 +6456,46 @@ var jn = "TooltipTrigger", Ss = l.forwardRef(
6456
6456
  ) });
6457
6457
  }
6458
6458
  );
6459
- Ss.displayName = jn;
6460
- var cr = "TooltipPortal", [Mu, Du] = tn(cr, {
6459
+ Ss.displayName = Mn;
6460
+ var ur = "TooltipPortal", [Mu, Du] = nn(ur, {
6461
6461
  forceMount: void 0
6462
6462
  }), Es = (e) => {
6463
- const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = St(cr, t);
6463
+ const { __scopeTooltip: t, forceMount: n, children: r, container: o } = e, s = St(ur, t);
6464
6464
  return /* @__PURE__ */ p.jsx(Mu, { scope: t, forceMount: n, children: /* @__PURE__ */ p.jsx(Ne, { present: n || s.open, children: /* @__PURE__ */ p.jsx(wt, { asChild: !0, container: o, children: r }) }) });
6465
6465
  };
6466
- Es.displayName = cr;
6466
+ Es.displayName = ur;
6467
6467
  var Qe = "TooltipContent", ks = l.forwardRef(
6468
6468
  (e, t) => {
6469
6469
  const n = Du(Qe, e.__scopeTooltip), { forceMount: r = n.forceMount, side: o = "top", ...s } = e, a = St(Qe, e.__scopeTooltip);
6470
6470
  return /* @__PURE__ */ p.jsx(Ne, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ p.jsx(Rs, { side: o, ...s, ref: t }) : /* @__PURE__ */ p.jsx(Lu, { side: o, ...s, ref: t }) });
6471
6471
  }
6472
6472
  ), Lu = l.forwardRef((e, t) => {
6473
- const n = St(Qe, e.__scopeTooltip), r = lr(Qe, e.__scopeTooltip), o = l.useRef(null), s = re(t, o), [a, i] = l.useState(null), { trigger: c, onClose: u } = n, d = o.current, { onPointerInTransitChange: f } = r, h = l.useCallback(() => {
6473
+ const n = St(Qe, e.__scopeTooltip), r = cr(Qe, e.__scopeTooltip), o = l.useRef(null), s = re(t, o), [a, i] = l.useState(null), { trigger: c, onClose: u } = n, d = o.current, { onPointerInTransitChange: f } = r, g = l.useCallback(() => {
6474
6474
  i(null), f(!1);
6475
- }, [f]), g = l.useCallback(
6475
+ }, [f]), h = l.useCallback(
6476
6476
  (v, m) => {
6477
6477
  const b = v.currentTarget, y = { x: v.clientX, y: v.clientY }, x = Vu(y, b.getBoundingClientRect()), w = Wu(y, x), E = Bu(m.getBoundingClientRect()), R = Uu([...w, ...E]);
6478
6478
  i(R), f(!0);
6479
6479
  },
6480
6480
  [f]
6481
6481
  );
6482
- return l.useEffect(() => () => h(), [h]), l.useEffect(() => {
6482
+ return l.useEffect(() => () => g(), [g]), l.useEffect(() => {
6483
6483
  if (c && d) {
6484
- const v = (b) => g(b, d), m = (b) => g(b, c);
6484
+ const v = (b) => h(b, d), m = (b) => h(b, c);
6485
6485
  return c.addEventListener("pointerleave", v), d.addEventListener("pointerleave", m), () => {
6486
6486
  c.removeEventListener("pointerleave", v), d.removeEventListener("pointerleave", m);
6487
6487
  };
6488
6488
  }
6489
- }, [c, d, g, h]), l.useEffect(() => {
6489
+ }, [c, d, h, g]), l.useEffect(() => {
6490
6490
  if (a) {
6491
6491
  const v = (m) => {
6492
6492
  const b = m.target, y = { x: m.clientX, y: m.clientY }, x = (c == null ? void 0 : c.contains(b)) || (d == null ? void 0 : d.contains(b)), w = !Hu(y, a);
6493
- x ? h() : w && (h(), u());
6493
+ x ? g() : w && (g(), u());
6494
6494
  };
6495
6495
  return document.addEventListener("pointermove", v), () => document.removeEventListener("pointermove", v);
6496
6496
  }
6497
- }, [c, d, a, u, h]), /* @__PURE__ */ p.jsx(Rs, { ...e, ref: s });
6498
- }), [Fu, $u] = tn(xt, { isInside: !1 }), zu = /* @__PURE__ */ Ta("TooltipContent"), Rs = l.forwardRef(
6497
+ }, [c, d, a, u, g]), /* @__PURE__ */ p.jsx(Rs, { ...e, ref: s });
6498
+ }), [Fu, $u] = nn(xt, { isInside: !1 }), zu = /* @__PURE__ */ Ta("TooltipContent"), Rs = l.forwardRef(
6499
6499
  (e, t) => {
6500
6500
  const {
6501
6501
  __scopeTooltip: n,
@@ -6504,12 +6504,12 @@ var Qe = "TooltipContent", ks = l.forwardRef(
6504
6504
  onEscapeKeyDown: s,
6505
6505
  onPointerDownOutside: a,
6506
6506
  ...i
6507
- } = e, c = St(Qe, n), u = nn(n), { onClose: d } = c;
6508
- return l.useEffect(() => (document.addEventListener(In, d), () => document.removeEventListener(In, d)), [d]), l.useEffect(() => {
6507
+ } = e, c = St(Qe, n), u = rn(n), { onClose: d } = c;
6508
+ return l.useEffect(() => (document.addEventListener(jn, d), () => document.removeEventListener(jn, d)), [d]), l.useEffect(() => {
6509
6509
  if (c.trigger) {
6510
- const f = (h) => {
6511
- const g = h.target;
6512
- g != null && g.contains(c.trigger) && d();
6510
+ const f = (g) => {
6511
+ const h = g.target;
6512
+ h != null && h.contains(c.trigger) && d();
6513
6513
  };
6514
6514
  return window.addEventListener("scroll", f, { capture: !0 }), () => window.removeEventListener("scroll", f, { capture: !0 });
6515
6515
  }
@@ -6523,7 +6523,7 @@ var Qe = "TooltipContent", ks = l.forwardRef(
6523
6523
  onFocusOutside: (f) => f.preventDefault(),
6524
6524
  onDismiss: d,
6525
6525
  children: /* @__PURE__ */ p.jsxs(
6526
- ar,
6526
+ ir,
6527
6527
  {
6528
6528
  "data-state": c.stateAttribute,
6529
6529
  ...u,
@@ -6550,11 +6550,11 @@ var Qe = "TooltipContent", ks = l.forwardRef(
6550
6550
  ks.displayName = Qe;
6551
6551
  var Ps = "TooltipArrow", As = l.forwardRef(
6552
6552
  (e, t) => {
6553
- const { __scopeTooltip: n, ...r } = e, o = nn(n);
6553
+ const { __scopeTooltip: n, ...r } = e, o = rn(n);
6554
6554
  return $u(
6555
6555
  Ps,
6556
6556
  n
6557
- ).isInside ? null : /* @__PURE__ */ p.jsx(ir, { ...o, ...r, ref: t });
6557
+ ).isInside ? null : /* @__PURE__ */ p.jsx(lr, { ...o, ...r, ref: t });
6558
6558
  }
6559
6559
  );
6560
6560
  As.displayName = Ps;
@@ -6616,8 +6616,8 @@ function Hu(e, t) {
6616
6616
  const { x: n, y: r } = e;
6617
6617
  let o = !1;
6618
6618
  for (let s = 0, a = t.length - 1; s < t.length; a = s++) {
6619
- const i = t[s], c = t[a], u = i.x, d = i.y, f = c.x, h = c.y;
6620
- d > r != h > r && n < (f - u) * (r - d) / (h - d) + u && (o = !o);
6619
+ const i = t[s], c = t[a], u = i.x, d = i.y, f = c.x, g = c.y;
6620
+ d > r != g > r && n < (f - u) * (r - d) / (g - d) + u && (o = !o);
6621
6621
  }
6622
6622
  return o;
6623
6623
  }
@@ -6664,17 +6664,17 @@ function Qu({
6664
6664
  }
6665
6665
  );
6666
6666
  }
6667
- function tp({
6667
+ function np({
6668
6668
  ...e
6669
6669
  }) {
6670
6670
  return /* @__PURE__ */ p.jsx(Qu, { children: /* @__PURE__ */ p.jsx(Ku, { "data-slot": "tooltip", ...e }) });
6671
6671
  }
6672
- function np({
6672
+ function rp({
6673
6673
  ...e
6674
6674
  }) {
6675
6675
  return /* @__PURE__ */ p.jsx(Xu, { "data-slot": "tooltip-trigger", ...e });
6676
6676
  }
6677
- function rp({
6677
+ function op({
6678
6678
  className: e,
6679
6679
  sideOffset: t = 0,
6680
6680
  children: n,
@@ -6697,7 +6697,7 @@ function rp({
6697
6697
  }
6698
6698
  ) });
6699
6699
  }
6700
- const ed = Hn(
6700
+ const ed = Gt(
6701
6701
  "flex items-center rounded-lg border transition-colors p-2",
6702
6702
  {
6703
6703
  variants: {
@@ -6716,7 +6716,7 @@ const ed = Hn(
6716
6716
  status: "default"
6717
6717
  }
6718
6718
  }
6719
- ), ur = ({
6719
+ ), dr = ({
6720
6720
  label: e,
6721
6721
  helperText: t,
6722
6722
  errorText: n,
@@ -6764,7 +6764,7 @@ const ed = Hn(
6764
6764
  children: n || t
6765
6765
  }
6766
6766
  )
6767
- ] }), op = (e) => /* @__PURE__ */ p.jsx(ur, { type: "email", inputMode: "email", ...e }), sp = ({
6767
+ ] }), sp = (e) => /* @__PURE__ */ p.jsx(dr, { type: "email", inputMode: "email", ...e }), ap = ({
6768
6768
  showForgot: e = !1,
6769
6769
  onValidityChange: t,
6770
6770
  customValidator: n,
@@ -6807,7 +6807,7 @@ const ed = Hn(
6807
6807
  )
6808
6808
  ] }),
6809
6809
  /* @__PURE__ */ p.jsx(
6810
- ur,
6810
+ dr,
6811
6811
  {
6812
6812
  type: o ? "text" : "password",
6813
6813
  value: a,
@@ -6824,13 +6824,13 @@ const ed = Hn(
6824
6824
  )
6825
6825
  }
6826
6826
  ),
6827
- /* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-2 gap-y-1 text-xs mt-3", children: u.map((f, h) => /* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-1", children: [
6827
+ /* @__PURE__ */ p.jsx("div", { className: "grid grid-cols-2 gap-y-1 text-xs mt-3", children: u.map((f, g) => /* @__PURE__ */ p.jsxs("div", { className: "flex items-center gap-1", children: [
6828
6828
  f.isValid ? /* @__PURE__ */ p.jsx(Jl, { size: 14, className: "text-success-d" }) : /* @__PURE__ */ p.jsx(ec, { size: 14, className: "text-stroke" }),
6829
6829
  /* @__PURE__ */ p.jsx("span", { className: f.isValid ? "text-success-d" : "text-input", children: f.label })
6830
- ] }, h)) })
6830
+ ] }, g)) })
6831
6831
  ] }) });
6832
- }, ap = (e) => /* @__PURE__ */ p.jsx(
6833
- ur,
6832
+ }, ip = (e) => /* @__PURE__ */ p.jsx(
6833
+ dr,
6834
6834
  {
6835
6835
  type: "search",
6836
6836
  leftIcon: /* @__PURE__ */ p.jsx(
@@ -6844,7 +6844,7 @@ const ed = Hn(
6844
6844
  ...e
6845
6845
  }
6846
6846
  );
6847
- function Yr(e, [t, n]) {
6847
+ function Kr(e, [t, n]) {
6848
6848
  return Math.min(n, Math.max(t, e));
6849
6849
  }
6850
6850
  function td(e) {
@@ -6863,13 +6863,13 @@ function td(e) {
6863
6863
  }
6864
6864
  );
6865
6865
  u.displayName = i;
6866
- const d = e + "CollectionItemSlot", f = "data-radix-collection-item", h = /* @__PURE__ */ De(d), g = ke.forwardRef(
6866
+ const d = e + "CollectionItemSlot", f = "data-radix-collection-item", g = /* @__PURE__ */ De(d), h = ke.forwardRef(
6867
6867
  (m, b) => {
6868
6868
  const { scope: y, children: x, ...w } = m, E = ke.useRef(null), R = re(b, E), N = s(d, y);
6869
- return ke.useEffect(() => (N.itemMap.set(E, { ref: E, ...w }), () => void N.itemMap.delete(E))), /* @__PURE__ */ p.jsx(h, { [f]: "", ref: R, children: x });
6869
+ return ke.useEffect(() => (N.itemMap.set(E, { ref: E, ...w }), () => void N.itemMap.delete(E))), /* @__PURE__ */ p.jsx(g, { [f]: "", ref: R, children: x });
6870
6870
  }
6871
6871
  );
6872
- g.displayName = d;
6872
+ h.displayName = d;
6873
6873
  function v(m) {
6874
6874
  const b = s(e + "CollectionConsumer", m);
6875
6875
  return ke.useCallback(() => {
@@ -6882,7 +6882,7 @@ function td(e) {
6882
6882
  }, [b.collectionRef, b.itemMap]);
6883
6883
  }
6884
6884
  return [
6885
- { Provider: a, Slot: u, ItemSlot: g },
6885
+ { Provider: a, Slot: u, ItemSlot: h },
6886
6886
  v,
6887
6887
  r
6888
6888
  ];
@@ -6896,10 +6896,10 @@ function od(e) {
6896
6896
  const t = l.useRef({ value: e, previous: e });
6897
6897
  return l.useMemo(() => (t.current.value !== e && (t.current.previous = t.current.value, t.current.value = e), t.current.previous), [e]);
6898
6898
  }
6899
- var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Select", [rn, on, id] = td(ze), [it, ip] = rt(ze, [
6899
+ var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Select", [on, sn, id] = td(ze), [it, lp] = rt(ze, [
6900
6900
  id,
6901
6901
  at
6902
- ]), sn = at(), [ld, Oe] = it(ze), [cd, ud] = it(ze), Ts = (e) => {
6902
+ ]), an = at(), [ld, Oe] = it(ze), [cd, ud] = it(ze), Ts = (e) => {
6903
6903
  const {
6904
6904
  __scopeSelect: t,
6905
6905
  children: n,
@@ -6912,24 +6912,24 @@ var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Sele
6912
6912
  dir: u,
6913
6913
  name: d,
6914
6914
  autoComplete: f,
6915
- disabled: h,
6916
- required: g,
6915
+ disabled: g,
6916
+ required: h,
6917
6917
  form: v
6918
- } = e, m = sn(t), [b, y] = l.useState(null), [x, w] = l.useState(null), [E, R] = l.useState(!1), N = rd(u), [P, T] = gt({
6918
+ } = e, m = an(t), [b, y] = l.useState(null), [x, w] = l.useState(null), [E, R] = l.useState(!1), N = rd(u), [P, T] = ht({
6919
6919
  prop: r,
6920
6920
  defaultProp: o ?? !1,
6921
6921
  onChange: s,
6922
6922
  caller: ze
6923
- }), [V, U] = gt({
6923
+ }), [V, U] = ht({
6924
6924
  prop: a,
6925
6925
  defaultProp: i,
6926
6926
  onChange: c,
6927
6927
  caller: ze
6928
6928
  }), q = l.useRef(null), K = b ? v || !!b.closest("form") : !0, [Z, $] = l.useState(/* @__PURE__ */ new Set()), G = Array.from(Z).map((F) => F.props.value).join(";");
6929
- return /* @__PURE__ */ p.jsx(sr, { ...m, children: /* @__PURE__ */ p.jsxs(
6929
+ return /* @__PURE__ */ p.jsx(ar, { ...m, children: /* @__PURE__ */ p.jsxs(
6930
6930
  ld,
6931
6931
  {
6932
- required: g,
6932
+ required: h,
6933
6933
  scope: t,
6934
6934
  trigger: b,
6935
6935
  onTriggerChange: y,
@@ -6944,9 +6944,9 @@ var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Sele
6944
6944
  onOpenChange: T,
6945
6945
  dir: N,
6946
6946
  triggerPointerDownPosRef: q,
6947
- disabled: h,
6947
+ disabled: g,
6948
6948
  children: [
6949
- /* @__PURE__ */ p.jsx(rn.Provider, { scope: t, children: /* @__PURE__ */ p.jsx(
6949
+ /* @__PURE__ */ p.jsx(on.Provider, { scope: t, children: /* @__PURE__ */ p.jsx(
6950
6950
  cd,
6951
6951
  {
6952
6952
  scope: e.__scopeSelect,
@@ -6966,13 +6966,13 @@ var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Sele
6966
6966
  Qs,
6967
6967
  {
6968
6968
  "aria-hidden": !0,
6969
- required: g,
6969
+ required: h,
6970
6970
  tabIndex: -1,
6971
6971
  name: d,
6972
6972
  autoComplete: f,
6973
6973
  value: V,
6974
6974
  onChange: (F) => U(F.target.value),
6975
- disabled: h,
6975
+ disabled: g,
6976
6976
  form: v,
6977
6977
  children: [
6978
6978
  V === void 0 ? /* @__PURE__ */ p.jsx("option", { value: "" }) : null,
@@ -6988,16 +6988,16 @@ var sd = [" ", "Enter", "ArrowUp", "ArrowDown"], ad = [" ", "Enter"], ze = "Sele
6988
6988
  Ts.displayName = ze;
6989
6989
  var Ns = "SelectTrigger", Os = l.forwardRef(
6990
6990
  (e, t) => {
6991
- const { __scopeSelect: n, disabled: r = !1, ...o } = e, s = sn(n), a = Oe(Ns, n), i = a.disabled || r, c = re(t, a.onTriggerChange), u = on(n), d = l.useRef("touch"), [f, h, g] = ta((m) => {
6991
+ const { __scopeSelect: n, disabled: r = !1, ...o } = e, s = an(n), a = Oe(Ns, n), i = a.disabled || r, c = re(t, a.onTriggerChange), u = sn(n), d = l.useRef("touch"), [f, g, h] = ta((m) => {
6992
6992
  const b = u().filter((w) => !w.disabled), y = b.find((w) => w.value === a.value), x = na(b, m, y);
6993
6993
  x !== void 0 && a.onValueChange(x.value);
6994
6994
  }), v = (m) => {
6995
- i || (a.onOpenChange(!0), g()), m && (a.triggerPointerDownPosRef.current = {
6995
+ i || (a.onOpenChange(!0), h()), m && (a.triggerPointerDownPosRef.current = {
6996
6996
  x: Math.round(m.pageX),
6997
6997
  y: Math.round(m.pageY)
6998
6998
  });
6999
6999
  };
7000
- return /* @__PURE__ */ p.jsx(en, { asChild: !0, ...s, children: /* @__PURE__ */ p.jsx(
7000
+ return /* @__PURE__ */ p.jsx(tn, { asChild: !0, ...s, children: /* @__PURE__ */ p.jsx(
7001
7001
  X.button,
7002
7002
  {
7003
7003
  type: "button",
@@ -7023,7 +7023,7 @@ var Ns = "SelectTrigger", Os = l.forwardRef(
7023
7023
  }),
7024
7024
  onKeyDown: J(o.onKeyDown, (m) => {
7025
7025
  const b = f.current !== "";
7026
- !(m.ctrlKey || m.altKey || m.metaKey) && m.key.length === 1 && h(m.key), !(b && m.key === " ") && sd.includes(m.key) && (v(), m.preventDefault());
7026
+ !(m.ctrlKey || m.altKey || m.metaKey) && m.key.length === 1 && g(m.key), !(b && m.key === " ") && sd.includes(m.key) && (v(), m.preventDefault());
7027
7027
  })
7028
7028
  }
7029
7029
  ) });
@@ -7064,7 +7064,7 @@ var Ve = "SelectContent", Ds = l.forwardRef(
7064
7064
  }, []), !n.open) {
7065
7065
  const s = r;
7066
7066
  return s ? Ut.createPortal(
7067
- /* @__PURE__ */ p.jsx(Ls, { scope: e.__scopeSelect, children: /* @__PURE__ */ p.jsx(rn.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ p.jsx("div", { children: e.children }) }) }),
7067
+ /* @__PURE__ */ p.jsx(Ls, { scope: e.__scopeSelect, children: /* @__PURE__ */ p.jsx(on.Slot, { scope: e.__scopeSelect, children: /* @__PURE__ */ p.jsx("div", { children: e.children }) }) }),
7068
7068
  s
7069
7069
  ) : null;
7070
7070
  }
@@ -7087,8 +7087,8 @@ var ue = 10, [Ls, _e] = it(Ve), pd = "SelectContentImpl", md = /* @__PURE__ */ D
7087
7087
  align: u,
7088
7088
  alignOffset: d,
7089
7089
  arrowPadding: f,
7090
- collisionBoundary: h,
7091
- collisionPadding: g,
7090
+ collisionBoundary: g,
7091
+ collisionPadding: h,
7092
7092
  sticky: v,
7093
7093
  hideWhenDetached: m,
7094
7094
  avoidCollisions: b,
@@ -7096,10 +7096,10 @@ var ue = 10, [Ls, _e] = it(Ve), pd = "SelectContentImpl", md = /* @__PURE__ */ D
7096
7096
  ...y
7097
7097
  } = e, x = Oe(Ve, n), [w, E] = l.useState(null), [R, N] = l.useState(null), P = re(t, (A) => E(A)), [T, V] = l.useState(null), [U, q] = l.useState(
7098
7098
  null
7099
- ), K = on(n), [Z, $] = l.useState(!1), G = l.useRef(!1);
7099
+ ), K = sn(n), [Z, $] = l.useState(!1), G = l.useRef(!1);
7100
7100
  l.useEffect(() => {
7101
- if (w) return Gn(w);
7102
- }, [w]), Un();
7101
+ if (w) return Yn(w);
7102
+ }, [w]), Gn();
7103
7103
  const F = l.useCallback(
7104
7104
  (A) => {
7105
7105
  const [D, ...W] = K().map((te) => te.ref.current), [H] = W.slice(-1), ee = document.activeElement;
@@ -7152,14 +7152,14 @@ var ue = 10, [Ls, _e] = it(Ve), pd = "SelectContentImpl", md = /* @__PURE__ */ D
7152
7152
  (x.value !== void 0 && x.value === D || H) && q(A);
7153
7153
  },
7154
7154
  [x.value]
7155
- ), _ = r === "popper" ? Mn : $s, B = _ === Mn ? {
7155
+ ), _ = r === "popper" ? Dn : $s, B = _ === Dn ? {
7156
7156
  side: i,
7157
7157
  sideOffset: c,
7158
7158
  align: u,
7159
7159
  alignOffset: d,
7160
7160
  arrowPadding: f,
7161
- collisionBoundary: h,
7162
- collisionPadding: g,
7161
+ collisionBoundary: g,
7162
+ collisionPadding: h,
7163
7163
  sticky: v,
7164
7164
  hideWhenDetached: m,
7165
7165
  avoidCollisions: b
@@ -7180,8 +7180,8 @@ var ue = 10, [Ls, _e] = it(Ve), pd = "SelectContentImpl", md = /* @__PURE__ */ D
7180
7180
  position: r,
7181
7181
  isPositioned: Z,
7182
7182
  searchRef: S,
7183
- children: /* @__PURE__ */ p.jsx(Kt, { as: md, allowPinchZoom: !0, children: /* @__PURE__ */ p.jsx(
7184
- Gt,
7183
+ children: /* @__PURE__ */ p.jsx(Xt, { as: md, allowPinchZoom: !0, children: /* @__PURE__ */ p.jsx(
7184
+ Yt,
7185
7185
  {
7186
7186
  asChild: !0,
7187
7187
  trapped: x.open,
@@ -7243,12 +7243,12 @@ var ue = 10, [Ls, _e] = it(Ve), pd = "SelectContentImpl", md = /* @__PURE__ */ D
7243
7243
  }
7244
7244
  );
7245
7245
  Fs.displayName = pd;
7246
- var hd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7247
- const { __scopeSelect: n, onPlaced: r, ...o } = e, s = Oe(Ve, n), a = _e(Ve, n), [i, c] = l.useState(null), [u, d] = l.useState(null), f = re(t, (P) => d(P)), h = on(n), g = l.useRef(!1), v = l.useRef(!0), { viewport: m, selectedItem: b, selectedItemText: y, focusSelectedItem: x } = a, w = l.useCallback(() => {
7246
+ var gd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7247
+ const { __scopeSelect: n, onPlaced: r, ...o } = e, s = Oe(Ve, n), a = _e(Ve, n), [i, c] = l.useState(null), [u, d] = l.useState(null), f = re(t, (P) => d(P)), g = sn(n), h = l.useRef(!1), v = l.useRef(!0), { viewport: m, selectedItem: b, selectedItemText: y, focusSelectedItem: x } = a, w = l.useCallback(() => {
7248
7248
  if (s.trigger && s.valueNode && i && u && m && b && y) {
7249
7249
  const P = s.trigger.getBoundingClientRect(), T = u.getBoundingClientRect(), V = s.valueNode.getBoundingClientRect(), U = y.getBoundingClientRect();
7250
7250
  if (s.dir !== "rtl") {
7251
- const ee = U.left - T.left, te = V.left - ee, ie = P.left - te, me = P.width + ie, lt = Math.max(me, T.width), ct = window.innerWidth - ue, ut = Yr(te, [
7251
+ const ee = U.left - T.left, te = V.left - ee, ie = P.left - te, me = P.width + ie, lt = Math.max(me, T.width), ct = window.innerWidth - ue, ut = Kr(te, [
7252
7252
  ue,
7253
7253
  // Prevents the content from going off the starting edge of the
7254
7254
  // viewport. It may still go off the ending edge, but this can be
@@ -7259,13 +7259,13 @@ var hd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7259
7259
  ]);
7260
7260
  i.style.minWidth = me + "px", i.style.left = ut + "px";
7261
7261
  } else {
7262
- const ee = T.right - U.right, te = window.innerWidth - V.right - ee, ie = window.innerWidth - P.right - te, me = P.width + ie, lt = Math.max(me, T.width), ct = window.innerWidth - ue, ut = Yr(te, [
7262
+ const ee = T.right - U.right, te = window.innerWidth - V.right - ee, ie = window.innerWidth - P.right - te, me = P.width + ie, lt = Math.max(me, T.width), ct = window.innerWidth - ue, ut = Kr(te, [
7263
7263
  ue,
7264
7264
  Math.max(ue, ct - lt)
7265
7265
  ]);
7266
7266
  i.style.minWidth = me + "px", i.style.right = ut + "px";
7267
7267
  }
7268
- const q = h(), K = window.innerHeight - ue * 2, Z = m.scrollHeight, $ = window.getComputedStyle(u), G = parseInt($.borderTopWidth, 10), F = parseInt($.paddingTop, 10), z = parseInt($.borderBottomWidth, 10), k = parseInt($.paddingBottom, 10), Q = G + F + Z + k + z, S = Math.min(b.offsetHeight * 5, Q), L = window.getComputedStyle(m), C = parseInt(L.paddingTop, 10), O = parseInt(L.paddingBottom, 10), I = P.top + P.height / 2 - ue, _ = K - I, B = b.offsetHeight / 2, A = b.offsetTop + B, D = G + F + A, W = Q - D;
7268
+ const q = g(), K = window.innerHeight - ue * 2, Z = m.scrollHeight, $ = window.getComputedStyle(u), G = parseInt($.borderTopWidth, 10), F = parseInt($.paddingTop, 10), z = parseInt($.borderBottomWidth, 10), k = parseInt($.paddingBottom, 10), Q = G + F + Z + k + z, S = Math.min(b.offsetHeight * 5, Q), L = window.getComputedStyle(m), C = parseInt(L.paddingTop, 10), O = parseInt(L.paddingBottom, 10), I = P.top + P.height / 2 - ue, _ = K - I, B = b.offsetHeight / 2, A = b.offsetTop + B, D = G + F + A, W = Q - D;
7269
7269
  if (D <= I) {
7270
7270
  const ee = q.length > 0 && b === q[q.length - 1].ref.current;
7271
7271
  i.style.bottom = "0px";
@@ -7285,10 +7285,10 @@ var hd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7285
7285
  ) + W;
7286
7286
  i.style.height = ie + "px", m.scrollTop = D - I + m.offsetTop;
7287
7287
  }
7288
- i.style.margin = `${ue}px 0`, i.style.minHeight = S + "px", i.style.maxHeight = K + "px", r == null || r(), requestAnimationFrame(() => g.current = !0);
7288
+ i.style.margin = `${ue}px 0`, i.style.minHeight = S + "px", i.style.maxHeight = K + "px", r == null || r(), requestAnimationFrame(() => h.current = !0);
7289
7289
  }
7290
7290
  }, [
7291
- h,
7291
+ g,
7292
7292
  s.trigger,
7293
7293
  s.valueNode,
7294
7294
  i,
@@ -7315,7 +7315,7 @@ var hd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7315
7315
  {
7316
7316
  scope: n,
7317
7317
  contentWrapper: i,
7318
- shouldExpandOnScrollRef: g,
7318
+ shouldExpandOnScrollRef: h,
7319
7319
  onScrollButtonChange: N,
7320
7320
  children: /* @__PURE__ */ p.jsx(
7321
7321
  "div",
@@ -7347,16 +7347,16 @@ var hd = "SelectItemAlignedPosition", $s = l.forwardRef((e, t) => {
7347
7347
  }
7348
7348
  );
7349
7349
  });
7350
- $s.displayName = hd;
7351
- var gd = "SelectPopperPosition", Mn = l.forwardRef((e, t) => {
7350
+ $s.displayName = gd;
7351
+ var hd = "SelectPopperPosition", Dn = l.forwardRef((e, t) => {
7352
7352
  const {
7353
7353
  __scopeSelect: n,
7354
7354
  align: r = "start",
7355
7355
  collisionPadding: o = ue,
7356
7356
  ...s
7357
- } = e, a = sn(n);
7357
+ } = e, a = an(n);
7358
7358
  return /* @__PURE__ */ p.jsx(
7359
- ar,
7359
+ ir,
7360
7360
  {
7361
7361
  ...a,
7362
7362
  ...s,
@@ -7376,10 +7376,10 @@ var gd = "SelectPopperPosition", Mn = l.forwardRef((e, t) => {
7376
7376
  }
7377
7377
  );
7378
7378
  });
7379
- Mn.displayName = gd;
7380
- var [vd, dr] = it(Ve, {}), Dn = "SelectViewport", zs = l.forwardRef(
7379
+ Dn.displayName = hd;
7380
+ var [vd, fr] = it(Ve, {}), Ln = "SelectViewport", zs = l.forwardRef(
7381
7381
  (e, t) => {
7382
- const { __scopeSelect: n, nonce: r, ...o } = e, s = _e(Dn, n), a = dr(Dn, n), i = re(t, s.onViewportChange), c = l.useRef(0);
7382
+ const { __scopeSelect: n, nonce: r, ...o } = e, s = _e(Ln, n), a = fr(Ln, n), i = re(t, s.onViewportChange), c = l.useRef(0);
7383
7383
  return /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
7384
7384
  /* @__PURE__ */ p.jsx(
7385
7385
  "style",
@@ -7390,7 +7390,7 @@ var [vd, dr] = it(Ve, {}), Dn = "SelectViewport", zs = l.forwardRef(
7390
7390
  nonce: r
7391
7391
  }
7392
7392
  ),
7393
- /* @__PURE__ */ p.jsx(rn.Slot, { scope: n, children: /* @__PURE__ */ p.jsx(
7393
+ /* @__PURE__ */ p.jsx(on.Slot, { scope: n, children: /* @__PURE__ */ p.jsx(
7394
7394
  X.div,
7395
7395
  {
7396
7396
  "data-radix-select-viewport": "",
@@ -7411,13 +7411,13 @@ var [vd, dr] = it(Ve, {}), Dn = "SelectViewport", zs = l.forwardRef(
7411
7411
  ...o.style
7412
7412
  },
7413
7413
  onScroll: J(o.onScroll, (u) => {
7414
- const d = u.currentTarget, { contentWrapper: f, shouldExpandOnScrollRef: h } = a;
7415
- if (h != null && h.current && f) {
7416
- const g = Math.abs(c.current - d.scrollTop);
7417
- if (g > 0) {
7414
+ const d = u.currentTarget, { contentWrapper: f, shouldExpandOnScrollRef: g } = a;
7415
+ if (g != null && g.current && f) {
7416
+ const h = Math.abs(c.current - d.scrollTop);
7417
+ if (h > 0) {
7418
7418
  const v = window.innerHeight - ue * 2, m = parseFloat(f.style.minHeight), b = parseFloat(f.style.height), y = Math.max(m, b);
7419
7419
  if (y < v) {
7420
- const x = y + g, w = Math.min(v, x), E = x - w;
7420
+ const x = y + h, w = Math.min(v, x), E = x - w;
7421
7421
  f.style.height = w + "px", f.style.bottom === "0px" && (d.scrollTop = E > 0 ? E : 0, f.style.justifyContent = "flex-end");
7422
7422
  }
7423
7423
  }
@@ -7429,7 +7429,7 @@ var [vd, dr] = it(Ve, {}), Dn = "SelectViewport", zs = l.forwardRef(
7429
7429
  ] });
7430
7430
  }
7431
7431
  );
7432
- zs.displayName = Dn;
7432
+ zs.displayName = Ln;
7433
7433
  var Vs = "SelectGroup", [bd, xd] = it(Vs), Ws = l.forwardRef(
7434
7434
  (e, t) => {
7435
7435
  const { __scopeSelect: n, ...r } = e, o = ae();
@@ -7452,7 +7452,7 @@ var Ht = "SelectItem", [yd, Us] = it(Ht), Gs = l.forwardRef(
7452
7452
  disabled: o = !1,
7453
7453
  textValue: s,
7454
7454
  ...a
7455
- } = e, i = Oe(Ht, n), c = _e(Ht, n), u = i.value === r, [d, f] = l.useState(s ?? ""), [h, g] = l.useState(!1), v = re(
7455
+ } = e, i = Oe(Ht, n), c = _e(Ht, n), u = i.value === r, [d, f] = l.useState(s ?? ""), [g, h] = l.useState(!1), v = re(
7456
7456
  t,
7457
7457
  (x) => {
7458
7458
  var w;
@@ -7477,7 +7477,7 @@ var Ht = "SelectItem", [yd, Us] = it(Ht), Gs = l.forwardRef(
7477
7477
  f((w) => w || ((x == null ? void 0 : x.textContent) ?? "").trim());
7478
7478
  }, []),
7479
7479
  children: /* @__PURE__ */ p.jsx(
7480
- rn.ItemSlot,
7480
+ on.ItemSlot,
7481
7481
  {
7482
7482
  scope: n,
7483
7483
  value: r,
@@ -7488,16 +7488,16 @@ var Ht = "SelectItem", [yd, Us] = it(Ht), Gs = l.forwardRef(
7488
7488
  {
7489
7489
  role: "option",
7490
7490
  "aria-labelledby": m,
7491
- "data-highlighted": h ? "" : void 0,
7492
- "aria-selected": u && h,
7491
+ "data-highlighted": g ? "" : void 0,
7492
+ "aria-selected": u && g,
7493
7493
  "data-state": u ? "checked" : "unchecked",
7494
7494
  "aria-disabled": o || void 0,
7495
7495
  "data-disabled": o ? "" : void 0,
7496
7496
  tabIndex: o ? void 0 : -1,
7497
7497
  ...a,
7498
7498
  ref: v,
7499
- onFocus: J(a.onFocus, () => g(!0)),
7500
- onBlur: J(a.onBlur, () => g(!1)),
7499
+ onFocus: J(a.onFocus, () => h(!0)),
7500
+ onBlur: J(a.onBlur, () => h(!1)),
7501
7501
  onClick: J(a.onClick, () => {
7502
7502
  b.current !== "mouse" && y();
7503
7503
  }),
@@ -7528,9 +7528,9 @@ var Ht = "SelectItem", [yd, Us] = it(Ht), Gs = l.forwardRef(
7528
7528
  }
7529
7529
  );
7530
7530
  Gs.displayName = Ht;
7531
- var ht = "SelectItemText", Ys = l.forwardRef(
7531
+ var gt = "SelectItemText", Ys = l.forwardRef(
7532
7532
  (e, t) => {
7533
- const { __scopeSelect: n, className: r, style: o, ...s } = e, a = Oe(ht, n), i = _e(ht, n), c = Us(ht, n), u = ud(ht, n), [d, f] = l.useState(null), h = re(
7533
+ const { __scopeSelect: n, className: r, style: o, ...s } = e, a = Oe(gt, n), i = _e(gt, n), c = Us(gt, n), u = ud(gt, n), [d, f] = l.useState(null), g = re(
7534
7534
  t,
7535
7535
  (y) => f(y),
7536
7536
  c.onItemTextChange,
@@ -7538,17 +7538,17 @@ var ht = "SelectItemText", Ys = l.forwardRef(
7538
7538
  var x;
7539
7539
  return (x = i.itemTextRefCallback) == null ? void 0 : x.call(i, y, c.value, c.disabled);
7540
7540
  }
7541
- ), g = d == null ? void 0 : d.textContent, v = l.useMemo(
7542
- () => /* @__PURE__ */ p.jsx("option", { value: c.value, disabled: c.disabled, children: g }, c.value),
7543
- [c.disabled, c.value, g]
7541
+ ), h = d == null ? void 0 : d.textContent, v = l.useMemo(
7542
+ () => /* @__PURE__ */ p.jsx("option", { value: c.value, disabled: c.disabled, children: h }, c.value),
7543
+ [c.disabled, c.value, h]
7544
7544
  ), { onNativeOptionAdd: m, onNativeOptionRemove: b } = u;
7545
7545
  return se(() => (m(v), () => b(v)), [m, b, v]), /* @__PURE__ */ p.jsxs(p.Fragment, { children: [
7546
- /* @__PURE__ */ p.jsx(X.span, { id: c.textId, ...s, ref: h }),
7546
+ /* @__PURE__ */ p.jsx(X.span, { id: c.textId, ...s, ref: g }),
7547
7547
  c.isSelected && a.valueNode && !a.valueNodeHasChildren ? Ut.createPortal(s.children, a.valueNode) : null
7548
7548
  ] });
7549
7549
  }
7550
7550
  );
7551
- Ys.displayName = ht;
7551
+ Ys.displayName = gt;
7552
7552
  var Ks = "SelectItemIndicator", Xs = l.forwardRef(
7553
7553
  (e, t) => {
7554
7554
  const { __scopeSelect: n, ...r } = e;
@@ -7556,8 +7556,8 @@ var Ks = "SelectItemIndicator", Xs = l.forwardRef(
7556
7556
  }
7557
7557
  );
7558
7558
  Xs.displayName = Ks;
7559
- var Ln = "SelectScrollUpButton", qs = l.forwardRef((e, t) => {
7560
- const n = _e(Ln, e.__scopeSelect), r = dr(Ln, e.__scopeSelect), [o, s] = l.useState(!1), a = re(t, r.onScrollButtonChange);
7559
+ var Fn = "SelectScrollUpButton", qs = l.forwardRef((e, t) => {
7560
+ const n = _e(Fn, e.__scopeSelect), r = fr(Fn, e.__scopeSelect), [o, s] = l.useState(!1), a = re(t, r.onScrollButtonChange);
7561
7561
  return se(() => {
7562
7562
  if (n.viewport && n.isPositioned) {
7563
7563
  let i = function() {
@@ -7579,9 +7579,9 @@ var Ln = "SelectScrollUpButton", qs = l.forwardRef((e, t) => {
7579
7579
  }
7580
7580
  ) : null;
7581
7581
  });
7582
- qs.displayName = Ln;
7583
- var Fn = "SelectScrollDownButton", Zs = l.forwardRef((e, t) => {
7584
- const n = _e(Fn, e.__scopeSelect), r = dr(Fn, e.__scopeSelect), [o, s] = l.useState(!1), a = re(t, r.onScrollButtonChange);
7582
+ qs.displayName = Fn;
7583
+ var $n = "SelectScrollDownButton", Zs = l.forwardRef((e, t) => {
7584
+ const n = _e($n, e.__scopeSelect), r = fr($n, e.__scopeSelect), [o, s] = l.useState(!1), a = re(t, r.onScrollButtonChange);
7585
7585
  return se(() => {
7586
7586
  if (n.viewport && n.isPositioned) {
7587
7587
  let i = function() {
@@ -7603,9 +7603,9 @@ var Fn = "SelectScrollDownButton", Zs = l.forwardRef((e, t) => {
7603
7603
  }
7604
7604
  ) : null;
7605
7605
  });
7606
- Zs.displayName = Fn;
7606
+ Zs.displayName = $n;
7607
7607
  var Js = l.forwardRef((e, t) => {
7608
- const { __scopeSelect: n, onAutoScroll: r, ...o } = e, s = _e("SelectScrollButton", n), a = l.useRef(null), i = on(n), c = l.useCallback(() => {
7608
+ const { __scopeSelect: n, onAutoScroll: r, ...o } = e, s = _e("SelectScrollButton", n), a = l.useRef(null), i = sn(n), c = l.useCallback(() => {
7609
7609
  a.current !== null && (window.clearInterval(a.current), a.current = null);
7610
7610
  }, []);
7611
7611
  return l.useEffect(() => () => c(), [c]), se(() => {
@@ -7638,13 +7638,13 @@ var Js = l.forwardRef((e, t) => {
7638
7638
  }
7639
7639
  );
7640
7640
  Cd.displayName = wd;
7641
- var $n = "SelectArrow", Sd = l.forwardRef(
7641
+ var zn = "SelectArrow", Sd = l.forwardRef(
7642
7642
  (e, t) => {
7643
- const { __scopeSelect: n, ...r } = e, o = sn(n), s = Oe($n, n), a = _e($n, n);
7644
- return s.open && a.position === "popper" ? /* @__PURE__ */ p.jsx(ir, { ...o, ...r, ref: t }) : null;
7643
+ const { __scopeSelect: n, ...r } = e, o = an(n), s = Oe(zn, n), a = _e(zn, n);
7644
+ return s.open && a.position === "popper" ? /* @__PURE__ */ p.jsx(lr, { ...o, ...r, ref: t }) : null;
7645
7645
  }
7646
7646
  );
7647
- Sd.displayName = $n;
7647
+ Sd.displayName = zn;
7648
7648
  var Ed = "SelectBubbleInput", Qs = l.forwardRef(
7649
7649
  ({ __scopeSelect: e, value: t, ...n }, r) => {
7650
7650
  const o = l.useRef(null), s = re(r, o), a = od(t);
@@ -7734,7 +7734,7 @@ function Bd({
7734
7734
  ...r,
7735
7735
  children: [
7736
7736
  n,
7737
- /* @__PURE__ */ p.jsx(Td, { asChild: !0, children: /* @__PURE__ */ p.jsx(qn, { className: "size-4 opacity-50" }) })
7737
+ /* @__PURE__ */ p.jsx(Td, { asChild: !0, children: /* @__PURE__ */ p.jsx(Zn, { className: "size-4 opacity-50" }) })
7738
7738
  ]
7739
7739
  }
7740
7740
  );
@@ -7786,7 +7786,7 @@ function Ud({
7786
7786
  }
7787
7787
  );
7788
7788
  }
7789
- function Kr({
7789
+ function Xr({
7790
7790
  className: e,
7791
7791
  children: t,
7792
7792
  ...n
@@ -7837,13 +7837,13 @@ function Yd({
7837
7837
  e
7838
7838
  ),
7839
7839
  ...t,
7840
- children: /* @__PURE__ */ p.jsx(qn, { className: "size-4" })
7840
+ children: /* @__PURE__ */ p.jsx(Zn, { className: "size-4" })
7841
7841
  }
7842
7842
  );
7843
7843
  }
7844
- var an = "Popover", [ra, lp] = rt(an, [
7844
+ var ln = "Popover", [ra, cp] = rt(ln, [
7845
7845
  at
7846
- ]), Et = at(), [Kd, Ie] = ra(an), oa = (e) => {
7846
+ ]), Et = at(), [Kd, Ie] = ra(ln), oa = (e) => {
7847
7847
  const {
7848
7848
  __scopePopover: t,
7849
7849
  children: n,
@@ -7851,21 +7851,21 @@ var an = "Popover", [ra, lp] = rt(an, [
7851
7851
  defaultOpen: o,
7852
7852
  onOpenChange: s,
7853
7853
  modal: a = !1
7854
- } = e, i = Et(t), c = l.useRef(null), [u, d] = l.useState(!1), [f, h] = gt({
7854
+ } = e, i = Et(t), c = l.useRef(null), [u, d] = l.useState(!1), [f, g] = ht({
7855
7855
  prop: r,
7856
7856
  defaultProp: o ?? !1,
7857
7857
  onChange: s,
7858
- caller: an
7858
+ caller: ln
7859
7859
  });
7860
- return /* @__PURE__ */ p.jsx(sr, { ...i, children: /* @__PURE__ */ p.jsx(
7860
+ return /* @__PURE__ */ p.jsx(ar, { ...i, children: /* @__PURE__ */ p.jsx(
7861
7861
  Kd,
7862
7862
  {
7863
7863
  scope: t,
7864
7864
  contentId: ae(),
7865
7865
  triggerRef: c,
7866
7866
  open: f,
7867
- onOpenChange: h,
7868
- onOpenToggle: l.useCallback(() => h((g) => !g), [h]),
7867
+ onOpenChange: g,
7868
+ onOpenToggle: l.useCallback(() => g((h) => !h), [g]),
7869
7869
  hasCustomAnchor: u,
7870
7870
  onCustomAnchorAdd: l.useCallback(() => d(!0), []),
7871
7871
  onCustomAnchorRemove: l.useCallback(() => d(!1), []),
@@ -7874,11 +7874,11 @@ var an = "Popover", [ra, lp] = rt(an, [
7874
7874
  }
7875
7875
  ) });
7876
7876
  };
7877
- oa.displayName = an;
7877
+ oa.displayName = ln;
7878
7878
  var sa = "PopoverAnchor", Xd = l.forwardRef(
7879
7879
  (e, t) => {
7880
7880
  const { __scopePopover: n, ...r } = e, o = Ie(sa, n), s = Et(n), { onCustomAnchorAdd: a, onCustomAnchorRemove: i } = o;
7881
- return l.useEffect(() => (a(), () => i()), [a, i]), /* @__PURE__ */ p.jsx(en, { ...s, ...r, ref: t });
7881
+ return l.useEffect(() => (a(), () => i()), [a, i]), /* @__PURE__ */ p.jsx(tn, { ...s, ...r, ref: t });
7882
7882
  }
7883
7883
  );
7884
7884
  Xd.displayName = sa;
@@ -7897,17 +7897,17 @@ var aa = "PopoverTrigger", ia = l.forwardRef(
7897
7897
  onClick: J(e.onClick, o.onOpenToggle)
7898
7898
  }
7899
7899
  );
7900
- return o.hasCustomAnchor ? i : /* @__PURE__ */ p.jsx(en, { asChild: !0, ...s, children: i });
7900
+ return o.hasCustomAnchor ? i : /* @__PURE__ */ p.jsx(tn, { asChild: !0, ...s, children: i });
7901
7901
  }
7902
7902
  );
7903
7903
  ia.displayName = aa;
7904
- var fr = "PopoverPortal", [qd, Zd] = ra(fr, {
7904
+ var pr = "PopoverPortal", [qd, Zd] = ra(pr, {
7905
7905
  forceMount: void 0
7906
7906
  }), la = (e) => {
7907
- const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = Ie(fr, t);
7907
+ const { __scopePopover: t, forceMount: n, children: r, container: o } = e, s = Ie(pr, t);
7908
7908
  return /* @__PURE__ */ p.jsx(qd, { scope: t, forceMount: n, children: /* @__PURE__ */ p.jsx(Ne, { present: n || s.open, children: /* @__PURE__ */ p.jsx(wt, { asChild: !0, container: o, children: r }) }) });
7909
7909
  };
7910
- la.displayName = fr;
7910
+ la.displayName = pr;
7911
7911
  var et = "PopoverContent", ca = l.forwardRef(
7912
7912
  (e, t) => {
7913
7913
  const n = Zd(et, e.__scopePopover), { forceMount: r = n.forceMount, ...o } = e, s = Ie(et, e.__scopePopover);
@@ -7920,8 +7920,8 @@ var Jd = /* @__PURE__ */ De("PopoverContent.RemoveScroll"), Qd = l.forwardRef(
7920
7920
  const n = Ie(et, e.__scopePopover), r = l.useRef(null), o = re(t, r), s = l.useRef(!1);
7921
7921
  return l.useEffect(() => {
7922
7922
  const a = r.current;
7923
- if (a) return Gn(a);
7924
- }, []), /* @__PURE__ */ p.jsx(Kt, { as: Jd, allowPinchZoom: !0, children: /* @__PURE__ */ p.jsx(
7923
+ if (a) return Yn(a);
7924
+ }, []), /* @__PURE__ */ p.jsx(Xt, { as: Jd, allowPinchZoom: !0, children: /* @__PURE__ */ p.jsx(
7925
7925
  ua,
7926
7926
  {
7927
7927
  ...e,
@@ -7984,9 +7984,9 @@ var Jd = /* @__PURE__ */ De("PopoverContent.RemoveScroll"), Qd = l.forwardRef(
7984
7984
  onFocusOutside: u,
7985
7985
  onInteractOutside: d,
7986
7986
  ...f
7987
- } = e, h = Ie(et, n), g = Et(n);
7988
- return Un(), /* @__PURE__ */ p.jsx(
7989
- Gt,
7987
+ } = e, g = Ie(et, n), h = Et(n);
7988
+ return Gn(), /* @__PURE__ */ p.jsx(
7989
+ Yt,
7990
7990
  {
7991
7991
  asChild: !0,
7992
7992
  loop: !0,
@@ -8002,14 +8002,14 @@ var Jd = /* @__PURE__ */ De("PopoverContent.RemoveScroll"), Qd = l.forwardRef(
8002
8002
  onEscapeKeyDown: i,
8003
8003
  onPointerDownOutside: c,
8004
8004
  onFocusOutside: u,
8005
- onDismiss: () => h.onOpenChange(!1),
8005
+ onDismiss: () => g.onOpenChange(!1),
8006
8006
  children: /* @__PURE__ */ p.jsx(
8007
- ar,
8007
+ ir,
8008
8008
  {
8009
- "data-state": fa(h.open),
8009
+ "data-state": fa(g.open),
8010
8010
  role: "dialog",
8011
- id: h.contentId,
8012
- ...g,
8011
+ id: g.contentId,
8012
+ ...h,
8013
8013
  ...f,
8014
8014
  ref: t,
8015
8015
  style: {
@@ -8045,7 +8045,7 @@ tf.displayName = da;
8045
8045
  var nf = "PopoverArrow", rf = l.forwardRef(
8046
8046
  (e, t) => {
8047
8047
  const { __scopePopover: n, ...r } = e, o = Et(n);
8048
- return /* @__PURE__ */ p.jsx(ir, { ...o, ...r, ref: t });
8048
+ return /* @__PURE__ */ p.jsx(lr, { ...o, ...r, ref: t });
8049
8049
  }
8050
8050
  );
8051
8051
  rf.displayName = nf;
@@ -8083,25 +8083,25 @@ function df({
8083
8083
  }
8084
8084
  ) });
8085
8085
  }
8086
- var Xr = 1, ff = 0.9, pf = 0.8, mf = 0.17, yn = 0.1, wn = 0.999, hf = 0.9999, gf = 0.99, vf = /[\\\/_+.#"@\[\(\{&]/, bf = /[\\\/_+.#"@\[\(\{&]/g, xf = /[\s-]/, pa = /[\s-]/g;
8087
- function zn(e, t, n, r, o, s, a) {
8088
- if (s === t.length) return o === e.length ? Xr : gf;
8086
+ var qr = 1, ff = 0.9, pf = 0.8, mf = 0.17, wn = 0.1, Cn = 0.999, gf = 0.9999, hf = 0.99, vf = /[\\\/_+.#"@\[\(\{&]/, bf = /[\\\/_+.#"@\[\(\{&]/g, xf = /[\s-]/, pa = /[\s-]/g;
8087
+ function Vn(e, t, n, r, o, s, a) {
8088
+ if (s === t.length) return o === e.length ? qr : hf;
8089
8089
  var i = `${o},${s}`;
8090
8090
  if (a[i] !== void 0) return a[i];
8091
- for (var c = r.charAt(s), u = n.indexOf(c, o), d = 0, f, h, g, v; u >= 0; ) f = zn(e, t, n, r, u + 1, s + 1, a), f > d && (u === o ? f *= Xr : vf.test(e.charAt(u - 1)) ? (f *= pf, g = e.slice(o, u - 1).match(bf), g && o > 0 && (f *= Math.pow(wn, g.length))) : xf.test(e.charAt(u - 1)) ? (f *= ff, v = e.slice(o, u - 1).match(pa), v && o > 0 && (f *= Math.pow(wn, v.length))) : (f *= mf, o > 0 && (f *= Math.pow(wn, u - o))), e.charAt(u) !== t.charAt(s) && (f *= hf)), (f < yn && n.charAt(u - 1) === r.charAt(s + 1) || r.charAt(s + 1) === r.charAt(s) && n.charAt(u - 1) !== r.charAt(s)) && (h = zn(e, t, n, r, u + 1, s + 2, a), h * yn > f && (f = h * yn)), f > d && (d = f), u = n.indexOf(c, u + 1);
8091
+ for (var c = r.charAt(s), u = n.indexOf(c, o), d = 0, f, g, h, v; u >= 0; ) f = Vn(e, t, n, r, u + 1, s + 1, a), f > d && (u === o ? f *= qr : vf.test(e.charAt(u - 1)) ? (f *= pf, h = e.slice(o, u - 1).match(bf), h && o > 0 && (f *= Math.pow(Cn, h.length))) : xf.test(e.charAt(u - 1)) ? (f *= ff, v = e.slice(o, u - 1).match(pa), v && o > 0 && (f *= Math.pow(Cn, v.length))) : (f *= mf, o > 0 && (f *= Math.pow(Cn, u - o))), e.charAt(u) !== t.charAt(s) && (f *= gf)), (f < wn && n.charAt(u - 1) === r.charAt(s + 1) || r.charAt(s + 1) === r.charAt(s) && n.charAt(u - 1) !== r.charAt(s)) && (g = Vn(e, t, n, r, u + 1, s + 2, a), g * wn > f && (f = g * wn)), f > d && (d = f), u = n.indexOf(c, u + 1);
8092
8092
  return a[i] = d, d;
8093
8093
  }
8094
- function qr(e) {
8094
+ function Zr(e) {
8095
8095
  return e.toLowerCase().replace(pa, " ");
8096
8096
  }
8097
8097
  function yf(e, t, n) {
8098
- return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, zn(e, t, qr(e), qr(t), 0, 0, {});
8098
+ return e = n && n.length > 0 ? `${e + " " + n.join(" ")}` : e, Vn(e, t, Zr(e), Zr(t), 0, 0, {});
8099
8099
  }
8100
- var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-heading=""]', ma = '[cmdk-item=""]', Zr = `${ma}:not([aria-disabled="true"])`, Vn = "cmdk-item-select", Ye = "data-value", Cf = (e, t, n) => yf(e, t, n), ha = l.createContext(void 0), kt = () => l.useContext(ha), ga = l.createContext(void 0), pr = () => l.useContext(ga), va = l.createContext(void 0), ba = l.forwardRef((e, t) => {
8100
+ var mt = '[cmdk-group=""]', Sn = '[cmdk-group-items=""]', wf = '[cmdk-group-heading=""]', ma = '[cmdk-item=""]', Jr = `${ma}:not([aria-disabled="true"])`, Wn = "cmdk-item-select", Ye = "data-value", Cf = (e, t, n) => yf(e, t, n), ga = l.createContext(void 0), kt = () => l.useContext(ga), ha = l.createContext(void 0), mr = () => l.useContext(ha), va = l.createContext(void 0), ba = l.forwardRef((e, t) => {
8101
8101
  let n = Ke(() => {
8102
8102
  var C, O;
8103
8103
  return { search: "", value: (O = (C = e.value) != null ? C : e.defaultValue) != null ? O : "", selectedItemId: void 0, filtered: { count: 0, items: /* @__PURE__ */ new Map(), groups: /* @__PURE__ */ new Set() } };
8104
- }), r = Ke(() => /* @__PURE__ */ new Set()), o = Ke(() => /* @__PURE__ */ new Map()), s = Ke(() => /* @__PURE__ */ new Map()), a = Ke(() => /* @__PURE__ */ new Set()), i = xa(e), { label: c, children: u, value: d, onValueChange: f, filter: h, shouldFilter: g, loop: v, disablePointerSelection: m = !1, vimBindings: b = !0, ...y } = e, x = ae(), w = ae(), E = ae(), R = l.useRef(null), N = If();
8104
+ }), r = Ke(() => /* @__PURE__ */ new Set()), o = Ke(() => /* @__PURE__ */ new Map()), s = Ke(() => /* @__PURE__ */ new Map()), a = Ke(() => /* @__PURE__ */ new Set()), i = xa(e), { label: c, children: u, value: d, onValueChange: f, filter: g, shouldFilter: h, loop: v, disablePointerSelection: m = !1, vimBindings: b = !0, ...y } = e, x = ae(), w = ae(), E = ae(), R = l.useRef(null), N = If();
8105
8105
  We(() => {
8106
8106
  if (d !== void 0) {
8107
8107
  let C = d.trim();
@@ -8169,8 +8169,8 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8169
8169
  let W = _.getAttribute("id"), H = B.getAttribute("id");
8170
8170
  return ((A = C.get(H)) != null ? A : 0) - ((D = C.get(W)) != null ? D : 0);
8171
8171
  }).forEach((_) => {
8172
- let B = _.closest(Cn);
8173
- B ? B.appendChild(_.parentElement === B ? _ : _.closest(`${Cn} > *`)) : I.appendChild(_.parentElement === I ? _ : _.closest(`${Cn} > *`));
8172
+ let B = _.closest(Sn);
8173
+ B ? B.appendChild(_.parentElement === B ? _ : _.closest(`${Sn} > *`)) : I.appendChild(_.parentElement === I ? _ : _.closest(`${Sn} > *`));
8174
8174
  }), O.sort((_, B) => B[1] - _[1]).forEach((_) => {
8175
8175
  var B;
8176
8176
  let A = (B = R.current) == null ? void 0 : B.querySelector(`${mt}[${Ye}="${encodeURIComponent(_[0])}"]`);
@@ -8210,7 +8210,7 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8210
8210
  }
8211
8211
  function G() {
8212
8212
  var C;
8213
- return Array.from(((C = R.current) == null ? void 0 : C.querySelectorAll(Zr)) || []);
8213
+ return Array.from(((C = R.current) == null ? void 0 : C.querySelectorAll(Jr)) || []);
8214
8214
  }
8215
8215
  function F(C) {
8216
8216
  let O = G()[C];
@@ -8223,7 +8223,7 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8223
8223
  }
8224
8224
  function k(C) {
8225
8225
  let O = $(), I = O == null ? void 0 : O.closest(mt), _;
8226
- for (; I && !_; ) I = C > 0 ? Of(I, mt) : _f(I, mt), _ = I == null ? void 0 : I.querySelector(Zr);
8226
+ for (; I && !_; ) I = C > 0 ? Of(I, mt) : _f(I, mt), _ = I == null ? void 0 : I.querySelector(Jr);
8227
8227
  _ ? P.setState("value", _.getAttribute(Ye)) : z(C);
8228
8228
  }
8229
8229
  let Q = () => F(G().length - 1), S = (C) => {
@@ -8266,23 +8266,23 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8266
8266
  C.preventDefault();
8267
8267
  let _ = $();
8268
8268
  if (_) {
8269
- let B = new Event(Vn);
8269
+ let B = new Event(Wn);
8270
8270
  _.dispatchEvent(B);
8271
8271
  }
8272
8272
  }
8273
8273
  }
8274
- } }, l.createElement("label", { "cmdk-label": "", htmlFor: T.inputId, id: T.labelId, style: Mf }, c), ln(e, (C) => l.createElement(ga.Provider, { value: P }, l.createElement(ha.Provider, { value: T }, C))));
8274
+ } }, l.createElement("label", { "cmdk-label": "", htmlFor: T.inputId, id: T.labelId, style: Mf }, c), cn(e, (C) => l.createElement(ha.Provider, { value: P }, l.createElement(ga.Provider, { value: T }, C))));
8275
8275
  }), Sf = l.forwardRef((e, t) => {
8276
8276
  var n, r;
8277
8277
  let o = ae(), s = l.useRef(null), a = l.useContext(va), i = kt(), c = xa(e), u = (r = (n = c.current) == null ? void 0 : n.forceMount) != null ? r : a == null ? void 0 : a.forceMount;
8278
8278
  We(() => {
8279
8279
  if (!u) return i.item(o, a == null ? void 0 : a.id);
8280
8280
  }, [u]);
8281
- let d = ya(o, s, [e.value, e.children, s], e.keywords), f = pr(), h = Te((N) => N.value && N.value === d.current), g = Te((N) => u || i.filter() === !1 ? !0 : N.search ? N.filtered.items.get(o) > 0 : !0);
8281
+ let d = ya(o, s, [e.value, e.children, s], e.keywords), f = mr(), g = Te((N) => N.value && N.value === d.current), h = Te((N) => u || i.filter() === !1 ? !0 : N.search ? N.filtered.items.get(o) > 0 : !0);
8282
8282
  l.useEffect(() => {
8283
8283
  let N = s.current;
8284
- if (!(!N || e.disabled)) return N.addEventListener(Vn, v), () => N.removeEventListener(Vn, v);
8285
- }, [g, e.onSelect, e.disabled]);
8284
+ if (!(!N || e.disabled)) return N.addEventListener(Wn, v), () => N.removeEventListener(Wn, v);
8285
+ }, [h, e.onSelect, e.disabled]);
8286
8286
  function v() {
8287
8287
  var N, P;
8288
8288
  m(), (P = (N = c.current).onSelect) == null || P.call(N, d.current);
@@ -8290,19 +8290,19 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8290
8290
  function m() {
8291
8291
  f.setState("value", d.current, !0);
8292
8292
  }
8293
- if (!g) return null;
8293
+ if (!h) return null;
8294
8294
  let { disabled: b, value: y, onSelect: x, forceMount: w, keywords: E, ...R } = e;
8295
- return l.createElement(X.div, { ref: Me(s, t), ...R, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!b, "aria-selected": !!h, "data-disabled": !!b, "data-selected": !!h, onPointerMove: b || i.getDisablePointerSelection() ? void 0 : m, onClick: b ? void 0 : v }, e.children);
8295
+ return l.createElement(X.div, { ref: Me(s, t), ...R, id: o, "cmdk-item": "", role: "option", "aria-disabled": !!b, "aria-selected": !!g, "data-disabled": !!b, "data-selected": !!g, onPointerMove: b || i.getDisablePointerSelection() ? void 0 : m, onClick: b ? void 0 : v }, e.children);
8296
8296
  }), Ef = l.forwardRef((e, t) => {
8297
- let { heading: n, children: r, forceMount: o, ...s } = e, a = ae(), i = l.useRef(null), c = l.useRef(null), u = ae(), d = kt(), f = Te((g) => o || d.filter() === !1 ? !0 : g.search ? g.filtered.groups.has(a) : !0);
8297
+ let { heading: n, children: r, forceMount: o, ...s } = e, a = ae(), i = l.useRef(null), c = l.useRef(null), u = ae(), d = kt(), f = Te((h) => o || d.filter() === !1 ? !0 : h.search ? h.filtered.groups.has(a) : !0);
8298
8298
  We(() => d.group(a), []), ya(a, i, [e.value, e.heading, c]);
8299
- let h = l.useMemo(() => ({ id: a, forceMount: o }), [o]);
8300
- return l.createElement(X.div, { ref: Me(i, t), ...s, "cmdk-group": "", role: "presentation", hidden: f ? void 0 : !0 }, n && l.createElement("div", { ref: c, "cmdk-group-heading": "", "aria-hidden": !0, id: u }, n), ln(e, (g) => l.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? u : void 0 }, l.createElement(va.Provider, { value: h }, g))));
8299
+ let g = l.useMemo(() => ({ id: a, forceMount: o }), [o]);
8300
+ return l.createElement(X.div, { ref: Me(i, t), ...s, "cmdk-group": "", role: "presentation", hidden: f ? void 0 : !0 }, n && l.createElement("div", { ref: c, "cmdk-group-heading": "", "aria-hidden": !0, id: u }, n), cn(e, (h) => l.createElement("div", { "cmdk-group-items": "", role: "group", "aria-labelledby": n ? u : void 0 }, l.createElement(va.Provider, { value: g }, h))));
8301
8301
  }), kf = l.forwardRef((e, t) => {
8302
8302
  let { alwaysRender: n, ...r } = e, o = l.useRef(null), s = Te((a) => !a.search);
8303
8303
  return !n && !s ? null : l.createElement(X.div, { ref: Me(o, t), ...r, "cmdk-separator": "", role: "separator" });
8304
8304
  }), Rf = l.forwardRef((e, t) => {
8305
- let { onValueChange: n, ...r } = e, o = e.value != null, s = pr(), a = Te((u) => u.search), i = Te((u) => u.selectedItemId), c = kt();
8305
+ let { onValueChange: n, ...r } = e, o = e.value != null, s = mr(), a = Te((u) => u.search), i = Te((u) => u.selectedItemId), c = kt();
8306
8306
  return l.useEffect(() => {
8307
8307
  e.value != null && s.setState("search", e.value);
8308
8308
  }, [e.value]), l.createElement(X.input, { ref: t, ...r, "cmdk-input": "", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "aria-autocomplete": "list", role: "combobox", "aria-expanded": !0, "aria-controls": c.listId, "aria-labelledby": c.labelId, "aria-activedescendant": i, id: c.inputId, type: "text", value: o ? e.value : a, onChange: (u) => {
@@ -8312,23 +8312,23 @@ var mt = '[cmdk-group=""]', Cn = '[cmdk-group-items=""]', wf = '[cmdk-group-head
8312
8312
  let { children: n, label: r = "Suggestions", ...o } = e, s = l.useRef(null), a = l.useRef(null), i = Te((u) => u.selectedItemId), c = kt();
8313
8313
  return l.useEffect(() => {
8314
8314
  if (a.current && s.current) {
8315
- let u = a.current, d = s.current, f, h = new ResizeObserver(() => {
8315
+ let u = a.current, d = s.current, f, g = new ResizeObserver(() => {
8316
8316
  f = requestAnimationFrame(() => {
8317
- let g = u.offsetHeight;
8318
- d.style.setProperty("--cmdk-list-height", g.toFixed(1) + "px");
8317
+ let h = u.offsetHeight;
8318
+ d.style.setProperty("--cmdk-list-height", h.toFixed(1) + "px");
8319
8319
  });
8320
8320
  });
8321
- return h.observe(u), () => {
8322
- cancelAnimationFrame(f), h.unobserve(u);
8321
+ return g.observe(u), () => {
8322
+ cancelAnimationFrame(f), g.unobserve(u);
8323
8323
  };
8324
8324
  }
8325
- }, []), l.createElement(X.div, { ref: Me(s, t), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": i, "aria-label": r, id: c.listId }, ln(e, (u) => l.createElement("div", { ref: Me(a, c.listInnerRef), "cmdk-list-sizer": "" }, u)));
8325
+ }, []), l.createElement(X.div, { ref: Me(s, t), ...o, "cmdk-list": "", role: "listbox", tabIndex: -1, "aria-activedescendant": i, "aria-label": r, id: c.listId }, cn(e, (u) => l.createElement("div", { ref: Me(a, c.listInnerRef), "cmdk-list-sizer": "" }, u)));
8326
8326
  }), Af = l.forwardRef((e, t) => {
8327
8327
  let { open: n, onOpenChange: r, overlayClassName: o, contentClassName: s, container: a, ...i } = e;
8328
8328
  return l.createElement(Bo, { open: n, onOpenChange: r }, l.createElement(Ho, { container: a }, l.createElement(Uo, { "cmdk-overlay": "", className: o }), l.createElement(Go, { "aria-label": e.label, "cmdk-dialog": "", className: s }, l.createElement(ba, { ref: t, ...i }))));
8329
8329
  }), Tf = l.forwardRef((e, t) => Te((n) => n.filtered.count === 0) ? l.createElement(X.div, { ref: t, ...e, "cmdk-empty": "", role: "presentation" }) : null), Nf = l.forwardRef((e, t) => {
8330
8330
  let { progress: n, children: r, label: o = "Loading...", ...s } = e;
8331
- return l.createElement(X.div, { ref: t, ...s, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, ln(e, (a) => l.createElement("div", { "aria-hidden": !0 }, a)));
8331
+ return l.createElement(X.div, { ref: t, ...s, "cmdk-loading": "", role: "progressbar", "aria-valuenow": n, "aria-valuemin": 0, "aria-valuemax": 100, "aria-label": o }, cn(e, (a) => l.createElement("div", { "aria-hidden": !0 }, a)));
8332
8332
  }), Rt = Object.assign(ba, { List: Pf, Item: Sf, Input: Rf, Group: Ef, Separator: kf, Dialog: Af, Empty: Tf, Loading: Nf });
8333
8333
  function Of(e, t) {
8334
8334
  let n = e.nextElementSibling;
@@ -8356,7 +8356,7 @@ function Ke(e) {
8356
8356
  return t.current === void 0 && (t.current = e()), t;
8357
8357
  }
8358
8358
  function Te(e) {
8359
- let t = pr(), n = () => e(t.snapshot());
8359
+ let t = mr(), n = () => e(t.snapshot());
8360
8360
  return l.useSyncExternalStore(t.subscribe, n, n);
8361
8361
  }
8362
8362
  function ya(e, t, n, r = []) {
@@ -8385,7 +8385,7 @@ function jf(e) {
8385
8385
  let t = e.type;
8386
8386
  return typeof t == "function" ? t(e.props) : "render" in t ? t.render(e.props) : e;
8387
8387
  }
8388
- function ln({ asChild: e, children: t }, n) {
8388
+ function cn({ asChild: e, children: t }, n) {
8389
8389
  return e && l.isValidElement(t) ? l.cloneElement(jf(t), { ref: t.ref }, n(t.props.children)) : n(t);
8390
8390
  }
8391
8391
  var Mf = { position: "absolute", width: "1px", height: "1px", padding: "0", margin: "-1px", overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0" };
@@ -8443,7 +8443,7 @@ function Ff({
8443
8443
  }
8444
8444
  );
8445
8445
  }
8446
- function Jr({
8446
+ function Qr({
8447
8447
  className: e,
8448
8448
  ...t
8449
8449
  }) {
@@ -8459,7 +8459,7 @@ function Jr({
8459
8459
  }
8460
8460
  );
8461
8461
  }
8462
- function Qr({
8462
+ function eo({
8463
8463
  className: e,
8464
8464
  ...t
8465
8465
  }) {
@@ -8475,10 +8475,10 @@ function Qr({
8475
8475
  }
8476
8476
  );
8477
8477
  }
8478
- function Wn(e) {
8478
+ function Bn(e) {
8479
8479
  return e.length > 0 && e[0].kind === "group";
8480
8480
  }
8481
- function cp(e) {
8481
+ function up(e) {
8482
8482
  return e.multiple ? /* @__PURE__ */ p.jsx(zf, { ...e }) : /* @__PURE__ */ p.jsx($f, { ...e });
8483
8483
  }
8484
8484
  const $f = ({
@@ -8513,19 +8513,19 @@ const $f = ({
8513
8513
  children: /* @__PURE__ */ p.jsx(Wd, { placeholder: t })
8514
8514
  }
8515
8515
  ),
8516
- /* @__PURE__ */ p.jsx(Hd, { className: "w-full bg-white border border-neutral-black-4", children: Wn(e) ? e.map((f) => /* @__PURE__ */ p.jsxs(Vd, { className: "p-2", children: [
8516
+ /* @__PURE__ */ p.jsx(Hd, { className: "w-full bg-white border border-neutral-black-4", children: Bn(e) ? e.map((f) => /* @__PURE__ */ p.jsxs(Vd, { className: "p-2", children: [
8517
8517
  /* @__PURE__ */ p.jsx(Ud, { children: f.label }),
8518
- f.options.map((h) => /* @__PURE__ */ p.jsx(
8519
- Kr,
8518
+ f.options.map((g) => /* @__PURE__ */ p.jsx(
8519
+ Xr,
8520
8520
  {
8521
- value: h.value,
8522
- disabled: h.disabled,
8523
- children: h.label
8521
+ value: g.value,
8522
+ disabled: g.disabled,
8523
+ children: g.label
8524
8524
  },
8525
- h.value
8525
+ g.value
8526
8526
  ))
8527
8527
  ] }, f.label)) : e.map((f) => /* @__PURE__ */ p.jsx(
8528
- Kr,
8528
+ Xr,
8529
8529
  {
8530
8530
  value: f.value,
8531
8531
  disabled: f.disabled,
@@ -8549,7 +8549,7 @@ const $f = ({
8549
8549
  value: s,
8550
8550
  onChange: a
8551
8551
  }) => {
8552
- const [i, c] = Ze(!1), [u, d] = Ze([]), f = s ?? u, h = Ea(() => Wn(e) ? e.flatMap((v) => v.options) : e, [e]), g = (v) => {
8552
+ const [i, c] = Ze(!1), [u, d] = Ze([]), f = s ?? u, g = Ea(() => Bn(e) ? e.flatMap((v) => v.options) : e, [e]), h = (v) => {
8553
8553
  const m = f.includes(v) ? f.filter((b) => b !== v) : [...f, v];
8554
8554
  d(m), a == null || a(m);
8555
8555
  };
@@ -8573,7 +8573,7 @@ const $f = ({
8573
8573
  {
8574
8574
  type: "outline",
8575
8575
  onClick: (m) => {
8576
- m.stopPropagation(), g(v);
8576
+ m.stopPropagation(), h(v);
8577
8577
  },
8578
8578
  className: "cursor-pointer border-neutral-black-4 bg-transparent hover:bg-neutral-black-4",
8579
8579
  children: [
@@ -8589,18 +8589,18 @@ const $f = ({
8589
8589
  },
8590
8590
  v
8591
8591
  )) : /* @__PURE__ */ p.jsx("span", { className: "truncate text-xs text-neutral-black-1", children: t }) }),
8592
- /* @__PURE__ */ p.jsx(qn, { className: "h-4 w-4 text-neutral-black-1" })
8592
+ /* @__PURE__ */ p.jsx(Zn, { className: "h-4 w-4 text-neutral-black-1" })
8593
8593
  ]
8594
8594
  }
8595
8595
  ) }),
8596
8596
  /* @__PURE__ */ p.jsx(df, { className: "p-0 w-full bg-white border border-neutral-black-4", children: /* @__PURE__ */ p.jsxs(Df, { className: "w-full", children: [
8597
8597
  /* @__PURE__ */ p.jsx(Lf, { placeholder: "Search..." }),
8598
8598
  /* @__PURE__ */ p.jsx(Ff, { children: "No results found." }),
8599
- Wn(e) ? e.map((v) => /* @__PURE__ */ p.jsx(Jr, { heading: v.label, children: v.options.map((m) => /* @__PURE__ */ p.jsxs(
8600
- Qr,
8599
+ Bn(e) ? e.map((v) => /* @__PURE__ */ p.jsx(Qr, { heading: v.label, children: v.options.map((m) => /* @__PURE__ */ p.jsxs(
8600
+ eo,
8601
8601
  {
8602
8602
  value: m.label,
8603
- onSelect: () => !m.disabled && g(m.value),
8603
+ onSelect: () => !m.disabled && h(m.value),
8604
8604
  disabled: m.disabled,
8605
8605
  children: [
8606
8606
  /* @__PURE__ */ p.jsx(
@@ -8616,11 +8616,11 @@ const $f = ({
8616
8616
  ]
8617
8617
  },
8618
8618
  m.value
8619
- )) }, v.label)) : /* @__PURE__ */ p.jsx(Jr, { children: h.map((v) => /* @__PURE__ */ p.jsxs(
8620
- Qr,
8619
+ )) }, v.label)) : /* @__PURE__ */ p.jsx(Qr, { children: g.map((v) => /* @__PURE__ */ p.jsxs(
8620
+ eo,
8621
8621
  {
8622
8622
  value: v.label,
8623
- onSelect: () => !v.disabled && g(v.value),
8623
+ onSelect: () => !v.disabled && h(v.value),
8624
8624
  disabled: v.disabled,
8625
8625
  children: [
8626
8626
  /* @__PURE__ */ p.jsx(
@@ -8642,29 +8642,58 @@ const $f = ({
8642
8642
  r && /* @__PURE__ */ p.jsx("p", { className: "mt-1 text-xs text-primary-1", children: r }),
8643
8643
  o && /* @__PURE__ */ p.jsx("p", { className: "mt-1 text-xs text-neutral-black-3", children: o })
8644
8644
  ] });
8645
- };
8645
+ }, Vf = Gt("w-full", {
8646
+ variants: {
8647
+ variant: {
8648
+ "widget-1": "bg-white rounded-lg p-6 flex flex-col items-start gap-4 shadow-[0_0_8px_0_rgba(0,0,0,0.08),6px_0_0_0_var(--color-primary-1)_inset]",
8649
+ "widget-2": "bg-white rounded-lg p-6 flex flex-col items-start gap-4 border border-neutral-black-4 shadow-[0_0_8px_0_rgba(0,0,0,0.08)]"
8650
+ }
8651
+ },
8652
+ defaultVariants: {
8653
+ variant: "widget-1"
8654
+ }
8655
+ });
8656
+ function dp({
8657
+ className: e,
8658
+ variant: t,
8659
+ asChild: n = !1,
8660
+ children: r,
8661
+ ...o
8662
+ }) {
8663
+ const s = n ? Hn : "div";
8664
+ return /* @__PURE__ */ p.jsx(
8665
+ s,
8666
+ {
8667
+ "data-slot": "card",
8668
+ className: ne(Vf({ variant: t }), e),
8669
+ ...o,
8670
+ children: r
8671
+ }
8672
+ );
8673
+ }
8646
8674
  export {
8647
8675
  uc as Badge,
8648
- Bf as Button,
8649
- Gf as Dialog,
8650
- Kf as DialogClose,
8651
- Xf as DialogContent,
8652
- Qf as DialogDescription,
8653
- Zf as DialogFooter,
8654
- qf as DialogHeader,
8676
+ Hf as Button,
8677
+ dp as Card,
8678
+ Yf as Dialog,
8679
+ Xf as DialogClose,
8680
+ qf as DialogContent,
8681
+ ep as DialogDescription,
8682
+ Jf as DialogFooter,
8683
+ Zf as DialogHeader,
8655
8684
  lc as DialogOverlay,
8656
8685
  ic as DialogPortal,
8657
- Jf as DialogTitle,
8658
- Yf as DialogTrigger,
8659
- op as EmailInput,
8686
+ Qf as DialogTitle,
8687
+ Kf as DialogTrigger,
8688
+ sp as EmailInput,
8660
8689
  zf as MultiSelect,
8661
- sp as PasswordInput,
8662
- ap as SearchInput,
8663
- cp as SelectOption,
8690
+ ap as PasswordInput,
8691
+ ip as SearchInput,
8692
+ up as SelectOption,
8664
8693
  $f as SingleSelect,
8665
- tp as Tooltip,
8666
- rp as TooltipContent,
8694
+ np as Tooltip,
8695
+ op as TooltipContent,
8667
8696
  Qu as TooltipProvider,
8668
- np as TooltipTrigger,
8697
+ rp as TooltipTrigger,
8669
8698
  ne as cn
8670
8699
  };