@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.
- package/dist/{ConnectedDataExplorerComponent-CoEU9snz.js → ConnectedDataExplorerComponent-LA5OtjAG.js} +11 -11
- package/dist/{ErrorBoundary-DAkJ7hwU.js → ErrorBoundary-Bvtsf3zB.js} +18 -18
- package/dist/{abnfDiagram-VCTEODGH-RbfxpmIE.js → abnfDiagram-VCTEODGH-CBntFgCZ.js} +2 -2
- package/dist/{any-language-editor-Cw4VtZvb.js → any-language-editor-gzDRWdCH.js} +2 -2
- package/dist/{architectureDiagram-5GKGNRK7-DzzNVRo4.js → architectureDiagram-5GKGNRK7-Bz6ouXl-.js} +1 -1
- package/dist/{assertNever-ChGm2jYv.js → assertNever-DOTNJ2Y4.js} +2 -2
- package/dist/{chat-ui-BEMyRpmS.js → chat-ui-ZGXdN6Vr.js} +45 -45
- package/dist/{check-BHRB6N0I.js → check-CApwK1fD.js} +1 -1
- package/dist/{chunk-IMKFNOWR-1Zy6M_oP.js → chunk-IMKFNOWR-DK_M66Dt.js} +1 -1
- package/dist/{chunk-SHT3W25Y-yAttqZEk.js → chunk-SHT3W25Y-C7Cg6zGL.js} +1 -1
- package/dist/{chunk-SVP7TREG-MKJpuJHR.js → chunk-SVP7TREG-K0lWia53.js} +1 -1
- package/dist/{chunk-TICWLB2K-BOC0OebH.js → chunk-TICWLB2K-DiKpryGp.js} +1 -1
- package/dist/{classDiagram-ZZMXUADV-BOlD7kH9.js → classDiagram-ZZMXUADV-CXX5eaxi.js} +2 -2
- package/dist/{classDiagram-v2-VYDZK3BY-C3p3seuT.js → classDiagram-v2-VYDZK3BY-Bjyy4iKL.js} +2 -2
- package/dist/{code-visibility-BMMvUEE0.js → code-visibility-CmfNaZAX.js} +17 -17
- package/dist/{common-iWYyPuv_.js → common-i_ykKLxU.js} +4881 -4842
- package/dist/{config-EJnOxh0i.js → config-C8TXSDmC.js} +18 -18
- package/dist/{copy-icon-Bv5SAA0w.js → copy-icon-CDvvlY90.js} +2 -2
- package/dist/{createReducer-BJJ0K5Tu.js → createReducer-CXqSak4H.js} +1 -1
- package/dist/{cynefinDiagram-5FMLGOSQ-BKnxm64C.js → cynefinDiagram-5FMLGOSQ-C-MlCYj4.js} +1 -1
- package/dist/{dagre-GXQ25YYZ-COBTexAI.js → dagre-GXQ25YYZ-C6e9vEKZ.js} +1 -1
- package/dist/{data-grid-overlay-editor-CkJgQaxE.js → data-grid-overlay-editor-kj617zpx.js} +1 -1
- package/dist/{diagram-S7CK7UJ4-Dyt3J6ek.js → diagram-S7CK7UJ4-DgXNq_At.js} +1 -1
- package/dist/{diagram-UQ7AKVKN-CJCsT4fA.js → diagram-UQ7AKVKN-BG5NExCt.js} +1 -1
- package/dist/{diagram-VX7I27RA-BboxCtbh.js → diagram-VX7I27RA-Da7VYCfC.js} +1 -1
- package/dist/{diagram-Z3DM3KII-DfRWWQ5t.js → diagram-Z3DM3KII-DHk6GaR5.js} +1 -1
- package/dist/{dialog-B8vU2hHC.js → dialog-rgayPemF.js} +20 -20
- package/dist/{dropdown-menu-DzhAnAhr.js → dropdown-menu-B12Nf3Zf.js} +703 -703
- package/dist/{ebnfDiagram-PWID7BFC-DYxwv-nl.js → ebnfDiagram-PWID7BFC-DdSjinXr.js} +2 -2
- package/dist/{erDiagram-RLTQ6QDP-D9e5WUw7.js → erDiagram-RLTQ6QDP-BgcwfZct.js} +1 -1
- package/dist/{error-banner-BRkKwvku.js → error-banner-DXHIN-63.js} +58 -58
- package/dist/{error-entries-BbxtqUQ4.js → error-entries-DMgIKuK1.js} +380 -380
- package/dist/{feedback-button-Bo1DzBRc.js → feedback-button-CGAe5hFZ.js} +7 -7
- package/dist/{flowDiagram-HODETNUW-tt7EepxX.js → flowDiagram-HODETNUW-CVwzkmUF.js} +2 -2
- package/dist/{formats-HRSqKdFt.js → formats-BWuAsLfw.js} +1 -1
- package/dist/{glide-data-editor-D537pcyO.js → glide-data-editor-BiU_hF9A.js} +11 -11
- package/dist/{glide-utils-BzjESEmr.js → glide-utils-D1McS0Pn.js} +2 -2
- package/dist/{globals-DyA5IC15.js → globals-jz3DTWzC.js} +3 -3
- package/dist/{html-to-image-DuNAF8H5.js → html-to-image-Dopvv40j.js} +774 -774
- package/dist/{infoDiagram-27XIBGKW-CpQH_joy.js → infoDiagram-27XIBGKW-CHkU2P-8.js} +1 -1
- package/dist/{ishikawaDiagram-5VMMS53U-d-it4xqm.js → ishikawaDiagram-5VMMS53U-B0k5UyY5.js} +1 -1
- package/dist/{kanban-definition-UXKFOSKX-DItpqTFY.js → kanban-definition-UXKFOSKX-DwQvOV0x.js} +1 -1
- package/dist/main.js +4913 -4936
- package/dist/{mermaid-BugOVfeH.js → mermaid-Bqy6f_NU.js} +34 -34
- package/dist/{mindmap-definition-YA3MSWOX-D6IpF-_J.js → mindmap-definition-YA3MSWOX-CqvvAm8I.js} +1 -1
- package/dist/{number-overlay-editor-BN8eCduk.js → number-overlay-editor-D3OSLsDB.js} +1 -1
- package/dist/{pegDiagram-XKGWAZYB-CXUu3QwE.js → pegDiagram-XKGWAZYB-Befnx4Ry.js} +2 -2
- package/dist/{pencil-DWRFEz2B.js → pencil-BC7pOv9g.js} +1 -1
- package/dist/{pieDiagram-E7YTZNPT-DoUJF0yj.js → pieDiagram-E7YTZNPT-6rYFbF7p.js} +1 -1
- package/dist/{process-output-Cl97_Reh.js → process-output-BidrKebE.js} +4 -4
- package/dist/{railroadDiagram-O6MQD6OU-BsGDhtLL.js → railroadDiagram-O6MQD6OU-SSniwYC8.js} +2 -2
- package/dist/{requirementDiagram-BXWQKSXE-BHW0qW2Z.js → requirementDiagram-BXWQKSXE-3L_xNfQr.js} +1 -1
- package/dist/{reveal-component-DEOP4BIj.js → reveal-component-CnyvRvqy.js} +900 -900
- package/dist/{select-Brvb-RwP.js → select-PQHWLm64.js} +99 -99
- package/dist/{sequenceDiagram-WJ2MYXX4-DpgYJzLl.js → sequenceDiagram-WJ2MYXX4-DvzIRlWu.js} +1 -1
- package/dist/{spec-BWpscSQi.js → spec-6shN7lEe.js} +4 -4
- package/dist/{stateDiagram-D77RDMKH-Btf1jiYb.js → stateDiagram-D77RDMKH-VsHup-Ig.js} +2 -2
- package/dist/{stateDiagram-v2-MP3YSRHH-DN9FyEf3.js → stateDiagram-v2-MP3YSRHH-BwIIR8nk.js} +2 -2
- package/dist/{static-state-BhCfPRoz.js → static-state-CWXd6dYX.js} +9 -9
- package/dist/{swimlanes-42K2YHIH-2l_tR9qL.js → swimlanes-42K2YHIH-DhSDCIWI.js} +1 -1
- package/dist/{swimlanesDiagram-VR7AAH4N-BAkmv8kE.js → swimlanesDiagram-VR7AAH4N-C2WGVm-W.js} +2 -2
- package/dist/{timeline-definition-24CTP7MA-AxSxEOhx.js → timeline-definition-24CTP7MA-DhUhNinO.js} +1 -1
- package/dist/{toast-DOWc3HtU.js → toast-BGvv7tKS.js} +153 -153
- package/dist/{tooltip-DsQZP310.js → tooltip-CiJ919pg.js} +62 -62
- package/dist/{use-restore-focus-CTa7IRP6.js → use-restore-focus-BLj45Ibw.js} +75 -75
- package/dist/{useDateFormatter-CRuBYwR6.js → useDateFormatter-C659lkax.js} +2 -2
- package/dist/{useDeepCompareMemoize-B2RNcTmn.js → useDeepCompareMemoize-CDhinwm7.js} +1 -1
- package/dist/{useLifecycle-Bw0JtmoB.js → useLifecycle-mKiMNa4V.js} +1 -1
- package/dist/{vega-component-BV9sYHhU.js → vega-component-CWvQ7wBJ.js} +6 -6
- package/dist/{vennDiagram-4TSXK5OY-oHztO7MH.js → vennDiagram-4TSXK5OY-exvBF8P5.js} +1 -1
- package/dist/{wardleyDiagram-VM6X3IG4-DWeEjZSc.js → wardleyDiagram-VM6X3IG4-BFhJmnXo.js} +1 -1
- package/dist/{xychartDiagram-S5SC5T6Z-ESBlsY9i.js → xychartDiagram-S5SC5T6Z-D_xAdG6u.js} +1 -1
- package/package.json +1 -1
- package/src/components/editor/actions/__tests__/pair-with-agent-modal.test.tsx +23 -0
- package/src/components/editor/actions/pair-with-agent-modal.tsx +4 -3
- package/src/components/editor/controls/Controls.tsx +5 -2
- package/src/components/editor/notebook-cell.tsx +7 -21
- package/src/components/editor/renderers/grid-layout/grid-layout.tsx +2 -7
- package/src/components/editor/renderers/vertical-layout/vertical-layout.tsx +2 -4
- package/src/components/slides/minimap.tsx +2 -3
- package/src/components/slides/reveal-component.tsx +2 -3
- package/src/components/slides/slide-cell-view.tsx +5 -12
- package/src/core/cells/__tests__/cell.test.ts +8 -51
- package/src/core/cells/__tests__/utils.test.ts +27 -18
- package/src/core/cells/cell.ts +6 -12
- package/src/core/cells/cells.ts +5 -3
- package/src/core/cells/utils.ts +61 -55
- package/src/core/config/config.ts +4 -0
- package/src/core/executions/__tests__/hooks.test.tsx +48 -2
- package/src/core/executions/__tests__/select.test.ts +0 -17
- package/src/core/executions/hooks.ts +24 -0
- package/src/core/executions/index.ts +2 -0
- 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-
|
|
6
|
-
import { $ as u,
|
|
7
|
-
import { M as
|
|
8
|
-
import { X as
|
|
9
|
-
import { Nt as
|
|
10
|
-
import { t as
|
|
11
|
-
import {
|
|
12
|
-
import { t as
|
|
13
|
-
import { o as te } from "./static-state-
|
|
14
|
-
import { n as ne, t as re } from "./code-visibility-
|
|
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
|
|
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
|
-
}]]),
|
|
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)),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
35
|
+
}, se = (e, t) => {
|
|
36
36
|
e.style.transform = t;
|
|
37
|
-
},
|
|
37
|
+
}, ce = (e, t) => {
|
|
38
38
|
let n = e.matches || e.matchesSelector || e.msMatchesSelector;
|
|
39
39
|
return !!(n && n.call(e, t));
|
|
40
|
-
},
|
|
40
|
+
}, F = (e, t) => {
|
|
41
41
|
if (e && typeof e.closest == "function") return e.closest(t);
|
|
42
42
|
for (; e;) {
|
|
43
|
-
if (
|
|
43
|
+
if (ce(e, t)) return e;
|
|
44
44
|
e = e.parentElement;
|
|
45
45
|
}
|
|
46
46
|
return null;
|
|
47
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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] =
|
|
70
|
+
e[t] = oe(unescape(n));
|
|
71
71
|
}
|
|
72
72
|
return e.dependencies !== void 0 && delete e.dependencies, e;
|
|
73
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
85
|
+
}, me = (e = "") => {
|
|
86
86
|
let t = e.split(".").pop();
|
|
87
|
-
return t ?
|
|
88
|
-
},
|
|
89
|
-
/chrome/i.test(
|
|
90
|
-
var
|
|
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
|
-
},
|
|
170
|
-
e.clearTimeout(
|
|
171
|
-
},
|
|
172
|
-
return Object.defineProperty(
|
|
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
|
-
|
|
175
|
-
e[n](t,
|
|
174
|
+
T.forEach((function(t) {
|
|
175
|
+
e[n](t, w);
|
|
176
176
|
}));
|
|
177
|
-
} }),
|
|
177
|
+
} }), D.observeWindow = !0, D.observeWindowDelay = 100, D.fitAll = l(a), D;
|
|
178
178
|
}
|
|
179
|
-
function
|
|
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
|
|
201
|
+
function D(e) {
|
|
202
202
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
203
|
-
return typeof e == "string" ?
|
|
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
|
|
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
|
|
225
|
-
var t =
|
|
224
|
+
function xe(e) {
|
|
225
|
+
var t = be(e, "string");
|
|
226
226
|
return L(t) == "symbol" ? t : t + "";
|
|
227
227
|
}
|
|
228
|
-
function
|
|
229
|
-
return (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
|
|
236
|
+
var Ce = class {
|
|
237
237
|
constructor(e) {
|
|
238
|
-
|
|
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
|
-
}),
|
|
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(${
|
|
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),
|
|
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 =
|
|
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
|
-
|
|
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 (
|
|
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") || !!
|
|
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 }) :
|
|
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
|
-
|
|
340
|
+
F(e, ".fragment") && !F(e, ".fragment.visible") || this.startEmbeddedIframe({ target: e });
|
|
341
341
|
}), P(e, "iframe[data-src]").forEach((e) => {
|
|
342
|
-
|
|
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 = !!
|
|
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 = !!
|
|
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 = !!
|
|
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") || !!
|
|
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 =
|
|
385
|
-
!e.hasAttribute("data-ignore") && typeof e.pause == "function" && (e.setAttribute("data-paused-by-reveal", ""), e.pause(),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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 || !
|
|
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 =
|
|
619
|
-
if (e && e.a !== 0) return
|
|
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
|
-
},
|
|
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 ||
|
|
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,
|
|
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-" +
|
|
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 =
|
|
753
|
-
let t =
|
|
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
|
-
|
|
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
|
-
},
|
|
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(),
|
|
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,
|
|
979
|
-
let r = t / e * this.progressBarHeight, i = Math.min(r / 8,
|
|
980
|
-
this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r >
|
|
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
|
-
},
|
|
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
|
|
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
|
|
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
|
-
|
|
1089
|
+
Le(a, r, i, o, s, "next", e);
|
|
1090
1090
|
}
|
|
1091
1091
|
function s(e) {
|
|
1092
|
-
|
|
1092
|
+
Le(a, r, i, o, s, "throw", e);
|
|
1093
1093
|
}
|
|
1094
1094
|
o(void 0);
|
|
1095
1095
|
});
|
|
1096
1096
|
};
|
|
1097
1097
|
}
|
|
1098
|
-
var
|
|
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
|
|
1105
|
-
let t = e.Reveal.getConfig(), n = P(e.Reveal.getRevealElement(),
|
|
1106
|
-
yield new Promise(requestAnimationFrame),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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(),
|
|
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),
|
|
1307
|
-
e.setAttribute("data-index-h", t), e.setAttribute("data-index-v", n),
|
|
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
|
-
|
|
1311
|
-
|
|
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(),
|
|
1328
|
-
|
|
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
|
-
|
|
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
|
-
},
|
|
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 ?
|
|
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
|
|
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
|
|
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 ?
|
|
1467
|
-
|
|
1468
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) :
|
|
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
|
-
|
|
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
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
},
|
|
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 (
|
|
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 >
|
|
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)
|
|
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 >
|
|
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
|
-
},
|
|
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 !==
|
|
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 !==
|
|
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 ===
|
|
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 =
|
|
2011
|
+
let t = F(e.target, ".reveal");
|
|
2012
2012
|
(!t || t !== this.Reveal.getRevealElement()) && this.blur();
|
|
2013
2013
|
}
|
|
2014
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
2162
|
-
function
|
|
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
|
|
2171
|
-
function
|
|
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 =
|
|
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
|
|
2178
|
-
r.embedded === !0 ? m.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(),
|
|
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 ?
|
|
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
|
|
2203
|
-
m.slides.classList.add("no-transition"),
|
|
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
|
|
2209
|
+
function L(e) {
|
|
2210
2210
|
m.statusElement.textContent = e;
|
|
2211
2211
|
}
|
|
2212
|
-
function
|
|
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 +=
|
|
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
|
-
(!
|
|
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
|
-
|
|
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 =
|
|
2259
|
-
if (typeof e == "object" &&
|
|
2260
|
-
let i = m.wrapper.querySelectorAll(
|
|
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 &&
|
|
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
|
|
2264
|
-
window.addEventListener("resize",
|
|
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
|
|
2267
|
-
|
|
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 && (
|
|
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
|
|
2281
|
-
typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ?
|
|
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),
|
|
2285
|
+
return i.initEvent(t, r, !0), ie(i, n), e.dispatchEvent(i), e === m.wrapper && Je(t), i;
|
|
2286
2286
|
}
|
|
2287
|
-
function
|
|
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
|
|
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:
|
|
2304
|
+
state: zt()
|
|
2305
2305
|
};
|
|
2306
|
-
|
|
2306
|
+
ie(n, t), window.parent.postMessage(JSON.stringify(n), "*");
|
|
2307
2307
|
}
|
|
2308
2308
|
}
|
|
2309
|
-
function
|
|
2310
|
-
if (m.wrapper && !
|
|
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
|
-
|
|
2314
|
-
let n =
|
|
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 ||
|
|
2316
|
-
let a = Array.from(m.wrapper.querySelectorAll(
|
|
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
|
-
|
|
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 =
|
|
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
|
|
2344
|
-
if (m.wrapper && !r.disableLayout && !
|
|
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 ?
|
|
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
|
|
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
|
|
2370
|
+
function ct(e = l) {
|
|
2371
2371
|
return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
|
|
2372
2372
|
}
|
|
2373
|
-
function
|
|
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
|
|
2377
|
+
return l && ct(l) ? !l.nextElementSibling : !1;
|
|
2381
2378
|
}
|
|
2382
2379
|
function ut() {
|
|
2383
|
-
return
|
|
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
|
-
|
|
2388
|
+
Ht(), m.wrapper.classList.add("paused"), e === !1 && H({ type: "paused" });
|
|
2389
2389
|
}
|
|
2390
2390
|
}
|
|
2391
|
-
function
|
|
2391
|
+
function pt() {
|
|
2392
2392
|
let e = m.wrapper.classList.contains("paused");
|
|
2393
|
-
m.wrapper.classList.remove("paused"),
|
|
2393
|
+
m.wrapper.classList.remove("paused"), Vt(), e && H({ type: "resumed" });
|
|
2394
2394
|
}
|
|
2395
|
-
function
|
|
2396
|
-
typeof e == "boolean" ? e ?
|
|
2395
|
+
function mt(e) {
|
|
2396
|
+
typeof e == "boolean" ? e ? ft() : pt() : ht() ? pt() : ft();
|
|
2397
2397
|
}
|
|
2398
|
-
function
|
|
2398
|
+
function ht() {
|
|
2399
2399
|
return m.wrapper.classList.contains("paused");
|
|
2400
2400
|
}
|
|
2401
|
-
function
|
|
2401
|
+
function gt(e) {
|
|
2402
2402
|
typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
|
|
2403
2403
|
}
|
|
2404
|
-
function
|
|
2405
|
-
typeof e == "boolean" ? e ?
|
|
2404
|
+
function _t(e) {
|
|
2405
|
+
typeof e == "boolean" ? e ? Wt() : Ut() : b ? Wt() : Ut();
|
|
2406
2406
|
}
|
|
2407
|
-
function
|
|
2407
|
+
function vt() {
|
|
2408
2408
|
return !(!g || b);
|
|
2409
2409
|
}
|
|
2410
|
-
function
|
|
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(
|
|
2421
|
-
if (
|
|
2422
|
-
let e =
|
|
2423
|
-
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 && !
|
|
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(
|
|
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 && !
|
|
2438
|
-
|
|
2439
|
-
|
|
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(),
|
|
2451
|
-
be(
|
|
2452
|
-
}),
|
|
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 &&
|
|
2454
|
+
}, 0), r.autoAnimate && ee.run(c, l));
|
|
2455
2455
|
}
|
|
2456
|
-
function
|
|
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
|
|
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 &&
|
|
2464
|
-
be(
|
|
2465
|
-
}),
|
|
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
|
|
2468
|
-
|
|
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
|
|
2471
|
-
|
|
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
|
|
2477
|
-
|
|
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
|
|
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 &&
|
|
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 =
|
|
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 && !
|
|
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 &&
|
|
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
|
|
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
|
|
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
|
|
2521
|
-
let e =
|
|
2520
|
+
function Tt() {
|
|
2521
|
+
let e = At(), t = e.length, n, i;
|
|
2522
2522
|
if (t && o !== void 0) {
|
|
2523
|
-
let a =
|
|
2524
|
-
|
|
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
|
-
|
|
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 =
|
|
2538
|
-
P(m.wrapper,
|
|
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
|
|
2543
|
-
let t = m.wrapper.querySelectorAll(
|
|
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 =
|
|
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
|
|
2560
|
-
let t =
|
|
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
|
|
2573
|
-
let e =
|
|
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
|
|
2583
|
+
function Ot(e) {
|
|
2584
2584
|
let t = o, n = s, r;
|
|
2585
2585
|
if (e) {
|
|
2586
|
-
if (
|
|
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 =
|
|
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,
|
|
2603
|
+
return P(m.wrapper, R + ":not(.stack):not([data-visibility=\"uncounted\"])");
|
|
2607
2604
|
}
|
|
2608
2605
|
function At() {
|
|
2609
|
-
return P(m.wrapper,
|
|
2606
|
+
return P(m.wrapper, z);
|
|
2610
2607
|
}
|
|
2611
2608
|
function jt() {
|
|
2612
|
-
return P(m.wrapper,
|
|
2609
|
+
return P(m.wrapper, ".slides>section>section");
|
|
2613
2610
|
}
|
|
2614
2611
|
function Mt() {
|
|
2615
|
-
return
|
|
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
|
|
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
|
|
2631
|
-
return
|
|
2630
|
+
function It() {
|
|
2631
|
+
return kt().length;
|
|
2632
2632
|
}
|
|
2633
|
-
function
|
|
2634
|
-
let n =
|
|
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
|
|
2638
|
-
let n = typeof e == "number" ?
|
|
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
|
|
2642
|
-
let e =
|
|
2643
|
-
return
|
|
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:
|
|
2648
|
-
overview:
|
|
2647
|
+
paused: ht(),
|
|
2648
|
+
overview: O.isActive()
|
|
2649
2649
|
}, M.getState());
|
|
2650
2650
|
}
|
|
2651
|
-
function
|
|
2651
|
+
function Bt(e) {
|
|
2652
2652
|
if (typeof e == "object") {
|
|
2653
|
-
|
|
2654
|
-
let t =
|
|
2655
|
-
typeof t == "boolean" && t !==
|
|
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
|
|
2659
|
-
if (
|
|
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 && !
|
|
2664
|
-
typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() :
|
|
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
|
-
|
|
2669
|
+
clearTimeout(v), v = -1;
|
|
2673
2670
|
}
|
|
2674
2671
|
function Ut() {
|
|
2675
|
-
g && b && (b = !
|
|
2672
|
+
g && !b && (b = !0, H({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
|
|
2676
2673
|
}
|
|
2677
|
-
function Wt(
|
|
2678
|
-
|
|
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,
|
|
2683
|
-
r.rtl ? (
|
|
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 (
|
|
2687
|
-
(
|
|
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 (
|
|
2691
|
-
(
|
|
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 (
|
|
2695
|
-
|
|
2696
|
-
|
|
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,
|
|
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
|
-
|
|
2702
|
-
} else r.rtl ?
|
|
2701
|
+
G(o - 1, e);
|
|
2702
|
+
} else r.rtl ? Kt({ skipFragments: e }) : Gt({ skipFragments: e });
|
|
2703
2703
|
}
|
|
2704
2704
|
}
|
|
2705
2705
|
}
|
|
2706
|
-
function
|
|
2707
|
-
if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0,
|
|
2708
|
-
if (e ||
|
|
2709
|
-
let t =
|
|
2710
|
-
t.down && t.right && r.loop &&
|
|
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
|
-
|
|
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
|
|
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
|
|
2740
|
-
let t =
|
|
2739
|
+
function en(e) {
|
|
2740
|
+
let t = F(e.target, "a[href^=\"#\"]");
|
|
2741
2741
|
if (t) {
|
|
2742
|
-
let r = t.getAttribute("href"), i =
|
|
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
|
-
|
|
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
|
|
2758
|
-
|
|
2757
|
+
function an(e) {
|
|
2758
|
+
dt() && r.loop === !1 ? (G(0, 0), Wt()) : b ? Wt() : Ut();
|
|
2759
2759
|
}
|
|
2760
|
-
let
|
|
2761
|
-
VERSION:
|
|
2762
|
-
initialize:
|
|
2760
|
+
let on = {
|
|
2761
|
+
VERSION: at,
|
|
2762
|
+
initialize: ue,
|
|
2763
2763
|
configure: V,
|
|
2764
2764
|
destroy: Ne,
|
|
2765
|
-
sync:
|
|
2766
|
-
syncSlide:
|
|
2767
|
-
syncFragments:
|
|
2768
|
-
slide:
|
|
2769
|
-
left:
|
|
2770
|
-
right:
|
|
2771
|
-
up:
|
|
2772
|
-
down:
|
|
2773
|
-
prev:
|
|
2774
|
-
next:
|
|
2775
|
-
navigateLeft:
|
|
2776
|
-
navigateRight:
|
|
2777
|
-
navigateUp:
|
|
2778
|
-
navigateDown:
|
|
2779
|
-
navigatePrev:
|
|
2780
|
-
navigateNext:
|
|
2781
|
-
navigateFragment:
|
|
2782
|
-
prevFragment:
|
|
2783
|
-
nextFragment:
|
|
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:
|
|
2789
|
-
shuffle:
|
|
2790
|
-
availableRoutes:
|
|
2791
|
-
availableFragments:
|
|
2788
|
+
layout: U,
|
|
2789
|
+
shuffle: K,
|
|
2790
|
+
availableRoutes: Y,
|
|
2791
|
+
availableFragments: D.availableRoutes.bind(D),
|
|
2792
2792
|
toggleHelp: M.toggleHelp.bind(M),
|
|
2793
|
-
toggleOverview:
|
|
2794
|
-
toggleScrollView:
|
|
2795
|
-
togglePause:
|
|
2796
|
-
toggleAutoSlide:
|
|
2797
|
-
toggleJumpToSlide:
|
|
2798
|
-
isFirstSlide:
|
|
2799
|
-
isLastSlide:
|
|
2800
|
-
isLastVerticalSlide:
|
|
2801
|
-
isVerticalSlide:
|
|
2802
|
-
isVerticalStack:
|
|
2803
|
-
isPaused:
|
|
2804
|
-
isAutoSliding:
|
|
2805
|
-
isSpeakerNotes:
|
|
2806
|
-
isOverview:
|
|
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:
|
|
2810
|
-
isPrintView:
|
|
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:
|
|
2822
|
-
removeEventListeners:
|
|
2821
|
+
addEventListeners: Ae,
|
|
2822
|
+
removeEventListeners: Me,
|
|
2823
2823
|
dispatchEvent: H,
|
|
2824
|
-
getState:
|
|
2825
|
-
setState:
|
|
2826
|
-
getProgress:
|
|
2827
|
-
getIndices:
|
|
2828
|
-
getSlidesAttributes:
|
|
2829
|
-
getSlidePastCount:
|
|
2830
|
-
getTotalSlides:
|
|
2831
|
-
getSlide:
|
|
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:
|
|
2835
|
-
getSlideNotes:
|
|
2836
|
-
getSlides:
|
|
2837
|
-
getHorizontalSlides:
|
|
2838
|
-
getVerticalSlides:
|
|
2839
|
-
hasHorizontalSlides:
|
|
2840
|
-
hasVerticalSlides:
|
|
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:
|
|
2844
|
-
addKeyBinding:
|
|
2845
|
-
removeKeyBinding:
|
|
2846
|
-
triggerKey:
|
|
2847
|
-
registerKeyboardShortcut:
|
|
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:
|
|
2849
|
+
setCurrentScrollPage: bt,
|
|
2850
2850
|
removeHiddenSlides: ge,
|
|
2851
2851
|
getScale: () => f,
|
|
2852
2852
|
getConfig: () => r,
|
|
2853
|
-
getQueryHash:
|
|
2854
|
-
getSlidePath:
|
|
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: () =>
|
|
2859
|
-
registerPlugin:
|
|
2860
|
-
hasPlugin:
|
|
2861
|
-
getPlugin:
|
|
2862
|
-
getPlugins:
|
|
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
|
|
2865
|
-
announceStatus:
|
|
2866
|
-
getStatusText:
|
|
2864
|
+
return ie(n, Ue(Ue({}, on), {}, {
|
|
2865
|
+
announceStatus: L,
|
|
2866
|
+
getStatusText: be,
|
|
2867
2867
|
focus: N,
|
|
2868
|
-
scroll:
|
|
2869
|
-
progress:
|
|
2870
|
-
controls:
|
|
2871
|
-
location:
|
|
2872
|
-
overview:
|
|
2873
|
-
keyboard:
|
|
2874
|
-
fragments:
|
|
2875
|
-
backgrounds:
|
|
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:
|
|
2878
|
+
onUserInput: Zt,
|
|
2879
2879
|
closeOverlay: M.close.bind(M),
|
|
2880
|
-
updateSlidesVisibility:
|
|
2880
|
+
updateSlidesVisibility: Tt,
|
|
2881
2881
|
layoutSlideContents: Ze,
|
|
2882
|
-
transformSlides:
|
|
2883
|
-
cueAutoSlide:
|
|
2884
|
-
cancelAutoSlide:
|
|
2885
|
-
})),
|
|
2882
|
+
transformSlides: Le,
|
|
2883
|
+
cueAutoSlide: Vt,
|
|
2884
|
+
cancelAutoSlide: Ht
|
|
2885
|
+
})), on;
|
|
2886
2886
|
}
|
|
2887
|
-
var
|
|
2888
|
-
|
|
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(
|
|
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
|
-
|
|
2900
|
+
st[e] = (...t) => {
|
|
2901
2901
|
ct.push((n) => n[e].call(null, ...t));
|
|
2902
2902
|
};
|
|
2903
|
-
}),
|
|
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
|
|
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,
|
|
2934
|
-
return (0,
|
|
2935
|
-
if (
|
|
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
|
|
2937
|
+
let t = new st(_.current, {
|
|
2938
2938
|
...e,
|
|
2939
2939
|
plugins: S.current
|
|
2940
2940
|
});
|
|
2941
|
-
|
|
2942
|
-
|
|
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
|
-
|
|
2946
|
+
D.current = !1;
|
|
2947
2947
|
let e = y.current;
|
|
2948
2948
|
if (!e) return;
|
|
2949
|
-
let t = ++
|
|
2949
|
+
let t = ++O.current;
|
|
2950
2950
|
Promise.resolve().then(() => {
|
|
2951
|
-
if (!(
|
|
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,
|
|
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,
|
|
2990
|
-
b && y.current?.isReady() && dt(
|
|
2991
|
-
}, [b, e]), (0,
|
|
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,
|
|
2995
|
-
e ?
|
|
2996
|
-
}), /* @__PURE__ */ (0,
|
|
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,
|
|
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,
|
|
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
|
|
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
|
|
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:
|
|
3058
|
-
let
|
|
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:
|
|
3083
|
-
notes:
|
|
3084
|
-
backgroundInteractive:
|
|
3085
|
-
preload:
|
|
3086
|
-
}),
|
|
3087
|
-
return (0,
|
|
3088
|
-
let e =
|
|
3089
|
-
if (!
|
|
3090
|
-
if (
|
|
3091
|
-
|
|
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 (
|
|
3095
|
-
let t =
|
|
3096
|
-
t && n || (
|
|
3097
|
-
}, [
|
|
3098
|
-
ref:
|
|
3099
|
-
...
|
|
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,
|
|
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
|
|
3129
|
-
function
|
|
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(
|
|
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
|
-
})(),
|
|
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
|
-
},
|
|
3203
|
-
blockquote:
|
|
3204
|
-
code:
|
|
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:
|
|
3212
|
+
newline: Tt,
|
|
3213
3213
|
paragraph: Vt,
|
|
3214
|
-
table:
|
|
3214
|
+
table: K,
|
|
3215
3215
|
text: Pt
|
|
3216
|
-
}, Ut =
|
|
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:
|
|
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:
|
|
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:
|
|
3226
|
+
fences: K,
|
|
3227
3227
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
3228
|
-
paragraph:
|
|
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 =
|
|
3230
|
-
_backpedal:
|
|
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:
|
|
3237
|
-
delLDelim:
|
|
3238
|
-
delRDelim:
|
|
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:
|
|
3250
|
+
url: K
|
|
3251
3251
|
}, Tn = {
|
|
3252
3252
|
...wn,
|
|
3253
|
-
link:
|
|
3254
|
-
reflink:
|
|
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:
|
|
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:
|
|
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:
|
|
3268
|
-
text:
|
|
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 (
|
|
3288
|
-
} else if (
|
|
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(
|
|
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(
|
|
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(
|
|
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(
|
|
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:
|
|
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(
|
|
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(
|
|
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(
|
|
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
|
|
4472
|
+
function X(e, t) {
|
|
4473
4473
|
return Kn.parse(e, t);
|
|
4474
4474
|
}
|
|
4475
|
-
|
|
4476
|
-
return Kn.setOptions(e),
|
|
4477
|
-
},
|
|
4478
|
-
return Kn.use(...e),
|
|
4479
|
-
},
|
|
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
|
-
},
|
|
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 =
|
|
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,
|
|
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,
|
|
4505
|
+
return t !== void 0 && (n["data-fragment-index"] = t), (0, M.cloneElement)(e, n);
|
|
4506
4506
|
}
|
|
4507
|
-
return /* @__PURE__ */ (0,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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 =
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
|
4758
|
-
return t[22] !== S || t[23] !== w ? (
|
|
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] =
|
|
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 =
|
|
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
|
|
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(
|
|
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
|
-
})(),
|
|
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
|
-
},
|
|
4876
|
-
blockquote:
|
|
4877
|
-
code:
|
|
4878
|
-
def:
|
|
4879
|
-
fences:
|
|
4880
|
-
heading:
|
|
4881
|
-
hr:
|
|
4882
|
-
html:
|
|
4883
|
-
lheading:
|
|
4884
|
-
list:
|
|
4885
|
-
newline:
|
|
4886
|
-
paragraph:
|
|
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:
|
|
4889
|
-
},
|
|
4890
|
-
...
|
|
4891
|
-
lheading:
|
|
4892
|
-
table:
|
|
4893
|
-
paragraph:
|
|
4894
|
-
},
|
|
4895
|
-
...
|
|
4896
|
-
html:
|
|
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:
|
|
4902
|
-
},
|
|
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:
|
|
4905
|
-
autolink:
|
|
4906
|
-
blockSkip:
|
|
4907
|
-
br:
|
|
4908
|
-
code:
|
|
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:
|
|
4913
|
-
emStrongRDelimAst:
|
|
4914
|
-
emStrongRDelimUnd:
|
|
4915
|
-
escape:
|
|
4916
|
-
link:
|
|
4917
|
-
nolink:
|
|
4918
|
-
punctuation:
|
|
4919
|
-
reflink:
|
|
4920
|
-
reflinkSearch:
|
|
4921
|
-
tag:
|
|
4922
|
-
text:
|
|
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
|
-
...
|
|
4926
|
-
|
|
4927
|
-
|
|
4928
|
-
|
|
4929
|
-
|
|
4930
|
-
|
|
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:
|
|
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
|
-
|
|
4940
|
-
|
|
4941
|
-
|
|
4943
|
+
normal: Vr,
|
|
4944
|
+
gfm: Ur,
|
|
4945
|
+
pedantic: Wr
|
|
4942
4946
|
}, Di = {
|
|
4943
|
-
normal:
|
|
4944
|
-
gfm:
|
|
4945
|
-
|
|
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
|
"&": "&",
|
|
4953
4953
|
"<": "<",
|
|
4954
4954
|
">": ">",
|
|
4955
4955
|
"\"": """,
|
|
4956
4956
|
"'": "'"
|
|
4957
|
-
},
|
|
4958
|
-
function
|
|
4957
|
+
}, ki = (e) => Oi[e];
|
|
4958
|
+
function Ai(e, t) {
|
|
4959
4959
|
if (t) {
|
|
4960
|
-
if (
|
|
4961
|
-
} else if (
|
|
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
|
|
4964
|
+
function ji(e) {
|
|
4965
4965
|
try {
|
|
4966
|
-
e = encodeURI(e).replace(
|
|
4966
|
+
e = encodeURI(e).replace(Q.percentDecode, "%");
|
|
4967
4967
|
} catch {
|
|
4968
4968
|
return null;
|
|
4969
4969
|
}
|
|
4970
4970
|
return e;
|
|
4971
4971
|
}
|
|
4972
|
-
function
|
|
4973
|
-
let n = e.replace(
|
|
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(
|
|
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(
|
|
4982
|
+
for (; r < n.length; r++) n[r] = n[r].trim().replace(Q.slashPipe, "|");
|
|
4983
4983
|
return n;
|
|
4984
4984
|
}
|
|
4985
|
-
function
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 :
|
|
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 =
|
|
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 =
|
|
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:
|
|
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 =
|
|
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 =
|
|
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 =
|
|
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(
|
|
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 =
|
|
5324
|
+
let t = Ni(e.slice(0, -1), "\\");
|
|
5325
5325
|
if ((e.length - t.length) % 2 == 0) return;
|
|
5326
5326
|
} else {
|
|
5327
|
-
let e =
|
|
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)),
|
|
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
|
|
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
|
-
},
|
|
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
|
|
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:
|
|
5504
|
-
block:
|
|
5505
|
-
inline:
|
|
5503
|
+
other: Q,
|
|
5504
|
+
block: Ei.normal,
|
|
5505
|
+
inline: Di.normal
|
|
5506
5506
|
};
|
|
5507
|
-
this.options.pedantic ? (t.block =
|
|
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:
|
|
5512
|
-
inline:
|
|
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(
|
|
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(
|
|
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
|
-
},
|
|
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(
|
|
5656
|
-
return r ? "<pre><code class=\"language-" +
|
|
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>${
|
|
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 =
|
|
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=\"" +
|
|
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 =
|
|
5744
|
-
if (i === null) return
|
|
5743
|
+
let i = ji(e);
|
|
5744
|
+
if (i === null) return Ai(n);
|
|
5745
5745
|
e = i;
|
|
5746
|
-
let a = `<img src="${e}" alt="${
|
|
5747
|
-
return t && (a += ` title="${
|
|
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 :
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
|
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
|
-
},
|
|
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 ?
|
|
5964
|
+
return this.block ? zi.lex : zi.lexInline;
|
|
5965
5965
|
}
|
|
5966
5966
|
provideParser() {
|
|
5967
|
-
return this.block ?
|
|
5967
|
+
return this.block ? Hi.parse : Hi.parseInline;
|
|
5968
5968
|
}
|
|
5969
|
-
},
|
|
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 =
|
|
5975
|
-
Renderer =
|
|
5976
|
-
TextRenderer =
|
|
5977
|
-
Lexer =
|
|
5978
|
-
Tokenizer =
|
|
5979
|
-
Hooks =
|
|
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
|
|
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
|
|
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
|
|
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] =
|
|
6066
|
-
if (this.defaults.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
|
|
6103
|
+
return zi.lex(e, t ?? this.defaults);
|
|
6104
6104
|
}
|
|
6105
6105
|
parser(e, t) {
|
|
6106
|
-
return
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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 ?
|
|
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>" +
|
|
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
|
|
6146
|
+
return Wi.parse(e, t);
|
|
6147
6147
|
}
|
|
6148
6148
|
$.options = $.setOptions = function(e) {
|
|
6149
|
-
return
|
|
6149
|
+
return Wi.setOptions(e), $.defaults = Wi.defaults, br($.defaults), $;
|
|
6150
6150
|
}, $.getDefaults = vr, $.defaults = yr, $.use = function(...e) {
|
|
6151
|
-
return
|
|
6151
|
+
return Wi.use(...e), $.defaults = Wi.defaults, br($.defaults), $;
|
|
6152
6152
|
}, $.walkTokens = function(e, t) {
|
|
6153
|
-
return
|
|
6154
|
-
}, $.parseInline =
|
|
6155
|
-
var
|
|
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
|
-
},
|
|
6243
|
-
function
|
|
6244
|
-
e.removeKeyBinding(
|
|
6245
|
-
keyCode:
|
|
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
|
|
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
|
|
6254
|
+
var Qi = /* @__PURE__ */ new Set([
|
|
6255
6255
|
" ",
|
|
6256
6256
|
"Spacebar",
|
|
6257
6257
|
"ArrowRight",
|
|
6258
6258
|
"ArrowDown",
|
|
6259
6259
|
"PageDown"
|
|
6260
|
-
]),
|
|
6260
|
+
]), $i = /* @__PURE__ */ new Set([
|
|
6261
6261
|
"ArrowLeft",
|
|
6262
6262
|
"ArrowUp",
|
|
6263
6263
|
"PageUp"
|
|
6264
6264
|
]);
|
|
6265
|
-
function
|
|
6266
|
-
return
|
|
6265
|
+
function ea(e) {
|
|
6266
|
+
return Qi.has(e.key) ? 1 : $i.has(e.key) ? -1 : 0;
|
|
6267
6267
|
}
|
|
6268
|
-
function
|
|
6269
|
-
let t = (0,
|
|
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:
|
|
6272
|
-
height:
|
|
6271
|
+
width: qi,
|
|
6272
|
+
height: Ji
|
|
6273
6273
|
}, t[0] = n) : n = t[0];
|
|
6274
|
-
let [r, i] = (0,
|
|
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 *
|
|
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,
|
|
6288
|
+
}, o = [e], t[1] = e, t[2] = a, t[3] = o), (0, M.useEffect)(a, o), r;
|
|
6289
6289
|
}
|
|
6290
|
-
var
|
|
6291
|
-
let t = (0,
|
|
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,
|
|
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,
|
|
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
|
|
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
|
|
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
|
|
6314
|
-
let t = (0,
|
|
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,
|
|
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,
|
|
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 = () => _(
|
|
6341
|
-
let b =
|
|
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
|
|
6351
|
+
function oa(e) {
|
|
6352
6352
|
return {
|
|
6353
6353
|
...e,
|
|
6354
6354
|
show: !e.show
|
|
6355
6355
|
};
|
|
6356
6356
|
}
|
|
6357
|
-
function
|
|
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
|
|
6365
|
-
let t = (0,
|
|
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 =
|
|
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,
|
|
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,
|
|
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
|
-
},
|
|
6383
|
-
let t = (0,
|
|
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,
|
|
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,
|
|
6392
|
+
return /* @__PURE__ */ (0, W.jsxs)(Yn, {
|
|
6393
6393
|
as: "div",
|
|
6394
|
-
children: [n, r && /* @__PURE__ */ (0,
|
|
6394
|
+
children: [n, r && /* @__PURE__ */ (0, W.jsx)(na, { text: r })]
|
|
6395
6395
|
}, e.cells[0].id);
|
|
6396
6396
|
}
|
|
6397
|
-
return /* @__PURE__ */ (0,
|
|
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,
|
|
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,
|
|
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,
|
|
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,
|
|
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
|
|
6413
|
+
function ua(e) {
|
|
6414
6414
|
let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
|
|
6415
6415
|
return t && n || r;
|
|
6416
6416
|
}
|
|
6417
|
-
var
|
|
6418
|
-
let t = (0,
|
|
6419
|
-
if (
|
|
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,
|
|
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,
|
|
6429
|
-
},
|
|
6430
|
-
let t = (0,
|
|
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 =
|
|
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] !==
|
|
6440
|
-
|
|
6441
|
-
|
|
6442
|
-
|
|
6443
|
-
], t[1] =
|
|
6444
|
-
let I =
|
|
6445
|
-
t[5] !== I || t[6] !== le ? (fe = I || !
|
|
6446
|
-
let pe = fe, [me, he] = (0,
|
|
6447
|
-
t[8] === ge ? _e = 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
|
|
6451
|
-
t[12] !==
|
|
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] !==
|
|
6454
|
-
activeCell:
|
|
6453
|
+
t[15] !== be || t[16] !== s.cells || t[17] !== m ? (Ce = {
|
|
6454
|
+
activeCell: be,
|
|
6455
6455
|
slideConfigs: s.cells,
|
|
6456
|
-
noOutputIds:
|
|
6457
|
-
}, t[15] =
|
|
6458
|
-
let { parkedPreviewCell: R, isHeldEdit: z, isNoOutputPreview:
|
|
6459
|
-
t[19] !== ve || t[20] !== s.cells || t[21] !== me ? (
|
|
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] =
|
|
6465
|
-
let
|
|
6466
|
-
t[23] !== V || t[24] !==
|
|
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] !==
|
|
6470
|
+
t[32] !== Te || t[33] !== s.cells || t[34] !== m ? (Ne = (e) => ia({
|
|
6471
6471
|
cell: e,
|
|
6472
|
-
noOutputIds:
|
|
6473
|
-
heldEditCellId:
|
|
6472
|
+
noOutputIds: m,
|
|
6473
|
+
heldEditCellId: Te,
|
|
6474
6474
|
slideConfigs: s.cells
|
|
6475
|
-
}), t[32] =
|
|
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:
|
|
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 =
|
|
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 =
|
|
6491
|
-
let Ue = He,
|
|
6492
|
-
t[45] === Re ?
|
|
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:
|
|
6495
|
-
height:
|
|
6494
|
+
width: qi,
|
|
6495
|
+
height: Ji,
|
|
6496
6496
|
center: !1,
|
|
6497
6497
|
minScale: 0,
|
|
6498
6498
|
maxScale: 2,
|
|
6499
6499
|
transition: Re,
|
|
6500
|
-
keyboardCondition:
|
|
6500
|
+
keyboardCondition: ha,
|
|
6501
6501
|
url: Ue,
|
|
6502
6502
|
scrollActivationWidth: 0
|
|
6503
|
-
}, t[45] = Re, t[46] =
|
|
6504
|
-
let
|
|
6505
|
-
t[47] !==
|
|
6506
|
-
if (
|
|
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")),
|
|
6508
|
+
window.dispatchEvent(new HashChangeEvent("hashchange")), Zi(e);
|
|
6509
6509
|
return;
|
|
6510
6510
|
}
|
|
6511
6511
|
let t = sr({
|
|
6512
|
-
activeIndex:
|
|
6512
|
+
activeIndex: b,
|
|
6513
6513
|
cells: o,
|
|
6514
6514
|
cellToTarget: Le,
|
|
6515
|
-
getId:
|
|
6515
|
+
getId: ga
|
|
6516
6516
|
}), n = t && cr(e.getIndices(), t);
|
|
6517
|
-
n && (e.slide(n.h, n.v, n.f),
|
|
6518
|
-
}, t[47] =
|
|
6519
|
-
let
|
|
6520
|
-
t[52] ===
|
|
6521
|
-
let e =
|
|
6522
|
-
e != null &&
|
|
6523
|
-
}, t[52] =
|
|
6524
|
-
let
|
|
6525
|
-
t[54] !==
|
|
6526
|
-
|
|
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
|
-
|
|
6531
|
-
], t[54] =
|
|
6532
|
-
let
|
|
6533
|
-
t[60] !== V || t[61] !== Me || t[62] !== z || t[63] !==
|
|
6534
|
-
V == null || Me || (z ?
|
|
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] =
|
|
6539
|
-
let
|
|
6540
|
-
t[65] !==
|
|
6541
|
-
let e =
|
|
6542
|
-
return e &&
|
|
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:
|
|
6545
|
-
onToggle:
|
|
6544
|
+
enabled: L,
|
|
6545
|
+
onToggle: U
|
|
6546
6546
|
}), () => {
|
|
6547
|
-
|
|
6547
|
+
j.current?.removeKeyBinding(Yi);
|
|
6548
6548
|
};
|
|
6549
|
-
}, 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] !==
|
|
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 &&
|
|
6555
|
-
}, t[69] =
|
|
6556
|
-
let et =
|
|
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 =
|
|
6558
|
+
let e = j.current;
|
|
6559
6559
|
e && et(e);
|
|
6560
6560
|
}, t[73] = et, t[74] = tt);
|
|
6561
|
-
let nt =
|
|
6562
|
-
t[75] !== de || t[76] !==
|
|
6563
|
-
se(e.getScale()),
|
|
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:
|
|
6566
|
-
onToggle:
|
|
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] =
|
|
6571
|
-
let it =
|
|
6572
|
-
t[81] !==
|
|
6573
|
-
if (!R ||
|
|
6574
|
-
let t =
|
|
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 =
|
|
6578
|
-
n < 0 || n >= o.length ||
|
|
6579
|
-
}, t[81] =
|
|
6580
|
-
let ot =
|
|
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
|
|
6585
|
-
t[88] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
6586
|
-
let
|
|
6587
|
-
t[89] !==
|
|
6588
|
-
let
|
|
6589
|
-
t[94] !==
|
|
6590
|
-
isNoOutputPreview:
|
|
6591
|
-
isEditable:
|
|
6592
|
-
showCode:
|
|
6593
|
-
}), t[94] =
|
|
6594
|
-
let
|
|
6595
|
-
t[98] !==
|
|
6596
|
-
width:
|
|
6597
|
-
height:
|
|
6598
|
-
}, t[98] =
|
|
6599
|
-
let
|
|
6600
|
-
if (t[101] !== Fe.stacks || t[102] !==
|
|
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] !==
|
|
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:
|
|
6605
|
-
isEditable:
|
|
6604
|
+
resolveShowCode: B,
|
|
6605
|
+
isEditable: T,
|
|
6606
6606
|
slideConfigs: s.cells,
|
|
6607
6607
|
contentStyle: Ve
|
|
6608
|
-
}, t) : /* @__PURE__ */ (0,
|
|
6608
|
+
}, t) : /* @__PURE__ */ (0, W.jsx)(bt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, W.jsx)(la, {
|
|
6609
6609
|
subslide: e,
|
|
6610
|
-
resolveShowCode:
|
|
6611
|
-
isEditable:
|
|
6610
|
+
resolveShowCode: B,
|
|
6611
|
+
isEditable: T,
|
|
6612
6612
|
slideConfigs: s.cells,
|
|
6613
6613
|
contentStyle: Ve
|
|
6614
|
-
}, t)) }, t), t[107] =
|
|
6615
|
-
} else
|
|
6616
|
-
let
|
|
6617
|
-
t[112] !== pe || t[113] !== it || t[114] !==
|
|
6618
|
-
deckRef:
|
|
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:
|
|
6620
|
+
config: Ge,
|
|
6621
6621
|
onReady: it,
|
|
6622
|
-
onSlideChange:
|
|
6622
|
+
onSlideChange: ct,
|
|
6623
6623
|
onFragmentShown: nt,
|
|
6624
6624
|
onFragmentHidden: nt,
|
|
6625
6625
|
plugins: pe,
|
|
6626
|
-
children:
|
|
6627
|
-
}), t[112] = pe, t[113] = it, t[114] =
|
|
6628
|
-
let
|
|
6629
|
-
t[119] !==
|
|
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":
|
|
6632
|
-
children: [
|
|
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,
|
|
6635
|
-
}), /* @__PURE__ */ (0,
|
|
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:
|
|
6641
|
-
height:
|
|
6640
|
+
width: qi,
|
|
6641
|
+
height: Ji,
|
|
6642
6642
|
transform: `translate(-50%, -50%) scale(${oe})`
|
|
6643
6643
|
},
|
|
6644
|
-
children: /* @__PURE__ */ (0,
|
|
6645
|
-
className:
|
|
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,
|
|
6647
|
+
children: /* @__PURE__ */ (0, W.jsx)(da, {
|
|
6648
6648
|
cell: R,
|
|
6649
|
-
isNoOutputPreview:
|
|
6650
|
-
isEditable:
|
|
6651
|
-
showCode:
|
|
6649
|
+
isNoOutputPreview: we,
|
|
6650
|
+
isEditable: T,
|
|
6651
|
+
showCode: ft
|
|
6652
6652
|
})
|
|
6653
6653
|
}) })
|
|
6654
6654
|
})]
|
|
6655
|
-
}, R.id), t[119] =
|
|
6656
|
-
let
|
|
6657
|
-
t[128] !== Ae || t[129] !== Me || t[130] !==
|
|
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,
|
|
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:
|
|
6668
|
-
children: /* @__PURE__ */ (0,
|
|
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] =
|
|
6671
|
-
let
|
|
6672
|
-
t[133] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
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,
|
|
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
|
-
|
|
6681
|
+
j.current?.getViewportElement()?.requestFullscreen().catch(_a);
|
|
6682
6682
|
},
|
|
6683
|
-
children: /* @__PURE__ */ (0,
|
|
6683
|
+
children: /* @__PURE__ */ (0, W.jsx)(p, { className: "h-4 w-4" })
|
|
6684
6684
|
})
|
|
6685
|
-
}), 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[
|
|
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,
|
|
6695
|
+
children: /* @__PURE__ */ (0, W.jsxs)("div", {
|
|
6696
6696
|
className: "group relative",
|
|
6697
|
-
style:
|
|
6697
|
+
style: ht,
|
|
6698
6698
|
children: [
|
|
6699
|
-
|
|
6700
|
-
|
|
6701
|
-
|
|
6699
|
+
vt,
|
|
6700
|
+
G,
|
|
6701
|
+
St
|
|
6702
6702
|
]
|
|
6703
6703
|
})
|
|
6704
|
-
}), t[136] =
|
|
6705
|
-
let
|
|
6706
|
-
if (
|
|
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] ===
|
|
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:
|
|
6711
|
-
}), t[141] =
|
|
6710
|
+
children: K
|
|
6711
|
+
}), t[141] = K, t[142] = e), e;
|
|
6712
6712
|
}
|
|
6713
6713
|
let q;
|
|
6714
|
-
t[143] ===
|
|
6714
|
+
t[143] === K ? q = t[144] : (q = /* @__PURE__ */ (0, W.jsx)(f, {
|
|
6715
6715
|
defaultSize: 92,
|
|
6716
6716
|
minSize: 60,
|
|
6717
|
-
children:
|
|
6718
|
-
}), t[143] =
|
|
6719
|
-
let
|
|
6720
|
-
t[145] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
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] =
|
|
6724
|
-
let
|
|
6725
|
-
t[146] ===
|
|
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:
|
|
6728
|
-
disabled:
|
|
6729
|
-
}), t[146] =
|
|
6730
|
-
let
|
|
6731
|
-
t[148] !== s || t[149] !== c || t[150] !==
|
|
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,
|
|
6736
|
+
children: /* @__PURE__ */ (0, W.jsx)(fr, {
|
|
6737
6737
|
layout: s,
|
|
6738
6738
|
setLayout: c,
|
|
6739
|
-
cellId:
|
|
6739
|
+
cellId: Tt
|
|
6740
6740
|
})
|
|
6741
|
-
}), t[148] = s, t[149] = c, t[150] =
|
|
6742
|
-
let
|
|
6743
|
-
t[152] !== q || t[153] !==
|
|
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
|
-
|
|
6750
|
-
|
|
6749
|
+
J,
|
|
6750
|
+
Y
|
|
6751
6751
|
]
|
|
6752
|
-
}), t[152] = q, t[153] =
|
|
6753
|
-
let
|
|
6754
|
-
t[156] !== Se || t[157] !==
|
|
6755
|
-
configWidth:
|
|
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] =
|
|
6760
|
-
let
|
|
6761
|
-
return t[161] !==
|
|
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: [
|
|
6764
|
-
}), t[161] =
|
|
6763
|
+
children: [Et, Dt]
|
|
6764
|
+
}), t[161] = Et, t[162] = Dt, t[163] = Ot) : Ot = t[163], Ot;
|
|
6765
6765
|
};
|
|
6766
|
-
function
|
|
6766
|
+
function pa() {
|
|
6767
6767
|
return /* @__PURE__ */ new Set();
|
|
6768
6768
|
}
|
|
6769
|
-
function
|
|
6769
|
+
function ma(e) {
|
|
6770
6770
|
return e.id;
|
|
6771
6771
|
}
|
|
6772
|
-
function
|
|
6772
|
+
function ha(e) {
|
|
6773
6773
|
return !i.fromInput(e);
|
|
6774
6774
|
}
|
|
6775
|
-
function
|
|
6775
|
+
function ga(e) {
|
|
6776
6776
|
return e.id;
|
|
6777
6777
|
}
|
|
6778
|
-
function
|
|
6778
|
+
function _a(e) {
|
|
6779
6779
|
t.error("Failed to request fullscreen", e);
|
|
6780
6780
|
}
|
|
6781
6781
|
//#endregion
|
|
6782
|
-
export {
|
|
6782
|
+
export { ca as CellOutputBlock, ia as deckSlideType, fa as default, ua as parkedRendersSource, ra as shouldShowCode, Xi as syncCodeToggleKeyBinding, aa as useParkedPreview };
|