@marimo-team/islands 0.23.16-dev5 → 0.23.16-dev50

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 (156) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CJaUI-S-.js → ConnectedDataExplorerComponent-f9vLjQiF.js} +13 -13
  2. package/dist/{ErrorBoundary-DXlxsrTF.js → ErrorBoundary-DhLqwSWA.js} +3 -3
  3. package/dist/{any-language-editor-P9tjkj4n.js → any-language-editor-DifE-fl7.js} +5 -5
  4. package/dist/{button-BcSml68y.js → button-BSm8IXRU.js} +2 -4
  5. package/dist/{capabilities-BYLFYTYv.js → capabilities-C6OQ5YBO.js} +1 -1
  6. package/dist/{chat-ui-BdSDiVjk.js → chat-ui-1e7PcW56.js} +3117 -3120
  7. package/dist/{check-Cs-KV5XY.js → check-DP7U0H0G.js} +1 -1
  8. package/dist/{code-visibility-C4wLKnSb.js → common-BcbT1FqC.js} +1046 -1014
  9. package/dist/{copy-Cs3yt6Vt.js → copy-DNq8q3zw.js} +2 -2
  10. package/dist/{dist-B96tMAst.js → dist-DIlxLFXG.js} +2 -2
  11. package/dist/{error-banner-DR7o3CbX.js → error-banner-B_GQfxxD.js} +2 -2
  12. package/dist/{esm-k8PIvuZW.js → esm-DzZVaNH4.js} +1 -1
  13. package/dist/{extends-Cq2JYHKy.js → extends-w2_S44bV.js} +4 -4
  14. package/dist/{formats-BFhkZJwd.js → formats-Dwq1THhr.js} +3 -3
  15. package/dist/{glide-data-editor--CaN-f27.js → glide-data-editor-B9K6-MJe.js} +9 -9
  16. package/dist/{html-to-image-DDENewl2.js → html-to-image-3w0AakWW.js} +7164 -6240
  17. package/dist/{input-DStQIuqD.js → input-C5K4VBvB.js} +7 -7
  18. package/dist/{label-DIk0QoFe.js → label-DjoYwqmj.js} +2 -2
  19. package/dist/{loader-CTHCI-qe.js → loader-DX-IDS7n.js} +1 -1
  20. package/dist/main.js +1010 -1019
  21. package/dist/{mermaid-CdSvixW2.js → mermaid-hv6IckVw.js} +5 -5
  22. package/dist/{node-sql-parser-DLl_zNw0.js → node-sql-parser-v1Vi-Fft.js} +16867 -16665
  23. package/dist/{process-output-2QPcgBQg.js → process-output-BRwR4QGs.js} +32 -28
  24. package/dist/{reveal-component-BSD4w8YU.js → reveal-component-D7xmRQQ_.js} +725 -643
  25. package/dist/{spec-CnaxwDqy.js → spec-CQKL_D3i.js} +4 -4
  26. package/dist/{strings-BYAhZnQi.js → strings-DIy9NAmg.js} +4 -4
  27. package/dist/style.css +1 -1
  28. package/dist/{swiper-component-DE94711u.js → swiper-component-CEdAYjb7.js} +2 -2
  29. package/dist/toDate-CqhBWjvO.js +713 -0
  30. package/dist/{tooltip-B-qh7UPB.js → tooltip-f-qR0iUx.js} +3 -3
  31. package/dist/{types-DQl7jVYK.js → types-DicH9Oi0.js} +1 -1
  32. package/dist/{useAsyncData-CvO8WUy3.js → useAsyncData-CYOQb1EW.js} +1 -1
  33. package/dist/{useDateFormatter-BSoGim-G.js → useDateFormatter-Bt2qr_XS.js} +2 -2
  34. package/dist/{useDeepCompareMemoize-J3MKRdA4.js → useDeepCompareMemoize-CSHQeQEI.js} +1 -1
  35. package/dist/{useIframeCapabilities-POcFXHbw.js → useIframeCapabilities-kA09ykNq.js} +1 -1
  36. package/dist/{useLifecycle-DqPxHgAN.js → useLifecycle-CMJGqBaY.js} +3 -3
  37. package/dist/{useTheme-XMq9mNf_.js → useTheme-DYfby65G.js} +2 -2
  38. package/dist/{vega-component-CrFoZT1S.js → vega-component-C7nO5zcf.js} +10 -10
  39. package/dist/{zod-D0yOqoGe.js → zod-BUcyXSdR.js} +1 -1
  40. package/package.json +3 -4
  41. package/src/__mocks__/requests.ts +45 -4
  42. package/src/components/data-table/__tests__/__snapshots__/chart-spec-model.test.ts.snap +174 -21
  43. package/src/components/data-table/__tests__/chart-spec-model.test.ts +102 -1
  44. package/src/components/data-table/column-summary/chart-spec-model.tsx +163 -103
  45. package/src/components/data-table/column-summary/legacy-chart-spec.ts +15 -7
  46. package/src/components/data-table/column-summary/utils.ts +26 -7
  47. package/src/components/data-table/types.ts +1 -1
  48. package/src/components/editor/__tests__/viewer-banner.test.tsx +14 -0
  49. package/src/components/editor/actions/__tests__/pair-with-agent-commands.test.ts +99 -18
  50. package/src/components/editor/actions/__tests__/pdf-export.test.ts +32 -13
  51. package/src/components/editor/actions/pair-with-agent-commands.ts +21 -10
  52. package/src/components/editor/actions/pair-with-agent-modal.tsx +2 -2
  53. package/src/components/editor/actions/pdf-export.ts +11 -14
  54. package/src/components/editor/actions/useNotebookActions.tsx +18 -18
  55. package/src/components/editor/cell/code/__tests__/cell-editor-activity-lifecycle.test.ts +250 -0
  56. package/src/components/editor/cell/code/cell-editor.tsx +13 -7
  57. package/src/components/editor/chrome/panels/__tests__/logs-panel.test.tsx +25 -0
  58. package/src/components/editor/chrome/panels/logs-panel.tsx +12 -2
  59. package/src/components/editor/chrome/panels/write-secret-modal.tsx +40 -12
  60. package/src/components/editor/connections/__tests__/json-credentials.test.ts +114 -0
  61. package/src/components/editor/connections/__tests__/paths.test.ts +39 -0
  62. package/src/components/editor/connections/components.tsx +6 -2
  63. package/src/components/editor/connections/database/__tests__/__snapshots__/as-code.test.ts.snap +21 -5
  64. package/src/components/editor/connections/database/__tests__/as-code.test.ts +17 -0
  65. package/src/components/editor/connections/database/as-code.ts +16 -2
  66. package/src/components/editor/connections/database/schemas.ts +6 -5
  67. package/src/components/editor/connections/form-renderers.tsx +99 -1
  68. package/src/components/editor/connections/json-credentials.ts +57 -0
  69. package/src/components/editor/connections/paths.ts +21 -0
  70. package/src/components/editor/connections/secret-combobox.tsx +41 -20
  71. package/src/components/editor/connections/storage/__tests__/__snapshots__/as-code.test.ts.snap +88 -2
  72. package/src/components/editor/connections/storage/__tests__/as-code.test.ts +128 -8
  73. package/src/components/editor/connections/storage/as-code.ts +79 -36
  74. package/src/components/editor/connections/storage/schemas.ts +85 -44
  75. package/src/components/editor/file-tree/__tests__/renderers.test.ts +31 -0
  76. package/src/components/editor/file-tree/file-viewer.tsx +11 -7
  77. package/src/components/editor/file-tree/renderers.tsx +21 -0
  78. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +1 -1
  79. package/src/components/editor/viewer-banner.tsx +4 -1
  80. package/src/components/forms/options.ts +2 -1
  81. package/src/components/slides/__tests__/cell-output-block.test.tsx +40 -0
  82. package/src/components/slides/__tests__/slide-cell-view.test.tsx +33 -0
  83. package/src/components/slides/__tests__/slide-scroll-hint.test.tsx +198 -0
  84. package/src/components/slides/reveal-component.tsx +25 -19
  85. package/src/components/slides/slide-cell-view.tsx +1 -1
  86. package/src/components/slides/slide-scroll-hint.tsx +161 -0
  87. package/src/components/slides/slides.css +4 -2
  88. package/src/components/static-html/share-modal.tsx +1 -1
  89. package/src/components/ui/input.tsx +1 -1
  90. package/src/core/ai/context/providers/file.ts +8 -29
  91. package/src/core/cells/__tests__/cells.test.ts +12 -2
  92. package/src/core/cells/__tests__/logs.test.ts +5 -5
  93. package/src/core/cells/cells.ts +17 -4
  94. package/src/core/cells/document-changes.ts +1 -0
  95. package/src/core/cells/logs.ts +14 -4
  96. package/src/core/codemirror/copilot/__tests__/language-server.test.ts +396 -100
  97. package/src/core/codemirror/copilot/__tests__/transport.test.ts +128 -540
  98. package/src/core/codemirror/copilot/language-server.ts +182 -70
  99. package/src/core/codemirror/copilot/transport.ts +15 -207
  100. package/src/core/codemirror/copilot/types.ts +9 -2
  101. package/src/core/codemirror/find-replace/__tests__/navigate.test.ts +42 -30
  102. package/src/core/codemirror/find-replace/navigate.ts +2 -0
  103. package/src/core/codemirror/go-to-definition/__tests__/commands.test.ts +24 -3
  104. package/src/core/codemirror/go-to-definition/commands.ts +3 -0
  105. package/src/core/codemirror/keymaps/__tests__/keymaps.test.ts +31 -2
  106. package/src/core/codemirror/keymaps/keymaps.ts +12 -0
  107. package/src/core/codemirror/language/__tests__/sql.test.ts +443 -61
  108. package/src/core/codemirror/language/languages/python.ts +23 -11
  109. package/src/core/codemirror/language/languages/sql/completion-store.ts +5 -1
  110. package/src/core/codemirror/language/languages/sql/sql.ts +210 -3
  111. package/src/core/codemirror/lsp/__tests__/federated-lsp.test.ts +161 -0
  112. package/src/core/codemirror/lsp/__tests__/log-messages.test.ts +53 -0
  113. package/src/core/codemirror/lsp/__tests__/normalize-markdown-math.test.ts +25 -0
  114. package/src/core/codemirror/lsp/__tests__/notebook-lsp.test.ts +598 -156
  115. package/src/core/codemirror/lsp/__tests__/transports.test.ts +112 -0
  116. package/src/core/codemirror/lsp/federated-lsp.ts +76 -23
  117. package/src/core/codemirror/lsp/log-messages.ts +37 -0
  118. package/src/core/codemirror/lsp/normalize-markdown-math.ts +8 -4
  119. package/src/core/codemirror/lsp/notebook-lsp.ts +220 -56
  120. package/src/core/codemirror/lsp/transports.ts +8 -1
  121. package/src/core/codemirror/lsp/types.ts +68 -8
  122. package/src/core/codemirror/lsp/utils.ts +14 -0
  123. package/src/core/codemirror/utils.ts +28 -0
  124. package/src/core/edit-app.tsx +1 -2
  125. package/src/core/export/__tests__/hooks.test.ts +2 -4
  126. package/src/core/export/hooks.ts +4 -3
  127. package/src/core/hotkeys/hotkeys.ts +0 -2
  128. package/src/core/islands/__tests__/bridge.test.ts +107 -0
  129. package/src/core/islands/bridge.ts +16 -0
  130. package/src/core/lsp/__tests__/transport.test.ts +509 -337
  131. package/src/core/lsp/transport.ts +304 -132
  132. package/src/core/mode.ts +10 -0
  133. package/src/core/network/__tests__/api.test.ts +42 -0
  134. package/src/core/network/__tests__/connection.test.ts +45 -0
  135. package/src/core/network/__tests__/requests-lazy.test.ts +32 -1
  136. package/src/core/network/__tests__/requests-network.test.ts +21 -0
  137. package/src/core/network/api.ts +27 -0
  138. package/src/core/network/connection.ts +15 -0
  139. package/src/core/network/requests-lazy.ts +1 -0
  140. package/src/core/network/requests-network.ts +14 -8
  141. package/src/core/network/requests-static.ts +1 -0
  142. package/src/core/network/requests-toasting.tsx +1 -0
  143. package/src/core/network/types.ts +22 -6
  144. package/src/core/rtc/state.ts +9 -0
  145. package/src/core/static/download-html.ts +5 -14
  146. package/src/core/wasm/bridge.ts +4 -2
  147. package/src/core/wasm/worker/types.ts +5 -2
  148. package/src/css/app/codemirror.css +16 -2
  149. package/src/plugins/impl/FormPlugin.tsx +1 -1
  150. package/src/plugins/impl/__tests__/FormPlugin.test.tsx +162 -0
  151. package/src/stories/log-viewer.stories.tsx +12 -6
  152. package/src/utils/__tests__/blob.test.ts +27 -1
  153. package/src/utils/__tests__/download.test.tsx +44 -4
  154. package/src/utils/blob.ts +24 -1
  155. package/src/utils/download.ts +14 -15
  156. package/dist/toDate-B3IRfHhw.js +0 -692
@@ -3,20 +3,21 @@ var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { en
3
3
  var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "symbol" ? key + "" : key, value);
4
4
  var _a, _b;
5
5
  import { s as __toESM } from "./chunk-BNovOVIE.js";
6
- import { c as useEventListener, g as Logger, h as cn, m as Events, t as Button } from "./button-BcSml68y.js";
6
+ import { c as useEventListener, g as Logger, h as cn, m as Events, t as Button } from "./button-BSm8IXRU.js";
7
7
  import { t as require_react } from "./react-DA-nE2FX.js";
8
8
  import { t as require_compiler_runtime } from "./compiler-runtime-CEbnTgxf.js";
9
- import { dt as kioskModeAtom, ht as outputIsStale } from "./html-to-image-DDENewl2.js";
9
+ import { ut as outputIsStale } from "./html-to-image-3w0AakWW.js";
10
10
  import "./chunk-5FQGJX7Z-B9WoXK1R.js";
11
- import { u as createLucideIcon } from "./dist-B96tMAst.js";
12
- import { a as DEFAULT_DECK_VERTICAL_ALIGN, c as SlideSidebar, cn as EyeOff, ct as Panel, fn as Code, i as DEFAULT_DECK_TRANSITION, l as Slide, ln as Expand, lt as PanelGroup, o as DEFAULT_SLIDE_TYPE, t as useNotebookCodeAvailable, ut as PanelResizeHandle } from "./code-visibility-C4wLKnSb.js";
13
- import { X as useDebouncedCallback } from "./input-DStQIuqD.js";
14
- import "./toDate-B3IRfHhw.js";
11
+ import { u as createLucideIcon } from "./dist-DIlxLFXG.js";
12
+ import { a as DEFAULT_DECK_TRANSITION, cn as EyeOff, dt as PanelGroup, fn as Code, ft as PanelResizeHandle, l as SlideSidebar, ln as Expand, n as useNotebookCodeAvailable, o as DEFAULT_DECK_VERTICAL_ALIGN, s as DEFAULT_SLIDE_TYPE, t as cellDomProps, u as Slide, ut as Panel } from "./common-BcbT1FqC.js";
13
+ import { R as ChevronDown } from "./strings-DIy9NAmg.js";
14
+ import { X as useDebouncedCallback } from "./input-C5K4VBvB.js";
15
+ import { v as kioskModeAtom } from "./toDate-CqhBWjvO.js";
15
16
  import "./react-dom-BTJzcVJ9.js";
16
17
  import { t as require_jsx_runtime } from "./jsx-runtime-DebpN0FN.js";
17
- import { X as useFullScreenElement } from "./zod-D0yOqoGe.js";
18
- import { t as Tooltip } from "./tooltip-B-qh7UPB.js";
19
- import { A as useEvent_default, S as useAtomValue, y as isIslands } from "./useTheme-XMq9mNf_.js";
18
+ import { X as useFullScreenElement } from "./zod-BUcyXSdR.js";
19
+ import { t as Tooltip } from "./tooltip-f-qR0iUx.js";
20
+ import { A as useEvent_default, S as useAtomValue, y as isIslands } from "./useTheme-DYfby65G.js";
20
21
  import "./dist-De-GlSAs.js";
21
22
  import "./main-B1Jo_8pC.js";
22
23
  import "./dist-BOMbzyb3.js";
@@ -26,7 +27,7 @@ import "./dist-DgjbnqTg.js";
26
27
  import "./dist-CRmSjkLP.js";
27
28
  import "./purify.es-EnR5yhgI.js";
28
29
  import "./vega-loader.browser-DmpxCJqx.js";
29
- import "./loader-CTHCI-qe.js";
30
+ import "./loader-DX-IDS7n.js";
30
31
  import "./defaultLocale-BpsHxBd7.js";
31
32
  import "./defaultLocale-DoeErsX2.js";
32
33
  var StickyNote = createLucideIcon("sticky-note", [["path", {
@@ -35,7 +36,7 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
35
36
  }], ["path", {
36
37
  d: "M15 3v5a1 1 0 0 0 1 1h5",
37
38
  key: "6s6qgf"
38
- }]]), import_compiler_runtime$1 = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), pi = Object.defineProperty, vi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, xt$1 = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, qe$1 = (e5, t, n) => t in e5 ? pi(e5, t, {
39
+ }]]), import_compiler_runtime$2 = require_compiler_runtime(), import_react = /* @__PURE__ */ __toESM(require_react(), 1), pi = Object.defineProperty, vi = Object.defineProperties, mi = Object.getOwnPropertyDescriptors, xt$1 = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, bi = Object.prototype.propertyIsEnumerable, qe$1 = (e5, t, n) => t in e5 ? pi(e5, t, {
39
40
  enumerable: true,
40
41
  configurable: true,
41
42
  writable: true,
@@ -151,52 +152,52 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
151
152
  return !e7.styleComputed;
152
153
  })).forEach((function(e7) {
153
154
  e7.styleComputed = p(e7);
154
- })), e6.filter(so).forEach(co);
155
- var t2 = e6.filter(oo);
156
- t2.forEach(ao), t2.forEach((function(e7) {
157
- co(e7), f(e7);
158
- })), t2.forEach(lo);
155
+ })), e6.filter(bo).forEach(xo);
156
+ var t2 = e6.filter(yo);
157
+ t2.forEach(vo), t2.forEach((function(e7) {
158
+ xo(e7), f(e7);
159
+ })), t2.forEach(So);
159
160
  }, f = function(e6) {
160
161
  return e6.dirty = n;
161
- }, ao = function(e6) {
162
+ }, vo = function(e6) {
162
163
  e6.availableWidth = e6.element.parentNode.clientWidth, e6.currentWidth = e6.element.scrollWidth, e6.previousFontSize = e6.currentFontSize, e6.currentFontSize = Math.min(Math.max(e6.minSize, e6.availableWidth / e6.currentWidth * e6.previousFontSize), e6.maxSize), e6.whiteSpace = e6.multiLine && e6.currentFontSize === e6.minSize ? "normal" : "nowrap";
163
- }, oo = function(e6) {
164
+ }, yo = function(e6) {
164
165
  return e6.dirty !== i || e6.dirty === i && e6.element.parentNode.clientWidth !== e6.availableWidth;
165
166
  }, p = function(t2) {
166
167
  var n2 = e5.getComputedStyle(t2.element, null);
167
168
  return t2.currentFontSize = parseFloat(n2.getPropertyValue("font-size")), t2.display = n2.getPropertyValue("display"), t2.whiteSpace = n2.getPropertyValue("white-space"), true;
168
- }, so = function(e6) {
169
+ }, bo = function(e6) {
169
170
  var t2 = false;
170
171
  return !e6.preStyleTestCompleted && (/inline-/.test(e6.display) || (t2 = true, e6.display = "inline-block"), e6.whiteSpace !== "nowrap" && (t2 = true, e6.whiteSpace = "nowrap"), e6.preStyleTestCompleted = true, t2);
171
- }, co = function(e6) {
172
+ }, xo = function(e6) {
172
173
  e6.element.style.whiteSpace = e6.whiteSpace, e6.element.style.display = e6.display, e6.element.style.fontSize = e6.currentFontSize + "px";
173
- }, lo = function(e6) {
174
+ }, So = function(e6) {
174
175
  e6.element.dispatchEvent(new CustomEvent("fit", { detail: {
175
176
  oldValue: e6.previousFontSize,
176
177
  newValue: e6.currentFontSize,
177
178
  scaleFactor: e6.currentFontSize / e6.previousFontSize
178
179
  } }));
179
- }, uo = function(e6, t2) {
180
+ }, Co = function(e6, t2) {
180
181
  return function(n2) {
181
182
  e6.dirty = t2, e6.active && c(n2);
182
183
  };
183
- }, fo = function(e6) {
184
+ }, wo = function(e6) {
184
185
  return function() {
185
186
  o = o.filter((function(t2) {
186
187
  return t2.element !== e6.element;
187
188
  })), e6.observeMutations && e6.observer.disconnect(), e6.element.style.whiteSpace = e6.originalStyle.whiteSpace, e6.element.style.display = e6.originalStyle.display, e6.element.style.fontSize = e6.originalStyle.fontSize;
188
189
  };
189
- }, po = function(e6) {
190
+ }, To = function(e6) {
190
191
  return function() {
191
192
  e6.active || (e6.active = true, c());
192
193
  };
193
- }, mo = function(e6) {
194
+ }, Eo = function(e6) {
194
195
  return function() {
195
196
  return e6.active = false;
196
197
  };
197
- }, ho = function(e6) {
198
- e6.observeMutations && (e6.observer = new MutationObserver(uo(e6, r)), e6.observer.observe(e6.element, e6.observeMutations));
199
- }, go = {
198
+ }, Do = function(e6) {
199
+ e6.observeMutations && (e6.observer = new MutationObserver(Co(e6, r)), e6.observer.observe(e6.element, e6.observeMutations));
200
+ }, Oo = {
200
201
  minSize: 16,
201
202
  maxSize: 512,
202
203
  multiLine: true,
@@ -205,18 +206,18 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
205
206
  childList: true,
206
207
  characterData: true
207
208
  }
208
- }, _o = null, vo = function() {
209
- e5.clearTimeout(_o), _o = e5.setTimeout(l(i), xo.observeWindowDelay);
210
- }, yo = ["resize", "orientationchange"];
211
- return Object.defineProperty(xo, "observeWindow", { set: function(t2) {
209
+ }, ko = null, Ao = function() {
210
+ e5.clearTimeout(ko), ko = e5.setTimeout(l(i), No.observeWindowDelay);
211
+ }, jo = ["resize", "orientationchange"];
212
+ return Object.defineProperty(No, "observeWindow", { set: function(t2) {
212
213
  var n2 = `${t2 ? "add" : "remove"}EventListener`;
213
- yo.forEach((function(t3) {
214
- e5[n2](t3, vo);
214
+ jo.forEach((function(t3) {
215
+ e5[n2](t3, Ao);
215
216
  }));
216
- } }), xo.observeWindow = true, xo.observeWindowDelay = 100, xo.fitAll = l(a), xo;
217
+ } }), No.observeWindow = true, No.observeWindowDelay = 100, No.fitAll = l(a), No;
217
218
  }
218
- function bo(e6, t2) {
219
- var n2 = Object.assign({}, go, t2), r2 = e6.map((function(e7) {
219
+ function Mo(e6, t2) {
220
+ var n2 = Object.assign({}, Oo, t2), r2 = e6.map((function(e7) {
220
221
  var t3 = Object.assign({}, n2, {
221
222
  element: e7,
222
223
  active: true
@@ -226,20 +227,20 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
226
227
  whiteSpace: e8.element.style.whiteSpace,
227
228
  display: e8.element.style.display,
228
229
  fontSize: e8.element.style.fontSize
229
- }, ho(e8), e8.newbie = true, e8.dirty = true, o.push(e8);
230
+ }, Do(e8), e8.newbie = true, e8.dirty = true, o.push(e8);
230
231
  })(t3), {
231
232
  element: e7,
232
- fit: uo(t3, a),
233
- unfreeze: po(t3),
234
- freeze: mo(t3),
235
- unsubscribe: fo(t3)
233
+ fit: Co(t3, a),
234
+ unfreeze: To(t3),
235
+ freeze: Eo(t3),
236
+ unsubscribe: wo(t3)
236
237
  };
237
238
  }));
238
239
  return c(), r2;
239
240
  }
240
- function xo(e6) {
241
+ function No(e6) {
241
242
  var n2 = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
242
- return typeof e6 == "string" ? bo(t(document.querySelectorAll(e6)), n2) : bo([e6], n2)[0];
243
+ return typeof e6 == "string" ? Mo(t(document.querySelectorAll(e6)), n2) : Mo([e6], n2)[0];
243
244
  }
244
245
  })(typeof window > "u" ? null : window), Ci = class {
245
246
  constructor(e5) {
@@ -671,8 +672,8 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
671
672
  r.length === 1 ? i = a = parseInt(r[0], 10) : (i = parseInt(r[0], 10), a = parseInt(r[1], 10));
672
673
  let o = this.element.offsetWidth, s = t.length, c, l;
673
674
  c = typeof this.Reveal.getConfig().parallaxBackgroundHorizontal == "number" ? this.Reveal.getConfig().parallaxBackgroundHorizontal : s > 1 ? (i - o) / (s - 1) : 0, l = c * e5.h * -1;
674
- let u = this.element.offsetHeight, f = n.length, ao, oo;
675
- ao = typeof this.Reveal.getConfig().parallaxBackgroundVertical == "number" ? this.Reveal.getConfig().parallaxBackgroundVertical : (a - u) / (f - 1), oo = f > 0 ? ao * e5.v : 0, this.element.style.backgroundPosition = l + "px " + -oo + "px";
675
+ let u = this.element.offsetHeight, f = n.length, vo, yo;
676
+ vo = typeof this.Reveal.getConfig().parallaxBackgroundVertical == "number" ? this.Reveal.getConfig().parallaxBackgroundVertical : (a - u) / (f - 1), yo = f > 0 ? vo * e5.v : 0, this.element.style.backgroundPosition = l + "px " + -yo + "px";
676
677
  }
677
678
  }
678
679
  destroy() {
@@ -1078,32 +1079,32 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
1078
1079
  e6 && e6.background && (l = e6.background);
1079
1080
  }
1080
1081
  yield new Promise(requestAnimationFrame), this.Reveal.layoutSlideContents(o, s), yield new Promise(requestAnimationFrame);
1081
- let u = t.map((e6) => e6.scrollHeight), f = [], ao = t[0].parentNode, oo = 1;
1082
+ let u = t.map((e6) => e6.scrollHeight), f = [], vo = t[0].parentNode, yo = 1;
1082
1083
  t.forEach(function(t2, r2) {
1083
1084
  if (t2.classList.contains("stack") === false) {
1084
- let c2 = (i - o) / 2, ao2 = (a - s) / 2, p = u[r2], so = Math.max(Math.ceil(p / a), 1);
1085
- so = Math.min(so, e5.pdfMaxPagesPerSlide), (so === 1 && e5.center || t2.classList.contains("center")) && (ao2 = Math.max((a - p) / 2, 0));
1086
- let co = document.createElement("div");
1087
- if (f.push(co), co.className = "pdf-page", co.style.height = (a + e5.pdfPageHeightOffset) * so + "px", l && (co.style.background = l), co.appendChild(t2), t2.style.left = c2 + "px", t2.style.top = ao2 + "px", t2.style.width = o + "px", this.Reveal.slideContent.layout(t2), t2.slideBackgroundElement && co.insertBefore(t2.slideBackgroundElement, t2), e5.showNotes) {
1085
+ let c2 = (i - o) / 2, vo2 = (a - s) / 2, p = u[r2], bo = Math.max(Math.ceil(p / a), 1);
1086
+ bo = Math.min(bo, e5.pdfMaxPagesPerSlide), (bo === 1 && e5.center || t2.classList.contains("center")) && (vo2 = Math.max((a - p) / 2, 0));
1087
+ let xo = document.createElement("div");
1088
+ if (f.push(xo), xo.className = "pdf-page", xo.style.height = (a + e5.pdfPageHeightOffset) * bo + "px", l && (xo.style.background = l), xo.appendChild(t2), t2.style.left = c2 + "px", t2.style.top = vo2 + "px", t2.style.width = o + "px", this.Reveal.slideContent.layout(t2), t2.slideBackgroundElement && xo.insertBefore(t2.slideBackgroundElement, t2), e5.showNotes) {
1088
1089
  let n2 = this.Reveal.getSlideNotes(t2);
1089
1090
  if (n2) {
1090
1091
  let t3 = typeof e5.showNotes == "string" ? e5.showNotes : "inline", r3 = document.createElement("div");
1091
- r3.classList.add("speaker-notes"), r3.classList.add("speaker-notes-pdf"), r3.setAttribute("data-layout", t3), r3.innerHTML = n2, t3 === "separate-page" ? f.push(r3) : (r3.style.left = "8px", r3.style.bottom = "8px", r3.style.width = i - 16 + "px", co.appendChild(r3));
1092
+ r3.classList.add("speaker-notes"), r3.classList.add("speaker-notes-pdf"), r3.setAttribute("data-layout", t3), r3.innerHTML = n2, t3 === "separate-page" ? f.push(r3) : (r3.style.left = "8px", r3.style.bottom = "8px", r3.style.width = i - 16 + "px", xo.appendChild(r3));
1092
1093
  }
1093
1094
  }
1094
1095
  if (n) {
1095
1096
  let e6 = document.createElement("div");
1096
- e6.classList.add("slide-number"), e6.classList.add("slide-number-pdf"), e6.innerHTML = oo++, co.appendChild(e6);
1097
+ e6.classList.add("slide-number"), e6.classList.add("slide-number-pdf"), e6.innerHTML = yo++, xo.appendChild(e6);
1097
1098
  }
1098
1099
  if (e5.pdfSeparateFragments) {
1099
- let e6 = this.Reveal.fragments.sort(co.querySelectorAll(".fragment"), true), t3;
1100
+ let e6 = this.Reveal.fragments.sort(xo.querySelectorAll(".fragment"), true), t3;
1100
1101
  e6.forEach(function(e7, r3) {
1101
1102
  t3 && t3.forEach(function(e8) {
1102
1103
  e8.classList.remove("current-fragment");
1103
1104
  }), e7.forEach(function(e8) {
1104
1105
  e8.classList.add("visible", "current-fragment");
1105
1106
  }, this);
1106
- let i2 = co.cloneNode(true);
1107
+ let i2 = xo.cloneNode(true);
1107
1108
  if (n) {
1108
1109
  let e8 = i2.querySelector(".slide-number-pdf"), t4 = r3 + 1;
1109
1110
  e8.innerHTML += "." + t4;
@@ -1114,11 +1115,11 @@ var StickyNote = createLucideIcon("sticky-note", [["path", {
1114
1115
  e8.classList.remove("visible", "current-fragment");
1115
1116
  });
1116
1117
  });
1117
- } else E$2(co, ".fragment:not(.fade-out)").forEach(function(e6) {
1118
+ } else E$2(xo, ".fragment:not(.fade-out)").forEach(function(e6) {
1118
1119
  e6.classList.add("visible");
1119
1120
  });
1120
1121
  }
1121
- }, this), yield new Promise(requestAnimationFrame), f.forEach((e6) => ao.appendChild(e6)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.dispatchEvent({ type: "pdf-ready" }), c.classList.remove("loading-scroll-mode");
1122
+ }, this), yield new Promise(requestAnimationFrame), f.forEach((e6) => vo.appendChild(e6)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.dispatchEvent({ type: "pdf-ready" }), c.classList.remove("loading-scroll-mode");
1122
1123
  });
1123
1124
  }
1124
1125
  isActive() {
@@ -2100,22 +2101,22 @@ function Ut$1(e5, t) {
2100
2101
  let n = {}, r = {}, i = false, a = false, o, s, c, l, u = {
2101
2102
  hasNavigatedHorizontally: false,
2102
2103
  hasNavigatedVertically: false
2103
- }, f = [], ao = 1, oo = {
2104
+ }, f = [], vo = 1, yo = {
2104
2105
  layout: "",
2105
2106
  overview: ""
2106
- }, p = {}, so = "idle", co = 0, lo, uo = 0, fo = -1, po = false, mo = new Ci(n), ho = new Ii(n), go = new Mi(n), _o = new Hi(n), vo = new Bi(n), yo = new Oi(n), bo = new Ui(n), xo = new qi(n), So = new Wi(n), Co = new ji(n), wo = new Ki(n), To = new _i(n), Eo = new $i(n), Do = new Xi(n), Oo = new Yi(n), ko = new Gi(n), Ao = new Qi(n), jo = new Ji(n), Mo = new Zi(n);
2107
- function Fo(a2) {
2107
+ }, p = {}, bo = "idle", xo = 0, So, Co = 0, wo = -1, To = false, Eo = new Ci(n), Do = new Ii(n), Oo = new Mi(n), ko = new Hi(n), Ao = new Bi(n), jo = new Oi(n), Mo = new Ui(n), No = new qi(n), Po = new Wi(n), Fo = new ji(n), Io = new Ki(n), Lo = new _i(n), Ro = new $i(n), zo = new Xi(n), Bo = new Yi(n), Vo = new Gi(n), Ho = new Qi(n), Uo = new Ji(n), Wo = new Zi(n);
2108
+ function Go(a2) {
2108
2109
  if (!e5) throw 'Unable to find presentation root (<div class="reveal">).';
2109
2110
  if (i) throw "Reveal.js has already been initialized.";
2110
2111
  if (i = true, p.wrapper = e5, p.slides = e5.querySelector(".slides"), !p.slides) throw 'Unable to find slides container (<div class="slides">).';
2111
- return r = Q$2(Q$2(Q$2(Q$2(Q$2({}, ts), r), t), a2), Mt$1()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), Io(), window.addEventListener("load", xs, false), Oo.load(r.plugins, r.dependencies).then(Ho), new Promise((e6) => n.on("ready", e6));
2112
+ return r = Q$2(Q$2(Q$2(Q$2(Q$2({}, ts), r), t), a2), Mt$1()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), Ko(), window.addEventListener("load", Ms, false), Bo.load(r.plugins, r.dependencies).then(Yo), new Promise((e6) => n.on("ready", e6));
2112
2113
  }
2113
- function Io() {
2114
+ function Ko() {
2114
2115
  r.embedded === true ? p.viewport = V$1(e5, ".reveal-viewport") || e5 : (p.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), p.viewport.classList.add("reveal-viewport");
2115
2116
  }
2116
- function Ho() {
2117
- i !== false && (a = true, Ko(), Yo(), us(), rs(), cs(), Ws(), ds(), vo.update(true), Wo(), wo.readURL(), setTimeout(() => {
2118
- p.slides.classList.remove("no-transition"), p.wrapper.classList.add("ready"), vs({
2117
+ function Yo() {
2118
+ i !== false && (a = true, is(), os(), _s(), ms(), gs(), tc(), Ss(), Ao.update(true), Xo(), Io.readURL(), setTimeout(() => {
2119
+ p.slides.classList.remove("no-transition"), p.wrapper.classList.add("ready"), ks({
2119
2120
  type: "ready",
2120
2121
  data: {
2121
2122
  indexh: o,
@@ -2125,27 +2126,27 @@ function Ut$1(e5, t) {
2125
2126
  });
2126
2127
  }, 1));
2127
2128
  }
2128
- function Wo() {
2129
+ function Xo() {
2129
2130
  let e6 = r.view === "print", t2 = r.view === "scroll" || r.view === "reader";
2130
- (e6 || t2) && (e6 ? ps() : jo.unbind(), p.viewport.classList.add("loading-scroll-mode"), e6 ? document.readyState === "complete" ? bo.activate() : window.addEventListener("load", () => bo.activate()) : yo.activate());
2131
+ (e6 || t2) && (e6 ? ws() : Uo.unbind(), p.viewport.classList.add("loading-scroll-mode"), e6 ? document.readyState === "complete" ? Mo.activate() : window.addEventListener("load", () => Mo.activate()) : jo.activate());
2131
2132
  }
2132
- function Ko() {
2133
+ function is() {
2133
2134
  r.showHiddenSlides || E$2(p.wrapper, 'section[data-visibility="hidden"]').forEach((e6) => {
2134
2135
  let t2 = e6.parentNode;
2135
2136
  t2.childElementCount === 1 && /section/i.test(t2.nodeName) ? t2.remove() : e6.remove();
2136
2137
  });
2137
2138
  }
2138
- function Yo() {
2139
- p.slides.classList.add("no-transition"), le$2 ? p.wrapper.classList.add("no-hover") : p.wrapper.classList.remove("no-hover"), vo.render(), ho.render(), go.render(), To.render(), Eo.render(), Mo.render(), p.pauseOverlay = wi(p.wrapper, "div", "pause-overlay", r.controls ? '<button class="resume-button">Resume presentation</button>' : null), p.statusElement = Xo(), p.wrapper.setAttribute("role", "application");
2139
+ function os() {
2140
+ p.slides.classList.add("no-transition"), le$2 ? p.wrapper.classList.add("no-hover") : p.wrapper.classList.remove("no-hover"), Ao.render(), Do.render(), Oo.render(), Lo.render(), Ro.render(), Wo.render(), p.pauseOverlay = wi(p.wrapper, "div", "pause-overlay", r.controls ? '<button class="resume-button">Resume presentation</button>' : null), p.statusElement = cs(), p.wrapper.setAttribute("role", "application");
2140
2141
  }
2141
- function Xo() {
2142
+ function cs() {
2142
2143
  let e6 = p.wrapper.querySelector(".aria-status");
2143
2144
  return e6 || (e6 = document.createElement("div"), e6.style.position = "absolute", e6.style.height = "1px", e6.style.width = "1px", e6.style.overflow = "hidden", e6.style.clip = "rect( 1px, 1px, 1px, 1px )", e6.classList.add("aria-status"), e6.setAttribute("aria-live", "polite"), e6.setAttribute("aria-atomic", "true"), p.wrapper.appendChild(e6)), e6;
2144
2145
  }
2145
- function Zo(e6) {
2146
+ function ds(e6) {
2146
2147
  p.statusElement.textContent = e6;
2147
2148
  }
2148
- function Qo(e6) {
2149
+ function fs(e6) {
2149
2150
  let t2 = "";
2150
2151
  if (e6.nodeType === 3) t2 += e6.textContent.trim();
2151
2152
  else if (e6.nodeType === 1) {
@@ -2153,10 +2154,10 @@ function Ut$1(e5, t) {
2153
2154
  if (n2 !== "true" && !r2) {
2154
2155
  if (e6.tagName === "IMG" || e6.tagName === "VIDEO") {
2155
2156
  let n3 = e6.getAttribute("alt");
2156
- n3 && (t2 += ns(n3));
2157
+ n3 && (t2 += ps(n3));
2157
2158
  }
2158
2159
  Array.from(e6.childNodes).forEach((e7) => {
2159
- t2 += Qo(e7);
2160
+ t2 += fs(e7);
2160
2161
  }), [
2161
2162
  "P",
2162
2163
  "DIV",
@@ -2170,58 +2171,58 @@ function Ut$1(e5, t) {
2170
2171
  "H5",
2171
2172
  "H6",
2172
2173
  "BLOCKQUOTE"
2173
- ].includes(e6.tagName) && t2.trim() !== "" && (t2 = ns(t2));
2174
+ ].includes(e6.tagName) && t2.trim() !== "" && (t2 = ps(t2));
2174
2175
  }
2175
2176
  }
2176
2177
  return t2 = t2.trim(), t2 === "" ? "" : t2 + " ";
2177
2178
  }
2178
- function ns(e6) {
2179
+ function ps(e6) {
2179
2180
  let t2 = e6.trim();
2180
2181
  return t2 === "" ? e6 : /[.!?]$/.test(t2) ? t2 : t2 + ".";
2181
2182
  }
2182
- function rs() {
2183
+ function ms() {
2183
2184
  setInterval(() => {
2184
- (!yo.isActive() && p.wrapper.scrollTop !== 0 || p.wrapper.scrollLeft !== 0) && (p.wrapper.scrollTop = 0, p.wrapper.scrollLeft = 0);
2185
+ (!jo.isActive() && p.wrapper.scrollTop !== 0 || p.wrapper.scrollLeft !== 0) && (p.wrapper.scrollTop = 0, p.wrapper.scrollLeft = 0);
2185
2186
  }, 1e3);
2186
2187
  }
2187
- function cs() {
2188
- document.addEventListener("fullscreenchange", Oc), document.addEventListener("webkitfullscreenchange", Oc);
2188
+ function gs() {
2189
+ document.addEventListener("fullscreenchange", zc), document.addEventListener("webkitfullscreenchange", zc);
2189
2190
  }
2190
- function us() {
2191
- r.postMessage && window.addEventListener("message", Cc, false);
2191
+ function _s() {
2192
+ r.postMessage && window.addEventListener("message", Pc, false);
2192
2193
  }
2193
- function ds(e6) {
2194
+ function Ss(e6) {
2194
2195
  let t2 = Q$2({}, r);
2195
2196
  if (typeof e6 == "object" && ge$1(r, e6), n.isReady() === false) return;
2196
2197
  let i2 = p.wrapper.querySelectorAll(de$1).length;
2197
- p.wrapper.classList.remove(t2.transition), p.wrapper.classList.add(r.transition), p.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), p.wrapper.setAttribute("data-background-transition", r.backgroundTransition), p.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), p.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && Gs(), Ke$1(p.wrapper, "embedded", r.embedded), Ke$1(p.wrapper, "rtl", r.rtl), Ke$1(p.wrapper, "center", r.center), r.pause === false && Ns(), _o.reset(), lo && (lo = (lo.destroy(), null)), i2 > 1 && r.autoSlide && r.autoSlideStoppable && (lo = new es(p.wrapper, () => Math.min(Math.max((Date.now() - fo) / co, 0), 1)), lo.on("click", kc), po = false), r.navigationMode === "default" ? p.wrapper.removeAttribute("data-navigation-mode") : p.wrapper.setAttribute("data-navigation-mode", r.navigationMode), Mo.configure(r, t2), Ao.configure(r, t2), Do.configure(r, t2), To.configure(r, t2), Eo.configure(r, t2), Co.configure(r, t2), xo.configure(r, t2), ho.configure(r, t2), Hs();
2198
+ p.wrapper.classList.remove(t2.transition), p.wrapper.classList.add(r.transition), p.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), p.wrapper.setAttribute("data-background-transition", r.backgroundTransition), p.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), p.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && nc(), Ke$1(p.wrapper, "embedded", r.embedded), Ke$1(p.wrapper, "rtl", r.rtl), Ke$1(p.wrapper, "center", r.center), r.pause === false && Ws(), ko.reset(), So && (So = (So.destroy(), null)), i2 > 1 && r.autoSlide && r.autoSlideStoppable && (So = new es(p.wrapper, () => Math.min(Math.max((Date.now() - wo) / xo, 0), 1)), So.on("click", Bc), To = false), r.navigationMode === "default" ? p.wrapper.removeAttribute("data-navigation-mode") : p.wrapper.setAttribute("data-navigation-mode", r.navigationMode), Wo.configure(r, t2), Ho.configure(r, t2), zo.configure(r, t2), Lo.configure(r, t2), Ro.configure(r, t2), Fo.configure(r, t2), No.configure(r, t2), Do.configure(r, t2), $s();
2198
2199
  }
2199
- function fs() {
2200
- window.addEventListener("resize", Ec, false), r.touch && jo.bind(), r.keyboard && Co.bind(), r.progress && Eo.bind(), r.respondToHashChanges && wo.bind(), To.bind(), Ao.bind(), p.slides.addEventListener("click", Tc, false), p.slides.addEventListener("transitionend", wc, false), p.pauseOverlay.addEventListener("click", Ns, false), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", Dc, false);
2200
+ function Cs() {
2201
+ window.addEventListener("resize", Lc, false), r.touch && Uo.bind(), r.keyboard && Fo.bind(), r.progress && Ro.bind(), r.respondToHashChanges && Io.bind(), Lo.bind(), Ho.bind(), p.slides.addEventListener("click", Ic, false), p.slides.addEventListener("transitionend", Fc, false), p.pauseOverlay.addEventListener("click", Ws, false), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", Rc, false);
2201
2202
  }
2202
- function ps() {
2203
- jo.unbind(), Ao.unbind(), Co.unbind(), To.unbind(), Eo.unbind(), wo.unbind(), window.removeEventListener("resize", Ec, false), p.slides.removeEventListener("click", Tc, false), p.slides.removeEventListener("transitionend", wc, false), p.pauseOverlay.removeEventListener("click", Ns, false);
2203
+ function ws() {
2204
+ Uo.unbind(), Ho.unbind(), Fo.unbind(), Lo.unbind(), Ro.unbind(), Io.unbind(), window.removeEventListener("resize", Lc, false), p.slides.removeEventListener("click", Ic, false), p.slides.removeEventListener("transitionend", Fc, false), p.pauseOverlay.removeEventListener("click", Ws, false);
2204
2205
  }
2205
- function ms() {
2206
- i = false, a !== false && (ps(), pc(), Mo.destroy(), Ao.destroy(), ko.destroy(), Oo.destroy(), Do.destroy(), To.destroy(), Eo.destroy(), vo.destroy(), ho.destroy(), go.destroy(), document.removeEventListener("fullscreenchange", Oc), document.removeEventListener("webkitfullscreenchange", Oc), document.removeEventListener("visibilitychange", Dc, false), window.removeEventListener("message", Cc, false), window.removeEventListener("load", xs, false), p.pauseOverlay && p.pauseOverlay.remove(), p.statusElement && p.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), p.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), p.wrapper.removeAttribute("data-transition-speed"), p.wrapper.removeAttribute("data-background-transition"), p.viewport.classList.remove("reveal-viewport"), p.viewport.style.removeProperty("--slide-width"), p.viewport.style.removeProperty("--slide-height"), p.slides.style.removeProperty("width"), p.slides.style.removeProperty("height"), p.slides.style.removeProperty("zoom"), p.slides.style.removeProperty("left"), p.slides.style.removeProperty("top"), p.slides.style.removeProperty("bottom"), p.slides.style.removeProperty("right"), p.slides.style.removeProperty("transform"), Array.from(p.wrapper.querySelectorAll(de$1)).forEach((e6) => {
2206
+ function Ts() {
2207
+ i = false, a !== false && (ws(), wc(), Wo.destroy(), Ho.destroy(), Vo.destroy(), Bo.destroy(), zo.destroy(), Lo.destroy(), Ro.destroy(), Ao.destroy(), Do.destroy(), Oo.destroy(), document.removeEventListener("fullscreenchange", zc), document.removeEventListener("webkitfullscreenchange", zc), document.removeEventListener("visibilitychange", Rc, false), window.removeEventListener("message", Pc, false), window.removeEventListener("load", Ms, false), p.pauseOverlay && p.pauseOverlay.remove(), p.statusElement && p.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), p.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), p.wrapper.removeAttribute("data-transition-speed"), p.wrapper.removeAttribute("data-background-transition"), p.viewport.classList.remove("reveal-viewport"), p.viewport.style.removeProperty("--slide-width"), p.viewport.style.removeProperty("--slide-height"), p.slides.style.removeProperty("width"), p.slides.style.removeProperty("height"), p.slides.style.removeProperty("zoom"), p.slides.style.removeProperty("left"), p.slides.style.removeProperty("top"), p.slides.style.removeProperty("bottom"), p.slides.style.removeProperty("right"), p.slides.style.removeProperty("transform"), Array.from(p.wrapper.querySelectorAll(de$1)).forEach((e6) => {
2207
2208
  e6.style.removeProperty("display"), e6.style.removeProperty("top"), e6.removeAttribute("hidden"), e6.removeAttribute("aria-hidden");
2208
2209
  }));
2209
2210
  }
2210
- function hs(t2, n2, r2) {
2211
+ function Es(t2, n2, r2) {
2211
2212
  e5.addEventListener(t2, n2, r2);
2212
2213
  }
2213
- function gs(t2, n2, r2) {
2214
+ function Ds(t2, n2, r2) {
2214
2215
  e5.removeEventListener(t2, n2, r2);
2215
2216
  }
2216
- function _s(e6) {
2217
- typeof e6.layout == "string" && (oo.layout = e6.layout), typeof e6.overview == "string" && (oo.overview = e6.overview), oo.layout ? ae$2(p.slides, oo.layout + " " + oo.overview) : ae$2(p.slides, oo.overview);
2217
+ function Os(e6) {
2218
+ typeof e6.layout == "string" && (yo.layout = e6.layout), typeof e6.overview == "string" && (yo.overview = e6.overview), yo.layout ? ae$2(p.slides, yo.layout + " " + yo.overview) : ae$2(p.slides, yo.overview);
2218
2219
  }
2219
- function vs({ target: e6 = p.wrapper, type: t2, data: n2, bubbles: r2 = true }) {
2220
+ function ks({ target: e6 = p.wrapper, type: t2, data: n2, bubbles: r2 = true }) {
2220
2221
  let i2 = document.createEvent("HTMLEvents", 1, 2);
2221
- return i2.initEvent(t2, r2, true), ge$1(i2, n2), e6.dispatchEvent(i2), e6 === p.wrapper && bs(t2), i2;
2222
+ return i2.initEvent(t2, r2, true), ge$1(i2, n2), e6.dispatchEvent(i2), e6 === p.wrapper && js(t2), i2;
2222
2223
  }
2223
- function ys(e6) {
2224
- vs({
2224
+ function As(e6) {
2225
+ ks({
2225
2226
  type: "slidechanged",
2226
2227
  data: {
2227
2228
  indexh: o,
@@ -2232,41 +2233,41 @@ function Ut$1(e5, t) {
2232
2233
  }
2233
2234
  });
2234
2235
  }
2235
- function bs(e6, t2) {
2236
+ function js(e6, t2) {
2236
2237
  if (r.postMessageEvents && window.parent !== window.self) {
2237
2238
  let n2 = {
2238
2239
  namespace: "reveal",
2239
2240
  eventName: e6,
2240
- state: uc()
2241
+ state: xc()
2241
2242
  };
2242
2243
  ge$1(n2, t2), window.parent.postMessage(JSON.stringify(n2), "*");
2243
2244
  }
2244
2245
  }
2245
- function xs() {
2246
- if (p.wrapper && !bo.isActive()) {
2246
+ function Ms() {
2247
+ if (p.wrapper && !Mo.isActive()) {
2247
2248
  let e6 = p.viewport.offsetWidth, t2 = p.viewport.offsetHeight;
2248
2249
  if (!r.disableLayout) {
2249
2250
  le$2 && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * 0.01 + "px");
2250
- let n2 = yo.isActive() ? ws(e6, t2) : ws(), i2 = ao;
2251
- Ss(r.width, r.height), p.slides.style.width = n2.width + "px", p.slides.style.height = n2.height + "px", ao = Math.min(n2.presentationWidth / n2.width, n2.presentationHeight / n2.height), ao = Math.max(ao, r.minScale), ao = Math.min(ao, r.maxScale), ao === 1 || yo.isActive() ? (p.slides.style.zoom = "", p.slides.style.left = "", p.slides.style.top = "", p.slides.style.bottom = "", p.slides.style.right = "", _s({ layout: "" })) : (p.slides.style.zoom = "", p.slides.style.left = "50%", p.slides.style.top = "50%", p.slides.style.bottom = "auto", p.slides.style.right = "auto", _s({ layout: "translate(-50%, -50%) scale(" + ao + ")" }));
2251
+ let n2 = jo.isActive() ? Fs(e6, t2) : Fs(), i2 = vo;
2252
+ Ns(r.width, r.height), p.slides.style.width = n2.width + "px", p.slides.style.height = n2.height + "px", vo = Math.min(n2.presentationWidth / n2.width, n2.presentationHeight / n2.height), vo = Math.max(vo, r.minScale), vo = Math.min(vo, r.maxScale), vo === 1 || jo.isActive() ? (p.slides.style.zoom = "", p.slides.style.left = "", p.slides.style.top = "", p.slides.style.bottom = "", p.slides.style.right = "", Os({ layout: "" })) : (p.slides.style.zoom = "", p.slides.style.left = "50%", p.slides.style.top = "50%", p.slides.style.bottom = "auto", p.slides.style.right = "auto", Os({ layout: "translate(-50%, -50%) scale(" + vo + ")" }));
2252
2253
  let a2 = Array.from(p.wrapper.querySelectorAll(de$1));
2253
2254
  for (let e7 = 0, t3 = a2.length; e7 < t3; e7++) {
2254
2255
  let t4 = a2[e7];
2255
2256
  t4.style.display !== "none" && (r.center || t4.classList.contains("center") ? t4.classList.contains("stack") ? t4.style.top = 0 : t4.style.top = Math.max((n2.height - t4.scrollHeight) / 2, 0) + "px" : t4.style.top = "");
2256
2257
  }
2257
- i2 !== ao && vs({
2258
+ i2 !== vo && ks({
2258
2259
  type: "resize",
2259
2260
  data: {
2260
2261
  oldScale: i2,
2261
- scale: ao,
2262
+ scale: vo,
2262
2263
  size: n2
2263
2264
  }
2264
2265
  });
2265
2266
  }
2266
- Cs(), p.viewport.style.setProperty("--slide-scale", ao), p.viewport.style.setProperty("--viewport-width", e6 + "px"), p.viewport.style.setProperty("--viewport-height", t2 + "px"), yo.layout(), Eo.update(), vo.updateParallax(), So.isActive() && So.update();
2267
+ Ps(), p.viewport.style.setProperty("--slide-scale", vo), p.viewport.style.setProperty("--viewport-width", e6 + "px"), p.viewport.style.setProperty("--viewport-height", t2 + "px"), jo.layout(), Ro.update(), Ao.updateParallax(), Po.isActive() && Po.update();
2267
2268
  }
2268
2269
  }
2269
- function Ss(e6, t2) {
2270
+ function Ns(e6, t2) {
2270
2271
  E$2(p.slides, "section > .stretch, section > .r-stretch").forEach((n2) => {
2271
2272
  let r2 = Ei(n2, t2);
2272
2273
  if (/(img|video)/gi.test(n2.nodeName)) {
@@ -2275,13 +2276,13 @@ function Ut$1(e5, t) {
2275
2276
  } else n2.style.width = e6 + "px", n2.style.height = r2 + "px";
2276
2277
  });
2277
2278
  }
2278
- function Cs() {
2279
- if (p.wrapper && !r.disableLayout && !bo.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2280
- let e6 = ws();
2281
- e6.presentationWidth > 0 && e6.presentationWidth <= r.scrollActivationWidth ? yo.isActive() || (vo.create(), yo.activate()) : yo.isActive() && yo.deactivate();
2279
+ function Ps() {
2280
+ if (p.wrapper && !r.disableLayout && !Mo.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2281
+ let e6 = Fs();
2282
+ e6.presentationWidth > 0 && e6.presentationWidth <= r.scrollActivationWidth ? jo.isActive() || (Ao.create(), jo.activate()) : jo.isActive() && jo.deactivate();
2282
2283
  }
2283
2284
  }
2284
- function ws(e6, t2) {
2285
+ function Fs(e6, t2) {
2285
2286
  let n2 = r.width, i2 = r.height;
2286
2287
  r.disableLayout && (n2 = p.slides.offsetWidth, i2 = p.slides.offsetHeight);
2287
2288
  let a2 = {
@@ -2292,58 +2293,58 @@ function Ut$1(e5, t) {
2292
2293
  };
2293
2294
  return a2.presentationWidth -= a2.presentationWidth * r.margin, a2.presentationHeight -= a2.presentationHeight * r.margin, typeof a2.width == "string" && /%$/.test(a2.width) && (a2.width = parseInt(a2.width, 10) / 100 * a2.presentationWidth), typeof a2.height == "string" && /%$/.test(a2.height) && (a2.height = parseInt(a2.height, 10) / 100 * a2.presentationHeight), a2;
2294
2295
  }
2295
- function Ts(e6, t2) {
2296
+ function Is(e6, t2) {
2296
2297
  typeof e6 == "object" && typeof e6.setAttribute == "function" && e6.setAttribute("data-previous-indexv", t2 || 0);
2297
2298
  }
2298
- function Es(e6) {
2299
+ function Ls(e6) {
2299
2300
  if (typeof e6 == "object" && typeof e6.setAttribute == "function" && e6.classList.contains("stack")) {
2300
2301
  let t2 = e6.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2301
2302
  return parseInt(e6.getAttribute(t2) || 0, 10);
2302
2303
  }
2303
2304
  return 0;
2304
2305
  }
2305
- function Ds(e6 = l) {
2306
+ function Rs(e6 = l) {
2306
2307
  return e6 && e6.parentNode && !!e6.parentNode.nodeName.match(/section/i);
2307
2308
  }
2308
- function Os(e6 = l) {
2309
+ function zs(e6 = l) {
2309
2310
  return e6.classList.contains(".stack") || e6.querySelector("section") !== null;
2310
2311
  }
2311
- function ks() {
2312
- return l && Ds(l) ? !l.nextElementSibling : false;
2312
+ function Bs() {
2313
+ return l && Rs(l) ? !l.nextElementSibling : false;
2313
2314
  }
2314
- function As() {
2315
+ function Vs() {
2315
2316
  return o === 0 && s === 0;
2316
2317
  }
2317
- function js() {
2318
- return l ? !(l.nextElementSibling || Ds(l) && l.parentNode.nextElementSibling) : false;
2318
+ function Hs() {
2319
+ return l ? !(l.nextElementSibling || Rs(l) && l.parentNode.nextElementSibling) : false;
2319
2320
  }
2320
- function Ms() {
2321
+ function Us() {
2321
2322
  if (r.pause) {
2322
2323
  let e6 = p.wrapper.classList.contains("paused");
2323
- pc(), p.wrapper.classList.add("paused"), e6 === false && vs({ type: "paused" });
2324
+ wc(), p.wrapper.classList.add("paused"), e6 === false && ks({ type: "paused" });
2324
2325
  }
2325
2326
  }
2326
- function Ns() {
2327
+ function Ws() {
2327
2328
  let e6 = p.wrapper.classList.contains("paused");
2328
- p.wrapper.classList.remove("paused"), fc(), e6 && vs({ type: "resumed" });
2329
+ p.wrapper.classList.remove("paused"), Cc(), e6 && ks({ type: "resumed" });
2329
2330
  }
2330
- function Ps(e6) {
2331
- typeof e6 == "boolean" ? e6 ? Ms() : Ns() : Fs() ? Ns() : Ms();
2331
+ function Gs(e6) {
2332
+ typeof e6 == "boolean" ? e6 ? Us() : Ws() : Ks() ? Ws() : Us();
2332
2333
  }
2333
- function Fs() {
2334
+ function Ks() {
2334
2335
  return p.wrapper.classList.contains("paused");
2335
2336
  }
2336
- function Is(e6) {
2337
- typeof e6 == "boolean" ? e6 ? go.show() : go.hide() : go.isVisible() ? go.hide() : go.show();
2337
+ function qs(e6) {
2338
+ typeof e6 == "boolean" ? e6 ? Oo.show() : Oo.hide() : Oo.isVisible() ? Oo.hide() : Oo.show();
2338
2339
  }
2339
- function Ls(e6) {
2340
- typeof e6 == "boolean" ? e6 ? hc() : mc() : po ? hc() : mc();
2340
+ function Js(e6) {
2341
+ typeof e6 == "boolean" ? e6 ? Ec() : Tc() : To ? Ec() : Tc();
2341
2342
  }
2342
- function Rs() {
2343
- return !!(co && !po);
2343
+ function Ys() {
2344
+ return !!(xo && !To);
2344
2345
  }
2345
- function zs(t2, n2, i2, a2) {
2346
- if (vs({
2346
+ function Xs(t2, n2, i2, a2) {
2347
+ if (ks({
2347
2348
  type: "beforeslidechange",
2348
2349
  data: {
2349
2350
  indexh: t2 === void 0 ? o : t2,
@@ -2353,90 +2354,90 @@ function Ut$1(e5, t) {
2353
2354
  }).defaultPrevented) return;
2354
2355
  c = l;
2355
2356
  let u2 = p.wrapper.querySelectorAll(te$2);
2356
- if (yo.isActive()) {
2357
- let e6 = yo.getSlideByIndices(t2, n2);
2358
- e6 && yo.scrollToSlide(e6);
2357
+ if (jo.isActive()) {
2358
+ let e6 = jo.getSlideByIndices(t2, n2);
2359
+ e6 && jo.scrollToSlide(e6);
2359
2360
  return;
2360
2361
  }
2361
2362
  if (u2.length === 0) return;
2362
- n2 === void 0 && !So.isActive() && (n2 = Es(u2[t2])), c && c.parentNode && c.parentNode.classList.contains("stack") && Ts(c.parentNode, s);
2363
- let ao2 = f.concat();
2363
+ n2 === void 0 && !Po.isActive() && (n2 = Ls(u2[t2])), c && c.parentNode && c.parentNode.classList.contains("stack") && Is(c.parentNode, s);
2364
+ let vo2 = f.concat();
2364
2365
  f.length = 0;
2365
- let oo2 = o || 0, co2 = s || 0;
2366
- o = Ks(te$2, t2 === void 0 ? o : t2), s = Ks(_e$1, n2 === void 0 ? s : n2);
2367
- let lo2 = o !== oo2 || s !== co2;
2368
- lo2 || (c = null);
2369
- let uo2 = u2[o], fo2 = uo2.querySelectorAll("section");
2370
- e5.classList.toggle("is-vertical-slide", fo2.length > 1), l = fo2[s] || uo2;
2371
- let po2 = false;
2372
- lo2 && c && l && !So.isActive() && (so = "running", po2 = Bs(c, l, oo2, co2), po2 && p.slides.classList.add("disable-slide-transitions")), Ys(), xs(), So.isActive() && So.update(), i2 !== void 0 && xo.goto(i2), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), As() && setTimeout(() => {
2373
- rc().forEach((e6) => {
2374
- Ts(e6, 0);
2366
+ let yo2 = o || 0, xo2 = s || 0;
2367
+ o = rc(te$2, t2 === void 0 ? o : t2), s = rc(_e$1, n2 === void 0 ? s : n2);
2368
+ let So2 = o !== yo2 || s !== xo2;
2369
+ So2 || (c = null);
2370
+ let Co2 = u2[o], wo2 = Co2.querySelectorAll("section");
2371
+ e5.classList.toggle("is-vertical-slide", wo2.length > 1), l = wo2[s] || Co2;
2372
+ let To2 = false;
2373
+ So2 && c && l && !Po.isActive() && (bo = "running", To2 = Zs(c, l, yo2, xo2), To2 && p.slides.classList.add("disable-slide-transitions")), oc(), Ms(), Po.isActive() && Po.update(), i2 !== void 0 && No.goto(i2), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), Vs() && setTimeout(() => {
2374
+ mc().forEach((e6) => {
2375
+ Is(e6, 0);
2375
2376
  });
2376
2377
  }, 0));
2377
2378
  e: for (let e6 = 0, t3 = f.length; e6 < t3; e6++) {
2378
- for (let t4 = 0; t4 < ao2.length; t4++) if (ao2[t4] === f[e6]) {
2379
- ao2.splice(t4, 1);
2379
+ for (let t4 = 0; t4 < vo2.length; t4++) if (vo2[t4] === f[e6]) {
2380
+ vo2.splice(t4, 1);
2380
2381
  continue e;
2381
2382
  }
2382
- p.viewport.classList.add(f[e6]), vs({ type: f[e6] });
2383
+ p.viewport.classList.add(f[e6]), ks({ type: f[e6] });
2383
2384
  }
2384
- for (; ao2.length; ) p.viewport.classList.remove(ao2.pop());
2385
- lo2 && (mo.afterSlideChanged(), ys(a2)), (lo2 || !c) && (mo.stopEmbeddedContent(c), mo.startEmbeddedContent(l)), requestAnimationFrame(() => {
2386
- Zo(Qo(l));
2387
- }), Eo.update(), To.update(), Mo.update(), vo.update(), vo.updateParallax(), ho.update(), xo.update(), wo.writeURL(), fc(), po2 && (setTimeout(() => {
2385
+ for (; vo2.length; ) p.viewport.classList.remove(vo2.pop());
2386
+ So2 && (Eo.afterSlideChanged(), As(a2)), (So2 || !c) && (Eo.stopEmbeddedContent(c), Eo.startEmbeddedContent(l)), requestAnimationFrame(() => {
2387
+ ds(fs(l));
2388
+ }), Ro.update(), Lo.update(), Wo.update(), Ao.update(), Ao.updateParallax(), Do.update(), No.update(), Io.writeURL(), Cc(), To2 && (setTimeout(() => {
2388
2389
  p.slides.classList.remove("disable-slide-transitions");
2389
- }, 0), r.autoAnimate && _o.run(c, l));
2390
+ }, 0), r.autoAnimate && ko.run(c, l));
2390
2391
  }
2391
- function Bs(e6, t2, n2, r2) {
2392
+ function Zs(e6, t2, n2, r2) {
2392
2393
  return e6.hasAttribute("data-auto-animate") && t2.hasAttribute("data-auto-animate") && e6.getAttribute("data-auto-animate-id") === t2.getAttribute("data-auto-animate-id") && !(o > n2 || s > r2 ? t2 : e6).hasAttribute("data-auto-animate-restart");
2393
2394
  }
2394
- function Vs(e6, t2, n2) {
2395
+ function Qs(e6, t2, n2) {
2395
2396
  let i2 = o || 0;
2396
2397
  o = t2, s = n2;
2397
2398
  let a2 = l !== e6;
2398
- c = l, l = e6, l && c && r.autoAnimate && Bs(c, l, i2, s) && _o.run(c, l), a2 && (mo.afterSlideChanged(), c && (mo.stopEmbeddedContent(c), mo.stopEmbeddedContent(c.slideBackgroundElement)), mo.startEmbeddedContent(l), mo.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2399
- Zo(Qo(l));
2400
- }), ys();
2399
+ c = l, l = e6, l && c && r.autoAnimate && Zs(c, l, i2, s) && ko.run(c, l), a2 && (Eo.afterSlideChanged(), c && (Eo.stopEmbeddedContent(c), Eo.stopEmbeddedContent(c.slideBackgroundElement)), Eo.startEmbeddedContent(l), Eo.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2400
+ ds(fs(l));
2401
+ }), As();
2401
2402
  }
2402
- function Hs() {
2403
- ps(), fs(), xs(), co = r.autoSlide, fc(), vo.create(), wo.writeURL(), r.sortFragmentsOnSync === true && xo.sortAll(), o !== void 0 && (o = Ks(te$2, o), s = Ks(_e$1, s)), To.update(), Eo.update(), Ys(), Mo.update(), Mo.updateVisibility(), ko.update(), vo.update(true), ho.update(), mo.formatEmbeddedContent(), r.autoPlayMedia === false ? mo.stopEmbeddedContent(l, { unloadIframes: false }) : mo.startEmbeddedContent(l), So.isActive() && So.layout(), vs({ type: "sync" });
2403
+ function $s() {
2404
+ ws(), Cs(), Ms(), xo = r.autoSlide, Cc(), Ao.create(), Io.writeURL(), r.sortFragmentsOnSync === true && No.sortAll(), o !== void 0 && (o = rc(te$2, o), s = rc(_e$1, s)), Lo.update(), Ro.update(), oc(), Wo.update(), Wo.updateVisibility(), Vo.update(), Ao.update(true), Do.update(), Eo.formatEmbeddedContent(), r.autoPlayMedia === false ? Eo.stopEmbeddedContent(l, { unloadIframes: false }) : Eo.startEmbeddedContent(l), Po.isActive() && Po.layout(), ks({ type: "sync" });
2404
2405
  }
2405
- function Us(e6 = l) {
2406
- vo.sync(e6), xo.sync(e6), mo.load(e6), vo.update(), Mo.update(), vs({
2406
+ function ec(e6 = l) {
2407
+ Ao.sync(e6), No.sync(e6), Eo.load(e6), Ao.update(), Wo.update(), ks({
2407
2408
  type: "slidesync",
2408
2409
  data: { slide: e6 }
2409
2410
  });
2410
2411
  }
2411
- function Ws() {
2412
- tc().forEach((e6) => {
2412
+ function tc() {
2413
+ fc().forEach((e6) => {
2413
2414
  E$2(e6, "section").forEach((e7, t2) => {
2414
2415
  t2 > 0 && (e7.classList.remove("present"), e7.classList.remove("past"), e7.classList.add("future"), e7.setAttribute("aria-hidden", "true"));
2415
2416
  });
2416
2417
  });
2417
2418
  }
2418
- function Gs(e6 = tc()) {
2419
+ function nc(e6 = fc()) {
2419
2420
  e6.forEach((t2, n2) => {
2420
2421
  let r2 = e6[Math.floor(Math.random() * e6.length)];
2421
2422
  r2.parentNode === t2.parentNode && t2.parentNode.insertBefore(t2, r2);
2422
2423
  let i2 = t2.querySelectorAll("section");
2423
- i2.length && Gs(i2);
2424
+ i2.length && nc(i2);
2424
2425
  });
2425
2426
  }
2426
- function Ks(e6, t2) {
2427
- let n2 = E$2(p.wrapper, e6), i2 = n2.length, a2 = yo.isActive() || bo.isActive(), o2 = false, s2 = false;
2427
+ function rc(e6, t2) {
2428
+ let n2 = E$2(p.wrapper, e6), i2 = n2.length, a2 = jo.isActive() || Mo.isActive(), o2 = false, s2 = false;
2428
2429
  if (i2) {
2429
2430
  r.loop && (t2 >= i2 && (o2 = true), t2 %= i2, t2 < 0 && (t2 = i2 + t2, s2 = true)), t2 = Math.max(Math.min(t2, i2 - 1), 0);
2430
2431
  for (let e8 = 0; e8 < i2; e8++) {
2431
- let i3 = n2[e8], c3 = r.rtl && !Ds(i3);
2432
+ let i3 = n2[e8], c3 = r.rtl && !Rs(i3);
2432
2433
  if (i3.classList.remove("past"), i3.classList.remove("present"), i3.classList.remove("future"), i3.setAttribute("hidden", ""), i3.setAttribute("aria-hidden", "true"), i3.querySelector("section") && i3.classList.add("stack"), a2) {
2433
2434
  i3.classList.add("present");
2434
2435
  continue;
2435
2436
  }
2436
- e8 < t2 ? (i3.classList.add(c3 ? "future" : "past"), r.fragments && qs(i3)) : e8 > t2 ? (i3.classList.add(c3 ? "past" : "future"), r.fragments && Js(i3)) : e8 === t2 && r.fragments && (o2 ? Js(i3) : s2 && qs(i3));
2437
+ e8 < t2 ? (i3.classList.add(c3 ? "future" : "past"), r.fragments && ic(i3)) : e8 > t2 ? (i3.classList.add(c3 ? "past" : "future"), r.fragments && ac(i3)) : e8 === t2 && r.fragments && (o2 ? ac(i3) : s2 && ic(i3));
2437
2438
  }
2438
2439
  let e7 = n2[t2], c2 = e7.classList.contains("present");
2439
- e7.classList.add("present"), e7.removeAttribute("hidden"), e7.removeAttribute("aria-hidden"), c2 || vs({
2440
+ e7.classList.add("present"), e7.removeAttribute("hidden"), e7.removeAttribute("aria-hidden"), c2 || ks({
2440
2441
  target: e7,
2441
2442
  type: "visible",
2442
2443
  bubbles: false
@@ -2446,35 +2447,35 @@ function Ut$1(e5, t) {
2446
2447
  } else t2 = 0;
2447
2448
  return t2;
2448
2449
  }
2449
- function qs(e6) {
2450
+ function ic(e6) {
2450
2451
  E$2(e6, ".fragment").forEach((e7) => {
2451
2452
  e7.classList.add("visible"), e7.classList.remove("current-fragment");
2452
2453
  });
2453
2454
  }
2454
- function Js(e6) {
2455
+ function ac(e6) {
2455
2456
  E$2(e6, ".fragment.visible").forEach((e7) => {
2456
2457
  e7.classList.remove("visible", "current-fragment");
2457
2458
  });
2458
2459
  }
2459
- function Ys() {
2460
- let e6 = tc(), t2 = e6.length, n2, i2;
2460
+ function oc() {
2461
+ let e6 = fc(), t2 = e6.length, n2, i2;
2461
2462
  if (t2 && o !== void 0) {
2462
- let a2 = So.isActive(), c2 = a2 ? 10 : r.viewDistance;
2463
- le$2 && (c2 = a2 ? 6 : r.mobileViewDistance), bo.isActive() && (c2 = Number.MAX_VALUE);
2463
+ let a2 = Po.isActive(), c2 = a2 ? 10 : r.viewDistance;
2464
+ le$2 && (c2 = a2 ? 6 : r.mobileViewDistance), Mo.isActive() && (c2 = Number.MAX_VALUE);
2464
2465
  for (let l2 = 0; l2 < t2; l2++) {
2465
- let u2 = e6[l2], f2 = E$2(u2, "section"), ao2 = f2.length;
2466
- if (n2 = Math.abs((o || 0) - l2) || 0, r.loop && (n2 = Math.abs(((o || 0) - l2) % (t2 - c2)) || 0), n2 < c2 ? mo.load(u2) : mo.unload(u2), ao2) {
2467
- let e7 = a2 ? 0 : Es(u2);
2468
- for (let t3 = 0; t3 < ao2; t3++) {
2466
+ let u2 = e6[l2], f2 = E$2(u2, "section"), vo2 = f2.length;
2467
+ if (n2 = Math.abs((o || 0) - l2) || 0, r.loop && (n2 = Math.abs(((o || 0) - l2) % (t2 - c2)) || 0), n2 < c2 ? Eo.load(u2) : Eo.unload(u2), vo2) {
2468
+ let e7 = a2 ? 0 : Ls(u2);
2469
+ for (let t3 = 0; t3 < vo2; t3++) {
2469
2470
  let r2 = f2[t3];
2470
- i2 = Math.abs(l2 === (o || 0) ? (s || 0) - t3 : t3 - e7), n2 + i2 < c2 ? mo.load(r2) : mo.unload(r2);
2471
+ i2 = Math.abs(l2 === (o || 0) ? (s || 0) - t3 : t3 - e7), n2 + i2 < c2 ? Eo.load(r2) : Eo.unload(r2);
2471
2472
  }
2472
2473
  }
2473
2474
  }
2474
- ac() ? p.wrapper.classList.add("has-vertical-slides") : p.wrapper.classList.remove("has-vertical-slides"), ic() ? p.wrapper.classList.add("has-horizontal-slides") : p.wrapper.classList.remove("has-horizontal-slides");
2475
+ gc() ? p.wrapper.classList.add("has-vertical-slides") : p.wrapper.classList.remove("has-vertical-slides"), hc() ? p.wrapper.classList.add("has-horizontal-slides") : p.wrapper.classList.remove("has-horizontal-slides");
2475
2476
  }
2476
2477
  }
2477
- function Xs({ includeFragments: e6 = false } = {}) {
2478
+ function sc({ includeFragments: e6 = false } = {}) {
2478
2479
  let t2 = p.wrapper.querySelectorAll(te$2), n2 = p.wrapper.querySelectorAll(_e$1), i2 = {
2479
2480
  left: o > 0,
2480
2481
  right: o < t2.length - 1,
@@ -2482,7 +2483,7 @@ function Ut$1(e5, t) {
2482
2483
  down: s < n2.length - 1
2483
2484
  };
2484
2485
  if (r.loop && (t2.length > 1 && (i2.left = true, i2.right = true), n2.length > 1 && (i2.up = true, i2.down = true)), t2.length > 1 && r.navigationMode === "linear" && (i2.right = i2.right || i2.down, i2.left = i2.left || i2.up), e6 === true) {
2485
- let e7 = xo.availableRoutes();
2486
+ let e7 = No.availableRoutes();
2486
2487
  i2.left = i2.left || e7.prev, i2.up = i2.up || e7.prev, i2.down = i2.down || e7.next, i2.right = i2.right || e7.next;
2487
2488
  }
2488
2489
  if (r.rtl) {
@@ -2491,8 +2492,8 @@ function Ut$1(e5, t) {
2491
2492
  }
2492
2493
  return i2;
2493
2494
  }
2494
- function Zs(e6 = l) {
2495
- let t2 = tc(), n2 = 0;
2495
+ function cc(e6 = l) {
2496
+ let t2 = fc(), n2 = 0;
2496
2497
  e: for (let r2 = 0; r2 < t2.length; r2++) {
2497
2498
  let i2 = t2[r2], a2 = i2.querySelectorAll("section");
2498
2499
  for (let t3 = 0; t3 < a2.length; t3++) {
@@ -2504,8 +2505,8 @@ function Ut$1(e5, t) {
2504
2505
  }
2505
2506
  return n2;
2506
2507
  }
2507
- function Qs() {
2508
- let e6 = sc(), t2 = Zs();
2508
+ function lc() {
2509
+ let e6 = vc(), t2 = cc();
2509
2510
  if (l) {
2510
2511
  let e7 = l.querySelectorAll(".fragment");
2511
2512
  if (e7.length > 0) {
@@ -2515,11 +2516,11 @@ function Ut$1(e5, t) {
2515
2516
  }
2516
2517
  return Math.min(t2 / (e6 - 1), 1);
2517
2518
  }
2518
- function $s(e6) {
2519
+ function uc(e6) {
2519
2520
  let t2 = o, n2 = s, r2;
2520
- if (e6) if (yo.isActive()) t2 = parseInt(e6.getAttribute("data-index-h"), 10), e6.getAttribute("data-index-v") && (n2 = parseInt(e6.getAttribute("data-index-v"), 10));
2521
+ if (e6) if (jo.isActive()) t2 = parseInt(e6.getAttribute("data-index-h"), 10), e6.getAttribute("data-index-v") && (n2 = parseInt(e6.getAttribute("data-index-v"), 10));
2521
2522
  else {
2522
- let r3 = Ds(e6), i2 = r3 ? e6.parentNode : e6, a2 = tc();
2523
+ let r3 = Rs(e6), i2 = r3 ? e6.parentNode : e6, a2 = fc();
2523
2524
  t2 = Math.max(a2.indexOf(i2), 0), n2 = void 0, r3 && (n2 = Math.max(E$2(e6.parentNode, "section").indexOf(e6), 0));
2524
2525
  }
2525
2526
  if (!e6 && l && l.querySelectorAll(".fragment").length > 0) {
@@ -2532,26 +2533,26 @@ function Ut$1(e5, t) {
2532
2533
  f: r2
2533
2534
  };
2534
2535
  }
2535
- function ec() {
2536
+ function dc() {
2536
2537
  return E$2(p.wrapper, de$1 + ':not(.stack):not([data-visibility="uncounted"])');
2537
2538
  }
2538
- function tc() {
2539
+ function fc() {
2539
2540
  return E$2(p.wrapper, te$2);
2540
2541
  }
2541
- function nc() {
2542
+ function pc() {
2542
2543
  return E$2(p.wrapper, ".slides>section>section");
2543
2544
  }
2544
- function rc() {
2545
+ function mc() {
2545
2546
  return E$2(p.wrapper, te$2 + ".stack");
2546
2547
  }
2547
- function ic() {
2548
- return tc().length > 1;
2548
+ function hc() {
2549
+ return fc().length > 1;
2549
2550
  }
2550
- function ac() {
2551
- return nc().length > 1;
2551
+ function gc() {
2552
+ return pc().length > 1;
2552
2553
  }
2553
- function oc() {
2554
- return ec().map((e6) => {
2554
+ function _c() {
2555
+ return dc().map((e6) => {
2555
2556
  let t2 = {};
2556
2557
  for (let n2 = 0; n2 < e6.attributes.length; n2++) {
2557
2558
  let r2 = e6.attributes[n2];
@@ -2560,102 +2561,102 @@ function Ut$1(e5, t) {
2560
2561
  return t2;
2561
2562
  });
2562
2563
  }
2563
- function sc() {
2564
- return ec().length;
2564
+ function vc() {
2565
+ return dc().length;
2565
2566
  }
2566
- function cc(e6, t2) {
2567
- let n2 = tc()[e6], r2 = n2 && n2.querySelectorAll("section");
2567
+ function yc(e6, t2) {
2568
+ let n2 = fc()[e6], r2 = n2 && n2.querySelectorAll("section");
2568
2569
  return r2 && r2.length && typeof t2 == "number" ? r2 ? r2[t2] : void 0 : n2;
2569
2570
  }
2570
- function lc(e6, t2) {
2571
- let n2 = typeof e6 == "number" ? cc(e6, t2) : e6;
2571
+ function bc(e6, t2) {
2572
+ let n2 = typeof e6 == "number" ? yc(e6, t2) : e6;
2572
2573
  if (n2) return n2.slideBackgroundElement;
2573
2574
  }
2574
- function uc() {
2575
- let e6 = $s();
2575
+ function xc() {
2576
+ let e6 = uc();
2576
2577
  return Q$2({
2577
2578
  indexh: e6.h,
2578
2579
  indexv: e6.v,
2579
2580
  indexf: e6.f,
2580
- paused: Fs(),
2581
- overview: So.isActive()
2582
- }, ko.getState());
2581
+ paused: Ks(),
2582
+ overview: Po.isActive()
2583
+ }, Vo.getState());
2583
2584
  }
2584
- function dc(e6) {
2585
+ function Sc(e6) {
2585
2586
  if (typeof e6 == "object") {
2586
- zs(fe$1(e6.indexh), fe$1(e6.indexv), fe$1(e6.indexf));
2587
+ Xs(fe$1(e6.indexh), fe$1(e6.indexv), fe$1(e6.indexf));
2587
2588
  let t2 = fe$1(e6.paused), n2 = fe$1(e6.overview);
2588
- typeof t2 == "boolean" && t2 !== Fs() && Ps(t2), typeof n2 == "boolean" && n2 !== So.isActive() && So.toggle(n2), ko.setState(e6);
2589
+ typeof t2 == "boolean" && t2 !== Ks() && Gs(t2), typeof n2 == "boolean" && n2 !== Po.isActive() && Po.toggle(n2), Vo.setState(e6);
2589
2590
  }
2590
2591
  }
2591
- function fc() {
2592
- if (pc(), l && r.autoSlide !== false) {
2592
+ function Cc() {
2593
+ if (wc(), l && r.autoSlide !== false) {
2593
2594
  let e6 = l.querySelector(".current-fragment[data-autoslide]"), t2 = e6 ? e6.getAttribute("data-autoslide") : null, n2 = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i2 = l.getAttribute("data-autoslide");
2594
- t2 ? co = parseInt(t2, 10) : i2 ? co = parseInt(i2, 10) : n2 ? co = parseInt(n2, 10) : (co = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && E$2(l, "video, audio").forEach((e7) => {
2595
- e7.hasAttribute("data-autoplay") && co && e7.duration * 1e3 / e7.playbackRate > co && (co = e7.duration * 1e3 / e7.playbackRate + 1e3);
2596
- })), co && !po && !Fs() && !So.isActive() && (!js() || xo.availableRoutes().next || r.loop === true) && (uo = setTimeout(() => {
2597
- typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : xc(), fc();
2598
- }, co), fo = Date.now()), lo && lo.setPlaying(uo !== -1);
2595
+ t2 ? xo = parseInt(t2, 10) : i2 ? xo = parseInt(i2, 10) : n2 ? xo = parseInt(n2, 10) : (xo = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && E$2(l, "video, audio").forEach((e7) => {
2596
+ e7.hasAttribute("data-autoplay") && xo && e7.duration * 1e3 / e7.playbackRate > xo && (xo = e7.duration * 1e3 / e7.playbackRate + 1e3);
2597
+ })), xo && !To && !Ks() && !Po.isActive() && (!Hs() || No.availableRoutes().next || r.loop === true) && (Co = setTimeout(() => {
2598
+ typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Mc(), Cc();
2599
+ }, xo), wo = Date.now()), So && So.setPlaying(Co !== -1);
2599
2600
  }
2600
2601
  }
2601
- function pc() {
2602
- clearTimeout(uo), uo = -1;
2602
+ function wc() {
2603
+ clearTimeout(Co), Co = -1;
2603
2604
  }
2604
- function mc() {
2605
- co && !po && (po = true, vs({ type: "autoslidepaused" }), clearTimeout(uo), lo && lo.setPlaying(false));
2605
+ function Tc() {
2606
+ xo && !To && (To = true, ks({ type: "autoslidepaused" }), clearTimeout(Co), So && So.setPlaying(false));
2606
2607
  }
2607
- function hc() {
2608
- co && po && (po = false, vs({ type: "autoslideresumed" }), fc());
2608
+ function Ec() {
2609
+ xo && To && (To = false, ks({ type: "autoslideresumed" }), Cc());
2609
2610
  }
2610
- function gc({ skipFragments: e6 = false } = {}) {
2611
- if (u.hasNavigatedHorizontally = true, yo.isActive()) return yo.prev();
2612
- r.rtl ? (So.isActive() || e6 || xo.next() === false) && Xs().left && zs(o + 1, r.navigationMode === "grid" ? s : void 0) : (So.isActive() || e6 || xo.prev() === false) && Xs().left && zs(o - 1, r.navigationMode === "grid" ? s : void 0);
2611
+ function Dc({ skipFragments: e6 = false } = {}) {
2612
+ if (u.hasNavigatedHorizontally = true, jo.isActive()) return jo.prev();
2613
+ r.rtl ? (Po.isActive() || e6 || No.next() === false) && sc().left && Xs(o + 1, r.navigationMode === "grid" ? s : void 0) : (Po.isActive() || e6 || No.prev() === false) && sc().left && Xs(o - 1, r.navigationMode === "grid" ? s : void 0);
2613
2614
  }
2614
- function _c({ skipFragments: e6 = false } = {}) {
2615
- if (u.hasNavigatedHorizontally = true, yo.isActive()) return yo.next();
2616
- r.rtl ? (So.isActive() || e6 || xo.prev() === false) && Xs().right && zs(o - 1, r.navigationMode === "grid" ? s : void 0) : (So.isActive() || e6 || xo.next() === false) && Xs().right && zs(o + 1, r.navigationMode === "grid" ? s : void 0);
2615
+ function Oc({ skipFragments: e6 = false } = {}) {
2616
+ if (u.hasNavigatedHorizontally = true, jo.isActive()) return jo.next();
2617
+ r.rtl ? (Po.isActive() || e6 || No.prev() === false) && sc().right && Xs(o - 1, r.navigationMode === "grid" ? s : void 0) : (Po.isActive() || e6 || No.next() === false) && sc().right && Xs(o + 1, r.navigationMode === "grid" ? s : void 0);
2617
2618
  }
2618
- function vc({ skipFragments: e6 = false } = {}) {
2619
- if (yo.isActive()) return yo.prev();
2620
- (So.isActive() || e6 || xo.prev() === false) && Xs().up && zs(o, s - 1);
2619
+ function kc({ skipFragments: e6 = false } = {}) {
2620
+ if (jo.isActive()) return jo.prev();
2621
+ (Po.isActive() || e6 || No.prev() === false) && sc().up && Xs(o, s - 1);
2621
2622
  }
2622
- function yc({ skipFragments: e6 = false } = {}) {
2623
- if (u.hasNavigatedVertically = true, yo.isActive()) return yo.next();
2624
- (So.isActive() || e6 || xo.next() === false) && Xs().down && zs(o, s + 1);
2623
+ function Ac({ skipFragments: e6 = false } = {}) {
2624
+ if (u.hasNavigatedVertically = true, jo.isActive()) return jo.next();
2625
+ (Po.isActive() || e6 || No.next() === false) && sc().down && Xs(o, s + 1);
2625
2626
  }
2626
- function bc({ skipFragments: e6 = false } = {}) {
2627
- if (yo.isActive()) return yo.prev();
2628
- if (e6 || xo.prev() === false) if (Xs().up) vc({ skipFragments: e6 });
2627
+ function jc({ skipFragments: e6 = false } = {}) {
2628
+ if (jo.isActive()) return jo.prev();
2629
+ if (e6 || No.prev() === false) if (sc().up) kc({ skipFragments: e6 });
2629
2630
  else {
2630
2631
  let t2;
2631
2632
  if (t2 = r.rtl ? E$2(p.wrapper, te$2 + ".future").pop() : E$2(p.wrapper, te$2 + ".past").pop(), t2 && t2.classList.contains("stack")) {
2632
2633
  let e7 = t2.querySelectorAll("section").length - 1 || void 0;
2633
- zs(o - 1, e7);
2634
- } else r.rtl ? _c({ skipFragments: e6 }) : gc({ skipFragments: e6 });
2634
+ Xs(o - 1, e7);
2635
+ } else r.rtl ? Oc({ skipFragments: e6 }) : Dc({ skipFragments: e6 });
2635
2636
  }
2636
2637
  }
2637
- function xc({ skipFragments: e6 = false } = {}) {
2638
- if (u.hasNavigatedHorizontally = true, u.hasNavigatedVertically = true, yo.isActive()) return yo.next();
2639
- if (e6 || xo.next() === false) {
2640
- let t2 = Xs();
2641
- t2.down && t2.right && r.loop && ks() && (t2.down = false), t2.down ? yc({ skipFragments: e6 }) : r.rtl ? gc({ skipFragments: e6 }) : _c({ skipFragments: e6 });
2638
+ function Mc({ skipFragments: e6 = false } = {}) {
2639
+ if (u.hasNavigatedHorizontally = true, u.hasNavigatedVertically = true, jo.isActive()) return jo.next();
2640
+ if (e6 || No.next() === false) {
2641
+ let t2 = sc();
2642
+ t2.down && t2.right && r.loop && Bs() && (t2.down = false), t2.down ? Ac({ skipFragments: e6 }) : r.rtl ? Dc({ skipFragments: e6 }) : Oc({ skipFragments: e6 });
2642
2643
  }
2643
2644
  }
2644
- function Sc(e6) {
2645
- r.autoSlideStoppable && mc();
2645
+ function Nc(e6) {
2646
+ r.autoSlideStoppable && Tc();
2646
2647
  }
2647
- function Cc(e6) {
2648
+ function Pc(e6) {
2648
2649
  let t2 = e6.data;
2649
2650
  if (typeof t2 == "string" && t2.charAt(0) === "{" && t2.charAt(t2.length - 1) === "}" && (t2 = JSON.parse(t2), t2.method && typeof n[t2.method] == "function")) if (Li.test(t2.method) === false) {
2650
2651
  let e7 = n[t2.method].apply(n, t2.args);
2651
- bs("callback", {
2652
+ js("callback", {
2652
2653
  method: t2.method,
2653
2654
  result: e7
2654
2655
  });
2655
2656
  } else console.warn('reveal.js: "' + t2.method + '" is is blacklisted from the postMessage API');
2656
2657
  }
2657
- function wc(e6) {
2658
- so === "running" && /section/gi.test(e6.target.nodeName) && (so = "idle", vs({
2658
+ function Fc(e6) {
2659
+ bo === "running" && /section/gi.test(e6.target.nodeName) && (bo = "idle", ks({
2659
2660
  type: "slidetransitionend",
2660
2661
  data: {
2661
2662
  indexh: o,
@@ -2665,153 +2666,153 @@ function Ut$1(e5, t) {
2665
2666
  }
2666
2667
  }));
2667
2668
  }
2668
- function Tc(e6) {
2669
+ function Ic(e6) {
2669
2670
  let t2 = V$1(e6.target, 'a[href^="#"]');
2670
2671
  if (t2) {
2671
- let r2 = t2.getAttribute("href"), i2 = wo.getIndicesFromHash(r2);
2672
+ let r2 = t2.getAttribute("href"), i2 = Io.getIndicesFromHash(r2);
2672
2673
  i2 && (n.slide(i2.h, i2.v, i2.f), e6.preventDefault());
2673
2674
  }
2674
2675
  }
2675
- function Ec(e6) {
2676
- xs();
2676
+ function Lc(e6) {
2677
+ Ms();
2677
2678
  }
2678
- function Dc(e6) {
2679
+ function Rc(e6) {
2679
2680
  document.hidden === false && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
2680
2681
  }
2681
- function Oc(e6) {
2682
+ function zc(e6) {
2682
2683
  (document.fullscreenElement || document.webkitFullscreenElement) === p.wrapper && (e6.stopImmediatePropagation(), setTimeout(() => {
2683
2684
  n.layout(), n.focus.focus();
2684
2685
  }, 1));
2685
2686
  }
2686
- function kc(e6) {
2687
- js() && r.loop === false ? (zs(0, 0), hc()) : po ? hc() : mc();
2687
+ function Bc(e6) {
2688
+ Hs() && r.loop === false ? (Xs(0, 0), Ec()) : To ? Ec() : Tc();
2688
2689
  }
2689
- let Ac = {
2690
+ let Vc = {
2690
2691
  VERSION: Ot$1,
2691
- initialize: Fo,
2692
- configure: ds,
2693
- destroy: ms,
2694
- sync: Hs,
2695
- syncSlide: Us,
2696
- syncFragments: xo.sync.bind(xo),
2697
- slide: zs,
2698
- left: gc,
2699
- right: _c,
2700
- up: vc,
2701
- down: yc,
2702
- prev: bc,
2703
- next: xc,
2704
- navigateLeft: gc,
2705
- navigateRight: _c,
2706
- navigateUp: vc,
2707
- navigateDown: yc,
2708
- navigatePrev: bc,
2709
- navigateNext: xc,
2710
- navigateFragment: xo.goto.bind(xo),
2711
- prevFragment: xo.prev.bind(xo),
2712
- nextFragment: xo.next.bind(xo),
2713
- on: hs,
2714
- off: gs,
2715
- addEventListener: hs,
2716
- removeEventListener: gs,
2717
- layout: xs,
2718
- shuffle: Gs,
2719
- availableRoutes: Xs,
2720
- availableFragments: xo.availableRoutes.bind(xo),
2721
- toggleHelp: ko.toggleHelp.bind(ko),
2722
- toggleOverview: So.toggle.bind(So),
2723
- toggleScrollView: yo.toggle.bind(yo),
2724
- togglePause: Ps,
2725
- toggleAutoSlide: Ls,
2726
- toggleJumpToSlide: Is,
2727
- isFirstSlide: As,
2728
- isLastSlide: js,
2729
- isLastVerticalSlide: ks,
2730
- isVerticalSlide: Ds,
2731
- isVerticalStack: Os,
2732
- isPaused: Fs,
2733
- isAutoSliding: Rs,
2734
- isSpeakerNotes: Mo.isSpeakerNotesWindow.bind(Mo),
2735
- isOverview: So.isActive.bind(So),
2736
- isFocused: Ao.isFocused.bind(Ao),
2737
- isOverlayOpen: ko.isOpen.bind(ko),
2738
- isScrollView: yo.isActive.bind(yo),
2739
- isPrintView: bo.isActive.bind(bo),
2692
+ initialize: Go,
2693
+ configure: Ss,
2694
+ destroy: Ts,
2695
+ sync: $s,
2696
+ syncSlide: ec,
2697
+ syncFragments: No.sync.bind(No),
2698
+ slide: Xs,
2699
+ left: Dc,
2700
+ right: Oc,
2701
+ up: kc,
2702
+ down: Ac,
2703
+ prev: jc,
2704
+ next: Mc,
2705
+ navigateLeft: Dc,
2706
+ navigateRight: Oc,
2707
+ navigateUp: kc,
2708
+ navigateDown: Ac,
2709
+ navigatePrev: jc,
2710
+ navigateNext: Mc,
2711
+ navigateFragment: No.goto.bind(No),
2712
+ prevFragment: No.prev.bind(No),
2713
+ nextFragment: No.next.bind(No),
2714
+ on: Es,
2715
+ off: Ds,
2716
+ addEventListener: Es,
2717
+ removeEventListener: Ds,
2718
+ layout: Ms,
2719
+ shuffle: nc,
2720
+ availableRoutes: sc,
2721
+ availableFragments: No.availableRoutes.bind(No),
2722
+ toggleHelp: Vo.toggleHelp.bind(Vo),
2723
+ toggleOverview: Po.toggle.bind(Po),
2724
+ toggleScrollView: jo.toggle.bind(jo),
2725
+ togglePause: Gs,
2726
+ toggleAutoSlide: Js,
2727
+ toggleJumpToSlide: qs,
2728
+ isFirstSlide: Vs,
2729
+ isLastSlide: Hs,
2730
+ isLastVerticalSlide: Bs,
2731
+ isVerticalSlide: Rs,
2732
+ isVerticalStack: zs,
2733
+ isPaused: Ks,
2734
+ isAutoSliding: Ys,
2735
+ isSpeakerNotes: Wo.isSpeakerNotesWindow.bind(Wo),
2736
+ isOverview: Po.isActive.bind(Po),
2737
+ isFocused: Ho.isFocused.bind(Ho),
2738
+ isOverlayOpen: Vo.isOpen.bind(Vo),
2739
+ isScrollView: jo.isActive.bind(jo),
2740
+ isPrintView: Mo.isActive.bind(Mo),
2740
2741
  isReady: () => a,
2741
- loadSlide: mo.load.bind(mo),
2742
- unloadSlide: mo.unload.bind(mo),
2743
- startEmbeddedContent: () => mo.startEmbeddedContent(l),
2744
- stopEmbeddedContent: () => mo.stopEmbeddedContent(l, { unloadIframes: false }),
2745
- previewIframe: ko.previewIframe.bind(ko),
2746
- previewImage: ko.previewImage.bind(ko),
2747
- previewVideo: ko.previewVideo.bind(ko),
2748
- showPreview: ko.previewIframe.bind(ko),
2749
- hidePreview: ko.close.bind(ko),
2750
- addEventListeners: fs,
2751
- removeEventListeners: ps,
2752
- dispatchEvent: vs,
2753
- getState: uc,
2754
- setState: dc,
2755
- getProgress: Qs,
2756
- getIndices: $s,
2757
- getSlidesAttributes: oc,
2758
- getSlidePastCount: Zs,
2759
- getTotalSlides: sc,
2760
- getSlide: cc,
2742
+ loadSlide: Eo.load.bind(Eo),
2743
+ unloadSlide: Eo.unload.bind(Eo),
2744
+ startEmbeddedContent: () => Eo.startEmbeddedContent(l),
2745
+ stopEmbeddedContent: () => Eo.stopEmbeddedContent(l, { unloadIframes: false }),
2746
+ previewIframe: Vo.previewIframe.bind(Vo),
2747
+ previewImage: Vo.previewImage.bind(Vo),
2748
+ previewVideo: Vo.previewVideo.bind(Vo),
2749
+ showPreview: Vo.previewIframe.bind(Vo),
2750
+ hidePreview: Vo.close.bind(Vo),
2751
+ addEventListeners: Cs,
2752
+ removeEventListeners: ws,
2753
+ dispatchEvent: ks,
2754
+ getState: xc,
2755
+ setState: Sc,
2756
+ getProgress: lc,
2757
+ getIndices: uc,
2758
+ getSlidesAttributes: _c,
2759
+ getSlidePastCount: cc,
2760
+ getTotalSlides: vc,
2761
+ getSlide: yc,
2761
2762
  getPreviousSlide: () => c,
2762
2763
  getCurrentSlide: () => l,
2763
- getSlideBackground: lc,
2764
- getSlideNotes: Mo.getSlideNotes.bind(Mo),
2765
- getSlides: ec,
2766
- getHorizontalSlides: tc,
2767
- getVerticalSlides: nc,
2768
- hasHorizontalSlides: ic,
2769
- hasVerticalSlides: ac,
2764
+ getSlideBackground: bc,
2765
+ getSlideNotes: Wo.getSlideNotes.bind(Wo),
2766
+ getSlides: dc,
2767
+ getHorizontalSlides: fc,
2768
+ getVerticalSlides: pc,
2769
+ hasHorizontalSlides: hc,
2770
+ hasVerticalSlides: gc,
2770
2771
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2771
2772
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2772
- shouldAutoAnimateBetween: Bs,
2773
- addKeyBinding: Co.addKeyBinding.bind(Co),
2774
- removeKeyBinding: Co.removeKeyBinding.bind(Co),
2775
- triggerKey: Co.triggerKey.bind(Co),
2776
- registerKeyboardShortcut: Co.registerKeyboardShortcut.bind(Co),
2777
- getComputedSlideSize: ws,
2778
- setCurrentScrollPage: Vs,
2779
- removeHiddenSlides: Ko,
2780
- getScale: () => ao,
2773
+ shouldAutoAnimateBetween: Zs,
2774
+ addKeyBinding: Fo.addKeyBinding.bind(Fo),
2775
+ removeKeyBinding: Fo.removeKeyBinding.bind(Fo),
2776
+ triggerKey: Fo.triggerKey.bind(Fo),
2777
+ registerKeyboardShortcut: Fo.registerKeyboardShortcut.bind(Fo),
2778
+ getComputedSlideSize: Fs,
2779
+ setCurrentScrollPage: Qs,
2780
+ removeHiddenSlides: is,
2781
+ getScale: () => vo,
2781
2782
  getConfig: () => r,
2782
2783
  getQueryHash: Mt$1,
2783
- getSlidePath: wo.getHash.bind(wo),
2784
+ getSlidePath: Io.getHash.bind(Io),
2784
2785
  getRevealElement: () => e5,
2785
2786
  getSlidesElement: () => p.slides,
2786
2787
  getViewportElement: () => p.viewport,
2787
- getBackgroundsElement: () => vo.element,
2788
- registerPlugin: Oo.registerPlugin.bind(Oo),
2789
- hasPlugin: Oo.hasPlugin.bind(Oo),
2790
- getPlugin: Oo.getPlugin.bind(Oo),
2791
- getPlugins: Oo.getRegisteredPlugins.bind(Oo)
2788
+ getBackgroundsElement: () => Ao.element,
2789
+ registerPlugin: Bo.registerPlugin.bind(Bo),
2790
+ hasPlugin: Bo.hasPlugin.bind(Bo),
2791
+ getPlugin: Bo.getPlugin.bind(Bo),
2792
+ getPlugins: Bo.getRegisteredPlugins.bind(Bo)
2792
2793
  };
2793
- return ge$1(n, We$1(Q$2({}, Ac), {
2794
- announceStatus: Zo,
2795
- getStatusText: Qo,
2796
- focus: Ao,
2797
- scroll: yo,
2798
- progress: Eo,
2799
- controls: To,
2800
- location: wo,
2801
- overview: So,
2802
- keyboard: Co,
2803
- fragments: xo,
2804
- backgrounds: vo,
2805
- slideContent: mo,
2806
- slideNumber: ho,
2807
- onUserInput: Sc,
2808
- closeOverlay: ko.close.bind(ko),
2809
- updateSlidesVisibility: Ys,
2810
- layoutSlideContents: Ss,
2811
- transformSlides: _s,
2812
- cueAutoSlide: fc,
2813
- cancelAutoSlide: pc
2814
- })), Ac;
2794
+ return ge$1(n, We$1(Q$2({}, Vc), {
2795
+ announceStatus: ds,
2796
+ getStatusText: fs,
2797
+ focus: Ho,
2798
+ scroll: jo,
2799
+ progress: Ro,
2800
+ controls: Lo,
2801
+ location: Io,
2802
+ overview: Po,
2803
+ keyboard: Fo,
2804
+ fragments: No,
2805
+ backgrounds: Ao,
2806
+ slideContent: Eo,
2807
+ slideNumber: Do,
2808
+ onUserInput: Nc,
2809
+ closeOverlay: Vo.close.bind(Vo),
2810
+ updateSlidesVisibility: oc,
2811
+ layoutSlideContents: Ns,
2812
+ transformSlides: Os,
2813
+ cueAutoSlide: Cc,
2814
+ cancelAutoSlide: wc
2815
+ })), Vc;
2815
2816
  }
2816
2817
  var ce$1 = Ut$1, qt$1 = [];
2817
2818
  ce$1.initialize = (e5) => {
@@ -2856,36 +2857,36 @@ function v$1(e5, t, n) {
2856
2857
  function y(e5, t, n) {
2857
2858
  return e5 ? JSON.stringify(v$1(e5, t, n)) : "[]";
2858
2859
  }
2859
- function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: f, onResumed: ao, deckRef: oo, className: p, style: so, children: co }) {
2860
- let lo = (0, import_react.useRef)(null), uo = (0, import_react.useRef)(null), fo = (0, import_react.useRef)(null), [po, mo] = (0, import_react.useState)(null), ho = (0, import_react.useRef)(t), go = (0, import_react.useRef)(false), _o = (0, import_react.useRef)(e5), vo = (0, import_react.useRef)(null), yo = (0, import_react.useRef)(/* @__PURE__ */ new WeakMap()), bo = (0, import_react.useRef)(1), xo = (0, import_react.useRef)(false), So = (0, import_react.useRef)(0);
2860
+ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: f, onResumed: vo, deckRef: yo, className: p, style: bo, children: xo }) {
2861
+ let So = (0, import_react.useRef)(null), Co = (0, import_react.useRef)(null), wo = (0, import_react.useRef)(null), [To, Eo] = (0, import_react.useState)(null), Do = (0, import_react.useRef)(t), Oo = (0, import_react.useRef)(false), ko = (0, import_react.useRef)(e5), Ao = (0, import_react.useRef)(null), jo = (0, import_react.useRef)(/* @__PURE__ */ new WeakMap()), Mo = (0, import_react.useRef)(1), No = (0, import_react.useRef)(false), Po = (0, import_react.useRef)(0);
2861
2862
  return (0, import_react.useEffect)(() => {
2862
- if (xo.current = true, So.current += 1, fo.current) fo.current.isReady() && mo(fo.current);
2863
+ if (No.current = true, Po.current += 1, wo.current) wo.current.isReady() && Eo(wo.current);
2863
2864
  else {
2864
- let t2 = new ce$1(lo.current, {
2865
+ let t2 = new ce$1(So.current, {
2865
2866
  ...e5,
2866
- plugins: ho.current
2867
+ plugins: Do.current
2867
2868
  });
2868
- _o.current = e5, fo.current = t2, t2.initialize().then(() => {
2869
- !xo.current || fo.current !== t2 || (mo(t2), n == null ? void 0 : n(t2));
2869
+ ko.current = e5, wo.current = t2, t2.initialize().then(() => {
2870
+ !No.current || wo.current !== t2 || (Eo(t2), n == null ? void 0 : n(t2));
2870
2871
  });
2871
2872
  }
2872
2873
  return () => {
2873
- xo.current = false;
2874
- let e6 = fo.current;
2874
+ No.current = false;
2875
+ let e6 = wo.current;
2875
2876
  if (!e6) return;
2876
- let t2 = ++So.current;
2877
+ let t2 = ++Po.current;
2877
2878
  Promise.resolve().then(() => {
2878
- if (!(xo.current || So.current !== t2) && fo.current === e6) {
2879
+ if (!(No.current || Po.current !== t2) && wo.current === e6) {
2879
2880
  try {
2880
2881
  e6.destroy();
2881
2882
  } catch {
2882
2883
  }
2883
- fo.current === e6 && (fo.current = null);
2884
+ wo.current === e6 && (wo.current = null);
2884
2885
  }
2885
2886
  });
2886
2887
  };
2887
- }, []), (0, import_react.useEffect)(() => (g(oo, po), () => g(oo, null)), [oo, po]), (0, import_react.useEffect)(() => {
2888
- if (!po) return;
2888
+ }, []), (0, import_react.useEffect)(() => (g(yo, To), () => g(yo, null)), [yo, To]), (0, import_react.useEffect)(() => {
2889
+ if (!To) return;
2889
2890
  let e6 = [
2890
2891
  ["sync", r],
2891
2892
  ["slidesync", i],
@@ -2896,14 +2897,14 @@ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync:
2896
2897
  ["overviewshown", l],
2897
2898
  ["overviewhidden", u],
2898
2899
  ["paused", f],
2899
- ["resumed", ao]
2900
+ ["resumed", vo]
2900
2901
  ].filter((e7) => e7[1] != null);
2901
- for (let [t2, n2] of e6) po.on(t2, n2);
2902
+ for (let [t2, n2] of e6) To.on(t2, n2);
2902
2903
  return () => {
2903
- for (let [t2, n2] of e6) po.off(t2, n2);
2904
+ for (let [t2, n2] of e6) To.off(t2, n2);
2904
2905
  };
2905
2906
  }, [
2906
- po,
2907
+ To,
2907
2908
  r,
2908
2909
  i,
2909
2910
  a,
@@ -2913,30 +2914,30 @@ function b({ config: e5, plugins: t = ee$1, onReady: n, onSync: r, onSlideSync:
2913
2914
  l,
2914
2915
  u,
2915
2916
  f,
2916
- ao
2917
+ vo
2917
2918
  ]), (0, import_react.useLayoutEffect)(() => {
2918
2919
  var _a2;
2919
- !po || !((_a2 = fo.current) == null ? void 0 : _a2.isReady()) || te$1(_o.current, e5) && (go.current = true, fo.current.configure(e5 ?? {}), _o.current = e5);
2920
- }, [po, e5]), (0, import_react.useLayoutEffect)(() => {
2920
+ !To || !((_a2 = wo.current) == null ? void 0 : _a2.isReady()) || te$1(ko.current, e5) && (Oo.current = true, wo.current.configure(e5 ?? {}), ko.current = e5);
2921
+ }, [To, e5]), (0, import_react.useLayoutEffect)(() => {
2921
2922
  var _a2;
2922
- let e6 = go.current;
2923
- go.current = false;
2924
- let t2 = y(uo.current, yo.current, bo);
2923
+ let e6 = Oo.current;
2924
+ Oo.current = false;
2925
+ let t2 = y(Co.current, jo.current, Mo);
2925
2926
  if (e6) {
2926
- vo.current = t2;
2927
+ Ao.current = t2;
2927
2928
  return;
2928
2929
  }
2929
- ((_a2 = fo.current) == null ? void 0 : _a2.isReady()) && vo.current !== t2 && (fo.current.sync(), vo.current = t2);
2930
+ ((_a2 = wo.current) == null ? void 0 : _a2.isReady()) && Ao.current !== t2 && (wo.current.sync(), Ao.current = t2);
2930
2931
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(h.Provider, {
2931
- value: po,
2932
+ value: To,
2932
2933
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2933
2934
  className: p ? `reveal ${p}` : "reveal",
2934
- style: so,
2935
- ref: lo,
2935
+ style: bo,
2936
+ ref: So,
2936
2937
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
2937
2938
  className: "slides",
2938
- ref: uo,
2939
- children: co
2939
+ ref: Co,
2940
+ children: xo
2940
2941
  })
2941
2942
  })
2942
2943
  });
@@ -2988,8 +2989,8 @@ function C$1(e5, t) {
2988
2989
  }
2989
2990
  return n;
2990
2991
  }
2991
- function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: f, backgroundOpacity: ao, backgroundTransition: oo, visibility: p, autoAnimate: so, autoAnimateId: co, autoAnimateRestart: lo, autoAnimateUnmatched: uo, autoAnimateEasing: fo, autoAnimateDuration: po, autoAnimateDelay: mo, transition: ho, transitionSpeed: go, autoSlide: _o, notes: vo, backgroundInteractive: yo, preload: bo, ...xo }) {
2992
- let So = (0, import_react.useContext)(h), Co = (0, import_react.useRef)(null), wo = (0, import_react.useRef)(null), Eo = (0, import_react.useRef)(null), Do = C$1(xo, {
2992
+ function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: f, backgroundOpacity: vo, backgroundTransition: yo, visibility: p, autoAnimate: bo, autoAnimateId: xo, autoAnimateRestart: So, autoAnimateUnmatched: Co, autoAnimateEasing: wo, autoAnimateDuration: To, autoAnimateDelay: Eo, transition: Do, transitionSpeed: Oo, autoSlide: ko, notes: Ao, backgroundInteractive: jo, preload: Mo, ...No }) {
2993
+ let Po = (0, import_react.useContext)(h), Fo = (0, import_react.useRef)(null), Io = (0, import_react.useRef)(null), Lo = (0, import_react.useRef)(null), Ro = C$1(No, {
2993
2994
  background: t,
2994
2995
  backgroundImage: n,
2995
2996
  backgroundVideo: r,
@@ -3001,36 +3002,36 @@ function w({ children: e5, background: t, backgroundImage: n, backgroundVideo: r
3001
3002
  backgroundSize: l,
3002
3003
  backgroundPosition: u,
3003
3004
  backgroundRepeat: f,
3004
- backgroundOpacity: ao,
3005
- backgroundTransition: oo,
3005
+ backgroundOpacity: vo,
3006
+ backgroundTransition: yo,
3006
3007
  visibility: p,
3007
- autoAnimate: so,
3008
- autoAnimateId: co,
3009
- autoAnimateRestart: lo,
3010
- autoAnimateUnmatched: uo,
3011
- autoAnimateEasing: fo,
3012
- autoAnimateDuration: po,
3013
- autoAnimateDelay: mo,
3014
- transition: ho,
3015
- transitionSpeed: go,
3016
- autoSlide: _o,
3017
- notes: vo,
3018
- backgroundInteractive: yo,
3019
- preload: bo
3020
- }), Oo = S$1(Do);
3008
+ autoAnimate: bo,
3009
+ autoAnimateId: xo,
3010
+ autoAnimateRestart: So,
3011
+ autoAnimateUnmatched: Co,
3012
+ autoAnimateEasing: wo,
3013
+ autoAnimateDuration: To,
3014
+ autoAnimateDelay: Eo,
3015
+ transition: Do,
3016
+ transitionSpeed: Oo,
3017
+ autoSlide: ko,
3018
+ notes: Ao,
3019
+ backgroundInteractive: jo,
3020
+ preload: Mo
3021
+ }), Bo = S$1(Ro);
3021
3022
  return (0, import_react.useLayoutEffect)(() => {
3022
- let e6 = Co.current;
3023
- if (!So || !e6 || typeof So.syncSlide != "function") return;
3024
- if (wo.current !== So) {
3025
- wo.current = So, Eo.current = Oo;
3023
+ let e6 = Fo.current;
3024
+ if (!Po || !e6 || typeof Po.syncSlide != "function") return;
3025
+ if (Io.current !== Po) {
3026
+ Io.current = Po, Lo.current = Bo;
3026
3027
  return;
3027
3028
  }
3028
- if (Oo === "[]") return;
3029
- let t2 = wo.current === So, n2 = Eo.current === Oo;
3030
- t2 && n2 || (So.syncSlide(e6), wo.current = So, Eo.current = Oo);
3031
- }, [So, Oo]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", {
3032
- ref: Co,
3033
- ...Do,
3029
+ if (Bo === "[]") return;
3030
+ let t2 = Io.current === Po, n2 = Lo.current === Bo;
3031
+ t2 && n2 || (Po.syncSlide(e6), Io.current = Po, Lo.current = Bo);
3032
+ }, [Po, Bo]), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("section", {
3033
+ ref: Fo,
3034
+ ...Ro,
3034
3035
  children: e5
3035
3036
  });
3036
3037
  }
@@ -3412,16 +3413,16 @@ ${c}` : c;
3412
3413
  r2 = t[0], e5 = e5.substring(r2.length);
3413
3414
  let c = Qe(t[2].split("\n", 1)[0], t[1].length), l = e5.split("\n", 1)[0], u = !c.trim(), f = 0;
3414
3415
  if (this.options.pedantic ? (f = 2, s2 = c.trimStart()) : u ? f = t[1].length + 1 : (f = c.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s2 = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r2 += l + "\n", e5 = e5.substring(l.length + 1), n2 = true), !n2) {
3415
- let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), ao = this.rules.other.blockquoteBeginRegex(f);
3416
+ let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), vo = this.rules.other.blockquoteBeginRegex(f);
3416
3417
  for (; e5; ) {
3417
- let oo = e5.split("\n", 1)[0], p;
3418
- if (l = oo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || ao.test(l) || t2.test(l) || n3.test(l)) break;
3418
+ let yo = e5.split("\n", 1)[0], p;
3419
+ if (l = yo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || vo.test(l) || t2.test(l) || n3.test(l)) break;
3419
3420
  if (p.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s2 += "\n" + p.slice(f);
3420
3421
  else {
3421
3422
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i2.test(c) || a2.test(c) || n3.test(c)) break;
3422
3423
  s2 += "\n" + l;
3423
3424
  }
3424
- u = !l.trim(), r2 += oo + "\n", e5 = e5.substring(oo.length + 1), c = p.slice(f);
3425
+ u = !l.trim(), r2 += yo + "\n", e5 = e5.substring(yo.length + 1), c = p.slice(f);
3425
3426
  }
3426
3427
  }
3427
3428
  i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(r2) && (o = true)), i.items.push({
@@ -4506,6 +4507,82 @@ function Bt({ animation: e5, index: t, as: n, asChild: r, className: i, style: a
4506
4507
  children: o
4507
4508
  });
4508
4509
  }
4510
+ var TOP_THRESHOLD_PX = 8, OVERFLOW_TOLERANCE_PX = 1;
4511
+ function shouldShowScrollHint(e5) {
4512
+ let { scrollHeight: t, clientHeight: n, scrollTop: r } = e5;
4513
+ return t > n + OVERFLOW_TOLERANCE_PX && r <= TOP_THRESHOLD_PX;
4514
+ }
4515
+ function measureRevealedHeight(e5) {
4516
+ let t = e5.querySelector(".fragment:not(.visible)");
4517
+ return t ? t.getBoundingClientRect().top - e5.getBoundingClientRect().top + e5.scrollTop : e5.scrollHeight;
4518
+ }
4519
+ function useScrollHint(e5, t) {
4520
+ let n = (0, import_compiler_runtime$2.c)(4), [r, i] = (0, import_react.useState)(false), a, o;
4521
+ return n[0] !== t || n[1] !== e5 ? (a = () => {
4522
+ let n2 = e5.current, r2 = t.current;
4523
+ if (!n2 || !r2) return;
4524
+ let a2 = 0, o2 = () => {
4525
+ cancelAnimationFrame(a2), a2 = requestAnimationFrame(() => {
4526
+ i(shouldShowScrollHint({
4527
+ scrollHeight: measureRevealedHeight(n2),
4528
+ clientHeight: n2.clientHeight,
4529
+ scrollTop: n2.scrollTop
4530
+ }));
4531
+ });
4532
+ };
4533
+ o2();
4534
+ let s = new ResizeObserver(o2);
4535
+ s.observe(n2), s.observe(r2);
4536
+ let c = r2.querySelector(".fragment") ? new MutationObserver(o2) : null;
4537
+ return c == null ? void 0 : c.observe(r2, {
4538
+ subtree: true,
4539
+ attributes: true,
4540
+ attributeFilter: ["class"]
4541
+ }), n2.addEventListener("scroll", o2, { passive: true }), () => {
4542
+ cancelAnimationFrame(a2), s.disconnect(), c == null ? void 0 : c.disconnect(), n2.removeEventListener("scroll", o2);
4543
+ };
4544
+ }, o = [e5, t], n[0] = t, n[1] = e5, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, import_react.useEffect)(a, o), r;
4545
+ }
4546
+ var ScrollHintOverlay = (e5) => {
4547
+ let t = (0, import_compiler_runtime$2.c)(6), { className: n } = e5, i;
4548
+ t[0] === n ? i = t[1] : (i = cn("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", n), t[0] = n, t[1] = i);
4549
+ let a;
4550
+ t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4551
+ let o;
4552
+ t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
4553
+ 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",
4554
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ChevronDown, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Scroll for more" })]
4555
+ }), t[3] = o) : o = t[3];
4556
+ let s;
4557
+ return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
4558
+ className: i,
4559
+ "data-testid": "slide-scroll-hint",
4560
+ "aria-hidden": true,
4561
+ children: [a, o]
4562
+ }), t[4] = i, t[5] = s), s;
4563
+ };
4564
+ const SlideScrollContainer = (e5) => {
4565
+ let t = (0, import_compiler_runtime$2.c)(10), { children: n, className: i } = e5, a = (0, import_react.useRef)(null), o = (0, import_react.useRef)(null), s = useScrollHint(a, o), c;
4566
+ t[0] === i ? c = t[1] : (c = cn("relative h-full w-full", i), t[0] = i, t[1] = c);
4567
+ let l;
4568
+ t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4569
+ ref: a,
4570
+ className: "h-full w-full overflow-auto",
4571
+ "data-testid": "slide-scroll-container",
4572
+ children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4573
+ ref: o,
4574
+ className: "flex w-full min-h-full",
4575
+ children: n
4576
+ })
4577
+ }), t[2] = n, t[3] = l);
4578
+ let u;
4579
+ t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ScrollHintOverlay, {}), t[4] = s, t[5] = u);
4580
+ let f;
4581
+ return t[6] !== c || t[7] !== l || t[8] !== u ? (f = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
4582
+ className: c,
4583
+ children: [l, u]
4584
+ }), t[6] = c, t[7] = l, t[8] = u, t[9] = f) : f = t[9], f;
4585
+ };
4509
4586
  function composeSlides({ cells: e5, getType: t }) {
4510
4587
  let n = [], r = null, i = null, a = () => {
4511
4588
  let e6 = { subslides: [] };
@@ -4617,11 +4694,11 @@ function computeDeckNavigation(e5, t) {
4617
4694
  return e5.h === n.h && e5.v === n.v && e5.f === n.f ? null : n;
4618
4695
  }
4619
4696
  const SlideCellView = (e5) => (Logger.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), SlideCellReadOnlyView = (e5) => (Logger.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null);
4620
- var PERSIST_DELAY_MS = 300;
4697
+ var import_compiler_runtime$1 = require_compiler_runtime(), PERSIST_DELAY_MS = 300;
4621
4698
  const SlideNotesEditor = (e5) => {
4622
4699
  var _a2;
4623
- let t = (0, import_compiler_runtime$1.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e5, c = o ? ((_a2 = n.cells.get(o)) == null ? void 0 : _a2.speakerNotes) ?? "" : "", [l, u] = (0, import_react.useState)(c), f = (0, import_react.useRef)(false), ao;
4624
- t[0] !== n || t[1] !== a ? (ao = (e6, t2) => {
4700
+ let t = (0, import_compiler_runtime$1.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e5, c = o ? ((_a2 = n.cells.get(o)) == null ? void 0 : _a2.speakerNotes) ?? "" : "", [l, u] = (0, import_react.useState)(c), f = (0, import_react.useRef)(false), vo;
4701
+ t[0] !== n || t[1] !== a ? (vo = (e6, t2) => {
4625
4702
  f.current = false;
4626
4703
  let r = n.cells.get(e6);
4627
4704
  if (((r == null ? void 0 : r.speakerNotes) ?? "") === t2) return;
@@ -4633,41 +4710,41 @@ const SlideNotesEditor = (e5) => {
4633
4710
  ...n,
4634
4711
  cells: i
4635
4712
  });
4636
- }, t[0] = n, t[1] = a, t[2] = ao) : ao = t[2];
4637
- let oo = useDebouncedCallback(useEvent_default(ao), PERSIST_DELAY_MS), p = (0, import_react.useRef)(o), so, co;
4638
- t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== oo ? (so = () => {
4713
+ }, t[0] = n, t[1] = a, t[2] = vo) : vo = t[2];
4714
+ let yo = useDebouncedCallback(useEvent_default(vo), PERSIST_DELAY_MS), p = (0, import_react.useRef)(o), bo, xo;
4715
+ t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== yo ? (bo = () => {
4639
4716
  if (p.current !== o) {
4640
- oo.flush(), f.current = false, u(c), p.current = o;
4717
+ yo.flush(), f.current = false, u(c), p.current = o;
4641
4718
  return;
4642
4719
  }
4643
4720
  !f.current && c !== l && u(c);
4644
- }, co = [
4721
+ }, xo = [
4645
4722
  o,
4646
4723
  c,
4647
4724
  l,
4648
- oo
4649
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = oo, t[7] = so, t[8] = co) : (so = t[7], co = t[8]), (0, import_react.useEffect)(so, co);
4650
- let lo, uo;
4651
- t[9] === oo ? (lo = t[10], uo = t[11]) : (lo = () => () => {
4652
- oo.flush();
4653
- }, uo = [oo], t[9] = oo, t[10] = lo, t[11] = uo), (0, import_react.useEffect)(lo, uo);
4654
- let fo;
4655
- t[12] !== o || t[13] !== oo ? (fo = (e6) => {
4656
- u(e6), o && (f.current = true, oo(o, e6));
4657
- }, t[12] = o, t[13] = oo, t[14] = fo) : fo = t[14];
4658
- let po = fo, mo;
4659
- t[15] === s ? mo = t[16] : (mo = cn("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = mo);
4660
- let ho;
4661
- t[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (ho = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
4725
+ yo
4726
+ ], t[3] = o, t[4] = l, t[5] = c, t[6] = yo, t[7] = bo, t[8] = xo) : (bo = t[7], xo = t[8]), (0, import_react.useEffect)(bo, xo);
4727
+ let So, Co;
4728
+ t[9] === yo ? (So = t[10], Co = t[11]) : (So = () => () => {
4729
+ yo.flush();
4730
+ }, Co = [yo], t[9] = yo, t[10] = So, t[11] = Co), (0, import_react.useEffect)(So, Co);
4731
+ let wo;
4732
+ t[12] !== o || t[13] !== yo ? (wo = (e6) => {
4733
+ u(e6), o && (f.current = true, yo(o, e6));
4734
+ }, t[12] = o, t[13] = yo, t[14] = wo) : wo = t[14];
4735
+ let To = wo, Eo;
4736
+ t[15] === s ? Eo = t[16] : (Eo = cn("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = Eo);
4737
+ let Do;
4738
+ t[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Do = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("header", {
4662
4739
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4663
4740
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(StickyNote, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: "Speaker notes" })]
4664
- }), t[17] = ho) : ho = t[17];
4665
- let _o;
4666
- t[18] !== o || t[19] !== l || t[20] !== po ? (_o = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4741
+ }), t[17] = Do) : Do = t[17];
4742
+ let Oo;
4743
+ t[18] !== o || t[19] !== l || t[20] !== To ? (Oo = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
4667
4744
  className: "flex-1 min-h-0 p-2",
4668
4745
  children: o ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("textarea", {
4669
4746
  value: l,
4670
- onChange: (e6) => po(e6.target.value),
4747
+ onChange: (e6) => To(e6.target.value),
4671
4748
  onClick: Events.stopPropagation(),
4672
4749
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4673
4750
  className: cn("h-full w-full resize-none rounded-sm border border-input/25 bg-background", "px-3 py-2 text-sm leading-relaxed text-foreground placeholder:text-muted-foreground", "ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent"),
@@ -4676,14 +4753,14 @@ const SlideNotesEditor = (e5) => {
4676
4753
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4677
4754
  children: "Select a slide to add notes."
4678
4755
  })
4679
- }), t[18] = o, t[19] = l, t[20] = po, t[21] = _o) : _o = t[21];
4680
- let vo;
4681
- return t[22] !== mo || t[23] !== _o ? (vo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
4682
- className: mo,
4756
+ }), t[18] = o, t[19] = l, t[20] = To, t[21] = Oo) : Oo = t[21];
4757
+ let Ao;
4758
+ return t[22] !== Eo || t[23] !== Oo ? (Ao = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("section", {
4759
+ className: Eo,
4683
4760
  "aria-label": "Speaker notes",
4684
4761
  onKeyDown: _temp$1,
4685
- children: [ho, _o]
4686
- }), t[22] = mo, t[23] = _o, t[24] = vo) : vo = t[24], vo;
4762
+ children: [Do, Oo]
4763
+ }), t[22] = Eo, t[23] = Oo, t[24] = Ao) : Ao = t[24], Ao;
4687
4764
  };
4688
4765
  function _temp$1(e5) {
4689
4766
  return e5.stopPropagation();
@@ -5982,16 +6059,16 @@ ${c}` : c;
5982
6059
  r2 = t[0], e5 = e5.substring(r2.length);
5983
6060
  let c = ie(t[2].split("\n", 1)[0], t[1].length), l = e5.split("\n", 1)[0], u = !c.trim(), f = 0;
5984
6061
  if (this.options.pedantic ? (f = 2, s2 = c.trimStart()) : u ? f = t[1].length + 1 : (f = c.search(this.rules.other.nonSpaceChar), f = f > 4 ? 1 : f, s2 = c.slice(f), f += t[1].length), u && this.rules.other.blankLine.test(l) && (r2 += l + "\n", e5 = e5.substring(l.length + 1), n2 = true), !n2) {
5985
- let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), ao = this.rules.other.blockquoteBeginRegex(f);
6062
+ let t2 = this.rules.other.nextBulletRegex(f), n3 = this.rules.other.hrRegex(f), i2 = this.rules.other.fencesBeginRegex(f), a2 = this.rules.other.headingBeginRegex(f), o2 = this.rules.other.htmlBeginRegex(f), vo = this.rules.other.blockquoteBeginRegex(f);
5986
6063
  for (; e5; ) {
5987
- let oo = e5.split("\n", 1)[0], p;
5988
- if (l = oo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || ao.test(l) || t2.test(l) || n3.test(l)) break;
6064
+ let yo = e5.split("\n", 1)[0], p;
6065
+ if (l = yo, this.options.pedantic ? (l = l.replace(this.rules.other.listReplaceNesting, " "), p = l) : p = l.replace(this.rules.other.tabCharGlobal, " "), i2.test(l) || a2.test(l) || o2.test(l) || vo.test(l) || t2.test(l) || n3.test(l)) break;
5989
6066
  if (p.search(this.rules.other.nonSpaceChar) >= f || !l.trim()) s2 += "\n" + p.slice(f);
5990
6067
  else {
5991
6068
  if (u || c.replace(this.rules.other.tabCharGlobal, " ").search(this.rules.other.nonSpaceChar) >= 4 || i2.test(c) || a2.test(c) || n3.test(c)) break;
5992
6069
  s2 += "\n" + l;
5993
6070
  }
5994
- u = !l.trim(), r2 += oo + "\n", e5 = e5.substring(oo.length + 1), c = p.slice(f);
6071
+ u = !l.trim(), r2 += yo + "\n", e5 = e5.substring(yo.length + 1), c = p.slice(f);
5995
6072
  }
5996
6073
  }
5997
6074
  i.loose || (o ? i.loose = true : this.rules.other.doubleBlankLine.test(r2) && (o = true)), i.items.push({
@@ -7202,35 +7279,35 @@ function useParkedPreview(e5) {
7202
7279
  activeCellId: a,
7203
7280
  cellId: null
7204
7281
  }, t[3] = a, t[4] = l);
7205
- let [u, f] = (0, import_react.useState)(l), ao = u.cellId;
7206
- u.activeCellId === a ? s && ao !== a && (ao = a, f({
7282
+ let [u, f] = (0, import_react.useState)(l), vo = u.cellId;
7283
+ u.activeCellId === a ? s && vo !== a && (vo = a, f({
7207
7284
  activeCellId: a,
7208
- cellId: ao
7209
- })) : (ao = s ? a : null, f({
7285
+ cellId: vo
7286
+ })) : (vo = s ? a : null, f({
7210
7287
  activeCellId: a,
7211
- cellId: ao
7288
+ cellId: vo
7212
7289
  }));
7213
- let oo = !c && a != null && ao === a, p = oo ? ao : null, so;
7214
- t[5] === p ? so = t[6] : (so = {
7290
+ let yo = !c && a != null && vo === a, p = yo ? vo : null, bo;
7291
+ t[5] === p ? bo = t[6] : (bo = {
7215
7292
  cellId: p,
7216
7293
  show: true
7217
- }, t[5] = p, t[6] = so);
7218
- let [co, lo] = (0, import_react.useState)(so), uo = co.show;
7219
- co.cellId !== p && (uo = true, lo({
7294
+ }, t[5] = p, t[6] = bo);
7295
+ let [xo, So] = (0, import_react.useState)(bo), Co = xo.show;
7296
+ xo.cellId !== p && (Co = true, So({
7220
7297
  cellId: p,
7221
7298
  show: true
7222
7299
  }));
7223
- let fo;
7224
- t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (fo = () => lo(_temp), t[7] = fo) : fo = t[7];
7225
- let po = useEvent_default(fo), mo = c || oo ? n ?? null : null, ho;
7226
- return t[8] !== p || t[9] !== uo || t[10] !== oo || t[11] !== s || t[12] !== mo || t[13] !== po ? (ho = {
7227
- parkedPreviewCell: mo,
7228
- isHeldEdit: oo,
7300
+ let wo;
7301
+ t[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (wo = () => So(_temp), t[7] = wo) : wo = t[7];
7302
+ let To = useEvent_default(wo), Eo = c || yo ? n ?? null : null, Do;
7303
+ return t[8] !== p || t[9] !== Co || t[10] !== yo || t[11] !== s || t[12] !== Eo || t[13] !== To ? (Do = {
7304
+ parkedPreviewCell: Eo,
7305
+ isHeldEdit: yo,
7229
7306
  isNoOutputPreview: s,
7230
7307
  heldEditCellId: p,
7231
- heldShowsCode: uo,
7232
- toggleHeldShowsCode: po
7233
- }, t[8] = p, t[9] = uo, t[10] = oo, t[11] = s, t[12] = mo, t[13] = po, t[14] = ho) : ho = t[14], ho;
7308
+ heldShowsCode: Co,
7309
+ toggleHeldShowsCode: To
7310
+ }, t[8] = p, t[9] = Co, t[10] = yo, t[11] = s, t[12] = Eo, t[13] = To, t[14] = Do) : Do = t[14], Do;
7234
7311
  }
7235
7312
  function _temp(e5) {
7236
7313
  return {
@@ -7248,51 +7325,62 @@ function resolveSlideContentStyle(e5) {
7248
7325
  return { margin: "auto 20px" };
7249
7326
  }
7250
7327
  }
7328
+ const CellOutputBlock = (e5) => {
7329
+ let t = (0, import_compiler_runtime.c)(13), { cell: n } = e5, r;
7330
+ t[0] !== n.id || t[1] !== n.name ? (r = cellDomProps(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
7331
+ let i = n.id, a = n.status, o = n.output, s;
7332
+ t[3] === n ? s = t[4] : (s = outputIsStale(n, false), t[3] = n, t[4] = s);
7333
+ let l;
7334
+ t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (l = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slide, {
7335
+ cellId: i,
7336
+ status: a,
7337
+ output: o,
7338
+ stale: s
7339
+ }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = s, t[9] = l) : l = t[9];
7340
+ let u;
7341
+ return t[10] !== r || t[11] !== l ? (u = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7342
+ className: "flex flex-col",
7343
+ ...r,
7344
+ children: l
7345
+ }), t[10] = r, t[11] = l, t[12] = u) : u = t[12], u;
7346
+ };
7251
7347
  var SubslideView = (e5) => {
7252
- let t = (0, import_compiler_runtime.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e5, s, c, u, f, ao, oo;
7348
+ let t = (0, import_compiler_runtime.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e5, s, c, l, u, f, vo;
7253
7349
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
7254
- let { slideLevel: e6, cumulativeByBlock: p2 } = buildSubslideNotes(n, a);
7255
- c = e6;
7256
- let so2 = n.blocks.some((e7) => e7.cells.some((e8) => r(e8.id)));
7257
- s = w, oo = "h-full w-full overflow-auto flex", u = so2 ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", f = o, ao = n.blocks.map((e7, t2) => {
7258
- let n2 = e7.cells.map((e8) => r(e8.id) ? i ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellReadOnlyView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slide, {
7259
- cellId: e8.id,
7260
- status: e8.status,
7261
- output: e8.output,
7262
- stale: outputIsStale(e8, false)
7263
- }, e8.id));
7350
+ let { slideLevel: e6, cumulativeByBlock: yo2 } = buildSubslideNotes(n, a);
7351
+ l = e6;
7352
+ let p2 = n.blocks.some((e7) => e7.cells.some((e8) => r(e8.id)));
7353
+ c = w, s = SlideScrollContainer, u = p2 ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", f = o, vo = n.blocks.map((e7, t2) => {
7354
+ let n2 = e7.cells.map((e8) => r(e8.id) ? i ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellReadOnlyView, { cell: e8 }, e8.id) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CellOutputBlock, { cell: e8 }, e8.id));
7264
7355
  if (e7.isFragment) {
7265
- let e8 = p2.get(t2);
7356
+ let e8 = yo2.get(t2);
7266
7357
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Bt, {
7267
7358
  as: "div",
7268
7359
  children: [n2, e8 && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: e8 })]
7269
7360
  }, t2);
7270
7361
  }
7271
7362
  return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_react.Fragment, { children: n2 }, t2);
7272
- }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = u, t[8] = f, t[9] = ao, t[10] = oo;
7273
- } else s = t[5], c = t[6], u = t[7], f = t[8], ao = t[9], oo = t[10];
7274
- let p;
7275
- t[11] !== u || t[12] !== f || t[13] !== ao ? (p = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7363
+ }), t[0] = o, t[1] = i, t[2] = r, t[3] = a, t[4] = n, t[5] = s, t[6] = c, t[7] = l, t[8] = u, t[9] = f, t[10] = vo;
7364
+ } else s = t[5], c = t[6], l = t[7], u = t[8], f = t[9], vo = t[10];
7365
+ let yo;
7366
+ t[11] !== u || t[12] !== f || t[13] !== vo ? (yo = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7276
7367
  className: u,
7277
7368
  style: f,
7278
- children: ao
7279
- }), t[11] = u, t[12] = f, t[13] = ao, t[14] = p) : p = t[14];
7280
- let so;
7281
- t[15] !== oo || t[16] !== p ? (so = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7282
- className: oo,
7283
- children: p
7284
- }), t[15] = oo, t[16] = p, t[17] = so) : so = t[17];
7285
- let co;
7286
- t[18] === c ? co = t[19] : (co = c && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: c }), t[18] = c, t[19] = co);
7287
- let uo;
7288
- return t[20] !== s || t[21] !== so || t[22] !== co ? (uo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(s, { children: [so, co] }), t[20] = s, t[21] = so, t[22] = co, t[23] = uo) : uo = t[23], uo;
7369
+ children: vo
7370
+ }), t[11] = u, t[12] = f, t[13] = vo, t[14] = yo) : yo = t[14];
7371
+ let p;
7372
+ t[15] !== s || t[16] !== yo ? (p = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(s, { children: yo }), t[15] = s, t[16] = yo, t[17] = p) : p = t[17];
7373
+ let bo;
7374
+ t[18] === l ? bo = t[19] : (bo = l && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(NotesAside, { text: l }), t[18] = l, t[19] = bo);
7375
+ let xo;
7376
+ return t[20] !== c || t[21] !== p || t[22] !== bo ? (xo = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(c, { children: [p, bo] }), t[20] = c, t[21] = p, t[22] = bo, t[23] = xo) : xo = t[23], xo;
7289
7377
  };
7290
7378
  function parkedRendersSource(e5) {
7291
7379
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e5;
7292
7380
  return t && n || r;
7293
7381
  }
7294
7382
  var ParkedPreviewContent = (e5) => {
7295
- let t = (0, import_compiler_runtime.c)(10), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e5;
7383
+ let t = (0, import_compiler_runtime.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e5;
7296
7384
  if (parkedRendersSource({
7297
7385
  isNoOutputPreview: r,
7298
7386
  isEditable: i,
@@ -7301,187 +7389,180 @@ var ParkedPreviewContent = (e5) => {
7301
7389
  let e6;
7302
7390
  return t[0] !== n || t[1] !== i ? (e6 = i ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellView, { cell: n }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideCellReadOnlyView, { cell: n }), t[0] = n, t[1] = i, t[2] = e6) : e6 = t[2], e6;
7303
7391
  }
7304
- let o = n.id, s = n.status, c = n.output, u;
7305
- t[3] === n ? u = t[4] : (u = outputIsStale(n, false), t[3] = n, t[4] = u);
7306
- let f;
7307
- return t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== u ? (f = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Slide, {
7308
- cellId: o,
7309
- status: s,
7310
- output: c,
7311
- stale: u
7312
- }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = u, t[9] = f) : f = t[9], f;
7313
- }, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: l, activeIndex: u, onSlideChange: f, mode: co, configWidth: lo, isEditable: po = false }) => {
7392
+ let o;
7393
+ return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CellOutputBlock, { cell: n }), t[3] = n, t[4] = o), o;
7394
+ }, reveal_component_default = ({ slideCells: e5, layout: o, setLayout: s, noOutputIds: c, activeIndex: l, onSlideChange: u, mode: Co, configWidth: wo, isEditable: To = false }) => {
7314
7395
  var _a2, _b2, _c;
7315
- let go = (0, import_react.useRef)(null), _o = (0, import_react.useRef)(null), { width: Co, height: wo } = useSlideDimensions(go), Eo = useFullScreenElement() != null, Do = useAtomValue(kioskModeAtom), Oo = (0, import_react.useMemo)(() => Do ? [] : [ce], [Do]), [ko, Ao] = (0, import_react.useState)(() => /* @__PURE__ */ new Set()), jo = useNotebookCodeAvailable(e5), Mo = !isIslands() && jo, No = u == null ? void 0 : e5[u], Po = No ?? e5.at(0), { parkedPreviewCell: Fo, isHeldEdit: Io, isNoOutputPreview: Lo, heldEditCellId: Ro, heldShowsCode: zo, toggleHeldShowsCode: Bo } = useParkedPreview({
7316
- activeCell: No,
7396
+ let Eo = (0, import_react.useRef)(null), Oo = (0, import_react.useRef)(null), { width: ko, height: jo } = useSlideDimensions(Eo), Lo = useFullScreenElement() != null, Ro = useAtomValue(kioskModeAtom), Bo = (0, import_react.useMemo)(() => Ro ? [] : [ce], [Ro]), [Vo, Ho] = (0, import_react.useState)(() => /* @__PURE__ */ new Set()), Uo = useNotebookCodeAvailable(e5), Wo = !isIslands() && Uo, Go = l == null ? void 0 : e5[l], Ko = Go ?? e5.at(0), { parkedPreviewCell: qo, isHeldEdit: Jo, isNoOutputPreview: Yo, heldEditCellId: Xo, heldShowsCode: Zo, toggleHeldShowsCode: Qo } = useParkedPreview({
7397
+ activeCell: Go,
7317
7398
  slideConfigs: o.cells,
7318
- noOutputIds: l
7319
- }), Vo = (e6) => shouldShowCode({
7399
+ noOutputIds: c
7400
+ }), $o = (e6) => shouldShowCode({
7320
7401
  cells: o.cells,
7321
7402
  cellId: e6,
7322
- showCodeOverrides: ko,
7323
- codeToggleEnabled: Mo
7324
- }), Ho = (No == null ? void 0 : No.id) ?? (Po == null ? void 0 : Po.id), Uo = Io ? zo : Vo(Ho), Wo = Mo && Ho != null && (((_a2 = o.cells.get(Ho)) == null ? void 0 : _a2.showCode) ?? false), Go = (0, import_react.useMemo)(() => composeSlides({
7403
+ showCodeOverrides: Vo,
7404
+ codeToggleEnabled: Wo
7405
+ }), ns = (Go == null ? void 0 : Go.id) ?? (Ko == null ? void 0 : Ko.id), rs = Jo ? Zo : $o(ns), is = Wo && ns != null && (((_a2 = o.cells.get(ns)) == null ? void 0 : _a2.showCode) ?? false), as = (0, import_react.useMemo)(() => composeSlides({
7325
7406
  cells: e5,
7326
7407
  getType: (e6) => deckSlideType({
7327
7408
  cell: e6,
7328
- noOutputIds: l,
7329
- heldEditCellId: Ro,
7409
+ noOutputIds: c,
7410
+ heldEditCellId: Xo,
7330
7411
  slideConfigs: o.cells
7331
7412
  })
7332
7413
  }), [
7333
7414
  e5,
7334
- l,
7415
+ c,
7335
7416
  o.cells,
7336
- Ro
7337
- ]), { cellToTarget: Ko, targetToCellIndex: qo } = (0, import_react.useMemo)(() => buildSlideIndices({
7338
- composition: Go,
7417
+ Xo
7418
+ ]), { cellToTarget: os, targetToCellIndex: ss } = (0, import_react.useMemo)(() => buildSlideIndices({
7419
+ composition: as,
7339
7420
  cells: e5,
7340
7421
  getId: (e6) => e6.id
7341
- }), [Go, e5]), Jo = ((_b2 = o.deck) == null ? void 0 : _b2.transition) ?? "slide", Yo = resolveSlideContentStyle((_c = o.deck) == null ? void 0 : _c.verticalAlign), Xo = (0, import_react.useMemo)(() => {
7422
+ }), [as, e5]), cs = ((_b2 = o.deck) == null ? void 0 : _b2.transition) ?? "slide", ls = resolveSlideContentStyle((_c = o.deck) == null ? void 0 : _c.verticalAlign), us = (0, import_react.useMemo)(() => {
7342
7423
  let e6 = new URL(window.location.href);
7343
7424
  return e6.searchParams.set("kiosk", "true"), e6.searchParams.set("show-chrome", "false"), e6.toString();
7344
- }, []), Zo = (0, import_react.useMemo)(() => ({
7425
+ }, []), ds = (0, import_react.useMemo)(() => ({
7345
7426
  embedded: true,
7346
- width: Co,
7347
- height: wo,
7427
+ width: ko,
7428
+ height: jo,
7348
7429
  center: false,
7349
7430
  minScale: 0.2,
7350
7431
  maxScale: 2,
7351
- transition: Jo,
7432
+ transition: cs,
7352
7433
  keyboardCondition: (e6) => !Events.fromInput(e6),
7353
- url: Xo,
7434
+ url: us,
7354
7435
  scrollActivationWidth: 0
7355
7436
  }), [
7356
- Co,
7357
- wo,
7358
- Jo,
7359
- Xo
7360
- ]), Qo = useEvent_default((t) => {
7437
+ ko,
7438
+ jo,
7439
+ cs,
7440
+ us
7441
+ ]), fs = useEvent_default((t) => {
7361
7442
  let n = resolveDeckNavigationTarget({
7362
- activeIndex: u,
7443
+ activeIndex: l,
7363
7444
  cells: e5,
7364
- cellToTarget: Ko,
7445
+ cellToTarget: os,
7365
7446
  getId: (e6) => e6.id
7366
7447
  }), r = n && computeDeckNavigation(t.getIndices(), n);
7367
7448
  r && (t.slide(r.h, r.v, r.f), clearPreviousVerticalIndices(t));
7368
7449
  });
7369
7450
  (0, import_react.useEffect)(() => {
7370
- let e6 = _o.current;
7371
- e6 != null && Qo(e6);
7451
+ let e6 = Oo.current;
7452
+ e6 != null && fs(e6);
7372
7453
  }, [
7373
- u,
7374
- Ko,
7454
+ l,
7455
+ os,
7375
7456
  e5,
7376
- Qo
7457
+ fs
7377
7458
  ]);
7378
- let $o = useEvent_default(() => {
7379
- if (!(Ho == null || Wo)) {
7380
- if (Io) {
7381
- Bo();
7459
+ let ps = useEvent_default(() => {
7460
+ if (!(ns == null || is)) {
7461
+ if (Jo) {
7462
+ Qo();
7382
7463
  return;
7383
7464
  }
7384
- (0, import_react.startTransition)(() => Ao((e6) => {
7465
+ (0, import_react.startTransition)(() => Ho((e6) => {
7385
7466
  let t = new Set(e6);
7386
- return t.has(Ho) ? t.delete(Ho) : t.add(Ho), t;
7467
+ return t.has(ns) ? t.delete(ns) : t.add(ns), t;
7387
7468
  }));
7388
7469
  }
7389
- }), ns = useEvent_default((e6) => {
7470
+ }), ms = useEvent_default((e6) => {
7390
7471
  var _a3;
7391
- Qo(e6), Mo && e6.addKeyBinding({
7472
+ fs(e6), Wo && e6.addKeyBinding({
7392
7473
  keyCode: 67,
7393
7474
  key: "C",
7394
7475
  description: "Toggle code editor"
7395
- }, $o);
7476
+ }, ps);
7396
7477
  let t = (_a3 = e6.getSlidesElement()) == null ? void 0 : _a3.closest(".reveal");
7397
7478
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: true }));
7398
- }), rs = useEvent_default(() => {
7399
- if (Fo != null) return;
7400
- let e6 = _o.current;
7479
+ }), hs = useEvent_default(() => {
7480
+ if (qo != null) return;
7481
+ let e6 = Oo.current;
7401
7482
  if (!e6) return;
7402
- let t = resolveActiveCellIndex(qo, e6.getIndices());
7403
- t != null && (f == null ? void 0 : f(t));
7404
- }), is = useEvent_default((t) => {
7405
- if (!Fo || u == null || Events.fromInput(t)) return;
7483
+ let t = resolveActiveCellIndex(ss, e6.getIndices());
7484
+ t != null && (u == null ? void 0 : u(t));
7485
+ }), gs = useEvent_default((t) => {
7486
+ if (!qo || l == null || Events.fromInput(t)) return;
7406
7487
  let n = classifyNavKey(t);
7407
7488
  if (n === 0) return;
7408
7489
  t.preventDefault(), t.stopPropagation();
7409
- let r = u + n;
7410
- r < 0 || r >= e5.length || (f == null ? void 0 : f(r));
7411
- }), as = useEvent_default(() => {
7412
- rs();
7490
+ let r = l + n;
7491
+ r < 0 || r >= e5.length || (u == null ? void 0 : u(r));
7492
+ }), _s = useEvent_default(() => {
7493
+ hs();
7413
7494
  });
7414
- useEventListener(document, "keydown", is, { capture: true });
7415
- let os = Io ? null : Lo ? "Hidden as there is no output" : "Skipped in presentation", ss = Io ? zo : Vo(Fo == null ? void 0 : Fo.id), cs = parkedRendersSource({
7416
- isNoOutputPreview: Lo,
7417
- isEditable: po,
7418
- showCode: ss
7419
- }), ls = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7420
- ref: go,
7495
+ useEventListener(document, "keydown", gs, { capture: true });
7496
+ let vs = Jo ? null : Yo ? "Hidden as there is no output" : "Skipped in presentation", ys = Jo ? Zo : $o(qo == null ? void 0 : qo.id), bs = parkedRendersSource({
7497
+ isNoOutputPreview: Yo,
7498
+ isEditable: To,
7499
+ showCode: ys
7500
+ }), xs = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7501
+ ref: Eo,
7421
7502
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
7422
7503
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7423
7504
  className: "group relative",
7424
7505
  style: {
7425
- width: Co,
7426
- height: wo
7506
+ width: ko,
7507
+ height: jo
7427
7508
  },
7428
7509
  children: [
7429
7510
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(b, {
7430
- deckRef: _o,
7511
+ deckRef: Oo,
7431
7512
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
7432
- config: Zo,
7433
- onReady: ns,
7434
- onSlideChange: as,
7435
- onFragmentShown: rs,
7436
- onFragmentHidden: rs,
7437
- plugins: Oo,
7438
- children: Go.stacks.map((e6, t) => e6.subslides.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7513
+ config: ds,
7514
+ onReady: ms,
7515
+ onSlideChange: _s,
7516
+ onFragmentShown: hs,
7517
+ onFragmentHidden: hs,
7518
+ plugins: Bo,
7519
+ children: as.stacks.map((e6, t) => e6.subslides.length === 1 ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7439
7520
  subslide: e6.subslides[0],
7440
- resolveShowCode: Vo,
7441
- isEditable: po,
7521
+ resolveShowCode: $o,
7522
+ isEditable: To,
7442
7523
  slideConfigs: o.cells,
7443
- contentStyle: Yo
7524
+ contentStyle: ls
7444
7525
  }, t) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ne, { children: e6.subslides.map((e7, t2) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SubslideView, {
7445
7526
  subslide: e7,
7446
- resolveShowCode: Vo,
7447
- isEditable: po,
7527
+ resolveShowCode: $o,
7528
+ isEditable: To,
7448
7529
  slideConfigs: o.cells,
7449
- contentStyle: Yo
7530
+ contentStyle: ls
7450
7531
  }, t2)) }, t))
7451
7532
  }),
7452
- Fo && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7533
+ qo && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7453
7534
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
7454
- "aria-label": os ?? void 0,
7455
- children: [os && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7535
+ "aria-label": vs ?? void 0,
7536
+ children: [vs && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7456
7537
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
7457
- children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeOff, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: os })]
7538
+ children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EyeOff, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { children: vs })]
7458
7539
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7459
7540
  className: "flex-1 overflow-auto flex",
7460
7541
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7461
- className: cs ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
7462
- style: Yo,
7542
+ className: bs ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
7543
+ style: ls,
7463
7544
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ParkedPreviewContent, {
7464
- cell: Fo,
7465
- isNoOutputPreview: Lo,
7466
- isEditable: po,
7467
- showCode: ss
7545
+ cell: qo,
7546
+ isNoOutputPreview: Yo,
7547
+ isEditable: To,
7548
+ showCode: ys
7468
7549
  })
7469
7550
  })
7470
7551
  })]
7471
- }, Fo.id),
7552
+ }, qo.id),
7472
7553
  /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7473
7554
  className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
7474
- children: [Mo && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
7475
- content: Wo ? "Code is always shown for this slide" : Uo ? "Hide code (C)" : "Show code (C)",
7555
+ children: [Wo && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
7556
+ content: is ? "Code is always shown for this slide" : rs ? "Hide code (C)" : "Show code (C)",
7476
7557
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
7477
7558
  "data-testid": "marimo-plugin-slides-toggle-code",
7478
7559
  variant: "ghost",
7479
7560
  size: "icon",
7480
- className: cn("text-muted-foreground h-7 w-7", Uo && "text-foreground bg-muted", Wo && "opacity-50 cursor-not-allowed"),
7481
- "aria-pressed": Uo,
7482
- "aria-disabled": Wo,
7483
- "aria-label": Wo ? "Code always shown" : Uo ? "Hide code" : "Show code",
7484
- onClick: $o,
7561
+ className: cn("text-muted-foreground h-7 w-7", rs && "text-foreground bg-muted", is && "opacity-50 cursor-not-allowed"),
7562
+ "aria-pressed": rs,
7563
+ "aria-disabled": is,
7564
+ "aria-label": is ? "Code always shown" : rs ? "Hide code" : "Show code",
7565
+ onClick: ps,
7485
7566
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Code, { className: "h-4 w-4" })
7486
7567
  })
7487
7568
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Tooltip, {
@@ -7494,7 +7575,7 @@ var ParkedPreviewContent = (e5) => {
7494
7575
  "aria-label": "Enter fullscreen",
7495
7576
  onClick: () => {
7496
7577
  var _a3, _b3;
7497
- (_b3 = (_a3 = _o.current) == null ? void 0 : _a3.getViewportElement()) == null ? void 0 : _b3.requestFullscreen().catch((e6) => {
7578
+ (_b3 = (_a3 = Oo.current) == null ? void 0 : _a3.getViewportElement()) == null ? void 0 : _b3.requestFullscreen().catch((e6) => {
7498
7579
  Logger.error("Failed to request fullscreen", e6);
7499
7580
  });
7500
7581
  },
@@ -7505,9 +7586,9 @@ var ParkedPreviewContent = (e5) => {
7505
7586
  ]
7506
7587
  })
7507
7588
  });
7508
- return co === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7589
+ return Co === "read" ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
7509
7590
  className: "flex-1 min-w-0 flex flex-row gap-3",
7510
- children: ls
7591
+ children: xs
7511
7592
  }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
7512
7593
  className: "flex-1 min-w-0 flex flex-row gap-3",
7513
7594
  children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PanelGroup, {
@@ -7518,7 +7599,7 @@ var ParkedPreviewContent = (e5) => {
7518
7599
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Panel, {
7519
7600
  defaultSize: 92,
7520
7601
  minSize: 60,
7521
- children: ls
7602
+ children: xs
7522
7603
  }),
7523
7604
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PanelResizeHandle, {
7524
7605
  className: "mo-slides-notes-resize",
@@ -7526,7 +7607,7 @@ var ParkedPreviewContent = (e5) => {
7526
7607
  coarse: 12,
7527
7608
  fine: 4
7528
7609
  },
7529
- disabled: Eo
7610
+ disabled: Lo
7530
7611
  }),
7531
7612
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Panel, {
7532
7613
  defaultSize: 10,
@@ -7536,19 +7617,20 @@ var ParkedPreviewContent = (e5) => {
7536
7617
  children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideNotesEditor, {
7537
7618
  layout: o,
7538
7619
  setLayout: s,
7539
- cellId: Po == null ? void 0 : Po.id
7620
+ cellId: Ko == null ? void 0 : Ko.id
7540
7621
  })
7541
7622
  })
7542
7623
  ]
7543
7624
  }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SlideSidebar, {
7544
- configWidth: lo,
7625
+ configWidth: wo,
7545
7626
  layout: o,
7546
7627
  setLayout: s,
7547
- activeConfigCell: Po
7628
+ activeConfigCell: Ko
7548
7629
  })]
7549
7630
  });
7550
7631
  };
7551
7632
  export {
7633
+ CellOutputBlock,
7552
7634
  deckSlideType,
7553
7635
  reveal_component_default as default,
7554
7636
  parkedRendersSource,