@marimo-team/islands 0.25.3-dev500 → 0.25.3-dev501

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 (73) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BV2GFVYn.js → ConnectedDataExplorerComponent-DtwVgVpX.js} +13 -13
  2. package/dist/{ErrorBoundary-CpSSnt9y.js → ErrorBoundary-UjAniyR8.js} +8 -8
  3. package/dist/{abnfDiagram-VCTEODGH-1AWrWE-o.js → abnfDiagram-VCTEODGH-BbZOIueZ.js} +2 -2
  4. package/dist/{any-language-editor-Dqpg95i0.js → any-language-editor-yG-YmLaK.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-D0zM5fGn.js → architectureDiagram-5GKGNRK7-qjLjxapm.js} +1 -1
  6. package/dist/{assertNever-BQEDS5Ew.js → assertNever-DywGMo-S.js} +2 -2
  7. package/dist/{chat-ui-JmYr7eaD.js → chat-ui-CCmVFbcB.js} +41 -41
  8. package/dist/{check-BTnCP_6g.js → check-jchHMCfs.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-CTe-GyEo.js → chunk-IMKFNOWR-BzDY1_I7.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-mDvz0_Bb.js → chunk-SHT3W25Y-DbHsMKdo.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-TQe5CTi-.js → chunk-SVP7TREG-CtwnwAE6.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-DueGZcaL.js → chunk-TICWLB2K-C5Z5QMbO.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-C80WtbRl.js → classDiagram-ZZMXUADV-B8E5Hn78.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-BGUFGXB1.js → classDiagram-v2-VYDZK3BY-DeGsK9bT.js} +2 -2
  15. package/dist/{code-visibility-CXdUXvjR.js → code-visibility-8tHEJpUk.js} +19 -19
  16. package/dist/{common-Bgx8DW-s.js → common-CxL4wPFF.js} +162 -162
  17. package/dist/{config-DbjezUyA.js → config-qTaTHnpE.js} +3 -3
  18. package/dist/{copy-icon-7bY-OuK1.js → copy-icon-BI7vZHEW.js} +2 -2
  19. package/dist/{createReducer-BTiEYD5d.js → createReducer-DdSLRfBT.js} +5 -5
  20. package/dist/{cynefinDiagram-5FMLGOSQ-B1FxtX7q.js → cynefinDiagram-5FMLGOSQ-NDedRwsw.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-DsaxsLKR.js → dagre-GXQ25YYZ-De0sSZO7.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-Db7nCoNJ.js → data-grid-overlay-editor-BKYGAMTU.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-0_x8Q-Gz.js → diagram-S7CK7UJ4-wBtVl61y.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-nvR7yqd-.js → diagram-UQ7AKVKN-CKWE3c1T.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-BnEUU78X.js → diagram-VX7I27RA-D2Ac5198.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-BHX2x9ql.js → diagram-Z3DM3KII-CYaFOQcI.js} +1 -1
  27. package/dist/{dialog-CBKdXrw9.js → dialog-Ic6dh09m.js} +31 -31
  28. package/dist/{dropdown-menu-218IIk7S.js → dropdown-menu-Dhv4fcNl.js} +86 -86
  29. package/dist/{ebnfDiagram-PWID7BFC-DYZD7-aw.js → ebnfDiagram-PWID7BFC-Ds7f42dj.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-Bv-0tHzX.js → erDiagram-RLTQ6QDP-b58Sz2Mc.js} +1 -1
  31. package/dist/{error-banner-cub3qDum.js → error-banner-CJVLr5_a.js} +15 -15
  32. package/dist/{error-entries-MZLN-feW.js → error-entries-BoO7a296.js} +378 -378
  33. package/dist/{feedback-button-Vn4lQguX.js → feedback-button-6ukwIFn4.js} +120 -120
  34. package/dist/{flowDiagram-HODETNUW-BV2Dug--.js → flowDiagram-HODETNUW-BH9U7VZK.js} +2 -2
  35. package/dist/{formats-CBWqzCiR.js → formats-BLNFWWhV.js} +1 -1
  36. package/dist/{glide-data-editor-SVSB_FrV.js → glide-data-editor-TUEJ7QJU.js} +11 -11
  37. package/dist/{glide-utils-DlglW_uh.js → glide-utils-Cn2_NadX.js} +2 -2
  38. package/dist/{globals-DLg0VAFW.js → globals-DdYss8Nz.js} +3 -3
  39. package/dist/{html-to-image-D6h4lzXj.js → html-to-image-rvMfQD46.js} +326 -326
  40. package/dist/{infoDiagram-27XIBGKW-xekhSKlY.js → infoDiagram-27XIBGKW-xbjwrcNi.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-Coe7mUqv.js → ishikawaDiagram-5VMMS53U-DKtukhGS.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-Znywqtyi.js → kanban-definition-UXKFOSKX-BEhlkZBb.js} +1 -1
  43. package/dist/main.js +5887 -5861
  44. package/dist/{mermaid-DRT7MewO.js → mermaid-D1CZDNoB.js} +34 -34
  45. package/dist/{mindmap-definition-YA3MSWOX-Do_NrRXE.js → mindmap-definition-YA3MSWOX-DQcnJPcV.js} +1 -1
  46. package/dist/{number-overlay-editor-Cl-4xrmj.js → number-overlay-editor-DvLF2HiC.js} +1 -1
  47. package/dist/{pegDiagram-XKGWAZYB-CTuwofVH.js → pegDiagram-XKGWAZYB-BFQuPYfI.js} +2 -2
  48. package/dist/{pencil-qedVMD6q.js → pencil-DVYzq-iR.js} +1 -1
  49. package/dist/{pieDiagram-E7YTZNPT-CFHRBvha.js → pieDiagram-E7YTZNPT-l7aqNrem.js} +1 -1
  50. package/dist/{process-output-MYh-Vr__.js → process-output-BXff1USQ.js} +4 -4
  51. package/dist/{railroadDiagram-O6MQD6OU-BJBqS4A3.js → railroadDiagram-O6MQD6OU-6R3C1lwQ.js} +2 -2
  52. package/dist/{requirementDiagram-BXWQKSXE-CoMoIh3b.js → requirementDiagram-BXWQKSXE-DdWYu8fn.js} +1 -1
  53. package/dist/{reveal-component-CSm--bq9.js → reveal-component-DuUxTG4p.js} +1008 -1008
  54. package/dist/{select-BcEi9lad.js → select-CDUxhHZg.js} +109 -109
  55. package/dist/{sequenceDiagram-WJ2MYXX4-Cu7Mpp-z.js → sequenceDiagram-WJ2MYXX4-Dzp0dgRc.js} +1 -1
  56. package/dist/{spec-AxyC1vc5.js → spec-ZAt4P01J.js} +4 -4
  57. package/dist/{stateDiagram-D77RDMKH-DX7_Rnib.js → stateDiagram-D77RDMKH-BGnTUhFJ.js} +2 -2
  58. package/dist/{stateDiagram-v2-MP3YSRHH-oFXVbGoo.js → stateDiagram-v2-MP3YSRHH-DsJbmDf1.js} +2 -2
  59. package/dist/{static-state-CqzVppxA.js → static-state-C4bAlKTU.js} +9 -9
  60. package/dist/{swimlanes-42K2YHIH-CxzCGtVZ.js → swimlanes-42K2YHIH-Bd4Bzh9r.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-1a1GRLNf.js → swimlanesDiagram-VR7AAH4N-BlY12Jf6.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-Pfn2awsU.js → timeline-definition-24CTP7MA-m0LanyCH.js} +1 -1
  63. package/dist/{toast-aYa8V5tR.js → toast-U3NpO2x3.js} +192 -192
  64. package/dist/{tooltip-CwQmweEz.js → tooltip-UzJukb3F.js} +65 -65
  65. package/dist/{use-restore-focus-DlX1CSiq.js → use-restore-focus-DaTVz6S6.js} +679 -668
  66. package/dist/{useDateFormatter-BAckjdIS.js → useDateFormatter-LQNtoXyh.js} +2 -2
  67. package/dist/{useDeepCompareMemoize-C6mte0N8.js → useDeepCompareMemoize-CmNbQ9TT.js} +1 -1
  68. package/dist/{useLifecycle-XZ5KJAFU.js → useLifecycle-DTMczKkf.js} +1 -1
  69. package/dist/{vega-component-_We1FoNw.js → vega-component-ZTdbCcwI.js} +6 -6
  70. package/dist/{vennDiagram-4TSXK5OY-DrIqDugg.js → vennDiagram-4TSXK5OY-BJ7vqDmn.js} +1 -1
  71. package/dist/{wardleyDiagram-VM6X3IG4-DBPVNfc3.js → wardleyDiagram-VM6X3IG4-D5kWacsn.js} +1 -1
  72. package/dist/{xychartDiagram-S5SC5T6Z-64Isocef.js → xychartDiagram-S5SC5T6Z-gr15Ws_z.js} +1 -1
  73. package/package.json +1 -1
@@ -2,14 +2,14 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { g as t, h as n, m as r, p as i, u as a } from "./button-qQhINE7z.js";
3
3
  import { t as o } from "./react-Bgs_wQh3.js";
4
4
  import { t as s } from "./compiler-runtime-C5KHtL5D.js";
5
- import { c, h as l, l as u, s as d, u as f } from "./tooltip-CwQmweEz.js";
6
- import { t as p } from "./check-BTnCP_6g.js";
7
- import { A as m, C as h, E as g, M as _, S as v, _ as y, b, g as x, h as S, j as C, m as w, p as T, v as E, x as D, y as O } from "./select-BcEi9lad.js";
8
- import { a as ee, s as k } from "./assertNever-BQEDS5Ew.js";
5
+ import { c, h as l, l as u, s as d, u as f } from "./tooltip-UzJukb3F.js";
6
+ import { t as p } from "./check-jchHMCfs.js";
7
+ import { A as m, C as h, E as g, M as _, S as v, _ as y, b, g as x, h as S, j as C, m as w, p as T, v as E, x as D, y as O } from "./select-CDUxhHZg.js";
8
+ import { a as ee, s as k } from "./assertNever-DywGMo-S.js";
9
9
  import { t as te } from "./clsx-CoeGtWvn.js";
10
10
  import { t as A } from "./react-dom-DdqGVp5N.js";
11
11
  import { t as j } from "./jsx-runtime-D8btoEHk.js";
12
- import { $t as M, _n as N, an as P, cn as ne, dn as F, en as re, fn as ie, gn as ae, hn as oe, in as se, l as ce, mn as I, n as le, nn as ue, o as de, on as fe, pn as pe, rn as me, s as he, sn as ge, un as _e, vn as ve } from "./use-restore-focus-DlX1CSiq.js";
12
+ import { _n as M, an as N, cn as P, dn as F, en as ne, fn as re, gn as ie, hn as I, in as ae, l as oe, ln as se, mn as ce, n as le, o as ue, on as de, pn as fe, rn as pe, s as me, sn as he, tn as ge, vn as _e, yn as ve } from "./use-restore-focus-DaTVz6S6.js";
13
13
  import { t as ye } from "./debounce-DrhhziJv.js";
14
14
  import { t as be } from "./useEvent-BoN7U38T.js";
15
15
  import { t as xe } from "./once-NnpX_HnX.js";
@@ -61,7 +61,7 @@ var Ne = typeof Ae == "function" ? Me : ke, R = j(), Pe = Object.defineProperty,
61
61
  }), Ie = "rovingFocusGroup.onEntryFocus", Le = {
62
62
  bubbles: !1,
63
63
  cancelable: !0
64
- }, Re = "RovingFocusGroup", [ze, Be, Ve] = ee(Re), [He, Ue] = ae(Re, [Ve]), We = {
64
+ }, Re = "RovingFocusGroup", [ze, Be, Ve] = ee(Re), [He, Ue] = M(Re, [Ve]), We = {
65
65
  Vertical: "vertical",
66
66
  Horizontal: "horizontal"
67
67
  }, Ge = {
@@ -79,12 +79,12 @@ var Ne = typeof Ae == "function" ? Me : ke, R = j(), Pe = Object.defineProperty,
79
79
  })
80
80
  });
81
81
  }, "RovingFocusGroup")), Ye = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Fe(function(e, t) {
82
- let { __scopeRovingFocusGroup: n, orientation: r, loop: a = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: c, onCurrentTabStopIdChange: l, onEntryFocus: u, preventScrollOnEntryFocus: d = !1, ...f } = e, p = L.useRef(null), h = i(t, p), g = m(o), [_, v] = pe({
82
+ let { __scopeRovingFocusGroup: n, orientation: r, loop: a = !1, dir: o, currentTabStopId: s, defaultCurrentTabStopId: c, onCurrentTabStopIdChange: l, onEntryFocus: u, preventScrollOnEntryFocus: d = !1, ...f } = e, p = L.useRef(null), h = i(t, p), g = m(o), [_, v] = ce({
83
83
  prop: s,
84
84
  defaultProp: c ?? null,
85
85
  onChange: l,
86
86
  caller: Re
87
- }), [y, b] = L.useState(!1), x = _e(u), S = Be(n), C = L.useRef(!1), [w, T] = L.useState(0);
87
+ }), [y, b] = L.useState(!1), x = F(u), S = Be(n), C = L.useRef(!1), [w, T] = L.useState(0);
88
88
  return L.useEffect(() => {
89
89
  let e = p.current;
90
90
  if (e) return e.addEventListener(Ie, x), () => e.removeEventListener(Ie, x);
@@ -98,7 +98,7 @@ var Ne = typeof Ae == "function" ? Me : ke, R = j(), Pe = Object.defineProperty,
98
98
  onItemShiftTab: L.useCallback(() => b(!0), []),
99
99
  onFocusableItemAdd: L.useCallback(() => T((e) => e + 1), []),
100
100
  onFocusableItemRemove: L.useCallback(() => T((e) => e - 1), []),
101
- children: /* @__PURE__ */ (0, R.jsx)(N.div, {
101
+ children: /* @__PURE__ */ (0, R.jsx)(_e.div, {
102
102
  tabIndex: y || w === 0 ? -1 : 0,
103
103
  "data-orientation": r,
104
104
  ...f,
@@ -129,8 +129,8 @@ var Ne = typeof Ae == "function" ? Me : ke, R = j(), Pe = Object.defineProperty,
129
129
  })
130
130
  });
131
131
  }, "RovingFocusGroupImpl")), Xe = "RovingFocusGroupItem", Ze = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ Fe(function(e, t) {
132
- let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = F(), l = a || c, u = qe(Xe, n), d = u.currentTabStopId === l, f = Be(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u, g = Ne();
133
- return oe(() => {
132
+ let { __scopeRovingFocusGroup: n, focusable: r = !0, active: i = !1, tabStopId: a, children: o, ...s } = e, c = re(), l = a || c, u = qe(Xe, n), d = u.currentTabStopId === l, f = Be(n), { onFocusableItemAdd: p, onFocusableItemRemove: m, currentTabStopId: h } = u, g = Ne();
133
+ return ie(() => {
134
134
  if (g && r) return p(), () => m();
135
135
  }, [
136
136
  g,
@@ -149,7 +149,7 @@ var Ne = typeof Ae == "function" ? Me : ke, R = j(), Pe = Object.defineProperty,
149
149
  id: l,
150
150
  focusable: r,
151
151
  active: i,
152
- children: /* @__PURE__ */ (0, R.jsx)(N.span, {
152
+ children: /* @__PURE__ */ (0, R.jsx)(_e.span, {
153
153
  tabIndex: d ? 0 : -1,
154
154
  "data-orientation": u.orientation,
155
155
  ...s,
@@ -234,12 +234,12 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
234
234
  }, ut = {
235
235
  ltr: ["ArrowLeft"],
236
236
  rtl: ["ArrowRight"]
237
- }, dt = "Menu", [ft, pt, mt] = ee(dt), [ht, gt] = ae(dt, [
237
+ }, dt = "Menu", [ft, pt, mt] = ee(dt), [ht, gt] = M(dt, [
238
238
  mt,
239
239
  f,
240
240
  Ue
241
241
  ]), _t = f(), vt = Ue(), [yt, bt] = ht(dt), [xt, St] = ht(dt), Ct = /* @__PURE__ */ z((e) => {
242
- let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = _t(t), [c, l] = L.useState(null), u = L.useRef(!1), f = _e(a), p = m(i);
242
+ let { __scopeMenu: t, open: n = !1, children: r, dir: i, onOpenChange: a, modal: o = !0 } = e, s = _t(t), [c, l] = L.useState(null), u = L.useRef(!1), f = F(a), p = m(i);
243
243
  return L.useEffect(() => {
244
244
  let e = /* @__PURE__ */ z(() => {
245
245
  u.current = !0, document.addEventListener("pointerdown", t, {
@@ -287,9 +287,9 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
287
287
  return /* @__PURE__ */ (0, R.jsx)(Et, {
288
288
  scope: t,
289
289
  forceMount: n,
290
- children: /* @__PURE__ */ (0, R.jsx)(ie, {
290
+ children: /* @__PURE__ */ (0, R.jsx)(fe, {
291
291
  present: n || a.open,
292
- children: /* @__PURE__ */ (0, R.jsx)(me, {
292
+ children: /* @__PURE__ */ (0, R.jsx)(ae, {
293
293
  asChild: !0,
294
294
  container: i,
295
295
  children: r
@@ -300,7 +300,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
300
300
  let n = Dt(B, e.__scopeMenu), { forceMount: r = n.forceMount, ...i } = e, a = bt(B, e.__scopeMenu), o = St(B, e.__scopeMenu);
301
301
  return /* @__PURE__ */ (0, R.jsx)(ft.Provider, {
302
302
  scope: e.__scopeMenu,
303
- children: /* @__PURE__ */ (0, R.jsx)(ie, {
303
+ children: /* @__PURE__ */ (0, R.jsx)(fe, {
304
304
  present: r || a.open,
305
305
  children: /* @__PURE__ */ (0, R.jsx)(ft.Slot, {
306
306
  scope: e.__scopeMenu,
@@ -318,7 +318,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
318
318
  let n = bt(B, e.__scopeMenu), r = L.useRef(null), a = i(t, r);
319
319
  return L.useEffect(() => {
320
320
  let e = r.current;
321
- if (e) return M(e);
321
+ if (e) return ne(e);
322
322
  }, []), /* @__PURE__ */ (0, R.jsx)(Ft, {
323
323
  ...e,
324
324
  ref: a,
@@ -340,45 +340,45 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
340
340
  });
341
341
  }, "MenuRootContentNonModal")), Pt = a("MenuContent.ScrollLock"), Ft = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
342
342
  let { __scopeMenu: n, loop: r = !1, trapFocus: a, onOpenAutoFocus: o, onCloseAutoFocus: s, disableOutsidePointerEvents: c, onEntryFocus: l, onEscapeKeyDown: d, onPointerDownOutside: f, onFocusOutside: p, onInteractOutside: m, onDismiss: h, disableOutsideScroll: g, ..._ } = e, v = bt(B, n), y = St(B, n), b = _t(n), x = vt(n), S = pt(n), [C, w] = L.useState(null), T = L.useRef(null), [E, D] = L.useState(null);
343
- fe(E);
344
- let { nodes: O, registry: ee } = ge(), k = !!(a || g), te = i(t, T, v.onContentChange, D), A = L.useRef(0), j = L.useRef(""), M = L.useRef(0), N = L.useRef(null), F = L.useRef("right"), ie = L.useRef(0), ae = L.useMemo(() => g ? [T, ...O.map((e) => ({ current: e }))] : [], [
343
+ he(E);
344
+ let { nodes: O, registry: ee } = P(), k = !!(a || g), te = i(t, T, v.onContentChange, D), A = L.useRef(0), j = L.useRef(""), M = L.useRef(0), F = L.useRef(null), ne = L.useRef("right"), re = L.useRef(0), ie = L.useMemo(() => g ? [T, ...O.map((e) => ({ current: e }))] : [], [
345
345
  T,
346
346
  O,
347
347
  g
348
- ]), oe = g ? re : L.Fragment, ce = g ? {
348
+ ]), ae = g ? ge : L.Fragment, oe = g ? {
349
349
  as: Pt,
350
350
  allowPinchZoom: !0,
351
- shards: ae
352
- } : void 0, le = /* @__PURE__ */ z((e) => {
351
+ shards: ie
352
+ } : void 0, ce = /* @__PURE__ */ z((e) => {
353
353
  let t = j.current + e, n = S().filter((e) => !e.disabled), r = document.activeElement, i = n.find((e) => e.ref.current === r)?.textValue, a = pn(n.map((e) => e.textValue), t, i), o = n.find((e) => e.textValue === a)?.ref.current;
354
354
  function s(e) {
355
355
  j.current = e, window.clearTimeout(A.current), e !== "" && (A.current = window.setTimeout(() => s(""), 1e3));
356
356
  }
357
357
  z(s, "updateSearch"), s(t), o && setTimeout(() => o.focus());
358
358
  }, "handleTypeaheadSearch");
359
- L.useEffect(() => () => window.clearTimeout(A.current), []), ue();
360
- let de = L.useCallback((e) => F.current === N.current?.side && hn(e, N.current?.area), []);
359
+ L.useEffect(() => () => window.clearTimeout(A.current), []), pe();
360
+ let le = L.useCallback((e) => ne.current === F.current?.side && hn(e, F.current?.area), []);
361
361
  return /* @__PURE__ */ (0, R.jsx)(kt, {
362
362
  scope: n,
363
363
  searchRef: j,
364
364
  onItemEnter: L.useCallback((e) => {
365
- de(e) && e.preventDefault();
366
- }, [de]),
365
+ le(e) && e.preventDefault();
366
+ }, [le]),
367
367
  onItemLeave: L.useCallback((e) => {
368
- de(e) || (T.current?.focus(), w(null));
369
- }, [de]),
368
+ le(e) || (T.current?.focus(), w(null));
369
+ }, [le]),
370
370
  onTriggerLeave: L.useCallback((e) => {
371
- de(e) && e.preventDefault();
372
- }, [de]),
371
+ le(e) && e.preventDefault();
372
+ }, [le]),
373
373
  pointerGraceTimerRef: M,
374
374
  onPointerGraceIntentChange: L.useCallback((e) => {
375
- N.current = e;
375
+ F.current = e;
376
376
  }, []),
377
- children: /* @__PURE__ */ (0, R.jsx)(P, {
377
+ children: /* @__PURE__ */ (0, R.jsx)(de, {
378
378
  registry: k ? ee : null,
379
- children: /* @__PURE__ */ (0, R.jsx)(oe, {
380
- ...ce,
381
- children: /* @__PURE__ */ (0, R.jsx)(se, {
379
+ children: /* @__PURE__ */ (0, R.jsx)(ae, {
380
+ ...oe,
381
+ children: /* @__PURE__ */ (0, R.jsx)(N, {
382
382
  asChild: !0,
383
383
  trapped: a,
384
384
  branches: O,
@@ -386,7 +386,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
386
386
  e.preventDefault(), T.current?.focus({ preventScroll: !0 });
387
387
  }),
388
388
  onUnmountAutoFocus: s,
389
- children: /* @__PURE__ */ (0, R.jsx)(ne, {
389
+ children: /* @__PURE__ */ (0, R.jsx)(se, {
390
390
  asChild: !0,
391
391
  disableOutsidePointerEvents: c,
392
392
  onEscapeKeyDown: d,
@@ -421,7 +421,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
421
421
  },
422
422
  onKeyDown: I(_.onKeyDown, (e) => {
423
423
  let t = e.target.closest("[data-radix-menu-content]") === e.currentTarget, n = e.ctrlKey || e.altKey || e.metaKey, r = e.key.length === 1;
424
- t && (e.key === "Tab" && e.preventDefault(), !n && r && le(e.key));
424
+ t && (e.key === "Tab" && e.preventDefault(), !n && r && ce(e.key));
425
425
  let i = T.current;
426
426
  if (e.target !== i || !ct.includes(e.key)) return;
427
427
  e.preventDefault();
@@ -432,10 +432,10 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
432
432
  e.currentTarget.contains(e.target) || (window.clearTimeout(A.current), j.current = "");
433
433
  }),
434
434
  onPointerMove: I(e.onPointerMove, gn((e) => {
435
- let t = e.target, n = ie.current !== e.clientX;
435
+ let t = e.target, n = re.current !== e.clientX;
436
436
  if (e.currentTarget.contains(t) && n) {
437
- let t = e.clientX > ie.current ? "right" : "left";
438
- F.current = t, ie.current = e.clientX;
437
+ let t = e.clientX > re.current ? "right" : "left";
438
+ ne.current = t, re.current = e.clientX;
439
439
  }
440
440
  }))
441
441
  })
@@ -447,14 +447,14 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
447
447
  });
448
448
  }, "MenuContentImpl")), It = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
449
449
  let { __scopeMenu: n, ...r } = e;
450
- return /* @__PURE__ */ (0, R.jsx)(N.div, {
450
+ return /* @__PURE__ */ (0, R.jsx)(_e.div, {
451
451
  role: "group",
452
452
  ...r,
453
453
  ref: t
454
454
  });
455
455
  }, "MenuGroup")), Lt = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
456
456
  let { __scopeMenu: n, ...r } = e;
457
- return /* @__PURE__ */ (0, R.jsx)(N.div, {
457
+ return /* @__PURE__ */ (0, R.jsx)(_e.div, {
458
458
  ...r,
459
459
  ref: t
460
460
  });
@@ -497,7 +497,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
497
497
  asChild: !0,
498
498
  ...c,
499
499
  focusable: !r,
500
- children: /* @__PURE__ */ (0, R.jsx)(N.div, {
500
+ children: /* @__PURE__ */ (0, R.jsx)(_e.div, {
501
501
  role: "menuitem",
502
502
  "data-highlighted": d ? "" : void 0,
503
503
  "aria-disabled": r || void 0,
@@ -531,7 +531,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
531
531
  value: void 0,
532
532
  onValueChange: /* @__PURE__ */ z(() => {}, "onValueChange")
533
533
  }), Gt = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
534
- let { value: n, onValueChange: r, ...i } = e, a = _e(r);
534
+ let { value: n, onValueChange: r, ...i } = e, a = F(r);
535
535
  return /* @__PURE__ */ (0, R.jsx)(Ut, {
536
536
  scope: e.__scopeMenu,
537
537
  value: n,
@@ -557,9 +557,9 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
557
557
  });
558
558
  }, "MenuRadioItem")), Jt = "MenuItemIndicator", [Yt, Xt] = ht(Jt, { checked: !1 }), Zt = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
559
559
  let { __scopeMenu: n, forceMount: r, ...i } = e, a = Xt(Jt, n);
560
- return /* @__PURE__ */ (0, R.jsx)(ie, {
560
+ return /* @__PURE__ */ (0, R.jsx)(fe, {
561
561
  present: r || ln(a.checked) || a.checked === !0,
562
- children: /* @__PURE__ */ (0, R.jsx)(N.span, {
562
+ children: /* @__PURE__ */ (0, R.jsx)(_e.span, {
563
563
  ...i,
564
564
  ref: t,
565
565
  "data-state": un(a.checked)
@@ -567,14 +567,14 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
567
567
  });
568
568
  }, "MenuItemIndicator")), Qt = /* @__PURE__ */ L.forwardRef(/* @__PURE__ */ z(function(e, t) {
569
569
  let { __scopeMenu: n, ...r } = e;
570
- return /* @__PURE__ */ (0, R.jsx)(N.div, {
570
+ return /* @__PURE__ */ (0, R.jsx)(_e.div, {
571
571
  role: "separator",
572
572
  "aria-orientation": "horizontal",
573
573
  ...r,
574
574
  ref: t
575
575
  });
576
576
  }, "MenuSeparator")), $t = "MenuSub", [en, tn] = ht($t), nn = /* @__PURE__ */ z((e) => {
577
- let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = bt($t, t), o = _t(t), [s, c] = L.useState(null), [l, u] = L.useState(null), f = _e(i);
577
+ let { __scopeMenu: t, children: n, open: r = !1, onOpenChange: i } = e, a = bt($t, t), o = _t(t), [s, c] = L.useState(null), [l, u] = L.useState(null), f = F(i);
578
578
  return L.useEffect(() => (a.open === !1 && f(!1), () => f(!1)), [a.open, f]), /* @__PURE__ */ (0, R.jsx)(d, {
579
579
  ...o,
580
580
  children: /* @__PURE__ */ (0, R.jsx)(yt, {
@@ -585,8 +585,8 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
585
585
  onContentChange: u,
586
586
  children: /* @__PURE__ */ (0, R.jsx)(en, {
587
587
  scope: t,
588
- contentId: F(),
589
- triggerId: F(),
588
+ contentId: re(),
589
+ triggerId: re(),
590
590
  trigger: s,
591
591
  onTriggerChange: c,
592
592
  children: n
@@ -667,7 +667,7 @@ var rt = Object.defineProperty, z = (e, t) => rt(e, "name", {
667
667
  let n = Dt(B, e.__scopeMenu), { forceMount: r = n.forceMount, align: a = "start", ...o } = e, s = bt(B, e.__scopeMenu), c = St(B, e.__scopeMenu), l = tn(on, e.__scopeMenu), u = L.useRef(null), d = i(t, u);
668
668
  return /* @__PURE__ */ (0, R.jsx)(ft.Provider, {
669
669
  scope: e.__scopeMenu,
670
- children: /* @__PURE__ */ (0, R.jsx)(ie, {
670
+ children: /* @__PURE__ */ (0, R.jsx)(fe, {
671
671
  present: r || s.open,
672
672
  children: /* @__PURE__ */ (0, R.jsx)(ft.Slot, {
673
673
  scope: e.__scopeMenu,
@@ -753,8 +753,8 @@ z(gn, "whenMouse");
753
753
  var _n = Object.defineProperty, V = (e, t) => _n(e, "name", {
754
754
  value: t,
755
755
  configurable: !0
756
- }), vn = "DropdownMenu", [yn, bn] = ae(vn, [gt]), H = gt(), [xn, Sn] = yn(vn), Cn = /* @__PURE__ */ V((e) => {
757
- let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = H(t), l = L.useRef(null), [u, d] = pe({
756
+ }), vn = "DropdownMenu", [yn, bn] = M(vn, [gt]), H = gt(), [xn, Sn] = yn(vn), Cn = /* @__PURE__ */ V((e) => {
757
+ let { __scopeDropdownMenu: t, children: n, dir: r, open: i, defaultOpen: a, onOpenChange: o, modal: s = !0 } = e, c = H(t), l = L.useRef(null), [u, d] = ce({
758
758
  prop: i,
759
759
  defaultProp: a ?? !1,
760
760
  onChange: o,
@@ -762,9 +762,9 @@ var _n = Object.defineProperty, V = (e, t) => _n(e, "name", {
762
762
  });
763
763
  return /* @__PURE__ */ (0, R.jsx)(xn, {
764
764
  scope: t,
765
- triggerId: F(),
765
+ triggerId: re(),
766
766
  triggerRef: l,
767
- contentId: F(),
767
+ contentId: re(),
768
768
  open: u,
769
769
  onOpenChange: d,
770
770
  onOpenToggle: L.useCallback(() => d((e) => !e), [d]),
@@ -783,7 +783,7 @@ var _n = Object.defineProperty, V = (e, t) => _n(e, "name", {
783
783
  return /* @__PURE__ */ (0, R.jsx)(wt, {
784
784
  asChild: !0,
785
785
  ...s,
786
- children: /* @__PURE__ */ (0, R.jsx)(N.button, {
786
+ children: /* @__PURE__ */ (0, R.jsx)(_e.button, {
787
787
  type: "button",
788
788
  id: o.triggerId,
789
789
  "aria-haspopup": "menu",
@@ -886,7 +886,7 @@ var _n = Object.defineProperty, V = (e, t) => _n(e, "name", {
886
886
  ref: t
887
887
  });
888
888
  }, "DropdownMenuSeparator")), In = /* @__PURE__ */ V((e) => {
889
- let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: i, defaultOpen: a } = e, o = H(t), [s, c] = pe({
889
+ let { __scopeDropdownMenu: t, children: n, open: r, onOpenChange: i, defaultOpen: a } = e, o = H(t), [s, c] = ce({
890
890
  prop: r,
891
891
  defaultProp: a ?? !1,
892
892
  onChange: i,
@@ -3403,10 +3403,10 @@ function Gs(e) {
3403
3403
  (0, L.useEffect)(() => {
3404
3404
  N === "touch" ? O(600) : N ? O(400) : N || v();
3405
3405
  }, [N]);
3406
- let [ne, F] = (0, L.useState)(null);
3406
+ let [F, ne] = (0, L.useState)(null);
3407
3407
  return (0, L.useEffect)(() => {
3408
- ne === "touch" ? k(600) : ne ? k(400) : ne || v();
3409
- }, [ne]), {
3408
+ F === "touch" ? k(600) : F ? k(400) : F || v();
3409
+ }, [F]), {
3410
3410
  spinButtonProps: {
3411
3411
  role: "spinbutton",
3412
3412
  "aria-valuenow": n !== void 0 && !isNaN(n) ? n : void 0,
@@ -3435,13 +3435,13 @@ function Gs(e) {
3435
3435
  },
3436
3436
  decrementButtonProps: {
3437
3437
  onPressStart: (e) => {
3438
- _(), e.pointerType === "touch" ? (A(window, "pointercancel", w, { capture: !0 }), M.current = !1, F("touch")) : (d?.(), F("mouse"));
3438
+ _(), e.pointerType === "touch" ? (A(window, "pointercancel", w, { capture: !0 }), M.current = !1, ne("touch")) : (d?.(), ne("mouse"));
3439
3439
  },
3440
3440
  onPressUp: (e) => {
3441
- _(), e.pointerType === "touch" && (M.current = !0), j(), F(null);
3441
+ _(), e.pointerType === "touch" && (M.current = !0), j(), ne(null);
3442
3442
  },
3443
3443
  onPressEnd: (e) => {
3444
- _(), e.pointerType === "touch" && !g.current && M.current && d?.(), M.current = !1, F(null);
3444
+ _(), e.pointerType === "touch" && !g.current && M.current && d?.(), M.current = !1, ne(null);
3445
3445
  },
3446
3446
  onFocus: x,
3447
3447
  onBlur: S
@@ -3461,10 +3461,10 @@ function qs(e, t, n) {
3461
3461
  }), n.current?.value !== e && Ia(n.current?.value ?? "", "assertive");
3462
3462
  }, [k, n]), M = di(r), { focusProps: N } = gi({ onBlur() {
3463
3463
  j();
3464
- } }), P = D(p), ne = (0, L.useMemo)(() => P.resolvedOptions(), [P]), F = D({
3464
+ } }), P = D(p), F = (0, L.useMemo)(() => P.resolvedOptions(), [P]), ne = D({
3465
3465
  ...p,
3466
3466
  currencySign: void 0
3467
- }), { spinButtonProps: re, incrementButtonProps: ie, decrementButtonProps: ae } = Gs({
3467
+ }), { spinButtonProps: re, incrementButtonProps: ie, decrementButtonProps: I } = Gs({
3468
3468
  isDisabled: o,
3469
3469
  isReadOnly: s,
3470
3470
  isRequired: c,
@@ -3475,19 +3475,19 @@ function qs(e, t, n) {
3475
3475
  onDecrement: T,
3476
3476
  onDecrementToMin: E,
3477
3477
  value: O,
3478
- textValue: (0, L.useMemo)(() => isNaN(O) ? "" : F.format(O), [F, O])
3479
- }), [oe, se] = (0, L.useState)(!1), { focusWithinProps: ce } = io({
3478
+ textValue: (0, L.useMemo)(() => isNaN(O) ? "" : ne.format(O), [ne, O])
3479
+ }), [ae, oe] = (0, L.useState)(!1), { focusWithinProps: se } = io({
3480
3480
  isDisabled: o,
3481
- onFocusWithinChange: se
3481
+ onFocusWithinChange: oe
3482
3482
  });
3483
3483
  ss({
3484
3484
  onScroll: (0, L.useCallback)((e) => {
3485
3485
  Math.abs(e.deltaY) <= Math.abs(e.deltaX) || (e.deltaY > 0 ? C() : e.deltaY < 0 && T());
3486
3486
  }, [T, C]),
3487
- isDisabled: x || o || s || !oe
3487
+ isDisabled: x || o || s || !ae
3488
3488
  }, n);
3489
- let I = (ne.maximumFractionDigits ?? 0) > 0, le = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, ue = "numeric";
3490
- xr() ? le ? ue = "text" : I && (ue = "decimal") : Er() && (le ? ue = "numeric" : I && (ue = "decimal"));
3489
+ let ce = (F.maximumFractionDigits ?? 0) > 0, le = t.minValue === void 0 || isNaN(t.minValue) || t.minValue < 0, ue = "numeric";
3490
+ xr() ? le ? ue = "text" : ce && (ue = "decimal") : Er() && (le ? ue = "numeric" : ce && (ue = "decimal"));
3491
3491
  let de = (e) => {
3492
3492
  t.validate(e) && t.setInputValue(e);
3493
3493
  }, fe = (t) => {
@@ -3555,7 +3555,7 @@ function qs(e, t, n) {
3555
3555
  allowFocusWhenDisabled: !0,
3556
3556
  isDisabled: !t.canIncrement,
3557
3557
  onPressStart: we
3558
- }), Ae = q(ae, {
3558
+ }), Ae = q(I, {
3559
3559
  "aria-label": i || A.format("decrease", { fieldLabel: Te }).trim(),
3560
3560
  id: Ee && !i ? Oe : null,
3561
3561
  "aria-labelledby": Ee && !i ? `${Oe} ${Ee}` : null,
@@ -3568,7 +3568,7 @@ function qs(e, t, n) {
3568
3568
  });
3569
3569
  return {
3570
3570
  groupProps: {
3571
- ...ce,
3571
+ ...se,
3572
3572
  role: "group",
3573
3573
  "aria-disabled": o,
3574
3574
  "aria-invalid": he ? "true" : void 0
@@ -5369,9 +5369,9 @@ function ru(e) {
5369
5369
  }, P = () => {
5370
5370
  let e = M("-", n);
5371
5371
  e === p && _(C(e)), m(e), w.commitValidation();
5372
- }, ne = () => {
5373
- n != null && (m(lo(n, t, n, T)), w.commitValidation());
5374
5372
  }, F = () => {
5373
+ n != null && (m(lo(n, t, n, T)), w.commitValidation());
5374
+ }, ne = () => {
5375
5375
  t != null && (m(t), w.commitValidation());
5376
5376
  }, re = (0, L.useMemo)(() => !l && !u && (isNaN(A) || n === void 0 || isNaN(n) || lo(A, t, n, T) > A || au("+", A, T) <= n), [
5377
5377
  l,
@@ -5387,14 +5387,14 @@ function ru(e) {
5387
5387
  n,
5388
5388
  T,
5389
5389
  A
5390
- ]), ae = (e) => y.isValidPartialNumber(e, t, n);
5390
+ ]), I = (e) => y.isValidPartialNumber(e, t, n);
5391
5391
  return {
5392
5392
  ...w,
5393
- validate: ae,
5393
+ validate: I,
5394
5394
  increment: N,
5395
- incrementToMax: ne,
5395
+ incrementToMax: F,
5396
5396
  decrement: P,
5397
- decrementToMin: F,
5397
+ decrementToMin: ne,
5398
5398
  canIncrement: re,
5399
5399
  canDecrement: ie,
5400
5400
  minValue: t,
@@ -5655,12 +5655,12 @@ var Su = L.forwardRef((e, t) => {
5655
5655
  className: g,
5656
5656
  children: [S, N]
5657
5657
  }), r[45] = S, r[46] = N, r[47] = g, r[48] = P) : P = r[48];
5658
- let ne;
5659
- return r[49] !== s || r[50] !== P || r[51] !== f ? (ne = /* @__PURE__ */ (0, R.jsx)(cu, {
5658
+ let F;
5659
+ return r[49] !== s || r[50] !== P || r[51] !== f ? (F = /* @__PURE__ */ (0, R.jsx)(cu, {
5660
5660
  ...s,
5661
5661
  formatOptions: f,
5662
5662
  children: P
5663
- }), r[49] = s, r[50] = P, r[51] = f, r[52] = ne) : ne = r[52], ne;
5663
+ }), r[49] = s, r[50] = P, r[51] = f, r[52] = F) : F = r[52], F;
5664
5664
  });
5665
5665
  Su.displayName = "NumberField";
5666
5666
  var Cu = (e) => {
@@ -5812,7 +5812,7 @@ var Au = L.forwardRef((e, t) => {
5812
5812
  defaultProp: o,
5813
5813
  onChange: i
5814
5814
  }, n[4] = o, n[5] = i, n[6] = a.value, n[7] = c) : c = n[7];
5815
- let [l, u] = pe(c), d, f;
5815
+ let [l, u] = ce(c), d, f;
5816
5816
  n[8] === l ? (d = n[9], f = n[10]) : (d = () => {
5817
5817
  s(l || "");
5818
5818
  }, f = [l], n[8] = l, n[9] = d, n[10] = f), L.useEffect(d, f);
@@ -5836,7 +5836,7 @@ var Au = L.forwardRef((e, t) => {
5836
5836
  Au.displayName = "OnBlurredInput";
5837
5837
  //#endregion
5838
5838
  //#region src/components/ui/dropdown-menu.tsx
5839
- var ju = Cn, Mu = Tn, Nu = kn, Pu = de(En), Fu = he(On), Iu = he(Rn), Lu = In, Ru = L.forwardRef((e, t) => {
5839
+ var ju = Cn, Mu = Tn, Nu = kn, Pu = ue(En), Fu = me(On), Iu = me(Rn), Lu = In, Ru = L.forwardRef((e, t) => {
5840
5840
  let n = (0, X.c)(17), r, i, a, o, s;
5841
5841
  n[0] === e ? (r = n[1], i = n[2], a = n[3], o = n[4], s = n[5]) : ({className: i, inset: a, showChevron: s, children: r, ...o} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = o, n[5] = s);
5842
5842
  let c = s === void 0 || s, l;
@@ -5879,7 +5879,7 @@ var Bu = L.forwardRef((e, t) => {
5879
5879
  maxHeight: d
5880
5880
  }, r[8] = a.style, r[9] = d, r[10] = f) : f = r[10];
5881
5881
  let p;
5882
- return r[11] !== a || r[12] !== t || r[13] !== l || r[14] !== u || r[15] !== f ? (p = /* @__PURE__ */ (0, R.jsx)(Pu, { children: /* @__PURE__ */ (0, R.jsx)(ce, { children: /* @__PURE__ */ (0, R.jsx)(Fu, {
5882
+ return r[11] !== a || r[12] !== t || r[13] !== l || r[14] !== u || r[15] !== f ? (p = /* @__PURE__ */ (0, R.jsx)(Pu, { children: /* @__PURE__ */ (0, R.jsx)(oe, { children: /* @__PURE__ */ (0, R.jsx)(Fu, {
5883
5883
  ref: t,
5884
5884
  sideOffset: l,
5885
5885
  className: u,
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./src-D5uZaZib.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
3
  import "./chunk-DU6HZSFF-4SDIhUTY.js";
4
- import "./mermaid-DRT7MewO.js";
4
+ import "./mermaid-D1CZDNoB.js";
5
5
  import { f as n, t as r } from "./mermaid-parser.core-DtOnl7m4.js";
6
- import { n as i, r as a, t as o } from "./chunk-SVP7TREG-TQe5CTi-.js";
6
+ import { n as i, r as a, t as o } from "./chunk-SVP7TREG-CtwnwAE6.js";
7
7
  import { t as s } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/ebnfDiagram-PWID7BFC.mjs
9
9
  var c = n().RailroadEbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
@@ -10,7 +10,7 @@ import "./chunk-4HAMMTFA-qKgadZwy.js";
10
10
  import "./chunk-GVQU2GXP-BkolpSXU.js";
11
11
  import "./chunk-L3NEJ4N5-B-BFQp9t.js";
12
12
  import "./chunk-OSK3NFVY-BzfZ4VBG.js";
13
- import { n as _, r as v } from "./mermaid-DRT7MewO.js";
13
+ import { n as _, r as v } from "./mermaid-D1CZDNoB.js";
14
14
  import { t as y } from "./chunk-XXDRQBXY-BM-YIt-_.js";
15
15
  import { t as b } from "./chunk-POPQ4Y6H-BFSZel4w.js";
16
16
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/erDiagram-RLTQ6QDP.mjs
@@ -3,14 +3,14 @@ import { g as t, h as n, n as r, p as i, r as a } from "./button-qQhINE7z.js";
3
3
  import { t as o } from "./react-Bgs_wQh3.js";
4
4
  import { t as s } from "./compiler-runtime-C5KHtL5D.js";
5
5
  import { t as c } from "./jsx-runtime-D8btoEHk.js";
6
- import { Gt as l, Jt as u, Kt as d, Qt as f, Wt as p, Xt as m, Yt as h, Zt as g, at as _, gn as v, l as y, lt as b, mn as ee, o as x, qt as te, t as S } from "./use-restore-focus-DlX1CSiq.js";
6
+ import { $t as l, Gt as u, Jt as d, Kt as f, Qt as p, Xt as m, Yt as h, Zt as g, _n as _, hn as v, l as y, o as ee, ot as b, qt as x, t as te, ut as S } from "./use-restore-focus-DaTVz6S6.js";
7
7
  //#region ../node_modules/.pnpm/@radix-ui+react-alert-dialog@1.2.1_@types+react-dom@19.3.0_@types+react@19.3.0__@types+_9fb8ed36b898ecb69373e4d64f11612c/node_modules/@radix-ui/react-alert-dialog/dist/index.mjs
8
8
  var C = /* @__PURE__ */ e(o(), 1), w = c(), T = Object.defineProperty, E = (e, t) => T(e, "name", {
9
9
  value: t,
10
10
  configurable: !0
11
- }), [ne, re] = v("AlertDialog", [f]), D = f(), ie = /* @__PURE__ */ E((e) => {
11
+ }), [ne, re] = _("AlertDialog", [l]), D = l(), ie = /* @__PURE__ */ E((e) => {
12
12
  let { __scopeAlertDialog: t, ...n } = e, r = D(t);
13
- return /* @__PURE__ */ (0, w.jsx)(p, {
13
+ return /* @__PURE__ */ (0, w.jsx)(u, {
14
14
  ...r,
15
15
  ...n,
16
16
  modal: !0
@@ -18,7 +18,7 @@ var C = /* @__PURE__ */ e(o(), 1), w = c(), T = Object.defineProperty, E = (e, t
18
18
  }, "AlertDialog");
19
19
  C.forwardRef(/* @__PURE__ */ E(function(e, t) {
20
20
  let { __scopeAlertDialog: n, ...r } = e, i = D(n);
21
- return /* @__PURE__ */ (0, w.jsx)(g, {
21
+ return /* @__PURE__ */ (0, w.jsx)(p, {
22
22
  ...i,
23
23
  ...r,
24
24
  ref: t
@@ -26,13 +26,13 @@ C.forwardRef(/* @__PURE__ */ E(function(e, t) {
26
26
  }, "AlertDialogTrigger"));
27
27
  var O = /* @__PURE__ */ E((e) => {
28
28
  let { __scopeAlertDialog: t, ...n } = e, r = D(t);
29
- return /* @__PURE__ */ (0, w.jsx)(h, {
29
+ return /* @__PURE__ */ (0, w.jsx)(m, {
30
30
  ...r,
31
31
  ...n
32
32
  });
33
33
  }, "AlertDialogPortal"), k = C.forwardRef(/* @__PURE__ */ E(function(e, t) {
34
34
  let { __scopeAlertDialog: n, ...r } = e, i = D(n);
35
- return /* @__PURE__ */ (0, w.jsx)(u, {
35
+ return /* @__PURE__ */ (0, w.jsx)(h, {
36
36
  ...i,
37
37
  ...r,
38
38
  ref: t
@@ -42,12 +42,12 @@ var O = /* @__PURE__ */ E((e) => {
42
42
  return /* @__PURE__ */ (0, w.jsx)(A, {
43
43
  scope: n,
44
44
  cancelRef: l,
45
- children: /* @__PURE__ */ (0, w.jsx)(d, {
45
+ children: /* @__PURE__ */ (0, w.jsx)(x, {
46
46
  role: "alertdialog",
47
47
  ...o,
48
48
  ...a,
49
49
  ref: c,
50
- onOpenAutoFocus: ee(a.onOpenAutoFocus, (e) => {
50
+ onOpenAutoFocus: v(a.onOpenAutoFocus, (e) => {
51
51
  e.preventDefault(), l.current?.focus({ preventScroll: !0 });
52
52
  }),
53
53
  onPointerDownOutside: (e) => e.preventDefault(),
@@ -57,33 +57,33 @@ var O = /* @__PURE__ */ E((e) => {
57
57
  });
58
58
  }, "AlertDialogContent")), N = C.forwardRef(/* @__PURE__ */ E(function(e, t) {
59
59
  let { __scopeAlertDialog: n, ...r } = e, i = D(n);
60
- return /* @__PURE__ */ (0, w.jsx)(m, {
60
+ return /* @__PURE__ */ (0, w.jsx)(g, {
61
61
  ...i,
62
62
  ...r,
63
63
  ref: t
64
64
  });
65
65
  }, "AlertDialogTitle")), P = C.forwardRef(/* @__PURE__ */ E(function(e, t) {
66
66
  let { __scopeAlertDialog: n, ...r } = e, i = D(n);
67
- return /* @__PURE__ */ (0, w.jsx)(te, {
67
+ return /* @__PURE__ */ (0, w.jsx)(d, {
68
68
  ...i,
69
69
  ...r,
70
70
  ref: t
71
71
  });
72
72
  }, "AlertDialogDescription")), F = C.forwardRef(/* @__PURE__ */ E(function(e, t) {
73
73
  let { __scopeAlertDialog: n, ...r } = e, i = D(n);
74
- return /* @__PURE__ */ (0, w.jsx)(l, {
74
+ return /* @__PURE__ */ (0, w.jsx)(f, {
75
75
  ...i,
76
76
  ...r,
77
77
  ref: t
78
78
  });
79
79
  }, "AlertDialogAction")), I = "AlertDialogCancel", L = C.forwardRef(/* @__PURE__ */ E(function(e, t) {
80
80
  let { __scopeAlertDialog: n, ...r } = e, { cancelRef: a } = j(I, n), o = D(n), s = i(t, a);
81
- return /* @__PURE__ */ (0, w.jsx)(l, {
81
+ return /* @__PURE__ */ (0, w.jsx)(f, {
82
82
  ...o,
83
83
  ...r,
84
84
  ref: s
85
85
  });
86
- }, "AlertDialogCancel")), R = s(), z = _({ detail: b() }), B = _({ error: b() });
86
+ }, "AlertDialogCancel")), R = s(), z = b({ detail: S() }), B = b({ error: S() });
87
87
  function V(e) {
88
88
  if (!e) return "Unknown error";
89
89
  if (e instanceof Error) {
@@ -130,7 +130,7 @@ var se = class extends Error {
130
130
  constructor(e = "This UI element could not reach its function on the kernel. Try re-running the cell.") {
131
131
  super(e), this.name = "FunctionNotFoundError";
132
132
  }
133
- }, H = ie, U = x(({ children: e, ...t }) => /* @__PURE__ */ (0, w.jsx)(O, {
133
+ }, H = ie, U = ee(({ children: e, ...t }) => /* @__PURE__ */ (0, w.jsx)(O, {
134
134
  ...t,
135
135
  children: /* @__PURE__ */ (0, w.jsx)(y, { children: /* @__PURE__ */ (0, w.jsx)("div", {
136
136
  className: "fixed inset-0 z-50 flex items-end justify-center sm:items-start sm:top-[15%]",
@@ -157,7 +157,7 @@ W.displayName = k.displayName;
157
157
  var G = C.forwardRef((e, t) => {
158
158
  let r = (0, R.c)(11), i, a;
159
159
  r[0] === e ? (i = r[1], a = r[2]) : ({className: i, ...a} = e, r[0] = e, r[1] = i, r[2] = a);
160
- let o = S(), s;
160
+ let o = te(), s;
161
161
  r[3] === Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ (0, w.jsx)(W, {}), r[3] = s) : s = r[3];
162
162
  let c;
163
163
  r[4] === i ? c = r[5] : (c = n("fixed z-50 grid w-full max-w-2xl scale-100 gap-4 border bg-background p-6 opacity-100 shadow-sm animate-in fade-in-90 slide-in-from-bottom-10 sm:rounded-lg sm:zoom-in-90 sm:slide-in-from-bottom-0 md:w-full", i), r[4] = i, r[5] = c);