@marimo-team/islands 0.25.3-dev27 → 0.25.3-dev29

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 (79) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DfG3PRaJ.js → ConnectedDataExplorerComponent-7EaP9VWb.js} +7 -7
  2. package/dist/{ErrorBoundary-DKAio_E4.js → ErrorBoundary-ysC54Xwn.js} +2 -2
  3. package/dist/{abnfDiagram-VCTEODGH-B3w-XWX8.js → abnfDiagram-VCTEODGH-z_OSynK8.js} +2 -2
  4. package/dist/{architectureDiagram-5GKGNRK7-C18U9A6k.js → architectureDiagram-5GKGNRK7-Cs8J8BZr.js} +1 -1
  5. package/dist/{chat-ui-DDJuqS87.js → chat-ui-0udY4hpv.js} +13 -13
  6. package/dist/{chunk-IMKFNOWR-CrS5bzqW.js → chunk-IMKFNOWR-aoSFasqF.js} +1 -1
  7. package/dist/{chunk-SHT3W25Y-StpvPvUG.js → chunk-SHT3W25Y-CMaybO3O.js} +1 -1
  8. package/dist/{chunk-SVP7TREG-CBXjbYZC.js → chunk-SVP7TREG-BNBrTAw1.js} +1 -1
  9. package/dist/{chunk-TICWLB2K-Dp6bIb-q.js → chunk-TICWLB2K-DXNxvUJn.js} +1 -1
  10. package/dist/{chunk-YOKDWASO-DPZk8vhS.js → chunk-YOKDWASO-DKplTrBY.js} +20 -20
  11. package/dist/{classDiagram-ZZMXUADV-BFYuxV5g.js → classDiagram-ZZMXUADV-DXdCCDOg.js} +2 -2
  12. package/dist/{classDiagram-v2-VYDZK3BY-D_tjXVMl.js → classDiagram-v2-VYDZK3BY-DyZqrtLP.js} +2 -2
  13. package/dist/{code-visibility-CFvLbCZJ.js → code-visibility-CZmyRTO8.js} +4 -4
  14. package/dist/{common-1HUDUr7W.js → common-CCrzSQnL.js} +14 -14
  15. package/dist/{cynefinDiagram-5FMLGOSQ-DSgYrHB2.js → cynefinDiagram-5FMLGOSQ-DWHuKJs8.js} +1 -1
  16. package/dist/{dagre-GXQ25YYZ-GYlruCBf.js → dagre-GXQ25YYZ-DYLu-OCU.js} +1 -1
  17. package/dist/{data-grid-overlay-editor-ZxoN8gVB.js → data-grid-overlay-editor-B141KnZO.js} +5 -5
  18. package/dist/{data-grid-types-BH_r7g7l.js → data-grid-types-0PJ-9N5n.js} +1 -1
  19. package/dist/{diagram-S7CK7UJ4-DRu5LX5_.js → diagram-S7CK7UJ4-PwwcUOHP.js} +1 -1
  20. package/dist/{diagram-UQ7AKVKN-DD7uiejP.js → diagram-UQ7AKVKN-CvJbL_IM.js} +1 -1
  21. package/dist/{diagram-VX7I27RA-ByH9KAJJ.js → diagram-VX7I27RA-B5RkqnzN.js} +1 -1
  22. package/dist/{diagram-Z3DM3KII-BsQHPRke.js → diagram-Z3DM3KII-CyijwTR2.js} +1 -1
  23. package/dist/{dist-DpBpA_n1.js → dist-Lm-D-Vr6.js} +3 -3
  24. package/dist/{dropdown-menu-DHP9P4VE.js → dropdown-menu-BuE2b8Yb.js} +1 -1
  25. package/dist/{ebnfDiagram-PWID7BFC-CQRK5_eT.js → ebnfDiagram-PWID7BFC-DG90ELFp.js} +2 -2
  26. package/dist/{erDiagram-RLTQ6QDP-BKtWrDVh.js → erDiagram-RLTQ6QDP-FMo_SpyX.js} +1 -1
  27. package/dist/{error-entries-Cz3yNs7w.js → error-entries-DgtRTNaG.js} +5 -5
  28. package/dist/{feedback-button-B2JRVQRd.js → feedback-button-CykZqHY-.js} +5 -5
  29. package/dist/{flowDiagram-HODETNUW-1IN-ih2E.js → flowDiagram-HODETNUW-DQ4JuadE.js} +2 -2
  30. package/dist/{formats-Buu00Z2q.js → formats-DRHUWwSK.js} +2 -2
  31. package/dist/{ganttDiagram-EL5Y4UJY-BQT16JSc.js → ganttDiagram-EL5Y4UJY-Dh_4cBJZ.js} +2 -2
  32. package/dist/{glide-data-editor-BBgCAPbk.js → glide-data-editor-DLHbRbsj.js} +51 -51
  33. package/dist/{glide-utils-DM9zBO4W.js → glide-utils-pisbYVjH.js} +1 -1
  34. package/dist/{globals-DhH_o2tF.js → globals-D2g1BHQ0.js} +2 -2
  35. package/dist/{highlighted-body-KPVGNVTW-zwjq21tf.js → highlighted-body-KPVGNVTW-3Ziwfz-V.js} +2 -2
  36. package/dist/{html-to-image-DWTzN7q3.js → html-to-image--r0l9wUy.js} +7 -7
  37. package/dist/{infoDiagram-27XIBGKW-CkB-zr4p.js → infoDiagram-27XIBGKW-CRSDtRrd.js} +1 -1
  38. package/dist/{ishikawaDiagram-5VMMS53U-wlyLjBmM.js → ishikawaDiagram-5VMMS53U-DxLEUldB.js} +1 -1
  39. package/dist/{kanban-definition-UXKFOSKX-C2usY0i-.js → kanban-definition-UXKFOSKX-BLhvu8o4.js} +1 -1
  40. package/dist/{linear-Cnaq3Tfb.js → linear-DWERh7eI.js} +121 -73
  41. package/dist/{loader-BQOfjTIJ.js → loader-BPdQhmlq.js} +10 -10
  42. package/dist/main.js +24 -24
  43. package/dist/{mermaid-BA-Z6wGL.js → mermaid-Bjm6C1qN.js} +36 -36
  44. package/dist/mermaid-HWGCJPDP-Du3-HPQA.js +2 -0
  45. package/dist/{mindmap-definition-YA3MSWOX-nKOWS8RR.js → mindmap-definition-YA3MSWOX-g2LwxnYQ.js} +1 -1
  46. package/dist/{number-overlay-editor-CvLhxHLb.js → number-overlay-editor-DHqP6YVn.js} +3 -3
  47. package/dist/{pegDiagram-XKGWAZYB-Dac9EIKD.js → pegDiagram-XKGWAZYB-CpMAt3Qs.js} +2 -2
  48. package/dist/{pieDiagram-E7YTZNPT-B7S-DsW_.js → pieDiagram-E7YTZNPT-CVTthoZo.js} +1 -1
  49. package/dist/precisionRound-DhAzeRcm.js +49 -0
  50. package/dist/{process-output-B-KBO95p.js → process-output-CuIlhYwn.js} +2 -2
  51. package/dist/{quadrantDiagram-AXDQQJYC-Ccw0xMjN.js → quadrantDiagram-AXDQQJYC-Blrm7V7_.js} +1 -1
  52. package/dist/{railroadDiagram-O6MQD6OU-Cfa5Q-hr.js → railroadDiagram-O6MQD6OU-ao8cqqFB.js} +2 -2
  53. package/dist/{react-vega-BED0DjiB.js → react-vega-BDpbvBCb.js} +12284 -12270
  54. package/dist/{requirementDiagram-BXWQKSXE-d8zXCJIk.js → requirementDiagram-BXWQKSXE--J8vyfm-.js} +1 -1
  55. package/dist/{reveal-component-C9BavSsS.js → reveal-component-DYHhtPqq.js} +6 -6
  56. package/dist/{sequenceDiagram-WJ2MYXX4-b6pei3lJ.js → sequenceDiagram-WJ2MYXX4-CiQbn62x.js} +1 -1
  57. package/dist/{spec-BJzgmvVa.js → spec-D_u2ipzF.js} +1 -1
  58. package/dist/{stateDiagram-D77RDMKH-Be-xSpaZ.js → stateDiagram-D77RDMKH-DVEeGs5b.js} +2 -2
  59. package/dist/{stateDiagram-v2-MP3YSRHH-5Y-FxesJ.js → stateDiagram-v2-MP3YSRHH-1OQRe6iA.js} +2 -2
  60. package/dist/{swimlanes-42K2YHIH-nRRl4NU0.js → swimlanes-42K2YHIH-CqkGoGqn.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-BS79510V.js → swimlanesDiagram-VR7AAH4N-CszjkrKo.js} +2 -2
  62. package/dist/{time-BieKwdYS.js → time-BaMbJs4z.js} +18 -18
  63. package/dist/{timeline-definition-24CTP7MA-Cfzf8WPf.js → timeline-definition-24CTP7MA-DLRUNVAx.js} +1 -1
  64. package/dist/{toDate-CJWU9dyl.js → toDate-gyi35XS2.js} +6 -6
  65. package/dist/{useAsyncData-BD534XmW.js → useAsyncData-BneN349z.js} +1 -1
  66. package/dist/{useDeepCompareMemoize-C72_RNsu.js → useDeepCompareMemoize-Z_7R8wTt.js} +1 -1
  67. package/dist/{useLifecycle-BGWzTwHK.js → useLifecycle-Dfq8UD-b.js} +1 -1
  68. package/dist/{useTheme-BhQvec43.js → useTheme-Bu5bBgrh.js} +3 -3
  69. package/dist/{vega-component-nB1kV6sb.js → vega-component-1lFfDE_8.js} +8 -8
  70. package/dist/{vega-embed-container-BNHE18G9.js → vega-embed-container-BgKnsDbB.js} +2 -2
  71. package/dist/{vega-loader.browser-DNST6uVf.js → vega-loader.browser-CpbZAXub.js} +297 -506
  72. package/dist/{vennDiagram-4TSXK5OY-CeY6Z1xZ.js → vennDiagram-4TSXK5OY-CypgoBVZ.js} +1 -1
  73. package/dist/{wardleyDiagram-VM6X3IG4-Cxs9NtVi.js → wardleyDiagram-VM6X3IG4-B6xjiQ_g.js} +1 -1
  74. package/dist/{xychartDiagram-S5SC5T6Z-DNWbvPK7.js → xychartDiagram-S5SC5T6Z-e0PefDVs.js} +2 -2
  75. package/package.json +2 -1
  76. package/src/core/host/__tests__/protocol.test.ts +15 -0
  77. package/src/core/host/protocol.ts +8 -5
  78. package/dist/mermaid-HWGCJPDP-ByCsZnYF.js +0 -2
  79. package/dist/precisionRound-DMIVQrt2.js +0 -97
@@ -9,7 +9,7 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import { n as p, r as m } from "./mermaid-BA-Z6wGL.js";
12
+ import { n as p, r as m } from "./mermaid-Bjm6C1qN.js";
13
13
  import { t as h } from "./chunk-XXDRQBXY-Dnl5VBqG.js";
14
14
  import { t as g } from "./chunk-POPQ4Y6H-hYOXbYH_.js";
15
15
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/requirementDiagram-BXWQKSXE.mjs
@@ -3,15 +3,15 @@ import { c as t, g as n, h as r, m as i, t as a } from "./button-CvjkwdSk.js";
3
3
  import { t as o } from "./react-sHtZdjeP.js";
4
4
  import { t as s } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { h as c, t as l } from "./tooltip-CtBZ5q8p.js";
6
- import { O as u } from "./error-entries-Cz3yNs7w.js";
7
- import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-1HUDUr7W.js";
6
+ import { O as u } from "./error-entries-DgtRTNaG.js";
7
+ import { $ as d, Q as f, Z as p, an as m, i as h, l as g, ln as _, n as v, on as y, r as b, t as x, u as S } from "./common-CCrzSQnL.js";
8
8
  import { M as C } from "./select-DemoKT4G.js";
9
- import { q as ee } from "./dropdown-menu-DHP9P4VE.js";
10
- import { _ as w } from "./toDate-CJWU9dyl.js";
9
+ import { q as ee } from "./dropdown-menu-BuE2b8Yb.js";
10
+ import { _ as w } from "./toDate-gyi35XS2.js";
11
11
  import { t as T } from "./jsx-runtime-3BD1kT0s.js";
12
12
  import { X as E } from "./use-restore-focus-CKjfFjLM.js";
13
- import { A as D, C as O, b as k } from "./useTheme-BhQvec43.js";
14
- import { a as A, n as te, t as ne } from "./code-visibility-CFvLbCZJ.js";
13
+ import { A as D, C as O, b as k } from "./useTheme-Bu5bBgrh.js";
14
+ import { a as A, n as te, t as ne } from "./code-visibility-CZmyRTO8.js";
15
15
  /* empty css */
16
16
  var j = c("sticky-note", [["path", {
17
17
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
@@ -3,7 +3,7 @@ import { n, t as r } from "./src-CA_m4ONl.js";
3
3
  import { n as i } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
4
4
  import { A as a, F as o, G as s, H as c, K as l, O as u, U as d, a as f, b as p, c as m, i as h, r as g, s as _, v, w as y, x as b, y as x, z as S } from "./chunk-DU6HZSFF-BwiyaNpg.js";
5
5
  import { t as C } from "./dist-DUAh96QY.js";
6
- import { a as w, i as T } from "./mermaid-BA-Z6wGL.js";
6
+ import { a as w, i as T } from "./mermaid-Bjm6C1qN.js";
7
7
  import { a as E, c as D, i as O, n as k, r as A, s as j } from "./chunk-F27PBJKO-ufseIn5y.js";
8
8
  import { t as M } from "./chunk-2Q5K7J3B-BMkUkeuy.js";
9
9
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/sequenceDiagram-WJ2MYXX4.mjs
@@ -1,5 +1,5 @@
1
1
  import { h as e } from "./tooltip-CtBZ5q8p.js";
2
- import { s as t } from "./useLifecycle-BGWzTwHK.js";
2
+ import { s as t } from "./useLifecycle-Dfq8UD-b.js";
3
3
  import { i as n, o as r } from "./useDateFormatter-DkajGwwd.js";
4
4
  import { C as i } from "./select-DemoKT4G.js";
5
5
  var a = e("align-center-vertical", [
@@ -12,11 +12,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
12
12
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
13
13
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
14
14
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
15
- import "./mermaid-BA-Z6wGL.js";
15
+ import "./mermaid-Bjm6C1qN.js";
16
16
  import "./chunk-F27PBJKO-ufseIn5y.js";
17
17
  import "./chunk-XXDRQBXY-Dnl5VBqG.js";
18
18
  import "./chunk-POPQ4Y6H-hYOXbYH_.js";
19
- import { i as f, n as p, t as m } from "./chunk-IMKFNOWR-CrS5bzqW.js";
19
+ import { i as f, n as p, t as m } from "./chunk-IMKFNOWR-aoSFasqF.js";
20
20
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-D77RDMKH.mjs
21
21
  var h = /* @__PURE__ */ s((e) => e.append("circle").attr("class", "start-state").attr("r", d().state.sizeUnit).attr("cx", d().state.padding + d().state.sizeUnit).attr("cy", d().state.padding + d().state.sizeUnit), "drawStartState"), g = /* @__PURE__ */ s((e) => e.append("line").style("stroke", "grey").style("stroke-dasharray", "3").attr("x1", d().state.textHeight).attr("class", "divider").attr("x2", d().state.textHeight * 2).attr("y1", 0).attr("y2", 0), "drawDivider"), _ = /* @__PURE__ */ s((e, t) => {
22
22
  let n = e.append("text").attr("x", 2 * d().state.padding).attr("y", d().state.textHeight + 2 * d().state.padding).attr("font-size", d().state.fontSize).attr("class", "state-title").text(t.id), r = n.node().getBBox();
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import "./mermaid-BA-Z6wGL.js";
12
+ import "./mermaid-Bjm6C1qN.js";
13
13
  import "./chunk-F27PBJKO-ufseIn5y.js";
14
14
  import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
15
  import "./chunk-POPQ4Y6H-hYOXbYH_.js";
16
- import { i as t, n, r, t as i } from "./chunk-IMKFNOWR-CrS5bzqW.js";
16
+ import { i as t, n, r, t as i } from "./chunk-IMKFNOWR-aoSFasqF.js";
17
17
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/stateDiagram-v2-MP3YSRHH.mjs
18
18
  var a = {
19
19
  parser: n,
@@ -9,7 +9,7 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import { o as n } from "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import { c as r } from "./mermaid-BA-Z6wGL.js";
12
+ import { c as r } from "./mermaid-Bjm6C1qN.js";
13
13
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/swimlanes-42K2YHIH.mjs
14
14
  var i = 5, a = 1e-5, o = 1e-6;
15
15
  function s(e) {
@@ -9,11 +9,11 @@ import "./chunk-4HAMMTFA-D4eFPyFh.js";
9
9
  import "./chunk-GVQU2GXP-Cwbt-lF0.js";
10
10
  import "./chunk-L3NEJ4N5-n-zgIVSy.js";
11
11
  import "./chunk-OSK3NFVY-DXa-Cxbn.js";
12
- import "./mermaid-BA-Z6wGL.js";
12
+ import "./mermaid-Bjm6C1qN.js";
13
13
  import "./chunk-F27PBJKO-ufseIn5y.js";
14
14
  import "./chunk-XXDRQBXY-Dnl5VBqG.js";
15
15
  import "./chunk-POPQ4Y6H-hYOXbYH_.js";
16
- import { r as t, t as n } from "./chunk-SHT3W25Y-StpvPvUG.js";
16
+ import { r as t, t as n } from "./chunk-SHT3W25Y-CMaybO3O.js";
17
17
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/swimlanesDiagram-VR7AAH4N.mjs
18
18
  var r = n({
19
19
  defaultLayout: "swimlane",
@@ -1,5 +1,5 @@
1
- import { a as e, s as t } from "./precisionRound-DMIVQrt2.js";
2
- import { a as n, i as r } from "./linear-Cnaq3Tfb.js";
1
+ import { a as e, i as t, y as n } from "./linear-DWERh7eI.js";
2
+ import { a as r } from "./precisionRound-DhAzeRcm.js";
3
3
  import { A as i, C as a, D as o, E as s, M as c, N as l, O as u, P as d, S as f, T as p, b as m, c as h, j as g, k as _, l as v, o as y, p as b, s as x, t as S, v as C, w, y as T } from "./defaultLocale-JI_lnoCe.js";
4
4
  import { D as ee, O as E, b as D, g as O, h as te, k, x as A } from "./cubic-OaEBhQPK.js";
5
5
  import { n as ne } from "./init-Ix4LXMlt.js";
@@ -26,7 +26,7 @@ function ie(e, t) {
26
26
  }
27
27
  //#endregion
28
28
  //#region ../node_modules/.pnpm/d3-time@3.1.0/node_modules/d3-time/src/ticks.js
29
- function j(n, r, a, f, p, m) {
29
+ function j(e, t, a, f, p, m) {
30
30
  let h = [
31
31
  [
32
32
  s,
@@ -104,17 +104,17 @@ function j(n, r, a, f, p, m) {
104
104
  c
105
105
  ],
106
106
  [
107
- r,
107
+ t,
108
108
  1,
109
109
  i
110
110
  ],
111
111
  [
112
- r,
112
+ t,
113
113
  3,
114
114
  3 * i
115
115
  ],
116
116
  [
117
- n,
117
+ e,
118
118
  1,
119
119
  l
120
120
  ]
@@ -125,10 +125,10 @@ function j(n, r, a, f, p, m) {
125
125
  let i = n && typeof n.range == "function" ? n : y(e, t, n), a = i ? i.range(e, +t + 1) : [];
126
126
  return r ? a.reverse() : a;
127
127
  }
128
- function y(r, i, a) {
129
- let o = Math.abs(i - r) / a, s = t(([, , e]) => e).right(h, o);
130
- if (s === h.length) return n.every(e(r / l, i / l, a));
131
- if (s === 0) return d.every(Math.max(e(r, i, a), 1));
128
+ function y(t, i, a) {
129
+ let o = Math.abs(i - t) / a, s = n(([, , e]) => e).right(h, o);
130
+ if (s === h.length) return e.every(r(t / l, i / l, a));
131
+ if (s === 0) return d.every(Math.max(r(t, i, a), 1));
132
132
  let [c, u] = h[o / h[s - 1][2] < h[s][2] / o ? s - 1 : s];
133
133
  return c.every(u);
134
134
  }
@@ -226,8 +226,8 @@ function pe(e) {
226
226
  function me(e) {
227
227
  return e instanceof Date ? +e : +/* @__PURE__ */ new Date(+e);
228
228
  }
229
- function $(e, t, i, a, o, s, c, l, u, d) {
230
- var f = r(), p = f.invert, m = f.domain, h = d(".%L"), g = d(":%S"), _ = d("%I:%M"), v = d("%I %p"), y = d("%a %d"), b = d("%b %d"), x = d("%B"), S = d("%Y");
229
+ function $(n, r, i, a, o, s, c, l, u, d) {
230
+ var f = t(), p = f.invert, m = f.domain, h = d(".%L"), g = d(":%S"), _ = d("%I:%M"), v = d("%I %p"), y = d("%a %d"), b = d("%b %d"), x = d("%B"), S = d("%Y");
231
231
  function C(e) {
232
232
  return (u(e) < e ? h : l(e) < e ? g : c(e) < e ? _ : s(e) < e ? v : a(e) < e ? o(e) < e ? y : b : i(e) < e ? x : S)(e);
233
233
  }
@@ -235,16 +235,16 @@ function $(e, t, i, a, o, s, c, l, u, d) {
235
235
  return new Date(p(e));
236
236
  }, f.domain = function(e) {
237
237
  return arguments.length ? m(Array.from(e, me)) : m().map(pe);
238
- }, f.ticks = function(t) {
239
- var n = m();
240
- return e(n[0], n[n.length - 1], t ?? 10);
238
+ }, f.ticks = function(e) {
239
+ var t = m();
240
+ return n(t[0], t[t.length - 1], e ?? 10);
241
241
  }, f.tickFormat = function(e, t) {
242
242
  return t == null ? C : d(t);
243
243
  }, f.nice = function(e) {
244
- var n = m();
245
- return (!e || typeof e.range != "function") && (e = t(n[0], n[n.length - 1], e ?? 10)), e ? m(Q(n, e)) : f;
244
+ var t = m();
245
+ return (!e || typeof e.range != "function") && (e = r(t[0], t[t.length - 1], e ?? 10)), e ? m(Q(t, e)) : f;
246
246
  }, f.copy = function() {
247
- return n(f, $(e, t, i, a, o, s, c, l, u, d));
247
+ return e(f, $(n, r, i, a, o, s, c, l, u, d));
248
248
  }, f;
249
249
  }
250
250
  function he() {
@@ -3,7 +3,7 @@ import { p as t } from "./chunk-75Z2AOVW-D7gxIs2Q.js";
3
3
  import { n, t as r } from "./src-CA_m4ONl.js";
4
4
  import { n as i, t as a } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { $ as o, J as s, a as c, b as l, et as u, nt as d, o as f, x as p } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
- import { p as m } from "./mermaid-BA-Z6wGL.js";
6
+ import { p as m } from "./mermaid-Bjm6C1qN.js";
7
7
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/timeline-definition-24CTP7MA.mjs
8
8
  var h = (function() {
9
9
  var e = /* @__PURE__ */ i(function(e, t, n, r) {
@@ -3,7 +3,7 @@ import { g as t } from "./button-CvjkwdSk.js";
3
3
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
4
4
  import { h as r } from "./tooltip-CtBZ5q8p.js";
5
5
  import { B as i, C as a, D as o, I as s, L as c, P as l, k as u, l as d, q as f, w as p, x as m, y as h, z as g } from "./use-restore-focus-CKjfFjLM.js";
6
- import { C as _, E as v, _ as y, a as b, b as x } from "./useTheme-BhQvec43.js";
6
+ import { C as _, E as v, _ as y, a as b, b as x } from "./useTheme-Bu5bBgrh.js";
7
7
  import { t as S } from "./invariant-DLmrl-hA.js";
8
8
  var C = r("circle-question-mark", [
9
9
  ["circle", {
@@ -214,7 +214,7 @@ var ie = l({
214
214
  runtime_id: g([I, m()]).describe("The runtime that produced this execution. Live when it equals the current runtime's id. Null when the producer is unknown."),
215
215
  caused_by: g([R, m()]).describe("The execution in the same run that caused this one. Null for executions requested directly."),
216
216
  cell_id: g([B, m()]).describe("The cell this execution belongs to. Null for scratch code, a cell outside the document."),
217
- code: c().nullable().describe("The submitted code for an execution with no cell. Null for a cell's execution, since the cell holds its code."),
217
+ code: c().nullable().describe("The submitted code for an execution with no cell. Null for a cell's execution; its source is available through the cell when the host exposes it."),
218
218
  code_hash: q.describe("The `code_hash` of the code that was evaluated, computed as a cell's is."),
219
219
  depends_on: s(c(), g([U, m()])).describe("The variables the execution used, by name, each at the revision the runtime holds its result valid against. Null for a name no retained cell execution had bound. Empty while queued, stamped as the execution ends, and final from then on."),
220
220
  status: V,
@@ -236,7 +236,7 @@ var ie = l({
236
236
  }).describe("A value an execution showed as a side effect, such as a figure\nfrom `plt.show()`. A producer replaces one by sending it again\nwith the same id, which is how a progress bar updates in place.\n"), Te = l({
237
237
  column: o().nullable().describe("The column the cell sits in, for multi-column layouts. Null in a single column."),
238
238
  disabled: p().describe("Whether the cell is kept from running."),
239
- hide_code: p().describe("Whether clients hide the code by default."),
239
+ hide_code: p().describe("Whether clients hide the code by default. This is a presentation preference; source availability is represented by `Cell.code`."),
240
240
  expand_output: p().describe("Whether clients show the full output rather than a scrolled box.")
241
241
  }).describe("How a cell is laid out and whether it runs. Every field is always present, so a cell's etag is well defined."), Ee = l({
242
242
  defs: a(c()).describe("Names this cell defines."),
@@ -249,11 +249,11 @@ var ie = l({
249
249
  }).describe("What a document's cells imply, computed together over one\nrevision of the document so that cross-cell errors agree. One\nper notebook, and removed with it. It follows the document it\ndescribes, and `document_etag` says which revision that is.\n"), J = l({
250
250
  id: B,
251
251
  notebook_id: F,
252
- code: c().describe("The cell's source code, with newline line endings. A host normalizes other line endings when it loads a file."),
252
+ code: c().nullable().describe("The cell's source code, with newline line endings, or null when the host does not expose source to this client. An empty string is an empty cell. A host normalizes other line endings when it loads a file. Source availability does not grant editing permission; see the notebook's operations."),
253
253
  name: c().describe("The cell's name. `_` for an anonymous cell; otherwise a Python identifier, unique within the notebook."),
254
254
  config: Te,
255
255
  etag: q.describe("Identifies code, name, and config together, and is the precondition for editing the cell. Its text is `code_hash`, `name`, and the config values `column`, `disabled`, `hide_code`, and `expand_output` in that order, each written as a JSON scalar such as `null`, `0`, or `true`."),
256
- code_hash: q.describe("Identifies the code alone. Its text is `code`. Unchanged by renaming the cell or editing its config. Compare with an execution's `code_hash` to tell whether a result came from the current code."),
256
+ code_hash: q.describe("Identifies the code alone. Its text is the actual source, even when `code` is null. Withholding source does not change this hash, the cell or document etags, or their versions. Unchanged by renaming the cell or editing its config. Compare with an execution's `code_hash` to tell whether a result came from the current code without needing the source."),
257
257
  version: o().min(1).describe("The document version at which the cell was created or last changed.")
258
258
  }).describe("A unit of code and configuration in the document. A cell event\nfires when its code, name, or config changes. Markdown and SQL\ncells are code that calls `mo.md` or `mo.sql`; a client chooses\nthe editor to show.\n"), Y = l({
259
259
  notebook_id: F.describe("The notebook this document belongs to."),
@@ -497,7 +497,7 @@ var bt = l({
497
497
  code: c().describe("The cell's source code."),
498
498
  name: c().default("_").describe("The cell's name. `_` for an anonymous cell."),
499
499
  config: bt.optional()
500
- }).describe("A cell as a client writes it. The host derives the etags and the analysis."), St = l({
500
+ }).describe("A cell as a client writes it. Code must be a string, even when the host withholds source in cell records. Null is not an edit or a request to preserve existing source. The host derives the etags and the analysis."), St = l({
501
501
  kind: h(["put_cell"]),
502
502
  base_etag: c().nullable().describe("The cell's etag as last read, `*` to skip the check, or null to create the cell. Null when the cell exists, or an etag when it does not, is a `conflict`."),
503
503
  cell: xt,
@@ -1,7 +1,7 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
3
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
4
- import { A as r } from "./useTheme-BhQvec43.js";
4
+ import { A as r } from "./useTheme-Bu5bBgrh.js";
5
5
  import { t as i } from "./invariant-DLmrl-hA.js";
6
6
  //#region src/hooks/useAsyncData.ts
7
7
  var a = n(), o = /* @__PURE__ */ e(t(), 1), s = {
@@ -1,6 +1,6 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
- import { k as n } from "./useTheme-BhQvec43.js";
3
+ import { k as n } from "./useTheme-Bu5bBgrh.js";
4
4
  //#region src/hooks/useDeepCompareMemoize.ts
5
5
  var r = /* @__PURE__ */ e(t(), 1);
6
6
  function i(e) {
@@ -4,7 +4,7 @@ import { t as i } from "./react-sHtZdjeP.js";
4
4
  import { t as a } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { h as o } from "./tooltip-CtBZ5q8p.js";
6
6
  import { t as s } from "./jsx-runtime-3BD1kT0s.js";
7
- import { E as c, w as l } from "./useTheme-BhQvec43.js";
7
+ import { E as c, w as l } from "./useTheme-Bu5bBgrh.js";
8
8
  var u = o("calendar", [
9
9
  ["path", {
10
10
  d: "M8 2v4",
@@ -64,7 +64,7 @@ function E(e, t) {
64
64
  return e !== e && t !== t;
65
65
  }
66
66
  //#endregion
67
- //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla/internals.mjs
67
+ //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla/internals.mjs
68
68
  var D = /* @__PURE__ */ t({
69
69
  INTERNAL_addPendingPromiseToDependency: () => N,
70
70
  INTERNAL_buildStoreRev3: () => we,
@@ -438,7 +438,7 @@ function we(...e) {
438
438
  return t;
439
439
  }
440
440
  //#endregion
441
- //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla.mjs
441
+ //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/vanilla.mjs
442
442
  var Te = 0;
443
443
  function R(e, t) {
444
444
  let n = `atom${++Te}`, r = { toString() {
@@ -460,7 +460,7 @@ function ke() {
460
460
  return Oe ||= z(), Oe;
461
461
  }
462
462
  //#endregion
463
- //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/react.mjs
463
+ //#region ../node_modules/.pnpm/jotai@2.20.3_@babel+core@7.29.0_supports-color@10.0.0__@babel+template@7.28.6_@types+react@19.3.0_react@19.3.0/node_modules/jotai/esm/react.mjs
464
464
  var B = (0, y.createContext)(void 0);
465
465
  function V(e) {
466
466
  let t = (0, y.useContext)(B);
@@ -3,19 +3,19 @@ import { g as t, h as n, m as r, o as i } from "./button-CvjkwdSk.js";
3
3
  import { t as a } from "./react-sHtZdjeP.js";
4
4
  import { t as o } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { t as s } from "./tooltip-CtBZ5q8p.js";
6
- import { C as c, a as l } from "./toDate-CJWU9dyl.js";
6
+ import { C as c, a as l } from "./toDate-gyi35XS2.js";
7
7
  import { t as u } from "./jsx-runtime-3BD1kT0s.js";
8
8
  import { n as d } from "./error-banner-CFPHFw4h.js";
9
9
  import { t as f } from "./debounce-C3jyATpc.js";
10
- import { A as p, n as ee } from "./useTheme-BhQvec43.js";
10
+ import { A as p, n as ee } from "./useTheme-Bu5bBgrh.js";
11
11
  import { c as m } from "./arrays-CN1djC4k.js";
12
12
  import { t as te } from "./objects-CzUgoMIF.js";
13
- import { t as h } from "./useAsyncData-BD534XmW.js";
14
- import { a as ne, i as re, n as ie, t as g } from "./formats-Buu00Z2q.js";
15
- import { M as ae, n as oe } from "./vega-loader.browser-DNST6uVf.js";
16
- import { t as se } from "./react-vega-BED0DjiB.js";
17
- import { a as ce, n as _ } from "./loader-BQOfjTIJ.js";
18
- import { t as le } from "./useDeepCompareMemoize-C72_RNsu.js";
13
+ import { t as h } from "./useAsyncData-BneN349z.js";
14
+ import { a as ne, i as re, n as ie, t as g } from "./formats-DRHUWwSK.js";
15
+ import { D as ae, n as oe } from "./vega-loader.browser-CpbZAXub.js";
16
+ import { t as se } from "./react-vega-BDpbvBCb.js";
17
+ import { a as ce, n as _ } from "./loader-BPdQhmlq.js";
18
+ import { t as le } from "./useDeepCompareMemoize-Z_7R8wTt.js";
19
19
  import { t as ue } from "./semaphore-89jsoHtS.js";
20
20
  import { t as de } from "./use-vega-container-remeasure-Bz4PZMtt.js";
21
21
  //#region src/plugins/impl/vega/fix-relative-url.ts
@@ -2,8 +2,8 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { t } from "./react-sHtZdjeP.js";
3
3
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
4
4
  import { t as r } from "./jsx-runtime-3BD1kT0s.js";
5
- import { M as i } from "./vega-loader.browser-DNST6uVf.js";
6
- import { n as a } from "./react-vega-BED0DjiB.js";
5
+ import { D as i } from "./vega-loader.browser-CpbZAXub.js";
6
+ import { n as a } from "./react-vega-BDpbvBCb.js";
7
7
  import { t as o } from "./use-vega-container-remeasure-Bz4PZMtt.js";
8
8
  //#region src/components/charts/vega-embed-container.tsx
9
9
  var s = n(), c = /* @__PURE__ */ e(t(), 1), l = r();