@marimo-team/islands 0.24.1-dev98 → 0.24.1
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-D9EG584s.js → ConnectedDataExplorerComponent-qIKbwYin.js} +12 -12
- package/dist/{ErrorBoundary-D-EKz8oE.js → ErrorBoundary-CR-ZQN_c.js} +3 -3
- package/dist/any-language-editor-CpTnK43-.js +76 -0
- package/dist/{apl-DbeWBitN.js → apl-BYaaig9_.js} +1 -1
- package/dist/{asciiarmor-DVGcwGvr.js → asciiarmor-GKQFJXQG.js} +1 -1
- package/dist/{asn1-C7ZkyMi3.js → asn1-BsSb7HP5.js} +1 -1
- package/dist/assets/__vite-browser-external-BdKGjRZ4.js +1 -0
- package/dist/assets/{worker-C3TCEtlU.js → worker-DlIBfp9S.js} +2 -2
- package/dist/{asterisk-4f1CDJJt.js → asterisk-B3I8SNb5.js} +1 -1
- package/dist/{brainfuck-Cr9wPNgk.js → brainfuck-DXjk3bQe.js} +1 -1
- package/dist/{button-DlqUC8W-.js → button-CKBkqR9J.js} +6 -1
- package/dist/{capabilities-CGBDXz_E.js → capabilities-CMBBJTcc.js} +1 -1
- package/dist/{chat-ui-CHoI65Rg.js → chat-ui-DttQ-5Ut.js} +27 -27
- package/dist/{check-BcJDmQdF.js → check-CHig47QV.js} +1 -1
- package/dist/{clike-BqAajeY2.js → clike-E2lFbGVj.js} +1 -1
- package/dist/{clojure-Bug5Gc5H.js → clojure-Dn_K4RlK.js} +1 -1
- package/dist/{cmake-R8uEfQdt.js → cmake-DpN2Top5.js} +1 -1
- package/dist/{cobol-DCX3p7Cj.js → cobol-Chf22-GM.js} +1 -1
- package/dist/{coffeescript-CA08GUrM.js → coffeescript-BVe1OiD9.js} +1 -1
- package/dist/{common-DFgb8-bf.js → common-Df6nRS7d.js} +6846 -6695
- package/dist/{commonlisp-CUlYkvkK.js → commonlisp-DxoBG7fU.js} +1 -1
- package/dist/{copy-D9h0DuU7.js → copy-CD7S58CY.js} +2 -2
- package/dist/{crystal-CHw9Y8bp.js → crystal-DCM3yc4r.js} +1 -1
- package/dist/{css-BR752P21.js → css-DkZ9mMyI.js} +1 -1
- package/dist/{cypher-CGXYVdtR.js → cypher-Drw_8U5I.js} +1 -1
- package/dist/{d-B3Jeg95D.js → d-CsVGcKMF.js} +1 -1
- package/dist/{diff-BskCEFEO.js → diff-CBikYCUF.js} +1 -1
- package/dist/{dist-wdOJ5T7-.js → dist-3_o3T78I.js} +15 -15
- package/dist/{dist-C2unEUWZ.js → dist-BEmkrGoQ.js} +1492 -1484
- package/dist/{dist-3YfamrHv.js → dist-BVRM2y1P.js} +2 -2
- package/dist/{dist-cnCt-QhO.js → dist-BbSMhhD2.js} +2 -2
- package/dist/{dist-C9fJPKPl.js → dist-BrQGcfQ9.js} +4 -4
- package/dist/{dist-Bsa-FD4p.js → dist-Byj2bV8o.js} +1 -1
- package/dist/{dist-t3GZQZfR.js → dist-BzN60Z2s.js} +1 -1
- package/dist/{dist-CDiyTpo-.js → dist-C5Bn52W4.js} +3 -3
- package/dist/{dist-C1_Y0fKn.js → dist-C7v-9nUK.js} +3 -3
- package/dist/{dist-B59W3SQC.js → dist-CGAxEiaM.js} +2 -2
- package/dist/{dist-wGdFe2i2.js → dist-CO5R6VMi.js} +2 -2
- package/dist/{dist-CkF6zgs_.js → dist-CRjAdnqF.js} +14 -12
- package/dist/{dist-BDP-ZzBX.js → dist-D4Z_qdP4.js} +1 -1
- package/dist/{dist-CdoyP1Fz.js → dist-DEeLqRlU.js} +1 -1
- package/dist/{dist-TouP85Vh.js → dist-DJFiGP2k.js} +2 -2
- package/dist/{dist-Ceegh7bg.js → dist-DVFbIwc5.js} +1 -1
- package/dist/{dist-xIlsWj6K.js → dist-DcgzXCfy.js} +2 -2
- package/dist/{dist-BywyHJ0k.js → dist-Re9sOPOx.js} +2 -2
- package/dist/{dist-CN2pQuxD.js → dist-VdvbxG72.js} +1 -1
- package/dist/{dist-Bwzl7sp6.js → dist-_XvgytiS.js} +1 -1
- package/dist/{dist-BdxSRiPP.js → dist-dAqZAPcF.js} +3 -3
- package/dist/{dist-Cri9-7UA.js → dist-hXd65f0_.js} +1 -1
- package/dist/{dist-BmR-cjzI.js → dist-jWUab2d1.js} +1 -1
- package/dist/{dist-CeTE0w_x.js → dist-qhLI-SHd.js} +2 -2
- package/dist/{dockerfile-HPpWCSsC.js → dockerfile-DJnSntVB.js} +2 -2
- package/dist/{dropdown-menu-Baf29jmS.js → dropdown-menu-DhCfcscX.js} +726 -716
- package/dist/{dtd-9Bm4j20r.js → dtd-BHa4v0Bn.js} +1 -1
- package/dist/{dylan-BOpu3dto.js → dylan-BypL2Zz8.js} +1 -1
- package/dist/{ebnf-BogGWV2V.js → ebnf-5guncNu-.js} +1 -1
- package/dist/{ecl-DAcPDOW1.js → ecl-iRcVIKYZ.js} +1 -1
- package/dist/{eiffel-C4NgXX-Y.js → eiffel-BEqF9aU4.js} +1 -1
- package/dist/{elm-BiY4zCKH.js → elm-DYcfNE9c.js} +1 -1
- package/dist/{erlang-Dg5zi-Qk.js → erlang-BtAuIoF0.js} +1 -1
- package/dist/{error-banner-xVkWHg51.js → error-banner-WDhUzJyg.js} +203 -203
- package/dist/{esm-ElfO9dV2.js → esm-CR1nhb1c.js} +108 -107
- package/dist/{esm-DkklGms7.js → esm-CesmlDrs.js} +5 -5
- package/dist/{extends-KH0CV__g.js → extends-BPB6_lTK.js} +8 -7
- package/dist/{factor-B0-OaK4k.js → factor-3nzOwLuN.js} +2 -2
- package/dist/{fcl-DwSn1rXM.js → fcl-C90TGnJJ.js} +1 -1
- package/dist/{formats-nPPeLOk2.js → formats-CJMVUfb3.js} +3 -3
- package/dist/{forth-BGTlwczu.js → forth-DEaRrLUi.js} +1 -1
- package/dist/{fortran-UUzzVROb.js → fortran-Bv6JRUjY.js} +1 -1
- package/dist/{gas-CjkVDeev.js → gas-JNerWj3-.js} +1 -1
- package/dist/{gherkin-CF2G_sqt.js → gherkin-CSrl-H70.js} +1 -1
- package/dist/{glide-data-editor-n5E9BAD8.js → glide-data-editor-sPZ8fUFn.js} +8 -8
- package/dist/{glide-utils-C0dRuWI_.js → glide-utils-NShAPPtn.js} +3 -3
- package/dist/{groovy-YcvlOKLA.js → groovy-X7euO_vE.js} +1 -1
- package/dist/{haskell-BdvVmmhX.js → haskell-C48Z70Az.js} +1 -1
- package/dist/{haxe-Dkk4Avys.js → haxe-CAUWMmwR.js} +1 -1
- package/dist/{html-to-image-B09MiZT1.js → html-to-image-BTYnN4ev.js} +3782 -3784
- package/dist/{http-Cncc-AcB.js → http-BrSBnhDH.js} +1 -1
- package/dist/{idl-D5eSUN-2.js → idl-BXuPleZv.js} +1 -1
- package/dist/{javascript-DV7jbCN7.js → javascript-B4EPWJf_.js} +1 -1
- package/dist/{julia-DRMVPyrg.js → julia-ke9Kh8b7.js} +1 -1
- package/dist/{label-CEgg1Ymb.js → label-lwzzBHUW.js} +2 -2
- package/dist/{livescript-3tVlEl0n.js → livescript-Ce4uqGAC.js} +1 -1
- package/dist/{loader-D8jS1unC.js → loader-VZ__bv4g.js} +1 -1
- package/dist/{lua-DvuDcwhK.js → lua-D6fti_Jk.js} +2 -2
- package/dist/main.js +6189 -6189
- package/dist/{mathematica-DeUYrmDQ.js → mathematica-DcEpZ3Vj.js} +1 -1
- package/dist/{mbox-CP8ncY6Y.js → mbox-DFBbOu0X.js} +1 -1
- package/dist/{mermaid-CKjZUiG7.js → mermaid-BsHdQeQf.js} +4 -4
- package/dist/{mirc-D0BFuM5A.js → mirc-CqeibO3N.js} +1 -1
- package/dist/{mllike-EW0YU24D.js → mllike-D54QZYTP.js} +1 -1
- package/dist/{modelica-0c53v3vH.js → modelica-DuML2-8V.js} +1 -1
- package/dist/{mscgen-DXtnmkk0.js → mscgen-CJmKwp3b.js} +1 -1
- package/dist/{mumps-DuZvAoq5.js → mumps-DaVgFtkd.js} +1 -1
- package/dist/{nginx-BgxmKoMB.js → nginx-BXN1rqI0.js} +1 -1
- package/dist/{nsis-CXKR4weY.js → nsis-CMfRqf0V.js} +2 -2
- package/dist/{ntriples-BvwIFlGB.js → ntriples-BiOGlMDR.js} +1 -1
- package/dist/{octave-Ddh8-k4Y.js → octave-CgVnzxKk.js} +1 -1
- package/dist/{oz-DASBLPdZ.js → oz-B2mky97X.js} +1 -1
- package/dist/{pascal-DKEHBGVg.js → pascal-BoZhBf6s.js} +1 -1
- package/dist/{perl-CG83_G1y.js → perl-DjzMqXtt.js} +1 -1
- package/dist/{pig-C1IvQ7dn.js → pig-B2mB-01d.js} +1 -1
- package/dist/{powershell-Mh2j_Y9A.js → powershell-D0zT88Aj.js} +1 -1
- package/dist/{process-output-kUlWbyzk.js → process-output-CsALk6tp.js} +3 -3
- package/dist/{properties-Cr3dDyK_.js → properties-3_5qCgOj.js} +1 -1
- package/dist/{protobuf-5RkBxiY2.js → protobuf-Dgoxfi1H.js} +1 -1
- package/dist/{pug-CZBnH0wJ.js → pug-CNRdd8oG.js} +2 -2
- package/dist/{puppet-CjiD4zLe.js → puppet-DzILxZfz.js} +1 -1
- package/dist/{python-n5psJoQh.js → python-AfVdMn_l.js} +1 -1
- package/dist/{q-tF-lfOc1.js → q-C6p-CGWh.js} +1 -1
- package/dist/{r-E-Ox73Cl.js → r-CzKF1D2X.js} +1 -1
- package/dist/{reveal-component-BHvL1CK-.js → reveal-component-A_wZqLF9.js} +446 -446
- package/dist/{rpm-6OeX6y2d.js → rpm-Bx7FkjTO.js} +1 -1
- package/dist/{ruby-BfKhtJ9W.js → ruby-BMzgq2bf.js} +1 -1
- package/dist/{sas-BXINOUe8.js → sas-ClGVnK3F.js} +1 -1
- package/dist/{schemas-JTyiKlcH.js → schemas-DzK6U94N.js} +1380 -1364
- package/dist/{scheme-Bl28UhhC.js → scheme-C0MXqXep.js} +1 -1
- package/dist/{select-DQ9jU_B_.js → select-3qHpFKF9.js} +295 -295
- package/dist/{shell-C6dbyRNm.js → shell-CiQZv6oG.js} +1 -1
- package/dist/{sieve-CtzpqaVa.js → sieve-BiIMePvV.js} +1 -1
- package/dist/{simple-mode-Fa0cHplh.js → simple-mode-8ETW2RS6.js} +1 -1
- package/dist/{smalltalk-SWUbrj2a.js → smalltalk-9-llftyG.js} +1 -1
- package/dist/{solr-DrqND0L5.js → solr-CxCKEuwq.js} +1 -1
- package/dist/{sparql-DNeyanaw.js → sparql-BRmy7pzx.js} +1 -1
- package/dist/{spec-DNZWpXiu.js → spec-CutWdqo3.js} +4 -4
- package/dist/{spreadsheet-DUXiDdBd.js → spreadsheet-UCNUIGsn.js} +1 -1
- package/dist/{sql-BKgWZE5S.js → sql-D0hSGZ-H.js} +1 -1
- package/dist/{stex-DylRJo9v.js → stex-UeT_Aofp.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/{stylus-dWe8kzGp.js → stylus-Fi4waA2H.js} +1 -1
- package/dist/{swift-BmWs7LJc.js → swift-NqPyaBye.js} +1 -1
- package/dist/{swiper-component-deYugN58.js → swiper-component-C90YjhaV.js} +2 -2
- package/dist/{tcl-DxdPnAuD.js → tcl-B4f0xfmM.js} +1 -1
- package/dist/{textile-CJnP1piA.js → textile-CnNbnPTe.js} +1 -1
- package/dist/{tiddlywiki-DwhP379Y.js → tiddlywiki-CSGSOg38.js} +1 -1
- package/dist/{tiki-1YDPYy3B.js → tiki-9F02WBA6.js} +1 -1
- package/dist/{toDate-DfFzRDkN.js → toDate-D-Rx3ux5.js} +3 -3
- package/dist/{toml-Cm-dCBP-.js → toml-AesZ6RBt.js} +1 -1
- package/dist/{tooltip-7p_32zdw.js → tooltip-Dt77sBeT.js} +88 -88
- package/dist/{troff-DNWcQdLA.js → troff-DlfvveK1.js} +1 -1
- package/dist/{ttcn-CaUsDYVT.js → ttcn--YVSkGs_.js} +1 -1
- package/dist/{ttcn-cfg-BqNhpRrY.js → ttcn-cfg-Bb1Knl_J.js} +1 -1
- package/dist/{turtle-CK42qVcQ.js → turtle-DC24v1bz.js} +1 -1
- package/dist/{useAsyncData-Cyh2jLTR.js → useAsyncData-CH6-CgJF.js} +1 -1
- package/dist/{useDateFormatter-CcY1uXEk.js → useDateFormatter-Cp9Jdxls.js} +2 -2
- package/dist/{useDeepCompareMemoize-BqcHK9ZZ.js → useDeepCompareMemoize-JC87C_jO.js} +1 -1
- package/dist/{useIframeCapabilities-BmYPLMe1.js → useIframeCapabilities-De3C-9b4.js} +1 -1
- package/dist/{useLifecycle-foJH5Q8T.js → useLifecycle-B4RGlyf0.js} +10 -10
- package/dist/{useTheme-C2ZreN00.js → useTheme-CVJ0UOf2.js} +3 -2
- package/dist/{vb-DUEXFGmn.js → vb-Dpc8vhvF.js} +1 -1
- package/dist/{vbscript-O6Mq-1Bt.js → vbscript-B-Y1XnZe.js} +1 -1
- package/dist/{vega-component-LgU-A6O9.js → vega-component-D-IXRnlx.js} +9 -9
- package/dist/{velocity-DTlmtsPi.js → velocity-DHMu9kc-.js} +1 -1
- package/dist/{verilog-prDoxOJS.js → verilog-DhiEaoUl.js} +1 -1
- package/dist/{vhdl-BAJ9qF1C.js → vhdl-D4X23YKO.js} +1 -1
- package/dist/{webidl-ybLbdZxR.js → webidl-SyzNxWpJ.js} +1 -1
- package/dist/{xquery-81N7rqzd.js → xquery-BC2R4Hk6.js} +1 -1
- package/dist/{yacas-BwVftjEP.js → yacas-DLNXPMmH.js} +1 -1
- package/dist/{z80-CmT0MNUO.js → z80-CDXWHOO6.js} +1 -1
- package/package.json +26 -26
- package/src/components/ai/ai-provider-icon.tsx +2 -2
- package/src/components/ai/ai-utils.ts +1 -1
- package/src/components/app-config/ai-config.tsx +33 -37
- package/src/components/app-config/user-config-form.tsx +1 -1
- package/src/components/data-table/__tests__/column-explorer.test.tsx +64 -4
- package/src/components/data-table/__tests__/column-visibility-dropdown.test.tsx +137 -4
- package/src/components/data-table/__tests__/url-detector.test.tsx +1 -1
- package/src/components/data-table/__tests__/useColumnVisibility.test.ts +153 -1
- package/src/components/data-table/column-explorer-panel/column-explorer.tsx +54 -25
- package/src/components/data-table/column-visibility-dropdown.tsx +62 -14
- package/src/components/data-table/date-popover.tsx +2 -1
- package/src/components/data-table/hooks/use-column-visibility.ts +76 -0
- package/src/components/data-table/renderers.tsx +4 -8
- package/src/components/data-table/show-only-column-button.tsx +58 -0
- package/src/components/dependency-graph/__tests__/elements.test.ts +151 -0
- package/src/components/dependency-graph/custom-edge.tsx +68 -0
- package/src/components/dependency-graph/custom-node.tsx +54 -26
- package/src/components/dependency-graph/dependency-graph-tree.tsx +110 -21
- package/src/components/dependency-graph/elements.ts +225 -31
- package/src/components/dependency-graph/panels.tsx +23 -2
- package/src/components/dependency-graph/utils/__tests__/layout.test.ts +78 -0
- package/src/components/dependency-graph/utils/layout.ts +108 -18
- package/src/components/editor/Output.tsx +40 -0
- package/src/components/editor/__tests__/Output.test.tsx +85 -2
- package/src/components/editor/connections/secret-combobox.tsx +3 -1
- package/src/components/editor/file-tree/__tests__/file-explorer-navigation.test.tsx +832 -0
- package/src/components/editor/file-tree/__tests__/file-viewer.test.tsx +27 -0
- package/src/components/editor/file-tree/__tests__/requesting-tree.test.ts +130 -0
- package/src/components/editor/file-tree/file-browser-row.tsx +82 -0
- package/src/components/editor/file-tree/file-explorer.tsx +377 -159
- package/src/components/editor/file-tree/file-operations.tsx +1 -1
- package/src/components/editor/file-tree/file-search-results.tsx +142 -0
- package/src/components/editor/file-tree/file-tree-row.tsx +40 -0
- package/src/components/editor/file-tree/file-viewer.tsx +2 -1
- package/src/components/editor/file-tree/renderers.tsx +4 -2
- package/src/components/editor/file-tree/requesting-tree.tsx +162 -32
- package/src/components/editor/file-tree/use-file-search.ts +142 -0
- package/src/components/editor/file-tree/use-hover-expand.ts +34 -0
- package/src/components/editor/navigation/__tests__/navigation.test.ts +30 -0
- package/src/components/editor/navigation/navigation.ts +20 -0
- package/src/components/forms/form.tsx +6 -4
- package/src/components/home/components.tsx +1 -0
- package/src/components/static-html/share-modal.tsx +3 -2
- package/src/components/ui/__tests__/badge.test.ts +63 -0
- package/src/components/ui/__tests__/button.test.ts +19 -0
- package/src/components/ui/__tests__/fullscreen.test.tsx +88 -0
- package/src/components/ui/__tests__/menu-items.test.ts +31 -0
- package/src/components/ui/badge.tsx +9 -7
- package/src/components/ui/button.tsx +1 -0
- package/src/components/ui/combobox.tsx +1 -1
- package/src/components/ui/date-input.tsx +1 -1
- package/src/components/ui/dialog.tsx +3 -1
- package/src/components/ui/fullscreen.tsx +43 -1
- package/src/components/ui/input.tsx +5 -1
- package/src/components/ui/links.tsx +2 -1
- package/src/components/ui/menu-items.tsx +9 -9
- package/src/components/ui/native-select.tsx +2 -2
- package/src/components/ui/navigation.tsx +1 -1
- package/src/components/ui/range-slider.tsx +5 -3
- package/src/components/ui/select.tsx +1 -1
- package/src/components/ui/sheet.tsx +1 -1
- package/src/components/ui/toast.tsx +8 -5
- package/src/components/ui/toaster.tsx +2 -2
- package/src/core/ai/ids/__tests__/ids.test.ts +0 -8
- package/src/core/ai/ids/ids.ts +1 -1
- package/src/core/cells/__tests__/add-missing-import.test.ts +20 -0
- package/src/core/codemirror/language/__tests__/utils.test.ts +1 -1
- package/src/core/config/config-schema.ts +1 -0
- package/src/core/hotkeys/hotkeys.ts +5 -0
- package/src/core/network/__tests__/requests-toasting.test.tsx +14 -0
- package/src/core/network/requests-toasting.tsx +1 -1
- package/src/css/globals.css +28 -0
- package/src/hooks/useEventListener.ts +1 -1
- package/src/plugins/core/RenderHTML.tsx +6 -4
- package/src/plugins/impl/MatrixPlugin.tsx +1 -1
- package/src/plugins/impl/code/any-language-editor.tsx +7 -4
- package/src/plugins/impl/data-frames/__tests__/schema.test.ts +34 -1
- package/src/plugins/impl/data-frames/forms/__tests__/__snapshots__/form.test.tsx.snap +25 -25
- package/src/plugins/impl/data-frames/schema.ts +5 -11
- package/src/plugins/impl/panel/__tests__/utils.test.ts +4 -4
- package/src/plugins/impl/vega/__tests__/vega.test.ts +1 -1
- package/src/stories/cell.stories.tsx +15 -11
- package/src/utils/__tests__/events.test.ts +1 -1
- package/dist/any-language-editor-D751ztAP.js +0 -76
- package/dist/assets/__vite-browser-external-Cf4O9gnt.js +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { a as e } from "./rolldown-runtime-Cb76FRpK.js";
|
|
2
|
-
import { c as t, g as n, h as r, m as i, t as a } from "./button-
|
|
2
|
+
import { c as t, g as n, h as r, m as i, t as a } from "./button-CKBkqR9J.js";
|
|
3
3
|
import { t as o } from "./react-DMWcHin-.js";
|
|
4
4
|
import { t as s } from "./compiler-runtime-CAH9RLw2.js";
|
|
5
|
-
import { Ot as c, ot as l } from "./html-to-image-
|
|
6
|
-
import { u } from "./dist-
|
|
7
|
-
import {
|
|
8
|
-
import { R as E } from "./select-
|
|
9
|
-
import { Y as D } from "./dropdown-menu-
|
|
5
|
+
import { Ot as c, ot as l } from "./html-to-image-BTYnN4ev.js";
|
|
6
|
+
import { u } from "./dist-3_o3T78I.js";
|
|
7
|
+
import { _n as d, c as f, ct as p, g as m, h, l as g, lt as _, n as v, o as y, r as b, t as x, u as S, ut as C, vn as w, xn as T } from "./common-Df6nRS7d.js";
|
|
8
|
+
import { R as E } from "./select-3qHpFKF9.js";
|
|
9
|
+
import { Y as D } from "./dropdown-menu-DhCfcscX.js";
|
|
10
10
|
import { t as O } from "./jsx-runtime-CpoKNRgu.js";
|
|
11
|
-
import { Tc as k } from "./schemas-
|
|
12
|
-
import { t as A } from "./tooltip-
|
|
13
|
-
import { C as j, b as ee, j as M } from "./useTheme-
|
|
11
|
+
import { Tc as k } from "./schemas-DzK6U94N.js";
|
|
12
|
+
import { t as A } from "./tooltip-Dt77sBeT.js";
|
|
13
|
+
import { C as j, b as ee, j as M } from "./useTheme-CVJ0UOf2.js";
|
|
14
14
|
/* empty css */
|
|
15
15
|
var N = u("sticky-note", [["path", {
|
|
16
16
|
d: "M21 9a2.4 2.4 0 0 0-.706-1.706l-3.588-3.588A2.4 2.4 0 0 0 15 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2z",
|
|
@@ -223,7 +223,7 @@ var N = u("sticky-note", [["path", {
|
|
|
223
223
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
|
|
224
224
|
return typeof e == "string" ? D(t(document.querySelectorAll(e)), n) : D([e], n)[0];
|
|
225
225
|
}
|
|
226
|
-
})(typeof window > "u" ? null : window),
|
|
226
|
+
})(typeof window > "u" ? null : window), H = class {
|
|
227
227
|
constructor(e) {
|
|
228
228
|
le(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();
|
|
229
229
|
}
|
|
@@ -423,7 +423,7 @@ var N = u("sticky-note", [["path", {
|
|
|
423
423
|
afterSlideChanged() {
|
|
424
424
|
this.clearMediaPlaybackErrors();
|
|
425
425
|
}
|
|
426
|
-
},
|
|
426
|
+
}, Te = ".slides section", Ee = ".slides>section", De = ".slides>section.present>section", Oe = ".backgrounds>.slide-background", ke = /registerPlugin|registerKeyboardShortcut|addKeyBinding|addEventListener|showPreview/, Ae = "h.v", je = "h/v", Me = "c", Ne = "c/t", Pe = class {
|
|
427
427
|
constructor(e) {
|
|
428
428
|
this.Reveal = e;
|
|
429
429
|
}
|
|
@@ -438,22 +438,22 @@ var N = u("sticky-note", [["path", {
|
|
|
438
438
|
this.Reveal.getConfig().slideNumber && this.element && (this.element.innerHTML = this.getSlideNumber());
|
|
439
439
|
}
|
|
440
440
|
getSlideNumber(e = this.Reveal.getCurrentSlide()) {
|
|
441
|
-
let t = this.Reveal.getConfig(), n, r =
|
|
441
|
+
let t = this.Reveal.getConfig(), n, r = Ae;
|
|
442
442
|
if (typeof t.slideNumber == "function") n = t.slideNumber(e);
|
|
443
443
|
else {
|
|
444
|
-
typeof t.slideNumber == "string" && (r = t.slideNumber), !/c/.test(r) && this.Reveal.getHorizontalSlides().length === 1 && (r =
|
|
444
|
+
typeof t.slideNumber == "string" && (r = t.slideNumber), !/c/.test(r) && this.Reveal.getHorizontalSlides().length === 1 && (r = Me);
|
|
445
445
|
let i = e && e.dataset.visibility === "uncounted" ? 0 : 1;
|
|
446
446
|
switch (n = [], r) {
|
|
447
|
-
case
|
|
447
|
+
case Me:
|
|
448
448
|
n.push(this.Reveal.getSlidePastCount(e) + i);
|
|
449
449
|
break;
|
|
450
|
-
case
|
|
450
|
+
case Ne:
|
|
451
451
|
n.push(this.Reveal.getSlidePastCount(e) + i, "/", this.Reveal.getTotalSlides());
|
|
452
452
|
break;
|
|
453
453
|
default:
|
|
454
454
|
let t = this.Reveal.getIndices(e);
|
|
455
455
|
n.push(t.h + i);
|
|
456
|
-
let a = r ===
|
|
456
|
+
let a = r === je ? "/" : ".";
|
|
457
457
|
this.Reveal.isVerticalSlide(e) && n.push(a, t.v + 1);
|
|
458
458
|
}
|
|
459
459
|
}
|
|
@@ -472,7 +472,7 @@ var N = u("sticky-note", [["path", {
|
|
|
472
472
|
destroy() {
|
|
473
473
|
this.element.remove();
|
|
474
474
|
}
|
|
475
|
-
},
|
|
475
|
+
}, Fe = class {
|
|
476
476
|
constructor(e) {
|
|
477
477
|
this.Reveal = e, this.onInput = this.onInput.bind(this), this.onBlur = this.onBlur.bind(this), this.onKeyDown = this.onKeyDown.bind(this);
|
|
478
478
|
}
|
|
@@ -493,7 +493,7 @@ var N = u("sticky-note", [["path", {
|
|
|
493
493
|
let e = this.jumpInput.value.trim(""), t;
|
|
494
494
|
if (/^\d+$/.test(e)) {
|
|
495
495
|
let n = this.Reveal.getConfig().slideNumber;
|
|
496
|
-
if (n ===
|
|
496
|
+
if (n === Me || n === Ne) {
|
|
497
497
|
let n = this.Reveal.getSlides()[parseInt(e, 10) - 1];
|
|
498
498
|
n && (t = this.Reveal.getIndices(n));
|
|
499
499
|
}
|
|
@@ -525,7 +525,7 @@ var N = u("sticky-note", [["path", {
|
|
|
525
525
|
onBlur() {
|
|
526
526
|
setTimeout(() => this.hide(), 1);
|
|
527
527
|
}
|
|
528
|
-
},
|
|
528
|
+
}, U = (e) => {
|
|
529
529
|
let t = e.match(/^#([0-9a-f]{3})$/i);
|
|
530
530
|
if (t && t[1]) {
|
|
531
531
|
let e = t[1];
|
|
@@ -557,7 +557,7 @@ var N = u("sticky-note", [["path", {
|
|
|
557
557
|
b: parseInt(i[3], 10),
|
|
558
558
|
a: parseFloat(i[4])
|
|
559
559
|
} : null;
|
|
560
|
-
},
|
|
560
|
+
}, Ie = (e) => (typeof e == "string" && (e = U(e)), e ? (e.r * 299 + e.g * 587 + e.b * 114) / 1e3 : null), Le = class {
|
|
561
561
|
constructor(e) {
|
|
562
562
|
this.Reveal = e;
|
|
563
563
|
}
|
|
@@ -600,13 +600,13 @@ var N = u("sticky-note", [["path", {
|
|
|
600
600
|
}
|
|
601
601
|
getContrastClass(e) {
|
|
602
602
|
let t = e.slideBackgroundElement, n = e.getAttribute("data-background-color");
|
|
603
|
-
if (!n || !
|
|
603
|
+
if (!n || !U(n)) {
|
|
604
604
|
let e = window.getComputedStyle(t);
|
|
605
605
|
e && e.backgroundColor && (n = e.backgroundColor);
|
|
606
606
|
}
|
|
607
607
|
if (n) {
|
|
608
|
-
let e =
|
|
609
|
-
if (e && e.a !== 0) return
|
|
608
|
+
let e = U(n);
|
|
609
|
+
if (e && e.a !== 0) return Ie(n) < 128 ? "has-dark-background" : "has-light-background";
|
|
610
610
|
}
|
|
611
611
|
return null;
|
|
612
612
|
}
|
|
@@ -662,7 +662,7 @@ var N = u("sticky-note", [["path", {
|
|
|
662
662
|
destroy() {
|
|
663
663
|
this.element.remove();
|
|
664
664
|
}
|
|
665
|
-
},
|
|
665
|
+
}, Re = 0, ze = class {
|
|
666
666
|
constructor(e) {
|
|
667
667
|
this.Reveal = e;
|
|
668
668
|
}
|
|
@@ -675,12 +675,12 @@ var N = u("sticky-note", [["path", {
|
|
|
675
675
|
e.dataset.autoAnimate = "pending", t.dataset.autoAnimate = "pending", n.slideDirection = r > i ? "forward" : "backward";
|
|
676
676
|
let a = e.style.display === "none";
|
|
677
677
|
a && (e.style.display = this.Reveal.getConfig().display);
|
|
678
|
-
let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n,
|
|
678
|
+
let o = this.getAutoAnimatableElements(e, t).map((e) => this.autoAnimateElements(e.from, e.to, e.options || {}, n, Re++));
|
|
679
679
|
if (a && (e.style.display = "none"), t.dataset.autoAnimateUnmatched !== "false" && this.Reveal.getConfig().autoAnimateUnmatched === !0) {
|
|
680
680
|
let e = n.duration * .8, r = n.duration * .2;
|
|
681
681
|
this.getUnmatchedAutoAnimateElements(t).forEach((e) => {
|
|
682
682
|
let t = this.getAutoAnimateOptions(e, n), r = "unmatched";
|
|
683
|
-
(t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" +
|
|
683
|
+
(t.duration !== n.duration || t.delay !== n.delay) && (r = "unmatched-" + Re++, o.push(`[data-auto-animate="running"] [data-auto-animate-target="${r}"] { transition: opacity ${t.duration}s ease ${t.delay}s; }`)), e.dataset.autoAnimateTarget = r;
|
|
684
684
|
}, this), o.push(`[data-auto-animate="running"] [data-auto-animate-target="unmatched"] { transition: opacity ${e}s ease ${r}s; }`);
|
|
685
685
|
}
|
|
686
686
|
this.autoAnimateStyleSheet.innerHTML = o.join(""), requestAnimationFrame(() => {
|
|
@@ -832,7 +832,7 @@ var N = u("sticky-note", [["path", {
|
|
|
832
832
|
return !t.hasAttribute("data-auto-animate-target") && !n && e.push(t), t.querySelector("[data-auto-animate-target]") && (e = e.concat(this.getUnmatchedAutoAnimateElements(t))), e;
|
|
833
833
|
}, []);
|
|
834
834
|
}
|
|
835
|
-
},
|
|
835
|
+
}, Be = 500, Ve = 4, He = 6, Ue = 8, We = class {
|
|
836
836
|
constructor(e) {
|
|
837
837
|
this.Reveal = e, this.active = !1, this.activatedCallbacks = [], this.onScroll = this.onScroll.bind(this);
|
|
838
838
|
}
|
|
@@ -840,7 +840,7 @@ var N = u("sticky-note", [["path", {
|
|
|
840
840
|
if (this.active) return;
|
|
841
841
|
let e = this.Reveal.getState();
|
|
842
842
|
this.active = !0, this.slideHTMLBeforeActivation = this.Reveal.getSlidesElement().innerHTML;
|
|
843
|
-
let t = L(this.Reveal.getRevealElement(),
|
|
843
|
+
let t = L(this.Reveal.getRevealElement(), Ee), n = L(this.Reveal.getRevealElement(), Oe);
|
|
844
844
|
this.viewportElement.classList.add("loading-scroll-mode", "reveal-scroll");
|
|
845
845
|
let r, i = window.getComputedStyle(this.viewportElement);
|
|
846
846
|
i && i.background && (r = i.background);
|
|
@@ -963,9 +963,9 @@ var N = u("sticky-note", [["path", {
|
|
|
963
963
|
syncProgressBar() {
|
|
964
964
|
this.progressBarInner.querySelectorAll(".scrollbar-slide").forEach((e) => e.remove());
|
|
965
965
|
let e = this.viewportElement.scrollHeight, t = this.viewportElement.offsetHeight, n = t / e;
|
|
966
|
-
this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight,
|
|
967
|
-
let r = t / e * this.progressBarHeight, i = Math.min(r / 8,
|
|
968
|
-
this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r >
|
|
966
|
+
this.progressBarHeight = this.progressBarInner.offsetHeight, this.playheadHeight = Math.max(n * this.progressBarHeight, Ue), this.progressBarScrollableHeight = this.progressBarHeight - this.playheadHeight;
|
|
967
|
+
let r = t / e * this.progressBarHeight, i = Math.min(r / 8, Ve);
|
|
968
|
+
this.progressBarPlayhead.style.height = this.playheadHeight - i + "px", r > He ? this.slideTriggers.forEach((e) => {
|
|
969
969
|
let { page: t } = e;
|
|
970
970
|
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.scrollTriggerElements = t.scrollTriggers.map((n, r) => {
|
|
971
971
|
let a = document.createElement("div");
|
|
@@ -992,7 +992,7 @@ var N = u("sticky-note", [["path", {
|
|
|
992
992
|
showProgressBar() {
|
|
993
993
|
this.progressBar.classList.add("visible"), clearTimeout(this.hideProgressBarTimeout), this.Reveal.getConfig().scrollProgress === "auto" && !this.draggingProgressBar && (this.hideProgressBarTimeout = setTimeout(() => {
|
|
994
994
|
this.progressBar && this.progressBar.classList.remove("visible");
|
|
995
|
-
},
|
|
995
|
+
}, Be));
|
|
996
996
|
}
|
|
997
997
|
prev() {
|
|
998
998
|
this.viewportElement.scrollTop -= this.scrollTriggerHeight;
|
|
@@ -1050,13 +1050,13 @@ var N = u("sticky-note", [["path", {
|
|
|
1050
1050
|
get viewportElement() {
|
|
1051
1051
|
return this.Reveal.getViewportElement();
|
|
1052
1052
|
}
|
|
1053
|
-
},
|
|
1053
|
+
}, Ge = class {
|
|
1054
1054
|
constructor(e) {
|
|
1055
1055
|
this.Reveal = e;
|
|
1056
1056
|
}
|
|
1057
1057
|
activate() {
|
|
1058
1058
|
return ue(this, null, function* () {
|
|
1059
|
-
let e = this.Reveal.getConfig(), t = L(this.Reveal.getRevealElement(),
|
|
1059
|
+
let e = this.Reveal.getConfig(), t = L(this.Reveal.getRevealElement(), Te), n = e.slideNumber && /all|print/i.test(e.showSlideNumber), r = this.Reveal.getComputedSlideSize(window.innerWidth, window.innerHeight), i = Math.floor(r.width * (1 + e.margin)), a = Math.floor(r.height * (1 + e.margin)), o = r.width, s = r.height;
|
|
1060
1060
|
yield new Promise(requestAnimationFrame), _e("@page{size:" + i + "px " + a + "px; margin: 0px;}"), _e(".reveal section>img, .reveal section>video, .reveal section>iframe{max-width: " + o + "px; max-height:" + s + "px}"), document.documentElement.classList.add("reveal-print", "print-pdf"), document.body.style.width = i + "px", document.body.style.height = a + "px";
|
|
1061
1061
|
let c = this.Reveal.getViewportElement(), l;
|
|
1062
1062
|
if (c) {
|
|
@@ -1110,7 +1110,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1110
1110
|
isActive() {
|
|
1111
1111
|
return this.Reveal.getConfig().view === "print";
|
|
1112
1112
|
}
|
|
1113
|
-
},
|
|
1113
|
+
}, Ke = class {
|
|
1114
1114
|
constructor(e) {
|
|
1115
1115
|
this.Reveal = e;
|
|
1116
1116
|
}
|
|
@@ -1233,13 +1233,13 @@ var N = u("sticky-note", [["path", {
|
|
|
1233
1233
|
prev() {
|
|
1234
1234
|
return this.goto(null, -1);
|
|
1235
1235
|
}
|
|
1236
|
-
},
|
|
1236
|
+
}, qe = class {
|
|
1237
1237
|
constructor(e) {
|
|
1238
1238
|
this.Reveal = e, this.active = !1, this.onSlideClicked = this.onSlideClicked.bind(this);
|
|
1239
1239
|
}
|
|
1240
1240
|
activate() {
|
|
1241
1241
|
if (this.Reveal.getConfig().overview && !this.Reveal.isScrollView() && !this.isActive()) {
|
|
1242
|
-
this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), L(this.Reveal.getRevealElement(),
|
|
1242
|
+
this.active = !0, this.Reveal.getRevealElement().classList.add("overview"), this.Reveal.cancelAutoSlide(), this.Reveal.getSlidesElement().appendChild(this.Reveal.getBackgroundsElement()), L(this.Reveal.getRevealElement(), Te).forEach((e) => {
|
|
1243
1243
|
e.classList.contains("stack") || e.addEventListener("click", this.onSlideClicked, !0);
|
|
1244
1244
|
});
|
|
1245
1245
|
let e = this.Reveal.getComputedSlideSize();
|
|
@@ -1278,7 +1278,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1278
1278
|
if (this.Reveal.getConfig().overview) {
|
|
1279
1279
|
this.active = !1, this.Reveal.getRevealElement().classList.remove("overview"), this.Reveal.getRevealElement().classList.add("overview-deactivating"), setTimeout(() => {
|
|
1280
1280
|
this.Reveal.getRevealElement().classList.remove("overview-deactivating");
|
|
1281
|
-
}, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), L(this.Reveal.getRevealElement(),
|
|
1281
|
+
}, 1), this.Reveal.getRevealElement().appendChild(this.Reveal.getBackgroundsElement()), L(this.Reveal.getRevealElement(), Te).forEach((e) => {
|
|
1282
1282
|
R(e, ""), e.removeEventListener("click", this.onSlideClicked, !0);
|
|
1283
1283
|
}), L(this.Reveal.getBackgroundsElement(), ".slide-background").forEach((e) => {
|
|
1284
1284
|
R(e, "");
|
|
@@ -1311,7 +1311,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1311
1311
|
}
|
|
1312
1312
|
}
|
|
1313
1313
|
}
|
|
1314
|
-
},
|
|
1314
|
+
}, Je = class {
|
|
1315
1315
|
constructor(e) {
|
|
1316
1316
|
this.Reveal = e, this.shortcuts = {}, this.bindings = {}, this.onDocumentKeyDown = this.onDocumentKeyDown.bind(this);
|
|
1317
1317
|
}
|
|
@@ -1403,7 +1403,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1403
1403
|
190
|
|
1404
1404
|
].includes(n) || n === 191 && !e.shiftKey ? this.Reveal.togglePause() : n === 70 ? he(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();
|
|
1405
1405
|
}
|
|
1406
|
-
},
|
|
1406
|
+
}, Ye = class {
|
|
1407
1407
|
constructor(e) {
|
|
1408
1408
|
le(this, "MAX_REPLACE_STATE_FREQUENCY", 1e3), this.Reveal = e, this.writeURLTimeout = 0, this.replaceStateTimestamp = 0, this.onWindowHashChange = this.onWindowHashChange.bind(this);
|
|
1409
1409
|
}
|
|
@@ -1465,7 +1465,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1465
1465
|
onWindowHashChange(e) {
|
|
1466
1466
|
this.readURL();
|
|
1467
1467
|
}
|
|
1468
|
-
},
|
|
1468
|
+
}, Xe = class {
|
|
1469
1469
|
constructor(e) {
|
|
1470
1470
|
this.Reveal = e, this.onNavigateLeftClicked = this.onNavigateLeftClicked.bind(this), this.onNavigateRightClicked = this.onNavigateRightClicked.bind(this), this.onNavigateUpClicked = this.onNavigateUpClicked.bind(this), this.onNavigateDownClicked = this.onNavigateDownClicked.bind(this), this.onNavigatePrevClicked = this.onNavigatePrevClicked.bind(this), this.onNavigateNextClicked = this.onNavigateNextClicked.bind(this), this.onEnterFullscreen = this.onEnterFullscreen.bind(this);
|
|
1471
1471
|
}
|
|
@@ -1568,7 +1568,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1568
1568
|
let t = this.Reveal.getConfig(), n = this.Reveal.getViewportElement();
|
|
1569
1569
|
he(t.embedded ? n : n.parentElement);
|
|
1570
1570
|
}
|
|
1571
|
-
},
|
|
1571
|
+
}, Ze = class {
|
|
1572
1572
|
constructor(e) {
|
|
1573
1573
|
this.Reveal = e, this.onProgressClicked = this.onProgressClicked.bind(this);
|
|
1574
1574
|
}
|
|
@@ -1603,7 +1603,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1603
1603
|
destroy() {
|
|
1604
1604
|
this.element.remove();
|
|
1605
1605
|
}
|
|
1606
|
-
},
|
|
1606
|
+
}, Qe = class {
|
|
1607
1607
|
constructor(e) {
|
|
1608
1608
|
this.Reveal = e, this.lastMouseWheelStep = 0, this.cursorHidden = !1, this.cursorInactiveTimeout = 0, this.onDocumentCursorActive = this.onDocumentCursorActive.bind(this), this.onDocumentMouseScroll = this.onDocumentMouseScroll.bind(this);
|
|
1609
1609
|
}
|
|
@@ -1629,7 +1629,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1629
1629
|
t > 0 ? this.Reveal.next() : t < 0 && this.Reveal.prev();
|
|
1630
1630
|
}
|
|
1631
1631
|
}
|
|
1632
|
-
},
|
|
1632
|
+
}, $e = (e, t) => {
|
|
1633
1633
|
let n = document.createElement("script");
|
|
1634
1634
|
n.type = "text/javascript", n.async = !1, n.defer = !1, n.src = e, typeof t == "function" && (n.onload = (e) => {
|
|
1635
1635
|
e.type === "load" && (n.onload = n.onerror = null, t());
|
|
@@ -1638,7 +1638,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1638
1638
|
});
|
|
1639
1639
|
let r = document.querySelector("head");
|
|
1640
1640
|
r && r.insertBefore(n, r.lastChild);
|
|
1641
|
-
},
|
|
1641
|
+
}, et = class {
|
|
1642
1642
|
constructor(e) {
|
|
1643
1643
|
this.Reveal = e, this.state = "idle", this.registeredPlugins = {}, this.asyncDependencies = [];
|
|
1644
1644
|
}
|
|
@@ -1653,7 +1653,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1653
1653
|
t && typeof t.callback == "function" && t.callback(), --r === 0 && this.initPlugins().then(e);
|
|
1654
1654
|
};
|
|
1655
1655
|
n.forEach((e) => {
|
|
1656
|
-
typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ?
|
|
1656
|
+
typeof e.id == "string" ? (this.registerPlugin(e), t(e)) : typeof e.src == "string" ? $e(e.src, () => t(e)) : (console.warn("Unrecognized plugin format", e), t());
|
|
1657
1657
|
});
|
|
1658
1658
|
} else this.initPlugins().then(e);
|
|
1659
1659
|
});
|
|
@@ -1678,7 +1678,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1678
1678
|
}
|
|
1679
1679
|
loadAsync() {
|
|
1680
1680
|
return this.state = "loaded", this.asyncDependencies.length && this.asyncDependencies.forEach((e) => {
|
|
1681
|
-
|
|
1681
|
+
$e(e.src, e.callback);
|
|
1682
1682
|
}), Promise.resolve();
|
|
1683
1683
|
}
|
|
1684
1684
|
registerPlugin(e) {
|
|
@@ -1700,7 +1700,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1700
1700
|
typeof e.destroy == "function" && e.destroy();
|
|
1701
1701
|
}), this.registeredPlugins = {}, this.asyncDependencies = [];
|
|
1702
1702
|
}
|
|
1703
|
-
},
|
|
1703
|
+
}, tt = class {
|
|
1704
1704
|
constructor(e) {
|
|
1705
1705
|
this.Reveal = e, this.onSlidesClicked = this.onSlidesClicked.bind(this), this.iframeTriggerSelector = null, this.mediaTriggerSelector = "[data-preview-image], [data-preview-video]", this.stateProps = [
|
|
1706
1706
|
"previewIframe",
|
|
@@ -1844,7 +1844,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1844
1844
|
destroy() {
|
|
1845
1845
|
this.close();
|
|
1846
1846
|
}
|
|
1847
|
-
},
|
|
1847
|
+
}, nt = 40, rt = class {
|
|
1848
1848
|
constructor(e) {
|
|
1849
1849
|
this.Reveal = e, this.touchStartX = 0, this.touchStartY = 0, this.touchStartCount = 0, this.touchCaptured = !1, this.onPointerDown = this.onPointerDown.bind(this), this.onPointerMove = this.onPointerMove.bind(this), this.onPointerUp = this.onPointerUp.bind(this), this.onTouchStart = this.onTouchStart.bind(this), this.onTouchMove = this.onTouchMove.bind(this), this.onTouchEnd = this.onTouchEnd.bind(this);
|
|
1850
1850
|
}
|
|
@@ -1877,7 +1877,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1877
1877
|
let n = e.touches[0].clientX, r = e.touches[0].clientY;
|
|
1878
1878
|
if (e.touches.length === 1 && this.touchStartCount !== 2) {
|
|
1879
1879
|
let i = this.Reveal.availableRoutes({ includeFragments: !0 }), a = n - this.touchStartX, o = r - this.touchStartY;
|
|
1880
|
-
a >
|
|
1880
|
+
a > nt && 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 > nt && 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();
|
|
1881
1881
|
}
|
|
1882
1882
|
}
|
|
1883
1883
|
}
|
|
@@ -1902,7 +1902,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1902
1902
|
clientY: e.clientY
|
|
1903
1903
|
}], this.onTouchEnd(e));
|
|
1904
1904
|
}
|
|
1905
|
-
},
|
|
1905
|
+
}, it = "focus", at = "blur", ot = class {
|
|
1906
1906
|
constructor(e) {
|
|
1907
1907
|
this.Reveal = e, this.onRevealPointerDown = this.onRevealPointerDown.bind(this), this.onDocumentPointerDown = this.onDocumentPointerDown.bind(this);
|
|
1908
1908
|
}
|
|
@@ -1916,13 +1916,13 @@ var N = u("sticky-note", [["path", {
|
|
|
1916
1916
|
this.Reveal.getRevealElement().removeEventListener("pointerdown", this.onRevealPointerDown, !1), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1);
|
|
1917
1917
|
}
|
|
1918
1918
|
focus() {
|
|
1919
|
-
this.state !==
|
|
1919
|
+
this.state !== it && (this.Reveal.getRevealElement().classList.add("focused"), document.addEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = it;
|
|
1920
1920
|
}
|
|
1921
1921
|
blur() {
|
|
1922
|
-
this.state !==
|
|
1922
|
+
this.state !== at && (this.Reveal.getRevealElement().classList.remove("focused"), document.removeEventListener("pointerdown", this.onDocumentPointerDown, !1)), this.state = at;
|
|
1923
1923
|
}
|
|
1924
1924
|
isFocused() {
|
|
1925
|
-
return this.state ===
|
|
1925
|
+
return this.state === it;
|
|
1926
1926
|
}
|
|
1927
1927
|
destroy() {
|
|
1928
1928
|
this.Reveal.getRevealElement().classList.remove("focused");
|
|
@@ -1934,7 +1934,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1934
1934
|
let t = z(e.target, ".reveal");
|
|
1935
1935
|
(!t || t !== this.Reveal.getRevealElement()) && this.blur();
|
|
1936
1936
|
}
|
|
1937
|
-
},
|
|
1937
|
+
}, st = class {
|
|
1938
1938
|
constructor(e) {
|
|
1939
1939
|
this.Reveal = e;
|
|
1940
1940
|
}
|
|
@@ -1964,7 +1964,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1964
1964
|
destroy() {
|
|
1965
1965
|
this.element.remove();
|
|
1966
1966
|
}
|
|
1967
|
-
},
|
|
1967
|
+
}, ct = class {
|
|
1968
1968
|
constructor(e, t) {
|
|
1969
1969
|
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();
|
|
1970
1970
|
}
|
|
@@ -1991,7 +1991,7 @@ var N = u("sticky-note", [["path", {
|
|
|
1991
1991
|
destroy() {
|
|
1992
1992
|
this.playing = !1, this.canvas.parentNode && this.container.removeChild(this.canvas);
|
|
1993
1993
|
}
|
|
1994
|
-
},
|
|
1994
|
+
}, lt = {
|
|
1995
1995
|
width: 960,
|
|
1996
1996
|
height: 700,
|
|
1997
1997
|
margin: .04,
|
|
@@ -2081,8 +2081,8 @@ var N = u("sticky-note", [["path", {
|
|
|
2081
2081
|
pdfPageHeightOffset: -1,
|
|
2082
2082
|
dependencies: [],
|
|
2083
2083
|
plugins: []
|
|
2084
|
-
},
|
|
2085
|
-
function
|
|
2084
|
+
}, ut = "6.0.0";
|
|
2085
|
+
function dt(e, t) {
|
|
2086
2086
|
arguments.length < 2 && (t = arguments[0], e = document.querySelector(".reveal"));
|
|
2087
2087
|
let n = {}, r = {}, i = !1, a = !1, o, s, c, l, u = {
|
|
2088
2088
|
hasNavigatedHorizontally: !1,
|
|
@@ -2090,19 +2090,19 @@ function ft(e, t) {
|
|
|
2090
2090
|
}, d = [], f = 1, p = {
|
|
2091
2091
|
layout: "",
|
|
2092
2092
|
overview: ""
|
|
2093
|
-
}, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new
|
|
2093
|
+
}, m = {}, h = "idle", g = 0, _, v = 0, y = -1, b = !1, x = new H(n), S = new Pe(n), C = new Fe(n), w = new ze(n), T = new Le(n), E = new We(n), D = new Ge(n), O = new Ke(n), k = new qe(n), A = new Je(n), j = new Ye(n), ee = new Xe(n), M = new Ze(n), N = new Qe(n), P = new et(n), F = new tt(n), te = new ot(n), ne = new rt(n), I = new st(n);
|
|
2094
2094
|
function re(a) {
|
|
2095
2095
|
if (!e) throw "Unable to find presentation root (<div class=\"reveal\">).";
|
|
2096
2096
|
if (i) throw "Reveal.js has already been initialized.";
|
|
2097
2097
|
if (i = !0, m.wrapper = e, m.slides = e.querySelector(".slides"), !m.slides) throw "Unable to find slides container (<div class=\"slides\">).";
|
|
2098
|
-
return r = se(se(se(se(se({},
|
|
2098
|
+
return r = se(se(se(se(se({}, lt), r), t), a), ve()), /print-pdf/gi.test(window.location.search) && (r.view = "print"), ie(), window.addEventListener("load", Be, !1), P.load(r.plugins, r.dependencies).then(ae), new Promise((e) => n.on("ready", e));
|
|
2099
2099
|
}
|
|
2100
2100
|
function ie() {
|
|
2101
2101
|
r.embedded === !0 ? m.viewport = z(e, ".reveal-viewport") || e : (m.viewport = document.body, document.documentElement.classList.add("reveal-full-page")), m.viewport.classList.add("reveal-viewport");
|
|
2102
2102
|
}
|
|
2103
2103
|
function ae() {
|
|
2104
|
-
i !== !1 && (a = !0, le(), ue(), Se(), be(), xe(),
|
|
2105
|
-
m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"),
|
|
2104
|
+
i !== !1 && (a = !0, le(), ue(), Se(), be(), xe(), Ct(), we(), T.update(!0), oe(), j.readURL(), setTimeout(() => {
|
|
2105
|
+
m.slides.classList.remove("no-transition"), m.wrapper.classList.add("ready"), U({
|
|
2106
2106
|
type: "ready",
|
|
2107
2107
|
data: {
|
|
2108
2108
|
indexh: o,
|
|
@@ -2114,7 +2114,7 @@ function ft(e, t) {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
function oe() {
|
|
2116
2116
|
let e = r.view === "print", t = r.view === "scroll" || r.view === "reader";
|
|
2117
|
-
(e || t) && (e ?
|
|
2117
|
+
(e || t) && (e ? Oe() : ne.unbind(), m.viewport.classList.add("loading-scroll-mode"), e ? document.readyState === "complete" ? D.activate() : window.addEventListener("load", () => D.activate()) : E.activate());
|
|
2118
2118
|
}
|
|
2119
2119
|
function le() {
|
|
2120
2120
|
r.showHiddenSlides || L(m.wrapper, "section[data-visibility=\"hidden\"]").forEach((e) => {
|
|
@@ -2180,35 +2180,35 @@ function ft(e, t) {
|
|
|
2180
2180
|
function we(e) {
|
|
2181
2181
|
let t = se({}, r);
|
|
2182
2182
|
if (typeof e == "object" && de(r, e), n.isReady() === !1) return;
|
|
2183
|
-
let i = m.wrapper.querySelectorAll(
|
|
2184
|
-
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 &&
|
|
2183
|
+
let i = m.wrapper.querySelectorAll(Te).length;
|
|
2184
|
+
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 && wt(), fe(m.wrapper, "embedded", r.embedded), fe(m.wrapper, "rtl", r.rtl), fe(m.wrapper, "center", r.center), r.pause === !1 && pt(), w.reset(), _ &&= (_.destroy(), null), i > 1 && r.autoSlide && r.autoSlideStoppable && (_ = new ct(m.wrapper, () => Math.min(Math.max((Date.now() - y) / g, 0), 1)), _.on("click", on), b = !1), r.navigationMode === "default" ? m.wrapper.removeAttribute("data-navigation-mode") : m.wrapper.setAttribute("data-navigation-mode", r.navigationMode), I.configure(r, t), te.configure(r, t), N.configure(r, t), ee.configure(r, t), M.configure(r, t), A.configure(r, t), O.configure(r, t), S.configure(r, t), xt();
|
|
2185
2185
|
}
|
|
2186
2186
|
function V() {
|
|
2187
|
-
window.addEventListener("resize", nn, !1), r.touch && ne.bind(), r.keyboard && A.bind(), r.progress && M.bind(), r.respondToHashChanges && j.bind(), ee.bind(), te.bind(), m.slides.addEventListener("click", tn, !1), m.slides.addEventListener("transitionend", en, !1), m.pauseOverlay.addEventListener("click",
|
|
2187
|
+
window.addEventListener("resize", nn, !1), r.touch && ne.bind(), r.keyboard && A.bind(), r.progress && M.bind(), r.respondToHashChanges && j.bind(), ee.bind(), te.bind(), m.slides.addEventListener("click", tn, !1), m.slides.addEventListener("transitionend", en, !1), m.pauseOverlay.addEventListener("click", pt, !1), r.focusBodyOnPageVisibilityChange && document.addEventListener("visibilitychange", rn, !1);
|
|
2188
2188
|
}
|
|
2189
|
-
function
|
|
2190
|
-
ne.unbind(), te.unbind(), A.unbind(), ee.unbind(), M.unbind(), j.unbind(), window.removeEventListener("resize", nn, !1), m.slides.removeEventListener("click", tn, !1), m.slides.removeEventListener("transitionend", en, !1), m.pauseOverlay.removeEventListener("click",
|
|
2189
|
+
function Oe() {
|
|
2190
|
+
ne.unbind(), te.unbind(), A.unbind(), ee.unbind(), M.unbind(), j.unbind(), window.removeEventListener("resize", nn, !1), m.slides.removeEventListener("click", tn, !1), m.slides.removeEventListener("transitionend", en, !1), m.pauseOverlay.removeEventListener("click", pt, !1);
|
|
2191
2191
|
}
|
|
2192
|
-
function
|
|
2193
|
-
i = !1, a !== !1 && (
|
|
2192
|
+
function Ae() {
|
|
2193
|
+
i = !1, a !== !1 && (Oe(), Ut(), I.destroy(), te.destroy(), F.destroy(), P.destroy(), N.destroy(), ee.destroy(), M.destroy(), T.destroy(), S.destroy(), C.destroy(), document.removeEventListener("fullscreenchange", an), document.removeEventListener("webkitfullscreenchange", an), document.removeEventListener("visibilitychange", rn, !1), window.removeEventListener("message", $t, !1), window.removeEventListener("load", Be, !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(Te)).forEach((e) => {
|
|
2194
2194
|
e.style.removeProperty("display"), e.style.removeProperty("top"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden");
|
|
2195
2195
|
}));
|
|
2196
2196
|
}
|
|
2197
|
-
function
|
|
2197
|
+
function je(t, n, r) {
|
|
2198
2198
|
e.addEventListener(t, n, r);
|
|
2199
2199
|
}
|
|
2200
|
-
function
|
|
2200
|
+
function Me(t, n, r) {
|
|
2201
2201
|
e.removeEventListener(t, n, r);
|
|
2202
2202
|
}
|
|
2203
|
-
function
|
|
2203
|
+
function Ne(e) {
|
|
2204
2204
|
typeof e.layout == "string" && (p.layout = e.layout), typeof e.overview == "string" && (p.overview = e.overview), p.layout ? R(m.slides, p.layout + " " + p.overview) : R(m.slides, p.overview);
|
|
2205
2205
|
}
|
|
2206
|
-
function
|
|
2206
|
+
function U({ target: e = m.wrapper, type: t, data: n, bubbles: r = !0 }) {
|
|
2207
2207
|
let i = document.createEvent("HTMLEvents", 1, 2);
|
|
2208
|
-
return i.initEvent(t, r, !0), de(i, n), e.dispatchEvent(i), e === m.wrapper &&
|
|
2208
|
+
return i.initEvent(t, r, !0), de(i, n), e.dispatchEvent(i), e === m.wrapper && Re(t), i;
|
|
2209
2209
|
}
|
|
2210
|
-
function
|
|
2211
|
-
|
|
2210
|
+
function Ie(e) {
|
|
2211
|
+
U({
|
|
2212
2212
|
type: "slidechanged",
|
|
2213
2213
|
data: {
|
|
2214
2214
|
indexh: o,
|
|
@@ -2219,7 +2219,7 @@ function ft(e, t) {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
});
|
|
2221
2221
|
}
|
|
2222
|
-
function
|
|
2222
|
+
function Re(e, t) {
|
|
2223
2223
|
if (r.postMessageEvents && window.parent !== window.self) {
|
|
2224
2224
|
let n = {
|
|
2225
2225
|
namespace: "reveal",
|
|
@@ -2229,19 +2229,19 @@ function ft(e, t) {
|
|
|
2229
2229
|
de(n, t), window.parent.postMessage(JSON.stringify(n), "*");
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
|
-
function
|
|
2232
|
+
function Be() {
|
|
2233
2233
|
if (m.wrapper && !D.isActive()) {
|
|
2234
2234
|
let e = m.viewport.offsetWidth, t = m.viewport.offsetHeight;
|
|
2235
2235
|
if (!r.disableLayout) {
|
|
2236
2236
|
Ce && !r.embedded && document.documentElement.style.setProperty("--vh", window.innerHeight * .01 + "px");
|
|
2237
|
-
let n = E.isActive() ?
|
|
2238
|
-
|
|
2239
|
-
let a = Array.from(m.wrapper.querySelectorAll(
|
|
2237
|
+
let n = E.isActive() ? Ue(e, t) : Ue(), i = f;
|
|
2238
|
+
Ve(r.width, r.height), m.slides.style.width = n.width + "px", m.slides.style.height = n.height + "px", f = Math.min(n.presentationWidth / n.width, n.presentationHeight / n.height), f = Math.max(f, r.minScale), f = Math.min(f, r.maxScale), f === 1 || E.isActive() ? (m.slides.style.zoom = "", m.slides.style.left = "", m.slides.style.top = "", m.slides.style.bottom = "", m.slides.style.right = "", Ne({ 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", Ne({ layout: "translate(-50%, -50%) scale(" + f + ")" }));
|
|
2239
|
+
let a = Array.from(m.wrapper.querySelectorAll(Te));
|
|
2240
2240
|
for (let e = 0, t = a.length; e < t; e++) {
|
|
2241
2241
|
let t = a[e];
|
|
2242
2242
|
t.style.display !== "none" && (r.center || t.classList.contains("center") ? t.classList.contains("stack") ? t.style.top = 0 : t.style.top = Math.max((n.height - t.scrollHeight) / 2, 0) + "px" : t.style.top = "");
|
|
2243
2243
|
}
|
|
2244
|
-
i !== f &&
|
|
2244
|
+
i !== f && U({
|
|
2245
2245
|
type: "resize",
|
|
2246
2246
|
data: {
|
|
2247
2247
|
oldScale: i,
|
|
@@ -2250,10 +2250,10 @@ function ft(e, t) {
|
|
|
2250
2250
|
}
|
|
2251
2251
|
});
|
|
2252
2252
|
}
|
|
2253
|
-
|
|
2253
|
+
He(), m.viewport.style.setProperty("--slide-scale", f), m.viewport.style.setProperty("--viewport-width", e + "px"), m.viewport.style.setProperty("--viewport-height", t + "px"), E.layout(), M.update(), T.updateParallax(), k.isActive() && k.update();
|
|
2254
2254
|
}
|
|
2255
2255
|
}
|
|
2256
|
-
function
|
|
2256
|
+
function Ve(e, t) {
|
|
2257
2257
|
L(m.slides, "section > .stretch, section > .r-stretch").forEach((n) => {
|
|
2258
2258
|
let r = B(n, t);
|
|
2259
2259
|
if (/(img|video)/gi.test(n.nodeName)) {
|
|
@@ -2262,13 +2262,13 @@ function ft(e, t) {
|
|
|
2262
2262
|
} else n.style.width = e + "px", n.style.height = r + "px";
|
|
2263
2263
|
});
|
|
2264
2264
|
}
|
|
2265
|
-
function
|
|
2265
|
+
function He() {
|
|
2266
2266
|
if (m.wrapper && !r.disableLayout && !D.isActive() && typeof r.scrollActivationWidth == "number" && r.view !== "scroll") {
|
|
2267
|
-
let e =
|
|
2267
|
+
let e = Ue();
|
|
2268
2268
|
e.presentationWidth > 0 && e.presentationWidth <= r.scrollActivationWidth ? E.isActive() || (T.create(), E.activate()) : E.isActive() && E.deactivate();
|
|
2269
2269
|
}
|
|
2270
2270
|
}
|
|
2271
|
-
function
|
|
2271
|
+
function Ue(e, t) {
|
|
2272
2272
|
let n = r.width, i = r.height;
|
|
2273
2273
|
r.disableLayout && (n = m.slides.offsetWidth, i = m.slides.offsetHeight);
|
|
2274
2274
|
let a = {
|
|
@@ -2279,58 +2279,58 @@ function ft(e, t) {
|
|
|
2279
2279
|
};
|
|
2280
2280
|
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;
|
|
2281
2281
|
}
|
|
2282
|
-
function
|
|
2282
|
+
function $e(e, t) {
|
|
2283
2283
|
typeof e == "object" && typeof e.setAttribute == "function" && e.setAttribute("data-previous-indexv", t || 0);
|
|
2284
2284
|
}
|
|
2285
|
-
function
|
|
2285
|
+
function nt(e) {
|
|
2286
2286
|
if (typeof e == "object" && typeof e.setAttribute == "function" && e.classList.contains("stack")) {
|
|
2287
2287
|
let t = e.hasAttribute("data-start-indexv") ? "data-start-indexv" : "data-previous-indexv";
|
|
2288
2288
|
return parseInt(e.getAttribute(t) || 0, 10);
|
|
2289
2289
|
}
|
|
2290
2290
|
return 0;
|
|
2291
2291
|
}
|
|
2292
|
-
function
|
|
2292
|
+
function it(e = l) {
|
|
2293
2293
|
return e && e.parentNode && !!e.parentNode.nodeName.match(/section/i);
|
|
2294
2294
|
}
|
|
2295
|
-
function
|
|
2295
|
+
function at(e = l) {
|
|
2296
2296
|
return e.classList.contains(".stack") || e.querySelector("section") !== null;
|
|
2297
2297
|
}
|
|
2298
|
-
function
|
|
2299
|
-
return l &&
|
|
2298
|
+
function dt() {
|
|
2299
|
+
return l && it(l) ? !l.nextElementSibling : !1;
|
|
2300
2300
|
}
|
|
2301
|
-
function
|
|
2301
|
+
function W() {
|
|
2302
2302
|
return o === 0 && s === 0;
|
|
2303
2303
|
}
|
|
2304
|
-
function
|
|
2305
|
-
return l ? !(l.nextElementSibling ||
|
|
2304
|
+
function ft() {
|
|
2305
|
+
return l ? !(l.nextElementSibling || it(l) && l.parentNode.nextElementSibling) : !1;
|
|
2306
2306
|
}
|
|
2307
|
-
function
|
|
2307
|
+
function G() {
|
|
2308
2308
|
if (r.pause) {
|
|
2309
2309
|
let e = m.wrapper.classList.contains("paused");
|
|
2310
|
-
Ut(), m.wrapper.classList.add("paused"), e === !1 &&
|
|
2310
|
+
Ut(), m.wrapper.classList.add("paused"), e === !1 && U({ type: "paused" });
|
|
2311
2311
|
}
|
|
2312
2312
|
}
|
|
2313
|
-
function
|
|
2313
|
+
function pt() {
|
|
2314
2314
|
let e = m.wrapper.classList.contains("paused");
|
|
2315
|
-
m.wrapper.classList.remove("paused"), Ht(), e &&
|
|
2315
|
+
m.wrapper.classList.remove("paused"), Ht(), e && U({ type: "resumed" });
|
|
2316
2316
|
}
|
|
2317
|
-
function
|
|
2318
|
-
typeof e == "boolean" ? e ?
|
|
2317
|
+
function mt(e) {
|
|
2318
|
+
typeof e == "boolean" ? e ? G() : pt() : ht() ? pt() : G();
|
|
2319
2319
|
}
|
|
2320
|
-
function
|
|
2320
|
+
function ht() {
|
|
2321
2321
|
return m.wrapper.classList.contains("paused");
|
|
2322
2322
|
}
|
|
2323
|
-
function
|
|
2323
|
+
function gt(e) {
|
|
2324
2324
|
typeof e == "boolean" ? e ? C.show() : C.hide() : C.isVisible() ? C.hide() : C.show();
|
|
2325
2325
|
}
|
|
2326
|
-
function
|
|
2326
|
+
function _t(e) {
|
|
2327
2327
|
typeof e == "boolean" ? e ? Gt() : Wt() : b ? Gt() : Wt();
|
|
2328
2328
|
}
|
|
2329
|
-
function
|
|
2329
|
+
function vt() {
|
|
2330
2330
|
return !!(g && !b);
|
|
2331
2331
|
}
|
|
2332
|
-
function
|
|
2333
|
-
if (
|
|
2332
|
+
function K(t, n, i, a) {
|
|
2333
|
+
if (U({
|
|
2334
2334
|
type: "beforeslidechange",
|
|
2335
2335
|
data: {
|
|
2336
2336
|
indexh: t === void 0 ? o : t,
|
|
@@ -2339,26 +2339,26 @@ function ft(e, t) {
|
|
|
2339
2339
|
}
|
|
2340
2340
|
}).defaultPrevented) return;
|
|
2341
2341
|
c = l;
|
|
2342
|
-
let u = m.wrapper.querySelectorAll(
|
|
2342
|
+
let u = m.wrapper.querySelectorAll(Ee);
|
|
2343
2343
|
if (E.isActive()) {
|
|
2344
2344
|
let e = E.getSlideByIndices(t, n);
|
|
2345
2345
|
e && E.scrollToSlide(e);
|
|
2346
2346
|
return;
|
|
2347
2347
|
}
|
|
2348
2348
|
if (u.length === 0) return;
|
|
2349
|
-
n === void 0 && !k.isActive() && (n =
|
|
2349
|
+
n === void 0 && !k.isActive() && (n = nt(u[t])), c && c.parentNode && c.parentNode.classList.contains("stack") && $e(c.parentNode, s);
|
|
2350
2350
|
let f = d.concat();
|
|
2351
2351
|
d.length = 0;
|
|
2352
2352
|
let p = o || 0, g = s || 0;
|
|
2353
|
-
o =
|
|
2353
|
+
o = Tt(Ee, t === void 0 ? o : t), s = Tt(De, n === void 0 ? s : n);
|
|
2354
2354
|
let _ = o !== p || s !== g;
|
|
2355
2355
|
_ || (c = null);
|
|
2356
2356
|
let v = u[o], y = v.querySelectorAll("section");
|
|
2357
2357
|
e.classList.toggle("is-vertical-slide", y.length > 1), l = y[s] || v;
|
|
2358
2358
|
let b = !1;
|
|
2359
|
-
_ && c && l && !k.isActive() && (h = "running", b =
|
|
2359
|
+
_ && c && l && !k.isActive() && (h = "running", b = yt(c, l, p, g), b && m.slides.classList.add("disable-slide-transitions")), Dt(), Be(), k.isActive() && k.update(), i !== void 0 && O.goto(i), c && c !== l && (c.classList.remove("present"), c.setAttribute("aria-hidden", "true"), W() && setTimeout(() => {
|
|
2360
2360
|
Nt().forEach((e) => {
|
|
2361
|
-
|
|
2361
|
+
$e(e, 0);
|
|
2362
2362
|
});
|
|
2363
2363
|
}, 0));
|
|
2364
2364
|
e: for (let e = 0, t = d.length; e < t; e++) {
|
|
@@ -2366,64 +2366,64 @@ function ft(e, t) {
|
|
|
2366
2366
|
f.splice(t, 1);
|
|
2367
2367
|
continue e;
|
|
2368
2368
|
}
|
|
2369
|
-
m.viewport.classList.add(d[e]),
|
|
2369
|
+
m.viewport.classList.add(d[e]), U({ type: d[e] });
|
|
2370
2370
|
}
|
|
2371
2371
|
for (; f.length;) m.viewport.classList.remove(f.pop());
|
|
2372
|
-
_ && (x.afterSlideChanged(),
|
|
2372
|
+
_ && (x.afterSlideChanged(), Ie(a)), (_ || !c) && (x.stopEmbeddedContent(c), x.startEmbeddedContent(l)), requestAnimationFrame(() => {
|
|
2373
2373
|
he(_e(l));
|
|
2374
2374
|
}), M.update(), ee.update(), I.update(), T.update(), T.updateParallax(), S.update(), O.update(), j.writeURL(), Ht(), b && (setTimeout(() => {
|
|
2375
2375
|
m.slides.classList.remove("disable-slide-transitions");
|
|
2376
2376
|
}, 0), r.autoAnimate && w.run(c, l));
|
|
2377
2377
|
}
|
|
2378
|
-
function
|
|
2378
|
+
function yt(e, t, n, r) {
|
|
2379
2379
|
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");
|
|
2380
2380
|
}
|
|
2381
|
-
function
|
|
2381
|
+
function bt(e, t, n) {
|
|
2382
2382
|
let i = o || 0;
|
|
2383
2383
|
o = t, s = n;
|
|
2384
2384
|
let a = l !== e;
|
|
2385
|
-
c = l, l = e, l && c && r.autoAnimate &&
|
|
2385
|
+
c = l, l = e, l && c && r.autoAnimate && yt(c, l, i, s) && w.run(c, l), a && (x.afterSlideChanged(), c && (x.stopEmbeddedContent(c), x.stopEmbeddedContent(c.slideBackgroundElement)), x.startEmbeddedContent(l), x.startEmbeddedContent(l.slideBackgroundElement)), requestAnimationFrame(() => {
|
|
2386
2386
|
he(_e(l));
|
|
2387
|
-
}),
|
|
2387
|
+
}), Ie();
|
|
2388
2388
|
}
|
|
2389
|
-
function
|
|
2390
|
-
|
|
2389
|
+
function xt() {
|
|
2390
|
+
Oe(), V(), Be(), g = r.autoSlide, Ht(), T.create(), j.writeURL(), r.sortFragmentsOnSync === !0 && O.sortAll(), o !== void 0 && (o = Tt(Ee, o), s = Tt(De, s)), ee.update(), M.update(), Dt(), I.update(), I.updateVisibility(), F.update(), T.update(!0), S.update(), x.formatEmbeddedContent(), r.autoPlayMedia === !1 ? x.stopEmbeddedContent(l, { unloadIframes: !1 }) : x.startEmbeddedContent(l), k.isActive() && k.layout(), U({ type: "sync" });
|
|
2391
2391
|
}
|
|
2392
|
-
function
|
|
2393
|
-
T.sync(e), O.sync(e), x.load(e), T.update(), I.update(),
|
|
2392
|
+
function St(e = l) {
|
|
2393
|
+
T.sync(e), O.sync(e), x.load(e), T.update(), I.update(), U({
|
|
2394
2394
|
type: "slidesync",
|
|
2395
2395
|
data: { slide: e }
|
|
2396
2396
|
});
|
|
2397
2397
|
}
|
|
2398
|
-
function
|
|
2398
|
+
function Ct() {
|
|
2399
2399
|
jt().forEach((e) => {
|
|
2400
2400
|
L(e, "section").forEach((e, t) => {
|
|
2401
2401
|
t > 0 && (e.classList.remove("present"), e.classList.remove("past"), e.classList.add("future"), e.setAttribute("aria-hidden", "true"));
|
|
2402
2402
|
});
|
|
2403
2403
|
});
|
|
2404
2404
|
}
|
|
2405
|
-
function
|
|
2405
|
+
function wt(e = jt()) {
|
|
2406
2406
|
e.forEach((t, n) => {
|
|
2407
2407
|
let r = e[Math.floor(Math.random() * e.length)];
|
|
2408
2408
|
r.parentNode === t.parentNode && t.parentNode.insertBefore(t, r);
|
|
2409
2409
|
let i = t.querySelectorAll("section");
|
|
2410
|
-
i.length &&
|
|
2410
|
+
i.length && wt(i);
|
|
2411
2411
|
});
|
|
2412
2412
|
}
|
|
2413
|
-
function
|
|
2413
|
+
function Tt(e, t) {
|
|
2414
2414
|
let n = L(m.wrapper, e), i = n.length, a = E.isActive() || D.isActive(), o = !1, s = !1;
|
|
2415
2415
|
if (i) {
|
|
2416
2416
|
r.loop && (t >= i && (o = !0), t %= i, t < 0 && (t = i + t, s = !0)), t = Math.max(Math.min(t, i - 1), 0);
|
|
2417
2417
|
for (let e = 0; e < i; e++) {
|
|
2418
|
-
let i = n[e], c = r.rtl && !
|
|
2418
|
+
let i = n[e], c = r.rtl && !it(i);
|
|
2419
2419
|
if (i.classList.remove("past"), i.classList.remove("present"), i.classList.remove("future"), i.setAttribute("hidden", ""), i.setAttribute("aria-hidden", "true"), i.querySelector("section") && i.classList.add("stack"), a) {
|
|
2420
2420
|
i.classList.add("present");
|
|
2421
2421
|
continue;
|
|
2422
2422
|
}
|
|
2423
|
-
e < t ? (i.classList.add(c ? "future" : "past"), r.fragments &&
|
|
2423
|
+
e < t ? (i.classList.add(c ? "future" : "past"), r.fragments && q(i)) : e > t ? (i.classList.add(c ? "past" : "future"), r.fragments && Et(i)) : e === t && r.fragments && (o ? Et(i) : s && q(i));
|
|
2424
2424
|
}
|
|
2425
2425
|
let e = n[t], c = e.classList.contains("present");
|
|
2426
|
-
e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c ||
|
|
2426
|
+
e.classList.add("present"), e.removeAttribute("hidden"), e.removeAttribute("aria-hidden"), c || U({
|
|
2427
2427
|
target: e,
|
|
2428
2428
|
type: "visible",
|
|
2429
2429
|
bubbles: !1
|
|
@@ -2433,17 +2433,17 @@ function ft(e, t) {
|
|
|
2433
2433
|
} else t = 0;
|
|
2434
2434
|
return t;
|
|
2435
2435
|
}
|
|
2436
|
-
function
|
|
2436
|
+
function q(e) {
|
|
2437
2437
|
L(e, ".fragment").forEach((e) => {
|
|
2438
2438
|
e.classList.add("visible"), e.classList.remove("current-fragment");
|
|
2439
2439
|
});
|
|
2440
2440
|
}
|
|
2441
|
-
function
|
|
2441
|
+
function Et(e) {
|
|
2442
2442
|
L(e, ".fragment.visible").forEach((e) => {
|
|
2443
2443
|
e.classList.remove("visible", "current-fragment");
|
|
2444
2444
|
});
|
|
2445
2445
|
}
|
|
2446
|
-
function
|
|
2446
|
+
function Dt() {
|
|
2447
2447
|
let e = jt(), t = e.length, n, i;
|
|
2448
2448
|
if (t && o !== void 0) {
|
|
2449
2449
|
let a = k.isActive(), c = a ? 10 : r.viewDistance;
|
|
@@ -2451,7 +2451,7 @@ function ft(e, t) {
|
|
|
2451
2451
|
for (let l = 0; l < t; l++) {
|
|
2452
2452
|
let u = e[l], d = L(u, "section"), f = d.length;
|
|
2453
2453
|
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) {
|
|
2454
|
-
let e = a ? 0 :
|
|
2454
|
+
let e = a ? 0 : nt(u);
|
|
2455
2455
|
for (let t = 0; t < f; t++) {
|
|
2456
2456
|
let r = d[t];
|
|
2457
2457
|
i = Math.abs(l === (o || 0) ? (s || 0) - t : t - e), n + i < c ? x.load(r) : x.unload(r);
|
|
@@ -2462,7 +2462,7 @@ function ft(e, t) {
|
|
|
2462
2462
|
}
|
|
2463
2463
|
}
|
|
2464
2464
|
function J({ includeFragments: e = !1 } = {}) {
|
|
2465
|
-
let t = m.wrapper.querySelectorAll(
|
|
2465
|
+
let t = m.wrapper.querySelectorAll(Ee), n = m.wrapper.querySelectorAll(De), i = {
|
|
2466
2466
|
left: o > 0,
|
|
2467
2467
|
right: o < t.length - 1,
|
|
2468
2468
|
up: s > 0,
|
|
@@ -2507,7 +2507,7 @@ function ft(e, t) {
|
|
|
2507
2507
|
if (e) {
|
|
2508
2508
|
if (E.isActive()) t = parseInt(e.getAttribute("data-index-h"), 10), e.getAttribute("data-index-v") && (n = parseInt(e.getAttribute("data-index-v"), 10));
|
|
2509
2509
|
else {
|
|
2510
|
-
let r =
|
|
2510
|
+
let r = it(e), i = r ? e.parentNode : e, a = jt();
|
|
2511
2511
|
t = Math.max(a.indexOf(i), 0), n = void 0, r && (n = Math.max(L(e.parentNode, "section").indexOf(e), 0));
|
|
2512
2512
|
}
|
|
2513
2513
|
}
|
|
@@ -2525,7 +2525,7 @@ function ft(e, t) {
|
|
|
2525
2525
|
return L(m.wrapper, ".slides section:not(.stack):not([data-visibility=\"uncounted\"])");
|
|
2526
2526
|
}
|
|
2527
2527
|
function jt() {
|
|
2528
|
-
return L(m.wrapper,
|
|
2528
|
+
return L(m.wrapper, Ee);
|
|
2529
2529
|
}
|
|
2530
2530
|
function Mt() {
|
|
2531
2531
|
return L(m.wrapper, ".slides>section>section");
|
|
@@ -2566,15 +2566,15 @@ function ft(e, t) {
|
|
|
2566
2566
|
indexh: e.h,
|
|
2567
2567
|
indexv: e.v,
|
|
2568
2568
|
indexf: e.f,
|
|
2569
|
-
paused:
|
|
2569
|
+
paused: ht(),
|
|
2570
2570
|
overview: k.isActive()
|
|
2571
2571
|
}, F.getState());
|
|
2572
2572
|
}
|
|
2573
2573
|
function Vt(e) {
|
|
2574
2574
|
if (typeof e == "object") {
|
|
2575
|
-
|
|
2575
|
+
K(pe(e.indexh), pe(e.indexv), pe(e.indexf));
|
|
2576
2576
|
let t = pe(e.paused), n = pe(e.overview);
|
|
2577
|
-
typeof t == "boolean" && t !==
|
|
2577
|
+
typeof t == "boolean" && t !== ht() && mt(t), typeof n == "boolean" && n !== k.isActive() && k.toggle(n), F.setState(e);
|
|
2578
2578
|
}
|
|
2579
2579
|
}
|
|
2580
2580
|
function Ht() {
|
|
@@ -2582,7 +2582,7 @@ function ft(e, t) {
|
|
|
2582
2582
|
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");
|
|
2583
2583
|
t ? g = parseInt(t, 10) : i ? g = parseInt(i, 10) : n ? g = parseInt(n, 10) : (g = r.autoSlide, l.querySelectorAll(".fragment").length === 0 && L(l, "video, audio").forEach((e) => {
|
|
2584
2584
|
e.hasAttribute("data-autoplay") && g && e.duration * 1e3 / e.playbackRate > g && (g = e.duration * 1e3 / e.playbackRate + 1e3);
|
|
2585
|
-
})), g && !b && !
|
|
2585
|
+
})), g && !b && !ht() && !k.isActive() && (!ft() || O.availableRoutes().next || r.loop === !0) && (v = setTimeout(() => {
|
|
2586
2586
|
typeof r.autoSlideMethod == "function" ? r.autoSlideMethod() : Zt(), Ht();
|
|
2587
2587
|
}, g), y = Date.now()), _ && _.setPlaying(v !== -1);
|
|
2588
2588
|
}
|
|
@@ -2591,26 +2591,26 @@ function ft(e, t) {
|
|
|
2591
2591
|
clearTimeout(v), v = -1;
|
|
2592
2592
|
}
|
|
2593
2593
|
function Wt() {
|
|
2594
|
-
g && !b && (b = !0,
|
|
2594
|
+
g && !b && (b = !0, U({ type: "autoslidepaused" }), clearTimeout(v), _ && _.setPlaying(!1));
|
|
2595
2595
|
}
|
|
2596
2596
|
function Gt() {
|
|
2597
|
-
g && b && (b = !1,
|
|
2597
|
+
g && b && (b = !1, U({ type: "autoslideresumed" }), Ht());
|
|
2598
2598
|
}
|
|
2599
2599
|
function Kt({ skipFragments: e = !1 } = {}) {
|
|
2600
2600
|
if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.prev();
|
|
2601
|
-
r.rtl ? (k.isActive() || e || O.next() === !1) && J().left &&
|
|
2601
|
+
r.rtl ? (k.isActive() || e || O.next() === !1) && J().left && K(o + 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.prev() === !1) && J().left && K(o - 1, r.navigationMode === "grid" ? s : void 0);
|
|
2602
2602
|
}
|
|
2603
2603
|
function qt({ skipFragments: e = !1 } = {}) {
|
|
2604
2604
|
if (u.hasNavigatedHorizontally = !0, E.isActive()) return E.next();
|
|
2605
|
-
r.rtl ? (k.isActive() || e || O.prev() === !1) && J().right &&
|
|
2605
|
+
r.rtl ? (k.isActive() || e || O.prev() === !1) && J().right && K(o - 1, r.navigationMode === "grid" ? s : void 0) : (k.isActive() || e || O.next() === !1) && J().right && K(o + 1, r.navigationMode === "grid" ? s : void 0);
|
|
2606
2606
|
}
|
|
2607
2607
|
function Jt({ skipFragments: e = !1 } = {}) {
|
|
2608
2608
|
if (E.isActive()) return E.prev();
|
|
2609
|
-
(k.isActive() || e || O.prev() === !1) && J().up &&
|
|
2609
|
+
(k.isActive() || e || O.prev() === !1) && J().up && K(o, s - 1);
|
|
2610
2610
|
}
|
|
2611
2611
|
function Yt({ skipFragments: e = !1 } = {}) {
|
|
2612
2612
|
if (u.hasNavigatedVertically = !0, E.isActive()) return E.next();
|
|
2613
|
-
(k.isActive() || e || O.next() === !1) && J().down &&
|
|
2613
|
+
(k.isActive() || e || O.next() === !1) && J().down && K(o, s + 1);
|
|
2614
2614
|
}
|
|
2615
2615
|
function Xt({ skipFragments: e = !1 } = {}) {
|
|
2616
2616
|
if (E.isActive()) return E.prev();
|
|
@@ -2620,7 +2620,7 @@ function ft(e, t) {
|
|
|
2620
2620
|
let t;
|
|
2621
2621
|
if (t = r.rtl ? L(m.wrapper, ".slides>section.future").pop() : L(m.wrapper, ".slides>section.past").pop(), t && t.classList.contains("stack")) {
|
|
2622
2622
|
let e = t.querySelectorAll("section").length - 1 || void 0;
|
|
2623
|
-
|
|
2623
|
+
K(o - 1, e);
|
|
2624
2624
|
} else r.rtl ? qt({ skipFragments: e }) : Kt({ skipFragments: e });
|
|
2625
2625
|
}
|
|
2626
2626
|
}
|
|
@@ -2629,7 +2629,7 @@ function ft(e, t) {
|
|
|
2629
2629
|
if (u.hasNavigatedHorizontally = !0, u.hasNavigatedVertically = !0, E.isActive()) return E.next();
|
|
2630
2630
|
if (e || O.next() === !1) {
|
|
2631
2631
|
let t = J();
|
|
2632
|
-
t.down && t.right && r.loop &&
|
|
2632
|
+
t.down && t.right && r.loop && dt() && (t.down = !1), t.down ? Yt({ skipFragments: e }) : r.rtl ? Kt({ skipFragments: e }) : qt({ skipFragments: e });
|
|
2633
2633
|
}
|
|
2634
2634
|
}
|
|
2635
2635
|
function Qt(e) {
|
|
@@ -2638,9 +2638,9 @@ function ft(e, t) {
|
|
|
2638
2638
|
function $t(e) {
|
|
2639
2639
|
let t = e.data;
|
|
2640
2640
|
if (typeof t == "string" && t.charAt(0) === "{" && t.charAt(t.length - 1) === "}" && (t = JSON.parse(t), t.method && typeof n[t.method] == "function")) {
|
|
2641
|
-
if (
|
|
2641
|
+
if (ke.test(t.method) === !1) {
|
|
2642
2642
|
let e = n[t.method].apply(n, t.args);
|
|
2643
|
-
|
|
2643
|
+
Re("callback", {
|
|
2644
2644
|
method: t.method,
|
|
2645
2645
|
result: e
|
|
2646
2646
|
});
|
|
@@ -2648,7 +2648,7 @@ function ft(e, t) {
|
|
|
2648
2648
|
}
|
|
2649
2649
|
}
|
|
2650
2650
|
function en(e) {
|
|
2651
|
-
h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle",
|
|
2651
|
+
h === "running" && /section/gi.test(e.target.nodeName) && (h = "idle", U({
|
|
2652
2652
|
type: "slidetransitionend",
|
|
2653
2653
|
data: {
|
|
2654
2654
|
indexh: o,
|
|
@@ -2666,7 +2666,7 @@ function ft(e, t) {
|
|
|
2666
2666
|
}
|
|
2667
2667
|
}
|
|
2668
2668
|
function nn(e) {
|
|
2669
|
-
|
|
2669
|
+
Be();
|
|
2670
2670
|
}
|
|
2671
2671
|
function rn(e) {
|
|
2672
2672
|
document.hidden === !1 && document.activeElement !== document.body && (typeof document.activeElement.blur == "function" && document.activeElement.blur(), document.body.focus());
|
|
@@ -2677,17 +2677,17 @@ function ft(e, t) {
|
|
|
2677
2677
|
}, 1));
|
|
2678
2678
|
}
|
|
2679
2679
|
function on(e) {
|
|
2680
|
-
|
|
2680
|
+
ft() && r.loop === !1 ? (K(0, 0), Gt()) : b ? Gt() : Wt();
|
|
2681
2681
|
}
|
|
2682
2682
|
let sn = {
|
|
2683
|
-
VERSION:
|
|
2683
|
+
VERSION: ut,
|
|
2684
2684
|
initialize: re,
|
|
2685
2685
|
configure: we,
|
|
2686
|
-
destroy:
|
|
2687
|
-
sync:
|
|
2688
|
-
syncSlide:
|
|
2686
|
+
destroy: Ae,
|
|
2687
|
+
sync: xt,
|
|
2688
|
+
syncSlide: St,
|
|
2689
2689
|
syncFragments: O.sync.bind(O),
|
|
2690
|
-
slide:
|
|
2690
|
+
slide: K,
|
|
2691
2691
|
left: Kt,
|
|
2692
2692
|
right: qt,
|
|
2693
2693
|
up: Jt,
|
|
@@ -2703,27 +2703,27 @@ function ft(e, t) {
|
|
|
2703
2703
|
navigateFragment: O.goto.bind(O),
|
|
2704
2704
|
prevFragment: O.prev.bind(O),
|
|
2705
2705
|
nextFragment: O.next.bind(O),
|
|
2706
|
-
on:
|
|
2707
|
-
off:
|
|
2708
|
-
addEventListener:
|
|
2709
|
-
removeEventListener:
|
|
2710
|
-
layout:
|
|
2711
|
-
shuffle:
|
|
2706
|
+
on: je,
|
|
2707
|
+
off: Me,
|
|
2708
|
+
addEventListener: je,
|
|
2709
|
+
removeEventListener: Me,
|
|
2710
|
+
layout: Be,
|
|
2711
|
+
shuffle: wt,
|
|
2712
2712
|
availableRoutes: J,
|
|
2713
2713
|
availableFragments: O.availableRoutes.bind(O),
|
|
2714
2714
|
toggleHelp: F.toggleHelp.bind(F),
|
|
2715
2715
|
toggleOverview: k.toggle.bind(k),
|
|
2716
2716
|
toggleScrollView: E.toggle.bind(E),
|
|
2717
|
-
togglePause:
|
|
2718
|
-
toggleAutoSlide:
|
|
2719
|
-
toggleJumpToSlide:
|
|
2720
|
-
isFirstSlide:
|
|
2721
|
-
isLastSlide:
|
|
2722
|
-
isLastVerticalSlide:
|
|
2723
|
-
isVerticalSlide:
|
|
2724
|
-
isVerticalStack:
|
|
2725
|
-
isPaused:
|
|
2726
|
-
isAutoSliding:
|
|
2717
|
+
togglePause: mt,
|
|
2718
|
+
toggleAutoSlide: _t,
|
|
2719
|
+
toggleJumpToSlide: gt,
|
|
2720
|
+
isFirstSlide: W,
|
|
2721
|
+
isLastSlide: ft,
|
|
2722
|
+
isLastVerticalSlide: dt,
|
|
2723
|
+
isVerticalSlide: it,
|
|
2724
|
+
isVerticalStack: at,
|
|
2725
|
+
isPaused: ht,
|
|
2726
|
+
isAutoSliding: vt,
|
|
2727
2727
|
isSpeakerNotes: I.isSpeakerNotesWindow.bind(I),
|
|
2728
2728
|
isOverview: k.isActive.bind(k),
|
|
2729
2729
|
isFocused: te.isFocused.bind(te),
|
|
@@ -2741,8 +2741,8 @@ function ft(e, t) {
|
|
|
2741
2741
|
showPreview: F.previewIframe.bind(F),
|
|
2742
2742
|
hidePreview: F.close.bind(F),
|
|
2743
2743
|
addEventListeners: V,
|
|
2744
|
-
removeEventListeners:
|
|
2745
|
-
dispatchEvent:
|
|
2744
|
+
removeEventListeners: Oe,
|
|
2745
|
+
dispatchEvent: U,
|
|
2746
2746
|
getState: Bt,
|
|
2747
2747
|
setState: Vt,
|
|
2748
2748
|
getProgress: Y,
|
|
@@ -2762,13 +2762,13 @@ function ft(e, t) {
|
|
|
2762
2762
|
hasVerticalSlides: Ft,
|
|
2763
2763
|
hasNavigatedHorizontally: () => u.hasNavigatedHorizontally,
|
|
2764
2764
|
hasNavigatedVertically: () => u.hasNavigatedVertically,
|
|
2765
|
-
shouldAutoAnimateBetween:
|
|
2765
|
+
shouldAutoAnimateBetween: yt,
|
|
2766
2766
|
addKeyBinding: A.addKeyBinding.bind(A),
|
|
2767
2767
|
removeKeyBinding: A.removeKeyBinding.bind(A),
|
|
2768
2768
|
triggerKey: A.triggerKey.bind(A),
|
|
2769
2769
|
registerKeyboardShortcut: A.registerKeyboardShortcut.bind(A),
|
|
2770
|
-
getComputedSlideSize:
|
|
2771
|
-
setCurrentScrollPage:
|
|
2770
|
+
getComputedSlideSize: Ue,
|
|
2771
|
+
setCurrentScrollPage: bt,
|
|
2772
2772
|
removeHiddenSlides: le,
|
|
2773
2773
|
getScale: () => f,
|
|
2774
2774
|
getConfig: () => r,
|
|
@@ -2799,18 +2799,18 @@ function ft(e, t) {
|
|
|
2799
2799
|
slideNumber: S,
|
|
2800
2800
|
onUserInput: Qt,
|
|
2801
2801
|
closeOverlay: F.close.bind(F),
|
|
2802
|
-
updateSlidesVisibility:
|
|
2803
|
-
layoutSlideContents:
|
|
2804
|
-
transformSlides:
|
|
2802
|
+
updateSlidesVisibility: Dt,
|
|
2803
|
+
layoutSlideContents: Ve,
|
|
2804
|
+
transformSlides: Ne,
|
|
2805
2805
|
cueAutoSlide: Ht,
|
|
2806
2806
|
cancelAutoSlide: Ut
|
|
2807
2807
|
})), sn;
|
|
2808
2808
|
}
|
|
2809
|
-
var
|
|
2810
|
-
|
|
2809
|
+
var W = dt, ft = [];
|
|
2810
|
+
W.initialize = (e) => {
|
|
2811
2811
|
let t = document.querySelector(".reveal");
|
|
2812
2812
|
if (!(t instanceof HTMLElement)) throw Error("Unable to find presentation root (<div class=\"reveal\">).");
|
|
2813
|
-
return Object.assign(
|
|
2813
|
+
return Object.assign(W, new dt(t, e)), ft.map((e) => e(W)), W.initialize();
|
|
2814
2814
|
}, [
|
|
2815
2815
|
"configure",
|
|
2816
2816
|
"on",
|
|
@@ -2819,14 +2819,14 @@ U.initialize = (e) => {
|
|
|
2819
2819
|
"removeEventListener",
|
|
2820
2820
|
"registerPlugin"
|
|
2821
2821
|
].forEach((e) => {
|
|
2822
|
-
|
|
2823
|
-
|
|
2822
|
+
W[e] = (...t) => {
|
|
2823
|
+
ft.push((n) => n[e].call(null, ...t));
|
|
2824
2824
|
};
|
|
2825
|
-
}),
|
|
2825
|
+
}), W.isReady = () => !1, W.VERSION = ut;
|
|
2826
2826
|
//#endregion
|
|
2827
2827
|
//#region ../node_modules/.pnpm/@revealjs+react@0.2.1_react-dom@19.2.4_react@19.2.4__react@19.2.4_reveal.js@6.0.0/node_modules/@revealjs/react/dist/index.mjs
|
|
2828
|
-
var
|
|
2829
|
-
function
|
|
2828
|
+
var G = O(), pt = (0, P.createContext)(null), mt = [];
|
|
2829
|
+
function ht(e, t) {
|
|
2830
2830
|
if (e === t) return !1;
|
|
2831
2831
|
if (!e || !t) return e !== t;
|
|
2832
2832
|
let n = Object.keys(e), r = Object.keys(t);
|
|
@@ -2834,29 +2834,29 @@ function gt(e, t) {
|
|
|
2834
2834
|
for (let r of n) if (!(r in t) || e[r] !== t[r]) return !0;
|
|
2835
2835
|
return !1;
|
|
2836
2836
|
}
|
|
2837
|
-
function
|
|
2837
|
+
function gt(e, t) {
|
|
2838
2838
|
e && (typeof e == "function" ? e(t) : e.current = t);
|
|
2839
2839
|
}
|
|
2840
|
-
function
|
|
2840
|
+
function _t(e) {
|
|
2841
2841
|
return e.tagName === "SECTION";
|
|
2842
2842
|
}
|
|
2843
|
-
function
|
|
2844
|
-
return Array.from(e.children).filter(
|
|
2843
|
+
function vt(e, t, n) {
|
|
2844
|
+
return Array.from(e.children).filter(_t).map((e) => {
|
|
2845
2845
|
let r = t.get(e);
|
|
2846
2846
|
r === void 0 && (r = n.current++, t.set(e, r));
|
|
2847
|
-
let i =
|
|
2847
|
+
let i = vt(e, t, n);
|
|
2848
2848
|
return i.length > 0 ? [r, i] : r;
|
|
2849
2849
|
});
|
|
2850
2850
|
}
|
|
2851
|
-
function
|
|
2852
|
-
return e ? JSON.stringify(
|
|
2851
|
+
function K(e, t, n) {
|
|
2852
|
+
return e ? JSON.stringify(vt(e, t, n)) : "[]";
|
|
2853
2853
|
}
|
|
2854
|
-
function
|
|
2854
|
+
function yt({ config: e, plugins: t = mt, 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 }) {
|
|
2855
2855
|
let _ = (0, P.useRef)(null), v = (0, P.useRef)(null), y = (0, P.useRef)(null), [b, x] = (0, P.useState)(null), S = (0, P.useRef)(t), C = (0, P.useRef)(!1), w = (0, P.useRef)(e), T = (0, P.useRef)(null), E = (0, P.useRef)(/* @__PURE__ */ new WeakMap()), D = (0, P.useRef)(1), O = (0, P.useRef)(!1), k = (0, P.useRef)(0);
|
|
2856
2856
|
return (0, P.useEffect)(() => {
|
|
2857
2857
|
if (O.current = !0, k.current += 1, y.current) y.current.isReady() && x(y.current);
|
|
2858
2858
|
else {
|
|
2859
|
-
let t = new
|
|
2859
|
+
let t = new W(_.current, {
|
|
2860
2860
|
...e,
|
|
2861
2861
|
plugins: S.current
|
|
2862
2862
|
});
|
|
@@ -2878,7 +2878,7 @@ function bt({ config: e, plugins: t = ht, onReady: n, onSync: r, onSlideSync: i,
|
|
|
2878
2878
|
}
|
|
2879
2879
|
});
|
|
2880
2880
|
};
|
|
2881
|
-
}, []), (0, P.useEffect)(() => (
|
|
2881
|
+
}, []), (0, P.useEffect)(() => (gt(p, b), () => gt(p, null)), [p, b]), (0, P.useEffect)(() => {
|
|
2882
2882
|
if (!b) return;
|
|
2883
2883
|
let e = [
|
|
2884
2884
|
["sync", r],
|
|
@@ -2909,23 +2909,23 @@ function bt({ config: e, plugins: t = ht, onReady: n, onSync: r, onSlideSync: i,
|
|
|
2909
2909
|
d,
|
|
2910
2910
|
f
|
|
2911
2911
|
]), (0, P.useLayoutEffect)(() => {
|
|
2912
|
-
!b || !y.current?.isReady() ||
|
|
2912
|
+
!b || !y.current?.isReady() || ht(w.current, e) && (C.current = !0, y.current.configure(e ?? {}), w.current = e);
|
|
2913
2913
|
}, [b, e]), (0, P.useLayoutEffect)(() => {
|
|
2914
2914
|
let e = C.current;
|
|
2915
2915
|
C.current = !1;
|
|
2916
|
-
let t =
|
|
2916
|
+
let t = K(v.current, E.current, D);
|
|
2917
2917
|
if (e) {
|
|
2918
2918
|
T.current = t;
|
|
2919
2919
|
return;
|
|
2920
2920
|
}
|
|
2921
2921
|
y.current?.isReady() && T.current !== t && (y.current.sync(), T.current = t);
|
|
2922
|
-
}), /* @__PURE__ */ (0,
|
|
2922
|
+
}), /* @__PURE__ */ (0, G.jsx)(pt.Provider, {
|
|
2923
2923
|
value: b,
|
|
2924
|
-
children: /* @__PURE__ */ (0,
|
|
2924
|
+
children: /* @__PURE__ */ (0, G.jsx)("div", {
|
|
2925
2925
|
className: m ? `reveal ${m}` : "reveal",
|
|
2926
2926
|
style: h,
|
|
2927
2927
|
ref: _,
|
|
2928
|
-
children: /* @__PURE__ */ (0,
|
|
2928
|
+
children: /* @__PURE__ */ (0, G.jsx)("div", {
|
|
2929
2929
|
className: "slides",
|
|
2930
2930
|
ref: v,
|
|
2931
2931
|
children: g
|
|
@@ -2933,7 +2933,7 @@ function bt({ config: e, plugins: t = ht, onReady: n, onSync: r, onSlideSync: i,
|
|
|
2933
2933
|
})
|
|
2934
2934
|
});
|
|
2935
2935
|
}
|
|
2936
|
-
var
|
|
2936
|
+
var bt = {
|
|
2937
2937
|
background: "data-background",
|
|
2938
2938
|
backgroundImage: "data-background-image",
|
|
2939
2939
|
backgroundVideo: "data-background-video",
|
|
@@ -2962,12 +2962,12 @@ var xt = {
|
|
|
2962
2962
|
backgroundInteractive: "data-background-interactive",
|
|
2963
2963
|
preload: "data-preload"
|
|
2964
2964
|
};
|
|
2965
|
-
function
|
|
2965
|
+
function xt(e) {
|
|
2966
2966
|
return JSON.stringify(Object.entries(e).filter(([e]) => e.startsWith("data-")).sort(([e], [t]) => e.localeCompare(t)));
|
|
2967
2967
|
}
|
|
2968
|
-
function
|
|
2968
|
+
function St(e, t) {
|
|
2969
2969
|
let n = { ...e }, r = n;
|
|
2970
|
-
for (let [e, n] of Object.entries(
|
|
2970
|
+
for (let [e, n] of Object.entries(bt)) {
|
|
2971
2971
|
if (r[n] !== void 0) continue;
|
|
2972
2972
|
let i = t[e];
|
|
2973
2973
|
if (i !== void 0) {
|
|
@@ -2980,8 +2980,8 @@ function Ct(e, t) {
|
|
|
2980
2980
|
}
|
|
2981
2981
|
return n;
|
|
2982
2982
|
}
|
|
2983
|
-
function
|
|
2984
|
-
let k = (0, P.useContext)(
|
|
2983
|
+
function Ct({ children: e, background: t, backgroundImage: n, backgroundVideo: r, backgroundVideoLoop: i, backgroundVideoMuted: a, backgroundIframe: o, backgroundColor: s, backgroundGradient: c, backgroundSize: l, backgroundPosition: u, backgroundRepeat: d, backgroundOpacity: f, backgroundTransition: p, visibility: m, autoAnimate: h, autoAnimateId: g, autoAnimateRestart: _, autoAnimateUnmatched: v, autoAnimateEasing: y, autoAnimateDuration: b, autoAnimateDelay: x, transition: S, transitionSpeed: C, autoSlide: w, notes: T, backgroundInteractive: E, preload: D, ...O }) {
|
|
2984
|
+
let k = (0, P.useContext)(pt), A = (0, P.useRef)(null), j = (0, P.useRef)(null), ee = (0, P.useRef)(null), M = St(O, {
|
|
2985
2985
|
background: t,
|
|
2986
2986
|
backgroundImage: n,
|
|
2987
2987
|
backgroundVideo: r,
|
|
@@ -3009,7 +3009,7 @@ function wt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
|
|
|
3009
3009
|
notes: T,
|
|
3010
3010
|
backgroundInteractive: E,
|
|
3011
3011
|
preload: D
|
|
3012
|
-
}), N =
|
|
3012
|
+
}), N = xt(M);
|
|
3013
3013
|
return (0, P.useLayoutEffect)(() => {
|
|
3014
3014
|
let e = A.current;
|
|
3015
3015
|
if (!k || !e || typeof k.syncSlide != "function") return;
|
|
@@ -3020,20 +3020,20 @@ function wt({ children: e, background: t, backgroundImage: n, backgroundVideo: r
|
|
|
3020
3020
|
if (N === "[]") return;
|
|
3021
3021
|
let t = j.current === k, n = ee.current === N;
|
|
3022
3022
|
t && n || (k.syncSlide(e), j.current = k, ee.current = N);
|
|
3023
|
-
}, [k, N]), /* @__PURE__ */ (0,
|
|
3023
|
+
}, [k, N]), /* @__PURE__ */ (0, G.jsx)("section", {
|
|
3024
3024
|
ref: A,
|
|
3025
3025
|
...M,
|
|
3026
3026
|
children: e
|
|
3027
3027
|
});
|
|
3028
3028
|
}
|
|
3029
|
-
function
|
|
3030
|
-
return /* @__PURE__ */ (0,
|
|
3029
|
+
function wt({ className: e, style: t, children: n }) {
|
|
3030
|
+
return /* @__PURE__ */ (0, G.jsx)("section", {
|
|
3031
3031
|
className: e,
|
|
3032
3032
|
style: t,
|
|
3033
3033
|
children: n
|
|
3034
3034
|
});
|
|
3035
3035
|
}
|
|
3036
|
-
function
|
|
3036
|
+
function Tt() {
|
|
3037
3037
|
return {
|
|
3038
3038
|
async: !1,
|
|
3039
3039
|
breaks: !1,
|
|
@@ -3047,11 +3047,11 @@ function Et() {
|
|
|
3047
3047
|
walkTokens: null
|
|
3048
3048
|
};
|
|
3049
3049
|
}
|
|
3050
|
-
var
|
|
3051
|
-
function
|
|
3052
|
-
|
|
3050
|
+
var q = Tt();
|
|
3051
|
+
function Et(e) {
|
|
3052
|
+
q = e;
|
|
3053
3053
|
}
|
|
3054
|
-
var
|
|
3054
|
+
var Dt = { exec: () => null };
|
|
3055
3055
|
function J(e, t = "") {
|
|
3056
3056
|
let n = typeof e == "string" ? e : e.source, r = {
|
|
3057
3057
|
replace: (e, t) => {
|
|
@@ -3137,7 +3137,7 @@ var Ot = (() => {
|
|
|
3137
3137
|
list: Ht,
|
|
3138
3138
|
newline: kt,
|
|
3139
3139
|
paragraph: Kt,
|
|
3140
|
-
table:
|
|
3140
|
+
table: Dt,
|
|
3141
3141
|
text: zt
|
|
3142
3142
|
}, Jt = J("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Mt).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", Ut).getRegex(), Yt = {
|
|
3143
3143
|
...qt,
|
|
@@ -3149,19 +3149,19 @@ var Ot = (() => {
|
|
|
3149
3149
|
html: J("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment", Wt).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(),
|
|
3150
3150
|
def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
|
|
3151
3151
|
heading: /^(#{1,6})(.*)(?:\n+|$)/,
|
|
3152
|
-
fences:
|
|
3152
|
+
fences: Dt,
|
|
3153
3153
|
lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
|
|
3154
3154
|
paragraph: J(Rt).replace("hr", Mt).replace("heading", " *#{1,6} *[^\n]").replace("lheading", It).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
|
|
3155
3155
|
}, Zt = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, Qt = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, $t = /^( {2,}|\\)\n(?!\s*$)/, en = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, tn = /[\p{P}\p{S}]/u, nn = /[\s\p{P}\p{S}]/u, rn = /[^\s\p{P}\p{S}]/u, an = J(/^((?![*_])punctSpace)/, "u").replace(/punctSpace/g, nn).getRegex(), on = /(?!~)[\p{P}\p{S}]/u, sn = /(?!~)[\s\p{P}\p{S}]/u, cn = /(?:[^\s\p{P}\p{S}]|~)/u, ln = J(/link|precode-code|html/, "g").replace("link", /\[(?:[^\[\]`]|(?<a>`+)[^`]+\k<a>(?!`))*?\]\((?:\\[\s\S]|[^\\\(\)]|\((?:\\[\s\S]|[^\\\(\)])*\))*\)/).replace("precode-", Ot ? "(?<!`)()" : "(^^|[^`])").replace("code", /(?<b>`+)[^`]+\k<b>(?!`)/).replace("html", /<(?! )[^<>]*?>/).getRegex(), un = /^(?:\*+(?:((?!\*)punct)|([^\s*]))?)|^_+(?:((?!_)punct)|([^\s_]))?/, dn = J(un, "u").replace(/punct/g, tn).getRegex(), fn = J(un, "u").replace(/punct/g, on).getRegex(), pn = "^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)", mn = J(pn, "gu").replace(/notPunctSpace/g, rn).replace(/punctSpace/g, nn).replace(/punct/g, tn).getRegex(), hn = J(pn, "gu").replace(/notPunctSpace/g, cn).replace(/punctSpace/g, sn).replace(/punct/g, on).getRegex(), gn = J("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)", "gu").replace(/notPunctSpace/g, rn).replace(/punctSpace/g, nn).replace(/punct/g, tn).getRegex(), _n = J(/^~~?(?:((?!~)punct)|[^\s~])/, "u").replace(/punct/g, tn).getRegex(), vn = J("^[^~]+(?=[^~])|(?!~)punct(~~?)(?=[\\s]|$)|notPunctSpace(~~?)(?!~)(?=punctSpace|$)|(?!~)punctSpace(~~?)(?=notPunctSpace)|[\\s](~~?)(?!~)(?=punct)|(?!~)punct(~~?)(?!~)(?=punct)|notPunctSpace(~~?)(?=notPunctSpace)", "gu").replace(/notPunctSpace/g, rn).replace(/punctSpace/g, nn).replace(/punct/g, tn).getRegex(), yn = J(/\\(punct)/, "gu").replace(/punct/g, tn).getRegex(), bn = J(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), xn = J(Wt).replace("(?:-->|$)", "-->").getRegex(), Sn = J("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", xn).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), Cn = /(?:\[(?:\\[\s\S]|[^\[\]\\])*\]|\\[\s\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\])|[^\[\]\\`])*?/, wn = J(/^!?\[(label)\]\(\s*(href)(?:(?:[ \t]+(?:\n[ \t]*)?|\n[ \t]*)(title))?\s*\)/).replace("label", Cn).replace("href", /<(?:\\.|[^\n<>\\])+>|[^ \t\n\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Tn = J(/^!?\[(label)\]\[(ref)\]/).replace("label", Cn).replace("ref", Bt).getRegex(), En = J(/^!?\[(ref)\](?:\[\])?/).replace("ref", Bt).getRegex(), Dn = J("reflink|nolink(?!\\()", "g").replace("reflink", Tn).replace("nolink", En).getRegex(), On = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/, kn = {
|
|
3156
|
-
_backpedal:
|
|
3156
|
+
_backpedal: Dt,
|
|
3157
3157
|
anyPunctuation: yn,
|
|
3158
3158
|
autolink: bn,
|
|
3159
3159
|
blockSkip: ln,
|
|
3160
3160
|
br: $t,
|
|
3161
3161
|
code: Qt,
|
|
3162
|
-
del:
|
|
3163
|
-
delLDelim:
|
|
3164
|
-
delRDelim:
|
|
3162
|
+
del: Dt,
|
|
3163
|
+
delLDelim: Dt,
|
|
3164
|
+
delRDelim: Dt,
|
|
3165
3165
|
emStrongLDelim: dn,
|
|
3166
3166
|
emStrongRDelimAst: mn,
|
|
3167
3167
|
emStrongRDelimUnd: gn,
|
|
@@ -3173,7 +3173,7 @@ var Ot = (() => {
|
|
|
3173
3173
|
reflinkSearch: Dn,
|
|
3174
3174
|
tag: Sn,
|
|
3175
3175
|
text: en,
|
|
3176
|
-
url:
|
|
3176
|
+
url: Dt
|
|
3177
3177
|
}, An = {
|
|
3178
3178
|
...kn,
|
|
3179
3179
|
link: J(/^!?\[(label)\]\((.*?)\)/).replace("label", Cn).getRegex(),
|
|
@@ -3292,7 +3292,7 @@ var Gn = class {
|
|
|
3292
3292
|
rules;
|
|
3293
3293
|
lexer;
|
|
3294
3294
|
constructor(e) {
|
|
3295
|
-
this.options = e ||
|
|
3295
|
+
this.options = e || q;
|
|
3296
3296
|
}
|
|
3297
3297
|
space(e) {
|
|
3298
3298
|
let t = this.rules.block.newline.exec(e);
|
|
@@ -3748,7 +3748,7 @@ ${c}` : c;
|
|
|
3748
3748
|
inlineQueue;
|
|
3749
3749
|
tokenizer;
|
|
3750
3750
|
constructor(e) {
|
|
3751
|
-
this.tokens = [], this.tokens.links = Object.create(null), this.options = e ||
|
|
3751
|
+
this.tokens = [], this.tokens.links = Object.create(null), this.options = e || q, this.options.tokenizer = this.options.tokenizer || new Gn(), this.tokenizer = this.options.tokenizer, this.tokenizer.options = this.options, this.tokenizer.lexer = this, this.inlineQueue = [], this.state = {
|
|
3752
3752
|
inLink: !1,
|
|
3753
3753
|
inRawBlock: !1,
|
|
3754
3754
|
top: !0
|
|
@@ -3958,7 +3958,7 @@ ${c}` : c;
|
|
|
3958
3958
|
options;
|
|
3959
3959
|
parser;
|
|
3960
3960
|
constructor(e) {
|
|
3961
|
-
this.options = e ||
|
|
3961
|
+
this.options = e || q;
|
|
3962
3962
|
}
|
|
3963
3963
|
space(e) {
|
|
3964
3964
|
return "";
|
|
@@ -4097,7 +4097,7 @@ ${e}</tr>
|
|
|
4097
4097
|
renderer;
|
|
4098
4098
|
textRenderer;
|
|
4099
4099
|
constructor(e) {
|
|
4100
|
-
this.options = e ||
|
|
4100
|
+
this.options = e || q, this.options.renderer = this.options.renderer || new qn(), this.renderer = this.options.renderer, this.renderer.options = this.options, this.renderer.parser = this, this.textRenderer = new Jn();
|
|
4101
4101
|
}
|
|
4102
4102
|
static parse(t, n) {
|
|
4103
4103
|
return new e(n).parse(t);
|
|
@@ -4247,7 +4247,7 @@ ${e}</tr>
|
|
|
4247
4247
|
options;
|
|
4248
4248
|
block;
|
|
4249
4249
|
constructor(e) {
|
|
4250
|
-
this.options = e ||
|
|
4250
|
+
this.options = e || q;
|
|
4251
4251
|
}
|
|
4252
4252
|
static passThroughHooks = /* @__PURE__ */ new Set([
|
|
4253
4253
|
"preprocess",
|
|
@@ -4279,7 +4279,7 @@ ${e}</tr>
|
|
|
4279
4279
|
return this.block ? Yn.parse : Yn.parseInline;
|
|
4280
4280
|
}
|
|
4281
4281
|
}, Zn = new class {
|
|
4282
|
-
defaults =
|
|
4282
|
+
defaults = Tt();
|
|
4283
4283
|
options = this.setOptions;
|
|
4284
4284
|
parse = this.parseMarkdown(!0);
|
|
4285
4285
|
parseInline = this.parseMarkdown(!1);
|
|
@@ -4458,9 +4458,9 @@ function X(e, t) {
|
|
|
4458
4458
|
return Zn.parse(e, t);
|
|
4459
4459
|
}
|
|
4460
4460
|
X.options = X.setOptions = function(e) {
|
|
4461
|
-
return Zn.setOptions(e), X.defaults = Zn.defaults,
|
|
4462
|
-
}, X.getDefaults =
|
|
4463
|
-
return Zn.use(...e), X.defaults = Zn.defaults,
|
|
4461
|
+
return Zn.setOptions(e), X.defaults = Zn.defaults, Et(X.defaults), X;
|
|
4462
|
+
}, X.getDefaults = Tt, X.defaults = q, X.use = function(...e) {
|
|
4463
|
+
return Zn.use(...e), X.defaults = Zn.defaults, Et(X.defaults), X;
|
|
4464
4464
|
}, X.walkTokens = function(e, t) {
|
|
4465
4465
|
return Zn.walkTokens(e, t);
|
|
4466
4466
|
}, X.parseInline = Zn.parseInline, X.Parser = Yn, X.parser = Yn.parse, X.Renderer = qn, X.TextRenderer = Jn, X.Lexer = Kn, X.lexer = Kn.lex, X.Tokenizer = Gn, X.Hooks = Xn, X.parse = X, X.options, X.setOptions, X.use, X.walkTokens, X.parseInline, Yn.parse, Kn.lex;
|
|
@@ -4489,7 +4489,7 @@ function er({ animation: e, index: t, as: n, asChild: r, className: i, style: a,
|
|
|
4489
4489
|
};
|
|
4490
4490
|
return t !== void 0 && (n["data-fragment-index"] = t), (0, P.cloneElement)(e, n);
|
|
4491
4491
|
}
|
|
4492
|
-
return /* @__PURE__ */ (0,
|
|
4492
|
+
return /* @__PURE__ */ (0, G.jsx)(n ?? "span", {
|
|
4493
4493
|
className: s,
|
|
4494
4494
|
style: a,
|
|
4495
4495
|
"data-fragment-index": t,
|
|
@@ -4538,14 +4538,14 @@ var or = (e) => {
|
|
|
4538
4538
|
let t = (0, F.c)(6), { className: n } = e, i;
|
|
4539
4539
|
t[0] === n ? i = t[1] : (i = r("pointer-events-none absolute inset-x-0 bottom-0 z-10 flex flex-col items-center", "animate-in fade-in-0 duration-200", n), t[0] = n, t[1] = i);
|
|
4540
4540
|
let a;
|
|
4541
|
-
t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0,
|
|
4541
|
+
t[2] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ (0, G.jsx)("div", { className: "h-16 w-full bg-linear-to-t from-background via-background/80 to-transparent" }), t[2] = a) : a = t[2];
|
|
4542
4542
|
let o;
|
|
4543
|
-
t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0,
|
|
4543
|
+
t[3] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
4544
4544
|
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",
|
|
4545
|
-
children: [/* @__PURE__ */ (0,
|
|
4545
|
+
children: [/* @__PURE__ */ (0, G.jsx)(E, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Scroll for more" })]
|
|
4546
4546
|
}), t[3] = o) : o = t[3];
|
|
4547
4547
|
let s;
|
|
4548
|
-
return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0,
|
|
4548
|
+
return t[4] === i ? s = t[5] : (s = /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
4549
4549
|
className: i,
|
|
4550
4550
|
"data-testid": "slide-scroll-hint",
|
|
4551
4551
|
"aria-hidden": !0,
|
|
@@ -4555,20 +4555,20 @@ var or = (e) => {
|
|
|
4555
4555
|
let t = (0, F.c)(10), { children: n, className: i } = e, a = (0, P.useRef)(null), o = (0, P.useRef)(null), s = ar(a, o), c;
|
|
4556
4556
|
t[0] === i ? c = t[1] : (c = r("relative h-full w-full", i), t[0] = i, t[1] = c);
|
|
4557
4557
|
let l;
|
|
4558
|
-
t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0,
|
|
4558
|
+
t[2] === n ? l = t[3] : (l = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
4559
4559
|
ref: a,
|
|
4560
4560
|
className: "h-full w-full overflow-auto",
|
|
4561
4561
|
"data-testid": "slide-scroll-container",
|
|
4562
|
-
children: /* @__PURE__ */ (0,
|
|
4562
|
+
children: /* @__PURE__ */ (0, G.jsx)("div", {
|
|
4563
4563
|
ref: o,
|
|
4564
4564
|
className: "flex w-full min-h-full",
|
|
4565
4565
|
children: n
|
|
4566
4566
|
})
|
|
4567
4567
|
}), t[2] = n, t[3] = l);
|
|
4568
4568
|
let u;
|
|
4569
|
-
t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0,
|
|
4569
|
+
t[4] === s ? u = t[5] : (u = s && /* @__PURE__ */ (0, G.jsx)(or, {}), t[4] = s, t[5] = u);
|
|
4570
4570
|
let d;
|
|
4571
|
-
return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0,
|
|
4571
|
+
return t[6] !== c || t[7] !== l || t[8] !== u ? (d = /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
4572
4572
|
className: c,
|
|
4573
4573
|
children: [l, u]
|
|
4574
4574
|
}), t[6] = c, t[7] = l, t[8] = u, t[9] = d) : d = t[9], d;
|
|
@@ -4722,27 +4722,27 @@ var mr = (e) => (n.warn("SlideCellView islands stub rendered; this should never
|
|
|
4722
4722
|
let x = b, S;
|
|
4723
4723
|
t[15] === s ? S = t[16] : (S = r("h-full min-h-0 flex flex-col bg-muted/40 dark:bg-muted/20 border-t", s), t[15] = s, t[16] = S);
|
|
4724
4724
|
let C;
|
|
4725
|
-
t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0,
|
|
4725
|
+
t[17] === Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ (0, G.jsxs)("header", {
|
|
4726
4726
|
className: "flex items-center gap-1.5 px-3 h-8 shrink-0 text-xs font-medium uppercase tracking-wide text-muted-foreground",
|
|
4727
|
-
children: [/* @__PURE__ */ (0,
|
|
4727
|
+
children: [/* @__PURE__ */ (0, G.jsx)(N, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: "Speaker notes" })]
|
|
4728
4728
|
}), t[17] = C) : C = t[17];
|
|
4729
4729
|
let w;
|
|
4730
|
-
t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0,
|
|
4730
|
+
t[18] !== o || t[19] !== l || t[20] !== x ? (w = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
4731
4731
|
className: "flex-1 min-h-0 p-2",
|
|
4732
|
-
children: o ? /* @__PURE__ */ (0,
|
|
4732
|
+
children: o ? /* @__PURE__ */ (0, G.jsx)("textarea", {
|
|
4733
4733
|
value: l,
|
|
4734
4734
|
onChange: (e) => x(e.target.value),
|
|
4735
4735
|
onClick: i.stopPropagation(),
|
|
4736
4736
|
placeholder: "Add notes for this slide. Visible to you in speaker view (press S during presentation).",
|
|
4737
4737
|
className: r("h-full w-full resize-none rounded-sm border border-input/25 bg-background", "px-3 py-2 text-sm leading-relaxed text-foreground placeholder:text-muted-foreground", "ring-offset-background focus-visible:outline-hidden focus-visible:ring-1 focus-visible:ring-ring focus-visible:border-accent"),
|
|
4738
4738
|
"aria-label": "Speaker notes for the current slide"
|
|
4739
|
-
}) : /* @__PURE__ */ (0,
|
|
4739
|
+
}) : /* @__PURE__ */ (0, G.jsx)("div", {
|
|
4740
4740
|
className: "h-full flex items-center justify-center text-xs text-muted-foreground",
|
|
4741
4741
|
children: "Select a slide to add notes."
|
|
4742
4742
|
})
|
|
4743
4743
|
}), t[18] = o, t[19] = l, t[20] = x, t[21] = w) : w = t[21];
|
|
4744
4744
|
let T;
|
|
4745
|
-
return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0,
|
|
4745
|
+
return t[22] !== S || t[23] !== w ? (T = /* @__PURE__ */ (0, G.jsxs)("section", {
|
|
4746
4746
|
className: S,
|
|
4747
4747
|
"aria-label": "Speaker notes",
|
|
4748
4748
|
onKeyDown: vr,
|
|
@@ -6326,11 +6326,11 @@ var ca = (e) => {
|
|
|
6326
6326
|
let e = n.split("\n");
|
|
6327
6327
|
r = "notes", i = e.map((t, n) => {
|
|
6328
6328
|
let r = n === e.length - 1;
|
|
6329
|
-
return t === "---" ? /* @__PURE__ */ (0,
|
|
6329
|
+
return t === "---" ? /* @__PURE__ */ (0, G.jsx)("hr", {}, n) : /* @__PURE__ */ (0, G.jsxs)(P.Fragment, { children: [t, !r && /* @__PURE__ */ (0, G.jsx)("br", {})] }, n);
|
|
6330
6330
|
}), t[0] = n, t[1] = r, t[2] = i;
|
|
6331
6331
|
} else r = t[1], i = t[2];
|
|
6332
6332
|
let a;
|
|
6333
|
-
return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0,
|
|
6333
|
+
return t[3] !== r || t[4] !== i ? (a = /* @__PURE__ */ (0, G.jsx)("aside", {
|
|
6334
6334
|
className: r,
|
|
6335
6335
|
children: i
|
|
6336
6336
|
}), t[3] = r, t[4] = i, t[5] = a) : a = t[5], a;
|
|
@@ -6396,18 +6396,18 @@ function pa(e) {
|
|
|
6396
6396
|
}
|
|
6397
6397
|
var ma = (e) => {
|
|
6398
6398
|
let t = (0, F.c)(13), { cell: n } = e, r;
|
|
6399
|
-
t[0] !== n.id || t[1] !== n.name ? (r =
|
|
6399
|
+
t[0] !== n.id || t[1] !== n.name ? (r = x(n.id, n.name), t[0] = n.id, t[1] = n.name, t[2] = r) : r = t[2];
|
|
6400
6400
|
let i = n.id, a = n.status, o = n.output, s;
|
|
6401
6401
|
t[3] === n ? s = t[4] : (s = l(n, !1), t[3] = n, t[4] = s);
|
|
6402
6402
|
let c;
|
|
6403
|
-
t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0,
|
|
6403
|
+
t[5] !== n.id || t[6] !== n.output || t[7] !== n.status || t[8] !== s ? (c = /* @__PURE__ */ (0, G.jsx)(m, {
|
|
6404
6404
|
cellId: i,
|
|
6405
6405
|
status: a,
|
|
6406
6406
|
output: o,
|
|
6407
6407
|
stale: s
|
|
6408
6408
|
}), t[5] = n.id, t[6] = n.output, t[7] = n.status, t[8] = s, t[9] = c) : c = t[9];
|
|
6409
6409
|
let u;
|
|
6410
|
-
return t[10] !== r || t[11] !== c ? (u = /* @__PURE__ */ (0,
|
|
6410
|
+
return t[10] !== r || t[11] !== c ? (u = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6411
6411
|
className: "flex flex-col",
|
|
6412
6412
|
...r,
|
|
6413
6413
|
children: c
|
|
@@ -6418,30 +6418,30 @@ var ma = (e) => {
|
|
|
6418
6418
|
let { slideLevel: e, cumulativeByBlock: p } = xr(n, a);
|
|
6419
6419
|
l = e;
|
|
6420
6420
|
let m = n.blocks.some((e) => e.cells.some((e) => r(e.id)));
|
|
6421
|
-
c =
|
|
6422
|
-
let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0,
|
|
6421
|
+
c = Ct, s = sr, u = m ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content", d = o, f = n.blocks.map((e, t) => {
|
|
6422
|
+
let n = e.cells.map((e) => r(e.id) ? i ? /* @__PURE__ */ (0, G.jsx)(mr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(hr, { cell: e }, e.id) : /* @__PURE__ */ (0, G.jsx)(ma, { cell: e }, e.id));
|
|
6423
6423
|
if (e.isFragment) {
|
|
6424
6424
|
let e = p.get(t);
|
|
6425
|
-
return /* @__PURE__ */ (0,
|
|
6425
|
+
return /* @__PURE__ */ (0, G.jsxs)(er, {
|
|
6426
6426
|
as: "div",
|
|
6427
|
-
children: [n, e && /* @__PURE__ */ (0,
|
|
6427
|
+
children: [n, e && /* @__PURE__ */ (0, G.jsx)(ca, { text: e })]
|
|
6428
6428
|
}, t);
|
|
6429
6429
|
}
|
|
6430
|
-
return /* @__PURE__ */ (0,
|
|
6430
|
+
return /* @__PURE__ */ (0, G.jsx)(P.Fragment, { children: n }, t);
|
|
6431
6431
|
}), 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;
|
|
6432
6432
|
} else s = t[5], c = t[6], l = t[7], u = t[8], d = t[9], f = t[10];
|
|
6433
6433
|
let p;
|
|
6434
|
-
t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0,
|
|
6434
|
+
t[11] !== u || t[12] !== d || t[13] !== f ? (p = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6435
6435
|
className: u,
|
|
6436
6436
|
style: d,
|
|
6437
6437
|
children: f
|
|
6438
6438
|
}), t[11] = u, t[12] = d, t[13] = f, t[14] = p) : p = t[14];
|
|
6439
6439
|
let m;
|
|
6440
|
-
t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0,
|
|
6440
|
+
t[15] !== s || t[16] !== p ? (m = /* @__PURE__ */ (0, G.jsx)(s, { children: p }), t[15] = s, t[16] = p, t[17] = m) : m = t[17];
|
|
6441
6441
|
let h;
|
|
6442
|
-
t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0,
|
|
6442
|
+
t[18] === l ? h = t[19] : (h = l && /* @__PURE__ */ (0, G.jsx)(ca, { text: l }), t[18] = l, t[19] = h);
|
|
6443
6443
|
let g;
|
|
6444
|
-
return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0,
|
|
6444
|
+
return t[20] !== c || t[21] !== m || t[22] !== h ? (g = /* @__PURE__ */ (0, G.jsxs)(c, { children: [m, h] }), t[20] = c, t[21] = m, t[22] = h, t[23] = g) : g = t[23], g;
|
|
6445
6445
|
};
|
|
6446
6446
|
function ga(e) {
|
|
6447
6447
|
let { isNoOutputPreview: t, isEditable: n, showCode: r } = e;
|
|
@@ -6455,18 +6455,18 @@ var _a = (e) => {
|
|
|
6455
6455
|
showCode: a
|
|
6456
6456
|
})) {
|
|
6457
6457
|
let e;
|
|
6458
|
-
return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0,
|
|
6458
|
+
return t[0] !== n || t[1] !== i ? (e = i ? /* @__PURE__ */ (0, G.jsx)(mr, { cell: n }) : /* @__PURE__ */ (0, G.jsx)(hr, { cell: n }), t[0] = n, t[1] = i, t[2] = e) : e = t[2], e;
|
|
6459
6459
|
}
|
|
6460
6460
|
let o;
|
|
6461
|
-
return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0,
|
|
6461
|
+
return t[3] === n ? o = t[4] : (o = /* @__PURE__ */ (0, G.jsx)(ma, { cell: n }), t[3] = n, t[4] = o), o;
|
|
6462
6462
|
}, va = (e) => {
|
|
6463
|
-
let n = (0, F.c)(160), { slideCells: o, layout: s, setLayout: l, noOutputIds: u, activeIndex:
|
|
6464
|
-
n[0] !== ae || n[1] !== oe ? (le = ae || !
|
|
6463
|
+
let n = (0, F.c)(160), { slideCells: o, layout: s, setLayout: l, noOutputIds: u, activeIndex: m, onSlideChange: x, mode: E, configWidth: D, isEditable: O } = e, N = O !== void 0 && O, te = (0, P.useRef)(null), ne = (0, P.useRef)(null), { width: I, height: re } = sa(te), ie = k() != null, ae = j(c), oe = j(b).kind, se = j(y), ce = oe !== "wasm" || se, le;
|
|
6464
|
+
n[0] !== ae || n[1] !== oe ? (le = ae || !S(oe) ? [] : [$i], n[0] = ae, n[1] = oe, n[2] = le) : le = n[2];
|
|
6465
6465
|
let ue = le, [de, L] = (0, P.useState)(ya), fe = v(o), pe;
|
|
6466
6466
|
n[3] === fe ? pe = n[4] : (pe = !ee() && fe, n[3] = fe, n[4] = pe);
|
|
6467
6467
|
let R = pe, me;
|
|
6468
6468
|
n[5] === ae ? me = n[6] : (me = g(ae, window.location.search), n[5] = ae, n[6] = me);
|
|
6469
|
-
let z = !me && R, he =
|
|
6469
|
+
let z = !me && R, he = m == null ? void 0 : o[m], ge;
|
|
6470
6470
|
n[7] !== he || n[8] !== o ? (ge = he ?? o.at(0), n[7] = he, n[8] = o, n[9] = ge) : ge = n[9];
|
|
6471
6471
|
let _e = ge, ve;
|
|
6472
6472
|
n[10] !== he || n[11] !== s.cells || n[12] !== u ? (ve = {
|
|
@@ -6481,215 +6481,215 @@ var _a = (e) => {
|
|
|
6481
6481
|
showCodeOverrides: de,
|
|
6482
6482
|
codeAvailable: R
|
|
6483
6483
|
}), n[14] = R, n[15] = s.cells, n[16] = de, n[17] = we) : we = n[17];
|
|
6484
|
-
let V = we,
|
|
6485
|
-
n[18] !==
|
|
6486
|
-
let
|
|
6487
|
-
n[23] !==
|
|
6488
|
-
let
|
|
6489
|
-
n[27] !== xe || n[28] !== s.cells || n[29] !== u ? (
|
|
6484
|
+
let V = we, H = he?.id ?? _e?.id, Te;
|
|
6485
|
+
n[18] !== H || n[19] !== Se || n[20] !== ye || n[21] !== V ? (Te = ye ? Se : V(H), n[18] = H, n[19] = Se, n[20] = ye, n[21] = V, n[22] = Te) : Te = n[22];
|
|
6486
|
+
let Ee = Te, De;
|
|
6487
|
+
n[23] !== H || n[24] !== R || n[25] !== s.cells ? (De = R && H != null && (s.cells.get(H)?.showCode ?? !1), n[23] = H, n[24] = R, n[25] = s.cells, n[26] = De) : De = n[26];
|
|
6488
|
+
let Oe = De, ke;
|
|
6489
|
+
n[27] !== xe || n[28] !== s.cells || n[29] !== u ? (ke = (e) => ua({
|
|
6490
6490
|
cell: e,
|
|
6491
6491
|
noOutputIds: u,
|
|
6492
6492
|
heldEditCellId: xe,
|
|
6493
6493
|
slideConfigs: s.cells
|
|
6494
|
-
}), n[27] = xe, n[28] = s.cells, n[29] = u, n[30] =
|
|
6495
|
-
let
|
|
6496
|
-
n[31] !== o || n[32] !==
|
|
6494
|
+
}), n[27] = xe, n[28] = s.cells, n[29] = u, n[30] = ke) : ke = n[30];
|
|
6495
|
+
let Ae;
|
|
6496
|
+
n[31] !== o || n[32] !== ke ? (Ae = cr({
|
|
6497
6497
|
cells: o,
|
|
6498
|
-
getType:
|
|
6499
|
-
}), n[31] = o, n[32] =
|
|
6500
|
-
let
|
|
6501
|
-
n[34] !==
|
|
6502
|
-
composition:
|
|
6498
|
+
getType: ke
|
|
6499
|
+
}), n[31] = o, n[32] = ke, n[33] = Ae) : Ae = n[33];
|
|
6500
|
+
let je = Ae, Me;
|
|
6501
|
+
n[34] !== je || n[35] !== o ? (Me = lr({
|
|
6502
|
+
composition: je,
|
|
6503
6503
|
cells: o,
|
|
6504
6504
|
getId: ba
|
|
6505
|
-
}), n[34] =
|
|
6506
|
-
let { cellToTarget:
|
|
6507
|
-
n[37] ===
|
|
6508
|
-
let
|
|
6509
|
-
n[39] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
6510
|
-
let
|
|
6511
|
-
n[40] !==
|
|
6505
|
+
}), n[34] = je, n[35] = o, n[36] = Me) : Me = n[36];
|
|
6506
|
+
let { cellToTarget: Ne, targetToCellIndex: Pe } = Me, Fe = s.deck?.transition ?? "slide", U = s.deck?.verticalAlign, Ie;
|
|
6507
|
+
n[37] === U ? Ie = n[38] : (Ie = pa(U), n[37] = U, n[38] = Ie);
|
|
6508
|
+
let Le = Ie, Re;
|
|
6509
|
+
n[39] === Symbol.for("react.memo_cache_sentinel") ? (Re = f(window.location.href), n[39] = Re) : Re = n[39];
|
|
6510
|
+
let ze = Re, Be;
|
|
6511
|
+
n[40] !== Fe || n[41] !== re || n[42] !== I ? (Be = {
|
|
6512
6512
|
embedded: !0,
|
|
6513
6513
|
width: I,
|
|
6514
6514
|
height: re,
|
|
6515
6515
|
center: !1,
|
|
6516
6516
|
minScale: .2,
|
|
6517
6517
|
maxScale: 2,
|
|
6518
|
-
transition:
|
|
6518
|
+
transition: Fe,
|
|
6519
6519
|
keyboardCondition: xa,
|
|
6520
|
-
url:
|
|
6520
|
+
url: ze,
|
|
6521
6521
|
scrollActivationWidth: 0
|
|
6522
|
-
}, n[40] =
|
|
6523
|
-
let
|
|
6524
|
-
n[44] !==
|
|
6525
|
-
if (
|
|
6522
|
+
}, n[40] = Fe, n[41] = re, n[42] = I, n[43] = Be) : Be = n[43];
|
|
6523
|
+
let Ve = Be, He;
|
|
6524
|
+
n[44] !== m || n[45] !== ce || n[46] !== Ne || n[47] !== o ? (He = (e) => {
|
|
6525
|
+
if (m == null && window.location.hash.startsWith("#/")) {
|
|
6526
6526
|
if (!ce) return;
|
|
6527
6527
|
window.dispatchEvent(new HashChangeEvent("hashchange")), ra(e);
|
|
6528
6528
|
return;
|
|
6529
6529
|
}
|
|
6530
6530
|
let t = fr({
|
|
6531
|
-
activeIndex:
|
|
6531
|
+
activeIndex: m,
|
|
6532
6532
|
cells: o,
|
|
6533
|
-
cellToTarget:
|
|
6533
|
+
cellToTarget: Ne,
|
|
6534
6534
|
getId: Sa
|
|
6535
6535
|
}), n = t && pr(e.getIndices(), t);
|
|
6536
6536
|
n && (e.slide(n.h, n.v, n.f), ra(e));
|
|
6537
|
-
}, n[44] =
|
|
6538
|
-
let
|
|
6539
|
-
n[49] ===
|
|
6537
|
+
}, n[44] = m, n[45] = ce, n[46] = Ne, n[47] = o, n[48] = He) : He = n[48];
|
|
6538
|
+
let Ue = M(He), We;
|
|
6539
|
+
n[49] === Ue ? We = n[50] : (We = () => {
|
|
6540
6540
|
let e = ne.current;
|
|
6541
|
-
e != null &&
|
|
6542
|
-
}, n[49] =
|
|
6543
|
-
let
|
|
6544
|
-
n[51] !==
|
|
6545
|
-
|
|
6541
|
+
e != null && Ue(e);
|
|
6542
|
+
}, n[49] = Ue, n[50] = We);
|
|
6543
|
+
let Ge;
|
|
6544
|
+
n[51] !== m || n[52] !== ce || n[53] !== Ne || n[54] !== Ue || n[55] !== o ? (Ge = [
|
|
6545
|
+
m,
|
|
6546
6546
|
ce,
|
|
6547
|
-
|
|
6547
|
+
Ne,
|
|
6548
6548
|
o,
|
|
6549
|
-
|
|
6550
|
-
], n[51] =
|
|
6551
|
-
let
|
|
6552
|
-
n[57] !==
|
|
6553
|
-
if (!(
|
|
6549
|
+
Ue
|
|
6550
|
+
], n[51] = m, n[52] = ce, n[53] = Ne, n[54] = Ue, n[55] = o, n[56] = Ge) : Ge = n[56], (0, P.useEffect)(We, Ge);
|
|
6551
|
+
let Ke;
|
|
6552
|
+
n[57] !== H || n[58] !== Oe || n[59] !== ye || n[60] !== Ce ? (Ke = () => {
|
|
6553
|
+
if (!(H == null || Oe)) {
|
|
6554
6554
|
if (ye) {
|
|
6555
6555
|
Ce();
|
|
6556
6556
|
return;
|
|
6557
6557
|
}
|
|
6558
6558
|
(0, P.startTransition)(() => L((e) => {
|
|
6559
6559
|
let t = new Set(e);
|
|
6560
|
-
return t.has(
|
|
6560
|
+
return t.has(H) ? t.delete(H) : t.add(H), t;
|
|
6561
6561
|
}));
|
|
6562
6562
|
}
|
|
6563
|
-
}, n[57] =
|
|
6564
|
-
let
|
|
6565
|
-
n[62] !== z || n[63] !==
|
|
6563
|
+
}, n[57] = H, n[58] = Oe, n[59] = ye, n[60] = Ce, n[61] = Ke) : Ke = n[61];
|
|
6564
|
+
let qe = M(Ke), Je, Ye;
|
|
6565
|
+
n[62] !== z || n[63] !== qe ? (Je = () => {
|
|
6566
6566
|
let e = ne.current;
|
|
6567
6567
|
return e && na({
|
|
6568
6568
|
deck: e,
|
|
6569
6569
|
enabled: z,
|
|
6570
|
-
onToggle:
|
|
6570
|
+
onToggle: qe
|
|
6571
6571
|
}), () => {
|
|
6572
6572
|
ne.current?.removeKeyBinding(ta);
|
|
6573
6573
|
};
|
|
6574
|
-
},
|
|
6575
|
-
let
|
|
6576
|
-
n[66] !==
|
|
6574
|
+
}, Ye = [z, qe], n[62] = z, n[63] = qe, n[64] = Je, n[65] = Ye) : (Je = n[64], Ye = n[65]), (0, P.useEffect)(Je, Ye);
|
|
6575
|
+
let Xe;
|
|
6576
|
+
n[66] !== x || n[67] !== B || n[68] !== Pe ? (Xe = (e) => {
|
|
6577
6577
|
if (B != null) return;
|
|
6578
|
-
let t = ur(
|
|
6579
|
-
t != null &&
|
|
6580
|
-
}, n[66] =
|
|
6581
|
-
let
|
|
6582
|
-
n[70] ===
|
|
6578
|
+
let t = ur(Pe, e.getIndices());
|
|
6579
|
+
t != null && x?.(t);
|
|
6580
|
+
}, n[66] = x, n[67] = B, n[68] = Pe, n[69] = Xe) : Xe = n[69];
|
|
6581
|
+
let Ze = M(Xe), Qe;
|
|
6582
|
+
n[70] === Ze ? Qe = n[71] : (Qe = () => {
|
|
6583
6583
|
let e = ne.current;
|
|
6584
|
-
e &&
|
|
6585
|
-
}, n[70] =
|
|
6586
|
-
let
|
|
6587
|
-
n[72] !== ce || n[73] !== z || n[74] !==
|
|
6588
|
-
|
|
6584
|
+
e && Ze(e);
|
|
6585
|
+
}, n[70] = Ze, n[71] = Qe);
|
|
6586
|
+
let $e = M(Qe), et;
|
|
6587
|
+
n[72] !== ce || n[73] !== z || n[74] !== Ue || n[75] !== Ze || n[76] !== qe ? (et = (e) => {
|
|
6588
|
+
Ue(e), ce && Ze(e), na({
|
|
6589
6589
|
deck: e,
|
|
6590
6590
|
enabled: z,
|
|
6591
|
-
onToggle:
|
|
6591
|
+
onToggle: qe
|
|
6592
6592
|
});
|
|
6593
6593
|
let t = e.getSlidesElement()?.closest(".reveal");
|
|
6594
6594
|
t instanceof HTMLElement && (t.tabIndex = -1, t.focus({ preventScroll: !0 }));
|
|
6595
|
-
}, n[72] = ce, n[73] = z, n[74] =
|
|
6596
|
-
let
|
|
6597
|
-
n[78] !==
|
|
6598
|
-
if (!B ||
|
|
6595
|
+
}, n[72] = ce, n[73] = z, n[74] = Ue, n[75] = Ze, n[76] = qe, n[77] = et) : et = n[77];
|
|
6596
|
+
let tt = M(et), nt;
|
|
6597
|
+
n[78] !== m || n[79] !== x || n[80] !== B || n[81] !== o ? (nt = (e) => {
|
|
6598
|
+
if (!B || m == null || i.fromInput(e)) return;
|
|
6599
6599
|
let t = oa(e);
|
|
6600
6600
|
if (t === 0) return;
|
|
6601
6601
|
e.preventDefault(), e.stopPropagation();
|
|
6602
|
-
let n =
|
|
6603
|
-
n < 0 || n >= o.length ||
|
|
6604
|
-
}, n[78] =
|
|
6605
|
-
let
|
|
6606
|
-
n[83] ===
|
|
6607
|
-
|
|
6608
|
-
}, n[83] =
|
|
6609
|
-
let
|
|
6610
|
-
n[85] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
6611
|
-
let
|
|
6612
|
-
n[86] !== Se || n[87] !== ye || n[88] !== B?.id || n[89] !== V ? (
|
|
6613
|
-
let
|
|
6614
|
-
n[91] !== N || n[92] !== be || n[93] !==
|
|
6602
|
+
let n = m + t;
|
|
6603
|
+
n < 0 || n >= o.length || x?.(n);
|
|
6604
|
+
}, n[78] = m, n[79] = x, n[80] = B, n[81] = o, n[82] = nt) : nt = n[82];
|
|
6605
|
+
let rt = M(nt), it;
|
|
6606
|
+
n[83] === $e ? it = n[84] : (it = () => {
|
|
6607
|
+
$e();
|
|
6608
|
+
}, n[83] = $e, n[84] = it);
|
|
6609
|
+
let at = M(it), ot;
|
|
6610
|
+
n[85] === Symbol.for("react.memo_cache_sentinel") ? (ot = { capture: !0 }, n[85] = ot) : ot = n[85], t(document, "keydown", rt, ot);
|
|
6611
|
+
let st = ye ? null : be ? "Hidden as there is no output" : "Skipped in presentation", ct;
|
|
6612
|
+
n[86] !== Se || n[87] !== ye || n[88] !== B?.id || n[89] !== V ? (ct = ye ? Se : V(B?.id), n[86] = Se, n[87] = ye, n[88] = B?.id, n[89] = V, n[90] = ct) : ct = n[90];
|
|
6613
|
+
let lt = ct, ut;
|
|
6614
|
+
n[91] !== N || n[92] !== be || n[93] !== lt ? (ut = ga({
|
|
6615
6615
|
isNoOutputPreview: be,
|
|
6616
6616
|
isEditable: N,
|
|
6617
|
-
showCode:
|
|
6618
|
-
}), n[91] = N, n[92] = be, n[93] =
|
|
6619
|
-
let
|
|
6620
|
-
n[95] !== re || n[96] !== I ? (
|
|
6617
|
+
showCode: lt
|
|
6618
|
+
}), n[91] = N, n[92] = be, n[93] = lt, n[94] = ut) : ut = n[94];
|
|
6619
|
+
let dt = ut, W;
|
|
6620
|
+
n[95] !== re || n[96] !== I ? (W = {
|
|
6621
6621
|
width: I,
|
|
6622
6622
|
height: re
|
|
6623
|
-
}, n[95] = re, n[96] = I, n[97] =
|
|
6624
|
-
let
|
|
6625
|
-
if (n[98] !==
|
|
6623
|
+
}, n[95] = re, n[96] = I, n[97] = W) : W = n[97];
|
|
6624
|
+
let ft;
|
|
6625
|
+
if (n[98] !== je.stacks || n[99] !== N || n[100] !== s.cells || n[101] !== V || n[102] !== Le) {
|
|
6626
6626
|
let e;
|
|
6627
|
-
n[104] !== N || n[105] !== s.cells || n[106] !== V || n[107] !==
|
|
6627
|
+
n[104] !== N || n[105] !== s.cells || n[106] !== V || n[107] !== Le ? (e = (e, t) => e.subslides.length === 1 ? /* @__PURE__ */ (0, G.jsx)(ha, {
|
|
6628
6628
|
subslide: e.subslides[0],
|
|
6629
6629
|
resolveShowCode: V,
|
|
6630
6630
|
isEditable: N,
|
|
6631
6631
|
slideConfigs: s.cells,
|
|
6632
|
-
contentStyle:
|
|
6633
|
-
}, t) : /* @__PURE__ */ (0,
|
|
6632
|
+
contentStyle: Le
|
|
6633
|
+
}, t) : /* @__PURE__ */ (0, G.jsx)(wt, { children: e.subslides.map((e, t) => /* @__PURE__ */ (0, G.jsx)(ha, {
|
|
6634
6634
|
subslide: e,
|
|
6635
6635
|
resolveShowCode: V,
|
|
6636
6636
|
isEditable: N,
|
|
6637
6637
|
slideConfigs: s.cells,
|
|
6638
|
-
contentStyle:
|
|
6639
|
-
}, t)) }, t), n[104] = N, n[105] = s.cells, n[106] = V, n[107] =
|
|
6640
|
-
} else
|
|
6641
|
-
let
|
|
6642
|
-
n[109] !== ue || n[110] !==
|
|
6638
|
+
contentStyle: Le
|
|
6639
|
+
}, t)) }, t), n[104] = N, n[105] = s.cells, n[106] = V, n[107] = Le, n[108] = e) : e = n[108], ft = je.stacks.map(e), n[98] = je.stacks, n[99] = N, n[100] = s.cells, n[101] = V, n[102] = Le, n[103] = ft;
|
|
6640
|
+
} else ft = n[103];
|
|
6641
|
+
let pt;
|
|
6642
|
+
n[109] !== ue || n[110] !== tt || n[111] !== at || n[112] !== $e || n[113] !== Ve || n[114] !== ft ? (pt = /* @__PURE__ */ (0, G.jsx)(yt, {
|
|
6643
6643
|
deckRef: ne,
|
|
6644
6644
|
className: "aspect-video w-full overflow-hidden border rounded bg-background mo-slides-theme prose-slides focus:outline-hidden focus-visible:outline-hidden",
|
|
6645
|
-
config:
|
|
6646
|
-
onReady:
|
|
6647
|
-
onSlideChange:
|
|
6648
|
-
onFragmentShown:
|
|
6649
|
-
onFragmentHidden:
|
|
6645
|
+
config: Ve,
|
|
6646
|
+
onReady: tt,
|
|
6647
|
+
onSlideChange: at,
|
|
6648
|
+
onFragmentShown: $e,
|
|
6649
|
+
onFragmentHidden: $e,
|
|
6650
6650
|
plugins: ue,
|
|
6651
|
-
children:
|
|
6652
|
-
}), n[109] = ue, n[110] =
|
|
6653
|
-
let
|
|
6654
|
-
n[116] !== N || n[117] !== be || n[118] !== B || n[119] !==
|
|
6651
|
+
children: ft
|
|
6652
|
+
}), n[109] = ue, n[110] = tt, n[111] = at, n[112] = $e, n[113] = Ve, n[114] = ft, n[115] = pt) : pt = n[115];
|
|
6653
|
+
let mt;
|
|
6654
|
+
n[116] !== N || n[117] !== be || n[118] !== B || n[119] !== st || n[120] !== lt || n[121] !== dt || n[122] !== Le ? (mt = B && /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
6655
6655
|
className: "absolute inset-0 z-10 border rounded bg-background flex flex-col overflow-hidden",
|
|
6656
|
-
"aria-label":
|
|
6657
|
-
children: [
|
|
6656
|
+
"aria-label": st ?? void 0,
|
|
6657
|
+
children: [st && /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
6658
6658
|
className: "flex items-center gap-1.5 px-3 py-1.5 text-xs text-muted-foreground border-b bg-muted/40",
|
|
6659
|
-
children: [/* @__PURE__ */ (0,
|
|
6660
|
-
}), /* @__PURE__ */ (0,
|
|
6659
|
+
children: [/* @__PURE__ */ (0, G.jsx)(d, { className: "h-3.5 w-3.5" }), /* @__PURE__ */ (0, G.jsx)("span", { children: st })]
|
|
6660
|
+
}), /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6661
6661
|
className: "flex-1 overflow-auto flex",
|
|
6662
|
-
children: /* @__PURE__ */ (0,
|
|
6663
|
-
className:
|
|
6664
|
-
style:
|
|
6665
|
-
children: /* @__PURE__ */ (0,
|
|
6662
|
+
children: /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6663
|
+
className: dt ? "mo-slide-content flex flex-col gap-3" : "mo-slide-content",
|
|
6664
|
+
style: Le,
|
|
6665
|
+
children: /* @__PURE__ */ (0, G.jsx)(_a, {
|
|
6666
6666
|
cell: B,
|
|
6667
6667
|
isNoOutputPreview: be,
|
|
6668
6668
|
isEditable: N,
|
|
6669
|
-
showCode:
|
|
6669
|
+
showCode: lt
|
|
6670
6670
|
})
|
|
6671
6671
|
})
|
|
6672
6672
|
})]
|
|
6673
|
-
}, B.id), n[116] = N, n[117] = be, n[118] = B, n[119] =
|
|
6674
|
-
let
|
|
6675
|
-
n[124] !==
|
|
6676
|
-
content:
|
|
6677
|
-
children: /* @__PURE__ */ (0,
|
|
6673
|
+
}, B.id), n[116] = N, n[117] = be, n[118] = B, n[119] = st, n[120] = lt, n[121] = dt, n[122] = Le, n[123] = mt) : mt = n[123];
|
|
6674
|
+
let ht;
|
|
6675
|
+
n[124] !== Ee || n[125] !== Oe || n[126] !== z || n[127] !== qe ? (ht = z && /* @__PURE__ */ (0, G.jsx)(A, {
|
|
6676
|
+
content: Oe ? "Code is always shown for this slide" : Ee ? "Hide code (C)" : "Show code (C)",
|
|
6677
|
+
children: /* @__PURE__ */ (0, G.jsx)(a, {
|
|
6678
6678
|
"data-testid": "marimo-plugin-slides-toggle-code",
|
|
6679
6679
|
variant: "ghost",
|
|
6680
6680
|
size: "icon",
|
|
6681
|
-
className: r("text-muted-foreground h-7 w-7",
|
|
6682
|
-
"aria-pressed":
|
|
6683
|
-
"aria-disabled":
|
|
6684
|
-
"aria-label":
|
|
6685
|
-
onClick:
|
|
6686
|
-
children: /* @__PURE__ */ (0,
|
|
6681
|
+
className: r("text-muted-foreground h-7 w-7", Ee && "text-foreground bg-muted", Oe && "opacity-50 cursor-not-allowed"),
|
|
6682
|
+
"aria-pressed": Ee,
|
|
6683
|
+
"aria-disabled": Oe,
|
|
6684
|
+
"aria-label": Oe ? "Code always shown" : Ee ? "Hide code" : "Show code",
|
|
6685
|
+
onClick: qe,
|
|
6686
|
+
children: /* @__PURE__ */ (0, G.jsx)(T, { className: "h-4 w-4" })
|
|
6687
6687
|
})
|
|
6688
|
-
}), n[124] =
|
|
6689
|
-
let
|
|
6690
|
-
n[129] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
6688
|
+
}), n[124] = Ee, n[125] = Oe, n[126] = z, n[127] = qe, n[128] = ht) : ht = n[128];
|
|
6689
|
+
let gt;
|
|
6690
|
+
n[129] === Symbol.for("react.memo_cache_sentinel") ? (gt = /* @__PURE__ */ (0, G.jsx)(A, {
|
|
6691
6691
|
content: "Fullscreen (F)",
|
|
6692
|
-
children: /* @__PURE__ */ (0,
|
|
6692
|
+
children: /* @__PURE__ */ (0, G.jsx)(a, {
|
|
6693
6693
|
"data-testid": "marimo-plugin-slides-fullscreen",
|
|
6694
6694
|
variant: "ghost",
|
|
6695
6695
|
size: "icon",
|
|
@@ -6698,88 +6698,88 @@ var _a = (e) => {
|
|
|
6698
6698
|
onClick: () => {
|
|
6699
6699
|
ne.current?.getViewportElement()?.requestFullscreen().catch(Ca);
|
|
6700
6700
|
},
|
|
6701
|
-
children: /* @__PURE__ */ (0,
|
|
6701
|
+
children: /* @__PURE__ */ (0, G.jsx)(w, { className: "h-4 w-4" })
|
|
6702
6702
|
})
|
|
6703
|
-
}), n[129] =
|
|
6704
|
-
let
|
|
6705
|
-
n[130] ===
|
|
6703
|
+
}), n[129] = gt) : gt = n[129];
|
|
6704
|
+
let _t;
|
|
6705
|
+
n[130] === ht ? _t = n[131] : (_t = /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
6706
6706
|
className: "absolute top-2 right-2 z-20 opacity-0 group-hover:opacity-70 text-muted-foreground transition-opacity",
|
|
6707
|
-
children: [
|
|
6708
|
-
}), n[130] =
|
|
6709
|
-
let
|
|
6710
|
-
n[132] !==
|
|
6707
|
+
children: [ht, gt]
|
|
6708
|
+
}), n[130] = ht, n[131] = _t);
|
|
6709
|
+
let vt;
|
|
6710
|
+
n[132] !== W || n[133] !== pt || n[134] !== mt || n[135] !== _t ? (vt = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6711
6711
|
ref: te,
|
|
6712
6712
|
className: "h-full w-full min-w-0 flex items-center justify-center overflow-hidden",
|
|
6713
|
-
children: /* @__PURE__ */ (0,
|
|
6713
|
+
children: /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
6714
6714
|
className: "group relative",
|
|
6715
|
-
style:
|
|
6715
|
+
style: W,
|
|
6716
6716
|
children: [
|
|
6717
|
+
pt,
|
|
6717
6718
|
mt,
|
|
6718
|
-
|
|
6719
|
-
vt
|
|
6719
|
+
_t
|
|
6720
6720
|
]
|
|
6721
6721
|
})
|
|
6722
|
-
}), n[132] =
|
|
6723
|
-
let
|
|
6722
|
+
}), n[132] = W, n[133] = pt, n[134] = mt, n[135] = _t, n[136] = vt) : vt = n[136];
|
|
6723
|
+
let K = vt;
|
|
6724
6724
|
if (E === "read") {
|
|
6725
6725
|
let e;
|
|
6726
|
-
return n[137] ===
|
|
6726
|
+
return n[137] === K ? e = n[138] : (e = /* @__PURE__ */ (0, G.jsx)("div", {
|
|
6727
6727
|
className: "flex-1 min-w-0 flex flex-row gap-3",
|
|
6728
|
-
children:
|
|
6729
|
-
}), n[137] =
|
|
6728
|
+
children: K
|
|
6729
|
+
}), n[137] = K, n[138] = e), e;
|
|
6730
6730
|
}
|
|
6731
|
-
let
|
|
6732
|
-
n[139] ===
|
|
6731
|
+
let bt;
|
|
6732
|
+
n[139] === K ? bt = n[140] : (bt = /* @__PURE__ */ (0, G.jsx)(p, {
|
|
6733
6733
|
defaultSize: 92,
|
|
6734
6734
|
minSize: 60,
|
|
6735
|
-
children:
|
|
6736
|
-
}), n[139] =
|
|
6737
|
-
let
|
|
6738
|
-
n[141] === Symbol.for("react.memo_cache_sentinel") ? (
|
|
6735
|
+
children: K
|
|
6736
|
+
}), n[139] = K, n[140] = bt);
|
|
6737
|
+
let xt;
|
|
6738
|
+
n[141] === Symbol.for("react.memo_cache_sentinel") ? (xt = {
|
|
6739
6739
|
coarse: 12,
|
|
6740
6740
|
fine: 4
|
|
6741
|
-
}, n[141] =
|
|
6742
|
-
let
|
|
6743
|
-
n[142] === ie ?
|
|
6741
|
+
}, n[141] = xt) : xt = n[141];
|
|
6742
|
+
let St;
|
|
6743
|
+
n[142] === ie ? St = n[143] : (St = /* @__PURE__ */ (0, G.jsx)(C, {
|
|
6744
6744
|
className: "mo-slides-notes-resize",
|
|
6745
|
-
hitAreaMargins:
|
|
6745
|
+
hitAreaMargins: xt,
|
|
6746
6746
|
disabled: ie
|
|
6747
|
-
}), n[142] = ie, n[143] =
|
|
6748
|
-
let
|
|
6749
|
-
n[144] !== s || n[145] !== l || n[146] !==
|
|
6747
|
+
}), n[142] = ie, n[143] = St);
|
|
6748
|
+
let Ct = _e?.id, Tt;
|
|
6749
|
+
n[144] !== s || n[145] !== l || n[146] !== Ct ? (Tt = /* @__PURE__ */ (0, G.jsx)(p, {
|
|
6750
6750
|
defaultSize: 10,
|
|
6751
6751
|
minSize: 4,
|
|
6752
6752
|
collapsible: !0,
|
|
6753
6753
|
collapsedSize: 4,
|
|
6754
|
-
children: /* @__PURE__ */ (0,
|
|
6754
|
+
children: /* @__PURE__ */ (0, G.jsx)(_r, {
|
|
6755
6755
|
layout: s,
|
|
6756
6756
|
setLayout: l,
|
|
6757
|
-
cellId:
|
|
6757
|
+
cellId: Ct
|
|
6758
6758
|
})
|
|
6759
|
-
}), n[144] = s, n[145] = l, n[146] =
|
|
6760
|
-
let
|
|
6761
|
-
n[148] !==
|
|
6759
|
+
}), n[144] = s, n[145] = l, n[146] = Ct, n[147] = Tt) : Tt = n[147];
|
|
6760
|
+
let q;
|
|
6761
|
+
n[148] !== bt || n[149] !== St || n[150] !== Tt ? (q = /* @__PURE__ */ (0, G.jsxs)(_, {
|
|
6762
6762
|
direction: "vertical",
|
|
6763
6763
|
autoSaveId: "marimo:slides:notes-panel",
|
|
6764
6764
|
className: "flex-1 min-w-0",
|
|
6765
6765
|
children: [
|
|
6766
|
-
|
|
6767
|
-
|
|
6768
|
-
|
|
6766
|
+
bt,
|
|
6767
|
+
St,
|
|
6768
|
+
Tt
|
|
6769
6769
|
]
|
|
6770
|
-
}), n[148] =
|
|
6771
|
-
let
|
|
6772
|
-
n[152] !== _e || n[153] !== D || n[154] !== s || n[155] !== l ? (
|
|
6770
|
+
}), n[148] = bt, n[149] = St, n[150] = Tt, n[151] = q) : q = n[151];
|
|
6771
|
+
let Et;
|
|
6772
|
+
n[152] !== _e || n[153] !== D || n[154] !== s || n[155] !== l ? (Et = /* @__PURE__ */ (0, G.jsx)(h, {
|
|
6773
6773
|
configWidth: D,
|
|
6774
6774
|
layout: s,
|
|
6775
6775
|
setLayout: l,
|
|
6776
6776
|
activeConfigCell: _e
|
|
6777
|
-
}), n[152] = _e, n[153] = D, n[154] = s, n[155] = l, n[156] =
|
|
6778
|
-
let
|
|
6779
|
-
return n[157] !==
|
|
6777
|
+
}), n[152] = _e, n[153] = D, n[154] = s, n[155] = l, n[156] = Et) : Et = n[156];
|
|
6778
|
+
let Dt;
|
|
6779
|
+
return n[157] !== q || n[158] !== Et ? (Dt = /* @__PURE__ */ (0, G.jsxs)("div", {
|
|
6780
6780
|
className: "flex-1 min-w-0 flex flex-row gap-3",
|
|
6781
|
-
children: [
|
|
6782
|
-
}), n[157] =
|
|
6781
|
+
children: [q, Et]
|
|
6782
|
+
}), n[157] = q, n[158] = Et, n[159] = Dt) : Dt = n[159], Dt;
|
|
6783
6783
|
};
|
|
6784
6784
|
function ya() {
|
|
6785
6785
|
return /* @__PURE__ */ new Set();
|