@marimo-team/islands 0.25.3-dev272 → 0.25.3-dev275

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 (98) hide show
  1. package/dist/{ConnectedDataExplorerComponent-eLHPh6uu.js → ConnectedDataExplorerComponent-CErm132k.js} +25 -26
  2. package/dist/{ErrorBoundary-vPW0qTmm.js → ErrorBoundary-BuIXiuc5.js} +43 -44
  3. package/dist/{abnfDiagram-VCTEODGH-hqd0IBtX.js → abnfDiagram-VCTEODGH-d-Qn2fwb.js} +2 -2
  4. package/dist/{any-language-editor-DnG26QXh.js → any-language-editor-6k6F12Z3.js} +3 -3
  5. package/dist/{architectureDiagram-5GKGNRK7-BzLAFcc0.js → architectureDiagram-5GKGNRK7-DxragHYv.js} +1 -1
  6. package/dist/{assertNever-DIU3JJbt.js → assertNever-B-YzWzbL.js} +14 -14
  7. package/dist/{button-0-RqY1DW.js → button-DZuNnIZO.js} +220 -223
  8. package/dist/{capabilities-B6yy_CBN.js → capabilities-D9FskwsK.js} +1 -1
  9. package/dist/{chat-ui-BWIkve2R.js → chat-ui-SZ6lSH52.js} +144 -145
  10. package/dist/{check-gUSZbRsl.js → check-XFzZeH-y.js} +1 -1
  11. package/dist/{chunk-IMKFNOWR-DOeVvuyE.js → chunk-IMKFNOWR-C0x0feFg.js} +1 -1
  12. package/dist/{chunk-SHT3W25Y-DZoFI8wR.js → chunk-SHT3W25Y-D0ZdASqB.js} +1 -1
  13. package/dist/{chunk-SVP7TREG-CWu86PSW.js → chunk-SVP7TREG-BHjL96zx.js} +1 -1
  14. package/dist/{chunk-TICWLB2K-BrM0GoP3.js → chunk-TICWLB2K-CzcrwGfp.js} +1 -1
  15. package/dist/{classDiagram-ZZMXUADV-DYi4V2bB.js → classDiagram-ZZMXUADV-BTqFAZTP.js} +2 -2
  16. package/dist/{classDiagram-v2-VYDZK3BY-tN7FIk-m.js → classDiagram-v2-VYDZK3BY-EPXb0Elt.js} +2 -2
  17. package/dist/{code-visibility-9gqV0vno.js → code-visibility-BEAPMrC-.js} +20 -20
  18. package/dist/{common-CT0KuTWr.js → common-CEmzaoJ8.js} +799 -801
  19. package/dist/{config-BsPruWMR.js → config-C8MFHQ2E.js} +23 -22
  20. package/dist/{copy-icon-C2I8sw4h.js → copy-icon-CtllOdmg.js} +3 -3
  21. package/dist/{createReducer-DdtT_7ji.js → createReducer-DRqwmaTc.js} +2 -2
  22. package/dist/{cynefinDiagram-5FMLGOSQ-D5nCnDc-.js → cynefinDiagram-5FMLGOSQ-CBSD344q.js} +1 -1
  23. package/dist/{dagre-GXQ25YYZ-BHkd7f_i.js → dagre-GXQ25YYZ-JItjh3Ge.js} +1 -1
  24. package/dist/{data-grid-overlay-editor-DKDADhfM.js → data-grid-overlay-editor-CUo25_W8.js} +1 -1
  25. package/dist/{diagram-S7CK7UJ4-D1ALppT2.js → diagram-S7CK7UJ4-CTD9xTVb.js} +1 -1
  26. package/dist/{diagram-UQ7AKVKN-DLv0b83L.js → diagram-UQ7AKVKN-DTfnFai8.js} +1 -1
  27. package/dist/{diagram-VX7I27RA-7XJ7J6qg.js → diagram-VX7I27RA-BcSnucV-.js} +1 -1
  28. package/dist/{diagram-Z3DM3KII-7M7zbHp_.js → diagram-Z3DM3KII-C2ATIE8A.js} +1 -1
  29. package/dist/{dialog-DzCj1qQv.js → dialog-CaYm5imE.js} +33 -33
  30. package/dist/{dropdown-menu-CdXE15an.js → dropdown-menu-Bb0bFOIk.js} +149 -149
  31. package/dist/{ebnfDiagram-PWID7BFC-DHH1qlmV.js → ebnfDiagram-PWID7BFC-B7B9JPxc.js} +2 -2
  32. package/dist/{erDiagram-RLTQ6QDP-fI_0dGef.js → erDiagram-RLTQ6QDP-v6hDno1O.js} +1 -1
  33. package/dist/{error-banner-DPc9eIw5.js → error-banner-CHCdHVFB.js} +44 -45
  34. package/dist/{error-entries-CxN-Nq3V.js → error-entries-B-1yUdcH.js} +406 -407
  35. package/dist/{feedback-button-Bo7swAlq.js → feedback-button-BqiR7zMO.js} +11 -11
  36. package/dist/{flowDiagram-HODETNUW-Brg9MA6i.js → flowDiagram-HODETNUW-aIFlAtOy.js} +2 -2
  37. package/dist/{formats-DbSvAPY-.js → formats-PzBQMUnr.js} +3 -3
  38. package/dist/{glide-data-editor-CSrAhQAR.js → glide-data-editor-B7dguvqk.js} +14 -16
  39. package/dist/{glide-utils-BSw3SSHF.js → glide-utils-BSQr4d90.js} +51 -59
  40. package/dist/{globals-CQZo8Fcj.js → globals-CYykXfGI.js} +3 -3
  41. package/dist/{html-to-image-Bc2AvXHG.js → html-to-image-DC_pmZLs.js} +546 -548
  42. package/dist/{infoDiagram-27XIBGKW-E9e403YT.js → infoDiagram-27XIBGKW-D6YHLeCP.js} +1 -1
  43. package/dist/{ishikawaDiagram-5VMMS53U-C-RlYDRo.js → ishikawaDiagram-5VMMS53U-D1ZvprOX.js} +1 -1
  44. package/dist/{kanban-definition-UXKFOSKX-CLFl_uqK.js → kanban-definition-UXKFOSKX-Bna_3BMr.js} +1 -1
  45. package/dist/{loader-BVEtQ4F3.js → loader-DZvtzQoD.js} +1 -1
  46. package/dist/main.js +6772 -6771
  47. package/dist/{mermaid-rd09e1JL.js → mermaid-A36unKXJ.js} +50 -50
  48. package/dist/{mindmap-definition-YA3MSWOX-BQ8TWtyB.js → mindmap-definition-YA3MSWOX-CyVCs__G.js} +1 -1
  49. package/dist/{number-overlay-editor-noy9X-05.js → number-overlay-editor-C4u7SJAJ.js} +1 -1
  50. package/dist/{pegDiagram-XKGWAZYB-CN8UHFPi.js → pegDiagram-XKGWAZYB-9hNBD2wZ.js} +2 -2
  51. package/dist/{pencil-DcT8AE0h.js → pencil-DYUlSKxZ.js} +1 -1
  52. package/dist/{pieDiagram-E7YTZNPT-DGuJ0EBd.js → pieDiagram-E7YTZNPT-8tr-NYo7.js} +1 -1
  53. package/dist/{process-output-qecD7Dk8.js → process-output-DYu84VfZ.js} +4 -4
  54. package/dist/{railroadDiagram-O6MQD6OU-BPDA8wy8.js → railroadDiagram-O6MQD6OU-Dzg1dyyp.js} +2 -2
  55. package/dist/{requirementDiagram-BXWQKSXE-ChzLGbGW.js → requirementDiagram-BXWQKSXE-B7sNqwGG.js} +1 -1
  56. package/dist/{reveal-component-C6H7NzHW.js → reveal-component-DGi-irHV.js} +589 -589
  57. package/dist/{select-OxgozOC8.js → select-DsoP1qe8.js} +290 -290
  58. package/dist/{sequenceDiagram-WJ2MYXX4-DFX-bE6O.js → sequenceDiagram-WJ2MYXX4-oP9shbaG.js} +1 -1
  59. package/dist/{spec-oJn0RhpQ.js → spec-BZMDxAu7.js} +4 -4
  60. package/dist/{stateDiagram-D77RDMKH-BR7cI3wK.js → stateDiagram-D77RDMKH-CjCv4ogv.js} +2 -2
  61. package/dist/{stateDiagram-v2-MP3YSRHH-oGqB5UDI.js → stateDiagram-v2-MP3YSRHH-BW9X162a.js} +2 -2
  62. package/dist/{static-state-CuV6Pc3a.js → static-state-D-Q-Ajaa.js} +8 -8
  63. package/dist/style.css +1 -1
  64. package/dist/{swimlanes-42K2YHIH-DwSZl1yC.js → swimlanes-42K2YHIH-Ckfs9Wrn.js} +1 -1
  65. package/dist/{swimlanesDiagram-VR7AAH4N-BHlcd-Ri.js → swimlanesDiagram-VR7AAH4N-DpTNG9YP.js} +2 -2
  66. package/dist/{swiper-component-Dvj-goaD.js → swiper-component-DQbK_ZWm.js} +7 -7
  67. package/dist/{timeline-definition-24CTP7MA-DMmP-G2O.js → timeline-definition-24CTP7MA-BXaBlV6U.js} +1 -1
  68. package/dist/{toast-DbBHmxmB.js → toast-BhjIy3Tq.js} +158 -158
  69. package/dist/{tooltip-BfcDQd2j.js → tooltip-DMMiOn2f.js} +64 -64
  70. package/dist/use-restore-focus-CosX7-gx.js +7568 -0
  71. package/dist/{useAsyncData-BYIAoMqn.js → useAsyncData-Ci4AvJff.js} +4 -4
  72. package/dist/{useDateFormatter-ButWkdcK.js → useDateFormatter-CPlava52.js} +2 -2
  73. package/dist/{useDeepCompareMemoize-Bz0c5GN6.js → useDeepCompareMemoize-NaaWoFlX.js} +1 -1
  74. package/dist/useEvent-BRH-aCqi.js +19 -0
  75. package/dist/{useIframeCapabilities-BIolGsF1.js → useIframeCapabilities-BXhDDoCG.js} +1 -1
  76. package/dist/{useLifecycle-JjxCC7Vu.js → useLifecycle-SniivYmC.js} +2 -2
  77. package/dist/{vega-component-rxIxAAh9.js → vega-component-DIxaDQNs.js} +40 -40
  78. package/dist/{vennDiagram-4TSXK5OY-Db8GtH1G.js → vennDiagram-4TSXK5OY-C-hQ4iNJ.js} +1 -1
  79. package/dist/{wardleyDiagram-VM6X3IG4-DmIiC3FU.js → wardleyDiagram-VM6X3IG4-C2MQ_Umv.js} +1 -1
  80. package/dist/{xychartDiagram-S5SC5T6Z-DS9OPrNq.js → xychartDiagram-S5SC5T6Z-BtTTBn7Q.js} +1 -1
  81. package/package.json +1 -1
  82. package/src/core/islands/components/__tests__/web-components.test.tsx +63 -0
  83. package/src/core/islands/components/web-components.tsx +11 -0
  84. package/src/css/globals.css +6 -2
  85. package/src/plugins/impl/DataEditorPlugin.tsx +0 -4
  86. package/src/plugins/impl/data-editor/__tests__/column-types.test.ts +5 -0
  87. package/src/plugins/impl/data-editor/__tests__/glide-data-editor.test.tsx +9 -5
  88. package/src/plugins/impl/data-editor/column-types.ts +3 -0
  89. package/src/plugins/impl/data-editor/glide-data-editor.tsx +6 -5
  90. package/src/plugins/impl/data-editor/glide-utils.ts +10 -32
  91. package/src/plugins/impl/data-editor/types.ts +0 -2
  92. package/src/theme/__tests__/islands-theme.test.tsx +276 -0
  93. package/src/theme/namespace.tsx +4 -3
  94. package/src/theme/useTheme.ts +71 -41
  95. package/dist/schemas-CdscWNy_.js +0 -4747
  96. package/dist/use-restore-focus-CmflVLWJ.js +0 -1672
  97. package/dist/useTheme-DPLobSFs.js +0 -339
  98. package/dist/utils-EBklsC5R.js +0 -813
@@ -1,30 +1,30 @@
1
1
  import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
- import { c as t, g as n, h as r, m as i, t as a } from "./button-0-RqY1DW.js";
2
+ import { g as t, h as n, i as r, m as i, t as a } from "./button-DZuNnIZO.js";
3
3
  import { t as o } from "./react-sHtZdjeP.js";
4
4
  import { t as s } from "./compiler-runtime-CldRdSsv.js";
5
- import { h as c, t as l } from "./tooltip-BfcDQd2j.js";
6
- import { $ as u, Q as d, an as f, et as p, gn as m, hn as h, i as g, l as _, n as v, r as y, t as b, u as x, yn as S } from "./common-CT0KuTWr.js";
7
- import { M as C } from "./select-OxgozOC8.js";
8
- import { Y as ee } from "./dropdown-menu-CdXE15an.js";
9
- import { Ft as w } from "./error-entries-CxN-Nq3V.js";
5
+ import { h as c, t as l } from "./tooltip-DMMiOn2f.js";
6
+ import { $ as u, Q as d, an as f, et as p, gn as m, hn as h, i as g, l as _, n as v, r as y, t as b, u as x, yn as S } from "./common-CEmzaoJ8.js";
7
+ import { M as C } from "./select-DsoP1qe8.js";
8
+ import { Y as ee } from "./dropdown-menu-Bb0bFOIk.js";
9
+ import { Ft as w } from "./error-entries-B-1yUdcH.js";
10
10
  import { t as T } from "./jsx-runtime-3BD1kT0s.js";
11
- import { r as te } from "./use-restore-focus-CmflVLWJ.js";
12
- import { D as E, t as D, w as O, x as k } from "./utils-EBklsC5R.js";
13
- import { o as ne } from "./static-state-CuV6Pc3a.js";
14
- import { n as re, t as ie } from "./code-visibility-9gqV0vno.js";
11
+ import { Ft as E, Rt as D, d as O, r as k } from "./use-restore-focus-CosX7-gx.js";
12
+ import { t as A } from "./useEvent-BRH-aCqi.js";
13
+ import { o as te } from "./static-state-D-Q-Ajaa.js";
14
+ import { n as ne, t as re } from "./code-visibility-BEAPMrC-.js";
15
15
  /* empty css */
16
- var A = c("sticky-note", [["path", {
16
+ var j = c("sticky-note", [["path", {
17
17
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
18
18
  key: "1dfntj"
19
19
  }], ["path", {
20
20
  d: "M15 3v5a1 1 0 0 0 1 1h5",
21
21
  key: "6s6qgf"
22
- }]]), j = /* @__PURE__ */ e(o(), 1), M = s(), ae = (e, t) => {
22
+ }]]), M = /* @__PURE__ */ e(o(), 1), N = s(), ie = (e, t) => {
23
23
  for (let n in t) e[n] = t[n];
24
24
  return e;
25
- }, N = (e, t) => Array.from(e.querySelectorAll(t)), oe = (e, t, n) => {
25
+ }, P = (e, t) => Array.from(e.querySelectorAll(t)), ae = (e, t, n) => {
26
26
  n ? e.classList.add(t) : e.classList.remove(t);
27
- }, se = (e) => {
27
+ }, oe = (e) => {
28
28
  if (typeof e == "string") {
29
29
  if (e === "null") return null;
30
30
  if (e === "true") return !0;
@@ -32,23 +32,23 @@ var A = c("sticky-note", [["path", {
32
32
  if (e.match(/^-?[\d\.]+$/)) return parseFloat(e);
33
33
  }
34
34
  return e;
35
- }, ce = (e, t) => {
35
+ }, se = (e, t) => {
36
36
  e.style.transform = t;
37
- }, le = (e, t) => {
37
+ }, ce = (e, t) => {
38
38
  let n = e.matches || e.matchesSelector || e.msMatchesSelector;
39
39
  return !!(n && n.call(e, t));
40
- }, P = (e, t) => {
40
+ }, F = (e, t) => {
41
41
  if (e && typeof e.closest == "function") return e.closest(t);
42
42
  for (; e;) {
43
- if (le(e, t)) return e;
43
+ if (ce(e, t)) return e;
44
44
  e = e.parentElement;
45
45
  }
46
46
  return null;
47
- }, F = (e) => {
47
+ }, I = (e) => {
48
48
  e ||= document.documentElement;
49
49
  let t = e.requestFullscreen || e.webkitRequestFullscreen || e.webkitRequestFullScreen || e.mozRequestFullScreen || e.msRequestFullscreen;
50
50
  t && t.apply(e);
51
- }, ue = (e, t, n, r = "") => {
51
+ }, le = (e, t, n, r = "") => {
52
52
  let i = e.querySelectorAll("." + n);
53
53
  for (let t = 0; t < i.length; t++) {
54
54
  let n = i[t];
@@ -56,10 +56,10 @@ var A = c("sticky-note", [["path", {
56
56
  }
57
57
  let a = document.createElement(t);
58
58
  return a.className = n, a.innerHTML = r, e.appendChild(a), a;
59
- }, de = (e) => {
59
+ }, ue = (e) => {
60
60
  let t = document.createElement("style");
61
61
  return e && e.length > 0 && t.appendChild(document.createTextNode(e)), document.head.appendChild(t), t;
62
- }, fe = () => {
62
+ }, de = () => {
63
63
  let e = {};
64
64
  location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi, (t) => {
65
65
  let n = t.split("=").shift(), r = t.split("=").pop();
@@ -67,27 +67,27 @@ var A = c("sticky-note", [["path", {
67
67
  });
68
68
  for (let t in e) {
69
69
  let n = e[t];
70
- e[t] = se(unescape(n));
70
+ e[t] = oe(unescape(n));
71
71
  }
72
72
  return e.dependencies !== void 0 && delete e.dependencies, e;
73
- }, pe = (e, t = 0) => {
73
+ }, fe = (e, t = 0) => {
74
74
  if (e) {
75
75
  let n, r = e.style.height;
76
76
  return e.style.height = "0px", e.parentElement && (e.parentElement.style.height = "auto"), n = t - (e.parentElement?.offsetHeight || 0), e.style.height = r + "px", e.parentElement && e.parentElement.style.removeProperty("height"), n;
77
77
  }
78
78
  return t;
79
- }, me = {
79
+ }, pe = {
80
80
  mp4: "video/mp4",
81
81
  m4a: "video/mp4",
82
82
  ogv: "video/ogg",
83
83
  mpeg: "video/mpeg",
84
84
  webm: "video/webm"
85
- }, he = (e = "") => {
85
+ }, me = (e = "") => {
86
86
  let t = e.split(".").pop();
87
- return t ? me[t] : void 0;
88
- }, ge = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), _e = navigator.userAgent, ve = /(iphone|ipod|ipad|android)/gi.test(_e) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
- /chrome/i.test(_e) && /edge/i.test(_e);
90
- var ye = /android/gi.test(_e), be = function(e) {
87
+ return t ? pe[t] : void 0;
88
+ }, he = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), ge = navigator.userAgent, _e = /(iphone|ipod|ipad|android)/gi.test(ge) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
+ /chrome/i.test(ge) && /edge/i.test(ge);
90
+ var ve = /android/gi.test(ge), ye = function(e) {
91
91
  if (e) {
92
92
  var t = function(e) {
93
93
  return [].slice.call(e);
@@ -167,16 +167,16 @@ var ye = /android/gi.test(_e), be = function(e) {
167
167
  characterData: !0
168
168
  }
169
169
  }, ee = null, w = function() {
170
- e.clearTimeout(ee), ee = e.setTimeout(l(i), E.observeWindowDelay);
170
+ e.clearTimeout(ee), ee = e.setTimeout(l(i), D.observeWindowDelay);
171
171
  }, T = ["resize", "orientationchange"];
172
- return Object.defineProperty(E, "observeWindow", { set: function(t) {
172
+ return Object.defineProperty(D, "observeWindow", { set: function(t) {
173
173
  var n = `${t ? "add" : "remove"}EventListener`;
174
174
  T.forEach((function(t) {
175
175
  e[n](t, w);
176
176
  }));
177
- } }), E.observeWindow = !0, E.observeWindowDelay = 100, E.fitAll = l(a), E;
177
+ } }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
178
178
  }
179
- function te(e, t) {
179
+ function E(e, t) {
180
180
  var n = Object.assign({}, C, t), r = e.map((function(e) {
181
181
  var t = Object.assign({}, n, {
182
182
  element: e,
@@ -198,44 +198,44 @@ var ye = /android/gi.test(_e), be = function(e) {
198
198
  }));
199
199
  return c(), r;
200
200
  }
201
- function E(e) {
201
+ function D(e) {
202
202
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
203
- return typeof e == "string" ? te(t(document.querySelectorAll(e)), n) : te([e], n)[0];
203
+ return typeof e == "string" ? E(t(document.querySelectorAll(e)), n) : E([e], n)[0];
204
204
  }
205
205
  }(typeof window > "u" ? null : window);
206
- function I(e) {
206
+ function L(e) {
207
207
  "@babel/helpers - typeof";
208
- return I = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
208
+ return L = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
209
209
  return typeof e;
210
210
  } : function(e) {
211
211
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
212
- }, I(e);
212
+ }, L(e);
213
213
  }
214
- function xe(e, t) {
215
- if (I(e) != "object" || !e) return e;
214
+ function be(e, t) {
215
+ if (L(e) != "object" || !e) return e;
216
216
  var n = e[Symbol.toPrimitive];
217
217
  if (n !== void 0) {
218
218
  var r = n.call(e, t || "default");
219
- if (I(r) != "object") return r;
219
+ if (L(r) != "object") return r;
220
220
  throw TypeError("@@toPrimitive must return a primitive value.");
221
221
  }
222
222
  return (t === "string" ? String : Number)(e);
223
223
  }
224
- function Se(e) {
225
- var t = xe(e, "string");
226
- return I(t) == "symbol" ? t : t + "";
224
+ function xe(e) {
225
+ var t = be(e, "string");
226
+ return L(t) == "symbol" ? t : t + "";
227
227
  }
228
- function Ce(e, t, n) {
229
- return (t = Se(t)) in e ? Object.defineProperty(e, t, {
228
+ function Se(e, t, n) {
229
+ return (t = xe(t)) in e ? Object.defineProperty(e, t, {
230
230
  value: n,
231
231
  enumerable: !0,
232
232
  configurable: !0,
233
233
  writable: !0
234
234
  }) : e[t] = n, e;
235
235
  }
236
- var we = class {
236
+ var Ce = class {
237
237
  constructor(e) {
238
- Ce(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
238
+ Se(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
239
239
  }
240
240
  renderMediaPlayButton() {
241
241
  this.mediaPlayButton = document.createElement("button"), this.mediaPlayButton.className = "r-overlay-button r-media-play-button", this.mediaPlayButton.addEventListener("click", () => {
@@ -259,14 +259,14 @@ var we = class {
259
259
  let t = n.replace(/\s*!important\s*$/, "").trim();
260
260
  e.style.setProperty("display", t, "important");
261
261
  } else e.style.display = n;
262
- N(e, "img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach((e) => {
262
+ P(e, "img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach((e) => {
263
263
  let t = e.tagName === "IFRAME";
264
264
  (!t || this.shouldPreload(e)) && (e.setAttribute("src", e.getAttribute("data-src")), e.setAttribute("data-lazy-loaded", ""), e.removeAttribute("data-src"), t && e.addEventListener("load", this.preventIframeAutoFocus));
265
- }), N(e, "video, audio").forEach((e) => {
265
+ }), P(e, "video, audio").forEach((e) => {
266
266
  let t = 0;
267
- N(e, "source[data-src]").forEach((e) => {
267
+ P(e, "source[data-src]").forEach((e) => {
268
268
  e.setAttribute("src", e.getAttribute("data-src")), e.removeAttribute("data-src"), e.setAttribute("data-lazy-loaded", ""), t += 1;
269
- }), ve && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
269
+ }), _e && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
270
270
  });
271
271
  let r = e.slideBackgroundElement;
272
272
  if (r) {
@@ -275,13 +275,13 @@ var we = class {
275
275
  if (r.hasAttribute("data-loaded") === !1) {
276
276
  r.setAttribute("data-loaded", "true");
277
277
  let a = e.getAttribute("data-background-image"), o = e.getAttribute("data-background-video"), s = e.hasAttribute("data-background-video-loop"), c = e.hasAttribute("data-background-video-muted");
278
- if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${ge(decodeURI(e.trim()))})`).join(",");
278
+ if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${he(decodeURI(e.trim()))})`).join(",");
279
279
  else if (o) {
280
280
  let e = document.createElement("video");
281
- s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), ve && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
281
+ s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), _e && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
282
282
  let n = document.createElement("source");
283
283
  n.setAttribute("src", t);
284
- let r = he(t);
284
+ let r = me(t);
285
285
  r && n.setAttribute("type", r), e.appendChild(n);
286
286
  }), n.appendChild(e);
287
287
  } else if (i && t.excludeIframes !== !0) {
@@ -296,7 +296,7 @@ var we = class {
296
296
  }
297
297
  layout(e) {
298
298
  Array.from(e.querySelectorAll(".r-fit-text")).forEach((e) => {
299
- be(e, {
299
+ ye(e, {
300
300
  minSize: 24,
301
301
  maxSize: this.Reveal.getConfig().height * .8,
302
302
  observeMutations: !1,
@@ -307,17 +307,17 @@ var we = class {
307
307
  unload(e) {
308
308
  e.style.display = "none";
309
309
  let t = this.Reveal.getSlideBackground(e);
310
- t && (t.style.display = "none", N(t, "iframe[src]").forEach((e) => {
310
+ t && (t.style.display = "none", P(t, "iframe[src]").forEach((e) => {
311
311
  e.removeAttribute("src");
312
- })), N(e, "video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach((e) => {
312
+ })), P(e, "video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach((e) => {
313
313
  e.setAttribute("data-src", e.getAttribute("src")), e.removeAttribute("src");
314
- }), N(e, "video[data-lazy-loaded] source[src], audio source[src]").forEach((e) => {
314
+ }), P(e, "video[data-lazy-loaded] source[src], audio source[src]").forEach((e) => {
315
315
  e.setAttribute("data-src", e.getAttribute("src")), e.removeAttribute("src");
316
316
  });
317
317
  }
318
318
  formatEmbeddedContent() {
319
319
  let e = (e, t, n) => {
320
- N(this.Reveal.getSlidesElement(), "iframe[" + e + "*=\"" + t + "\"]").forEach((t) => {
320
+ P(this.Reveal.getSlidesElement(), "iframe[" + e + "*=\"" + t + "\"]").forEach((t) => {
321
321
  let r = t.getAttribute(e);
322
322
  r && r.indexOf(n) === -1 && t.setAttribute(e, r + (/\?/.test(r) ? "&" : "?") + n);
323
323
  });
@@ -327,19 +327,19 @@ var we = class {
327
327
  startEmbeddedContent(e) {
328
328
  if (e) {
329
329
  let t = this.Reveal.isSpeakerNotes();
330
- N(e, "img[src$=\".gif\"]").forEach((e) => {
330
+ P(e, "img[src$=\".gif\"]").forEach((e) => {
331
331
  e.setAttribute("src", e.getAttribute("src"));
332
- }), N(e, "video, audio").forEach((e) => {
333
- if (P(e, ".fragment") && !P(e, ".fragment.visible")) return;
332
+ }), P(e, "video, audio").forEach((e) => {
333
+ if (F(e, ".fragment") && !F(e, ".fragment.visible")) return;
334
334
  let n = this.Reveal.getConfig().autoPlayMedia;
335
- if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!P(e, ".slide-background")), n && typeof e.play == "function") {
335
+ if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!F(e, ".slide-background")), n && typeof e.play == "function") {
336
336
  if (t && !e.muted) return;
337
- e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : ve ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
337
+ e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : _e ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
338
338
  }
339
- }), t || (N(e, "iframe[src]").forEach((e) => {
340
- P(e, ".fragment") && !P(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
341
- }), N(e, "iframe[data-src]").forEach((e) => {
342
- P(e, ".fragment") && !P(e, ".fragment.visible") || e.getAttribute("src") !== e.getAttribute("data-src") && (e.removeEventListener("load", this.startEmbeddedIframe), e.addEventListener("load", this.startEmbeddedIframe), e.setAttribute("src", e.getAttribute("data-src")));
339
+ }), t || (P(e, "iframe[src]").forEach((e) => {
340
+ F(e, ".fragment") && !F(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
341
+ }), P(e, "iframe[data-src]").forEach((e) => {
342
+ F(e, ".fragment") && !F(e, ".fragment.visible") || e.getAttribute("src") !== e.getAttribute("data-src") && (e.removeEventListener("load", this.startEmbeddedIframe), e.addEventListener("load", this.startEmbeddedIframe), e.setAttribute("src", e.getAttribute("data-src")));
343
343
  }));
344
344
  }
345
345
  }
@@ -351,7 +351,7 @@ var we = class {
351
351
  }, 1e3);
352
352
  }
353
353
  startEmbeddedMedia(e) {
354
- let t = !!P(e.target, "html"), n = !!P(e.target, ".present");
354
+ let t = !!F(e.target, "html"), n = !!F(e.target, ".present");
355
355
  t && n && (e.target.paused || e.target.ended) && (e.target.currentTime = 0, this.playMediaElement(e.target)), e.target.removeEventListener("loadeddata", this.startEmbeddedMedia);
356
356
  }
357
357
  playMediaElement(e) {
@@ -362,7 +362,7 @@ var we = class {
362
362
  if (t.name === "NotAllowedError") {
363
363
  if (this.allowedToPlayAudio = !1, e.tagName === "VIDEO") {
364
364
  this.onVideoPlaybackNotAllowed(e);
365
- let t = !!P(e, "html"), n = !!P(e, ".present"), r = e.muted;
365
+ let t = !!F(e, "html"), n = !!F(e, ".present"), r = e.muted;
366
366
  t && n && !r && (e.setAttribute("data-muted-by-reveal", "true"), e.muted = !0, e.play().catch(() => {
367
367
  this.onMutedVideoPlaybackNotAllowed(e);
368
368
  }));
@@ -373,23 +373,23 @@ var we = class {
373
373
  startEmbeddedIframe(e) {
374
374
  let t = e.target;
375
375
  if (this.preventIframeAutoFocus(e), t && t.contentWindow) {
376
- let n = !!P(e.target, "html"), r = !!P(e.target, ".present");
376
+ let n = !!F(e.target, "html"), r = !!F(e.target, ".present");
377
377
  if (n && r) {
378
378
  let e = this.Reveal.getConfig().autoPlayMedia;
379
- typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!P(t, ".slide-background")), /youtube\.com\/embed\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"event\":\"command\",\"func\":\"playVideo\",\"args\":\"\"}", "*") : /player\.vimeo\.com\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"method\":\"play\"}", "*") : t.contentWindow.postMessage("slide:start", "*");
379
+ typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!F(t, ".slide-background")), /youtube\.com\/embed\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"event\":\"command\",\"func\":\"playVideo\",\"args\":\"\"}", "*") : /player\.vimeo\.com\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"method\":\"play\"}", "*") : t.contentWindow.postMessage("slide:start", "*");
380
380
  }
381
381
  }
382
382
  }
383
383
  stopEmbeddedContent(e, t = {}) {
384
- t = ae({ unloadIframes: !0 }, t), e && e.parentNode && (N(e, "video, audio").forEach((e) => {
385
- !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), ve && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
386
- }), N(e, "iframe").forEach((e) => {
384
+ t = ie({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
385
+ !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), _e && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
386
+ }), P(e, "iframe").forEach((e) => {
387
387
  e.contentWindow && e.contentWindow.postMessage("slide:stop", "*"), e.removeEventListener("load", this.preventIframeAutoFocus), e.removeEventListener("load", this.startEmbeddedIframe);
388
- }), N(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
388
+ }), P(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
389
389
  !e.hasAttribute("data-ignore") && e.contentWindow && typeof e.contentWindow.postMessage == "function" && e.contentWindow.postMessage("{\"event\":\"command\",\"func\":\"pauseVideo\",\"args\":\"\"}", "*");
390
- }), N(e, "iframe[src*=\"player.vimeo.com/\"]").forEach((e) => {
390
+ }), P(e, "iframe[src*=\"player.vimeo.com/\"]").forEach((e) => {
391
391
  !e.hasAttribute("data-ignore") && e.contentWindow && typeof e.contentWindow.postMessage == "function" && e.contentWindow.postMessage("{\"method\":\"pause\"}", "*");
392
- }), t.unloadIframes === !0 && N(e, "iframe[data-src]").forEach((e) => {
392
+ }), t.unloadIframes === !0 && P(e, "iframe[data-src]").forEach((e) => {
393
393
  e.setAttribute("src", "about:blank"), e.removeAttribute("src");
394
394
  }));
395
395
  }
@@ -433,7 +433,7 @@ var we = class {
433
433
  afterSlideChanged() {
434
434
  this.clearMediaPlaybackErrors();
435
435
  }
436
- }, L = ".slides section", R = ".slides>section", Te = ".slides>section.present>section", Ee = ".backgrounds>.slide-background", De = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Oe = class {
436
+ }, R = ".slides section", z = ".slides>section", we = ".slides>section.present>section", Te = ".backgrounds>.slide-background", Ee = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, De = class {
437
437
  constructor(e) {
438
438
  this.Reveal = e;
439
439
  }
@@ -482,7 +482,7 @@ var we = class {
482
482
  destroy() {
483
483
  this.element.remove();
484
484
  }
485
- }, ke = class {
485
+ }, Oe = class {
486
486
  constructor(e) {
487
487
  this.Reveal = e, this.onInput = this.onInput.bind(this), this.onBlur = this.onBlur.bind(this), this.onKeyDown = this.onKeyDown.bind(this);
488
488
  }
@@ -535,7 +535,7 @@ var we = class {
535
535
  onBlur() {
536
536
  setTimeout(() => this.hide(), 1);
537
537
  }
538
- }, z = (e) => {
538
+ }, B = (e) => {
539
539
  let t = e.match(/^#([0-9a-f]{3})$/i);
540
540
  if (t && t[1]) {
541
541
  let e = t[1];
@@ -567,7 +567,7 @@ var we = class {
567
567
  b: parseInt(i[3], 10),
568
568
  a: parseFloat(i[4])
569
569
  } : null;
570
- }, B = (e) => (typeof e == "string" && (e = z(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Ae = class {
570
+ }, V = (e) => (typeof e == "string" && (e = B(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), ke = class {
571
571
  constructor(e) {
572
572
  this.Reveal = e;
573
573
  }
@@ -577,7 +577,7 @@ var we = class {
577
577
  create() {
578
578
  this.element.innerHTML = "", this.element.classList.add("no-transition"), this.Reveal.getHorizontalSlides().forEach((e) => {
579
579
  let t = this.createBackground(e, this.element);
580
- N(e, "section").forEach((e) => {
580
+ P(e, "section").forEach((e) => {
581
581
  this.createBackground(e, t), t.classList.add("stack");
582
582
  });
583
583
  }), this.Reveal.getConfig().parallaxBackgroundImage ? (this.element.style.backgroundImage = "url(\"" + this.Reveal.getConfig().parallaxBackgroundImage + "\")", this.element.style.backgroundSize = this.Reveal.getConfig().parallaxBackgroundSize, this.element.style.backgroundRepeat = this.Reveal.getConfig().parallaxBackgroundRepeat, this.element.style.backgroundPosition = this.Reveal.getConfig().parallaxBackgroundPosition, setTimeout(() => {
@@ -610,13 +610,13 @@ var we = class {
610
610
  }
611
611
  getContrastClass(e) {
612
612
  let t = e.slideBackgroundElement, n = e.getAttribute("data-background-color");
613
- if (!n || !z(n)) {
613
+ if (!n || !B(n)) {
614
614
  let e = window.getComputedStyle(t);
615
615
  e && e.backgroundColor && (n = e.backgroundColor);
616
616
  }
617
617
  if (n) {
618
- let e = z(n);
619
- if (e && e.a !== 0) return B(n) < 128 ? "has-dark-background" : "has-light-background";
618
+ let e = B(n);
619
+ if (e && e.a !== 0) return V(n) < 128 ? "has-dark-background" : "has-light-background";
620
620
  }
621
621
  return null;
622
622
  }
@@ -628,7 +628,7 @@ var we = class {
628
628
  update(e = !1) {
629
629
  let t = this.Reveal.getConfig(), n = this.Reveal.getCurrentSlide(), r = this.Reveal.getIndices(), i = null, a = t.rtl ? "future" : "past", o = t.rtl ? "past" : "future";
630
630
  if (Array.from(this.element.childNodes).forEach((t, n) => {
631
- t.classList.remove("past", "present", "future"), n < r.h ? t.classList.add(a) : n > r.h ? t.classList.add(o) : (t.classList.add("present"), i = t), (e || n === r.h) && N(t, ".slide-background").forEach((e, t) => {
631
+ t.classList.remove("past", "present", "future"), n < r.h ? t.classList.add(a) : n > r.h ? t.classList.add(o) : (t.classList.add("present"), i = t), (e || n === r.h) && P(t, ".slide-background").forEach((e, t) => {
632
632
  e.classList.remove("past", "present", "future");
633
633
  let a = typeof r.v == "number" ? r.v : 0;
634
634
  t < a ? e.classList.add("past") : t > a ? e.classList.add("future") : (e.classList.add("present"), n === r.h && (i = e));
@@ -672,7 +672,7 @@ var we = class {
672
672
  destroy() {
673
673
  this.element.remove();
674
674
  }
675
- }, je = 0, Me = class {
675
+ }, Ae = 0, je = class {
676
676
  constructor(e) {
677
677
  this.Reveal = e;
678
678
  }
@@ -680,17 +680,17 @@ var we = class {
680
680
  this.reset();
681
681
  let n = this.Reveal.getSlides(), r = n.indexOf(t), i = n.indexOf(e);
682
682
  if (e && t && e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(r > i ? t : e).hasAttribute("data-auto-animate-restart")) {
683
- this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || de();
683
+ this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || ue();
684
684
  let n = this.getAutoAnimateOptions(t);
685
685
  e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
686
686
  let a = e.style.display === "none";
687
687
  a && (e.style.display = this.Reveal.getConfig().display);
688
- let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, je++));
688
+ let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, Ae++));
689
689
  if (a && (e.style.display = "none"), t.dataset.autoAnimateUnmatched !== "false" && this.Reveal.getConfig().autoAnimateUnmatched === !0) {
690
690
  let e = n.duration * .8, r = n.duration * .2;
691
691
  this.getUnmatchedAutoAnimateElements(t).forEach((e) => {
692
692
  let t = this.getAutoAnimateOptions(e, n), r = "unmatched";
693
- (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + je++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
693
+ (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + Ae++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
694
694
  }, this), o.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${e}s ease ${r}s; }`);
695
695
  }
696
696
  this.autoAnimateStyleSheet.innerHTML = o.join(""), requestAnimationFrame(() => {
@@ -706,9 +706,9 @@ var we = class {
706
706
  }
707
707
  }
708
708
  reset() {
709
- N(this.Reveal.getRevealElement(), "[data-auto-animate]:not([data-auto-animate=\"\"])").forEach((e) => {
709
+ P(this.Reveal.getRevealElement(), "[data-auto-animate]:not([data-auto-animate=\"\"])").forEach((e) => {
710
710
  e.dataset.autoAnimate = "";
711
- }), N(this.Reveal.getRevealElement(), "[data-auto-animate-target]").forEach((e) => {
711
+ }), P(this.Reveal.getRevealElement(), "[data-auto-animate-target]").forEach((e) => {
712
712
  delete e.dataset.autoAnimateTarget;
713
713
  }), this.autoAnimateStyleSheet && this.autoAnimateStyleSheet.parentNode && (this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet), this.autoAnimateStyleSheet = null);
714
714
  }
@@ -749,8 +749,8 @@ var we = class {
749
749
  duration: this.Reveal.getConfig().autoAnimateDuration,
750
750
  delay: 0
751
751
  };
752
- if (n = ae(n, t), e.parentNode) {
753
- let t = P(e.parentNode, "[data-auto-animate-target]");
752
+ if (n = ie(n, t), e.parentNode) {
753
+ let t = F(e.parentNode, "[data-auto-animate-target]");
754
754
  t && (n = this.getAutoAnimateOptions(t, n));
755
755
  }
756
756
  return e.dataset.autoAnimateEasing && (n.easing = e.dataset.autoAnimateEasing), e.dataset.autoAnimateDuration && (n.duration = parseFloat(e.dataset.autoAnimateDuration)), e.dataset.autoAnimateDelay && (n.delay = parseFloat(e.dataset.autoAnimateDelay)), n;
@@ -793,7 +793,7 @@ var we = class {
793
793
  getAutoAnimatePairs(e, t) {
794
794
  let n = [], r = "h1, h2, h3, h4, h5, h6, p, li";
795
795
  return this.findAutoAnimateMatches(n, e, t, "[data-id]", (e) => e.nodeName + ":::" + e.getAttribute("data-id")), this.findAutoAnimateMatches(n, e, t, r, (e) => e.nodeName + ":::" + e.textContent.trim()), this.findAutoAnimateMatches(n, e, t, "img, video, iframe", (e) => e.nodeName + ":::" + (e.getAttribute("src") || e.getAttribute("data-src"))), this.findAutoAnimateMatches(n, e, t, "pre", (e) => e.nodeName + ":::" + e.textContent.trim()), n.forEach((e) => {
796
- le(e.from, r) ? e.options = { scale: !1 } : le(e.from, "pre") && (e.options = {
796
+ ce(e.from, r) ? e.options = { scale: !1 } : ce(e.from, "pre") && (e.options = {
797
797
  scale: !1,
798
798
  styles: ["width", "height"]
799
799
  }, this.findAutoAnimateMatches(n, e.from, e.to, ".hljs .hljs-ln-code", (e) => e.textContent, {
@@ -842,7 +842,7 @@ var we = class {
842
842
  return !t.hasAttribute("data-auto-animate-target") && !n && e.push(t), t.querySelector("[data-auto-animate-target]") && (e = e.concat(this.getUnmatchedAutoAnimateElements(t))), e;
843
843
  }, []);
844
844
  }
845
- }, Ne = 500, Pe = 4, Fe = 6, Ie = 8, Le = class {
845
+ }, Me = 500, Ne = 4, Pe = 6, Fe = 8, Ie = class {
846
846
  constructor(e) {
847
847
  this.Reveal = e, this.active = !1, this.activeProgressBarPage = null, this.activeProgressBarTrigger = null, this.activatedCallbacks = [], this.onScroll = this.onScroll.bind(this);
848
848
  }
@@ -850,7 +850,7 @@ var we = class {
850
850
  if (this.active) return;
851
851
  let e = this.Reveal.getState();
852
852
  this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
853
- let t = N(this.Reveal.getRevealElement(), R), n = N(this.Reveal.getRevealElement(), Ee);
853
+ let t = P(this.Reveal.getRevealElement(), z), n = P(this.Reveal.getRevealElement(), Te);
854
854
  this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
855
855
  let r, i = window.getComputedStyle(this.viewportElement);
856
856
  i && i.background && (r = i.background);
@@ -872,7 +872,7 @@ var we = class {
872
872
  this.Reveal.isVerticalStack(e) ? e.querySelectorAll("section").forEach((e, n) => {
873
873
  c(e, t, n, !0);
874
874
  }) : c(e, t, 0);
875
- }, this), this.createProgressBar(), N(this.Reveal.getRevealElement(), ".stack").forEach((e) => e.remove()), a.forEach((e) => o.appendChild(e)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.layout(), this.Reveal.setState(e), this.activatedCallbacks.forEach((e) => e()), this.activatedCallbacks = [], this.restoreScrollPosition(), this.viewportElement.classList.remove("loading-scroll-mode"), this.viewportElement.addEventListener("scroll", this.onScroll, { passive: !0 });
875
+ }, this), this.createProgressBar(), P(this.Reveal.getRevealElement(), ".stack").forEach((e) => e.remove()), a.forEach((e) => o.appendChild(e)), this.Reveal.slideContent.layout(this.Reveal.getSlidesElement()), this.Reveal.layout(), this.Reveal.setState(e), this.activatedCallbacks.forEach((e) => e()), this.activatedCallbacks = [], this.restoreScrollPosition(), this.viewportElement.classList.remove("loading-scroll-mode"), this.viewportElement.addEventListener("scroll", this.onScroll, { passive: !0 });
876
876
  }
877
877
  deactivate() {
878
878
  if (!this.active) return;
@@ -975,9 +975,9 @@ var we = class {
975
975
  e.progressBarSlide = null, e.scrollTriggers.forEach((e) => e.progressBarElement = null);
976
976
  });
977
977
  let e = this.viewportElement.scrollHeight, t = this.viewportElement.offsetHeight, n = t / e;
978
- this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Ie), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
- let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Pe);
980
- this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Fe && this.slideTriggers.forEach((e) => {
978
+ this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Fe), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
+ let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Ne);
980
+ this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Pe && this.slideTriggers.forEach((e) => {
981
981
  let { page: t } = e;
982
982
  t.progressBarSlide = document.createElement("div"), t.progressBarSlide.className = "scrollbar-slide", t.progressBarSlide.style.top = e.range[0] * this.progressBarHeight + "px", t.progressBarSlide.style.height = (e.range[1] - e.range[0]) * this.progressBarHeight - i + "px", t.progressBarSlide.classList.toggle("has-triggers", t.scrollTriggers.length > 0), this.progressBarInner.appendChild(t.progressBarSlide), t.scrollTriggers.forEach((n, r) => {
983
983
  let a = document.createElement("div");
@@ -1010,7 +1010,7 @@ var we = class {
1010
1010
  showProgressBar() {
1011
1011
  this.progressBar.classList.add("visible"), clearTimeout(this.hideProgressBarTimeout), this.Reveal.getConfig().scrollProgress === "auto" && !this.draggingProgressBar && (this.hideProgressBarTimeout = setTimeout(() => {
1012
1012
  this.progressBar && this.progressBar.classList.remove("visible");
1013
- }, Ne));
1013
+ }, Me));
1014
1014
  }
1015
1015
  prev() {
1016
1016
  this.viewportElement.scrollTop -= this.scrollTriggerHeight;
@@ -1071,7 +1071,7 @@ var we = class {
1071
1071
  return this.Reveal.getViewportElement();
1072
1072
  }
1073
1073
  };
1074
- function Re(e, t, n, r, i, a, o) {
1074
+ function Le(e, t, n, r, i, a, o) {
1075
1075
  try {
1076
1076
  var s = e[a](o), c = s.value;
1077
1077
  } catch (e) {
@@ -1080,30 +1080,30 @@ function Re(e, t, n, r, i, a, o) {
1080
1080
  }
1081
1081
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1082
1082
  }
1083
- function V(e) {
1083
+ function H(e) {
1084
1084
  return function() {
1085
1085
  var t = this, n = arguments;
1086
1086
  return new Promise(function(r, i) {
1087
1087
  var a = e.apply(t, n);
1088
1088
  function o(e) {
1089
- Re(a, r, i, o, s, "next", e);
1089
+ Le(a, r, i, o, s, "next", e);
1090
1090
  }
1091
1091
  function s(e) {
1092
- Re(a, r, i, o, s, "throw", e);
1092
+ Le(a, r, i, o, s, "throw", e);
1093
1093
  }
1094
1094
  o(void 0);
1095
1095
  });
1096
1096
  };
1097
1097
  }
1098
- var ze = class {
1098
+ var Re = class {
1099
1099
  constructor(e) {
1100
1100
  this.Reveal = e;
1101
1101
  }
1102
1102
  activate() {
1103
1103
  var e = this;
1104
- return V(function* () {
1105
- let t = e.Reveal.getConfig(), n = N(e.Reveal.getRevealElement(), L), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
- yield new Promise(requestAnimationFrame), de("@page{size:" + a + "px " + o + "px; margin: 0px;}"), de(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1104
+ return H(function* () {
1105
+ let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), R), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
+ yield new Promise(requestAnimationFrame), ue("@page{size:" + a + "px " + o + "px; margin: 0px;}"), ue(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1107
1107
  let l = e.Reveal.getViewportElement(), u;
1108
1108
  if (l) {
1109
1109
  let e = window.getComputedStyle(l);
@@ -1146,7 +1146,7 @@ var ze = class {
1146
1146
  e.classList.remove("visible", "current-fragment");
1147
1147
  });
1148
1148
  });
1149
- } else N(g, ".fragment:not(.fade-out)").forEach(function(e) {
1149
+ } else P(g, ".fragment:not(.fade-out)").forEach(function(e) {
1150
1150
  e.classList.add("visible");
1151
1151
  });
1152
1152
  }
@@ -1156,7 +1156,7 @@ var ze = class {
1156
1156
  isActive() {
1157
1157
  return this.Reveal.getConfig().view === "print";
1158
1158
  }
1159
- }, Be = class {
1159
+ }, ze = class {
1160
1160
  constructor(e) {
1161
1161
  this.Reveal = e;
1162
1162
  }
@@ -1164,12 +1164,12 @@ var ze = class {
1164
1164
  e.fragments === !1 ? this.disable() : t.fragments === !1 && this.enable();
1165
1165
  }
1166
1166
  disable() {
1167
- N(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1167
+ P(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1168
1168
  e.classList.add("visible"), e.classList.remove("current-fragment");
1169
1169
  });
1170
1170
  }
1171
1171
  enable() {
1172
- N(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1172
+ P(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1173
1173
  e.classList.remove("visible"), e.classList.remove("current-fragment");
1174
1174
  });
1175
1175
  }
@@ -1205,7 +1205,7 @@ var ze = class {
1205
1205
  }
1206
1206
  sortAll() {
1207
1207
  this.Reveal.getHorizontalSlides().forEach((e) => {
1208
- let t = N(e, "section");
1208
+ let t = P(e, "section");
1209
1209
  t.forEach((e, t) => {
1210
1210
  this.sort(e.querySelectorAll(".fragment"));
1211
1211
  }, this), t.length === 0 && this.sort(e.querySelectorAll(".fragment"));
@@ -1279,13 +1279,13 @@ var ze = class {
1279
1279
  prev() {
1280
1280
  return this.goto(null, -1);
1281
1281
  }
1282
- }, Ve = class {
1282
+ }, Be = class {
1283
1283
  constructor(e) {
1284
1284
  this.Reveal = e, this.active = !1, this.onSlideClicked = this.onSlideClicked.bind(this);
1285
1285
  }
1286
1286
  activate() {
1287
1287
  if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
1288
- this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), N(this.Reveal.getRevealElement(), L).forEach((e) => {
1288
+ this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), R).forEach((e) => {
1289
1289
  e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
1290
1290
  });
1291
1291
  let e = this.Reveal.getComputedSlideSize();
@@ -1303,12 +1303,12 @@ var ze = class {
1303
1303
  }
1304
1304
  layout() {
1305
1305
  this.Reveal.getHorizontalSlides().forEach((e, t) => {
1306
- e.setAttribute("data-index-h", t), ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && N(e, "section").forEach((e, n) => {
1307
- e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), ce(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1306
+ e.setAttribute("data-index-h", t), se(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1307
+ e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), se(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1308
1308
  });
1309
1309
  }), Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((e, t) => {
1310
- ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), N(e, ".slide-background").forEach((e, t) => {
1311
- ce(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1310
+ se(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1311
+ se(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1312
1312
  });
1313
1313
  });
1314
1314
  }
@@ -1324,10 +1324,10 @@ var ze = class {
1324
1324
  if (this.Reveal.getConfig().overview) {
1325
1325
  this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
1326
1326
  this.Reveal.getRevealElement().classList.remove("overview-deactivating");
1327
- }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), N(this.Reveal.getRevealElement(), L).forEach((e) => {
1328
- ce(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1329
- }), N(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1330
- ce(e, "");
1327
+ }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), R).forEach((e) => {
1328
+ se(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1329
+ }), P(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1330
+ se(e, "");
1331
1331
  }), this.Reveal.transformSlides({ overview: "" });
1332
1332
  let e = this.Reveal.getIndices();
1333
1333
  this.Reveal.slide(e.h, e.v), this.Reveal.layout(), this.Reveal.cueAutoSlide(), this.Reveal.dispatchEvent({
@@ -1357,7 +1357,7 @@ var ze = class {
1357
1357
  }
1358
1358
  }
1359
1359
  }
1360
- }, He = class {
1360
+ }, Ve = class {
1361
1361
  constructor(e) {
1362
1362
  this.Reveal = e, this.shortcuts = {}, this.bindings = {}, this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
1363
1363
  }
@@ -1447,10 +1447,10 @@ var ze = class {
1447
1447
  66,
1448
1448
  86,
1449
1449
  190
1450
- ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? F(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1450
+ ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? I(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1451
1451
  }
1452
1452
  };
1453
- function Ue(e, t) {
1453
+ function He(e, t) {
1454
1454
  var n = Object.keys(e);
1455
1455
  if (Object.getOwnPropertySymbols) {
1456
1456
  var r = Object.getOwnPropertySymbols(e);
@@ -1460,20 +1460,20 @@ function Ue(e, t) {
1460
1460
  }
1461
1461
  return n;
1462
1462
  }
1463
- function We(e) {
1463
+ function Ue(e) {
1464
1464
  for (var t = 1; t < arguments.length; t++) {
1465
1465
  var n = arguments[t] == null ? {} : arguments[t];
1466
- t % 2 ? Ue(Object(n), !0).forEach(function(t) {
1467
- Ce(e, t, n[t]);
1468
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
1466
+ t % 2 ? He(Object(n), !0).forEach(function(t) {
1467
+ Se(e, t, n[t]);
1468
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : He(Object(n)).forEach(function(t) {
1469
1469
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1470
1470
  });
1471
1471
  }
1472
1472
  return e;
1473
1473
  }
1474
- var Ge = class {
1474
+ var We = class {
1475
1475
  constructor(e) {
1476
- Ce(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1476
+ Se(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1477
1477
  }
1478
1478
  bind() {
1479
1479
  window.addEventListener("hashchange", this.onWindowHashChange, !1);
@@ -1490,7 +1490,7 @@ var Ge = class {
1490
1490
  let t = decodeURIComponent(n);
1491
1491
  e = (document.getElementById(t) || document.querySelector(`[data-id="${t}"]`)).closest(".slides section");
1492
1492
  } catch {}
1493
- if (e) return We(We({}, this.Reveal.getIndices(e)), {}, { f: t });
1493
+ if (e) return Ue(Ue({}, this.Reveal.getIndices(e)), {}, { f: t });
1494
1494
  } else {
1495
1495
  let e = this.Reveal.getConfig(), n = e.hashOneBasedIndex || t.oneBasedIndex ? 1 : 0, i = parseInt(r[0], 10) - n || 0, a = parseInt(r[1], 10) - n || 0, o;
1496
1496
  return e.fragmentInURL && (o = parseInt(r[2], 10), isNaN(o) && (o = void 0)), {
@@ -1533,7 +1533,7 @@ var Ge = class {
1533
1533
  onWindowHashChange(e) {
1534
1534
  this.readURL();
1535
1535
  }
1536
- }, Ke = class {
1536
+ }, Ge = class {
1537
1537
  constructor(e) {
1538
1538
  this.Reveal = e, this.onNavigateLeftClicked = this.onNavigateLeftClicked.bind(this), this.onNavigateRightClicked = this.onNavigateRightClicked.bind(this), this.onNavigateUpClicked = this.onNavigateUpClicked.bind(this), this.onNavigateDownClicked = this.onNavigateDownClicked.bind(this), this.onNavigatePrevClicked = this.onNavigatePrevClicked.bind(this), this.onNavigateNextClicked = this.onNavigateNextClicked.bind(this), this.onEnterFullscreen = this.onEnterFullscreen.bind(this);
1539
1539
  }
@@ -1542,7 +1542,7 @@ var Ge = class {
1542
1542
  this.element = document.createElement("aside"), this.element.className = "controls", this.element.innerHTML = `<button class="navigate-left" aria-label="${e ? "next slide" : "previous slide"}"><div class="controls-arrow"></div></button>
1543
1543
  <button class="navigate-right" aria-label="${e ? "previous slide" : "next slide"}"><div class="controls-arrow"></div></button>
1544
1544
  <button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button>
1545
- <button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>`, this.Reveal.getRevealElement().appendChild(this.element), this.controlsLeft = N(t, ".navigate-left"), this.controlsRight = N(t, ".navigate-right"), this.controlsUp = N(t, ".navigate-up"), this.controlsDown = N(t, ".navigate-down"), this.controlsPrev = N(t, ".navigate-prev"), this.controlsNext = N(t, ".navigate-next"), this.controlsFullscreen = N(t, ".enter-fullscreen"), this.controlsRightArrow = this.element.querySelector(".navigate-right"), this.controlsLeftArrow = this.element.querySelector(".navigate-left"), this.controlsDownArrow = this.element.querySelector(".navigate-down");
1545
+ <button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>`, this.Reveal.getRevealElement().appendChild(this.element), this.controlsLeft = P(t, ".navigate-left"), this.controlsRight = P(t, ".navigate-right"), this.controlsUp = P(t, ".navigate-up"), this.controlsDown = P(t, ".navigate-down"), this.controlsPrev = P(t, ".navigate-prev"), this.controlsNext = P(t, ".navigate-next"), this.controlsFullscreen = P(t, ".enter-fullscreen"), this.controlsRightArrow = this.element.querySelector(".navigate-right"), this.controlsLeftArrow = this.element.querySelector(".navigate-left"), this.controlsDownArrow = this.element.querySelector(".navigate-down");
1546
1546
  }
1547
1547
  configure(e, t) {
1548
1548
  let n = e.controls === "speaker" || e.controls === "speaker-only";
@@ -1550,7 +1550,7 @@ var Ge = class {
1550
1550
  }
1551
1551
  bind() {
1552
1552
  let e = ["touchstart", "click"];
1553
- ye && (e = ["touchend"]), e.forEach((e) => {
1553
+ ve && (e = ["touchend"]), e.forEach((e) => {
1554
1554
  this.controlsLeft.forEach((t) => t.addEventListener(e, this.onNavigateLeftClicked, !1)), this.controlsRight.forEach((t) => t.addEventListener(e, this.onNavigateRightClicked, !1)), this.controlsUp.forEach((t) => t.addEventListener(e, this.onNavigateUpClicked, !1)), this.controlsDown.forEach((t) => t.addEventListener(e, this.onNavigateDownClicked, !1)), this.controlsPrev.forEach((t) => t.addEventListener(e, this.onNavigatePrevClicked, !1)), this.controlsNext.forEach((t) => t.addEventListener(e, this.onNavigateNextClicked, !1)), this.controlsFullscreen.forEach((t) => t.addEventListener(e, this.onEnterFullscreen, !1));
1555
1555
  });
1556
1556
  }
@@ -1634,9 +1634,9 @@ var Ge = class {
1634
1634
  }
1635
1635
  onEnterFullscreen(e) {
1636
1636
  let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
1637
- F(t.embedded ? n : n.parentElement);
1637
+ I(t.embedded ? n : n.parentElement);
1638
1638
  }
1639
- }, qe = class {
1639
+ }, Ke = class {
1640
1640
  constructor(e) {
1641
1641
  this.Reveal = e, this.onProgressClicked = this.onProgressClicked.bind(this);
1642
1642
  }
@@ -1671,7 +1671,7 @@ var Ge = class {
1671
1671
  destroy() {
1672
1672
  this.element.remove();
1673
1673
  }
1674
- }, Je = class {
1674
+ }, qe = class {
1675
1675
  constructor(e) {
1676
1676
  this.Reveal = e, this.lastMouseWheelStep = 0, this.cursorHidden = !1, this.cursorInactiveTimeout = 0, this.onDocumentCursorActive = this.onDocumentCursorActive.bind(this), this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind(this);
1677
1677
  }
@@ -1697,7 +1697,7 @@ var Ge = class {
1697
1697
  t > 0 ? this.Reveal.next() : t < 0 && this.Reveal.prev();
1698
1698
  }
1699
1699
  }
1700
- }, Ye = (e, t) => {
1700
+ }, Je = (e, t) => {
1701
1701
  let n = document.createElement("script");
1702
1702
  n.type = "text/javascript", n.async = !1, n.defer = !1, n.src = e, typeof t == "function" && (n.onload = (e) => {
1703
1703
  e.type === "load" && (n.onload = n.onerror = null, t());
@@ -1706,7 +1706,7 @@ var Ge = class {
1706
1706
  });
1707
1707
  let r = document.querySelector("head");
1708
1708
  r && r.insertBefore(n, r.lastChild);
1709
- }, Xe = class {
1709
+ }, Ye = class {
1710
1710
  constructor(e) {
1711
1711
  this.Reveal = e, this.state = "idle", this.registeredPlugins = {}, this.asyncDependencies = [];
1712
1712
  }
@@ -1721,7 +1721,7 @@ var Ge = class {
1721
1721
  t && typeof t.callback == "function" && t.callback(), --r === 0 && this.initPlugins().then(e);
1722
1722
  };
1723
1723
  n.forEach((e) => {
1724
- typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Ye(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1724
+ typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Je(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1725
1725
  });
1726
1726
  } else this.initPlugins().then(e);
1727
1727
  });
@@ -1746,7 +1746,7 @@ var Ge = class {
1746
1746
  }
1747
1747
  loadAsync() {
1748
1748
  return this.state = "loaded", this.asyncDependencies.length && this.asyncDependencies.forEach((e) => {
1749
- Ye(e.src, e.callback);
1749
+ Je(e.src, e.callback);
1750
1750
  }), Promise.resolve();
1751
1751
  }
1752
1752
  registerPlugin(e) {
@@ -1768,7 +1768,7 @@ var Ge = class {
1768
1768
  typeof e.destroy == "function" && e.destroy();
1769
1769
  }), this.registeredPlugins = {}, this.asyncDependencies = [];
1770
1770
  }
1771
- }, Ze = class {
1771
+ }, Xe = class {
1772
1772
  constructor(e) {
1773
1773
  this.Reveal = e, this.onSlidesClicked = this.onSlidesClicked.bind(this), this.iframeTriggerSelector = null, this.mediaTriggerSelector = "[data-preview-image], [data-preview-video]", this.stateProps = [
1774
1774
  "previewIframe",
@@ -1916,7 +1916,7 @@ var Ge = class {
1916
1916
  destroy() {
1917
1917
  this.close();
1918
1918
  }
1919
- }, H = 40, Qe = 1.03, $e = class {
1919
+ }, U = 40, Ze = 1.03, Qe = class {
1920
1920
  constructor(e) {
1921
1921
  this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.activePointers = /* @__PURE__ */ new Map(), this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onPointerCancel = this.onPointerCancel.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
1922
1922
  }
@@ -1929,7 +1929,7 @@ var Ge = class {
1929
1929
  e.removeEventListener("pointerdown", this.onPointerDown, !1), e.removeEventListener("pointermove", this.onPointerMove, !1), e.removeEventListener("pointerup", this.onPointerUp, !1), e.removeEventListener("pointercancel", this.onPointerCancel, !1), e.removeEventListener("touchstart", this.onTouchStart, !1), e.removeEventListener("touchmove", this.onTouchMove, !1), e.removeEventListener("touchend", this.onTouchEnd, !1);
1930
1930
  }
1931
1931
  isSwipePrevented(e) {
1932
- if (le(e, "video[controls], audio[controls]")) return !0;
1932
+ if (ce(e, "video[controls], audio[controls]")) return !0;
1933
1933
  for (; e && typeof e.hasAttribute == "function";) {
1934
1934
  if (e.hasAttribute("data-prevent-swipe")) return !0;
1935
1935
  e = e.parentNode;
@@ -1939,7 +1939,7 @@ var Ge = class {
1939
1939
  isViewportZoomed() {
1940
1940
  if (!window.visualViewport || typeof window.visualViewport.scale != "number") return !1;
1941
1941
  let e = window.visualViewport.scale;
1942
- return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Qe;
1942
+ return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Ze;
1943
1943
  }
1944
1944
  onTouchStart(e) {
1945
1945
  if (this.touchCaptured = !1, this.isSwipePrevented(e.target)) return !0;
@@ -1948,13 +1948,13 @@ var Ge = class {
1948
1948
  onTouchMove(e) {
1949
1949
  if (this.isSwipePrevented(e.target)) return !0;
1950
1950
  let t = this.Reveal.getConfig();
1951
- if (this.touchCaptured) ye && e.preventDefault();
1951
+ if (this.touchCaptured) ve && e.preventDefault();
1952
1952
  else {
1953
1953
  this.Reveal.onUserInput(e);
1954
1954
  let n = e.touches[0].clientX, r = e.touches[0].clientY;
1955
1955
  if (e.touches.length === 1 && this.touchStartCount !== 2) {
1956
1956
  let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
1957
- a > H && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -40 && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > H && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1957
+ a > U && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -40 && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > U && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1958
1958
  }
1959
1959
  }
1960
1960
  }
@@ -1979,7 +1979,7 @@ var Ge = class {
1979
1979
  onPointerCancel(e) {
1980
1980
  e.pointerType === "touch" && (this.activePointers.delete(e.pointerId), e.touches = this.getActiveTouches(), this.onTouchEnd(e));
1981
1981
  }
1982
- }, et = "focus", tt = "blur", nt = class {
1982
+ }, $e = "focus", et = "blur", tt = class {
1983
1983
  constructor(e) {
1984
1984
  this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
1985
1985
  }
@@ -1993,13 +1993,13 @@ var Ge = class {
1993
1993
  this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
1994
1994
  }
1995
1995
  focus() {
1996
- this.state !== et && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = et;
1996
+ this.state !== $e && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = $e;
1997
1997
  }
1998
1998
  blur() {
1999
- this.state !== tt && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = tt;
1999
+ this.state !== et && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = et;
2000
2000
  }
2001
2001
  isFocused() {
2002
- return this.state === et;
2002
+ return this.state === $e;
2003
2003
  }
2004
2004
  destroy() {
2005
2005
  this.Reveal.getRevealElement().classList.remove("focused");
@@ -2008,10 +2008,10 @@ var Ge = class {
2008
2008
  this.focus();
2009
2009
  }
2010
2010
  onDocumentPointerDown(e) {
2011
- let t = P(e.target, ".reveal");
2011
+ let t = F(e.target, ".reveal");
2012
2012
  (!t || t !== this.Reveal.getRevealElement()) && this.blur();
2013
2013
  }
2014
- }, rt = class {
2014
+ }, nt = class {
2015
2015
  constructor(e) {
2016
2016
  this.Reveal = e;
2017
2017
  }
@@ -2041,7 +2041,7 @@ var Ge = class {
2041
2041
  destroy() {
2042
2042
  this.element.remove();
2043
2043
  }
2044
- }, it = class {
2044
+ }, rt = class {
2045
2045
  constructor(e, t) {
2046
2046
  this.diameter = 100, this.diameter2 = this.diameter / 2, this.thickness = 6, this.playing = !1, this.progress = 0, this.progressOffset = 1, this.container = e, this.progressCheck = t, this.canvas = document.createElement("canvas"), this.canvas.className = "playback", this.canvas.width = this.diameter, this.canvas.height = this.diameter, this.canvas.style.width = this.diameter2 + "px", this.canvas.style.height = this.diameter2 + "px", this.context = this.canvas.getContext("2d"), this.container.appendChild(this.canvas), this.render();
2047
2047
  }
@@ -2068,7 +2068,7 @@ var Ge = class {
2068
2068
  destroy() {
2069
2069
  this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
2070
2070
  }
2071
- }, at = {
2071
+ }, it = {
2072
2072
  width: 960,
2073
2073
  height: 700,
2074
2074
  margin: .04,
@@ -2158,8 +2158,8 @@ var Ge = class {
2158
2158
  pdfPageHeightOffset: -1,
2159
2159
  dependencies: [],
2160
2160
  plugins: []
2161
- }, ot = "6.0.2";
2162
- function st(e, t) {
2161
+ }, at = "6.0.2";
2162
+ function ot(e, t) {
2163
2163
  arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
2164
2164
  let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
2165
2165
  hasNavigatedHorizontally: !1,
@@ -2167,19 +2167,19 @@ function st(e, t) {
2167
2167
  }, d = [], f = 1, p = {
2168
2168
  layout: "",
2169
2169
  overview: ""
2170
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new we(n), S = new Oe(n), C = new ke(n), ee = new Me(n), w = new Ae(n), T = new Le(n), te = new ze(n), E = new Be(n), D = new Ve(n), O = new He(n), k = new Ge(n), ne = new Ke(n), re = new qe(n), ie = new Je(n), A = new Xe(n), j = new Ze(n), M = new nt(n), le = new $e(n), F = new rt(n);
2171
- function de(a) {
2170
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new Ce(n), S = new De(n), C = new Oe(n), ee = new je(n), w = new ke(n), T = new Ie(n), E = new Re(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new We(n), te = new Ge(n), ne = new Ke(n), re = new qe(n), j = new Ye(n), M = new Xe(n), N = new tt(n), ce = new Qe(n), I = new nt(n);
2171
+ function ue(a) {
2172
2172
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2173
2173
  if (i) throw "Reveal.js has already been initialized.";
2174
2174
  if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
2175
- return r = We(We(We(We(We({}, at), r), t), a), fe()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), me(), window.addEventListener("load", H, !1), A.load(r.plugins, r.dependencies).then(he), new Promise((e) => n.on("ready", e));
2175
+ return r = Ue(Ue(Ue(Ue(Ue({}, it), r), t), a), de()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), pe(), window.addEventListener("load", U, !1), j.load(r.plugins, r.dependencies).then(me), new Promise((e) => n.on("ready", e));
2176
2176
  }
2177
- function me() {
2178
- r.embedded === !0 ? m.viewport = P(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2177
+ function pe() {
2178
+ r.embedded === !0 ? m.viewport = F(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2179
2179
  }
2180
- function he() {
2181
- i !== !1 && (a = !0, _e(), ye(), z(), Ce(), Ee(), Ct(), B(), w.update(!0), ge(), k.readURL(), setTimeout(() => {
2182
- m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), V({
2180
+ function me() {
2181
+ i !== !1 && (a = !0, ge(), ve(), B(), Se(), Te(), Ct(), V(), w.update(!0), he(), A.readURL(), setTimeout(() => {
2182
+ m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2183
2183
  type: "ready",
2184
2184
  data: {
2185
2185
  indexh: o,
@@ -2189,27 +2189,27 @@ function st(e, t) {
2189
2189
  });
2190
2190
  }, 1));
2191
2191
  }
2192
- function ge() {
2192
+ function he() {
2193
2193
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2194
- (e || t) && (e ? Ne() : le.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? te.activate() : window.addEventListener("load", () => te.activate()) : T.activate());
2194
+ (e || t) && (e ? Me() : ce.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? E.activate() : window.addEventListener("load", () => E.activate()) : T.activate());
2195
2195
  }
2196
- function _e() {
2197
- r.showHiddenSlides || N(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2196
+ function ge() {
2197
+ r.showHiddenSlides || P(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2198
2198
  let t = e.parentNode;
2199
2199
  t.childElementCount === 1 && /section/i.test(t.nodeName) ? t.remove() : e.remove();
2200
2200
  });
2201
2201
  }
2202
- function ye() {
2203
- m.slides.classList.add("no-transition"), ve ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), w.render(), S.render(), C.render(), ne.render(), re.render(), F.render(), m.pauseOverlay = ue(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = be(), m.wrapper.setAttribute("role", "application");
2202
+ function ve() {
2203
+ m.slides.classList.add("no-transition"), _e ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), w.render(), S.render(), C.render(), te.render(), ne.render(), I.render(), m.pauseOverlay = le(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2204
2204
  }
2205
- function be() {
2205
+ function ye() {
2206
2206
  let e = m.wrapper.querySelector(".aria-status");
2207
2207
  return e || (e = document.createElement("div"), e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.overflow = "hidden", e.style.clip = "rect( 1px, 1px, 1px, 1px )", e.classList.add("aria-status"), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), m.wrapper.appendChild(e)), e;
2208
2208
  }
2209
- function I(e) {
2209
+ function L(e) {
2210
2210
  m.statusElement.textContent = e;
2211
2211
  }
2212
- function xe(e) {
2212
+ function be(e) {
2213
2213
  let t = "";
2214
2214
  if (e.nodeType === 3) t += e.textContent.trim();
2215
2215
  else if (e.nodeType === 1) {
@@ -2217,10 +2217,10 @@ function st(e, t) {
2217
2217
  if (n !== "true" && !r) {
2218
2218
  if (e.tagName === "IMG" || e.tagName === "VIDEO") {
2219
2219
  let n = e.getAttribute("alt");
2220
- n && (t += Se(n));
2220
+ n && (t += xe(n));
2221
2221
  }
2222
2222
  Array.from(e.childNodes).forEach((e) => {
2223
- t += xe(e);
2223
+ t += be(e);
2224
2224
  }), [
2225
2225
  "P",
2226
2226
  "DIV",
@@ -2234,58 +2234,58 @@ function st(e, t) {
2234
2234
  "H5",
2235
2235
  "H6",
2236
2236
  "BLOCKQUOTE"
2237
- ].includes(e.tagName) && t.trim() !== "" && (t = Se(t));
2237
+ ].includes(e.tagName) && t.trim() !== "" && (t = xe(t));
2238
2238
  }
2239
2239
  }
2240
2240
  return t = t.trim(), t === "" ? "" : t + " ";
2241
2241
  }
2242
- function Se(e) {
2242
+ function xe(e) {
2243
2243
  let t = e.trim();
2244
2244
  return t === "" ? e : /[.!?]$/.test(t) ? t : t + ".";
2245
2245
  }
2246
- function Ce() {
2246
+ function Se() {
2247
2247
  setInterval(() => {
2248
2248
  (!T.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2249
2249
  }, 1e3);
2250
2250
  }
2251
- function Ee() {
2251
+ function Te() {
2252
2252
  document.addEventListener("fullscreenchange", rn), document.addEventListener("webkitfullscreenchange", rn);
2253
2253
  }
2254
- function z() {
2254
+ function B() {
2255
2255
  r.postMessage && window.addEventListener("message", Qt, !1);
2256
2256
  }
2257
- function B(e) {
2258
- let t = We({}, r);
2259
- if (typeof e == "object" && ae(r, e), n.isReady() === !1) return;
2260
- let i = m.wrapper.querySelectorAll(L).length;
2261
- m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && K(), oe(m.wrapper, "embedded", r.embedded), oe(m.wrapper, "rtl", r.rtl), oe(m.wrapper, "center", r.center), r.pause === !1 && pt(), ee.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new it(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), F.configure(r, t), M.configure(r, t), ie.configure(r, t), ne.configure(r, t), re.configure(r, t), O.configure(r, t), E.configure(r, t), S.configure(r, t), xt();
2257
+ function V(e) {
2258
+ let t = Ue({}, r);
2259
+ if (typeof e == "object" && ie(r, e), n.isReady() === !1) return;
2260
+ let i = m.wrapper.querySelectorAll(R).length;
2261
+ m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && K(), ae(m.wrapper, "embedded", r.embedded), ae(m.wrapper, "rtl", r.rtl), ae(m.wrapper, "center", r.center), r.pause === !1 && pt(), ee.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new rt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), I.configure(r, t), N.configure(r, t), re.configure(r, t), te.configure(r, t), ne.configure(r, t), k.configure(r, t), D.configure(r, t), S.configure(r, t), xt();
2262
2262
  }
2263
- function je() {
2264
- window.addEventListener("resize", tn, !1), r.touch && le.bind(), r.keyboard && O.bind(), r.progress && re.bind(), r.respondToHashChanges && k.bind(), ne.bind(), M.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2263
+ function Ae() {
2264
+ window.addEventListener("resize", tn, !1), r.touch && ce.bind(), r.keyboard && k.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), N.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2265
2265
  }
2266
- function Ne() {
2267
- le.unbind(), M.unbind(), O.unbind(), ne.unbind(), re.unbind(), k.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
2266
+ function Me() {
2267
+ ce.unbind(), N.unbind(), k.unbind(), te.unbind(), ne.unbind(), A.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
2268
2268
  }
2269
- function Pe() {
2270
- i = !1, a !== !1 && (Ne(), Ht(), F.destroy(), M.destroy(), j.destroy(), A.destroy(), ie.destroy(), ne.destroy(), re.destroy(), w.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", H, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(L)).forEach((e) => {
2269
+ function Ne() {
2270
+ i = !1, a !== !1 && (Me(), Ht(), I.destroy(), N.destroy(), M.destroy(), j.destroy(), re.destroy(), te.destroy(), ne.destroy(), w.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(R)).forEach((e) => {
2271
2271
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), e.removeAttribute("inert");
2272
2272
  }));
2273
2273
  }
2274
- function Fe(t, n, r) {
2274
+ function Pe(t, n, r) {
2275
2275
  e.addEventListener(t, n, r);
2276
2276
  }
2277
- function Ie(t, n, r) {
2277
+ function Fe(t, n, r) {
2278
2278
  e.removeEventListener(t, n, r);
2279
2279
  }
2280
- function Re(e) {
2281
- typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? ce(m.slides, p.layout + " " + p.overview) : ce(m.slides, p.overview);
2280
+ function Le(e) {
2281
+ typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? se(m.slides, p.layout + " " + p.overview) : se(m.slides, p.overview);
2282
2282
  }
2283
- function V({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2283
+ function H({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2284
2284
  let i = document.createEvent("HTMLEvents", 1, 2);
2285
- return i.initEvent(t, r, !0), ae(i, n), e.dispatchEvent(i), e === m.wrapper && Ye(t), i;
2285
+ return i.initEvent(t, r, !0), ie(i, n), e.dispatchEvent(i), e === m.wrapper && Je(t), i;
2286
2286
  }
2287
- function Ue(e) {
2288
- V({
2287
+ function He(e) {
2288
+ H({
2289
2289
  type: "slidechanged",
2290
2290
  data: {
2291
2291
  indexh: o,
@@ -2296,30 +2296,30 @@ function st(e, t) {
2296
2296
  }
2297
2297
  });
2298
2298
  }
2299
- function Ye(e, t) {
2299
+ function Je(e, t) {
2300
2300
  if (r.postMessageEvents && window.parent !== window.self) {
2301
2301
  let n = {
2302
2302
  namespace: "reveal",
2303
2303
  eventName: e,
2304
2304
  state: zt()
2305
2305
  };
2306
- ae(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2306
+ ie(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2307
2307
  }
2308
2308
  }
2309
- function H() {
2310
- if (m.wrapper && !te.isActive()) {
2309
+ function U() {
2310
+ if (m.wrapper && !E.isActive()) {
2311
2311
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2312
2312
  if (!r.disableLayout) {
2313
- ve && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
- let n = T.isActive() ? tt(e, t) : tt(), i = f;
2315
- Qe(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || T.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Re({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Re({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
- let a = Array.from(m.wrapper.querySelectorAll(L)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2313
+ _e && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
+ let n = T.isActive() ? et(e, t) : et(), i = f;
2315
+ Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || T.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
+ let a = Array.from(m.wrapper.querySelectorAll(R)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2317
2317
  for (let e = 0, t = a.length; e < t; e++) {
2318
2318
  let t = a[e];
2319
2319
  r.center || t.classList.contains("center") ? t.classList.contains("stack") ? o[e] = 0 : o[e] = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : o[e] = "";
2320
2320
  }
2321
2321
  for (let e = 0, t = a.length; e < t; e++) a[e].style.top = o[e];
2322
- i !== f && V({
2322
+ i !== f && H({
2323
2323
  type: "resize",
2324
2324
  data: {
2325
2325
  oldScale: i,
@@ -2328,25 +2328,25 @@ function st(e, t) {
2328
2328
  }
2329
2329
  });
2330
2330
  }
2331
- et(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), T.layout(), re.update(), w.updateParallax(), D.isActive() && D.update();
2331
+ $e(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), T.layout(), ne.update(), w.updateParallax(), O.isActive() && O.update();
2332
2332
  }
2333
2333
  }
2334
- function Qe(e, t) {
2335
- N(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2336
- let r = pe(n, t);
2334
+ function Ze(e, t) {
2335
+ P(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2336
+ let r = fe(n, t);
2337
2337
  if (/(img|video)/gi.test(n.nodeName)) {
2338
2338
  let t = n.naturalWidth || n.videoWidth, i = n.naturalHeight || n.videoHeight, a = Math.min(e / t, r / i);
2339
2339
  n.style.width = t * a + "px", n.style.height = i * a + "px";
2340
2340
  } else n.style.width = e + "px", n.style.height = r + "px";
2341
2341
  });
2342
2342
  }
2343
- function et() {
2344
- if (m.wrapper && !r.disableLayout && !te.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
- let e = tt();
2343
+ function $e() {
2344
+ if (m.wrapper && !r.disableLayout && !E.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
+ let e = et();
2346
2346
  e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? T.isActive() || (w.create(), T.activate()) : T.isActive() && T.deactivate();
2347
2347
  }
2348
2348
  }
2349
- function tt(e, t) {
2349
+ function et(e, t) {
2350
2350
  let n = r.width, i = r.height;
2351
2351
  r.disableLayout && (n = m.slides.offsetWidth, i = m.slides.offsetHeight);
2352
2352
  let a = {
@@ -2357,10 +2357,10 @@ function st(e, t) {
2357
2357
  };
2358
2358
  return a.presentationWidth -= a.presentationWidth * r.margin, a.presentationHeight -= a.presentationHeight * r.margin, typeof a.width == "string" && /%$/.test(a.width) && (a.width = parseInt(a.width, 10) / 100 * a.presentationWidth), typeof a.height == "string" && /%$/.test(a.height) && (a.height = parseInt(a.height, 10) / 100 * a.presentationHeight), a;
2359
2359
  }
2360
- function st(e, t) {
2360
+ function ot(e, t) {
2361
2361
  typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
2362
2362
  }
2363
- function U(e) {
2363
+ function st(e) {
2364
2364
  if (typeof e == "object" && typeof e.setAttribute == "function" && e.classList.contains("stack")) {
2365
2365
  let t = e.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2366
2366
  return parseInt(e.getAttribute(t) || 0, 10);
@@ -2385,12 +2385,12 @@ function st(e, t) {
2385
2385
  function ft() {
2386
2386
  if (r.pause) {
2387
2387
  let e = m.wrapper.classList.contains("paused");
2388
- Ht(), m.wrapper.classList.add("paused"), e === !1 && V({ type: "paused" });
2388
+ Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2389
2389
  }
2390
2390
  }
2391
2391
  function pt() {
2392
2392
  let e = m.wrapper.classList.contains("paused");
2393
- m.wrapper.classList.remove("paused"), Vt(), e && V({ type: "resumed" });
2393
+ m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
2394
2394
  }
2395
2395
  function mt(e) {
2396
2396
  typeof e == "boolean" ? e ? ft() : pt() : ht() ? pt() : ft();
@@ -2408,7 +2408,7 @@ function st(e, t) {
2408
2408
  return !!(g && !b);
2409
2409
  }
2410
2410
  function G(t, n, i, a) {
2411
- if (V({
2411
+ if (H({
2412
2412
  type: "beforeslidechange",
2413
2413
  data: {
2414
2414
  indexh: t === void 0 ? o : t,
@@ -2417,26 +2417,26 @@ function st(e, t) {
2417
2417
  }
2418
2418
  }).defaultPrevented) return;
2419
2419
  c = l;
2420
- let u = m.wrapper.querySelectorAll(R);
2420
+ let u = m.wrapper.querySelectorAll(z);
2421
2421
  if (T.isActive()) {
2422
2422
  let e = T.getSlideByIndices(t, n);
2423
2423
  e && T.scrollToSlide(e);
2424
2424
  return;
2425
2425
  }
2426
2426
  if (u.length === 0) return;
2427
- n === void 0 && !D.isActive() && (n = U(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && st(c.parentNode, s);
2427
+ n === void 0 && !O.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && ot(c.parentNode, s);
2428
2428
  let f = d.concat();
2429
2429
  d.length = 0;
2430
2430
  let p = o || 0, g = s || 0;
2431
- o = q(R, t === void 0 ? o : t), s = q(Te, n === void 0 ? s : n);
2431
+ o = q(z, t === void 0 ? o : t), s = q(we, n === void 0 ? s : n);
2432
2432
  let _ = o !== p || s !== g;
2433
2433
  _ || (c = null);
2434
2434
  let v = u[o], y = v.querySelectorAll("section");
2435
2435
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2436
2436
  let b = !1;
2437
- _ && c && l && !D.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), H(), D.isActive() && D.update(), i !== void 0 && E.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ut() && setTimeout(() => {
2437
+ _ && c && l && !O.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), O.isActive() && O.update(), i !== void 0 && D.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ut() && setTimeout(() => {
2438
2438
  Mt().forEach((e) => {
2439
- st(e, 0);
2439
+ ot(e, 0);
2440
2440
  });
2441
2441
  }, 0));
2442
2442
  stateLoop: for (let e = 0, t = d.length; e < t; e++) {
@@ -2444,12 +2444,12 @@ function st(e, t) {
2444
2444
  f.splice(t, 1);
2445
2445
  continue stateLoop;
2446
2446
  }
2447
- m.viewport.classList.add(d[e]), V({ type: d[e] });
2447
+ m.viewport.classList.add(d[e]), H({ type: d[e] });
2448
2448
  }
2449
2449
  for (; f.length;) m.viewport.classList.remove(f.pop());
2450
- _ && (x.afterSlideChanged(), Ue(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
- I(xe(l));
2452
- }), re.update(), ne.update(), F.update(), w.update(), w.updateParallax(), S.update(), E.update(), k.writeURL(), Vt(), b && (setTimeout(() => {
2450
+ _ && (x.afterSlideChanged(), He(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
+ L(be(l));
2452
+ }), ne.update(), te.update(), I.update(), w.update(), w.updateParallax(), S.update(), D.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2453
2453
  m.slides.classList.remove("disable-slide-transitions");
2454
2454
  }, 0), r.autoAnimate && ee.run(c, l));
2455
2455
  }
@@ -2461,21 +2461,21 @@ function st(e, t) {
2461
2461
  o = t, s = n;
2462
2462
  let a = l !== e;
2463
2463
  c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && ee.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2464
- I(xe(l));
2465
- }), Ue();
2464
+ L(be(l));
2465
+ }), He();
2466
2466
  }
2467
2467
  function xt() {
2468
- Ne(), je(), H(), g = r.autoSlide, Vt(), w.create(), k.writeURL(), r.sortFragmentsOnSync === !0 && E.sortAll(), o !== void 0 && (o = q(R, o), s = q(Te, s)), ne.update(), re.update(), Tt(), F.update(), F.updateVisibility(), j.update(), w.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), D.isActive() && D.layout(), V({ type: "sync" });
2468
+ Me(), Ae(), U(), g = r.autoSlide, Vt(), w.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && D.sortAll(), o !== void 0 && (o = q(z, o), s = q(we, s)), te.update(), ne.update(), Tt(), I.update(), I.updateVisibility(), M.update(), w.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), O.isActive() && O.layout(), H({ type: "sync" });
2469
2469
  }
2470
2470
  function St(e = l) {
2471
- w.sync(e), E.sync(e), x.load(e), w.update(), F.update(), V({
2471
+ w.sync(e), D.sync(e), x.load(e), w.update(), I.update(), H({
2472
2472
  type: "slidesync",
2473
2473
  data: { slide: e }
2474
2474
  });
2475
2475
  }
2476
2476
  function Ct() {
2477
2477
  At().forEach((e) => {
2478
- N(e, "section").forEach((e, t) => {
2478
+ P(e, "section").forEach((e, t) => {
2479
2479
  t > 0 && (e.classList.remove("present"), e.classList.remove("past"), e.classList.add("future"), e.setAttribute("aria-hidden", "true"));
2480
2480
  });
2481
2481
  });
@@ -2489,7 +2489,7 @@ function st(e, t) {
2489
2489
  });
2490
2490
  }
2491
2491
  function q(e, t) {
2492
- let n = N(m.wrapper, e), i = n.length, a = T.isActive() || te.isActive(), o = !1, s = !1;
2492
+ let n = P(m.wrapper, e), i = n.length, a = T.isActive() || E.isActive(), o = !1, s = !1;
2493
2493
  if (i) {
2494
2494
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2495
2495
  for (let e = 0; e < i; e++) {
@@ -2501,7 +2501,7 @@ function st(e, t) {
2501
2501
  e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && wt(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && J(i)) : e === t && r.fragments && (o ? J(i) : s && wt(i));
2502
2502
  }
2503
2503
  let e = n[t], c = e.classList.contains("present");
2504
- e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || V({
2504
+ e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || H({
2505
2505
  target: e,
2506
2506
  type: "visible",
2507
2507
  bubbles: !1
@@ -2512,24 +2512,24 @@ function st(e, t) {
2512
2512
  return t;
2513
2513
  }
2514
2514
  function wt(e) {
2515
- N(e, ".fragment").forEach((e) => {
2515
+ P(e, ".fragment").forEach((e) => {
2516
2516
  e.classList.add("visible"), e.classList.remove("current-fragment");
2517
2517
  });
2518
2518
  }
2519
2519
  function J(e) {
2520
- N(e, ".fragment.visible").forEach((e) => {
2520
+ P(e, ".fragment.visible").forEach((e) => {
2521
2521
  e.classList.remove("visible", "current-fragment");
2522
2522
  });
2523
2523
  }
2524
2524
  function Tt() {
2525
2525
  let e = At(), t = e.length, n, i;
2526
2526
  if (t && o !== void 0) {
2527
- let a = D.isActive(), c = a ? 10 : r.viewDistance;
2528
- ve && (c = a ? 6 : r.mobileViewDistance), te.isActive() && (c = Number.MAX_VALUE);
2527
+ let a = O.isActive(), c = a ? 10 : r.viewDistance;
2528
+ _e && (c = a ? 6 : r.mobileViewDistance), E.isActive() && (c = Number.MAX_VALUE);
2529
2529
  for (let l = 0; l < t; l++) {
2530
- let u = e[l], d = N(u, "section"), f = d.length;
2530
+ let u = e[l], d = P(u, "section"), f = d.length;
2531
2531
  if (n = Math.abs((o || 0) - l) || 0, r.loop && (n = Math.abs(((o || 0) - l) % (t - c)) || 0), n < c ? x.load(u) : x.unload(u), f) {
2532
- let e = a ? 0 : U(u);
2532
+ let e = a ? 0 : st(u);
2533
2533
  for (let t = 0; t < f; t++) {
2534
2534
  let r = d[t];
2535
2535
  i = Math.abs(l === (o || 0) ? (s || 0) - t : t - e), n + i < c ? x.load(r) : x.unload(r);
@@ -2538,20 +2538,20 @@ function st(e, t) {
2538
2538
  }
2539
2539
  Pt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Nt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2540
2540
  }
2541
- let a = D.isActive() || T.isActive() || te.isActive();
2542
- N(m.wrapper, L).forEach((e) => {
2541
+ let a = O.isActive() || T.isActive() || E.isActive();
2542
+ P(m.wrapper, R).forEach((e) => {
2543
2543
  e.toggleAttribute("inert", !a && e !== l && !e.contains(l));
2544
2544
  });
2545
2545
  }
2546
2546
  function Y({ includeFragments: e = !1 } = {}) {
2547
- let t = m.wrapper.querySelectorAll(R), n = m.wrapper.querySelectorAll(Te), i = {
2547
+ let t = m.wrapper.querySelectorAll(z), n = m.wrapper.querySelectorAll(we), i = {
2548
2548
  left: o > 0,
2549
2549
  right: o < t.length - 1,
2550
2550
  up: s > 0,
2551
2551
  down: s < n.length - 1
2552
2552
  };
2553
2553
  if (r.loop && (t.length > 1 && (i.left = !0, i.right = !0), n.length > 1 && (i.up = !0, i.down = !0)), t.length > 1 && r.navigationMode === "linear" && (i.right = i.right || i.down, i.left = i.left || i.up), e === !0) {
2554
- let e = E.availableRoutes();
2554
+ let e = D.availableRoutes();
2555
2555
  i.left = i.left || e.prev, i.up = i.up || e.prev, i.down = i.down || e.next, i.right = i.right || e.next;
2556
2556
  }
2557
2557
  if (r.rtl) {
@@ -2590,7 +2590,7 @@ function st(e, t) {
2590
2590
  if (T.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2591
2591
  else {
2592
2592
  let r = ct(e), i = r ? e.parentNode : e, a = At();
2593
- t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(N(e.parentNode, "section").indexOf(e), 0));
2593
+ t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(P(e.parentNode, "section").indexOf(e), 0));
2594
2594
  }
2595
2595
  }
2596
2596
  if (!e && l && l.querySelectorAll(".fragment").length > 0) {
@@ -2604,16 +2604,16 @@ function st(e, t) {
2604
2604
  };
2605
2605
  }
2606
2606
  function kt() {
2607
- return N(m.wrapper, L + ":not(.stack):not([data-visibility=\"uncounted\"])");
2607
+ return P(m.wrapper, R + ":not(.stack):not([data-visibility=\"uncounted\"])");
2608
2608
  }
2609
2609
  function At() {
2610
- return N(m.wrapper, R);
2610
+ return P(m.wrapper, z);
2611
2611
  }
2612
2612
  function jt() {
2613
- return N(m.wrapper, ".slides>section>section");
2613
+ return P(m.wrapper, ".slides>section>section");
2614
2614
  }
2615
2615
  function Mt() {
2616
- return N(m.wrapper, R + ".stack");
2616
+ return P(m.wrapper, z + ".stack");
2617
2617
  }
2618
2618
  function Nt() {
2619
2619
  return At().length > 1;
@@ -2644,27 +2644,27 @@ function st(e, t) {
2644
2644
  }
2645
2645
  function zt() {
2646
2646
  let e = Ot();
2647
- return We({
2647
+ return Ue({
2648
2648
  indexh: e.h,
2649
2649
  indexv: e.v,
2650
2650
  indexf: e.f,
2651
2651
  paused: ht(),
2652
- overview: D.isActive()
2653
- }, j.getState());
2652
+ overview: O.isActive()
2653
+ }, M.getState());
2654
2654
  }
2655
2655
  function Bt(e) {
2656
2656
  if (typeof e == "object") {
2657
- G(se(e.indexh), se(e.indexv), se(e.indexf));
2658
- let t = se(e.paused), n = se(e.overview);
2659
- typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== D.isActive() && D.toggle(n), j.setState(e);
2657
+ G(oe(e.indexh), oe(e.indexv), oe(e.indexf));
2658
+ let t = oe(e.paused), n = oe(e.overview);
2659
+ typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== O.isActive() && O.toggle(n), M.setState(e);
2660
2660
  }
2661
2661
  }
2662
2662
  function Vt() {
2663
2663
  if (Ht(), l && r.autoSlide !== !1) {
2664
2664
  let e = l.querySelector(".current-fragment[data-autoslide]"), t = e ? e.getAttribute("data-autoslide") : null, n = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i = l.getAttribute("data-autoslide");
2665
- t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && N(l, "video, audio").forEach((e) => {
2665
+ t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && P(l, "video, audio").forEach((e) => {
2666
2666
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2667
- })), g && !b && !ht() && !D.isActive() && (!dt() || E.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2667
+ })), g && !b && !ht() && !O.isActive() && (!dt() || D.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2668
2668
  typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2669
2669
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2670
2670
  }
@@ -2673,34 +2673,34 @@ function st(e, t) {
2673
2673
  clearTimeout(v), v = -1;
2674
2674
  }
2675
2675
  function Ut() {
2676
- g && !b && (b = !0, V({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2676
+ g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2677
2677
  }
2678
2678
  function Wt() {
2679
- g && b && (b = !1, V({ type: "autoslideresumed" }), Vt());
2679
+ g && b && (b = !1, H({ type: "autoslideresumed" }), Vt());
2680
2680
  }
2681
2681
  function Gt({ skipFragments: e = !1 } = {}) {
2682
2682
  if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.prev();
2683
- r.rtl ? (D.isActive() || e || E.next() === !1) && Y().left && G(o + 1, r.navigationMode === "grid" ? s : void 0) : (D.isActive() || e || E.prev() === !1) && Y().left && G(o - 1, r.navigationMode === "grid" ? s : void 0);
2683
+ r.rtl ? (O.isActive() || e || D.next() === !1) && Y().left && G(o + 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.prev() === !1) && Y().left && G(o - 1, r.navigationMode === "grid" ? s : void 0);
2684
2684
  }
2685
2685
  function Kt({ skipFragments: e = !1 } = {}) {
2686
2686
  if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.next();
2687
- r.rtl ? (D.isActive() || e || E.prev() === !1) && Y().right && G(o - 1, r.navigationMode === "grid" ? s : void 0) : (D.isActive() || e || E.next() === !1) && Y().right && G(o + 1, r.navigationMode === "grid" ? s : void 0);
2687
+ r.rtl ? (O.isActive() || e || D.prev() === !1) && Y().right && G(o - 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.next() === !1) && Y().right && G(o + 1, r.navigationMode === "grid" ? s : void 0);
2688
2688
  }
2689
2689
  function qt({ skipFragments: e = !1 } = {}) {
2690
2690
  if (T.isActive()) return T.prev();
2691
- (D.isActive() || e || E.prev() === !1) && Y().up && G(o, s - 1);
2691
+ (O.isActive() || e || D.prev() === !1) && Y().up && G(o, s - 1);
2692
2692
  }
2693
2693
  function Jt({ skipFragments: e = !1 } = {}) {
2694
2694
  if (u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2695
- (D.isActive() || e || E.next() === !1) && Y().down && G(o, s + 1);
2695
+ (O.isActive() || e || D.next() === !1) && Y().down && G(o, s + 1);
2696
2696
  }
2697
2697
  function Yt({ skipFragments: e = !1 } = {}) {
2698
2698
  if (T.isActive()) return T.prev();
2699
- if (e || E.prev() === !1) {
2699
+ if (e || D.prev() === !1) {
2700
2700
  if (Y().up) qt({ skipFragments: e });
2701
2701
  else {
2702
2702
  let t;
2703
- if (t = r.rtl ? N(m.wrapper, R + ".future").pop() : N(m.wrapper, R + ".past").pop(), t && t.classList.contains("stack")) {
2703
+ if (t = r.rtl ? P(m.wrapper, z + ".future").pop() : P(m.wrapper, z + ".past").pop(), t && t.classList.contains("stack")) {
2704
2704
  let e = t.querySelectorAll("section").length - 1 || void 0;
2705
2705
  G(o - 1, e);
2706
2706
  } else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
@@ -2709,7 +2709,7 @@ function st(e, t) {
2709
2709
  }
2710
2710
  function Xt({ skipFragments: e = !1 } = {}) {
2711
2711
  if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2712
- if (e || E.next() === !1) {
2712
+ if (e || D.next() === !1) {
2713
2713
  let t = Y();
2714
2714
  t.down && t.right && r.loop && lt() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2715
2715
  }
@@ -2720,9 +2720,9 @@ function st(e, t) {
2720
2720
  function Qt(e) {
2721
2721
  let t = e.data;
2722
2722
  if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
2723
- if (De.test(t.method) === !1) {
2723
+ if (Ee.test(t.method) === !1) {
2724
2724
  let e = n[t.method].apply(n, t.args);
2725
- Ye("callback", {
2725
+ Je("callback", {
2726
2726
  method: t.method,
2727
2727
  result: e
2728
2728
  });
@@ -2730,7 +2730,7 @@ function st(e, t) {
2730
2730
  }
2731
2731
  }
2732
2732
  function $t(e) {
2733
- h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", V({
2733
+ h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", H({
2734
2734
  type: "slidetransitionend",
2735
2735
  data: {
2736
2736
  indexh: o,
@@ -2741,14 +2741,14 @@ function st(e, t) {
2741
2741
  }));
2742
2742
  }
2743
2743
  function en(e) {
2744
- let t = P(e.target, "a[href^=\"#\"]");
2744
+ let t = F(e.target, "a[href^=\"#\"]");
2745
2745
  if (t) {
2746
- let r = t.getAttribute("href"), i = k.getIndicesFromHash(r);
2746
+ let r = t.getAttribute("href"), i = A.getIndicesFromHash(r);
2747
2747
  i && (n.slide(i.h, i.v, i.f), e.preventDefault());
2748
2748
  }
2749
2749
  }
2750
2750
  function tn(e) {
2751
- H();
2751
+ U();
2752
2752
  }
2753
2753
  function nn(e) {
2754
2754
  document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
@@ -2762,13 +2762,13 @@ function st(e, t) {
2762
2762
  dt() && r.loop === !1 ? (G(0, 0), Wt()) : b ? Wt() : Ut();
2763
2763
  }
2764
2764
  let on = {
2765
- VERSION: ot,
2766
- initialize: de,
2767
- configure: B,
2768
- destroy: Pe,
2765
+ VERSION: at,
2766
+ initialize: ue,
2767
+ configure: V,
2768
+ destroy: Ne,
2769
2769
  sync: xt,
2770
2770
  syncSlide: St,
2771
- syncFragments: E.sync.bind(E),
2771
+ syncFragments: D.sync.bind(D),
2772
2772
  slide: G,
2773
2773
  left: Gt,
2774
2774
  right: Kt,
@@ -2782,19 +2782,19 @@ function st(e, t) {
2782
2782
  navigateDown: Jt,
2783
2783
  navigatePrev: Yt,
2784
2784
  navigateNext: Xt,
2785
- navigateFragment: E.goto.bind(E),
2786
- prevFragment: E.prev.bind(E),
2787
- nextFragment: E.next.bind(E),
2788
- on: Fe,
2789
- off: Ie,
2790
- addEventListener: Fe,
2791
- removeEventListener: Ie,
2792
- layout: H,
2785
+ navigateFragment: D.goto.bind(D),
2786
+ prevFragment: D.prev.bind(D),
2787
+ nextFragment: D.next.bind(D),
2788
+ on: Pe,
2789
+ off: Fe,
2790
+ addEventListener: Pe,
2791
+ removeEventListener: Fe,
2792
+ layout: U,
2793
2793
  shuffle: K,
2794
2794
  availableRoutes: Y,
2795
- availableFragments: E.availableRoutes.bind(E),
2796
- toggleHelp: j.toggleHelp.bind(j),
2797
- toggleOverview: D.toggle.bind(D),
2795
+ availableFragments: D.availableRoutes.bind(D),
2796
+ toggleHelp: M.toggleHelp.bind(M),
2797
+ toggleOverview: O.toggle.bind(O),
2798
2798
  toggleScrollView: T.toggle.bind(T),
2799
2799
  togglePause: mt,
2800
2800
  toggleAutoSlide: _t,
@@ -2806,25 +2806,25 @@ function st(e, t) {
2806
2806
  isVerticalStack: W,
2807
2807
  isPaused: ht,
2808
2808
  isAutoSliding: vt,
2809
- isSpeakerNotes: F.isSpeakerNotesWindow.bind(F),
2810
- isOverview: D.isActive.bind(D),
2811
- isFocused: M.isFocused.bind(M),
2812
- isOverlayOpen: j.isOpen.bind(j),
2809
+ isSpeakerNotes: I.isSpeakerNotesWindow.bind(I),
2810
+ isOverview: O.isActive.bind(O),
2811
+ isFocused: N.isFocused.bind(N),
2812
+ isOverlayOpen: M.isOpen.bind(M),
2813
2813
  isScrollView: T.isActive.bind(T),
2814
- isPrintView: te.isActive.bind(te),
2814
+ isPrintView: E.isActive.bind(E),
2815
2815
  isReady: () => a,
2816
2816
  loadSlide: x.load.bind(x),
2817
2817
  unloadSlide: x.unload.bind(x),
2818
2818
  startEmbeddedContent: () => x.startEmbeddedContent(l),
2819
2819
  stopEmbeddedContent: () => x.stopEmbeddedContent(l, { unloadIframes: !1 }),
2820
- previewIframe: j.previewIframe.bind(j),
2821
- previewImage: j.previewImage.bind(j),
2822
- previewVideo: j.previewVideo.bind(j),
2823
- showPreview: j.previewIframe.bind(j),
2824
- hidePreview: j.close.bind(j),
2825
- addEventListeners: je,
2826
- removeEventListeners: Ne,
2827
- dispatchEvent: V,
2820
+ previewIframe: M.previewIframe.bind(M),
2821
+ previewImage: M.previewImage.bind(M),
2822
+ previewVideo: M.previewVideo.bind(M),
2823
+ showPreview: M.previewIframe.bind(M),
2824
+ hidePreview: M.close.bind(M),
2825
+ addEventListeners: Ae,
2826
+ removeEventListeners: Me,
2827
+ dispatchEvent: H,
2828
2828
  getState: zt,
2829
2829
  setState: Bt,
2830
2830
  getProgress: Dt,
@@ -2836,7 +2836,7 @@ function st(e, t) {
2836
2836
  getPreviousSlide: () => c,
2837
2837
  getCurrentSlide: () => l,
2838
2838
  getSlideBackground: Rt,
2839
- getSlideNotes: F.getSlideNotes.bind(F),
2839
+ getSlideNotes: I.getSlideNotes.bind(I),
2840
2840
  getSlides: kt,
2841
2841
  getHorizontalSlides: At,
2842
2842
  getVerticalSlides: jt,
@@ -2845,54 +2845,54 @@ function st(e, t) {
2845
2845
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2846
2846
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2847
2847
  shouldAutoAnimateBetween: yt,
2848
- addKeyBinding: O.addKeyBinding.bind(O),
2849
- removeKeyBinding: O.removeKeyBinding.bind(O),
2850
- triggerKey: O.triggerKey.bind(O),
2851
- registerKeyboardShortcut: O.registerKeyboardShortcut.bind(O),
2852
- getComputedSlideSize: tt,
2848
+ addKeyBinding: k.addKeyBinding.bind(k),
2849
+ removeKeyBinding: k.removeKeyBinding.bind(k),
2850
+ triggerKey: k.triggerKey.bind(k),
2851
+ registerKeyboardShortcut: k.registerKeyboardShortcut.bind(k),
2852
+ getComputedSlideSize: et,
2853
2853
  setCurrentScrollPage: bt,
2854
- removeHiddenSlides: _e,
2854
+ removeHiddenSlides: ge,
2855
2855
  getScale: () => f,
2856
2856
  getConfig: () => r,
2857
- getQueryHash: fe,
2858
- getSlidePath: k.getHash.bind(k),
2857
+ getQueryHash: de,
2858
+ getSlidePath: A.getHash.bind(A),
2859
2859
  getRevealElement: () => e,
2860
2860
  getSlidesElement: () => m.slides,
2861
2861
  getViewportElement: () => m.viewport,
2862
2862
  getBackgroundsElement: () => w.element,
2863
- registerPlugin: A.registerPlugin.bind(A),
2864
- hasPlugin: A.hasPlugin.bind(A),
2865
- getPlugin: A.getPlugin.bind(A),
2866
- getPlugins: A.getRegisteredPlugins.bind(A)
2863
+ registerPlugin: j.registerPlugin.bind(j),
2864
+ hasPlugin: j.hasPlugin.bind(j),
2865
+ getPlugin: j.getPlugin.bind(j),
2866
+ getPlugins: j.getRegisteredPlugins.bind(j)
2867
2867
  };
2868
- return ae(n, We(We({}, on), {}, {
2869
- announceStatus: I,
2870
- getStatusText: xe,
2871
- focus: M,
2868
+ return ie(n, Ue(Ue({}, on), {}, {
2869
+ announceStatus: L,
2870
+ getStatusText: be,
2871
+ focus: N,
2872
2872
  scroll: T,
2873
- progress: re,
2874
- controls: ne,
2875
- location: k,
2876
- overview: D,
2877
- keyboard: O,
2878
- fragments: E,
2873
+ progress: ne,
2874
+ controls: te,
2875
+ location: A,
2876
+ overview: O,
2877
+ keyboard: k,
2878
+ fragments: D,
2879
2879
  backgrounds: w,
2880
2880
  slideContent: x,
2881
2881
  slideNumber: S,
2882
2882
  onUserInput: Zt,
2883
- closeOverlay: j.close.bind(j),
2883
+ closeOverlay: M.close.bind(M),
2884
2884
  updateSlidesVisibility: Tt,
2885
- layoutSlideContents: Qe,
2886
- transformSlides: Re,
2885
+ layoutSlideContents: Ze,
2886
+ transformSlides: Le,
2887
2887
  cueAutoSlide: Vt,
2888
2888
  cancelAutoSlide: Ht
2889
2889
  })), on;
2890
2890
  }
2891
- var U = st, ct = [];
2892
- U.initialize = (e) => {
2891
+ var st = ot, ct = [];
2892
+ st.initialize = (e) => {
2893
2893
  let t = document.querySelector(".reveal");
2894
2894
  if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
2895
- return Object.assign(U, new st(t, e)), ct.map((e) => e(U)), U.initialize();
2895
+ return Object.assign(st, new ot(t, e)), ct.map((e) => e(st)), st.initialize();
2896
2896
  }, [
2897
2897
  "configure",
2898
2898
  "on",
@@ -2901,13 +2901,13 @@ U.initialize = (e) => {
2901
2901
  "removeEventListener",
2902
2902
  "registerPlugin"
2903
2903
  ].forEach((e) => {
2904
- U[e] = (...t) => {
2904
+ st[e] = (...t) => {
2905
2905
  ct.push((n) => n[e].call(null, ...t));
2906
2906
  };
2907
- }), U.isReady = () => !1, U.VERSION = ot;
2907
+ }), st.isReady = () => !1, st.VERSION = at;
2908
2908
  //#endregion
2909
2909
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.2_react-dom@19.3.0_react@19.3.0__react@19.3.0_reveal.js@6.0.2/node_modules/@revealjs/react/dist/index.mjs
2910
- var W = T(), lt = (0, j.createContext)(null), ut = [];
2910
+ var W = T(), lt = (0, M.createContext)(null), ut = [];
2911
2911
  function dt(e, t) {
2912
2912
  if (e === t) return !1;
2913
2913
  if (!e || !t) return e !== t;
@@ -2934,25 +2934,25 @@ function ht(e, t, n) {
2934
2934
  return e ? JSON.stringify(mt(e, t, n)) : "[]";
2935
2935
  }
2936
2936
  function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2937
- let _ = (0, j.useRef)(null), v = (0, j.useRef)(null), y = (0, j.useRef)(null), [b, x] = (0, j.useState)(null), S = (0, j.useRef)(t), C = (0, j.useRef)(!1), ee = (0, j.useRef)(e), w = (0, j.useRef)(null), T = (0, j.useRef)(/* @__PURE__ */ new WeakMap()), te = (0, j.useRef)(1), E = (0, j.useRef)(!1), D = (0, j.useRef)(0);
2938
- return (0, j.useEffect)(() => {
2939
- if (E.current = !0, D.current += 1, y.current) y.current.isReady() && x(y.current);
2937
+ let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), ee = (0, M.useRef)(e), w = (0, M.useRef)(null), T = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), E = (0, M.useRef)(1), D = (0, M.useRef)(!1), O = (0, M.useRef)(0);
2938
+ return (0, M.useEffect)(() => {
2939
+ if (D.current = !0, O.current += 1, y.current) y.current.isReady() && x(y.current);
2940
2940
  else {
2941
- let t = new U(_.current, {
2941
+ let t = new st(_.current, {
2942
2942
  ...e,
2943
2943
  plugins: S.current
2944
2944
  });
2945
2945
  ee.current = e, y.current = t, t.initialize().then(() => {
2946
- E.current && y.current === t && (x(t), n?.(t));
2946
+ D.current && y.current === t && (x(t), n?.(t));
2947
2947
  });
2948
2948
  }
2949
2949
  return () => {
2950
- E.current = !1;
2950
+ D.current = !1;
2951
2951
  let e = y.current;
2952
2952
  if (!e) return;
2953
- let t = ++D.current;
2953
+ let t = ++O.current;
2954
2954
  Promise.resolve().then(() => {
2955
- if (!(E.current || D.current !== t) && y.current === e) {
2955
+ if (!(D.current || O.current !== t) && y.current === e) {
2956
2956
  try {
2957
2957
  e.destroy();
2958
2958
  } catch {}
@@ -2960,7 +2960,7 @@ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i,
2960
2960
  }
2961
2961
  });
2962
2962
  };
2963
- }, []), (0, j.useEffect)(() => (ft(p, b), () => ft(p, null)), [p, b]), (0, j.useEffect)(() => {
2963
+ }, []), (0, M.useEffect)(() => (ft(p, b), () => ft(p, null)), [p, b]), (0, M.useEffect)(() => {
2964
2964
  if (!b) return;
2965
2965
  let e = [
2966
2966
  ["sync", r],
@@ -2990,12 +2990,12 @@ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i,
2990
2990
  u,
2991
2991
  d,
2992
2992
  f
2993
- ]), (0, j.useLayoutEffect)(() => {
2993
+ ]), (0, M.useLayoutEffect)(() => {
2994
2994
  b && y.current?.isReady() && dt(ee.current, e) && (C.current = !0, y.current.configure(e ?? {}), ee.current = e);
2995
- }, [b, e]), (0, j.useLayoutEffect)(() => {
2995
+ }, [b, e]), (0, M.useLayoutEffect)(() => {
2996
2996
  let e = C.current;
2997
2997
  C.current = !1;
2998
- let t = ht(v.current, T.current, te);
2998
+ let t = ht(v.current, T.current, E);
2999
2999
  if (e) {
3000
3000
  w.current = t;
3001
3001
  return;
@@ -3062,8 +3062,8 @@ function G(e, t) {
3062
3062
  }
3063
3063
  return n;
3064
3064
  }
3065
- function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: ee, notes: w, backgroundInteractive: T, preload: te, ...E }) {
3066
- let D = (0, j.useContext)(lt), O = (0, j.useRef)(null), k = (0, j.useRef)(null), ne = (0, j.useRef)(null), re = G(E, {
3065
+ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: ee, notes: w, backgroundInteractive: T, preload: E, ...D }) {
3066
+ let O = (0, M.useContext)(lt), k = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = G(D, {
3067
3067
  background: t,
3068
3068
  backgroundImage: n,
3069
3069
  backgroundVideo: r,
@@ -3090,21 +3090,21 @@ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3090
3090
  autoSlide: ee,
3091
3091
  notes: w,
3092
3092
  backgroundInteractive: T,
3093
- preload: te
3094
- }), ie = vt(re);
3095
- return (0, j.useLayoutEffect)(() => {
3096
- let e = O.current;
3097
- if (!D || !e || typeof D.syncSlide != "function") return;
3098
- if (k.current !== D) {
3099
- k.current = D, ne.current = ie;
3093
+ preload: E
3094
+ }), re = vt(ne);
3095
+ return (0, M.useLayoutEffect)(() => {
3096
+ let e = k.current;
3097
+ if (!O || !e || typeof O.syncSlide != "function") return;
3098
+ if (A.current !== O) {
3099
+ A.current = O, te.current = re;
3100
3100
  return;
3101
3101
  }
3102
- if (ie === "[]") return;
3103
- let t = k.current === D, n = ne.current === ie;
3104
- t && n || (D.syncSlide(e), k.current = D, ne.current = ie);
3105
- }, [D, ie]), /* @__PURE__ */ (0, W.jsx)("section", {
3106
- ref: O,
3107
- ...re,
3102
+ if (re === "[]") return;
3103
+ let t = A.current === O, n = te.current === re;
3104
+ t && n || (O.syncSlide(e), A.current = O, te.current = re);
3105
+ }, [O, re]), /* @__PURE__ */ (0, W.jsx)("section", {
3106
+ ref: k,
3107
+ ...ne,
3108
3108
  children: e
3109
3109
  });
3110
3110
  }
@@ -4560,16 +4560,16 @@ function Yn({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
4560
4560
  if (r) {
4561
4561
  let e;
4562
4562
  try {
4563
- e = j.Children.only(o);
4563
+ e = M.Children.only(o);
4564
4564
  } catch {
4565
4565
  throw Error("Fragment with asChild expects exactly one React element child.");
4566
4566
  }
4567
- if (!(0, j.isValidElement)(e) || e.type === j.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4567
+ if (!(0, M.isValidElement)(e) || e.type === M.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4568
4568
  let n = {
4569
4569
  className: qn(e.props.className, s),
4570
4570
  style: Jn(e.props.style, a)
4571
4571
  };
4572
- return t !== void 0 && (n["data-fragment-index"] = t), (0, j.cloneElement)(e, n);
4572
+ return t !== void 0 && (n["data-fragment-index"] = t), (0, M.cloneElement)(e, n);
4573
4573
  }
4574
4574
  return /* @__PURE__ */ (0, W.jsx)(n ?? "span", {
4575
4575
  className: s,
@@ -4592,7 +4592,7 @@ function $n(e) {
4592
4592
  return (t.getBoundingClientRect().top - n.top) / (r || 1) + e.scrollTop;
4593
4593
  }
4594
4594
  function er(e, t) {
4595
- let n = (0, M.c)(4), [r, i] = (0, j.useState)(!1), a, o;
4595
+ let n = (0, N.c)(4), [r, i] = (0, M.useState)(!1), a, o;
4596
4596
  return n[0] !== t || n[1] !== e ? (a = () => {
4597
4597
  let n = e.current, r = t.current;
4598
4598
  if (!n || !r) return;
@@ -4616,11 +4616,11 @@ function er(e, t) {
4616
4616
  }), n.addEventListener("scroll", o, { passive: !0 }), () => {
4617
4617
  cancelAnimationFrame(a), s.disconnect(), c?.disconnect(), n.removeEventListener("scroll", o);
4618
4618
  };
4619
- }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, j.useEffect)(a, o), r;
4619
+ }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, M.useEffect)(a, o), r;
4620
4620
  }
4621
4621
  var tr = (e) => {
4622
- let t = (0, M.c)(6), { className: n } = e, i;
4623
- t[0] === n ? i = t[1] : (i = r("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);
4622
+ let t = (0, N.c)(6), { className: r } = e, i;
4623
+ t[0] === r ? i = t[1] : (i = n("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", r), t[0] = r, t[1] = i);
4624
4624
  let a;
4625
4625
  t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, W.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4626
4626
  let o;
@@ -4636,19 +4636,19 @@ var tr = (e) => {
4636
4636
  children: [a, o]
4637
4637
  }), t[4] = i, t[5] = s), s;
4638
4638
  }, nr = (e) => {
4639
- let t = (0, M.c)(10), { children: n, className: i } = e, a = (0, j.useRef)(null), o = (0, j.useRef)(null), s = er(a, o), c;
4640
- t[0] === i ? c = t[1] : (c = r("relative h-full w-full", i), t[0] = i, t[1] = c);
4639
+ let t = (0, N.c)(10), { children: r, className: i } = e, a = (0, M.useRef)(null), o = (0, M.useRef)(null), s = er(a, o), c;
4640
+ t[0] === i ? c = t[1] : (c = n("relative h-full w-full", i), t[0] = i, t[1] = c);
4641
4641
  let l;
4642
- t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, W.jsx)("div", {
4642
+ t[2] === r ? l = t[3] : (l = /* @__PURE__ */ (0, W.jsx)("div", {
4643
4643
  ref: a,
4644
4644
  className: "h-full w-full overflow-auto",
4645
4645
  "data-testid": "slide-scroll-container",
4646
4646
  children: /* @__PURE__ */ (0, W.jsx)("div", {
4647
4647
  ref: o,
4648
4648
  className: "flex w-full min-h-full",
4649
- children: n
4649
+ children: r
4650
4650
  })
4651
- }), t[2] = n, t[3] = l);
4651
+ }), t[2] = r, t[3] = l);
4652
4652
  let u;
4653
4653
  t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, W.jsx)(tr, {}), t[4] = s, t[5] = u);
4654
4654
  let d;
@@ -4767,22 +4767,22 @@ function cr(e, t) {
4767
4767
  }
4768
4768
  //#endregion
4769
4769
  //#region src/core/islands/stubs/slide-cell-view.tsx
4770
- var lr = (e) => (n.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), ur = (e) => (n.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), dr = 300, fr = (e) => {
4771
- let t = (0, M.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e, c = o ? n.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, j.useState)(c), d = (0, j.useRef)(!1), f;
4772
- t[0] !== n || t[1] !== a ? (f = (e, t) => {
4770
+ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), ur = (e) => (t.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), dr = 300, fr = (e) => {
4771
+ let t = (0, N.c)(25), { layout: r, setLayout: a, cellId: o, className: s } = e, c = o ? r.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, M.useState)(c), d = (0, M.useRef)(!1), f;
4772
+ t[0] !== r || t[1] !== a ? (f = (e, t) => {
4773
4773
  d.current = !1;
4774
- let r = n.cells.get(e);
4775
- if ((r?.speakerNotes ?? "") === t) return;
4776
- let i = new Map(n.cells);
4774
+ let n = r.cells.get(e);
4775
+ if ((n?.speakerNotes ?? "") === t) return;
4776
+ let i = new Map(r.cells);
4777
4777
  i.set(e, {
4778
- ...r,
4778
+ ...n,
4779
4779
  speakerNotes: t
4780
4780
  }), a({
4781
- ...n,
4781
+ ...r,
4782
4782
  cells: i
4783
4783
  });
4784
- }, t[0] = n, t[1] = a, t[2] = f) : f = t[2];
4785
- let p = E(f), m = ee(p, dr), h = (0, j.useRef)(o), g, _;
4784
+ }, t[0] = r, t[1] = a, t[2] = f) : f = t[2];
4785
+ let p = A(f), m = ee(p, dr), h = (0, M.useRef)(o), g, _;
4786
4786
  t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== m ? (g = () => {
4787
4787
  if (h.current !== o) {
4788
4788
  m.flush(), d.current = !1, u(c), h.current = o;
@@ -4794,21 +4794,21 @@ var lr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4794
4794
  c,
4795
4795
  l,
4796
4796
  m
4797
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, j.useEffect)(g, _);
4797
+ ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, M.useEffect)(g, _);
4798
4798
  let v, y;
4799
4799
  t[9] === m ? (v = t[10], y = t[11]) : (v = () => () => {
4800
4800
  m.flush();
4801
- }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, j.useEffect)(v, y);
4801
+ }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, M.useEffect)(v, y);
4802
4802
  let b;
4803
4803
  t[12] !== o || t[13] !== m ? (b = (e) => {
4804
4804
  u(e), o && (d.current = !0, m(o, e));
4805
4805
  }, t[12] = o, t[13] = m, t[14] = b) : b = t[14];
4806
4806
  let x = b, S;
4807
- t[15] === s ? S = t[16] : (S = r("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
4807
+ t[15] === s ? S = t[16] : (S = n("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
4808
4808
  let C;
4809
4809
  t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, W.jsxs)("header", {
4810
4810
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4811
- children: [/* @__PURE__ */ (0, W.jsx)(A, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Speaker notes" })]
4811
+ children: [/* @__PURE__ */ (0, W.jsx)(j, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Speaker notes" })]
4812
4812
  }), t[17] = C) : C = t[17];
4813
4813
  let w;
4814
4814
  t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, W.jsx)("div", {
@@ -4818,7 +4818,7 @@ var lr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4818
4818
  onChange: (e) => x(e.target.value),
4819
4819
  onClick: i.stopPropagation(),
4820
4820
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4821
- className: r("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"),
4821
+ className: n("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"),
4822
4822
  "aria-label": "Speaker notes for the current slide"
4823
4823
  }) : /* @__PURE__ */ (0, W.jsx)("div", {
4824
4824
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
@@ -4848,7 +4848,7 @@ var mr = "\n\n---\n\n", hr = (e, t) => e.map((e) => t.get(e.id)?.speakerNotes ??
4848
4848
  slideLevel: r,
4849
4849
  cumulativeByBlock: i
4850
4850
  };
4851
- }, _r = O(!1);
4851
+ }, _r = D(!1);
4852
4852
  //#endregion
4853
4853
  //#region ../node_modules/.pnpm/reveal.js@6.0.2/node_modules/reveal.js/dist/plugin/notes.mjs
4854
4854
  function vr() {
@@ -6396,12 +6396,12 @@ function ea(e) {
6396
6396
  return Qi.has(e.key) ? 1 : $i.has(e.key) ? -1 : 0;
6397
6397
  }
6398
6398
  function ta(e) {
6399
- let t = (0, M.c)(4), n;
6399
+ let t = (0, N.c)(4), n;
6400
6400
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
6401
6401
  width: qi,
6402
6402
  height: Ji
6403
6403
  }, t[0] = n) : n = t[0];
6404
- let [r, i] = (0, j.useState)(n), a, o;
6404
+ let [r, i] = (0, M.useState)(n), a, o;
6405
6405
  return t[1] === e ? (a = t[2], o = t[3]) : (a = () => {
6406
6406
  let t = e.current;
6407
6407
  if (!t) return;
@@ -6415,15 +6415,15 @@ function ta(e) {
6415
6415
  });
6416
6416
  });
6417
6417
  return n.observe(t), () => n.disconnect();
6418
- }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, j.useEffect)(a, o), r;
6418
+ }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, M.useEffect)(a, o), r;
6419
6419
  }
6420
6420
  var na = (e) => {
6421
- let t = (0, M.c)(6), { text: n } = e, r, i;
6421
+ let t = (0, N.c)(6), { text: n } = e, r, i;
6422
6422
  if (t[0] !== n) {
6423
6423
  let e = n.split("\n");
6424
6424
  r = "notes", i = e.map((t, n) => {
6425
6425
  let r = n === e.length - 1;
6426
- return t === "---" ? /* @__PURE__ */ (0, W.jsx)("hr", {}, n) : /* @__PURE__ */ (0, W.jsxs)(j.Fragment, { children: [t, !r && /* @__PURE__ */ (0, W.jsx)("br", {})] }, n);
6426
+ return t === "---" ? /* @__PURE__ */ (0, W.jsx)("hr", {}, n) : /* @__PURE__ */ (0, W.jsxs)(M.Fragment, { children: [t, !r && /* @__PURE__ */ (0, W.jsx)("br", {})] }, n);
6427
6427
  }), t[0] = n, t[1] = r, t[2] = i;
6428
6428
  } else r = t[1], i = t[2];
6429
6429
  let a;
@@ -6441,14 +6441,14 @@ function ia(e) {
6441
6441
  return n.has(t.id) || t.id === r ? "skip" : i.get(t.id)?.type ?? "slide";
6442
6442
  }
6443
6443
  function aa(e) {
6444
- let t = (0, M.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6444
+ let t = (0, N.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6445
6445
  t[0] !== n || t[1] !== i ? (o = n != null && i.has(n.id), t[0] = n, t[1] = i, t[2] = o) : o = t[2];
6446
6446
  let s = o, c = n != null && r.get(n.id)?.type === "skip" || s, l;
6447
6447
  t[3] === a ? l = t[4] : (l = {
6448
6448
  activeCellId: a,
6449
6449
  cellId: null
6450
6450
  }, t[3] = a, t[4] = l);
6451
- let [u, d] = (0, j.useState)(l), f = u.cellId;
6451
+ let [u, d] = (0, M.useState)(l), f = u.cellId;
6452
6452
  u.activeCellId === a ? s && f !== a && (f = a, d({
6453
6453
  activeCellId: a,
6454
6454
  cellId: f
@@ -6461,14 +6461,14 @@ function aa(e) {
6461
6461
  cellId: m,
6462
6462
  show: !0
6463
6463
  }, t[5] = m, t[6] = h);
6464
- let [g, _] = (0, j.useState)(h), v = g.show;
6464
+ let [g, _] = (0, M.useState)(h), v = g.show;
6465
6465
  g.cellId !== m && (v = !0, _({
6466
6466
  cellId: m,
6467
6467
  show: !0
6468
6468
  }));
6469
6469
  let y;
6470
6470
  t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(oa), t[7] = y) : y = t[7];
6471
- let b = E(y), x = c || p ? n ?? null : null, S;
6471
+ let b = A(y), x = c || p ? n ?? null : null, S;
6472
6472
  return t[8] !== m || t[9] !== v || t[10] !== p || t[11] !== s || t[12] !== x || t[13] !== b ? (S = {
6473
6473
  parkedPreviewCell: x,
6474
6474
  isHeldEdit: p,
@@ -6492,7 +6492,7 @@ function sa(e) {
6492
6492
  }
6493
6493
  }
6494
6494
  var ca = (e) => {
6495
- let t = (0, M.c)(14), { cell: n } = e, r = f(n.id), i;
6495
+ let t = (0, N.c)(14), { cell: n } = e, r = f(n.id), i;
6496
6496
  t[0] !== n.id || t[1] !== n.name ? (i = b(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = i) : i = t[2];
6497
6497
  let a = n.id, o = r.status, s = n.output, c;
6498
6498
  t[3] !== n.staleInputs || t[4] !== r ? (c = w(r, n.staleInputs, !1), t[3] = n.staleInputs, t[4] = r, t[5] = c) : c = t[5];
@@ -6510,7 +6510,7 @@ var ca = (e) => {
6510
6510
  children: l
6511
6511
  }), t[11] = i, t[12] = l, t[13] = u) : u = t[13], u;
6512
6512
  }, la = (e) => {
6513
- let t = (0, M.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6513
+ let t = (0, N.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6514
6514
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
6515
6515
  let { slideLevel: e, cumulativeByBlock: p } = gr(n, a);
6516
6516
  l = e;
@@ -6524,7 +6524,7 @@ var ca = (e) => {
6524
6524
  children: [n, r && /* @__PURE__ */ (0, W.jsx)(na, { text: r })]
6525
6525
  }, e.cells[0].id);
6526
6526
  }
6527
- return /* @__PURE__ */ (0, W.jsx)(j.Fragment, { children: n }, e.cells[0].id);
6527
+ return /* @__PURE__ */ (0, W.jsx)(M.Fragment, { children: n }, e.cells[0].id);
6528
6528
  }), 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] = d, t[10] = f;
6529
6529
  } else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
6530
6530
  let p;
@@ -6545,7 +6545,7 @@ function ua(e) {
6545
6545
  return t && n || r;
6546
6546
  }
6547
6547
  var da = (e) => {
6548
- let t = (0, M.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6548
+ let t = (0, N.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6549
6549
  if (ua({
6550
6550
  isNoOutputPreview: r,
6551
6551
  isEditable: i,
@@ -6557,212 +6557,212 @@ var da = (e) => {
6557
6557
  let o;
6558
6558
  return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, W.jsx)(ca, { cell: n }), t[3] = n, t[4] = o), o;
6559
6559
  }, fa = (e) => {
6560
- let n = (0, M.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: f, activeIndex: b, onSlideChange: x, mode: C, configWidth: ee, isEditable: w } = e, T = w !== void 0 && w, O = (0, j.useRef)(null), A = (0, j.useRef)(null), { width: ae, height: N } = ta(O), oe = te() != null, [se, ce] = (0, j.useState)(1), le;
6561
- n[0] === Symbol.for("react.memo_cache_sentinel") ? (le = () => {
6560
+ let t = (0, N.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: f, activeIndex: b, onSlideChange: x, mode: C, configWidth: ee, isEditable: w } = e, T = w !== void 0 && w, D = (0, M.useRef)(null), j = (0, M.useRef)(null), { width: ie, height: P } = ta(D), ae = k() != null, [oe, se] = (0, M.useState)(1), ce;
6561
+ t[0] === Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
6562
6562
  let e = requestAnimationFrame(() => {
6563
- let e = A.current;
6564
- e && (e.layout(), ce(e.getScale()));
6563
+ let e = j.current;
6564
+ e && (e.layout(), se(e.getScale()));
6565
6565
  });
6566
6566
  return () => cancelAnimationFrame(e);
6567
- }, n[0] = le) : le = n[0];
6568
- let P;
6569
- n[1] !== N || n[2] !== oe || n[3] !== ae ? (P = [
6570
- ae,
6571
- N,
6572
- oe
6573
- ], n[1] = N, n[2] = oe, n[3] = ae, n[4] = P) : P = n[4], (0, j.useEffect)(le, P);
6574
- let F = k(ne), ue = k(re).kind, de = k(_r), fe = ue !== "wasm" || de, pe;
6575
- n[5] !== F || n[6] !== ue ? (pe = F || !g(ue) ? [] : [Gi], n[5] = F, n[6] = ue, n[7] = pe) : pe = n[7];
6576
- let me = pe, [he, ge] = (0, j.useState)(pa), _e = ie(), ve;
6577
- n[8] === _e ? ve = n[9] : (ve = !D() && _e, n[8] = _e, n[9] = ve);
6578
- let ye = ve, be;
6579
- n[10] === F ? be = n[11] : (be = y(F, window.location.search), n[10] = F, n[11] = be);
6580
- let I = !be && ye, xe = b == null ? void 0 : o[b], Se;
6581
- n[12] !== xe || n[13] !== o ? (Se = xe ?? o.at(0), n[12] = xe, n[13] = o, n[14] = Se) : Se = n[14];
6582
- let Ce = Se, we;
6583
- n[15] !== xe || n[16] !== s.cells || n[17] !== f ? (we = {
6584
- activeCell: xe,
6567
+ }, t[0] = ce) : ce = t[0];
6568
+ let F;
6569
+ t[1] !== P || t[2] !== ae || t[3] !== ie ? (F = [
6570
+ ie,
6571
+ P,
6572
+ ae
6573
+ ], t[1] = P, t[2] = ae, t[3] = ie, t[4] = F) : F = t[4], (0, M.useEffect)(ce, F);
6574
+ let I = E(te), le = E(ne).kind, ue = E(_r), de = le !== "wasm" || ue, fe;
6575
+ t[5] !== I || t[6] !== le ? (fe = I || !g(le) ? [] : [Gi], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6576
+ let pe = fe, [me, he] = (0, M.useState)(pa), ge = re(), _e;
6577
+ t[8] === ge ? _e = t[9] : (_e = !O() && ge, t[8] = ge, t[9] = _e);
6578
+ let ve = _e, ye;
6579
+ t[10] === I ? ye = t[11] : (ye = y(I, window.location.search), t[10] = I, t[11] = ye);
6580
+ let L = !ye && ve, be = b == null ? void 0 : o[b], xe;
6581
+ t[12] !== be || t[13] !== o ? (xe = be ?? o.at(0), t[12] = be, t[13] = o, t[14] = xe) : xe = t[14];
6582
+ let Se = xe, Ce;
6583
+ t[15] !== be || t[16] !== s.cells || t[17] !== f ? (Ce = {
6584
+ activeCell: be,
6585
6585
  slideConfigs: s.cells,
6586
6586
  noOutputIds: f
6587
- }, n[15] = xe, n[16] = s.cells, n[17] = f, n[18] = we) : we = n[18];
6588
- let { parkedPreviewCell: L, isHeldEdit: R, isNoOutputPreview: Te, heldEditCellId: Ee, heldShowsCode: De, toggleHeldShowsCode: Oe } = aa(we), ke;
6589
- n[19] !== ye || n[20] !== s.cells || n[21] !== he ? (ke = (e) => ra({
6587
+ }, t[15] = be, t[16] = s.cells, t[17] = f, t[18] = Ce) : Ce = t[18];
6588
+ let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview: we, heldEditCellId: Te, heldShowsCode: Ee, toggleHeldShowsCode: De } = aa(Ce), Oe;
6589
+ t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (Oe = (e) => ra({
6590
6590
  cells: s.cells,
6591
6591
  cellId: e,
6592
- showCodeOverrides: he,
6593
- codeAvailable: ye
6594
- }), n[19] = ye, n[20] = s.cells, n[21] = he, n[22] = ke) : ke = n[22];
6595
- let z = ke, B = xe?.id ?? Ce?.id, Ae;
6596
- n[23] !== B || n[24] !== De || n[25] !== R || n[26] !== z ? (Ae = R ? De : z(B), n[23] = B, n[24] = De, n[25] = R, n[26] = z, n[27] = Ae) : Ae = n[27];
6597
- let je = Ae, Me;
6598
- n[28] !== B || n[29] !== ye || n[30] !== s.cells ? (Me = ye && B != null && (s.cells.get(B)?.showCode ?? !1), n[28] = B, n[29] = ye, n[30] = s.cells, n[31] = Me) : Me = n[31];
6599
- let Ne = Me, Pe;
6600
- n[32] !== Ee || n[33] !== s.cells || n[34] !== f ? (Pe = (e) => ia({
6592
+ showCodeOverrides: me,
6593
+ codeAvailable: ve
6594
+ }), t[19] = ve, t[20] = s.cells, t[21] = me, t[22] = Oe) : Oe = t[22];
6595
+ let B = Oe, V = be?.id ?? Se?.id, ke;
6596
+ t[23] !== V || t[24] !== Ee || t[25] !== z || t[26] !== B ? (ke = z ? Ee : B(V), t[23] = V, t[24] = Ee, t[25] = z, t[26] = B, t[27] = ke) : ke = t[27];
6597
+ let Ae = ke, je;
6598
+ t[28] !== V || t[29] !== ve || t[30] !== s.cells ? (je = ve && V != null && (s.cells.get(V)?.showCode ?? !1), t[28] = V, t[29] = ve, t[30] = s.cells, t[31] = je) : je = t[31];
6599
+ let Me = je, Ne;
6600
+ t[32] !== Te || t[33] !== s.cells || t[34] !== f ? (Ne = (e) => ia({
6601
6601
  cell: e,
6602
6602
  noOutputIds: f,
6603
- heldEditCellId: Ee,
6603
+ heldEditCellId: Te,
6604
6604
  slideConfigs: s.cells
6605
- }), n[32] = Ee, n[33] = s.cells, n[34] = f, n[35] = Pe) : Pe = n[35];
6606
- let Fe;
6607
- n[36] !== o || n[37] !== Pe ? (Fe = rr({
6605
+ }), t[32] = Te, t[33] = s.cells, t[34] = f, t[35] = Ne) : Ne = t[35];
6606
+ let Pe;
6607
+ t[36] !== o || t[37] !== Ne ? (Pe = rr({
6608
6608
  cells: o,
6609
- getType: Pe
6610
- }), n[36] = o, n[37] = Pe, n[38] = Fe) : Fe = n[38];
6611
- let Ie = Fe, Le;
6612
- n[39] !== Ie || n[40] !== o ? (Le = ir({
6613
- composition: Ie,
6609
+ getType: Ne
6610
+ }), t[36] = o, t[37] = Ne, t[38] = Pe) : Pe = t[38];
6611
+ let Fe = Pe, Ie;
6612
+ t[39] !== Fe || t[40] !== o ? (Ie = ir({
6613
+ composition: Fe,
6614
6614
  cells: o,
6615
6615
  getId: ma
6616
- }), n[39] = Ie, n[40] = o, n[41] = Le) : Le = n[41];
6617
- let { cellToTarget: Re, targetToCellIndex: V } = Le, ze = s.deck?.transition ?? "slide", Be = s.deck?.verticalAlign, Ve;
6618
- n[42] === Be ? Ve = n[43] : (Ve = sa(Be), n[42] = Be, n[43] = Ve);
6619
- let He = Ve, Ue;
6620
- n[44] === Symbol.for("react.memo_cache_sentinel") ? (Ue = v(window.location.href), n[44] = Ue) : Ue = n[44];
6621
- let We = Ue, Ge;
6622
- n[45] === ze ? Ge = n[46] : (Ge = {
6616
+ }), t[39] = Fe, t[40] = o, t[41] = Ie) : Ie = t[41];
6617
+ let { cellToTarget: Le, targetToCellIndex: H } = Ie, Re = s.deck?.transition ?? "slide", ze = s.deck?.verticalAlign, Be;
6618
+ t[42] === ze ? Be = t[43] : (Be = sa(ze), t[42] = ze, t[43] = Be);
6619
+ let Ve = Be, He;
6620
+ t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = v(window.location.href), t[44] = He) : He = t[44];
6621
+ let Ue = He, We;
6622
+ t[45] === Re ? We = t[46] : (We = {
6623
6623
  embedded: !0,
6624
6624
  width: qi,
6625
6625
  height: Ji,
6626
6626
  center: !1,
6627
6627
  minScale: 0,
6628
6628
  maxScale: 2,
6629
- transition: ze,
6629
+ transition: Re,
6630
6630
  keyboardCondition: ha,
6631
- url: We,
6631
+ url: Ue,
6632
6632
  scrollActivationWidth: 0
6633
- }, n[45] = ze, n[46] = Ge);
6634
- let Ke = Ge, qe;
6635
- n[47] !== b || n[48] !== fe || n[49] !== Re || n[50] !== o ? (qe = (e) => {
6633
+ }, t[45] = Re, t[46] = We);
6634
+ let Ge = We, Ke;
6635
+ t[47] !== b || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ke = (e) => {
6636
6636
  if (b == null && window.location.hash.startsWith("#/")) {
6637
- if (!fe) return;
6637
+ if (!de) return;
6638
6638
  window.dispatchEvent(new HashChangeEvent("hashchange")), Zi(e);
6639
6639
  return;
6640
6640
  }
6641
6641
  let t = sr({
6642
6642
  activeIndex: b,
6643
6643
  cells: o,
6644
- cellToTarget: Re,
6644
+ cellToTarget: Le,
6645
6645
  getId: ga
6646
6646
  }), n = t && cr(e.getIndices(), t);
6647
6647
  n && (e.slide(n.h, n.v, n.f), Zi(e));
6648
- }, n[47] = b, n[48] = fe, n[49] = Re, n[50] = o, n[51] = qe) : qe = n[51];
6649
- let Je = E(qe), Ye;
6650
- n[52] === Je ? Ye = n[53] : (Ye = () => {
6651
- let e = A.current;
6652
- e != null && Je(e);
6653
- }, n[52] = Je, n[53] = Ye);
6654
- let Xe;
6655
- n[54] !== b || n[55] !== fe || n[56] !== Re || n[57] !== Je || n[58] !== o ? (Xe = [
6648
+ }, t[47] = b, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ke) : Ke = t[51];
6649
+ let qe = A(Ke), Je;
6650
+ t[52] === qe ? Je = t[53] : (Je = () => {
6651
+ let e = j.current;
6652
+ e != null && qe(e);
6653
+ }, t[52] = qe, t[53] = Je);
6654
+ let Ye;
6655
+ t[54] !== b || t[55] !== de || t[56] !== Le || t[57] !== qe || t[58] !== o ? (Ye = [
6656
6656
  b,
6657
- fe,
6658
- Re,
6657
+ de,
6658
+ Le,
6659
6659
  o,
6660
- Je
6661
- ], n[54] = b, n[55] = fe, n[56] = Re, n[57] = Je, n[58] = o, n[59] = Xe) : Xe = n[59], (0, j.useEffect)(Ye, Xe);
6662
- let Ze;
6663
- n[60] !== B || n[61] !== Ne || n[62] !== R || n[63] !== Oe ? (Ze = () => {
6664
- if (!(B == null || Ne)) {
6665
- if (R) {
6666
- Oe();
6660
+ qe
6661
+ ], t[54] = b, t[55] = de, t[56] = Le, t[57] = qe, t[58] = o, t[59] = Ye) : Ye = t[59], (0, M.useEffect)(Je, Ye);
6662
+ let Xe;
6663
+ t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !== De ? (Xe = () => {
6664
+ if (!(V == null || Me)) {
6665
+ if (z) {
6666
+ De();
6667
6667
  return;
6668
6668
  }
6669
- (0, j.startTransition)(() => ge((e) => {
6669
+ (0, M.startTransition)(() => he((e) => {
6670
6670
  let t = new Set(e);
6671
- return t.has(B) ? t.delete(B) : t.add(B), t;
6671
+ return t.has(V) ? t.delete(V) : t.add(V), t;
6672
6672
  }));
6673
6673
  }
6674
- }, n[60] = B, n[61] = Ne, n[62] = R, n[63] = Oe, n[64] = Ze) : Ze = n[64];
6675
- let H = E(Ze), Qe, $e;
6676
- n[65] !== I || n[66] !== H ? (Qe = () => {
6677
- let e = A.current;
6674
+ }, t[60] = V, t[61] = Me, t[62] = z, t[63] = De, t[64] = Xe) : Xe = t[64];
6675
+ let U = A(Xe), Ze, Qe;
6676
+ t[65] !== L || t[66] !== U ? (Ze = () => {
6677
+ let e = j.current;
6678
6678
  return e && Xi({
6679
6679
  deck: e,
6680
- enabled: I,
6681
- onToggle: H
6680
+ enabled: L,
6681
+ onToggle: U
6682
6682
  }), () => {
6683
- A.current?.removeKeyBinding(Yi);
6683
+ j.current?.removeKeyBinding(Yi);
6684
6684
  };
6685
- }, $e = [I, H], n[65] = I, n[66] = H, n[67] = Qe, n[68] = $e) : (Qe = n[67], $e = n[68]), (0, j.useEffect)(Qe, $e);
6686
- let et;
6687
- n[69] !== x || n[70] !== L || n[71] !== V ? (et = (e) => {
6688
- if (L != null) return;
6689
- let t = ar(V, e.getIndices());
6685
+ }, Qe = [L, U], t[65] = L, t[66] = U, t[67] = Ze, t[68] = Qe) : (Ze = t[67], Qe = t[68]), (0, M.useEffect)(Ze, Qe);
6686
+ let $e;
6687
+ t[69] !== x || t[70] !== R || t[71] !== H ? ($e = (e) => {
6688
+ if (R != null) return;
6689
+ let t = ar(H, e.getIndices());
6690
6690
  t != null && x?.(t);
6691
- }, n[69] = x, n[70] = L, n[71] = V, n[72] = et) : et = n[72];
6692
- let tt = E(et), nt;
6693
- n[73] === tt ? nt = n[74] : (nt = () => {
6694
- let e = A.current;
6695
- e && tt(e);
6696
- }, n[73] = tt, n[74] = nt);
6697
- let rt = E(nt), it;
6698
- n[75] !== fe || n[76] !== I || n[77] !== Je || n[78] !== tt || n[79] !== H ? (it = (e) => {
6699
- ce(e.getScale()), Je(e), fe && tt(e), Xi({
6691
+ }, t[69] = x, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6692
+ let et = A($e), tt;
6693
+ t[73] === et ? tt = t[74] : (tt = () => {
6694
+ let e = j.current;
6695
+ e && et(e);
6696
+ }, t[73] = et, t[74] = tt);
6697
+ let nt = A(tt), rt;
6698
+ t[75] !== de || t[76] !== L || t[77] !== qe || t[78] !== et || t[79] !== U ? (rt = (e) => {
6699
+ se(e.getScale()), qe(e), de && et(e), Xi({
6700
6700
  deck: e,
6701
- enabled: I,
6702
- onToggle: H
6701
+ enabled: L,
6702
+ onToggle: U
6703
6703
  });
6704
6704
  let t = e.getSlidesElement()?.closest(".reveal");
6705
6705
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6706
- }, n[75] = fe, n[76] = I, n[77] = Je, n[78] = tt, n[79] = H, n[80] = it) : it = n[80];
6707
- let at = E(it), ot;
6708
- n[81] !== b || n[82] !== x || n[83] !== L || n[84] !== o ? (ot = (e) => {
6709
- if (!L || b == null || i.fromInput(e)) return;
6706
+ }, t[75] = de, t[76] = L, t[77] = qe, t[78] = et, t[79] = U, t[80] = rt) : rt = t[80];
6707
+ let it = A(rt), at;
6708
+ t[81] !== b || t[82] !== x || t[83] !== R || t[84] !== o ? (at = (e) => {
6709
+ if (!R || b == null || i.fromInput(e)) return;
6710
6710
  let t = ea(e);
6711
6711
  if (t === 0) return;
6712
6712
  e.preventDefault(), e.stopPropagation();
6713
6713
  let n = b + t;
6714
6714
  n < 0 || n >= o.length || x?.(n);
6715
- }, n[81] = b, n[82] = x, n[83] = L, n[84] = o, n[85] = ot) : ot = n[85];
6716
- let st = E(ot), U;
6717
- n[86] === rt ? U = n[87] : (U = () => {
6718
- rt();
6719
- }, n[86] = rt, n[87] = U);
6720
- let ct = E(U), lt;
6721
- n[88] === Symbol.for("react.memo_cache_sentinel") ? (lt = { capture: !0 }, n[88] = lt) : lt = n[88], t(document, "keydown", st, lt);
6722
- let ut = R ? null : Te ? "Hidden as there is no output" : "Skipped in presentation", dt;
6723
- n[89] !== De || n[90] !== R || n[91] !== L?.id || n[92] !== z ? (dt = R ? De : z(L?.id), n[89] = De, n[90] = R, n[91] = L?.id, n[92] = z, n[93] = dt) : dt = n[93];
6715
+ }, t[81] = b, t[82] = x, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6716
+ let ot = A(at), st;
6717
+ t[86] === nt ? st = t[87] : (st = () => {
6718
+ nt();
6719
+ }, t[86] = nt, t[87] = st);
6720
+ let ct = A(st), lt;
6721
+ t[88] === Symbol.for("react.memo_cache_sentinel") ? (lt = { capture: !0 }, t[88] = lt) : lt = t[88], r(document, "keydown", ot, lt);
6722
+ let ut = z ? null : we ? "Hidden as there is no output" : "Skipped in presentation", dt;
6723
+ t[89] !== Ee || t[90] !== z || t[91] !== R?.id || t[92] !== B ? (dt = z ? Ee : B(R?.id), t[89] = Ee, t[90] = z, t[91] = R?.id, t[92] = B, t[93] = dt) : dt = t[93];
6724
6724
  let ft = dt, pt;
6725
- n[94] !== T || n[95] !== Te || n[96] !== ft ? (pt = ua({
6726
- isNoOutputPreview: Te,
6725
+ t[94] !== T || t[95] !== we || t[96] !== ft ? (pt = ua({
6726
+ isNoOutputPreview: we,
6727
6727
  isEditable: T,
6728
6728
  showCode: ft
6729
- }), n[94] = T, n[95] = Te, n[96] = ft, n[97] = pt) : pt = n[97];
6729
+ }), t[94] = T, t[95] = we, t[96] = ft, t[97] = pt) : pt = t[97];
6730
6730
  let mt = pt, ht;
6731
- n[98] !== N || n[99] !== ae ? (ht = {
6732
- width: ae,
6733
- height: N
6734
- }, n[98] = N, n[99] = ae, n[100] = ht) : ht = n[100];
6731
+ t[98] !== P || t[99] !== ie ? (ht = {
6732
+ width: ie,
6733
+ height: P
6734
+ }, t[98] = P, t[99] = ie, t[100] = ht) : ht = t[100];
6735
6735
  let _t;
6736
- if (n[101] !== Ie.stacks || n[102] !== T || n[103] !== s.cells || n[104] !== z || n[105] !== He) {
6736
+ if (t[101] !== Fe.stacks || t[102] !== T || t[103] !== s.cells || t[104] !== B || t[105] !== Ve) {
6737
6737
  let e;
6738
- n[107] !== T || n[108] !== s.cells || n[109] !== z || n[110] !== He ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, W.jsx)(la, {
6738
+ t[107] !== T || t[108] !== s.cells || t[109] !== B || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, W.jsx)(la, {
6739
6739
  subslide: e.subslides[0],
6740
- resolveShowCode: z,
6740
+ resolveShowCode: B,
6741
6741
  isEditable: T,
6742
6742
  slideConfigs: s.cells,
6743
- contentStyle: He
6743
+ contentStyle: Ve
6744
6744
  }, t) : /* @__PURE__ */ (0, W.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, W.jsx)(la, {
6745
6745
  subslide: e,
6746
- resolveShowCode: z,
6746
+ resolveShowCode: B,
6747
6747
  isEditable: T,
6748
6748
  slideConfigs: s.cells,
6749
- contentStyle: He
6750
- }, t)) }, t), n[107] = T, n[108] = s.cells, n[109] = z, n[110] = He, n[111] = e) : e = n[111], _t = Ie.stacks.map(e), n[101] = Ie.stacks, n[102] = T, n[103] = s.cells, n[104] = z, n[105] = He, n[106] = _t;
6751
- } else _t = n[106];
6749
+ contentStyle: Ve
6750
+ }, t)) }, t), t[107] = T, t[108] = s.cells, t[109] = B, t[110] = Ve, t[111] = e) : e = t[111], _t = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = T, t[103] = s.cells, t[104] = B, t[105] = Ve, t[106] = _t;
6751
+ } else _t = t[106];
6752
6752
  let vt;
6753
- n[112] !== me || n[113] !== at || n[114] !== ct || n[115] !== rt || n[116] !== Ke || n[117] !== _t ? (vt = /* @__PURE__ */ (0, W.jsx)(gt, {
6754
- deckRef: A,
6753
+ t[112] !== pe || t[113] !== it || t[114] !== ct || t[115] !== nt || t[116] !== Ge || t[117] !== _t ? (vt = /* @__PURE__ */ (0, W.jsx)(gt, {
6754
+ deckRef: j,
6755
6755
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
6756
- config: Ke,
6757
- onReady: at,
6756
+ config: Ge,
6757
+ onReady: it,
6758
6758
  onSlideChange: ct,
6759
- onFragmentShown: rt,
6760
- onFragmentHidden: rt,
6761
- plugins: me,
6759
+ onFragmentShown: nt,
6760
+ onFragmentHidden: nt,
6761
+ plugins: pe,
6762
6762
  children: _t
6763
- }), n[112] = me, n[113] = at, n[114] = ct, n[115] = rt, n[116] = Ke, n[117] = _t, n[118] = vt) : vt = n[118];
6763
+ }), t[112] = pe, t[113] = it, t[114] = ct, t[115] = nt, t[116] = Ge, t[117] = _t, t[118] = vt) : vt = t[118];
6764
6764
  let G;
6765
- n[119] !== T || n[120] !== Te || n[121] !== L || n[122] !== ut || n[123] !== ft || n[124] !== mt || n[125] !== He || n[126] !== se ? (G = L && /* @__PURE__ */ (0, W.jsxs)("div", {
6765
+ t[119] !== T || t[120] !== we || t[121] !== R || t[122] !== ut || t[123] !== ft || t[124] !== mt || t[125] !== Ve || t[126] !== oe ? (G = R && /* @__PURE__ */ (0, W.jsxs)("div", {
6766
6766
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6767
6767
  "aria-label": ut ?? void 0,
6768
6768
  children: [ut && /* @__PURE__ */ (0, W.jsxs)("div", {
@@ -6775,37 +6775,37 @@ var da = (e) => {
6775
6775
  position: "absolute",
6776
6776
  width: qi,
6777
6777
  height: Ji,
6778
- transform: `translate(-50%, -50%) scale(${se})`
6778
+ transform: `translate(-50%, -50%) scale(${oe})`
6779
6779
  },
6780
6780
  children: /* @__PURE__ */ (0, W.jsx)(nr, { children: /* @__PURE__ */ (0, W.jsx)("div", {
6781
6781
  className: mt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6782
- style: He,
6782
+ style: Ve,
6783
6783
  children: /* @__PURE__ */ (0, W.jsx)(da, {
6784
- cell: L,
6785
- isNoOutputPreview: Te,
6784
+ cell: R,
6785
+ isNoOutputPreview: we,
6786
6786
  isEditable: T,
6787
6787
  showCode: ft
6788
6788
  })
6789
6789
  }) })
6790
6790
  })]
6791
- }, L.id), n[119] = T, n[120] = Te, n[121] = L, n[122] = ut, n[123] = ft, n[124] = mt, n[125] = He, n[126] = se, n[127] = G) : G = n[127];
6791
+ }, R.id), t[119] = T, t[120] = we, t[121] = R, t[122] = ut, t[123] = ft, t[124] = mt, t[125] = Ve, t[126] = oe, t[127] = G) : G = t[127];
6792
6792
  let yt;
6793
- n[128] !== je || n[129] !== Ne || n[130] !== I || n[131] !== H ? (yt = I && /* @__PURE__ */ (0, W.jsx)(l, {
6794
- content: Ne ? "Code is always shown for this slide" : je ? "Hide code (C)" : "Show code (C)",
6793
+ t[128] !== Ae || t[129] !== Me || t[130] !== L || t[131] !== U ? (yt = L && /* @__PURE__ */ (0, W.jsx)(l, {
6794
+ content: Me ? "Code is always shown for this slide" : Ae ? "Hide code (C)" : "Show code (C)",
6795
6795
  children: /* @__PURE__ */ (0, W.jsx)(a, {
6796
6796
  "data-testid": "marimo-plugin-slides-toggle-code",
6797
6797
  variant: "ghost",
6798
6798
  size: "icon",
6799
- className: r("text-muted-foreground h-7 w-7", je && "text-foreground bg-muted", Ne && "opacity-50 cursor-not-allowed"),
6800
- "aria-pressed": je,
6801
- "aria-disabled": Ne,
6802
- "aria-label": Ne ? "Code always shown" : je ? "Hide code" : "Show code",
6803
- onClick: H,
6799
+ className: n("text-muted-foreground h-7 w-7", Ae && "text-foreground bg-muted", Me && "opacity-50 cursor-not-allowed"),
6800
+ "aria-pressed": Ae,
6801
+ "aria-disabled": Me,
6802
+ "aria-label": Me ? "Code always shown" : Ae ? "Hide code" : "Show code",
6803
+ onClick: U,
6804
6804
  children: /* @__PURE__ */ (0, W.jsx)(S, { className: "h-4 w-4" })
6805
6805
  })
6806
- }), n[128] = je, n[129] = Ne, n[130] = I, n[131] = H, n[132] = yt) : yt = n[132];
6806
+ }), t[128] = Ae, t[129] = Me, t[130] = L, t[131] = U, t[132] = yt) : yt = t[132];
6807
6807
  let xt;
6808
- n[133] === Symbol.for("react.memo_cache_sentinel") ? (xt = /* @__PURE__ */ (0, W.jsx)(l, {
6808
+ t[133] === Symbol.for("react.memo_cache_sentinel") ? (xt = /* @__PURE__ */ (0, W.jsx)(l, {
6809
6809
  content: "Fullscreen (F)",
6810
6810
  children: /* @__PURE__ */ (0, W.jsx)(a, {
6811
6811
  "data-testid": "marimo-plugin-slides-fullscreen",
@@ -6814,19 +6814,19 @@ var da = (e) => {
6814
6814
  className: "text-muted-foreground h-7 w-7",
6815
6815
  "aria-label": "Enter fullscreen",
6816
6816
  onClick: () => {
6817
- A.current?.getViewportElement()?.requestFullscreen().catch(_a);
6817
+ j.current?.getViewportElement()?.requestFullscreen().catch(_a);
6818
6818
  },
6819
6819
  children: /* @__PURE__ */ (0, W.jsx)(m, { className: "h-4 w-4" })
6820
6820
  })
6821
- }), n[133] = xt) : xt = n[133];
6821
+ }), t[133] = xt) : xt = t[133];
6822
6822
  let St;
6823
- n[134] === yt ? St = n[135] : (St = /* @__PURE__ */ (0, W.jsxs)("div", {
6823
+ t[134] === yt ? St = t[135] : (St = /* @__PURE__ */ (0, W.jsxs)("div", {
6824
6824
  className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6825
6825
  children: [yt, xt]
6826
- }), n[134] = yt, n[135] = St);
6826
+ }), t[134] = yt, t[135] = St);
6827
6827
  let Ct;
6828
- n[136] !== ht || n[137] !== vt || n[138] !== G || n[139] !== St ? (Ct = /* @__PURE__ */ (0, W.jsx)("div", {
6829
- ref: O,
6828
+ t[136] !== ht || t[137] !== vt || t[138] !== G || t[139] !== St ? (Ct = /* @__PURE__ */ (0, W.jsx)("div", {
6829
+ ref: D,
6830
6830
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6831
6831
  children: /* @__PURE__ */ (0, W.jsxs)("div", {
6832
6832
  className: "group relative",
@@ -6837,34 +6837,34 @@ var da = (e) => {
6837
6837
  St
6838
6838
  ]
6839
6839
  })
6840
- }), n[136] = ht, n[137] = vt, n[138] = G, n[139] = St, n[140] = Ct) : Ct = n[140];
6840
+ }), t[136] = ht, t[137] = vt, t[138] = G, t[139] = St, t[140] = Ct) : Ct = t[140];
6841
6841
  let K = Ct;
6842
6842
  if (C === "read") {
6843
6843
  let e;
6844
- return n[141] === K ? e = n[142] : (e = /* @__PURE__ */ (0, W.jsx)("div", {
6844
+ return t[141] === K ? e = t[142] : (e = /* @__PURE__ */ (0, W.jsx)("div", {
6845
6845
  className: "flex-1 min-w-0 flex flex-row gap-3",
6846
6846
  children: K
6847
- }), n[141] = K, n[142] = e), e;
6847
+ }), t[141] = K, t[142] = e), e;
6848
6848
  }
6849
6849
  let q;
6850
- n[143] === K ? q = n[144] : (q = /* @__PURE__ */ (0, W.jsx)(d, {
6850
+ t[143] === K ? q = t[144] : (q = /* @__PURE__ */ (0, W.jsx)(d, {
6851
6851
  defaultSize: 92,
6852
6852
  minSize: 60,
6853
6853
  children: K
6854
- }), n[143] = K, n[144] = q);
6854
+ }), t[143] = K, t[144] = q);
6855
6855
  let wt;
6856
- n[145] === Symbol.for("react.memo_cache_sentinel") ? (wt = {
6856
+ t[145] === Symbol.for("react.memo_cache_sentinel") ? (wt = {
6857
6857
  coarse: 12,
6858
6858
  fine: 4
6859
- }, n[145] = wt) : wt = n[145];
6859
+ }, t[145] = wt) : wt = t[145];
6860
6860
  let J;
6861
- n[146] === oe ? J = n[147] : (J = /* @__PURE__ */ (0, W.jsx)(p, {
6861
+ t[146] === ae ? J = t[147] : (J = /* @__PURE__ */ (0, W.jsx)(p, {
6862
6862
  className: "mo-slides-notes-resize",
6863
6863
  hitAreaMargins: wt,
6864
- disabled: oe
6865
- }), n[146] = oe, n[147] = J);
6866
- let Tt = Ce?.id, Y;
6867
- n[148] !== s || n[149] !== c || n[150] !== Tt ? (Y = /* @__PURE__ */ (0, W.jsx)(d, {
6864
+ disabled: ae
6865
+ }), t[146] = ae, t[147] = J);
6866
+ let Tt = Se?.id, Y;
6867
+ t[148] !== s || t[149] !== c || t[150] !== Tt ? (Y = /* @__PURE__ */ (0, W.jsx)(d, {
6868
6868
  defaultSize: 10,
6869
6869
  minSize: 4,
6870
6870
  collapsible: !0,
@@ -6874,9 +6874,9 @@ var da = (e) => {
6874
6874
  setLayout: c,
6875
6875
  cellId: Tt
6876
6876
  })
6877
- }), n[148] = s, n[149] = c, n[150] = Tt, n[151] = Y) : Y = n[151];
6877
+ }), t[148] = s, t[149] = c, t[150] = Tt, t[151] = Y) : Y = t[151];
6878
6878
  let Et;
6879
- n[152] !== q || n[153] !== J || n[154] !== Y ? (Et = /* @__PURE__ */ (0, W.jsxs)(u, {
6879
+ t[152] !== q || t[153] !== J || t[154] !== Y ? (Et = /* @__PURE__ */ (0, W.jsxs)(u, {
6880
6880
  direction: "vertical",
6881
6881
  autoSaveId: "marimo:slides:notes-panel",
6882
6882
  className: "flex-1 min-w-0",
@@ -6885,19 +6885,19 @@ var da = (e) => {
6885
6885
  J,
6886
6886
  Y
6887
6887
  ]
6888
- }), n[152] = q, n[153] = J, n[154] = Y, n[155] = Et) : Et = n[155];
6888
+ }), t[152] = q, t[153] = J, t[154] = Y, t[155] = Et) : Et = t[155];
6889
6889
  let Dt;
6890
- n[156] !== Ce || n[157] !== ee || n[158] !== s || n[159] !== c ? (Dt = /* @__PURE__ */ (0, W.jsx)(_, {
6890
+ t[156] !== Se || t[157] !== ee || t[158] !== s || t[159] !== c ? (Dt = /* @__PURE__ */ (0, W.jsx)(_, {
6891
6891
  configWidth: ee,
6892
6892
  layout: s,
6893
6893
  setLayout: c,
6894
- activeConfigCell: Ce
6895
- }), n[156] = Ce, n[157] = ee, n[158] = s, n[159] = c, n[160] = Dt) : Dt = n[160];
6894
+ activeConfigCell: Se
6895
+ }), t[156] = Se, t[157] = ee, t[158] = s, t[159] = c, t[160] = Dt) : Dt = t[160];
6896
6896
  let Ot;
6897
- return n[161] !== Et || n[162] !== Dt ? (Ot = /* @__PURE__ */ (0, W.jsxs)("div", {
6897
+ return t[161] !== Et || t[162] !== Dt ? (Ot = /* @__PURE__ */ (0, W.jsxs)("div", {
6898
6898
  className: "flex-1 min-w-0 flex flex-row gap-3",
6899
6899
  children: [Et, Dt]
6900
- }), n[161] = Et, n[162] = Dt, n[163] = Ot) : Ot = n[163], Ot;
6900
+ }), t[161] = Et, t[162] = Dt, t[163] = Ot) : Ot = t[163], Ot;
6901
6901
  };
6902
6902
  function pa() {
6903
6903
  return /* @__PURE__ */ new Set();
@@ -6912,7 +6912,7 @@ function ga(e) {
6912
6912
  return e.id;
6913
6913
  }
6914
6914
  function _a(e) {
6915
- n.error("Failed to request fullscreen", e);
6915
+ t.error("Failed to request fullscreen", e);
6916
6916
  }
6917
6917
  //#endregion
6918
6918
  export { ca as CellOutputBlock, ia as deckSlideType, fa as default, ua as parkedRendersSource, ra as shouldShowCode, Xi as syncCodeToggleKeyBinding, aa as useParkedPreview };