@marimo-team/islands 0.25.2-dev43 → 0.25.2-dev44

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 (81) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CglAbSke.js → ConnectedDataExplorerComponent-BDizDY3_.js} +11 -11
  2. package/dist/{ErrorBoundary-BNZdSjwl.js → ErrorBoundary-B6_kZjZg.js} +8 -8
  3. package/dist/{abnfDiagram-VCTEODGH-Bd5MYz7g.js → abnfDiagram-VCTEODGH-C_Lmaa2j.js} +2 -2
  4. package/dist/{any-language-editor-DJ2MRREE.js → any-language-editor-BFzqhOBR.js} +3 -3
  5. package/dist/{architectureDiagram-5GKGNRK7-12FmGgo8.js → architectureDiagram-5GKGNRK7-BKMataHB.js} +1 -1
  6. package/dist/{button-B0Xgl-Qn.js → button-BtsM2UqM.js} +300 -283
  7. package/dist/{capabilities-D7Ad8-zw.js → capabilities-A5jrzjCJ.js} +1 -1
  8. package/dist/{cells-HZp46rAW.js → cells-DzqPprAQ.js} +4184 -4174
  9. package/dist/{chat-ui-BSm4FFA7.js → chat-ui-DMu_DFfr.js} +15 -15
  10. package/dist/{check-DGZ74tV2.js → check-CNP79M3A.js} +1 -1
  11. package/dist/{chunk-IMKFNOWR-BlsbbLiS.js → chunk-IMKFNOWR-Bu0Vh_Yi.js} +1 -1
  12. package/dist/{chunk-SHT3W25Y-DoIB7Bub.js → chunk-SHT3W25Y-B2dyNZ31.js} +1 -1
  13. package/dist/{chunk-SVP7TREG-B0dScloT.js → chunk-SVP7TREG-D7UPvB10.js} +1 -1
  14. package/dist/{chunk-TICWLB2K-C-lzn2th.js → chunk-TICWLB2K-BNaGoadd.js} +1 -1
  15. package/dist/{classDiagram-ZZMXUADV-C5vpBHoS.js → classDiagram-ZZMXUADV-Bbo2n384.js} +2 -2
  16. package/dist/{classDiagram-v2-VYDZK3BY-BS2Wadt0.js → classDiagram-v2-VYDZK3BY-xR8cGP0r.js} +2 -2
  17. package/dist/{code-visibility-_YL3_XDs.js → code-visibility-CP6ADIXR.js} +6 -6
  18. package/dist/{common-DPDVALP0.js → common-D5cIw-Qg.js} +5428 -5434
  19. package/dist/{copy-icon-qmRg_VTX.js → copy-icon-BY7jgcaV.js} +3 -3
  20. package/dist/{cynefinDiagram-5FMLGOSQ-fxnL4mfp.js → cynefinDiagram-5FMLGOSQ-CCDn4Z9e.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-D5NkGE9i.js → dagre-GXQ25YYZ-BJiUO_SV.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-DSOrqiLU.js → data-grid-overlay-editor-CXete_j4.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-CATbk1XK.js → diagram-S7CK7UJ4-BZfxFNRR.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-Cjha5vrC.js → diagram-UQ7AKVKN-1xcsiIMg.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-BHfAjgGw.js → diagram-VX7I27RA-DmRsnHYY.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-eAoDps6E.js → diagram-Z3DM3KII--b49ryKx.js} +1 -1
  27. package/dist/{dialog-CILKhbsG.js → dialog-CmExhUDI.js} +26 -26
  28. package/dist/{dropdown-menu-BaqM0t4N.js → dropdown-menu-R7yCbshA.js} +1358 -1388
  29. package/dist/{ebnfDiagram-PWID7BFC-D8RYnIZC.js → ebnfDiagram-PWID7BFC-rSwVyh4y.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-BfmoNNce.js → erDiagram-RLTQ6QDP-Bfd3iAoC.js} +1 -1
  31. package/dist/error-banner-D30nA9nE.js +362 -0
  32. package/dist/{error-entries-BmuhCp3w.js → error-entries-CdgPvJVz.js} +2 -2
  33. package/dist/{feedback-button-CATuMa0_.js → feedback-button-cqKlOHMK.js} +10 -10
  34. package/dist/{flowDiagram-HODETNUW-Du_I0oTA.js → flowDiagram-HODETNUW-D7IBKS12.js} +2 -2
  35. package/dist/{formats-pPD5eNN7.js → formats-DhhbdyAH.js} +3 -3
  36. package/dist/{glide-data-editor-DpnNRY5T.js → glide-data-editor-D53JGAmA.js} +11 -11
  37. package/dist/{glide-utils-CzzWU59p.js → glide-utils-BVJ4fkxX.js} +3 -3
  38. package/dist/{globals-BqOyIxaE.js → globals-DhQRzAOw.js} +3 -3
  39. package/dist/{html-to-image-BF9hL2Aa.js → html-to-image-CFSoonFo.js} +543 -565
  40. package/dist/{infoDiagram-27XIBGKW-CHsocw1z.js → infoDiagram-27XIBGKW-DVQFYvhg.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-DZdZJdsT.js → ishikawaDiagram-5VMMS53U-viPND-nm.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-B1rrJRmN.js → kanban-definition-UXKFOSKX-Dcl_ECO9.js} +1 -1
  43. package/dist/{label-MNhNNoN6.js → label-DPWAFACU.js} +89 -86
  44. package/dist/{loader-C9OUkMrj.js → loader-Cm-ATtou.js} +1 -1
  45. package/dist/main.js +6536 -6480
  46. package/dist/{mermaid-CEceCleL.js → mermaid-BfhcnSj-.js} +36 -36
  47. package/dist/{mindmap-definition-YA3MSWOX-C6-S9h9O.js → mindmap-definition-YA3MSWOX-BdxxhF-5.js} +1 -1
  48. package/dist/{number-overlay-editor-B2AxQ8kL.js → number-overlay-editor-BMUxZM3F.js} +1 -1
  49. package/dist/{pegDiagram-XKGWAZYB-BL-R6P57.js → pegDiagram-XKGWAZYB-Du5p2s0w.js} +2 -2
  50. package/dist/{pieDiagram-E7YTZNPT-DuAOxSRy.js → pieDiagram-E7YTZNPT-DJg-SOIq.js} +1 -1
  51. package/dist/{process-output-BCZh7Wj_.js → process-output-D8io8maY.js} +4 -4
  52. package/dist/{railroadDiagram-O6MQD6OU-f-sfFoX9.js → railroadDiagram-O6MQD6OU-C0ojm-6_.js} +2 -2
  53. package/dist/{requirementDiagram-BXWQKSXE-BICupkaf.js → requirementDiagram-BXWQKSXE-CNwNBmI3.js} +1 -1
  54. package/dist/{reveal-component-BYlL_5qq.js → reveal-component-iWXPdc4e.js} +10 -10
  55. package/dist/select-Bs-nmvm6.js +1344 -0
  56. package/dist/{sequenceDiagram-WJ2MYXX4-DBFRnNGU.js → sequenceDiagram-WJ2MYXX4-DQaW5qBG.js} +1 -1
  57. package/dist/{spec-BSchR9UD.js → spec-rSPz3O6Q.js} +4 -4
  58. package/dist/{stateDiagram-D77RDMKH-CUP7QQW8.js → stateDiagram-D77RDMKH-BDa515QC.js} +2 -2
  59. package/dist/{stateDiagram-v2-MP3YSRHH-B5mAItmH.js → stateDiagram-v2-MP3YSRHH-ChNddepZ.js} +2 -2
  60. package/dist/{swimlanes-42K2YHIH-BtIMdg7b.js → swimlanes-42K2YHIH-M4IdGi8J.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-CGnrrHpw.js → swimlanesDiagram-VR7AAH4N-FUSwmzEp.js} +2 -2
  62. package/dist/{swiper-component-DkV7T44B.js → swiper-component-CpN-hewZ.js} +2 -2
  63. package/dist/{timeline-definition-24CTP7MA-UwihiSH2.js → timeline-definition-24CTP7MA-DH-kvakg.js} +1 -1
  64. package/dist/{toDate-G79A_pyJ.js → toDate-vEi5kTfY.js} +3 -3
  65. package/dist/{toast-DcoJGS3-.js → toast-DfEpJedt.js} +157 -161
  66. package/dist/{tooltip-Bi36DgYh.js → tooltip-CuNWg2ay.js} +543 -579
  67. package/dist/{use-restore-focus-ZgG5Br63.js → use-restore-focus-kmgwrL8q.js} +1833 -1625
  68. package/dist/{useAsyncData-BD7NLQ3_.js → useAsyncData-rkAlR_vh.js} +1 -1
  69. package/dist/{useDateFormatter-D8XWr8lL.js → useDateFormatter-BTtPAD2R.js} +2 -2
  70. package/dist/{useDeepCompareMemoize-CawMGSRU.js → useDeepCompareMemoize-BlHFBj5_.js} +1 -1
  71. package/dist/{useIframeCapabilities-BUMBOpsM.js → useIframeCapabilities-C1Bt04Iz.js} +1 -1
  72. package/dist/{useLifecycle-3vGhRa1o.js → useLifecycle-B68iY077.js} +3 -3
  73. package/dist/{useTheme-BOw801nZ.js → useTheme-BwSgeAFb.js} +2 -2
  74. package/dist/{vega-component-DyMT9lIi.js → vega-component-C-bPttRN.js} +9 -9
  75. package/dist/{vennDiagram-4TSXK5OY-D5LNVIRI.js → vennDiagram-4TSXK5OY-d5g7XeiI.js} +1 -1
  76. package/dist/{wardleyDiagram-VM6X3IG4-BwKf-b0_.js → wardleyDiagram-VM6X3IG4-BfX3bSzR.js} +1 -1
  77. package/dist/{xychartDiagram-S5SC5T6Z-Cg_vyuW2.js → xychartDiagram-S5SC5T6Z-C1QsLZg7.js} +1 -1
  78. package/package.json +3 -3
  79. package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +0 -22
  80. package/dist/error-banner-DzAmP0AQ.js +0 -391
  81. package/dist/select-BcObMjGz.js +0 -970
@@ -1,76 +1,77 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { h as t, p as n, r } from "./button-B0Xgl-Qn.js";
2
+ import { h as t, p as n, r } from "./button-BtsM2UqM.js";
3
3
  import { t as i } from "./react-ofJbxM4x.js";
4
4
  import { t as a } from "./compiler-runtime-Cj8ZWiNS.js";
5
- import { h as o } from "./tooltip-Bi36DgYh.js";
6
- import { A as s, k as c } from "./select-BcObMjGz.js";
5
+ import { m as o } from "./tooltip-CuNWg2ay.js";
6
+ import { A as s, k as c } from "./select-Bs-nmvm6.js";
7
7
  import { t as l } from "./react-dom-BUgJ-ab_.js";
8
8
  import { t as u } from "./jsx-runtime-DgDPJV9S.js";
9
- import { Ct as d, Et as f, St as p, Tt as m, _t as ee, bt as h, ht as te, pt as g, vt as _, wt as v, xt as y } from "./use-restore-focus-ZgG5Br63.js";
10
- //#region ../node_modules/.pnpm/@radix-ui+react-toast@1.2.15_@types+react-dom@19.2.5_@types+react@19.2.18__@types+react_bf6d58ed91c2f26d21e09be1118b065a/node_modules/@radix-ui/react-toast/dist/index.mjs
11
- var b = /* @__PURE__ */ e(i(), 1), ne = /* @__PURE__ */ e(l(), 1), x = u(), S = "ToastProvider", [re, ie, C] = c("Toast"), [w, T] = v("Toast", [C]), [ae, E] = w(S), oe = (e) => {
12
- let { __scopeToast: t, label: n = "Notification", duration: r = 5e3, swipeDirection: i = "right", swipeThreshold: a = 50, children: o } = e, [s, c] = b.useState(null), [l, u] = b.useState(0), d = b.useRef(!1), f = b.useRef(!1);
13
- return n.trim() || console.error(`Invalid prop \`label\` supplied to \`${S}\`. Expected non-empty \`string\`.`), /* @__PURE__ */ (0, x.jsx)(re.Provider, {
9
+ import { Ct as d, St as f, Tt as p, _t as m, bt as h, ft as g, gt as ee, mt as te, wt as _, xt as v, yt as ne } from "./use-restore-focus-kmgwrL8q.js";
10
+ //#region ../node_modules/.pnpm/@radix-ui+react-toast@1.2.23_@types+react-dom@19.2.5_@types+react@19.2.18__@types+react_3d392105d6f9d7d1dbaf747ee49dc524/node_modules/@radix-ui/react-toast/dist/index.mjs
11
+ var y = /* @__PURE__ */ e(i(), 1), re = /* @__PURE__ */ e(l(), 1), b = u(), x = Object.defineProperty, S = (e, t) => x(e, "name", {
12
+ value: t,
13
+ configurable: !0
14
+ }), ie = "ToastProvider", [ae, oe, se] = c("Toast"), [C, w] = d("Toast", [se]), [T, E] = C(ie), D = /* @__PURE__ */ S((e) => {
15
+ let { __scopeToast: t, label: n = "Notification", duration: r = 5e3, swipeDirection: i = "right", swipeThreshold: a = 50, announcerContainer: o, children: s } = e, [c, l] = y.useState(null), [u, d] = y.useState(0), f = y.useRef(!1);
16
+ return n.trim() || console.error(`Invalid prop \`label\` supplied to \`${ie}\`. Expected non-empty \`string\`.`), /* @__PURE__ */ (0, b.jsx)(ae.Provider, {
14
17
  scope: t,
15
- children: /* @__PURE__ */ (0, x.jsx)(ae, {
18
+ children: /* @__PURE__ */ (0, b.jsx)(T, {
16
19
  scope: t,
17
20
  label: n,
18
21
  duration: r,
19
22
  swipeDirection: i,
20
23
  swipeThreshold: a,
21
- toastCount: l,
22
- viewport: s,
23
- onViewportChange: c,
24
- onToastAdd: b.useCallback(() => u((e) => e + 1), []),
25
- onToastRemove: b.useCallback(() => u((e) => e - 1), []),
26
- isFocusedToastEscapeKeyDownRef: d,
24
+ toastCount: u,
25
+ viewport: c,
26
+ onViewportChange: l,
27
+ onToastAdd: y.useCallback(() => d((e) => e + 1), []),
28
+ onToastRemove: y.useCallback(() => d((e) => e - 1), []),
27
29
  isClosePausedRef: f,
28
- children: o
30
+ announcerContainer: o,
31
+ children: s
29
32
  })
30
33
  });
31
- };
32
- oe.displayName = S;
33
- var D = "ToastViewport", se = ["F8"], ce = "toast.viewportPause", le = "toast.viewportResume", O = b.forwardRef((e, t) => {
34
- let { __scopeToast: r, hotkey: i = se, label: a = "Notifications ({hotkey})", ...o } = e, s = E(D, r), c = ie(r), l = b.useRef(null), u = b.useRef(null), d = b.useRef(null), f = b.useRef(null), p = n(t, f, s.onViewportChange), ee = i.join("+").replace(/Key/g, "").replace(/Digit/g, ""), h = s.toastCount > 0;
35
- b.useEffect(() => {
36
- let e = (e) => {
34
+ }, "ToastProvider"), ce = "ToastViewport", O = ["F8"], le = "toast.viewportPause", ue = "toast.viewportResume", de = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
35
+ let { __scopeToast: r, hotkey: i = O, label: a = "Notifications ({hotkey})", ...o } = e, s = E(ce, r), c = oe(r), l = y.useRef(null), u = y.useRef(null), d = y.useRef(null), f = y.useRef(null), p = n(t, f, s.onViewportChange), m = i.join("+").replace(/Key/g, "").replace(/Digit/g, ""), h = s.toastCount > 0;
36
+ y.useEffect(() => {
37
+ let e = /* @__PURE__ */ S((e) => {
37
38
  i.length !== 0 && i.every((t) => e[t] || e.code === t) && f.current?.focus();
38
- };
39
+ }, "handleKeyDown");
39
40
  return document.addEventListener("keydown", e), () => document.removeEventListener("keydown", e);
40
- }, [i]), b.useEffect(() => {
41
+ }, [i]), y.useEffect(() => {
41
42
  let e = l.current, t = f.current;
42
43
  if (h && e && t) {
43
- let n = () => {
44
+ let n = /* @__PURE__ */ S(() => {
44
45
  if (!s.isClosePausedRef.current) {
45
- let e = new CustomEvent(ce);
46
+ let e = new CustomEvent(le);
46
47
  t.dispatchEvent(e), s.isClosePausedRef.current = !0;
47
48
  }
48
- }, r = () => {
49
+ }, "handlePause"), r = /* @__PURE__ */ S(() => {
49
50
  if (s.isClosePausedRef.current) {
50
- let e = new CustomEvent(le);
51
+ let e = new CustomEvent(ue);
51
52
  t.dispatchEvent(e), s.isClosePausedRef.current = !1;
52
53
  }
53
- }, i = (t) => {
54
+ }, "handleResume"), i = /* @__PURE__ */ S((t) => {
54
55
  e.contains(t.relatedTarget) || r();
55
- }, a = () => {
56
+ }, "handleFocusOutResume"), a = /* @__PURE__ */ S(() => {
56
57
  e.contains(document.activeElement) || r();
57
- };
58
+ }, "handlePointerLeaveResume");
58
59
  return e.addEventListener("focusin", n), e.addEventListener("focusout", i), e.addEventListener("pointermove", n), e.addEventListener("pointerleave", a), window.addEventListener("blur", n), window.addEventListener("focus", r), () => {
59
60
  e.removeEventListener("focusin", n), e.removeEventListener("focusout", i), e.removeEventListener("pointermove", n), e.removeEventListener("pointerleave", a), window.removeEventListener("blur", n), window.removeEventListener("focus", r);
60
61
  };
61
62
  }
62
63
  }, [h, s.isClosePausedRef]);
63
- let g = b.useCallback(({ tabbingDirection: e }) => {
64
+ let g = y.useCallback(({ tabbingDirection: e }) => {
64
65
  let t = c().map((t) => {
65
- let n = t.ref.current, r = [n, ...je(n)];
66
+ let n = t.ref.current, r = [n, ...Me(n)];
66
67
  return e === "forwards" ? r : r.reverse();
67
68
  });
68
69
  return (e === "forwards" ? t.reverse() : t).flat();
69
70
  }, [c]);
70
- return b.useEffect(() => {
71
+ return y.useEffect(() => {
71
72
  let e = f.current;
72
73
  if (e) {
73
- let t = (t) => {
74
+ let t = /* @__PURE__ */ S((t) => {
74
75
  let n = t.altKey || t.ctrlKey || t.metaKey;
75
76
  if (t.key === "Tab" && !n) {
76
77
  let n = document.activeElement, r = t.shiftKey;
@@ -79,45 +80,43 @@ var D = "ToastViewport", se = ["F8"], ce = "toast.viewportPause", le = "toast.vi
79
80
  return;
80
81
  }
81
82
  let i = g({ tabbingDirection: r ? "backwards" : "forwards" }), a = i.findIndex((e) => e === n);
82
- Me(i.slice(a + 1)) ? t.preventDefault() : r ? u.current?.focus() : d.current?.focus();
83
+ N(i.slice(a + 1)) ? t.preventDefault() : r ? u.current?.focus() : d.current?.focus();
83
84
  }
84
- };
85
+ }, "handleKeyDown");
85
86
  return e.addEventListener("keydown", t), () => e.removeEventListener("keydown", t);
86
87
  }
87
- }, [c, g]), /* @__PURE__ */ (0, x.jsxs)(te, {
88
+ }, [c, g]), /* @__PURE__ */ (0, b.jsxs)(te, {
88
89
  ref: l,
89
90
  role: "region",
90
- "aria-label": a.replace("{hotkey}", ee),
91
+ "aria-label": a.replace("{hotkey}", m),
91
92
  tabIndex: -1,
92
93
  style: { pointerEvents: h ? void 0 : "none" },
93
94
  children: [
94
- h && /* @__PURE__ */ (0, x.jsx)(A, {
95
+ h && /* @__PURE__ */ (0, b.jsx)(k, {
95
96
  ref: u,
96
97
  onFocusFromOutsideViewport: () => {
97
- Me(g({ tabbingDirection: "forwards" }));
98
+ N(g({ tabbingDirection: "forwards" }));
98
99
  }
99
100
  }),
100
- /* @__PURE__ */ (0, x.jsx)(re.Slot, {
101
+ /* @__PURE__ */ (0, b.jsx)(ae.Slot, {
101
102
  scope: r,
102
- children: /* @__PURE__ */ (0, x.jsx)(m.ol, {
103
+ children: /* @__PURE__ */ (0, b.jsx)(_.ol, {
103
104
  tabIndex: -1,
104
105
  ...o,
105
106
  ref: p
106
107
  })
107
108
  }),
108
- h && /* @__PURE__ */ (0, x.jsx)(A, {
109
+ h && /* @__PURE__ */ (0, b.jsx)(k, {
109
110
  ref: d,
110
111
  onFocusFromOutsideViewport: () => {
111
- Me(g({ tabbingDirection: "backwards" }));
112
+ N(g({ tabbingDirection: "backwards" }));
112
113
  }
113
114
  })
114
115
  ]
115
116
  });
116
- });
117
- O.displayName = D;
118
- var k = "ToastFocusProxy", A = b.forwardRef((e, t) => {
119
- let { __scopeToast: n, onFocusFromOutsideViewport: r, ...i } = e, a = E(k, n);
120
- return /* @__PURE__ */ (0, x.jsx)(o, {
117
+ }, "ToastViewport")), fe = "ToastFocusProxy", k = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
118
+ let { __scopeToast: n, onFocusFromOutsideViewport: r, ...i } = e, a = E(fe, n);
119
+ return /* @__PURE__ */ (0, b.jsx)(o, {
121
120
  tabIndex: 0,
122
121
  ...i,
123
122
  ref: t,
@@ -127,59 +126,55 @@ var k = "ToastFocusProxy", A = b.forwardRef((e, t) => {
127
126
  a.viewport?.contains(t) || r();
128
127
  }
129
128
  });
130
- });
131
- A.displayName = k;
132
- var j = "Toast", ue = "toast.swipeStart", de = "toast.swipeMove", fe = "toast.swipeCancel", pe = "toast.swipeEnd", M = b.forwardRef((e, t) => {
133
- let { forceMount: n, open: r, defaultOpen: i, onOpenChange: a, ...o } = e, [s, c] = y({
129
+ }, "ToastFocusProxy")), A = "Toast", pe = "toast.swipeStart", me = "toast.swipeMove", he = "toast.swipeCancel", ge = "toast.swipeEnd", j = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
130
+ let { forceMount: n, open: r, defaultOpen: i, onOpenChange: a, ...o } = e, [s, c] = h({
134
131
  prop: r,
135
132
  defaultProp: i ?? !0,
136
133
  onChange: a,
137
- caller: j
134
+ caller: A
138
135
  });
139
- return /* @__PURE__ */ (0, x.jsx)(h, {
136
+ return /* @__PURE__ */ (0, b.jsx)(ne, {
140
137
  present: n || s,
141
- children: /* @__PURE__ */ (0, x.jsx)(ge, {
138
+ children: /* @__PURE__ */ (0, b.jsx)(ye, {
142
139
  open: s,
143
140
  ...o,
144
141
  ref: t,
145
142
  onClose: () => c(!1),
146
- onPause: _(e.onPause),
147
- onResume: _(e.onResume),
148
- onSwipeStart: d(e.onSwipeStart, (e) => {
143
+ onPause: m(e.onPause),
144
+ onResume: m(e.onResume),
145
+ onSwipeStart: f(e.onSwipeStart, (e) => {
149
146
  e.currentTarget.setAttribute("data-swipe", "start");
150
147
  }),
151
- onSwipeMove: d(e.onSwipeMove, (e) => {
148
+ onSwipeMove: f(e.onSwipeMove, (e) => {
152
149
  let { x: t, y: n } = e.detail.delta;
153
150
  e.currentTarget.setAttribute("data-swipe", "move"), e.currentTarget.style.setProperty("--radix-toast-swipe-move-x", `${t}px`), e.currentTarget.style.setProperty("--radix-toast-swipe-move-y", `${n}px`);
154
151
  }),
155
- onSwipeCancel: d(e.onSwipeCancel, (e) => {
152
+ onSwipeCancel: f(e.onSwipeCancel, (e) => {
156
153
  e.currentTarget.setAttribute("data-swipe", "cancel"), e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), e.currentTarget.style.removeProperty("--radix-toast-swipe-end-x"), e.currentTarget.style.removeProperty("--radix-toast-swipe-end-y");
157
154
  }),
158
- onSwipeEnd: d(e.onSwipeEnd, (e) => {
155
+ onSwipeEnd: f(e.onSwipeEnd, (e) => {
159
156
  let { x: t, y: n } = e.detail.delta;
160
157
  e.currentTarget.setAttribute("data-swipe", "end"), e.currentTarget.style.removeProperty("--radix-toast-swipe-move-x"), e.currentTarget.style.removeProperty("--radix-toast-swipe-move-y"), e.currentTarget.style.setProperty("--radix-toast-swipe-end-x", `${t}px`), e.currentTarget.style.setProperty("--radix-toast-swipe-end-y", `${n}px`), c(!1);
161
158
  })
162
159
  })
163
160
  });
164
- });
165
- M.displayName = j;
166
- var [me, he] = w(j, { onClose() {} }), ge = b.forwardRef((e, t) => {
167
- let { __scopeToast: r, type: i = "foreground", duration: a, open: o, onClose: s, onEscapeKeyDown: c, onPause: l, onResume: u, onSwipeStart: f, onSwipeMove: p, onSwipeCancel: h, onSwipeEnd: te, ...g } = e, v = E(j, r), [y, S] = b.useState(null), ie = n(t, (e) => S(e)), C = b.useRef(null), w = b.useRef(null), T = a || v.duration, ae = b.useRef(0), oe = b.useRef(T), D = b.useRef(0), { onToastAdd: se, onToastRemove: O } = v, k = _(() => {
168
- y?.contains(document.activeElement) && v.viewport?.focus(), s();
169
- }), A = b.useCallback((e) => {
170
- !e || e === Infinity || (window.clearTimeout(D.current), ae.current = (/* @__PURE__ */ new Date()).getTime(), D.current = window.setTimeout(k, e));
161
+ }, "Toast")), [_e, ve] = C(A, { onClose() {} }), ye = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
162
+ let { __scopeToast: r, type: i = "foreground", duration: a, open: o, onClose: s, onEscapeKeyDown: c, onPause: l, onResume: u, onSwipeStart: d, onSwipeMove: p, onSwipeCancel: h, onSwipeEnd: g, ...te } = e, v = E(A, r), ne = oe(r), [x, ie] = y.useState(null), se = n(t, ie), C = y.useRef(null), w = y.useRef(null), T = a || v.duration, D = y.useRef(0), ce = y.useRef(T), O = y.useRef(0), { onToastAdd: de, onToastRemove: fe } = v, k = m(() => {
163
+ x?.contains(document.activeElement) && v.viewport?.focus(), s();
164
+ }), j = y.useCallback((e) => {
165
+ !e || e === Infinity || (window.clearTimeout(O.current), D.current = (/* @__PURE__ */ new Date()).getTime(), O.current = window.setTimeout(k, e));
171
166
  }, [k]);
172
- b.useEffect(() => {
167
+ y.useEffect(() => {
173
168
  let e = v.viewport;
174
169
  if (e) {
175
- let t = () => {
176
- A(oe.current), u?.();
177
- }, n = () => {
178
- let e = (/* @__PURE__ */ new Date()).getTime() - ae.current;
179
- oe.current -= e, window.clearTimeout(D.current), l?.();
180
- };
181
- return e.addEventListener(ce, n), e.addEventListener(le, t), () => {
182
- e.removeEventListener(ce, n), e.removeEventListener(le, t);
170
+ let t = /* @__PURE__ */ S(() => {
171
+ j(ce.current), u?.();
172
+ }, "handleResume"), n = /* @__PURE__ */ S(() => {
173
+ let e = (/* @__PURE__ */ new Date()).getTime() - D.current;
174
+ ce.current -= e, window.clearTimeout(O.current), l?.();
175
+ }, "handlePause");
176
+ return e.addEventListener(le, n), e.addEventListener(ue, t), () => {
177
+ e.removeEventListener(le, n), e.removeEventListener(ue, t);
183
178
  };
184
179
  }
185
180
  }, [
@@ -187,52 +182,54 @@ var [me, he] = w(j, { onClose() {} }), ge = b.forwardRef((e, t) => {
187
182
  T,
188
183
  l,
189
184
  u,
190
- A
191
- ]), b.useEffect(() => {
192
- o && !v.isClosePausedRef.current && A(T);
185
+ j
186
+ ]), y.useEffect(() => {
187
+ o && !v.isClosePausedRef.current && j(T);
193
188
  }, [
194
189
  o,
195
190
  T,
196
191
  v.isClosePausedRef,
197
- A
198
- ]), b.useEffect(() => (se(), () => O()), [se, O]);
199
- let M = b.useMemo(() => y ? De(y) : null, [y]);
200
- return v.viewport ? /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [M && /* @__PURE__ */ (0, x.jsx)(_e, {
192
+ j
193
+ ]), y.useEffect(() => () => {
194
+ window.clearTimeout(O.current);
195
+ }, []), y.useEffect(() => (de(), () => fe()), [de, fe]);
196
+ let ve = y.useMemo(() => x ? Oe(x) : null, [x]);
197
+ return v.viewport ? /* @__PURE__ */ (0, b.jsxs)(b.Fragment, { children: [ve && /* @__PURE__ */ (0, b.jsx)(be, {
201
198
  __scopeToast: r,
202
199
  role: "status",
203
200
  "aria-live": i === "foreground" ? "assertive" : "polite",
204
- children: M
205
- }), /* @__PURE__ */ (0, x.jsx)(me, {
201
+ children: ve
202
+ }), /* @__PURE__ */ (0, b.jsx)(_e, {
206
203
  scope: r,
207
204
  onClose: k,
208
- children: ne.createPortal(/* @__PURE__ */ (0, x.jsx)(re.ItemSlot, {
205
+ children: re.createPortal(/* @__PURE__ */ (0, b.jsx)(ae.ItemSlot, {
209
206
  scope: r,
210
- children: /* @__PURE__ */ (0, x.jsx)(ee, {
207
+ children: /* @__PURE__ */ (0, b.jsx)(ee, {
211
208
  asChild: !0,
212
- onEscapeKeyDown: d(c, () => {
213
- v.isFocusedToastEscapeKeyDownRef.current || k(), v.isFocusedToastEscapeKeyDownRef.current = !1;
209
+ onEscapeKeyDown: f(c, (e) => {
210
+ ne().some((t) => t.ref.current?.contains(e.target)) || k();
214
211
  }),
215
- children: /* @__PURE__ */ (0, x.jsx)(m.li, {
212
+ children: /* @__PURE__ */ (0, b.jsx)(_.li, {
216
213
  tabIndex: 0,
217
214
  "data-state": o ? "open" : "closed",
218
215
  "data-swipe-direction": v.swipeDirection,
219
- ...g,
220
- ref: ie,
216
+ ...te,
217
+ ref: se,
221
218
  style: {
222
219
  userSelect: "none",
223
220
  touchAction: "none",
224
221
  ...e.style
225
222
  },
226
- onKeyDown: d(e.onKeyDown, (e) => {
227
- e.key === "Escape" && (c?.(e.nativeEvent), e.nativeEvent.defaultPrevented || (v.isFocusedToastEscapeKeyDownRef.current = !0, k()));
223
+ onKeyDown: f(e.onKeyDown, (e) => {
224
+ e.key === "Escape" && (c?.(e.nativeEvent), e.nativeEvent.defaultPrevented || k());
228
225
  }),
229
- onPointerDown: d(e.onPointerDown, (e) => {
226
+ onPointerDown: f(e.onPointerDown, (e) => {
230
227
  e.button === 0 && (C.current = {
231
228
  x: e.clientX,
232
229
  y: e.clientY
233
230
  });
234
231
  }),
235
- onPointerMove: d(e.onPointerMove, (e) => {
232
+ onPointerMove: f(e.onPointerMove, (e) => {
236
233
  if (!C.current) return;
237
234
  let t = e.clientX - C.current.x, n = e.clientY - C.current.y, r = !!w.current, i = ["left", "right"].includes(v.swipeDirection), a = ["left", "up"].includes(v.swipeDirection) ? Math.min : Math.max, o = i ? a(0, t) : 0, s = i ? 0 : a(0, n), c = e.pointerType === "touch" ? 10 : 2, l = {
238
235
  x: o,
@@ -241,139 +238,138 @@ var [me, he] = w(j, { onClose() {} }), ge = b.forwardRef((e, t) => {
241
238
  originalEvent: e,
242
239
  delta: l
243
240
  };
244
- r ? (w.current = l, N(de, p, u, { discrete: !1 })) : Oe(l, v.swipeDirection, c) ? (w.current = l, N(ue, f, u, { discrete: !1 }), e.target.setPointerCapture(e.pointerId)) : (Math.abs(t) > c || Math.abs(n) > c) && (C.current = null);
241
+ r ? (w.current = l, M(me, p, u, { discrete: !1 })) : ke(l, v.swipeDirection, c) ? (w.current = l, M(pe, d, u, { discrete: !1 }), e.target.setPointerCapture(e.pointerId)) : (Math.abs(t) > c || Math.abs(n) > c) && (C.current = null);
245
242
  }),
246
- onPointerUp: d(e.onPointerUp, (e) => {
243
+ onPointerUp: f(e.onPointerUp, (e) => {
247
244
  let t = w.current, n = e.target;
248
245
  if (n.hasPointerCapture(e.pointerId) && n.releasePointerCapture(e.pointerId), w.current = null, C.current = null, t) {
249
246
  let n = e.currentTarget, r = {
250
247
  originalEvent: e,
251
248
  delta: t
252
249
  };
253
- Oe(t, v.swipeDirection, v.swipeThreshold) ? N(pe, te, r, { discrete: !0 }) : N(fe, h, r, { discrete: !0 }), n.addEventListener("click", (e) => e.preventDefault(), { once: !0 });
250
+ ke(t, v.swipeDirection, v.swipeThreshold) ? M(ge, g, r, { discrete: !0 }) : M(he, h, r, { discrete: !0 }), n.addEventListener("click", (e) => e.preventDefault(), { once: !0 });
254
251
  }
255
252
  })
256
253
  })
257
254
  })
258
255
  }), v.viewport)
259
256
  })] }) : null;
260
- }), _e = (e) => {
261
- let { __scopeToast: t, children: n, ...r } = e, i = E(j, t), [a, s] = b.useState(!1), [c, l] = b.useState(!1);
262
- return ke(() => s(!0)), b.useEffect(() => {
257
+ }, "ToastImpl")), be = /* @__PURE__ */ S((e) => {
258
+ let { __scopeToast: t, children: n, ...r } = e, i = E(A, t), [a, s] = y.useState(!1), [c, l] = y.useState(!1);
259
+ return Ae(() => s(!0)), y.useEffect(() => {
263
260
  let e = window.setTimeout(() => l(!0), 1e3);
264
261
  return () => window.clearTimeout(e);
265
- }, []), c ? null : /* @__PURE__ */ (0, x.jsx)(g, {
262
+ }, []), c ? null : /* @__PURE__ */ (0, b.jsx)(g, {
266
263
  asChild: !0,
267
- children: /* @__PURE__ */ (0, x.jsx)(o, {
264
+ container: i.announcerContainer || void 0,
265
+ children: /* @__PURE__ */ (0, b.jsx)(o, {
268
266
  ...r,
269
- children: a && /* @__PURE__ */ (0, x.jsxs)(x.Fragment, { children: [
267
+ children: a && /* @__PURE__ */ (0, b.jsxs)(b.Fragment, { children: [
270
268
  i.label,
271
269
  " ",
272
270
  n
273
271
  ] })
274
272
  })
275
273
  });
276
- }, ve = "ToastTitle", ye = b.forwardRef((e, t) => {
274
+ }, "ToastAnnounce"), xe = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
277
275
  let { __scopeToast: n, ...r } = e;
278
- return /* @__PURE__ */ (0, x.jsx)(m.div, {
276
+ return /* @__PURE__ */ (0, b.jsx)(_.div, {
279
277
  ...r,
280
278
  ref: t
281
279
  });
282
- });
283
- ye.displayName = ve;
284
- var be = "ToastDescription", xe = b.forwardRef((e, t) => {
280
+ }, "ToastTitle")), Se = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
285
281
  let { __scopeToast: n, ...r } = e;
286
- return /* @__PURE__ */ (0, x.jsx)(m.div, {
282
+ return /* @__PURE__ */ (0, b.jsx)(_.div, {
287
283
  ...r,
288
284
  ref: t
289
285
  });
290
- });
291
- xe.displayName = be;
292
- var Se = "ToastAction", Ce = b.forwardRef((e, t) => {
286
+ }, "ToastDescription")), Ce = "ToastAction", we = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
293
287
  let { altText: n, ...r } = e;
294
- return n.trim() ? /* @__PURE__ */ (0, x.jsx)(Ee, {
288
+ return n.trim() ? /* @__PURE__ */ (0, b.jsx)(De, {
295
289
  altText: n,
296
290
  asChild: !0,
297
- children: /* @__PURE__ */ (0, x.jsx)(Te, {
291
+ children: /* @__PURE__ */ (0, b.jsx)(Ee, {
298
292
  ...r,
299
293
  ref: t
300
294
  })
301
- }) : (console.error(`Invalid prop \`altText\` supplied to \`${Se}\`. Expected non-empty \`string\`.`), null);
302
- });
303
- Ce.displayName = Se;
304
- var we = "ToastClose", Te = b.forwardRef((e, t) => {
305
- let { __scopeToast: n, ...r } = e, i = he(we, n);
306
- return /* @__PURE__ */ (0, x.jsx)(Ee, {
295
+ }) : (console.error(`Invalid prop \`altText\` supplied to \`${Ce}\`. Expected non-empty \`string\`.`), null);
296
+ }, "ToastAction")), Te = "ToastClose", Ee = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
297
+ let { __scopeToast: n, ...r } = e, i = ve(Te, n);
298
+ return /* @__PURE__ */ (0, b.jsx)(De, {
307
299
  asChild: !0,
308
- children: /* @__PURE__ */ (0, x.jsx)(m.button, {
300
+ children: /* @__PURE__ */ (0, b.jsx)(_.button, {
309
301
  type: "button",
310
302
  ...r,
311
303
  ref: t,
312
- onClick: d(e.onClick, i.onClose)
304
+ onClick: f(e.onClick, i.onClose)
313
305
  })
314
306
  });
315
- });
316
- Te.displayName = we;
317
- var Ee = b.forwardRef((e, t) => {
307
+ }, "ToastClose")), De = /* @__PURE__ */ y.forwardRef(/* @__PURE__ */ S(function(e, t) {
318
308
  let { __scopeToast: n, altText: r, ...i } = e;
319
- return /* @__PURE__ */ (0, x.jsx)(m.div, {
309
+ return /* @__PURE__ */ (0, b.jsx)(_.div, {
320
310
  "data-radix-toast-announce-exclude": "",
321
311
  "data-radix-toast-announce-alt": r || void 0,
322
312
  ...i,
323
313
  ref: t
324
314
  });
325
- });
326
- function De(e) {
315
+ }, "ToastAnnounceExclude"));
316
+ function Oe(e) {
327
317
  let t = [];
328
318
  return Array.from(e.childNodes).forEach((e) => {
329
- if (e.nodeType === e.TEXT_NODE && e.textContent && t.push(e.textContent), Ae(e)) {
319
+ if (e.nodeType === e.TEXT_NODE && e.textContent && t.push(e.textContent), je(e)) {
330
320
  let n = e.ariaHidden || e.hidden || e.style.display === "none", r = e.dataset.radixToastAnnounceExclude === "";
331
321
  if (!n) {
332
322
  if (r) {
333
323
  let n = e.dataset.radixToastAnnounceAlt;
334
324
  n && t.push(n);
335
- } else t.push(...De(e));
325
+ } else t.push(...Oe(e));
336
326
  }
337
327
  }
338
328
  }), t;
339
329
  }
340
- function N(e, t, n, { discrete: r }) {
330
+ S(Oe, "getAnnounceTextContent");
331
+ function M(e, t, n, { discrete: r }) {
341
332
  let i = n.originalEvent.currentTarget, a = new CustomEvent(e, {
342
333
  bubbles: !0,
343
334
  cancelable: !0,
344
335
  detail: n
345
336
  });
346
- t && i.addEventListener(e, t, { once: !0 }), r ? f(i, a) : i.dispatchEvent(a);
337
+ t && i.addEventListener(e, t, { once: !0 }), r ? p(i, a) : i.dispatchEvent(a);
347
338
  }
348
- var Oe = (e, t, n = 0) => {
339
+ S(M, "handleAndDispatchCustomEvent");
340
+ var ke = /* @__PURE__ */ S((e, t, n = 0) => {
349
341
  let r = Math.abs(e.x), i = Math.abs(e.y), a = r > i;
350
342
  return t === "left" || t === "right" ? a && r > n : !a && i > n;
351
- };
352
- function ke(e = () => {}) {
353
- let t = _(e);
354
- p(() => {
343
+ }, "isDeltaInDirection");
344
+ function Ae(e = () => {}) {
345
+ let t = m(e);
346
+ v(() => {
355
347
  let e = 0, n = 0;
356
348
  return e = window.requestAnimationFrame(() => n = window.requestAnimationFrame(t)), () => {
357
349
  window.cancelAnimationFrame(e), window.cancelAnimationFrame(n);
358
350
  };
359
351
  }, [t]);
360
352
  }
361
- function Ae(e) {
353
+ S(Ae, "useNextFrame");
354
+ function je(e) {
362
355
  return e.nodeType === e.ELEMENT_NODE;
363
356
  }
364
- function je(e) {
365
- let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: (e) => {
357
+ S(je, "isHTMLElement");
358
+ function Me(e) {
359
+ let t = [], n = document.createTreeWalker(e, NodeFilter.SHOW_ELEMENT, { acceptNode: /* @__PURE__ */ S((e) => {
366
360
  let t = e.tagName === "INPUT" && e.type === "hidden";
367
361
  return e.disabled || e.hidden || t ? NodeFilter.FILTER_SKIP : e.tabIndex >= 0 ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_SKIP;
368
- } });
362
+ }, "acceptNode") });
369
363
  for (; n.nextNode();) t.push(n.currentNode);
370
364
  return t;
371
365
  }
372
- function Me(e) {
366
+ S(Me, "getTabbableCandidates");
367
+ function N(e) {
373
368
  let t = document.activeElement;
374
369
  return e.some((e) => e === t || (e.focus(), document.activeElement !== t));
375
370
  }
376
- var Ne = oe, Pe = O, Fe = M, Ie = ye, Le = xe, Re = Ce, ze = Te;
371
+ S(N, "focusFirst");
372
+ var Ne = D, Pe = de, Fe = j, Ie = xe, Le = Se, Re = we, ze = Ee;
377
373
  //#endregion
378
374
  //#region ../node_modules/.pnpm/marked@15.0.12/node_modules/marked/lib/marked.esm.js
379
375
  function Be() {
@@ -1733,13 +1729,13 @@ Q.options = Q.setOptions = function(e) {
1733
1729
  }, Q.parseInline = Z.parseInline, Q.Parser = Y, Q.parser = Y.parse, Q.Renderer = J, Q.TextRenderer = Wt, Q.Lexer = q, Q.lexer = q.lex, Q.Tokenizer = K, Q.Hooks = X, Q.parse = Q, Q.options, Q.setOptions, Q.use, Q.walkTokens, Q.parseInline, Y.parse, q.lex;
1734
1730
  //#endregion
1735
1731
  //#region src/components/ui/toast.tsx
1736
- var $ = a(), Gt = Ne, Kt = b.forwardRef((e, n) => {
1732
+ var $ = a(), Gt = Ne, Kt = y.forwardRef((e, n) => {
1737
1733
  let r = (0, $.c)(9), i, a;
1738
1734
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1739
1735
  let o;
1740
1736
  r[3] === i ? o = r[4] : (o = t("fixed top-0 z-100 flex max-h-screen w-full flex-col-reverse p-4 sm:bottom-0 sm:right-0 sm:top-auto sm:flex-col md:w-fit md:max-w-[420px]", "print:hidden", i), r[3] = i, r[4] = o);
1741
1737
  let s;
1742
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(Pe, {
1738
+ return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, b.jsx)(Pe, {
1743
1739
  ref: n,
1744
1740
  className: o,
1745
1741
  ...a
@@ -1756,41 +1752,41 @@ var qt = {
1756
1752
  function Yt(e) {
1757
1753
  return typeof e == "string" && e in qt;
1758
1754
  }
1759
- var Xt = b.forwardRef((e, n) => {
1755
+ var Xt = y.forwardRef((e, n) => {
1760
1756
  let r = (0, $.c)(11), i, a, o;
1761
1757
  r[0] === e ? (i = r[1], a = r[2], o = r[3]) : ({className: i, variant: o, ...a} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o);
1762
1758
  let s = Yt(o) ? o : "default", c;
1763
1759
  r[4] !== i || r[5] !== s ? (c = t(Jt({ variant: s }), "print:hidden", i), r[4] = i, r[5] = s, r[6] = c) : c = r[6];
1764
1760
  let l;
1765
- return r[7] !== a || r[8] !== n || r[9] !== c ? (l = /* @__PURE__ */ (0, x.jsx)(Fe, {
1761
+ return r[7] !== a || r[8] !== n || r[9] !== c ? (l = /* @__PURE__ */ (0, b.jsx)(Fe, {
1766
1762
  ref: n,
1767
1763
  className: c,
1768
1764
  ...a
1769
1765
  }), r[7] = a, r[8] = n, r[9] = c, r[10] = l) : l = r[10], l;
1770
1766
  });
1771
1767
  Xt.displayName = Fe.displayName;
1772
- var Zt = b.forwardRef((e, n) => {
1768
+ var Zt = y.forwardRef((e, n) => {
1773
1769
  let r = (0, $.c)(9), i, a;
1774
1770
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1775
1771
  let o;
1776
1772
  r[3] === i ? o = r[4] : (o = t("inline-flex h-8 shrink-0 items-center justify-center rounded-md border bg-transparent px-3 text-sm font-medium ring-offset-background transition-colors hover:bg-secondary focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 group-[.destructive]:border-destructive/30 hover:group-[.destructive]:border-destructive/30 hover:group-[.destructive]:bg-destructive hover:group-[.destructive]:text-destructive-foreground focus-visible:group-[.destructive]:ring-destructive", "forced-color-adjust-none forced-colors:border-[ButtonText] forced-colors:bg-[ButtonFace] forced-colors:text-[ButtonText] forced-colors:hover:bg-[Highlight] forced-colors:hover:text-[HighlightText] forced-colors:disabled:border-[GrayText] forced-colors:disabled:text-[GrayText]", i), r[3] = i, r[4] = o);
1777
1773
  let s;
1778
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(Re, {
1774
+ return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, b.jsx)(Re, {
1779
1775
  ref: n,
1780
1776
  className: o,
1781
1777
  ...a
1782
1778
  }), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
1783
1779
  });
1784
1780
  Zt.displayName = Re.displayName;
1785
- var Qt = b.forwardRef((e, n) => {
1781
+ var Qt = y.forwardRef((e, n) => {
1786
1782
  let r = (0, $.c)(10), i, a;
1787
1783
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1788
1784
  let o;
1789
1785
  r[3] === i ? o = r[4] : (o = t("absolute right-2 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity hover:text-foreground focus:opacity-100 focus-visible:outline-hidden focus-visible:ring-2 group-hover:opacity-100 group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-500 focus-visible:group-[.destructive]:ring-red-400 focus-visible:group-[.destructive]:ring-offset-red-600", "forced-colors:text-[CanvasText] forced-colors:hover:text-[CanvasText] forced-colors:group-[.destructive]:text-[CanvasText] forced-colors:hover:group-[.destructive]:text-[CanvasText]", i), r[3] = i, r[4] = o);
1790
1786
  let c;
1791
- r[5] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, x.jsx)(s, { className: "h-4 w-4" }), r[5] = c) : c = r[5];
1787
+ r[5] === Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ (0, b.jsx)(s, { className: "h-4 w-4" }), r[5] = c) : c = r[5];
1792
1788
  let l;
1793
- return r[6] !== a || r[7] !== n || r[8] !== o ? (l = /* @__PURE__ */ (0, x.jsx)(ze, {
1789
+ return r[6] !== a || r[7] !== n || r[8] !== o ? (l = /* @__PURE__ */ (0, b.jsx)(ze, {
1794
1790
  ref: n,
1795
1791
  className: o,
1796
1792
  "toast-close": "",
@@ -1799,20 +1795,20 @@ var Qt = b.forwardRef((e, n) => {
1799
1795
  }), r[6] = a, r[7] = n, r[8] = o, r[9] = l) : l = r[9], l;
1800
1796
  });
1801
1797
  Qt.displayName = ze.displayName;
1802
- var $t = b.forwardRef((e, n) => {
1798
+ var $t = y.forwardRef((e, n) => {
1803
1799
  let r = (0, $.c)(9), i, a;
1804
1800
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
1805
1801
  let o;
1806
1802
  r[3] === i ? o = r[4] : (o = t("text-sm font-semibold", i), r[3] = i, r[4] = o);
1807
1803
  let s;
1808
- return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, x.jsx)(Ie, {
1804
+ return r[5] !== a || r[6] !== n || r[7] !== o ? (s = /* @__PURE__ */ (0, b.jsx)(Ie, {
1809
1805
  ref: n,
1810
1806
  className: o,
1811
1807
  ...a
1812
1808
  }), r[5] = a, r[6] = n, r[7] = o, r[8] = s) : s = r[8], s;
1813
1809
  });
1814
1810
  $t.displayName = Ie.displayName;
1815
- var en = b.forwardRef((e, n) => {
1811
+ var en = y.forwardRef((e, n) => {
1816
1812
  let r = (0, $.c)(13), i, a, o;
1817
1813
  r[0] === e ? (i = r[1], a = r[2], o = r[3]) : ({className: i, onPointerDown: a, ...o} = e, r[0] = e, r[1] = i, r[2] = a, r[3] = o);
1818
1814
  let s;
@@ -1822,7 +1818,7 @@ var en = b.forwardRef((e, n) => {
1822
1818
  e.stopPropagation(), a?.(e);
1823
1819
  }, r[6] = a, r[7] = c);
1824
1820
  let l;
1825
- return r[8] !== o || r[9] !== n || r[10] !== s || r[11] !== c ? (l = /* @__PURE__ */ (0, x.jsx)(Le, {
1821
+ return r[8] !== o || r[9] !== n || r[10] !== s || r[11] !== c ? (l = /* @__PURE__ */ (0, b.jsx)(Le, {
1826
1822
  ref: n,
1827
1823
  className: s,
1828
1824
  onPointerDown: c,