@marimo-team/islands 0.26.1-dev104 → 0.26.1-dev105

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 (27) hide show
  1. package/dist/{ConnectedDataExplorerComponent-BJBdnd0O.js → ConnectedDataExplorerComponent-C6dY5fiI.js} +1 -1
  2. package/dist/{ErrorBoundary-DLR6xE2E.js → ErrorBoundary-Bn664FZa.js} +1 -1
  3. package/dist/{chat-ui-Bs3rgm2m.js → chat-ui-zGgiq5zN.js} +3 -3
  4. package/dist/{code-visibility-BhWW3jkv.js → code-visibility-CMgSFUs7.js} +2 -2
  5. package/dist/{common-i4mVHMGl.js → common-DWnR77Qk.js} +5 -5
  6. package/dist/{createReducer-BUQhgLOI.js → createReducer-m7yAXmDu.js} +16 -19
  7. package/dist/{data-grid-overlay-editor-7durYJXa.js → data-grid-overlay-editor-zS1h3iMI.js} +1 -1
  8. package/dist/{error-entries-BcAyFIeh.js → error-entries-DVclFjaE.js} +23 -26
  9. package/dist/{feedback-button-CeuzSBrq.js → feedback-button-BMGqp8Ff.js} +3 -3
  10. package/dist/{glide-data-editor-BLGr2vQF.js → glide-data-editor-Bra6h4KB.js} +3 -3
  11. package/dist/{globals-DorvG5dC.js → globals-_bXqC0R8.js} +1 -1
  12. package/dist/{html-to-image-BmLTjaGw.js → html-to-image-Cst4BlIm.js} +5685 -5678
  13. package/dist/main.js +36 -36
  14. package/dist/{number-overlay-editor-DQAdvZrn.js → number-overlay-editor-XLUhOVa7.js} +1 -1
  15. package/dist/{process-output-CcNpl5Qu.js → process-output-DizFa5IE.js} +2 -2
  16. package/dist/{reveal-component-B6xeeht1.js → reveal-component-llpC324_.js} +2 -2
  17. package/package.json +1 -1
  18. package/src/components/editor/cell/__tests__/cell-actions.test.tsx +74 -0
  19. package/src/components/editor/cell/cell-action-body.tsx +28 -0
  20. package/src/components/editor/cell/cell-actions.tsx +60 -72
  21. package/src/components/editor/cell/cell-context-menu.tsx +36 -62
  22. package/src/components/editor/navigation/navigation.ts +1 -1
  23. package/src/core/cells/__tests__/use-cell-actions.test.tsx +48 -0
  24. package/src/core/cells/actions.ts +68 -89
  25. package/src/core/cells/cells.ts +2 -0
  26. package/src/utils/__tests__/createReducer.test.tsx +4 -3
  27. package/src/utils/createReducer.ts +19 -12
@@ -13,7 +13,7 @@ import { Kt as ie, Ut as ae, Vt as oe, d as se, qt as ce } from "./use-restore-f
13
13
  import { n as le } from "./error-banner-CXLjTW24.js";
14
14
  import { t as ue } from "./objects-DCmMvZtn.js";
15
15
  import { t as de } from "./invariant-DLmrl-hA.js";
16
- import { t as fe } from "./createReducer-BUQhgLOI.js";
16
+ import { t as fe } from "./createReducer-m7yAXmDu.js";
17
17
  import { t as pe } from "./useAsyncData-P5-Oovhq.js";
18
18
  import { o as me, r as he } from "./loader-CGrYn73j.js";
19
19
  import { W as ge } from "./vega-loader.browser-Co9gYE8Z.js";
@@ -148,7 +148,7 @@ function L(e) {
148
148
  }
149
149
  //#endregion
150
150
  //#region src/components/editor/boundary/ErrorBoundary.tsx
151
- var R = (0, T.lazy)(() => import("./feedback-button-CeuzSBrq.js").then((e) => ({ default: e.FeedbackModal }))), z = (e) => {
151
+ var R = (0, T.lazy)(() => import("./feedback-button-BMGqp8Ff.js").then((e) => ({ default: e.FeedbackModal }))), z = (e) => {
152
152
  let t = (0, w.c)(2), n;
153
153
  return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, N.jsx)(O, {
154
154
  FallbackComponent: B,
@@ -3,13 +3,13 @@ import { g as n, h as r, r as i, t as a } from "./button-Z2R2272J.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 { i as c, t as l } from "./copy-icon-CmNLxT5_.js";
6
- import { B as u, Ct as d, Dt as f, Ft as p, Lt as m, M as h, Mt as g, Pt as _, R as v, Tt as y, V as b, W as x, X as S, Y as C, Z as w, a as T, ct as E, et as D, f as O, ft as ee, g as k, h as A, it as j, jt as M, l as N, m as te, n as ne, p as P, r as re, t as ie, u as ae, v as oe, vt as se, wt as ce, xt as le, zt as ue } from "./html-to-image-BmLTjaGw.js";
6
+ import { B as u, Ct as d, Dt as f, Ft as p, Lt as m, M as h, Mt as g, Pt as _, R as v, Tt as y, V as b, W as x, X as S, Y as C, Z as w, a as T, ct as E, et as D, f as O, ft as ee, g as k, h as A, it as j, jt as M, l as N, m as te, n as ne, p as P, r as re, t as ie, u as ae, v as oe, vt as se, wt as ce, xt as le, zt as ue } from "./html-to-image-Cst4BlIm.js";
7
7
  import { h as F, t as de } from "./tooltip-DyLdBIM4.js";
8
8
  import { d as fe } from "./select-CEnB18uc.js";
9
9
  import { Cn as pe, f as me, g as he, i as ge, n as _e, t as ve, v as ye, xn as be } from "./dropdown-menu-D0DeN-aL.js";
10
10
  import { t as xe } from "./circle-question-mark-evCnVIut.js";
11
- import { F as Se, J as Ce, R as we, Tt as Te, Ut as Ee, h as De, i as Oe, kt as ke, on as Ae, r as je, t as Me, yt as Ne } from "./error-entries-BcAyFIeh.js";
12
- import { c as Pe, d as Fe, l as Ie, n as Le, t as Re, u as ze } from "./process-output-CcNpl5Qu.js";
11
+ import { F as Se, J as Ce, R as we, Tt as Te, Ut as Ee, g as De, i as Oe, kt as ke, on as Ae, r as je, t as Me, yt as Ne } from "./error-entries-DVclFjaE.js";
12
+ import { c as Pe, d as Fe, l as Ie, n as Le, t as Re, u as ze } from "./process-output-DizFa5IE.js";
13
13
  import { t as Be } from "./pencil-CxMgOe04.js";
14
14
  import { n as Ve, r as He, s as Ue } from "./assertNever-5vhHGKOK.js";
15
15
  import { t as We } from "./jsx-runtime-D8btoEHk.js";
@@ -1,5 +1,5 @@
1
1
  import { g as e } from "./button-Z2R2272J.js";
2
- import { Jt as t, j as n, tn as r } from "./error-entries-BcAyFIeh.js";
2
+ import { Jt as t, j as n, tn as r } from "./error-entries-DVclFjaE.js";
3
3
  import { n as i } from "./assertNever-5vhHGKOK.js";
4
4
  import { Kt as a, Ut as o, f as s, h as c, jt as l } from "./use-restore-focus-DJ_-uSn_.js";
5
5
  import { c as u, n as d, o as f, u as p } from "./static-state-iw0PrHK4.js";
@@ -14,7 +14,7 @@ function y() {
14
14
  return e.warn("Failed to get version from mount config"), null;
15
15
  }
16
16
  }
17
- var b = y() || "0.26.1-dev104", x = a(b), S = a(!0);
17
+ var b = y() || "0.26.1-dev105", x = a(b), S = a(!0);
18
18
  a(null);
19
19
  //#endregion
20
20
  //#region src/core/wasm/state.ts
@@ -3,14 +3,14 @@ import { _ as t, f as n, g as r, h as i, i as a, m as o, n as s, p as c, r as l,
3
3
  import { t as d } from "./react-Bgs_wQh3.js";
4
4
  import { t as f } from "./compiler-runtime-C5KHtL5D.js";
5
5
  import { i as p, n as m, r as h, t as g } from "./copy-icon-CmNLxT5_.js";
6
- import { A as _, At as v, B as y, Bt as b, C as x, Ct as S, D as C, Ft as w, H as T, Ht as E, It as D, J as O, K as k, M as A, Mt as j, N as M, Ot as N, P, Pt as F, R as I, S as ee, St as L, Tt as R, U as z, Ut as B, V as te, Vt as V, W as ne, _t as re, d as ie, gt as ae, k as oe, mt as se, n as ce, nt as le, pt as ue, q as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e, z as ve, zt as ye } from "./html-to-image-BmLTjaGw.js";
6
+ import { A as _, At as v, B as y, Bt as b, C as x, Ct as S, D as C, Ft as w, H as T, Ht as E, It as D, J as O, K as k, M as A, Mt as j, N as M, Ot as N, P, Pt as F, R as I, S as ee, St as L, Tt as R, U as z, Ut as B, V as te, Vt as V, W as ne, _t as re, d as ie, gt as ae, k as oe, mt as se, n as ce, nt as le, pt as ue, q as de, r as fe, s as pe, t as me, w as he, x as ge, y as _e, z as ve, zt as ye } from "./html-to-image-Cst4BlIm.js";
7
7
  import { a as be, f as xe, h as H, n as Se, o as Ce, r as we, t as U } from "./tooltip-DyLdBIM4.js";
8
8
  import { r as Te, s as Ee } from "./useLifecycle-tPpAt-OE.js";
9
9
  import { a as De, i as Oe, n as ke, o as Ae, r as je, t as Me } from "./useDateFormatter-HpKD0jEC.js";
10
10
  import { t as Ne } from "./check-DUIc04aK.js";
11
11
  import { A as Pe, C as Fe, M as Ie, S as Le, T as Re, _ as ze, b as Be, c as Ve, d as He, f as Ue, g as We, h as Ge, i as Ke, l as qe, m as Je, n as Ye, s as Xe, t as Ze, u as Qe, v as $e, x as et, y as tt } from "./select-CEnB18uc.js";
12
12
  import { $ as nt, $t as rt, A as it, At as at, B as ot, Bt as st, C as ct, Cn as lt, Ct as ut, D as dt, Dt as ft, Et as pt, F as mt, Ft as ht, G as gt, Gt as _t, H as vt, Ht as yt, I as bt, It as xt, J as St, Jt as Ct, K as wt, Kt as Tt, L as Et, Lt as Dt, M as Ot, Mt as kt, N as At, Nt as jt, O as Mt, Ot as Nt, P as Pt, Pt as Ft, Q as It, Qt as Lt, R as Rt, Rt as zt, S as Bt, Sn as Vt, St as Ht, T as Ut, Tt as Wt, U as Gt, Ut as Kt, V as qt, Vt as Jt, W as Yt, Wt as Xt, Xt as Zt, Yt as Qt, Z as $t, Zt as en, _n as tn, _t as nn, a as rn, at as an, bn as on, bt as sn, cn, ct as ln, d as un, dn, dt as fn, en as pn, et as mn, f as hn, fn as gn, ft as _n, g as vn, gn as yn, gt as bn, hn as xn, ht as Sn, i as Cn, in as wn, it as Tn, j as En, jt as Dn, k as On, kt as kn, l as An, ln as jn, lt as Mn, mn as Nn, n as Pn, nn as Fn, nt as In, o as Ln, on as Rn, ot as zn, p as Bn, pt as Vn, q as Hn, qt as Un, rn as Wn, rt as Gn, s as Kn, sn as qn, st as Jn, t as Yn, tn as Xn, tt as Zn, u as Qn, ut as $n, v as er, vn as tr, vt as nr, w as rr, wt as ir, xn as ar, xt as or, yn as sr, yt as cr, z as lr, zt as ur } from "./dropdown-menu-D0DeN-aL.js";
13
- import { A as dr, At as fr, Et as pr, G as mr, Ht as hr, J as gr, K as _r, Lt as vr, O as yr, P as br, Q as xr, Tt as Sr, Ut as Cr, Vt as wr, W as Tr, Wt as Er, X as Dr, Z as Or, an as kr, b as Ar, in as jr, kt as Mr, on as Nr, t as Pr, u as Fr, y as Ir, yt as Lr, z as Rr, zt as zr } from "./error-entries-BcAyFIeh.js";
13
+ import { A as dr, At as fr, Et as pr, G as mr, Ht as hr, J as gr, K as _r, Lt as vr, O as yr, P as br, Q as xr, Tt as Sr, Ut as Cr, Vt as wr, W as Tr, Wt as Er, X as Dr, Z as Or, an as kr, b as Ar, in as jr, kt as Mr, on as Nr, t as Pr, u as Fr, x as Ir, yt as Lr, z as Rr, zt as zr } from "./error-entries-DVclFjaE.js";
14
14
  import { n as Br, o as Vr, r as Hr, s as Ur, t as Wr } from "./assertNever-5vhHGKOK.js";
15
15
  import { t as Gr } from "./clsx-CoeGtWvn.js";
16
16
  import { t as Kr } from "./react-dom-DdqGVp5N.js";
@@ -23,7 +23,7 @@ import { t as Yi } from "./objects-DCmMvZtn.js";
23
23
  import { t as Xi } from "./invariant-DLmrl-hA.js";
24
24
  import { t as Zi } from "./useEvent-BoN7U38T.js";
25
25
  import { o as Qi, t as $i } from "./arrays-DoQ-AILx.js";
26
- import { t as ea } from "./createReducer-BUQhgLOI.js";
26
+ import { t as ea } from "./createReducer-m7yAXmDu.js";
27
27
  import { H as ta } from "./dist-BIaGGUbU.js";
28
28
  import { c as na, n as ra, s as ia, u as aa } from "./static-state-iw0PrHK4.js";
29
29
  import { i as oa, n as sa, r as ca, t as la } from "./toDate-BZg-byuO.js";
@@ -35,7 +35,7 @@ import { o as Ta } from "./dist-BG-7Qpaj.js";
35
35
  import { t as Ea } from "./useAsyncData-P5-Oovhq.js";
36
36
  import { i as Da, n as Oa, o as ka, r as Aa } from "./loader-CGrYn73j.js";
37
37
  import { n as W, t as G } from "./objectWithoutPropertiesLoose-BRDcTsfB.js";
38
- import { n as ja, t as Ma } from "./ErrorBoundary-DLR6xE2E.js";
38
+ import { n as ja, t as Ma } from "./ErrorBoundary-Bn664FZa.js";
39
39
  import { W as Na, n as Pa } from "./vega-loader.browser-Co9gYE8Z.js";
40
40
  import { t as Fa } from "./useIframeCapabilities-_0KX0nu_.js";
41
41
  var Ia = H("arrow-down-wide-narrow", [
@@ -10882,7 +10882,7 @@ function Eb() {
10882
10882
  //#endregion
10883
10883
  //#region src/components/editor/links/cell-link.tsx
10884
10884
  var Db = (e) => {
10885
- let t = (0, J.c)(15), { className: n, cellId: r, variant: a, onClick: s, formatCellName: c, skipScroll: l } = e, u = Ar()[r] ?? "", d = Ir().indexOf(r), { showCellIfHidden: f } = P(), p = c ?? jb, m;
10885
+ let t = (0, J.c)(15), { className: n, cellId: r, variant: a, onClick: s, formatCellName: c, skipScroll: l } = e, u = Ir()[r] ?? "", d = Ar().indexOf(r), { showCellIfHidden: f } = P(), p = c ?? jb, m;
10886
10886
  t[0] === r ? m = t[1] : (m = r === "__scratch__" ? void 0 : `#${fr.create(r)}`, t[0] = r, t[1] = m);
10887
10887
  let h;
10888
10888
  t[2] === n ? h = t[3] : (h = i("inline-block cursor-pointer text-left text-link hover:underline focus-visible:outline focus-visible:outline-ring", n), t[2] = n, t[3] = h);
@@ -1,6 +1,6 @@
1
1
  import { g as e } from "./button-Z2R2272J.js";
2
2
  import { t } from "./compiler-runtime-C5KHtL5D.js";
3
- import { Kt as n, Wt as r } from "./use-restore-focus-DJ_-uSn_.js";
3
+ import { Gt as n, Kt as r } from "./use-restore-focus-DJ_-uSn_.js";
4
4
  //#region src/utils/createReducer.ts
5
5
  var i = t();
6
6
  function a(t, n) {
@@ -37,30 +37,27 @@ function o(t, o, s) {
37
37
  }, m = (e, t) => {
38
38
  let n = f(e, t);
39
39
  return p(e, n, t), n;
40
- }, h = n(t()), g = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap();
41
- function v(e) {
42
- let t = (0, i.c)(12), n;
43
- t[0] === e ? n = t[1] : (n = e === void 0 ? {} : e, t[0] = e, t[1] = n);
44
- let a = n, o = r(h), s = a.skipMiddleware === !0, c = s ? _ : g, l;
45
- t[2] !== c || t[3] !== o ? (l = c.get(o), t[2] = c, t[3] = o, t[4] = l) : l = t[4];
46
- let u = l;
47
- if (u) return u;
48
- let m;
49
- if (t[5] !== c || t[6] !== o || t[7] !== s) {
50
- let e;
51
- t[9] !== o || t[10] !== s ? (e = (e) => {
52
- let t, n;
53
- o((r) => (t = r, n = f(r, e), n)), !s && t !== void 0 && n !== void 0 && p(t, n, e);
54
- }, t[9] = o, t[10] = s, t[11] = e) : e = t[11], m = d(e), c.set(o, m), t[5] = c, t[6] = o, t[7] = s, t[8] = m;
55
- } else m = t[8];
56
- return m;
40
+ }, h = r(t()), g = /* @__PURE__ */ new WeakMap(), _ = /* @__PURE__ */ new WeakMap();
41
+ function v(e, t) {
42
+ let n = t?.skipMiddleware === !0, r = n ? _ : g, i = r.get(e);
43
+ if (i) return i;
44
+ let a = d((t) => {
45
+ let r, i;
46
+ e.set(h, (e) => (r = e, i = f(e, t), i)), !n && r !== void 0 && i !== void 0 && p(r, i, t);
47
+ });
48
+ return r.set(e, a), a;
49
+ }
50
+ function y(e) {
51
+ let t = (0, i.c)(3), r = n(), a;
52
+ return t[0] !== e || t[1] !== r ? (a = v(r, e), t[0] = e, t[1] = r, t[2] = a) : a = t[2], a;
57
53
  }
58
54
  return {
59
55
  reducer: m,
60
56
  addMiddleware: l,
61
57
  createActions: d,
58
+ getActionsForStore: v,
62
59
  valueAtom: h,
63
- useActions: v
60
+ useActions: y
64
61
  };
65
62
  }
66
63
  //#endregion
@@ -2,7 +2,7 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { t } from "./react-Bgs_wQh3.js";
3
3
  import { t as n } from "./react-dom-DdqGVp5N.js";
4
4
  import { c as r, l as i, u as a } from "./data-grid-types-DBNnjiYJ.js";
5
- import { a as o, i as s, n as c, r as l } from "./glide-data-editor-BLGr2vQF.js";
5
+ import { a as o, i as s, n as c, r as l } from "./glide-data-editor-Bra6h4KB.js";
6
6
  //#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/internal/data-grid-overlay-editor/data-grid-overlay-editor-style.js
7
7
  var u = /* @__PURE__ */ e(t(), 1), d = /* @__PURE__ */ e(n(), 1), f = /*#__PURE__*/ o("div")({
8
8
  name: "DataGridOverlayEditorStyle",
@@ -13,7 +13,7 @@ import { t as le } from "./objects-DCmMvZtn.js";
13
13
  import { t as w } from "./invariant-DLmrl-hA.js";
14
14
  import { t as ue } from "./purify.es-DmnrIjg4.js";
15
15
  import { r as de } from "./arrays-DoQ-AILx.js";
16
- import { t as fe } from "./createReducer-BUQhgLOI.js";
16
+ import { t as fe } from "./createReducer-m7yAXmDu.js";
17
17
  import { H as pe, N as me, P as he, _ as ge } from "./dist-BIaGGUbU.js";
18
18
  import { a as _e, i as ve, l as ye, u as be } from "./static-state-iw0PrHK4.js";
19
19
  import { t as xe } from "./toDate-BZg-byuO.js";
@@ -2328,7 +2328,7 @@ function ti(e, t, n) {
2328
2328
  }) };
2329
2329
  }
2330
2330
  var ni = _((e) => {
2331
- let t = e(Ia);
2331
+ let t = e(La);
2332
2332
  return ti(e($r), (e) => t[e] ?? null, e(qr));
2333
2333
  }), ri = () => S(ni), ii = _((e) => e(ni).columns.length);
2334
2334
  function ai(e, t) {
@@ -3158,7 +3158,7 @@ function ka() {
3158
3158
  cellLogs: []
3159
3159
  });
3160
3160
  }
3161
- var { reducer: Aa, createActions: ja, useActions: Ma, valueAtom: X } = fe(ka, {
3161
+ var { reducer: Aa, createActions: ja, getActionsForStore: Ma, useActions: Na, valueAtom: X } = fe(ka, {
3162
3162
  startCellConsole: (e, { cellId: t }) => Z({
3163
3163
  state: e,
3164
3164
  cellId: t,
@@ -3226,7 +3226,7 @@ var { reducer: Aa, createActions: ja, useActions: Ma, valueAtom: X } = fe(ka, {
3226
3226
  }),
3227
3227
  reconcileDocument: (e, t) => {
3228
3228
  let n = di(e, t);
3229
- for (let t of e.cellIds) t in n.cellData || qa(t);
3229
+ for (let t of e.cellIds) t in n.cellData || Ja(t);
3230
3230
  return n;
3231
3231
  },
3232
3232
  setStdinResponse: (e, t) => {
@@ -3269,7 +3269,7 @@ var { reducer: Aa, createActions: ja, useActions: Ma, valueAtom: X } = fe(ka, {
3269
3269
  scrollKey: null
3270
3270
  };
3271
3271
  },
3272
- foldAll: (e) => (Fn(Object.keys(e.cellHandles).map((e) => Ya(e))), e),
3272
+ foldAll: (e) => (Fn(Object.keys(e.cellHandles).map((e) => Xa(e))), e),
3273
3273
  unfoldAll: (e) => (In(Object.values(e.cellHandles).map((e) => e.current?.editorView)), e),
3274
3274
  clearLogs: (e) => ({
3275
3275
  ...e,
@@ -3300,13 +3300,13 @@ function Z({ state: e, cellId: n, cellReducer: r }) {
3300
3300
  }
3301
3301
  } : (t.warn(`Cell ${n} not found in state`), e);
3302
3302
  }
3303
- var Na = ja((e) => {
3303
+ var Pa = ja((e) => {
3304
3304
  h.set(X, (t) => Aa(t, e));
3305
3305
  }).addLogs, Q = _((e) => e(X).cellIds);
3306
3306
  _((e) => e(Q).length === 1), _((e) => _a(e(X)).length > 0), _((e) => va(e(X)).length > 0), _((e) => ya(e(X))), _((e) => ba(e(X)));
3307
- var Pa = _((e) => Ca(e(X), e(pn), e(gn)));
3308
- _((e) => e(Pa) !== null);
3309
- var Fa = _((e) => {
3307
+ var Fa = _((e) => Ca(e(X), e(pn), e(gn)));
3308
+ _((e) => e(Fa) !== null);
3309
+ var Ia = _((e) => {
3310
3310
  let { cellIds: t, cellData: n } = e(X);
3311
3311
  return t.map((t) => {
3312
3312
  let r = e(z(t)), { name: i } = n[t];
@@ -3324,27 +3324,27 @@ var Fa = _((e) => {
3324
3324
  }
3325
3325
  return null;
3326
3326
  }).filter(Boolean);
3327
- }), Ia = te(_((e) => {
3327
+ }), La = te(_((e) => {
3328
3328
  let t = {};
3329
3329
  for (let n of e(Q)) {
3330
3330
  let r = e(Cn(n));
3331
3331
  r !== null && r.items.length > 0 && (t[n] = r);
3332
3332
  }
3333
3333
  return t;
3334
- })), La = _((e) => Je(e(Q).map((t) => e(Cn(t)))));
3335
- _((e) => e(Fa).length);
3336
- var Ra = te(_((e) => {
3334
+ })), Ra = _((e) => Je(e(Q).map((t) => e(Cn(t)))));
3335
+ _((e) => e(Ia).length);
3336
+ var za = te(_((e) => {
3337
3337
  let { cellIds: t, cellData: n } = e(X);
3338
3338
  return le.fromEntries(t.map((e) => [e, n[e]?.name]));
3339
3339
  }));
3340
3340
  _((e) => e(X).scrollKey);
3341
- var za = () => S(Q), Ba = () => S(Ra), Va = () => h.get(X), Ha = () => h.get(X).cellIds, Ua = () => {
3341
+ var Ba = () => S(Q), Va = () => S(za), Ha = () => h.get(X), Ua = () => h.get(X).cellIds, Wa = () => {
3342
3342
  let { cellIds: e, cellData: t } = h.get(X);
3343
3343
  return e.map((e) => t[e]?.name).filter(Boolean);
3344
3344
  };
3345
3345
  se(y(X, (e) => e.cellIds.map((t) => e.cellData[t]))), _((e) => e(X).cellIds.length > 0);
3346
- var Wa = v((e) => _((t) => t(X).cellData[e])), Ga = Br(), $ = v((e) => {
3347
- let t = _((t) => Ur(t, e, t(C))), n = _((t) => t(X).cellRuntime[e] ?? Ga), r = _((e) => {
3346
+ var Ga = v((e) => _((t) => t(X).cellData[e])), Ka = Br(), $ = v((e) => {
3347
+ let t = _((t) => Ur(t, e, t(C))), n = _((t) => t(X).cellRuntime[e] ?? Ka), r = _((e) => {
3348
3348
  let r = e(t), i = e(C), a = i && e(i.shownDocumentAtom)?.cells;
3349
3349
  return {
3350
3350
  local: e(n),
@@ -3353,22 +3353,19 @@ var Wa = v((e) => _((t) => t(X).cellData[e])), Ga = Br(), $ = v((e) => {
3353
3353
  };
3354
3354
  }), i = y(r, Wr);
3355
3355
  return _((e) => e(i).rendered);
3356
- }), Ka = v((e) => _((t) => t(X).cellHandles[e]));
3357
- function qa(e) {
3358
- Wa.remove(e), $.remove(e), Ka.remove(e), wn(e);
3356
+ }), qa = v((e) => _((t) => t(X).cellHandles[e]));
3357
+ function Ja(e) {
3358
+ Ga.remove(e), $.remove(e), qa.remove(e), wn(e);
3359
3359
  }
3360
- var Ja = (e) => {
3360
+ var Ya = (e) => {
3361
3361
  let { cellHandles: t } = h.get(X);
3362
3362
  return t[e]?.current?.editorView ?? void 0;
3363
- }, Ya = (e) => (Bn.promote(e), Ja(e));
3363
+ }, Xa = (e) => (Bn.promote(e), Ya(e));
3364
3364
  _((e) => e(Q).map((t) => ({
3365
- ...e(Wa(t)),
3365
+ ...e(Ga(t)),
3366
3366
  ...e($(t)),
3367
3367
  output: e(z(t))
3368
3368
  })));
3369
- function Xa() {
3370
- return Ma();
3371
- }
3372
3369
  //#endregion
3373
3370
  //#region src/core/errors/error-entries.ts
3374
3371
  function Za(e) {
@@ -3423,4 +3420,4 @@ function io(e) {
3423
3420
  return e.tracebackHtml && t.push(W(e.tracebackHtml)), e.errorData.length > 0 && t.push(e.errorData.map(ro).join("\n\n")), t.join("\n\n");
3424
3421
  }
3425
3422
  //#endregion
3426
- export { mi as $, mt as $t, da as A, V as At, Wi as B, fn as Bt, ga as C, Ar as Ct, pa as D, nr as Dt, fa as E, yr as Et, Yi as F, Gn as Ft, Pi as G, Tn as Gt, Bi as H, Cn as Ht, qi as I, Kn as It, Ci as J, En as Jt, ji as K, un as Kt, Gi as L, Nn as Lt, la as M, Xn as Mt, ua as N, $n as Nt, ha as O, Zn as Ot, ca as P, Qn as Pt, _i as Q, ht as Qt, Ki as R, jn as Rt, Ta as S, Pr as St, Da as T, W as Tt, Vi as U, z as Ut, zi as V, Sn as Vt, Ni as W, R as Wt, Si as X, An as Xt, xi as Y, On as Yt, vi as Z, Jt as Zt, Aa as _, Ur as _t, Na as a, we as an, Jr as at, Ba as b, Fr as bt, $ as c, ai as ct, Ua as d, ci as dt, Qe as en, hi as et, Ha as f, ni as ft, La as g, Gr as gt, X as h, ri as ht, to as i, He as in, qr as it, Y as j, B as jt, ma as k, er as kt, ja as l, si as lt, ka as m, ii as mt, io as n, Xe as nn, pi as nt, Wa as o, Ce as on, oi as ot, Va as p, Xr as pt, Ei as q, kn as qt, ro as r, qe as rn, fi as rt, Q as s, Yr as st, no as t, k as tn, G as tt, Ya as u, li as ut, qa as v, Hr as vt, Ea as w, Er as wt, Xa as x, Lr as xt, za as y, Ir as yt, Ui as z, xn as zt };
3423
+ export { mi as $, mt as $t, da as A, V as At, Wi as B, fn as Bt, ga as C, Ar as Ct, pa as D, nr as Dt, fa as E, yr as Et, Yi as F, Gn as Ft, Pi as G, Tn as Gt, Bi as H, Cn as Ht, qi as I, Kn as It, Ci as J, En as Jt, ji as K, un as Kt, Gi as L, Nn as Lt, la as M, Xn as Mt, ua as N, $n as Nt, ha as O, Zn as Ot, ca as P, Qn as Pt, _i as Q, ht as Qt, Ki as R, jn as Rt, Ta as S, Pr as St, Da as T, W as Tt, Vi as U, z as Ut, zi as V, Sn as Vt, Ni as W, R as Wt, Si as X, An as Xt, xi as Y, On as Yt, vi as Z, Jt as Zt, Ra as _, Ur as _t, Pa as a, we as an, Jr as at, Ba as b, Fr as bt, $ as c, ai as ct, Ma as d, ci as dt, Qe as en, hi as et, Wa as f, ni as ft, X as g, Gr as gt, ka as h, ri as ht, to as i, He as in, qr as it, Y as j, B as jt, ma as k, er as kt, ja as l, si as lt, Ha as m, ii as mt, io as n, Xe as nn, pi as nt, Ga as o, Ce as on, oi as ot, Ua as p, Xr as pt, Ei as q, kn as qt, ro as r, qe as rn, fi as rt, Q as s, Yr as st, no as t, k as tn, G as tt, Xa as u, li as ut, Aa as v, Hr as vt, Ea as w, Er as wt, Va as x, Lr as xt, Ja as y, Ir as yt, Ui as z, xn as zt };
@@ -3,14 +3,14 @@ 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
5
  import { t as a } from "./copy-icon-CmNLxT5_.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-BcAyFIeh.js";
7
- import { n as h, t as ee } from "./globals-DorvG5dC.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-DVclFjaE.js";
7
+ import { n as h, t as ee } from "./globals-_bXqC0R8.js";
8
8
  import { r as g } from "./assertNever-5vhHGKOK.js";
9
9
  import { t as _ } from "./jsx-runtime-D8btoEHk.js";
10
10
  import { Ct as te, Ut as v, m as y } from "./use-restore-focus-DJ_-uSn_.js";
11
11
  import { a as ne, i as re, n as ie, r as ae } from "./dialog-BvjfalZ9.js";
12
12
  import { t as oe } from "./useAsyncData-P5-Oovhq.js";
13
- import { t as se } from "./code-visibility-BhWW3jkv.js";
13
+ import { t as se } from "./code-visibility-CMgSFUs7.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;
@@ -14,7 +14,7 @@ import { t as F } from "./jsx-runtime-D8btoEHk.js";
14
14
  import { d as ae, r as I } from "./use-restore-focus-DJ_-uSn_.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-DLR6xE2E.js";
17
+ import { t as ce } from "./ErrorBoundary-Bn664FZa.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-7durYJXa.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-zS1h3iMI.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-DQAdvZrn.js")), Zs = {
9287
+ var Xs = W.lazy(async () => await import("./number-overlay-editor-XLUhOVa7.js")), Zs = {
9288
9288
  getAccessibilityString: (e) => e.data?.toString() ?? "",
9289
9289
  kind: U.Number,
9290
9290
  needsHover: (e) => e.hoverEffect === !0,
@@ -1,6 +1,6 @@
1
1
  import { h as e } from "./tooltip-DyLdBIM4.js";
2
2
  import { Ct as t } from "./use-restore-focus-DJ_-uSn_.js";
3
- import { r as n } from "./code-visibility-BhWW3jkv.js";
3
+ import { r as n } from "./code-visibility-CMgSFUs7.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",