@marimo-team/islands 0.25.3-dev361 → 0.25.3-dev364

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 (78) hide show
  1. package/dist/{ConnectedDataExplorerComponent-xliyyXNO.js → ConnectedDataExplorerComponent-DGucd81N.js} +9 -9
  2. package/dist/{ErrorBoundary-5KXgrxsJ.js → ErrorBoundary-DwFWzyKY.js} +6 -6
  3. package/dist/{abnfDiagram-VCTEODGH-Dl9Nrtbf.js → abnfDiagram-VCTEODGH-Dm3v1B8V.js} +2 -2
  4. package/dist/{any-language-editor-CBHhdCC0.js → any-language-editor-CuJ_HsCB.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-DTg032fQ.js → architectureDiagram-5GKGNRK7-DpbaviJn.js} +1 -1
  6. package/dist/{assertNever-ie77PjMn.js → assertNever-BCN-4W77.js} +13 -13
  7. package/dist/{chat-ui-BV0qyfru.js → chat-ui-DFu6TtNT.js} +42 -42
  8. package/dist/{check-DTIv5ZZ3.js → check-Cp78nuZm.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-CsFB-2LW.js → chunk-IMKFNOWR-BC0YdYLD.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-ByuJHeBL.js → chunk-SHT3W25Y-D-4QYbSe.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-9oBZhbrr.js → chunk-SVP7TREG-D4hMfbCn.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-Bx4m0cJ1.js → chunk-TICWLB2K-BYsR3p13.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-Cms37-C9.js → classDiagram-ZZMXUADV-C5ajJVPv.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-qAom4Bi7.js → classDiagram-v2-VYDZK3BY-B78-nsX1.js} +2 -2
  15. package/dist/{code-visibility-kmG2FDic.js → code-visibility-B3Ynn3tA.js} +18 -18
  16. package/dist/{common-DEwi_Pxq.js → common-CPWE33MJ.js} +188 -188
  17. package/dist/{config-CvBnR945.js → config-C5m1QxBa.js} +15 -15
  18. package/dist/{copy-icon-DmtNidSa.js → copy-icon-C88pF7Yd.js} +2 -2
  19. package/dist/{createReducer-BxBCTvKn.js → createReducer-CX4_c88Z.js} +5 -5
  20. package/dist/{cynefinDiagram-5FMLGOSQ-BjJZwMEz.js → cynefinDiagram-5FMLGOSQ-DKMYKL7e.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-Bohu7_09.js → dagre-GXQ25YYZ-Cpk3cN6x.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-PdcwOzeD.js → data-grid-overlay-editor-BDy-Vbn6.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-Chl0n835.js → diagram-S7CK7UJ4-DJI8j406.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-DHx8nzy7.js → diagram-UQ7AKVKN--t6Sxm0L.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-CKdpv1U4.js → diagram-VX7I27RA-CAEWfMi4.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-sY-sI--2.js → diagram-Z3DM3KII-CCN5pOhw.js} +1 -1
  27. package/dist/{dialog-Cqu5Hp5U.js → dialog-BYBmCjb1.js} +19 -19
  28. package/dist/{dropdown-menu-DXEYk99S.js → dropdown-menu-DoF-TLG-.js} +710 -710
  29. package/dist/{ebnfDiagram-PWID7BFC-CD0P2xeH.js → ebnfDiagram-PWID7BFC-DHf-SOQy.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-BaKQuYxC.js → erDiagram-RLTQ6QDP-COlDd7VM.js} +1 -1
  31. package/dist/{error-banner-DUB_qUeL.js → error-banner-S4nxZ1uN.js} +58 -58
  32. package/dist/{error-entries-CTb_cxXY.js → error-entries-BRiOHm8G.js} +73 -73
  33. package/dist/{feedback-button-908QWwNB.js → feedback-button-DVRUQ5IB.js} +8 -7
  34. package/dist/{flowDiagram-HODETNUW-BcCpHh7-.js → flowDiagram-HODETNUW-CaxmYPMr.js} +2 -2
  35. package/dist/{formats-hF6fETr6.js → formats-gmuMlaye.js} +1 -1
  36. package/dist/{glide-data-editor-C605zYxr.js → glide-data-editor-BZgEHiYU.js} +11 -11
  37. package/dist/{glide-utils-Bnd_k48H.js → glide-utils-D_0KwKFV.js} +2 -2
  38. package/dist/{globals-B7U8jw_f.js → globals-C_vrn7LH.js} +3 -3
  39. package/dist/{html-to-image-Bbl0PeC7.js → html-to-image-D0LFfNxI.js} +4609 -4609
  40. package/dist/{infoDiagram-27XIBGKW-DWltseIa.js → infoDiagram-27XIBGKW-CcN7bG0a.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-DHgepBPo.js → ishikawaDiagram-5VMMS53U-BeH0vKCR.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-B2_BIjBq.js → kanban-definition-UXKFOSKX-CHogPzKj.js} +1 -1
  43. package/dist/main.js +1296 -1296
  44. package/dist/{mermaid--2K0cmt9.js → mermaid-DGjcwa4y.js} +34 -34
  45. package/dist/{mindmap-definition-YA3MSWOX-DNebycIP.js → mindmap-definition-YA3MSWOX-TaohGCOq.js} +1 -1
  46. package/dist/{number-overlay-editor-BVoX2c_K.js → number-overlay-editor-CWYBaOD2.js} +1 -1
  47. package/dist/{pegDiagram-XKGWAZYB-CH4U3II-.js → pegDiagram-XKGWAZYB-B1LREJhD.js} +2 -2
  48. package/dist/{pencil-MMnw1YQh.js → pencil-DPoayiEc.js} +1 -1
  49. package/dist/{pieDiagram-E7YTZNPT-pfcrdUCa.js → pieDiagram-E7YTZNPT-kioJVzp8.js} +1 -1
  50. package/dist/{process-output-Dw_sI4Xp.js → process-output-DLM5_K3W.js} +4 -4
  51. package/dist/{railroadDiagram-O6MQD6OU-BZKpAbNG.js → railroadDiagram-O6MQD6OU-Pma-byb8.js} +2 -2
  52. package/dist/{requirementDiagram-BXWQKSXE-DnyfIHe3.js → requirementDiagram-BXWQKSXE-DzuAdFbY.js} +1 -1
  53. package/dist/{reveal-component-X4L8jPHE.js → reveal-component-lqW70UaO.js} +8 -8
  54. package/dist/{select-suaAxFuo.js → select-0c6X5K-y.js} +114 -114
  55. package/dist/{sequenceDiagram-WJ2MYXX4-BeYuWX7N.js → sequenceDiagram-WJ2MYXX4-Ci2zhlHg.js} +1 -1
  56. package/dist/{spec-BQNx2-D7.js → spec-C1iS9GEg.js} +4 -4
  57. package/dist/{stateDiagram-D77RDMKH-B8FxwAM2.js → stateDiagram-D77RDMKH-Bi2orLYz.js} +2 -2
  58. package/dist/{stateDiagram-v2-MP3YSRHH-CzWLBqm1.js → stateDiagram-v2-MP3YSRHH-Bb6bmuGa.js} +2 -2
  59. package/dist/static-state-C-NJXwup.js +90 -0
  60. package/dist/{swimlanes-42K2YHIH-CzKmGMts.js → swimlanes-42K2YHIH-B9OnmhxQ.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-DnWIUN_9.js → swimlanesDiagram-VR7AAH4N-Vq_2vH42.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-Czf2QN2R.js → timeline-definition-24CTP7MA-DXd0exhe.js} +1 -1
  63. package/dist/{toast-CsJa1nGj.js → toast-BvfR_w3m.js} +106 -106
  64. package/dist/{tooltip-BVbJPkcl.js → tooltip-DVVHv-uw.js} +57 -57
  65. package/dist/{use-restore-focus-tPmARo1Q.js → use-restore-focus-92n9XpFH.js} +512 -546
  66. package/dist/{useDateFormatter-B4ygYuUU.js → useDateFormatter-BBJOPClo.js} +2 -2
  67. package/dist/{useDeepCompareMemoize-Bcu0DkCS.js → useDeepCompareMemoize-Ccv-X_CO.js} +1 -1
  68. package/dist/{useLifecycle-MTdtnR3-.js → useLifecycle-BIzIKY46.js} +1 -1
  69. package/dist/{vega-component-BhBbP4S7.js → vega-component-Co5N151m.js} +6 -6
  70. package/dist/{vennDiagram-4TSXK5OY-BrHqWB1U.js → vennDiagram-4TSXK5OY-CBa_ZCXA.js} +1 -1
  71. package/dist/{wardleyDiagram-VM6X3IG4-Cms1K_3v.js → wardleyDiagram-VM6X3IG4-DTsYwYF5.js} +1 -1
  72. package/dist/{xychartDiagram-S5SC5T6Z-_kUiODzS.js → xychartDiagram-S5SC5T6Z-DBhQEWyP.js} +1 -1
  73. package/package.json +1 -1
  74. package/src/core/constants.ts +0 -6
  75. package/src/core/runtime/__tests__/runtime.test.ts +1 -3
  76. package/src/theme/__tests__/useTheme.test.ts +9 -38
  77. package/src/theme/useTheme.ts +1 -16
  78. package/dist/static-state-Al_hmf1n.js +0 -68
@@ -2,19 +2,19 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { g as t, h as n, p as r } from "./button-qQhINE7z.js";
3
3
  import { t as i } from "./react-Bgs_wQh3.js";
4
4
  import { t as a } from "./compiler-runtime-C5KHtL5D.js";
5
- import { i as o } from "./copy-icon-DmtNidSa.js";
6
- import { f as s, h as c } from "./tooltip-BVbJPkcl.js";
7
- import { t as l } from "./check-DTIv5ZZ3.js";
8
- import { n as u, r as d } from "./assertNever-ie77PjMn.js";
5
+ import { i as o } from "./copy-icon-C88pF7Yd.js";
6
+ import { f as s, h as c } from "./tooltip-DVVHv-uw.js";
7
+ import { t as l } from "./check-Cp78nuZm.js";
8
+ import { n as u, r as d } from "./assertNever-BCN-4W77.js";
9
9
  import { t as f } from "./jsx-runtime-D8btoEHk.js";
10
- import { Bt as p, Ct as m, Lt as h, Mt as g, Nt as _, Ot as v, Pt as y, Tt as b, bt as x, dn as S, f as ee, fn as te, gn as ne, hn as re, kt as ie, pn as C, wt as ae, xt as w } from "./use-restore-focus-tPmARo1Q.js";
11
- import { n as oe } from "./toast-CsJa1nGj.js";
10
+ import { At as p, Et as m, Lt as h, Pt as g, St as _, Tt as v, _t as y, bt as b, cn as x, f as S, fn as ee, jt as te, kt as ne, ln as re, pn as ie, un as C, vt as w, xt as ae } from "./use-restore-focus-92n9XpFH.js";
11
+ import { n as oe } from "./toast-BvfR_w3m.js";
12
12
  import { t as se } from "./objects-DCmMvZtn.js";
13
13
  import { t as T } from "./invariant-DLmrl-hA.js";
14
14
  import { t as ce } from "./purify.es-DmnrIjg4.js";
15
- import { t as le } from "./createReducer-BxBCTvKn.js";
15
+ import { t as le } from "./createReducer-CX4_c88Z.js";
16
16
  import { M as ue, N as de, V as fe, g as pe } from "./dist-B_xgcU0N.js";
17
- import { a as me, i as he, l as ge, m as _e, u as ve } from "./static-state-Al_hmf1n.js";
17
+ import { _ as me, a as he, i as ge, l as _e, p as ve } from "./static-state-C-NJXwup.js";
18
18
  import { t as ye } from "./capabilities-DKqMqBzm.js";
19
19
  var be = c("external-link", [
20
20
  ["path", {
@@ -35,9 +35,9 @@ var be = c("external-link", [
35
35
  }]]), E = /* @__PURE__ */ e(i(), 1), D = f(), Se = Object.defineProperty, O = (e, t) => Se(e, "name", {
36
36
  value: t,
37
37
  configurable: !0
38
- }), Ce = "Checkbox", [we, Te] = re(Ce), [Ee, De] = we(Ce);
38
+ }), Ce = "Checkbox", [we, Te] = ee(Ce), [Ee, De] = we(Ce);
39
39
  function Oe(e) {
40
- let { __scopeCheckbox: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] = te({
40
+ let { __scopeCheckbox: t, checked: n, children: r, defaultChecked: i, disabled: a, form: o, name: s, onCheckedChange: c, required: l, value: u = "on", internal_do_not_use_render: d } = e, [f, p] = re({
41
41
  prop: n,
42
42
  defaultProp: i ?? !1,
43
43
  onChange: c,
@@ -74,7 +74,7 @@ var ke = "CheckboxTrigger", Ae = /* @__PURE__ */ E.forwardRef(/* @__PURE__ */ O(
74
74
  let t = /* @__PURE__ */ O(() => f(_.current), "reset");
75
75
  return e.addEventListener("reset", t), () => e.removeEventListener("reset", t);
76
76
  }
77
- }, [o, f]), /* @__PURE__ */ (0, D.jsx)(ne.button, {
77
+ }, [o, f]), /* @__PURE__ */ (0, D.jsx)(ie.button, {
78
78
  type: "button",
79
79
  role: "checkbox",
80
80
  "aria-checked": k(l) ? "mixed" : l,
@@ -116,9 +116,9 @@ var ke = "CheckboxTrigger", Ae = /* @__PURE__ */ E.forwardRef(/* @__PURE__ */ O(
116
116
  });
117
117
  }, "Checkbox")), Me = "CheckboxIndicator", Ne = /* @__PURE__ */ E.forwardRef(/* @__PURE__ */ O(function(e, t) {
118
118
  let { __scopeCheckbox: n, forceMount: r, ...i } = e, a = De(Me, n);
119
- return /* @__PURE__ */ (0, D.jsx)(S, {
119
+ return /* @__PURE__ */ (0, D.jsx)(x, {
120
120
  present: r || k(a.checked) || a.checked === !0,
121
- children: /* @__PURE__ */ (0, D.jsx)(ne.span, {
121
+ children: /* @__PURE__ */ (0, D.jsx)(ie.span, {
122
122
  "data-state": Le(a.checked),
123
123
  "data-disabled": a.disabled ? "" : void 0,
124
124
  ...i,
@@ -152,7 +152,7 @@ var ke = "CheckboxTrigger", Ae = /* @__PURE__ */ E.forwardRef(/* @__PURE__ */ O(
152
152
  o
153
153
  ]);
154
154
  let ee = E.useRef(!k(c) && c);
155
- return /* @__PURE__ */ (0, D.jsx)(ne.input, {
155
+ return /* @__PURE__ */ (0, D.jsx)(ie.input, {
156
156
  type: "checkbox",
157
157
  "aria-hidden": !0,
158
158
  defaultChecked: l ?? ee.current,
@@ -338,12 +338,12 @@ var Qe = {
338
338
  runs: /* @__PURE__ */ new Map(),
339
339
  executions: /* @__PURE__ */ new Map(),
340
340
  latest: /* @__PURE__ */ new Map()
341
- }, $e = /* @__PURE__ */ new Map(), et = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Set(), rt = /* @__PURE__ */ new Set(), it = /* @__PURE__ */ new Map(), j = p(null), at = p(null);
341
+ }, $e = /* @__PURE__ */ new Map(), et = /* @__PURE__ */ new Map(), tt = /* @__PURE__ */ new Set(), nt = /* @__PURE__ */ new Set(), rt = /* @__PURE__ */ new Set(), it = /* @__PURE__ */ new Map(), j = h(null), at = h(null);
342
342
  function ot(e, t, n, r) {
343
343
  return e !== null && e.notebook.replica === t && e.notebook.id === n ? e.value : r;
344
344
  }
345
345
  function st(e) {
346
- let t = e.get(b), n = t === null ? null : e.get(t.notebookAtom);
346
+ let t = e.get(_), n = t === null ? null : e.get(t.notebookAtom);
347
347
  return t === null || n === null ? null : {
348
348
  replica: t,
349
349
  id: n.id
@@ -357,16 +357,16 @@ function ct(e, t) {
357
357
  };
358
358
  }
359
359
  function lt(e, t) {
360
- let n = e.get(b);
360
+ let n = e.get(_);
361
361
  if (n !== t.notebook.replica) return !1;
362
362
  let r = e.get(n.notebookAtom);
363
363
  return r === null || r.id === t.notebook.id;
364
364
  }
365
- var ut = p((e) => {
366
- let t = e(b), n = t === null ? null : e(t.notebookAtom)?.id ?? null, r = ot(e(j), t, n, tt);
365
+ var ut = h((e) => {
366
+ let t = e(_), n = t === null ? null : e(t.notebookAtom)?.id ?? null, r = ot(e(j), t, n, tt);
367
367
  return r.size === 0 ? nt : new Set([...r].flatMap((e) => e.cells));
368
- }), M = p((e) => {
369
- let t = e(b), n = t === null ? null : e(t.notebookAtom)?.id ?? null, r = t === null ? null : e(t.documentAtom);
368
+ }), M = h((e) => {
369
+ let t = e(_), n = t === null ? null : e(t.notebookAtom)?.id ?? null, r = t === null ? null : e(t.documentAtom);
370
370
  return {
371
371
  executions: t === null ? Qe : e(t.executionsAtom),
372
372
  results: t === null ? $e : e(t.resultsAtom),
@@ -374,8 +374,8 @@ var ut = p((e) => {
374
374
  requested: e(ut),
375
375
  blocked: ot(e(at), t, n, rt)
376
376
  };
377
- }), dt = p((e) => {
378
- let t = e(b), n = t === null ? null : e(t.documentAtom);
377
+ }), dt = h((e) => {
378
+ let t = e(_), n = t === null ? null : e(t.documentAtom);
379
379
  return t === null || n === null ? {
380
380
  cells: et,
381
381
  executions: Qe,
@@ -385,22 +385,22 @@ var ut = p((e) => {
385
385
  executions: e(t.executionsAtom),
386
386
  results: e(t.resultsAtom)
387
387
  };
388
- }), ft = p((e) => Ve(e(dt))), pt = p(null);
389
- p((e) => {
390
- let t = e(b), n = t === null ? null : e(t.notebookAtom)?.id ?? null;
388
+ }), ft = h((e) => Ve(e(dt))), pt = h(null);
389
+ h((e) => {
390
+ let t = e(_), n = t === null ? null : e(t.notebookAtom)?.id ?? null;
391
391
  return {
392
392
  executions: t === null ? Qe : e(t.executionsAtom),
393
393
  results: t === null ? $e : e(t.resultsAtom),
394
394
  cleared: ot(e(pt), t, n, it)
395
395
  };
396
396
  });
397
- var mt = p((e) => {
398
- let t = e(b);
397
+ var mt = h((e) => {
398
+ let t = e(_);
399
399
  return t === null ? null : e(t.runtimeAtom)?.status ?? null;
400
400
  });
401
- p((e) => Xe(e(M).executions)), p((e) => Ze(e(M)));
402
- var ht = p((e) => {
403
- let t = e(b);
401
+ h((e) => Xe(e(M).executions)), h((e) => Ze(e(M)));
402
+ var ht = h((e) => {
403
+ let t = e(_);
404
404
  if (t === null) return { refused: "No notebook is connected" };
405
405
  if (e(t.connectionAtom).state === A.CLOSED) return { refused: "The notebook is disconnected" };
406
406
  if (e(t.notebookAtom) === null) return "waiting";
@@ -1014,11 +1014,11 @@ var pn = {
1014
1014
  }
1015
1015
  }, mn = { create(e) {
1016
1016
  return `output-${e}`;
1017
- } }, hn = p(/* @__PURE__ */ new Set()), R = p([]), z = p([]);
1017
+ } }, hn = h(/* @__PURE__ */ new Set()), R = h([]), z = h([]);
1018
1018
  function gn() {
1019
1019
  return `column-${dn.create()}`;
1020
1020
  }
1021
- var _n = p(null, (e, t, n) => {
1021
+ var _n = h(null, (e, t, n) => {
1022
1022
  let r = rn(n).length, i = e(R);
1023
1023
  if (i.length === r) return;
1024
1024
  let a = e(z), o = [...i, ...a].slice(0, r);
@@ -1054,10 +1054,10 @@ function bn(e, t, n) {
1054
1054
  };
1055
1055
  }) };
1056
1056
  }
1057
- var B = p((e) => {
1057
+ var B = h((e) => {
1058
1058
  let t = e(ae), n = t === null ? null : e(t.documentAtom), r = e(yi);
1059
1059
  return bn(vn(n, e(R), e(z)), (e) => r[e] ?? null, e(hn));
1060
- }), xn = () => h(B), Sn = p((e) => e(B).columns.length);
1060
+ }), xn = () => g(B), Sn = h((e) => e(B).columns.length);
1061
1061
  function Cn(e, t) {
1062
1062
  return e.columns.find((e) => e.id === t);
1063
1063
  }
@@ -1133,7 +1133,7 @@ function V(e) {
1133
1133
  //#endregion
1134
1134
  //#region src/core/cells/document.ts
1135
1135
  function Fn(e, t) {
1136
- let n = t.code ?? e.code, r = y(e.config, t.config) ? e.config : Pn(t.config);
1136
+ let n = t.code ?? e.code, r = te(e.config, t.config) ? e.config : Pn(t.config);
1137
1137
  return n === e.code && t.name === e.name && r === e.config ? e : n === e.code ? {
1138
1138
  ...e,
1139
1139
  name: t.name,
@@ -1146,7 +1146,7 @@ function Fn(e, t) {
1146
1146
  };
1147
1147
  }
1148
1148
  function In(e, t) {
1149
- let n = y(t.order, e.cellIds) ? e.cellIds : [...t.order], { cellData: r, cellRuntime: i, cellHandles: a } = e;
1149
+ let n = te(t.order, e.cellIds) ? e.cellIds : [...t.order], { cellData: r, cellRuntime: i, cellHandles: a } = e;
1150
1150
  for (let o of n) {
1151
1151
  let n = t.cells.get(o), s = e.cellData[o];
1152
1152
  if (n === void 0) continue;
@@ -1200,18 +1200,18 @@ async function Rn() {
1200
1200
  }
1201
1201
  //#endregion
1202
1202
  //#region src/core/cells/editor.ts
1203
- var H = p(/* @__PURE__ */ new Set());
1203
+ var H = h(/* @__PURE__ */ new Set());
1204
1204
  function zn(e, t, n) {
1205
1205
  return !!e && !t.has(n);
1206
1206
  }
1207
- p(null, (e, t, { cellId: n }) => {
1207
+ h(null, (e, t, { cellId: n }) => {
1208
1208
  t(H, (e) => /* @__PURE__ */ new Set([...e, n]));
1209
- }), p(null, (e, t, { cellId: n }) => e(H).has(n) ? (t(H, (e) => {
1209
+ }), h(null, (e, t, { cellId: n }) => e(H).has(n) ? (t(H, (e) => {
1210
1210
  let t = new Set(e);
1211
1211
  return t.delete(n), t;
1212
1212
  }), !0) : !1);
1213
- var Bn = p(/* @__PURE__ */ new Map());
1214
- p(null, (e, t, { cellId: n }) => {
1213
+ var Bn = h(/* @__PURE__ */ new Map());
1214
+ h(null, (e, t, { cellId: n }) => {
1215
1215
  t(Bn, (e) => {
1216
1216
  let t = new Map(e);
1217
1217
  return t.delete(n), t;
@@ -1609,7 +1609,7 @@ function Yn(e) {
1609
1609
  }
1610
1610
  //#endregion
1611
1611
  //#region src/core/errors/traceback-atom.ts
1612
- var Xn = p(null);
1612
+ var Xn = h(null);
1613
1613
  //#endregion
1614
1614
  //#region src/core/cells/logs.ts
1615
1615
  function Zn(e) {
@@ -1653,7 +1653,7 @@ function $n(e) {
1653
1653
  message: JSON.stringify(t)
1654
1654
  });
1655
1655
  });
1656
- let t = e.output.data.filter((e) => "type" in e && e.type === "exception" || e.type === "internal"), n = w.get(he) === "read";
1656
+ let t = e.output.data.filter((e) => "type" in e && e.type === "exception" || e.type === "internal"), n = w.get(ge) === "read";
1657
1657
  if (t.length > 0 && !Qn && n) {
1658
1658
  Qn = !0;
1659
1659
  let e = t.find((e) => e.traceback);
@@ -1786,9 +1786,9 @@ function _r({ errored: e, interrupted: t, stopped: n, output: r, showErrorTraceb
1786
1786
  }
1787
1787
  //#endregion
1788
1788
  //#region src/core/network/requests.ts
1789
- var vr = p(null);
1789
+ var vr = h(null);
1790
1790
  function yr() {
1791
- let e = h(vr);
1791
+ let e = g(vr);
1792
1792
  return T(e, "useRequestClient() requires setting requestClientAtom."), e;
1793
1793
  }
1794
1794
  function br() {
@@ -1919,22 +1919,22 @@ function Rr(e, t) {
1919
1919
  return n && t.has(n) ? t.lookupValue(n) : Ir(e.dataset.initialValue);
1920
1920
  }
1921
1921
  function zr() {
1922
- if (ee()) return document.title || null;
1923
- if (_e()) {
1922
+ if (S()) return document.title || null;
1923
+ if (me()) {
1924
1924
  let e = Fr.getFilename();
1925
1925
  if (e) return e;
1926
1926
  }
1927
1927
  let e = document.querySelector("marimo-filename");
1928
- ge(e, "marimo-filename tag not found");
1928
+ _e(e, "marimo-filename tag not found");
1929
1929
  let t = e.innerHTML;
1930
1930
  return t.length === 0 ? null : t;
1931
1931
  }
1932
1932
  //#endregion
1933
1933
  //#region src/core/saving/file-state.ts
1934
- var K = p(zr());
1935
- p(null);
1936
- var Br = p(null);
1937
- p(void 0);
1934
+ var K = h(zr());
1935
+ h(null);
1936
+ var Br = h(null);
1937
+ h(void 0);
1938
1938
  //#endregion
1939
1939
  //#region src/utils/storage/typed.ts
1940
1940
  var Vr = class {
@@ -2277,21 +2277,21 @@ function ii(e, t) {
2277
2277
  }
2278
2278
  //#endregion
2279
2279
  //#region src/core/network/connection.ts
2280
- var X = p({ state: A.NOT_STARTED });
2281
- ie(null, (e, t) => t === null ? null : {
2280
+ var X = h({ state: A.NOT_STARTED });
2281
+ m(null, (e, t) => t === null ? null : {
2282
2282
  phase: t.phase,
2283
2283
  logs: t.log_mode === "append" && e?.phase === t.phase ? e.logs + t.logs : t.logs
2284
2284
  });
2285
2285
  function ai() {
2286
- return m(X, (e) => e.state === A.OPEN);
2286
+ return b(X, (e) => e.state === A.OPEN);
2287
2287
  }
2288
2288
  function oi() {
2289
- return me() ? ai() : Promise.resolve();
2289
+ return he() ? ai() : Promise.resolve();
2290
2290
  }
2291
- p((e) => e(X).state === A.CONNECTING), p((e) => e(X).state === A.OPEN), p((e) => {
2291
+ h((e) => e(X).state === A.CONNECTING), h((e) => e(X).state === A.OPEN), h((e) => {
2292
2292
  let t = e(X);
2293
2293
  return t.state === A.OPEN || t.state === A.NOT_STARTED;
2294
- }), p((e) => e(X).state === A.CLOSED);
2294
+ }), h((e) => e(X).state === A.CLOSED);
2295
2295
  //#endregion
2296
2296
  //#region src/components/ui/checkbox.tsx
2297
2297
  var si = E.forwardRef((e, t) => {
@@ -2464,7 +2464,7 @@ var { reducer: mi, createActions: hi, useActions: gi, valueAtom: Z } = le(pi, {
2464
2464
  });
2465
2465
  },
2466
2466
  resetCellRuntimes: (e) => {
2467
- let t = _e(), n = { ...e.cellRuntime };
2467
+ let t = me(), n = { ...e.cellRuntime };
2468
2468
  for (let r of [...e.cellIds, I]) {
2469
2469
  let i = e.cellRuntime[r];
2470
2470
  n[r] = t && i !== void 0 && (i.output != null || i.consoleOutputs.length > 0) ? i : V();
@@ -2542,9 +2542,9 @@ function Q({ state: e, cellId: n, cellReducer: r }) {
2542
2542
  }
2543
2543
  var _i = hi((e) => {
2544
2544
  w.set(Z, (t) => mi(t, e));
2545
- }).addLogs, $ = p((e) => e(Z).cellIds);
2546
- p((e) => e($).length === 1), p((e) => cr(e(Z)).length > 0), p((e) => lr(e(Z)).length > 0), p((e) => ur(e(Z))), p((e) => dr(e(Z))), p((e) => or(e(Z), e(M), e(ft)));
2547
- var vi = p((e) => {
2545
+ }).addLogs, $ = h((e) => e(Z).cellIds);
2546
+ h((e) => e($).length === 1), h((e) => cr(e(Z)).length > 0), h((e) => lr(e(Z)).length > 0), h((e) => ur(e(Z))), h((e) => dr(e(Z))), h((e) => or(e(Z), e(M), e(ft)));
2547
+ var vi = h((e) => {
2548
2548
  let { cellIds: t, cellRuntime: n, cellData: r } = e(Z);
2549
2549
  return t.map((e) => {
2550
2550
  let t = n[e], { name: i } = r[e];
@@ -2562,28 +2562,28 @@ var vi = p((e) => {
2562
2562
  }
2563
2563
  return null;
2564
2564
  }).filter(Boolean);
2565
- }), yi = x(p((e) => {
2565
+ }), yi = y(h((e) => {
2566
2566
  let t = {};
2567
2567
  for (let [n, r] of se.entries(e(Z).cellRuntime)) r.outline !== null && r.outline.items.length > 0 && (t[n] = r.outline);
2568
2568
  return t;
2569
- })), bi = p((e) => {
2569
+ })), bi = h((e) => {
2570
2570
  let t = e($), n = e(Di);
2571
2571
  return At(t.map((e) => n[e].outline));
2572
2572
  });
2573
- p((e) => e(vi).length);
2574
- var xi = x(p((e) => {
2573
+ h((e) => e(vi).length);
2574
+ var xi = y(h((e) => {
2575
2575
  let { cellIds: t, cellData: n } = e(Z);
2576
2576
  return se.fromEntries(t.map((e) => [e, n[e]?.name]));
2577
2577
  }));
2578
- p((e) => e(Z).scrollKey);
2579
- var Si = () => h($), Ci = () => h(xi), wi = () => w.get(Z), Ti = () => w.get(Z).cellIds, Ei = () => {
2578
+ h((e) => e(Z).scrollKey);
2579
+ var Si = () => g($), Ci = () => g(xi), wi = () => w.get(Z), Ti = () => w.get(Z).cellIds, Ei = () => {
2580
2580
  let { cellIds: e, cellData: t } = w.get(Z);
2581
2581
  return e.map((e) => t[e]?.name).filter(Boolean);
2582
2582
  };
2583
- _(g(Z, (e) => e.cellIds.map((t) => e.cellData[t])));
2584
- var Di = p((e) => e(Z).cellRuntime);
2585
- p((e) => e(Z).cellIds.length > 0);
2586
- var Oi = v((e) => p((t) => t(Z).cellData[e])), ki = v((e) => p((t) => t(Z).cellRuntime[e])), Ai = v((e) => p((t) => t(Z).cellHandles[e]));
2583
+ p(ne(Z, (e) => e.cellIds.map((t) => e.cellData[t])));
2584
+ var Di = h((e) => e(Z).cellRuntime);
2585
+ h((e) => e(Z).cellIds.length > 0);
2586
+ var Oi = v((e) => h((t) => t(Z).cellData[e])), ki = v((e) => h((t) => t(Z).cellRuntime[e])), Ai = v((e) => h((t) => t(Z).cellHandles[e]));
2587
2587
  function ji(e) {
2588
2588
  Oi.remove(e), ki.remove(e), Ai.remove(e);
2589
2589
  }
@@ -2,15 +2,16 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { h as t, t as n } from "./button-qQhINE7z.js";
3
3
  import { t as r } from "./react-Bgs_wQh3.js";
4
4
  import { t as i } from "./compiler-runtime-C5KHtL5D.js";
5
- import { t as a } from "./copy-icon-DmtNidSa.js";
6
- import { D as o, E as s, F as c, G as l, Jt as u, N as d, Xt as f, i as p, n as m } from "./error-entries-CTb_cxXY.js";
7
- import { n as h, t as ee } from "./globals-B7U8jw_f.js";
8
- import { r as g } from "./assertNever-ie77PjMn.js";
5
+ import { t as a } from "./copy-icon-C88pF7Yd.js";
6
+ import { D as o, E as s, F as c, G as l, Jt as u, N as d, Xt as f, i as p, n as m } from "./error-entries-BRiOHm8G.js";
7
+ import { n as h, t as ee } from "./globals-C_vrn7LH.js";
8
+ import { r as g } from "./assertNever-BCN-4W77.js";
9
9
  import { t as _ } from "./jsx-runtime-D8btoEHk.js";
10
- import { Lt as v, m as y, xt as te } from "./use-restore-focus-tPmARo1Q.js";
11
- import { a as ne, i as re, n as ie, r as ae } from "./dialog-Cqu5Hp5U.js";
10
+ import { Pt as v, vt as te } from "./use-restore-focus-92n9XpFH.js";
11
+ import { d as y } from "./static-state-C-NJXwup.js";
12
+ import { a as ne, i as re, n as ie, r as ae } from "./dialog-BYBmCjb1.js";
12
13
  import { t as oe } from "./useAsyncData-P5-Oovhq.js";
13
- import { t as se } from "./code-visibility-kmG2FDic.js";
14
+ import { t as se } from "./code-visibility-B3Ynn3tA.js";
14
15
  //#region src/components/ui/skeleton.tsx
15
16
  var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), ce = (e) => {
16
17
  let n = (0, x.c)(8), r, i;
@@ -8,8 +8,8 @@ import "./chunk-4HAMMTFA-qKgadZwy.js";
8
8
  import "./chunk-GVQU2GXP-BkolpSXU.js";
9
9
  import "./chunk-L3NEJ4N5-B-BFQp9t.js";
10
10
  import "./chunk-OSK3NFVY-BzfZ4VBG.js";
11
- import "./mermaid--2K0cmt9.js";
11
+ import "./mermaid-DGjcwa4y.js";
12
12
  import "./chunk-F27PBJKO-COH2t-FO.js";
13
13
  import "./chunk-XXDRQBXY-BM-YIt-_.js";
14
14
  import "./chunk-POPQ4Y6H-BFSZel4w.js";
15
- export { n as diagram } from "./chunk-SHT3W25Y-ByuJHeBL.js";
15
+ export { n as diagram } from "./chunk-SHT3W25Y-D-4QYbSe.js";
@@ -3,7 +3,7 @@ import { h as t, r as n } from "./button-qQhINE7z.js";
3
3
  import { t as r } from "./react-Bgs_wQh3.js";
4
4
  import { t as i } from "./compiler-runtime-C5KHtL5D.js";
5
5
  import { t as a } from "./jsx-runtime-D8btoEHk.js";
6
- import { u as o } from "./static-state-Al_hmf1n.js";
6
+ import { p as o } from "./static-state-C-NJXwup.js";
7
7
  import { i as s } from "./loader-Bin_dutt.js";
8
8
  //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
9
9
  function c(e) {
@@ -2,19 +2,19 @@ import { a as e, r as t, t as n } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { m as r, t as i } from "./button-qQhINE7z.js";
3
3
  import { t as a } from "./react-Bgs_wQh3.js";
4
4
  import { t as o } from "./compiler-runtime-C5KHtL5D.js";
5
- import { i as s, n as c, r as l } from "./copy-icon-DmtNidSa.js";
6
- import { d as u } from "./tooltip-BVbJPkcl.js";
7
- import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-suaAxFuo.js";
8
- import { J as _, d as v, h as y, i as b, l as x, n as S, o as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-DXEYk99S.js";
9
- import { t as O } from "./pencil-MMnw1YQh.js";
10
- import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-Bnd_k48H.js";
11
- import { i as M, n as N } from "./assertNever-ie77PjMn.js";
5
+ import { i as s, n as c, r as l } from "./copy-icon-C88pF7Yd.js";
6
+ import { d as u } from "./tooltip-DVVHv-uw.js";
7
+ import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-0c6X5K-y.js";
8
+ import { J as _, d as v, h as y, i as b, l as x, n as S, o as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-DoF-TLG-.js";
9
+ import { t as O } from "./pencil-DPoayiEc.js";
10
+ import { c as k, f as A, l as ee, n as j, o as te, s as ne, t as re, u as ie } from "./glide-utils-D_0KwKFV.js";
11
+ import { i as M, n as N } from "./assertNever-BCN-4W77.js";
12
12
  import { t as P } from "./react-dom-DdqGVp5N.js";
13
13
  import { t as F } from "./jsx-runtime-D8btoEHk.js";
14
- import { d as ae, r as I } from "./use-restore-focus-tPmARo1Q.js";
14
+ import { d as ae, r as I } from "./use-restore-focus-92n9XpFH.js";
15
15
  import { t as oe } from "./useEvent-BoN7U38T.js";
16
16
  import { n as L, t as se } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
17
- import { t as ce } from "./ErrorBoundary-5KXgrxsJ.js";
17
+ import { t as ce } from "./ErrorBoundary-DwFWzyKY.js";
18
18
  import { A as le, C as ue, D as de, E as fe, F as pe, I as me, L as he, M as ge, N as R, O as z, P as _e, R as ve, S as ye, T as be, _ as xe, a as Se, b as B, c as Ce, d as we, f as V, g as Te, h as Ee, i as De, j as H, k as Oe, l as ke, m as Ae, n as je, o as Me, p as Ne, r as U, s as Pe, t as Fe, u as Ie, v as Le, w as Re, x as ze, y as Be, z as Ve } from "./data-grid-types-DIX_pCco.js";
19
19
  //#region ../node_modules/.pnpm/@emotion+memoize@0.9.0/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js
20
20
  function He(e) {
@@ -7061,7 +7061,7 @@ function ds(e, t, n, r, i) {
7061
7061
  }
7062
7062
  //#endregion
7063
7063
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.1_57c124ac5a994dbbf13fd11838cf9ba9/node_modules/@glideapps/glide-data-grid/dist/esm/data-editor/data-editor.js
7064
- var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-PdcwOzeD.js")), hs = 0;
7064
+ var fs = /* @__PURE__ */ e(Tr(), 1), ps = /* @__PURE__ */ e(kr(), 1), ms = W.lazy(async () => await import("./data-grid-overlay-editor-BDy-Vbn6.js")), hs = 0;
7065
7065
  function gs(e) {
7066
7066
  return (0, fs.default)((0, ps.default)((0, ps.default)(e).filter((e) => e.span !== void 0).map((e) => (0, ao.default)((e.span?.[0] ?? 0) + 1, (e.span?.[1] ?? 0) + 1))));
7067
7067
  }
@@ -9284,7 +9284,7 @@ function Ys(e, t, n, r, i) {
9284
9284
  }
9285
9285
  //#endregion
9286
9286
  //#region ../node_modules/.pnpm/@glideapps+glide-data-grid@6.0.4-alpha24_lodash@4.17.21_marked@15.0.12_react-dom@19.3.1_57c124ac5a994dbbf13fd11838cf9ba9/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9287
- var Xs = W.lazy(async () => await import("./number-overlay-editor-BVoX2c_K.js")), Zs = {
9287
+ var Xs = W.lazy(async () => await import("./number-overlay-editor-CWYBaOD2.js")), Zs = {
9288
9288
  getAccessibilityString: (e) => e.data?.toString() ?? "",
9289
9289
  kind: U.Number,
9290
9290
  needsHover: (e) => e.hoverEffect === !0,
@@ -1,7 +1,7 @@
1
1
  import { t as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { g as t } from "./button-qQhINE7z.js";
3
- import { h as n } from "./tooltip-BVbJPkcl.js";
4
- import { n as r } from "./assertNever-ie77PjMn.js";
3
+ import { h as n } from "./tooltip-DVVHv-uw.js";
4
+ import { n as r } from "./assertNever-BCN-4W77.js";
5
5
  import { i, r as a } from "./data-grid-types-DIX_pCco.js";
6
6
  var o = n("trash", [
7
7
  ["path", {
@@ -1,6 +1,6 @@
1
- import { h as e } from "./tooltip-BVbJPkcl.js";
2
- import { xt as t } from "./use-restore-focus-tPmARo1Q.js";
3
- import { r as n } from "./code-visibility-kmG2FDic.js";
1
+ import { h as e } from "./tooltip-DVVHv-uw.js";
2
+ import { vt as t } from "./use-restore-focus-92n9XpFH.js";
3
+ import { r as n } from "./code-visibility-B3Ynn3tA.js";
4
4
  var r = e("triangle-alert", [
5
5
  ["path", {
6
6
  d: "m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",