react-semaphor 0.1.468 → 0.1.470

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (94) hide show
  1. package/dist/analytics-protocol/index.cjs +1 -1
  2. package/dist/analytics-protocol/index.js +110 -106
  3. package/dist/brand-studio/index.cjs +1 -1
  4. package/dist/brand-studio/index.js +4 -4
  5. package/dist/briefings/index.cjs +1 -1
  6. package/dist/briefings/index.js +4 -4
  7. package/dist/chunks/{analyze-result-contract-kaCNxjA7.js → analyze-result-contract-B3agc2XU.js} +1 -1
  8. package/dist/chunks/{analyze-result-contract-CMwVg9w2.cjs → analyze-result-contract-OgPk-zGu.cjs} +1 -1
  9. package/dist/chunks/{common-types-tRK8fhXV.cjs → common-types-C1IM7gao.cjs} +1 -1
  10. package/dist/chunks/{common-types-BgI-ymBp.js → common-types-g_1fKJLK.js} +1 -1
  11. package/dist/chunks/{dashboard-briefing-launcher-DjBmkS6v.js → dashboard-briefing-launcher-DEVbQCQE.js} +9 -9
  12. package/dist/chunks/{dashboard-briefing-launcher-Bo4GmnB7.cjs → dashboard-briefing-launcher-exfJnSop.cjs} +1 -1
  13. package/dist/chunks/{dashboard-controls-CstKugeB.cjs → dashboard-controls-8D1m_ECN.cjs} +1 -1
  14. package/dist/chunks/{dashboard-controls-CvrCyVPZ.js → dashboard-controls-DPK-CRWL.js} +9 -9
  15. package/dist/chunks/{dashboard-filter-value-compatibility-o-kufPZB.js → dashboard-filter-value-compatibility-BAaqJGjt.js} +78 -78
  16. package/dist/chunks/dashboard-filter-value-compatibility-CYrWe1U6.cjs +1 -0
  17. package/dist/chunks/{dashboard-input-contract-12mPNhCF.cjs → dashboard-input-contract-JFJZgenC.cjs} +1 -1
  18. package/dist/chunks/{dashboard-input-contract-Ciboc347.js → dashboard-input-contract-Vr_3ApfF.js} +1 -1
  19. package/dist/chunks/{dashboard-json-D9r_xere.js → dashboard-json-DVWLTmIJ.js} +7 -7
  20. package/dist/chunks/{dashboard-json-ZGqzmExU.cjs → dashboard-json-DhKOoHwK.cjs} +1 -1
  21. package/dist/chunks/edit-dashboard-visual-B6zidwTu.cjs +172 -0
  22. package/dist/chunks/{edit-dashboard-visual-D64tmqA4.js → edit-dashboard-visual-CxEC3bPx.js} +7283 -7417
  23. package/dist/chunks/{editor-action-buttons-BXJlZl7z.cjs → editor-action-buttons-B3S00DsB.cjs} +1 -1
  24. package/dist/chunks/{editor-action-buttons-C2msc_en.js → editor-action-buttons-HfJ-Bohl.js} +6 -6
  25. package/dist/chunks/{index-CQN-X1jN.cjs → index-B4VxBoJg.cjs} +1 -1
  26. package/dist/chunks/index-DVBYvkj0.cjs +1404 -0
  27. package/dist/chunks/{index-DO4BESNy.js → index-oVXvCLH-.js} +9 -9
  28. package/dist/chunks/{index-B6cfDHwn.js → index-tsB3LfTQ.js} +33898 -33887
  29. package/dist/chunks/matrix-result-contract-DoU9diAh.js +822 -0
  30. package/dist/chunks/matrix-result-contract-SrzyG_KQ.cjs +1 -0
  31. package/dist/chunks/{pivot-header-presentation-OpY8xzdT.js → pivot-header-presentation-BW0Ay7WV.js} +2 -2
  32. package/dist/chunks/{pivot-header-presentation-DyV0iOZ_.cjs → pivot-header-presentation-DVBTHug2.cjs} +1 -1
  33. package/dist/chunks/{pivot-result-identity-CCMpd8ZA.js → pivot-result-identity-5v4hRVbc.js} +1 -1
  34. package/dist/chunks/{pivot-result-identity-gsOwOjHi.cjs → pivot-result-identity-DRUlTWUq.cjs} +1 -1
  35. package/dist/chunks/{pivot-result-lifecycle-CEfU43GZ.cjs → pivot-result-lifecycle-DJgO2P0H.cjs} +1 -1
  36. package/dist/chunks/{pivot-result-lifecycle-B38AZx4a.js → pivot-result-lifecycle-O_roVguV.js} +7 -7
  37. package/dist/chunks/{raw-temporal-contract-r_EMdR85.js → raw-temporal-contract-BEMf3avg.js} +1 -1
  38. package/dist/chunks/{raw-temporal-contract-UdblxoVB.cjs → raw-temporal-contract-D8YuxTAg.cjs} +1 -1
  39. package/dist/chunks/{report-preferences-dialog-Dvy818KV.js → report-preferences-dialog-D-VpoQJz.js} +6 -6
  40. package/dist/chunks/{report-preferences-dialog-B89ypIJ-.cjs → report-preferences-dialog-DvNWNrlj.cjs} +1 -1
  41. package/dist/chunks/{report-runtime-context-CcXUjpb-.js → report-runtime-context-DnNbpkGo.js} +1 -1
  42. package/dist/chunks/{report-runtime-context-CLtzrZdC.cjs → report-runtime-context-RFiWq4wK.cjs} +1 -1
  43. package/dist/chunks/{saved-temporal-bucket-format-hylaofsQ.js → saved-temporal-bucket-format-CygnBDO2.js} +24 -24
  44. package/dist/chunks/{saved-temporal-bucket-format-Ca4hUfTo.cjs → saved-temporal-bucket-format-DNMtD77o.cjs} +1 -1
  45. package/dist/chunks/{switch-8PklEEN1.js → switch-DnbD-yCM.js} +248 -233
  46. package/dist/chunks/{switch-DykyqM66.cjs → switch-NAbuOQNg.cjs} +2 -2
  47. package/dist/chunks/{temporal-bucket-BDRcWdVv.cjs → temporal-bucket-9Wz9Ds6H.cjs} +1 -1
  48. package/dist/chunks/{temporal-bucket-Cc9fmx8s.js → temporal-bucket-CUKJktCl.js} +1 -1
  49. package/dist/chunks/{temporal-bucket-authoring-DjPFtRSF.js → temporal-bucket-authoring-CZoJV2L6.js} +3 -3
  50. package/dist/chunks/{temporal-bucket-authoring-C6sZAVqS.cjs → temporal-bucket-authoring-DSpzgXHc.cjs} +1 -1
  51. package/dist/chunks/{temporal-bucket-contract-vrOkax-r.cjs → temporal-bucket-contract-BD862TAa.cjs} +1 -1
  52. package/dist/chunks/{temporal-bucket-contract-DT4kU0VY.js → temporal-bucket-contract-Cno9TlYr.js} +1 -1
  53. package/dist/chunks/{token-types-DALtlgbG.cjs → token-types-CoHsSJ4E.cjs} +1 -1
  54. package/dist/chunks/{token-types-Z889rD6g.js → token-types-W3EHNW-D.js} +1 -1
  55. package/dist/chunks/{update-policy-Cyufdviq.cjs → update-policy-BGNXFgBU.cjs} +1 -1
  56. package/dist/chunks/{update-policy-Bu5Tw43R.js → update-policy-kRNJwwUV.js} +1 -1
  57. package/dist/chunks/{validators-DhTaCK1O.js → validators-B5t1s8oh.js} +274 -266
  58. package/dist/chunks/validators-DcshgK7w.cjs +1 -0
  59. package/dist/dashboard/index.cjs +1 -1
  60. package/dist/dashboard/index.js +2 -2
  61. package/dist/dashboard-authoring/index.cjs +1 -1
  62. package/dist/dashboard-authoring/index.js +4 -4
  63. package/dist/data-app-builder/index.cjs +1 -1
  64. package/dist/data-app-builder/index.js +2 -2
  65. package/dist/data-app-codegen/index.cjs +1 -1
  66. package/dist/data-app-codegen/index.js +2 -2
  67. package/dist/data-app-codegen-node/index.cjs +1 -1
  68. package/dist/data-app-codegen-node/index.js +3 -3
  69. package/dist/data-app-sdk/index.cjs +1 -1
  70. package/dist/data-app-sdk/index.js +3 -3
  71. package/dist/data-app-sdk-adapters/index.cjs +1 -1
  72. package/dist/data-app-sdk-adapters/index.js +2 -2
  73. package/dist/data-app-sdk-validation/index.cjs +1 -1
  74. package/dist/data-app-sdk-validation/index.js +3 -3
  75. package/dist/format-utils/index.cjs +1 -1
  76. package/dist/format-utils/index.js +12 -12
  77. package/dist/index.cjs +1 -1
  78. package/dist/index.js +14 -14
  79. package/dist/report-runtime-context/index.cjs +1 -1
  80. package/dist/report-runtime-context/index.js +2 -2
  81. package/dist/style.css +1 -1
  82. package/dist/surfboard/index.cjs +1 -1
  83. package/dist/surfboard/index.js +3 -3
  84. package/dist/types/analytics-protocol.d.ts +69 -0
  85. package/dist/types/index.cjs +1 -1
  86. package/dist/types/index.js +4 -4
  87. package/dist/types/main.d.ts +1 -0
  88. package/package.json +1 -1
  89. package/dist/chunks/dashboard-filter-value-compatibility-Bnl2lsng.cjs +0 -1
  90. package/dist/chunks/edit-dashboard-visual-BzVDWVyZ.cjs +0 -172
  91. package/dist/chunks/index-DZdmd5AL.cjs +0 -1392
  92. package/dist/chunks/matrix-result-contract-C3cGHj_y.js +0 -598
  93. package/dist/chunks/matrix-result-contract-CkRVx693.cjs +0 -1
  94. package/dist/chunks/validators-DO-YuzgO.cjs +0 -1
@@ -1,24 +1,24 @@
1
1
  import { j as mp, c as je, C as Rl } from "./x-CXDkqdur.js";
2
2
  import { jsx as w, jsxs as be, Fragment as Yn } from "react/jsx-runtime";
3
3
  import * as p from "react";
4
- import Ce, { useLayoutEffect as gp, useState as yp, forwardRef as bp, useRef as qa, useMemo as vp, useId as Cp, useImperativeHandle as Sp } from "react";
5
- import { e as _l, v as st, D as _r, B as Wi, f as Ip, h as Pl, r as wp, j as Ha, k as De } from "./saved-temporal-bucket-format-hylaofsQ.js";
6
- import { E as Ke, N as Ol, l as xp, ap as Ep, h as Pr, ah as Vn, B as Wa } from "./validators-DhTaCK1O.js";
7
- import "./analyze-result-contract-kaCNxjA7.js";
4
+ import Ce, { useLayoutEffect as gp, useState as yp, forwardRef as bp, useRef as za, useMemo as vp, useId as Cp, useImperativeHandle as Sp } from "react";
5
+ import { e as _l, v as st, D as _r, B as Wi, f as Ip, h as Pl, r as wp, j as Ha, k as De } from "./saved-temporal-bucket-format-CygnBDO2.js";
6
+ import { E as Ke, N as Ol, l as xp, aq as Ep, h as Pr, ai as Vn, B as Wa } from "./validators-B5t1s8oh.js";
7
+ import "./analyze-result-contract-B3agc2XU.js";
8
8
  import "../value-format-preferences/index.js";
9
9
  import * as Xr from "react-dom";
10
10
  import Tp from "react-dom";
11
11
  import { u as Fp } from "./appearance-context-DVXt8qjW.js";
12
12
  import "react-dom/client";
13
- import { D as Dp } from "./temporal-bucket-Cc9fmx8s.js";
14
- import { b as Ap } from "./report-runtime-context-CcXUjpb-.js";
13
+ import { D as Dp } from "./temporal-bucket-CUKJktCl.js";
14
+ import { b as Ap } from "./report-runtime-context-DnNbpkGo.js";
15
15
  import { createFrameLayouts as Rp } from "../layouts/index.js";
16
16
  import { t as Gi, c as Or, h as _p, j as Pp, f as Qr, k as Op, i as Zr } from "./format-types-CFHQoIuk.js";
17
17
  import { f as Dt } from "./index-CACdoqu3.js";
18
- import { a as Mp } from "./temporal-bucket-authoring-DjPFtRSF.js";
19
- import { o as Ml, l as kl, n as Nl, b as Jr, e as Vl, d as Yi, h as kp, r as Ga, g as Np, j as Vp } from "./dashboard-filter-value-compatibility-o-kufPZB.js";
20
- import { a as Ya, C as Ll } from "./common-types-BgI-ymBp.js";
21
- import { s as Lp, e as Bp, i as $p, a as Up, q as Ki, r as ci, f as Bl, g as Kn } from "./dashboard-input-contract-Ciboc347.js";
18
+ import { a as Mp } from "./temporal-bucket-authoring-CZoJV2L6.js";
19
+ import { o as Ml, l as kl, n as Nl, b as Jr, e as Vl, d as Yi, h as kp, r as Ga, g as Np, j as Vp } from "./dashboard-filter-value-compatibility-BAaqJGjt.js";
20
+ import { a as Ya, C as Ll } from "./common-types-g_1fKJLK.js";
21
+ import { s as Lp, e as Bp, i as $p, a as Up, q as Ki, r as ci, f as Bl, g as Kn } from "./dashboard-input-contract-Vr_3ApfF.js";
22
22
  const Ka = (e) => {
23
23
  let n;
24
24
  const t = /* @__PURE__ */ new Set(), r = (c, d) => {
@@ -29,8 +29,8 @@ const Ka = (e) => {
29
29
  }
30
30
  }, o = () => n, s = { setState: r, getState: o, getInitialState: () => l, subscribe: (c) => (t.add(c), () => t.delete(c)) }, l = n = e(r, o, s);
31
31
  return s;
32
- }, jp = (e) => e ? Ka(e) : Ka, zp = (e) => e;
33
- function qp(e, n = zp) {
32
+ }, jp = (e) => e ? Ka(e) : Ka, qp = (e) => e;
33
+ function zp(e, n = qp) {
34
34
  const t = Ce.useSyncExternalStore(
35
35
  e.subscribe,
36
36
  Ce.useCallback(() => n(e.getState()), [e, n]),
@@ -39,7 +39,7 @@ function qp(e, n = zp) {
39
39
  return Ce.useDebugValue(t), t;
40
40
  }
41
41
  const Xa = (e) => {
42
- const n = jp(e), t = (r) => qp(n, r);
42
+ const n = jp(e), t = (r) => zp(n, r);
43
43
  return Object.assign(t, n), t;
44
44
  }, sn = (e) => e ? Xa(e) : Xa;
45
45
  var $l = Symbol.for("immer-nothing"), Qa = Symbol.for("immer-draftable"), Q = Symbol.for("immer-state"), Hp = process.env.NODE_ENV !== "production" ? [
@@ -338,7 +338,7 @@ var Qi = {
338
338
  return Reflect.ownKeys(se(e));
339
339
  },
340
340
  set(e, n, t) {
341
- const r = zl(se(e), n);
341
+ const r = ql(se(e), n);
342
342
  if (r != null && r.set)
343
343
  return r.set.call(e.draft_, t), !0;
344
344
  if (!e.modified_) {
@@ -394,14 +394,14 @@ function Oo(e, n) {
394
394
  }
395
395
  function Jp(e, n, t) {
396
396
  var o;
397
- const r = zl(n, t);
397
+ const r = ql(n, t);
398
398
  return r ? "value" in r ? r.value : (
399
399
  // This is a very special case, if the prop is a getter defined by the
400
400
  // prototype, we should invoke it with the draft as context!
401
401
  (o = r.get) == null ? void 0 : o.call(e.draft_)
402
402
  ) : void 0;
403
403
  }
404
- function zl(e, n) {
404
+ function ql(e, n) {
405
405
  if (!(n in e))
406
406
  return;
407
407
  let t = Ln(e);
@@ -521,9 +521,9 @@ function jn(e, n) {
521
521
  return (n ? n.scope_ : Mr()).drafts_.push(t), t;
522
522
  }
523
523
  function th(e) {
524
- return tn(e) || he(10, e), ql(e);
524
+ return tn(e) || he(10, e), zl(e);
525
525
  }
526
- function ql(e) {
526
+ function zl(e) {
527
527
  if (!Xe(e) || no(e))
528
528
  return e;
529
529
  const n = e[Q];
@@ -537,7 +537,7 @@ function ql(e) {
537
537
  return Bn(
538
538
  t,
539
539
  (o, i) => {
540
- jl(t, o, ql(i));
540
+ jl(t, o, zl(i));
541
541
  },
542
542
  r
543
543
  ), n && (n.finalized_ = !1), t;
@@ -771,8 +771,8 @@ const ht = {
771
771
  subscribe: ah,
772
772
  emit: Ji,
773
773
  clear: sh
774
- }, mE = () => Ji("dashboard:load"), gE = () => Ji("dashboard:unload"), os = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, zn = /* @__PURE__ */ new Map(), ar = (e) => {
775
- const n = zn.get(e);
774
+ }, mE = () => Ji("dashboard:load"), gE = () => Ji("dashboard:unload"), os = { BASE_URL: "/", DEV: !1, MODE: "production", PROD: !0, SSR: !1 }, qn = /* @__PURE__ */ new Map(), ar = (e) => {
775
+ const n = qn.get(e);
776
776
  return n ? Object.fromEntries(
777
777
  Object.entries(n.stores).map(([t, r]) => [t, r.getState()])
778
778
  ) : {};
@@ -782,18 +782,18 @@ const ht = {
782
782
  type: "untracked",
783
783
  connection: n.connect(t)
784
784
  };
785
- const r = zn.get(t.name);
785
+ const r = qn.get(t.name);
786
786
  if (r)
787
787
  return { type: "tracked", store: e, ...r };
788
788
  const o = {
789
789
  connection: n.connect(t),
790
790
  stores: {}
791
791
  };
792
- return zn.set(t.name, o), { type: "tracked", store: e, ...o };
792
+ return qn.set(t.name, o), { type: "tracked", store: e, ...o };
793
793
  }, ch = (e, n) => {
794
794
  if (n === void 0) return;
795
- const t = zn.get(e);
796
- t && (delete t.stores[n], Object.keys(t.stores).length === 0 && zn.delete(e));
795
+ const t = qn.get(e);
796
+ t && (delete t.stores[n], Object.keys(t.stores).length === 0 && qn.delete(e));
797
797
  }, dh = (e) => {
798
798
  var n, t;
799
799
  if (!e) return;
@@ -1616,20 +1616,20 @@ function Dh(e, n, t, r, o, i, a) {
1616
1616
  );
1617
1617
  if (D) {
1618
1618
  const _ = Fe.getState().interactionStates[n.id], L = (_ == null ? void 0 : _.breadcrumbs) || [], B = L.length;
1619
- let q;
1619
+ let z;
1620
1620
  if (D.type === "date" || D.baseField) {
1621
1621
  const M = Kl(D, n, L);
1622
- q = Yl(D, M);
1622
+ z = Yl(D, M);
1623
1623
  } else
1624
- q = D.steps[B];
1625
- q && (T = {
1624
+ z = D.steps[B];
1625
+ z && (T = {
1626
1626
  interactionMode: "drillDown",
1627
1627
  sourceCardId: n.id,
1628
1628
  hierarchyId: D.id,
1629
1629
  filterGroups: F,
1630
1630
  metric: (v = e.metrics) == null ? void 0 : v[0],
1631
- toField: q.field,
1632
- granularity: q.field.granularity
1631
+ toField: z.field,
1632
+ granularity: z.field.granularity
1633
1633
  });
1634
1634
  }
1635
1635
  } else if (d.mode === "drillThrough")
@@ -2432,7 +2432,7 @@ function VE(e, n) {
2432
2432
  function jh(e) {
2433
2433
  return e ? e != null && e.startsWith(`${_r}.`) ? e : `${_r}.${e}` : "";
2434
2434
  }
2435
- function zh({
2435
+ function qh({
2436
2436
  schemaName: e,
2437
2437
  tableName: n,
2438
2438
  databaseName: t,
@@ -2455,7 +2455,7 @@ function LE({
2455
2455
  tableName: n,
2456
2456
  databaseName: r,
2457
2457
  capabilities: o
2458
- }) : a = zh({
2458
+ }) : a = qh({
2459
2459
  schemaName: e,
2460
2460
  tableName: n,
2461
2461
  databaseName: r,
@@ -2477,12 +2477,12 @@ function oc({
2477
2477
  table: n
2478
2478
  });
2479
2479
  }
2480
- const qh = (e) => {
2480
+ const zh = (e) => {
2481
2481
  const n = new Date(e);
2482
2482
  return !isNaN(n.getTime());
2483
2483
  }, Hh = (e) => !isNaN(Number(e)) && !isNaN(parseFloat(e)), Wh = (e) => {
2484
2484
  let n;
2485
- return typeof e == "number" ? n = "number" : typeof e == "string" ? qh(e) ? n = "date" : Hh(e) ? n = "number" : n = "string" : typeof e == "boolean" ? n = "boolean" : e instanceof Date ? n = "date" : n = "unknown", n;
2485
+ return typeof e == "number" ? n = "number" : typeof e == "string" ? zh(e) ? n = "date" : Hh(e) ? n = "number" : n = "string" : typeof e == "boolean" ? n = "boolean" : e instanceof Date ? n = "date" : n = "unknown", n;
2486
2486
  };
2487
2487
  function Gh({
2488
2488
  get: e,
@@ -3256,7 +3256,7 @@ function Em(e, n, t = 1) {
3256
3256
  }
3257
3257
  return [It(r, n), Pe(r, n)];
3258
3258
  }
3259
- function zE(e) {
3259
+ function qE(e) {
3260
3260
  if (!e) return null;
3261
3261
  for (const [o, i] of Object.entries(Fm))
3262
3262
  if (Tm(i, e))
@@ -3406,7 +3406,7 @@ function so(e, n) {
3406
3406
  semanticContext: e.semanticContext
3407
3407
  };
3408
3408
  }
3409
- function qE(e, n) {
3409
+ function zE(e, n) {
3410
3410
  return e != null && e.length ? e.map((t) => so(t, n)).filter((t) => !!t) : [];
3411
3411
  }
3412
3412
  function yc(e, n) {
@@ -3477,7 +3477,7 @@ function HE(e) {
3477
3477
  });
3478
3478
  return Rm(d, i);
3479
3479
  }
3480
- function qn(e, n) {
3480
+ function zn(e, n) {
3481
3481
  return Object.prototype.hasOwnProperty.call(e || {}, n);
3482
3482
  }
3483
3483
  function bc(e) {
@@ -3510,7 +3510,7 @@ function la(e) {
3510
3510
  const n = {}, t = e.dashboardDefaultValues, r = bc(t);
3511
3511
  for (const o of e.controls || [])
3512
3512
  if (vc(o)) {
3513
- if (r && qn(t, o.id)) {
3513
+ if (r && zn(t, o.id)) {
3514
3514
  const i = t == null ? void 0 : t[o.id];
3515
3515
  i !== void 0 && (n[o.id] = i);
3516
3516
  continue;
@@ -3524,7 +3524,7 @@ function Mm(e) {
3524
3524
  return (e.controls || []).map((t) => {
3525
3525
  if (!vc(t))
3526
3526
  return t;
3527
- const r = qn(n, t.id) ? n[t.id] : void 0;
3527
+ const r = zn(n, t.id) ? n[t.id] : void 0;
3528
3528
  return t.defaultValue === r ? t : {
3529
3529
  ...t,
3530
3530
  defaultValue: r
@@ -3533,7 +3533,7 @@ function Mm(e) {
3533
3533
  }
3534
3534
  function Sc(e, n) {
3535
3535
  if (sa(e))
3536
- return e.scope === "dashboard" && bc(n) && qn(n, e.id) ? n == null ? void 0 : n[e.id] : e.defaultValue;
3536
+ return e.scope === "dashboard" && bc(n) && zn(n, e.id) ? n == null ? void 0 : n[e.id] : e.defaultValue;
3537
3537
  }
3538
3538
  function km(e) {
3539
3539
  const n = {};
@@ -3575,11 +3575,11 @@ function WE(e) {
3575
3575
  var t, r;
3576
3576
  const n = {};
3577
3577
  for (const o of e.relevantControlIds) {
3578
- if (qn(e.cardValues, o)) {
3578
+ if (zn(e.cardValues, o)) {
3579
3579
  n[o] = (t = e.cardValues) == null ? void 0 : t[o];
3580
3580
  continue;
3581
3581
  }
3582
- qn(e.dashboardValues, o) && (n[o] = (r = e.dashboardValues) == null ? void 0 : r[o]);
3582
+ zn(e.dashboardValues, o) && (n[o] = (r = e.dashboardValues) == null ? void 0 : r[o]);
3583
3583
  }
3584
3584
  return n;
3585
3585
  }
@@ -3645,7 +3645,7 @@ function jm(e, n, t) {
3645
3645
  );
3646
3646
  return e.replace(r, `[[param.${t}]]`);
3647
3647
  }
3648
- function zm(e, n) {
3648
+ function qm(e, n) {
3649
3649
  if (n.type === "rename") {
3650
3650
  const t = $m(
3651
3651
  e.controlBindings,
@@ -3669,13 +3669,13 @@ function zm(e, n) {
3669
3669
  ])
3670
3670
  };
3671
3671
  }
3672
- function qm(e, n) {
3672
+ function zm(e, n) {
3673
3673
  const t = new Set((e.controls || []).map((r) => r.id));
3674
3674
  return n.type === "rename" ? !t.has(n.oldId) && !t.has(n.newId) : !t.has(n.controlId);
3675
3675
  }
3676
3676
  function wc(e, n) {
3677
3677
  return e && e.map(
3678
- (t) => qm(t, n) ? zm(t, n) : t
3678
+ (t) => zm(t, n) ? qm(t, n) : t
3679
3679
  );
3680
3680
  }
3681
3681
  function Hm(e, n) {
@@ -3952,6 +3952,21 @@ const Ie = sn()(
3952
3952
  getFileAttachments: e.actions.getFileAttachments
3953
3953
  }))
3954
3954
  ), nT = {}, ms = {}, Xm = (e) => ({
3955
+ updateEnableDevModePagination: (n) => e((t) => {
3956
+ var r, o, i;
3957
+ return {
3958
+ card: {
3959
+ ...t.card,
3960
+ preferences: {
3961
+ ...(r = t.card) == null ? void 0 : r.preferences,
3962
+ tablePrefs: {
3963
+ ...(i = (o = t.card) == null ? void 0 : o.preferences) == null ? void 0 : i.tablePrefs,
3964
+ enableDevModePagination: n
3965
+ }
3966
+ }
3967
+ }
3968
+ };
3969
+ }),
3955
3970
  // Update page size
3956
3971
  updatePageSize: (n) => e((t) => {
3957
3972
  var r, o, i;
@@ -6634,7 +6649,7 @@ function wi(e) {
6634
6649
  e.name
6635
6650
  ].join("::");
6636
6651
  }
6637
- function zg(e) {
6652
+ function qg(e) {
6638
6653
  if ("expression" in e)
6639
6654
  return e.expression || void 0;
6640
6655
  }
@@ -6643,10 +6658,10 @@ function Xt(e) {
6643
6658
  e.role || "field",
6644
6659
  Bc(e),
6645
6660
  e.name,
6646
- zg(e) || ""
6661
+ qg(e) || ""
6647
6662
  ].join("::");
6648
6663
  }
6649
- function qg(e) {
6664
+ function zg(e) {
6650
6665
  if (e.fieldScope === "domain")
6651
6666
  return `domain:${wi(e)}`;
6652
6667
  const n = Ii(e.id);
@@ -6666,7 +6681,7 @@ function Hg(e, n, t) {
6666
6681
  function Wg(e) {
6667
6682
  const n = /* @__PURE__ */ new Map();
6668
6683
  return e.forEach((t) => {
6669
- const r = qg(t);
6684
+ const r = zg(t);
6670
6685
  n.has(r) || n.set(r, t);
6671
6686
  }), Array.from(n.values());
6672
6687
  }
@@ -6879,13 +6894,13 @@ function jc(e, n) {
6879
6894
  (r, o) => o === t ? n : r
6880
6895
  );
6881
6896
  }
6882
- function zc(e) {
6897
+ function qc(e) {
6883
6898
  return (e == null ? void 0 : e.kind) === "document";
6884
6899
  }
6885
- function qc(e) {
6886
- return (e || []).filter((n) => !zc(n));
6900
+ function zc(e) {
6901
+ return (e || []).filter((n) => !qc(n));
6887
6902
  }
6888
- const MT = qc;
6903
+ const MT = zc;
6889
6904
  function Zg(e) {
6890
6905
  const n = Ol.safeParse(e.format), t = e.format !== void 0 && !(n.success && n.data.presentation.mode === "auto") || e.dateFormat !== void 0, r = e.semanticTemporalPresentation;
6891
6906
  return t || (r == null ? void 0 : r.granularity) !== e.granularity ? e : { ...e, format: r == null ? void 0 : r.format };
@@ -7088,7 +7103,7 @@ function iy(e, n) {
7088
7103
  function ay(e, n) {
7089
7104
  return iy(e.type, n);
7090
7105
  }
7091
- function zT(e) {
7106
+ function qT(e) {
7092
7107
  const n = sy(e.card);
7093
7108
  return e.control ? n.filter(
7094
7109
  (t) => ay(e.control, t.value)
@@ -7135,7 +7150,7 @@ function dy(e, n = "SUM") {
7135
7150
  aggregate: e.aggregate || n
7136
7151
  };
7137
7152
  }
7138
- function qT(e) {
7153
+ function zT(e) {
7139
7154
  const n = /* @__PURE__ */ new Map(), t = {};
7140
7155
  return e.filter(ly).filter((r) => typeof r.id == "string" && r.id.length > 0).forEach((r) => {
7141
7156
  const o = r.label || r.name || r.id, i = Yc(o, r.name || r.id);
@@ -8021,13 +8036,13 @@ function E0(e, n, t) {
8021
8036
  )
8022
8037
  };
8023
8038
  }
8024
- function zy(e) {
8039
+ function qy(e) {
8025
8040
  return e.kind === "filter" && $p(e);
8026
8041
  }
8027
8042
  function ue(e) {
8028
8043
  return typeof e == "string" ? e.trim() : "";
8029
8044
  }
8030
- function qy(e) {
8045
+ function zy(e) {
8031
8046
  const n = e.split(".");
8032
8047
  return n.length > 1 ? n.slice(0, -1).join(".") : "";
8033
8048
  }
@@ -8062,7 +8077,7 @@ function Wy(e, n, t) {
8062
8077
  var u;
8063
8078
  const r = n.fieldMeta;
8064
8079
  if (!r) return !0;
8065
- const o = qy(t), i = t.split("."), a = i[i.length - 1] || "", s = ue(
8080
+ const o = zy(t), i = t.split("."), a = i[i.length - 1] || "", s = ue(
8066
8081
  r.qualifiedFieldName
8067
8082
  );
8068
8083
  if (s && !Ki(
@@ -8279,7 +8294,7 @@ function R0(e) {
8279
8294
  e.dashboard.defaultInputValues,
8280
8295
  e.input,
8281
8296
  e.target
8282
- ), r = Xy(e.input, e.timezone), o = As(n) ? n : As(t) ? t : r, i = (n == null ? void 0 : n.comparisonSelection) ?? (t == null ? void 0 : t.comparisonSelection), a = zy(
8297
+ ), r = Xy(e.input, e.timezone), o = As(n) ? n : As(t) ? t : r, i = (n == null ? void 0 : n.comparisonSelection) ?? (t == null ? void 0 : t.comparisonSelection), a = qy(
8283
8298
  e.input
8284
8299
  ) ? i ?? ((o == null ? void 0 : o.status) === "set" ? { mode: "off" } : void 0) : void 0;
8285
8300
  return (o == null ? void 0 : o.status) === "set" ? {
@@ -8378,11 +8393,11 @@ function dd(e) {
8378
8393
  function ge(e) {
8379
8394
  const n = {};
8380
8395
  e.shared && Object.keys(e.shared).length > 0 && (n.shared = e.shared);
8381
- const t = zo(e.bySheetId);
8396
+ const t = qo(e.bySheetId);
8382
8397
  t && (n.bySheetId = t);
8383
- const r = zo(e.byCardId);
8398
+ const r = qo(e.byCardId);
8384
8399
  r && (n.byCardId = r);
8385
- const o = zo(e.byDocumentSectionId);
8400
+ const o = qo(e.byDocumentSectionId);
8386
8401
  return o && (n.byDocumentSectionId = o), n;
8387
8402
  }
8388
8403
  function jo(e) {
@@ -8391,7 +8406,7 @@ function jo(e) {
8391
8406
  Object.entries(e).map(([n, t]) => [n, { ...t }])
8392
8407
  );
8393
8408
  }
8394
- function zo(e) {
8409
+ function qo(e) {
8395
8410
  if (!e)
8396
8411
  return;
8397
8412
  const n = Object.fromEntries(
@@ -9137,7 +9152,7 @@ function hb(e) {
9137
9152
  };
9138
9153
  return { ok: !0, draft: t, input: f };
9139
9154
  }
9140
- function qo(e, n) {
9155
+ function zo(e, n) {
9141
9156
  const t = uo(e, n);
9142
9157
  return t != null && t.application ? t : void 0;
9143
9158
  }
@@ -9664,7 +9679,7 @@ function Ct(e, n) {
9664
9679
  controlValuesByInputId: {}
9665
9680
  }), e[n];
9666
9681
  }
9667
- function zs(e, n) {
9682
+ function qs(e, n) {
9668
9683
  var r;
9669
9684
  if (!e)
9670
9685
  return {};
@@ -9689,7 +9704,7 @@ function Go(e, n) {
9689
9704
  for (const t of Object.values(e))
9690
9705
  delete t[n];
9691
9706
  }
9692
- function qs(e, n, t, r) {
9707
+ function zs(e, n, t, r) {
9693
9708
  if (!e || n.size === 0)
9694
9709
  return e;
9695
9710
  const o = {
@@ -9923,7 +9938,7 @@ const Je = sn()(
9923
9938
  filters: (i.filters || []).map(
9924
9939
  (c) => c.id === r.id ? r : c
9925
9940
  )
9926
- } : i, s = !!qo(i, t.filterId), l = hb({
9941
+ } : i, s = !!zo(i, t.filterId), l = hb({
9927
9942
  dashboard: a,
9928
9943
  request: t
9929
9944
  });
@@ -9989,7 +10004,7 @@ const Je = sn()(
9989
10004
  },
9990
10005
  disableDashboardFilterMapping: (t, r, o) => {
9991
10006
  var d;
9992
- const i = n().dashboard, a = qo(
10007
+ const i = n().dashboard, a = zo(
9993
10008
  i,
9994
10009
  t
9995
10010
  ), s = (d = i.filters) == null ? void 0 : d.find(
@@ -10025,7 +10040,7 @@ const Je = sn()(
10025
10040
  };
10026
10041
  return e((u) => {
10027
10042
  var y, C, g;
10028
- const f = qo(
10043
+ const f = zo(
10029
10044
  u.dashboard,
10030
10045
  t
10031
10046
  );
@@ -10111,10 +10126,10 @@ const Je = sn()(
10111
10126
  e((r) => {
10112
10127
  r.dashboard.inputs = (r.dashboard.inputs || []).filter(
10113
10128
  (o) => o.id !== t
10114
- ), r.dashboard.defaultInputValues = zs(
10129
+ ), r.dashboard.defaultInputValues = qs(
10115
10130
  r.dashboard.defaultInputValues,
10116
10131
  t
10117
- ), r.dashboardInputValues = zs(
10132
+ ), r.dashboardInputValues = qs(
10118
10133
  r.dashboardInputValues,
10119
10134
  t
10120
10135
  );
@@ -11027,7 +11042,7 @@ const Je = sn()(
11027
11042
  (l) => l.kind === "global-date" && t.kind === "global-date"
11028
11043
  )) ?? -1) >= 0)
11029
11044
  return;
11030
- r.dashboard.filters ? (s = r.dashboard.filters) == null || s.push(t) : r.dashboard.filters = [t], qc(r.dashboard.sheets).forEach((l) => {
11045
+ r.dashboard.filters ? (s = r.dashboard.filters) == null || s.push(t) : r.dashboard.filters = [t], zc(r.dashboard.sheets).forEach((l) => {
11031
11046
  ds({
11032
11047
  id: t.id,
11033
11048
  layouts: l.layouts,
@@ -11117,12 +11132,12 @@ const Je = sn()(
11117
11132
  (u) => u.filterId === t ? { ...u, filterId: r } : u
11118
11133
  ), o.dashboard.defaultFilterValues = (o.dashboard.defaultFilterValues || []).map(
11119
11134
  (u) => u.filterId === t ? { ...u, filterId: r } : u
11120
- ), o.dashboard.defaultInputValues = qs(
11135
+ ), o.dashboard.defaultInputValues = zs(
11121
11136
  o.dashboard.defaultInputValues,
11122
11137
  d,
11123
11138
  t,
11124
11139
  r
11125
- ), o.dashboardInputValues = qs(
11140
+ ), o.dashboardInputValues = zs(
11126
11141
  o.dashboardInputValues,
11127
11142
  d,
11128
11143
  t,
@@ -11188,7 +11203,7 @@ const Je = sn()(
11188
11203
  var s, l, c;
11189
11204
  const a = (l = (s = i.dashboard) == null ? void 0 : s.sheets) == null ? void 0 : l.find((d) => d.id === t);
11190
11205
  if (a) {
11191
- if (zc(a))
11206
+ if (qc(a))
11192
11207
  return;
11193
11208
  a.frames || (a.frames = []);
11194
11209
  const d = typeof o == "string" ? { position: o } : o || {};
@@ -11932,7 +11947,7 @@ function Gs(e, ...n) {
11932
11947
  const ne = (e) => {
11933
11948
  const n = (t) => t[e] || [];
11934
11949
  return n.isThemeGetter = !0, n;
11935
- }, Sd = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vb = /^\d+\/\d+$/, Lb = /* @__PURE__ */ new Set(["px", "full", "screen"]), Bb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $b = /\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$/, Ub = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, zb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Zt(e) || Lb.has(e) || Vb.test(e), ot = (e) => dn(e, "length", Qb), Zt = (e) => !!e && !Number.isNaN(Number(e)), Yo = (e) => dn(e, "number", Zt), Dn = (e) => !!e && Number.isInteger(Number(e)), qb = (e) => e.endsWith("%") && Zt(e.slice(0, -1)), j = (e) => Sd.test(e), it = (e) => Bb.test(e), Hb = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Wb = (e) => dn(e, Hb, Id), Gb = (e) => dn(e, "position", Id), Yb = /* @__PURE__ */ new Set(["image", "url"]), Kb = (e) => dn(e, Yb, Jb), Xb = (e) => dn(e, "", Zb), An = () => !0, dn = (e, n, t) => {
11950
+ }, Sd = /^\[(?:([a-z-]+):)?(.+)\]$/i, Vb = /^\d+\/\d+$/, Lb = /* @__PURE__ */ new Set(["px", "full", "screen"]), Bb = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/, $b = /\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$/, Ub = /^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/, jb = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/, qb = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/, Ge = (e) => Zt(e) || Lb.has(e) || Vb.test(e), ot = (e) => dn(e, "length", Qb), Zt = (e) => !!e && !Number.isNaN(Number(e)), Yo = (e) => dn(e, "number", Zt), Dn = (e) => !!e && Number.isInteger(Number(e)), zb = (e) => e.endsWith("%") && Zt(e.slice(0, -1)), j = (e) => Sd.test(e), it = (e) => Bb.test(e), Hb = /* @__PURE__ */ new Set(["length", "size", "percentage"]), Wb = (e) => dn(e, Hb, Id), Gb = (e) => dn(e, "position", Id), Yb = /* @__PURE__ */ new Set(["image", "url"]), Kb = (e) => dn(e, Yb, Jb), Xb = (e) => dn(e, "", Zb), An = () => !0, dn = (e, n, t) => {
11936
11951
  const r = Sd.exec(e);
11937
11952
  return r ? r[1] ? typeof n == "string" ? r[1] === n : n.has(r[1]) : t(r[2]) : !1;
11938
11953
  }, Qb = (e) => (
@@ -11940,8 +11955,8 @@ const ne = (e) => {
11940
11955
  // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
11941
11956
  // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
11942
11957
  $b.test(e) && !Ub.test(e)
11943
- ), Id = () => !1, Zb = (e) => jb.test(e), Jb = (e) => zb.test(e), Ys = () => {
11944
- const e = ne("colors"), n = ne("spacing"), t = ne("blur"), r = ne("brightness"), o = ne("borderColor"), i = ne("borderRadius"), a = ne("borderSpacing"), s = ne("borderWidth"), l = ne("contrast"), c = ne("grayscale"), d = ne("hueRotate"), u = ne("invert"), f = ne("gap"), m = ne("gradientColorStops"), b = ne("gradientColorStopPositions"), h = ne("inset"), y = ne("margin"), C = ne("opacity"), g = ne("padding"), v = ne("saturate"), S = ne("scale"), I = ne("sepia"), x = ne("skew"), E = ne("space"), F = ne("translate"), T = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", j, n], _ = () => [j, n], L = () => ["", Ge, ot], B = () => ["auto", Zt, j], q = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", j], Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Zt, j];
11958
+ ), Id = () => !1, Zb = (e) => jb.test(e), Jb = (e) => qb.test(e), Ys = () => {
11959
+ const e = ne("colors"), n = ne("spacing"), t = ne("blur"), r = ne("brightness"), o = ne("borderColor"), i = ne("borderRadius"), a = ne("borderSpacing"), s = ne("borderWidth"), l = ne("contrast"), c = ne("grayscale"), d = ne("hueRotate"), u = ne("invert"), f = ne("gap"), m = ne("gradientColorStops"), b = ne("gradientColorStopPositions"), h = ne("inset"), y = ne("margin"), C = ne("opacity"), g = ne("padding"), v = ne("saturate"), S = ne("scale"), I = ne("sepia"), x = ne("skew"), E = ne("space"), F = ne("translate"), T = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], A = () => ["auto", j, n], _ = () => [j, n], L = () => ["", Ge, ot], B = () => ["auto", Zt, j], z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], M = () => ["solid", "dashed", "dotted", "double", "none"], O = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], P = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], V = () => ["", "0", j], Z = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], J = () => [Zt, j];
11945
11960
  return {
11946
11961
  cacheSize: 500,
11947
11962
  separator: ":",
@@ -11960,7 +11975,7 @@ const ne = (e) => {
11960
11975
  invert: V(),
11961
11976
  gap: _(),
11962
11977
  gradientColorStops: [e],
11963
- gradientColorStopPositions: [qb, ot],
11978
+ gradientColorStopPositions: [zb, ot],
11964
11979
  inset: A(),
11965
11980
  margin: A(),
11966
11981
  opacity: J(),
@@ -12064,7 +12079,7 @@ const ne = (e) => {
12064
12079
  * @see https://tailwindcss.com/docs/object-position
12065
12080
  */
12066
12081
  "object-position": [{
12067
- object: [...q(), j]
12082
+ object: [...z(), j]
12068
12083
  }],
12069
12084
  /**
12070
12085
  * Overflow
@@ -12873,7 +12888,7 @@ const ne = (e) => {
12873
12888
  * @see https://tailwindcss.com/docs/background-position
12874
12889
  */
12875
12890
  "bg-position": [{
12876
- bg: [...q(), Gb]
12891
+ bg: [...z(), Gb]
12877
12892
  }],
12878
12893
  /**
12879
12894
  * Background Repeat
@@ -14029,11 +14044,11 @@ function Xo(e, n, t) {
14029
14044
  function iv(e, n = "Unknown error", t = {}) {
14030
14045
  return wd(e, n, t) || n;
14031
14046
  }
14032
- function z0(e, n, t = {}) {
14047
+ function q0(e, n, t = {}) {
14033
14048
  const r = iv(n, "", t);
14034
14049
  return r ? `${e}: ${r}` : e;
14035
14050
  }
14036
- function q0(e) {
14051
+ function z0(e) {
14037
14052
  return ut(e) && typeof e.status == "number" ? e.status : void 0;
14038
14053
  }
14039
14054
  function H0(e) {
@@ -14777,7 +14792,7 @@ var Bv = "DismissableLayer", Pi = "dismissableLayer.update", $v = "dismissableLa
14777
14792
  onInteractOutside: a,
14778
14793
  onDismiss: s,
14779
14794
  ...l
14780
- } = e, c = p.useContext(Ad), [d, u] = p.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = p.useState({}), b = X(n, (E) => u(E)), h = Array.from(c.layers), [y] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), C = h.indexOf(y), g = d ? h.indexOf(d) : -1, v = c.layersWithOutsidePointerEventsDisabled.size > 0, S = g >= C, I = qv((E) => {
14795
+ } = e, c = p.useContext(Ad), [d, u] = p.useState(null), f = (d == null ? void 0 : d.ownerDocument) ?? (globalThis == null ? void 0 : globalThis.document), [, m] = p.useState({}), b = X(n, (E) => u(E)), h = Array.from(c.layers), [y] = [...c.layersWithOutsidePointerEventsDisabled].slice(-1), C = h.indexOf(y), g = d ? h.indexOf(d) : -1, v = c.layersWithOutsidePointerEventsDisabled.size > 0, S = g >= C, I = zv((E) => {
14781
14796
  const F = E.target, T = [...c.branches].some((D) => D.contains(F));
14782
14797
  !S || T || (o == null || o(E), a == null || a(E), E.defaultPrevented || s == null || s());
14783
14798
  }, f), x = Hv((E) => {
@@ -14816,7 +14831,7 @@ var Bv = "DismissableLayer", Pi = "dismissableLayer.update", $v = "dismissableLa
14816
14831
  }
14817
14832
  );
14818
14833
  po.displayName = Bv;
14819
- var jv = "DismissableLayerBranch", zv = p.forwardRef((e, n) => {
14834
+ var jv = "DismissableLayerBranch", qv = p.forwardRef((e, n) => {
14820
14835
  const t = p.useContext(Ad), r = p.useRef(null), o = X(n, r);
14821
14836
  return p.useEffect(() => {
14822
14837
  const i = r.current;
@@ -14826,8 +14841,8 @@ var jv = "DismissableLayerBranch", zv = p.forwardRef((e, n) => {
14826
14841
  };
14827
14842
  }, [t.branches]), /* @__PURE__ */ w(H.div, { ...e, ref: o });
14828
14843
  });
14829
- zv.displayName = jv;
14830
- function qv(e, n = globalThis == null ? void 0 : globalThis.document) {
14844
+ qv.displayName = jv;
14845
+ function zv(e, n = globalThis == null ? void 0 : globalThis.document) {
14831
14846
  const t = me(e), r = p.useRef(!1), o = p.useRef(() => {
14832
14847
  });
14833
14848
  return p.useEffect(() => {
@@ -15029,7 +15044,7 @@ function $t(e) {
15029
15044
  t((r) => r ?? String(eC++));
15030
15045
  }, [e]), n ? `radix-${n}` : "";
15031
15046
  }
15032
- const tC = ["top", "right", "bottom", "left"], ft = Math.min, Se = Math.max, zr = Math.round, gr = Math.floor, $e = (e) => ({
15047
+ const tC = ["top", "right", "bottom", "left"], ft = Math.min, Se = Math.max, qr = Math.round, gr = Math.floor, $e = (e) => ({
15033
15048
  x: e,
15034
15049
  y: e
15035
15050
  }), nC = {
@@ -15067,10 +15082,10 @@ function rC(e, n, t) {
15067
15082
  t === void 0 && (t = !1);
15068
15083
  const r = fn(e), o = Sa(e), i = Ca(o);
15069
15084
  let a = o === "x" ? r === (t ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
15070
- return n.reference[i] > n.floating[i] && (a = qr(a)), [a, qr(a)];
15085
+ return n.reference[i] > n.floating[i] && (a = zr(a)), [a, zr(a)];
15071
15086
  }
15072
15087
  function oC(e) {
15073
- const n = qr(e);
15088
+ const n = zr(e);
15074
15089
  return [Mi(e), n, Mi(n)];
15075
15090
  }
15076
15091
  function Mi(e) {
@@ -15094,7 +15109,7 @@ function lC(e, n, t, r) {
15094
15109
  let i = sC(Ze(e), t === "start", r);
15095
15110
  return o && (i = i.map((a) => a + "-" + o), n && (i = i.concat(i.map(Mi)))), i;
15096
15111
  }
15097
- function qr(e) {
15112
+ function zr(e) {
15098
15113
  const n = Ze(e);
15099
15114
  return nC[n] + e.slice(n.length);
15100
15115
  }
@@ -15314,12 +15329,12 @@ const dC = 50, uC = async (e, n, t) => {
15314
15329
  }, m = Sa(o), b = Ca(m), h = await a.getDimensions(c), y = m === "y", C = y ? "top" : "left", g = y ? "bottom" : "right", v = y ? "clientHeight" : "clientWidth", S = i.reference[b] + i.reference[m] - f[m] - i.floating[b], I = f[m] - i.reference[m], x = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c));
15315
15330
  let E = x ? x[v] : 0;
15316
15331
  (!E || !await (a.isElement == null ? void 0 : a.isElement(x))) && (E = s.floating[v] || i.floating[b]);
15317
- const F = S / 2 - I / 2, T = E / 2 - h[b] / 2 - 1, D = ft(u[C], T), A = ft(u[g], T), _ = D, L = E - h[b] - A, B = E / 2 - h[b] / 2 + F, q = Oi(_, B, L), M = !l.arrow && fn(o) != null && B !== q && i.reference[b] / 2 - (B < _ ? D : A) - h[b] / 2 < 0, O = M ? B < _ ? B - _ : B - L : 0;
15332
+ const F = S / 2 - I / 2, T = E / 2 - h[b] / 2 - 1, D = ft(u[C], T), A = ft(u[g], T), _ = D, L = E - h[b] - A, B = E / 2 - h[b] / 2 + F, z = Oi(_, B, L), M = !l.arrow && fn(o) != null && B !== z && i.reference[b] / 2 - (B < _ ? D : A) - h[b] / 2 < 0, O = M ? B < _ ? B - _ : B - L : 0;
15318
15333
  return {
15319
15334
  [m]: f[m] + O,
15320
15335
  data: {
15321
- [m]: q,
15322
- centerOffset: B - q - O,
15336
+ [m]: z,
15337
+ centerOffset: B - z - O,
15323
15338
  ...M && {
15324
15339
  alignmentOffset: O
15325
15340
  }
@@ -15351,7 +15366,7 @@ const dC = 50, uC = async (e, n, t) => {
15351
15366
  } = Qe(e, n);
15352
15367
  if ((t = i.arrow) != null && t.alignmentOffset)
15353
15368
  return {};
15354
- const C = Ze(o), g = Be(s), v = Ze(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), I = f || (v || !h ? [qr(s)] : oC(s)), x = b !== "none";
15369
+ const C = Ze(o), g = Be(s), v = Ze(s) === s, S = await (l.isRTL == null ? void 0 : l.isRTL(c.floating)), I = f || (v || !h ? [zr(s)] : oC(s)), x = b !== "none";
15355
15370
  !f && x && I.push(...lC(s, h, b, S));
15356
15371
  const E = [s, ...I], F = await l.detectOverflow(n, y), T = [];
15357
15372
  let D = ((r = i.flip) == null ? void 0 : r.overflows) || [];
@@ -15364,8 +15379,8 @@ const dC = 50, uC = async (e, n, t) => {
15364
15379
  overflows: T
15365
15380
  }], !T.every((B) => B <= 0)) {
15366
15381
  var A, _;
15367
- const B = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, q = E[B];
15368
- if (q && (!(u === "alignment" ? g !== Be(q) : !1) || // We leave the current main axis only if every placement on that axis
15382
+ const B = (((A = i.flip) == null ? void 0 : A.index) || 0) + 1, z = E[B];
15383
+ if (z && (!(u === "alignment" ? g !== Be(z) : !1) || // We leave the current main axis only if every placement on that axis
15369
15384
  // overflows the main axis.
15370
15385
  D.every((P) => Be(P.placement) === g ? P.overflows[0] > 0 : !0)))
15371
15386
  return {
@@ -15374,7 +15389,7 @@ const dC = 50, uC = async (e, n, t) => {
15374
15389
  overflows: D
15375
15390
  },
15376
15391
  reset: {
15377
- placement: q
15392
+ placement: z
15378
15393
  }
15379
15394
  };
15380
15395
  let M = (_ = D.filter((O) => O.overflows[0] <= 0).sort((O, P) => O.overflows[1] - P.overflows[1])[0]) == null ? void 0 : _.placement;
@@ -15662,7 +15677,7 @@ function we(e) {
15662
15677
  var n;
15663
15678
  return (e == null || (n = e.ownerDocument) == null ? void 0 : n.defaultView) || window;
15664
15679
  }
15665
- function ze(e) {
15680
+ function qe(e) {
15666
15681
  var n;
15667
15682
  return (n = (Nd(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
15668
15683
  }
@@ -15745,7 +15760,7 @@ function pt(e) {
15745
15760
  e.assignedSlot || // DOM Element detected.
15746
15761
  e.parentNode || // ShadowRoot detected.
15747
15762
  ul(e) && e.host || // Fallback.
15748
- ze(e)
15763
+ qe(e)
15749
15764
  );
15750
15765
  return ul(n) ? n.host : n;
15751
15766
  }
@@ -15769,7 +15784,7 @@ function ki(e) {
15769
15784
  function Ld(e) {
15770
15785
  const n = ke(e);
15771
15786
  let t = parseFloat(n.width) || 0, r = parseFloat(n.height) || 0;
15772
- const o = tt(e), i = o ? e.offsetWidth : t, a = o ? e.offsetHeight : r, s = zr(t) !== i || zr(r) !== a;
15787
+ const o = tt(e), i = o ? e.offsetWidth : t, a = o ? e.offsetHeight : r, s = qr(t) !== i || qr(r) !== a;
15773
15788
  return s && (t = i, r = a), {
15774
15789
  width: t,
15775
15790
  height: r,
@@ -15788,7 +15803,7 @@ function Jt(e) {
15788
15803
  height: o,
15789
15804
  $: i
15790
15805
  } = Ld(n);
15791
- let a = (i ? zr(t.width) : t.width) / r, s = (i ? zr(t.height) : t.height) / o;
15806
+ let a = (i ? qr(t.width) : t.width) / r, s = (i ? qr(t.height) : t.height) / o;
15792
15807
  return (!a || !Number.isFinite(a)) && (a = 1), (!s || !Number.isFinite(s)) && (s = 1), {
15793
15808
  x: a,
15794
15809
  y: s
@@ -15829,7 +15844,7 @@ function kt(e, n, t, r) {
15829
15844
  }
15830
15845
  function yo(e, n) {
15831
15846
  const t = go(e).scrollLeft;
15832
- return n ? n.left + t : kt(ze(e)).left + t;
15847
+ return n ? n.left + t : kt(qe(e)).left + t;
15833
15848
  }
15834
15849
  function $d(e, n) {
15835
15850
  const t = e.getBoundingClientRect(), r = t.left + n.scrollLeft - yo(e, t), o = t.top + n.scrollTop;
@@ -15845,7 +15860,7 @@ function TC(e) {
15845
15860
  offsetParent: r,
15846
15861
  strategy: o
15847
15862
  } = e;
15848
- const i = o === "fixed", a = ze(r), s = n ? mo(n.floating) : !1;
15863
+ const i = o === "fixed", a = qe(r), s = n ? mo(n.floating) : !1;
15849
15864
  if (r === a || s && i)
15850
15865
  return t;
15851
15866
  let l = {
@@ -15869,7 +15884,7 @@ function FC(e) {
15869
15884
  return Array.from(e.getClientRects());
15870
15885
  }
15871
15886
  function DC(e) {
15872
- const n = ze(e), t = go(e), r = e.ownerDocument.body, o = Se(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), i = Se(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
15887
+ const n = qe(e), t = go(e), r = e.ownerDocument.body, o = Se(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), i = Se(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
15873
15888
  let a = -t.scrollLeft + yo(e);
15874
15889
  const s = -t.scrollTop;
15875
15890
  return ke(r).direction === "rtl" && (a += Se(n.clientWidth, r.clientWidth) - o), {
@@ -15881,7 +15896,7 @@ function DC(e) {
15881
15896
  }
15882
15897
  const fl = 25;
15883
15898
  function AC(e, n) {
15884
- const t = we(e), r = ze(e), o = t.visualViewport;
15899
+ const t = we(e), r = qe(e), o = t.visualViewport;
15885
15900
  let i = r.clientWidth, a = r.clientHeight, s = 0, l = 0;
15886
15901
  if (o) {
15887
15902
  i = o.width, a = o.height;
@@ -15914,7 +15929,7 @@ function pl(e, n, t) {
15914
15929
  if (n === "viewport")
15915
15930
  r = AC(e, t);
15916
15931
  else if (n === "document")
15917
- r = DC(ze(e));
15932
+ r = DC(qe(e));
15918
15933
  else if (Me(n))
15919
15934
  r = RC(n, t);
15920
15935
  else {
@@ -15976,7 +15991,7 @@ function OC(e) {
15976
15991
  };
15977
15992
  }
15978
15993
  function MC(e, n, t) {
15979
- const r = tt(n), o = ze(n), i = t === "fixed", a = kt(e, !0, i, n);
15994
+ const r = tt(n), o = qe(n), i = t === "fixed", a = kt(e, !0, i, n);
15980
15995
  let s = {
15981
15996
  scrollLeft: 0,
15982
15997
  scrollTop: 0
@@ -16008,7 +16023,7 @@ function hl(e, n) {
16008
16023
  if (n)
16009
16024
  return n(e);
16010
16025
  let t = e.offsetParent;
16011
- return ze(e) === t && (t = t.ownerDocument.body), t;
16026
+ return qe(e) === t && (t = t.ownerDocument.body), t;
16012
16027
  }
16013
16028
  function jd(e, n) {
16014
16029
  const t = we(e);
@@ -16045,7 +16060,7 @@ function NC(e) {
16045
16060
  }
16046
16061
  const VC = {
16047
16062
  convertOffsetParentRelativeRectToViewportRelativeRect: TC,
16048
- getDocumentElement: ze,
16063
+ getDocumentElement: qe,
16049
16064
  getClippingRect: PC,
16050
16065
  getOffsetParent: jd,
16051
16066
  getElementRects: kC,
@@ -16055,12 +16070,12 @@ const VC = {
16055
16070
  isElement: Me,
16056
16071
  isRTL: NC
16057
16072
  };
16058
- function zd(e, n) {
16073
+ function qd(e, n) {
16059
16074
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
16060
16075
  }
16061
16076
  function LC(e, n) {
16062
16077
  let t = null, r;
16063
- const o = ze(e);
16078
+ const o = qe(e);
16064
16079
  function i() {
16065
16080
  var s;
16066
16081
  clearTimeout(r), (s = t) == null || s.disconnect(), t = null;
@@ -16089,7 +16104,7 @@ function LC(e, n) {
16089
16104
  a(!1, 1e-7);
16090
16105
  }, 1e3);
16091
16106
  }
16092
- E === 1 && !zd(c, e.getBoundingClientRect()) && a(), S = !1;
16107
+ E === 1 && !qd(c, e.getBoundingClientRect()) && a(), S = !1;
16093
16108
  }
16094
16109
  try {
16095
16110
  t = new IntersectionObserver(I, {
@@ -16131,7 +16146,7 @@ function BC(e, n, t, r) {
16131
16146
  l && y();
16132
16147
  function y() {
16133
16148
  const C = kt(e);
16134
- h && !zd(h, C) && t(), h = C, b = requestAnimationFrame(y);
16149
+ h && !qd(h, C) && t(), h = C, b = requestAnimationFrame(y);
16135
16150
  }
16136
16151
  return t(), () => {
16137
16152
  var C;
@@ -16140,7 +16155,7 @@ function BC(e, n, t, r) {
16140
16155
  }), u == null || u(), (C = m) == null || C.disconnect(), m = null, l && cancelAnimationFrame(b);
16141
16156
  };
16142
16157
  }
16143
- const pF = Md, $C = gC, UC = yC, jC = pC, zC = vC, qC = hC, ml = fC, HC = bC, WC = (e, n, t) => {
16158
+ const pF = Md, $C = gC, UC = yC, jC = pC, qC = vC, zC = hC, ml = fC, HC = bC, WC = (e, n, t) => {
16144
16159
  const r = /* @__PURE__ */ new Map(), o = {
16145
16160
  platform: VC,
16146
16161
  ...t
@@ -16185,11 +16200,11 @@ function Wr(e, n) {
16185
16200
  }
16186
16201
  return e !== e && n !== n;
16187
16202
  }
16188
- function qd(e) {
16203
+ function zd(e) {
16189
16204
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
16190
16205
  }
16191
16206
  function gl(e, n) {
16192
- const t = qd(e);
16207
+ const t = zd(e);
16193
16208
  return Math.round(n * t) / t;
16194
16209
  }
16195
16210
  function ni(e) {
@@ -16263,7 +16278,7 @@ function KC(e) {
16263
16278
  L();
16264
16279
  }
16265
16280
  }, [S, I, L, D, T]);
16266
- const q = p.useMemo(() => ({
16281
+ const z = p.useMemo(() => ({
16267
16282
  reference: x,
16268
16283
  floating: E,
16269
16284
  setReference: g,
@@ -16283,7 +16298,7 @@ function KC(e) {
16283
16298
  return s ? {
16284
16299
  ...P,
16285
16300
  transform: "translate(" + V + "px, " + Z + "px)",
16286
- ...qd(M.floating) >= 1.5 && {
16301
+ ...zd(M.floating) >= 1.5 && {
16287
16302
  willChange: "transform"
16288
16303
  }
16289
16304
  } : {
@@ -16295,10 +16310,10 @@ function KC(e) {
16295
16310
  return p.useMemo(() => ({
16296
16311
  ...d,
16297
16312
  update: L,
16298
- refs: q,
16313
+ refs: z,
16299
16314
  elements: M,
16300
16315
  floatingStyles: O
16301
- }), [d, L, q, M, O]);
16316
+ }), [d, L, z, M, O]);
16302
16317
  }
16303
16318
  const XC = (e) => {
16304
16319
  function n(t) {
@@ -16346,14 +16361,14 @@ const XC = (e) => {
16346
16361
  options: [e, n]
16347
16362
  };
16348
16363
  }, tS = (e, n) => {
16349
- const t = zC(e);
16364
+ const t = qC(e);
16350
16365
  return {
16351
16366
  name: t.name,
16352
16367
  fn: t.fn,
16353
16368
  options: [e, n]
16354
16369
  };
16355
16370
  }, nS = (e, n) => {
16356
- const t = qC(e);
16371
+ const t = zC(e);
16357
16372
  return {
16358
16373
  name: t.name,
16359
16374
  fn: t.fn,
@@ -16444,7 +16459,7 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16444
16459
  boundary: A.filter(dS),
16445
16460
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
16446
16461
  altBoundary: _
16447
- }, { refs: B, floatingStyles: q, placement: M, isPositioned: O, middlewareData: P } = KC({
16462
+ }, { refs: B, floatingStyles: z, placement: M, isPositioned: O, middlewareData: P } = KC({
16448
16463
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
16449
16464
  strategy: "fixed",
16450
16465
  placement: T,
@@ -16465,8 +16480,8 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16465
16480
  l && eS({ ...L }),
16466
16481
  tS({
16467
16482
  ...L,
16468
- apply: ({ elements: R, rects: z, availableWidth: $, availableHeight: U }) => {
16469
- const { width: ee, height: ce } = z.reference, ye = R.floating.style;
16483
+ apply: ({ elements: R, rects: q, availableWidth: $, availableHeight: U }) => {
16484
+ const { width: ee, height: ce } = q.reference, ye = R.floating.style;
16470
16485
  ye.setProperty("--radix-popper-available-width", `${$}px`), ye.setProperty("--radix-popper-available-height", `${U}px`), ye.setProperty("--radix-popper-anchor-width", `${ee}px`), ye.setProperty("--radix-popper-anchor-height", `${ce}px`);
16471
16486
  }
16472
16487
  }),
@@ -16487,8 +16502,8 @@ var Ta = "PopperContent", [sS, lS] = Gd(Ta), Zd = p.forwardRef(
16487
16502
  ref: B.setFloating,
16488
16503
  "data-radix-popper-content-wrapper": "",
16489
16504
  style: {
16490
- ...q,
16491
- transform: O ? q.transform : "translate(0, -200%)",
16505
+ ...z,
16506
+ transform: O ? z.transform : "translate(0, -200%)",
16492
16507
  // keep off the page when measuring
16493
16508
  minWidth: "max-content",
16494
16509
  zIndex: le,
@@ -16615,11 +16630,11 @@ vo.displayName = fS;
16615
16630
  function pS(e, n) {
16616
16631
  return p.useReducer((t, r) => n[t][r] ?? t, e);
16617
16632
  }
16618
- var qe = (e) => {
16633
+ var ze = (e) => {
16619
16634
  const { present: n, children: t } = e, r = hS(n), o = typeof t == "function" ? t({ present: r.isPresent }) : p.Children.only(t), i = X(r.ref, mS(o));
16620
16635
  return typeof t == "function" || r.isPresent ? p.cloneElement(o, { ref: i }) : null;
16621
16636
  };
16622
- qe.displayName = "Presence";
16637
+ ze.displayName = "Presence";
16623
16638
  function hS(e) {
16624
16639
  const [n, t] = p.useState(), r = p.useRef(null), o = p.useRef(e), i = p.useRef("none"), a = e ? "mounted" : "unmounted", [s, l] = pS(a, {
16625
16640
  mounted: {
@@ -16743,10 +16758,10 @@ var SS = p.forwardRef((e, n) => {
16743
16758
  if (F.target === F.currentTarget && T && !C) {
16744
16759
  const D = new CustomEvent(ri, gS);
16745
16760
  if (F.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
16746
- const A = S().filter((M) => M.focusable), _ = A.find((M) => M.active), L = A.find((M) => M.id === h), q = [_, L, ...A].filter(
16761
+ const A = S().filter((M) => M.focusable), _ = A.find((M) => M.active), L = A.find((M) => M.id === h), z = [_, L, ...A].filter(
16747
16762
  Boolean
16748
16763
  ).map((M) => M.ref.current);
16749
- su(q, d);
16764
+ su(z, d);
16750
16765
  }
16751
16766
  }
16752
16767
  I.current = !1;
@@ -16846,7 +16861,7 @@ var TS = ou, FS = au, DS = function(e) {
16846
16861
  return null;
16847
16862
  var n = Array.isArray(e) ? e[0] : e;
16848
16863
  return n.ownerDocument.body;
16849
- }, zt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {}, oi = 0, lu = function(e) {
16864
+ }, qt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {}, oi = 0, lu = function(e) {
16850
16865
  return e && (e.host || lu(e.parentNode));
16851
16866
  }, AS = function(e, n) {
16852
16867
  return n.map(function(t) {
@@ -16870,8 +16885,8 @@ var TS = ou, FS = au, DS = function(e) {
16870
16885
  d(f);
16871
16886
  else
16872
16887
  try {
16873
- var m = f.getAttribute(r), b = m !== null && m !== "false", h = (zt.get(f) || 0) + 1, y = (i.get(f) || 0) + 1;
16874
- zt.set(f, h), i.set(f, y), a.push(f), h === 1 && b && br.set(f, !0), y === 1 && f.setAttribute(t, "true"), b || f.setAttribute(r, "true");
16888
+ var m = f.getAttribute(r), b = m !== null && m !== "false", h = (qt.get(f) || 0) + 1, y = (i.get(f) || 0) + 1;
16889
+ qt.set(f, h), i.set(f, y), a.push(f), h === 1 && b && br.set(f, !0), y === 1 && f.setAttribute(t, "true"), b || f.setAttribute(r, "true");
16875
16890
  } catch (C) {
16876
16891
  console.error("aria-hidden: cannot operate on ", f, C);
16877
16892
  }
@@ -16879,9 +16894,9 @@ var TS = ou, FS = au, DS = function(e) {
16879
16894
  };
16880
16895
  return d(n), s.clear(), oi++, function() {
16881
16896
  a.forEach(function(u) {
16882
- var f = zt.get(u) - 1, m = i.get(u) - 1;
16883
- zt.set(u, f), i.set(u, m), f || (br.has(u) || u.removeAttribute(r), br.delete(u)), m || u.removeAttribute(t);
16884
- }), oi--, oi || (zt = /* @__PURE__ */ new WeakMap(), zt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {});
16897
+ var f = qt.get(u) - 1, m = i.get(u) - 1;
16898
+ qt.set(u, f), i.set(u, m), f || (br.has(u) || u.removeAttribute(r), br.delete(u)), m || u.removeAttribute(t);
16899
+ }), oi--, oi || (qt = /* @__PURE__ */ new WeakMap(), qt = /* @__PURE__ */ new WeakMap(), br = /* @__PURE__ */ new WeakMap(), vr = {});
16885
16900
  };
16886
16901
  }, cu = function(e, n, t) {
16887
16902
  t === void 0 && (t = "data-aria-hidden");
@@ -17067,10 +17082,10 @@ function jS() {
17067
17082
  var n = US();
17068
17083
  return n && e.setAttribute("nonce", n), e;
17069
17084
  }
17070
- function zS(e, n) {
17085
+ function qS(e, n) {
17071
17086
  e.styleSheet ? e.styleSheet.cssText = n : e.appendChild(document.createTextNode(n));
17072
17087
  }
17073
- function qS(e) {
17088
+ function zS(e) {
17074
17089
  var n = document.head || document.getElementsByTagName("head")[0];
17075
17090
  n.appendChild(e);
17076
17091
  }
@@ -17078,7 +17093,7 @@ var HS = function() {
17078
17093
  var e = 0, n = null;
17079
17094
  return {
17080
17095
  add: function(t) {
17081
- e == 0 && (n = jS()) && (zS(n, t), qS(n)), e++;
17096
+ e == 0 && (n = jS()) && (qS(n, t), zS(n)), e++;
17082
17097
  },
17083
17098
  remove: function() {
17084
17099
  e--, !e && n && (n.parentNode && n.parentNode.removeChild(n), n = null);
@@ -17192,7 +17207,7 @@ if (typeof window < "u")
17192
17207
  } catch {
17193
17208
  Vi = !1;
17194
17209
  }
17195
- var qt = Vi ? { passive: !1 } : !1, eI = function(e) {
17210
+ var zt = Vi ? { passive: !1 } : !1, eI = function(e) {
17196
17211
  return e.tagName === "TEXTAREA";
17197
17212
  }, hu = function(e, n) {
17198
17213
  if (!(e instanceof Element))
@@ -17340,10 +17355,10 @@ function dI(e) {
17340
17355
  onScrollCapture: u,
17341
17356
  onWheelCapture: u,
17342
17357
  onTouchMoveCapture: f
17343
- }), document.addEventListener("wheel", l, qt), document.addEventListener("touchmove", l, qt), document.addEventListener("touchstart", d, qt), function() {
17358
+ }), document.addEventListener("wheel", l, zt), document.addEventListener("touchmove", l, zt), document.addEventListener("touchstart", d, zt), function() {
17344
17359
  Ht = Ht.filter(function(h) {
17345
17360
  return h !== i;
17346
- }), document.removeEventListener("wheel", l, qt), document.removeEventListener("touchmove", l, qt), document.removeEventListener("touchstart", d, qt);
17361
+ }), document.removeEventListener("wheel", l, zt), document.removeEventListener("touchmove", l, zt), document.removeEventListener("touchstart", d, zt);
17347
17362
  };
17348
17363
  }, []);
17349
17364
  var m = e.removeScrollBar, b = e.inert;
@@ -17488,13 +17503,13 @@ var _a = "PopoverPortal", [CI, SI] = yu(_a, {
17488
17503
  forceMount: void 0
17489
17504
  }), wu = (e) => {
17490
17505
  const { __scopePopover: n, forceMount: t, children: r, container: o } = e, i = gt(_a, n);
17491
- return /* @__PURE__ */ w(CI, { scope: n, forceMount: t, children: /* @__PURE__ */ w(qe, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
17506
+ return /* @__PURE__ */ w(CI, { scope: n, forceMount: t, children: /* @__PURE__ */ w(ze, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
17492
17507
  };
17493
17508
  wu.displayName = _a;
17494
17509
  var rn = "PopoverContent", xu = p.forwardRef(
17495
17510
  (e, n) => {
17496
17511
  const t = SI(rn, e.__scopePopover), { forceMount: r = t.forceMount, ...o } = e, i = gt(rn, e.__scopePopover);
17497
- return /* @__PURE__ */ w(qe, { present: r || i.open, children: i.modal ? /* @__PURE__ */ w(wI, { ...o, ref: n }) : /* @__PURE__ */ w(xI, { ...o, ref: n }) });
17512
+ return /* @__PURE__ */ w(ze, { present: r || i.open, children: i.modal ? /* @__PURE__ */ w(wI, { ...o, ref: n }) : /* @__PURE__ */ w(xI, { ...o, ref: n }) });
17498
17513
  }
17499
17514
  );
17500
17515
  xu.displayName = rn;
@@ -17844,7 +17859,7 @@ var Lu = "TabsContent", Bu = p.forwardRef(
17844
17859
  return p.useEffect(() => {
17845
17860
  const f = requestAnimationFrame(() => u.current = !1);
17846
17861
  return () => cancelAnimationFrame(f);
17847
- }, []), /* @__PURE__ */ w(qe, { present: o || d, children: ({ present: f }) => /* @__PURE__ */ w(
17862
+ }, []), /* @__PURE__ */ w(ze, { present: o || d, children: ({ present: f }) => /* @__PURE__ */ w(
17848
17863
  H.div,
17849
17864
  {
17850
17865
  "data-state": d ? "active" : "inactive",
@@ -17872,7 +17887,7 @@ function $u(e, n) {
17872
17887
  function Uu(e, n) {
17873
17888
  return `${e}-content-${n}`;
17874
17889
  }
17875
- var UI = Ou, ju = ku, zu = Vu, qu = Bu;
17890
+ var UI = Ou, ju = ku, qu = Vu, zu = Bu;
17876
17891
  const bF = UI, jI = mt("text-muted-foreground", {
17877
17892
  variants: {
17878
17893
  variant: {
@@ -17900,7 +17915,7 @@ const bF = UI, jI = mt("text-muted-foreground", {
17900
17915
  variant: "segmented",
17901
17916
  size: "default"
17902
17917
  }
17903
- }), zI = mt(
17918
+ }), qI = mt(
17904
17919
  "inline-flex items-center justify-center whitespace-nowrap font-medium ring-offset-background transition-all focus-visible:outline-none disabled:pointer-events-none disabled:opacity-50",
17905
17920
  {
17906
17921
  variants: {
@@ -17932,7 +17947,7 @@ const bF = UI, jI = mt("text-muted-foreground", {
17932
17947
  size: "default"
17933
17948
  }
17934
17949
  }
17935
- ), Hu = p.createContext({ variant: "segmented", size: "default" }), qI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17950
+ ), Hu = p.createContext({ variant: "segmented", size: "default" }), zI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17936
17951
  const i = n ?? "segmented", a = t ?? "default";
17937
17952
  return /* @__PURE__ */ w(
17938
17953
  Hu.Provider,
@@ -17955,15 +17970,15 @@ const bF = UI, jI = mt("text-muted-foreground", {
17955
17970
  }
17956
17971
  );
17957
17972
  });
17958
- qI.displayName = ju.displayName;
17973
+ zI.displayName = ju.displayName;
17959
17974
  const HI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17960
17975
  const i = p.useContext(Hu);
17961
17976
  return /* @__PURE__ */ w(
17962
- zu,
17977
+ qu,
17963
17978
  {
17964
17979
  ref: o,
17965
17980
  className: re(
17966
- zI({
17981
+ qI({
17967
17982
  variant: n ?? i.variant,
17968
17983
  size: t ?? i.size
17969
17984
  }),
@@ -17973,7 +17988,7 @@ const HI = p.forwardRef(({ className: e, variant: n, size: t, ...r }, o) => {
17973
17988
  }
17974
17989
  );
17975
17990
  });
17976
- HI.displayName = zu.displayName;
17991
+ HI.displayName = qu.displayName;
17977
17992
  const WI = p.forwardRef(({ className: e, ...n }, t) => (
17978
17993
  // Radix sets `tabindex="0"` on content panels so keyboard users can
17979
17994
  // reach them. The default shadcn styling paints a 2px ring around the
@@ -17981,7 +17996,7 @@ const WI = p.forwardRef(({ className: e, ...n }, t) => (
17981
17996
  // rendered inside the panel. Inner controls have their own focus
17982
17997
  // indicators, so we suppress the panel-level halo entirely.
17983
17998
  /* @__PURE__ */ w(
17984
- qu,
17999
+ zu,
17985
18000
  {
17986
18001
  ref: t,
17987
18002
  className: re(
@@ -17992,7 +18007,7 @@ const WI = p.forwardRef(({ className: e, ...n }, t) => (
17992
18007
  }
17993
18008
  )
17994
18009
  ));
17995
- WI.displayName = qu.displayName;
18010
+ WI.displayName = zu.displayName;
17996
18011
  function Wu(e) {
17997
18012
  const n = p.useRef({ value: e, previous: e });
17998
18013
  return p.useMemo(() => (n.current.value !== e && (n.current.previous = n.current.value, n.current.value = e), n.current.previous), [e]);
@@ -18096,7 +18111,7 @@ var ew = Yu, tw = [" ", "Enter", "ArrowUp", "ArrowDown"], nw = [" ", "Enter"], N
18096
18111
  defaultProp: s,
18097
18112
  onChange: l,
18098
18113
  caller: Nt
18099
- }), A = p.useRef(null), _ = y ? b || !!y.closest("form") : !0, [L, B] = p.useState(/* @__PURE__ */ new Set()), q = Array.from(L).map((M) => M.props.value).join(";");
18114
+ }), A = p.useRef(null), _ = y ? b || !!y.closest("form") : !0, [L, B] = p.useState(/* @__PURE__ */ new Set()), z = Array.from(L).map((M) => M.props.value).join(";");
18100
18115
  return /* @__PURE__ */ w(Fa, { ...h, children: /* @__PURE__ */ be(
18101
18116
  ow,
18102
18117
  {
@@ -18150,7 +18165,7 @@ var ew = Yu, tw = [" ", "Enter", "ArrowUp", "ArrowDown"], nw = [" ", "Enter"], N
18150
18165
  Array.from(L)
18151
18166
  ]
18152
18167
  },
18153
- q
18168
+ z
18154
18169
  ) : null
18155
18170
  ]
18156
18171
  }
@@ -18267,7 +18282,7 @@ var _e = 10, [rf, bt] = mn(Vt), cw = "SelectContentImpl", dw = /* @__PURE__ */ G
18267
18282
  ...C
18268
18283
  } = e, g = yt(Vt, t), [v, S] = p.useState(null), [I, x] = p.useState(null), E = X(n, (k) => S(k)), [F, T] = p.useState(null), [D, A] = p.useState(
18269
18284
  null
18270
- ), _ = Eo(t), [L, B] = p.useState(!1), q = p.useRef(!1);
18285
+ ), _ = Eo(t), [L, B] = p.useState(!1), z = p.useRef(!1);
18271
18286
  p.useEffect(() => {
18272
18287
  if (v) return cu(v);
18273
18288
  }, [v]), _d();
@@ -18313,13 +18328,13 @@ var _e = 10, [rf, bt] = mn(Vt), cw = "SelectContentImpl", dw = /* @__PURE__ */ G
18313
18328
  Y && setTimeout(() => Y.ref.current.focus());
18314
18329
  }), ie = p.useCallback(
18315
18330
  (k, W, oe) => {
18316
- const Y = !q.current && !oe;
18317
- (g.value !== void 0 && g.value === W || Y) && (T(k), Y && (q.current = !0));
18331
+ const Y = !z.current && !oe;
18332
+ (g.value !== void 0 && g.value === W || Y) && (T(k), Y && (z.current = !0));
18318
18333
  },
18319
18334
  [g.value]
18320
18335
  ), Re = p.useCallback(() => v == null ? void 0 : v.focus(), [v]), te = p.useCallback(
18321
18336
  (k, W, oe) => {
18322
- const Y = !q.current && !oe;
18337
+ const Y = !z.current && !oe;
18323
18338
  (g.value !== void 0 && g.value === W || Y) && A(k);
18324
18339
  },
18325
18340
  [g.value]
@@ -18419,7 +18434,7 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18419
18434
  if (i.trigger && i.valueNode && s && c && h && y && C) {
18420
18435
  const E = i.trigger.getBoundingClientRect(), F = c.getBoundingClientRect(), T = i.valueNode.getBoundingClientRect(), D = C.getBoundingClientRect();
18421
18436
  if (i.dir !== "rtl") {
18422
- const G = D.left - F.left, K = T.left - G, R = E.left - K, z = E.width + R, $ = Math.max(z, F.width), U = window.innerWidth - _e, ee = Li(K, [
18437
+ const G = D.left - F.left, K = T.left - G, R = E.left - K, q = E.width + R, $ = Math.max(q, F.width), U = window.innerWidth - _e, ee = Li(K, [
18423
18438
  _e,
18424
18439
  // Prevents the content from going off the starting edge of the
18425
18440
  // viewport. It may still go off the ending edge, but this can be
@@ -18428,15 +18443,15 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18428
18443
  // https://github.com/radix-ui/primitives/issues/2049
18429
18444
  Math.max(_e, U - $)
18430
18445
  ]);
18431
- s.style.minWidth = z + "px", s.style.left = ee + "px";
18446
+ s.style.minWidth = q + "px", s.style.left = ee + "px";
18432
18447
  } else {
18433
- const G = F.right - D.right, K = window.innerWidth - T.right - G, R = window.innerWidth - E.right - K, z = E.width + R, $ = Math.max(z, F.width), U = window.innerWidth - _e, ee = Li(K, [
18448
+ const G = F.right - D.right, K = window.innerWidth - T.right - G, R = window.innerWidth - E.right - K, q = E.width + R, $ = Math.max(q, F.width), U = window.innerWidth - _e, ee = Li(K, [
18434
18449
  _e,
18435
18450
  Math.max(_e, U - $)
18436
18451
  ]);
18437
- s.style.minWidth = z + "px", s.style.right = ee + "px";
18452
+ s.style.minWidth = q + "px", s.style.right = ee + "px";
18438
18453
  }
18439
- const A = f(), _ = window.innerHeight - _e * 2, L = h.scrollHeight, B = window.getComputedStyle(c), q = parseInt(B.borderTopWidth, 10), M = parseInt(B.paddingTop, 10), O = parseInt(B.borderBottomWidth, 10), P = parseInt(B.paddingBottom, 10), V = q + M + L + P + O, Z = Math.min(y.offsetHeight * 5, V), J = window.getComputedStyle(h), ie = parseInt(J.paddingTop, 10), Re = parseInt(J.paddingBottom, 10), te = E.top + E.height / 2 - _e, le = _ - te, pe = y.offsetHeight / 2, k = y.offsetTop + pe, W = q + M + k, oe = V - W;
18454
+ const A = f(), _ = window.innerHeight - _e * 2, L = h.scrollHeight, B = window.getComputedStyle(c), z = parseInt(B.borderTopWidth, 10), M = parseInt(B.paddingTop, 10), O = parseInt(B.borderBottomWidth, 10), P = parseInt(B.paddingBottom, 10), V = z + M + L + P + O, Z = Math.min(y.offsetHeight * 5, V), J = window.getComputedStyle(h), ie = parseInt(J.paddingTop, 10), Re = parseInt(J.paddingBottom, 10), te = E.top + E.height / 2 - _e, le = _ - te, pe = y.offsetHeight / 2, k = y.offsetTop + pe, W = z + M + k, oe = V - W;
18440
18455
  if (W <= te) {
18441
18456
  const G = A.length > 0 && y === A[A.length - 1].ref.current;
18442
18457
  s.style.bottom = "0px";
@@ -18444,14 +18459,14 @@ var uw = "SelectItemAlignedPosition", af = p.forwardRef((e, n) => {
18444
18459
  le,
18445
18460
  pe + // viewport might have padding bottom, include it to avoid a scrollable viewport
18446
18461
  (G ? Re : 0) + K + O
18447
- ), z = W + R;
18448
- s.style.height = z + "px";
18462
+ ), q = W + R;
18463
+ s.style.height = q + "px";
18449
18464
  } else {
18450
18465
  const G = A.length > 0 && y === A[0].ref.current;
18451
18466
  s.style.top = "0px";
18452
18467
  const R = Math.max(
18453
18468
  te,
18454
- q + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
18469
+ z + h.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
18455
18470
  (G ? ie : 0) + pe
18456
18471
  ) + oe;
18457
18472
  s.style.height = R + "px", h.scrollTop = W - te + h.offsetTop;
@@ -18809,13 +18824,13 @@ var vf = p.forwardRef((e, n) => {
18809
18824
  }
18810
18825
  );
18811
18826
  Cf.displayName = yw;
18812
- var zi = "SelectArrow", bw = p.forwardRef(
18827
+ var qi = "SelectArrow", bw = p.forwardRef(
18813
18828
  (e, n) => {
18814
- const { __scopeSelect: t, ...r } = e, o = To(t), i = yt(zi, t), a = bt(zi, t);
18829
+ const { __scopeSelect: t, ...r } = e, o = To(t), i = yt(qi, t), a = bt(qi, t);
18815
18830
  return i.open && a.position === "popper" ? /* @__PURE__ */ w(Aa, { ...o, ...r, ref: n }) : null;
18816
18831
  }
18817
18832
  );
18818
- bw.displayName = zi;
18833
+ bw.displayName = qi;
18819
18834
  var vw = "SelectBubbleInput", Sf = p.forwardRef(
18820
18835
  ({ __scopeSelect: e, value: n, ...t }, r) => {
18821
18836
  const o = p.useRef(null), i = X(r, o), a = Wu(n);
@@ -19172,11 +19187,11 @@ var He = "ScrollAreaScrollbar", ka = p.forwardRef(
19172
19187
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), { onScrollbarXEnabledChange: i, onScrollbarYEnabledChange: a } = o, s = e.orientation === "horizontal";
19173
19188
  return p.useEffect(() => (s ? i(!0) : a(!0), () => {
19174
19189
  s ? i(!1) : a(!1);
19175
- }), [s, i, a]), o.type === "hover" ? /* @__PURE__ */ w(zw, { ...r, ref: n, forceMount: t }) : o.type === "scroll" ? /* @__PURE__ */ w(qw, { ...r, ref: n, forceMount: t }) : o.type === "auto" ? /* @__PURE__ */ w($f, { ...r, ref: n, forceMount: t }) : o.type === "always" ? /* @__PURE__ */ w(Na, { ...r, ref: n }) : null;
19190
+ }), [s, i, a]), o.type === "hover" ? /* @__PURE__ */ w(qw, { ...r, ref: n, forceMount: t }) : o.type === "scroll" ? /* @__PURE__ */ w(zw, { ...r, ref: n, forceMount: t }) : o.type === "auto" ? /* @__PURE__ */ w($f, { ...r, ref: n, forceMount: t }) : o.type === "always" ? /* @__PURE__ */ w(Na, { ...r, ref: n }) : null;
19176
19191
  }
19177
19192
  );
19178
19193
  ka.displayName = He;
19179
- var zw = p.forwardRef((e, n) => {
19194
+ var qw = p.forwardRef((e, n) => {
19180
19195
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), [i, a] = p.useState(!1);
19181
19196
  return p.useEffect(() => {
19182
19197
  const s = o.scrollArea;
@@ -19191,7 +19206,7 @@ var zw = p.forwardRef((e, n) => {
19191
19206
  window.clearTimeout(l), s.removeEventListener("pointerenter", c), s.removeEventListener("pointerleave", d);
19192
19207
  };
19193
19208
  }
19194
- }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ w(qe, { present: t || i, children: /* @__PURE__ */ w(
19209
+ }, [o.scrollArea, o.scrollHideDelay]), /* @__PURE__ */ w(ze, { present: t || i, children: /* @__PURE__ */ w(
19195
19210
  $f,
19196
19211
  {
19197
19212
  "data-state": i ? "visible" : "hidden",
@@ -19199,7 +19214,7 @@ var zw = p.forwardRef((e, n) => {
19199
19214
  ref: n
19200
19215
  }
19201
19216
  ) });
19202
- }), qw = p.forwardRef((e, n) => {
19217
+ }), zw = p.forwardRef((e, n) => {
19203
19218
  const { forceMount: t, ...r } = e, o = Ae(He, e.__scopeScrollArea), i = e.orientation === "horizontal", a = Do(() => l("SCROLL_END"), 100), [s, l] = Uw("hidden", {
19204
19219
  hidden: {
19205
19220
  SCROLL: "scrolling"
@@ -19233,7 +19248,7 @@ var zw = p.forwardRef((e, n) => {
19233
19248
  };
19234
19249
  return c.addEventListener("scroll", f), () => c.removeEventListener("scroll", f);
19235
19250
  }
19236
- }, [o.viewport, i, l, a]), /* @__PURE__ */ w(qe, { present: t || s !== "hidden", children: /* @__PURE__ */ w(
19251
+ }, [o.viewport, i, l, a]), /* @__PURE__ */ w(ze, { present: t || s !== "hidden", children: /* @__PURE__ */ w(
19237
19252
  Na,
19238
19253
  {
19239
19254
  "data-state": s === "hidden" ? "hidden" : "visible",
@@ -19250,7 +19265,7 @@ var zw = p.forwardRef((e, n) => {
19250
19265
  a(s ? c : d);
19251
19266
  }
19252
19267
  }, 10);
19253
- return on(t.viewport, l), on(t.content, l), /* @__PURE__ */ w(qe, { present: r || i, children: /* @__PURE__ */ w(
19268
+ return on(t.viewport, l), on(t.content, l), /* @__PURE__ */ w(ze, { present: r || i, children: /* @__PURE__ */ w(
19254
19269
  Na,
19255
19270
  {
19256
19271
  "data-state": i ? "visible" : "hidden",
@@ -19445,10 +19460,10 @@ var zw = p.forwardRef((e, n) => {
19445
19460
  )
19446
19461
  }
19447
19462
  );
19448
- }), Yr = "ScrollAreaThumb", zf = p.forwardRef(
19463
+ }), Yr = "ScrollAreaThumb", qf = p.forwardRef(
19449
19464
  (e, n) => {
19450
19465
  const { forceMount: t, ...r } = e, o = Uf(Yr, e.__scopeScrollArea);
19451
- return /* @__PURE__ */ w(qe, { present: t || o.hasThumb, children: /* @__PURE__ */ w(Yw, { ref: n, ...r }) });
19466
+ return /* @__PURE__ */ w(ze, { present: t || o.hasThumb, children: /* @__PURE__ */ w(Yw, { ref: n, ...r }) });
19452
19467
  }
19453
19468
  ), Yw = p.forwardRef(
19454
19469
  (e, n) => {
@@ -19489,14 +19504,14 @@ var zw = p.forwardRef((e, n) => {
19489
19504
  );
19490
19505
  }
19491
19506
  );
19492
- zf.displayName = Yr;
19493
- var Va = "ScrollAreaCorner", qf = p.forwardRef(
19507
+ qf.displayName = Yr;
19508
+ var Va = "ScrollAreaCorner", zf = p.forwardRef(
19494
19509
  (e, n) => {
19495
19510
  const t = Ae(Va, e.__scopeScrollArea), r = !!(t.scrollbarX && t.scrollbarY);
19496
19511
  return t.type !== "scroll" && r ? /* @__PURE__ */ w(Kw, { ...e, ref: n }) : null;
19497
19512
  }
19498
19513
  );
19499
- qf.displayName = Va;
19514
+ zf.displayName = Va;
19500
19515
  var Kw = p.forwardRef((e, n) => {
19501
19516
  const { __scopeScrollArea: t, ...r } = e, o = Ae(Va, t), [i, a] = p.useState(0), [s, l] = p.useState(0), c = !!(i && s);
19502
19517
  return on(o.scrollbarX, () => {
@@ -19581,7 +19596,7 @@ function on(e, n) {
19581
19596
  }
19582
19597
  }, [e, t]);
19583
19598
  }
19584
- var Yf = Vf, Zw = Bf, Jw = qf;
19599
+ var Yf = Vf, Zw = Bf, Jw = zf;
19585
19600
  const ex = p.forwardRef(({ className: e, children: n, ...t }, r) => /* @__PURE__ */ be(
19586
19601
  Yf,
19587
19602
  {
@@ -19608,7 +19623,7 @@ const Kf = p.forwardRef(({ className: e, orientation: n = "vertical", ...t }, r)
19608
19623
  e
19609
19624
  ),
19610
19625
  ...t,
19611
- children: /* @__PURE__ */ w(zf, { className: "relative flex-1 rounded-full bg-border" })
19626
+ children: /* @__PURE__ */ w(qf, { className: "relative flex-1 rounded-full bg-border" })
19612
19627
  }
19613
19628
  ));
19614
19629
  Kf.displayName = ka.displayName;
@@ -19620,7 +19635,7 @@ function nx(e) {
19620
19635
  }
19621
19636
  var [Ao] = et("Tooltip", [
19622
19637
  hn
19623
- ]), Ro = hn(), Xf = "TooltipProvider", rx = 700, qi = "tooltip.open", [ox, La] = Ao(Xf), Qf = (e) => {
19638
+ ]), Ro = hn(), Xf = "TooltipProvider", rx = 700, zi = "tooltip.open", [ox, La] = Ao(Xf), Qf = (e) => {
19624
19639
  const {
19625
19640
  __scopeTooltip: n,
19626
19641
  delayDuration: t = rx,
@@ -19669,7 +19684,7 @@ var Wn = "Tooltip", [ix, rr] = Ao(Wn), Zf = (e) => {
19669
19684
  prop: r,
19670
19685
  defaultProp: o ?? !1,
19671
19686
  onChange: (E) => {
19672
- E ? (l.onOpen(), document.dispatchEvent(new CustomEvent(qi))) : l.onClose(), i == null || i(E);
19687
+ E ? (l.onOpen(), document.dispatchEvent(new CustomEvent(zi))) : l.onClose(), i == null || i(E);
19673
19688
  },
19674
19689
  caller: Wn
19675
19690
  }), v = p.useMemo(() => C ? y.current ? "delayed-open" : "instant-open" : "closed", [C]), S = p.useCallback(() => {
@@ -19739,13 +19754,13 @@ var Ba = "TooltipPortal", [ax, sx] = Ao(Ba, {
19739
19754
  forceMount: void 0
19740
19755
  }), ep = (e) => {
19741
19756
  const { __scopeTooltip: n, forceMount: t, children: r, container: o } = e, i = rr(Ba, n);
19742
- return /* @__PURE__ */ w(ax, { scope: n, forceMount: t, children: /* @__PURE__ */ w(qe, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
19757
+ return /* @__PURE__ */ w(ax, { scope: n, forceMount: t, children: /* @__PURE__ */ w(ze, { present: t || i.open, children: /* @__PURE__ */ w(vo, { asChild: !0, container: o, children: r }) }) });
19743
19758
  };
19744
19759
  ep.displayName = Ba;
19745
19760
  var an = "TooltipContent", tp = p.forwardRef(
19746
19761
  (e, n) => {
19747
19762
  const t = sx(an, e.__scopeTooltip), { forceMount: r = t.forceMount, side: o = "top", ...i } = e, a = rr(an, e.__scopeTooltip);
19748
- return /* @__PURE__ */ w(qe, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ w(np, { side: o, ...i, ref: n }) : /* @__PURE__ */ w(lx, { side: o, ...i, ref: n }) });
19763
+ return /* @__PURE__ */ w(ze, { present: r || a.open, children: a.disableHoverableContent ? /* @__PURE__ */ w(np, { side: o, ...i, ref: n }) : /* @__PURE__ */ w(lx, { side: o, ...i, ref: n }) });
19749
19764
  }
19750
19765
  ), lx = p.forwardRef((e, n) => {
19751
19766
  const t = rr(an, e.__scopeTooltip), r = La(an, e.__scopeTooltip), o = p.useRef(null), i = X(n, o), [a, s] = p.useState(null), { trigger: l, onClose: c } = t, d = o.current, { onPointerInTransitChange: u } = r, f = p.useCallback(() => {
@@ -19783,7 +19798,7 @@ var an = "TooltipContent", tp = p.forwardRef(
19783
19798
  onPointerDownOutside: a,
19784
19799
  ...s
19785
19800
  } = e, l = rr(an, t), c = Ro(t), { onClose: d } = l;
19786
- return p.useEffect(() => (document.addEventListener(qi, d), () => document.removeEventListener(qi, d)), [d]), p.useEffect(() => {
19801
+ return p.useEffect(() => (document.addEventListener(zi, d), () => document.removeEventListener(zi, d)), [d]), p.useEffect(() => {
19787
19802
  if (l.trigger) {
19788
19803
  const u = (f) => {
19789
19804
  const m = f.target;
@@ -20017,7 +20032,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20017
20032
  }
20018
20033
  `)
20019
20034
  ), Ox = Ee.forwardRef(function(n, t) {
20020
- var r = n.autoFocus, o = n.disabled, i = n.form, a = n.highlight, s = n.ignoreTabKey, l = s === void 0 ? !1 : s, c = n.insertSpaces, d = c === void 0 ? !0 : c, u = n.maxLength, f = n.minLength, m = n.name, b = n.onBlur, h = n.onClick, y = n.onFocus, C = n.onKeyDown, g = n.onKeyUp, v = n.onValueChange, S = n.padding, I = S === void 0 ? 0 : S, x = n.placeholder, E = n.preClassName, F = n.readOnly, T = n.required, D = n.style, A = n.tabSize, _ = A === void 0 ? 2 : A, L = n.textareaClassName, B = n.textareaId, q = n.value, M = Fx(n, ["autoFocus", "disabled", "form", "highlight", "ignoreTabKey", "insertSpaces", "maxLength", "minLength", "name", "onBlur", "onClick", "onFocus", "onKeyDown", "onKeyUp", "onValueChange", "padding", "placeholder", "preClassName", "readOnly", "required", "style", "tabSize", "textareaClassName", "textareaId", "value"]), O = Ee.useRef({
20035
+ var r = n.autoFocus, o = n.disabled, i = n.form, a = n.highlight, s = n.ignoreTabKey, l = s === void 0 ? !1 : s, c = n.insertSpaces, d = c === void 0 ? !0 : c, u = n.maxLength, f = n.minLength, m = n.name, b = n.onBlur, h = n.onClick, y = n.onFocus, C = n.onKeyDown, g = n.onKeyUp, v = n.onValueChange, S = n.padding, I = S === void 0 ? 0 : S, x = n.placeholder, E = n.preClassName, F = n.readOnly, T = n.required, D = n.style, A = n.tabSize, _ = A === void 0 ? 2 : A, L = n.textareaClassName, B = n.textareaId, z = n.value, M = Fx(n, ["autoFocus", "disabled", "form", "highlight", "ignoreTabKey", "insertSpaces", "maxLength", "minLength", "name", "onBlur", "onClick", "onFocus", "onKeyDown", "onKeyUp", "onValueChange", "padding", "placeholder", "preClassName", "readOnly", "required", "style", "tabSize", "textareaClassName", "textareaId", "value"]), O = Ee.useRef({
20021
20036
  stack: [],
20022
20037
  offset: -1
20023
20038
  }), P = Ee.useRef(null), V = Ee.useState(!0), Z = V[0], J = V[1], ie = {
@@ -20025,12 +20040,12 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20025
20040
  paddingRight: typeof I == "object" ? I.right : I,
20026
20041
  paddingBottom: typeof I == "object" ? I.bottom : I,
20027
20042
  paddingLeft: typeof I == "object" ? I.left : I
20028
- }, Re = a(q), te = function(R, z) {
20029
- return R.substring(0, z).split(`
20043
+ }, Re = a(z), te = function(R, q) {
20044
+ return R.substring(0, q).split(`
20030
20045
  `);
20031
- }, le = Ee.useCallback(function(R, z) {
20046
+ }, le = Ee.useCallback(function(R, q) {
20032
20047
  var $, U, ee;
20033
- z === void 0 && (z = !1);
20048
+ q === void 0 && (q = !1);
20034
20049
  var ce = O.current, ye = ce.stack, gn = ce.offset;
20035
20050
  if (ye.length && gn > -1) {
20036
20051
  O.current.stack = ye.slice(0, gn + 1);
@@ -20041,7 +20056,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20041
20056
  }
20042
20057
  }
20043
20058
  var Ne = Date.now();
20044
- if (z) {
20059
+ if (q) {
20045
20060
  var nt = O.current.stack[O.current.offset];
20046
20061
  if (nt && Ne - nt.timestamp < Rx) {
20047
20062
  var bn = /[^a-z0-9]([a-z0-9]+)$/i, ve = ($ = te(nt.value, nt.selectionStart).pop()) === null || $ === void 0 ? void 0 : $.match(bn), vn = (U = te(R.value, R.selectionStart).pop()) === null || U === void 0 ? void 0 : U.match(bn);
@@ -20055,29 +20070,29 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20055
20070
  }, []), pe = Ee.useCallback(function() {
20056
20071
  var R = P.current;
20057
20072
  if (R) {
20058
- var z = R.value, $ = R.selectionStart, U = R.selectionEnd;
20073
+ var q = R.value, $ = R.selectionStart, U = R.selectionEnd;
20059
20074
  le({
20060
- value: z,
20075
+ value: q,
20061
20076
  selectionStart: $,
20062
20077
  selectionEnd: U
20063
20078
  });
20064
20079
  }
20065
20080
  }, [le]), k = function(R) {
20066
- var z = P.current;
20067
- z && (z.value = R.value, z.selectionStart = R.selectionStart, z.selectionEnd = R.selectionEnd, v == null || v(R.value));
20081
+ var q = P.current;
20082
+ q && (q.value = R.value, q.selectionStart = R.selectionStart, q.selectionEnd = R.selectionEnd, v == null || v(R.value));
20068
20083
  }, W = function(R) {
20069
- var z = P.current, $ = O.current.stack[O.current.offset];
20070
- $ && z && (O.current.stack[O.current.offset] = ae(ae({}, $), { selectionStart: z.selectionStart, selectionEnd: z.selectionEnd })), le(R), k(R);
20084
+ var q = P.current, $ = O.current.stack[O.current.offset];
20085
+ $ && q && (O.current.stack[O.current.offset] = ae(ae({}, $), { selectionStart: q.selectionStart, selectionEnd: q.selectionEnd })), le(R), k(R);
20071
20086
  }, oe = function() {
20072
- var R = O.current, z = R.stack, $ = R.offset, U = z[$ - 1];
20087
+ var R = O.current, q = R.stack, $ = R.offset, U = q[$ - 1];
20073
20088
  U && (k(U), O.current.offset = Math.max($ - 1, 0));
20074
20089
  }, Y = function() {
20075
- var R = O.current, z = R.stack, $ = R.offset, U = z[$ + 1];
20076
- U && (k(U), O.current.offset = Math.min($ + 1, z.length - 1));
20090
+ var R = O.current, q = R.stack, $ = R.offset, U = q[$ + 1];
20091
+ U && (k(U), O.current.offset = Math.min($ + 1, q.length - 1));
20077
20092
  }, G = function(R) {
20078
20093
  if (!(C && (C(R), R.defaultPrevented))) {
20079
20094
  R.key === "Escape" && R.currentTarget.blur();
20080
- var z = R.currentTarget, $ = z.value, U = z.selectionStart, ee = z.selectionEnd, ce = (d ? " " : " ").repeat(_);
20095
+ var q = R.currentTarget, $ = q.value, U = q.selectionStart, ee = q.selectionEnd, ce = (d ? " " : " ").repeat(_);
20081
20096
  if (R.key === "Tab" && !l && Z)
20082
20097
  if (R.preventDefault(), R.shiftKey) {
20083
20098
  var ye = te($, U), gn = ye.length - 1, yn = te($, ee).length - 1, Ut = $.split(`
@@ -20100,8 +20115,8 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20100
20115
  var ye = te($, U), nt = ye.length - 1, bn = te($, ee).length - 1, Ne = ye[nt];
20101
20116
  W({
20102
20117
  value: $.split(`
20103
- `).map(function(ja, za) {
20104
- return za >= nt && za <= bn ? ce + ja : ja;
20118
+ `).map(function(ja, qa) {
20119
+ return qa >= nt && qa <= bn ? ce + ja : ja;
20105
20120
  }).join(`
20106
20121
  `),
20107
20122
  // Move the start cursor by number of characters added in first line of selection
@@ -20177,7 +20192,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20177
20192
  }));
20178
20193
  }
20179
20194
  }, K = function(R) {
20180
- var z = R.currentTarget, $ = z.value, U = z.selectionStart, ee = z.selectionEnd;
20195
+ var q = R.currentTarget, $ = q.value, U = q.selectionStart, ee = q.selectionEnd;
20181
20196
  le({
20182
20197
  value: $,
20183
20198
  selectionStart: U,
@@ -20203,7 +20218,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20203
20218
  Ee.createElement("pre", ae({ className: E, "aria-hidden": "true", style: ae(ae(ae({}, Rn.editor), Rn.highlight), ie) }, typeof Re == "string" ? { dangerouslySetInnerHTML: { __html: Re + "<br />" } } : { children: Re })),
20204
20219
  Ee.createElement("textarea", { ref: function(R) {
20205
20220
  return P.current = R;
20206
- }, style: ae(ae(ae({}, Rn.editor), Rn.textarea), ie), className: Rr + (L ? " ".concat(L) : ""), id: B, value: q, onChange: K, onKeyDown: G, onClick: h, onKeyUp: g, onFocus: y, onBlur: b, disabled: o, form: i, maxLength: u, minLength: f, name: m, placeholder: x, readOnly: F, required: T, autoFocus: r, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "data-gramm": !1 }),
20221
+ }, style: ae(ae(ae({}, Rn.editor), Rn.textarea), ie), className: Rr + (L ? " ".concat(L) : ""), id: B, value: z, onChange: K, onKeyDown: G, onClick: h, onKeyUp: g, onFocus: y, onBlur: b, disabled: o, form: i, maxLength: u, minLength: f, name: m, placeholder: x, readOnly: F, required: T, autoFocus: r, autoCapitalize: "off", autoComplete: "off", autoCorrect: "off", spellCheck: !1, "data-gramm": !1 }),
20207
20222
  Ee.createElement("style", { dangerouslySetInnerHTML: { __html: Px } })
20208
20223
  );
20209
20224
  }), Rn = {
@@ -20876,7 +20891,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20876
20891
  for (var D = 0; D < T.length; ++D) {
20877
20892
  if (E && E.cause == F + "," + D)
20878
20893
  return;
20879
- var A = T[D], _ = A.inside, L = !!A.lookbehind, B = !!A.greedy, q = A.alias;
20894
+ var A = T[D], _ = A.inside, L = !!A.lookbehind, B = !!A.greedy, z = A.alias;
20880
20895
  if (B && !A.pattern.global) {
20881
20896
  var M = A.pattern.toString().match(/[imsuy]*$/)[0];
20882
20897
  A.pattern = RegExp(A.pattern.source, M + "g");
@@ -20904,7 +20919,7 @@ var Ee = Tx(Ce), Dx = 89, Ir = 90, Ax = 77, xl = 57, El = 219, Tl = 222, Fl = 19
20904
20919
  E && Y > E.reach && (E.reach = Y);
20905
20920
  var G = P.prev;
20906
20921
  W && (G = f(v, G, W), V += W.length), m(v, G, J);
20907
- var K = new l(F, _ ? s.tokenize(k, _) : k, q, k);
20922
+ var K = new l(F, _ ? s.tokenize(k, _) : k, z, k);
20908
20923
  if (P = f(v, G, K), oe && f(v, P, oe), J > 1) {
20909
20924
  var R = {
20910
20925
  cause: F + "," + D,
@@ -21953,7 +21968,7 @@ function $x({
21953
21968
  className: f,
21954
21969
  textareaId: m
21955
21970
  }, b) {
21956
- const h = qa(null), y = qa(null), C = s ? { top: 6, right: 8, bottom: 6, left: 8 } : {
21971
+ const h = za(null), y = za(null), C = s ? { top: 6, right: 8, bottom: 6, left: 8 } : {
21957
21972
  top: 16,
21958
21973
  right: 24,
21959
21974
  bottom: 16,
@@ -22054,7 +22069,7 @@ function $x({
22054
22069
  );
22055
22070
  }
22056
22071
  const FF = bp($x);
22057
- var _o = "Switch", [Ux] = et(_o), [jx, zx] = Ux(_o), lp = p.forwardRef(
22072
+ var _o = "Switch", [Ux] = et(_o), [jx, qx] = Ux(_o), lp = p.forwardRef(
22058
22073
  (e, n) => {
22059
22074
  const {
22060
22075
  __scopeSwitch: t,
@@ -22112,7 +22127,7 @@ var _o = "Switch", [Ux] = et(_o), [jx, zx] = Ux(_o), lp = p.forwardRef(
22112
22127
  lp.displayName = _o;
22113
22128
  var cp = "SwitchThumb", dp = p.forwardRef(
22114
22129
  (e, n) => {
22115
- const { __scopeSwitch: t, ...r } = e, o = zx(cp, t);
22130
+ const { __scopeSwitch: t, ...r } = e, o = qx(cp, t);
22116
22131
  return /* @__PURE__ */ w(
22117
22132
  H.span,
22118
22133
  {
@@ -22125,7 +22140,7 @@ var cp = "SwitchThumb", dp = p.forwardRef(
22125
22140
  }
22126
22141
  );
22127
22142
  dp.displayName = cp;
22128
- var qx = "SwitchBubbleInput", up = p.forwardRef(
22143
+ var zx = "SwitchBubbleInput", up = p.forwardRef(
22129
22144
  ({
22130
22145
  __scopeSwitch: e,
22131
22146
  control: n,
@@ -22166,7 +22181,7 @@ var qx = "SwitchBubbleInput", up = p.forwardRef(
22166
22181
  );
22167
22182
  }
22168
22183
  );
22169
- up.displayName = qx;
22184
+ up.displayName = zx;
22170
22185
  function fp(e) {
22171
22186
  return e ? "checked" : "unchecked";
22172
22187
  }
@@ -22216,7 +22231,7 @@ export {
22216
22231
  FF as C,
22217
22232
  lo as D,
22218
22233
  CT as E,
22219
- qI as F,
22234
+ zI as F,
22220
22235
  HI as G,
22221
22236
  ex as H,
22222
22237
  WI as I,
@@ -22255,7 +22270,7 @@ export {
22255
22270
  Ed as aC,
22256
22271
  sv as aD,
22257
22272
  $E as aE,
22258
- zc as aF,
22273
+ qc as aF,
22259
22274
  Ie as aG,
22260
22275
  ac as aH,
22261
22276
  VT as aI,
@@ -22269,10 +22284,10 @@ export {
22269
22284
  Kf as aQ,
22270
22285
  so as aR,
22271
22286
  jT as aS,
22272
- zT as aT,
22287
+ qT as aT,
22273
22288
  WT as aU,
22274
22289
  GT as aV,
22275
- zm as aW,
22290
+ qm as aW,
22276
22291
  ZT as aX,
22277
22292
  UT as aY,
22278
22293
  K0 as aZ,
@@ -22325,7 +22340,7 @@ export {
22325
22340
  k0 as bH,
22326
22341
  ha as bI,
22327
22342
  ld as bJ,
22328
- zy as bK,
22343
+ qy as bK,
22329
22344
  N0 as bL,
22330
22345
  M0 as bM,
22331
22346
  Ue as bN,
@@ -22373,13 +22388,13 @@ export {
22373
22388
  HE as c0,
22374
22389
  Dm as c1,
22375
22390
  Pm as c2,
22376
- qE as c3,
22391
+ zE as c3,
22377
22392
  un as c4,
22378
22393
  et as c5,
22379
22394
  N as c6,
22380
22395
  X as c7,
22381
22396
  Dd as c8,
22382
- qe as c9,
22397
+ ze as c9,
22383
22398
  RI as cA,
22384
22399
  Au as cB,
22385
22400
  mt as cC,
@@ -22427,8 +22442,8 @@ export {
22427
22442
  Aa as cr,
22428
22443
  Mt as cs,
22429
22444
  So as ct,
22430
- q0 as cu,
22431
- z0 as cv,
22445
+ z0 as cu,
22446
+ q0 as cv,
22432
22447
  G0 as cw,
22433
22448
  fF as cx,
22434
22449
  bv as cy,
@@ -22470,7 +22485,7 @@ export {
22470
22485
  g0 as dW,
22471
22486
  Em as dX,
22472
22487
  A0 as dY,
22473
- qc as dZ,
22488
+ zc as dZ,
22474
22489
  rF as d_,
22475
22490
  _E as da,
22476
22491
  Yt as db,
@@ -22489,7 +22504,7 @@ export {
22489
22504
  QC as dp,
22490
22505
  pF as dq,
22491
22506
  Se as dr,
22492
- zr as ds,
22507
+ qr as ds,
22493
22508
  ft as dt,
22494
22509
  ZC as du,
22495
22510
  eS as dv,
@@ -22504,11 +22519,11 @@ export {
22504
22519
  pc as e2,
22505
22520
  By as e3,
22506
22521
  hc as e4,
22507
- qo as e5,
22522
+ zo as e5,
22508
22523
  V0 as e6,
22509
22524
  fb as e7,
22510
22525
  Qy as e8,
22511
- zE as e9,
22526
+ qE as e9,
22512
22527
  xT as eA,
22513
22528
  wT as eB,
22514
22529
  Wg as eC,
@@ -22533,7 +22548,7 @@ export {
22533
22548
  fa as eV,
22534
22549
  BT as eW,
22535
22550
  hy as eX,
22536
- qT as eY,
22551
+ zT as eY,
22537
22552
  HT as eZ,
22538
22553
  Xc as e_,
22539
22554
  DE as ea,