@marimo-team/islands 0.26.1-dev42 → 0.26.1-dev43

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 (105) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BVMWCBON.js → ConnectedDataExplorerComponent-yQVBQBUW.js} +16 -16
  2. package/dist/{ErrorBoundary-BzyGrUMt.js → ErrorBoundary-jwCXNfZJ.js} +18 -18
  3. package/dist/{abnfDiagram-VCTEODGH-BRj77JhY.js → abnfDiagram-VCTEODGH-Ck_lXwQR.js} +2 -2
  4. package/dist/{any-language-editor-BQ9dhxg5.js → any-language-editor-Cx4idbgX.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-CDnAsvE1.js → architectureDiagram-5GKGNRK7-XeVhic7Z.js} +1 -1
  6. package/dist/{assertNever-DeSqnr83.js → assertNever-473SFxLt.js} +2 -2
  7. package/dist/{chat-ui-CXyZb62N.js → chat-ui-D2dBBkxD.js} +870 -870
  8. package/dist/{check-COXd6cXw.js → check-DmTIavbZ.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-BFtu1O6j.js → chunk-IMKFNOWR-DdQni67K.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-B9zWo9Da.js → chunk-SHT3W25Y-BdK-vMct.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-kKS-I24p.js → chunk-SVP7TREG-cpFZk4Ca.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-EY3w5-eg.js → chunk-TICWLB2K-DDgQFRgT.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-BR66X7fj.js → classDiagram-ZZMXUADV-DeojX9X4.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-DPcxw_9g.js → classDiagram-v2-VYDZK3BY-DPfTAiQ6.js} +2 -2
  15. package/dist/{code-visibility-DcxCjPS7.js → code-visibility-BWkMC88N.js} +27 -27
  16. package/dist/{common-CA3E-SaD.js → common-DfQQ4A9M.js} +4892 -4900
  17. package/dist/{config-DE3A8m65.js → config-D-lhQq-h.js} +3 -3
  18. package/dist/{copy-icon-gSCLWI50.js → copy-icon-DuxRkh7T.js} +2 -2
  19. package/dist/{createReducer-BFfuVhJG.js → createReducer-D3pBhIVD.js} +5 -5
  20. package/dist/{cynefinDiagram-5FMLGOSQ-B9kG0Adl.js → cynefinDiagram-5FMLGOSQ-DyY9TvuI.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-ClnyHQzL.js → dagre-GXQ25YYZ-BPCOgtKg.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-DjSnRyGz.js → data-grid-overlay-editor-BcO56m4p.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-afCjSSlp.js → diagram-S7CK7UJ4-KaF-C6kd.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-BCHefG5P.js → diagram-UQ7AKVKN-DkeqoSvK.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-9jXA0khj.js → diagram-VX7I27RA-DExolTAf.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-C8tsbK7Q.js → diagram-Z3DM3KII-BioFuBF3.js} +1 -1
  27. package/dist/{dialog-Dn_UHaEl.js → dialog-CvyFEwby.js} +28 -28
  28. package/dist/{dropdown-menu-D0nePAlm.js → dropdown-menu-BiXHfje7.js} +651 -651
  29. package/dist/{ebnfDiagram-PWID7BFC-It0ZS33j.js → ebnfDiagram-PWID7BFC-BSb9k1ed.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-Z0Qfo02H.js → erDiagram-RLTQ6QDP-PWA30a_r.js} +1 -1
  31. package/dist/{error-banner-DChjSagB.js → error-banner-B9HQMSaH.js} +70 -70
  32. package/dist/{error-entries-DYoi03MZ.js → error-entries-DJXufUac.js} +812 -697
  33. package/dist/{feedback-button-DeA5LGUm.js → feedback-button-DNzGMlV8.js} +52 -52
  34. package/dist/{flowDiagram-HODETNUW-8DeXLUFK.js → flowDiagram-HODETNUW-BPtD__Zz.js} +2 -2
  35. package/dist/{formats-6QF5hRsy.js → formats-BF95BoCT.js} +1 -1
  36. package/dist/{glide-data-editor-DD03A2zN.js → glide-data-editor-DdyqdPXc.js} +11 -11
  37. package/dist/{glide-utils-B7gy9Her.js → glide-utils-iHKKQPJ8.js} +2 -2
  38. package/dist/{globals-CXh7buzB.js → globals-DNb4-fss.js} +3 -3
  39. package/dist/{html-to-image-CUFNjxtw.js → html-to-image-R7PUQb3h.js} +404 -404
  40. package/dist/{infoDiagram-27XIBGKW-B5wmzeRz.js → infoDiagram-27XIBGKW-SJuilBEE.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-BcbPwik7.js → ishikawaDiagram-5VMMS53U-DjzyxMr8.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-AfQmkIoH.js → kanban-definition-UXKFOSKX-D2_qopGt.js} +1 -1
  43. package/dist/main.js +5848 -5793
  44. package/dist/{mermaid-az53hfgW.js → mermaid-DcowNmCx.js} +34 -34
  45. package/dist/{mindmap-definition-YA3MSWOX-B7eBrMap.js → mindmap-definition-YA3MSWOX-pEra10M0.js} +1 -1
  46. package/dist/{number-overlay-editor-DJFSx1CC.js → number-overlay-editor-Co2zZ0AQ.js} +1 -1
  47. package/dist/{pegDiagram-XKGWAZYB-BwjpXSLR.js → pegDiagram-XKGWAZYB-CHOPKVOf.js} +2 -2
  48. package/dist/{pencil-pQhLU2Up.js → pencil-FAv6JUvp.js} +1 -1
  49. package/dist/{pieDiagram-E7YTZNPT-D5AyRqAQ.js → pieDiagram-E7YTZNPT-yGDhsyEN.js} +1 -1
  50. package/dist/{process-output-DMMs8Ywh.js → process-output-KUevsERL.js} +4 -4
  51. package/dist/{railroadDiagram-O6MQD6OU-Hhrla0Qq.js → railroadDiagram-O6MQD6OU-CeKEPdyc.js} +2 -2
  52. package/dist/{requirementDiagram-BXWQKSXE-MgDRuFUM.js → requirementDiagram-BXWQKSXE-DSAbAzKe.js} +1 -1
  53. package/dist/{reveal-component-DwB1-KYy.js → reveal-component-B5WBKEMn.js} +7 -7
  54. package/dist/{select-C4rPKgSx.js → select-BszV-bbI.js} +307 -307
  55. package/dist/{sequenceDiagram-WJ2MYXX4-xZYdOGbe.js → sequenceDiagram-WJ2MYXX4-DVhWj_9H.js} +1 -1
  56. package/dist/{spec-BsiCag5K.js → spec-CRfw-lOm.js} +4 -4
  57. package/dist/{stateDiagram-D77RDMKH-DdhE3Yx9.js → stateDiagram-D77RDMKH-CDQ2MltG.js} +2 -2
  58. package/dist/{stateDiagram-v2-MP3YSRHH-DENKYVKr.js → stateDiagram-v2-MP3YSRHH-BQmvwBaz.js} +2 -2
  59. package/dist/{static-state-CNnjDcOR.js → static-state-BtDNJuc2.js} +5 -5
  60. package/dist/{swimlanes-42K2YHIH-Bw7xuGAn.js → swimlanes-42K2YHIH-DLOUTCEL.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-L91TUeh5.js → swimlanesDiagram-VR7AAH4N-BVKrkNJ6.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-BeGrmws1.js → timeline-definition-24CTP7MA-Cb2JoCSd.js} +1 -1
  63. package/dist/{toast-qyBwbZJ0.js → toast-QsOAIPfq.js} +192 -192
  64. package/dist/{tooltip-COQxCMLx.js → tooltip-BQZ-Bm6h.js} +76 -76
  65. package/dist/{use-restore-focus-D5-Hgr1l.js → use-restore-focus-DT1TZACX.js} +1167 -1167
  66. package/dist/{useDateFormatter-L8edl513.js → useDateFormatter-D3gyMY-g.js} +2 -2
  67. package/dist/{useDeepCompareMemoize-B6yhm6sM.js → useDeepCompareMemoize-CO6rO5Mq.js} +1 -1
  68. package/dist/{useLifecycle-Dnxradbp.js → useLifecycle-C9UTzCY8.js} +1 -1
  69. package/dist/{vega-component-CWKS3tOU.js → vega-component-i5lZ23n7.js} +17 -17
  70. package/dist/{vennDiagram-4TSXK5OY-fknCUyJ2.js → vennDiagram-4TSXK5OY-Cm3EcCcP.js} +1 -1
  71. package/dist/{wardleyDiagram-VM6X3IG4-DvoVMCdj.js → wardleyDiagram-VM6X3IG4-DjlUs2CC.js} +1 -1
  72. package/dist/{xychartDiagram-S5SC5T6Z-0TYtO6UV.js → xychartDiagram-S5SC5T6Z-DxNDul9l.js} +1 -1
  73. package/package.json +1 -1
  74. package/src/__mocks__/animation-frames.ts +31 -0
  75. package/src/__mocks__/executions.ts +6 -1
  76. package/src/components/editor/cell/collapse.tsx +6 -3
  77. package/src/components/editor/header/status.tsx +5 -2
  78. package/src/components/scratchpad/scratchpad.tsx +2 -2
  79. package/src/core/cells/cells.ts +24 -16
  80. package/src/core/cells/execution-console.ts +7 -2
  81. package/src/core/executions/__tests__/atoms.test.ts +204 -1
  82. package/src/core/executions/__tests__/output-lifecycle.test.ts +20 -3
  83. package/src/core/executions/__tests__/select.test.ts +32 -1
  84. package/src/core/executions/atoms.ts +245 -81
  85. package/src/core/executions/hooks.ts +15 -59
  86. package/src/core/executions/index.ts +2 -0
  87. package/src/core/executions/output.ts +34 -14
  88. package/src/core/executions/select.ts +70 -25
  89. package/src/core/islands/bootstrap.ts +7 -2
  90. package/src/core/notebook/replica/__tests__/frame.test.ts +206 -0
  91. package/src/core/notebook/replica/__tests__/once-per-frame.test.ts +95 -0
  92. package/src/core/notebook/replica/frame.ts +54 -0
  93. package/src/core/notebook/replica/index.ts +1 -0
  94. package/src/core/notebook/replica/once-per-frame.ts +60 -0
  95. package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +53 -7
  96. package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +29 -7
  97. package/src/core/session/active-notebook.ts +4 -1
  98. package/src/core/session/useNotebookReplica.ts +14 -1
  99. package/src/core/state/__tests__/atom-with-selected-inputs.test.ts +48 -0
  100. package/src/core/state/__tests__/create-keyed-selector-hook.test.tsx +16 -7
  101. package/src/core/state/atom-with-selected-inputs.ts +24 -0
  102. package/src/core/state/create-keyed-atom-hook.ts +18 -0
  103. package/src/core/state/create-keyed-selector-hook.ts +5 -9
  104. package/src/core/wasm/__tests__/bridge.test.ts +73 -1
  105. package/src/utils/arrays.ts +4 -1
@@ -2,15 +2,15 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { h as t, t as n } from "./button-Z2R2272J.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-gSCLWI50.js";
6
- import { $t as o, A as s, L as c, Y as l, i as u, in as d, j as f, n as p, z as m } from "./error-entries-DYoi03MZ.js";
7
- import { n as h, t as ee } from "./globals-CXh7buzB.js";
8
- import { r as g } from "./assertNever-DeSqnr83.js";
5
+ import { t as a } from "./copy-icon-DuxRkh7T.js";
6
+ import { A as o, L as s, Y as c, i as l, j as u, n as d, on as f, tn as p, z as m } from "./error-entries-DJXufUac.js";
7
+ import { n as h, t as ee } from "./globals-DNb4-fss.js";
8
+ import { r as g } from "./assertNever-473SFxLt.js";
9
9
  import { t as _ } from "./jsx-runtime-D8btoEHk.js";
10
- import { Bt as v, Ct as te, m as y } from "./use-restore-focus-D5-Hgr1l.js";
11
- import { a as ne, i as re, n as ie, r as ae } from "./dialog-Dn_UHaEl.js";
10
+ import { Ct as te, Vt as v, m as y } from "./use-restore-focus-DT1TZACX.js";
11
+ import { a as ne, i as re, n as ie, r as ae } from "./dialog-CvyFEwby.js";
12
12
  import { t as oe } from "./useAsyncData-P5-Oovhq.js";
13
- import { t as se } from "./code-visibility-DcxCjPS7.js";
13
+ import { t as se } from "./code-visibility-BWkMC88N.js";
14
14
  //#region src/components/ui/skeleton.tsx
15
15
  var b = /* @__PURE__ */ e(r(), 1), x = i(), S = _(), ce = (e) => {
16
16
  let n = (0, x.c)(8), r, i;
@@ -72,7 +72,7 @@ function fe(e) {
72
72
  return w("Environment", C("json", JSON.stringify(e, null, 2)));
73
73
  }
74
74
  function pe(e) {
75
- return w("Errors", C("text", e.map(p).join("\n\n---\n\n")));
75
+ return w("Errors", C("text", e.map(d).join("\n\n---\n\n")));
76
76
  }
77
77
  function me(e) {
78
78
  return w("Code", C("python", e));
@@ -81,12 +81,12 @@ function me(e) {
81
81
  //#region src/hooks/useLocalStorage.ts
82
82
  function he(e, t) {
83
83
  let n = (0, x.c)(11), r;
84
- n[0] === t ? r = n[1] : (r = new c(t), n[0] = t, n[1] = r);
84
+ n[0] === t ? r = n[1] : (r = new s(t), n[0] = t, n[1] = r);
85
85
  let i = r, a;
86
86
  n[2] !== e || n[3] !== i ? (a = () => i.get(e), n[2] = e, n[3] = i, n[4] = a) : a = n[4];
87
- let [o, s] = (0, b.useState)(a), l;
87
+ let [o, c] = (0, b.useState)(a), l;
88
88
  n[5] !== e || n[6] !== i ? (l = (t) => {
89
- s(t), i.set(e, t);
89
+ c(t), i.set(e, t);
90
90
  }, n[5] = e, n[6] = i, n[7] = l) : l = n[7];
91
91
  let u = l, d;
92
92
  return n[8] !== u || n[9] !== o ? (d = [o, u], n[8] = u, n[9] = o, n[10] = d) : d = n[10], d;
@@ -127,49 +127,49 @@ function _e(e) {
127
127
  if (!e.hasRequestClient) return "Notebook source is unavailable.";
128
128
  if (e.filename === null) return "Save the notebook first.";
129
129
  if (!e.codeAvailable) return "Notebook source is hidden in this view.";
130
- if (e.connectionState !== o.OPEN) return "Connect the notebook to include its source.";
130
+ if (e.connectionState !== p.OPEN) return "Connect the notebook to include its source.";
131
131
  }
132
132
  var T = () => {
133
- let e = (0, x.c)(56), t = v(l), r, i;
133
+ let e = (0, x.c)(56), t = v(c), r, i;
134
134
  e[0] === t ? (r = e[1], i = e[2]) : (r = async () => {
135
135
  if (t != null) return t.getEnvironmentInfo();
136
136
  }, i = [t], e[0] = t, e[1] = r, e[2] = i);
137
- let o = oe(r, i), c = u(te), g = se(), _ = v(m), b = v(f), C = t != null, w;
137
+ let s = oe(r, i), p = l(te), g = se(), _ = v(m), b = v(u), C = t != null, w;
138
138
  e[3] !== g || e[4] !== b.state || e[5] !== _ || e[6] !== C ? (w = _e({
139
139
  hasRequestClient: C,
140
140
  filename: _,
141
141
  codeAvailable: g,
142
142
  connectionState: b.state
143
143
  }), e[3] = g, e[4] = b.state, e[5] = _, e[6] = C, e[7] = w) : w = e[7];
144
- let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, A] = he("marimo:issue-report:include-code", !1), j = o.data ? le(o.data, navigator.userAgent) : o.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, M, N;
145
- e[8] !== k || e[9] !== E || e[10] !== t ? (M = async () => {
144
+ let T = w, E = T === void 0, [D, O] = he("marimo:issue-report:include-errors", !1), [k, ye] = he("marimo:issue-report:include-code", !1), A = s.data ? le(s.data, navigator.userAgent) : s.status === "error" || t == null ? ue(ee(), navigator.userAgent, navigator.language, "Server environment information unavailable") : void 0, j, M;
145
+ e[8] !== k || e[9] !== E || e[10] !== t ? (j = async () => {
146
146
  if (!k || !E || t == null) return;
147
147
  let { contents: e } = await t.readCode();
148
148
  return e;
149
- }, N = [
149
+ }, M = [
150
150
  k,
151
151
  E,
152
152
  t
153
- ], e[8] = k, e[9] = E, e[10] = t, e[11] = M, e[12] = N) : (M = e[11], N = e[12]);
154
- let P = oe(M, N), ye = y.bugReportUrl, be = [];
155
- if (j) {
156
- let e = { env: fe(j) };
157
- D && c.length > 0 && (e["bug-description"] = pe(c)), k && P.data && (e["reproduction-code"] = me(P.data)), {url: ye, omitted: be} = de(y.bugReportUrl, e);
153
+ ], e[8] = k, e[9] = E, e[10] = t, e[11] = j, e[12] = M) : (j = e[11], M = e[12]);
154
+ let N = oe(j, M), be = y.bugReportUrl, xe = [];
155
+ if (A) {
156
+ let e = { env: fe(A) };
157
+ D && p.length > 0 && (e["bug-description"] = pe(p)), k && N.data && (e["reproduction-code"] = me(N.data)), {url: be, omitted: xe} = de(y.bugReportUrl, e);
158
158
  }
159
- let xe = be.map(ve).join(", "), F;
160
- e[13] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, S.jsxs)(re, { children: [/* @__PURE__ */ (0, S.jsx)(ne, { children: "Report an issue" }), /* @__PURE__ */ (0, S.jsx)(ae, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[13] = F) : F = e[13];
161
- let I;
162
- e[14] === Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ (0, S.jsx)(d, { className: "w-4 h-4 mr-2" }), e[14] = I) : I = e[14];
163
- let Se = c.length === 0, L;
159
+ let Se = xe.map(ve).join(", "), P;
160
+ e[13] === Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ (0, S.jsxs)(re, { children: [/* @__PURE__ */ (0, S.jsx)(ne, { children: "Report an issue" }), /* @__PURE__ */ (0, S.jsx)(ae, { children: "Open a GitHub bug report prefilled with your environment, and optionally your current errors and notebook code. Nothing is uploaded automatically; review the details before posting." })] }), e[13] = P) : P = e[13];
161
+ let F;
162
+ e[14] === Symbol.for("react.memo_cache_sentinel") ? (F = /* @__PURE__ */ (0, S.jsx)(f, { className: "w-4 h-4 mr-2" }), e[14] = F) : F = e[14];
163
+ let I = p.length === 0, L;
164
164
  e[15] === O ? L = e[16] : (L = (e) => O(e === !0), e[15] = O, e[16] = L);
165
165
  let R;
166
- e[17] !== D || e[18] !== Se || e[19] !== L ? (R = /* @__PURE__ */ (0, S.jsx)(s, {
166
+ e[17] !== D || e[18] !== I || e[19] !== L ? (R = /* @__PURE__ */ (0, S.jsx)(o, {
167
167
  id: "issue-include-errors",
168
168
  checked: D,
169
- disabled: Se,
169
+ disabled: I,
170
170
  onCheckedChange: L,
171
171
  "aria-label": "Include errors"
172
- }), e[17] = D, e[18] = Se, e[19] = L, e[20] = R) : R = e[20];
172
+ }), e[17] = D, e[18] = I, e[19] = L, e[20] = R) : R = e[20];
173
173
  let z;
174
174
  e[21] === Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ (0, S.jsx)("label", {
175
175
  htmlFor: "issue-include-errors",
@@ -181,9 +181,9 @@ var T = () => {
181
181
  children: [R, z]
182
182
  }), e[22] = R, e[23] = B);
183
183
  let Ce = !E, V;
184
- e[24] === A ? V = e[25] : (V = (e) => A(e === !0), e[24] = A, e[25] = V);
184
+ e[24] === ye ? V = e[25] : (V = (e) => ye(e === !0), e[24] = ye, e[25] = V);
185
185
  let H;
186
- e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(s, {
186
+ e[26] !== k || e[27] !== Ce || e[28] !== V ? (H = /* @__PURE__ */ (0, S.jsx)(o, {
187
187
  id: "issue-include-code",
188
188
  checked: k,
189
189
  disabled: Ce,
@@ -206,10 +206,10 @@ var T = () => {
206
206
  children: T
207
207
  }), e[33] = T, e[34] = G);
208
208
  let K;
209
- e[35] !== P || e[36] !== k ? (K = k && P.status === "error" && /* @__PURE__ */ (0, S.jsx)("span", {
209
+ e[35] !== N || e[36] !== k ? (K = k && N.status === "error" && /* @__PURE__ */ (0, S.jsx)("span", {
210
210
  className: "text-xs text-(--red-11) ml-6",
211
211
  children: "Notebook source could not be loaded."
212
- }), e[35] = P, e[36] = k, e[37] = K) : K = e[37];
212
+ }), e[35] = N, e[36] = k, e[37] = K) : K = e[37];
213
213
  let q;
214
214
  e[38] !== W || e[39] !== G || e[40] !== K ? (q = /* @__PURE__ */ (0, S.jsxs)("div", {
215
215
  className: "flex flex-col gap-1",
@@ -225,7 +225,7 @@ var T = () => {
225
225
  children: [B, q]
226
226
  }), e[42] = B, e[43] = q, e[44] = J) : J = e[44];
227
227
  let Y;
228
- e[45] !== o.status || e[46] !== t ? (Y = o.status === "pending" && t != null && /* @__PURE__ */ (0, S.jsxs)("div", {
228
+ e[45] !== s.status || e[46] !== t ? (Y = s.status === "pending" && t != null && /* @__PURE__ */ (0, S.jsxs)("div", {
229
229
  className: "flex flex-col gap-2",
230
230
  children: [
231
231
  /* @__PURE__ */ (0, S.jsx)("span", {
@@ -236,9 +236,9 @@ var T = () => {
236
236
  /* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-3/4" }),
237
237
  /* @__PURE__ */ (0, S.jsx)(ce, { className: "h-4 w-1/2" })
238
238
  ]
239
- }), e[45] = o.status, e[46] = t, e[47] = Y) : Y = e[47];
239
+ }), e[45] = s.status, e[46] = t, e[47] = Y) : Y = e[47];
240
240
  let X;
241
- e[48] !== o || e[49] !== t ? (X = (o.status === "error" || t == null) && /* @__PURE__ */ (0, S.jsxs)("div", {
241
+ e[48] !== s || e[49] !== t ? (X = (s.status === "error" || t == null) && /* @__PURE__ */ (0, S.jsxs)("div", {
242
242
  className: "flex items-center gap-2 text-sm",
243
243
  children: [
244
244
  /* @__PURE__ */ (0, S.jsx)(h, { className: "w-4 h-4 text-(--yellow-11) shrink-0" }),
@@ -247,16 +247,16 @@ var T = () => {
247
247
  type: "button",
248
248
  variant: "link",
249
249
  size: "xs",
250
- onClick: () => o.refetch(),
250
+ onClick: () => s.refetch(),
251
251
  children: "Retry"
252
252
  })
253
253
  ]
254
- }), e[48] = o, e[49] = t, e[50] = X) : X = e[50];
254
+ }), e[48] = s, e[49] = t, e[50] = X) : X = e[50];
255
255
  let Z;
256
- e[51] !== j || e[52] !== c ? (Z = j && c.length === 0 && /* @__PURE__ */ (0, S.jsx)("span", {
256
+ e[51] !== A || e[52] !== p ? (Z = A && p.length === 0 && /* @__PURE__ */ (0, S.jsx)("span", {
257
257
  className: "text-sm text-muted-foreground",
258
258
  children: "No errors detected."
259
- }), e[51] = j, e[52] = c, e[53] = Z) : Z = e[53];
259
+ }), e[51] = A, e[52] = p, e[53] = Z) : Z = e[53];
260
260
  let Q;
261
261
  e[54] === Symbol.for("react.memo_cache_sentinel") ? (Q = /* @__PURE__ */ (0, S.jsx)("a", {
262
262
  href: y.feedbackForm,
@@ -289,7 +289,7 @@ var T = () => {
289
289
  })
290
290
  }), e[55] = $) : $ = e[55], /* @__PURE__ */ (0, S.jsxs)(ie, {
291
291
  className: "w-[540px] max-w-[90vw]",
292
- children: [F, /* @__PURE__ */ (0, S.jsxs)("div", {
292
+ children: [P, /* @__PURE__ */ (0, S.jsxs)("div", {
293
293
  className: "flex flex-col gap-4 max-h-[60vh] overflow-y-auto",
294
294
  children: [
295
295
  /* @__PURE__ */ (0, S.jsxs)("div", {
@@ -302,18 +302,18 @@ var T = () => {
302
302
  asChild: !0,
303
303
  className: "self-start",
304
304
  children: /* @__PURE__ */ (0, S.jsxs)("a", {
305
- href: ye,
305
+ href: be,
306
306
  target: "_blank",
307
307
  rel: "noreferrer",
308
- children: [I, "Open GitHub issue"]
308
+ children: [F, "Open GitHub issue"]
309
309
  })
310
310
  }),
311
311
  J,
312
- xe ? /* @__PURE__ */ (0, S.jsxs)("div", {
312
+ Se ? /* @__PURE__ */ (0, S.jsxs)("div", {
313
313
  className: "flex items-start gap-2 text-xs text-(--yellow-11)",
314
314
  children: [/* @__PURE__ */ (0, S.jsx)(h, { className: "w-3.5 h-3.5 shrink-0 mt-0.5" }), /* @__PURE__ */ (0, S.jsxs)("span", { children: [
315
315
  "Too large to prefill and left out of the link: ",
316
- xe,
316
+ Se,
317
317
  ". Paste them into the issue manually."
318
318
  ] })]
319
319
  }) : /* @__PURE__ */ (0, S.jsx)("p", {
@@ -324,7 +324,7 @@ var T = () => {
324
324
  }),
325
325
  Y,
326
326
  X,
327
- j && /* @__PURE__ */ (0, S.jsxs)("div", {
327
+ A && /* @__PURE__ */ (0, S.jsxs)("div", {
328
328
  className: "flex flex-col gap-1",
329
329
  children: [/* @__PURE__ */ (0, S.jsxs)("div", {
330
330
  className: "flex items-center justify-between",
@@ -333,13 +333,13 @@ var T = () => {
333
333
  children: "Environment details"
334
334
  }), /* @__PURE__ */ (0, S.jsx)(a, {
335
335
  className: "w-3.5 h-3.5",
336
- value: JSON.stringify(j, null, 2),
336
+ value: JSON.stringify(A, null, 2),
337
337
  ariaLabel: "Copy environment JSON",
338
338
  toastTitle: "Environment details copied"
339
339
  })]
340
- }), /* @__PURE__ */ (0, S.jsx)(ge, { content: JSON.stringify(j, null, 2) })]
340
+ }), /* @__PURE__ */ (0, S.jsx)(ge, { content: JSON.stringify(A, null, 2) })]
341
341
  }),
342
- j && c.length > 0 && /* @__PURE__ */ (0, S.jsxs)("div", {
342
+ A && p.length > 0 && /* @__PURE__ */ (0, S.jsxs)("div", {
343
343
  className: "flex flex-col gap-1",
344
344
  children: [/* @__PURE__ */ (0, S.jsxs)("div", {
345
345
  className: "flex items-center justify-between",
@@ -348,11 +348,11 @@ var T = () => {
348
348
  children: "Errors"
349
349
  }), /* @__PURE__ */ (0, S.jsx)(a, {
350
350
  className: "w-3.5 h-3.5",
351
- value: pe(c),
351
+ value: pe(p),
352
352
  ariaLabel: "Copy errors",
353
353
  toastTitle: "Errors copied"
354
354
  })]
355
- }), /* @__PURE__ */ (0, S.jsx)(ge, { content: c.map(p).join("\n\n---\n\n") })]
355
+ }), /* @__PURE__ */ (0, S.jsx)(ge, { content: p.map(d).join("\n\n---\n\n") })]
356
356
  }),
357
357
  Z,
358
358
  $
@@ -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-az53hfgW.js";
11
+ import "./mermaid-DcowNmCx.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-B9zWo9Da.js";
15
+ export { n as diagram } from "./chunk-SHT3W25Y-BdK-vMct.js";
@@ -3,7 +3,7 @@ import { h as t, i as n } from "./button-Z2R2272J.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-CNnjDcOR.js";
6
+ import { u as o } from "./static-state-BtDNJuc2.js";
7
7
  import { i as s } from "./loader-qPmiRXZd.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-Z2R2272J.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-gSCLWI50.js";
6
- import { d as u } from "./tooltip-COQxCMLx.js";
7
- import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-C4rPKgSx.js";
8
- import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-D0nePAlm.js";
9
- import { t as O } from "./pencil-pQhLU2Up.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-B7gy9Her.js";
11
- import { i as M, n as N } from "./assertNever-DeSqnr83.js";
5
+ import { i as s, n as c, r as l } from "./copy-icon-DuxRkh7T.js";
6
+ import { d as u } from "./tooltip-BQZ-Bm6h.js";
7
+ import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-BszV-bbI.js";
8
+ import { d as _, g as v, i as y, l as b, n as x, o as S, p as C, s as w, t as T, u as E, xn as D } from "./dropdown-menu-BiXHfje7.js";
9
+ import { t as O } from "./pencil-FAv6JUvp.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-iHKKQPJ8.js";
11
+ import { i as M, n as N } from "./assertNever-473SFxLt.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-D5-Hgr1l.js";
14
+ import { d as ae, r as I } from "./use-restore-focus-DT1TZACX.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-BzyGrUMt.js";
17
+ import { t as ce } from "./ErrorBoundary-jwCXNfZJ.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-DBNnjiYJ.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.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/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-DjSnRyGz.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-BcO56m4p.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.18.1_marked@15.0.12_react-dom@19.3.1__a94b4518d090e84da26f3a68e82f2953/node_modules/@glideapps/glide-data-grid/dist/esm/cells/number-cell.js
9287
- var Xs = W.lazy(async () => await import("./number-overlay-editor-DJFSx1CC.js")), Zs = {
9287
+ var Xs = W.lazy(async () => await import("./number-overlay-editor-Co2zZ0AQ.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-Z2R2272J.js";
3
- import { h as n } from "./tooltip-COQxCMLx.js";
4
- import { n as r } from "./assertNever-DeSqnr83.js";
3
+ import { h as n } from "./tooltip-BQZ-Bm6h.js";
4
+ import { n as r } from "./assertNever-473SFxLt.js";
5
5
  import { i, r as a } from "./data-grid-types-DBNnjiYJ.js";
6
6
  var o = n("trash", [
7
7
  ["path", {
@@ -1,6 +1,6 @@
1
- import { h as e } from "./tooltip-COQxCMLx.js";
2
- import { Ct as t } from "./use-restore-focus-D5-Hgr1l.js";
3
- import { r as n } from "./code-visibility-DcxCjPS7.js";
1
+ import { h as e } from "./tooltip-BQZ-Bm6h.js";
2
+ import { Ct as t } from "./use-restore-focus-DT1TZACX.js";
3
+ import { r as n } from "./code-visibility-BWkMC88N.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",