@marimo-team/islands 0.25.3-dev436 → 0.25.3-dev438

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 (93) hide show
  1. package/dist/{ConnectedDataExplorerComponent-CoEU9snz.js → ConnectedDataExplorerComponent-LA5OtjAG.js} +11 -11
  2. package/dist/{ErrorBoundary-DAkJ7hwU.js → ErrorBoundary-Bvtsf3zB.js} +18 -18
  3. package/dist/{abnfDiagram-VCTEODGH-RbfxpmIE.js → abnfDiagram-VCTEODGH-CBntFgCZ.js} +2 -2
  4. package/dist/{any-language-editor-Cw4VtZvb.js → any-language-editor-gzDRWdCH.js} +2 -2
  5. package/dist/{architectureDiagram-5GKGNRK7-DzzNVRo4.js → architectureDiagram-5GKGNRK7-Bz6ouXl-.js} +1 -1
  6. package/dist/{assertNever-ChGm2jYv.js → assertNever-DOTNJ2Y4.js} +2 -2
  7. package/dist/{chat-ui-BEMyRpmS.js → chat-ui-ZGXdN6Vr.js} +45 -45
  8. package/dist/{check-BHRB6N0I.js → check-CApwK1fD.js} +1 -1
  9. package/dist/{chunk-IMKFNOWR-1Zy6M_oP.js → chunk-IMKFNOWR-DK_M66Dt.js} +1 -1
  10. package/dist/{chunk-SHT3W25Y-yAttqZEk.js → chunk-SHT3W25Y-C7Cg6zGL.js} +1 -1
  11. package/dist/{chunk-SVP7TREG-MKJpuJHR.js → chunk-SVP7TREG-K0lWia53.js} +1 -1
  12. package/dist/{chunk-TICWLB2K-BOC0OebH.js → chunk-TICWLB2K-DiKpryGp.js} +1 -1
  13. package/dist/{classDiagram-ZZMXUADV-BOlD7kH9.js → classDiagram-ZZMXUADV-CXX5eaxi.js} +2 -2
  14. package/dist/{classDiagram-v2-VYDZK3BY-C3p3seuT.js → classDiagram-v2-VYDZK3BY-Bjyy4iKL.js} +2 -2
  15. package/dist/{code-visibility-BMMvUEE0.js → code-visibility-CmfNaZAX.js} +17 -17
  16. package/dist/{common-iWYyPuv_.js → common-i_ykKLxU.js} +4881 -4842
  17. package/dist/{config-EJnOxh0i.js → config-C8TXSDmC.js} +18 -18
  18. package/dist/{copy-icon-Bv5SAA0w.js → copy-icon-CDvvlY90.js} +2 -2
  19. package/dist/{createReducer-BJJ0K5Tu.js → createReducer-CXqSak4H.js} +1 -1
  20. package/dist/{cynefinDiagram-5FMLGOSQ-BKnxm64C.js → cynefinDiagram-5FMLGOSQ-C-MlCYj4.js} +1 -1
  21. package/dist/{dagre-GXQ25YYZ-COBTexAI.js → dagre-GXQ25YYZ-C6e9vEKZ.js} +1 -1
  22. package/dist/{data-grid-overlay-editor-CkJgQaxE.js → data-grid-overlay-editor-kj617zpx.js} +1 -1
  23. package/dist/{diagram-S7CK7UJ4-Dyt3J6ek.js → diagram-S7CK7UJ4-DgXNq_At.js} +1 -1
  24. package/dist/{diagram-UQ7AKVKN-CJCsT4fA.js → diagram-UQ7AKVKN-BG5NExCt.js} +1 -1
  25. package/dist/{diagram-VX7I27RA-BboxCtbh.js → diagram-VX7I27RA-Da7VYCfC.js} +1 -1
  26. package/dist/{diagram-Z3DM3KII-DfRWWQ5t.js → diagram-Z3DM3KII-DHk6GaR5.js} +1 -1
  27. package/dist/{dialog-B8vU2hHC.js → dialog-rgayPemF.js} +20 -20
  28. package/dist/{dropdown-menu-DzhAnAhr.js → dropdown-menu-B12Nf3Zf.js} +703 -703
  29. package/dist/{ebnfDiagram-PWID7BFC-DYxwv-nl.js → ebnfDiagram-PWID7BFC-DdSjinXr.js} +2 -2
  30. package/dist/{erDiagram-RLTQ6QDP-D9e5WUw7.js → erDiagram-RLTQ6QDP-BgcwfZct.js} +1 -1
  31. package/dist/{error-banner-BRkKwvku.js → error-banner-DXHIN-63.js} +58 -58
  32. package/dist/{error-entries-BbxtqUQ4.js → error-entries-DMgIKuK1.js} +380 -380
  33. package/dist/{feedback-button-Bo1DzBRc.js → feedback-button-CGAe5hFZ.js} +7 -7
  34. package/dist/{flowDiagram-HODETNUW-tt7EepxX.js → flowDiagram-HODETNUW-CVwzkmUF.js} +2 -2
  35. package/dist/{formats-HRSqKdFt.js → formats-BWuAsLfw.js} +1 -1
  36. package/dist/{glide-data-editor-D537pcyO.js → glide-data-editor-BiU_hF9A.js} +11 -11
  37. package/dist/{glide-utils-BzjESEmr.js → glide-utils-D1McS0Pn.js} +2 -2
  38. package/dist/{globals-DyA5IC15.js → globals-jz3DTWzC.js} +3 -3
  39. package/dist/{html-to-image-DuNAF8H5.js → html-to-image-Dopvv40j.js} +774 -774
  40. package/dist/{infoDiagram-27XIBGKW-CpQH_joy.js → infoDiagram-27XIBGKW-CHkU2P-8.js} +1 -1
  41. package/dist/{ishikawaDiagram-5VMMS53U-d-it4xqm.js → ishikawaDiagram-5VMMS53U-B0k5UyY5.js} +1 -1
  42. package/dist/{kanban-definition-UXKFOSKX-DItpqTFY.js → kanban-definition-UXKFOSKX-DwQvOV0x.js} +1 -1
  43. package/dist/main.js +4913 -4936
  44. package/dist/{mermaid-BugOVfeH.js → mermaid-Bqy6f_NU.js} +34 -34
  45. package/dist/{mindmap-definition-YA3MSWOX-D6IpF-_J.js → mindmap-definition-YA3MSWOX-CqvvAm8I.js} +1 -1
  46. package/dist/{number-overlay-editor-BN8eCduk.js → number-overlay-editor-D3OSLsDB.js} +1 -1
  47. package/dist/{pegDiagram-XKGWAZYB-CXUu3QwE.js → pegDiagram-XKGWAZYB-Befnx4Ry.js} +2 -2
  48. package/dist/{pencil-DWRFEz2B.js → pencil-BC7pOv9g.js} +1 -1
  49. package/dist/{pieDiagram-E7YTZNPT-DoUJF0yj.js → pieDiagram-E7YTZNPT-6rYFbF7p.js} +1 -1
  50. package/dist/{process-output-Cl97_Reh.js → process-output-BidrKebE.js} +4 -4
  51. package/dist/{railroadDiagram-O6MQD6OU-BsGDhtLL.js → railroadDiagram-O6MQD6OU-SSniwYC8.js} +2 -2
  52. package/dist/{requirementDiagram-BXWQKSXE-BHW0qW2Z.js → requirementDiagram-BXWQKSXE-3L_xNfQr.js} +1 -1
  53. package/dist/{reveal-component-DEOP4BIj.js → reveal-component-CnyvRvqy.js} +900 -900
  54. package/dist/{select-Brvb-RwP.js → select-PQHWLm64.js} +99 -99
  55. package/dist/{sequenceDiagram-WJ2MYXX4-DpgYJzLl.js → sequenceDiagram-WJ2MYXX4-DvzIRlWu.js} +1 -1
  56. package/dist/{spec-BWpscSQi.js → spec-6shN7lEe.js} +4 -4
  57. package/dist/{stateDiagram-D77RDMKH-Btf1jiYb.js → stateDiagram-D77RDMKH-VsHup-Ig.js} +2 -2
  58. package/dist/{stateDiagram-v2-MP3YSRHH-DN9FyEf3.js → stateDiagram-v2-MP3YSRHH-BwIIR8nk.js} +2 -2
  59. package/dist/{static-state-BhCfPRoz.js → static-state-CWXd6dYX.js} +9 -9
  60. package/dist/{swimlanes-42K2YHIH-2l_tR9qL.js → swimlanes-42K2YHIH-DhSDCIWI.js} +1 -1
  61. package/dist/{swimlanesDiagram-VR7AAH4N-BAkmv8kE.js → swimlanesDiagram-VR7AAH4N-C2WGVm-W.js} +2 -2
  62. package/dist/{timeline-definition-24CTP7MA-AxSxEOhx.js → timeline-definition-24CTP7MA-DhUhNinO.js} +1 -1
  63. package/dist/{toast-DOWc3HtU.js → toast-BGvv7tKS.js} +153 -153
  64. package/dist/{tooltip-DsQZP310.js → tooltip-CiJ919pg.js} +62 -62
  65. package/dist/{use-restore-focus-CTa7IRP6.js → use-restore-focus-BLj45Ibw.js} +75 -75
  66. package/dist/{useDateFormatter-CRuBYwR6.js → useDateFormatter-C659lkax.js} +2 -2
  67. package/dist/{useDeepCompareMemoize-B2RNcTmn.js → useDeepCompareMemoize-CDhinwm7.js} +1 -1
  68. package/dist/{useLifecycle-Bw0JtmoB.js → useLifecycle-mKiMNa4V.js} +1 -1
  69. package/dist/{vega-component-BV9sYHhU.js → vega-component-CWvQ7wBJ.js} +6 -6
  70. package/dist/{vennDiagram-4TSXK5OY-oHztO7MH.js → vennDiagram-4TSXK5OY-exvBF8P5.js} +1 -1
  71. package/dist/{wardleyDiagram-VM6X3IG4-DWeEjZSc.js → wardleyDiagram-VM6X3IG4-BFhJmnXo.js} +1 -1
  72. package/dist/{xychartDiagram-S5SC5T6Z-ESBlsY9i.js → xychartDiagram-S5SC5T6Z-D_xAdG6u.js} +1 -1
  73. package/package.json +1 -1
  74. package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +23 -0
  75. package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -3
  76. package/src/components/editor/controls/Controls.tsx +5 -2
  77. package/src/components/editor/notebook-cell.tsx +7 -21
  78. package/src/components/editor/renderers/grid-layout/grid-layout.tsx +2 -7
  79. package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +2 -4
  80. package/src/components/slides/minimap.tsx +2 -3
  81. package/src/components/slides/reveal-component.tsx +2 -3
  82. package/src/components/slides/slide-cell-view.tsx +5 -12
  83. package/src/core/cells/__tests__/cell.test.ts +8 -51
  84. package/src/core/cells/__tests__/utils.test.ts +27 -18
  85. package/src/core/cells/cell.ts +6 -12
  86. package/src/core/cells/cells.ts +5 -3
  87. package/src/core/cells/utils.ts +61 -55
  88. package/src/core/config/config.ts +4 -0
  89. package/src/core/executions/__tests__/hooks.test.tsx +48 -2
  90. package/src/core/executions/__tests__/select.test.ts +0 -17
  91. package/src/core/executions/hooks.ts +24 -0
  92. package/src/core/executions/index.ts +2 -0
  93. package/src/core/executions/select.ts +0 -5
@@ -2,29 +2,29 @@ import { a as e } from "./rolldown-runtime-BPCzCO3I.js";
2
2
  import { g as t, h as n, i as r, m as i, t as a } from "./button-qQhINE7z.js";
3
3
  import { t as o } from "./react-Bgs_wQh3.js";
4
4
  import { t as s } from "./compiler-runtime-C5KHtL5D.js";
5
- import { h as c, t as l } from "./tooltip-DsQZP310.js";
6
- import { $ as u, Q as d, Sn as f, an as p, et as m, i as h, l as g, n as _, on as v, r as y, t as b, u as x, vn as S, yn as C } from "./common-iWYyPuv_.js";
7
- import { M as w } from "./select-Brvb-RwP.js";
8
- import { X as T } from "./dropdown-menu-DzhAnAhr.js";
9
- import { Nt as E } from "./error-entries-BbxtqUQ4.js";
10
- import { t as D } from "./jsx-runtime-D8btoEHk.js";
11
- import { Bt as O, Lt as k, f as A, i as ee } from "./use-restore-focus-CTa7IRP6.js";
12
- import { t as j } from "./useEvent-BoN7U38T.js";
13
- import { o as te } from "./static-state-BhCfPRoz.js";
14
- import { n as ne, t as re } from "./code-visibility-BMMvUEE0.js";
5
+ import { h as c, t as l } from "./tooltip-CiJ919pg.js";
6
+ import { $ as u, Cn as d, Q as f, bn as p, cn as m, et as h, i as g, l as _, n as v, r as y, t as b, u as x, yn as S } from "./common-i_ykKLxU.js";
7
+ import { M as C } from "./select-PQHWLm64.js";
8
+ import { X as ee } from "./dropdown-menu-B12Nf3Zf.js";
9
+ import { Nt as w } from "./error-entries-DMgIKuK1.js";
10
+ import { t as T } from "./jsx-runtime-D8btoEHk.js";
11
+ import { Rt as E, Vt as D, f as O, i as k } from "./use-restore-focus-BLj45Ibw.js";
12
+ import { t as A } from "./useEvent-BoN7U38T.js";
13
+ import { o as te } from "./static-state-CWXd6dYX.js";
14
+ import { n as ne, t as re } from "./code-visibility-CmfNaZAX.js";
15
15
  /* empty css */
16
- var M = c("sticky-note", [["path", {
16
+ var j = c("sticky-note", [["path", {
17
17
  d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
18
18
  key: "1dfntj"
19
19
  }], ["path", {
20
20
  d: "M15 3v5a1 1 0 0 0 1 1h5",
21
21
  key: "6s6qgf"
22
- }]]), N = /* @__PURE__ */ e(o(), 1), ie = s(), ae = (e, t) => {
22
+ }]]), M = /* @__PURE__ */ e(o(), 1), N = s(), ie = (e, t) => {
23
23
  for (let n in t) e[n] = t[n];
24
24
  return e;
25
- }, P = (e, t) => Array.from(e.querySelectorAll(t)), oe = (e, t, n) => {
25
+ }, P = (e, t) => Array.from(e.querySelectorAll(t)), ae = (e, t, n) => {
26
26
  n ? e.classList.add(t) : e.classList.remove(t);
27
- }, se = (e) => {
27
+ }, oe = (e) => {
28
28
  if (typeof e == "string") {
29
29
  if (e === "null") return null;
30
30
  if (e === "true") return !0;
@@ -32,23 +32,23 @@ var M = c("sticky-note", [["path", {
32
32
  if (e.match(/^-?[\d\.]+$/)) return parseFloat(e);
33
33
  }
34
34
  return e;
35
- }, ce = (e, t) => {
35
+ }, se = (e, t) => {
36
36
  e.style.transform = t;
37
- }, F = (e, t) => {
37
+ }, ce = (e, t) => {
38
38
  let n = e.matches || e.matchesSelector || e.msMatchesSelector;
39
39
  return !!(n && n.call(e, t));
40
- }, I = (e, t) => {
40
+ }, F = (e, t) => {
41
41
  if (e && typeof e.closest == "function") return e.closest(t);
42
42
  for (; e;) {
43
- if (F(e, t)) return e;
43
+ if (ce(e, t)) return e;
44
44
  e = e.parentElement;
45
45
  }
46
46
  return null;
47
- }, le = (e) => {
47
+ }, I = (e) => {
48
48
  e ||= document.documentElement;
49
49
  let t = e.requestFullscreen || e.webkitRequestFullscreen || e.webkitRequestFullScreen || e.mozRequestFullScreen || e.msRequestFullscreen;
50
50
  t && t.apply(e);
51
- }, ue = (e, t, n, r = "") => {
51
+ }, le = (e, t, n, r = "") => {
52
52
  let i = e.querySelectorAll("." + n);
53
53
  for (let t = 0; t < i.length; t++) {
54
54
  let n = i[t];
@@ -56,10 +56,10 @@ var M = c("sticky-note", [["path", {
56
56
  }
57
57
  let a = document.createElement(t);
58
58
  return a.className = n, a.innerHTML = r, e.appendChild(a), a;
59
- }, de = (e) => {
59
+ }, ue = (e) => {
60
60
  let t = document.createElement("style");
61
61
  return e && e.length > 0 && t.appendChild(document.createTextNode(e)), document.head.appendChild(t), t;
62
- }, fe = () => {
62
+ }, de = () => {
63
63
  let e = {};
64
64
  location.search.replace(/[A-Z0-9]+?=([\w\.%-]*)/gi, (t) => {
65
65
  let n = t.split("=").shift(), r = t.split("=").pop();
@@ -67,27 +67,27 @@ var M = c("sticky-note", [["path", {
67
67
  });
68
68
  for (let t in e) {
69
69
  let n = e[t];
70
- e[t] = se(unescape(n));
70
+ e[t] = oe(unescape(n));
71
71
  }
72
72
  return e.dependencies !== void 0 && delete e.dependencies, e;
73
- }, pe = (e, t = 0) => {
73
+ }, fe = (e, t = 0) => {
74
74
  if (e) {
75
75
  let n, r = e.style.height;
76
76
  return e.style.height = "0px", e.parentElement && (e.parentElement.style.height = "auto"), n = t - (e.parentElement?.offsetHeight || 0), e.style.height = r + "px", e.parentElement && e.parentElement.style.removeProperty("height"), n;
77
77
  }
78
78
  return t;
79
- }, me = {
79
+ }, pe = {
80
80
  mp4: "video/mp4",
81
81
  m4a: "video/mp4",
82
82
  ogv: "video/ogg",
83
83
  mpeg: "video/mpeg",
84
84
  webm: "video/webm"
85
- }, he = (e = "") => {
85
+ }, me = (e = "") => {
86
86
  let t = e.split(".").pop();
87
- return t ? me[t] : void 0;
88
- }, ge = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), _e = navigator.userAgent, ve = /(iphone|ipod|ipad|android)/gi.test(_e) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
- /chrome/i.test(_e) && /edge/i.test(_e);
90
- var ye = /android/gi.test(_e), be = function(e) {
87
+ return t ? pe[t] : void 0;
88
+ }, he = (e = "") => encodeURI(e).replace(/%5B/g, "[").replace(/%5D/g, "]").replace(/[!'()*]/g, (e) => `%${e.charCodeAt(0).toString(16).toUpperCase()}`), ge = navigator.userAgent, _e = /(iphone|ipod|ipad|android)/gi.test(ge) || navigator.platform === "MacIntel" && navigator.maxTouchPoints > 1;
89
+ /chrome/i.test(ge) && /edge/i.test(ge);
90
+ var ve = /android/gi.test(ge), ye = function(e) {
91
91
  if (e) {
92
92
  var t = function(e) {
93
93
  return [].slice.call(e);
@@ -166,17 +166,17 @@ var ye = /android/gi.test(_e), be = function(e) {
166
166
  childList: !0,
167
167
  characterData: !0
168
168
  }
169
- }, w = null, T = function() {
170
- e.clearTimeout(w), w = e.setTimeout(l(i), O.observeWindowDelay);
171
- }, E = ["resize", "orientationchange"];
172
- return Object.defineProperty(O, "observeWindow", { set: function(t) {
169
+ }, ee = null, w = function() {
170
+ e.clearTimeout(ee), ee = e.setTimeout(l(i), D.observeWindowDelay);
171
+ }, T = ["resize", "orientationchange"];
172
+ return Object.defineProperty(D, "observeWindow", { set: function(t) {
173
173
  var n = `${t ? "add" : "remove"}EventListener`;
174
- E.forEach((function(t) {
175
- e[n](t, T);
174
+ T.forEach((function(t) {
175
+ e[n](t, w);
176
176
  }));
177
- } }), O.observeWindow = !0, O.observeWindowDelay = 100, O.fitAll = l(a), O;
177
+ } }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
178
178
  }
179
- function D(e, t) {
179
+ function E(e, t) {
180
180
  var n = Object.assign({}, C, t), r = e.map((function(e) {
181
181
  var t = Object.assign({}, n, {
182
182
  element: e,
@@ -198,9 +198,9 @@ var ye = /android/gi.test(_e), be = function(e) {
198
198
  }));
199
199
  return c(), r;
200
200
  }
201
- function O(e) {
201
+ function D(e) {
202
202
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
203
- return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
203
+ return typeof e == "string" ? E(t(document.querySelectorAll(e)), n) : E([e], n)[0];
204
204
  }
205
205
  }(typeof window > "u" ? null : window);
206
206
  function L(e) {
@@ -211,7 +211,7 @@ function L(e) {
211
211
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
212
212
  }, L(e);
213
213
  }
214
- function xe(e, t) {
214
+ function be(e, t) {
215
215
  if (L(e) != "object" || !e) return e;
216
216
  var n = e[Symbol.toPrimitive];
217
217
  if (n !== void 0) {
@@ -221,21 +221,21 @@ function xe(e, t) {
221
221
  }
222
222
  return (t === "string" ? String : Number)(e);
223
223
  }
224
- function Se(e) {
225
- var t = xe(e, "string");
224
+ function xe(e) {
225
+ var t = be(e, "string");
226
226
  return L(t) == "symbol" ? t : t + "";
227
227
  }
228
- function Ce(e, t, n) {
229
- return (t = Se(t)) in e ? Object.defineProperty(e, t, {
228
+ function Se(e, t, n) {
229
+ return (t = xe(t)) in e ? Object.defineProperty(e, t, {
230
230
  value: n,
231
231
  enumerable: !0,
232
232
  configurable: !0,
233
233
  writable: !0
234
234
  }) : e[t] = n, e;
235
235
  }
236
- var R = class {
236
+ var Ce = class {
237
237
  constructor(e) {
238
- Ce(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
238
+ Se(this, "allowedToPlayAudio", null), this.Reveal = e, this.startEmbeddedMedia = this.startEmbeddedMedia.bind(this), this.startEmbeddedIframe = this.startEmbeddedIframe.bind(this), this.preventIframeAutoFocus = this.preventIframeAutoFocus.bind(this), this.ensureMobileMediaPlaying = this.ensureMobileMediaPlaying.bind(this), this.failedAudioPlaybackTargets = /* @__PURE__ */ new Set(), this.failedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.failedMutedVideoPlaybackTargets = /* @__PURE__ */ new Set(), this.renderMediaPlayButton();
239
239
  }
240
240
  renderMediaPlayButton() {
241
241
  this.mediaPlayButton = document.createElement("button"), this.mediaPlayButton.className = "r-overlay-button r-media-play-button", this.mediaPlayButton.addEventListener("click", () => {
@@ -266,7 +266,7 @@ var R = class {
266
266
  let t = 0;
267
267
  P(e, "source[data-src]").forEach((e) => {
268
268
  e.setAttribute("src", e.getAttribute("data-src")), e.removeAttribute("data-src"), e.setAttribute("data-lazy-loaded", ""), t += 1;
269
- }), ve && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
269
+ }), _e && e.tagName === "VIDEO" && e.setAttribute("playsinline", ""), t > 0 && e.load();
270
270
  });
271
271
  let r = e.slideBackgroundElement;
272
272
  if (r) {
@@ -275,13 +275,13 @@ var R = class {
275
275
  if (r.hasAttribute("data-loaded") === !1) {
276
276
  r.setAttribute("data-loaded", "true");
277
277
  let a = e.getAttribute("data-background-image"), o = e.getAttribute("data-background-video"), s = e.hasAttribute("data-background-video-loop"), c = e.hasAttribute("data-background-video-muted");
278
- if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${ge(decodeURI(e.trim()))})`).join(",");
278
+ if (a) /^data:/.test(a.trim()) ? n.style.backgroundImage = `url(${a.trim()})` : n.style.backgroundImage = a.split(",").map((e) => `url(${he(decodeURI(e.trim()))})`).join(",");
279
279
  else if (o) {
280
280
  let e = document.createElement("video");
281
- s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), ve && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
281
+ s && e.setAttribute("loop", ""), (c || this.Reveal.isSpeakerNotes()) && (e.muted = !0), _e && e.setAttribute("playsinline", ""), o.split(",").forEach((t) => {
282
282
  let n = document.createElement("source");
283
283
  n.setAttribute("src", t);
284
- let r = he(t);
284
+ let r = me(t);
285
285
  r && n.setAttribute("type", r), e.appendChild(n);
286
286
  }), n.appendChild(e);
287
287
  } else if (i && t.excludeIframes !== !0) {
@@ -296,7 +296,7 @@ var R = class {
296
296
  }
297
297
  layout(e) {
298
298
  Array.from(e.querySelectorAll(".r-fit-text")).forEach((e) => {
299
- be(e, {
299
+ ye(e, {
300
300
  minSize: 24,
301
301
  maxSize: this.Reveal.getConfig().height * .8,
302
302
  observeMutations: !1,
@@ -330,16 +330,16 @@ var R = class {
330
330
  P(e, "img[src$=\".gif\"]").forEach((e) => {
331
331
  e.setAttribute("src", e.getAttribute("src"));
332
332
  }), P(e, "video, audio").forEach((e) => {
333
- if (I(e, ".fragment") && !I(e, ".fragment.visible")) return;
333
+ if (F(e, ".fragment") && !F(e, ".fragment.visible")) return;
334
334
  let n = this.Reveal.getConfig().autoPlayMedia;
335
- if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!I(e, ".slide-background")), n && typeof e.play == "function") {
335
+ if (typeof n != "boolean" && (n = e.hasAttribute("data-autoplay") || !!F(e, ".slide-background")), n && typeof e.play == "function") {
336
336
  if (t && !e.muted) return;
337
- e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : ve ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
337
+ e.readyState > 1 ? this.startEmbeddedMedia({ target: e }) : _e ? (e.addEventListener("canplay", this.ensureMobileMediaPlaying), this.playMediaElement(e)) : (e.removeEventListener("loadeddata", this.startEmbeddedMedia), e.addEventListener("loadeddata", this.startEmbeddedMedia));
338
338
  }
339
339
  }), t || (P(e, "iframe[src]").forEach((e) => {
340
- I(e, ".fragment") && !I(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
340
+ F(e, ".fragment") && !F(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
341
341
  }), P(e, "iframe[data-src]").forEach((e) => {
342
- 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
+ F(e, ".fragment") && !F(e, ".fragment.visible") || e.getAttribute("src") !== e.getAttribute("data-src") && (e.removeEventListener("load", this.startEmbeddedIframe), e.addEventListener("load", this.startEmbeddedIframe), e.setAttribute("src", e.getAttribute("data-src")));
343
343
  }));
344
344
  }
345
345
  }
@@ -351,7 +351,7 @@ var R = class {
351
351
  }, 1e3);
352
352
  }
353
353
  startEmbeddedMedia(e) {
354
- let t = !!I(e.target, "html"), n = !!I(e.target, ".present");
354
+ let t = !!F(e.target, "html"), n = !!F(e.target, ".present");
355
355
  t && n && (e.target.paused || e.target.ended) && (e.target.currentTime = 0, this.playMediaElement(e.target)), e.target.removeEventListener("loadeddata", this.startEmbeddedMedia);
356
356
  }
357
357
  playMediaElement(e) {
@@ -362,7 +362,7 @@ var R = class {
362
362
  if (t.name === "NotAllowedError") {
363
363
  if (this.allowedToPlayAudio = !1, e.tagName === "VIDEO") {
364
364
  this.onVideoPlaybackNotAllowed(e);
365
- let t = !!I(e, "html"), n = !!I(e, ".present"), r = e.muted;
365
+ let t = !!F(e, "html"), n = !!F(e, ".present"), r = e.muted;
366
366
  t && n && !r && (e.setAttribute("data-muted-by-reveal", "true"), e.muted = !0, e.play().catch(() => {
367
367
  this.onMutedVideoPlaybackNotAllowed(e);
368
368
  }));
@@ -373,16 +373,16 @@ var R = class {
373
373
  startEmbeddedIframe(e) {
374
374
  let t = e.target;
375
375
  if (this.preventIframeAutoFocus(e), t && t.contentWindow) {
376
- let n = !!I(e.target, "html"), r = !!I(e.target, ".present");
376
+ let n = !!F(e.target, "html"), r = !!F(e.target, ".present");
377
377
  if (n && r) {
378
378
  let e = this.Reveal.getConfig().autoPlayMedia;
379
- typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!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
+ typeof e != "boolean" && (e = t.hasAttribute("data-autoplay") || !!F(t, ".slide-background")), /youtube\.com\/embed\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"event\":\"command\",\"func\":\"playVideo\",\"args\":\"\"}", "*") : /player\.vimeo\.com\//.test(t.getAttribute("src")) && e ? t.contentWindow.postMessage("{\"method\":\"play\"}", "*") : t.contentWindow.postMessage("slide:start", "*");
380
380
  }
381
381
  }
382
382
  }
383
383
  stopEmbeddedContent(e, t = {}) {
384
- t = ae({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
385
- !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), ve && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
384
+ t = ie({ unloadIframes: !0 }, t), e && e.parentNode && (P(e, "video, audio").forEach((e) => {
385
+ !e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(), _e && e.removeEventListener("canplay", this.ensureMobileMediaPlaying));
386
386
  }), P(e, "iframe").forEach((e) => {
387
387
  e.contentWindow && e.contentWindow.postMessage("slide:stop", "*"), e.removeEventListener("load", this.preventIframeAutoFocus), e.removeEventListener("load", this.startEmbeddedIframe);
388
388
  }), P(e, "iframe[src*=\"youtube.com/embed/\"]").forEach((e) => {
@@ -433,7 +433,7 @@ var R = class {
433
433
  afterSlideChanged() {
434
434
  this.clearMediaPlaybackErrors();
435
435
  }
436
- }, z = ".slides section", B = ".slides>section", we = ".slides>section.present>section", Te = ".backgrounds>.slide-background", Ee = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, De = class {
436
+ }, R = ".slides section", z = ".slides>section", we = ".slides>section.present>section", Te = ".backgrounds>.slide-background", Ee = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview|previewIframe/, De = class {
437
437
  constructor(e) {
438
438
  this.Reveal = e;
439
439
  }
@@ -535,7 +535,7 @@ var R = class {
535
535
  onBlur() {
536
536
  setTimeout(() => this.hide(), 1);
537
537
  }
538
- }, V = (e) => {
538
+ }, B = (e) => {
539
539
  let t = e.match(/^#([0-9a-f]{3})$/i);
540
540
  if (t && t[1]) {
541
541
  let e = t[1];
@@ -567,7 +567,7 @@ var R = class {
567
567
  b: parseInt(i[3], 10),
568
568
  a: parseFloat(i[4])
569
569
  } : null;
570
- }, ke = (e) => (typeof e == "string" && (e = V(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Ae = class {
570
+ }, V = (e) => (typeof e == "string" && (e = B(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), ke = class {
571
571
  constructor(e) {
572
572
  this.Reveal = e;
573
573
  }
@@ -610,13 +610,13 @@ var R = class {
610
610
  }
611
611
  getContrastClass(e) {
612
612
  let t = e.slideBackgroundElement, n = e.getAttribute("data-background-color");
613
- if (!n || !V(n)) {
613
+ if (!n || !B(n)) {
614
614
  let e = window.getComputedStyle(t);
615
615
  e && e.backgroundColor && (n = e.backgroundColor);
616
616
  }
617
617
  if (n) {
618
- let e = V(n);
619
- if (e && e.a !== 0) return ke(n) < 128 ? "has-dark-background" : "has-light-background";
618
+ let e = B(n);
619
+ if (e && e.a !== 0) return V(n) < 128 ? "has-dark-background" : "has-light-background";
620
620
  }
621
621
  return null;
622
622
  }
@@ -672,7 +672,7 @@ var R = class {
672
672
  destroy() {
673
673
  this.element.remove();
674
674
  }
675
- }, je = 0, Me = class {
675
+ }, Ae = 0, je = class {
676
676
  constructor(e) {
677
677
  this.Reveal = e;
678
678
  }
@@ -680,17 +680,17 @@ var R = class {
680
680
  this.reset();
681
681
  let n = this.Reveal.getSlides(), r = n.indexOf(t), i = n.indexOf(e);
682
682
  if (e && t && e.hasAttribute("data-auto-animate") && t.hasAttribute("data-auto-animate") && e.getAttribute("data-auto-animate-id") === t.getAttribute("data-auto-animate-id") && !(r > i ? t : e).hasAttribute("data-auto-animate-restart")) {
683
- this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || de();
683
+ this.autoAnimateStyleSheet = this.autoAnimateStyleSheet || ue();
684
684
  let n = this.getAutoAnimateOptions(t);
685
685
  e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
686
686
  let a = e.style.display === "none";
687
687
  a && (e.style.display = this.Reveal.getConfig().display);
688
- let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, je++));
688
+ let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, Ae++));
689
689
  if (a && (e.style.display = "none"), t.dataset.autoAnimateUnmatched !== "false" && this.Reveal.getConfig().autoAnimateUnmatched === !0) {
690
690
  let e = n.duration * .8, r = n.duration * .2;
691
691
  this.getUnmatchedAutoAnimateElements(t).forEach((e) => {
692
692
  let t = this.getAutoAnimateOptions(e, n), r = "unmatched";
693
- (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + je++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
693
+ (t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + Ae++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
694
694
  }, this), o.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${e}s ease ${r}s; }`);
695
695
  }
696
696
  this.autoAnimateStyleSheet.innerHTML = o.join(""), requestAnimationFrame(() => {
@@ -749,8 +749,8 @@ var R = class {
749
749
  duration: this.Reveal.getConfig().autoAnimateDuration,
750
750
  delay: 0
751
751
  };
752
- if (n = ae(n, t), e.parentNode) {
753
- let t = I(e.parentNode, "[data-auto-animate-target]");
752
+ if (n = ie(n, t), e.parentNode) {
753
+ let t = F(e.parentNode, "[data-auto-animate-target]");
754
754
  t && (n = this.getAutoAnimateOptions(t, n));
755
755
  }
756
756
  return e.dataset.autoAnimateEasing && (n.easing = e.dataset.autoAnimateEasing), e.dataset.autoAnimateDuration && (n.duration = parseFloat(e.dataset.autoAnimateDuration)), e.dataset.autoAnimateDelay && (n.delay = parseFloat(e.dataset.autoAnimateDelay)), n;
@@ -793,7 +793,7 @@ var R = class {
793
793
  getAutoAnimatePairs(e, t) {
794
794
  let n = [], r = "h1, h2, h3, h4, h5, h6, p, li";
795
795
  return this.findAutoAnimateMatches(n, e, t, "[data-id]", (e) => e.nodeName + ":::" + e.getAttribute("data-id")), this.findAutoAnimateMatches(n, e, t, r, (e) => e.nodeName + ":::" + e.textContent.trim()), this.findAutoAnimateMatches(n, e, t, "img, video, iframe", (e) => e.nodeName + ":::" + (e.getAttribute("src") || e.getAttribute("data-src"))), this.findAutoAnimateMatches(n, e, t, "pre", (e) => e.nodeName + ":::" + e.textContent.trim()), n.forEach((e) => {
796
- F(e.from, r) ? e.options = { scale: !1 } : F(e.from, "pre") && (e.options = {
796
+ ce(e.from, r) ? e.options = { scale: !1 } : ce(e.from, "pre") && (e.options = {
797
797
  scale: !1,
798
798
  styles: ["width", "height"]
799
799
  }, this.findAutoAnimateMatches(n, e.from, e.to, ".hljs .hljs-ln-code", (e) => e.textContent, {
@@ -842,7 +842,7 @@ var R = class {
842
842
  return !t.hasAttribute("data-auto-animate-target") && !n && e.push(t), t.querySelector("[data-auto-animate-target]") && (e = e.concat(this.getUnmatchedAutoAnimateElements(t))), e;
843
843
  }, []);
844
844
  }
845
- }, Ne = 500, Pe = 4, Fe = 6, Ie = 8, Le = class {
845
+ }, Me = 500, Ne = 4, Pe = 6, Fe = 8, Ie = class {
846
846
  constructor(e) {
847
847
  this.Reveal = e, this.active = !1, this.activeProgressBarPage = null, this.activeProgressBarTrigger = null, this.activatedCallbacks = [], this.onScroll = this.onScroll.bind(this);
848
848
  }
@@ -850,7 +850,7 @@ var R = class {
850
850
  if (this.active) return;
851
851
  let e = this.Reveal.getState();
852
852
  this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
853
- let t = P(this.Reveal.getRevealElement(), B), n = P(this.Reveal.getRevealElement(), Te);
853
+ let t = P(this.Reveal.getRevealElement(), z), n = P(this.Reveal.getRevealElement(), Te);
854
854
  this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
855
855
  let r, i = window.getComputedStyle(this.viewportElement);
856
856
  i && i.background && (r = i.background);
@@ -975,9 +975,9 @@ var R = class {
975
975
  e.progressBarSlide = null, e.scrollTriggers.forEach((e) => e.progressBarElement = null);
976
976
  });
977
977
  let e = this.viewportElement.scrollHeight, t = this.viewportElement.offsetHeight, n = t / e;
978
- this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Ie), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
- let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Pe);
980
- this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Fe && this.slideTriggers.forEach((e) => {
978
+ this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Fe), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
979
+ let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Ne);
980
+ this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > Pe && this.slideTriggers.forEach((e) => {
981
981
  let { page: t } = e;
982
982
  t.progressBarSlide = document.createElement("div"), t.progressBarSlide.className = "scrollbar-slide", t.progressBarSlide.style.top = e.range[0] * this.progressBarHeight + "px", t.progressBarSlide.style.height = (e.range[1] - e.range[0]) * this.progressBarHeight - i + "px", t.progressBarSlide.classList.toggle("has-triggers", t.scrollTriggers.length > 0), this.progressBarInner.appendChild(t.progressBarSlide), t.scrollTriggers.forEach((n, r) => {
983
983
  let a = document.createElement("div");
@@ -1010,7 +1010,7 @@ var R = class {
1010
1010
  showProgressBar() {
1011
1011
  this.progressBar.classList.add("visible"), clearTimeout(this.hideProgressBarTimeout), this.Reveal.getConfig().scrollProgress === "auto" && !this.draggingProgressBar && (this.hideProgressBarTimeout = setTimeout(() => {
1012
1012
  this.progressBar && this.progressBar.classList.remove("visible");
1013
- }, Ne));
1013
+ }, Me));
1014
1014
  }
1015
1015
  prev() {
1016
1016
  this.viewportElement.scrollTop -= this.scrollTriggerHeight;
@@ -1071,7 +1071,7 @@ var R = class {
1071
1071
  return this.Reveal.getViewportElement();
1072
1072
  }
1073
1073
  };
1074
- function H(e, t, n, r, i, a, o) {
1074
+ function Le(e, t, n, r, i, a, o) {
1075
1075
  try {
1076
1076
  var s = e[a](o), c = s.value;
1077
1077
  } catch (e) {
@@ -1080,30 +1080,30 @@ function H(e, t, n, r, i, a, o) {
1080
1080
  }
1081
1081
  s.done ? t(c) : Promise.resolve(c).then(r, i);
1082
1082
  }
1083
- function Re(e) {
1083
+ function H(e) {
1084
1084
  return function() {
1085
1085
  var t = this, n = arguments;
1086
1086
  return new Promise(function(r, i) {
1087
1087
  var a = e.apply(t, n);
1088
1088
  function o(e) {
1089
- H(a, r, i, o, s, "next", e);
1089
+ Le(a, r, i, o, s, "next", e);
1090
1090
  }
1091
1091
  function s(e) {
1092
- H(a, r, i, o, s, "throw", e);
1092
+ Le(a, r, i, o, s, "throw", e);
1093
1093
  }
1094
1094
  o(void 0);
1095
1095
  });
1096
1096
  };
1097
1097
  }
1098
- var ze = class {
1098
+ var Re = class {
1099
1099
  constructor(e) {
1100
1100
  this.Reveal = e;
1101
1101
  }
1102
1102
  activate() {
1103
1103
  var e = this;
1104
- return Re(function* () {
1105
- let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), z), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
- yield new Promise(requestAnimationFrame), de("@page{size:" + a + "px " + o + "px; margin: 0px;}"), de(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1104
+ return H(function* () {
1105
+ let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(), R), r = t.slideNumber && /all|print/i.test(t.showSlideNumber), i = e.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), a = Math.floor(i.width * (1 + t.margin)), o = Math.floor(i.height * (1 + t.margin)), s = i.width, c = i.height;
1106
+ yield new Promise(requestAnimationFrame), ue("@page{size:" + a + "px " + o + "px; margin: 0px;}"), ue(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + s + "px; max-height:" + c + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = a + "px", document.body.style.height = o + "px";
1107
1107
  let l = e.Reveal.getViewportElement(), u;
1108
1108
  if (l) {
1109
1109
  let e = window.getComputedStyle(l);
@@ -1156,7 +1156,7 @@ var ze = class {
1156
1156
  isActive() {
1157
1157
  return this.Reveal.getConfig().view === "print";
1158
1158
  }
1159
- }, Be = class {
1159
+ }, ze = class {
1160
1160
  constructor(e) {
1161
1161
  this.Reveal = e;
1162
1162
  }
@@ -1279,13 +1279,13 @@ var ze = class {
1279
1279
  prev() {
1280
1280
  return this.goto(null, -1);
1281
1281
  }
1282
- }, Ve = class {
1282
+ }, Be = class {
1283
1283
  constructor(e) {
1284
1284
  this.Reveal = e, this.active = !1, this.onSlideClicked = this.onSlideClicked.bind(this);
1285
1285
  }
1286
1286
  activate() {
1287
1287
  if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
1288
- this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), z).forEach((e) => {
1288
+ this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), R).forEach((e) => {
1289
1289
  e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
1290
1290
  });
1291
1291
  let e = this.Reveal.getComputedSlideSize();
@@ -1303,12 +1303,12 @@ var ze = class {
1303
1303
  }
1304
1304
  layout() {
1305
1305
  this.Reveal.getHorizontalSlides().forEach((e, t) => {
1306
- e.setAttribute("data-index-h", t), ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1307
- e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), ce(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1306
+ e.setAttribute("data-index-h", t), se(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), e.classList.contains("stack") && P(e, "section").forEach((e, n) => {
1307
+ e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n), se(e, "translate3d(0, " + n * this.overviewSlideHeight + "px, 0)");
1308
1308
  });
1309
1309
  }), Array.from(this.Reveal.getBackgroundsElement().childNodes).forEach((e, t) => {
1310
- ce(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1311
- ce(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1310
+ se(e, "translate3d(" + t * this.overviewSlideWidth + "px, 0, 0)"), P(e, ".slide-background").forEach((e, t) => {
1311
+ se(e, "translate3d(0, " + t * this.overviewSlideHeight + "px, 0)");
1312
1312
  });
1313
1313
  });
1314
1314
  }
@@ -1324,10 +1324,10 @@ var ze = class {
1324
1324
  if (this.Reveal.getConfig().overview) {
1325
1325
  this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
1326
1326
  this.Reveal.getRevealElement().classList.remove("overview-deactivating");
1327
- }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), z).forEach((e) => {
1328
- ce(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1327
+ }, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), P(this.Reveal.getRevealElement(), R).forEach((e) => {
1328
+ se(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
1329
1329
  }), P(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
1330
- ce(e, "");
1330
+ se(e, "");
1331
1331
  }), this.Reveal.transformSlides({ overview: "" });
1332
1332
  let e = this.Reveal.getIndices();
1333
1333
  this.Reveal.slide(e.h, e.v), this.Reveal.layout(), this.Reveal.cueAutoSlide(), this.Reveal.dispatchEvent({
@@ -1357,7 +1357,7 @@ var ze = class {
1357
1357
  }
1358
1358
  }
1359
1359
  }
1360
- }, He = class {
1360
+ }, Ve = class {
1361
1361
  constructor(e) {
1362
1362
  this.Reveal = e, this.shortcuts = {}, this.bindings = {}, this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
1363
1363
  }
@@ -1447,10 +1447,10 @@ var ze = class {
1447
1447
  66,
1448
1448
  86,
1449
1449
  190
1450
- ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? le(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1450
+ ].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? I(t.embedded ? this.Reveal.getViewportElement() : document.documentElement) : n === 65 ? t.autoSlideStoppable && this.Reveal.toggleAutoSlide(r) : n === 71 ? t.jumpToSlide && this.Reveal.toggleJumpToSlide() : n === 67 && this.Reveal.isOverlayOpen() ? this.Reveal.closeOverlay() : (n === 63 || n === 191) && e.shiftKey || n === 112 ? this.Reveal.toggleHelp() : d = !1), d ? e.preventDefault && e.preventDefault() : n === 27 || n === 79 ? (this.Reveal.closeOverlay() === !1 && this.Reveal.overview.toggle(), e.preventDefault && e.preventDefault()) : n === 13 && this.Reveal.overview.isActive() && (this.Reveal.overview.deactivate(), e.preventDefault && e.preventDefault()), this.Reveal.cueAutoSlide();
1451
1451
  }
1452
1452
  };
1453
- function Ue(e, t) {
1453
+ function He(e, t) {
1454
1454
  var n = Object.keys(e);
1455
1455
  if (Object.getOwnPropertySymbols) {
1456
1456
  var r = Object.getOwnPropertySymbols(e);
@@ -1460,12 +1460,12 @@ function Ue(e, t) {
1460
1460
  }
1461
1461
  return n;
1462
1462
  }
1463
- function U(e) {
1463
+ function Ue(e) {
1464
1464
  for (var t = 1; t < arguments.length; t++) {
1465
1465
  var n = arguments[t] == null ? {} : arguments[t];
1466
- t % 2 ? Ue(Object(n), !0).forEach(function(t) {
1467
- Ce(e, t, n[t]);
1468
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : Ue(Object(n)).forEach(function(t) {
1466
+ t % 2 ? He(Object(n), !0).forEach(function(t) {
1467
+ Se(e, t, n[t]);
1468
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : He(Object(n)).forEach(function(t) {
1469
1469
  Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(n, t));
1470
1470
  });
1471
1471
  }
@@ -1473,7 +1473,7 @@ function U(e) {
1473
1473
  }
1474
1474
  var We = class {
1475
1475
  constructor(e) {
1476
- Ce(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1476
+ Se(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
1477
1477
  }
1478
1478
  bind() {
1479
1479
  window.addEventListener("hashchange", this.onWindowHashChange, !1);
@@ -1490,7 +1490,7 @@ var We = class {
1490
1490
  let t = decodeURIComponent(n);
1491
1491
  e = (document.getElementById(t) || document.querySelector(`[data-id="${t}"]`)).closest(".slides section");
1492
1492
  } catch {}
1493
- if (e) return U(U({}, this.Reveal.getIndices(e)), {}, { f: t });
1493
+ if (e) return Ue(Ue({}, this.Reveal.getIndices(e)), {}, { f: t });
1494
1494
  } else {
1495
1495
  let e = this.Reveal.getConfig(), n = e.hashOneBasedIndex || t.oneBasedIndex ? 1 : 0, i = parseInt(r[0], 10) - n || 0, a = parseInt(r[1], 10) - n || 0, o;
1496
1496
  return e.fragmentInURL && (o = parseInt(r[2], 10), isNaN(o) && (o = void 0)), {
@@ -1550,7 +1550,7 @@ var We = class {
1550
1550
  }
1551
1551
  bind() {
1552
1552
  let e = ["touchstart", "click"];
1553
- ye && (e = ["touchend"]), e.forEach((e) => {
1553
+ ve && (e = ["touchend"]), e.forEach((e) => {
1554
1554
  this.controlsLeft.forEach((t) => t.addEventListener(e, this.onNavigateLeftClicked, !1)), this.controlsRight.forEach((t) => t.addEventListener(e, this.onNavigateRightClicked, !1)), this.controlsUp.forEach((t) => t.addEventListener(e, this.onNavigateUpClicked, !1)), this.controlsDown.forEach((t) => t.addEventListener(e, this.onNavigateDownClicked, !1)), this.controlsPrev.forEach((t) => t.addEventListener(e, this.onNavigatePrevClicked, !1)), this.controlsNext.forEach((t) => t.addEventListener(e, this.onNavigateNextClicked, !1)), this.controlsFullscreen.forEach((t) => t.addEventListener(e, this.onEnterFullscreen, !1));
1555
1555
  });
1556
1556
  }
@@ -1634,7 +1634,7 @@ var We = class {
1634
1634
  }
1635
1635
  onEnterFullscreen(e) {
1636
1636
  let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
1637
- le(t.embedded ? n : n.parentElement);
1637
+ I(t.embedded ? n : n.parentElement);
1638
1638
  }
1639
1639
  }, Ke = class {
1640
1640
  constructor(e) {
@@ -1916,7 +1916,7 @@ var We = class {
1916
1916
  destroy() {
1917
1917
  this.close();
1918
1918
  }
1919
- }, Ze = 40, Qe = 1.03, $e = class {
1919
+ }, U = 40, Ze = 1.03, Qe = class {
1920
1920
  constructor(e) {
1921
1921
  this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.activePointers = /* @__PURE__ */ new Map(), this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onPointerCancel = this.onPointerCancel.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
1922
1922
  }
@@ -1929,7 +1929,7 @@ var We = class {
1929
1929
  e.removeEventListener("pointerdown", this.onPointerDown, !1), e.removeEventListener("pointermove", this.onPointerMove, !1), e.removeEventListener("pointerup", this.onPointerUp, !1), e.removeEventListener("pointercancel", this.onPointerCancel, !1), e.removeEventListener("touchstart", this.onTouchStart, !1), e.removeEventListener("touchmove", this.onTouchMove, !1), e.removeEventListener("touchend", this.onTouchEnd, !1);
1930
1930
  }
1931
1931
  isSwipePrevented(e) {
1932
- if (F(e, "video[controls], audio[controls]")) return !0;
1932
+ if (ce(e, "video[controls], audio[controls]")) return !0;
1933
1933
  for (; e && typeof e.hasAttribute == "function";) {
1934
1934
  if (e.hasAttribute("data-prevent-swipe")) return !0;
1935
1935
  e = e.parentNode;
@@ -1939,7 +1939,7 @@ var We = class {
1939
1939
  isViewportZoomed() {
1940
1940
  if (!window.visualViewport || typeof window.visualViewport.scale != "number") return !1;
1941
1941
  let e = window.visualViewport.scale;
1942
- return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Qe;
1942
+ return this.visualViewportBaseScale = this.visualViewportBaseScale === void 0 ? e : Math.min(this.visualViewportBaseScale, e), e / this.visualViewportBaseScale > Ze;
1943
1943
  }
1944
1944
  onTouchStart(e) {
1945
1945
  if (this.touchCaptured = !1, this.isSwipePrevented(e.target)) return !0;
@@ -1948,13 +1948,13 @@ var We = class {
1948
1948
  onTouchMove(e) {
1949
1949
  if (this.isSwipePrevented(e.target)) return !0;
1950
1950
  let t = this.Reveal.getConfig();
1951
- if (this.touchCaptured) ye && e.preventDefault();
1951
+ if (this.touchCaptured) ve && e.preventDefault();
1952
1952
  else {
1953
1953
  this.Reveal.onUserInput(e);
1954
1954
  let n = e.touches[0].clientX, r = e.touches[0].clientY;
1955
1955
  if (e.touches.length === 1 && this.touchStartCount !== 2) {
1956
1956
  let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
1957
- a > Ze && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -40 && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > Ze && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1957
+ a > U && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.next() : this.Reveal.prev() : this.Reveal.left()) : a < -40 && Math.abs(a) > Math.abs(o) ? (this.touchCaptured = !0, t.navigationMode === "linear" ? t.rtl ? this.Reveal.prev() : this.Reveal.next() : this.Reveal.right()) : o > U && i.up ? (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.prev() : this.Reveal.up()) : o < -40 && i.down && (this.touchCaptured = !0, t.navigationMode === "linear" ? this.Reveal.next() : this.Reveal.down()), t.embedded ? (this.touchCaptured || this.Reveal.isVerticalSlide()) && e.preventDefault() : e.preventDefault();
1958
1958
  }
1959
1959
  }
1960
1960
  }
@@ -1979,7 +1979,7 @@ var We = class {
1979
1979
  onPointerCancel(e) {
1980
1980
  e.pointerType === "touch" && (this.activePointers.delete(e.pointerId), e.touches = this.getActiveTouches(), this.onTouchEnd(e));
1981
1981
  }
1982
- }, et = "focus", tt = "blur", nt = class {
1982
+ }, $e = "focus", et = "blur", tt = class {
1983
1983
  constructor(e) {
1984
1984
  this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
1985
1985
  }
@@ -1993,13 +1993,13 @@ var We = class {
1993
1993
  this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
1994
1994
  }
1995
1995
  focus() {
1996
- this.state !== et && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = et;
1996
+ this.state !== $e && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = $e;
1997
1997
  }
1998
1998
  blur() {
1999
- this.state !== tt && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = tt;
1999
+ this.state !== et && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = et;
2000
2000
  }
2001
2001
  isFocused() {
2002
- return this.state === et;
2002
+ return this.state === $e;
2003
2003
  }
2004
2004
  destroy() {
2005
2005
  this.Reveal.getRevealElement().classList.remove("focused");
@@ -2008,10 +2008,10 @@ var We = class {
2008
2008
  this.focus();
2009
2009
  }
2010
2010
  onDocumentPointerDown(e) {
2011
- let t = I(e.target, ".reveal");
2011
+ let t = F(e.target, ".reveal");
2012
2012
  (!t || t !== this.Reveal.getRevealElement()) && this.blur();
2013
2013
  }
2014
- }, rt = class {
2014
+ }, nt = class {
2015
2015
  constructor(e) {
2016
2016
  this.Reveal = e;
2017
2017
  }
@@ -2041,7 +2041,7 @@ var We = class {
2041
2041
  destroy() {
2042
2042
  this.element.remove();
2043
2043
  }
2044
- }, it = class {
2044
+ }, rt = class {
2045
2045
  constructor(e, t) {
2046
2046
  this.diameter = 100, this.diameter2 = this.diameter / 2, this.thickness = 6, this.playing = !1, this.progress = 0, this.progressOffset = 1, this.container = e, this.progressCheck = t, this.canvas = document.createElement("canvas"), this.canvas.className = "playback", this.canvas.width = this.diameter, this.canvas.height = this.diameter, this.canvas.style.width = this.diameter2 + "px", this.canvas.style.height = this.diameter2 + "px", this.context = this.canvas.getContext("2d"), this.container.appendChild(this.canvas), this.render();
2047
2047
  }
@@ -2068,7 +2068,7 @@ var We = class {
2068
2068
  destroy() {
2069
2069
  this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
2070
2070
  }
2071
- }, at = {
2071
+ }, it = {
2072
2072
  width: 960,
2073
2073
  height: 700,
2074
2074
  margin: .04,
@@ -2158,8 +2158,8 @@ var We = class {
2158
2158
  pdfPageHeightOffset: -1,
2159
2159
  dependencies: [],
2160
2160
  plugins: []
2161
- }, ot = "6.0.2";
2162
- function st(e, t) {
2161
+ }, at = "6.0.2";
2162
+ function ot(e, t) {
2163
2163
  arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
2164
2164
  let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
2165
2165
  hasNavigatedHorizontally: !1,
@@ -2167,18 +2167,18 @@ function st(e, t) {
2167
2167
  }, d = [], f = 1, p = {
2168
2168
  layout: "",
2169
2169
  overview: ""
2170
- }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new R(n), S = new De(n), C = new Oe(n), w = new Me(n), T = new Ae(n), E = new Le(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new He(n), ee = new We(n), j = new Ge(n), te = new Ke(n), ne = new qe(n), re = new Ye(n), M = new Xe(n), N = new nt(n), ie = new $e(n), F = new rt(n);
2171
- function le(a) {
2170
+ }, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new Ce(n), S = new De(n), C = new Oe(n), ee = new je(n), w = new ke(n), T = new Ie(n), E = new Re(n), D = new ze(n), O = new Be(n), k = new Ve(n), A = new We(n), te = new Ge(n), ne = new Ke(n), re = new qe(n), j = new Ye(n), M = new Xe(n), N = new tt(n), ce = new Qe(n), I = new nt(n);
2171
+ function ue(a) {
2172
2172
  if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
2173
2173
  if (i) throw "Reveal.js has already been initialized.";
2174
2174
  if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
2175
- return r = U(U(U(U(U({}, at), r), t), a), fe()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), de(), window.addEventListener("load", Je, !1), re.load(r.plugins, r.dependencies).then(me), new Promise((e) => n.on("ready", e));
2175
+ return r = Ue(Ue(Ue(Ue(Ue({}, it), r), t), a), de()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), pe(), window.addEventListener("load", U, !1), j.load(r.plugins, r.dependencies).then(me), new Promise((e) => n.on("ready", e));
2176
2176
  }
2177
- function de() {
2178
- 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");
2177
+ function pe() {
2178
+ r.embedded === !0 ? m.viewport = F(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
2179
2179
  }
2180
2180
  function me() {
2181
- i !== !1 && (a = !0, ge(), _e(), Te(), Se(), Ce(), St(), V(), T.update(!0), he(), ee.readURL(), setTimeout(() => {
2181
+ i !== !1 && (a = !0, ge(), ve(), B(), Se(), Te(), Ct(), V(), w.update(!0), he(), A.readURL(), setTimeout(() => {
2182
2182
  m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), H({
2183
2183
  type: "ready",
2184
2184
  data: {
@@ -2191,7 +2191,7 @@ function st(e, t) {
2191
2191
  }
2192
2192
  function he() {
2193
2193
  let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
2194
- (e || t) && (e ? je() : ie.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
2194
+ (e || t) && (e ? Me() : ce.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? E.activate() : window.addEventListener("load", () => E.activate()) : T.activate());
2195
2195
  }
2196
2196
  function ge() {
2197
2197
  r.showHiddenSlides || P(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
@@ -2199,17 +2199,17 @@ function st(e, t) {
2199
2199
  t.childElementCount === 1 && /section/i.test(t.nodeName) ? t.remove() : e.remove();
2200
2200
  });
2201
2201
  }
2202
- function _e() {
2203
- m.slides.classList.add("no-transition"), ve ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), T.render(), S.render(), C.render(), j.render(), te.render(), F.render(), m.pauseOverlay = ue(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2202
+ function ve() {
2203
+ m.slides.classList.add("no-transition"), _e ? m.wrapper.classList.add("no-hover") : m.wrapper.classList.remove("no-hover"), w.render(), S.render(), C.render(), te.render(), ne.render(), I.render(), m.pauseOverlay = le(m.wrapper, "div", "pause-overlay", r.controls ? "<button class=\"resume-button\">Resume presentation</button>" : null), m.statusElement = ye(), m.wrapper.setAttribute("role", "application");
2204
2204
  }
2205
2205
  function ye() {
2206
2206
  let e = m.wrapper.querySelector(".aria-status");
2207
2207
  return e || (e = document.createElement("div"), e.style.position = "absolute", e.style.height = "1px", e.style.width = "1px", e.style.overflow = "hidden", e.style.clip = "rect( 1px, 1px, 1px, 1px )", e.classList.add("aria-status"), e.setAttribute("aria-live", "polite"), e.setAttribute("aria-atomic", "true"), m.wrapper.appendChild(e)), e;
2208
2208
  }
2209
- function be(e) {
2209
+ function L(e) {
2210
2210
  m.statusElement.textContent = e;
2211
2211
  }
2212
- function L(e) {
2212
+ function be(e) {
2213
2213
  let t = "";
2214
2214
  if (e.nodeType === 3) t += e.textContent.trim();
2215
2215
  else if (e.nodeType === 1) {
@@ -2220,7 +2220,7 @@ function st(e, t) {
2220
2220
  n && (t += xe(n));
2221
2221
  }
2222
2222
  Array.from(e.childNodes).forEach((e) => {
2223
- t += L(e);
2223
+ t += be(e);
2224
2224
  }), [
2225
2225
  "P",
2226
2226
  "DIV",
@@ -2245,29 +2245,29 @@ function st(e, t) {
2245
2245
  }
2246
2246
  function Se() {
2247
2247
  setInterval(() => {
2248
- (!E.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2248
+ (!T.isActive() && m.wrapper.scrollTop !== 0 || m.wrapper.scrollLeft !== 0) && (m.wrapper.scrollTop = 0, m.wrapper.scrollLeft = 0);
2249
2249
  }, 1e3);
2250
2250
  }
2251
- function Ce() {
2252
- document.addEventListener("fullscreenchange", nn), document.addEventListener("webkitfullscreenchange", nn);
2253
- }
2254
2251
  function Te() {
2255
- r.postMessage && window.addEventListener("message", Zt, !1);
2252
+ document.addEventListener("fullscreenchange", rn), document.addEventListener("webkitfullscreenchange", rn);
2253
+ }
2254
+ function B() {
2255
+ r.postMessage && window.addEventListener("message", Qt, !1);
2256
2256
  }
2257
2257
  function V(e) {
2258
- let t = U({}, r);
2259
- if (typeof e == "object" && ae(r, e), n.isReady() === !1) return;
2260
- let i = m.wrapper.querySelectorAll(z).length;
2261
- m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && Ct(), oe(m.wrapper, "embedded", r.embedded), oe(m.wrapper, "rtl", r.rtl), oe(m.wrapper, "center", r.center), r.pause === !1 && ft(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new it(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", rn), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), F.configure(r, t), N.configure(r, t), ne.configure(r, t), j.configure(r, t), te.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), bt();
2258
+ let t = Ue({}, r);
2259
+ if (typeof e == "object" && ie(r, e), n.isReady() === !1) return;
2260
+ let i = m.wrapper.querySelectorAll(R).length;
2261
+ m.wrapper.classList.remove(t.transition), m.wrapper.classList.add(r.transition), m.wrapper.setAttribute("data-transition-speed", r.transitionSpeed), m.wrapper.setAttribute("data-background-transition", r.backgroundTransition), m.viewport.style.setProperty("--slide-width", typeof r.width == "string" ? r.width : r.width + "px"), m.viewport.style.setProperty("--slide-height", typeof r.height == "string" ? r.height : r.height + "px"), r.shuffle && K(), ae(m.wrapper, "embedded", r.embedded), ae(m.wrapper, "rtl", r.rtl), ae(m.wrapper, "center", r.center), r.pause === !1 && pt(), ee.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new rt(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", an), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), I.configure(r, t), N.configure(r, t), re.configure(r, t), te.configure(r, t), ne.configure(r, t), k.configure(r, t), D.configure(r, t), S.configure(r, t), xt();
2262
2262
  }
2263
- function ke() {
2264
- window.addEventListener("resize", en, !1), r.touch && ie.bind(), r.keyboard && A.bind(), r.progress && te.bind(), r.respondToHashChanges && ee.bind(), j.bind(), N.bind(), m.slides.addEventListener("click", $t, !1), m.slides.addEventListener("transitionend", Qt, !1), m.pauseOverlay.addEventListener("click", ft, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", tn, !1);
2263
+ function Ae() {
2264
+ window.addEventListener("resize", tn, !1), r.touch && ce.bind(), r.keyboard && k.bind(), r.progress && ne.bind(), r.respondToHashChanges && A.bind(), te.bind(), N.bind(), m.slides.addEventListener("click", en, !1), m.slides.addEventListener("transitionend", $t, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", nn, !1);
2265
2265
  }
2266
- function je() {
2267
- ie.unbind(), N.unbind(), A.unbind(), j.unbind(), te.unbind(), ee.unbind(), window.removeEventListener("resize", en, !1), m.slides.removeEventListener("click", $t, !1), m.slides.removeEventListener("transitionend", Qt, !1), m.pauseOverlay.removeEventListener("click", ft, !1);
2266
+ function Me() {
2267
+ ce.unbind(), N.unbind(), k.unbind(), te.unbind(), ne.unbind(), A.unbind(), window.removeEventListener("resize", tn, !1), m.slides.removeEventListener("click", en, !1), m.slides.removeEventListener("transitionend", $t, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
2268
2268
  }
2269
2269
  function Ne() {
2270
- i = !1, a !== !1 && (je(), Vt(), F.destroy(), N.destroy(), M.destroy(), re.destroy(), ne.destroy(), j.destroy(), te.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", nn), document.removeEventListener("webkitfullscreenchange", nn), document.removeEventListener("visibilitychange", tn, !1), window.removeEventListener("message", Zt, !1), window.removeEventListener("load", Je, !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(z)).forEach((e) => {
2270
+ i = !1, a !== !1 && (Me(), Ht(), I.destroy(), N.destroy(), M.destroy(), j.destroy(), re.destroy(), te.destroy(), ne.destroy(), w.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", rn), document.removeEventListener("webkitfullscreenchange", rn), document.removeEventListener("visibilitychange", nn, !1), window.removeEventListener("message", Qt, !1), window.removeEventListener("load", U, !1), m.pauseOverlay && m.pauseOverlay.remove(), m.statusElement && m.statusElement.remove(), document.documentElement.classList.remove("reveal-full-page"), m.wrapper.classList.remove("ready", "center", "has-horizontal-slides", "has-vertical-slides"), m.wrapper.removeAttribute("data-transition-speed"), m.wrapper.removeAttribute("data-background-transition"), m.viewport.classList.remove("reveal-viewport"), m.viewport.style.removeProperty("--slide-width"), m.viewport.style.removeProperty("--slide-height"), m.slides.style.removeProperty("width"), m.slides.style.removeProperty("height"), m.slides.style.removeProperty("zoom"), m.slides.style.removeProperty("left"), m.slides.style.removeProperty("top"), m.slides.style.removeProperty("bottom"), m.slides.style.removeProperty("right"), m.slides.style.removeProperty("transform"), Array.from(m.wrapper.querySelectorAll(R)).forEach((e) => {
2271
2271
  e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), e.removeAttribute("inert");
2272
2272
  }));
2273
2273
  }
@@ -2277,14 +2277,14 @@ function st(e, t) {
2277
2277
  function Fe(t, n, r) {
2278
2278
  e.removeEventListener(t, n, r);
2279
2279
  }
2280
- function Ie(e) {
2281
- typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? ce(m.slides, p.layout + " " + p.overview) : ce(m.slides, p.overview);
2280
+ function Le(e) {
2281
+ typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? se(m.slides, p.layout + " " + p.overview) : se(m.slides, p.overview);
2282
2282
  }
2283
2283
  function H({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
2284
2284
  let i = document.createEvent("HTMLEvents", 1, 2);
2285
- return i.initEvent(t, r, !0), ae(i, n), e.dispatchEvent(i), e === m.wrapper && Ue(t), i;
2285
+ return i.initEvent(t, r, !0), ie(i, n), e.dispatchEvent(i), e === m.wrapper && Je(t), i;
2286
2286
  }
2287
- function Re(e) {
2287
+ function He(e) {
2288
2288
  H({
2289
2289
  type: "slidechanged",
2290
2290
  data: {
@@ -2296,24 +2296,24 @@ function st(e, t) {
2296
2296
  }
2297
2297
  });
2298
2298
  }
2299
- function Ue(e, t) {
2299
+ function Je(e, t) {
2300
2300
  if (r.postMessageEvents && window.parent !== window.self) {
2301
2301
  let n = {
2302
2302
  namespace: "reveal",
2303
2303
  eventName: e,
2304
- state: Rt()
2304
+ state: zt()
2305
2305
  };
2306
- ae(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2306
+ ie(n, t), window.parent.postMessage(JSON.stringify(n), "*");
2307
2307
  }
2308
2308
  }
2309
- function Je() {
2310
- if (m.wrapper && !D.isActive()) {
2309
+ function U() {
2310
+ if (m.wrapper && !E.isActive()) {
2311
2311
  let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
2312
2312
  if (!r.disableLayout) {
2313
- ve && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
- let n = E.isActive() ? et(e, t) : et(), i = f;
2315
- Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Ie({ 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", Ie({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
- let a = Array.from(m.wrapper.querySelectorAll(z)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2313
+ _e && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
2314
+ let n = T.isActive() ? et(e, t) : et(), i = f;
2315
+ Ze(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f = Math.round(f * 100) / 100, f === 1 || T.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Le({ layout: "" })) : (m.slides.style.zoom = "", m.slides.style.left = "50%", m.slides.style.top = "50%", m.slides.style.bottom = "auto", m.slides.style.right = "auto", Le({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
2316
+ let a = Array.from(m.wrapper.querySelectorAll(R)).filter((e) => e.style.display !== "none"), o = Array(a.length);
2317
2317
  for (let e = 0, t = a.length; e < t; e++) {
2318
2318
  let t = a[e];
2319
2319
  r.center || t.classList.contains("center") ? t.classList.contains("stack") ? o[e] = 0 : o[e] = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : o[e] = "";
@@ -2328,22 +2328,22 @@ function st(e, t) {
2328
2328
  }
2329
2329
  });
2330
2330
  }
2331
- Qe(), 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(), te.update(), T.updateParallax(), k.isActive() && k.update();
2331
+ $e(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), T.layout(), ne.update(), w.updateParallax(), O.isActive() && O.update();
2332
2332
  }
2333
2333
  }
2334
2334
  function Ze(e, t) {
2335
2335
  P(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
2336
- let r = pe(n, t);
2336
+ let r = fe(n, t);
2337
2337
  if (/(img|video)/gi.test(n.nodeName)) {
2338
2338
  let t = n.naturalWidth || n.videoWidth, i = n.naturalHeight || n.videoHeight, a = Math.min(e / t, r / i);
2339
2339
  n.style.width = t * a + "px", n.style.height = i * a + "px";
2340
2340
  } else n.style.width = e + "px", n.style.height = r + "px";
2341
2341
  });
2342
2342
  }
2343
- function Qe() {
2344
- if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2343
+ function $e() {
2344
+ if (m.wrapper && !r.disableLayout && !E.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
2345
2345
  let e = et();
2346
- e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
2346
+ e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? T.isActive() || (w.create(), T.activate()) : T.isActive() && T.deactivate();
2347
2347
  }
2348
2348
  }
2349
2349
  function et(e, t) {
@@ -2357,7 +2357,7 @@ function st(e, t) {
2357
2357
  };
2358
2358
  return a.presentationWidth -= a.presentationWidth * r.margin, a.presentationHeight -= a.presentationHeight * r.margin, typeof a.width == "string" && /%$/.test(a.width) && (a.width = parseInt(a.width, 10) / 100 * a.presentationWidth), typeof a.height == "string" && /%$/.test(a.height) && (a.height = parseInt(a.height, 10) / 100 * a.presentationHeight), a;
2359
2359
  }
2360
- function tt(e, t) {
2360
+ function ot(e, t) {
2361
2361
  typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
2362
2362
  }
2363
2363
  function st(e) {
@@ -2367,47 +2367,47 @@ function st(e, t) {
2367
2367
  }
2368
2368
  return 0;
2369
2369
  }
2370
- function W(e = l) {
2370
+ function ct(e = l) {
2371
2371
  return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
2372
2372
  }
2373
- function ct(e = l) {
2373
+ function W(e = l) {
2374
2374
  return e.classList.contains(".stack") || e.querySelector("section") !== null;
2375
2375
  }
2376
- function G() {
2377
- return l && W(l) ? !l.nextElementSibling : !1;
2378
- }
2379
2376
  function lt() {
2380
- return o === 0 && s === 0;
2377
+ return l && ct(l) ? !l.nextElementSibling : !1;
2381
2378
  }
2382
2379
  function ut() {
2383
- return l ? !(l.nextElementSibling || W(l) && l.parentNode.nextElementSibling) : !1;
2380
+ return o === 0 && s === 0;
2384
2381
  }
2385
2382
  function dt() {
2383
+ return l ? !(l.nextElementSibling || ct(l) && l.parentNode.nextElementSibling) : !1;
2384
+ }
2385
+ function ft() {
2386
2386
  if (r.pause) {
2387
2387
  let e = m.wrapper.classList.contains("paused");
2388
- Vt(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2388
+ Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
2389
2389
  }
2390
2390
  }
2391
- function ft() {
2391
+ function pt() {
2392
2392
  let e = m.wrapper.classList.contains("paused");
2393
- m.wrapper.classList.remove("paused"), Bt(), e && H({ type: "resumed" });
2393
+ m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
2394
2394
  }
2395
- function pt(e) {
2396
- typeof e == "boolean" ? e ? dt() : ft() : mt() ? ft() : dt();
2395
+ function mt(e) {
2396
+ typeof e == "boolean" ? e ? ft() : pt() : ht() ? pt() : ft();
2397
2397
  }
2398
- function mt() {
2398
+ function ht() {
2399
2399
  return m.wrapper.classList.contains("paused");
2400
2400
  }
2401
- function ht(e) {
2401
+ function gt(e) {
2402
2402
  typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
2403
2403
  }
2404
- function gt(e) {
2405
- typeof e == "boolean" ? e ? Ut() : Ht() : b ? Ut() : Ht();
2404
+ function _t(e) {
2405
+ typeof e == "boolean" ? e ? Wt() : Ut() : b ? Wt() : Ut();
2406
2406
  }
2407
- function _t() {
2407
+ function vt() {
2408
2408
  return !(!g || b);
2409
2409
  }
2410
- function K(t, n, i, a) {
2410
+ function G(t, n, i, a) {
2411
2411
  if (H({
2412
2412
  type: "beforeslidechange",
2413
2413
  data: {
@@ -2417,26 +2417,26 @@ function st(e, t) {
2417
2417
  }
2418
2418
  }).defaultPrevented) return;
2419
2419
  c = l;
2420
- let u = m.wrapper.querySelectorAll(B);
2421
- if (E.isActive()) {
2422
- let e = E.getSlideByIndices(t, n);
2423
- e && E.scrollToSlide(e);
2420
+ let u = m.wrapper.querySelectorAll(z);
2421
+ if (T.isActive()) {
2422
+ let e = T.getSlideByIndices(t, n);
2423
+ e && T.scrollToSlide(e);
2424
2424
  return;
2425
2425
  }
2426
2426
  if (u.length === 0) return;
2427
- n === void 0 && !k.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && tt(c.parentNode, s);
2427
+ n === void 0 && !O.isActive() && (n = st(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && ot(c.parentNode, s);
2428
2428
  let f = d.concat();
2429
2429
  d.length = 0;
2430
2430
  let p = o || 0, g = s || 0;
2431
- o = q(B, t === void 0 ? o : t), s = q(we, n === void 0 ? s : n);
2431
+ o = q(z, t === void 0 ? o : t), s = q(we, n === void 0 ? s : n);
2432
2432
  let _ = o !== p || s !== g;
2433
2433
  _ || (c = null);
2434
2434
  let v = u[o], y = v.querySelectorAll("section");
2435
2435
  e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
2436
2436
  let b = !1;
2437
- _ && c && l && !k.isActive() && (h = "running", b = vt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Y(), Je(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), lt() && setTimeout(() => {
2438
- jt().forEach((e) => {
2439
- tt(e, 0);
2437
+ _ && c && l && !O.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Tt(), U(), O.isActive() && O.update(), i !== void 0 && D.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), ut() && setTimeout(() => {
2438
+ Mt().forEach((e) => {
2439
+ ot(e, 0);
2440
2440
  });
2441
2441
  }, 0));
2442
2442
  stateLoop: for (let e = 0, t = d.length; e < t; e++) {
@@ -2447,54 +2447,54 @@ function st(e, t) {
2447
2447
  m.viewport.classList.add(d[e]), H({ type: d[e] });
2448
2448
  }
2449
2449
  for (; f.length;) m.viewport.classList.remove(f.pop());
2450
- _ && (x.afterSlideChanged(), Re(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
- be(L(l));
2452
- }), te.update(), j.update(), F.update(), T.update(), T.updateParallax(), S.update(), O.update(), ee.writeURL(), Bt(), b && (setTimeout(() => {
2450
+ _ && (x.afterSlideChanged(), He(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
2451
+ L(be(l));
2452
+ }), ne.update(), te.update(), I.update(), w.update(), w.updateParallax(), S.update(), D.update(), A.writeURL(), Vt(), b && (setTimeout(() => {
2453
2453
  m.slides.classList.remove("disable-slide-transitions");
2454
- }, 0), r.autoAnimate && w.run(c, l));
2454
+ }, 0), r.autoAnimate && ee.run(c, l));
2455
2455
  }
2456
- function vt(e, t, n, r) {
2456
+ function yt(e, t, n, r) {
2457
2457
  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");
2458
2458
  }
2459
- function yt(e, t, n) {
2459
+ function bt(e, t, n) {
2460
2460
  let i = o || 0;
2461
2461
  o = t, s = n;
2462
2462
  let a = l !== e;
2463
- 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(() => {
2464
- be(L(l));
2465
- }), Re();
2463
+ c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && ee.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
2464
+ L(be(l));
2465
+ }), He();
2466
2466
  }
2467
- function bt() {
2468
- je(), ke(), Je(), g = r.autoSlide, Bt(), T.create(), ee.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = q(B, o), s = q(we, s)), j.update(), te.update(), Y(), F.update(), F.updateVisibility(), M.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), H({ type: "sync" });
2467
+ function xt() {
2468
+ Me(), Ae(), U(), g = r.autoSlide, Vt(), w.create(), A.writeURL(), r.sortFragmentsOnSync === !0 && D.sortAll(), o !== void 0 && (o = q(z, o), s = q(we, s)), te.update(), ne.update(), Tt(), I.update(), I.updateVisibility(), M.update(), w.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), O.isActive() && O.layout(), H({ type: "sync" });
2469
2469
  }
2470
- function xt(e = l) {
2471
- T.sync(e), O.sync(e), x.load(e), T.update(), F.update(), H({
2470
+ function St(e = l) {
2471
+ w.sync(e), D.sync(e), x.load(e), w.update(), I.update(), H({
2472
2472
  type: "slidesync",
2473
2473
  data: { slide: e }
2474
2474
  });
2475
2475
  }
2476
- function St() {
2477
- kt().forEach((e) => {
2476
+ function Ct() {
2477
+ At().forEach((e) => {
2478
2478
  P(e, "section").forEach((e, t) => {
2479
2479
  t > 0 && (e.classList.remove("present"), e.classList.remove("past"), e.classList.add("future"), e.setAttribute("aria-hidden", "true"));
2480
2480
  });
2481
2481
  });
2482
2482
  }
2483
- function Ct(e = kt()) {
2483
+ function K(e = At()) {
2484
2484
  e.forEach((t, n) => {
2485
2485
  let r = e[Math.floor(Math.random() * e.length)];
2486
2486
  r.parentNode === t.parentNode && t.parentNode.insertBefore(t, r);
2487
2487
  let i = t.querySelectorAll("section");
2488
- i.length && Ct(i);
2488
+ i.length && K(i);
2489
2489
  });
2490
2490
  }
2491
2491
  function q(e, t) {
2492
- let n = P(m.wrapper, e), i = n.length, a = E.isActive() || D.isActive(), o = !1, s = !1;
2492
+ let n = P(m.wrapper, e), i = n.length, a = T.isActive() || E.isActive(), o = !1, s = !1;
2493
2493
  if (i) {
2494
2494
  r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
2495
2495
  for (let e = 0; e < i; e++) {
2496
- let i = n[e], c = r.rtl && !W(i);
2497
- 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 ? i.classList.add("present") : e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && J(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && wt(i)) : e === t && r.fragments && (o ? wt(i) : s && J(i));
2496
+ let i = n[e], c = r.rtl && !ct(i);
2497
+ 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 ? i.classList.add("present") : e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && wt(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && J(i)) : e === t && r.fragments && (o ? J(i) : s && wt(i));
2498
2498
  }
2499
2499
  let e = n[t], c = e.classList.contains("present");
2500
2500
  e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || H({
@@ -2507,21 +2507,21 @@ function st(e, t) {
2507
2507
  } else t = 0;
2508
2508
  return t;
2509
2509
  }
2510
- function J(e) {
2510
+ function wt(e) {
2511
2511
  P(e, ".fragment").forEach((e) => {
2512
2512
  e.classList.add("visible"), e.classList.remove("current-fragment");
2513
2513
  });
2514
2514
  }
2515
- function wt(e) {
2515
+ function J(e) {
2516
2516
  P(e, ".fragment.visible").forEach((e) => {
2517
2517
  e.classList.remove("visible", "current-fragment");
2518
2518
  });
2519
2519
  }
2520
- function Y() {
2521
- let e = kt(), t = e.length, n, i;
2520
+ function Tt() {
2521
+ let e = At(), t = e.length, n, i;
2522
2522
  if (t && o !== void 0) {
2523
- let a = k.isActive(), c = a ? 10 : r.viewDistance;
2524
- ve && (c = a ? 6 : r.mobileViewDistance), D.isActive() && (c = Number.MAX_VALUE);
2523
+ let a = O.isActive(), c = a ? 10 : r.viewDistance;
2524
+ _e && (c = a ? 6 : r.mobileViewDistance), E.isActive() && (c = Number.MAX_VALUE);
2525
2525
  for (let l = 0; l < t; l++) {
2526
2526
  let u = e[l], d = P(u, "section"), f = d.length;
2527
2527
  if (n = Math.abs((o || 0) - l) || 0, r.loop && (n = Math.abs(((o || 0) - l) % (t - c)) || 0), n < c ? x.load(u) : x.unload(u), f) {
@@ -2532,22 +2532,22 @@ function st(e, t) {
2532
2532
  }
2533
2533
  }
2534
2534
  }
2535
- Nt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Mt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2535
+ Pt() ? m.wrapper.classList.add("has-vertical-slides") : m.wrapper.classList.remove("has-vertical-slides"), Nt() ? m.wrapper.classList.add("has-horizontal-slides") : m.wrapper.classList.remove("has-horizontal-slides");
2536
2536
  }
2537
- let a = k.isActive() || E.isActive() || D.isActive();
2538
- P(m.wrapper, z).forEach((e) => {
2537
+ let a = O.isActive() || T.isActive() || E.isActive();
2538
+ P(m.wrapper, R).forEach((e) => {
2539
2539
  e.toggleAttribute("inert", !a && e !== l && !e.contains(l));
2540
2540
  });
2541
2541
  }
2542
- function X({ includeFragments: e = !1 } = {}) {
2543
- let t = m.wrapper.querySelectorAll(B), n = m.wrapper.querySelectorAll(we), i = {
2542
+ function Y({ includeFragments: e = !1 } = {}) {
2543
+ let t = m.wrapper.querySelectorAll(z), n = m.wrapper.querySelectorAll(we), i = {
2544
2544
  left: o > 0,
2545
2545
  right: o < t.length - 1,
2546
2546
  up: s > 0,
2547
2547
  down: s < n.length - 1
2548
2548
  };
2549
2549
  if (r.loop && (t.length > 1 && (i.left = !0, i.right = !0), n.length > 1 && (i.up = !0, i.down = !0)), t.length > 1 && r.navigationMode === "linear" && (i.right = i.right || i.down, i.left = i.left || i.up), e === !0) {
2550
- let e = O.availableRoutes();
2550
+ let e = D.availableRoutes();
2551
2551
  i.left = i.left || e.prev, i.up = i.up || e.prev, i.down = i.down || e.next, i.right = i.right || e.next;
2552
2552
  }
2553
2553
  if (r.rtl) {
@@ -2556,8 +2556,8 @@ function st(e, t) {
2556
2556
  }
2557
2557
  return i;
2558
2558
  }
2559
- function Tt(e = l) {
2560
- let t = kt(), n = 0;
2559
+ function Et(e = l) {
2560
+ let t = At(), n = 0;
2561
2561
  mainLoop: for (let r = 0; r < t.length; r++) {
2562
2562
  let i = t[r], a = i.querySelectorAll("section");
2563
2563
  for (let t = 0; t < a.length; t++) {
@@ -2569,8 +2569,8 @@ function st(e, t) {
2569
2569
  }
2570
2570
  return n;
2571
2571
  }
2572
- function Et() {
2573
- let e = Ft(), t = Tt();
2572
+ function Dt() {
2573
+ let e = It(), t = Et();
2574
2574
  if (l) {
2575
2575
  let e = l.querySelectorAll(".fragment");
2576
2576
  if (e.length > 0) {
@@ -2580,12 +2580,12 @@ function st(e, t) {
2580
2580
  }
2581
2581
  return Math.min(t / (e - 1), 1);
2582
2582
  }
2583
- function Dt(e) {
2583
+ function Ot(e) {
2584
2584
  let t = o, n = s, r;
2585
2585
  if (e) {
2586
- if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2586
+ if (T.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
2587
2587
  else {
2588
- let r = W(e), i = r ? e.parentNode : e, a = kt();
2588
+ let r = ct(e), i = r ? e.parentNode : e, a = At();
2589
2589
  t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(P(e.parentNode, "section").indexOf(e), 0));
2590
2590
  }
2591
2591
  }
@@ -2599,26 +2599,26 @@ function st(e, t) {
2599
2599
  f: r
2600
2600
  };
2601
2601
  }
2602
- function Ot() {
2603
- return P(m.wrapper, z + ":not(.stack):not([data-visibility=\"uncounted\"])");
2604
- }
2605
2602
  function kt() {
2606
- return P(m.wrapper, B);
2603
+ return P(m.wrapper, R + ":not(.stack):not([data-visibility=\"uncounted\"])");
2607
2604
  }
2608
2605
  function At() {
2609
- return P(m.wrapper, ".slides>section>section");
2606
+ return P(m.wrapper, z);
2610
2607
  }
2611
2608
  function jt() {
2612
- return P(m.wrapper, B + ".stack");
2609
+ return P(m.wrapper, ".slides>section>section");
2613
2610
  }
2614
2611
  function Mt() {
2615
- return kt().length > 1;
2612
+ return P(m.wrapper, z + ".stack");
2616
2613
  }
2617
2614
  function Nt() {
2618
2615
  return At().length > 1;
2619
2616
  }
2620
2617
  function Pt() {
2621
- return Ot().map((e) => {
2618
+ return jt().length > 1;
2619
+ }
2620
+ function Ft() {
2621
+ return kt().map((e) => {
2622
2622
  let t = {};
2623
2623
  for (let n = 0; n < e.attributes.length; n++) {
2624
2624
  let r = e.attributes[n];
@@ -2627,105 +2627,105 @@ function st(e, t) {
2627
2627
  return t;
2628
2628
  });
2629
2629
  }
2630
- function Ft() {
2631
- return Ot().length;
2630
+ function It() {
2631
+ return kt().length;
2632
2632
  }
2633
- function It(e, t) {
2634
- let n = kt()[e], r = n && n.querySelectorAll("section");
2633
+ function Lt(e, t) {
2634
+ let n = At()[e], r = n && n.querySelectorAll("section");
2635
2635
  return r && r.length && typeof t == "number" ? r ? r[t] : void 0 : n;
2636
2636
  }
2637
- function Lt(e, t) {
2638
- let n = typeof e == "number" ? It(e, t) : e;
2637
+ function Rt(e, t) {
2638
+ let n = typeof e == "number" ? Lt(e, t) : e;
2639
2639
  if (n) return n.slideBackgroundElement;
2640
2640
  }
2641
- function Rt() {
2642
- let e = Dt();
2643
- return U({
2641
+ function zt() {
2642
+ let e = Ot();
2643
+ return Ue({
2644
2644
  indexh: e.h,
2645
2645
  indexv: e.v,
2646
2646
  indexf: e.f,
2647
- paused: mt(),
2648
- overview: k.isActive()
2647
+ paused: ht(),
2648
+ overview: O.isActive()
2649
2649
  }, M.getState());
2650
2650
  }
2651
- function zt(e) {
2651
+ function Bt(e) {
2652
2652
  if (typeof e == "object") {
2653
- K(se(e.indexh), se(e.indexv), se(e.indexf));
2654
- let t = se(e.paused), n = se(e.overview);
2655
- typeof t == "boolean" && t !== mt() && pt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), M.setState(e);
2653
+ G(oe(e.indexh), oe(e.indexv), oe(e.indexf));
2654
+ let t = oe(e.paused), n = oe(e.overview);
2655
+ typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== O.isActive() && O.toggle(n), M.setState(e);
2656
2656
  }
2657
2657
  }
2658
- function Bt() {
2659
- if (Vt(), l && r.autoSlide !== !1) {
2658
+ function Vt() {
2659
+ if (Ht(), l && r.autoSlide !== !1) {
2660
2660
  let e = l.querySelector(".current-fragment[data-autoslide]"), t = e ? e.getAttribute("data-autoslide") : null, n = l.parentNode ? l.parentNode.getAttribute("data-autoslide") : null, i = l.getAttribute("data-autoslide");
2661
2661
  t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && P(l, "video, audio").forEach((e) => {
2662
2662
  e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
2663
- })), g && !b && !mt() && !k.isActive() && (!ut() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2664
- typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Yt(), Bt();
2663
+ })), g && !b && !ht() && !O.isActive() && (!dt() || D.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
2664
+ typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Xt(), Vt();
2665
2665
  }, g), y = Date.now()), _ && _.setPlaying(v !== -1);
2666
2666
  }
2667
2667
  }
2668
- function Vt() {
2669
- clearTimeout(v), v = -1;
2670
- }
2671
2668
  function Ht() {
2672
- g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2669
+ clearTimeout(v), v = -1;
2673
2670
  }
2674
2671
  function Ut() {
2675
- g && b && (b = !1, H({ type: "autoslideresumed" }), Bt());
2672
+ g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
2676
2673
  }
2677
- function Wt({ skipFragments: e = !1 } = {}) {
2678
- if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
2679
- r.rtl ? (k.isActive() || e || O.next() === !1) && X().left && K(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && X().left && K(o - 1, r.navigationMode === "grid" ? s : void 0);
2674
+ function Wt() {
2675
+ g && b && (b = !1, H({ type: "autoslideresumed" }), Vt());
2680
2676
  }
2681
2677
  function Gt({ skipFragments: e = !1 } = {}) {
2682
- if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
2683
- r.rtl ? (k.isActive() || e || O.prev() === !1) && X().right && K(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && X().right && K(o + 1, r.navigationMode === "grid" ? s : void 0);
2678
+ if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.prev();
2679
+ r.rtl ? (O.isActive() || e || D.next() === !1) && Y().left && G(o + 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.prev() === !1) && Y().left && G(o - 1, r.navigationMode === "grid" ? s : void 0);
2684
2680
  }
2685
2681
  function Kt({ skipFragments: e = !1 } = {}) {
2686
- if (E.isActive()) return E.prev();
2687
- (k.isActive() || e || O.prev() === !1) && X().up && K(o, s - 1);
2682
+ if (u.hasNavigatedHorizontally = !0, T.isActive()) return T.next();
2683
+ r.rtl ? (O.isActive() || e || D.prev() === !1) && Y().right && G(o - 1, r.navigationMode === "grid" ? s : void 0) : (O.isActive() || e || D.next() === !1) && Y().right && G(o + 1, r.navigationMode === "grid" ? s : void 0);
2688
2684
  }
2689
2685
  function qt({ skipFragments: e = !1 } = {}) {
2690
- if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2691
- (k.isActive() || e || O.next() === !1) && X().down && K(o, s + 1);
2686
+ if (T.isActive()) return T.prev();
2687
+ (O.isActive() || e || D.prev() === !1) && Y().up && G(o, s - 1);
2692
2688
  }
2693
2689
  function Jt({ skipFragments: e = !1 } = {}) {
2694
- if (E.isActive()) return E.prev();
2695
- if (e || O.prev() === !1) {
2696
- if (X().up) Kt({ skipFragments: e });
2690
+ if (u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2691
+ (O.isActive() || e || D.next() === !1) && Y().down && G(o, s + 1);
2692
+ }
2693
+ function Yt({ skipFragments: e = !1 } = {}) {
2694
+ if (T.isActive()) return T.prev();
2695
+ if (e || D.prev() === !1) {
2696
+ if (Y().up) qt({ skipFragments: e });
2697
2697
  else {
2698
2698
  let t;
2699
- if (t = r.rtl ? P(m.wrapper, B + ".future").pop() : P(m.wrapper, B + ".past").pop(), t && t.classList.contains("stack")) {
2699
+ if (t = r.rtl ? P(m.wrapper, z + ".future").pop() : P(m.wrapper, z + ".past").pop(), t && t.classList.contains("stack")) {
2700
2700
  let e = t.querySelectorAll("section").length - 1 || void 0;
2701
- K(o - 1, e);
2702
- } else r.rtl ? Gt({ skipFragments: e }) : Wt({ skipFragments: e });
2701
+ G(o - 1, e);
2702
+ } else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
2703
2703
  }
2704
2704
  }
2705
2705
  }
2706
- function Yt({ skipFragments: e = !1 } = {}) {
2707
- if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
2708
- if (e || O.next() === !1) {
2709
- let t = X();
2710
- t.down && t.right && r.loop && G() && (t.down = !1), t.down ? qt({ skipFragments: e }) : r.rtl ? Wt({ skipFragments: e }) : Gt({ skipFragments: e });
2706
+ function Xt({ skipFragments: e = !1 } = {}) {
2707
+ if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, T.isActive()) return T.next();
2708
+ if (e || D.next() === !1) {
2709
+ let t = Y();
2710
+ t.down && t.right && r.loop && lt() && (t.down = !1), t.down ? Jt({ skipFragments: e }) : r.rtl ? Gt({ skipFragments: e }) : Kt({ skipFragments: e });
2711
2711
  }
2712
2712
  }
2713
- function Xt(e) {
2714
- r.autoSlideStoppable && Ht();
2715
- }
2716
2713
  function Zt(e) {
2714
+ r.autoSlideStoppable && Ut();
2715
+ }
2716
+ function Qt(e) {
2717
2717
  let t = e.data;
2718
2718
  if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
2719
2719
  if (Ee.test(t.method) === !1) {
2720
2720
  let e = n[t.method].apply(n, t.args);
2721
- Ue("callback", {
2721
+ Je("callback", {
2722
2722
  method: t.method,
2723
2723
  result: e
2724
2724
  });
2725
2725
  } else console.warn("reveal.js: \"" + t.method + "\" is is blacklisted from the postMessage API");
2726
2726
  }
2727
2727
  }
2728
- function Qt(e) {
2728
+ function $t(e) {
2729
2729
  h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", H({
2730
2730
  type: "slidetransitionend",
2731
2731
  data: {
@@ -2736,78 +2736,78 @@ function st(e, t) {
2736
2736
  }
2737
2737
  }));
2738
2738
  }
2739
- function $t(e) {
2740
- let t = I(e.target, "a[href^=\"#\"]");
2739
+ function en(e) {
2740
+ let t = F(e.target, "a[href^=\"#\"]");
2741
2741
  if (t) {
2742
- let r = t.getAttribute("href"), i = ee.getIndicesFromHash(r);
2742
+ let r = t.getAttribute("href"), i = A.getIndicesFromHash(r);
2743
2743
  i && (n.slide(i.h, i.v, i.f), e.preventDefault());
2744
2744
  }
2745
2745
  }
2746
- function en(e) {
2747
- Je();
2748
- }
2749
2746
  function tn(e) {
2750
- document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
2747
+ U();
2751
2748
  }
2752
2749
  function nn(e) {
2750
+ document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
2751
+ }
2752
+ function rn(e) {
2753
2753
  (document.fullscreenElement || document.webkitFullscreenElement) === m.wrapper && (e.stopImmediatePropagation(), setTimeout(() => {
2754
2754
  n.layout(), n.focus.focus();
2755
2755
  }, 1));
2756
2756
  }
2757
- function rn(e) {
2758
- ut() && r.loop === !1 ? (K(0, 0), Ut()) : b ? Ut() : Ht();
2757
+ function an(e) {
2758
+ dt() && r.loop === !1 ? (G(0, 0), Wt()) : b ? Wt() : Ut();
2759
2759
  }
2760
- let an = {
2761
- VERSION: ot,
2762
- initialize: le,
2760
+ let on = {
2761
+ VERSION: at,
2762
+ initialize: ue,
2763
2763
  configure: V,
2764
2764
  destroy: Ne,
2765
- sync: bt,
2766
- syncSlide: xt,
2767
- syncFragments: O.sync.bind(O),
2768
- slide: K,
2769
- left: Wt,
2770
- right: Gt,
2771
- up: Kt,
2772
- down: qt,
2773
- prev: Jt,
2774
- next: Yt,
2775
- navigateLeft: Wt,
2776
- navigateRight: Gt,
2777
- navigateUp: Kt,
2778
- navigateDown: qt,
2779
- navigatePrev: Jt,
2780
- navigateNext: Yt,
2781
- navigateFragment: O.goto.bind(O),
2782
- prevFragment: O.prev.bind(O),
2783
- nextFragment: O.next.bind(O),
2765
+ sync: xt,
2766
+ syncSlide: St,
2767
+ syncFragments: D.sync.bind(D),
2768
+ slide: G,
2769
+ left: Gt,
2770
+ right: Kt,
2771
+ up: qt,
2772
+ down: Jt,
2773
+ prev: Yt,
2774
+ next: Xt,
2775
+ navigateLeft: Gt,
2776
+ navigateRight: Kt,
2777
+ navigateUp: qt,
2778
+ navigateDown: Jt,
2779
+ navigatePrev: Yt,
2780
+ navigateNext: Xt,
2781
+ navigateFragment: D.goto.bind(D),
2782
+ prevFragment: D.prev.bind(D),
2783
+ nextFragment: D.next.bind(D),
2784
2784
  on: Pe,
2785
2785
  off: Fe,
2786
2786
  addEventListener: Pe,
2787
2787
  removeEventListener: Fe,
2788
- layout: Je,
2789
- shuffle: Ct,
2790
- availableRoutes: X,
2791
- availableFragments: O.availableRoutes.bind(O),
2788
+ layout: U,
2789
+ shuffle: K,
2790
+ availableRoutes: Y,
2791
+ availableFragments: D.availableRoutes.bind(D),
2792
2792
  toggleHelp: M.toggleHelp.bind(M),
2793
- toggleOverview: k.toggle.bind(k),
2794
- toggleScrollView: E.toggle.bind(E),
2795
- togglePause: pt,
2796
- toggleAutoSlide: gt,
2797
- toggleJumpToSlide: ht,
2798
- isFirstSlide: lt,
2799
- isLastSlide: ut,
2800
- isLastVerticalSlide: G,
2801
- isVerticalSlide: W,
2802
- isVerticalStack: ct,
2803
- isPaused: mt,
2804
- isAutoSliding: _t,
2805
- isSpeakerNotes: F.isSpeakerNotesWindow.bind(F),
2806
- isOverview: k.isActive.bind(k),
2793
+ toggleOverview: O.toggle.bind(O),
2794
+ toggleScrollView: T.toggle.bind(T),
2795
+ togglePause: mt,
2796
+ toggleAutoSlide: _t,
2797
+ toggleJumpToSlide: gt,
2798
+ isFirstSlide: ut,
2799
+ isLastSlide: dt,
2800
+ isLastVerticalSlide: lt,
2801
+ isVerticalSlide: ct,
2802
+ isVerticalStack: W,
2803
+ isPaused: ht,
2804
+ isAutoSliding: vt,
2805
+ isSpeakerNotes: I.isSpeakerNotesWindow.bind(I),
2806
+ isOverview: O.isActive.bind(O),
2807
2807
  isFocused: N.isFocused.bind(N),
2808
2808
  isOverlayOpen: M.isOpen.bind(M),
2809
- isScrollView: E.isActive.bind(E),
2810
- isPrintView: D.isActive.bind(D),
2809
+ isScrollView: T.isActive.bind(T),
2810
+ isPrintView: E.isActive.bind(E),
2811
2811
  isReady: () => a,
2812
2812
  loadSlide: x.load.bind(x),
2813
2813
  unloadSlide: x.unload.bind(x),
@@ -2818,77 +2818,77 @@ function st(e, t) {
2818
2818
  previewVideo: M.previewVideo.bind(M),
2819
2819
  showPreview: M.previewIframe.bind(M),
2820
2820
  hidePreview: M.close.bind(M),
2821
- addEventListeners: ke,
2822
- removeEventListeners: je,
2821
+ addEventListeners: Ae,
2822
+ removeEventListeners: Me,
2823
2823
  dispatchEvent: H,
2824
- getState: Rt,
2825
- setState: zt,
2826
- getProgress: Et,
2827
- getIndices: Dt,
2828
- getSlidesAttributes: Pt,
2829
- getSlidePastCount: Tt,
2830
- getTotalSlides: Ft,
2831
- getSlide: It,
2824
+ getState: zt,
2825
+ setState: Bt,
2826
+ getProgress: Dt,
2827
+ getIndices: Ot,
2828
+ getSlidesAttributes: Ft,
2829
+ getSlidePastCount: Et,
2830
+ getTotalSlides: It,
2831
+ getSlide: Lt,
2832
2832
  getPreviousSlide: () => c,
2833
2833
  getCurrentSlide: () => l,
2834
- getSlideBackground: Lt,
2835
- getSlideNotes: F.getSlideNotes.bind(F),
2836
- getSlides: Ot,
2837
- getHorizontalSlides: kt,
2838
- getVerticalSlides: At,
2839
- hasHorizontalSlides: Mt,
2840
- hasVerticalSlides: Nt,
2834
+ getSlideBackground: Rt,
2835
+ getSlideNotes: I.getSlideNotes.bind(I),
2836
+ getSlides: kt,
2837
+ getHorizontalSlides: At,
2838
+ getVerticalSlides: jt,
2839
+ hasHorizontalSlides: Nt,
2840
+ hasVerticalSlides: Pt,
2841
2841
  hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
2842
2842
  hasNavigatedVertically: () => u.hasNavigatedVertically,
2843
- shouldAutoAnimateBetween: vt,
2844
- addKeyBinding: A.addKeyBinding.bind(A),
2845
- removeKeyBinding: A.removeKeyBinding.bind(A),
2846
- triggerKey: A.triggerKey.bind(A),
2847
- registerKeyboardShortcut: A.registerKeyboardShortcut.bind(A),
2843
+ shouldAutoAnimateBetween: yt,
2844
+ addKeyBinding: k.addKeyBinding.bind(k),
2845
+ removeKeyBinding: k.removeKeyBinding.bind(k),
2846
+ triggerKey: k.triggerKey.bind(k),
2847
+ registerKeyboardShortcut: k.registerKeyboardShortcut.bind(k),
2848
2848
  getComputedSlideSize: et,
2849
- setCurrentScrollPage: yt,
2849
+ setCurrentScrollPage: bt,
2850
2850
  removeHiddenSlides: ge,
2851
2851
  getScale: () => f,
2852
2852
  getConfig: () => r,
2853
- getQueryHash: fe,
2854
- getSlidePath: ee.getHash.bind(ee),
2853
+ getQueryHash: de,
2854
+ getSlidePath: A.getHash.bind(A),
2855
2855
  getRevealElement: () => e,
2856
2856
  getSlidesElement: () => m.slides,
2857
2857
  getViewportElement: () => m.viewport,
2858
- getBackgroundsElement: () => T.element,
2859
- registerPlugin: re.registerPlugin.bind(re),
2860
- hasPlugin: re.hasPlugin.bind(re),
2861
- getPlugin: re.getPlugin.bind(re),
2862
- getPlugins: re.getRegisteredPlugins.bind(re)
2858
+ getBackgroundsElement: () => w.element,
2859
+ registerPlugin: j.registerPlugin.bind(j),
2860
+ hasPlugin: j.hasPlugin.bind(j),
2861
+ getPlugin: j.getPlugin.bind(j),
2862
+ getPlugins: j.getRegisteredPlugins.bind(j)
2863
2863
  };
2864
- return ae(n, U(U({}, an), {}, {
2865
- announceStatus: be,
2866
- getStatusText: L,
2864
+ return ie(n, Ue(Ue({}, on), {}, {
2865
+ announceStatus: L,
2866
+ getStatusText: be,
2867
2867
  focus: N,
2868
- scroll: E,
2869
- progress: te,
2870
- controls: j,
2871
- location: ee,
2872
- overview: k,
2873
- keyboard: A,
2874
- fragments: O,
2875
- backgrounds: T,
2868
+ scroll: T,
2869
+ progress: ne,
2870
+ controls: te,
2871
+ location: A,
2872
+ overview: O,
2873
+ keyboard: k,
2874
+ fragments: D,
2875
+ backgrounds: w,
2876
2876
  slideContent: x,
2877
2877
  slideNumber: S,
2878
- onUserInput: Xt,
2878
+ onUserInput: Zt,
2879
2879
  closeOverlay: M.close.bind(M),
2880
- updateSlidesVisibility: Y,
2880
+ updateSlidesVisibility: Tt,
2881
2881
  layoutSlideContents: Ze,
2882
- transformSlides: Ie,
2883
- cueAutoSlide: Bt,
2884
- cancelAutoSlide: Vt
2885
- })), an;
2882
+ transformSlides: Le,
2883
+ cueAutoSlide: Vt,
2884
+ cancelAutoSlide: Ht
2885
+ })), on;
2886
2886
  }
2887
- var W = st, ct = [];
2888
- W.initialize = (e) => {
2887
+ var st = ot, ct = [];
2888
+ st.initialize = (e) => {
2889
2889
  let t = document.querySelector(".reveal");
2890
2890
  if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
2891
- return Object.assign(W, new st(t, e)), ct.map((e) => e(W)), W.initialize();
2891
+ return Object.assign(st, new ot(t, e)), ct.map((e) => e(st)), st.initialize();
2892
2892
  }, [
2893
2893
  "configure",
2894
2894
  "on",
@@ -2897,13 +2897,13 @@ W.initialize = (e) => {
2897
2897
  "removeEventListener",
2898
2898
  "registerPlugin"
2899
2899
  ].forEach((e) => {
2900
- W[e] = (...t) => {
2900
+ st[e] = (...t) => {
2901
2901
  ct.push((n) => n[e].call(null, ...t));
2902
2902
  };
2903
- }), W.isReady = () => !1, W.VERSION = ot;
2903
+ }), st.isReady = () => !1, st.VERSION = at;
2904
2904
  //#endregion
2905
2905
  //#region ../node_modules/.pnpm/@revealjs+react@0.2.2_react-dom@19.3.1_react@19.3.1__react@19.3.1_reveal.js@6.0.2/node_modules/@revealjs/react/dist/index.mjs
2906
- var G = D(), lt = (0, N.createContext)(null), ut = [];
2906
+ var W = T(), lt = (0, M.createContext)(null), ut = [];
2907
2907
  function dt(e, t) {
2908
2908
  if (e === t) return !1;
2909
2909
  if (!e || !t) return e !== t;
@@ -2930,25 +2930,25 @@ function ht(e, t, n) {
2930
2930
  return e ? JSON.stringify(mt(e, t, n)) : "[]";
2931
2931
  }
2932
2932
  function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i, onSlideChange: a, onSlideTransitionEnd: o, onFragmentShown: s, onFragmentHidden: c, onOverviewShown: l, onOverviewHidden: u, onPaused: d, onResumed: f, deckRef: p, className: m, style: h, children: g }) {
2933
- let _ = (0, N.useRef)(null), v = (0, N.useRef)(null), y = (0, N.useRef)(null), [b, x] = (0, N.useState)(null), S = (0, N.useRef)(t), C = (0, N.useRef)(!1), w = (0, N.useRef)(e), T = (0, N.useRef)(null), E = (0, N.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, N.useRef)(1), O = (0, N.useRef)(!1), k = (0, N.useRef)(0);
2934
- return (0, N.useEffect)(() => {
2935
- if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
2933
+ let _ = (0, M.useRef)(null), v = (0, M.useRef)(null), y = (0, M.useRef)(null), [b, x] = (0, M.useState)(null), S = (0, M.useRef)(t), C = (0, M.useRef)(!1), ee = (0, M.useRef)(e), w = (0, M.useRef)(null), T = (0, M.useRef)(/* @__PURE__ */ new WeakMap()), E = (0, M.useRef)(1), D = (0, M.useRef)(!1), O = (0, M.useRef)(0);
2934
+ return (0, M.useEffect)(() => {
2935
+ if (D.current = !0, O.current += 1, y.current) y.current.isReady() && x(y.current);
2936
2936
  else {
2937
- let t = new W(_.current, {
2937
+ let t = new st(_.current, {
2938
2938
  ...e,
2939
2939
  plugins: S.current
2940
2940
  });
2941
- w.current = e, y.current = t, t.initialize().then(() => {
2942
- O.current && y.current === t && (x(t), n?.(t));
2941
+ ee.current = e, y.current = t, t.initialize().then(() => {
2942
+ D.current && y.current === t && (x(t), n?.(t));
2943
2943
  });
2944
2944
  }
2945
2945
  return () => {
2946
- O.current = !1;
2946
+ D.current = !1;
2947
2947
  let e = y.current;
2948
2948
  if (!e) return;
2949
- let t = ++k.current;
2949
+ let t = ++O.current;
2950
2950
  Promise.resolve().then(() => {
2951
- if (!(O.current || k.current !== t) && y.current === e) {
2951
+ if (!(D.current || O.current !== t) && y.current === e) {
2952
2952
  try {
2953
2953
  e.destroy();
2954
2954
  } catch {}
@@ -2956,7 +2956,7 @@ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i,
2956
2956
  }
2957
2957
  });
2958
2958
  };
2959
- }, []), (0, N.useEffect)(() => (ft(p, b), () => ft(p, null)), [p, b]), (0, N.useEffect)(() => {
2959
+ }, []), (0, M.useEffect)(() => (ft(p, b), () => ft(p, null)), [p, b]), (0, M.useEffect)(() => {
2960
2960
  if (!b) return;
2961
2961
  let e = [
2962
2962
  ["sync", r],
@@ -2986,20 +2986,20 @@ function gt({ config: e, plugins: t = ut, onReady: n, onSync: r, onSlideSync: i,
2986
2986
  u,
2987
2987
  d,
2988
2988
  f
2989
- ]), (0, N.useLayoutEffect)(() => {
2990
- b && y.current?.isReady() && dt(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
2991
- }, [b, e]), (0, N.useLayoutEffect)(() => {
2989
+ ]), (0, M.useLayoutEffect)(() => {
2990
+ b && y.current?.isReady() && dt(ee.current, e) && (C.current = !0, y.current.configure(e ?? {}), ee.current = e);
2991
+ }, [b, e]), (0, M.useLayoutEffect)(() => {
2992
2992
  let e = C.current;
2993
2993
  C.current = !1;
2994
- let t = ht(v.current, E.current, D);
2995
- e ? T.current = t : y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
2996
- }), /* @__PURE__ */ (0, G.jsx)(lt.Provider, {
2994
+ let t = ht(v.current, T.current, E);
2995
+ e ? w.current = t : y.current?.isReady() && w.current !== t && (y.current.sync(), w.current = t);
2996
+ }), /* @__PURE__ */ (0, W.jsx)(lt.Provider, {
2997
2997
  value: b,
2998
- children: /* @__PURE__ */ (0, G.jsx)("div", {
2998
+ children: /* @__PURE__ */ (0, W.jsx)("div", {
2999
2999
  className: m ? `reveal ${m}` : "reveal",
3000
3000
  style: h,
3001
3001
  ref: _,
3002
- children: /* @__PURE__ */ (0, G.jsx)("div", {
3002
+ children: /* @__PURE__ */ (0, W.jsx)("div", {
3003
3003
  className: "slides",
3004
3004
  ref: v,
3005
3005
  children: g
@@ -3036,10 +3036,10 @@ var _t = {
3036
3036
  backgroundInteractive: "data-background-interactive",
3037
3037
  preload: "data-preload"
3038
3038
  };
3039
- function K(e) {
3039
+ function vt(e) {
3040
3040
  return JSON.stringify(Object.entries(e).filter(([e]) => e.startsWith("data-")).sort(([e], [t]) => e.localeCompare(t)));
3041
3041
  }
3042
- function vt(e, t) {
3042
+ function G(e, t) {
3043
3043
  let n = { ...e }, r = n;
3044
3044
  for (let [e, n] of Object.entries(_t)) {
3045
3045
  if (r[n] !== void 0) continue;
@@ -3054,8 +3054,8 @@ function vt(e, t) {
3054
3054
  }
3055
3055
  return n;
3056
3056
  }
3057
- function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
3058
- let k = (0, N.useContext)(lt), A = (0, N.useRef)(null), ee = (0, N.useRef)(null), j = (0, N.useRef)(null), te = vt(O, {
3057
+ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: ee, notes: w, backgroundInteractive: T, preload: E, ...D }) {
3058
+ let O = (0, M.useContext)(lt), k = (0, M.useRef)(null), A = (0, M.useRef)(null), te = (0, M.useRef)(null), ne = G(D, {
3059
3059
  background: t,
3060
3060
  backgroundImage: n,
3061
3061
  backgroundVideo: r,
@@ -3079,29 +3079,29 @@ function yt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
3079
3079
  autoAnimateDelay: x,
3080
3080
  transition: S,
3081
3081
  transitionSpeed: C,
3082
- autoSlide: w,
3083
- notes: T,
3084
- backgroundInteractive: E,
3085
- preload: D
3086
- }), ne = K(te);
3087
- return (0, N.useLayoutEffect)(() => {
3088
- let e = A.current;
3089
- if (!k || !e || typeof k.syncSlide != "function") return;
3090
- if (ee.current !== k) {
3091
- ee.current = k, j.current = ne;
3082
+ autoSlide: ee,
3083
+ notes: w,
3084
+ backgroundInteractive: T,
3085
+ preload: E
3086
+ }), re = vt(ne);
3087
+ return (0, M.useLayoutEffect)(() => {
3088
+ let e = k.current;
3089
+ if (!O || !e || typeof O.syncSlide != "function") return;
3090
+ if (A.current !== O) {
3091
+ A.current = O, te.current = re;
3092
3092
  return;
3093
3093
  }
3094
- if (ne === "[]") return;
3095
- let t = ee.current === k, n = j.current === ne;
3096
- t && n || (k.syncSlide(e), ee.current = k, j.current = ne);
3097
- }, [k, ne]), /* @__PURE__ */ (0, G.jsx)("section", {
3098
- ref: A,
3099
- ...te,
3094
+ if (re === "[]") return;
3095
+ let t = A.current === O, n = te.current === re;
3096
+ t && n || (O.syncSlide(e), A.current = O, te.current = re);
3097
+ }, [O, re]), /* @__PURE__ */ (0, W.jsx)("section", {
3098
+ ref: k,
3099
+ ...ne,
3100
3100
  children: e
3101
3101
  });
3102
3102
  }
3103
3103
  function bt({ className: e, style: t, children: n }) {
3104
- return /* @__PURE__ */ (0, G.jsx)("section", {
3104
+ return /* @__PURE__ */ (0, W.jsx)("section", {
3105
3105
  className: e,
3106
3106
  style: t,
3107
3107
  children: n
@@ -3125,12 +3125,12 @@ var St = xt();
3125
3125
  function Ct(e) {
3126
3126
  St = e;
3127
3127
  }
3128
- var q = { exec: () => null };
3129
- function J(e, t = "") {
3128
+ var K = { exec: () => null };
3129
+ function q(e, t = "") {
3130
3130
  let n = typeof e == "string" ? e : e.source, r = {
3131
3131
  replace: (e, t) => {
3132
3132
  let i = typeof t == "string" ? t : t.source;
3133
- return i = i.replace(Y.caret, "$1"), n = n.replace(e, i), r;
3133
+ return i = i.replace(J.caret, "$1"), n = n.replace(e, i), r;
3134
3134
  },
3135
3135
  getRegex: () => new RegExp(n, t)
3136
3136
  };
@@ -3142,7 +3142,7 @@ var wt = (() => {
3142
3142
  } catch {
3143
3143
  return !1;
3144
3144
  }
3145
- })(), Y = {
3145
+ })(), J = {
3146
3146
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
3147
3147
  outputLinkReplace: /\\([\[\]])/g,
3148
3148
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -3199,9 +3199,9 @@ var wt = (() => {
3199
3199
  headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
3200
3200
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i"),
3201
3201
  blockquoteBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}>`)
3202
- }, X = /^(?:[ \t]*(?:\n|$))+/, Tt = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Et = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ot = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, kt = / {0,3}(?:[*+-]|\d{1,9}[.)])/, At = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, jt = J(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Mt = J(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pt = /^[^\n]+/, Ft = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, It = J(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ft).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Lt = J(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, kt).getRegex(), Rt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", zt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Bt = J("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", zt).replace("tag", Rt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vt = J(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").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", Rt).getRegex(), Ht = {
3203
- blockquote: J(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vt).getRegex(),
3204
- code: Tt,
3202
+ }, Tt = /^(?:[ \t]*(?:\n|$))+/, Y = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Et = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dt = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Ot = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, kt = / {0,3}(?:[*+-]|\d{1,9}[.)])/, At = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, jt = q(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Mt = q(At).replace(/bull/g, kt).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nt = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pt = /^[^\n]+/, Ft = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, It = q(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Ft).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Lt = q(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, kt).getRegex(), Rt = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", zt = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Bt = q("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", zt).replace("tag", Rt).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vt = q(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").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", Rt).getRegex(), Ht = {
3203
+ blockquote: q(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vt).getRegex(),
3204
+ code: Y,
3205
3205
  def: It,
3206
3206
  fences: Et,
3207
3207
  heading: Ot,
@@ -3209,33 +3209,33 @@ var wt = (() => {
3209
3209
  html: Bt,
3210
3210
  lheading: jt,
3211
3211
  list: Lt,
3212
- newline: X,
3212
+ newline: Tt,
3213
3213
  paragraph: Vt,
3214
- table: q,
3214
+ table: K,
3215
3215
  text: Pt
3216
- }, Ut = J("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Dt).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", Rt).getRegex(), Wt = {
3216
+ }, Ut = q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Dt).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", Rt).getRegex(), Wt = {
3217
3217
  ...Ht,
3218
3218
  lheading: Mt,
3219
3219
  table: Ut,
3220
- paragraph: J(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ut).replace("blockquote", " {0,3}>").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", Rt).getRegex()
3220
+ paragraph: q(Nt).replace("hr", Dt).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ut).replace("blockquote", " {0,3}>").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", Rt).getRegex()
3221
3221
  }, Gt = {
3222
3222
  ...Ht,
3223
- html: J("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", zt).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(),
3223
+ html: q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", zt).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(),
3224
3224
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3225
3225
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3226
- fences: q,
3226
+ fences: K,
3227
3227
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3228
- paragraph: J(Nt).replace("hr", Dt).replace("heading", " *#{1,6} *[^\n]").replace("lheading", jt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3229
- }, Kt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, qt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Jt = /^( {2,}|\\)\n(?!\s*$)/, Yt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Xt = /[\p{P}\p{S}]/u, Zt = /[\s\p{P}\p{S}]/u, Qt = /[^\s\p{P}\p{S}]/u, $t = J(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Zt).getRegex(), en = /(?!~)[\p{P}\p{S}]/u, tn = /(?!~)[\s\p{P}\p{S}]/u, nn = /(?:[^\s\p{P}\p{S}]|~)/u, rn = J(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", wt ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), an = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, on = J(an, "u").replace(/punct/g, Xt).getRegex(), sn = J(an, "u").replace(/punct/g, en).getRegex(), cn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ln = J(cn, "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), un = J(cn, "gu").replace(/notPunctSpace/g, nn).replace(/punctSpace/g, tn).replace(/punct/g, en).getRegex(), dn = J("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), fn = J(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Xt).getRegex(), pn = J("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), mn = J(/\\(punct)/, "gu").replace(/punct/g, Xt).getRegex(), hn = J(/^<(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(), gn = J(zt).replace("(?:-->|$)", "-->").getRegex(), _n = J("^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", gn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), vn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, yn = J(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", vn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bn = J(/^!?\[(label)\]\[(ref)\]/).replace("label", vn).replace("ref", Ft).getRegex(), xn = J(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ft).getRegex(), Sn = J("reflink|nolink(?!\\()", "g").replace("reflink", bn).replace("nolink", xn).getRegex(), Cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, wn = {
3230
- _backpedal: q,
3228
+ paragraph: q(Nt).replace("hr", Dt).replace("heading", " *#{1,6} *[^\n]").replace("lheading", jt).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3229
+ }, Kt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, qt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Jt = /^( {2,}|\\)\n(?!\s*$)/, Yt = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Xt = /[\p{P}\p{S}]/u, Zt = /[\s\p{P}\p{S}]/u, Qt = /[^\s\p{P}\p{S}]/u, $t = q(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Zt).getRegex(), en = /(?!~)[\p{P}\p{S}]/u, tn = /(?!~)[\s\p{P}\p{S}]/u, nn = /(?:[^\s\p{P}\p{S}]|~)/u, rn = q(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", wt ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), an = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, on = q(an, "u").replace(/punct/g, Xt).getRegex(), sn = q(an, "u").replace(/punct/g, en).getRegex(), cn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ln = q(cn, "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), un = q(cn, "gu").replace(/notPunctSpace/g, nn).replace(/punctSpace/g, tn).replace(/punct/g, en).getRegex(), dn = q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), fn = q(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Xt).getRegex(), pn = q("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Qt).replace(/punctSpace/g, Zt).replace(/punct/g, Xt).getRegex(), mn = q(/\\(punct)/, "gu").replace(/punct/g, Xt).getRegex(), hn = 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(), gn = q(zt).replace("(?:-->|$)", "-->").getRegex(), _n = 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", gn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), vn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, yn = q(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", vn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), bn = q(/^!?\[(label)\]\[(ref)\]/).replace("label", vn).replace("ref", Ft).getRegex(), xn = q(/^!?\[(ref)\](?:\[\])?/).replace("ref", Ft).getRegex(), Sn = q("reflink|nolink(?!\\()", "g").replace("reflink", bn).replace("nolink", xn).getRegex(), Cn = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, wn = {
3230
+ _backpedal: K,
3231
3231
  anyPunctuation: mn,
3232
3232
  autolink: hn,
3233
3233
  blockSkip: rn,
3234
3234
  br: Jt,
3235
3235
  code: qt,
3236
- del: q,
3237
- delLDelim: q,
3238
- delRDelim: q,
3236
+ del: K,
3237
+ delLDelim: K,
3238
+ delRDelim: K,
3239
3239
  emStrongLDelim: on,
3240
3240
  emStrongRDelimAst: ln,
3241
3241
  emStrongRDelimUnd: dn,
@@ -3247,25 +3247,25 @@ var wt = (() => {
3247
3247
  reflinkSearch: Sn,
3248
3248
  tag: _n,
3249
3249
  text: Yt,
3250
- url: q
3250
+ url: K
3251
3251
  }, Tn = {
3252
3252
  ...wn,
3253
- link: J(/^!?\[(label)\]\((.*?)\)/).replace("label", vn).getRegex(),
3254
- reflink: J(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", vn).getRegex()
3253
+ link: q(/^!?\[(label)\]\((.*?)\)/).replace("label", vn).getRegex(),
3254
+ reflink: q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", vn).getRegex()
3255
3255
  }, En = {
3256
3256
  ...wn,
3257
3257
  emStrongRDelimAst: un,
3258
3258
  emStrongLDelim: sn,
3259
3259
  delLDelim: fn,
3260
3260
  delRDelim: pn,
3261
- url: J(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3261
+ url: q(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Cn).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3262
3262
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
3263
3263
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
3264
- text: J(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Cn).getRegex()
3264
+ text: q(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Cn).getRegex()
3265
3265
  }, Dn = {
3266
3266
  ...En,
3267
- br: J(Jt).replace("{2,}", "*").getRegex(),
3268
- text: J(En.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3267
+ br: q(Jt).replace("{2,}", "*").getRegex(),
3268
+ text: q(En.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3269
3269
  }, On = {
3270
3270
  normal: Ht,
3271
3271
  gfm: Wt,
@@ -3284,29 +3284,29 @@ var wt = (() => {
3284
3284
  }, jn = (e) => An[e];
3285
3285
  function Mn(e, t) {
3286
3286
  if (t) {
3287
- if (Y.escapeTest.test(e)) return e.replace(Y.escapeReplace, jn);
3288
- } else if (Y.escapeTestNoEncode.test(e)) return e.replace(Y.escapeReplaceNoEncode, jn);
3287
+ if (J.escapeTest.test(e)) return e.replace(J.escapeReplace, jn);
3288
+ } else if (J.escapeTestNoEncode.test(e)) return e.replace(J.escapeReplaceNoEncode, jn);
3289
3289
  return e;
3290
3290
  }
3291
3291
  function Nn(e) {
3292
3292
  try {
3293
- e = encodeURI(e).replace(Y.percentDecode, "%");
3293
+ e = encodeURI(e).replace(J.percentDecode, "%");
3294
3294
  } catch {
3295
3295
  return null;
3296
3296
  }
3297
3297
  return e;
3298
3298
  }
3299
3299
  function Pn(e, t) {
3300
- let n = e.replace(Y.findPipe, (e, t, n) => {
3300
+ let n = e.replace(J.findPipe, (e, t, n) => {
3301
3301
  let r = !1, i = t;
3302
3302
  for (; --i >= 0 && n[i] === "\\";) r = !r;
3303
3303
  return r ? "|" : " |";
3304
- }).split(Y.splitPipe), r = 0;
3304
+ }).split(J.splitPipe), r = 0;
3305
3305
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
3306
3306
  if (n.length > t) n.splice(t);
3307
3307
  else for (; n.length < t;) n.push("");
3308
3308
  }
3309
- for (; r < n.length; r++) n[r] = n[r].trim().replace(Y.slashPipe, "|");
3309
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(J.slashPipe, "|");
3310
3310
  return n;
3311
3311
  }
3312
3312
  function Fn(e, t, n) {
@@ -3827,7 +3827,7 @@ ${c}` : c;
3827
3827
  top: !0
3828
3828
  };
3829
3829
  let t = {
3830
- other: Y,
3830
+ other: J,
3831
3831
  block: On.normal,
3832
3832
  inline: kn.normal
3833
3833
  };
@@ -3846,7 +3846,7 @@ ${c}` : c;
3846
3846
  return new e(n).inlineTokens(t);
3847
3847
  }
3848
3848
  lex(e) {
3849
- e = e.replace(Y.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
3849
+ e = e.replace(J.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
3850
3850
  for (let e = 0; e < this.inlineQueue.length; e++) {
3851
3851
  let t = this.inlineQueue[e];
3852
3852
  this.inlineTokens(t.src, t.tokens);
@@ -3854,7 +3854,7 @@ ${c}` : c;
3854
3854
  return this.inlineQueue = [], this.tokens;
3855
3855
  }
3856
3856
  blockTokens(e, t = [], n = !1) {
3857
- for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(Y.tabCharGlobal, " ").replace(Y.spaceLine, "")); e;) {
3857
+ for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(J.tabCharGlobal, " ").replace(J.spaceLine, "")); e;) {
3858
3858
  let r;
3859
3859
  if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
3860
3860
  if (r = this.tokenizer.space(e)) {
@@ -3979,7 +3979,7 @@ ${c}` : c;
3979
3979
  return "";
3980
3980
  }
3981
3981
  code({ text: e, lang: t, escaped: n }) {
3982
- let r = (t || "").match(Y.notSpaceStart)?.[0], i = e.replace(Y.endingNewline, "") + "\n";
3982
+ let r = (t || "").match(J.notSpaceStart)?.[0], i = e.replace(J.endingNewline, "") + "\n";
3983
3983
  return r ? "<pre><code class=\"language-" + Mn(r) + "\">" + (n ? i : Mn(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : Mn(i, !0)) + "</code></pre>\n";
3984
3984
  }
3985
3985
  blockquote({ tokens: e }) {
@@ -4469,16 +4469,16 @@ ${e}</tr>
4469
4469
  };
4470
4470
  }
4471
4471
  }();
4472
- function Z(e, t) {
4472
+ function X(e, t) {
4473
4473
  return Kn.parse(e, t);
4474
4474
  }
4475
- Z.options = Z.setOptions = function(e) {
4476
- return Kn.setOptions(e), Z.defaults = Kn.defaults, Ct(Z.defaults), Z;
4477
- }, Z.getDefaults = xt, Z.defaults = St, Z.use = function(...e) {
4478
- return Kn.use(...e), Z.defaults = Kn.defaults, Ct(Z.defaults), Z;
4479
- }, Z.walkTokens = function(e, t) {
4475
+ X.options = X.setOptions = function(e) {
4476
+ return Kn.setOptions(e), X.defaults = Kn.defaults, Ct(X.defaults), X;
4477
+ }, X.getDefaults = xt, X.defaults = St, X.use = function(...e) {
4478
+ return Kn.use(...e), X.defaults = Kn.defaults, Ct(X.defaults), X;
4479
+ }, X.walkTokens = function(e, t) {
4480
4480
  return Kn.walkTokens(e, t);
4481
- }, Z.parseInline = Kn.parseInline, Z.Parser = Wn, Z.parser = Wn.parse, Z.Renderer = Hn, Z.TextRenderer = Un, Z.Lexer = Vn, Z.lexer = Vn.lex, Z.Tokenizer = Bn, Z.Hooks = Gn, Z.parse = Z, Z.options, Z.setOptions, Z.use, Z.walkTokens, Z.parseInline, Wn.parse, Vn.lex;
4481
+ }, X.parseInline = Kn.parseInline, X.Parser = Wn, X.parser = Wn.parse, X.Renderer = Hn, X.TextRenderer = Un, X.Lexer = Vn, X.lexer = Vn.lex, X.Tokenizer = Bn, X.Hooks = Gn, X.parse = X, X.options, X.setOptions, X.use, X.walkTokens, X.parseInline, Wn.parse, Vn.lex;
4482
4482
  function qn(...e) {
4483
4483
  return e.filter(Boolean).join(" ");
4484
4484
  }
@@ -4493,18 +4493,18 @@ function Yn({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
4493
4493
  if (r) {
4494
4494
  let e;
4495
4495
  try {
4496
- e = N.Children.only(o);
4496
+ e = M.Children.only(o);
4497
4497
  } catch {
4498
4498
  throw Error("Fragment with asChild expects exactly one React element child.");
4499
4499
  }
4500
- if (!(0, N.isValidElement)(e) || e.type === N.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4500
+ if (!(0, M.isValidElement)(e) || e.type === M.Fragment) throw Error("Fragment with asChild expects exactly one non-Fragment React element child.");
4501
4501
  let n = {
4502
4502
  className: qn(e.props.className, s),
4503
4503
  style: Jn(e.props.style, a)
4504
4504
  };
4505
- return t !== void 0 && (n["data-fragment-index"] = t), (0, N.cloneElement)(e, n);
4505
+ return t !== void 0 && (n["data-fragment-index"] = t), (0, M.cloneElement)(e, n);
4506
4506
  }
4507
- return /* @__PURE__ */ (0, G.jsx)(n ?? "span", {
4507
+ return /* @__PURE__ */ (0, W.jsx)(n ?? "span", {
4508
4508
  className: s,
4509
4509
  style: a,
4510
4510
  "data-fragment-index": t,
@@ -4525,7 +4525,7 @@ function $n(e) {
4525
4525
  return (t.getBoundingClientRect().top - n.top) / (r || 1) + e.scrollTop;
4526
4526
  }
4527
4527
  function er(e, t) {
4528
- let n = (0, ie.c)(4), [r, i] = (0, N.useState)(!1), a, o;
4528
+ let n = (0, N.c)(4), [r, i] = (0, M.useState)(!1), a, o;
4529
4529
  return n[0] !== t || n[1] !== e ? (a = () => {
4530
4530
  let n = e.current, r = t.current;
4531
4531
  if (!n || !r) return;
@@ -4549,43 +4549,43 @@ function er(e, t) {
4549
4549
  }), n.addEventListener("scroll", o, { passive: !0 }), () => {
4550
4550
  cancelAnimationFrame(a), s.disconnect(), c?.disconnect(), n.removeEventListener("scroll", o);
4551
4551
  };
4552
- }, o = [e, t], n[0] = t, n[1] = e, n[2] = a, n[3] = o) : (a = n[2], o = n[3]), (0, N.useEffect)(a, o), r;
4552
+ }, 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;
4553
4553
  }
4554
4554
  var tr = (e) => {
4555
- let t = (0, ie.c)(6), { className: r } = e, i;
4555
+ let t = (0, N.c)(6), { className: r } = e, i;
4556
4556
  t[0] === r ? i = t[1] : (i = n("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", r), t[0] = r, t[1] = i);
4557
4557
  let a;
4558
- 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];
4558
+ t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, W.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
4559
4559
  let o;
4560
- t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, G.jsxs)("div", {
4560
+ t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, W.jsxs)("div", {
4561
4561
  className: "absolute bottom-3 flex items-center gap-1 rounded-full border border-border/60 bg-background/90 px-2.5 py-1 text-xs text-muted-foreground shadow-sm backdrop-blur-sm",
4562
- children: [/* @__PURE__ */ (0, G.jsx)(w, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
4562
+ children: [/* @__PURE__ */ (0, W.jsx)(C, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Scroll for more" })]
4563
4563
  }), t[3] = o) : o = t[3];
4564
4564
  let s;
4565
- return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, G.jsxs)("div", {
4565
+ return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, W.jsxs)("div", {
4566
4566
  className: i,
4567
4567
  "data-testid": "slide-scroll-hint",
4568
4568
  "aria-hidden": !0,
4569
4569
  children: [a, o]
4570
4570
  }), t[4] = i, t[5] = s), s;
4571
4571
  }, nr = (e) => {
4572
- let t = (0, ie.c)(10), { children: r, className: i } = e, a = (0, N.useRef)(null), o = (0, N.useRef)(null), s = er(a, o), c;
4572
+ let t = (0, N.c)(10), { children: r, className: i } = e, a = (0, M.useRef)(null), o = (0, M.useRef)(null), s = er(a, o), c;
4573
4573
  t[0] === i ? c = t[1] : (c = n("relative h-full w-full", i), t[0] = i, t[1] = c);
4574
4574
  let l;
4575
- t[2] === r ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
4575
+ t[2] === r ? l = t[3] : (l = /* @__PURE__ */ (0, W.jsx)("div", {
4576
4576
  ref: a,
4577
4577
  className: "h-full w-full overflow-auto",
4578
4578
  "data-testid": "slide-scroll-container",
4579
- children: /* @__PURE__ */ (0, G.jsx)("div", {
4579
+ children: /* @__PURE__ */ (0, W.jsx)("div", {
4580
4580
  ref: o,
4581
4581
  className: "flex w-full min-h-full",
4582
4582
  children: r
4583
4583
  })
4584
4584
  }), t[2] = r, t[3] = l);
4585
4585
  let u;
4586
- t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)(tr, {}), t[4] = s, t[5] = u);
4586
+ t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, W.jsx)(tr, {}), t[4] = s, t[5] = u);
4587
4587
  let d;
4588
- return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, G.jsxs)("div", {
4588
+ return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, W.jsxs)("div", {
4589
4589
  className: c,
4590
4590
  children: [l, u]
4591
4591
  }), t[6] = c, t[7] = l, t[8] = u, t[9] = d) : d = t[9], d;
@@ -4701,7 +4701,7 @@ function cr(e, t) {
4701
4701
  //#endregion
4702
4702
  //#region src/core/islands/stubs/slide-cell-view.tsx
4703
4703
  var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never happen in a read-only embed."), null), ur = (e) => (t.warn("SlideCellReadOnlyView islands stub rendered; this should never happen in a read-only embed."), null), dr = 300, fr = (e) => {
4704
- let t = (0, ie.c)(25), { layout: r, setLayout: a, cellId: o, className: s } = e, c = o ? r.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, N.useState)(c), d = (0, N.useRef)(!1), f;
4704
+ let t = (0, N.c)(25), { layout: r, setLayout: a, cellId: o, className: s } = e, c = o ? r.cells.get(o)?.speakerNotes ?? "" : "", [l, u] = (0, M.useState)(c), d = (0, M.useRef)(!1), f;
4705
4705
  t[0] !== r || t[1] !== a ? (f = (e, t) => {
4706
4706
  d.current = !1;
4707
4707
  let n = r.cells.get(e);
@@ -4715,7 +4715,7 @@ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never
4715
4715
  cells: i
4716
4716
  });
4717
4717
  }, t[0] = r, t[1] = a, t[2] = f) : f = t[2];
4718
- let p = j(f), m = T(p, dr), h = (0, N.useRef)(o), g, _;
4718
+ let p = A(f), m = ee(p, dr), h = (0, M.useRef)(o), g, _;
4719
4719
  t[3] !== o || t[4] !== l || t[5] !== c || t[6] !== m ? (g = () => {
4720
4720
  h.current === o ? !d.current && c !== l && u(c) : (m.flush(), d.current = !1, u(c), h.current = o);
4721
4721
  }, _ = [
@@ -4723,11 +4723,11 @@ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never
4723
4723
  c,
4724
4724
  l,
4725
4725
  m
4726
- ], t[3] = o, t[4] = l, t[5] = c, t[6] = m, t[7] = g, t[8] = _) : (g = t[7], _ = t[8]), (0, N.useEffect)(g, _);
4726
+ ], 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, _);
4727
4727
  let v, y;
4728
4728
  t[9] === m ? (v = t[10], y = t[11]) : (v = () => () => {
4729
4729
  m.flush();
4730
- }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, N.useEffect)(v, y);
4730
+ }, y = [m], t[9] = m, t[10] = v, t[11] = y), (0, M.useEffect)(v, y);
4731
4731
  let b;
4732
4732
  t[12] !== o || t[13] !== m ? (b = (e) => {
4733
4733
  u(e), o && (d.current = !0, m(o, e));
@@ -4735,32 +4735,32 @@ var lr = (e) => (t.warn("SlideCellView islands stub rendered; this should never
4735
4735
  let x = b, S;
4736
4736
  t[15] === s ? S = t[16] : (S = n("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
4737
4737
  let C;
4738
- t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, G.jsxs)("header", {
4738
+ t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, W.jsxs)("header", {
4739
4739
  className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
4740
- children: [/* @__PURE__ */ (0, G.jsx)(M, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
4740
+ children: [/* @__PURE__ */ (0, W.jsx)(j, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: "Speaker notes" })]
4741
4741
  }), t[17] = C) : C = t[17];
4742
4742
  let w;
4743
- t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, G.jsx)("div", {
4743
+ t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, W.jsx)("div", {
4744
4744
  className: "flex-1 min-h-0 p-2",
4745
- children: o ? /* @__PURE__ */ (0, G.jsx)("textarea", {
4745
+ children: o ? /* @__PURE__ */ (0, W.jsx)("textarea", {
4746
4746
  value: l,
4747
4747
  onChange: (e) => x(e.target.value),
4748
4748
  onClick: i.stopPropagation(),
4749
4749
  placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
4750
4750
  className: n("h-full w-full resize-none rounded-sm border border-input/25 bg-background", "px-3 py-2 text-sm leading-relaxed text-foreground placeholder:text-muted-foreground", "ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent"),
4751
4751
  "aria-label": "Speaker notes for the current slide"
4752
- }) : /* @__PURE__ */ (0, G.jsx)("div", {
4752
+ }) : /* @__PURE__ */ (0, W.jsx)("div", {
4753
4753
  className: "h-full flex items-center justify-center text-xs text-muted-foreground",
4754
4754
  children: "Select a slide to add notes."
4755
4755
  })
4756
4756
  }), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
4757
- let E;
4758
- return t[22] !== S || t[23] !== w ? (E = /* @__PURE__ */ (0, G.jsxs)("section", {
4757
+ let T;
4758
+ return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, W.jsxs)("section", {
4759
4759
  className: S,
4760
4760
  "aria-label": "Speaker notes",
4761
4761
  onKeyDown: pr,
4762
4762
  children: [C, w]
4763
- }), t[22] = S, t[23] = w, t[24] = E) : E = t[24], E;
4763
+ }), t[22] = S, t[23] = w, t[24] = T) : T = t[24], T;
4764
4764
  };
4765
4765
  function pr(e) {
4766
4766
  return e.stopPropagation();
@@ -4777,7 +4777,7 @@ var mr = "\n\n---\n\n", hr = (e, t) => e.map((e) => t.get(e.id)?.speakerNotes ??
4777
4777
  slideLevel: r,
4778
4778
  cumulativeByBlock: i
4779
4779
  };
4780
- }, _r = O(!1);
4780
+ }, _r = D(!1);
4781
4781
  //#endregion
4782
4782
  //#region ../node_modules/.pnpm/reveal.js@6.0.2/node_modules/reveal.js/dist/plugin/notes.mjs
4783
4783
  function vr() {
@@ -4799,11 +4799,11 @@ function br(e) {
4799
4799
  yr = e;
4800
4800
  }
4801
4801
  var xr = { exec: () => null };
4802
- function Q(e, t = "") {
4802
+ function Z(e, t = "") {
4803
4803
  let n = typeof e == "string" ? e : e.source, r = {
4804
4804
  replace: (e, t) => {
4805
4805
  let i = typeof t == "string" ? t : t.source;
4806
- return i = i.replace(Cr.caret, "$1"), n = n.replace(e, i), r;
4806
+ return i = i.replace(Q.caret, "$1"), n = n.replace(e, i), r;
4807
4807
  },
4808
4808
  getRegex: () => new RegExp(n, t)
4809
4809
  };
@@ -4815,7 +4815,7 @@ var Sr = (() => {
4815
4815
  } catch {
4816
4816
  return !1;
4817
4817
  }
4818
- })(), Cr = {
4818
+ })(), Q = {
4819
4819
  codeRemoveIndent: /^(?: {1,4}| {0,3}\t)/gm,
4820
4820
  outputLinkReplace: /\\([\[\]])/g,
4821
4821
  indentCodeCompensation: /^(\s+)(?:```)/,
@@ -4872,117 +4872,117 @@ var Sr = (() => {
4872
4872
  headingBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}#`),
4873
4873
  htmlBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}<(?:[a-z].*>|!--)`, "i"),
4874
4874
  blockquoteBeginRegex: (e) => RegExp(`^ {0,${Math.min(3, e - 1)}}>`)
4875
- }, wr = /^(?:[ \t]*(?:\n|$))+/, Tr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Er = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Dr = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Or = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, kr = / {0,3}(?:[*+-]|\d{1,9}[.)])/, Ar = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, jr = Q(Ar).replace(/bull/g, kr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), Mr = Q(Ar).replace(/bull/g, kr).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Nr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Pr = /^[^\n]+/, Fr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Ir = Q(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Fr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Lr = Q(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, kr).getRegex(), Rr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", zr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, Br = Q("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", zr).replace("tag", Rr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Vr = Q(Nr).replace("hr", Dr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").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", Rr).getRegex(), Hr = {
4876
- blockquote: Q(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Vr).getRegex(),
4877
- code: Tr,
4878
- def: Ir,
4879
- fences: Er,
4880
- heading: Or,
4881
- hr: Dr,
4882
- html: Br,
4883
- lheading: jr,
4884
- list: Lr,
4885
- newline: wr,
4886
- paragraph: Vr,
4875
+ }, Cr = /^(?:[ \t]*(?:\n|$))+/, wr = /^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/, Tr = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Er = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, Dr = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Or = / {0,3}(?:[*+-]|\d{1,9}[.)])/, kr = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html|table))+?)\n {0,3}(=+|-+) *(?:\n+|$)/, Ar = Z(kr).replace(/bull/g, Or).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/\|table/g, "").getRegex(), jr = Z(kr).replace(/bull/g, Or).replace(/blockCode/g, /(?: {4}| {0,3}\t)/).replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g, / {0,3}>/).replace(/heading/g, / {0,3}#{1,6}/).replace(/html/g, / {0,3}<[^\n>]+>\n/).replace(/table/g, / {0,3}\|?(?:[:\- ]*\|)+[\:\- ]*\n/).getRegex(), Mr = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, Nr = /^[^\n]+/, Pr = /(?!\s*\])(?:\\[\s\S]|[^\[\]\\])+/, Fr = Z(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label", Pr).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), Ir = Z(/^(bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Or).getRegex(), Lr = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", Rr = /<!--(?:-?>|[\s\S]*?(?:-->|$))/, zr = Z("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))", "i").replace("comment", Rr).replace("tag", Lr).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Br = Z(Mr).replace("hr", Er).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").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", Lr).getRegex(), Vr = {
4876
+ blockquote: Z(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Br).getRegex(),
4877
+ code: wr,
4878
+ def: Fr,
4879
+ fences: Tr,
4880
+ heading: Dr,
4881
+ hr: Er,
4882
+ html: zr,
4883
+ lheading: Ar,
4884
+ list: Ir,
4885
+ newline: Cr,
4886
+ paragraph: Br,
4887
4887
  table: xr,
4888
- text: Pr
4889
- }, Ur = Q("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Dr).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", Rr).getRegex(), Wr = {
4890
- ...Hr,
4891
- lheading: Mr,
4892
- table: Ur,
4893
- paragraph: Q(Nr).replace("hr", Dr).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Ur).replace("blockquote", " {0,3}>").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", Rr).getRegex()
4894
- }, Gr = {
4895
- ...Hr,
4896
- html: Q("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", zr).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(),
4888
+ text: Nr
4889
+ }, Hr = Z("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Er).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", Lr).getRegex(), Ur = {
4890
+ ...Vr,
4891
+ lheading: jr,
4892
+ table: Hr,
4893
+ paragraph: Z(Mr).replace("hr", Er).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Hr).replace("blockquote", " {0,3}>").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", Lr).getRegex()
4894
+ }, Wr = {
4895
+ ...Vr,
4896
+ html: Z("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Rr).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(),
4897
4897
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
4898
4898
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
4899
4899
  fences: xr,
4900
4900
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
4901
- paragraph: Q(Nr).replace("hr", Dr).replace("heading", " *#{1,6} *[^\n]").replace("lheading", jr).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4902
- }, Kr = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, qr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Jr = /^( {2,}|\\)\n(?!\s*$)/, Yr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Xr = /[\p{P}\p{S}]/u, Zr = /[\s\p{P}\p{S}]/u, Qr = /[^\s\p{P}\p{S}]/u, $r = Q(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Zr).getRegex(), ei = /(?!~)[\p{P}\p{S}]/u, ti = /(?!~)[\s\p{P}\p{S}]/u, ni = /(?:[^\s\p{P}\p{S}]|~)/u, ri = Q(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Sr ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ii = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ai = Q(ii, "u").replace(/punct/g, Xr).getRegex(), oi = Q(ii, "u").replace(/punct/g, ei).getRegex(), si = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", ci = Q(si, "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), li = Q(si, "gu").replace(/notPunctSpace/g, ni).replace(/punctSpace/g, ti).replace(/punct/g, ei).getRegex(), ui = Q("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), di = Q(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Xr).getRegex(), fi = Q("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Qr).replace(/punctSpace/g, Zr).replace(/punct/g, Xr).getRegex(), pi = Q(/\\(punct)/, "gu").replace(/punct/g, Xr).getRegex(), mi = 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(), hi = Q(zr).replace("(?:-->|$)", "-->").getRegex(), gi = 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", hi).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), _i = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, vi = Q(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", _i).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), yi = Q(/^!?\[(label)\]\[(ref)\]/).replace("label", _i).replace("ref", Fr).getRegex(), bi = Q(/^!?\[(ref)\](?:\[\])?/).replace("ref", Fr).getRegex(), xi = Q("reflink|nolink(?!\\()", "g").replace("reflink", yi).replace("nolink", bi).getRegex(), Si = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Ci = {
4901
+ paragraph: Z(Mr).replace("hr", Er).replace("heading", " *#{1,6} *[^\n]").replace("lheading", Ar).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
4902
+ }, Gr = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Kr = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, qr = /^( {2,}|\\)\n(?!\s*$)/, Jr = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Yr = /[\p{P}\p{S}]/u, Xr = /[\s\p{P}\p{S}]/u, Zr = /[^\s\p{P}\p{S}]/u, Qr = Z(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, Xr).getRegex(), $r = /(?!~)[\p{P}\p{S}]/u, ei = /(?!~)[\s\p{P}\p{S}]/u, ti = /(?:[^\s\p{P}\p{S}]|~)/u, ni = Z(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Sr ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), ri = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, ii = Z(ri, "u").replace(/punct/g, Yr).getRegex(), ai = Z(ri, "u").replace(/punct/g, $r).getRegex(), oi = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", si = Z(oi, "gu").replace(/notPunctSpace/g, Zr).replace(/punctSpace/g, Xr).replace(/punct/g, Yr).getRegex(), ci = Z(oi, "gu").replace(/notPunctSpace/g, ti).replace(/punctSpace/g, ei).replace(/punct/g, $r).getRegex(), li = Z("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, Zr).replace(/punctSpace/g, Xr).replace(/punct/g, Yr).getRegex(), ui = Z(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, Yr).getRegex(), di = Z("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, Zr).replace(/punctSpace/g, Xr).replace(/punct/g, Yr).getRegex(), fi = Z(/\\(punct)/, "gu").replace(/punct/g, Yr).getRegex(), pi = Z(/^<(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(), mi = Z(Rr).replace("(?:-->|$)", "-->").getRegex(), hi = Z("^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", mi).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), gi = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, _i = Z(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", gi).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), vi = Z(/^!?\[(label)\]\[(ref)\]/).replace("label", gi).replace("ref", Pr).getRegex(), yi = Z(/^!?\[(ref)\](?:\[\])?/).replace("ref", Pr).getRegex(), bi = Z("reflink|nolink(?!\\()", "g").replace("reflink", vi).replace("nolink", yi).getRegex(), xi = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, Si = {
4903
4903
  _backpedal: xr,
4904
- anyPunctuation: pi,
4905
- autolink: mi,
4906
- blockSkip: ri,
4907
- br: Jr,
4908
- code: qr,
4904
+ anyPunctuation: fi,
4905
+ autolink: pi,
4906
+ blockSkip: ni,
4907
+ br: qr,
4908
+ code: Kr,
4909
4909
  del: xr,
4910
4910
  delLDelim: xr,
4911
4911
  delRDelim: xr,
4912
- emStrongLDelim: ai,
4913
- emStrongRDelimAst: ci,
4914
- emStrongRDelimUnd: ui,
4915
- escape: Kr,
4916
- link: vi,
4917
- nolink: bi,
4918
- punctuation: $r,
4919
- reflink: yi,
4920
- reflinkSearch: xi,
4921
- tag: gi,
4922
- text: Yr,
4912
+ emStrongLDelim: ii,
4913
+ emStrongRDelimAst: si,
4914
+ emStrongRDelimUnd: li,
4915
+ escape: Gr,
4916
+ link: _i,
4917
+ nolink: yi,
4918
+ punctuation: Qr,
4919
+ reflink: vi,
4920
+ reflinkSearch: bi,
4921
+ tag: hi,
4922
+ text: Jr,
4923
4923
  url: xr
4924
+ }, Ci = {
4925
+ ...Si,
4926
+ link: Z(/^!?\[(label)\]\((.*?)\)/).replace("label", gi).getRegex(),
4927
+ reflink: Z(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", gi).getRegex()
4924
4928
  }, wi = {
4925
- ...Ci,
4926
- link: Q(/^!?\[(label)\]\((.*?)\)/).replace("label", _i).getRegex(),
4927
- reflink: Q(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", _i).getRegex()
4928
- }, Ti = {
4929
- ...Ci,
4930
- emStrongRDelimAst: li,
4931
- emStrongLDelim: oi,
4932
- delLDelim: di,
4933
- delRDelim: fi,
4934
- url: Q(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", Si).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
4929
+ ...Si,
4930
+ emStrongRDelimAst: ci,
4931
+ emStrongLDelim: ai,
4932
+ delLDelim: ui,
4933
+ delRDelim: di,
4934
+ url: Z(/^((?:protocol):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/).replace("protocol", xi).replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
4935
4935
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
4936
4936
  del: /^(~~?)(?=[^\s~])((?:\\[\s\S]|[^\\])*?(?:\\[\s\S]|[^\s~\\]))\1(?=[^~]|$)/,
4937
- text: Q(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", Si).getRegex()
4937
+ text: Z(/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|protocol:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/).replace("protocol", xi).getRegex()
4938
+ }, Ti = {
4939
+ ...wi,
4940
+ br: Z(qr).replace("{2,}", "*").getRegex(),
4941
+ text: Z(wi.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4938
4942
  }, Ei = {
4939
- ...Ti,
4940
- br: Q(Jr).replace("{2,}", "*").getRegex(),
4941
- text: Q(Ti.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
4943
+ normal: Vr,
4944
+ gfm: Ur,
4945
+ pedantic: Wr
4942
4946
  }, Di = {
4943
- normal: Hr,
4944
- gfm: Wr,
4945
- pedantic: Gr
4947
+ normal: Si,
4948
+ gfm: wi,
4949
+ breaks: Ti,
4950
+ pedantic: Ci
4946
4951
  }, Oi = {
4947
- normal: Ci,
4948
- gfm: Ti,
4949
- breaks: Ei,
4950
- pedantic: wi
4951
- }, ki = {
4952
4952
  "&": "&amp;",
4953
4953
  "<": "&lt;",
4954
4954
  ">": "&gt;",
4955
4955
  "\"": "&quot;",
4956
4956
  "'": "&#39;"
4957
- }, Ai = (e) => ki[e];
4958
- function ji(e, t) {
4957
+ }, ki = (e) => Oi[e];
4958
+ function Ai(e, t) {
4959
4959
  if (t) {
4960
- if (Cr.escapeTest.test(e)) return e.replace(Cr.escapeReplace, Ai);
4961
- } else if (Cr.escapeTestNoEncode.test(e)) return e.replace(Cr.escapeReplaceNoEncode, Ai);
4960
+ if (Q.escapeTest.test(e)) return e.replace(Q.escapeReplace, ki);
4961
+ } else if (Q.escapeTestNoEncode.test(e)) return e.replace(Q.escapeReplaceNoEncode, ki);
4962
4962
  return e;
4963
4963
  }
4964
- function Mi(e) {
4964
+ function ji(e) {
4965
4965
  try {
4966
- e = encodeURI(e).replace(Cr.percentDecode, "%");
4966
+ e = encodeURI(e).replace(Q.percentDecode, "%");
4967
4967
  } catch {
4968
4968
  return null;
4969
4969
  }
4970
4970
  return e;
4971
4971
  }
4972
- function Ni(e, t) {
4973
- let n = e.replace(Cr.findPipe, (e, t, n) => {
4972
+ function Mi(e, t) {
4973
+ let n = e.replace(Q.findPipe, (e, t, n) => {
4974
4974
  let r = !1, i = t;
4975
4975
  for (; --i >= 0 && n[i] === "\\";) r = !r;
4976
4976
  return r ? "|" : " |";
4977
- }).split(Cr.splitPipe), r = 0;
4977
+ }).split(Q.splitPipe), r = 0;
4978
4978
  if (n[0].trim() || n.shift(), n.length > 0 && !n.at(-1)?.trim() && n.pop(), t) {
4979
4979
  if (n.length > t) n.splice(t);
4980
4980
  else for (; n.length < t;) n.push("");
4981
4981
  }
4982
- for (; r < n.length; r++) n[r] = n[r].trim().replace(Cr.slashPipe, "|");
4982
+ for (; r < n.length; r++) n[r] = n[r].trim().replace(Q.slashPipe, "|");
4983
4983
  return n;
4984
4984
  }
4985
- function Pi(e, t, n) {
4985
+ function Ni(e, t, n) {
4986
4986
  let r = e.length;
4987
4987
  if (r === 0) return "";
4988
4988
  let i = 0;
@@ -4994,7 +4994,7 @@ function Pi(e, t, n) {
4994
4994
  }
4995
4995
  return e.slice(0, r - i);
4996
4996
  }
4997
- function Fi(e, t) {
4997
+ function Pi(e, t) {
4998
4998
  if (e.indexOf(t[1]) === -1) return -1;
4999
4999
  let n = 0;
5000
5000
  for (let r = 0; r < e.length; r++) if (e[r] === "\\") r++;
@@ -5002,7 +5002,7 @@ function Fi(e, t) {
5002
5002
  else if (e[r] === t[1] && (n--, n < 0)) return r;
5003
5003
  return n > 0 ? -2 : -1;
5004
5004
  }
5005
- function Ii(e, t = 0) {
5005
+ function Fi(e, t = 0) {
5006
5006
  let n = t, r = "";
5007
5007
  for (let t of e) if (t === " ") {
5008
5008
  let e = 4 - n % 4;
@@ -5010,7 +5010,7 @@ function Ii(e, t = 0) {
5010
5010
  } else r += t, n++;
5011
5011
  return r;
5012
5012
  }
5013
- function Li(e, t, n, r, i) {
5013
+ function Ii(e, t, n, r, i) {
5014
5014
  let a = t.href, o = t.title || null, s = e[1].replace(i.other.outputLinkReplace, "$1");
5015
5015
  r.state.inLink = !0;
5016
5016
  let c = {
@@ -5023,7 +5023,7 @@ function Li(e, t, n, r, i) {
5023
5023
  };
5024
5024
  return r.state.inLink = !1, c;
5025
5025
  }
5026
- function Ri(e, t, n) {
5026
+ function Li(e, t, n) {
5027
5027
  let r = e.match(n.other.indentCodeCompensation);
5028
5028
  if (r === null) return t;
5029
5029
  let i = r[1];
@@ -5034,7 +5034,7 @@ function Ri(e, t, n) {
5034
5034
  return r.length >= i.length ? e.slice(i.length) : e;
5035
5035
  }).join("\n");
5036
5036
  }
5037
- var zi = class {
5037
+ var Ri = class {
5038
5038
  options;
5039
5039
  rules;
5040
5040
  lexer;
@@ -5056,14 +5056,14 @@ var zi = class {
5056
5056
  type: "code",
5057
5057
  raw: t[0],
5058
5058
  codeBlockStyle: "indented",
5059
- text: this.options.pedantic ? e : Pi(e, "\n")
5059
+ text: this.options.pedantic ? e : Ni(e, "\n")
5060
5060
  };
5061
5061
  }
5062
5062
  }
5063
5063
  fences(e) {
5064
5064
  let t = this.rules.block.fences.exec(e);
5065
5065
  if (t) {
5066
- let e = t[0], n = Ri(e, t[3] || "", this.rules);
5066
+ let e = t[0], n = Li(e, t[3] || "", this.rules);
5067
5067
  return {
5068
5068
  type: "code",
5069
5069
  raw: e,
@@ -5077,7 +5077,7 @@ var zi = class {
5077
5077
  if (t) {
5078
5078
  let e = t[2].trim();
5079
5079
  if (this.rules.other.endingHash.test(e)) {
5080
- let t = Pi(e, "#");
5080
+ let t = Ni(e, "#");
5081
5081
  (this.options.pedantic || !t || this.rules.other.endingSpaceChar.test(t)) && (e = t.trim());
5082
5082
  }
5083
5083
  return {
@@ -5093,13 +5093,13 @@ var zi = class {
5093
5093
  let t = this.rules.block.hr.exec(e);
5094
5094
  if (t) return {
5095
5095
  type: "hr",
5096
- raw: Pi(t[0], "\n")
5096
+ raw: Ni(t[0], "\n")
5097
5097
  };
5098
5098
  }
5099
5099
  blockquote(e) {
5100
5100
  let t = this.rules.block.blockquote.exec(e);
5101
5101
  if (t) {
5102
- let e = Pi(t[0], "\n").split("\n"), n = "", r = "", i = [];
5102
+ let e = Ni(t[0], "\n").split("\n"), n = "", r = "", i = [];
5103
5103
  for (; e.length > 0;) {
5104
5104
  let t = !1, a = [], o = 0;
5105
5105
  for (; o < e.length; o++) if (this.rules.other.blockquoteStart.test(e[o])) a.push(e[o]), t = !0;
@@ -5149,7 +5149,7 @@ ${c}` : c;
5149
5149
  let n = !1, r = "", s = "";
5150
5150
  if (!(t = a.exec(e)) || this.rules.block.hr.test(e)) break;
5151
5151
  r = t[0], e = e.substring(r.length);
5152
- let c = Ii(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
5152
+ let c = Fi(t[2].split("\n", 1)[0], t[1].length), l = e.split("\n", 1)[0], u = !c.trim(), d = 0;
5153
5153
  if (this.options.pedantic ? (d = 2, s = c.trimStart()) : u ? d = t[1].length + 1 : (d = c.search(this.rules.other.nonSpaceChar), d = d > 4 ? 1 : d, s = c.slice(d), d += t[1].length), u && this.rules.other.blankLine.test(l) && (r += l + "\n", e = e.substring(l.length + 1), n = !0), !n) {
5154
5154
  let t = this.rules.other.nextBulletRegex(d), n = this.rules.other.hrRegex(d), i = this.rules.other.fencesBeginRegex(d), a = this.rules.other.headingBeginRegex(d), o = this.rules.other.htmlBeginRegex(d), f = this.rules.other.blockquoteBeginRegex(d);
5155
5155
  for (; e;) {
@@ -5238,7 +5238,7 @@ ${c}` : c;
5238
5238
  table(e) {
5239
5239
  let t = this.rules.block.table.exec(e);
5240
5240
  if (!t || !this.rules.other.tableDelimiter.test(t[2])) return;
5241
- let n = Ni(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
5241
+ let n = Mi(t[1]), r = t[2].replace(this.rules.other.tableAlignChars, "").split("|"), i = t[3]?.trim() ? t[3].replace(this.rules.other.tableRowBlankLine, "").split("\n") : [], a = {
5242
5242
  type: "table",
5243
5243
  raw: t[0],
5244
5244
  header: [],
@@ -5253,7 +5253,7 @@ ${c}` : c;
5253
5253
  header: !0,
5254
5254
  align: a.align[e]
5255
5255
  });
5256
- for (let e of i) a.rows.push(Ni(e, a.header.length).map((e, t) => ({
5256
+ for (let e of i) a.rows.push(Mi(e, a.header.length).map((e, t) => ({
5257
5257
  text: e,
5258
5258
  tokens: this.lexer.inline(e),
5259
5259
  header: !1,
@@ -5321,10 +5321,10 @@ ${c}` : c;
5321
5321
  let e = t[2].trim();
5322
5322
  if (!this.options.pedantic && this.rules.other.startAngleBracket.test(e)) {
5323
5323
  if (!this.rules.other.endAngleBracket.test(e)) return;
5324
- let t = Pi(e.slice(0, -1), "\\");
5324
+ let t = Ni(e.slice(0, -1), "\\");
5325
5325
  if ((e.length - t.length) % 2 == 0) return;
5326
5326
  } else {
5327
- let e = Fi(t[2], "()");
5327
+ let e = Pi(t[2], "()");
5328
5328
  if (e === -2) return;
5329
5329
  if (e > -1) {
5330
5330
  let n = (t[0].indexOf("!") === 0 ? 5 : 4) + t[1].length + e;
@@ -5336,7 +5336,7 @@ ${c}` : c;
5336
5336
  let e = this.rules.other.pedanticHrefTitle.exec(n);
5337
5337
  e && (n = e[1], r = e[3]);
5338
5338
  } else r = t[3] ? t[3].slice(1, -1) : "";
5339
- return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Li(t, {
5339
+ return n = n.trim(), this.rules.other.startAngleBracket.test(n) && (n = this.options.pedantic && !this.rules.other.endAngleBracket.test(e) ? n.slice(1) : n.slice(1, -1)), Ii(t, {
5340
5340
  href: n && n.replace(this.rules.inline.anyPunctuation, "$1"),
5341
5341
  title: r && r.replace(this.rules.inline.anyPunctuation, "$1")
5342
5342
  }, t[0], this.lexer, this.rules);
@@ -5354,7 +5354,7 @@ ${c}` : c;
5354
5354
  text: e
5355
5355
  };
5356
5356
  }
5357
- return Li(n, e, n[0], this.lexer, this.rules);
5357
+ return Ii(n, e, n[0], this.lexer, this.rules);
5358
5358
  }
5359
5359
  }
5360
5360
  emStrong(e, t, n = "") {
@@ -5487,29 +5487,29 @@ ${c}` : c;
5487
5487
  };
5488
5488
  }
5489
5489
  }
5490
- }, Bi = class e {
5490
+ }, zi = class e {
5491
5491
  tokens;
5492
5492
  options;
5493
5493
  state;
5494
5494
  inlineQueue;
5495
5495
  tokenizer;
5496
5496
  constructor(e) {
5497
- this.tokens = [], this.tokens.links = Object.create(null), this.options = e || yr, this.options.tokenizer = this.options.tokenizer || new zi(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5497
+ this.tokens = [], this.tokens.links = Object.create(null), this.options = e || yr, this.options.tokenizer = this.options.tokenizer || new Ri(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
5498
5498
  inLink: !1,
5499
5499
  inRawBlock: !1,
5500
5500
  top: !0
5501
5501
  };
5502
5502
  let t = {
5503
- other: Cr,
5504
- block: Di.normal,
5505
- inline: Oi.normal
5503
+ other: Q,
5504
+ block: Ei.normal,
5505
+ inline: Di.normal
5506
5506
  };
5507
- this.options.pedantic ? (t.block = Di.pedantic, t.inline = Oi.pedantic) : this.options.gfm && (t.block = Di.gfm, t.inline = this.options.breaks ? Oi.breaks : Oi.gfm), this.tokenizer.rules = t;
5507
+ this.options.pedantic ? (t.block = Ei.pedantic, t.inline = Di.pedantic) : this.options.gfm && (t.block = Ei.gfm, t.inline = this.options.breaks ? Di.breaks : Di.gfm), this.tokenizer.rules = t;
5508
5508
  }
5509
5509
  static get rules() {
5510
5510
  return {
5511
- block: Di,
5512
- inline: Oi
5511
+ block: Ei,
5512
+ inline: Di
5513
5513
  };
5514
5514
  }
5515
5515
  static lex(t, n) {
@@ -5519,7 +5519,7 @@ ${c}` : c;
5519
5519
  return new e(n).inlineTokens(t);
5520
5520
  }
5521
5521
  lex(e) {
5522
- e = e.replace(Cr.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
5522
+ e = e.replace(Q.carriageReturn, "\n"), this.blockTokens(e, this.tokens);
5523
5523
  for (let e = 0; e < this.inlineQueue.length; e++) {
5524
5524
  let t = this.inlineQueue[e];
5525
5525
  this.inlineTokens(t.src, t.tokens);
@@ -5527,7 +5527,7 @@ ${c}` : c;
5527
5527
  return this.inlineQueue = [], this.tokens;
5528
5528
  }
5529
5529
  blockTokens(e, t = [], n = !1) {
5530
- for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(Cr.tabCharGlobal, " ").replace(Cr.spaceLine, "")); e;) {
5530
+ for (this.tokenizer.lexer = this, this.options.pedantic && (e = e.replace(Q.tabCharGlobal, " ").replace(Q.spaceLine, "")); e;) {
5531
5531
  let r;
5532
5532
  if (this.options.extensions?.block?.some((n) => (r = n.call({ lexer: this }, e, t)) ? (e = e.substring(r.raw.length), t.push(r), !0) : !1)) continue;
5533
5533
  if (r = this.tokenizer.space(e)) {
@@ -5642,7 +5642,7 @@ ${c}` : c;
5642
5642
  }
5643
5643
  return t;
5644
5644
  }
5645
- }, Vi = class {
5645
+ }, Bi = class {
5646
5646
  options;
5647
5647
  parser;
5648
5648
  constructor(e) {
@@ -5652,8 +5652,8 @@ ${c}` : c;
5652
5652
  return "";
5653
5653
  }
5654
5654
  code({ text: e, lang: t, escaped: n }) {
5655
- let r = (t || "").match(Cr.notSpaceStart)?.[0], i = e.replace(Cr.endingNewline, "") + "\n";
5656
- return r ? "<pre><code class=\"language-" + ji(r) + "\">" + (n ? i : ji(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : ji(i, !0)) + "</code></pre>\n";
5655
+ let r = (t || "").match(Q.notSpaceStart)?.[0], i = e.replace(Q.endingNewline, "") + "\n";
5656
+ return r ? "<pre><code class=\"language-" + Ai(r) + "\">" + (n ? i : Ai(i, !0)) + "</code></pre>\n" : "<pre><code>" + (n ? i : Ai(i, !0)) + "</code></pre>\n";
5657
5657
  }
5658
5658
  blockquote({ tokens: e }) {
5659
5659
  return `<blockquote>
@@ -5723,7 +5723,7 @@ ${e}</tr>
5723
5723
  return `<em>${this.parser.parseInline(e)}</em>`;
5724
5724
  }
5725
5725
  codespan({ text: e }) {
5726
- return `<code>${ji(e, !0)}</code>`;
5726
+ return `<code>${Ai(e, !0)}</code>`;
5727
5727
  }
5728
5728
  br(e) {
5729
5729
  return "<br>";
@@ -5732,24 +5732,24 @@ ${e}</tr>
5732
5732
  return `<del>${this.parser.parseInline(e)}</del>`;
5733
5733
  }
5734
5734
  link({ href: e, title: t, tokens: n }) {
5735
- let r = this.parser.parseInline(n), i = Mi(e);
5735
+ let r = this.parser.parseInline(n), i = ji(e);
5736
5736
  if (i === null) return r;
5737
5737
  e = i;
5738
5738
  let a = "<a href=\"" + e + "\"";
5739
- return t && (a += " title=\"" + ji(t) + "\""), a += ">" + r + "</a>", a;
5739
+ return t && (a += " title=\"" + Ai(t) + "\""), a += ">" + r + "</a>", a;
5740
5740
  }
5741
5741
  image({ href: e, title: t, text: n, tokens: r }) {
5742
5742
  r && (n = this.parser.parseInline(r, this.parser.textRenderer));
5743
- let i = Mi(e);
5744
- if (i === null) return ji(n);
5743
+ let i = ji(e);
5744
+ if (i === null) return Ai(n);
5745
5745
  e = i;
5746
- let a = `<img src="${e}" alt="${ji(n)}"`;
5747
- return t && (a += ` title="${ji(t)}"`), a += ">", a;
5746
+ let a = `<img src="${e}" alt="${Ai(n)}"`;
5747
+ return t && (a += ` title="${Ai(t)}"`), a += ">", a;
5748
5748
  }
5749
5749
  text(e) {
5750
- return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : ji(e.text);
5750
+ return "tokens" in e && e.tokens ? this.parser.parseInline(e.tokens) : "escaped" in e && e.escaped ? e.text : Ai(e.text);
5751
5751
  }
5752
- }, Hi = class {
5752
+ }, Vi = class {
5753
5753
  strong({ text: e }) {
5754
5754
  return e;
5755
5755
  }
@@ -5780,12 +5780,12 @@ ${e}</tr>
5780
5780
  checkbox({ raw: e }) {
5781
5781
  return e;
5782
5782
  }
5783
- }, Ui = class e {
5783
+ }, Hi = class e {
5784
5784
  options;
5785
5785
  renderer;
5786
5786
  textRenderer;
5787
5787
  constructor(e) {
5788
- this.options = e || yr, this.options.renderer = this.options.renderer || new Vi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Hi();
5788
+ this.options = e || yr, this.options.renderer = this.options.renderer || new Bi(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Vi();
5789
5789
  }
5790
5790
  static parse(t, n) {
5791
5791
  return new e(n).parse(t);
@@ -5931,7 +5931,7 @@ ${e}</tr>
5931
5931
  }
5932
5932
  return n;
5933
5933
  }
5934
- }, Wi = class {
5934
+ }, Ui = class {
5935
5935
  options;
5936
5936
  block;
5937
5937
  constructor(e) {
@@ -5961,22 +5961,22 @@ ${e}</tr>
5961
5961
  return e;
5962
5962
  }
5963
5963
  provideLexer() {
5964
- return this.block ? Bi.lex : Bi.lexInline;
5964
+ return this.block ? zi.lex : zi.lexInline;
5965
5965
  }
5966
5966
  provideParser() {
5967
- return this.block ? Ui.parse : Ui.parseInline;
5967
+ return this.block ? Hi.parse : Hi.parseInline;
5968
5968
  }
5969
- }, Gi = new class {
5969
+ }, Wi = new class {
5970
5970
  defaults = vr();
5971
5971
  options = this.setOptions;
5972
5972
  parse = this.parseMarkdown(!0);
5973
5973
  parseInline = this.parseMarkdown(!1);
5974
- Parser = Ui;
5975
- Renderer = Vi;
5976
- TextRenderer = Hi;
5977
- Lexer = Bi;
5978
- Tokenizer = zi;
5979
- Hooks = Wi;
5974
+ Parser = Hi;
5975
+ Renderer = Bi;
5976
+ TextRenderer = Vi;
5977
+ Lexer = zi;
5978
+ Tokenizer = Ri;
5979
+ Hooks = Ui;
5980
5980
  constructor(...e) {
5981
5981
  this.use(...e);
5982
5982
  }
@@ -6027,7 +6027,7 @@ ${e}</tr>
6027
6027
  }
6028
6028
  "childTokens" in e && e.childTokens && (t.childTokens[e.name] = e.childTokens);
6029
6029
  }), n.extensions = t), e.renderer) {
6030
- let t = this.defaults.renderer || new Vi(this.defaults);
6030
+ let t = this.defaults.renderer || new Bi(this.defaults);
6031
6031
  for (let n in e.renderer) {
6032
6032
  if (!(n in t)) throw Error(`renderer '${n}' does not exist`);
6033
6033
  if (["options", "parser"].includes(n)) continue;
@@ -6040,7 +6040,7 @@ ${e}</tr>
6040
6040
  n.renderer = t;
6041
6041
  }
6042
6042
  if (e.tokenizer) {
6043
- let t = this.defaults.tokenizer || new zi(this.defaults);
6043
+ let t = this.defaults.tokenizer || new Ri(this.defaults);
6044
6044
  for (let n in e.tokenizer) {
6045
6045
  if (!(n in t)) throw Error(`tokenizer '${n}' does not exist`);
6046
6046
  if ([
@@ -6057,13 +6057,13 @@ ${e}</tr>
6057
6057
  n.tokenizer = t;
6058
6058
  }
6059
6059
  if (e.hooks) {
6060
- let t = this.defaults.hooks || new Wi();
6060
+ let t = this.defaults.hooks || new Ui();
6061
6061
  for (let n in e.hooks) {
6062
6062
  if (!(n in t)) throw Error(`hook '${n}' does not exist`);
6063
6063
  if (["options", "block"].includes(n)) continue;
6064
6064
  let r = n, i = e.hooks[r], a = t[r];
6065
- t[r] = Wi.passThroughHooks.has(n) ? (e) => {
6066
- if (this.defaults.async && Wi.passThroughHooksRespectAsync.has(n)) return (async () => {
6065
+ t[r] = Ui.passThroughHooks.has(n) ? (e) => {
6066
+ if (this.defaults.async && Ui.passThroughHooksRespectAsync.has(n)) return (async () => {
6067
6067
  let n = await i.call(t, e);
6068
6068
  return a.call(t, n);
6069
6069
  })();
@@ -6100,10 +6100,10 @@ ${e}</tr>
6100
6100
  }, this;
6101
6101
  }
6102
6102
  lexer(e, t) {
6103
- return Bi.lex(e, t ?? this.defaults);
6103
+ return zi.lex(e, t ?? this.defaults);
6104
6104
  }
6105
6105
  parser(e, t) {
6106
- return Ui.parse(e, t ?? this.defaults);
6106
+ return Hi.parse(e, t ?? this.defaults);
6107
6107
  }
6108
6108
  parseMarkdown(e) {
6109
6109
  return (t, n) => {
@@ -6115,16 +6115,16 @@ ${e}</tr>
6115
6115
  if (typeof t > "u" || t === null) return a(/* @__PURE__ */ Error("marked(): input parameter is undefined or null"));
6116
6116
  if (typeof t != "string") return a(/* @__PURE__ */ Error("marked(): input parameter is of type " + Object.prototype.toString.call(t) + ", string expected"));
6117
6117
  if (i.hooks && (i.hooks.options = i, i.hooks.block = e), i.async) return (async () => {
6118
- let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? Bi.lex : Bi.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
6118
+ let n = i.hooks ? await i.hooks.preprocess(t) : t, r = await (i.hooks ? await i.hooks.provideLexer() : e ? zi.lex : zi.lexInline)(n, i), a = i.hooks ? await i.hooks.processAllTokens(r) : r;
6119
6119
  i.walkTokens && await Promise.all(this.walkTokens(a, i.walkTokens));
6120
- let o = await (i.hooks ? await i.hooks.provideParser() : e ? Ui.parse : Ui.parseInline)(a, i);
6120
+ let o = await (i.hooks ? await i.hooks.provideParser() : e ? Hi.parse : Hi.parseInline)(a, i);
6121
6121
  return i.hooks ? await i.hooks.postprocess(o) : o;
6122
6122
  })().catch(a);
6123
6123
  try {
6124
6124
  i.hooks && (t = i.hooks.preprocess(t));
6125
- let n = (i.hooks ? i.hooks.provideLexer() : e ? Bi.lex : Bi.lexInline)(t, i);
6125
+ let n = (i.hooks ? i.hooks.provideLexer() : e ? zi.lex : zi.lexInline)(t, i);
6126
6126
  i.hooks && (n = i.hooks.processAllTokens(n)), i.walkTokens && this.walkTokens(n, i.walkTokens);
6127
- let r = (i.hooks ? i.hooks.provideParser() : e ? Ui.parse : Ui.parseInline)(n, i);
6127
+ let r = (i.hooks ? i.hooks.provideParser() : e ? Hi.parse : Hi.parseInline)(n, i);
6128
6128
  return i.hooks && (r = i.hooks.postprocess(r)), r;
6129
6129
  } catch (e) {
6130
6130
  return a(e);
@@ -6134,7 +6134,7 @@ ${e}</tr>
6134
6134
  onError(e, t) {
6135
6135
  return (n) => {
6136
6136
  if (n.message += "\nPlease report this to https://github.com/markedjs/marked.", e) {
6137
- let e = "<p>An error occurred:</p><pre>" + ji(n.message + "", !0) + "</pre>";
6137
+ let e = "<p>An error occurred:</p><pre>" + Ai(n.message + "", !0) + "</pre>";
6138
6138
  return t ? Promise.resolve(e) : e;
6139
6139
  }
6140
6140
  if (t) return Promise.reject(n);
@@ -6143,16 +6143,16 @@ ${e}</tr>
6143
6143
  }
6144
6144
  }();
6145
6145
  function $(e, t) {
6146
- return Gi.parse(e, t);
6146
+ return Wi.parse(e, t);
6147
6147
  }
6148
6148
  $.options = $.setOptions = function(e) {
6149
- return Gi.setOptions(e), $.defaults = Gi.defaults, br($.defaults), $;
6149
+ return Wi.setOptions(e), $.defaults = Wi.defaults, br($.defaults), $;
6150
6150
  }, $.getDefaults = vr, $.defaults = yr, $.use = function(...e) {
6151
- return Gi.use(...e), $.defaults = Gi.defaults, br($.defaults), $;
6151
+ return Wi.use(...e), $.defaults = Wi.defaults, br($.defaults), $;
6152
6152
  }, $.walkTokens = function(e, t) {
6153
- return Gi.walkTokens(e, t);
6154
- }, $.parseInline = Gi.parseInline, $.Parser = Ui, $.parser = Ui.parse, $.Renderer = Vi, $.TextRenderer = Hi, $.Lexer = Bi, $.lexer = Bi.lex, $.Tokenizer = zi, $.Hooks = Wi, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, Ui.parse, Bi.lex;
6155
- var Ki = () => {
6153
+ return Wi.walkTokens(e, t);
6154
+ }, $.parseInline = Wi.parseInline, $.Parser = Hi, $.parser = Hi.parse, $.Renderer = Bi, $.TextRenderer = Vi, $.Lexer = zi, $.lexer = zi.lex, $.Tokenizer = Ri, $.Hooks = Ui, $.parse = $, $.options, $.setOptions, $.use, $.walkTokens, $.parseInline, Hi.parse, zi.lex;
6155
+ var Gi = () => {
6156
6156
  let e, t = null, n;
6157
6157
  function r() {
6158
6158
  if (t && !t.closed) t.focus();
@@ -6239,86 +6239,86 @@ var Ki = () => {
6239
6239
  },
6240
6240
  open: r
6241
6241
  };
6242
- }, qi = 16 / 9, Ji = 1280, Yi = Ji / qi, Xi = 67;
6243
- function Zi({ deck: e, enabled: t, onToggle: n }) {
6244
- e.removeKeyBinding(Xi), t && e.addKeyBinding({
6245
- keyCode: Xi,
6242
+ }, Ki = 16 / 9, qi = 1280, Ji = qi / Ki, Yi = 67;
6243
+ function Xi({ deck: e, enabled: t, onToggle: n }) {
6244
+ e.removeKeyBinding(Yi), t && e.addKeyBinding({
6245
+ keyCode: Yi,
6246
6246
  key: "C",
6247
6247
  description: "Toggle code editor"
6248
6248
  }, n);
6249
6249
  }
6250
- function Qi(e) {
6250
+ function Zi(e) {
6251
6251
  let t = e.getSlidesElement();
6252
6252
  if (t) for (let e of t.querySelectorAll("section.stack[data-previous-indexv]")) e.removeAttribute("data-previous-indexv");
6253
6253
  }
6254
- var $i = /* @__PURE__ */ new Set([
6254
+ var Qi = /* @__PURE__ */ new Set([
6255
6255
  " ",
6256
6256
  "Spacebar",
6257
6257
  "ArrowRight",
6258
6258
  "ArrowDown",
6259
6259
  "PageDown"
6260
- ]), ea = /* @__PURE__ */ new Set([
6260
+ ]), $i = /* @__PURE__ */ new Set([
6261
6261
  "ArrowLeft",
6262
6262
  "ArrowUp",
6263
6263
  "PageUp"
6264
6264
  ]);
6265
- function ta(e) {
6266
- return $i.has(e.key) ? 1 : ea.has(e.key) ? -1 : 0;
6265
+ function ea(e) {
6266
+ return Qi.has(e.key) ? 1 : $i.has(e.key) ? -1 : 0;
6267
6267
  }
6268
- function na(e) {
6269
- let t = (0, ie.c)(4), n;
6268
+ function ta(e) {
6269
+ let t = (0, N.c)(4), n;
6270
6270
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
6271
- width: Ji,
6272
- height: Yi
6271
+ width: qi,
6272
+ height: Ji
6273
6273
  }, t[0] = n) : n = t[0];
6274
- let [r, i] = (0, N.useState)(n), a, o;
6274
+ let [r, i] = (0, M.useState)(n), a, o;
6275
6275
  return t[1] === e ? (a = t[2], o = t[3]) : (a = () => {
6276
6276
  let t = e.current;
6277
6277
  if (!t) return;
6278
6278
  let n = new ResizeObserver((e) => {
6279
6279
  let { width: t, height: n } = e[0].contentRect;
6280
6280
  if (t <= 0 || n <= 0) return;
6281
- let r = Math.min(t, n * qi), a = r / qi;
6281
+ let r = Math.min(t, n * Ki), a = r / Ki;
6282
6282
  i({
6283
6283
  width: Math.round(r),
6284
6284
  height: Math.round(a)
6285
6285
  });
6286
6286
  });
6287
6287
  return n.observe(t), () => n.disconnect();
6288
- }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, N.useEffect)(a, o), r;
6288
+ }, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, M.useEffect)(a, o), r;
6289
6289
  }
6290
- var ra = (e) => {
6291
- let t = (0, ie.c)(6), { text: n } = e, r, i;
6290
+ var na = (e) => {
6291
+ let t = (0, N.c)(6), { text: n } = e, r, i;
6292
6292
  if (t[0] !== n) {
6293
6293
  let e = n.split("\n");
6294
6294
  r = "notes", i = e.map((t, n) => {
6295
6295
  let r = n === e.length - 1;
6296
- return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(N.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
6296
+ return t === "---" ? /* @__PURE__ */ (0, W.jsx)("hr", {}, n) : /* @__PURE__ */ (0, W.jsxs)(M.Fragment, { children: [t, !r && /* @__PURE__ */ (0, W.jsx)("br", {})] }, n);
6297
6297
  }), t[0] = n, t[1] = r, t[2] = i;
6298
6298
  } else r = t[1], i = t[2];
6299
6299
  let a;
6300
- return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, G.jsx)("aside", {
6300
+ return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, W.jsx)("aside", {
6301
6301
  className: r,
6302
6302
  children: i
6303
6303
  }), t[3] = r, t[4] = i, t[5] = a) : a = t[5], a;
6304
6304
  };
6305
- function ia(e) {
6305
+ function ra(e) {
6306
6306
  let { cells: t, cellId: n, showCodeOverrides: r, codeAvailable: i } = e;
6307
6307
  return n == null || !i ? !1 : (t.get(n)?.showCode ?? !1) || r.has(n);
6308
6308
  }
6309
- function aa(e) {
6309
+ function ia(e) {
6310
6310
  let { cell: t, noOutputIds: n, heldEditCellId: r, slideConfigs: i } = e;
6311
6311
  return n.has(t.id) || t.id === r ? "skip" : i.get(t.id)?.type ?? "slide";
6312
6312
  }
6313
- function oa(e) {
6314
- let t = (0, ie.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6313
+ function aa(e) {
6314
+ let t = (0, N.c)(15), { activeCell: n, slideConfigs: r, noOutputIds: i } = e, a = n?.id ?? null, o;
6315
6315
  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];
6316
6316
  let s = o, c = n != null && r.get(n.id)?.type === "skip" || s, l;
6317
6317
  t[3] === a ? l = t[4] : (l = {
6318
6318
  activeCellId: a,
6319
6319
  cellId: null
6320
6320
  }, t[3] = a, t[4] = l);
6321
- let [u, d] = (0, N.useState)(l), f = u.cellId;
6321
+ let [u, d] = (0, M.useState)(l), f = u.cellId;
6322
6322
  u.activeCellId === a ? s && f !== a && (f = a, d({
6323
6323
  activeCellId: a,
6324
6324
  cellId: f
@@ -6331,14 +6331,14 @@ function oa(e) {
6331
6331
  cellId: m,
6332
6332
  show: !0
6333
6333
  }, t[5] = m, t[6] = h);
6334
- let [g, _] = (0, N.useState)(h), v = g.show;
6334
+ let [g, _] = (0, M.useState)(h), v = g.show;
6335
6335
  g.cellId !== m && (v = !0, _({
6336
6336
  cellId: m,
6337
6337
  show: !0
6338
6338
  }));
6339
6339
  let y;
6340
- t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(sa), t[7] = y) : y = t[7];
6341
- let b = j(y), x = c || p ? n ?? null : null, S;
6340
+ t[7] === Symbol.for("react.memo_cache_sentinel") ? (y = () => _(oa), t[7] = y) : y = t[7];
6341
+ let b = A(y), x = c || p ? n ?? null : null, S;
6342
6342
  return t[8] !== m || t[9] !== v || t[10] !== p || t[11] !== s || t[12] !== x || t[13] !== b ? (S = {
6343
6343
  parkedPreviewCell: x,
6344
6344
  isHeldEdit: p,
@@ -6348,131 +6348,131 @@ function oa(e) {
6348
6348
  toggleHeldShowsCode: b
6349
6349
  }, t[8] = m, t[9] = v, t[10] = p, t[11] = s, t[12] = x, t[13] = b, t[14] = S) : S = t[14], S;
6350
6350
  }
6351
- function sa(e) {
6351
+ function oa(e) {
6352
6352
  return {
6353
6353
  ...e,
6354
6354
  show: !e.show
6355
6355
  };
6356
6356
  }
6357
- function ca(e) {
6357
+ function sa(e) {
6358
6358
  switch (e ?? "center") {
6359
6359
  case "top": return { margin: "0 20px auto" };
6360
6360
  case "bottom": return { margin: "auto 20px 0" };
6361
6361
  default: return { margin: "auto 20px" };
6362
6362
  }
6363
6363
  }
6364
- var la = (e) => {
6365
- let t = (0, ie.c)(14), { cell: n } = e, r = p(n.id), i = v(n.id), a;
6364
+ var ca = (e) => {
6365
+ let t = (0, N.c)(14), { cell: n } = e, { execution: r, freshness: i } = m(n.id), a;
6366
6366
  t[0] !== n.id || t[1] !== n.name ? (a = b(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = a) : a = t[2];
6367
6367
  let o = n.id, s = r.status, c = n.output, l;
6368
- t[3] !== r || t[4] !== i ? (l = E(r, i, !1), t[3] = r, t[4] = i, t[5] = l) : l = t[5];
6368
+ t[3] !== r || t[4] !== i ? (l = w(r, i, !1), t[3] = r, t[4] = i, t[5] = l) : l = t[5];
6369
6369
  let u;
6370
- t[6] !== n.id || t[7] !== n.output || t[8] !== r.status || t[9] !== l ? (u = /* @__PURE__ */ (0, G.jsx)(x, {
6370
+ t[6] !== n.id || t[7] !== n.output || t[8] !== r.status || t[9] !== l ? (u = /* @__PURE__ */ (0, W.jsx)(x, {
6371
6371
  cellId: o,
6372
6372
  status: s,
6373
6373
  output: c,
6374
6374
  stale: l
6375
6375
  }), t[6] = n.id, t[7] = n.output, t[8] = r.status, t[9] = l, t[10] = u) : u = t[10];
6376
6376
  let d;
6377
- return t[11] !== a || t[12] !== u ? (d = /* @__PURE__ */ (0, G.jsx)("div", {
6377
+ return t[11] !== a || t[12] !== u ? (d = /* @__PURE__ */ (0, W.jsx)("div", {
6378
6378
  className: "flex flex-col",
6379
6379
  ...a,
6380
6380
  children: u
6381
6381
  }), t[11] = a, t[12] = u, t[13] = d) : d = t[13], d;
6382
- }, ua = (e) => {
6383
- let t = (0, ie.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6382
+ }, la = (e) => {
6383
+ let t = (0, N.c)(24), { subslide: n, resolveShowCode: r, isEditable: i, slideConfigs: a, contentStyle: o } = e, s, c, l, u, d, f;
6384
6384
  if (t[0] !== o || t[1] !== i || t[2] !== r || t[3] !== a || t[4] !== n) {
6385
6385
  let { slideLevel: e, cumulativeByBlock: p } = gr(n, a);
6386
6386
  l = e;
6387
6387
  let m = n.blocks.some((e) => e.cells.some((e) => r(e.id)));
6388
6388
  c = yt, s = nr, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
6389
- let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(lr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ur, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(la, { cell: e }, e.id));
6389
+ let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, W.jsx)(lr, { cell: e }, e.id) : /* @__PURE__ */ (0, W.jsx)(ur, { cell: e }, e.id) : /* @__PURE__ */ (0, W.jsx)(ca, { cell: e }, e.id));
6390
6390
  if (e.isFragment) {
6391
6391
  let r = p.get(t);
6392
- return /* @__PURE__ */ (0, G.jsxs)(Yn, {
6392
+ return /* @__PURE__ */ (0, W.jsxs)(Yn, {
6393
6393
  as: "div",
6394
- children: [n, r && /* @__PURE__ */ (0, G.jsx)(ra, { text: r })]
6394
+ children: [n, r && /* @__PURE__ */ (0, W.jsx)(na, { text: r })]
6395
6395
  }, e.cells[0].id);
6396
6396
  }
6397
- return /* @__PURE__ */ (0, G.jsx)(N.Fragment, { children: n }, e.cells[0].id);
6397
+ return /* @__PURE__ */ (0, W.jsx)(M.Fragment, { children: n }, e.cells[0].id);
6398
6398
  }), 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;
6399
6399
  } else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
6400
6400
  let p;
6401
- t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, G.jsx)("div", {
6401
+ t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, W.jsx)("div", {
6402
6402
  className: u,
6403
6403
  style: d,
6404
6404
  children: f
6405
6405
  }), t[11] = u, t[12] = d, t[13] = f, t[14] = p) : p = t[14];
6406
6406
  let m;
6407
- 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];
6407
+ t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, W.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
6408
6408
  let h;
6409
- t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(ra, { text: l }), t[18] = l, t[19] = h);
6409
+ t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, W.jsx)(na, { text: l }), t[18] = l, t[19] = h);
6410
6410
  let g;
6411
- 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;
6411
+ return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, W.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
6412
6412
  };
6413
- function da(e) {
6413
+ function ua(e) {
6414
6414
  let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
6415
6415
  return t && n || r;
6416
6416
  }
6417
- var fa = (e) => {
6418
- let t = (0, ie.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6419
- if (da({
6417
+ var da = (e) => {
6418
+ let t = (0, N.c)(5), { cell: n, isNoOutputPreview: r, isEditable: i, showCode: a } = e;
6419
+ if (ua({
6420
6420
  isNoOutputPreview: r,
6421
6421
  isEditable: i,
6422
6422
  showCode: a
6423
6423
  })) {
6424
6424
  let e;
6425
- return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(lr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(ur, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6425
+ return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, W.jsx)(lr, { cell: n }) : /* @__PURE__ */ (0, W.jsx)(ur, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
6426
6426
  }
6427
6427
  let o;
6428
- return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(la, { cell: n }), t[3] = n, t[4] = o), o;
6429
- }, pa = (e) => {
6430
- let t = (0, ie.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: p, activeIndex: v, onSlideChange: b, mode: x, configWidth: w, isEditable: T } = e, E = T !== void 0 && T, D = (0, N.useRef)(null), O = (0, N.useRef)(null), { width: M, height: ae } = na(D), P = ee() != null, [oe, se] = (0, N.useState)(1), ce;
6428
+ return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, W.jsx)(ca, { cell: n }), t[3] = n, t[4] = o), o;
6429
+ }, fa = (e) => {
6430
+ let t = (0, N.c)(164), { slideCells: o, layout: s, setLayout: c, noOutputIds: m, activeIndex: b, onSlideChange: x, mode: C, configWidth: ee, isEditable: w } = e, T = w !== void 0 && w, D = (0, M.useRef)(null), j = (0, M.useRef)(null), { width: ie, height: P } = ta(D), ae = k() != null, [oe, se] = (0, M.useState)(1), ce;
6431
6431
  t[0] === Symbol.for("react.memo_cache_sentinel") ? (ce = () => {
6432
6432
  let e = requestAnimationFrame(() => {
6433
- let e = O.current;
6433
+ let e = j.current;
6434
6434
  e && (e.layout(), se(e.getScale()));
6435
6435
  });
6436
6436
  return () => cancelAnimationFrame(e);
6437
6437
  }, t[0] = ce) : ce = t[0];
6438
6438
  let F;
6439
- t[1] !== ae || t[2] !== P || t[3] !== M ? (F = [
6440
- M,
6441
- ae,
6442
- P
6443
- ], t[1] = ae, t[2] = P, t[3] = M, t[4] = F) : F = t[4], (0, N.useEffect)(ce, F);
6444
- let I = k(te), le = k(ne).kind, ue = k(_r), de = le !== "wasm" || ue, fe;
6445
- t[5] !== I || t[6] !== le ? (fe = I || !h(le) ? [] : [Ki], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6446
- let pe = fe, [me, he] = (0, N.useState)(ma), ge = re(), _e;
6447
- t[8] === ge ? _e = t[9] : (_e = !A() && ge, t[8] = ge, t[9] = _e);
6439
+ t[1] !== P || t[2] !== ae || t[3] !== ie ? (F = [
6440
+ ie,
6441
+ P,
6442
+ ae
6443
+ ], t[1] = P, t[2] = ae, t[3] = ie, t[4] = F) : F = t[4], (0, M.useEffect)(ce, F);
6444
+ let I = E(te), le = E(ne).kind, ue = E(_r), de = le !== "wasm" || ue, fe;
6445
+ t[5] !== I || t[6] !== le ? (fe = I || !g(le) ? [] : [Gi], t[5] = I, t[6] = le, t[7] = fe) : fe = t[7];
6446
+ let pe = fe, [me, he] = (0, M.useState)(pa), ge = re(), _e;
6447
+ t[8] === ge ? _e = t[9] : (_e = !O() && ge, t[8] = ge, t[9] = _e);
6448
6448
  let ve = _e, ye;
6449
6449
  t[10] === I ? ye = t[11] : (ye = y(I, window.location.search), t[10] = I, t[11] = ye);
6450
- let be = !ye && ve, L = v == null ? void 0 : o[v], xe;
6451
- t[12] !== L || t[13] !== o ? (xe = L ?? o.at(0), t[12] = L, t[13] = o, t[14] = xe) : xe = t[14];
6450
+ let L = !ye && ve, be = b == null ? void 0 : o[b], xe;
6451
+ t[12] !== be || t[13] !== o ? (xe = be ?? o.at(0), t[12] = be, t[13] = o, t[14] = xe) : xe = t[14];
6452
6452
  let Se = xe, Ce;
6453
- t[15] !== L || t[16] !== s.cells || t[17] !== p ? (Ce = {
6454
- activeCell: L,
6453
+ t[15] !== be || t[16] !== s.cells || t[17] !== m ? (Ce = {
6454
+ activeCell: be,
6455
6455
  slideConfigs: s.cells,
6456
- noOutputIds: p
6457
- }, t[15] = L, t[16] = s.cells, t[17] = p, t[18] = Ce) : Ce = t[18];
6458
- let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview: B, heldEditCellId: we, heldShowsCode: Te, toggleHeldShowsCode: Ee } = oa(Ce), De;
6459
- t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (De = (e) => ia({
6456
+ noOutputIds: m
6457
+ }, t[15] = be, t[16] = s.cells, t[17] = m, t[18] = Ce) : Ce = t[18];
6458
+ let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview: we, heldEditCellId: Te, heldShowsCode: Ee, toggleHeldShowsCode: De } = aa(Ce), Oe;
6459
+ t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (Oe = (e) => ra({
6460
6460
  cells: s.cells,
6461
6461
  cellId: e,
6462
6462
  showCodeOverrides: me,
6463
6463
  codeAvailable: ve
6464
- }), t[19] = ve, t[20] = s.cells, t[21] = me, t[22] = De) : De = t[22];
6465
- let Oe = De, V = L?.id ?? Se?.id, ke;
6466
- t[23] !== V || t[24] !== Te || t[25] !== z || t[26] !== Oe ? (ke = z ? Te : Oe(V), t[23] = V, t[24] = Te, t[25] = z, t[26] = Oe, t[27] = ke) : ke = t[27];
6464
+ }), t[19] = ve, t[20] = s.cells, t[21] = me, t[22] = Oe) : Oe = t[22];
6465
+ let B = Oe, V = be?.id ?? Se?.id, ke;
6466
+ t[23] !== V || t[24] !== Ee || t[25] !== z || t[26] !== B ? (ke = z ? Ee : B(V), t[23] = V, t[24] = Ee, t[25] = z, t[26] = B, t[27] = ke) : ke = t[27];
6467
6467
  let Ae = ke, je;
6468
6468
  t[28] !== V || t[29] !== ve || t[30] !== s.cells ? (je = ve && V != null && (s.cells.get(V)?.showCode ?? !1), t[28] = V, t[29] = ve, t[30] = s.cells, t[31] = je) : je = t[31];
6469
6469
  let Me = je, Ne;
6470
- t[32] !== we || t[33] !== s.cells || t[34] !== p ? (Ne = (e) => aa({
6470
+ t[32] !== Te || t[33] !== s.cells || t[34] !== m ? (Ne = (e) => ia({
6471
6471
  cell: e,
6472
- noOutputIds: p,
6473
- heldEditCellId: we,
6472
+ noOutputIds: m,
6473
+ heldEditCellId: Te,
6474
6474
  slideConfigs: s.cells
6475
- }), t[32] = we, t[33] = s.cells, t[34] = p, t[35] = Ne) : Ne = t[35];
6475
+ }), t[32] = Te, t[33] = s.cells, t[34] = m, t[35] = Ne) : Ne = t[35];
6476
6476
  let Pe;
6477
6477
  t[36] !== o || t[37] !== Ne ? (Pe = rr({
6478
6478
  cells: o,
@@ -6482,181 +6482,181 @@ var fa = (e) => {
6482
6482
  t[39] !== Fe || t[40] !== o ? (Ie = ir({
6483
6483
  composition: Fe,
6484
6484
  cells: o,
6485
- getId: ha
6485
+ getId: ma
6486
6486
  }), t[39] = Fe, t[40] = o, t[41] = Ie) : Ie = t[41];
6487
6487
  let { cellToTarget: Le, targetToCellIndex: H } = Ie, Re = s.deck?.transition ?? "slide", ze = s.deck?.verticalAlign, Be;
6488
- t[42] === ze ? Be = t[43] : (Be = ca(ze), t[42] = ze, t[43] = Be);
6488
+ t[42] === ze ? Be = t[43] : (Be = sa(ze), t[42] = ze, t[43] = Be);
6489
6489
  let Ve = Be, He;
6490
- t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = _(window.location.href), t[44] = He) : He = t[44];
6491
- let Ue = He, U;
6492
- t[45] === Re ? U = t[46] : (U = {
6490
+ t[44] === Symbol.for("react.memo_cache_sentinel") ? (He = v(window.location.href), t[44] = He) : He = t[44];
6491
+ let Ue = He, We;
6492
+ t[45] === Re ? We = t[46] : (We = {
6493
6493
  embedded: !0,
6494
- width: Ji,
6495
- height: Yi,
6494
+ width: qi,
6495
+ height: Ji,
6496
6496
  center: !1,
6497
6497
  minScale: 0,
6498
6498
  maxScale: 2,
6499
6499
  transition: Re,
6500
- keyboardCondition: ga,
6500
+ keyboardCondition: ha,
6501
6501
  url: Ue,
6502
6502
  scrollActivationWidth: 0
6503
- }, t[45] = Re, t[46] = U);
6504
- let We = U, Ge;
6505
- t[47] !== v || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ge = (e) => {
6506
- if (v == null && window.location.hash.startsWith("#/")) {
6503
+ }, t[45] = Re, t[46] = We);
6504
+ let Ge = We, Ke;
6505
+ t[47] !== b || t[48] !== de || t[49] !== Le || t[50] !== o ? (Ke = (e) => {
6506
+ if (b == null && window.location.hash.startsWith("#/")) {
6507
6507
  if (!de) return;
6508
- window.dispatchEvent(new HashChangeEvent("hashchange")), Qi(e);
6508
+ window.dispatchEvent(new HashChangeEvent("hashchange")), Zi(e);
6509
6509
  return;
6510
6510
  }
6511
6511
  let t = sr({
6512
- activeIndex: v,
6512
+ activeIndex: b,
6513
6513
  cells: o,
6514
6514
  cellToTarget: Le,
6515
- getId: _a
6515
+ getId: ga
6516
6516
  }), n = t && cr(e.getIndices(), t);
6517
- n && (e.slide(n.h, n.v, n.f), Qi(e));
6518
- }, t[47] = v, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ge) : Ge = t[51];
6519
- let Ke = j(Ge), qe;
6520
- t[52] === Ke ? qe = t[53] : (qe = () => {
6521
- let e = O.current;
6522
- e != null && Ke(e);
6523
- }, t[52] = Ke, t[53] = qe);
6524
- let Je;
6525
- t[54] !== v || t[55] !== de || t[56] !== Le || t[57] !== Ke || t[58] !== o ? (Je = [
6526
- v,
6517
+ n && (e.slide(n.h, n.v, n.f), Zi(e));
6518
+ }, t[47] = b, t[48] = de, t[49] = Le, t[50] = o, t[51] = Ke) : Ke = t[51];
6519
+ let qe = A(Ke), Je;
6520
+ t[52] === qe ? Je = t[53] : (Je = () => {
6521
+ let e = j.current;
6522
+ e != null && qe(e);
6523
+ }, t[52] = qe, t[53] = Je);
6524
+ let Ye;
6525
+ t[54] !== b || t[55] !== de || t[56] !== Le || t[57] !== qe || t[58] !== o ? (Ye = [
6526
+ b,
6527
6527
  de,
6528
6528
  Le,
6529
6529
  o,
6530
- Ke
6531
- ], t[54] = v, t[55] = de, t[56] = Le, t[57] = Ke, t[58] = o, t[59] = Je) : Je = t[59], (0, N.useEffect)(qe, Je);
6532
- let Ye;
6533
- t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !== Ee ? (Ye = () => {
6534
- V == null || Me || (z ? Ee() : (0, N.startTransition)(() => he((e) => {
6530
+ qe
6531
+ ], t[54] = b, t[55] = de, t[56] = Le, t[57] = qe, t[58] = o, t[59] = Ye) : Ye = t[59], (0, M.useEffect)(Je, Ye);
6532
+ let Xe;
6533
+ t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !== De ? (Xe = () => {
6534
+ V == null || Me || (z ? De() : (0, M.startTransition)(() => he((e) => {
6535
6535
  let t = new Set(e);
6536
6536
  return t.has(V) ? t.delete(V) : t.add(V), t;
6537
6537
  })));
6538
- }, t[60] = V, t[61] = Me, t[62] = z, t[63] = Ee, t[64] = Ye) : Ye = t[64];
6539
- let Xe = j(Ye), Ze, Qe;
6540
- t[65] !== be || t[66] !== Xe ? (Ze = () => {
6541
- let e = O.current;
6542
- return e && Zi({
6538
+ }, t[60] = V, t[61] = Me, t[62] = z, t[63] = De, t[64] = Xe) : Xe = t[64];
6539
+ let U = A(Xe), Ze, Qe;
6540
+ t[65] !== L || t[66] !== U ? (Ze = () => {
6541
+ let e = j.current;
6542
+ return e && Xi({
6543
6543
  deck: e,
6544
- enabled: be,
6545
- onToggle: Xe
6544
+ enabled: L,
6545
+ onToggle: U
6546
6546
  }), () => {
6547
- O.current?.removeKeyBinding(Xi);
6547
+ j.current?.removeKeyBinding(Yi);
6548
6548
  };
6549
- }, Qe = [be, Xe], t[65] = be, t[66] = Xe, t[67] = Ze, t[68] = Qe) : (Ze = t[67], Qe = t[68]), (0, N.useEffect)(Ze, Qe);
6549
+ }, Qe = [L, U], t[65] = L, t[66] = U, t[67] = Ze, t[68] = Qe) : (Ze = t[67], Qe = t[68]), (0, M.useEffect)(Ze, Qe);
6550
6550
  let $e;
6551
- t[69] !== b || t[70] !== R || t[71] !== H ? ($e = (e) => {
6551
+ t[69] !== x || t[70] !== R || t[71] !== H ? ($e = (e) => {
6552
6552
  if (R != null) return;
6553
6553
  let t = ar(H, e.getIndices());
6554
- t != null && b?.(t);
6555
- }, t[69] = b, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6556
- let et = j($e), tt;
6554
+ t != null && x?.(t);
6555
+ }, t[69] = x, t[70] = R, t[71] = H, t[72] = $e) : $e = t[72];
6556
+ let et = A($e), tt;
6557
6557
  t[73] === et ? tt = t[74] : (tt = () => {
6558
- let e = O.current;
6558
+ let e = j.current;
6559
6559
  e && et(e);
6560
6560
  }, t[73] = et, t[74] = tt);
6561
- let nt = j(tt), rt;
6562
- t[75] !== de || t[76] !== be || t[77] !== Ke || t[78] !== et || t[79] !== Xe ? (rt = (e) => {
6563
- se(e.getScale()), Ke(e), de && et(e), Zi({
6561
+ let nt = A(tt), rt;
6562
+ t[75] !== de || t[76] !== L || t[77] !== qe || t[78] !== et || t[79] !== U ? (rt = (e) => {
6563
+ se(e.getScale()), qe(e), de && et(e), Xi({
6564
6564
  deck: e,
6565
- enabled: be,
6566
- onToggle: Xe
6565
+ enabled: L,
6566
+ onToggle: U
6567
6567
  });
6568
6568
  let t = e.getSlidesElement()?.closest(".reveal");
6569
6569
  t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
6570
- }, t[75] = de, t[76] = be, t[77] = Ke, t[78] = et, t[79] = Xe, t[80] = rt) : rt = t[80];
6571
- let it = j(rt), at;
6572
- t[81] !== v || t[82] !== b || t[83] !== R || t[84] !== o ? (at = (e) => {
6573
- if (!R || v == null || i.fromInput(e)) return;
6574
- let t = ta(e);
6570
+ }, t[75] = de, t[76] = L, t[77] = qe, t[78] = et, t[79] = U, t[80] = rt) : rt = t[80];
6571
+ let it = A(rt), at;
6572
+ t[81] !== b || t[82] !== x || t[83] !== R || t[84] !== o ? (at = (e) => {
6573
+ if (!R || b == null || i.fromInput(e)) return;
6574
+ let t = ea(e);
6575
6575
  if (t === 0) return;
6576
6576
  e.preventDefault(), e.stopPropagation();
6577
- let n = v + t;
6578
- n < 0 || n >= o.length || b?.(n);
6579
- }, t[81] = v, t[82] = b, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6580
- let ot = j(at), st;
6577
+ let n = b + t;
6578
+ n < 0 || n >= o.length || x?.(n);
6579
+ }, t[81] = b, t[82] = x, t[83] = R, t[84] = o, t[85] = at) : at = t[85];
6580
+ let ot = A(at), st;
6581
6581
  t[86] === nt ? st = t[87] : (st = () => {
6582
6582
  nt();
6583
6583
  }, t[86] = nt, t[87] = st);
6584
- let W = j(st), ct;
6585
- t[88] === Symbol.for("react.memo_cache_sentinel") ? (ct = { capture: !0 }, t[88] = ct) : ct = t[88], r(document, "keydown", ot, ct);
6586
- let lt = z ? null : B ? "Hidden as there is no output" : "Skipped in presentation", ut;
6587
- t[89] !== Te || t[90] !== z || t[91] !== R?.id || t[92] !== Oe ? (ut = z ? Te : Oe(R?.id), t[89] = Te, t[90] = z, t[91] = R?.id, t[92] = Oe, t[93] = ut) : ut = t[93];
6588
- let dt = ut, ft;
6589
- t[94] !== E || t[95] !== B || t[96] !== dt ? (ft = da({
6590
- isNoOutputPreview: B,
6591
- isEditable: E,
6592
- showCode: dt
6593
- }), t[94] = E, t[95] = B, t[96] = dt, t[97] = ft) : ft = t[97];
6594
- let pt = ft, mt;
6595
- t[98] !== ae || t[99] !== M ? (mt = {
6596
- width: M,
6597
- height: ae
6598
- }, t[98] = ae, t[99] = M, t[100] = mt) : mt = t[100];
6599
- let ht;
6600
- if (t[101] !== Fe.stacks || t[102] !== E || t[103] !== s.cells || t[104] !== Oe || t[105] !== Ve) {
6584
+ let ct = A(st), lt;
6585
+ t[88] === Symbol.for("react.memo_cache_sentinel") ? (lt = { capture: !0 }, t[88] = lt) : lt = t[88], r(document, "keydown", ot, lt);
6586
+ let ut = z ? null : we ? "Hidden as there is no output" : "Skipped in presentation", dt;
6587
+ t[89] !== Ee || t[90] !== z || t[91] !== R?.id || t[92] !== B ? (dt = z ? Ee : B(R?.id), t[89] = Ee, t[90] = z, t[91] = R?.id, t[92] = B, t[93] = dt) : dt = t[93];
6588
+ let ft = dt, pt;
6589
+ t[94] !== T || t[95] !== we || t[96] !== ft ? (pt = ua({
6590
+ isNoOutputPreview: we,
6591
+ isEditable: T,
6592
+ showCode: ft
6593
+ }), t[94] = T, t[95] = we, t[96] = ft, t[97] = pt) : pt = t[97];
6594
+ let mt = pt, ht;
6595
+ t[98] !== P || t[99] !== ie ? (ht = {
6596
+ width: ie,
6597
+ height: P
6598
+ }, t[98] = P, t[99] = ie, t[100] = ht) : ht = t[100];
6599
+ let _t;
6600
+ if (t[101] !== Fe.stacks || t[102] !== T || t[103] !== s.cells || t[104] !== B || t[105] !== Ve) {
6601
6601
  let e;
6602
- t[107] !== E || t[108] !== s.cells || t[109] !== Oe || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(ua, {
6602
+ t[107] !== T || t[108] !== s.cells || t[109] !== B || t[110] !== Ve ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, W.jsx)(la, {
6603
6603
  subslide: e.subslides[0],
6604
- resolveShowCode: Oe,
6605
- isEditable: E,
6604
+ resolveShowCode: B,
6605
+ isEditable: T,
6606
6606
  slideConfigs: s.cells,
6607
6607
  contentStyle: Ve
6608
- }, t) : /* @__PURE__ */ (0, G.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(ua, {
6608
+ }, t) : /* @__PURE__ */ (0, W.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, W.jsx)(la, {
6609
6609
  subslide: e,
6610
- resolveShowCode: Oe,
6611
- isEditable: E,
6610
+ resolveShowCode: B,
6611
+ isEditable: T,
6612
6612
  slideConfigs: s.cells,
6613
6613
  contentStyle: Ve
6614
- }, t)) }, t), t[107] = E, t[108] = s.cells, t[109] = Oe, t[110] = Ve, t[111] = e) : e = t[111], ht = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = E, t[103] = s.cells, t[104] = Oe, t[105] = Ve, t[106] = ht;
6615
- } else ht = t[106];
6616
- let _t;
6617
- t[112] !== pe || t[113] !== it || t[114] !== W || t[115] !== nt || t[116] !== We || t[117] !== ht ? (_t = /* @__PURE__ */ (0, G.jsx)(gt, {
6618
- deckRef: O,
6614
+ }, t)) }, t), t[107] = T, t[108] = s.cells, t[109] = B, t[110] = Ve, t[111] = e) : e = t[111], _t = Fe.stacks.map(e), t[101] = Fe.stacks, t[102] = T, t[103] = s.cells, t[104] = B, t[105] = Ve, t[106] = _t;
6615
+ } else _t = t[106];
6616
+ let vt;
6617
+ t[112] !== pe || t[113] !== it || t[114] !== ct || t[115] !== nt || t[116] !== Ge || t[117] !== _t ? (vt = /* @__PURE__ */ (0, W.jsx)(gt, {
6618
+ deckRef: j,
6619
6619
  className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
6620
- config: We,
6620
+ config: Ge,
6621
6621
  onReady: it,
6622
- onSlideChange: W,
6622
+ onSlideChange: ct,
6623
6623
  onFragmentShown: nt,
6624
6624
  onFragmentHidden: nt,
6625
6625
  plugins: pe,
6626
- children: ht
6627
- }), t[112] = pe, t[113] = it, t[114] = W, t[115] = nt, t[116] = We, t[117] = ht, t[118] = _t) : _t = t[118];
6628
- let K;
6629
- t[119] !== E || t[120] !== B || t[121] !== R || t[122] !== lt || t[123] !== dt || t[124] !== pt || t[125] !== Ve || t[126] !== oe ? (K = R && /* @__PURE__ */ (0, G.jsxs)("div", {
6626
+ children: _t
6627
+ }), t[112] = pe, t[113] = it, t[114] = ct, t[115] = nt, t[116] = Ge, t[117] = _t, t[118] = vt) : vt = t[118];
6628
+ let G;
6629
+ t[119] !== T || t[120] !== we || t[121] !== R || t[122] !== ut || t[123] !== ft || t[124] !== mt || t[125] !== Ve || t[126] !== oe ? (G = R && /* @__PURE__ */ (0, W.jsxs)("div", {
6630
6630
  className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
6631
- "aria-label": lt ?? void 0,
6632
- children: [lt && /* @__PURE__ */ (0, G.jsxs)("div", {
6631
+ "aria-label": ut ?? void 0,
6632
+ children: [ut && /* @__PURE__ */ (0, W.jsxs)("div", {
6633
6633
  className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
6634
- children: [/* @__PURE__ */ (0, G.jsx)(S, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: lt })]
6635
- }), /* @__PURE__ */ (0, G.jsx)("div", {
6634
+ children: [/* @__PURE__ */ (0, W.jsx)(S, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, W.jsx)("span", { children: ut })]
6635
+ }), /* @__PURE__ */ (0, W.jsx)("div", {
6636
6636
  className: "reveal mo-slides-theme prose-slides absolute left-1/2 top-1/2",
6637
6637
  "data-testid": "slide-preview-canvas",
6638
6638
  style: {
6639
6639
  position: "absolute",
6640
- width: Ji,
6641
- height: Yi,
6640
+ width: qi,
6641
+ height: Ji,
6642
6642
  transform: `translate(-50%, -50%) scale(${oe})`
6643
6643
  },
6644
- children: /* @__PURE__ */ (0, G.jsx)(nr, { children: /* @__PURE__ */ (0, G.jsx)("div", {
6645
- className: pt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6644
+ children: /* @__PURE__ */ (0, W.jsx)(nr, { children: /* @__PURE__ */ (0, W.jsx)("div", {
6645
+ className: mt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
6646
6646
  style: Ve,
6647
- children: /* @__PURE__ */ (0, G.jsx)(fa, {
6647
+ children: /* @__PURE__ */ (0, W.jsx)(da, {
6648
6648
  cell: R,
6649
- isNoOutputPreview: B,
6650
- isEditable: E,
6651
- showCode: dt
6649
+ isNoOutputPreview: we,
6650
+ isEditable: T,
6651
+ showCode: ft
6652
6652
  })
6653
6653
  }) })
6654
6654
  })]
6655
- }, R.id), t[119] = E, t[120] = B, t[121] = R, t[122] = lt, t[123] = dt, t[124] = pt, t[125] = Ve, t[126] = oe, t[127] = K) : K = t[127];
6656
- let vt;
6657
- t[128] !== Ae || t[129] !== Me || t[130] !== be || t[131] !== Xe ? (vt = be && /* @__PURE__ */ (0, G.jsx)(l, {
6655
+ }, R.id), t[119] = T, t[120] = we, t[121] = R, t[122] = ut, t[123] = ft, t[124] = mt, t[125] = Ve, t[126] = oe, t[127] = G) : G = t[127];
6656
+ let yt;
6657
+ t[128] !== Ae || t[129] !== Me || t[130] !== L || t[131] !== U ? (yt = L && /* @__PURE__ */ (0, W.jsx)(l, {
6658
6658
  content: Me ? "Code is always shown for this slide" : Ae ? "Hide code (C)" : "Show code (C)",
6659
- children: /* @__PURE__ */ (0, G.jsx)(a, {
6659
+ children: /* @__PURE__ */ (0, W.jsx)(a, {
6660
6660
  "data-testid": "marimo-plugin-slides-toggle-code",
6661
6661
  variant: "ghost",
6662
6662
  size: "icon",
@@ -6664,119 +6664,119 @@ var fa = (e) => {
6664
6664
  "aria-pressed": Ae,
6665
6665
  "aria-disabled": Me,
6666
6666
  "aria-label": Me ? "Code always shown" : Ae ? "Hide code" : "Show code",
6667
- onClick: Xe,
6668
- children: /* @__PURE__ */ (0, G.jsx)(f, { className: "h-4 w-4" })
6667
+ onClick: U,
6668
+ children: /* @__PURE__ */ (0, W.jsx)(d, { className: "h-4 w-4" })
6669
6669
  })
6670
- }), t[128] = Ae, t[129] = Me, t[130] = be, t[131] = Xe, t[132] = vt) : vt = t[132];
6671
- let yt;
6672
- t[133] === Symbol.for("react.memo_cache_sentinel") ? (yt = /* @__PURE__ */ (0, G.jsx)(l, {
6670
+ }), t[128] = Ae, t[129] = Me, t[130] = L, t[131] = U, t[132] = yt) : yt = t[132];
6671
+ let xt;
6672
+ t[133] === Symbol.for("react.memo_cache_sentinel") ? (xt = /* @__PURE__ */ (0, W.jsx)(l, {
6673
6673
  content: "Fullscreen (F)",
6674
- children: /* @__PURE__ */ (0, G.jsx)(a, {
6674
+ children: /* @__PURE__ */ (0, W.jsx)(a, {
6675
6675
  "data-testid": "marimo-plugin-slides-fullscreen",
6676
6676
  variant: "ghost",
6677
6677
  size: "icon",
6678
6678
  className: "text-muted-foreground h-7 w-7",
6679
6679
  "aria-label": "Enter fullscreen",
6680
6680
  onClick: () => {
6681
- O.current?.getViewportElement()?.requestFullscreen().catch(va);
6681
+ j.current?.getViewportElement()?.requestFullscreen().catch(_a);
6682
6682
  },
6683
- children: /* @__PURE__ */ (0, G.jsx)(C, { className: "h-4 w-4" })
6683
+ children: /* @__PURE__ */ (0, W.jsx)(p, { className: "h-4 w-4" })
6684
6684
  })
6685
- }), t[133] = yt) : yt = t[133];
6686
- let xt;
6687
- t[134] === vt ? xt = t[135] : (xt = /* @__PURE__ */ (0, G.jsxs)("div", {
6688
- className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6689
- children: [vt, yt]
6690
- }), t[134] = vt, t[135] = xt);
6685
+ }), t[133] = xt) : xt = t[133];
6691
6686
  let St;
6692
- t[136] !== mt || t[137] !== _t || t[138] !== K || t[139] !== xt ? (St = /* @__PURE__ */ (0, G.jsx)("div", {
6687
+ t[134] === yt ? St = t[135] : (St = /* @__PURE__ */ (0, W.jsxs)("div", {
6688
+ className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
6689
+ children: [yt, xt]
6690
+ }), t[134] = yt, t[135] = St);
6691
+ let Ct;
6692
+ t[136] !== ht || t[137] !== vt || t[138] !== G || t[139] !== St ? (Ct = /* @__PURE__ */ (0, W.jsx)("div", {
6693
6693
  ref: D,
6694
6694
  className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
6695
- children: /* @__PURE__ */ (0, G.jsxs)("div", {
6695
+ children: /* @__PURE__ */ (0, W.jsxs)("div", {
6696
6696
  className: "group relative",
6697
- style: mt,
6697
+ style: ht,
6698
6698
  children: [
6699
- _t,
6700
- K,
6701
- xt
6699
+ vt,
6700
+ G,
6701
+ St
6702
6702
  ]
6703
6703
  })
6704
- }), t[136] = mt, t[137] = _t, t[138] = K, t[139] = xt, t[140] = St) : St = t[140];
6705
- let Ct = St;
6706
- if (x === "read") {
6704
+ }), t[136] = ht, t[137] = vt, t[138] = G, t[139] = St, t[140] = Ct) : Ct = t[140];
6705
+ let K = Ct;
6706
+ if (C === "read") {
6707
6707
  let e;
6708
- return t[141] === Ct ? e = t[142] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
6708
+ return t[141] === K ? e = t[142] : (e = /* @__PURE__ */ (0, W.jsx)("div", {
6709
6709
  className: "flex-1 min-w-0 flex flex-row gap-3",
6710
- children: Ct
6711
- }), t[141] = Ct, t[142] = e), e;
6710
+ children: K
6711
+ }), t[141] = K, t[142] = e), e;
6712
6712
  }
6713
6713
  let q;
6714
- t[143] === Ct ? q = t[144] : (q = /* @__PURE__ */ (0, G.jsx)(d, {
6714
+ t[143] === K ? q = t[144] : (q = /* @__PURE__ */ (0, W.jsx)(f, {
6715
6715
  defaultSize: 92,
6716
6716
  minSize: 60,
6717
- children: Ct
6718
- }), t[143] = Ct, t[144] = q);
6719
- let J;
6720
- t[145] === Symbol.for("react.memo_cache_sentinel") ? (J = {
6717
+ children: K
6718
+ }), t[143] = K, t[144] = q);
6719
+ let wt;
6720
+ t[145] === Symbol.for("react.memo_cache_sentinel") ? (wt = {
6721
6721
  coarse: 12,
6722
6722
  fine: 4
6723
- }, t[145] = J) : J = t[145];
6724
- let wt;
6725
- t[146] === P ? wt = t[147] : (wt = /* @__PURE__ */ (0, G.jsx)(m, {
6723
+ }, t[145] = wt) : wt = t[145];
6724
+ let J;
6725
+ t[146] === ae ? J = t[147] : (J = /* @__PURE__ */ (0, W.jsx)(h, {
6726
6726
  className: "mo-slides-notes-resize",
6727
- hitAreaMargins: J,
6728
- disabled: P
6729
- }), t[146] = P, t[147] = wt);
6730
- let Y = Se?.id, X;
6731
- t[148] !== s || t[149] !== c || t[150] !== Y ? (X = /* @__PURE__ */ (0, G.jsx)(d, {
6727
+ hitAreaMargins: wt,
6728
+ disabled: ae
6729
+ }), t[146] = ae, t[147] = J);
6730
+ let Tt = Se?.id, Y;
6731
+ t[148] !== s || t[149] !== c || t[150] !== Tt ? (Y = /* @__PURE__ */ (0, W.jsx)(f, {
6732
6732
  defaultSize: 10,
6733
6733
  minSize: 4,
6734
6734
  collapsible: !0,
6735
6735
  collapsedSize: 4,
6736
- children: /* @__PURE__ */ (0, G.jsx)(fr, {
6736
+ children: /* @__PURE__ */ (0, W.jsx)(fr, {
6737
6737
  layout: s,
6738
6738
  setLayout: c,
6739
- cellId: Y
6739
+ cellId: Tt
6740
6740
  })
6741
- }), t[148] = s, t[149] = c, t[150] = Y, t[151] = X) : X = t[151];
6742
- let Tt;
6743
- t[152] !== q || t[153] !== wt || t[154] !== X ? (Tt = /* @__PURE__ */ (0, G.jsxs)(u, {
6741
+ }), t[148] = s, t[149] = c, t[150] = Tt, t[151] = Y) : Y = t[151];
6742
+ let Et;
6743
+ t[152] !== q || t[153] !== J || t[154] !== Y ? (Et = /* @__PURE__ */ (0, W.jsxs)(u, {
6744
6744
  direction: "vertical",
6745
6745
  autoSaveId: "marimo:slides:notes-panel",
6746
6746
  className: "flex-1 min-w-0",
6747
6747
  children: [
6748
6748
  q,
6749
- wt,
6750
- X
6749
+ J,
6750
+ Y
6751
6751
  ]
6752
- }), t[152] = q, t[153] = wt, t[154] = X, t[155] = Tt) : Tt = t[155];
6753
- let Et;
6754
- t[156] !== Se || t[157] !== w || t[158] !== s || t[159] !== c ? (Et = /* @__PURE__ */ (0, G.jsx)(g, {
6755
- configWidth: w,
6752
+ }), t[152] = q, t[153] = J, t[154] = Y, t[155] = Et) : Et = t[155];
6753
+ let Dt;
6754
+ t[156] !== Se || t[157] !== ee || t[158] !== s || t[159] !== c ? (Dt = /* @__PURE__ */ (0, W.jsx)(_, {
6755
+ configWidth: ee,
6756
6756
  layout: s,
6757
6757
  setLayout: c,
6758
6758
  activeConfigCell: Se
6759
- }), t[156] = Se, t[157] = w, t[158] = s, t[159] = c, t[160] = Et) : Et = t[160];
6760
- let Dt;
6761
- return t[161] !== Tt || t[162] !== Et ? (Dt = /* @__PURE__ */ (0, G.jsxs)("div", {
6759
+ }), t[156] = Se, t[157] = ee, t[158] = s, t[159] = c, t[160] = Dt) : Dt = t[160];
6760
+ let Ot;
6761
+ return t[161] !== Et || t[162] !== Dt ? (Ot = /* @__PURE__ */ (0, W.jsxs)("div", {
6762
6762
  className: "flex-1 min-w-0 flex flex-row gap-3",
6763
- children: [Tt, Et]
6764
- }), t[161] = Tt, t[162] = Et, t[163] = Dt) : Dt = t[163], Dt;
6763
+ children: [Et, Dt]
6764
+ }), t[161] = Et, t[162] = Dt, t[163] = Ot) : Ot = t[163], Ot;
6765
6765
  };
6766
- function ma() {
6766
+ function pa() {
6767
6767
  return /* @__PURE__ */ new Set();
6768
6768
  }
6769
- function ha(e) {
6769
+ function ma(e) {
6770
6770
  return e.id;
6771
6771
  }
6772
- function ga(e) {
6772
+ function ha(e) {
6773
6773
  return !i.fromInput(e);
6774
6774
  }
6775
- function _a(e) {
6775
+ function ga(e) {
6776
6776
  return e.id;
6777
6777
  }
6778
- function va(e) {
6778
+ function _a(e) {
6779
6779
  t.error("Failed to request fullscreen", e);
6780
6780
  }
6781
6781
  //#endregion
6782
- export { la as CellOutputBlock, aa as deckSlideType, pa as default, da as parkedRendersSource, ia as shouldShowCode, Zi as syncCodeToggleKeyBinding, oa as useParkedPreview };
6782
+ export { ca as CellOutputBlock, ia as deckSlideType, fa as default, ua as parkedRendersSource, ra as shouldShowCode, Xi as syncCodeToggleKeyBinding, aa as useParkedPreview };