@marimo-team/islands 0.26.1-dev83 → 0.26.1-dev85

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 (88) hide show
  1. package/dist/{ConnectedDataExplorerComponent-yQVBQBUW.js → ConnectedDataExplorerComponent-BJBdnd0O.js} +21 -21
  2. package/dist/{ErrorBoundary-DqCVIA2k.js → ErrorBoundary-BbX80BeS.js} +18 -18
  3. package/dist/{abnfDiagram-VCTEODGH-Ck_lXwQR.js → abnfDiagram-VCTEODGH-Ba0MYVW8.js} +2 -2
  4. package/dist/{any-language-editor-Cx4idbgX.js → any-language-editor-BNe8do3C.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-XeVhic7Z.js → architectureDiagram-5GKGNRK7-7MqAehef.js} +1 -1
  6. package/dist/{assertNever-473SFxLt.js → assertNever-5vhHGKOK.js} +2 -2
  7. package/dist/{chat-ui-D1mRz9h6.js → chat-ui-BbJTFtyC.js} +531 -530
  8. package/dist/{check-DmTIavbZ.js → check-DUIc04aK.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-DdQni67K.js → chunk-IMKFNOWR-CAWA0HGB.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-BdK-vMct.js → chunk-SHT3W25Y-BIwVQjG5.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-cpFZk4Ca.js → chunk-SVP7TREG-Cux251TB.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-DDgQFRgT.js → chunk-TICWLB2K-DJVQ6khO.js} +1 -1
  13. package/dist/circle-question-mark-evCnVIut.js +19 -0
  14. package/dist/{classDiagram-ZZMXUADV-DeojX9X4.js → classDiagram-ZZMXUADV-Cwve77ev.js} +2 -2
  15. package/dist/{classDiagram-v2-VYDZK3BY-DPfTAiQ6.js → classDiagram-v2-VYDZK3BY-BAeHKXmD.js} +2 -2
  16. package/dist/{code-visibility-Bg6LdTgJ.js → code-visibility-SiV7swyv.js} +18 -18
  17. package/dist/{common-BXohsH8R.js → common-CaZHHn2u.js} +3442 -3433
  18. package/dist/{copy-icon-DuxRkh7T.js → copy-icon-CmNLxT5_.js} +2 -2
  19. package/dist/{createReducer-D3pBhIVD.js → createReducer-BUQhgLOI.js} +5 -5
  20. package/dist/{cynefinDiagram-5FMLGOSQ-DyY9TvuI.js → cynefinDiagram-5FMLGOSQ-t4eEkPJh.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-BPCOgtKg.js → dagre-GXQ25YYZ-IuZuI28B.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-A_0tSQlT.js → data-grid-overlay-editor-B_CloII8.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-KaF-C6kd.js → diagram-S7CK7UJ4-D8R5Q_ok.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-DkeqoSvK.js → diagram-UQ7AKVKN-BGuMPsr-.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-DExolTAf.js → diagram-VX7I27RA-BkTtpO8P.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-BioFuBF3.js → diagram-Z3DM3KII-C0__Mxfm.js} +1 -1
  27. package/dist/{dialog-CvyFEwby.js → dialog-BvjfalZ9.js} +30 -30
  28. package/dist/{dropdown-menu-BiXHfje7.js → dropdown-menu-D0DeN-aL.js} +637 -637
  29. package/dist/{ebnfDiagram-PWID7BFC-BSb9k1ed.js → ebnfDiagram-PWID7BFC-CSESPZoz.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-PWA30a_r.js → erDiagram-RLTQ6QDP-DsDTtabH.js} +1 -1
  31. package/dist/{error-banner-B9HQMSaH.js → error-banner-CXLjTW24.js} +60 -65
  32. package/dist/{error-entries-P6Qpq6wP.js → error-entries-DhZotdzQ.js} +113 -112
  33. package/dist/{config-D-lhQq-h.js → export-context-CkgZeARR.js} +54 -42
  34. package/dist/{feedback-button-DSC9SNgL.js → feedback-button-Dcyqig9t.js} +7 -7
  35. package/dist/{flowDiagram-HODETNUW-BPtD__Zz.js → flowDiagram-HODETNUW-qxDPYbfV.js} +2 -2
  36. package/dist/{formats-BF95BoCT.js → formats-CcQrzFo8.js} +2 -2
  37. package/dist/{glide-data-editor-NVoO9114.js → glide-data-editor-axxUUflO.js} +11 -11
  38. package/dist/{glide-utils-iHKKQPJ8.js → glide-utils-CD8BaFTm.js} +2 -2
  39. package/dist/{globals-L7tZEIcx.js → globals-IsQZV-Pn.js} +3 -3
  40. package/dist/{html-to-image-DhrFZL7t.js → html-to-image-B8erjaaD.js} +4288 -4311
  41. package/dist/{infoDiagram-27XIBGKW-SJuilBEE.js → infoDiagram-27XIBGKW-B5hq8RM_.js} +1 -1
  42. package/dist/{ishikawaDiagram-5VMMS53U-DjzyxMr8.js → ishikawaDiagram-5VMMS53U-DkHc_9ET.js} +1 -1
  43. package/dist/{kanban-definition-UXKFOSKX-D2_qopGt.js → kanban-definition-UXKFOSKX-CqkTFXmU.js} +1 -1
  44. package/dist/{loader-qPmiRXZd.js → loader-CGrYn73j.js} +421 -373
  45. package/dist/main.js +6444 -6454
  46. package/dist/{mermaid-DcowNmCx.js → mermaid-pmVHDUQA.js} +34 -34
  47. package/dist/{mindmap-definition-YA3MSWOX-pEra10M0.js → mindmap-definition-YA3MSWOX-D6cNa__z.js} +1 -1
  48. package/dist/{number-overlay-editor-CjeU_gt8.js → number-overlay-editor-CNaE6yaF.js} +1 -1
  49. package/dist/{pegDiagram-XKGWAZYB-CHOPKVOf.js → pegDiagram-XKGWAZYB-CmWJX_s1.js} +2 -2
  50. package/dist/{pencil-FAv6JUvp.js → pencil-CxMgOe04.js} +1 -1
  51. package/dist/{pieDiagram-E7YTZNPT-yGDhsyEN.js → pieDiagram-E7YTZNPT-CAQAxHah.js} +1 -1
  52. package/dist/{process-output-CBPqVQBu.js → process-output-C-2_O5Ry.js} +4 -4
  53. package/dist/{railroadDiagram-O6MQD6OU-CeKEPdyc.js → railroadDiagram-O6MQD6OU-jlSsiQg3.js} +2 -2
  54. package/dist/{requirementDiagram-BXWQKSXE-DSAbAzKe.js → requirementDiagram-BXWQKSXE-DkDjfPhn.js} +1 -1
  55. package/dist/{reveal-component-D8H5fBkv.js → reveal-component-CA2JlAJ6.js} +11 -11
  56. package/dist/{select-BszV-bbI.js → select-CEnB18uc.js} +350 -350
  57. package/dist/{sequenceDiagram-WJ2MYXX4-DVhWj_9H.js → sequenceDiagram-WJ2MYXX4-DLywsGCW.js} +1 -1
  58. package/dist/{spec-CRfw-lOm.js → spec-Dz-Avv1m.js} +4 -4
  59. package/dist/{stateDiagram-D77RDMKH-CDQ2MltG.js → stateDiagram-D77RDMKH-DUmlKwYU.js} +2 -2
  60. package/dist/{stateDiagram-v2-MP3YSRHH-BQmvwBaz.js → stateDiagram-v2-MP3YSRHH-D646KiXs.js} +2 -2
  61. package/dist/{static-state-BtDNJuc2.js → static-state-iw0PrHK4.js} +24 -35
  62. package/dist/{swimlanes-42K2YHIH-DLOUTCEL.js → swimlanes-42K2YHIH-L7B1GphF.js} +1 -1
  63. package/dist/{swimlanesDiagram-VR7AAH4N-BVKrkNJ6.js → swimlanesDiagram-VR7AAH4N-DEu2wxtC.js} +2 -2
  64. package/dist/{timeline-definition-24CTP7MA-Cb2JoCSd.js → timeline-definition-24CTP7MA-DDPyx1yG.js} +1 -1
  65. package/dist/toDate-BZg-byuO.js +13 -0
  66. package/dist/{toast-QsOAIPfq.js → toast-BTjH6fIf.js} +187 -187
  67. package/dist/{tooltip-BQZ-Bm6h.js → tooltip-DyLdBIM4.js} +73 -73
  68. package/dist/{use-restore-focus-DT1TZACX.js → use-restore-focus-DJ_-uSn_.js} +1340 -1339
  69. package/dist/{useDateFormatter-D3gyMY-g.js → useDateFormatter-HpKD0jEC.js} +2 -2
  70. package/dist/{useDeepCompareMemoize-CO6rO5Mq.js → useDeepCompareMemoize-CHx-NxMl.js} +1 -1
  71. package/dist/{useLifecycle-C9UTzCY8.js → useLifecycle-tPpAt-OE.js} +1 -1
  72. package/dist/{vega-component-i5lZ23n7.js → vega-component-BzNDFvQf.js} +209 -205
  73. package/dist/{vennDiagram-4TSXK5OY-Cm3EcCcP.js → vennDiagram-4TSXK5OY-CRwWeb7g.js} +1 -1
  74. package/dist/{wardleyDiagram-VM6X3IG4-DjlUs2CC.js → wardleyDiagram-VM6X3IG4-DVlG9eoq.js} +1 -1
  75. package/dist/{xychartDiagram-S5SC5T6Z-DxNDul9l.js → xychartDiagram-S5SC5T6Z-CM32AISp.js} +1 -1
  76. package/package.json +1 -1
  77. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +240 -93
  78. package/src/components/editor/errors/send-error-report-button.tsx +139 -41
  79. package/src/core/notebook/replica/__tests__/fixtures.ts +1 -0
  80. package/src/core/notebook/replica/backend.ts +4 -1
  81. package/src/core/session/active-notebook.ts +6 -0
  82. package/src/core/transports/__tests__/static.test.ts +21 -18
  83. package/src/core/transports/static.ts +1 -0
  84. package/src/plugins/core/__test__/trusted-url.test.ts +53 -1
  85. package/src/plugins/core/trusted-url.ts +59 -1
  86. package/src/plugins/impl/vega/__tests__/resolve-data.test.ts +147 -2
  87. package/src/plugins/impl/vega/loader.ts +49 -2
  88. package/src/plugins/impl/vega/vega-component.tsx +3 -0
@@ -1,24 +1,11 @@
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-BQZ-Bm6h.js";
4
- import { Ct as r, Wt as i, f as a, h as o } from "./use-restore-focus-DT1TZACX.js";
5
- import { i as s, m as c, n as l } from "./static-state-BtDNJuc2.js";
6
- var u = n("circle-question-mark", [
7
- ["circle", {
8
- cx: "12",
9
- cy: "12",
10
- r: "10",
11
- key: "1mglay"
12
- }],
13
- ["path", {
14
- d: "M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",
15
- key: "1u773s"
16
- }],
17
- ["path", {
18
- d: "M12 17h.01",
19
- key: "p32p05"
20
- }]
21
- ]), d = class {
3
+ import { t as n } from "./compiler-runtime-C5KHtL5D.js";
4
+ import { Ct as r, Kt as i, f as a, h as o, y as s } from "./use-restore-focus-DJ_-uSn_.js";
5
+ import "./useEvent-BoN7U38T.js";
6
+ import { i as c, n as l, r as u, u as d } from "./static-state-iw0PrHK4.js";
7
+ //#region src/utils/Deferred.ts
8
+ var f = class {
22
9
  promise;
23
10
  resolve;
24
11
  reject;
@@ -29,17 +16,17 @@ var u = n("circle-question-mark", [
29
16
  this.reject = (e) => {
30
17
  this.status = "rejected", t(e);
31
18
  }, this.resolve = (t) => {
32
- this.status = "resolved", f(t) || (this.value = t), e(t);
19
+ this.status = "resolved", p(t) || (this.value = t), e(t);
33
20
  };
34
21
  });
35
22
  }
36
23
  };
37
- function f(e) {
24
+ function p(e) {
38
25
  return typeof e == "object" && !!e && "then" in e && typeof e.then == "function";
39
26
  }
40
27
  //#endregion
41
28
  //#region ../node_modules/.pnpm/@noble+hashes@1.8.0/node_modules/@noble/hashes/_u64.js
42
- var p = /* @__PURE__ */ e(((e) => {
29
+ var m = /* @__PURE__ */ e(((e) => {
43
30
  Object.defineProperty(e, "__esModule", { value: !0 }), e.toBig = e.shrSL = e.shrSH = e.rotrSL = e.rotrSH = e.rotrBL = e.rotrBH = e.rotr32L = e.rotr32H = e.rotlSL = e.rotlSH = e.rotlBL = e.rotlBH = e.add5L = e.add5H = e.add4L = e.add4H = e.add3L = e.add3H = void 0, e.add = v, e.fromBig = r, e.split = i;
44
31
  var t = /* @__PURE__ */ BigInt(2 ** 32 - 1), n = /* @__PURE__ */ BigInt(32);
45
32
  function r(e, r = !1) {
@@ -127,11 +114,11 @@ var p = /* @__PURE__ */ e(((e) => {
127
114
  add5H: w,
128
115
  add5L: C
129
116
  };
130
- })), m = /* @__PURE__ */ e(((e) => {
131
- Object.defineProperty(e, "__esModule", { value: !0 }), e.crypto = void 0, e.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
132
117
  })), h = /* @__PURE__ */ e(((e) => {
133
- Object.defineProperty(e, "__esModule", { value: !0 }), e.wrapXOFConstructorWithOpts = e.wrapConstructorWithOpts = e.wrapConstructor = e.Hash = e.nextTick = e.swap32IfBE = e.byteSwapIfBE = e.swap8IfBE = e.isLE = void 0, e.isBytes = n, e.anumber = r, e.abytes = i, e.ahash = a, e.aexists = o, e.aoutput = s, e.u8 = c, e.u32 = l, e.clean = u, e.createView = d, e.rotr = f, e.rotl = p, e.byteSwap = h, e.byteSwap32 = g, e.bytesToHex = y, e.hexToBytes = S, e.asyncLoop = C, e.utf8ToBytes = w, e.bytesToUtf8 = T, e.toBytes = E, e.kdfInputToBytes = D, e.concatBytes = O, e.checkOpts = k, e.createHasher = A, e.createOptHasher = j, e.createXOFer = M, e.randomBytes = N;
134
- var t = m();
118
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.crypto = void 0, e.crypto = typeof globalThis == "object" && "crypto" in globalThis ? globalThis.crypto : void 0;
119
+ })), g = /* @__PURE__ */ e(((e) => {
120
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.wrapXOFConstructorWithOpts = e.wrapConstructorWithOpts = e.wrapConstructor = e.Hash = e.nextTick = e.swap32IfBE = e.byteSwapIfBE = e.swap8IfBE = e.isLE = void 0, e.isBytes = n, e.anumber = r, e.abytes = i, e.ahash = a, e.aexists = o, e.aoutput = s, e.u8 = c, e.u32 = l, e.clean = u, e.createView = d, e.rotr = f, e.rotl = p, e.byteSwap = m, e.byteSwap32 = g, e.bytesToHex = y, e.hexToBytes = S, e.asyncLoop = C, e.utf8ToBytes = w, e.bytesToUtf8 = T, e.toBytes = E, e.kdfInputToBytes = D, e.concatBytes = O, e.checkOpts = k, e.createHasher = A, e.createOptHasher = j, e.createXOFer = M, e.randomBytes = N;
121
+ var t = h();
135
122
  function n(e) {
136
123
  return e instanceof Uint8Array || ArrayBuffer.isView(e) && e.constructor.name === "Uint8Array";
137
124
  }
@@ -174,12 +161,12 @@ var p = /* @__PURE__ */ e(((e) => {
174
161
  return e << t | e >>> 32 - t >>> 0;
175
162
  }
176
163
  e.isLE = new Uint8Array(new Uint32Array([287454020]).buffer)[0] === 68;
177
- function h(e) {
164
+ function m(e) {
178
165
  return e << 24 & 4278190080 | e << 8 & 16711680 | e >>> 8 & 65280 | e >>> 24 & 255;
179
166
  }
180
- e.swap8IfBE = e.isLE ? (e) => e : (e) => h(e), e.byteSwapIfBE = e.swap8IfBE;
167
+ e.swap8IfBE = e.isLE ? (e) => e : (e) => m(e), e.byteSwapIfBE = e.swap8IfBE;
181
168
  function g(e) {
182
- for (let t = 0; t < e.length; t++) e[t] = h(e[t]);
169
+ for (let t = 0; t < e.length; t++) e[t] = m(e[t]);
183
170
  return e;
184
171
  }
185
172
  e.swap32IfBE = e.isLE ? (e) => e : g;
@@ -277,16 +264,16 @@ var p = /* @__PURE__ */ e(((e) => {
277
264
  if (t.crypto && typeof t.crypto.randomBytes == "function") return Uint8Array.from(t.crypto.randomBytes(e));
278
265
  throw Error("crypto.getRandomValues must be defined");
279
266
  }
280
- })), g = /* @__PURE__ */ e(((e) => {
267
+ })), _ = /* @__PURE__ */ e(((e) => {
281
268
  Object.defineProperty(e, "__esModule", { value: !0 }), e.shake256 = e.shake128 = e.keccak_512 = e.keccak_384 = e.keccak_256 = e.keccak_224 = e.sha3_512 = e.sha3_384 = e.sha3_256 = e.sha3_224 = e.Keccak = void 0, e.keccakP = y;
282
- var t = p(), n = h(), r = BigInt(0), i = BigInt(1), a = BigInt(2), o = BigInt(7), s = BigInt(256), c = BigInt(113), l = [], u = [], d = [];
269
+ var t = m(), n = g(), r = BigInt(0), i = BigInt(1), a = BigInt(2), o = BigInt(7), s = BigInt(256), c = BigInt(113), l = [], u = [], d = [];
283
270
  for (let e = 0, t = i, n = 1, f = 0; e < 24; e++) {
284
271
  [n, f] = [f, (2 * n + 3 * f) % 5], l.push(2 * (5 * f + n)), u.push((e + 1) * (e + 2) / 2 % 64);
285
272
  let p = r;
286
273
  for (let e = 0; e < 7; e++) t = (t << i ^ (t >> o) * c) % s, t & a && (p ^= i << (i << /* @__PURE__ */ BigInt(e)) - i);
287
274
  d.push(p);
288
275
  }
289
- var f = (0, t.split)(d, !0), m = f[0], g = f[1], _ = (e, n, r) => r > 32 ? (0, t.rotlBH)(e, n, r) : (0, t.rotlSH)(e, n, r), v = (e, n, r) => r > 32 ? (0, t.rotlBL)(e, n, r) : (0, t.rotlSL)(e, n, r);
276
+ var f = (0, t.split)(d, !0), p = f[0], h = f[1], _ = (e, n, r) => r > 32 ? (0, t.rotlBH)(e, n, r) : (0, t.rotlSH)(e, n, r), v = (e, n, r) => r > 32 ? (0, t.rotlBL)(e, n, r) : (0, t.rotlSL)(e, n, r);
290
277
  function y(e, t = 24) {
291
278
  let r = /* @__PURE__ */ new Uint32Array(10);
292
279
  for (let n = 24 - t; n < 24; n++) {
@@ -304,7 +291,7 @@ var p = /* @__PURE__ */ e(((e) => {
304
291
  for (let n = 0; n < 10; n++) r[n] = e[t + n];
305
292
  for (let n = 0; n < 10; n++) e[t + n] ^= ~r[(n + 2) % 10] & r[(n + 4) % 10];
306
293
  }
307
- e[0] ^= m[n], e[1] ^= g[n];
294
+ e[0] ^= p[n], e[1] ^= h[n];
308
295
  }
309
296
  (0, n.clean)(r);
310
297
  }
@@ -372,8 +359,8 @@ var p = /* @__PURE__ */ e(((e) => {
372
359
  e.sha3_224 = x(6, 144, 28), e.sha3_256 = x(6, 136, 32), e.sha3_384 = x(6, 104, 48), e.sha3_512 = x(6, 72, 64), e.keccak_224 = x(1, 144, 28), e.keccak_256 = x(1, 136, 32), e.keccak_384 = x(1, 104, 48), e.keccak_512 = x(1, 72, 64);
373
360
  var S = (e, t, r) => (0, n.createXOFer)((n = {}) => new b(t, e, n.dkLen === void 0 ? r : n.dkLen, !0));
374
361
  e.shake128 = S(31, 168, 16), e.shake256 = S(31, 136, 32);
375
- })), _ = /* @__PURE__ */ e(((e, t) => {
376
- var { sha3_512: n } = g(), r = 24, i = 32, a = (e = 4, t = Math.random) => {
362
+ })), v = /* @__PURE__ */ e(((e, t) => {
363
+ var { sha3_512: n } = _(), r = 24, i = 32, a = (e = 4, t = Math.random) => {
377
364
  let n = "";
378
365
  for (; n.length < e;) n += Math.floor(t() * 36).toString(36);
379
366
  return n;
@@ -403,10 +390,12 @@ var p = /* @__PURE__ */ e(((e) => {
403
390
  defaultLength: r,
404
391
  bigLength: i
405
392
  }), t.exports.init = p, t.exports.createId = m, t.exports.bufToBigInt = o, t.exports.createCounter = d, t.exports.createFingerprint = u, t.exports.isCuid = h;
406
- })), v = /* @__PURE__ */ e(((e, t) => {
407
- var { createId: n, init: r, getConstants: i, isCuid: a } = _();
393
+ })), y = /* @__PURE__ */ e(((e, t) => {
394
+ var { createId: n, init: r, getConstants: i, isCuid: a } = v();
408
395
  t.exports.createId = n, t.exports.init = r, t.exports.getConstants = i, t.exports.isCuid = a;
409
- })), y = v(), b = i(null), x = (0, y.init)({ length: 6 });
396
+ })), b = y();
397
+ i(null);
398
+ var x = (0, b.init)({ length: 6 });
410
399
  function S() {
411
400
  return `s_${x()}`;
412
401
  }
@@ -415,7 +404,7 @@ function C(e) {
415
404
  }
416
405
  var w = null;
417
406
  function T() {
418
- let e = r.get(s) === "edit", n = new URL(window.location.href).searchParams.get(o.sessionId), i = C(n) ? n : null;
407
+ let e = r.get(c) === "edit", n = new URL(window.location.href).searchParams.get(o.sessionId), i = C(n) ? n : null;
419
408
  return D((t) => {
420
409
  e ? t.has(o.kiosk) || t.delete(o.sessionId) : (t.delete(o.sessionId), t.delete(o.kiosk));
421
410
  }), i === null ? (t.debug("Starting a new session", { sessionId: n }), S()) : e ? (t.debug("Connecting to existing session", { sessionId: i }), i) : (t.debug("Ignoring session_id from URL outside the editor", { sessionId: i }), S());
@@ -455,7 +444,7 @@ function A({ href: e, queryParams: t, keys: n }) {
455
444
  //#endregion
456
445
  //#region src/core/runtime/runtime.ts
457
446
  var j = new Set(Object.values(o)), M = class {
458
- initialHealthyCheck = new d();
447
+ initialHealthyCheck = new f();
459
448
  config;
460
449
  constructor(e) {
461
450
  this.config = e;
@@ -472,7 +461,7 @@ var j = new Set(Object.values(o)), M = class {
472
461
  return this.httpURL.origin === window.location.origin;
473
462
  }
474
463
  get isServerless() {
475
- return c() || a() || l();
464
+ return d() || a() || l();
476
465
  }
477
466
  formatHttpURL({ path: e = "", searchParams: t, restrictToKnownQueryParams: n = !0 }) {
478
467
  let r = this.httpURL, i = new URLSearchParams(window.location.search);
@@ -613,5 +602,28 @@ function z(e) {
613
602
  let t = R().httpURL.toString();
614
603
  return t.startsWith("blob:") && (t = t.replace("blob:", "")), new URL(e, t);
615
604
  }
605
+ n();
606
+ var B = i(!1);
607
+ //#endregion
608
+ //#region src/core/static/export-context.ts
609
+ function V(e) {
610
+ if (typeof e != "object" || !e) return !1;
611
+ let t = e;
612
+ return !(t.trusted !== !0 || t.notebookCode !== void 0 && typeof t.notebookCode != "string");
613
+ }
614
+ function H() {
615
+ let e = window?.__MARIMO_EXPORT_CONTEXT__;
616
+ return V(e) ? e : void 0;
617
+ }
618
+ function U() {
619
+ return H()?.trusted === !0;
620
+ }
621
+ function W() {
622
+ if (r.get(B) || U() || r.get(s)) return !0;
623
+ try {
624
+ if (u() === "read") return !0;
625
+ } catch {}
626
+ return !1;
627
+ }
616
628
  //#endregion
617
- export { D as a, d as c, k as i, u as l, R as n, b as o, A as r, v as s, z as t };
629
+ export { z as a, k as c, f as d, B as i, D as l, U as n, R as o, W as r, A as s, H as t, y as u };
@@ -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-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-P6Qpq6wP.js";
7
- import { n as h, t as ee } from "./globals-L7tZEIcx.js";
8
- import { r as g } from "./assertNever-473SFxLt.js";
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-DhZotdzQ.js";
7
+ import { n as h, t as ee } from "./globals-IsQZV-Pn.js";
8
+ import { r as g } from "./assertNever-5vhHGKOK.js";
9
9
  import { t as _ } from "./jsx-runtime-D8btoEHk.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";
10
+ import { Ct as te, Ut as v, m as y } from "./use-restore-focus-DJ_-uSn_.js";
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-Bg6LdTgJ.js";
13
+ import { t as se } from "./code-visibility-SiV7swyv.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;
@@ -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-DcowNmCx.js";
11
+ import "./mermaid-pmVHDUQA.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-BdK-vMct.js";
15
+ export { n as diagram } from "./chunk-SHT3W25Y-BIwVQjG5.js";
@@ -3,8 +3,8 @@ 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-BtDNJuc2.js";
7
- import { i as s } from "./loader-qPmiRXZd.js";
6
+ import { t as o } from "./toDate-BZg-byuO.js";
7
+ import { a as s } from "./loader-CGrYn73j.js";
8
8
  //#region ../node_modules/.pnpm/date-fns@4.4.0/node_modules/date-fns/isDate.js
9
9
  function c(e) {
10
10
  return e instanceof Date || typeof e == "object" && Object.prototype.toString.call(e) === "[object Date]";
@@ -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-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";
5
+ import { i as s, n as c, r as l } from "./copy-icon-CmNLxT5_.js";
6
+ import { d as u } from "./tooltip-DyLdBIM4.js";
7
+ import { c as d, d as f, i as p, n as m, s as h, t as g } from "./select-CEnB18uc.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-D0DeN-aL.js";
9
+ import { t as O } from "./pencil-CxMgOe04.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-CD8BaFTm.js";
11
+ import { i as M, n as N } from "./assertNever-5vhHGKOK.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-DT1TZACX.js";
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-DqCVIA2k.js";
17
+ import { t as ce } from "./ErrorBoundary-BbX80BeS.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-A_0tSQlT.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-B_CloII8.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-CjeU_gt8.js")), Zs = {
9287
+ var Xs = W.lazy(async () => await import("./number-overlay-editor-CNaE6yaF.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-BQZ-Bm6h.js";
4
- import { n as r } from "./assertNever-473SFxLt.js";
3
+ import { h as n } from "./tooltip-DyLdBIM4.js";
4
+ import { n as r } from "./assertNever-5vhHGKOK.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-BQZ-Bm6h.js";
2
- import { Ct as t } from "./use-restore-focus-DT1TZACX.js";
3
- import { r as n } from "./code-visibility-Bg6LdTgJ.js";
1
+ import { h as e } from "./tooltip-DyLdBIM4.js";
2
+ import { Ct as t } from "./use-restore-focus-DJ_-uSn_.js";
3
+ import { r as n } from "./code-visibility-SiV7swyv.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",