@marimo-team/islands 0.25.3-dev266 → 0.25.3-dev267

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 (106) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C_hj7Poi.js → ConnectedDataExplorerComponent-C4yCN38h.js} +1 -1
  2. package/dist/{ErrorBoundary-CvxlC3F1.js → ErrorBoundary-CewXPyL5.js} +64 -69
  3. package/dist/{abnfDiagram-VCTEODGH-DzrZZXRD.js → abnfDiagram-VCTEODGH-o6Ay6Q63.js} +2 -2
  4. package/dist/{any-language-editor-CFeWfC3o.js → any-language-editor-DnG26QXh.js} +1 -1
  5. package/dist/{architectureDiagram-5GKGNRK7-iF_snyFL.js → architectureDiagram-5GKGNRK7-BhiwwlVg.js} +1 -1
  6. package/dist/{chat-ui-DFxNgzXF.js → chat-ui-CbgR5ivy.js} +1964 -1740
  7. package/dist/{chunk-IMKFNOWR-B7xytD4B.js → chunk-IMKFNOWR-WMSMf4Nj.js} +1 -1
  8. package/dist/{chunk-SHT3W25Y-I8ZFP5L1.js → chunk-SHT3W25Y-BRfADrzD.js} +1 -1
  9. package/dist/{chunk-SVP7TREG-Di-uAPdT.js → chunk-SVP7TREG-CuK5QFre.js} +1 -1
  10. package/dist/{chunk-TICWLB2K-BFpUy0ud.js → chunk-TICWLB2K-Bcun_jhJ.js} +1 -1
  11. package/dist/{classDiagram-ZZMXUADV-Cqm4JGpx.js → classDiagram-ZZMXUADV-CgWDbUDT.js} +2 -2
  12. package/dist/{classDiagram-v2-VYDZK3BY-DFHRJpN3.js → classDiagram-v2-VYDZK3BY-DYmc9SFU.js} +2 -2
  13. package/dist/{code-visibility-SRM1JiD_.js → code-visibility-BKBl9Rh6.js} +9 -9
  14. package/dist/{common-yiRhZ6ZZ.js → common-N3Jd_6m9.js} +5944 -5626
  15. package/dist/{cynefinDiagram-5FMLGOSQ-cuGOeTBC.js → cynefinDiagram-5FMLGOSQ-PPKWipjT.js} +1 -1
  16. package/dist/{dagre-GXQ25YYZ-DJ76aC4k.js → dagre-GXQ25YYZ-niRBZh--.js} +1 -1
  17. package/dist/{data-grid-overlay-editor-DLTzcQ4O.js → data-grid-overlay-editor-Cp59CrqZ.js} +1 -1
  18. package/dist/{diagram-S7CK7UJ4-DLLc0sw7.js → diagram-S7CK7UJ4-DPiP9rot.js} +1 -1
  19. package/dist/{diagram-UQ7AKVKN-Tz_d6qmk.js → diagram-UQ7AKVKN-B0WZuaxV.js} +1 -1
  20. package/dist/{diagram-VX7I27RA-D7SzPrDN.js → diagram-VX7I27RA-Rn42WBuN.js} +1 -1
  21. package/dist/{diagram-Z3DM3KII-qr37XV58.js → diagram-Z3DM3KII-BB93--ry.js} +1 -1
  22. package/dist/{dropdown-menu-CkJ7ErY6.js → dropdown-menu-BpImEfn3.js} +1211 -1205
  23. package/dist/{ebnfDiagram-PWID7BFC-BKOQb4J0.js → ebnfDiagram-PWID7BFC-V4t5h6mZ.js} +2 -2
  24. package/dist/{erDiagram-RLTQ6QDP-CM15Vq68.js → erDiagram-RLTQ6QDP-C1MsAKXd.js} +1 -1
  25. package/dist/{error-banner-DbRFOd2O.js → error-banner-DPc9eIw5.js} +3 -3
  26. package/dist/{error-entries-CMoaUX9V.js → error-entries-CJGdD2ky.js} +49 -42
  27. package/dist/{feedback-button-DBUrE4OL.js → feedback-button-Qc1f9iPq.js} +70 -70
  28. package/dist/{flowDiagram-HODETNUW-Dt3N5yFT.js → flowDiagram-HODETNUW-DHjeJP96.js} +2 -2
  29. package/dist/{glide-data-editor-Cfv4HeOh.js → glide-data-editor-hCq3K0sd.js} +2042 -2041
  30. package/dist/{glide-utils-Ba9WD2IN.js → glide-utils-DC3sk6EX.js} +28 -34
  31. package/dist/{globals-dIbBIR5-.js → globals-B2_uMYDY.js} +1 -1
  32. package/dist/{html-to-image-D_5CMreP.js → html-to-image-S7spRQCi.js} +5526 -5828
  33. package/dist/{infoDiagram-27XIBGKW-C7axJMCl.js → infoDiagram-27XIBGKW-Dovv6iKx.js} +1 -1
  34. package/dist/{ishikawaDiagram-5VMMS53U-CdC9Eur7.js → ishikawaDiagram-5VMMS53U-D2nyygsc.js} +1 -1
  35. package/dist/{kanban-definition-UXKFOSKX-BHnMIgD7.js → kanban-definition-UXKFOSKX-KyVx0uTY.js} +1 -1
  36. package/dist/main.js +1288 -1287
  37. package/dist/{mermaid-DFYN_PXd.js → mermaid-B-jKSwGt.js} +33 -33
  38. package/dist/{mindmap-definition-YA3MSWOX-BagHoCGU.js → mindmap-definition-YA3MSWOX-Bz9tKQFl.js} +1 -1
  39. package/dist/{number-overlay-editor-CTiJp5Mj.js → number-overlay-editor-CfNYvbdz.js} +1 -1
  40. package/dist/{pegDiagram-XKGWAZYB-8IIZczip.js → pegDiagram-XKGWAZYB-C_qpq6Tv.js} +2 -2
  41. package/dist/pencil-DcT8AE0h.js +10 -0
  42. package/dist/{pieDiagram-E7YTZNPT-CE6dKBIr.js → pieDiagram-E7YTZNPT-Bp9ucgI4.js} +1 -1
  43. package/dist/{process-output-CGFNVC60.js → process-output-f34bkXTm.js} +2 -2
  44. package/dist/{railroadDiagram-O6MQD6OU-CkexPq3b.js → railroadDiagram-O6MQD6OU-tq-VEH6j.js} +2 -2
  45. package/dist/{requirementDiagram-BXWQKSXE-B0-OkuAe.js → requirementDiagram-BXWQKSXE-DW-vHadb.js} +1 -1
  46. package/dist/{reveal-component-DH09ygHo.js → reveal-component-CUxv-kkP.js} +9 -9
  47. package/dist/{sequenceDiagram-WJ2MYXX4-Dxysg8DX.js → sequenceDiagram-WJ2MYXX4-Dv9U9qRP.js} +1 -1
  48. package/dist/{stateDiagram-D77RDMKH-DTEN3-OJ.js → stateDiagram-D77RDMKH-DTmPQ0EB.js} +2 -2
  49. package/dist/{stateDiagram-v2-MP3YSRHH-vktk3Xc5.js → stateDiagram-v2-MP3YSRHH-CkCif0Iw.js} +2 -2
  50. package/dist/style.css +1 -1
  51. package/dist/{swimlanes-42K2YHIH-Cjveh9OM.js → swimlanes-42K2YHIH-21kCq6l8.js} +1 -1
  52. package/dist/{swimlanesDiagram-VR7AAH4N-Bdr7Ev_2.js → swimlanesDiagram-VR7AAH4N-BpRJP6KU.js} +2 -2
  53. package/dist/{timeline-definition-24CTP7MA-KIuDcefn.js → timeline-definition-24CTP7MA-Ckgh4lS4.js} +1 -1
  54. package/dist/{toast-CY1_Qv41.js → toast-DpczUryP.js} +1 -1
  55. package/dist/{vega-component-C-lqjV0q.js → vega-component-CF9kI6C4.js} +1 -1
  56. package/dist/{vennDiagram-4TSXK5OY-DrIOUHfb.js → vennDiagram-4TSXK5OY-CDei2Bt3.js} +1 -1
  57. package/dist/{wardleyDiagram-VM6X3IG4-CJNjf4OH.js → wardleyDiagram-VM6X3IG4-CXavT601.js} +1 -1
  58. package/dist/{xychartDiagram-S5SC5T6Z-DEshFho-.js → xychartDiagram-S5SC5T6Z-CvJhcZri.js} +1 -1
  59. package/package.json +1 -1
  60. package/src/components/chat/__tests__/chat-display.test.tsx +157 -86
  61. package/src/components/chat/__tests__/chat-utils.test.ts +42 -0
  62. package/src/components/chat/__tests__/turn-timing.test.ts +84 -0
  63. package/src/components/chat/__tests__/use-assistant-turn.test.ts +95 -0
  64. package/src/components/chat/__tests__/user-message.test.tsx +27 -0
  65. package/src/components/chat/acp/agent-panel.tsx +2 -0
  66. package/src/components/chat/agent-activity.tsx +132 -0
  67. package/src/components/chat/chat-display.tsx +125 -96
  68. package/src/components/chat/chat-panel.tsx +123 -106
  69. package/src/components/chat/chat-utils.ts +12 -24
  70. package/src/components/chat/tool-call/__tests__/tool-labels.test.ts +76 -0
  71. package/src/components/chat/tool-call/__tests__/tool-step.test.tsx +57 -0
  72. package/src/components/chat/tool-call/shared.ts +6 -0
  73. package/src/components/chat/tool-call/tool-call-view.tsx +22 -76
  74. package/src/components/chat/tool-call/tool-labels.ts +172 -0
  75. package/src/components/chat/tool-call/tool-step.tsx +145 -0
  76. package/src/components/chat/turn-timing.ts +73 -0
  77. package/src/components/chat/use-assistant-turn.ts +65 -0
  78. package/src/components/chat/use-chat-generation.ts +5 -4
  79. package/src/components/chat/user-message.tsx +145 -0
  80. package/src/components/editor/actions/__tests__/useCellActionButton.test.tsx +18 -1
  81. package/src/components/editor/actions/useCellActionButton.tsx +3 -0
  82. package/src/components/editor/ai/completion-handlers.tsx +0 -37
  83. package/src/components/editor/cell/StagedAICell.tsx +51 -144
  84. package/src/components/editor/chrome/wrapper/__tests__/pending-ai-cells.test.tsx +193 -32
  85. package/src/components/editor/chrome/wrapper/app-chrome.tsx +2 -2
  86. package/src/components/editor/chrome/wrapper/pending-ai-cells.tsx +145 -81
  87. package/src/components/editor/chrome/wrapper/pending-ai-changes-badge.tsx +25 -0
  88. package/src/components/editor/chrome/wrapper/sidebar.tsx +6 -0
  89. package/src/components/editor/links/cell-link.tsx +4 -4
  90. package/src/components/editor/notebook-cell.tsx +3 -11
  91. package/src/components/ui/toast.tsx +1 -1
  92. package/src/core/ai/__tests__/staged-cells.test.ts +74 -126
  93. package/src/core/ai/staged-cells.ts +48 -38
  94. package/src/core/cells/scrollCellIntoView.ts +6 -0
  95. package/src/core/codemirror/placeholder/__tests__/extensions.test.ts +59 -0
  96. package/src/core/codemirror/placeholder/extensions.ts +23 -0
  97. package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +34 -0
  98. package/src/core/session/useNotebookSession.tsx +7 -2
  99. package/src/css/app/Cell.css +7 -36
  100. package/src/plugins/impl/chat/chat-ui.tsx +2 -3
  101. package/src/plugins/impl/common/error-banner.tsx +5 -3
  102. package/src/components/chat/reasoning-accordion.tsx +0 -61
  103. package/src/components/chat/tool-call/tool-activity-group.tsx +0 -49
  104. package/src/components/chat/tool-call/tool-error-card.tsx +0 -81
  105. package/src/components/chat/tool-call/tool-history-row.tsx +0 -147
  106. package/src/components/icons/loading-ellipsis.tsx +0 -46
@@ -9,7 +9,7 @@ import { a as b, t as x } from "./useDateFormatter-Dk_xFci4.js";
9
9
  import { a as S, c as C, d as w, i as T, n as ee, o as E, r as te, s as ne, t as re, x as D } from "./select-C33FVPPN.js";
10
10
  import { t as O } from "./strings-BCKpLFNU.js";
11
11
  import { t as k } from "./jsx-runtime-3BD1kT0s.js";
12
- import { n as ie } from "./error-banner-DbRFOd2O.js";
12
+ import { n as ie } from "./error-banner-DPc9eIw5.js";
13
13
  import { n as ae } from "./useTheme-BZ2GGLgm.js";
14
14
  import { T as oe, w as se, x as ce, y as le } from "./utils-DXkj82sK.js";
15
15
  import { t as ue } from "./invariant-DLmrl-hA.js";
@@ -3,25 +3,20 @@ import { h as t, t as n } from "./button-0-RqY1DW.js";
3
3
  import { t as r } from "./react-sHtZdjeP.js";
4
4
  import { t as i } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { a, t as o } from "./copy-icon-C2I8sw4h.js";
6
- import { h as s, i as c } from "./tooltip-BfcDQd2j.js";
7
- import { t as l } from "./react-dom-DUmH0GXv.js";
8
- import { t as u } from "./jsx-runtime-3BD1kT0s.js";
9
- import { a as d, c as f } from "./use-restore-focus-CmflVLWJ.js";
10
- import { a as p, i as m, o as h, r as g, s as _, t as v } from "./toast-CY1_Qv41.js";
11
- import { l as y, y as b } from "./utils-DXkj82sK.js";
12
- import { o as x, t as S } from "./dialog-BtprQCUw.js";
13
- var C = s("plus", [["path", {
14
- d: "M5 12h14",
15
- key: "1ays0h"
16
- }], ["path", {
17
- d: "M12 5v14",
18
- key: "s699le"
19
- }]]), w = i(), T = /* @__PURE__ */ e(r()), E = (0, T.createContext)(null), D = {
6
+ import { i as s } from "./tooltip-BfcDQd2j.js";
7
+ import { t as c } from "./react-dom-DUmH0GXv.js";
8
+ import { t as l } from "./jsx-runtime-3BD1kT0s.js";
9
+ import { a as u, c as d } from "./use-restore-focus-CmflVLWJ.js";
10
+ import { a as f, i as p, o as m, r as h, s as g, t as _ } from "./toast-DpczUryP.js";
11
+ import { l as v, y } from "./utils-DXkj82sK.js";
12
+ import { o as b, t as x } from "./dialog-BtprQCUw.js";
13
+ //#region ../node_modules/.pnpm/react-error-boundary@5.0.0_react@19.3.0/node_modules/react-error-boundary/dist/react-error-boundary.esm.js
14
+ var S = i(), C = /* @__PURE__ */ e(r()), w = (0, C.createContext)(null), T = {
20
15
  didCatch: !1,
21
16
  error: null
22
- }, O = class extends T.Component {
17
+ }, E = class extends C.Component {
23
18
  constructor(e) {
24
- super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = D;
19
+ super(e), this.resetErrorBoundary = this.resetErrorBoundary.bind(this), this.state = T;
25
20
  }
26
21
  static getDerivedStateFromError(e) {
27
22
  return {
@@ -36,7 +31,7 @@ var C = s("plus", [["path", {
36
31
  (t = (n = this.props).onReset) == null || t.call(n, {
37
32
  args: r,
38
33
  reason: "imperative-api"
39
- }), this.setState(D);
34
+ }), this.setState(T);
40
35
  }
41
36
  }
42
37
  componentDidCatch(e, t) {
@@ -45,13 +40,13 @@ var C = s("plus", [["path", {
45
40
  }
46
41
  componentDidUpdate(e, t) {
47
42
  let { didCatch: n } = this.state, { resetKeys: r } = this.props;
48
- if (n && t.error !== null && k(e.resetKeys, r)) {
43
+ if (n && t.error !== null && D(e.resetKeys, r)) {
49
44
  var i, a;
50
45
  (i = (a = this.props).onReset) == null || i.call(a, {
51
46
  next: r,
52
47
  prev: e.resetKeys,
53
48
  reason: "keys"
54
- }), this.setState(D);
49
+ }), this.setState(T);
55
50
  }
56
51
  }
57
52
  render() {
@@ -62,70 +57,70 @@ var C = s("plus", [["path", {
62
57
  resetErrorBoundary: this.resetErrorBoundary
63
58
  };
64
59
  if (typeof t == "function") o = t(e);
65
- else if (n) o = (0, T.createElement)(n, e);
60
+ else if (n) o = (0, C.createElement)(n, e);
66
61
  else if (r !== void 0) o = r;
67
62
  else throw a;
68
63
  }
69
- return (0, T.createElement)(E.Provider, { value: {
64
+ return (0, C.createElement)(w.Provider, { value: {
70
65
  didCatch: i,
71
66
  error: a,
72
67
  resetErrorBoundary: this.resetErrorBoundary
73
68
  } }, o);
74
69
  }
75
70
  };
76
- function k() {
71
+ function D() {
77
72
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
78
73
  return e.length !== t.length || e.some((e, n) => !Object.is(e, t[n]));
79
74
  }
80
75
  //#endregion
81
76
  //#region src/components/ui/toaster.tsx
82
- var A = /* @__PURE__ */ e(l(), 1), j = u(), M = () => {
83
- let e = (0, w.c)(5), { toasts: t } = a(), n;
84
- e[0] === t ? n = e[1] : (n = t.map(F), e[0] = t, e[1] = n);
77
+ var O = /* @__PURE__ */ e(c(), 1), k = l(), A = () => {
78
+ let e = (0, S.c)(5), { toasts: t } = a(), n;
79
+ e[0] === t ? n = e[1] : (n = t.map(N), e[0] = t, e[1] = n);
85
80
  let r;
86
- e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, j.jsx)(N, {}), e[2] = r) : r = e[2];
81
+ e[2] === Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ (0, k.jsx)(j, {}), e[2] = r) : r = e[2];
87
82
  let i;
88
- return e[3] === n ? i = e[4] : (i = /* @__PURE__ */ (0, j.jsxs)(p, { children: [n, r] }), e[3] = n, e[4] = i), i;
89
- }, N = d(({ container: e }) => (0, A.createPortal)(/* @__PURE__ */ (0, j.jsx)(f, { children: /* @__PURE__ */ (0, j.jsx)(_, {}) }), e ?? document.body)), P = (e) => {
90
- let n = (0, w.c)(23), r, i, a, s, c;
83
+ return e[3] === n ? i = e[4] : (i = /* @__PURE__ */ (0, k.jsxs)(f, { children: [n, r] }), e[3] = n, e[4] = i), i;
84
+ }, j = u(({ container: e }) => (0, O.createPortal)(/* @__PURE__ */ (0, k.jsx)(d, { children: /* @__PURE__ */ (0, k.jsx)(g, {}) }), e ?? document.body)), M = (e) => {
85
+ let n = (0, S.c)(23), r, i, a, s, c;
91
86
  n[0] === e ? (r = n[1], i = n[2], a = n[3], s = n[4], c = n[5]) : ({toastTitle: s, toastDescription: a, action: r, variant: c, ...i} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = s, n[5] = c);
92
- let l = (0, T.useRef)(null), u = !!a && !r && c === "danger", d;
93
- n[6] === s ? d = n[7] : (d = s && /* @__PURE__ */ (0, j.jsx)(h, { children: s }), n[6] = s, n[7] = d);
87
+ let l = (0, C.useRef)(null), u = !!a && !r && c === "danger", d;
88
+ n[6] === s ? d = n[7] : (d = s && /* @__PURE__ */ (0, k.jsx)(m, { children: s }), n[6] = s, n[7] = d);
94
89
  let f;
95
- n[8] === a ? f = n[9] : (f = a && /* @__PURE__ */ (0, j.jsx)(m, {
90
+ n[8] === a ? f = n[9] : (f = a && /* @__PURE__ */ (0, k.jsx)(p, {
96
91
  ref: l,
97
92
  children: a
98
93
  }), n[8] = a, n[9] = f);
99
- let p;
100
- n[10] !== d || n[11] !== f ? (p = /* @__PURE__ */ (0, j.jsxs)("div", {
94
+ let g;
95
+ n[10] !== d || n[11] !== f ? (g = /* @__PURE__ */ (0, k.jsxs)("div", {
101
96
  className: "grid min-w-0 flex-1 gap-1",
102
97
  children: [d, f]
103
- }), n[10] = d, n[11] = f, n[12] = p) : p = n[12];
104
- let _;
105
- n[13] !== u || n[14] !== a ? (_ = u && /* @__PURE__ */ (0, j.jsx)(o, {
98
+ }), n[10] = d, n[11] = f, n[12] = g) : g = n[12];
99
+ let v;
100
+ n[13] !== u || n[14] !== a ? (v = u && /* @__PURE__ */ (0, k.jsx)(o, {
106
101
  tooltip: "Copy error",
107
102
  ariaLabel: "Copy error",
108
103
  className: "h-4 w-4",
109
104
  buttonClassName: t("absolute right-8 top-2 rounded-md p-1 text-foreground/50 opacity-0 transition-opacity", "hover:text-foreground focus:opacity-100 focus-visible:outline-hidden focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 group-hover:opacity-100", "group-[.destructive]:text-red-300 hover:group-[.destructive]:text-red-500 focus-visible:group-[.destructive]:ring-red-400 focus-visible:group-[.destructive]:ring-offset-red-600"),
110
105
  value: () => l.current?.innerText ?? (typeof a == "string" ? a : "")
111
- }), n[13] = u, n[14] = a, n[15] = _) : _ = n[15];
106
+ }), n[13] = u, n[14] = a, n[15] = v) : v = n[15];
112
107
  let y;
113
- n[16] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ (0, j.jsx)(g, {}), n[16] = y) : y = n[16];
108
+ n[16] === Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ (0, k.jsx)(h, {}), n[16] = y) : y = n[16];
114
109
  let b;
115
- return n[17] !== r || n[18] !== i || n[19] !== p || n[20] !== _ || n[21] !== c ? (b = /* @__PURE__ */ (0, j.jsxs)(v, {
110
+ return n[17] !== r || n[18] !== i || n[19] !== g || n[20] !== v || n[21] !== c ? (b = /* @__PURE__ */ (0, k.jsxs)(_, {
116
111
  variant: c,
117
112
  ...i,
118
113
  children: [
119
- p,
114
+ g,
120
115
  r,
121
- _,
116
+ v,
122
117
  y
123
118
  ]
124
- }), n[17] = r, n[18] = i, n[19] = p, n[20] = _, n[21] = c, n[22] = b) : b = n[22], b;
119
+ }), n[17] = r, n[18] = i, n[19] = g, n[20] = v, n[21] = c, n[22] = b) : b = n[22], b;
125
120
  };
126
- function F(e) {
121
+ function N(e) {
127
122
  let { id: t, title: n, description: r, action: i, variant: a, ...o } = e;
128
- return /* @__PURE__ */ (0, j.jsx)(P, {
123
+ return /* @__PURE__ */ (0, k.jsx)(M, {
129
124
  toastTitle: n,
130
125
  toastDescription: r,
131
126
  action: i,
@@ -135,66 +130,66 @@ function F(e) {
135
130
  }
136
131
  //#endregion
137
132
  //#region src/components/editor/boundary/ErrorBoundary.tsx
138
- var I = (0, T.lazy)(() => import("./feedback-button-DBUrE4OL.js").then((e) => ({ default: e.FeedbackModal }))), L = (e) => {
139
- let t = (0, w.c)(2), n;
140
- return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, j.jsx)(O, {
141
- FallbackComponent: R,
133
+ var P = (0, C.lazy)(() => import("./feedback-button-Qc1f9iPq.js").then((e) => ({ default: e.FeedbackModal }))), F = (e) => {
134
+ let t = (0, S.c)(2), n;
135
+ return t[0] === e.children ? n = t[1] : (n = /* @__PURE__ */ (0, k.jsx)(E, {
136
+ FallbackComponent: I,
142
137
  children: e.children
143
138
  }), t[0] = e.children, t[1] = n), n;
144
- }, R = (e) => {
145
- let t = (0, w.c)(17), [r, i] = (0, T.useState)(!1), a;
146
- t[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, j.jsx)("h1", {
139
+ }, I = (e) => {
140
+ let t = (0, S.c)(17), [r, i] = (0, C.useState)(!1), a;
141
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, k.jsx)("h1", {
147
142
  className: "text-2xl font-bold",
148
143
  children: "Something went wrong"
149
144
  }), t[0] = a) : a = t[0];
150
- let o = e.error?.message, s;
151
- t[1] === o ? s = t[2] : (s = /* @__PURE__ */ (0, j.jsx)("pre", {
145
+ let o = e.error?.message, c;
146
+ t[1] === o ? c = t[2] : (c = /* @__PURE__ */ (0, k.jsx)("pre", {
152
147
  className: "text-xs bg-muted/40 border rounded-md p-4 max-w-[80%] whitespace-normal",
153
148
  children: o
154
- }), t[1] = o, t[2] = s);
149
+ }), t[1] = o, t[2] = c);
155
150
  let l;
156
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ (0, j.jsx)(x, {
151
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (l = /* @__PURE__ */ (0, k.jsx)(b, {
157
152
  asChild: !0,
158
- children: /* @__PURE__ */ (0, j.jsx)(n, {
153
+ children: /* @__PURE__ */ (0, k.jsx)(n, {
159
154
  variant: "outline",
160
155
  children: "Report an issue"
161
156
  })
162
157
  }), t[3] = l) : l = t[3];
163
158
  let u;
164
- t[4] === r ? u = t[5] : (u = r && /* @__PURE__ */ (0, j.jsx)(b, {
165
- store: y,
166
- children: /* @__PURE__ */ (0, j.jsxs)(c, { children: [/* @__PURE__ */ (0, j.jsx)(T.Suspense, {
159
+ t[4] === r ? u = t[5] : (u = r && /* @__PURE__ */ (0, k.jsx)(y, {
160
+ store: v,
161
+ children: /* @__PURE__ */ (0, k.jsxs)(s, { children: [/* @__PURE__ */ (0, k.jsx)(C.Suspense, {
167
162
  fallback: null,
168
- children: /* @__PURE__ */ (0, j.jsx)(I, {})
169
- }), /* @__PURE__ */ (0, j.jsx)(M, {})] })
163
+ children: /* @__PURE__ */ (0, k.jsx)(P, {})
164
+ }), /* @__PURE__ */ (0, k.jsx)(A, {})] })
170
165
  }), t[4] = r, t[5] = u);
171
166
  let d;
172
- t[6] !== r || t[7] !== u ? (d = /* @__PURE__ */ (0, j.jsxs)(S, {
167
+ t[6] !== r || t[7] !== u ? (d = /* @__PURE__ */ (0, k.jsxs)(x, {
173
168
  open: r,
174
169
  onOpenChange: i,
175
170
  children: [l, u]
176
171
  }), t[6] = r, t[7] = u, t[8] = d) : d = t[8];
177
172
  let f;
178
- t[9] === e.resetErrorBoundary ? f = t[10] : (f = /* @__PURE__ */ (0, j.jsx)(n, {
173
+ t[9] === e.resetErrorBoundary ? f = t[10] : (f = /* @__PURE__ */ (0, k.jsx)(n, {
179
174
  "data-testid": "reset-error-boundary-button",
180
175
  onClick: e.resetErrorBoundary,
181
176
  variant: "outline",
182
177
  children: "Try again"
183
178
  }), t[9] = e.resetErrorBoundary, t[10] = f);
184
179
  let p;
185
- t[11] !== d || t[12] !== f ? (p = /* @__PURE__ */ (0, j.jsxs)("div", {
180
+ t[11] !== d || t[12] !== f ? (p = /* @__PURE__ */ (0, k.jsxs)("div", {
186
181
  className: "flex flex-wrap items-center justify-center gap-2",
187
182
  children: [d, f]
188
183
  }), t[11] = d, t[12] = f, t[13] = p) : p = t[13];
189
184
  let m;
190
- return t[14] !== s || t[15] !== p ? (m = /* @__PURE__ */ (0, j.jsxs)("div", {
185
+ return t[14] !== c || t[15] !== p ? (m = /* @__PURE__ */ (0, k.jsxs)("div", {
191
186
  className: "flex-1 flex items-center justify-center flex-col space-y-4 max-w-2xl mx-auto px-6 pb-6",
192
187
  children: [
193
188
  a,
194
- s,
189
+ c,
195
190
  p
196
191
  ]
197
- }), t[14] = s, t[15] = p, t[16] = m) : m = t[16], m;
192
+ }), t[14] = c, t[15] = p, t[16] = m) : m = t[16], m;
198
193
  };
199
194
  //#endregion
200
- export { C as n, L as t };
195
+ export { F as t };
@@ -1,9 +1,9 @@
1
1
  import { n as e } from "./src-CA_m4ONl.js";
2
2
  import { n as t } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
3
3
  import "./chunk-DU6HZSFF-BwiyaNpg.js";
4
- import "./mermaid-DFYN_PXd.js";
4
+ import "./mermaid-B-jKSwGt.js";
5
5
  import { m as n, t as r } from "./mermaid-parser.core-DxuSfYwJ.js";
6
- import { n as i, r as a, t as o } from "./chunk-SVP7TREG-Di-uAPdT.js";
6
+ import { n as i, r as a, t as o } from "./chunk-SVP7TREG-CuK5QFre.js";
7
7
  import { t as s } from "./chunk-JWPE2WC7-DJvv1t8U.js";
8
8
  //#region ../node_modules/.pnpm/mermaid@11.17.2/node_modules/mermaid/dist/chunks/mermaid.core/abnfDiagram-VCTEODGH.mjs
9
9
  var c = n().RailroadAbnf.parser.LangiumParser, l = /* @__PURE__ */ t((e) => {
@@ -4,7 +4,7 @@ import { t } from "./react-sHtZdjeP.js";
4
4
  import { t as n } from "./compiler-runtime-CldRdSsv.js";
5
5
  import { t as r } from "./copy-icon-C2I8sw4h.js";
6
6
  import { t as i } from "./jsx-runtime-3BD1kT0s.js";
7
- import { n as a } from "./error-banner-DbRFOd2O.js";
7
+ import { n as a } from "./error-banner-DPc9eIw5.js";
8
8
  import { t as o } from "./esm-BDqqT86j.js";
9
9
  import { n as s, t as c } from "./esm-BgKjMvWw.js";
10
10
  //#region src/plugins/impl/code/any-language-editor.tsx
@@ -5,7 +5,7 @@ import { n as o } from "./chunk-Y2CYZVJY-DKKS1VyV.js";
5
5
  import { H as s, J as c, K as l, U as u, a as d, b as f, f as p, v as m, w as h, x as g, y as _, z as v } from "./chunk-DU6HZSFF-BwiyaNpg.js";
6
6
  import { i as y, r as b, t as x } from "./chunk-PWAF6VOD-CQw5qATZ.js";
7
7
  import { n as S } from "./chunk-GMAD6QVW-BhaJx0X3.js";
8
- import { p as C } from "./mermaid-DFYN_PXd.js";
8
+ import { p as C } from "./mermaid-B-jKSwGt.js";
9
9
  import { n as w } from "./mermaid-parser.core-DxuSfYwJ.js";
10
10
  import { t as T } from "./chunk-JWPE2WC7-DJvv1t8U.js";
11
11
  import { t as E } from "./cytoscape.esm-jJhXJpLB.js";