@marimo-team/islands 0.24.3-dev39 → 0.24.3-dev40

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 (87) hide show
  1. package/dist/{ConnectedDataExplorerComponent-DeiKXaGB.js → ConnectedDataExplorerComponent-KVhjDMSe.js} +1062 -1062
  2. package/dist/ErrorBoundary-CacTZz7K.js +200 -0
  3. package/dist/{abnfDiagram-VCTEODGH-DKNGRyhn.js → abnfDiagram-VCTEODGH-CpN0FRda.js} +2 -2
  4. package/dist/{any-language-editor-BdvsE_1G.js → any-language-editor-CycIVIeP.js} +13 -13
  5. package/dist/{architectureDiagram-5GKGNRK7-C9oCEyV-.js → architectureDiagram-5GKGNRK7-DDyj5SRB.js} +1 -1
  6. package/dist/{html-to-image-CZm_DMIE.js → cells-BSgNCBZ8.js} +5177 -8831
  7. package/dist/{chat-ui-D15itIKJ.js → chat-ui-CygzVJ9s.js} +1345 -1394
  8. package/dist/{check-mcQyZmFG.js → check-B7cIK6gb.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-ByL0a1rh.js → chunk-IMKFNOWR-BfwTebD0.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-D1Nb5X1c.js → chunk-SHT3W25Y-BspJEJ5H.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-BShKxcfD.js → chunk-SVP7TREG-DX3rFNTe.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-zpDbKPt8.js → chunk-TICWLB2K-fVF7Uujg.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-qcsoIIQw.js → classDiagram-ZZMXUADV-Fe-V14Sc.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-CAgMct5x.js → classDiagram-v2-VYDZK3BY-xTDg7lOs.js} +2 -2
  15. package/dist/code-visibility-BBNwvBcV.js +138 -0
  16. package/dist/{common-eNTtBSo2.js → common-DM3lblo7.js} +5531 -5730
  17. package/dist/copy-icon-CLdENY__.js +190 -0
  18. package/dist/{cynefinDiagram-5FMLGOSQ-BzBXigwN.js → cynefinDiagram-5FMLGOSQ-CFQrqzSX.js} +1 -1
  19. package/dist/{dagre-GXQ25YYZ-B-75J283.js → dagre-GXQ25YYZ-xHNAUTyG.js} +1 -1
  20. package/dist/{data-grid-overlay-editor-DMu5X3F1.js → data-grid-overlay-editor-DjRvSwGI.js} +1 -1
  21. package/dist/{diagram-S7CK7UJ4-Bzr5oWc0.js → diagram-S7CK7UJ4-Bt1rPbAx.js} +1 -1
  22. package/dist/{diagram-UQ7AKVKN-CVIH_HJ_.js → diagram-UQ7AKVKN-D1sq5FoZ.js} +1 -1
  23. package/dist/{diagram-VX7I27RA-BmoMwYLC.js → diagram-VX7I27RA-BMwGFVD6.js} +1 -1
  24. package/dist/{diagram-Z3DM3KII-BW1w6mnj.js → diagram-Z3DM3KII--KLDR9Pl.js} +1 -1
  25. package/dist/dialog-CgNq6y9-.js +94 -0
  26. package/dist/{objectWithoutPropertiesLoose-BbiTb8zy.js → dist-CO1AwwG_.js} +516 -572
  27. package/dist/{dropdown-menu-WMrB1UnI.js → dropdown-menu-CZgjYSAh.js} +1437 -2793
  28. package/dist/{ebnfDiagram-PWID7BFC-90Q6gkC0.js → ebnfDiagram-PWID7BFC-WnG4cvSQ.js} +2 -2
  29. package/dist/{erDiagram-RLTQ6QDP-BZkLy3TR.js → erDiagram-RLTQ6QDP-DhzKiYHc.js} +1 -1
  30. package/dist/error-banner-B94dcDmP.js +391 -0
  31. package/dist/error-entries-iJn-Nryx.js +56 -0
  32. package/dist/{esm-qM9GvHZi.js → esm-h8f7-1CJ.js} +316 -315
  33. package/dist/feedback-button-BkFFL-wb.js +380 -0
  34. package/dist/{flowDiagram-HODETNUW-CD1F_wj5.js → flowDiagram-HODETNUW-6dMdB8pR.js} +2 -2
  35. package/dist/{formats-B-gajYGs.js → formats-BR5iGb4s.js} +1 -1
  36. package/dist/{glide-data-editor-DzFEatOq.js → glide-data-editor-CeAOHG6x.js} +117 -116
  37. package/dist/{glide-utils-4WmLlefP.js → glide-utils-B3rUT5PI.js} +2 -2
  38. package/dist/globals-C74RodJy.js +19 -0
  39. package/dist/html-to-image-kpuRfdfZ.js +3253 -0
  40. package/dist/{infoDiagram-27XIBGKW-t0zIIRVa.js → infoDiagram-27XIBGKW-BagtCX_5.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-DtQUIYgx.js → ishikawaDiagram-5VMMS53U-DByDehYy.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-CUMmwuNB.js → kanban-definition-UXKFOSKX-BxwkbBI_.js} +1 -1
  43. package/dist/{label-e37ixur5.js → label-BJ49YTvk.js} +1 -1
  44. package/dist/main.js +4717 -4728
  45. package/dist/{mermaid-CMLxoJ0m.js → mermaid-DPNuhemn.js} +35 -35
  46. package/dist/{mindmap-definition-YA3MSWOX-DnbkiQla.js → mindmap-definition-YA3MSWOX-Cgvojw3y.js} +1 -1
  47. package/dist/{number-overlay-editor-lGqRHkFt.js → number-overlay-editor-DDyIkEk3.js} +1 -1
  48. package/dist/objectWithoutPropertiesLoose-BRDcTsfB.js +23 -0
  49. package/dist/{pegDiagram-XKGWAZYB-qgqAYMdv.js → pegDiagram-XKGWAZYB-DahHhYyN.js} +2 -2
  50. package/dist/{pieDiagram-E7YTZNPT-DJUB6w6B.js → pieDiagram-E7YTZNPT-CCtX0oCK.js} +1 -1
  51. package/dist/{process-output-DuupNR0m.js → process-output-DFe2tVIY.js} +7 -6
  52. package/dist/{railroadDiagram-O6MQD6OU-C0dtw4sR.js → railroadDiagram-O6MQD6OU-Du5NsPUb.js} +2 -2
  53. package/dist/{requirementDiagram-BXWQKSXE-DqaTsUuC.js → requirementDiagram-BXWQKSXE-0pmmxL6_.js} +1 -1
  54. package/dist/{reveal-component-CNqmC7b6.js → reveal-component-CRy68FxJ.js} +625 -625
  55. package/dist/{select-UMOSCa3W.js → select-C6plhmZr.js} +308 -553
  56. package/dist/{sequenceDiagram-WJ2MYXX4-D2NyWGuu.js → sequenceDiagram-WJ2MYXX4-DB-ChWwU.js} +1 -1
  57. package/dist/{spec-BiD5y7ft.js → spec-CAYwFeV6.js} +4 -4
  58. package/dist/{stateDiagram-D77RDMKH-JChw35bc.js → stateDiagram-D77RDMKH-orN6AwMx.js} +2 -2
  59. package/dist/{stateDiagram-v2-MP3YSRHH-BfVY7OxA.js → stateDiagram-v2-MP3YSRHH-o05_rJN8.js} +2 -2
  60. package/dist/{swimlanes-42K2YHIH-eAB6utyY.js → swimlanes-42K2YHIH-BkSDcqDT.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-Cnpd2YtA.js → swimlanesDiagram-VR7AAH4N-D_nFQfRc.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-DlnODX3U.js → timeline-definition-24CTP7MA-BuqJUIRZ.js} +1 -1
  63. package/dist/{toDate-0cxDmdsp.js → toDate-WXg1yLcI.js} +2 -2
  64. package/dist/toast-DvY70eFX.js +1834 -0
  65. package/dist/tooltip-qB8NlSqV.js +1742 -0
  66. package/dist/{schemas-BDZr-nP0.js → use-restore-focus-D5D9xEjZ.js} +1385 -1166
  67. package/dist/{useAsyncData-DCIhDLCe.js → useAsyncData-BD6AStMt.js} +1 -1
  68. package/dist/{useDateFormatter-BKpQHt-W.js → useDateFormatter-BRTPsUK7.js} +2 -2
  69. package/dist/{useDeepCompareMemoize-CLaZB7Gc.js → useDeepCompareMemoize-D_HNdyvI.js} +1 -1
  70. package/dist/{useLifecycle-C1ViBACC.js → useLifecycle-DPgiiwwU.js} +2 -2
  71. package/dist/useNumberFormatter-BfDpa21j.js +251 -0
  72. package/dist/{useTheme-Da9LJvrQ.js → useTheme-DzXmYZ5V.js} +83 -83
  73. package/dist/{vega-component-Bt6d8B4Q.js → vega-component-D0QXopU8.js} +27 -27
  74. package/dist/{vennDiagram-4TSXK5OY-B_m5KxUg.js → vennDiagram-4TSXK5OY-CTUlJ2PK.js} +1 -1
  75. package/dist/{wardleyDiagram-VM6X3IG4-Dw-Lgv3D.js → wardleyDiagram-VM6X3IG4-3evLUb0M.js} +1 -1
  76. package/dist/{xychartDiagram-S5SC5T6Z-BjfRms1e.js → xychartDiagram-S5SC5T6Z-DL2E3K8-.js} +1 -1
  77. package/package.json +1 -1
  78. package/src/components/editor/boundary/ErrorBoundary.tsx +38 -16
  79. package/src/components/editor/boundary/__tests__/ErrorBoundary.test.tsx +311 -0
  80. package/src/components/editor/chrome/components/__tests__/feedback-button.test.tsx +94 -0
  81. package/src/components/editor/chrome/components/feedback-button.tsx +53 -33
  82. package/src/components/ui/use-toast.ts +8 -0
  83. package/dist/ErrorBoundary-B3IKS4qY.js +0 -125
  84. package/dist/copy-C0N4m1lm.js +0 -141
  85. package/dist/dist-6ChWbo8z.js +0 -1360
  86. package/dist/error-banner-hCaH06e3.js +0 -611
  87. package/dist/tooltip-CdE8k0pS.js +0 -390
@@ -2,28 +2,28 @@ import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
2
2
  import { c as t, g as n, h as r, m as i, t as a } from "./button-DdXAm8iz.js";
3
3
  import { t as o } from "./react-ofJbxM4x.js";
4
4
  import { t as s } from "./compiler-runtime-Cj8ZWiNS.js";
5
- import { kt as c, st as l } from "./html-to-image-CZm_DMIE.js";
6
- import { u } from "./dist-6ChWbo8z.js";
7
- import { _n as d, bn as f, c as p, ct as m, g as h, gn as g, h as _, l as v, lt as y, n as b, o as x, r as S, t as C, u as w, ut as T } from "./common-eNTtBSo2.js";
8
- import { R as E } from "./select-UMOSCa3W.js";
9
- import { Y as D } from "./dropdown-menu-WMrB1UnI.js";
10
- import { t as O } from "./jsx-runtime-DgDPJV9S.js";
11
- import { K as k } from "./schemas-BDZr-nP0.js";
12
- import { t as A } from "./tooltip-CdE8k0pS.js";
13
- import { A as j, C as M, b as ee } from "./useTheme-Da9LJvrQ.js";
5
+ import { g as c, t as l } from "./tooltip-qB8NlSqV.js";
6
+ import { G as u, w as d } from "./cells-BSgNCBZ8.js";
7
+ import { $ as f, Q as p, Z as m, an as h, i as g, l as _, ln as v, n as y, on as b, r as x, t as S, u as C } from "./common-DM3lblo7.js";
8
+ import { M as w } from "./select-C6plhmZr.js";
9
+ import { J as T } from "./dropdown-menu-CZgjYSAh.js";
10
+ import { t as E } from "./jsx-runtime-DgDPJV9S.js";
11
+ import { q as ee } from "./use-restore-focus-D5D9xEjZ.js";
12
+ import { A as D, C as O, b as k } from "./useTheme-DzXmYZ5V.js";
13
+ import { a as A, n as te, t as ne } from "./code-visibility-BBNwvBcV.js";
14
14
  /* empty css */
15
- var N = u("sticky-note", [["path", {
15
+ var j = c("sticky-note", [["path", {
16
16
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
17
17
  key: "1dfntj"
18
18
  }], ["path", {
19
19
  d: "M15 3v5a1 1 0 0 0 1 1h5",
20
20
  key: "6s6qgf"
21
- }]]), P = /* @__PURE__ */ e(o(), 1), F = s(), te = (e, t) => {
21
+ }]]), M = /* @__PURE__ */ e(o(), 1), N = s(), re = (e, t) => {
22
22
  for (let n in t) e[n] = t[n];
23
23
  return e;
24
- }, I = (e, t) => Array.from(e.querySelectorAll(t)), ne = (e, t, n) => {
24
+ }, P = (e, t) => Array.from(e.querySelectorAll(t)), ie = (e, t, n) => {
25
25
  n ? e.classList.add(t) : e.classList.remove(t);
26
- }, re = (e) => {
26
+ }, ae = (e) => {
27
27
  if (typeof e == "string") {
28
28
  if (e === "null") return null;
29
29
  if (e === "true") return !0;
@@ -31,23 +31,23 @@ var N = u("sticky-note", [["path", {
31
31
  if (e.match(/^-?[\d\.]+$/)) return parseFloat(e);
32
32
  }
33
33
  return e;
34
- }, ie = (e, t) => {
34
+ }, oe = (e, t) => {
35
35
  e.style.transform = t;
36
- }, L = (e, t) => {
36
+ }, F = (e, t) => {
37
37
  let n = e.matches || e.matchesSelector || e.msMatchesSelector;
38
38
  return !!(n && n.call(e, t));
39
- }, R = (e, t) => {
39
+ }, I = (e, t) => {
40
40
  if (e && typeof e.closest == "function") return e.closest(t);
41
41
  for (; e;) {
42
- if (L(e, t)) return e;
42
+ if (F(e, t)) return e;
43
43
  e = e.parentElement;
44
44
  }
45
45
  return null;
46
- }, ae = (e) => {
46
+ }, se = (e) => {
47
47
  e ||= document.documentElement;
48
48
  let t = e.requestFullscreen || e.webkitRequestFullscreen || e.webkitRequestFullScreen || e.mozRequestFullScreen || e.msRequestFullscreen;
49
49
  t && t.apply(e);
50
- }, oe = (e, t, n, r = "") => {
50
+ }, ce = (e, t, n, r = "") => {
51
51
  let i = e.querySelectorAll("." + n);
52
52
  for (let t = 0; t < i.length; t++) {
53
53
  let n = i[t];
@@ -55,10 +55,10 @@ var N = u("sticky-note", [["path", {
55
55
  }
56
56
  let a = document.createElement(t);
57
57
  return a.className = n, a.innerHTML = r, e.appendChild(a), a;
58
- }, z = (e) => {
58
+ }, L = (e) => {
59
59
  let t = document.createElement("style");
60
60
  return e && e.length > 0 && t.appendChild(document.createTextNode(e)), document.head.appendChild(t), t;
61
- }, se = () => {
61
+ }, le = () => {
62
62
  let e = {};
63
63
  location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi, (t) => {
64
64
  let n = t.split("=").shift(), r = t.split("=").pop();
@@ -66,27 +66,27 @@ var N = u("sticky-note", [["path", {
66
66
  });
67
67
  for (let t in e) {
68
68
  let n = e[t];
69
- e[t] = re(unescape(n));
69
+ e[t] = ae(unescape(n));
70
70
  }
71
71
  return e.dependencies !== void 0 && delete e.dependencies, e;
72
- }, ce = (e, t = 0) => {
72
+ }, ue = (e, t = 0) => {
73
73
  if (e) {
74
74
  let n, r = e.style.height;
75
75
  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;
76
76
  }
77
77
  return t;
78
- }, le = {
78
+ }, de = {
79
79
  mp4: "video/mp4",
80
80
  m4a: "video/mp4",
81
81
  ogv: "video/ogg",
82
82
  mpeg: "video/mpeg",
83
83
  webm: "video/webm"
84
- }, ue = (e = "") => {
84
+ }, fe = (e = "") => {
85
85
  let t = e.split(".").pop();
86
- return t ? le[t] : void 0;
87
- }, de = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), fe = navigator.userAgent, pe = /(iphone|ipod|ipad|android)/gi.test(fe) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
88
- /chrome/i.test(fe) && /edge/i.test(fe);
89
- var me = /android/gi.test(fe), he = function(e) {
86
+ return t ? de[t] : void 0;
87
+ }, pe = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), me = navigator.userAgent, he = /(iphone|ipod|ipad|android)/gi.test(me) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
88
+ /chrome/i.test(me) && /edge/i.test(me);
89
+ var R = /android/gi.test(me), ge = function(e) {
90
90
  if (e) {
91
91
  var t = function(e) {
92
92
  return [].slice.call(e);
@@ -166,16 +166,16 @@ var me = /android/gi.test(fe), he = function(e) {
166
166
  characterData: !0
167
167
  }
168
168
  }, w = null, T = function() {
169
- e.clearTimeout(w), w = e.setTimeout(l(i), O.observeWindowDelay);
169
+ e.clearTimeout(w), w = e.setTimeout(l(i), D.observeWindowDelay);
170
170
  }, E = ["resize", "orientationchange"];
171
- return Object.defineProperty(O, "observeWindow", { set: function(t) {
171
+ return Object.defineProperty(D, "observeWindow", { set: function(t) {
172
172
  var n = `${t ? "add" : "remove"}EventListener`;
173
173
  E.forEach((function(t) {
174
174
  e[n](t, T);
175
175
  }));
176
- } }), O.observeWindow = !0, O.observeWindowDelay = 100, O.fitAll = l(a), O;
176
+ } }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
177
177
  }
178
- function D(e, t) {
178
+ function ee(e, t) {
179
179
  var n = Object.assign({}, C, t), r = e.map((function(e) {
180
180
  var t = Object.assign({}, n, {
181
181
  element: e,
@@ -197,44 +197,44 @@ var me = /android/gi.test(fe), he = function(e) {
197
197
  }));
198
198
  return c(), r;
199
199
  }
200
- function O(e) {
200
+ function D(e) {
201
201
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
202
- return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
202
+ return typeof e == "string" ? ee(t(document.querySelectorAll(e)), n) : ee([e], n)[0];
203
203
  }
204
204
  }(typeof window > "u" ? null : window);
205
- function ge(e) {
205
+ function _e(e) {
206
206
  "@babel/helpers - typeof";
207
- return ge = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
207
+ return _e = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
208
208
  return typeof e;
209
209
  } : function(e) {
210
210
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
211
- }, ge(e);
211
+ }, _e(e);
212
212
  }
213
- function _e(e, t) {
214
- if (ge(e) != "object" || !e) return e;
213
+ function ve(e, t) {
214
+ if (_e(e) != "object" || !e) return e;
215
215
  var n = e[Symbol.toPrimitive];
216
216
  if (n !== void 0) {
217
217
  var r = n.call(e, t || "default");
218
- if (ge(r) != "object") return r;
218
+ if (_e(r) != "object") return r;
219
219
  throw TypeError("@@toPrimitive must return a primitive value.");
220
220
  }
221
221
  return (t === "string" ? String : Number)(e);
222
222
  }
223
- function ve(e) {
224
- var t = _e(e, "string");
225
- return ge(t) == "symbol" ? t : t + "";
223
+ function ye(e) {
224
+ var t = ve(e, "string");
225
+ return _e(t) == "symbol" ? t : t + "";
226
226
  }
227
- function B(e, t, n) {
228
- return (t = ve(t)) in e ? Object.defineProperty(e, t, {
227
+ function z(e, t, n) {
228
+ return (t = ye(t)) in e ? Object.defineProperty(e, t, {
229
229
  value: n,
230
230
  enumerable: !0,
231
231
  configurable: !0,
232
232
  writable: !0
233
233
  }) : e[t] = n, e;
234
234
  }
235
- var ye = class {
235
+ var be = class {
236
236
  constructor(e) {
237
- B(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();
237
+ z(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
238
  }
239
239
  renderMediaPlayButton() {
240
240
  this.mediaPlayButton = document.createElement("button"), this.mediaPlayButton.className = "r-overlay-button r-media-play-button", this.mediaPlayButton.addEventListener("click", () => {
@@ -258,14 +258,14 @@ var ye = class {
258
258
  let t = n.replace(/\s*!important\s*$/, "").trim();
259
259
  e.style.setProperty("display", t, "important");
260
260
  } else e.style.display = n;
261
- I(e, "img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach((e) => {
261
+ P(e, "img[data-src], video[data-src], audio[data-src], iframe[data-src]").forEach((e) => {
262
262
  let t = e.tagName === "IFRAME";
263
263
  (!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));
264
- }), I(e, "video, audio").forEach((e) => {
264
+ }), P(e, "video, audio").forEach((e) => {
265
265
  let t = 0;
266
- I(e, "source[data-src]").forEach((e) => {
266
+ P(e, "source[data-src]").forEach((e) => {
267
267
  e.setAttribute("src", e.getAttribute("data-src")), e.removeAttribute("data-src"), e.setAttribute("data-lazy-loaded", ""), t += 1;
268
- }), pe && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
268
+ }), he && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
269
269
  });
270
270
  let r = e.slideBackgroundElement;
271
271
  if (r) {
@@ -274,13 +274,13 @@ var ye = class {
274
274
  if (r.hasAttribute("data-loaded") === !1) {
275
275
  r.setAttribute("data-loaded", "true");
276
276
  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");
277
- if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${de(decodeURI(e.trim()))})`).join(",");
277
+ if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${pe(decodeURI(e.trim()))})`).join(",");
278
278
  else if (o) {
279
279
  let e = document.createElement("video");
280
- s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), pe && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
280
+ s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), he && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
281
281
  let n = document.createElement("source");
282
282
  n.setAttribute("src", t);
283
- let r = ue(t);
283
+ let r = fe(t);
284
284
  r && n.setAttribute("type", r), e.appendChild(n);
285
285
  }), n.appendChild(e);
286
286
  } else if (i && t.excludeIframes !== !0) {
@@ -295,7 +295,7 @@ var ye = class {
295
295
  }
296
296
  layout(e) {
297
297
  Array.from(e.querySelectorAll(".r-fit-text")).forEach((e) => {
298
- he(e, {
298
+ ge(e, {
299
299
  minSize: 24,
300
300
  maxSize: this.Reveal.getConfig().height * .8,
301
301
  observeMutations: !1,
@@ -306,17 +306,17 @@ var ye = class {
306
306
  unload(e) {
307
307
  e.style.display = "none";
308
308
  let t = this.Reveal.getSlideBackground(e);
309
- t && (t.style.display = "none", I(t, "iframe[src]").forEach((e) => {
309
+ t && (t.style.display = "none", P(t, "iframe[src]").forEach((e) => {
310
310
  e.removeAttribute("src");
311
- })), I(e, "video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach((e) => {
311
+ })), P(e, "video[data-lazy-loaded][src], audio[data-lazy-loaded][src], iframe[data-lazy-loaded][src]").forEach((e) => {
312
312
  e.setAttribute("data-src", e.getAttribute("src")), e.removeAttribute("src");
313
- }), I(e, "video[data-lazy-loaded] source[src], audio source[src]").forEach((e) => {
313
+ }), P(e, "video[data-lazy-loaded] source[src], audio source[src]").forEach((e) => {
314
314
  e.setAttribute("data-src", e.getAttribute("src")), e.removeAttribute("src");
315
315
  });
316
316
  }
317
317
  formatEmbeddedContent() {
318
318
  let e = (e, t, n) => {
319
- I(this.Reveal.getSlidesElement(), "iframe[" + e + "*=\"" + t + "\"]").forEach((t) => {
319
+ P(this.Reveal.getSlidesElement(), "iframe[" + e + "*=\"" + t + "\"]").forEach((t) => {
320
320
  let r = t.getAttribute(e);
321
321
  r && r.indexOf(n) === -1 && t.setAttribute(e, r + (/\?/.test(r) ? "&" : "?") + n);
322
322
  });
@@ -326,19 +326,19 @@ var ye = class {
326
326
  startEmbeddedContent(e) {
327
327
  if (e) {
328
328
  let t = this.Reveal.isSpeakerNotes();
329
- I(e, "img[src$=\".gif\"]").forEach((e) => {
329
+ P(e, "img[src$=\".gif\"]").forEach((e) => {
330
330
  e.setAttribute("src", e.getAttribute("src"));
331
- }), I(e, "video, audio").forEach((e) => {
332
- if (R(e, ".fragment") && !R(e, ".fragment.visible")) return;
331
+ }), P(e, "video, audio").forEach((e) => {
332
+ if (I(e, ".fragment") && !I(e, ".fragment.visible")) return;
333
333
  let n = this.Reveal.getConfig().autoPlayMedia;
334
- if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!R(e, ".slide-background")), n && typeof e.play == "function") {
334
+ if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!I(e, ".slide-background")), n && typeof e.play == "function") {
335
335
  if (t && !e.muted) return;
336
- e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : pe ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
336
+ e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : he ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
337
337
  }
338
- }), t || (I(e, "iframe[src]").forEach((e) => {
339
- R(e, ".fragment") && !R(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
340
- }), I(e, "iframe[data-src]").forEach((e) => {
341
- R(e, ".fragment") && !R(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")));
338
+ }), t || (P(e, "iframe[src]").forEach((e) => {
339
+ I(e, ".fragment") && !I(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
340
+ }), P(e, "iframe[data-src]").forEach((e) => {
341
+ I(e, ".fragment") && !I(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")));
342
342
  }));
343
343
  }
344
344
  }
@@ -350,7 +350,7 @@ var ye = class {
350
350
  }, 1e3);
351
351
  }
352
352
  startEmbeddedMedia(e) {
353
- let t = !!R(e.target, "html"), n = !!R(e.target, ".present");
353
+ let t = !!I(e.target, "html"), n = !!I(e.target, ".present");
354
354
  t && n && (e.target.paused || e.target.ended) && (e.target.currentTime = 0, this.playMediaElement(e.target)), e.target.removeEventListener("loadeddata", this.startEmbeddedMedia);
355
355
  }
356
356
  playMediaElement(e) {
@@ -361,7 +361,7 @@ var ye = class {
361
361
  if (t.name === "NotAllowedError") {
362
362
  if (this.allowedToPlayAudio = !1, e.tagName === "VIDEO") {
363
363
  this.onVideoPlaybackNotAllowed(e);
364
- let t = !!R(e, "html"), n = !!R(e, ".present"), r = e.muted;
364
+ let t = !!I(e, "html"), n = !!I(e, ".present"), r = e.muted;
365
365
  t && n && !r && (e.setAttribute("data-muted-by-reveal", "true"), e.muted = !0, e.play().catch(() => {
366
366
  this.onMutedVideoPlaybackNotAllowed(e);
367
367
  }));
@@ -372,23 +372,23 @@ var ye = class {
372
372
  startEmbeddedIframe(e) {
373
373
  let t = e.target;
374
374
  if (this.preventIframeAutoFocus(e), t && t.contentWindow) {
375
- let n = !!R(e.target, "html"), r = !!R(e.target, ".present");
375
+ let n = !!I(e.target, "html"), r = !!I(e.target, ".present");
376
376
  if (n && r) {
377
377
  let e = this.Reveal.getConfig().autoPlayMedia;
378
- typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!R(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", "*");
378
+ typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!I(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
379
  }
380
380
  }
381
381
  }
382
382
  stopEmbeddedContent(e, t = {}) {
383
- t = te({ unloadIframes: !0 }, t), e && e.parentNode && (I(e, "video, audio").forEach((e) => {
384
- !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), pe && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
385
- }), I(e, "iframe").forEach((e) => {
383
+ t = re({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
384
+ !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), he && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
385
+ }), P(e, "iframe").forEach((e) => {
386
386
  e.contentWindow && e.contentWindow.postMessage("slide:stop", "*"), e.removeEventListener("load", this.preventIframeAutoFocus), e.removeEventListener("load", this.startEmbeddedIframe);
387
- }), I(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
387
+ }), P(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
388
388
  !e.hasAttribute("data-ignore") && e.contentWindow && typeof e.contentWindow.postMessage == "function" && e.contentWindow.postMessage("{\"event\":\"command\",\"func\":\"pauseVideo\",\"args\":\"\"}", "*");
389
- }), I(e, "iframe[src*=\"player.vimeo.com/\"]").forEach((e) => {
389
+ }), P(e, "iframe[src*=\"player.vimeo.com/\"]").forEach((e) => {
390
390
  !e.hasAttribute("data-ignore") && e.contentWindow && typeof e.contentWindow.postMessage == "function" && e.contentWindow.postMessage("{\"method\":\"pause\"}", "*");
391
- }), t.unloadIframes === !0 && I(e, "iframe[data-src]").forEach((e) => {
391
+ }), t.unloadIframes === !0 && P(e, "iframe[data-src]").forEach((e) => {
392
392
  e.setAttribute("src", "about:blank"), e.removeAttribute("src");
393
393
  }));
394
394
  }
@@ -432,7 +432,7 @@ var ye = class {
432
432
  afterSlideChanged() {
433
433
  this.clearMediaPlaybackErrors();
434
434
  }
435
- }, be = ".slides section", xe = ".slides>section", Se = ".slides>section.present>section", Ce = ".backgrounds>.slide-background", we = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Te = class {
435
+ }, B = ".slides section", xe = ".slides>section", Se = ".slides>section.present>section", Ce = ".backgrounds>.slide-background", we = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, Te = class {
436
436
  constructor(e) {
437
437
  this.Reveal = e;
438
438
  }
@@ -576,7 +576,7 @@ var ye = class {
576
576
  create() {
577
577
  this.element.innerHTML = "", this.element.classList.add("no-transition"), this.Reveal.getHorizontalSlides().forEach((e) => {
578
578
  let t = this.createBackground(e, this.element);
579
- I(e, "section").forEach((e) => {
579
+ P(e, "section").forEach((e) => {
580
580
  this.createBackground(e, t), t.classList.add("stack");
581
581
  });
582
582
  }), 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(() => {
@@ -627,7 +627,7 @@ var ye = class {
627
627
  update(e = !1) {
628
628
  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";
629
629
  if (Array.from(this.element.childNodes).forEach((t, n) => {
630
- 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) && I(t, ".slide-background").forEach((e, t) => {
630
+ 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) => {
631
631
  e.classList.remove("past", "present", "future");
632
632
  let a = typeof r.v == "number" ? r.v : 0;
633
633
  t < a ? e.classList.add("past") : t > a ? e.classList.add("future") : (e.classList.add("present"), n === r.h && (i = e));
@@ -679,7 +679,7 @@ var ye = class {
679
679
  this.reset();
680
680
  let n = this.Reveal.getSlides(), r = n.indexOf(t), i = n.indexOf(e);
681
681
  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")) {
682
- this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || z();
682
+ this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || L();
683
683
  let n = this.getAutoAnimateOptions(t);
684
684
  e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
685
685
  let a = e.style.display === "none";
@@ -705,9 +705,9 @@ var ye = class {
705
705
  }
706
706
  }
707
707
  reset() {
708
- I(this.Reveal.getRevealElement(), "[data-auto-animate]:not([data-auto-animate=\"\"])").forEach((e) => {
708
+ P(this.Reveal.getRevealElement(), "[data-auto-animate]:not([data-auto-animate=\"\"])").forEach((e) => {
709
709
  e.dataset.autoAnimate = "";
710
- }), I(this.Reveal.getRevealElement(), "[data-auto-animate-target]").forEach((e) => {
710
+ }), P(this.Reveal.getRevealElement(), "[data-auto-animate-target]").forEach((e) => {
711
711
  delete e.dataset.autoAnimateTarget;
712
712
  }), this.autoAnimateStyleSheet && this.autoAnimateStyleSheet.parentNode && (this.autoAnimateStyleSheet.parentNode.removeChild(this.autoAnimateStyleSheet), this.autoAnimateStyleSheet = null);
713
713
  }
@@ -748,8 +748,8 @@ var ye = class {
748
748
  duration: this.Reveal.getConfig().autoAnimateDuration,
749
749
  delay: 0
750
750
  };
751
- if (n = te(n, t), e.parentNode) {
752
- let t = R(e.parentNode, "[data-auto-animate-target]");
751
+ if (n = re(n, t), e.parentNode) {
752
+ let t = I(e.parentNode, "[data-auto-animate-target]");
753
753
  t && (n = this.getAutoAnimateOptions(t, n));
754
754
  }
755
755
  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;
@@ -792,7 +792,7 @@ var ye = class {
792
792
  getAutoAnimatePairs(e, t) {
793
793
  let n = [], r = "h1, h2, h3, h4, h5, h6, p, li";
794
794
  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) => {
795
- L(e.from, r) ? e.options = { scale: !1 } : L(e.from, "pre") && (e.options = {
795
+ F(e.from, r) ? e.options = { scale: !1 } : F(e.from, "pre") && (e.options = {
796
796
  scale: !1,
797
797
  styles: ["width", "height"]
798
798
  }, this.findAutoAnimateMatches(n, e.from, e.to, ".hljs .hljs-ln-code", (e) => e.textContent, {
@@ -849,7 +849,7 @@ var ye = class {
849
849
  if (this.active) return;
850
850
  let e = this.Reveal.getState();
851
851
  this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
852
- let t = I(this.Reveal.getRevealElement(), xe), n = I(this.Reveal.getRevealElement(), Ce);
852
+ let t = P(this.Reveal.getRevealElement(), xe), n = P(this.Reveal.getRevealElement(), Ce);
853
853
  this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
854
854
  let r, i = window.getComputedStyle(this.viewportElement);
855
855
  i && i.background && (r = i.background);
@@ -871,7 +871,7 @@ var ye = class {
871
871
  this.Reveal.isVerticalStack(e) ? e.querySelectorAll("section").forEach((e, n) => {
872
872
  c(e, t, n, !0);
873
873
  }) : c(e, t, 0);
874
- }, this), this.createProgressBar(), I(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 });
874
+ }, 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 });
875
875
  }
876
876
  deactivate() {
877
877
  if (!this.active) return;
@@ -1089,8 +1089,8 @@ var Re = class {
1089
1089
  activate() {
1090
1090
  var e = this;
1091
1091
  return Le(function* () {
1092
- let t = e.Reveal.getConfig(), n = I(e.Reveal.getRevealElement(), be), 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;
1093
- yield new Promise(requestAnimationFrame), z("@page{size:" + a + "px " + o + "px; margin: 0px;}"), z(".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";
1092
+ let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), B), 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;
1093
+ yield new Promise(requestAnimationFrame), L("@page{size:" + a + "px " + o + "px; margin: 0px;}"), L(".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";
1094
1094
  let l = e.Reveal.getViewportElement(), u;
1095
1095
  if (l) {
1096
1096
  let e = window.getComputedStyle(l);
@@ -1133,7 +1133,7 @@ var Re = class {
1133
1133
  e.classList.remove("visible", "current-fragment");
1134
1134
  });
1135
1135
  });
1136
- } else I(g, ".fragment:not(.fade-out)").forEach(function(e) {
1136
+ } else P(g, ".fragment:not(.fade-out)").forEach(function(e) {
1137
1137
  e.classList.add("visible");
1138
1138
  });
1139
1139
  }
@@ -1151,12 +1151,12 @@ var Re = class {
1151
1151
  e.fragments === !1 ? this.disable() : t.fragments === !1 && this.enable();
1152
1152
  }
1153
1153
  disable() {
1154
- I(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1154
+ P(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1155
1155
  e.classList.add("visible"), e.classList.remove("current-fragment");
1156
1156
  });
1157
1157
  }
1158
1158
  enable() {
1159
- I(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1159
+ P(this.Reveal.getSlidesElement(), ".fragment").forEach((e) => {
1160
1160
  e.classList.remove("visible"), e.classList.remove("current-fragment");
1161
1161
  });
1162
1162
  }
@@ -1192,7 +1192,7 @@ var Re = class {
1192
1192
  }
1193
1193
  sortAll() {
1194
1194
  this.Reveal.getHorizontalSlides().forEach((e) => {
1195
- let t = I(e, "section");
1195
+ let t = P(e, "section");
1196
1196
  t.forEach((e, t) => {
1197
1197
  this.sort(e.querySelectorAll(".fragment"));
1198
1198
  }, this), t.length === 0 && this.sort(e.querySelectorAll(".fragment"));
@@ -1272,7 +1272,7 @@ var Re = class {
1272
1272
  }
1273
1273
  activate() {
1274
1274
  if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
1275
- this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), be).forEach((e) => {
1275
+ this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), B).forEach((e) => {
1276
1276
  e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
1277
1277
  });
1278
1278
  let e = this.Reveal.getComputedSlideSize();
@@ -1290,12 +1290,12 @@ var Re = class {
1290
1290
  }
1291
1291
  layout() {
1292
1292
  this.Reveal.getHorizontalSlides().forEach((e, t) => {
1293
- e.setAttribute("data-index-h", t), ie(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && I(e, "section").forEach((e, n) => {
1294
- e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), ie(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1293
+ e.setAttribute("data-index-h", t), oe(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1294
+ e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), oe(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1295
1295
  });
1296
1296
  }), Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((e, t) => {
1297
- ie(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), I(e, ".slide-background").forEach((e, t) => {
1298
- ie(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1297
+ oe(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1298
+ oe(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1299
1299
  });
1300
1300
  });
1301
1301
  }
@@ -1311,10 +1311,10 @@ var Re = class {
1311
1311
  if (this.Reveal.getConfig().overview) {
1312
1312
  this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
1313
1313
  this.Reveal.getRevealElement().classList.remove("overview-deactivating");
1314
- }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), I(this.Reveal.getRevealElement(), be).forEach((e) => {
1315
- ie(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1316
- }), I(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1317
- ie(e, "");
1314
+ }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), B).forEach((e) => {
1315
+ oe(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1316
+ }), P(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1317
+ oe(e, "");
1318
1318
  }), this.Reveal.transformSlides({ overview: "" });
1319
1319
  let e = this.Reveal.getIndices();
1320
1320
  this.Reveal.slide(e.h, e.v), this.Reveal.layout(), this.Reveal.cueAutoSlide(), this.Reveal.dispatchEvent({
@@ -1434,7 +1434,7 @@ var Re = class {
1434
1434
  66,
1435
1435
  86,
1436
1436
  190
1437
- ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? ae(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();
1437
+ ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? se(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();
1438
1438
  }
1439
1439
  };
1440
1440
  function H(e, t) {
@@ -1447,20 +1447,20 @@ function H(e, t) {
1447
1447
  }
1448
1448
  return n;
1449
1449
  }
1450
- function He(e) {
1450
+ function U(e) {
1451
1451
  for (var t = 1; t < arguments.length; t++) {
1452
1452
  var n = arguments[t] == null ? {} : arguments[t];
1453
1453
  t % 2 ? H(Object(n), !0).forEach(function(t) {
1454
- B(e, t, n[t]);
1454
+ z(e, t, n[t]);
1455
1455
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : H(Object(n)).forEach(function(t) {
1456
1456
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1457
1457
  });
1458
1458
  }
1459
1459
  return e;
1460
1460
  }
1461
- var Ue = class {
1461
+ var He = class {
1462
1462
  constructor(e) {
1463
- B(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1463
+ z(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1464
1464
  }
1465
1465
  bind() {
1466
1466
  window.addEventListener("hashchange", this.onWindowHashChange, !1);
@@ -1477,7 +1477,7 @@ var Ue = class {
1477
1477
  let t = decodeURIComponent(n);
1478
1478
  e = (document.getElementById(t) || document.querySelector(`[data-id="${t}"]`)).closest(".slides section");
1479
1479
  } catch {}
1480
- if (e) return He(He({}, this.Reveal.getIndices(e)), {}, { f: t });
1480
+ if (e) return U(U({}, this.Reveal.getIndices(e)), {}, { f: t });
1481
1481
  } else {
1482
1482
  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;
1483
1483
  return e.fragmentInURL && (o = parseInt(r[2], 10), isNaN(o) && (o = void 0)), {
@@ -1520,7 +1520,7 @@ var Ue = class {
1520
1520
  onWindowHashChange(e) {
1521
1521
  this.readURL();
1522
1522
  }
1523
- }, We = class {
1523
+ }, Ue = class {
1524
1524
  constructor(e) {
1525
1525
  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);
1526
1526
  }
@@ -1529,7 +1529,7 @@ var Ue = class {
1529
1529
  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>
1530
1530
  <button class="navigate-right" aria-label="${e ? "previous slide" : "next slide"}"><div class="controls-arrow"></div></button>
1531
1531
  <button class="navigate-up" aria-label="above slide"><div class="controls-arrow"></div></button>
1532
- <button class="navigate-down" aria-label="below slide"><div class="controls-arrow"></div></button>`, this.Reveal.getRevealElement().appendChild(this.element), this.controlsLeft = I(t, ".navigate-left"), this.controlsRight = I(t, ".navigate-right"), this.controlsUp = I(t, ".navigate-up"), this.controlsDown = I(t, ".navigate-down"), this.controlsPrev = I(t, ".navigate-prev"), this.controlsNext = I(t, ".navigate-next"), this.controlsFullscreen = I(t, ".enter-fullscreen"), this.controlsRightArrow = this.element.querySelector(".navigate-right"), this.controlsLeftArrow = this.element.querySelector(".navigate-left"), this.controlsDownArrow = this.element.querySelector(".navigate-down");
1532
+ <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");
1533
1533
  }
1534
1534
  configure(e, t) {
1535
1535
  let n = e.controls === "speaker" || e.controls === "speaker-only";
@@ -1537,7 +1537,7 @@ var Ue = class {
1537
1537
  }
1538
1538
  bind() {
1539
1539
  let e = ["touchstart", "click"];
1540
- me && (e = ["touchend"]), e.forEach((e) => {
1540
+ R && (e = ["touchend"]), e.forEach((e) => {
1541
1541
  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));
1542
1542
  });
1543
1543
  }
@@ -1621,9 +1621,9 @@ var Ue = class {
1621
1621
  }
1622
1622
  onEnterFullscreen(e) {
1623
1623
  let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
1624
- ae(t.embedded ? n : n.parentElement);
1624
+ se(t.embedded ? n : n.parentElement);
1625
1625
  }
1626
- }, Ge = class {
1626
+ }, We = class {
1627
1627
  constructor(e) {
1628
1628
  this.Reveal = e, this.onProgressClicked = this.onProgressClicked.bind(this);
1629
1629
  }
@@ -1658,7 +1658,7 @@ var Ue = class {
1658
1658
  destroy() {
1659
1659
  this.element.remove();
1660
1660
  }
1661
- }, Ke = class {
1661
+ }, Ge = class {
1662
1662
  constructor(e) {
1663
1663
  this.Reveal = e, this.lastMouseWheelStep = 0, this.cursorHidden = !1, this.cursorInactiveTimeout = 0, this.onDocumentCursorActive = this.onDocumentCursorActive.bind(this), this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind(this);
1664
1664
  }
@@ -1684,7 +1684,7 @@ var Ue = class {
1684
1684
  t > 0 ? this.Reveal.next() : t < 0 && this.Reveal.prev();
1685
1685
  }
1686
1686
  }
1687
- }, qe = (e, t) => {
1687
+ }, Ke = (e, t) => {
1688
1688
  let n = document.createElement("script");
1689
1689
  n.type = "text/javascript", n.async = !1, n.defer = !1, n.src = e, typeof t == "function" && (n.onload = (e) => {
1690
1690
  e.type === "load" && (n.onload = n.onerror = null, t());
@@ -1693,7 +1693,7 @@ var Ue = class {
1693
1693
  });
1694
1694
  let r = document.querySelector("head");
1695
1695
  r && r.insertBefore(n, r.lastChild);
1696
- }, Je = class {
1696
+ }, qe = class {
1697
1697
  constructor(e) {
1698
1698
  this.Reveal = e, this.state = "idle", this.registeredPlugins = {}, this.asyncDependencies = [];
1699
1699
  }
@@ -1708,7 +1708,7 @@ var Ue = class {
1708
1708
  t && typeof t.callback == "function" && t.callback(), --r === 0 && this.initPlugins().then(e);
1709
1709
  };
1710
1710
  n.forEach((e) => {
1711
- typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? qe(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1711
+ typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? Ke(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
1712
1712
  });
1713
1713
  } else this.initPlugins().then(e);
1714
1714
  });
@@ -1733,7 +1733,7 @@ var Ue = class {
1733
1733
  }
1734
1734
  loadAsync() {
1735
1735
  return this.state = "loaded", this.asyncDependencies.length && this.asyncDependencies.forEach((e) => {
1736
- qe(e.src, e.callback);
1736
+ Ke(e.src, e.callback);
1737
1737
  }), Promise.resolve();
1738
1738
  }
1739
1739
  registerPlugin(e) {
@@ -1755,7 +1755,7 @@ var Ue = class {
1755
1755
  typeof e.destroy == "function" && e.destroy();
1756
1756
  }), this.registeredPlugins = {}, this.asyncDependencies = [];
1757
1757
  }
1758
- }, Ye = class {
1758
+ }, Je = class {
1759
1759
  constructor(e) {
1760
1760
  this.Reveal = e, this.onSlidesClicked = this.onSlidesClicked.bind(this), this.iframeTriggerSelector = null, this.mediaTriggerSelector = "[data-preview-image], [data-preview-video]", this.stateProps = [
1761
1761
  "previewIframe",
@@ -1899,7 +1899,7 @@ var Ue = class {
1899
1899
  destroy() {
1900
1900
  this.close();
1901
1901
  }
1902
- }, Xe = 40, Ze = class {
1902
+ }, Ye = 40, Xe = class {
1903
1903
  constructor(e) {
1904
1904
  this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
1905
1905
  }
@@ -1912,7 +1912,7 @@ var Ue = class {
1912
1912
  e.removeEventListener("pointerdown", this.onPointerDown, !1), e.removeEventListener("pointermove", this.onPointerMove, !1), e.removeEventListener("pointerup", this.onPointerUp, !1), e.removeEventListener("MSPointerDown", this.onPointerDown, !1), e.removeEventListener("MSPointerMove", this.onPointerMove, !1), e.removeEventListener("MSPointerUp", this.onPointerUp, !1), e.removeEventListener("touchstart", this.onTouchStart, !1), e.removeEventListener("touchmove", this.onTouchMove, !1), e.removeEventListener("touchend", this.onTouchEnd, !1);
1913
1913
  }
1914
1914
  isSwipePrevented(e) {
1915
- if (L(e, "video[controls], audio[controls]")) return !0;
1915
+ if (F(e, "video[controls], audio[controls]")) return !0;
1916
1916
  for (; e && typeof e.hasAttribute == "function";) {
1917
1917
  if (e.hasAttribute("data-prevent-swipe")) return !0;
1918
1918
  e = e.parentNode;
@@ -1926,13 +1926,13 @@ var Ue = class {
1926
1926
  onTouchMove(e) {
1927
1927
  if (this.isSwipePrevented(e.target)) return !0;
1928
1928
  let t = this.Reveal.getConfig();
1929
- if (this.touchCaptured) me && e.preventDefault();
1929
+ if (this.touchCaptured) R && e.preventDefault();
1930
1930
  else {
1931
1931
  this.Reveal.onUserInput(e);
1932
1932
  let n = e.touches[0].clientX, r = e.touches[0].clientY;
1933
1933
  if (e.touches.length === 1 && this.touchStartCount !== 2) {
1934
1934
  let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
1935
- a > Xe && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -Xe && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Xe && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -Xe && 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();
1935
+ a > Ye && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -Ye && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Ye && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -Ye && 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();
1936
1936
  }
1937
1937
  }
1938
1938
  }
@@ -1957,7 +1957,7 @@ var Ue = class {
1957
1957
  clientY: e.clientY
1958
1958
  }], this.onTouchEnd(e));
1959
1959
  }
1960
- }, U = "focus", Qe = "blur", $e = class {
1960
+ }, W = "focus", Ze = "blur", Qe = class {
1961
1961
  constructor(e) {
1962
1962
  this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
1963
1963
  }
@@ -1971,13 +1971,13 @@ var Ue = class {
1971
1971
  this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
1972
1972
  }
1973
1973
  focus() {
1974
- this.state !== U && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = U;
1974
+ this.state !== W && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = W;
1975
1975
  }
1976
1976
  blur() {
1977
- this.state !== Qe && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = Qe;
1977
+ this.state !== Ze && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = Ze;
1978
1978
  }
1979
1979
  isFocused() {
1980
- return this.state === U;
1980
+ return this.state === W;
1981
1981
  }
1982
1982
  destroy() {
1983
1983
  this.Reveal.getRevealElement().classList.remove("focused");
@@ -1986,10 +1986,10 @@ var Ue = class {
1986
1986
  this.focus();
1987
1987
  }
1988
1988
  onDocumentPointerDown(e) {
1989
- let t = R(e.target, ".reveal");
1989
+ let t = I(e.target, ".reveal");
1990
1990
  (!t || t !== this.Reveal.getRevealElement()) && this.blur();
1991
1991
  }
1992
- }, et = class {
1992
+ }, $e = class {
1993
1993
  constructor(e) {
1994
1994
  this.Reveal = e;
1995
1995
  }
@@ -2019,7 +2019,7 @@ var Ue = class {
2019
2019
  destroy() {
2020
2020
  this.element.remove();
2021
2021
  }
2022
- }, tt = class {
2022
+ }, et = class {
2023
2023
  constructor(e, t) {
2024
2024
  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();
2025
2025
  }
@@ -2046,7 +2046,7 @@ var Ue = class {
2046
2046
  destroy() {
2047
2047
  this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
2048
2048
  }
2049
- }, nt = {
2049
+ }, tt = {
2050
2050
  width: 960,
2051
2051
  height: 700,
2052
2052
  margin: .04,
@@ -2136,8 +2136,8 @@ var Ue = class {
2136
2136
  pdfPageHeightOffset: -1,
2137
2137
  dependencies: [],
2138
2138
  plugins: []
2139
- }, rt = "6.0.1";
2140
- function it(e, t) {
2139
+ }, nt = "6.0.1";
2140
+ function rt(e, t) {
2141
2141
  arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
2142
2142
  let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
2143
2143
  hasNavigatedHorizontally: !1,
@@ -2145,18 +2145,18 @@ function it(e, t) {
2145
2145
  }, d = [], f = 1, p = {
2146
2146
  layout: "",
2147
2147
  overview: ""
2148
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new ye(n), S = new Te(n), C = new V(n), w = new Ae(n), T = new Oe(n), E = new Fe(n), D = new Re(n), O = new ze(n), k = new Be(n), A = new Ve(n), j = new Ue(n), M = new We(n), ee = new Ge(n), N = new Ke(n), P = new Je(n), F = new Ye(n), L = new $e(n), ae = new Ze(n), z = new et(n);
2149
- function le(a) {
2148
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new be(n), S = new Te(n), C = new V(n), w = new Ae(n), T = new Oe(n), E = new Fe(n), ee = new Re(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new He(n), te = new Ue(n), ne = new We(n), j = new Ge(n), M = new qe(n), N = new Je(n), F = new Qe(n), se = new Xe(n), L = new $e(n);
2149
+ function de(a) {
2150
2150
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2151
2151
  if (i) throw "Reveal.js has already been initialized.";
2152
2152
  if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
2153
- return r = He(He(He(He(He({}, nt), r), t), a), se()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), ue(), window.addEventListener("load", U, !1), P.load(r.plugins, r.dependencies).then(de), new Promise((e) => n.on("ready", e));
2153
+ return r = U(U(U(U(U({}, tt), r), t), a), le()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), fe(), window.addEventListener("load", W, !1), M.load(r.plugins, r.dependencies).then(pe), new Promise((e) => n.on("ready", e));
2154
2154
  }
2155
- function ue() {
2156
- r.embedded === !0 ? m.viewport = R(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2155
+ function fe() {
2156
+ r.embedded === !0 ? m.viewport = I(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2157
2157
  }
2158
- function de() {
2159
- i !== !1 && (a = !0, me(), he(), De(), Ce(), Ee(), q(), ke(), T.update(!0), fe(), j.readURL(), setTimeout(() => {
2158
+ function pe() {
2159
+ i !== !1 && (a = !0, R(), ge(), De(), Ce(), Ee(), q(), ke(), T.update(!0), me(), A.readURL(), setTimeout(() => {
2160
2160
  m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2161
2161
  type: "ready",
2162
2162
  data: {
@@ -2167,27 +2167,27 @@ function it(e, t) {
2167
2167
  });
2168
2168
  }, 1));
2169
2169
  }
2170
- function fe() {
2170
+ function me() {
2171
2171
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2172
- (e || t) && (e ? Me() : ae.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2172
+ (e || t) && (e ? Me() : se.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? ee.activate() : window.addEventListener("load", () => ee.activate()) : E.activate());
2173
2173
  }
2174
- function me() {
2175
- r.showHiddenSlides || I(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2174
+ function R() {
2175
+ r.showHiddenSlides || P(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
2176
2176
  let t = e.parentNode;
2177
2177
  t.childElementCount === 1 && /section/i.test(t.nodeName) ? t.remove() : e.remove();
2178
2178
  });
2179
2179
  }
2180
- function he() {
2181
- m.slides.classList.add("no-transition"), pe ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), M.render(), ee.render(), z.render(), m.pauseOverlay = oe(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ge(), m.wrapper.setAttribute("role", "application");
2182
- }
2183
2180
  function ge() {
2181
+ m.slides.classList.add("no-transition"), he ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), te.render(), ne.render(), L.render(), m.pauseOverlay = ce(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = _e(), m.wrapper.setAttribute("role", "application");
2182
+ }
2183
+ function _e() {
2184
2184
  let e = m.wrapper.querySelector(".aria-status");
2185
2185
  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;
2186
2186
  }
2187
- function _e(e) {
2187
+ function ve(e) {
2188
2188
  m.statusElement.textContent = e;
2189
2189
  }
2190
- function ve(e) {
2190
+ function ye(e) {
2191
2191
  let t = "";
2192
2192
  if (e.nodeType === 3) t += e.textContent.trim();
2193
2193
  else if (e.nodeType === 1) {
@@ -2195,10 +2195,10 @@ function it(e, t) {
2195
2195
  if (n !== "true" && !r) {
2196
2196
  if (e.tagName === "IMG" || e.tagName === "VIDEO") {
2197
2197
  let n = e.getAttribute("alt");
2198
- n && (t += B(n));
2198
+ n && (t += z(n));
2199
2199
  }
2200
2200
  Array.from(e.childNodes).forEach((e) => {
2201
- t += ve(e);
2201
+ t += ye(e);
2202
2202
  }), [
2203
2203
  "P",
2204
2204
  "DIV",
@@ -2212,12 +2212,12 @@ function it(e, t) {
2212
2212
  "H5",
2213
2213
  "H6",
2214
2214
  "BLOCKQUOTE"
2215
- ].includes(e.tagName) && t.trim() !== "" && (t = B(t));
2215
+ ].includes(e.tagName) && t.trim() !== "" && (t = z(t));
2216
2216
  }
2217
2217
  }
2218
2218
  return t = t.trim(), t === "" ? "" : t + " ";
2219
2219
  }
2220
- function B(e) {
2220
+ function z(e) {
2221
2221
  let t = e.trim();
2222
2222
  return t === "" ? e : /[.!?]$/.test(t) ? t : t + ".";
2223
2223
  }
@@ -2233,19 +2233,19 @@ function it(e, t) {
2233
2233
  r.postMessage && window.addEventListener("message", Qt, !1);
2234
2234
  }
2235
2235
  function ke(e) {
2236
- let t = He({}, r);
2237
- if (typeof e == "object" && te(r, e), n.isReady() === !1) return;
2238
- let i = m.wrapper.querySelectorAll(be).length;
2239
- 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 && St(), ne(m.wrapper, "embedded", r.embedded), ne(m.wrapper, "rtl", r.rtl), ne(m.wrapper, "center", r.center), r.pause === !1 && ft(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new tt(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), z.configure(r, t), L.configure(r, t), N.configure(r, t), M.configure(r, t), ee.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), xt();
2236
+ let t = U({}, r);
2237
+ if (typeof e == "object" && re(r, e), n.isReady() === !1) return;
2238
+ let i = m.wrapper.querySelectorAll(B).length;
2239
+ 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 && St(), ie(m.wrapper, "embedded", r.embedded), ie(m.wrapper, "rtl", r.rtl), ie(m.wrapper, "center", r.center), r.pause === !1 && dt(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new et(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), L.configure(r, t), F.configure(r, t), j.configure(r, t), te.configure(r, t), ne.configure(r, t), k.configure(r, t), D.configure(r, t), S.configure(r, t), bt();
2240
2240
  }
2241
2241
  function je() {
2242
- window.addEventListener("resize", tn, !1), r.touch && ae.bind(), r.keyboard && A.bind(), r.progress && ee.bind(), r.respondToHashChanges && j.bind(), M.bind(), L.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", ft, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2242
+ window.addEventListener("resize", tn, !1), r.touch && se.bind(), r.keyboard && k.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), F.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", dt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2243
2243
  }
2244
2244
  function Me() {
2245
- ae.unbind(), L.unbind(), A.unbind(), M.unbind(), ee.unbind(), j.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", ft, !1);
2245
+ se.unbind(), F.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", dt, !1);
2246
2246
  }
2247
2247
  function Ne() {
2248
- i = !1, a !== !1 && (Me(), Ht(), z.destroy(), L.destroy(), F.destroy(), P.destroy(), N.destroy(), M.destroy(), ee.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(be)).forEach((e) => {
2248
+ i = !1, a !== !1 && (Me(), Ht(), L.destroy(), F.destroy(), N.destroy(), M.destroy(), j.destroy(), te.destroy(), ne.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", W, !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(B)).forEach((e) => {
2249
2249
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden");
2250
2250
  }));
2251
2251
  }
@@ -2256,13 +2256,13 @@ function it(e, t) {
2256
2256
  e.removeEventListener(t, n, r);
2257
2257
  }
2258
2258
  function Le(e) {
2259
- typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? ie(m.slides, p.layout + " " + p.overview) : ie(m.slides, p.overview);
2259
+ typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? oe(m.slides, p.layout + " " + p.overview) : oe(m.slides, p.overview);
2260
2260
  }
2261
2261
  function H({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2262
2262
  let i = document.createEvent("HTMLEvents", 1, 2);
2263
- return i.initEvent(t, r, !0), te(i, n), e.dispatchEvent(i), e === m.wrapper && Xe(t), i;
2263
+ return i.initEvent(t, r, !0), re(i, n), e.dispatchEvent(i), e === m.wrapper && Ye(t), i;
2264
2264
  }
2265
- function qe(e) {
2265
+ function Ke(e) {
2266
2266
  H({
2267
2267
  type: "slidechanged",
2268
2268
  data: {
@@ -2274,24 +2274,24 @@ function it(e, t) {
2274
2274
  }
2275
2275
  });
2276
2276
  }
2277
- function Xe(e, t) {
2277
+ function Ye(e, t) {
2278
2278
  if (r.postMessageEvents && window.parent !== window.self) {
2279
2279
  let n = {
2280
2280
  namespace: "reveal",
2281
2281
  eventName: e,
2282
2282
  state: zt()
2283
2283
  };
2284
- te(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2284
+ re(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2285
2285
  }
2286
2286
  }
2287
- function U() {
2288
- if (m.wrapper && !D.isActive()) {
2287
+ function W() {
2288
+ if (m.wrapper && !ee.isActive()) {
2289
2289
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2290
2290
  if (!r.disableLayout) {
2291
- pe && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2292
- let n = E.isActive() ? W(e, t) : W(), i = f;
2293
- 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 === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2294
- let a = Array.from(m.wrapper.querySelectorAll(be));
2291
+ he && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2292
+ let n = E.isActive() ? G(e, t) : G(), i = f;
2293
+ 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 === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2294
+ let a = Array.from(m.wrapper.querySelectorAll(B));
2295
2295
  for (let e = 0, t = a.length; e < t; e++) {
2296
2296
  let t = a[e];
2297
2297
  t.style.display !== "none" && (r.center || t.classList.contains("center") ? t.classList.contains("stack") ? t.style.top = 0 : t.style.top = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : t.style.top = "");
@@ -2305,25 +2305,25 @@ function it(e, t) {
2305
2305
  }
2306
2306
  });
2307
2307
  }
2308
- it(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), ee.update(), T.updateParallax(), k.isActive() && k.update();
2308
+ rt(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), ne.update(), T.updateParallax(), O.isActive() && O.update();
2309
2309
  }
2310
2310
  }
2311
- function Qe(e, t) {
2312
- I(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2313
- let r = ce(n, t);
2311
+ function Ze(e, t) {
2312
+ P(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2313
+ let r = ue(n, t);
2314
2314
  if (/(img|video)/gi.test(n.nodeName)) {
2315
2315
  let t = n.naturalWidth || n.videoWidth, i = n.naturalHeight || n.videoHeight, a = Math.min(e / t, r / i);
2316
2316
  n.style.width = t * a + "px", n.style.height = i * a + "px";
2317
2317
  } else n.style.width = e + "px", n.style.height = r + "px";
2318
2318
  });
2319
2319
  }
2320
- function it() {
2321
- if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2322
- let e = W();
2320
+ function rt() {
2321
+ if (m.wrapper && !r.disableLayout && !ee.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2322
+ let e = G();
2323
2323
  e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
2324
2324
  }
2325
2325
  }
2326
- function W(e, t) {
2326
+ function G(e, t) {
2327
2327
  let n = r.width, i = r.height;
2328
2328
  r.disableLayout && (n = m.slides.offsetWidth, i = m.slides.offsetHeight);
2329
2329
  let a = {
@@ -2334,57 +2334,57 @@ function it(e, t) {
2334
2334
  };
2335
2335
  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;
2336
2336
  }
2337
- function at(e, t) {
2337
+ function it(e, t) {
2338
2338
  typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
2339
2339
  }
2340
- function G(e) {
2340
+ function K(e) {
2341
2341
  if (typeof e == "object" && typeof e.setAttribute == "function" && e.classList.contains("stack")) {
2342
2342
  let t = e.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
2343
2343
  return parseInt(e.getAttribute(t) || 0, 10);
2344
2344
  }
2345
2345
  return 0;
2346
2346
  }
2347
- function ot(e = l) {
2347
+ function at(e = l) {
2348
2348
  return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
2349
2349
  }
2350
- function st(e = l) {
2350
+ function ot(e = l) {
2351
2351
  return e.classList.contains(".stack") || e.querySelector("section") !== null;
2352
2352
  }
2353
+ function st() {
2354
+ return l && at(l) ? !l.nextElementSibling : !1;
2355
+ }
2353
2356
  function ct() {
2354
- return l && ot(l) ? !l.nextElementSibling : !1;
2357
+ return o === 0 && s === 0;
2355
2358
  }
2356
2359
  function lt() {
2357
- return o === 0 && s === 0;
2360
+ return l ? !(l.nextElementSibling || at(l) && l.parentNode.nextElementSibling) : !1;
2358
2361
  }
2359
2362
  function ut() {
2360
- return l ? !(l.nextElementSibling || ot(l) && l.parentNode.nextElementSibling) : !1;
2361
- }
2362
- function dt() {
2363
2363
  if (r.pause) {
2364
2364
  let e = m.wrapper.classList.contains("paused");
2365
2365
  Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2366
2366
  }
2367
2367
  }
2368
- function ft() {
2368
+ function dt() {
2369
2369
  let e = m.wrapper.classList.contains("paused");
2370
2370
  m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
2371
2371
  }
2372
- function pt(e) {
2373
- typeof e == "boolean" ? e ? dt() : ft() : mt() ? ft() : dt();
2372
+ function ft(e) {
2373
+ typeof e == "boolean" ? e ? ut() : dt() : pt() ? dt() : ut();
2374
2374
  }
2375
- function mt() {
2375
+ function pt() {
2376
2376
  return m.wrapper.classList.contains("paused");
2377
2377
  }
2378
- function ht(e) {
2378
+ function mt(e) {
2379
2379
  typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
2380
2380
  }
2381
- function gt(e) {
2381
+ function ht(e) {
2382
2382
  typeof e == "boolean" ? e ? Wt() : Ut() : b ? Wt() : Ut();
2383
2383
  }
2384
- function _t() {
2384
+ function gt() {
2385
2385
  return !!(g && !b);
2386
2386
  }
2387
- function vt(t, n, i, a) {
2387
+ function _t(t, n, i, a) {
2388
2388
  if (H({
2389
2389
  type: "beforeslidechange",
2390
2390
  data: {
@@ -2401,7 +2401,7 @@ function it(e, t) {
2401
2401
  return;
2402
2402
  }
2403
2403
  if (u.length === 0) return;
2404
- n === void 0 && !k.isActive() && (n = G(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && at(c.parentNode, s);
2404
+ n === void 0 && !O.isActive() && (n = K(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && it(c.parentNode, s);
2405
2405
  let f = d.concat();
2406
2406
  d.length = 0;
2407
2407
  let p = o || 0, g = s || 0;
@@ -2411,9 +2411,9 @@ function it(e, t) {
2411
2411
  let v = u[o], y = v.querySelectorAll("section");
2412
2412
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2413
2413
  let b = !1;
2414
- _ && c && l && !k.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), lt() && setTimeout(() => {
2414
+ _ && c && l && !O.isActive() && (h = "running", b = vt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), W(), O.isActive() && O.update(), i !== void 0 && D.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ct() && setTimeout(() => {
2415
2415
  Mt().forEach((e) => {
2416
- at(e, 0);
2416
+ it(e, 0);
2417
2417
  });
2418
2418
  }, 0));
2419
2419
  stateLoop: for (let e = 0, t = d.length; e < t; e++) {
@@ -2424,35 +2424,35 @@ function it(e, t) {
2424
2424
  m.viewport.classList.add(d[e]), H({ type: d[e] });
2425
2425
  }
2426
2426
  for (; f.length;) m.viewport.classList.remove(f.pop());
2427
- _ && (x.afterSlideChanged(), qe(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2428
- _e(ve(l));
2429
- }), ee.update(), M.update(), z.update(), T.update(), T.updateParallax(), S.update(), O.update(), j.writeURL(), Vt(), b && (setTimeout(() => {
2427
+ _ && (x.afterSlideChanged(), Ke(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2428
+ ve(ye(l));
2429
+ }), ne.update(), te.update(), L.update(), T.update(), T.updateParallax(), S.update(), D.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2430
2430
  m.slides.classList.remove("disable-slide-transitions");
2431
2431
  }, 0), r.autoAnimate && w.run(c, l));
2432
2432
  }
2433
- function yt(e, t, n, r) {
2433
+ function vt(e, t, n, r) {
2434
2434
  return e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(o > n || s > r ? t : e).hasAttribute("data-auto-animate-restart");
2435
2435
  }
2436
- function bt(e, t, n) {
2436
+ function yt(e, t, n) {
2437
2437
  let i = o || 0;
2438
2438
  o = t, s = n;
2439
2439
  let a = l !== e;
2440
- c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2441
- _e(ve(l));
2442
- }), qe();
2440
+ c = l, l = e, l && c && r.autoAnimate && vt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2441
+ ve(ye(l));
2442
+ }), Ke();
2443
2443
  }
2444
- function xt() {
2445
- Me(), je(), U(), g = r.autoSlide, Vt(), T.create(), j.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = J(xe, o), s = J(Se, s)), M.update(), ee.update(), Tt(), z.update(), z.updateVisibility(), F.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), H({ type: "sync" });
2444
+ function bt() {
2445
+ Me(), je(), W(), g = r.autoSlide, Vt(), T.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && D.sortAll(), o !== void 0 && (o = J(xe, o), s = J(Se, s)), te.update(), ne.update(), Tt(), L.update(), L.updateVisibility(), N.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), O.isActive() && O.layout(), H({ type: "sync" });
2446
2446
  }
2447
- function K(e = l) {
2448
- T.sync(e), O.sync(e), x.load(e), T.update(), z.update(), H({
2447
+ function xt(e = l) {
2448
+ T.sync(e), D.sync(e), x.load(e), T.update(), L.update(), H({
2449
2449
  type: "slidesync",
2450
2450
  data: { slide: e }
2451
2451
  });
2452
2452
  }
2453
2453
  function q() {
2454
2454
  At().forEach((e) => {
2455
- I(e, "section").forEach((e, t) => {
2455
+ P(e, "section").forEach((e, t) => {
2456
2456
  t > 0 && (e.classList.remove("present"), e.classList.remove("past"), e.classList.add("future"), e.setAttribute("aria-hidden", "true"));
2457
2457
  });
2458
2458
  });
@@ -2466,11 +2466,11 @@ function it(e, t) {
2466
2466
  });
2467
2467
  }
2468
2468
  function J(e, t) {
2469
- let n = I(m.wrapper, e), i = n.length, a = E.isActive() || D.isActive(), o = !1, s = !1;
2469
+ let n = P(m.wrapper, e), i = n.length, a = E.isActive() || ee.isActive(), o = !1, s = !1;
2470
2470
  if (i) {
2471
2471
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2472
2472
  for (let e = 0; e < i; e++) {
2473
- let i = n[e], c = r.rtl && !ot(i);
2473
+ let i = n[e], c = r.rtl && !at(i);
2474
2474
  if (i.classList.remove("past"), i.classList.remove("present"), i.classList.remove("future"), i.setAttribute("hidden", ""), i.setAttribute("aria-hidden", "true"), i.querySelector("section") && i.classList.add("stack"), a) {
2475
2475
  i.classList.add("present");
2476
2476
  continue;
@@ -2489,24 +2489,24 @@ function it(e, t) {
2489
2489
  return t;
2490
2490
  }
2491
2491
  function Ct(e) {
2492
- I(e, ".fragment").forEach((e) => {
2492
+ P(e, ".fragment").forEach((e) => {
2493
2493
  e.classList.add("visible"), e.classList.remove("current-fragment");
2494
2494
  });
2495
2495
  }
2496
2496
  function wt(e) {
2497
- I(e, ".fragment.visible").forEach((e) => {
2497
+ P(e, ".fragment.visible").forEach((e) => {
2498
2498
  e.classList.remove("visible", "current-fragment");
2499
2499
  });
2500
2500
  }
2501
2501
  function Tt() {
2502
2502
  let e = At(), t = e.length, n, i;
2503
2503
  if (t && o !== void 0) {
2504
- let a = k.isActive(), c = a ? 10 : r.viewDistance;
2505
- pe && (c = a ? 6 : r.mobileViewDistance), D.isActive() && (c = Number.MAX_VALUE);
2504
+ let a = O.isActive(), c = a ? 10 : r.viewDistance;
2505
+ he && (c = a ? 6 : r.mobileViewDistance), ee.isActive() && (c = Number.MAX_VALUE);
2506
2506
  for (let l = 0; l < t; l++) {
2507
- let u = e[l], d = I(u, "section"), f = d.length;
2507
+ let u = e[l], d = P(u, "section"), f = d.length;
2508
2508
  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) {
2509
- let e = a ? 0 : G(u);
2509
+ let e = a ? 0 : K(u);
2510
2510
  for (let t = 0; t < f; t++) {
2511
2511
  let r = d[t];
2512
2512
  i = Math.abs(l === (o || 0) ? (s || 0) - t : t - e), n + i < c ? x.load(r) : x.unload(r);
@@ -2524,7 +2524,7 @@ function it(e, t) {
2524
2524
  down: s < n.length - 1
2525
2525
  };
2526
2526
  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) {
2527
- let e = O.availableRoutes();
2527
+ let e = D.availableRoutes();
2528
2528
  i.left = i.left || e.prev, i.up = i.up || e.prev, i.down = i.down || e.next, i.right = i.right || e.next;
2529
2529
  }
2530
2530
  if (r.rtl) {
@@ -2562,8 +2562,8 @@ function it(e, t) {
2562
2562
  if (e) {
2563
2563
  if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2564
2564
  else {
2565
- let r = ot(e), i = r ? e.parentNode : e, a = At();
2566
- t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(I(e.parentNode, "section").indexOf(e), 0));
2565
+ let r = at(e), i = r ? e.parentNode : e, a = At();
2566
+ t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(P(e.parentNode, "section").indexOf(e), 0));
2567
2567
  }
2568
2568
  }
2569
2569
  if (!e && l && l.querySelectorAll(".fragment").length > 0) {
@@ -2577,16 +2577,16 @@ function it(e, t) {
2577
2577
  };
2578
2578
  }
2579
2579
  function kt() {
2580
- return I(m.wrapper, be + ":not(.stack):not([data-visibility=\"uncounted\"])");
2580
+ return P(m.wrapper, B + ":not(.stack):not([data-visibility=\"uncounted\"])");
2581
2581
  }
2582
2582
  function At() {
2583
- return I(m.wrapper, xe);
2583
+ return P(m.wrapper, xe);
2584
2584
  }
2585
2585
  function jt() {
2586
- return I(m.wrapper, ".slides>section>section");
2586
+ return P(m.wrapper, ".slides>section>section");
2587
2587
  }
2588
2588
  function Mt() {
2589
- return I(m.wrapper, xe + ".stack");
2589
+ return P(m.wrapper, xe + ".stack");
2590
2590
  }
2591
2591
  function Nt() {
2592
2592
  return At().length > 1;
@@ -2617,27 +2617,27 @@ function it(e, t) {
2617
2617
  }
2618
2618
  function zt() {
2619
2619
  let e = Ot();
2620
- return He({
2620
+ return U({
2621
2621
  indexh: e.h,
2622
2622
  indexv: e.v,
2623
2623
  indexf: e.f,
2624
- paused: mt(),
2625
- overview: k.isActive()
2626
- }, F.getState());
2624
+ paused: pt(),
2625
+ overview: O.isActive()
2626
+ }, N.getState());
2627
2627
  }
2628
2628
  function Bt(e) {
2629
2629
  if (typeof e == "object") {
2630
- vt(re(e.indexh), re(e.indexv), re(e.indexf));
2631
- let t = re(e.paused), n = re(e.overview);
2632
- typeof t == "boolean" && t !== mt() && pt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), F.setState(e);
2630
+ _t(ae(e.indexh), ae(e.indexv), ae(e.indexf));
2631
+ let t = ae(e.paused), n = ae(e.overview);
2632
+ typeof t == "boolean" && t !== pt() && ft(t), typeof n == "boolean" && n !== O.isActive() && O.toggle(n), N.setState(e);
2633
2633
  }
2634
2634
  }
2635
2635
  function Vt() {
2636
2636
  if (Ht(), l && r.autoSlide !== !1) {
2637
2637
  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");
2638
- t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && I(l, "video, audio").forEach((e) => {
2638
+ 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) => {
2639
2639
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2640
- })), g && !b && !mt() && !k.isActive() && (!ut() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2640
+ })), g && !b && !pt() && !O.isActive() && (!lt() || D.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2641
2641
  typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2642
2642
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2643
2643
  }
@@ -2653,38 +2653,38 @@ function it(e, t) {
2653
2653
  }
2654
2654
  function Gt({ skipFragments: e = !1 } = {}) {
2655
2655
  if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
2656
- r.rtl ? (k.isActive() || e || O.next() === !1) && Y().left && vt(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && Y().left && vt(o - 1, r.navigationMode === "grid" ? s : void 0);
2656
+ r.rtl ? (O.isActive() || e || D.next() === !1) && Y().left && _t(o + 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.prev() === !1) && Y().left && _t(o - 1, r.navigationMode === "grid" ? s : void 0);
2657
2657
  }
2658
2658
  function Kt({ skipFragments: e = !1 } = {}) {
2659
2659
  if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
2660
- r.rtl ? (k.isActive() || e || O.prev() === !1) && Y().right && vt(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && Y().right && vt(o + 1, r.navigationMode === "grid" ? s : void 0);
2660
+ r.rtl ? (O.isActive() || e || D.prev() === !1) && Y().right && _t(o - 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.next() === !1) && Y().right && _t(o + 1, r.navigationMode === "grid" ? s : void 0);
2661
2661
  }
2662
2662
  function qt({ skipFragments: e = !1 } = {}) {
2663
2663
  if (E.isActive()) return E.prev();
2664
- (k.isActive() || e || O.prev() === !1) && Y().up && vt(o, s - 1);
2664
+ (O.isActive() || e || D.prev() === !1) && Y().up && _t(o, s - 1);
2665
2665
  }
2666
2666
  function Jt({ skipFragments: e = !1 } = {}) {
2667
2667
  if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2668
- (k.isActive() || e || O.next() === !1) && Y().down && vt(o, s + 1);
2668
+ (O.isActive() || e || D.next() === !1) && Y().down && _t(o, s + 1);
2669
2669
  }
2670
2670
  function Yt({ skipFragments: e = !1 } = {}) {
2671
2671
  if (E.isActive()) return E.prev();
2672
- if (e || O.prev() === !1) {
2672
+ if (e || D.prev() === !1) {
2673
2673
  if (Y().up) qt({ skipFragments: e });
2674
2674
  else {
2675
2675
  let t;
2676
- if (t = r.rtl ? I(m.wrapper, xe + ".future").pop() : I(m.wrapper, xe + ".past").pop(), t && t.classList.contains("stack")) {
2676
+ if (t = r.rtl ? P(m.wrapper, xe + ".future").pop() : P(m.wrapper, xe + ".past").pop(), t && t.classList.contains("stack")) {
2677
2677
  let e = t.querySelectorAll("section").length - 1 || void 0;
2678
- vt(o - 1, e);
2678
+ _t(o - 1, e);
2679
2679
  } else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
2680
2680
  }
2681
2681
  }
2682
2682
  }
2683
2683
  function Xt({ skipFragments: e = !1 } = {}) {
2684
2684
  if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2685
- if (e || O.next() === !1) {
2685
+ if (e || D.next() === !1) {
2686
2686
  let t = Y();
2687
- t.down && t.right && r.loop && ct() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2687
+ t.down && t.right && r.loop && st() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2688
2688
  }
2689
2689
  }
2690
2690
  function Zt(e) {
@@ -2695,7 +2695,7 @@ function it(e, t) {
2695
2695
  if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
2696
2696
  if (we.test(t.method) === !1) {
2697
2697
  let e = n[t.method].apply(n, t.args);
2698
- Xe("callback", {
2698
+ Ye("callback", {
2699
2699
  method: t.method,
2700
2700
  result: e
2701
2701
  });
@@ -2714,14 +2714,14 @@ function it(e, t) {
2714
2714
  }));
2715
2715
  }
2716
2716
  function en(e) {
2717
- let t = R(e.target, "a[href^=\"#\"]");
2717
+ let t = I(e.target, "a[href^=\"#\"]");
2718
2718
  if (t) {
2719
- let r = t.getAttribute("href"), i = j.getIndicesFromHash(r);
2719
+ let r = t.getAttribute("href"), i = A.getIndicesFromHash(r);
2720
2720
  i && (n.slide(i.h, i.v, i.f), e.preventDefault());
2721
2721
  }
2722
2722
  }
2723
2723
  function tn(e) {
2724
- U();
2724
+ W();
2725
2725
  }
2726
2726
  function nn(e) {
2727
2727
  document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
@@ -2732,17 +2732,17 @@ function it(e, t) {
2732
2732
  }, 1));
2733
2733
  }
2734
2734
  function an(e) {
2735
- ut() && r.loop === !1 ? (vt(0, 0), Wt()) : b ? Wt() : Ut();
2735
+ lt() && r.loop === !1 ? (_t(0, 0), Wt()) : b ? Wt() : Ut();
2736
2736
  }
2737
2737
  let on = {
2738
- VERSION: rt,
2739
- initialize: le,
2738
+ VERSION: nt,
2739
+ initialize: de,
2740
2740
  configure: ke,
2741
2741
  destroy: Ne,
2742
- sync: xt,
2743
- syncSlide: K,
2744
- syncFragments: O.sync.bind(O),
2745
- slide: vt,
2742
+ sync: bt,
2743
+ syncSlide: xt,
2744
+ syncFragments: D.sync.bind(D),
2745
+ slide: _t,
2746
2746
  left: Gt,
2747
2747
  right: Kt,
2748
2748
  up: qt,
@@ -2755,46 +2755,46 @@ function it(e, t) {
2755
2755
  navigateDown: Jt,
2756
2756
  navigatePrev: Yt,
2757
2757
  navigateNext: Xt,
2758
- navigateFragment: O.goto.bind(O),
2759
- prevFragment: O.prev.bind(O),
2760
- nextFragment: O.next.bind(O),
2758
+ navigateFragment: D.goto.bind(D),
2759
+ prevFragment: D.prev.bind(D),
2760
+ nextFragment: D.next.bind(D),
2761
2761
  on: Pe,
2762
2762
  off: Ie,
2763
2763
  addEventListener: Pe,
2764
2764
  removeEventListener: Ie,
2765
- layout: U,
2765
+ layout: W,
2766
2766
  shuffle: St,
2767
2767
  availableRoutes: Y,
2768
- availableFragments: O.availableRoutes.bind(O),
2769
- toggleHelp: F.toggleHelp.bind(F),
2770
- toggleOverview: k.toggle.bind(k),
2768
+ availableFragments: D.availableRoutes.bind(D),
2769
+ toggleHelp: N.toggleHelp.bind(N),
2770
+ toggleOverview: O.toggle.bind(O),
2771
2771
  toggleScrollView: E.toggle.bind(E),
2772
- togglePause: pt,
2773
- toggleAutoSlide: gt,
2774
- toggleJumpToSlide: ht,
2775
- isFirstSlide: lt,
2776
- isLastSlide: ut,
2777
- isLastVerticalSlide: ct,
2778
- isVerticalSlide: ot,
2779
- isVerticalStack: st,
2780
- isPaused: mt,
2781
- isAutoSliding: _t,
2782
- isSpeakerNotes: z.isSpeakerNotesWindow.bind(z),
2783
- isOverview: k.isActive.bind(k),
2784
- isFocused: L.isFocused.bind(L),
2785
- isOverlayOpen: F.isOpen.bind(F),
2772
+ togglePause: ft,
2773
+ toggleAutoSlide: ht,
2774
+ toggleJumpToSlide: mt,
2775
+ isFirstSlide: ct,
2776
+ isLastSlide: lt,
2777
+ isLastVerticalSlide: st,
2778
+ isVerticalSlide: at,
2779
+ isVerticalStack: ot,
2780
+ isPaused: pt,
2781
+ isAutoSliding: gt,
2782
+ isSpeakerNotes: L.isSpeakerNotesWindow.bind(L),
2783
+ isOverview: O.isActive.bind(O),
2784
+ isFocused: F.isFocused.bind(F),
2785
+ isOverlayOpen: N.isOpen.bind(N),
2786
2786
  isScrollView: E.isActive.bind(E),
2787
- isPrintView: D.isActive.bind(D),
2787
+ isPrintView: ee.isActive.bind(ee),
2788
2788
  isReady: () => a,
2789
2789
  loadSlide: x.load.bind(x),
2790
2790
  unloadSlide: x.unload.bind(x),
2791
2791
  startEmbeddedContent: () => x.startEmbeddedContent(l),
2792
2792
  stopEmbeddedContent: () => x.stopEmbeddedContent(l, { unloadIframes: !1 }),
2793
- previewIframe: F.previewIframe.bind(F),
2794
- previewImage: F.previewImage.bind(F),
2795
- previewVideo: F.previewVideo.bind(F),
2796
- showPreview: F.previewIframe.bind(F),
2797
- hidePreview: F.close.bind(F),
2793
+ previewIframe: N.previewIframe.bind(N),
2794
+ previewImage: N.previewImage.bind(N),
2795
+ previewVideo: N.previewVideo.bind(N),
2796
+ showPreview: N.previewIframe.bind(N),
2797
+ hidePreview: N.close.bind(N),
2798
2798
  addEventListeners: je,
2799
2799
  removeEventListeners: Me,
2800
2800
  dispatchEvent: H,
@@ -2809,7 +2809,7 @@ function it(e, t) {
2809
2809
  getPreviousSlide: () => c,
2810
2810
  getCurrentSlide: () => l,
2811
2811
  getSlideBackground: Rt,
2812
- getSlideNotes: z.getSlideNotes.bind(z),
2812
+ getSlideNotes: L.getSlideNotes.bind(L),
2813
2813
  getSlides: kt,
2814
2814
  getHorizontalSlides: At,
2815
2815
  getVerticalSlides: jt,
@@ -2817,55 +2817,55 @@ function it(e, t) {
2817
2817
  hasVerticalSlides: Pt,
2818
2818
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2819
2819
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2820
- shouldAutoAnimateBetween: yt,
2821
- addKeyBinding: A.addKeyBinding.bind(A),
2822
- removeKeyBinding: A.removeKeyBinding.bind(A),
2823
- triggerKey: A.triggerKey.bind(A),
2824
- registerKeyboardShortcut: A.registerKeyboardShortcut.bind(A),
2825
- getComputedSlideSize: W,
2826
- setCurrentScrollPage: bt,
2827
- removeHiddenSlides: me,
2820
+ shouldAutoAnimateBetween: vt,
2821
+ addKeyBinding: k.addKeyBinding.bind(k),
2822
+ removeKeyBinding: k.removeKeyBinding.bind(k),
2823
+ triggerKey: k.triggerKey.bind(k),
2824
+ registerKeyboardShortcut: k.registerKeyboardShortcut.bind(k),
2825
+ getComputedSlideSize: G,
2826
+ setCurrentScrollPage: yt,
2827
+ removeHiddenSlides: R,
2828
2828
  getScale: () => f,
2829
2829
  getConfig: () => r,
2830
- getQueryHash: se,
2831
- getSlidePath: j.getHash.bind(j),
2830
+ getQueryHash: le,
2831
+ getSlidePath: A.getHash.bind(A),
2832
2832
  getRevealElement: () => e,
2833
2833
  getSlidesElement: () => m.slides,
2834
2834
  getViewportElement: () => m.viewport,
2835
2835
  getBackgroundsElement: () => T.element,
2836
- registerPlugin: P.registerPlugin.bind(P),
2837
- hasPlugin: P.hasPlugin.bind(P),
2838
- getPlugin: P.getPlugin.bind(P),
2839
- getPlugins: P.getRegisteredPlugins.bind(P)
2836
+ registerPlugin: M.registerPlugin.bind(M),
2837
+ hasPlugin: M.hasPlugin.bind(M),
2838
+ getPlugin: M.getPlugin.bind(M),
2839
+ getPlugins: M.getRegisteredPlugins.bind(M)
2840
2840
  };
2841
- return te(n, He(He({}, on), {}, {
2842
- announceStatus: _e,
2843
- getStatusText: ve,
2844
- focus: L,
2841
+ return re(n, U(U({}, on), {}, {
2842
+ announceStatus: ve,
2843
+ getStatusText: ye,
2844
+ focus: F,
2845
2845
  scroll: E,
2846
- progress: ee,
2847
- controls: M,
2848
- location: j,
2849
- overview: k,
2850
- keyboard: A,
2851
- fragments: O,
2846
+ progress: ne,
2847
+ controls: te,
2848
+ location: A,
2849
+ overview: O,
2850
+ keyboard: k,
2851
+ fragments: D,
2852
2852
  backgrounds: T,
2853
2853
  slideContent: x,
2854
2854
  slideNumber: S,
2855
2855
  onUserInput: Zt,
2856
- closeOverlay: F.close.bind(F),
2856
+ closeOverlay: N.close.bind(N),
2857
2857
  updateSlidesVisibility: Tt,
2858
- layoutSlideContents: Qe,
2858
+ layoutSlideContents: Ze,
2859
2859
  transformSlides: Le,
2860
2860
  cueAutoSlide: Vt,
2861
2861
  cancelAutoSlide: Ht
2862
2862
  })), on;
2863
2863
  }
2864
- var W = it, at = [];
2865
- W.initialize = (e) => {
2864
+ var G = rt, it = [];
2865
+ G.initialize = (e) => {
2866
2866
  let t = document.querySelector(".reveal");
2867
2867
  if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
2868
- return Object.assign(W, new it(t, e)), at.map((e) => e(W)), W.initialize();
2868
+ return Object.assign(G, new rt(t, e)), it.map((e) => e(G)), G.initialize();
2869
2869
  }, [
2870
2870
  "configure",
2871
2871
  "on",
@@ -2874,14 +2874,14 @@ W.initialize = (e) => {
2874
2874
  "removeEventListener",
2875
2875
  "registerPlugin"
2876
2876
  ].forEach((e) => {
2877
- W[e] = (...t) => {
2878
- at.push((n) => n[e].call(null, ...t));
2877
+ G[e] = (...t) => {
2878
+ it.push((n) => n[e].call(null, ...t));
2879
2879
  };
2880
- }), W.isReady = () => !1, W.VERSION = rt;
2880
+ }), G.isReady = () => !1, G.VERSION = nt;
2881
2881
  //#endregion
2882
2882
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.1_react-dom@19.2.8_react@19.2.8__react@19.2.8_reveal.js@6.0.1/node_modules/@revealjs/react/dist/index.mjs
2883
- var G = O(), ot = (0, P.createContext)(null), st = [];
2884
- function ct(e, t) {
2883
+ var K = E(), at = (0, M.createContext)(null), ot = [];
2884
+ function st(e, t) {
2885
2885
  if (e === t) return !1;
2886
2886
  if (!e || !t) return e !== t;
2887
2887
  let n = Object.keys(e), r = Object.keys(t);
@@ -2889,43 +2889,43 @@ function ct(e, t) {
2889
2889
  for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
2890
2890
  return !1;
2891
2891
  }
2892
- function lt(e, t) {
2892
+ function ct(e, t) {
2893
2893
  e && (typeof e == "function" ? e(t) : e.current = t);
2894
2894
  }
2895
- function ut(e) {
2895
+ function lt(e) {
2896
2896
  return e.tagName === "SECTION";
2897
2897
  }
2898
- function dt(e, t, n) {
2899
- return Array.from(e.children).filter(ut).map((e) => {
2898
+ function ut(e, t, n) {
2899
+ return Array.from(e.children).filter(lt).map((e) => {
2900
2900
  let r = t.get(e);
2901
2901
  r === void 0 && (r = n.current++, t.set(e, r));
2902
- let i = dt(e, t, n);
2902
+ let i = ut(e, t, n);
2903
2903
  return i.length > 0 ? [r, i] : r;
2904
2904
  });
2905
2905
  }
2906
- function ft(e, t, n) {
2907
- return e ? JSON.stringify(dt(e, t, n)) : "[]";
2906
+ function dt(e, t, n) {
2907
+ return e ? JSON.stringify(ut(e, t, n)) : "[]";
2908
2908
  }
2909
- function pt({ config: e, plugins: t = st, 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 }) {
2910
- let _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), [b, x] = (0, P.useState)(null), S = (0, P.useRef)(t), C = (0, P.useRef)(!1), w = (0, P.useRef)(e), T = (0, P.useRef)(null), E = (0, P.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, P.useRef)(1), O = (0, P.useRef)(!1), k = (0, P.useRef)(0);
2911
- return (0, P.useEffect)(() => {
2912
- if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
2909
+ function ft({ config: e, plugins: t = ot, 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 }) {
2910
+ let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), w = (0, M.useRef)(e), T = (0, M.useRef)(null), E = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), ee = (0, M.useRef)(1), D = (0, M.useRef)(!1), O = (0, M.useRef)(0);
2911
+ return (0, M.useEffect)(() => {
2912
+ if (D.current = !0, O.current += 1, y.current) y.current.isReady() && x(y.current);
2913
2913
  else {
2914
- let t = new W(_.current, {
2914
+ let t = new G(_.current, {
2915
2915
  ...e,
2916
2916
  plugins: S.current
2917
2917
  });
2918
2918
  w.current = e, y.current = t, t.initialize().then(() => {
2919
- !O.current || y.current !== t || (x(t), n?.(t));
2919
+ !D.current || y.current !== t || (x(t), n?.(t));
2920
2920
  });
2921
2921
  }
2922
2922
  return () => {
2923
- O.current = !1;
2923
+ D.current = !1;
2924
2924
  let e = y.current;
2925
2925
  if (!e) return;
2926
- let t = ++k.current;
2926
+ let t = ++O.current;
2927
2927
  Promise.resolve().then(() => {
2928
- if (!(O.current || k.current !== t) && y.current === e) {
2928
+ if (!(D.current || O.current !== t) && y.current === e) {
2929
2929
  try {
2930
2930
  e.destroy();
2931
2931
  } catch {}
@@ -2933,7 +2933,7 @@ function pt({ config: e, plugins: t = st, onReady: n, onSync: r, onSlideSync: i,
2933
2933
  }
2934
2934
  });
2935
2935
  };
2936
- }, []), (0, P.useEffect)(() => (lt(p, b), () => lt(p, null)), [p, b]), (0, P.useEffect)(() => {
2936
+ }, []), (0, M.useEffect)(() => (ct(p, b), () => ct(p, null)), [p, b]), (0, M.useEffect)(() => {
2937
2937
  if (!b) return;
2938
2938
  let e = [
2939
2939
  ["sync", r],
@@ -2963,24 +2963,24 @@ function pt({ config: e, plugins: t = st, onReady: n, onSync: r, onSlideSync: i,
2963
2963
  u,
2964
2964
  d,
2965
2965
  f
2966
- ]), (0, P.useLayoutEffect)(() => {
2967
- !b || !y.current?.isReady() || ct(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2968
- }, [b, e]), (0, P.useLayoutEffect)(() => {
2966
+ ]), (0, M.useLayoutEffect)(() => {
2967
+ !b || !y.current?.isReady() || st(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2968
+ }, [b, e]), (0, M.useLayoutEffect)(() => {
2969
2969
  let e = C.current;
2970
2970
  C.current = !1;
2971
- let t = ft(v.current, E.current, D);
2971
+ let t = dt(v.current, E.current, ee);
2972
2972
  if (e) {
2973
2973
  T.current = t;
2974
2974
  return;
2975
2975
  }
2976
2976
  y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
2977
- }), /* @__PURE__ */ (0, G.jsx)(ot.Provider, {
2977
+ }), /* @__PURE__ */ (0, K.jsx)(at.Provider, {
2978
2978
  value: b,
2979
- children: /* @__PURE__ */ (0, G.jsx)("div", {
2979
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
2980
2980
  className: m ? `reveal ${m}` : "reveal",
2981
2981
  style: h,
2982
2982
  ref: _,
2983
- children: /* @__PURE__ */ (0, G.jsx)("div", {
2983
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
2984
2984
  className: "slides",
2985
2985
  ref: v,
2986
2986
  children: g
@@ -2988,7 +2988,7 @@ function pt({ config: e, plugins: t = st, onReady: n, onSync: r, onSlideSync: i,
2988
2988
  })
2989
2989
  });
2990
2990
  }
2991
- var mt = {
2991
+ var pt = {
2992
2992
  background: "data-background",
2993
2993
  backgroundImage: "data-background-image",
2994
2994
  backgroundVideo: "data-background-video",
@@ -3017,12 +3017,12 @@ var mt = {
3017
3017
  backgroundInteractive: "data-background-interactive",
3018
3018
  preload: "data-preload"
3019
3019
  };
3020
- function ht(e) {
3020
+ function mt(e) {
3021
3021
  return JSON.stringify(Object.entries(e).filter(([e]) => e.startsWith("data-")).sort(([e], [t]) => e.localeCompare(t)));
3022
3022
  }
3023
- function gt(e, t) {
3023
+ function ht(e, t) {
3024
3024
  let n = { ...e }, r = n;
3025
- for (let [e, n] of Object.entries(mt)) {
3025
+ for (let [e, n] of Object.entries(pt)) {
3026
3026
  if (r[n] !== void 0) continue;
3027
3027
  let i = t[e];
3028
3028
  if (i !== void 0) {
@@ -3035,8 +3035,8 @@ function gt(e, t) {
3035
3035
  }
3036
3036
  return n;
3037
3037
  }
3038
- function _t({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3039
- let k = (0, P.useContext)(ot), A = (0, P.useRef)(null), j = (0, P.useRef)(null), M = (0, P.useRef)(null), ee = gt(O, {
3038
+ function gt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: ee, ...D }) {
3039
+ let O = (0, M.useContext)(at), k = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = ht(D, {
3040
3040
  background: t,
3041
3041
  backgroundImage: n,
3042
3042
  backgroundVideo: r,
@@ -3063,32 +3063,32 @@ function _t({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3063
3063
  autoSlide: w,
3064
3064
  notes: T,
3065
3065
  backgroundInteractive: E,
3066
- preload: D
3067
- }), N = ht(ee);
3068
- return (0, P.useLayoutEffect)(() => {
3069
- let e = A.current;
3070
- if (!k || !e || typeof k.syncSlide != "function") return;
3071
- if (j.current !== k) {
3072
- j.current = k, M.current = N;
3066
+ preload: ee
3067
+ }), j = mt(ne);
3068
+ return (0, M.useLayoutEffect)(() => {
3069
+ let e = k.current;
3070
+ if (!O || !e || typeof O.syncSlide != "function") return;
3071
+ if (A.current !== O) {
3072
+ A.current = O, te.current = j;
3073
3073
  return;
3074
3074
  }
3075
- if (N === "[]") return;
3076
- let t = j.current === k, n = M.current === N;
3077
- t && n || (k.syncSlide(e), j.current = k, M.current = N);
3078
- }, [k, N]), /* @__PURE__ */ (0, G.jsx)("section", {
3079
- ref: A,
3080
- ...ee,
3075
+ if (j === "[]") return;
3076
+ let t = A.current === O, n = te.current === j;
3077
+ t && n || (O.syncSlide(e), A.current = O, te.current = j);
3078
+ }, [O, j]), /* @__PURE__ */ (0, K.jsx)("section", {
3079
+ ref: k,
3080
+ ...ne,
3081
3081
  children: e
3082
3082
  });
3083
3083
  }
3084
- function vt({ className: e, style: t, children: n }) {
3085
- return /* @__PURE__ */ (0, G.jsx)("section", {
3084
+ function _t({ className: e, style: t, children: n }) {
3085
+ return /* @__PURE__ */ (0, K.jsx)("section", {
3086
3086
  className: e,
3087
3087
  style: t,
3088
3088
  children: n
3089
3089
  });
3090
3090
  }
3091
- function yt() {
3091
+ function vt() {
3092
3092
  return {
3093
3093
  async: !1,
3094
3094
  breaks: !1,
@@ -3102,11 +3102,11 @@ function yt() {
3102
3102
  walkTokens: null
3103
3103
  };
3104
3104
  }
3105
- var bt = yt();
3106
- function xt(e) {
3107
- bt = e;
3105
+ var yt = vt();
3106
+ function bt(e) {
3107
+ yt = e;
3108
3108
  }
3109
- var K = { exec: () => null };
3109
+ var xt = { exec: () => null };
3110
3110
  function q(e, t = "") {
3111
3111
  let n = typeof e == "string" ? e : e.source, r = {
3112
3112
  replace: (e, t) => {
@@ -3192,7 +3192,7 @@ var St = (() => {
3192
3192
  list: Ft,
3193
3193
  newline: Ct,
3194
3194
  paragraph: zt,
3195
- table: K,
3195
+ table: xt,
3196
3196
  text: Mt
3197
3197
  }, Vt = q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Y).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", "(?: {4}| {0,3} )[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)])[ \\t]").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", It).getRegex(), Ht = {
3198
3198
  ...Bt,
@@ -3204,19 +3204,19 @@ var St = (() => {
3204
3204
  html: q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Lt).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3205
3205
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3206
3206
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3207
- fences: K,
3207
+ fences: xt,
3208
3208
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3209
3209
  paragraph: q(jt).replace("hr", Y).replace("heading", " *#{1,6} *[^\n]").replace("lheading", kt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3210
3210
  }, Wt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Gt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Kt = /^( {2,}|\\)\n(?!\s*$)/, qt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Jt = /[\p{P}\p{S}]/u, Yt = /[\s\p{P}\p{S}]/u, Xt = /[^\s\p{P}\p{S}]/u, Zt = q(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Yt).getRegex(), Qt = /(?!~)[\p{P}\p{S}]/u, $t = /(?!~)[\s\p{P}\p{S}]/u, en = /(?:[^\s\p{P}\p{S}]|~)/u, tn = q(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", St ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), nn = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, rn = q(nn, "u").replace(/punct/g, Jt).getRegex(), an = q(nn, "u").replace(/punct/g, Qt).getRegex(), on = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", sn = q(on, "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), cn = q(on, "gu").replace(/notPunctSpace/g, en).replace(/punctSpace/g, $t).replace(/punct/g, Qt).getRegex(), ln = q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), un = q(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Jt).getRegex(), dn = q("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Xt).replace(/punctSpace/g, Yt).replace(/punct/g, Jt).getRegex(), fn = q(/\\(punct)/, "gu").replace(/punct/g, Jt).getRegex(), pn = q(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), mn = q(Lt).replace("(?:-->|$)", "-->").getRegex(), hn = q("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", mn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, _n = q(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", gn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), vn = q(/^!?\[(label)\]\[(ref)\]/).replace("label", gn).replace("ref", Nt).getRegex(), yn = q(/^!?\[(ref)\](?:\[\])?/).replace("ref", Nt).getRegex(), bn = q("reflink|nolink(?!\\()", "g").replace("reflink", vn).replace("nolink", yn).getRegex(), xn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Sn = {
3211
- _backpedal: K,
3211
+ _backpedal: xt,
3212
3212
  anyPunctuation: fn,
3213
3213
  autolink: pn,
3214
3214
  blockSkip: tn,
3215
3215
  br: Kt,
3216
3216
  code: Gt,
3217
- del: K,
3218
- delLDelim: K,
3219
- delRDelim: K,
3217
+ del: xt,
3218
+ delLDelim: xt,
3219
+ delRDelim: xt,
3220
3220
  emStrongLDelim: rn,
3221
3221
  emStrongRDelimAst: sn,
3222
3222
  emStrongRDelimUnd: ln,
@@ -3228,7 +3228,7 @@ var St = (() => {
3228
3228
  reflinkSearch: bn,
3229
3229
  tag: hn,
3230
3230
  text: qt,
3231
- url: K
3231
+ url: xt
3232
3232
  }, Cn = {
3233
3233
  ...Sn,
3234
3234
  link: q(/^!?\[(label)\]\((.*?)\)/).replace("label", gn).getRegex(),
@@ -3347,7 +3347,7 @@ var Rn = class {
3347
3347
  rules;
3348
3348
  lexer;
3349
3349
  constructor(e) {
3350
- this.options = e || bt;
3350
+ this.options = e || yt;
3351
3351
  }
3352
3352
  space(e) {
3353
3353
  let t = this.rules.block.newline.exec(e);
@@ -3803,7 +3803,7 @@ ${c}` : c;
3803
3803
  inlineQueue;
3804
3804
  tokenizer;
3805
3805
  constructor(e) {
3806
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || bt, this.options.tokenizer = this.options.tokenizer || new Rn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3806
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || yt, this.options.tokenizer = this.options.tokenizer || new Rn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
3807
3807
  inLink: !1,
3808
3808
  inRawBlock: !1,
3809
3809
  top: !0
@@ -4013,7 +4013,7 @@ ${c}` : c;
4013
4013
  options;
4014
4014
  parser;
4015
4015
  constructor(e) {
4016
- this.options = e || bt;
4016
+ this.options = e || yt;
4017
4017
  }
4018
4018
  space(e) {
4019
4019
  return "";
@@ -4152,7 +4152,7 @@ ${e}</tr>
4152
4152
  renderer;
4153
4153
  textRenderer;
4154
4154
  constructor(e) {
4155
- this.options = e || bt, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vn();
4155
+ this.options = e || yt, this.options.renderer = this.options.renderer || new Bn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vn();
4156
4156
  }
4157
4157
  static parse(t, n) {
4158
4158
  return new e(n).parse(t);
@@ -4302,7 +4302,7 @@ ${e}</tr>
4302
4302
  options;
4303
4303
  block;
4304
4304
  constructor(e) {
4305
- this.options = e || bt;
4305
+ this.options = e || yt;
4306
4306
  }
4307
4307
  static passThroughHooks = /* @__PURE__ */ new Set([
4308
4308
  "preprocess",
@@ -4334,7 +4334,7 @@ ${e}</tr>
4334
4334
  return this.block ? Hn.parse : Hn.parseInline;
4335
4335
  }
4336
4336
  }, Wn = new class {
4337
- defaults = yt();
4337
+ defaults = vt();
4338
4338
  options = this.setOptions;
4339
4339
  parse = this.parseMarkdown(!0);
4340
4340
  parseInline = this.parseMarkdown(!1);
@@ -4513,9 +4513,9 @@ function X(e, t) {
4513
4513
  return Wn.parse(e, t);
4514
4514
  }
4515
4515
  X.options = X.setOptions = function(e) {
4516
- return Wn.setOptions(e), X.defaults = Wn.defaults, xt(X.defaults), X;
4517
- }, X.getDefaults = yt, X.defaults = bt, X.use = function(...e) {
4518
- return Wn.use(...e), X.defaults = Wn.defaults, xt(X.defaults), X;
4516
+ return Wn.setOptions(e), X.defaults = Wn.defaults, bt(X.defaults), X;
4517
+ }, X.getDefaults = vt, X.defaults = yt, X.use = function(...e) {
4518
+ return Wn.use(...e), X.defaults = Wn.defaults, bt(X.defaults), X;
4519
4519
  }, X.walkTokens = function(e, t) {
4520
4520
  return Wn.walkTokens(e, t);
4521
4521
  }, X.parseInline = Wn.parseInline, X.Parser = Hn, X.parser = Hn.parse, X.Renderer = Bn, X.TextRenderer = Vn, X.Lexer = zn, X.lexer = zn.lex, X.Tokenizer = Rn, X.Hooks = Un, X.parse = X, X.options, X.setOptions, X.use, X.walkTokens, X.parseInline, Hn.parse, zn.lex;
@@ -4533,18 +4533,18 @@ function qn({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
4533
4533
  if (r) {
4534
4534
  let e;
4535
4535
  try {
4536
- e = P.Children.only(o);
4536
+ e = M.Children.only(o);
4537
4537
  } catch {
4538
4538
  throw Error("Fragment with asChild expects exactly one React element child.");
4539
4539
  }
4540
- if (!(0, P.isValidElement)(e) || e.type === P.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4540
+ if (!(0, M.isValidElement)(e) || e.type === M.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4541
4541
  let n = {
4542
4542
  className: Gn(e.props.className, s),
4543
4543
  style: Kn(e.props.style, a)
4544
4544
  };
4545
- return t !== void 0 && (n["data-fragment-index"] = t), (0, P.cloneElement)(e, n);
4545
+ return t !== void 0 && (n["data-fragment-index"] = t), (0, M.cloneElement)(e, n);
4546
4546
  }
4547
- return /* @__PURE__ */ (0, G.jsx)(n ?? "span", {
4547
+ return /* @__PURE__ */ (0, K.jsx)(n ?? "span", {
4548
4548
  className: s,
4549
4549
  style: a,
4550
4550
  "data-fragment-index": t,
@@ -4563,7 +4563,7 @@ function Zn(e) {
4563
4563
  return t ? t.getBoundingClientRect().top - e.getBoundingClientRect().top + e.scrollTop : e.scrollHeight;
4564
4564
  }
4565
4565
  function Qn(e, t) {
4566
- let n = (0, F.c)(4), [r, i] = (0, P.useState)(!1), a, o;
4566
+ let n = (0, N.c)(4), [r, i] = (0, M.useState)(!1), a, o;
4567
4567
  return n[0] !== t || n[1] !== e ? (a = () => {
4568
4568
  let n = e.current, r = t.current;
4569
4569
  if (!n || !r) return;
@@ -4587,43 +4587,43 @@ function Qn(e, t) {
4587
4587
  }), n.addEventListener("scroll", o, { passive: !0 }), () => {
4588
4588
  cancelAnimationFrame(a), s.disconnect(), c?.disconnect(), n.removeEventListener("scroll", o);
4589
4589
  };
4590
- }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, P.useEffect)(a, o), r;
4590
+ }, 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;
4591
4591
  }
4592
4592
  var $n = (e) => {
4593
- let t = (0, F.c)(6), { className: n } = e, i;
4593
+ let t = (0, N.c)(6), { className: n } = e, i;
4594
4594
  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);
4595
4595
  let a;
4596
- t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, G.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4596
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, K.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4597
4597
  let o;
4598
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, G.jsxs)("div", {
4598
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, K.jsxs)("div", {
4599
4599
  className: "absolute bottom-3 flex items-center gap-1 rounded-full border border-border/60 bg-background/90 px-2.5 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur-sm",
4600
- children: [/* @__PURE__ */ (0, G.jsx)(E, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
4600
+ children: [/* @__PURE__ */ (0, K.jsx)(w, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: "Scroll for more" })]
4601
4601
  }), t[3] = o) : o = t[3];
4602
4602
  let s;
4603
- return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, G.jsxs)("div", {
4603
+ return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, K.jsxs)("div", {
4604
4604
  className: i,
4605
4605
  "data-testid": "slide-scroll-hint",
4606
4606
  "aria-hidden": !0,
4607
4607
  children: [a, o]
4608
4608
  }), t[4] = i, t[5] = s), s;
4609
4609
  }, er = (e) => {
4610
- let t = (0, F.c)(10), { children: n, className: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = Qn(a, o), c;
4610
+ let t = (0, N.c)(10), { children: n, className: i } = e, a = (0, M.useRef)(null), o = (0, M.useRef)(null), s = Qn(a, o), c;
4611
4611
  t[0] === i ? c = t[1] : (c = r("relative h-full w-full", i), t[0] = i, t[1] = c);
4612
4612
  let l;
4613
- t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
4613
+ t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, K.jsx)("div", {
4614
4614
  ref: a,
4615
4615
  className: "h-full w-full overflow-auto",
4616
4616
  "data-testid": "slide-scroll-container",
4617
- children: /* @__PURE__ */ (0, G.jsx)("div", {
4617
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
4618
4618
  ref: o,
4619
4619
  className: "flex w-full min-h-full",
4620
4620
  children: n
4621
4621
  })
4622
4622
  }), t[2] = n, t[3] = l);
4623
4623
  let u;
4624
- t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)($n, {}), t[4] = s, t[5] = u);
4624
+ t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, K.jsx)($n, {}), t[4] = s, t[5] = u);
4625
4625
  let d;
4626
- return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, G.jsxs)("div", {
4626
+ return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, K.jsxs)("div", {
4627
4627
  className: c,
4628
4628
  children: [l, u]
4629
4629
  }), t[6] = c, t[7] = l, t[8] = u, t[9] = d) : d = t[9], d;
@@ -4739,7 +4739,7 @@ function or(e, t) {
4739
4739
  //#endregion
4740
4740
  //#region src/core/islands/stubs/slide-cell-view.tsx
4741
4741
  var sr = (e) => (n.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), cr = (e) => (n.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), lr = 300, ur = (e) => {
4742
- let t = (0, F.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e, c = o ? n.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, P.useState)(c), d = (0, P.useRef)(!1), f;
4742
+ let t = (0, N.c)(25), { layout: n, setLayout: a, cellId: o, className: s } = e, c = o ? n.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, M.useState)(c), d = (0, M.useRef)(!1), f;
4743
4743
  t[0] !== n || t[1] !== a ? (f = (e, t) => {
4744
4744
  d.current = !1;
4745
4745
  let r = n.cells.get(e);
@@ -4753,7 +4753,7 @@ var sr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4753
4753
  cells: i
4754
4754
  });
4755
4755
  }, t[0] = n, t[1] = a, t[2] = f) : f = t[2];
4756
- let p = j(f), m = D(p, lr), h = (0, P.useRef)(o), g, _;
4756
+ let p = D(f), m = T(p, lr), h = (0, M.useRef)(o), g, _;
4757
4757
  t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== m ? (g = () => {
4758
4758
  if (h.current !== o) {
4759
4759
  m.flush(), d.current = !1, u(c), h.current = o;
@@ -4765,11 +4765,11 @@ var sr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4765
4765
  c,
4766
4766
  l,
4767
4767
  m
4768
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, P.useEffect)(g, _);
4768
+ ], 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, _);
4769
4769
  let v, y;
4770
4770
  t[9] === m ? (v = t[10], y = t[11]) : (v = () => () => {
4771
4771
  m.flush();
4772
- }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, P.useEffect)(v, y);
4772
+ }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, M.useEffect)(v, y);
4773
4773
  let b;
4774
4774
  t[12] !== o || t[13] !== m ? (b = (e) => {
4775
4775
  u(e), o && (d.current = !0, m(o, e));
@@ -4777,32 +4777,32 @@ var sr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
4777
4777
  let x = b, S;
4778
4778
  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);
4779
4779
  let C;
4780
- t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, G.jsxs)("header", {
4780
+ t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, K.jsxs)("header", {
4781
4781
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4782
- children: [/* @__PURE__ */ (0, G.jsx)(N, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
4782
+ children: [/* @__PURE__ */ (0, K.jsx)(j, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: "Speaker notes" })]
4783
4783
  }), t[17] = C) : C = t[17];
4784
4784
  let w;
4785
- t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, G.jsx)("div", {
4785
+ t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, K.jsx)("div", {
4786
4786
  className: "flex-1 min-h-0 p-2",
4787
- children: o ? /* @__PURE__ */ (0, G.jsx)("textarea", {
4787
+ children: o ? /* @__PURE__ */ (0, K.jsx)("textarea", {
4788
4788
  value: l,
4789
4789
  onChange: (e) => x(e.target.value),
4790
4790
  onClick: i.stopPropagation(),
4791
4791
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4792
4792
  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"),
4793
4793
  "aria-label": "Speaker notes for the current slide"
4794
- }) : /* @__PURE__ */ (0, G.jsx)("div", {
4794
+ }) : /* @__PURE__ */ (0, K.jsx)("div", {
4795
4795
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4796
4796
  children: "Select a slide to add notes."
4797
4797
  })
4798
4798
  }), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
4799
- let T;
4800
- return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, G.jsxs)("section", {
4799
+ let E;
4800
+ return t[22] !== S || t[23] !== w ? (E = /* @__PURE__ */ (0, K.jsxs)("section", {
4801
4801
  className: S,
4802
4802
  "aria-label": "Speaker notes",
4803
4803
  onKeyDown: dr,
4804
4804
  children: [C, w]
4805
- }), t[22] = S, t[23] = w, t[24] = T) : T = t[24], T;
4805
+ }), t[22] = S, t[23] = w, t[24] = E) : E = t[24], E;
4806
4806
  };
4807
4807
  function dr(e) {
4808
4808
  return e.stopPropagation();
@@ -6365,12 +6365,12 @@ function Xi(e) {
6365
6365
  return Ji.has(e.key) ? 1 : Yi.has(e.key) ? -1 : 0;
6366
6366
  }
6367
6367
  function Zi(e) {
6368
- let t = (0, F.c)(4), n;
6368
+ let t = (0, N.c)(4), n;
6369
6369
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
6370
6370
  width: 960,
6371
6371
  height: 540
6372
6372
  }, t[0] = n) : n = t[0];
6373
- let [r, i] = (0, P.useState)(n), a, o;
6373
+ let [r, i] = (0, M.useState)(n), a, o;
6374
6374
  return t[1] === e ? (a = t[2], o = t[3]) : (a = () => {
6375
6375
  let t = e.current;
6376
6376
  if (!t) return;
@@ -6384,19 +6384,19 @@ function Zi(e) {
6384
6384
  });
6385
6385
  });
6386
6386
  return n.observe(t), () => n.disconnect();
6387
- }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, P.useEffect)(a, o), r;
6387
+ }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, M.useEffect)(a, o), r;
6388
6388
  }
6389
6389
  var Qi = (e) => {
6390
- let t = (0, F.c)(6), { text: n } = e, r, i;
6390
+ let t = (0, N.c)(6), { text: n } = e, r, i;
6391
6391
  if (t[0] !== n) {
6392
6392
  let e = n.split("\n");
6393
6393
  r = "notes", i = e.map((t, n) => {
6394
6394
  let r = n === e.length - 1;
6395
- return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(P.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
6395
+ return t === "---" ? /* @__PURE__ */ (0, K.jsx)("hr", {}, n) : /* @__PURE__ */ (0, K.jsxs)(M.Fragment, { children: [t, !r && /* @__PURE__ */ (0, K.jsx)("br", {})] }, n);
6396
6396
  }), t[0] = n, t[1] = r, t[2] = i;
6397
6397
  } else r = t[1], i = t[2];
6398
6398
  let a;
6399
- return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, G.jsx)("aside", {
6399
+ return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, K.jsx)("aside", {
6400
6400
  className: r,
6401
6401
  children: i
6402
6402
  }), t[3] = r, t[4] = i, t[5] = a) : a = t[5], a;
@@ -6410,14 +6410,14 @@ function ea(e) {
6410
6410
  return n.has(t.id) || t.id === r ? "skip" : i.get(t.id)?.type ?? "slide";
6411
6411
  }
6412
6412
  function ta(e) {
6413
- let t = (0, F.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6413
+ let t = (0, N.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6414
6414
  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];
6415
6415
  let s = o, c = n != null && r.get(n.id)?.type === "skip" || s, l;
6416
6416
  t[3] === a ? l = t[4] : (l = {
6417
6417
  activeCellId: a,
6418
6418
  cellId: null
6419
6419
  }, t[3] = a, t[4] = l);
6420
- let [u, d] = (0, P.useState)(l), f = u.cellId;
6420
+ let [u, d] = (0, M.useState)(l), f = u.cellId;
6421
6421
  u.activeCellId === a ? s && f !== a && (f = a, d({
6422
6422
  activeCellId: a,
6423
6423
  cellId: f
@@ -6430,14 +6430,14 @@ function ta(e) {
6430
6430
  cellId: m,
6431
6431
  show: !0
6432
6432
  }, t[5] = m, t[6] = h);
6433
- let [g, _] = (0, P.useState)(h), v = g.show;
6433
+ let [g, _] = (0, M.useState)(h), v = g.show;
6434
6434
  g.cellId !== m && (v = !0, _({
6435
6435
  cellId: m,
6436
6436
  show: !0
6437
6437
  }));
6438
6438
  let y;
6439
6439
  t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(na), t[7] = y) : y = t[7];
6440
- let b = j(y), x = c || p ? n ?? null : null, S;
6440
+ let b = D(y), x = c || p ? n ?? null : null, S;
6441
6441
  return t[8] !== m || t[9] !== v || t[10] !== p || t[11] !== s || t[12] !== x || t[13] !== b ? (S = {
6442
6442
  parkedPreviewCell: x,
6443
6443
  isHeldEdit: p,
@@ -6461,103 +6461,103 @@ function ra(e) {
6461
6461
  }
6462
6462
  }
6463
6463
  var ia = (e) => {
6464
- let t = (0, F.c)(13), { cell: n } = e, r;
6465
- t[0] !== n.id || t[1] !== n.name ? (r = C(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
6464
+ let t = (0, N.c)(13), { cell: n } = e, r;
6465
+ t[0] !== n.id || t[1] !== n.name ? (r = S(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
6466
6466
  let i = n.id, a = n.status, o = n.output, s;
6467
- t[3] === n ? s = t[4] : (s = l(n, !1), t[3] = n, t[4] = s);
6467
+ t[3] === n ? s = t[4] : (s = d(n, !1), t[3] = n, t[4] = s);
6468
6468
  let c;
6469
- t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, G.jsx)(h, {
6469
+ t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, K.jsx)(C, {
6470
6470
  cellId: i,
6471
6471
  status: a,
6472
6472
  output: o,
6473
6473
  stale: s
6474
6474
  }), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = s, t[9] = c) : c = t[9];
6475
- let u;
6476
- return t[10] !== r || t[11] !== c ? (u = /* @__PURE__ */ (0, G.jsx)("div", {
6475
+ let l;
6476
+ return t[10] !== r || t[11] !== c ? (l = /* @__PURE__ */ (0, K.jsx)("div", {
6477
6477
  className: "flex flex-col",
6478
6478
  ...r,
6479
6479
  children: c
6480
- }), t[10] = r, t[11] = c, t[12] = u) : u = t[12], u;
6480
+ }), t[10] = r, t[11] = c, t[12] = l) : l = t[12], l;
6481
6481
  }, aa = (e) => {
6482
- let t = (0, F.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6482
+ let t = (0, N.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6483
6483
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
6484
6484
  let { slideLevel: e, cumulativeByBlock: p } = mr(n, a);
6485
6485
  l = e;
6486
6486
  let m = n.blocks.some((e) => e.cells.some((e) => r(e.id)));
6487
- c = _t, s = er, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6488
- let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(sr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(cr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ia, { cell: e }, e.id));
6487
+ c = gt, s = er, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6488
+ let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, K.jsx)(sr, { cell: e }, e.id) : /* @__PURE__ */ (0, K.jsx)(cr, { cell: e }, e.id) : /* @__PURE__ */ (0, K.jsx)(ia, { cell: e }, e.id));
6489
6489
  if (e.isFragment) {
6490
6490
  let e = p.get(t);
6491
- return /* @__PURE__ */ (0, G.jsxs)(qn, {
6491
+ return /* @__PURE__ */ (0, K.jsxs)(qn, {
6492
6492
  as: "div",
6493
- children: [n, e && /* @__PURE__ */ (0, G.jsx)(Qi, { text: e })]
6493
+ children: [n, e && /* @__PURE__ */ (0, K.jsx)(Qi, { text: e })]
6494
6494
  }, t);
6495
6495
  }
6496
- return /* @__PURE__ */ (0, G.jsx)(P.Fragment, { children: n }, t);
6496
+ return /* @__PURE__ */ (0, K.jsx)(M.Fragment, { children: n }, t);
6497
6497
  }), 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;
6498
6498
  } else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
6499
6499
  let p;
6500
- t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, G.jsx)("div", {
6500
+ t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, K.jsx)("div", {
6501
6501
  className: u,
6502
6502
  style: d,
6503
6503
  children: f
6504
6504
  }), t[11] = u, t[12] = d, t[13] = f, t[14] = p) : p = t[14];
6505
6505
  let m;
6506
- t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, G.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6506
+ t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, K.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6507
6507
  let h;
6508
- t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(Qi, { text: l }), t[18] = l, t[19] = h);
6508
+ t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, K.jsx)(Qi, { text: l }), t[18] = l, t[19] = h);
6509
6509
  let g;
6510
- return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, G.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6510
+ return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, K.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6511
6511
  };
6512
6512
  function oa(e) {
6513
6513
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
6514
6514
  return t && n || r;
6515
6515
  }
6516
6516
  var sa = (e) => {
6517
- let t = (0, F.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6517
+ let t = (0, N.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6518
6518
  if (oa({
6519
6519
  isNoOutputPreview: r,
6520
6520
  isEditable: i,
6521
6521
  showCode: a
6522
6522
  })) {
6523
6523
  let e;
6524
- return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(sr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(cr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6524
+ return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, K.jsx)(sr, { cell: n }) : /* @__PURE__ */ (0, K.jsx)(cr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6525
6525
  }
6526
6526
  let o;
6527
- return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(ia, { cell: n }), t[3] = n, t[4] = o), o;
6527
+ return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, K.jsx)(ia, { cell: n }), t[3] = n, t[4] = o), o;
6528
6528
  }, ca = (e) => {
6529
- let n = (0, F.c)(160), { slideCells: o, layout: s, setLayout: l, noOutputIds: u, activeIndex: h, onSlideChange: C, mode: E, configWidth: D, isEditable: O } = e, N = O !== void 0 && O, te = (0, P.useRef)(null), I = (0, P.useRef)(null), { width: ne, height: re } = Zi(te), ie = k() != null, L = M(c), R = M(S).kind, ae = M(x), oe = R !== "wasm" || ae, z;
6530
- n[0] !== L || n[1] !== R ? (z = L || !w(R) ? [] : [Ui], n[0] = L, n[1] = R, n[2] = z) : z = n[2];
6531
- let se = z, [ce, le] = (0, P.useState)(la), ue = b(o), de;
6532
- n[3] === ue ? de = n[4] : (de = !ee() && ue, n[3] = ue, n[4] = de);
6533
- let fe = de, pe;
6534
- n[5] === L ? pe = n[6] : (pe = v(L, window.location.search), n[5] = L, n[6] = pe);
6535
- let me = !pe && fe, he = h == null ? void 0 : o[h], ge;
6536
- n[7] !== he || n[8] !== o ? (ge = he ?? o.at(0), n[7] = he, n[8] = o, n[9] = ge) : ge = n[9];
6537
- let _e = ge, ve;
6538
- n[10] !== he || n[11] !== s.cells || n[12] !== u ? (ve = {
6539
- activeCell: he,
6529
+ let n = (0, N.c)(160), { slideCells: o, layout: s, setLayout: c, noOutputIds: d, activeIndex: S, onSlideChange: C, mode: w, configWidth: T, isEditable: E } = e, j = E !== void 0 && E, re = (0, M.useRef)(null), P = (0, M.useRef)(null), { width: ie, height: ae } = Zi(re), oe = ee() != null, F = O(u), I = O(te).kind, se = O(A), ce = I !== "wasm" || se, L;
6530
+ n[0] !== F || n[1] !== I ? (L = F || !g(I) ? [] : [Ui], n[0] = F, n[1] = I, n[2] = L) : L = n[2];
6531
+ let le = L, [ue, de] = (0, M.useState)(la), fe = ne(o), pe;
6532
+ n[3] === fe ? pe = n[4] : (pe = !k() && fe, n[3] = fe, n[4] = pe);
6533
+ let me = pe, he;
6534
+ n[5] === F ? he = n[6] : (he = x(F, window.location.search), n[5] = F, n[6] = he);
6535
+ let R = !he && me, ge = S == null ? void 0 : o[S], _e;
6536
+ n[7] !== ge || n[8] !== o ? (_e = ge ?? o.at(0), n[7] = ge, n[8] = o, n[9] = _e) : _e = n[9];
6537
+ let ve = _e, ye;
6538
+ n[10] !== ge || n[11] !== s.cells || n[12] !== d ? (ye = {
6539
+ activeCell: ge,
6540
6540
  slideConfigs: s.cells,
6541
- noOutputIds: u
6542
- }, n[10] = he, n[11] = s.cells, n[12] = u, n[13] = ve) : ve = n[13];
6543
- let { parkedPreviewCell: B, isHeldEdit: ye, isNoOutputPreview: be, heldEditCellId: xe, heldShowsCode: Se, toggleHeldShowsCode: Ce } = ta(ve), we;
6544
- n[14] !== fe || n[15] !== s.cells || n[16] !== ce ? (we = (e) => $i({
6541
+ noOutputIds: d
6542
+ }, n[10] = ge, n[11] = s.cells, n[12] = d, n[13] = ye) : ye = n[13];
6543
+ let { parkedPreviewCell: z, isHeldEdit: be, isNoOutputPreview: B, heldEditCellId: xe, heldShowsCode: Se, toggleHeldShowsCode: Ce } = ta(ye), we;
6544
+ n[14] !== me || n[15] !== s.cells || n[16] !== ue ? (we = (e) => $i({
6545
6545
  cells: s.cells,
6546
6546
  cellId: e,
6547
- showCodeOverrides: ce,
6548
- codeAvailable: fe
6549
- }), n[14] = fe, n[15] = s.cells, n[16] = ce, n[17] = we) : we = n[17];
6550
- let Te = we, V = he?.id ?? _e?.id, Ee;
6551
- n[18] !== V || n[19] !== Se || n[20] !== ye || n[21] !== Te ? (Ee = ye ? Se : Te(V), n[18] = V, n[19] = Se, n[20] = ye, n[21] = Te, n[22] = Ee) : Ee = n[22];
6547
+ showCodeOverrides: ue,
6548
+ codeAvailable: me
6549
+ }), n[14] = me, n[15] = s.cells, n[16] = ue, n[17] = we) : we = n[17];
6550
+ let Te = we, V = ge?.id ?? ve?.id, Ee;
6551
+ n[18] !== V || n[19] !== Se || n[20] !== be || n[21] !== Te ? (Ee = be ? Se : Te(V), n[18] = V, n[19] = Se, n[20] = be, n[21] = Te, n[22] = Ee) : Ee = n[22];
6552
6552
  let De = Ee, Oe;
6553
- n[23] !== V || n[24] !== fe || n[25] !== s.cells ? (Oe = fe && V != null && (s.cells.get(V)?.showCode ?? !1), n[23] = V, n[24] = fe, n[25] = s.cells, n[26] = Oe) : Oe = n[26];
6553
+ n[23] !== V || n[24] !== me || n[25] !== s.cells ? (Oe = me && V != null && (s.cells.get(V)?.showCode ?? !1), n[23] = V, n[24] = me, n[25] = s.cells, n[26] = Oe) : Oe = n[26];
6554
6554
  let ke = Oe, Ae;
6555
- n[27] !== xe || n[28] !== s.cells || n[29] !== u ? (Ae = (e) => ea({
6555
+ n[27] !== xe || n[28] !== s.cells || n[29] !== d ? (Ae = (e) => ea({
6556
6556
  cell: e,
6557
- noOutputIds: u,
6557
+ noOutputIds: d,
6558
6558
  heldEditCellId: xe,
6559
6559
  slideConfigs: s.cells
6560
- }), n[27] = xe, n[28] = s.cells, n[29] = u, n[30] = Ae) : Ae = n[30];
6560
+ }), n[27] = xe, n[28] = s.cells, n[29] = d, n[30] = Ae) : Ae = n[30];
6561
6561
  let je;
6562
6562
  n[31] !== o || n[32] !== Ae ? (je = tr({
6563
6563
  cells: o,
@@ -6572,12 +6572,12 @@ var sa = (e) => {
6572
6572
  let { cellToTarget: Pe, targetToCellIndex: Fe } = Ne, Ie = s.deck?.transition ?? "slide", Le = s.deck?.verticalAlign, Re;
6573
6573
  n[37] === Le ? Re = n[38] : (Re = ra(Le), n[37] = Le, n[38] = Re);
6574
6574
  let ze = Re, Be;
6575
- n[39] === Symbol.for("react.memo_cache_sentinel") ? (Be = p(window.location.href), n[39] = Be) : Be = n[39];
6575
+ n[39] === Symbol.for("react.memo_cache_sentinel") ? (Be = y(window.location.href), n[39] = Be) : Be = n[39];
6576
6576
  let Ve = Be, H;
6577
- n[40] !== Ie || n[41] !== re || n[42] !== ne ? (H = {
6577
+ n[40] !== Ie || n[41] !== ae || n[42] !== ie ? (H = {
6578
6578
  embedded: !0,
6579
- width: ne,
6580
- height: re,
6579
+ width: ie,
6580
+ height: ae,
6581
6581
  center: !1,
6582
6582
  minScale: .2,
6583
6583
  maxScale: 2,
@@ -6585,162 +6585,162 @@ var sa = (e) => {
6585
6585
  keyboardCondition: da,
6586
6586
  url: Ve,
6587
6587
  scrollActivationWidth: 0
6588
- }, n[40] = Ie, n[41] = re, n[42] = ne, n[43] = H) : H = n[43];
6589
- let He = H, Ue;
6590
- n[44] !== h || n[45] !== oe || n[46] !== Pe || n[47] !== o ? (Ue = (e) => {
6591
- if (h == null && window.location.hash.startsWith("#/")) {
6592
- if (!oe) return;
6588
+ }, n[40] = Ie, n[41] = ae, n[42] = ie, n[43] = H) : H = n[43];
6589
+ let U = H, He;
6590
+ n[44] !== S || n[45] !== ce || n[46] !== Pe || n[47] !== o ? (He = (e) => {
6591
+ if (S == null && window.location.hash.startsWith("#/")) {
6592
+ if (!ce) return;
6593
6593
  window.dispatchEvent(new HashChangeEvent("hashchange")), qi(e);
6594
6594
  return;
6595
6595
  }
6596
6596
  let t = ar({
6597
- activeIndex: h,
6597
+ activeIndex: S,
6598
6598
  cells: o,
6599
6599
  cellToTarget: Pe,
6600
6600
  getId: fa
6601
6601
  }), n = t && or(e.getIndices(), t);
6602
6602
  n && (e.slide(n.h, n.v, n.f), qi(e));
6603
- }, n[44] = h, n[45] = oe, n[46] = Pe, n[47] = o, n[48] = Ue) : Ue = n[48];
6604
- let We = j(Ue), Ge;
6605
- n[49] === We ? Ge = n[50] : (Ge = () => {
6606
- let e = I.current;
6607
- e != null && We(e);
6608
- }, n[49] = We, n[50] = Ge);
6609
- let Ke;
6610
- n[51] !== h || n[52] !== oe || n[53] !== Pe || n[54] !== We || n[55] !== o ? (Ke = [
6611
- h,
6612
- oe,
6603
+ }, n[44] = S, n[45] = ce, n[46] = Pe, n[47] = o, n[48] = He) : He = n[48];
6604
+ let Ue = D(He), We;
6605
+ n[49] === Ue ? We = n[50] : (We = () => {
6606
+ let e = P.current;
6607
+ e != null && Ue(e);
6608
+ }, n[49] = Ue, n[50] = We);
6609
+ let Ge;
6610
+ n[51] !== S || n[52] !== ce || n[53] !== Pe || n[54] !== Ue || n[55] !== o ? (Ge = [
6611
+ S,
6612
+ ce,
6613
6613
  Pe,
6614
6614
  o,
6615
- We
6616
- ], n[51] = h, n[52] = oe, n[53] = Pe, n[54] = We, n[55] = o, n[56] = Ke) : Ke = n[56], (0, P.useEffect)(Ge, Ke);
6617
- let qe;
6618
- n[57] !== V || n[58] !== ke || n[59] !== ye || n[60] !== Ce ? (qe = () => {
6615
+ Ue
6616
+ ], n[51] = S, n[52] = ce, n[53] = Pe, n[54] = Ue, n[55] = o, n[56] = Ge) : Ge = n[56], (0, M.useEffect)(We, Ge);
6617
+ let Ke;
6618
+ n[57] !== V || n[58] !== ke || n[59] !== be || n[60] !== Ce ? (Ke = () => {
6619
6619
  if (!(V == null || ke)) {
6620
- if (ye) {
6620
+ if (be) {
6621
6621
  Ce();
6622
6622
  return;
6623
6623
  }
6624
- (0, P.startTransition)(() => le((e) => {
6624
+ (0, M.startTransition)(() => de((e) => {
6625
6625
  let t = new Set(e);
6626
6626
  return t.has(V) ? t.delete(V) : t.add(V), t;
6627
6627
  }));
6628
6628
  }
6629
- }, n[57] = V, n[58] = ke, n[59] = ye, n[60] = Ce, n[61] = qe) : qe = n[61];
6630
- let Je = j(qe), Ye, Xe;
6631
- n[62] !== me || n[63] !== Je ? (Ye = () => {
6632
- let e = I.current;
6629
+ }, n[57] = V, n[58] = ke, n[59] = be, n[60] = Ce, n[61] = Ke) : Ke = n[61];
6630
+ let qe = D(Ke), Je, Ye;
6631
+ n[62] !== R || n[63] !== qe ? (Je = () => {
6632
+ let e = P.current;
6633
6633
  return e && Ki({
6634
6634
  deck: e,
6635
- enabled: me,
6636
- onToggle: Je
6635
+ enabled: R,
6636
+ onToggle: qe
6637
6637
  }), () => {
6638
- I.current?.removeKeyBinding(Gi);
6638
+ P.current?.removeKeyBinding(Gi);
6639
6639
  };
6640
- }, Xe = [me, Je], n[62] = me, n[63] = Je, n[64] = Ye, n[65] = Xe) : (Ye = n[64], Xe = n[65]), (0, P.useEffect)(Ye, Xe);
6641
- let Ze;
6642
- n[66] !== C || n[67] !== B || n[68] !== Fe ? (Ze = (e) => {
6643
- if (B != null) return;
6640
+ }, Ye = [R, qe], n[62] = R, n[63] = qe, n[64] = Je, n[65] = Ye) : (Je = n[64], Ye = n[65]), (0, M.useEffect)(Je, Ye);
6641
+ let Xe;
6642
+ n[66] !== C || n[67] !== z || n[68] !== Fe ? (Xe = (e) => {
6643
+ if (z != null) return;
6644
6644
  let t = rr(Fe, e.getIndices());
6645
6645
  t != null && C?.(t);
6646
- }, n[66] = C, n[67] = B, n[68] = Fe, n[69] = Ze) : Ze = n[69];
6647
- let U = j(Ze), Qe;
6648
- n[70] === U ? Qe = n[71] : (Qe = () => {
6649
- let e = I.current;
6650
- e && U(e);
6651
- }, n[70] = U, n[71] = Qe);
6652
- let $e = j(Qe), et;
6653
- n[72] !== oe || n[73] !== me || n[74] !== We || n[75] !== U || n[76] !== Je ? (et = (e) => {
6654
- We(e), oe && U(e), Ki({
6646
+ }, n[66] = C, n[67] = z, n[68] = Fe, n[69] = Xe) : Xe = n[69];
6647
+ let W = D(Xe), Ze;
6648
+ n[70] === W ? Ze = n[71] : (Ze = () => {
6649
+ let e = P.current;
6650
+ e && W(e);
6651
+ }, n[70] = W, n[71] = Ze);
6652
+ let Qe = D(Ze), $e;
6653
+ n[72] !== ce || n[73] !== R || n[74] !== Ue || n[75] !== W || n[76] !== qe ? ($e = (e) => {
6654
+ Ue(e), ce && W(e), Ki({
6655
6655
  deck: e,
6656
- enabled: me,
6657
- onToggle: Je
6656
+ enabled: R,
6657
+ onToggle: qe
6658
6658
  });
6659
6659
  let t = e.getSlidesElement()?.closest(".reveal");
6660
6660
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6661
- }, n[72] = oe, n[73] = me, n[74] = We, n[75] = U, n[76] = Je, n[77] = et) : et = n[77];
6662
- let tt = j(et), nt;
6663
- n[78] !== h || n[79] !== C || n[80] !== B || n[81] !== o ? (nt = (e) => {
6664
- if (!B || h == null || i.fromInput(e)) return;
6661
+ }, n[72] = ce, n[73] = R, n[74] = Ue, n[75] = W, n[76] = qe, n[77] = $e) : $e = n[77];
6662
+ let et = D($e), tt;
6663
+ n[78] !== S || n[79] !== C || n[80] !== z || n[81] !== o ? (tt = (e) => {
6664
+ if (!z || S == null || i.fromInput(e)) return;
6665
6665
  let t = Xi(e);
6666
6666
  if (t === 0) return;
6667
6667
  e.preventDefault(), e.stopPropagation();
6668
- let n = h + t;
6668
+ let n = S + t;
6669
6669
  n < 0 || n >= o.length || C?.(n);
6670
- }, n[78] = h, n[79] = C, n[80] = B, n[81] = o, n[82] = nt) : nt = n[82];
6671
- let rt = j(nt), it;
6672
- n[83] === $e ? it = n[84] : (it = () => {
6673
- $e();
6674
- }, n[83] = $e, n[84] = it);
6675
- let W = j(it), at;
6676
- n[85] === Symbol.for("react.memo_cache_sentinel") ? (at = { capture: !0 }, n[85] = at) : at = n[85], t(document, "keydown", rt, at);
6677
- let ot = ye ? null : be ? "Hidden as there is no output" : "Skipped in presentation", st;
6678
- n[86] !== Se || n[87] !== ye || n[88] !== B?.id || n[89] !== Te ? (st = ye ? Se : Te(B?.id), n[86] = Se, n[87] = ye, n[88] = B?.id, n[89] = Te, n[90] = st) : st = n[90];
6679
- let ct = st, lt;
6680
- n[91] !== N || n[92] !== be || n[93] !== ct ? (lt = oa({
6681
- isNoOutputPreview: be,
6682
- isEditable: N,
6683
- showCode: ct
6684
- }), n[91] = N, n[92] = be, n[93] = ct, n[94] = lt) : lt = n[94];
6685
- let ut = lt, dt;
6686
- n[95] !== re || n[96] !== ne ? (dt = {
6687
- width: ne,
6688
- height: re
6689
- }, n[95] = re, n[96] = ne, n[97] = dt) : dt = n[97];
6690
- let ft;
6691
- if (n[98] !== Me.stacks || n[99] !== N || n[100] !== s.cells || n[101] !== Te || n[102] !== ze) {
6670
+ }, n[78] = S, n[79] = C, n[80] = z, n[81] = o, n[82] = tt) : tt = n[82];
6671
+ let nt = D(tt), rt;
6672
+ n[83] === Qe ? rt = n[84] : (rt = () => {
6673
+ Qe();
6674
+ }, n[83] = Qe, n[84] = rt);
6675
+ let G = D(rt), it;
6676
+ n[85] === Symbol.for("react.memo_cache_sentinel") ? (it = { capture: !0 }, n[85] = it) : it = n[85], t(document, "keydown", nt, it);
6677
+ let at = be ? null : B ? "Hidden as there is no output" : "Skipped in presentation", ot;
6678
+ n[86] !== Se || n[87] !== be || n[88] !== z?.id || n[89] !== Te ? (ot = be ? Se : Te(z?.id), n[86] = Se, n[87] = be, n[88] = z?.id, n[89] = Te, n[90] = ot) : ot = n[90];
6679
+ let st = ot, ct;
6680
+ n[91] !== j || n[92] !== B || n[93] !== st ? (ct = oa({
6681
+ isNoOutputPreview: B,
6682
+ isEditable: j,
6683
+ showCode: st
6684
+ }), n[91] = j, n[92] = B, n[93] = st, n[94] = ct) : ct = n[94];
6685
+ let lt = ct, ut;
6686
+ n[95] !== ae || n[96] !== ie ? (ut = {
6687
+ width: ie,
6688
+ height: ae
6689
+ }, n[95] = ae, n[96] = ie, n[97] = ut) : ut = n[97];
6690
+ let dt;
6691
+ if (n[98] !== Me.stacks || n[99] !== j || n[100] !== s.cells || n[101] !== Te || n[102] !== ze) {
6692
6692
  let e;
6693
- n[104] !== N || n[105] !== s.cells || n[106] !== Te || n[107] !== ze ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(aa, {
6693
+ n[104] !== j || n[105] !== s.cells || n[106] !== Te || n[107] !== ze ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, K.jsx)(aa, {
6694
6694
  subslide: e.subslides[0],
6695
6695
  resolveShowCode: Te,
6696
- isEditable: N,
6696
+ isEditable: j,
6697
6697
  slideConfigs: s.cells,
6698
6698
  contentStyle: ze
6699
- }, t) : /* @__PURE__ */ (0, G.jsx)(vt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(aa, {
6699
+ }, t) : /* @__PURE__ */ (0, K.jsx)(_t, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, K.jsx)(aa, {
6700
6700
  subslide: e,
6701
6701
  resolveShowCode: Te,
6702
- isEditable: N,
6702
+ isEditable: j,
6703
6703
  slideConfigs: s.cells,
6704
6704
  contentStyle: ze
6705
- }, t)) }, t), n[104] = N, n[105] = s.cells, n[106] = Te, n[107] = ze, n[108] = e) : e = n[108], ft = Me.stacks.map(e), n[98] = Me.stacks, n[99] = N, n[100] = s.cells, n[101] = Te, n[102] = ze, n[103] = ft;
6706
- } else ft = n[103];
6707
- let mt;
6708
- n[109] !== se || n[110] !== tt || n[111] !== W || n[112] !== $e || n[113] !== He || n[114] !== ft ? (mt = /* @__PURE__ */ (0, G.jsx)(pt, {
6709
- deckRef: I,
6705
+ }, t)) }, t), n[104] = j, n[105] = s.cells, n[106] = Te, n[107] = ze, n[108] = e) : e = n[108], dt = Me.stacks.map(e), n[98] = Me.stacks, n[99] = j, n[100] = s.cells, n[101] = Te, n[102] = ze, n[103] = dt;
6706
+ } else dt = n[103];
6707
+ let pt;
6708
+ n[109] !== le || n[110] !== et || n[111] !== G || n[112] !== Qe || n[113] !== U || n[114] !== dt ? (pt = /* @__PURE__ */ (0, K.jsx)(ft, {
6709
+ deckRef: P,
6710
6710
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
6711
- config: He,
6712
- onReady: tt,
6713
- onSlideChange: W,
6714
- onFragmentShown: $e,
6715
- onFragmentHidden: $e,
6716
- plugins: se,
6717
- children: ft
6718
- }), n[109] = se, n[110] = tt, n[111] = W, n[112] = $e, n[113] = He, n[114] = ft, n[115] = mt) : mt = n[115];
6719
- let ht;
6720
- n[116] !== N || n[117] !== be || n[118] !== B || n[119] !== ot || n[120] !== ct || n[121] !== ut || n[122] !== ze ? (ht = B && /* @__PURE__ */ (0, G.jsxs)("div", {
6711
+ config: U,
6712
+ onReady: et,
6713
+ onSlideChange: G,
6714
+ onFragmentShown: Qe,
6715
+ onFragmentHidden: Qe,
6716
+ plugins: le,
6717
+ children: dt
6718
+ }), n[109] = le, n[110] = et, n[111] = G, n[112] = Qe, n[113] = U, n[114] = dt, n[115] = pt) : pt = n[115];
6719
+ let mt;
6720
+ n[116] !== j || n[117] !== B || n[118] !== z || n[119] !== at || n[120] !== st || n[121] !== lt || n[122] !== ze ? (mt = z && /* @__PURE__ */ (0, K.jsxs)("div", {
6721
6721
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6722
- "aria-label": ot ?? void 0,
6723
- children: [ot && /* @__PURE__ */ (0, G.jsxs)("div", {
6722
+ "aria-label": at ?? void 0,
6723
+ children: [at && /* @__PURE__ */ (0, K.jsxs)("div", {
6724
6724
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
6725
- children: [/* @__PURE__ */ (0, G.jsx)(g, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: ot })]
6726
- }), /* @__PURE__ */ (0, G.jsx)("div", {
6725
+ children: [/* @__PURE__ */ (0, K.jsx)(h, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, K.jsx)("span", { children: at })]
6726
+ }), /* @__PURE__ */ (0, K.jsx)("div", {
6727
6727
  className: "flex-1 overflow-auto flex",
6728
- children: /* @__PURE__ */ (0, G.jsx)("div", {
6729
- className: ut ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6728
+ children: /* @__PURE__ */ (0, K.jsx)("div", {
6729
+ className: lt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6730
6730
  style: ze,
6731
- children: /* @__PURE__ */ (0, G.jsx)(sa, {
6732
- cell: B,
6733
- isNoOutputPreview: be,
6734
- isEditable: N,
6735
- showCode: ct
6731
+ children: /* @__PURE__ */ (0, K.jsx)(sa, {
6732
+ cell: z,
6733
+ isNoOutputPreview: B,
6734
+ isEditable: j,
6735
+ showCode: st
6736
6736
  })
6737
6737
  })
6738
6738
  })]
6739
- }, B.id), n[116] = N, n[117] = be, n[118] = B, n[119] = ot, n[120] = ct, n[121] = ut, n[122] = ze, n[123] = ht) : ht = n[123];
6740
- let gt;
6741
- n[124] !== De || n[125] !== ke || n[126] !== me || n[127] !== Je ? (gt = me && /* @__PURE__ */ (0, G.jsx)(A, {
6739
+ }, z.id), n[116] = j, n[117] = B, n[118] = z, n[119] = at, n[120] = st, n[121] = lt, n[122] = ze, n[123] = mt) : mt = n[123];
6740
+ let ht;
6741
+ n[124] !== De || n[125] !== ke || n[126] !== R || n[127] !== qe ? (ht = R && /* @__PURE__ */ (0, K.jsx)(l, {
6742
6742
  content: ke ? "Code is always shown for this slide" : De ? "Hide code (C)" : "Show code (C)",
6743
- children: /* @__PURE__ */ (0, G.jsx)(a, {
6743
+ children: /* @__PURE__ */ (0, K.jsx)(a, {
6744
6744
  "data-testid": "marimo-plugin-slides-toggle-code",
6745
6745
  variant: "ghost",
6746
6746
  size: "icon",
@@ -6748,101 +6748,101 @@ var sa = (e) => {
6748
6748
  "aria-pressed": De,
6749
6749
  "aria-disabled": ke,
6750
6750
  "aria-label": ke ? "Code always shown" : De ? "Hide code" : "Show code",
6751
- onClick: Je,
6752
- children: /* @__PURE__ */ (0, G.jsx)(f, { className: "h-4 w-4" })
6751
+ onClick: qe,
6752
+ children: /* @__PURE__ */ (0, K.jsx)(v, { className: "h-4 w-4" })
6753
6753
  })
6754
- }), n[124] = De, n[125] = ke, n[126] = me, n[127] = Je, n[128] = gt) : gt = n[128];
6755
- let _t;
6756
- n[129] === Symbol.for("react.memo_cache_sentinel") ? (_t = /* @__PURE__ */ (0, G.jsx)(A, {
6754
+ }), n[124] = De, n[125] = ke, n[126] = R, n[127] = qe, n[128] = ht) : ht = n[128];
6755
+ let gt;
6756
+ n[129] === Symbol.for("react.memo_cache_sentinel") ? (gt = /* @__PURE__ */ (0, K.jsx)(l, {
6757
6757
  content: "Fullscreen (F)",
6758
- children: /* @__PURE__ */ (0, G.jsx)(a, {
6758
+ children: /* @__PURE__ */ (0, K.jsx)(a, {
6759
6759
  "data-testid": "marimo-plugin-slides-fullscreen",
6760
6760
  variant: "ghost",
6761
6761
  size: "icon",
6762
6762
  className: "text-muted-foreground h-7 w-7",
6763
6763
  "aria-label": "Enter fullscreen",
6764
6764
  onClick: () => {
6765
- I.current?.getViewportElement()?.requestFullscreen().catch(pa);
6765
+ P.current?.getViewportElement()?.requestFullscreen().catch(pa);
6766
6766
  },
6767
- children: /* @__PURE__ */ (0, G.jsx)(d, { className: "h-4 w-4" })
6767
+ children: /* @__PURE__ */ (0, K.jsx)(b, { className: "h-4 w-4" })
6768
6768
  })
6769
- }), n[129] = _t) : _t = n[129];
6770
- let yt;
6771
- n[130] === gt ? yt = n[131] : (yt = /* @__PURE__ */ (0, G.jsxs)("div", {
6769
+ }), n[129] = gt) : gt = n[129];
6770
+ let vt;
6771
+ n[130] === ht ? vt = n[131] : (vt = /* @__PURE__ */ (0, K.jsxs)("div", {
6772
6772
  className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6773
- children: [gt, _t]
6774
- }), n[130] = gt, n[131] = yt);
6775
- let bt;
6776
- n[132] !== dt || n[133] !== mt || n[134] !== ht || n[135] !== yt ? (bt = /* @__PURE__ */ (0, G.jsx)("div", {
6777
- ref: te,
6773
+ children: [ht, gt]
6774
+ }), n[130] = ht, n[131] = vt);
6775
+ let yt;
6776
+ n[132] !== ut || n[133] !== pt || n[134] !== mt || n[135] !== vt ? (yt = /* @__PURE__ */ (0, K.jsx)("div", {
6777
+ ref: re,
6778
6778
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6779
- children: /* @__PURE__ */ (0, G.jsxs)("div", {
6779
+ children: /* @__PURE__ */ (0, K.jsxs)("div", {
6780
6780
  className: "group relative",
6781
- style: dt,
6781
+ style: ut,
6782
6782
  children: [
6783
+ pt,
6783
6784
  mt,
6784
- ht,
6785
- yt
6785
+ vt
6786
6786
  ]
6787
6787
  })
6788
- }), n[132] = dt, n[133] = mt, n[134] = ht, n[135] = yt, n[136] = bt) : bt = n[136];
6789
- let xt = bt;
6790
- if (E === "read") {
6788
+ }), n[132] = ut, n[133] = pt, n[134] = mt, n[135] = vt, n[136] = yt) : yt = n[136];
6789
+ let bt = yt;
6790
+ if (w === "read") {
6791
6791
  let e;
6792
- return n[137] === xt ? e = n[138] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
6792
+ return n[137] === bt ? e = n[138] : (e = /* @__PURE__ */ (0, K.jsx)("div", {
6793
6793
  className: "flex-1 min-w-0 flex flex-row gap-3",
6794
- children: xt
6795
- }), n[137] = xt, n[138] = e), e;
6794
+ children: bt
6795
+ }), n[137] = bt, n[138] = e), e;
6796
6796
  }
6797
- let K;
6798
- n[139] === xt ? K = n[140] : (K = /* @__PURE__ */ (0, G.jsx)(m, {
6797
+ let xt;
6798
+ n[139] === bt ? xt = n[140] : (xt = /* @__PURE__ */ (0, K.jsx)(m, {
6799
6799
  defaultSize: 92,
6800
6800
  minSize: 60,
6801
- children: xt
6802
- }), n[139] = xt, n[140] = K);
6801
+ children: bt
6802
+ }), n[139] = bt, n[140] = xt);
6803
6803
  let q;
6804
6804
  n[141] === Symbol.for("react.memo_cache_sentinel") ? (q = {
6805
6805
  coarse: 12,
6806
6806
  fine: 4
6807
6807
  }, n[141] = q) : q = n[141];
6808
6808
  let St;
6809
- n[142] === ie ? St = n[143] : (St = /* @__PURE__ */ (0, G.jsx)(T, {
6809
+ n[142] === oe ? St = n[143] : (St = /* @__PURE__ */ (0, K.jsx)(f, {
6810
6810
  className: "mo-slides-notes-resize",
6811
6811
  hitAreaMargins: q,
6812
- disabled: ie
6813
- }), n[142] = ie, n[143] = St);
6814
- let J = _e?.id, Ct;
6815
- n[144] !== s || n[145] !== l || n[146] !== J ? (Ct = /* @__PURE__ */ (0, G.jsx)(m, {
6812
+ disabled: oe
6813
+ }), n[142] = oe, n[143] = St);
6814
+ let J = ve?.id, Ct;
6815
+ n[144] !== s || n[145] !== c || n[146] !== J ? (Ct = /* @__PURE__ */ (0, K.jsx)(m, {
6816
6816
  defaultSize: 10,
6817
6817
  minSize: 4,
6818
6818
  collapsible: !0,
6819
6819
  collapsedSize: 4,
6820
- children: /* @__PURE__ */ (0, G.jsx)(ur, {
6820
+ children: /* @__PURE__ */ (0, K.jsx)(ur, {
6821
6821
  layout: s,
6822
- setLayout: l,
6822
+ setLayout: c,
6823
6823
  cellId: J
6824
6824
  })
6825
- }), n[144] = s, n[145] = l, n[146] = J, n[147] = Ct) : Ct = n[147];
6825
+ }), n[144] = s, n[145] = c, n[146] = J, n[147] = Ct) : Ct = n[147];
6826
6826
  let wt;
6827
- n[148] !== K || n[149] !== St || n[150] !== Ct ? (wt = /* @__PURE__ */ (0, G.jsxs)(y, {
6827
+ n[148] !== xt || n[149] !== St || n[150] !== Ct ? (wt = /* @__PURE__ */ (0, K.jsxs)(p, {
6828
6828
  direction: "vertical",
6829
6829
  autoSaveId: "marimo:slides:notes-panel",
6830
6830
  className: "flex-1 min-w-0",
6831
6831
  children: [
6832
- K,
6832
+ xt,
6833
6833
  St,
6834
6834
  Ct
6835
6835
  ]
6836
- }), n[148] = K, n[149] = St, n[150] = Ct, n[151] = wt) : wt = n[151];
6836
+ }), n[148] = xt, n[149] = St, n[150] = Ct, n[151] = wt) : wt = n[151];
6837
6837
  let Tt;
6838
- n[152] !== _e || n[153] !== D || n[154] !== s || n[155] !== l ? (Tt = /* @__PURE__ */ (0, G.jsx)(_, {
6839
- configWidth: D,
6838
+ n[152] !== ve || n[153] !== T || n[154] !== s || n[155] !== c ? (Tt = /* @__PURE__ */ (0, K.jsx)(_, {
6839
+ configWidth: T,
6840
6840
  layout: s,
6841
- setLayout: l,
6842
- activeConfigCell: _e
6843
- }), n[152] = _e, n[153] = D, n[154] = s, n[155] = l, n[156] = Tt) : Tt = n[156];
6841
+ setLayout: c,
6842
+ activeConfigCell: ve
6843
+ }), n[152] = ve, n[153] = T, n[154] = s, n[155] = c, n[156] = Tt) : Tt = n[156];
6844
6844
  let Y;
6845
- return n[157] !== wt || n[158] !== Tt ? (Y = /* @__PURE__ */ (0, G.jsxs)("div", {
6845
+ return n[157] !== wt || n[158] !== Tt ? (Y = /* @__PURE__ */ (0, K.jsxs)("div", {
6846
6846
  className: "flex-1 min-w-0 flex flex-row gap-3",
6847
6847
  children: [wt, Tt]
6848
6848
  }), n[157] = wt, n[158] = Tt, n[159] = Y) : Y = n[159], Y;