@marimo-team/islands 0.25.3-dev446 → 0.25.3-dev453

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/{ErrorBoundary-CBvdOZsh.js → ErrorBoundary-CIYMOu2p.js} +1 -1
  2. package/dist/assets/__vite-browser-external-D2z_TiUO.js +1 -0
  3. package/dist/assets/{worker-BUqfWMtI.js → worker-DLJ9P24O.js} +2 -2
  4. package/dist/{chat-ui-9oyUBL6M.js → chat-ui-DEHpKH2l.js} +17 -19
  5. package/dist/{code-visibility-BVsBD2bm.js → code-visibility-BQE60zOk.js} +7 -7
  6. package/dist/{common-Cz5kXzjw.js → common-DfUux6zJ.js} +4902 -4893
  7. package/dist/{data-grid-overlay-editor-B-PHwg_F.js → data-grid-overlay-editor-B9zW4oN1.js} +1 -1
  8. package/dist/{error-entries-CWdDf7iZ.js → error-entries-BG7ifiDg.js} +1368 -996
  9. package/dist/{feedback-button-DKfgWMh1.js → feedback-button-BEUh4iQQ.js} +129 -129
  10. package/dist/{glide-data-editor-BMrcgCud.js → glide-data-editor-CbdIXPTZ.js} +3 -3
  11. package/dist/{globals-vjja83iL.js → globals-BkxG-Y8L.js} +1 -1
  12. package/dist/{html-to-image-CexRSGAZ.js → html-to-image-9HLBGrIx.js} +4115 -4103
  13. package/dist/main.js +6562 -6671
  14. package/dist/{number-overlay-editor-CQvIdVeX.js → number-overlay-editor-BFzdth50.js} +1 -1
  15. package/dist/{process-output-hcyVRJCC.js → process-output-B8HPq5iZ.js} +2 -2
  16. package/dist/{reveal-component-DF7VRfN2.js → reveal-component-DK_-9fAX.js} +166 -167
  17. package/package.json +1 -1
  18. package/src/__mocks__/executions.ts +7 -4
  19. package/src/__mocks__/notebook.ts +20 -4
  20. package/src/components/editor/cell/DeleteButton.tsx +2 -2
  21. package/src/components/editor/cell/StopButton.tsx +2 -2
  22. package/src/components/editor/cell/useRunCells.ts +0 -3
  23. package/src/components/editor/errors/__tests__/send-error-report-button.test.tsx +1 -1
  24. package/src/components/editor/notebook-cell.tsx +4 -35
  25. package/src/components/editor/output/ansi-reduce.ts +124 -61
  26. package/src/components/editor/output/console/ConsoleOutput.tsx +7 -25
  27. package/src/components/editor/output/console/__tests__/ConsoleOutput.test.tsx +15 -44
  28. package/src/components/editor/renderers/cells-renderer.tsx +2 -5
  29. package/src/components/editor/renderers/grid-layout/__tests__/grid-layout.test.tsx +1 -1
  30. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +3 -6
  31. package/src/components/editor/stdin-blocking-alert.tsx +14 -18
  32. package/src/components/scratchpad/scratchpad.test.tsx +1 -1
  33. package/src/components/scratchpad/scratchpad.tsx +5 -6
  34. package/src/components/slides/__tests__/cell-output-block.test.tsx +2 -2
  35. package/src/components/slides/__tests__/slide-cell-view.test.tsx +2 -2
  36. package/src/components/tracing/tracing-spec.ts +11 -1
  37. package/src/components/tracing/tracing.tsx +4 -0
  38. package/src/core/ai/context/providers/__tests__/cell-output.test.ts +10 -20
  39. package/src/core/ai/context/providers/__tests__/error.test.ts +5 -27
  40. package/src/core/ai/context/providers/cell-output.ts +4 -12
  41. package/src/core/cells/__tests__/cell.test.ts +1 -169
  42. package/src/core/cells/__tests__/cells.test.ts +32 -709
  43. package/src/core/cells/__tests__/clear-outputs.test.ts +21 -14
  44. package/src/core/cells/__tests__/collapseConsoleOutputs.test.ts +71 -2
  45. package/src/core/cells/__tests__/logs.test.ts +18 -29
  46. package/src/core/cells/__tests__/runs.test.ts +128 -431
  47. package/src/core/cells/__tests__/session.test.ts +9 -9
  48. package/src/core/cells/actions.ts +29 -7
  49. package/src/core/cells/cell.ts +1 -96
  50. package/src/core/cells/cells.ts +147 -117
  51. package/src/core/cells/collapseConsoleOutputs.tsx +71 -40
  52. package/src/core/cells/command-console.ts +46 -0
  53. package/src/core/cells/execution-console.ts +230 -0
  54. package/src/core/cells/focus.ts +9 -29
  55. package/src/core/cells/logs.ts +10 -2
  56. package/src/core/cells/runs.ts +62 -118
  57. package/src/core/cells/session.ts +2 -2
  58. package/src/core/cells/types.ts +30 -23
  59. package/src/core/cells/useAnswerPrompt.ts +29 -0
  60. package/src/core/errors/error-entries.ts +3 -4
  61. package/src/core/executions/__tests__/atoms.test.ts +6 -20
  62. package/src/core/executions/__tests__/input.test.ts +3 -3
  63. package/src/core/executions/__tests__/output-lifecycle.test.ts +2 -8
  64. package/src/core/executions/atoms.ts +2 -21
  65. package/src/core/executions/index.ts +2 -1
  66. package/src/core/executions/input.ts +4 -3
  67. package/src/core/executions/output.ts +3 -3
  68. package/src/core/islands/__tests__/bridge.test.ts +59 -0
  69. package/src/core/islands/bootstrap.ts +29 -12
  70. package/src/core/islands/bridge.ts +67 -13
  71. package/src/core/kernel/handlers.ts +2 -21
  72. package/src/core/kernel/messages.ts +0 -1
  73. package/src/core/network/types.ts +0 -1
  74. package/src/core/notebook/document/__tests__/codemirror.test.ts +1 -0
  75. package/src/core/notebook/replica/__tests__/executions.test.ts +1 -0
  76. package/src/core/notebook/replica/__tests__/replica.test.ts +113 -0
  77. package/src/core/notebook/replica/replica.ts +106 -12
  78. package/src/core/notebook/replica/resources/executions.ts +57 -4
  79. package/src/core/session/__tests__/backend.test.ts +2 -4
  80. package/src/core/session/__tests__/useNotebookReplica.hook.test.tsx +1 -0
  81. package/src/core/session/__tests__/useNotebookSession.hook.test.tsx +601 -35
  82. package/src/core/session/useNotebookReplica.ts +20 -6
  83. package/src/core/session/useNotebookSession.tsx +63 -33
  84. package/src/core/static/virtual-file-tracker.ts +26 -8
  85. package/src/stories/layout/vertical/one-column.stories.tsx +18 -12
  86. package/dist/assets/__vite-browser-external-CpRgw4M_.js +0 -1
  87. package/src/components/editor/alerts/stdin-blocking-alert.tsx +0 -68
  88. package/src/core/cells/__tests__/__snapshots__/cells.test.ts.snap +0 -703
@@ -3,15 +3,14 @@ import { g as t, h as n, i as r, m as i, t as a } from "./button-qQhINE7z.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 { h as c, t as l } from "./tooltip-CiJ919pg.js";
6
- import { $ as u, Q as d, bn as f, et as p, i as m, l as h, ln as g, n as _, r as v, t as y, u as b, wn as x, xn as S } from "./common-Cz5kXzjw.js";
7
- import { M as C } from "./select-PQHWLm64.js";
8
- import { X as ee } from "./dropdown-menu-B12Nf3Zf.js";
9
- import { Nt as w } from "./error-entries-CWdDf7iZ.js";
10
- import { t as T } from "./jsx-runtime-D8btoEHk.js";
11
- import { Rt as E, Vt as D, f as O, i as k } from "./use-restore-focus-BLj45Ibw.js";
6
+ import { Cn as u, En as d, Sn as f, dn as p, et as m, f as h, i as g, l as _, n as v, nt as y, r as b, t as x, tt as S, u as C } from "./common-DfUux6zJ.js";
7
+ import { M as w } from "./select-PQHWLm64.js";
8
+ import { X as T } from "./dropdown-menu-B12Nf3Zf.js";
9
+ import { t as E } from "./jsx-runtime-D8btoEHk.js";
10
+ import { Rt as D, Vt as O, f as k, i as ee } from "./use-restore-focus-BLj45Ibw.js";
12
11
  import { t as A } from "./useEvent-BoN7U38T.js";
13
12
  import { o as te } from "./static-state-CWXd6dYX.js";
14
- import { n as ne, t as re } from "./code-visibility-BVsBD2bm.js";
13
+ import { n as ne, t as re } from "./code-visibility-BQE60zOk.js";
15
14
  /* empty css */
16
15
  var j = c("sticky-note", [["path", {
17
16
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
@@ -166,17 +165,17 @@ var ve = /android/gi.test(ge), ye = function(e) {
166
165
  childList: !0,
167
166
  characterData: !0
168
167
  }
169
- }, ee = null, w = function() {
170
- e.clearTimeout(ee), ee = e.setTimeout(l(i), D.observeWindowDelay);
171
- }, T = ["resize", "orientationchange"];
172
- return Object.defineProperty(D, "observeWindow", { set: function(t) {
168
+ }, w = null, T = function() {
169
+ e.clearTimeout(w), w = e.setTimeout(l(i), O.observeWindowDelay);
170
+ }, E = ["resize", "orientationchange"];
171
+ return Object.defineProperty(O, "observeWindow", { set: function(t) {
173
172
  var n = `${t ? "add" : "remove"}EventListener`;
174
- T.forEach((function(t) {
175
- e[n](t, w);
173
+ E.forEach((function(t) {
174
+ e[n](t, T);
176
175
  }));
177
- } }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
176
+ } }), O.observeWindow = !0, O.observeWindowDelay = 100, O.fitAll = l(a), O;
178
177
  }
179
- function E(e, t) {
178
+ function D(e, t) {
180
179
  var n = Object.assign({}, C, t), r = e.map((function(e) {
181
180
  var t = Object.assign({}, n, {
182
181
  element: e,
@@ -198,9 +197,9 @@ var ve = /android/gi.test(ge), ye = function(e) {
198
197
  }));
199
198
  return c(), r;
200
199
  }
201
- function D(e) {
200
+ function O(e) {
202
201
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
203
- return typeof e == "string" ? E(t(document.querySelectorAll(e)), n) : E([e], n)[0];
202
+ return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
204
203
  }
205
204
  }(typeof window > "u" ? null : window);
206
205
  function L(e) {
@@ -2167,7 +2166,7 @@ function ot(e, t) {
2167
2166
  }, d = [], f = 1, p = {
2168
2167
  layout: "",
2169
2168
  overview: ""
2170
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new Ce(n), S = new De(n), C = new Oe(n), ee = new je(n), w = new ke(n), T = new Ie(n), E = new Re(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new We(n), te = new Ge(n), ne = new Ke(n), re = new qe(n), j = new Ye(n), M = new Xe(n), N = new tt(n), ce = new Qe(n), I = new nt(n);
2169
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new Ce(n), S = new De(n), C = new Oe(n), w = new je(n), T = new ke(n), E = new Ie(n), D = new Re(n), O = new ze(n), k = new Be(n), ee = new Ve(n), A = new We(n), te = new Ge(n), ne = new Ke(n), re = new qe(n), j = new Ye(n), M = new Xe(n), N = new tt(n), ce = new Qe(n), I = new nt(n);
2171
2170
  function ue(a) {
2172
2171
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2173
2172
  if (i) throw "Reveal.js has already been initialized.";
@@ -2178,7 +2177,7 @@ function ot(e, t) {
2178
2177
  r.embedded === !0 ? m.viewport = F(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2179
2178
  }
2180
2179
  function me() {
2181
- i !== !1 && (a = !0, ge(), ve(), B(), Se(), Te(), Ct(), V(), w.update(!0), he(), A.readURL(), setTimeout(() => {
2180
+ i !== !1 && (a = !0, ge(), ve(), B(), Se(), Te(), Ct(), V(), T.update(!0), he(), A.readURL(), setTimeout(() => {
2182
2181
  m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2183
2182
  type: "ready",
2184
2183
  data: {
@@ -2191,7 +2190,7 @@ function ot(e, t) {
2191
2190
  }
2192
2191
  function he() {
2193
2192
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2194
- (e || t) && (e ? Me() : ce.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? E.activate() : window.addEventListener("load", () => E.activate()) : T.activate());
2193
+ (e || t) && (e ? Me() : ce.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2195
2194
  }
2196
2195
  function ge() {
2197
2196
  r.showHiddenSlides || P(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
@@ -2200,7 +2199,7 @@ function ot(e, t) {
2200
2199
  });
2201
2200
  }
2202
2201
  function ve() {
2203
- m.slides.classList.add("no-transition"), _e ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), w.render(), S.render(), C.render(), te.render(), ne.render(), I.render(), m.pauseOverlay = le(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2202
+ m.slides.classList.add("no-transition"), _e ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), te.render(), ne.render(), I.render(), m.pauseOverlay = le(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2204
2203
  }
2205
2204
  function ye() {
2206
2205
  let e = m.wrapper.querySelector(".aria-status");
@@ -2245,7 +2244,7 @@ function ot(e, t) {
2245
2244
  }
2246
2245
  function Se() {
2247
2246
  setInterval(() => {
2248
- (!T.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2247
+ (!E.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2249
2248
  }, 1e3);
2250
2249
  }
2251
2250
  function Te() {
@@ -2258,16 +2257,16 @@ function ot(e, t) {
2258
2257
  let t = Ue({}, r);
2259
2258
  if (typeof e == "object" && ie(r, e), n.isReady() === !1) return;
2260
2259
  let i = m.wrapper.querySelectorAll(R).length;
2261
- m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && K(), ae(m.wrapper, "embedded", r.embedded), ae(m.wrapper, "rtl", r.rtl), ae(m.wrapper, "center", r.center), r.pause === !1 && pt(), ee.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new rt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), I.configure(r, t), N.configure(r, t), re.configure(r, t), te.configure(r, t), ne.configure(r, t), k.configure(r, t), D.configure(r, t), S.configure(r, t), xt();
2260
+ m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && K(), ae(m.wrapper, "embedded", r.embedded), ae(m.wrapper, "rtl", r.rtl), ae(m.wrapper, "center", r.center), r.pause === !1 && pt(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new rt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), I.configure(r, t), N.configure(r, t), re.configure(r, t), te.configure(r, t), ne.configure(r, t), ee.configure(r, t), O.configure(r, t), S.configure(r, t), xt();
2262
2261
  }
2263
2262
  function Ae() {
2264
- window.addEventListener("resize", tn, !1), r.touch && ce.bind(), r.keyboard && k.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), N.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2263
+ window.addEventListener("resize", tn, !1), r.touch && ce.bind(), r.keyboard && ee.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), N.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2265
2264
  }
2266
2265
  function Me() {
2267
- ce.unbind(), N.unbind(), k.unbind(), te.unbind(), ne.unbind(), A.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
2266
+ ce.unbind(), N.unbind(), ee.unbind(), te.unbind(), ne.unbind(), A.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
2268
2267
  }
2269
2268
  function Ne() {
2270
- i = !1, a !== !1 && (Me(), Ht(), I.destroy(), N.destroy(), M.destroy(), j.destroy(), re.destroy(), te.destroy(), ne.destroy(), w.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(R)).forEach((e) => {
2269
+ i = !1, a !== !1 && (Me(), Ht(), I.destroy(), N.destroy(), M.destroy(), j.destroy(), re.destroy(), te.destroy(), ne.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(R)).forEach((e) => {
2271
2270
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), e.removeAttribute("inert");
2272
2271
  }));
2273
2272
  }
@@ -2307,12 +2306,12 @@ function ot(e, t) {
2307
2306
  }
2308
2307
  }
2309
2308
  function U() {
2310
- if (m.wrapper && !E.isActive()) {
2309
+ if (m.wrapper && !D.isActive()) {
2311
2310
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2312
2311
  if (!r.disableLayout) {
2313
2312
  _e && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
- let n = T.isActive() ? et(e, t) : et(), i = f;
2315
- Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || T.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2313
+ let n = E.isActive() ? et(e, t) : et(), i = f;
2314
+ Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
2315
  let a = Array.from(m.wrapper.querySelectorAll(R)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2317
2316
  for (let e = 0, t = a.length; e < t; e++) {
2318
2317
  let t = a[e];
@@ -2328,7 +2327,7 @@ function ot(e, t) {
2328
2327
  }
2329
2328
  });
2330
2329
  }
2331
- $e(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), T.layout(), ne.update(), w.updateParallax(), O.isActive() && O.update();
2330
+ $e(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), ne.update(), T.updateParallax(), k.isActive() && k.update();
2332
2331
  }
2333
2332
  }
2334
2333
  function Ze(e, t) {
@@ -2341,9 +2340,9 @@ function ot(e, t) {
2341
2340
  });
2342
2341
  }
2343
2342
  function $e() {
2344
- if (m.wrapper && !r.disableLayout && !E.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2343
+ if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
2344
  let e = et();
2346
- e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? T.isActive() || (w.create(), T.activate()) : T.isActive() && T.deactivate();
2345
+ e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
2347
2346
  }
2348
2347
  }
2349
2348
  function et(e, t) {
@@ -2418,13 +2417,13 @@ function ot(e, t) {
2418
2417
  }).defaultPrevented) return;
2419
2418
  c = l;
2420
2419
  let u = m.wrapper.querySelectorAll(z);
2421
- if (T.isActive()) {
2422
- let e = T.getSlideByIndices(t, n);
2423
- e && T.scrollToSlide(e);
2420
+ if (E.isActive()) {
2421
+ let e = E.getSlideByIndices(t, n);
2422
+ e && E.scrollToSlide(e);
2424
2423
  return;
2425
2424
  }
2426
2425
  if (u.length === 0) return;
2427
- n === void 0 && !O.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && ot(c.parentNode, s);
2426
+ n === void 0 && !k.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && ot(c.parentNode, s);
2428
2427
  let f = d.concat();
2429
2428
  d.length = 0;
2430
2429
  let p = o || 0, g = s || 0;
@@ -2434,7 +2433,7 @@ function ot(e, t) {
2434
2433
  let v = u[o], y = v.querySelectorAll("section");
2435
2434
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2436
2435
  let b = !1;
2437
- _ && c && l && !O.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), O.isActive() && O.update(), i !== void 0 && D.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ut() && setTimeout(() => {
2436
+ _ && c && l && !k.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ut() && setTimeout(() => {
2438
2437
  Mt().forEach((e) => {
2439
2438
  ot(e, 0);
2440
2439
  });
@@ -2449,9 +2448,9 @@ function ot(e, t) {
2449
2448
  for (; f.length;) m.viewport.classList.remove(f.pop());
2450
2449
  _ && (x.afterSlideChanged(), He(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
2450
  L(be(l));
2452
- }), ne.update(), te.update(), I.update(), w.update(), w.updateParallax(), S.update(), D.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2451
+ }), ne.update(), te.update(), I.update(), T.update(), T.updateParallax(), S.update(), O.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2453
2452
  m.slides.classList.remove("disable-slide-transitions");
2454
- }, 0), r.autoAnimate && ee.run(c, l));
2453
+ }, 0), r.autoAnimate && w.run(c, l));
2455
2454
  }
2456
2455
  function yt(e, t, n, r) {
2457
2456
  return e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(o > n || s > r ? t : e).hasAttribute("data-auto-animate-restart");
@@ -2460,15 +2459,15 @@ function ot(e, t) {
2460
2459
  let i = o || 0;
2461
2460
  o = t, s = n;
2462
2461
  let a = l !== e;
2463
- c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && ee.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2462
+ c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2464
2463
  L(be(l));
2465
2464
  }), He();
2466
2465
  }
2467
2466
  function xt() {
2468
- Me(), Ae(), U(), g = r.autoSlide, Vt(), w.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && D.sortAll(), o !== void 0 && (o = q(z, o), s = q(we, s)), te.update(), ne.update(), Tt(), I.update(), I.updateVisibility(), M.update(), w.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), O.isActive() && O.layout(), H({ type: "sync" });
2467
+ Me(), Ae(), U(), g = r.autoSlide, Vt(), T.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = q(z, o), s = q(we, s)), te.update(), ne.update(), Tt(), I.update(), I.updateVisibility(), M.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), H({ type: "sync" });
2469
2468
  }
2470
2469
  function St(e = l) {
2471
- w.sync(e), D.sync(e), x.load(e), w.update(), I.update(), H({
2470
+ T.sync(e), O.sync(e), x.load(e), T.update(), I.update(), H({
2472
2471
  type: "slidesync",
2473
2472
  data: { slide: e }
2474
2473
  });
@@ -2489,7 +2488,7 @@ function ot(e, t) {
2489
2488
  });
2490
2489
  }
2491
2490
  function q(e, t) {
2492
- let n = P(m.wrapper, e), i = n.length, a = T.isActive() || E.isActive(), o = !1, s = !1;
2491
+ let n = P(m.wrapper, e), i = n.length, a = E.isActive() || D.isActive(), o = !1, s = !1;
2493
2492
  if (i) {
2494
2493
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2495
2494
  for (let e = 0; e < i; e++) {
@@ -2520,8 +2519,8 @@ function ot(e, t) {
2520
2519
  function Tt() {
2521
2520
  let e = At(), t = e.length, n, i;
2522
2521
  if (t && o !== void 0) {
2523
- let a = O.isActive(), c = a ? 10 : r.viewDistance;
2524
- _e && (c = a ? 6 : r.mobileViewDistance), E.isActive() && (c = Number.MAX_VALUE);
2522
+ let a = k.isActive(), c = a ? 10 : r.viewDistance;
2523
+ _e && (c = a ? 6 : r.mobileViewDistance), D.isActive() && (c = Number.MAX_VALUE);
2525
2524
  for (let l = 0; l < t; l++) {
2526
2525
  let u = e[l], d = P(u, "section"), f = d.length;
2527
2526
  if (n = Math.abs((o || 0) - l) || 0, r.loop && (n = Math.abs(((o || 0) - l) % (t - c)) || 0), n < c ? x.load(u) : x.unload(u), f) {
@@ -2534,7 +2533,7 @@ function ot(e, t) {
2534
2533
  }
2535
2534
  Pt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Nt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2536
2535
  }
2537
- let a = O.isActive() || T.isActive() || E.isActive();
2536
+ let a = k.isActive() || E.isActive() || D.isActive();
2538
2537
  P(m.wrapper, R).forEach((e) => {
2539
2538
  e.toggleAttribute("inert", !a && e !== l && !e.contains(l));
2540
2539
  });
@@ -2547,7 +2546,7 @@ function ot(e, t) {
2547
2546
  down: s < n.length - 1
2548
2547
  };
2549
2548
  if (r.loop && (t.length > 1 && (i.left = !0, i.right = !0), n.length > 1 && (i.up = !0, i.down = !0)), t.length > 1 && r.navigationMode === "linear" && (i.right = i.right || i.down, i.left = i.left || i.up), e === !0) {
2550
- let e = D.availableRoutes();
2549
+ let e = O.availableRoutes();
2551
2550
  i.left = i.left || e.prev, i.up = i.up || e.prev, i.down = i.down || e.next, i.right = i.right || e.next;
2552
2551
  }
2553
2552
  if (r.rtl) {
@@ -2583,7 +2582,7 @@ function ot(e, t) {
2583
2582
  function Ot(e) {
2584
2583
  let t = o, n = s, r;
2585
2584
  if (e) {
2586
- if (T.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2585
+ if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2587
2586
  else {
2588
2587
  let r = ct(e), i = r ? e.parentNode : e, a = At();
2589
2588
  t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(P(e.parentNode, "section").indexOf(e), 0));
@@ -2645,14 +2644,14 @@ function ot(e, t) {
2645
2644
  indexv: e.v,
2646
2645
  indexf: e.f,
2647
2646
  paused: ht(),
2648
- overview: O.isActive()
2647
+ overview: k.isActive()
2649
2648
  }, M.getState());
2650
2649
  }
2651
2650
  function Bt(e) {
2652
2651
  if (typeof e == "object") {
2653
2652
  G(oe(e.indexh), oe(e.indexv), oe(e.indexf));
2654
2653
  let t = oe(e.paused), n = oe(e.overview);
2655
- typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== O.isActive() && O.toggle(n), M.setState(e);
2654
+ typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), M.setState(e);
2656
2655
  }
2657
2656
  }
2658
2657
  function Vt() {
@@ -2660,7 +2659,7 @@ function ot(e, t) {
2660
2659
  let e = l.querySelector(".current-fragment[data-autoslide]"), t = e ? e.getAttribute("data-autoslide") : null, n = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i = l.getAttribute("data-autoslide");
2661
2660
  t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && P(l, "video, audio").forEach((e) => {
2662
2661
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2663
- })), g && !b && !ht() && !O.isActive() && (!dt() || D.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2662
+ })), g && !b && !ht() && !k.isActive() && (!dt() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2664
2663
  typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2665
2664
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2666
2665
  }
@@ -2675,24 +2674,24 @@ function ot(e, t) {
2675
2674
  g && b && (b = !1, H({ type: "autoslideresumed" }), Vt());
2676
2675
  }
2677
2676
  function Gt({ skipFragments: e = !1 } = {}) {
2678
- if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.prev();
2679
- r.rtl ? (O.isActive() || e || D.next() === !1) && Y().left && G(o + 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.prev() === !1) && Y().left && G(o - 1, r.navigationMode === "grid" ? s : void 0);
2677
+ if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
2678
+ r.rtl ? (k.isActive() || e || O.next() === !1) && Y().left && G(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && Y().left && G(o - 1, r.navigationMode === "grid" ? s : void 0);
2680
2679
  }
2681
2680
  function Kt({ skipFragments: e = !1 } = {}) {
2682
- if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.next();
2683
- r.rtl ? (O.isActive() || e || D.prev() === !1) && Y().right && G(o - 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.next() === !1) && Y().right && G(o + 1, r.navigationMode === "grid" ? s : void 0);
2681
+ if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
2682
+ r.rtl ? (k.isActive() || e || O.prev() === !1) && Y().right && G(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && Y().right && G(o + 1, r.navigationMode === "grid" ? s : void 0);
2684
2683
  }
2685
2684
  function qt({ skipFragments: e = !1 } = {}) {
2686
- if (T.isActive()) return T.prev();
2687
- (O.isActive() || e || D.prev() === !1) && Y().up && G(o, s - 1);
2685
+ if (E.isActive()) return E.prev();
2686
+ (k.isActive() || e || O.prev() === !1) && Y().up && G(o, s - 1);
2688
2687
  }
2689
2688
  function Jt({ skipFragments: e = !1 } = {}) {
2690
- if (u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2691
- (O.isActive() || e || D.next() === !1) && Y().down && G(o, s + 1);
2689
+ if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2690
+ (k.isActive() || e || O.next() === !1) && Y().down && G(o, s + 1);
2692
2691
  }
2693
2692
  function Yt({ skipFragments: e = !1 } = {}) {
2694
- if (T.isActive()) return T.prev();
2695
- if (e || D.prev() === !1) {
2693
+ if (E.isActive()) return E.prev();
2694
+ if (e || O.prev() === !1) {
2696
2695
  if (Y().up) qt({ skipFragments: e });
2697
2696
  else {
2698
2697
  let t;
@@ -2704,8 +2703,8 @@ function ot(e, t) {
2704
2703
  }
2705
2704
  }
2706
2705
  function Xt({ skipFragments: e = !1 } = {}) {
2707
- if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2708
- if (e || D.next() === !1) {
2706
+ if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2707
+ if (e || O.next() === !1) {
2709
2708
  let t = Y();
2710
2709
  t.down && t.right && r.loop && lt() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2711
2710
  }
@@ -2764,7 +2763,7 @@ function ot(e, t) {
2764
2763
  destroy: Ne,
2765
2764
  sync: xt,
2766
2765
  syncSlide: St,
2767
- syncFragments: D.sync.bind(D),
2766
+ syncFragments: O.sync.bind(O),
2768
2767
  slide: G,
2769
2768
  left: Gt,
2770
2769
  right: Kt,
@@ -2778,9 +2777,9 @@ function ot(e, t) {
2778
2777
  navigateDown: Jt,
2779
2778
  navigatePrev: Yt,
2780
2779
  navigateNext: Xt,
2781
- navigateFragment: D.goto.bind(D),
2782
- prevFragment: D.prev.bind(D),
2783
- nextFragment: D.next.bind(D),
2780
+ navigateFragment: O.goto.bind(O),
2781
+ prevFragment: O.prev.bind(O),
2782
+ nextFragment: O.next.bind(O),
2784
2783
  on: Pe,
2785
2784
  off: Fe,
2786
2785
  addEventListener: Pe,
@@ -2788,10 +2787,10 @@ function ot(e, t) {
2788
2787
  layout: U,
2789
2788
  shuffle: K,
2790
2789
  availableRoutes: Y,
2791
- availableFragments: D.availableRoutes.bind(D),
2790
+ availableFragments: O.availableRoutes.bind(O),
2792
2791
  toggleHelp: M.toggleHelp.bind(M),
2793
- toggleOverview: O.toggle.bind(O),
2794
- toggleScrollView: T.toggle.bind(T),
2792
+ toggleOverview: k.toggle.bind(k),
2793
+ toggleScrollView: E.toggle.bind(E),
2795
2794
  togglePause: mt,
2796
2795
  toggleAutoSlide: _t,
2797
2796
  toggleJumpToSlide: gt,
@@ -2803,11 +2802,11 @@ function ot(e, t) {
2803
2802
  isPaused: ht,
2804
2803
  isAutoSliding: vt,
2805
2804
  isSpeakerNotes: I.isSpeakerNotesWindow.bind(I),
2806
- isOverview: O.isActive.bind(O),
2805
+ isOverview: k.isActive.bind(k),
2807
2806
  isFocused: N.isFocused.bind(N),
2808
2807
  isOverlayOpen: M.isOpen.bind(M),
2809
- isScrollView: T.isActive.bind(T),
2810
- isPrintView: E.isActive.bind(E),
2808
+ isScrollView: E.isActive.bind(E),
2809
+ isPrintView: D.isActive.bind(D),
2811
2810
  isReady: () => a,
2812
2811
  loadSlide: x.load.bind(x),
2813
2812
  unloadSlide: x.unload.bind(x),
@@ -2841,10 +2840,10 @@ function ot(e, t) {
2841
2840
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2842
2841
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2843
2842
  shouldAutoAnimateBetween: yt,
2844
- addKeyBinding: k.addKeyBinding.bind(k),
2845
- removeKeyBinding: k.removeKeyBinding.bind(k),
2846
- triggerKey: k.triggerKey.bind(k),
2847
- registerKeyboardShortcut: k.registerKeyboardShortcut.bind(k),
2843
+ addKeyBinding: ee.addKeyBinding.bind(ee),
2844
+ removeKeyBinding: ee.removeKeyBinding.bind(ee),
2845
+ triggerKey: ee.triggerKey.bind(ee),
2846
+ registerKeyboardShortcut: ee.registerKeyboardShortcut.bind(ee),
2848
2847
  getComputedSlideSize: et,
2849
2848
  setCurrentScrollPage: bt,
2850
2849
  removeHiddenSlides: ge,
@@ -2855,7 +2854,7 @@ function ot(e, t) {
2855
2854
  getRevealElement: () => e,
2856
2855
  getSlidesElement: () => m.slides,
2857
2856
  getViewportElement: () => m.viewport,
2858
- getBackgroundsElement: () => w.element,
2857
+ getBackgroundsElement: () => T.element,
2859
2858
  registerPlugin: j.registerPlugin.bind(j),
2860
2859
  hasPlugin: j.hasPlugin.bind(j),
2861
2860
  getPlugin: j.getPlugin.bind(j),
@@ -2865,14 +2864,14 @@ function ot(e, t) {
2865
2864
  announceStatus: L,
2866
2865
  getStatusText: be,
2867
2866
  focus: N,
2868
- scroll: T,
2867
+ scroll: E,
2869
2868
  progress: ne,
2870
2869
  controls: te,
2871
2870
  location: A,
2872
- overview: O,
2873
- keyboard: k,
2874
- fragments: D,
2875
- backgrounds: w,
2871
+ overview: k,
2872
+ keyboard: ee,
2873
+ fragments: O,
2874
+ backgrounds: T,
2876
2875
  slideContent: x,
2877
2876
  slideNumber: S,
2878
2877
  onUserInput: Zt,
@@ -2903,7 +2902,7 @@ st.initialize = (e) => {
2903
2902
  }), st.isReady = () => !1, st.VERSION = at;
2904
2903
  //#endregion
2905
2904
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.2_react-dom@19.3.1_react@19.3.1__react@19.3.1_reveal.js@6.0.2/node_modules/@revealjs/react/dist/index.mjs
2906
- var W = T(), lt = (0, M.createContext)(null), ut = [];
2905
+ var W = E(), lt = (0, M.createContext)(null), ut = [];
2907
2906
  function dt(e, t) {
2908
2907
  if (e === t) return !1;
2909
2908
  if (!e || !t) return e !== t;
@@ -2930,25 +2929,25 @@ function ht(e, t, n) {
2930
2929
  return e ? JSON.stringify(mt(e, t, n)) : "[]";
2931
2930
  }
2932
2931
  function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2933
- let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), ee = (0, M.useRef)(e), w = (0, M.useRef)(null), T = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), E = (0, M.useRef)(1), D = (0, M.useRef)(!1), O = (0, M.useRef)(0);
2932
+ let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), w = (0, M.useRef)(e), T = (0, M.useRef)(null), E = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, M.useRef)(1), O = (0, M.useRef)(!1), k = (0, M.useRef)(0);
2934
2933
  return (0, M.useEffect)(() => {
2935
- if (D.current = !0, O.current += 1, y.current) y.current.isReady() && x(y.current);
2934
+ if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
2936
2935
  else {
2937
2936
  let t = new st(_.current, {
2938
2937
  ...e,
2939
2938
  plugins: S.current
2940
2939
  });
2941
- ee.current = e, y.current = t, t.initialize().then(() => {
2942
- D.current && y.current === t && (x(t), n?.(t));
2940
+ w.current = e, y.current = t, t.initialize().then(() => {
2941
+ O.current && y.current === t && (x(t), n?.(t));
2943
2942
  });
2944
2943
  }
2945
2944
  return () => {
2946
- D.current = !1;
2945
+ O.current = !1;
2947
2946
  let e = y.current;
2948
2947
  if (!e) return;
2949
- let t = ++O.current;
2948
+ let t = ++k.current;
2950
2949
  Promise.resolve().then(() => {
2951
- if (!(D.current || O.current !== t) && y.current === e) {
2950
+ if (!(O.current || k.current !== t) && y.current === e) {
2952
2951
  try {
2953
2952
  e.destroy();
2954
2953
  } catch {}
@@ -2987,12 +2986,12 @@ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i,
2987
2986
  d,
2988
2987
  f
2989
2988
  ]), (0, M.useLayoutEffect)(() => {
2990
- b && y.current?.isReady() && dt(ee.current, e) && (C.current = !0, y.current.configure(e ?? {}), ee.current = e);
2989
+ b && y.current?.isReady() && dt(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2991
2990
  }, [b, e]), (0, M.useLayoutEffect)(() => {
2992
2991
  let e = C.current;
2993
2992
  C.current = !1;
2994
- let t = ht(v.current, T.current, E);
2995
- e ? w.current = t : y.current?.isReady() && w.current !== t && (y.current.sync(), w.current = t);
2993
+ let t = ht(v.current, E.current, D);
2994
+ e ? T.current = t : y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
2996
2995
  }), /* @__PURE__ */ (0, W.jsx)(lt.Provider, {
2997
2996
  value: b,
2998
2997
  children: /* @__PURE__ */ (0, W.jsx)("div", {
@@ -3054,8 +3053,8 @@ function G(e, t) {
3054
3053
  }
3055
3054
  return n;
3056
3055
  }
3057
- function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: ee, notes: w, backgroundInteractive: T, preload: E, ...D }) {
3058
- let O = (0, M.useContext)(lt), k = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = G(D, {
3056
+ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3057
+ let k = (0, M.useContext)(lt), ee = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = G(O, {
3059
3058
  background: t,
3060
3059
  backgroundImage: n,
3061
3060
  backgroundVideo: r,
@@ -3079,23 +3078,23 @@ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3079
3078
  autoAnimateDelay: x,
3080
3079
  transition: S,
3081
3080
  transitionSpeed: C,
3082
- autoSlide: ee,
3083
- notes: w,
3084
- backgroundInteractive: T,
3085
- preload: E
3081
+ autoSlide: w,
3082
+ notes: T,
3083
+ backgroundInteractive: E,
3084
+ preload: D
3086
3085
  }), re = vt(ne);
3087
3086
  return (0, M.useLayoutEffect)(() => {
3088
- let e = k.current;
3089
- if (!O || !e || typeof O.syncSlide != "function") return;
3090
- if (A.current !== O) {
3091
- A.current = O, te.current = re;
3087
+ let e = ee.current;
3088
+ if (!k || !e || typeof k.syncSlide != "function") return;
3089
+ if (A.current !== k) {
3090
+ A.current = k, te.current = re;
3092
3091
  return;
3093
3092
  }
3094
3093
  if (re === "[]") return;
3095
- let t = A.current === O, n = te.current === re;
3096
- t && n || (O.syncSlide(e), A.current = O, te.current = re);
3097
- }, [O, re]), /* @__PURE__ */ (0, W.jsx)("section", {
3098
- ref: k,
3094
+ let t = A.current === k, n = te.current === re;
3095
+ t && n || (k.syncSlide(e), A.current = k, te.current = re);
3096
+ }, [k, re]), /* @__PURE__ */ (0, W.jsx)("section", {
3097
+ ref: ee,
3099
3098
  ...ne,
3100
3099
  children: e
3101
3100
  });
@@ -4559,7 +4558,7 @@ var tr = (e) => {
4559
4558
  let o;
4560
4559
  t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, W.jsxs)("div", {
4561
4560
  className: "absolute bottom-3 flex items-center gap-1 rounded-full border border-border/60 bg-background/90 px-2.5 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur-sm",
4562
- children: [/* @__PURE__ */ (0, W.jsx)(C, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Scroll for more" })]
4561
+ children: [/* @__PURE__ */ (0, W.jsx)(w, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Scroll for more" })]
4563
4562
  }), t[3] = o) : o = t[3];
4564
4563
  let s;
4565
4564
  return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, W.jsxs)("div", {
@@ -4715,7 +4714,7 @@ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never
4715
4714
  cells: i
4716
4715
  });
4717
4716
  }, t[0] = r, t[1] = a, t[2] = f) : f = t[2];
4718
- let p = A(f), m = ee(p, dr), h = (0, M.useRef)(o), g, _;
4717
+ let p = A(f), m = T(p, dr), h = (0, M.useRef)(o), g, _;
4719
4718
  t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== m ? (g = () => {
4720
4719
  h.current === o ? !d.current && c !== l && u(c) : (m.flush(), d.current = !1, u(c), h.current = o);
4721
4720
  }, _ = [
@@ -4754,13 +4753,13 @@ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never
4754
4753
  children: "Select a slide to add notes."
4755
4754
  })
4756
4755
  }), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
4757
- let T;
4758
- return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, W.jsxs)("section", {
4756
+ let E;
4757
+ return t[22] !== S || t[23] !== w ? (E = /* @__PURE__ */ (0, W.jsxs)("section", {
4759
4758
  className: S,
4760
4759
  "aria-label": "Speaker notes",
4761
4760
  onKeyDown: pr,
4762
4761
  children: [C, w]
4763
- }), t[22] = S, t[23] = w, t[24] = T) : T = t[24], T;
4762
+ }), t[22] = S, t[23] = w, t[24] = E) : E = t[24], E;
4764
4763
  };
4765
4764
  function pr(e) {
4766
4765
  return e.stopPropagation();
@@ -4777,7 +4776,7 @@ var mr = "\n\n---\n\n", hr = (e, t) => e.map((e) => t.get(e.id)?.speakerNotes ??
4777
4776
  slideLevel: r,
4778
4777
  cumulativeByBlock: i
4779
4778
  };
4780
- }, _r = D(!1);
4779
+ }, _r = O(!1);
4781
4780
  //#endregion
4782
4781
  //#region ../node_modules/.pnpm/reveal.js@6.0.2/node_modules/reveal.js/dist/plugin/notes.mjs
4783
4782
  function vr() {
@@ -6362,12 +6361,12 @@ function sa(e) {
6362
6361
  }
6363
6362
  }
6364
6363
  var ca = (e) => {
6365
- let t = (0, N.c)(14), { cell: n } = e, { execution: r, freshness: i } = g(n.id), a;
6366
- t[0] !== n.id || t[1] !== n.name ? (a = y(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = a) : a = t[2];
6364
+ let t = (0, N.c)(14), { cell: n } = e, { execution: r, freshness: i } = p(n.id), a;
6365
+ t[0] !== n.id || t[1] !== n.name ? (a = x(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = a) : a = t[2];
6367
6366
  let o = n.id, s = r.status, c = n.output, l;
6368
- t[3] !== r || t[4] !== i ? (l = w(r, i, !1), t[3] = r, t[4] = i, t[5] = l) : l = t[5];
6367
+ t[3] !== r || t[4] !== i ? (l = h(r, i, !1), t[3] = r, t[4] = i, t[5] = l) : l = t[5];
6369
6368
  let u;
6370
- t[6] !== n.id || t[7] !== n.output || t[8] !== r.status || t[9] !== l ? (u = /* @__PURE__ */ (0, W.jsx)(b, {
6369
+ t[6] !== n.id || t[7] !== n.output || t[8] !== r.status || t[9] !== l ? (u = /* @__PURE__ */ (0, W.jsx)(C, {
6371
6370
  cellId: o,
6372
6371
  status: s,
6373
6372
  output: c,
@@ -6427,7 +6426,7 @@ var da = (e) => {
6427
6426
  let o;
6428
6427
  return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, W.jsx)(ca, { cell: n }), t[3] = n, t[4] = o), o;
6429
6428
  }, fa = (e) => {
6430
- let t = (0, N.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: g, activeIndex: y, onSlideChange: b, mode: C, configWidth: ee, isEditable: w } = e, T = w !== void 0 && w, D = (0, M.useRef)(null), j = (0, M.useRef)(null), { width: ie, height: P } = ta(D), ae = k() != null, [oe, se] = (0, M.useState)(1), ce;
6429
+ let t = (0, N.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: p, activeIndex: h, onSlideChange: x, mode: C, configWidth: w, isEditable: T } = e, E = T !== void 0 && T, O = (0, M.useRef)(null), j = (0, M.useRef)(null), { width: ie, height: P } = ta(O), ae = ee() != null, [oe, se] = (0, M.useState)(1), ce;
6431
6430
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
6432
6431
  let e = requestAnimationFrame(() => {
6433
6432
  let e = j.current;
@@ -6441,20 +6440,20 @@ var da = (e) => {
6441
6440
  P,
6442
6441
  ae
6443
6442
  ], t[1] = P, t[2] = ae, t[3] = ie, t[4] = F) : F = t[4], (0, M.useEffect)(ce, F);
6444
- let I = E(te), le = E(ne).kind, ue = E(_r), de = le !== "wasm" || ue, fe;
6445
- t[5] !== I || t[6] !== le ? (fe = I || !m(le) ? [] : [Gi], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6443
+ let I = D(te), le = D(ne).kind, ue = D(_r), de = le !== "wasm" || ue, fe;
6444
+ t[5] !== I || t[6] !== le ? (fe = I || !g(le) ? [] : [Gi], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6446
6445
  let pe = fe, [me, he] = (0, M.useState)(pa), ge = re(), _e;
6447
- t[8] === ge ? _e = t[9] : (_e = !O() && ge, t[8] = ge, t[9] = _e);
6446
+ t[8] === ge ? _e = t[9] : (_e = !k() && ge, t[8] = ge, t[9] = _e);
6448
6447
  let ve = _e, ye;
6449
- t[10] === I ? ye = t[11] : (ye = v(I, window.location.search), t[10] = I, t[11] = ye);
6450
- let L = !ye && ve, be = y == null ? void 0 : o[y], xe;
6448
+ t[10] === I ? ye = t[11] : (ye = b(I, window.location.search), t[10] = I, t[11] = ye);
6449
+ let L = !ye && ve, be = h == null ? void 0 : o[h], xe;
6451
6450
  t[12] !== be || t[13] !== o ? (xe = be ?? o.at(0), t[12] = be, t[13] = o, t[14] = xe) : xe = t[14];
6452
6451
  let Se = xe, Ce;
6453
- t[15] !== be || t[16] !== s.cells || t[17] !== g ? (Ce = {
6452
+ t[15] !== be || t[16] !== s.cells || t[17] !== p ? (Ce = {
6454
6453
  activeCell: be,
6455
6454
  slideConfigs: s.cells,
6456
- noOutputIds: g
6457
- }, t[15] = be, t[16] = s.cells, t[17] = g, t[18] = Ce) : Ce = t[18];
6455
+ noOutputIds: p
6456
+ }, t[15] = be, t[16] = s.cells, t[17] = p, t[18] = Ce) : Ce = t[18];
6458
6457
  let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview: we, heldEditCellId: Te, heldShowsCode: Ee, toggleHeldShowsCode: De } = aa(Ce), Oe;
6459
6458
  t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (Oe = (e) => ra({
6460
6459
  cells: s.cells,
@@ -6467,12 +6466,12 @@ var da = (e) => {
6467
6466
  let Ae = ke, je;
6468
6467
  t[28] !== V || t[29] !== ve || t[30] !== s.cells ? (je = ve && V != null && (s.cells.get(V)?.showCode ?? !1), t[28] = V, t[29] = ve, t[30] = s.cells, t[31] = je) : je = t[31];
6469
6468
  let Me = je, Ne;
6470
- t[32] !== Te || t[33] !== s.cells || t[34] !== g ? (Ne = (e) => ia({
6469
+ t[32] !== Te || t[33] !== s.cells || t[34] !== p ? (Ne = (e) => ia({
6471
6470
  cell: e,
6472
- noOutputIds: g,
6471
+ noOutputIds: p,
6473
6472
  heldEditCellId: Te,
6474
6473
  slideConfigs: s.cells
6475
- }), t[32] = Te, t[33] = s.cells, t[34] = g, t[35] = Ne) : Ne = t[35];
6474
+ }), t[32] = Te, t[33] = s.cells, t[34] = p, t[35] = Ne) : Ne = t[35];
6476
6475
  let Pe;
6477
6476
  t[36] !== o || t[37] !== Ne ? (Pe = rr({
6478
6477
  cells: o,
@@ -6487,7 +6486,7 @@ var da = (e) => {
6487
6486
  let { cellToTarget: Le, targetToCellIndex: H } = Ie, Re = s.deck?.transition ?? "slide", ze = s.deck?.verticalAlign, Be;
6488
6487
  t[42] === ze ? Be = t[43] : (Be = sa(ze), t[42] = ze, t[43] = Be);
6489
6488
  let Ve = Be, He;
6490
- t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = _(window.location.href), t[44] = He) : He = t[44];
6489
+ t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = v(window.location.href), t[44] = He) : He = t[44];
6491
6490
  let Ue = He, We;
6492
6491
  t[45] === Re ? We = t[46] : (We = {
6493
6492
  embedded: !0,
@@ -6502,33 +6501,33 @@ var da = (e) => {
6502
6501
  scrollActivationWidth: 0
6503
6502
  }, t[45] = Re, t[46] = We);
6504
6503
  let Ge = We, Ke;
6505
- t[47] !== y || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ke = (e) => {
6506
- if (y == null && window.location.hash.startsWith("#/")) {
6504
+ t[47] !== h || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ke = (e) => {
6505
+ if (h == null && window.location.hash.startsWith("#/")) {
6507
6506
  if (!de) return;
6508
6507
  window.dispatchEvent(new HashChangeEvent("hashchange")), Zi(e);
6509
6508
  return;
6510
6509
  }
6511
6510
  let t = sr({
6512
- activeIndex: y,
6511
+ activeIndex: h,
6513
6512
  cells: o,
6514
6513
  cellToTarget: Le,
6515
6514
  getId: ga
6516
6515
  }), n = t && cr(e.getIndices(), t);
6517
6516
  n && (e.slide(n.h, n.v, n.f), Zi(e));
6518
- }, t[47] = y, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ke) : Ke = t[51];
6517
+ }, t[47] = h, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ke) : Ke = t[51];
6519
6518
  let qe = A(Ke), Je;
6520
6519
  t[52] === qe ? Je = t[53] : (Je = () => {
6521
6520
  let e = j.current;
6522
6521
  e != null && qe(e);
6523
6522
  }, t[52] = qe, t[53] = Je);
6524
6523
  let Ye;
6525
- t[54] !== y || t[55] !== de || t[56] !== Le || t[57] !== qe || t[58] !== o ? (Ye = [
6526
- y,
6524
+ t[54] !== h || t[55] !== de || t[56] !== Le || t[57] !== qe || t[58] !== o ? (Ye = [
6525
+ h,
6527
6526
  de,
6528
6527
  Le,
6529
6528
  o,
6530
6529
  qe
6531
- ], t[54] = y, t[55] = de, t[56] = Le, t[57] = qe, t[58] = o, t[59] = Ye) : Ye = t[59], (0, M.useEffect)(Je, Ye);
6530
+ ], t[54] = h, t[55] = de, t[56] = Le, t[57] = qe, t[58] = o, t[59] = Ye) : Ye = t[59], (0, M.useEffect)(Je, Ye);
6532
6531
  let Xe;
6533
6532
  t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !== De ? (Xe = () => {
6534
6533
  V == null || Me || (z ? De() : (0, M.startTransition)(() => he((e) => {
@@ -6548,11 +6547,11 @@ var da = (e) => {
6548
6547
  };
6549
6548
  }, Qe = [L, U], t[65] = L, t[66] = U, t[67] = Ze, t[68] = Qe) : (Ze = t[67], Qe = t[68]), (0, M.useEffect)(Ze, Qe);
6550
6549
  let $e;
6551
- t[69] !== b || t[70] !== R || t[71] !== H ? ($e = (e) => {
6550
+ t[69] !== x || t[70] !== R || t[71] !== H ? ($e = (e) => {
6552
6551
  if (R != null) return;
6553
6552
  let t = ar(H, e.getIndices());
6554
- t != null && b?.(t);
6555
- }, t[69] = b, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6553
+ t != null && x?.(t);
6554
+ }, t[69] = x, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6556
6555
  let et = A($e), tt;
6557
6556
  t[73] === et ? tt = t[74] : (tt = () => {
6558
6557
  let e = j.current;
@@ -6569,14 +6568,14 @@ var da = (e) => {
6569
6568
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6570
6569
  }, t[75] = de, t[76] = L, t[77] = qe, t[78] = et, t[79] = U, t[80] = rt) : rt = t[80];
6571
6570
  let it = A(rt), at;
6572
- t[81] !== y || t[82] !== b || t[83] !== R || t[84] !== o ? (at = (e) => {
6573
- if (!R || y == null || i.fromInput(e)) return;
6571
+ t[81] !== h || t[82] !== x || t[83] !== R || t[84] !== o ? (at = (e) => {
6572
+ if (!R || h == null || i.fromInput(e)) return;
6574
6573
  let t = ea(e);
6575
6574
  if (t === 0) return;
6576
6575
  e.preventDefault(), e.stopPropagation();
6577
- let n = y + t;
6578
- n < 0 || n >= o.length || b?.(n);
6579
- }, t[81] = y, t[82] = b, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6576
+ let n = h + t;
6577
+ n < 0 || n >= o.length || x?.(n);
6578
+ }, t[81] = h, t[82] = x, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6580
6579
  let ot = A(at), st;
6581
6580
  t[86] === nt ? st = t[87] : (st = () => {
6582
6581
  nt();
@@ -6586,32 +6585,32 @@ var da = (e) => {
6586
6585
  let ut = z ? null : we ? "Hidden as there is no output" : "Skipped in presentation", dt;
6587
6586
  t[89] !== Ee || t[90] !== z || t[91] !== R?.id || t[92] !== B ? (dt = z ? Ee : B(R?.id), t[89] = Ee, t[90] = z, t[91] = R?.id, t[92] = B, t[93] = dt) : dt = t[93];
6588
6587
  let ft = dt, pt;
6589
- t[94] !== T || t[95] !== we || t[96] !== ft ? (pt = ua({
6588
+ t[94] !== E || t[95] !== we || t[96] !== ft ? (pt = ua({
6590
6589
  isNoOutputPreview: we,
6591
- isEditable: T,
6590
+ isEditable: E,
6592
6591
  showCode: ft
6593
- }), t[94] = T, t[95] = we, t[96] = ft, t[97] = pt) : pt = t[97];
6592
+ }), t[94] = E, t[95] = we, t[96] = ft, t[97] = pt) : pt = t[97];
6594
6593
  let mt = pt, ht;
6595
6594
  t[98] !== P || t[99] !== ie ? (ht = {
6596
6595
  width: ie,
6597
6596
  height: P
6598
6597
  }, t[98] = P, t[99] = ie, t[100] = ht) : ht = t[100];
6599
6598
  let _t;
6600
- if (t[101] !== Fe.stacks || t[102] !== T || t[103] !== s.cells || t[104] !== B || t[105] !== Ve) {
6599
+ if (t[101] !== Fe.stacks || t[102] !== E || t[103] !== s.cells || t[104] !== B || t[105] !== Ve) {
6601
6600
  let e;
6602
- t[107] !== T || t[108] !== s.cells || t[109] !== B || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, W.jsx)(la, {
6601
+ t[107] !== E || t[108] !== s.cells || t[109] !== B || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, W.jsx)(la, {
6603
6602
  subslide: e.subslides[0],
6604
6603
  resolveShowCode: B,
6605
- isEditable: T,
6604
+ isEditable: E,
6606
6605
  slideConfigs: s.cells,
6607
6606
  contentStyle: Ve
6608
6607
  }, t) : /* @__PURE__ */ (0, W.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, W.jsx)(la, {
6609
6608
  subslide: e,
6610
6609
  resolveShowCode: B,
6611
- isEditable: T,
6610
+ isEditable: E,
6612
6611
  slideConfigs: s.cells,
6613
6612
  contentStyle: Ve
6614
- }, t)) }, t), t[107] = T, t[108] = s.cells, t[109] = B, t[110] = Ve, t[111] = e) : e = t[111], _t = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = T, t[103] = s.cells, t[104] = B, t[105] = Ve, t[106] = _t;
6613
+ }, t)) }, t), t[107] = E, t[108] = s.cells, t[109] = B, t[110] = Ve, t[111] = e) : e = t[111], _t = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = E, t[103] = s.cells, t[104] = B, t[105] = Ve, t[106] = _t;
6615
6614
  } else _t = t[106];
6616
6615
  let vt;
6617
6616
  t[112] !== pe || t[113] !== it || t[114] !== ct || t[115] !== nt || t[116] !== Ge || t[117] !== _t ? (vt = /* @__PURE__ */ (0, W.jsx)(gt, {
@@ -6626,7 +6625,7 @@ var da = (e) => {
6626
6625
  children: _t
6627
6626
  }), t[112] = pe, t[113] = it, t[114] = ct, t[115] = nt, t[116] = Ge, t[117] = _t, t[118] = vt) : vt = t[118];
6628
6627
  let G;
6629
- t[119] !== T || t[120] !== we || t[121] !== R || t[122] !== ut || t[123] !== ft || t[124] !== mt || t[125] !== Ve || t[126] !== oe ? (G = R && /* @__PURE__ */ (0, W.jsxs)("div", {
6628
+ t[119] !== E || t[120] !== we || t[121] !== R || t[122] !== ut || t[123] !== ft || t[124] !== mt || t[125] !== Ve || t[126] !== oe ? (G = R && /* @__PURE__ */ (0, W.jsxs)("div", {
6630
6629
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6631
6630
  "aria-label": ut ?? void 0,
6632
6631
  children: [ut && /* @__PURE__ */ (0, W.jsxs)("div", {
@@ -6647,12 +6646,12 @@ var da = (e) => {
6647
6646
  children: /* @__PURE__ */ (0, W.jsx)(da, {
6648
6647
  cell: R,
6649
6648
  isNoOutputPreview: we,
6650
- isEditable: T,
6649
+ isEditable: E,
6651
6650
  showCode: ft
6652
6651
  })
6653
6652
  }) })
6654
6653
  })]
6655
- }, R.id), t[119] = T, t[120] = we, t[121] = R, t[122] = ut, t[123] = ft, t[124] = mt, t[125] = Ve, t[126] = oe, t[127] = G) : G = t[127];
6654
+ }, R.id), t[119] = E, t[120] = we, t[121] = R, t[122] = ut, t[123] = ft, t[124] = mt, t[125] = Ve, t[126] = oe, t[127] = G) : G = t[127];
6656
6655
  let yt;
6657
6656
  t[128] !== Ae || t[129] !== Me || t[130] !== L || t[131] !== U ? (yt = L && /* @__PURE__ */ (0, W.jsx)(l, {
6658
6657
  content: Me ? "Code is always shown for this slide" : Ae ? "Hide code (C)" : "Show code (C)",
@@ -6665,7 +6664,7 @@ var da = (e) => {
6665
6664
  "aria-disabled": Me,
6666
6665
  "aria-label": Me ? "Code always shown" : Ae ? "Hide code" : "Show code",
6667
6666
  onClick: U,
6668
- children: /* @__PURE__ */ (0, W.jsx)(x, { className: "h-4 w-4" })
6667
+ children: /* @__PURE__ */ (0, W.jsx)(d, { className: "h-4 w-4" })
6669
6668
  })
6670
6669
  }), t[128] = Ae, t[129] = Me, t[130] = L, t[131] = U, t[132] = yt) : yt = t[132];
6671
6670
  let xt;
@@ -6680,7 +6679,7 @@ var da = (e) => {
6680
6679
  onClick: () => {
6681
6680
  j.current?.getViewportElement()?.requestFullscreen().catch(_a);
6682
6681
  },
6683
- children: /* @__PURE__ */ (0, W.jsx)(S, { className: "h-4 w-4" })
6682
+ children: /* @__PURE__ */ (0, W.jsx)(u, { className: "h-4 w-4" })
6684
6683
  })
6685
6684
  }), t[133] = xt) : xt = t[133];
6686
6685
  let St;
@@ -6690,7 +6689,7 @@ var da = (e) => {
6690
6689
  }), t[134] = yt, t[135] = St);
6691
6690
  let Ct;
6692
6691
  t[136] !== ht || t[137] !== vt || t[138] !== G || t[139] !== St ? (Ct = /* @__PURE__ */ (0, W.jsx)("div", {
6693
- ref: D,
6692
+ ref: O,
6694
6693
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6695
6694
  children: /* @__PURE__ */ (0, W.jsxs)("div", {
6696
6695
  className: "group relative",
@@ -6711,7 +6710,7 @@ var da = (e) => {
6711
6710
  }), t[141] = K, t[142] = e), e;
6712
6711
  }
6713
6712
  let q;
6714
- t[143] === K ? q = t[144] : (q = /* @__PURE__ */ (0, W.jsx)(d, {
6713
+ t[143] === K ? q = t[144] : (q = /* @__PURE__ */ (0, W.jsx)(m, {
6715
6714
  defaultSize: 92,
6716
6715
  minSize: 60,
6717
6716
  children: K
@@ -6722,13 +6721,13 @@ var da = (e) => {
6722
6721
  fine: 4
6723
6722
  }, t[145] = wt) : wt = t[145];
6724
6723
  let J;
6725
- t[146] === ae ? J = t[147] : (J = /* @__PURE__ */ (0, W.jsx)(p, {
6724
+ t[146] === ae ? J = t[147] : (J = /* @__PURE__ */ (0, W.jsx)(y, {
6726
6725
  className: "mo-slides-notes-resize",
6727
6726
  hitAreaMargins: wt,
6728
6727
  disabled: ae
6729
6728
  }), t[146] = ae, t[147] = J);
6730
6729
  let Tt = Se?.id, Y;
6731
- t[148] !== s || t[149] !== c || t[150] !== Tt ? (Y = /* @__PURE__ */ (0, W.jsx)(d, {
6730
+ t[148] !== s || t[149] !== c || t[150] !== Tt ? (Y = /* @__PURE__ */ (0, W.jsx)(m, {
6732
6731
  defaultSize: 10,
6733
6732
  minSize: 4,
6734
6733
  collapsible: !0,
@@ -6740,7 +6739,7 @@ var da = (e) => {
6740
6739
  })
6741
6740
  }), t[148] = s, t[149] = c, t[150] = Tt, t[151] = Y) : Y = t[151];
6742
6741
  let Et;
6743
- t[152] !== q || t[153] !== J || t[154] !== Y ? (Et = /* @__PURE__ */ (0, W.jsxs)(u, {
6742
+ t[152] !== q || t[153] !== J || t[154] !== Y ? (Et = /* @__PURE__ */ (0, W.jsxs)(S, {
6744
6743
  direction: "vertical",
6745
6744
  autoSaveId: "marimo:slides:notes-panel",
6746
6745
  className: "flex-1 min-w-0",
@@ -6751,12 +6750,12 @@ var da = (e) => {
6751
6750
  ]
6752
6751
  }), t[152] = q, t[153] = J, t[154] = Y, t[155] = Et) : Et = t[155];
6753
6752
  let Dt;
6754
- t[156] !== Se || t[157] !== ee || t[158] !== s || t[159] !== c ? (Dt = /* @__PURE__ */ (0, W.jsx)(h, {
6755
- configWidth: ee,
6753
+ t[156] !== Se || t[157] !== w || t[158] !== s || t[159] !== c ? (Dt = /* @__PURE__ */ (0, W.jsx)(_, {
6754
+ configWidth: w,
6756
6755
  layout: s,
6757
6756
  setLayout: c,
6758
6757
  activeConfigCell: Se
6759
- }), t[156] = Se, t[157] = ee, t[158] = s, t[159] = c, t[160] = Dt) : Dt = t[160];
6758
+ }), t[156] = Se, t[157] = w, t[158] = s, t[159] = c, t[160] = Dt) : Dt = t[160];
6760
6759
  let Ot;
6761
6760
  return t[161] !== Et || t[162] !== Dt ? (Ot = /* @__PURE__ */ (0, W.jsxs)("div", {
6762
6761
  className: "flex-1 min-w-0 flex flex-row gap-3",